@epam/uui 5.13.2 → 5.13.3-beta.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 +2 -1
- 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 +12 -13
- 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 +1 -0
- 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 +16 -7
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +1 -0
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/Alert.d.ts +4 -2
- 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 +15 -8
- 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 +5 -3
- 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 +25 -5
- 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.map +1 -1
- package/components/pickers/PickerListItem.d.ts.map +1 -1
- package/components/pickers/PickerModal.d.ts +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +5 -4
- 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 -0
- 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 +11 -5
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +7 -3
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +8 -6
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderGroupCell.d.ts +3 -5
- 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 +1 -1
- 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 +3 -3
- package/components/tables/types.d.ts.map +1 -1
- package/components/types.d.ts +1 -0
- 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 +5 -3
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts +15 -8
- 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 +5 -3
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.esm.js +1468 -1361
- package/index.esm.js.map +1 -1
- package/index.js +1466 -1358
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts +417 -2
- package/settings.d.ts.map +1 -1
- package/stats.html +19 -1
- package/styles.css +1183 -1081
- package/styles.css.map +1 -1
- package/icons/icons.d.ts +0 -21
- package/icons/icons.d.ts.map +0 -1
- package/settings.types.d.ts +0 -238
- package/settings.types.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 SvgContentMinusOutline = function SvgContentMinusOutline(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,16 +104,14 @@ var SvgActionSearchOutline = function SvgActionSearchOutline(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
|
-
|
|
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"
|
|
107
|
+
d: "M19 10.5H5v3h14v-3z"
|
|
110
108
|
})));
|
|
111
109
|
};
|
|
112
|
-
var ForwardRef$O = /*#__PURE__*/React.forwardRef(
|
|
110
|
+
var ForwardRef$O = /*#__PURE__*/React.forwardRef(SvgContentMinusOutline);
|
|
113
111
|
|
|
114
112
|
var _path$N;
|
|
115
113
|
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); }
|
|
116
|
-
var
|
|
114
|
+
var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
117
115
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
|
|
118
116
|
xmlns: "http://www.w3.org/2000/svg",
|
|
119
117
|
width: 24,
|
|
@@ -121,14 +119,16 @@ var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
|
121
119
|
viewBox: "0 0 24 24",
|
|
122
120
|
ref: ref
|
|
123
121
|
}, props), _path$N || (_path$N = /*#__PURE__*/React__namespace.createElement("path", {
|
|
124
|
-
|
|
122
|
+
fillRule: "evenodd",
|
|
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"
|
|
125
125
|
})));
|
|
126
126
|
};
|
|
127
|
-
var ForwardRef$N = /*#__PURE__*/React.forwardRef(
|
|
127
|
+
var ForwardRef$N = /*#__PURE__*/React.forwardRef(SvgActionSearchOutline);
|
|
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 SvgActionCalendarFill = function SvgActionCalendarFill(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 SvgNotificationInfoOutline = function SvgNotificationInfoOutline(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: "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"
|
|
140
140
|
})));
|
|
141
141
|
};
|
|
142
|
-
var ForwardRef$M = /*#__PURE__*/React.forwardRef(
|
|
142
|
+
var ForwardRef$M = /*#__PURE__*/React.forwardRef(SvgActionCalendarFill);
|
|
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 SvgNotificationInfoOutline = function SvgNotificationInfoOutline(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,16 +151,14 @@ var SvgFileFileWordFill = function SvgFileFileWordFill(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
|
-
|
|
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"
|
|
154
|
+
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"
|
|
157
155
|
})));
|
|
158
156
|
};
|
|
159
|
-
var ForwardRef$L = /*#__PURE__*/React.forwardRef(
|
|
157
|
+
var ForwardRef$L = /*#__PURE__*/React.forwardRef(SvgNotificationInfoOutline);
|
|
160
158
|
|
|
161
159
|
var _path$K;
|
|
162
160
|
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); }
|
|
163
|
-
var
|
|
161
|
+
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
164
162
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
|
|
165
163
|
xmlns: "http://www.w3.org/2000/svg",
|
|
166
164
|
width: 24,
|
|
@@ -168,33 +166,154 @@ var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
|
168
166
|
viewBox: "0 0 24 24",
|
|
169
167
|
ref: ref
|
|
170
168
|
}, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
|
|
171
|
-
|
|
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"
|
|
169
|
+
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"
|
|
174
170
|
})));
|
|
175
171
|
};
|
|
176
|
-
var ForwardRef$K = /*#__PURE__*/React.forwardRef(
|
|
172
|
+
var ForwardRef$K = /*#__PURE__*/React.forwardRef(SvgNotificationInfoFill);
|
|
177
173
|
|
|
178
|
-
var _path$J;
|
|
174
|
+
var _path$J, _path2$5, _path3, _path4, _path5, _path6, _g, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _defs;
|
|
179
175
|
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); }
|
|
180
|
-
var
|
|
176
|
+
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
181
177
|
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",
|
|
186
183
|
ref: ref
|
|
187
|
-
}, props),
|
|
184
|
+
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
185
|
+
clipPath: "url(#7iyl3cwgzxp868o8h_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: "7iyl3cyil2nzap39m_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(#7iyl3cyil2nzap39m_b)",
|
|
188
220
|
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",
|
|
190
221
|
clipRule: "evenodd"
|
|
191
|
-
}
|
|
222
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
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: "7iyl3cwgzxp868o8h_a"
|
|
306
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
307
|
+
fill: "#fff",
|
|
308
|
+
transform: "translate(.552)",
|
|
309
|
+
d: "M0 0h230.897v180H0z"
|
|
310
|
+
})))));
|
|
192
311
|
};
|
|
193
|
-
var ForwardRef$J = /*#__PURE__*/React.forwardRef(
|
|
312
|
+
var ForwardRef$J = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
194
313
|
|
|
195
314
|
var _path$I;
|
|
196
315
|
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); }
|
|
197
|
-
var
|
|
316
|
+
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
198
317
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
199
318
|
xmlns: "http://www.w3.org/2000/svg",
|
|
200
319
|
width: 24,
|
|
@@ -202,16 +321,14 @@ var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
|
202
321
|
viewBox: "0 0 24 24",
|
|
203
322
|
ref: ref
|
|
204
323
|
}, props), _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
205
|
-
|
|
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"
|
|
324
|
+
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
208
325
|
})));
|
|
209
326
|
};
|
|
210
|
-
var ForwardRef$I = /*#__PURE__*/React.forwardRef(
|
|
327
|
+
var ForwardRef$I = /*#__PURE__*/React.forwardRef(SvgTableSortAscOutline);
|
|
211
328
|
|
|
212
|
-
var _path$H
|
|
329
|
+
var _path$H;
|
|
213
330
|
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); }
|
|
214
|
-
var
|
|
331
|
+
var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
215
332
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
216
333
|
xmlns: "http://www.w3.org/2000/svg",
|
|
217
334
|
width: 24,
|
|
@@ -219,18 +336,14 @@ var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
|
219
336
|
viewBox: "0 0 24 24",
|
|
220
337
|
ref: ref
|
|
221
338
|
}, props), _path$H || (_path$H = /*#__PURE__*/React__namespace.createElement("path", {
|
|
222
|
-
d: "
|
|
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"
|
|
339
|
+
d: "M13 3v14.175l1.6-1.575L16 17l-4 4-4-4 1.4-1.4 1.6 1.575V3h2z"
|
|
227
340
|
})));
|
|
228
341
|
};
|
|
229
|
-
var ForwardRef$H = /*#__PURE__*/React.forwardRef(
|
|
342
|
+
var ForwardRef$H = /*#__PURE__*/React.forwardRef(SvgTableSortDescOutline);
|
|
230
343
|
|
|
231
344
|
var _path$G;
|
|
232
345
|
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); }
|
|
233
|
-
var
|
|
346
|
+
var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props, ref) {
|
|
234
347
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
235
348
|
xmlns: "http://www.w3.org/2000/svg",
|
|
236
349
|
width: 24,
|
|
@@ -238,16 +351,14 @@ var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
|
238
351
|
viewBox: "0 0 24 24",
|
|
239
352
|
ref: ref
|
|
240
353
|
}, props), _path$G || (_path$G = /*#__PURE__*/React__namespace.createElement("path", {
|
|
241
|
-
|
|
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"
|
|
354
|
+
d: "M9 20c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 7 18c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 9 16c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.021-.587 1.413A1.928 1.928 0 0 1 9 20zm6 0c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 13 18c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 15 16c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.021-.587 1.413A1.928 1.928 0 0 1 15 20zm-6-6c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 7 12c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 9 10c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.02-.587 1.412A1.927 1.927 0 0 1 9 14zm6 0c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 13 12c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 15 10c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.02-.587 1.412A1.927 1.927 0 0 1 15 14zM9 8c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 7 6c0-.55.196-1.02.588-1.412A1.923 1.923 0 0 1 9 4c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412 0 .55-.196 1.02-.587 1.412A1.927 1.927 0 0 1 9 8zm6 0c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 13 6c0-.55.196-1.02.588-1.412A1.923 1.923 0 0 1 15 4c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412 0 .55-.196 1.02-.587 1.412A1.927 1.927 0 0 1 15 8z"
|
|
244
355
|
})));
|
|
245
356
|
};
|
|
246
|
-
var ForwardRef$G = /*#__PURE__*/React.forwardRef(
|
|
357
|
+
var ForwardRef$G = /*#__PURE__*/React.forwardRef(SvgActionDragIndicatorOutline);
|
|
247
358
|
|
|
248
359
|
var _path$F;
|
|
249
360
|
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); }
|
|
250
|
-
var
|
|
361
|
+
var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props, ref) {
|
|
251
362
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
252
363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
253
364
|
width: 24,
|
|
@@ -256,15 +367,15 @@ var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
|
256
367
|
ref: ref
|
|
257
368
|
}, props), _path$F || (_path$F = /*#__PURE__*/React__namespace.createElement("path", {
|
|
258
369
|
fillRule: "evenodd",
|
|
259
|
-
d: "
|
|
370
|
+
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",
|
|
260
371
|
clipRule: "evenodd"
|
|
261
372
|
})));
|
|
262
373
|
};
|
|
263
|
-
var ForwardRef$F = /*#__PURE__*/React.forwardRef(
|
|
374
|
+
var ForwardRef$F = /*#__PURE__*/React.forwardRef(SvgNavigationMoreVertOutline);
|
|
264
375
|
|
|
265
376
|
var _path$E;
|
|
266
377
|
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); }
|
|
267
|
-
var
|
|
378
|
+
var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, ref) {
|
|
268
379
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
269
380
|
xmlns: "http://www.w3.org/2000/svg",
|
|
270
381
|
width: 24,
|
|
@@ -272,16 +383,14 @@ var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
|
272
383
|
viewBox: "0 0 24 24",
|
|
273
384
|
ref: ref
|
|
274
385
|
}, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
|
|
275
|
-
|
|
276
|
-
d: "M4 4c0-1.11.89-2 2-2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm9-.5V9h5.5L13 3.5zM7 18v-4.732l5 3.333 5-3.333V18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1zm5-2.6 4.688-3.126A.997.997 0 0 0 16 12H8a.997.997 0 0 0-.688.274L12 15.399z",
|
|
277
|
-
clipRule: "evenodd"
|
|
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"
|
|
278
387
|
})));
|
|
279
388
|
};
|
|
280
|
-
var ForwardRef$E = /*#__PURE__*/React.forwardRef(
|
|
389
|
+
var ForwardRef$E = /*#__PURE__*/React.forwardRef(SvgNavigationRefreshOutline);
|
|
281
390
|
|
|
282
391
|
var _path$D;
|
|
283
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); }
|
|
284
|
-
var
|
|
393
|
+
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
285
394
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
286
395
|
xmlns: "http://www.w3.org/2000/svg",
|
|
287
396
|
width: 24,
|
|
@@ -289,188 +398,567 @@ var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
|
289
398
|
viewBox: "0 0 24 24",
|
|
290
399
|
ref: ref
|
|
291
400
|
}, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
292
|
-
|
|
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"
|
|
293
423
|
})));
|
|
294
424
|
};
|
|
295
|
-
var ForwardRef$
|
|
425
|
+
var ForwardRef$C = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnLeftFill);
|
|
296
426
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
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
|
+
fillRule: "evenodd",
|
|
440
|
+
d: "M9 5H5v14h4V5zM5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z",
|
|
441
|
+
clipRule: "evenodd"
|
|
442
|
+
})));
|
|
307
443
|
};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
444
|
+
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnRightFill);
|
|
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
|
+
})));
|
|
315
458
|
};
|
|
459
|
+
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgTableSwapOutline);
|
|
316
460
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
461
|
+
var _path$z;
|
|
462
|
+
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); }
|
|
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); }
|
|
811
|
+
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
812
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
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$d || (_path$d = /*#__PURE__*/React__namespace.createElement("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
|
+
},
|
|
898
|
+
};
|
|
899
|
+
const buttonSettings = {
|
|
900
|
+
icons: {
|
|
901
|
+
clearIcon: ForwardRef$R,
|
|
902
|
+
dropdownIcon: ForwardRef$Q,
|
|
903
|
+
},
|
|
904
|
+
sizes: {
|
|
905
|
+
default: '36',
|
|
906
|
+
},
|
|
907
|
+
};
|
|
908
|
+
const checkboxSettings = {
|
|
909
|
+
icons: {
|
|
910
|
+
checkIcon: ForwardRef$P,
|
|
911
|
+
indeterminateIcon: ForwardRef$O,
|
|
912
|
+
},
|
|
913
|
+
sizes: {
|
|
914
|
+
default: '18',
|
|
915
|
+
},
|
|
916
|
+
};
|
|
917
|
+
const countIndicatorSettings = {
|
|
918
|
+
sizes: {
|
|
919
|
+
default: '24',
|
|
920
|
+
},
|
|
921
|
+
};
|
|
922
|
+
const dataTableSettings = {
|
|
923
|
+
icons: {
|
|
924
|
+
emptyTable: ForwardRef$J,
|
|
925
|
+
header: {
|
|
926
|
+
configIcon: ForwardRef$v,
|
|
927
|
+
ascSortIcon: ForwardRef$I,
|
|
928
|
+
descSortIcon: ForwardRef$H,
|
|
929
|
+
defaultSortIcon: ForwardRef$A,
|
|
930
|
+
filterIcon: ForwardRef$z,
|
|
931
|
+
dropdownIcon: ForwardRef$Q,
|
|
932
|
+
openedDropdownIcon: ForwardRef$y,
|
|
933
|
+
foldIcon: ForwardRef$x,
|
|
934
|
+
unfoldIcon: ForwardRef$w,
|
|
362
935
|
},
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
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
|
-
},
|
|
936
|
+
body: {
|
|
937
|
+
foldingIcon: ForwardRef$Q,
|
|
938
|
+
},
|
|
939
|
+
columnsConfigurationModal: {
|
|
940
|
+
dragIndicator: ForwardRef$G,
|
|
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,
|
|
466
948
|
},
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
949
|
+
},
|
|
950
|
+
sizes: {
|
|
951
|
+
header: {
|
|
952
|
+
row: '36',
|
|
953
|
+
iconMap: {
|
|
954
|
+
36: '18',
|
|
955
|
+
48: '18',
|
|
956
|
+
60: '18',
|
|
472
957
|
},
|
|
473
|
-
|
|
958
|
+
},
|
|
959
|
+
body: {
|
|
960
|
+
row: '36',
|
|
961
|
+
checkboxMap: {
|
|
474
962
|
24: '12',
|
|
475
963
|
30: '18',
|
|
476
964
|
36: '18',
|
|
@@ -478,7 +966,7 @@ const settings = {
|
|
|
478
966
|
48: '18',
|
|
479
967
|
60: '18',
|
|
480
968
|
},
|
|
481
|
-
|
|
969
|
+
iconMap: {
|
|
482
970
|
24: '12',
|
|
483
971
|
30: '18',
|
|
484
972
|
36: '18',
|
|
@@ -486,7 +974,7 @@ const settings = {
|
|
|
486
974
|
48: '24',
|
|
487
975
|
60: '24',
|
|
488
976
|
},
|
|
489
|
-
|
|
977
|
+
indentUnitMap: {
|
|
490
978
|
24: 6,
|
|
491
979
|
30: 12,
|
|
492
980
|
36: 12,
|
|
@@ -494,7 +982,7 @@ const settings = {
|
|
|
494
982
|
48: 24,
|
|
495
983
|
60: 24,
|
|
496
984
|
},
|
|
497
|
-
|
|
985
|
+
indentWidthMap: {
|
|
498
986
|
24: 12,
|
|
499
987
|
30: 18,
|
|
500
988
|
36: 18,
|
|
@@ -503,132 +991,321 @@ const settings = {
|
|
|
503
991
|
60: 24,
|
|
504
992
|
},
|
|
505
993
|
},
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
42: { lineHeight: 24, fontSize: 16 },
|
|
512
|
-
48: { lineHeight: 24, fontSize: 16 },
|
|
513
|
-
60: { lineHeight: 30, fontSize: 24 },
|
|
994
|
+
columnsConfigurationModal: {
|
|
995
|
+
columnRow: '30',
|
|
996
|
+
countIndicator: '18',
|
|
997
|
+
menuButton: '30',
|
|
998
|
+
searchInput: '30',
|
|
514
999
|
},
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
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,
|
|
1016
|
+
},
|
|
1017
|
+
},
|
|
1018
|
+
sizes: {
|
|
1019
|
+
body: '36',
|
|
1020
|
+
input: '36',
|
|
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,
|
|
521
1114
|
},
|
|
522
|
-
|
|
523
|
-
|
|
1115
|
+
body: {
|
|
1116
|
+
selectIcon: (size) => size < '30' ? ForwardRef$r : ForwardRef$P,
|
|
1117
|
+
pickerBodyMobileHeaderCloseIcon: ForwardRef$R,
|
|
1118
|
+
modalNotFoundSearchIcon: ForwardRef$b,
|
|
524
1119
|
},
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
1120
|
+
},
|
|
1121
|
+
sizes: {
|
|
1122
|
+
toggler: {
|
|
1123
|
+
default: '36',
|
|
1124
|
+
tag: '36',
|
|
1125
|
+
tagMap: {
|
|
528
1126
|
24: '18',
|
|
529
1127
|
30: '18',
|
|
530
|
-
36: '
|
|
531
|
-
42: '
|
|
532
|
-
48: '
|
|
1128
|
+
36: '24',
|
|
1129
|
+
42: '30',
|
|
1130
|
+
48: '36',
|
|
533
1131
|
},
|
|
534
1132
|
},
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
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
|
-
},
|
|
1133
|
+
body: {
|
|
1134
|
+
maxHeight: 300,
|
|
1135
|
+
minWidth: 360,
|
|
1136
|
+
padding: '12',
|
|
1137
|
+
row: '36',
|
|
1138
|
+
itemAvatarMap: {
|
|
1139
|
+
24: '18',
|
|
1140
|
+
30: '24',
|
|
1141
|
+
36: '30',
|
|
1142
|
+
42: '36',
|
|
1143
|
+
48: '36',
|
|
584
1144
|
},
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
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
|
-
},
|
|
1145
|
+
itemAvatarMultilineMap: {
|
|
1146
|
+
24: '30',
|
|
1147
|
+
30: '30',
|
|
1148
|
+
36: '36',
|
|
1149
|
+
42: '42',
|
|
1150
|
+
48: '48',
|
|
605
1151
|
},
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
1152
|
+
itemVerticalPaddingMap: {
|
|
1153
|
+
24: '3',
|
|
1154
|
+
30: '6',
|
|
1155
|
+
36: '9',
|
|
1156
|
+
42: '6',
|
|
1157
|
+
48: '9',
|
|
612
1158
|
},
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
1159
|
+
selectIconMap: {
|
|
1160
|
+
24: '12',
|
|
1161
|
+
30: '18',
|
|
1162
|
+
36: '18',
|
|
1163
|
+
42: '24',
|
|
1164
|
+
48: '24',
|
|
619
1165
|
},
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
1166
|
+
footerSwitchMap: {
|
|
1167
|
+
24: '12',
|
|
1168
|
+
30: '18',
|
|
623
1169
|
36: '18',
|
|
624
|
-
|
|
625
|
-
|
|
1170
|
+
42: '24',
|
|
1171
|
+
48: '24',
|
|
626
1172
|
},
|
|
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',
|
|
627
1250
|
},
|
|
628
1251
|
},
|
|
629
1252
|
};
|
|
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
|
+
};
|
|
630
1307
|
|
|
631
|
-
var css$1y = {"root":"
|
|
1308
|
+
var css$1y = {"root":"RXQhYs"};
|
|
632
1309
|
|
|
633
1310
|
function applyButtonMods(mods) {
|
|
634
1311
|
return [
|
|
@@ -636,17 +1313,17 @@ function applyButtonMods(mods) {
|
|
|
636
1313
|
'uui-button',
|
|
637
1314
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
638
1315
|
`uui-color-${mods.color || 'primary'}`,
|
|
639
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1316
|
+
`uui-size-${mods.size || settings.button.sizes.default}`,
|
|
640
1317
|
];
|
|
641
1318
|
}
|
|
642
1319
|
const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button, applyButtonMods, () => {
|
|
643
1320
|
return {
|
|
644
|
-
dropdownIcon:
|
|
645
|
-
clearIcon:
|
|
1321
|
+
dropdownIcon: settings.button.icons.dropdownIcon,
|
|
1322
|
+
clearIcon: settings.button.icons.clearIcon,
|
|
646
1323
|
};
|
|
647
1324
|
});
|
|
648
1325
|
|
|
649
|
-
var css$1x = {"root":"
|
|
1326
|
+
var css$1x = {"root":"woHPv3"};
|
|
650
1327
|
|
|
651
1328
|
function applyIconButtonMods(props) {
|
|
652
1329
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1x.root];
|
|
@@ -662,7 +1339,7 @@ const IconButton = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Icon
|
|
|
662
1339
|
});
|
|
663
1340
|
}
|
|
664
1341
|
return {
|
|
665
|
-
dropdownIcon: props.dropdownIcon ||
|
|
1342
|
+
dropdownIcon: props.dropdownIcon || settings.iconButton.icons.dropdownIcon,
|
|
666
1343
|
};
|
|
667
1344
|
});
|
|
668
1345
|
|
|
@@ -683,10 +1360,9 @@ function getIconClass(props) {
|
|
|
683
1360
|
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'];
|
|
684
1361
|
}
|
|
685
1362
|
|
|
686
|
-
var css$1w = {"root":"
|
|
1363
|
+
var css$1w = {"root":"ZTC43J"};
|
|
687
1364
|
|
|
688
1365
|
const DEFAULT_COLOR = 'primary';
|
|
689
|
-
const DEFAULT_WEIGHT = 'semibold';
|
|
690
1366
|
const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
691
1367
|
if (process.env.NODE_ENV !== "production" && props.color === 'contrast') {
|
|
692
1368
|
uuiCore.devLogger.warnAboutDeprecatedPropValue({
|
|
@@ -700,13 +1376,13 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
700
1376
|
const rootStyles = [
|
|
701
1377
|
'uui-link_button',
|
|
702
1378
|
css$1w.root,
|
|
703
|
-
`uui-size-${props.size || settings.sizes.
|
|
1379
|
+
`uui-size-${props.size || settings.linkButton.sizes.default}`,
|
|
704
1380
|
...getIconClass(props),
|
|
705
1381
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
706
1382
|
props.cx,
|
|
707
1383
|
];
|
|
708
|
-
const captionStyles = cx__default.default(uuiCore.uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight ||
|
|
709
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1384
|
+
const captionStyles = cx__default.default(uuiCore.uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || settings.linkButton.weight}`);
|
|
1385
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.linkButton.icons.dropdownIcon;
|
|
710
1386
|
return (React__namespace.createElement(uuiComponents.Clickable, { ...props, type: "button", cx: rootStyles, ref: ref },
|
|
711
1387
|
props.icon && props.iconPosition !== 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
712
1388
|
props.caption && (React__namespace.createElement("div", { className: captionStyles }, props.caption)),
|
|
@@ -714,30 +1390,30 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
714
1390
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
715
1391
|
});
|
|
716
1392
|
|
|
717
|
-
var css$1v = {"root":"
|
|
1393
|
+
var css$1v = {"root":"_1frMjM"};
|
|
718
1394
|
|
|
719
1395
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
720
1396
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
721
1397
|
css$1v.root,
|
|
722
1398
|
'uui-count_indicator',
|
|
723
|
-
`uui-size-${props.size || settings.sizes.
|
|
1399
|
+
`uui-size-${props.size || settings.countIndicator.sizes.default}`,
|
|
724
1400
|
props.color && `uui-color-${props.color}`,
|
|
725
1401
|
props.cx,
|
|
726
1402
|
]) }, props.caption));
|
|
727
1403
|
});
|
|
728
1404
|
|
|
729
|
-
var css$1u = {"root":"
|
|
1405
|
+
var css$1u = {"root":"_1VahVv","withNotify":"_8kfEZv"};
|
|
730
1406
|
|
|
731
1407
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
732
1408
|
const styles = [
|
|
733
1409
|
css$1u.root,
|
|
734
1410
|
'uui-tab-button',
|
|
735
|
-
`uui-size-${props.size || settings.sizes.
|
|
1411
|
+
`uui-size-${props.size || settings.tabButton.sizes.default}`,
|
|
736
1412
|
...getIconClass(props),
|
|
737
1413
|
props.cx,
|
|
738
1414
|
];
|
|
739
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
740
|
-
const ClearIcon = props.clearIcon ? props.clearIcon :
|
|
1415
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tabButton.icons.dropdownIcon;
|
|
1416
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : settings.tabButton.icons.clearIcon;
|
|
741
1417
|
return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
|
|
742
1418
|
role: 'tab',
|
|
743
1419
|
'aria-haspopup': props.isDropdown,
|
|
@@ -749,86 +1425,54 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
749
1425
|
props.caption,
|
|
750
1426
|
props.withNotify && React__namespace.default.createElement("div", { className: css$1u.withNotify }))),
|
|
751
1427
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
752
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: "neutral", size: settings.sizes.
|
|
1428
|
+
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: "neutral", size: settings.tabButton.sizes.countIndicatorMap[props.size || settings.tabButton.sizes.default], caption: props.count })),
|
|
753
1429
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
754
1430
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
755
1431
|
});
|
|
756
1432
|
|
|
757
|
-
var css$1t = {"root":"
|
|
1433
|
+
var css$1t = {"root":"IUef9N"};
|
|
758
1434
|
|
|
759
1435
|
function applyVerticalTabButtonMods() {
|
|
760
1436
|
return [css$1t.root, 'uui-vertical-tab-button'];
|
|
761
1437
|
}
|
|
762
1438
|
const VerticalTabButton = /* @__PURE__ */uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
|
|
763
1439
|
|
|
764
|
-
var
|
|
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":"a8I78W","mode-cell":"dNAMTo","modeCell":"dNAMTo"};
|
|
1440
|
+
var css$1s = {"root":"Bp2UHf","mode-cell":"_1Uqtfw","modeCell":"_1Uqtfw"};
|
|
780
1441
|
|
|
781
1442
|
function applyCheckboxMods(mods) {
|
|
782
1443
|
return [
|
|
783
1444
|
css$1s.root,
|
|
784
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1445
|
+
`uui-size-${mods.size || settings.checkbox.sizes.default}`,
|
|
785
1446
|
css$1s['mode-' + (mods.mode || 'form')],
|
|
786
1447
|
'uui-color-primary',
|
|
787
1448
|
];
|
|
788
1449
|
}
|
|
789
1450
|
const applyUUICheckboxProps = (props) => {
|
|
790
|
-
const defaultIcon = ForwardRef$P;
|
|
791
|
-
const defaultIndeterminateIcon = ForwardRef$C;
|
|
792
1451
|
return {
|
|
793
|
-
icon: props.icon ? props.icon :
|
|
794
|
-
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon :
|
|
1452
|
+
icon: props.icon ? props.icon : settings.checkbox.icons.checkIcon,
|
|
1453
|
+
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon : settings.checkbox.icons.indeterminateIcon,
|
|
795
1454
|
};
|
|
796
1455
|
};
|
|
797
1456
|
const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
798
1457
|
|
|
799
|
-
var
|
|
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":"R64O52"};
|
|
1458
|
+
var css$1r = {"root":"_-5DmoE"};
|
|
815
1459
|
|
|
816
1460
|
function applyRadioInputMods(mods) {
|
|
817
1461
|
return [
|
|
818
1462
|
css$1r.root,
|
|
819
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1463
|
+
`uui-size-${mods.size || settings.radioInput.sizes.default}`,
|
|
820
1464
|
'uui-radio-input-container',
|
|
821
1465
|
'uui-color-primary',
|
|
822
1466
|
];
|
|
823
1467
|
}
|
|
824
|
-
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon :
|
|
1468
|
+
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
825
1469
|
|
|
826
|
-
var css$1q = {"root":"
|
|
1470
|
+
var css$1q = {"root":"AjuVtG"};
|
|
827
1471
|
|
|
828
1472
|
function applySwitchMods(mods) {
|
|
829
1473
|
return [
|
|
830
1474
|
css$1q.root,
|
|
831
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1475
|
+
`uui-size-${mods.size || settings.switch.sizes.default}`,
|
|
832
1476
|
'uui-color-primary',
|
|
833
1477
|
];
|
|
834
1478
|
}
|
|
@@ -847,20 +1491,20 @@ var EditMode;
|
|
|
847
1491
|
EditMode["INLINE"] = "inline";
|
|
848
1492
|
})(EditMode || (EditMode = {}));
|
|
849
1493
|
|
|
850
|
-
var textInputCss = {"root":"
|
|
1494
|
+
var textInputCss = {"root":"TTfjgk","mode-form":"Qk2o3L","modeForm":"Qk2o3L","mode-inline":"dm1GgI","modeInline":"dm1GgI","mode-cell":"Fl6bK4","modeCell":"Fl6bK4"};
|
|
851
1495
|
|
|
852
1496
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
853
1497
|
function applyTextInputMods(mods) {
|
|
854
1498
|
return [
|
|
855
1499
|
textInputCss.root,
|
|
856
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1500
|
+
`uui-size-${mods.size || settings.textInput.sizes.default}`,
|
|
857
1501
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$3)],
|
|
858
1502
|
];
|
|
859
1503
|
}
|
|
860
1504
|
const TextInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.TextInput, applyTextInputMods, () => ({
|
|
861
|
-
acceptIcon:
|
|
862
|
-
cancelIcon:
|
|
863
|
-
dropdownIcon:
|
|
1505
|
+
acceptIcon: settings.textInput.icons.acceptIcon,
|
|
1506
|
+
cancelIcon: settings.textInput.icons.clearIcon,
|
|
1507
|
+
dropdownIcon: settings.textInput.icons.dropdownIcon,
|
|
864
1508
|
}));
|
|
865
1509
|
const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
866
1510
|
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
@@ -868,11 +1512,11 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
868
1512
|
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
869
1513
|
return (React__namespace.default.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => {
|
|
870
1514
|
const defaultOnCancel = () => iEditable.onValueChange('');
|
|
871
|
-
return (React__namespace.default.createElement(TextInput, { icon:
|
|
1515
|
+
return (React__namespace.default.createElement(TextInput, { icon: settings.textInput.icons.searchIcon, onCancel: props.onCancel ?? defaultOnCancel, type: "search", inputMode: "search", ref: ref, ...textInputProps, ...iEditable }));
|
|
872
1516
|
} }));
|
|
873
1517
|
});
|
|
874
1518
|
|
|
875
|
-
var css$1p = {"root":"
|
|
1519
|
+
var css$1p = {"root":"ZwTYx-"};
|
|
876
1520
|
|
|
877
1521
|
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1p.root, 'uui-control-group']);
|
|
878
1522
|
|
|
@@ -888,34 +1532,34 @@ function MultiSwitchComponent(props, ref) {
|
|
|
888
1532
|
}
|
|
889
1533
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
890
1534
|
|
|
891
|
-
var css$1o = {"root":"
|
|
1535
|
+
var css$1o = {"root":"xoKFNg","mode-form":"_1cPmVG","modeForm":"_1cPmVG","mode-cell":"w5ilFU","modeCell":"w5ilFU"};
|
|
892
1536
|
|
|
893
1537
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
894
1538
|
function applyNumericInputMods(mods) {
|
|
895
1539
|
return [
|
|
896
1540
|
textInputCss.root,
|
|
897
1541
|
css$1o.root,
|
|
898
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1542
|
+
`uui-size-${mods.size || settings.numericInput.sizes.default}`,
|
|
899
1543
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
900
1544
|
];
|
|
901
1545
|
}
|
|
902
1546
|
const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput, applyNumericInputMods, (props) => {
|
|
903
1547
|
return {
|
|
904
|
-
upIcon:
|
|
905
|
-
downIcon:
|
|
1548
|
+
upIcon: settings.numericInput.icons.arrowIcon,
|
|
1549
|
+
downIcon: settings.numericInput.icons.arrowIcon,
|
|
906
1550
|
align: props.align ?? (props.mode === 'cell' ? 'right' : 'left'),
|
|
907
1551
|
disableArrows: props.disableArrows ?? props.mode === 'cell',
|
|
908
1552
|
};
|
|
909
1553
|
});
|
|
910
1554
|
|
|
911
|
-
var css$1n = {"root":"
|
|
1555
|
+
var css$1n = {"root":"jPjqE0","mode-form":"LIym9b","modeForm":"LIym9b","mode-cell":"P-JaPM","modeCell":"P-JaPM","mode-inline":"a2Oscb","modeInline":"a2Oscb"};
|
|
912
1556
|
|
|
913
1557
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
914
1558
|
function applyTextAreaMods(mods) {
|
|
915
1559
|
return [
|
|
916
1560
|
css$1n.root,
|
|
917
1561
|
'uui-textarea',
|
|
918
|
-
'uui-size-' + (mods.size || settings.sizes.
|
|
1562
|
+
'uui-size-' + (mods.size || settings.textArea.sizes.default),
|
|
919
1563
|
css$1n['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
920
1564
|
];
|
|
921
1565
|
}
|
|
@@ -949,85 +1593,25 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
949
1593
|
};
|
|
950
1594
|
}
|
|
951
1595
|
|
|
952
|
-
var
|
|
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":"VrQhCb","main-path":"d-ygX3","mainPath":"d-ygX3","content-wrapper":"v9g4lL","contentWrapper":"v9g4lL","content":"h3I1E9","action-wrapper":"GiryMB","actionWrapper":"GiryMB","icon-wrapper":"_3ij4QT","iconWrapper":"_3ij4QT","icon":"FI-A5A","close-icon":"dC9pjw","closeIcon":"dC9pjw"};
|
|
1596
|
+
var css$1m = {"root":"ECudEW","main-path":"DlNW0B","mainPath":"DlNW0B","content-wrapper":"FPYnTZ","contentWrapper":"FPYnTZ","content":"kobPhA","action-wrapper":"hcEtUS","actionWrapper":"hcEtUS","icon-wrapper":"U11IQC","iconWrapper":"U11IQC","icon":"_40URZK","close-icon":"QuRrST","closeIcon":"QuRrST"};
|
|
1013
1597
|
|
|
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.
|
|
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.alert.sizes.default}`), ...props.rawProps },
|
|
1015
1599
|
React__namespace.createElement("div", { className: css$1m.mainPath },
|
|
1016
1600
|
React__namespace.createElement("div", { className: css$1m.contentWrapper },
|
|
1017
1601
|
props.icon && (React__namespace.createElement("div", { className: css$1m.iconWrapper },
|
|
1018
1602
|
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$1m.icon }))),
|
|
1019
1603
|
React__namespace.createElement("div", { className: css$1m.content },
|
|
1020
1604
|
props.children,
|
|
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.
|
|
1022
|
-
props.onClose && React__namespace.createElement(IconButton, { icon:
|
|
1023
|
-
const WarningAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon:
|
|
1024
|
-
const SuccessAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon:
|
|
1025
|
-
const HintAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon:
|
|
1026
|
-
const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon:
|
|
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.sizes.actionMap[props.size || settings.alert.sizes.default] }))))))),
|
|
1606
|
+
props.onClose && React__namespace.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$1m.closeIcon })))));
|
|
1607
|
+
const WarningAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.warningIcon, color: "warning", ref: ref, ...props }));
|
|
1608
|
+
const SuccessAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.successIcon, color: "success", ref: ref, ...props }));
|
|
1609
|
+
const HintAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.infoIcon, color: "info", ref: ref, ...props }));
|
|
1610
|
+
const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.errorIcon, color: "error", ref: ref, ...props }));
|
|
1027
1611
|
|
|
1028
1612
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
1029
1613
|
|
|
1030
|
-
var css$1l = {"root":"
|
|
1614
|
+
var css$1l = {"root":"CZcvSG"};
|
|
1031
1615
|
|
|
1032
1616
|
function applyDropdownContainerMods(mods) {
|
|
1033
1617
|
return [
|
|
@@ -1038,7 +1622,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1038
1622
|
}
|
|
1039
1623
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
1040
1624
|
|
|
1041
|
-
var css$1k = {"submenu-root-item-rtl":"
|
|
1625
|
+
var css$1k = {"submenu-root-item-rtl":"ui-EyN","submenuRootItemRtl":"ui-EyN","icon-after":"udGQs2","iconAfter":"udGQs2","submenu-root-item":"hjiEZ1","submenuRootItem":"hjiEZ1","icon-check":"UjWDqA","iconCheck":"UjWDqA","splitter-root":"XQTxvz","splitterRoot":"XQTxvz","splitter":"TOPnX4","header-root":"LkLeGU","headerRoot":"LkLeGU","item-root":"THqDab","itemRoot":"THqDab","icon":"ya3pbi","link":"SwUT5A","indent":"cKzxGp","selected-mark":"_3XpN6G","selectedMark":"_3XpN6G"};
|
|
1042
1626
|
|
|
1043
1627
|
exports.IDropdownControlKeys = void 0;
|
|
1044
1628
|
(function (IDropdownControlKeys) {
|
|
@@ -1085,7 +1669,7 @@ const DropdownMenuButton = /* @__PURE__ */React__namespace.default.forwardRef((p
|
|
|
1085
1669
|
const handleClick = (event) => {
|
|
1086
1670
|
if (isDisabled || !onClick)
|
|
1087
1671
|
return;
|
|
1088
|
-
onClick(event);
|
|
1672
|
+
!uuiCore.isEventTargetInsideClickable(event) && onClick(event);
|
|
1089
1673
|
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1090
1674
|
};
|
|
1091
1675
|
const handleOpenDropdown = (event) => {
|
|
@@ -1112,16 +1696,12 @@ const DropdownMenuButton = /* @__PURE__ */React__namespace.default.forwardRef((p
|
|
|
1112
1696
|
iconElement))));
|
|
1113
1697
|
};
|
|
1114
1698
|
const isAnchor = Boolean(link || href);
|
|
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(
|
|
1117
|
-
tabIndex: isDisabled ? -1 : 0,
|
|
1118
|
-
role: 'menuitem',
|
|
1119
|
-
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
1120
|
-
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
1699
|
+
const itemClassNames = uuiCore.cx(props.cx, css$1k.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened, (!isDisabled && onClick) && uuiCore.uuiMarkers.clickable);
|
|
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("div", { tabIndex: isDisabled ? -1 : 0, role: "menuitem", onKeyDown: isDisabled ? null : handleOpenDropdown, className: itemClassNames, onClick: handleClick, ref: ref },
|
|
1121
1701
|
getMenuButtonContent(),
|
|
1122
1702
|
isSelected && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1123
1703
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1124
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { icon:
|
|
1704
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { icon: settings.dropdownMenu.icons.acceptIcon, cx: css$1k.selectedMark })))));
|
|
1125
1705
|
});
|
|
1126
1706
|
function DropdownMenuSplitter(props) {
|
|
1127
1707
|
return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$1k.splitterRoot) },
|
|
@@ -1149,7 +1729,7 @@ function DropdownSubMenu(props) {
|
|
|
1149
1729
|
},
|
|
1150
1730
|
];
|
|
1151
1731
|
const isRtl = uuiCore.getDir() === 'rtl';
|
|
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:
|
|
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: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
1153
1733
|
}
|
|
1154
1734
|
function DropdownMenuSwitchButton(props) {
|
|
1155
1735
|
const context = React.useContext(uuiCore.UuiContext);
|
|
@@ -1165,14 +1745,14 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1165
1745
|
onHandleValueChange(!isSelected);
|
|
1166
1746
|
}
|
|
1167
1747
|
};
|
|
1168
|
-
return (React__namespace.default.createElement(
|
|
1748
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$1k.itemRoot, isDisabled && uuiCore.uuiMod.disabled, (!isDisabled || onValueChange) && uuiCore.uuiMarkers.clickable), onClick: () => onHandleValueChange(!isSelected), role: "menuitem", onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 },
|
|
1169
1749
|
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$1k.iconBefore }),
|
|
1170
1750
|
React__namespace.default.createElement(uuiComponents.Text, null, caption),
|
|
1171
1751
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1172
1752
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1173
1753
|
}
|
|
1174
1754
|
|
|
1175
|
-
var css$1j = {"root":"
|
|
1755
|
+
var css$1j = {"root":"_3131M7","mode-block":"Ywu26i","modeBlock":"Ywu26i","mode-inline":"_9JcrPO","modeInline":"_9JcrPO","padding-0":"_9hrhzr","padding0":"_9hrhzr","padding-6":"lfXkkY","padding6":"lfXkkY","padding-12":"Dv6x4U","padding12":"Dv6x4U","padding-18":"ZH9YIu","padding18":"ZH9YIu"};
|
|
1176
1756
|
|
|
1177
1757
|
function applyAccordionMods(mods) {
|
|
1178
1758
|
return [
|
|
@@ -1182,34 +1762,55 @@ function applyAccordionMods(mods) {
|
|
|
1182
1762
|
];
|
|
1183
1763
|
}
|
|
1184
1764
|
const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accordion, applyAccordionMods, (mods) => ({
|
|
1185
|
-
dropdownIcon: mods.dropdownIcon !== null &&
|
|
1765
|
+
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
1186
1766
|
}));
|
|
1187
1767
|
|
|
1188
|
-
var css$1i = {"root":"
|
|
1768
|
+
var css$1i = {"root":"ffZ20N","align-items":"bCkRwS","alignItems":"bCkRwS","justify-content":"Hq1Sgc","justifyContent":"Hq1Sgc","border-top":"RM3135","borderTop":"RM3135","border-bottom":"U6UsgT","borderBottom":"U6UsgT","top-shadow":"kOa8dh","topShadow":"kOa8dh","padding":"G1JmsP","margin":"l7a1LW","vPadding":"zhL16N","column-gap":"OwjWXm","columnGap":"OwjWXm","row-gap":"LHmp2K","rowGap":"LHmp2K","spacing-6":"UQtxZt","spacing6":"UQtxZt","spacing-12":"Ok5Ksq","spacing12":"Ok5Ksq","spacing-18":"_2QT6CJ","spacing18":"_2QT6CJ","uui-surface-main":"xKVdX7","uuiSurfaceMain":"xKVdX7"};
|
|
1189
1769
|
|
|
1190
1770
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$1i.flexCell]);
|
|
1191
1771
|
|
|
1192
|
-
const FlexRow = /* @__PURE__ */
|
|
1772
|
+
const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1193
1773
|
if (process.env.NODE_ENV !== "production") {
|
|
1194
1774
|
if (props.spacing) {
|
|
1195
1775
|
uuiCore.devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
1196
1776
|
}
|
|
1197
1777
|
}
|
|
1198
|
-
|
|
1778
|
+
const classNames = uuiCore.cx([
|
|
1199
1779
|
css$1i.root,
|
|
1200
|
-
|
|
1201
|
-
props.
|
|
1202
|
-
props.
|
|
1203
|
-
props.
|
|
1780
|
+
'uui-flex-row',
|
|
1781
|
+
props.onClick && uuiCore.uuiMarkers.clickable,
|
|
1782
|
+
props.cx,
|
|
1783
|
+
props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
|
|
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,
|
|
1204
1789
|
props.topShadow && css$1i.topShadow,
|
|
1205
1790
|
props.borderBottom && css$1i.borderBottom,
|
|
1206
1791
|
props.borderTop && css$1i.borderTop,
|
|
1792
|
+
props.columnGap && css$1i.columnGap,
|
|
1793
|
+
props.rowGap && css$1i.rowGap,
|
|
1207
1794
|
props.spacing && css$1i['spacing-' + props.spacing],
|
|
1208
1795
|
props.background && css$1i[`uui-${props.background}`],
|
|
1209
|
-
];
|
|
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));
|
|
1210
1811
|
});
|
|
1211
1812
|
|
|
1212
|
-
var css$1h = {"root":"
|
|
1813
|
+
var css$1h = {"root":"iQNfWC","margin-24":"Qxkdz-","margin24":"Qxkdz-","padding-12":"Jb6NWH","padding12":"Jb6NWH","padding-24":"x9Bc-Q","padding24":"x9Bc-Q","shadow":"SV6nO9","uui-surface-main":"zKARob","uuiSurfaceMain":"zKARob"};
|
|
1213
1814
|
|
|
1214
1815
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
1215
1816
|
'uui-panel',
|
|
@@ -1219,7 +1820,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
1219
1820
|
props.background && css$1h[`uui-${props.background}`],
|
|
1220
1821
|
]);
|
|
1221
1822
|
|
|
1222
|
-
var css$1g = {"root":"
|
|
1823
|
+
var css$1g = {"root":"H2dbpX"};
|
|
1223
1824
|
|
|
1224
1825
|
function applyTooltipMods(mods) {
|
|
1225
1826
|
return [
|
|
@@ -1229,21 +1830,24 @@ function applyTooltipMods(mods) {
|
|
|
1229
1830
|
}
|
|
1230
1831
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
1231
1832
|
|
|
1232
|
-
var css$1f = {"root":"
|
|
1833
|
+
var css$1f = {"root":"k-D3Zk"};
|
|
1233
1834
|
|
|
1234
1835
|
function applyLabeledInputMods(mods) {
|
|
1235
1836
|
return [
|
|
1236
1837
|
'uui-labeled-input',
|
|
1237
1838
|
css$1f.root,
|
|
1238
|
-
'uui-size-' + (mods.size || settings.sizes.
|
|
1839
|
+
'uui-size-' + (mods.size || settings.labeledInput.sizes.default),
|
|
1239
1840
|
];
|
|
1240
1841
|
}
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1842
|
+
function applyLabeledInputProps(props) {
|
|
1843
|
+
return ({
|
|
1844
|
+
Tooltip: props.Tooltip || Tooltip,
|
|
1845
|
+
infoIcon: props.infoIcon || props.size <= '30' ? settings.labeledInput.icons.fillInfoIcon : settings.labeledInput.icons.infoIcon,
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1848
|
+
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
1245
1849
|
|
|
1246
|
-
var css$1e = {"root":"
|
|
1850
|
+
var css$1e = {"root":"Mx3kFA"};
|
|
1247
1851
|
|
|
1248
1852
|
function RadioGroup(props) {
|
|
1249
1853
|
const direction = props.direction || 'vertical';
|
|
@@ -1258,7 +1862,7 @@ function RadioGroup(props) {
|
|
|
1258
1862
|
})));
|
|
1259
1863
|
}
|
|
1260
1864
|
|
|
1261
|
-
var css$1d = {"root":"
|
|
1865
|
+
var css$1d = {"root":"W9MadD"};
|
|
1262
1866
|
|
|
1263
1867
|
function applyScrollBarsMods() {
|
|
1264
1868
|
return [
|
|
@@ -1267,27 +1871,27 @@ function applyScrollBarsMods() {
|
|
|
1267
1871
|
}
|
|
1268
1872
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
1269
1873
|
|
|
1270
|
-
var css$1c = {"scroll-container":"
|
|
1874
|
+
var css$1c = {"scroll-container":"r5ymgV","scrollContainer":"r5ymgV","list-container":"vL7G2y","listContainer":"vL7G2y"};
|
|
1271
1875
|
|
|
1272
|
-
var css$1b = {"root":"
|
|
1876
|
+
var css$1b = {"root":"eaMei5"};
|
|
1273
1877
|
|
|
1274
1878
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1b.root]);
|
|
1275
1879
|
|
|
1276
|
-
var css$1a = {"root":"
|
|
1880
|
+
var css$1a = {"root":"QXWo5S"};
|
|
1277
1881
|
|
|
1278
1882
|
const DEFAULT_FILL = 'solid';
|
|
1279
1883
|
function applyBadgeMods(mods) {
|
|
1280
1884
|
return [
|
|
1281
1885
|
'uui-badge',
|
|
1282
1886
|
css$1a.root,
|
|
1283
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1887
|
+
`uui-size-${mods.size || settings.badge.sizes.default}`,
|
|
1284
1888
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1285
1889
|
`uui-color-${mods.color || 'info'}`,
|
|
1286
1890
|
];
|
|
1287
1891
|
}
|
|
1288
1892
|
const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1289
1893
|
const styles = [applyBadgeMods(props), props.cx];
|
|
1290
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1894
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.badge.icons.dropdownIcon;
|
|
1291
1895
|
return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
|
|
1292
1896
|
'aria-haspopup': props.isDropdown,
|
|
1293
1897
|
'aria-expanded': props.isOpen,
|
|
@@ -1296,17 +1900,17 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
1296
1900
|
(props.indicator && props.fill === 'outline') && (React__namespace.default.createElement("div", { className: "uui-indicator" })),
|
|
1297
1901
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1298
1902
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
1299
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.sizes.
|
|
1903
|
+
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.sizes.countIndicatorMap[props.size || settings.badge.sizes.default], caption: props.count })),
|
|
1300
1904
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1301
1905
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1302
1906
|
});
|
|
1303
1907
|
|
|
1304
|
-
var css$19 = {"root":"
|
|
1908
|
+
var css$19 = {"root":"_4g5FnY"};
|
|
1305
1909
|
|
|
1306
1910
|
function applyTagMods(props) {
|
|
1307
1911
|
return [
|
|
1308
1912
|
css$19.root,
|
|
1309
|
-
`uui-size-${props.size || settings.sizes.
|
|
1913
|
+
`uui-size-${props.size || settings.tag.sizes.default}`,
|
|
1310
1914
|
`uui-color-${props.color || 'neutral'}`,
|
|
1311
1915
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1312
1916
|
'uui-tag',
|
|
@@ -1314,83 +1918,53 @@ function applyTagMods(props) {
|
|
|
1314
1918
|
}
|
|
1315
1919
|
const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1316
1920
|
const styles = [applyTagMods(props), props.cx];
|
|
1317
|
-
const ClearIcon = props.clearIcon ? props.clearIcon :
|
|
1318
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1921
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
|
|
1922
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
|
|
1319
1923
|
return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
|
|
1320
1924
|
'aria-haspopup': props.isDropdown,
|
|
1321
1925
|
'aria-expanded': props.isOpen,
|
|
1322
1926
|
...props.rawProps,
|
|
1323
1927
|
}, cx: styles, ref: ref },
|
|
1324
1928
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1325
|
-
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
1326
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.sizes.
|
|
1327
|
-
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1328
|
-
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1329
|
-
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1330
|
-
});
|
|
1331
|
-
|
|
1332
|
-
var css$18 = {"root":"Yefd2r","uui-spinner":"-ll9YV","uuiSpinner":"-ll9YV"};
|
|
1333
|
-
|
|
1334
|
-
function applySpinnerMods() {
|
|
1335
|
-
return [css$18.root, 'uui-spinner'];
|
|
1336
|
-
}
|
|
1337
|
-
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
1338
|
-
|
|
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);
|
|
1929
|
+
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.sizes.countIndicatorMap[(props.size || settings.tag.sizes.default)], caption: props.count })),
|
|
1931
|
+
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1932
|
+
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1933
|
+
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1934
|
+
});
|
|
1353
1935
|
|
|
1354
|
-
var
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
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);
|
|
1936
|
+
var css$18 = {"root":"m3Q71r","uui-spinner":"YQGQbP","uuiSpinner":"YQGQbP"};
|
|
1937
|
+
|
|
1938
|
+
function applySpinnerMods() {
|
|
1939
|
+
return [css$18.root, 'uui-spinner'];
|
|
1940
|
+
}
|
|
1941
|
+
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
1368
1942
|
|
|
1369
|
-
var css$17 = {"root":"
|
|
1943
|
+
var css$17 = {"root":"QHjscC","page":"i166cN","spacer":"u4UqQ0","mode-ghost":"-Anqsg","modeGhost":"-Anqsg"};
|
|
1370
1944
|
|
|
1371
1945
|
function Paginator(props) {
|
|
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.
|
|
1373
|
-
React__namespace.default.createElement(Button, { size: props.size || settings.sizes.
|
|
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.paginator.sizes.default}`), ...params.rawProps },
|
|
1947
|
+
React__namespace.default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.leftArrowIcon, onClick: params.goToPrev, isDisabled: params.isFirst || props.isDisabled, fill: "outline", color: "secondary" }),
|
|
1374
1948
|
params.pages.map((page, index) => {
|
|
1375
1949
|
if (page.type === 'spacer') {
|
|
1376
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$17.spacer, css$17.page), size: props.size || settings.sizes.
|
|
1950
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$17.spacer, css$17.page), size: props.size || settings.paginator.sizes.default, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
|
|
1377
1951
|
}
|
|
1378
1952
|
else {
|
|
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.
|
|
1953
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$17[`mode-${!page.isActive && 'ghost'}`], css$17.page), size: props.size || settings.paginator.sizes.default, key: page.pageNumber, caption: page.pageNumber, onClick: () => page.onClick?.(), rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled }));
|
|
1380
1954
|
}
|
|
1381
1955
|
}),
|
|
1382
|
-
React__namespace.default.createElement(Button, { size: props.size || settings.sizes.
|
|
1956
|
+
React__namespace.default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.rightArrowIcon, onClick: params.goToNext, isDisabled: params.isLast || props.isDisabled, fill: "outline", color: "secondary" })));
|
|
1383
1957
|
return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
|
|
1384
1958
|
}
|
|
1385
1959
|
|
|
1386
|
-
var css$16 = {"root":"
|
|
1960
|
+
var css$16 = {"root":"BDU2eY","progress-bar":"hOToff","progressBar":"hOToff","progressBar-indeterminate":"sPfRR7","progressBarIndeterminate":"sPfRR7","size-12":"t7OHC3","size12":"t7OHC3","size-18":"bvnal8","size18":"bvnal8","size-24":"TrVxth","size24":"TrVxth"};
|
|
1387
1961
|
|
|
1388
1962
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1389
1963
|
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}`]) },
|
|
1390
1964
|
React__namespace.createElement("div", { className: cx__default.default(css$16.progressBar) })));
|
|
1391
1965
|
});
|
|
1392
1966
|
|
|
1393
|
-
var css$15 = {"root":"
|
|
1967
|
+
var css$15 = {"root":"dqdMXf","striped":"yGqFBD","animate-stripes":"VxZzCk","animateStripes":"VxZzCk","size-12":"lyDISV","size12":"lyDISV","size-18":"RAYBZS","size18":"RAYBZS","size-24":"isJe0O","size24":"isJe0O"};
|
|
1394
1968
|
|
|
1395
1969
|
const DEFAULT_SIZE = '12';
|
|
1396
1970
|
function applyProgressBarMods(mods) {
|
|
@@ -1405,19 +1979,19 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
1405
1979
|
hideLabel: props.hideLabel || props.striped,
|
|
1406
1980
|
}));
|
|
1407
1981
|
|
|
1408
|
-
var css$14 = {"root":"
|
|
1982
|
+
var css$14 = {"root":"_9QHUEc"};
|
|
1409
1983
|
|
|
1410
1984
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1411
1985
|
const { progress } = props;
|
|
1412
1986
|
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) }));
|
|
1413
1987
|
});
|
|
1414
1988
|
|
|
1415
|
-
var css$13 = {"root":"
|
|
1989
|
+
var css$13 = {"root":"RhPrcv"};
|
|
1416
1990
|
|
|
1417
1991
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1418
1992
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
1419
1993
|
css$13.root,
|
|
1420
|
-
`uui-size-${props.size || settings.sizes.
|
|
1994
|
+
`uui-size-${props.size || settings.statusIndicator.sizes.default}`,
|
|
1421
1995
|
'uui-status_indicator',
|
|
1422
1996
|
`uui-color-${props.color || 'neutral'}`,
|
|
1423
1997
|
`uui-fill-${props.fill || 'solid'}`,
|
|
@@ -1427,28 +2001,28 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1427
2001
|
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1428
2002
|
});
|
|
1429
2003
|
|
|
1430
|
-
var css$12 = {"drag-handle":"
|
|
2004
|
+
var css$12 = {"drag-handle":"wXEeDT","dragHandle":"wXEeDT","icon-container":"W-9nPm","iconContainer":"W-9nPm"};
|
|
1431
2005
|
|
|
1432
2006
|
function DataRowAddons(props) {
|
|
1433
2007
|
const row = props.rowProps;
|
|
1434
2008
|
const getIndent = () => {
|
|
1435
|
-
return (row.indent - 1) *
|
|
2009
|
+
return (row.indent - 1) * settings.dataTable.sizes.body.indentUnitMap[props.size || settings.dataTable.sizes.body.row];
|
|
1436
2010
|
};
|
|
1437
2011
|
const getWidth = () => {
|
|
1438
|
-
return settings.sizes.
|
|
2012
|
+
return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
|
|
1439
2013
|
};
|
|
1440
2014
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1441
2015
|
row.dnd?.srcData && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$12.dragHandle, rawProps: { ...props.eventHandlers } }),
|
|
1442
|
-
row?.checkbox?.isVisible && (React__namespace.default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.sizes.
|
|
2016
|
+
row?.checkbox?.isVisible && (React__namespace.default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.dataTable.sizes.body.checkboxMap[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
1443
2017
|
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: {
|
|
1444
2018
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1445
2019
|
role: 'button',
|
|
1446
|
-
}, key: "icon", icon:
|
|
2020
|
+
}, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
|
|
1447
2021
|
uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$12.iconContainer,
|
|
1448
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.
|
|
2022
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
|
|
1449
2023
|
}
|
|
1450
2024
|
|
|
1451
|
-
var css$11 = {"root":"
|
|
2025
|
+
var css$11 = {"root":"Mms63k"};
|
|
1452
2026
|
|
|
1453
2027
|
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$11.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__namespace.default.createElement(Spinner, null)) }));
|
|
1454
2028
|
|
|
@@ -1494,7 +2068,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
1494
2068
|
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1495
2069
|
});
|
|
1496
2070
|
|
|
1497
|
-
var css$10 = {"root":"
|
|
2071
|
+
var css$10 = {"root":"W1mzAl"};
|
|
1498
2072
|
|
|
1499
2073
|
function CheckboxGroup(props) {
|
|
1500
2074
|
const currentValue = props.value || [];
|
|
@@ -1516,13 +2090,13 @@ function CheckboxGroup(props) {
|
|
|
1516
2090
|
})));
|
|
1517
2091
|
}
|
|
1518
2092
|
|
|
1519
|
-
var css$$ = {"root":"
|
|
2093
|
+
var css$$ = {"root":"GRkPdT","modal-blocker":"Dn6N0O","modalBlocker":"Dn6N0O","animateModalBlocker":"b-0qN-","modal":"OOTMbW","modal-footer":"Ar97Yc","modalFooter":"Ar97Yc","border-top":"EH-yIV","borderTop":"EH-yIV","modal-header":"EmrRnf","modalHeader":"EmrRnf","border-bottom":"vib-sC","borderBottom":"vib-sC"};
|
|
1520
2094
|
|
|
1521
2095
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$$.modalBlocker]);
|
|
1522
2096
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$$.root, css$$.modal], (props) => {
|
|
1523
|
-
const width = props.width
|
|
2097
|
+
const width = props.width;
|
|
1524
2098
|
const height = props.height || 'auto';
|
|
1525
|
-
const maxHeight = uuiCore.isMobile() ? '
|
|
2099
|
+
const maxHeight = uuiCore.isMobile() ? 'var(--uui-modals-mobile-max-height)' : (props.maxHeight || 'var(--uui-modals-max-height)');
|
|
1526
2100
|
return {
|
|
1527
2101
|
style: {
|
|
1528
2102
|
...props.style,
|
|
@@ -1532,24 +2106,20 @@ const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, (
|
|
|
1532
2106
|
},
|
|
1533
2107
|
};
|
|
1534
2108
|
});
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
2109
|
+
function ModalHeader(props) {
|
|
2110
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$$.root, css$$.modalHeader, 'uui-modal-header', props.borderBottom && css$$.borderBottom, props.cx), ...props.rawProps, style: {
|
|
2111
|
+
...props.rawProps?.style,
|
|
2112
|
+
} },
|
|
2113
|
+
props.title && (React__namespace.default.createElement("div", { className: cx__default.default('uui-modal-title', 'uui-typography') }, props.title)),
|
|
2114
|
+
props.children,
|
|
2115
|
+
props.onClose && React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
2116
|
+
props.onClose && (React__namespace.default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
2117
|
+
React__namespace.default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: settings.modal.icons.closeIcon, onClick: props.onClose })))));
|
|
1544
2118
|
}
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
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
|
-
}
|
|
2119
|
+
function ModalFooter(props) {
|
|
2120
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$$.root, css$$.modalFooter, 'uui-modal-footer', props.borderTop && css$$.borderTop, props.cx), ...props.rawProps, style: {
|
|
2121
|
+
...props.rawProps?.style,
|
|
2122
|
+
} }, props.children));
|
|
1553
2123
|
}
|
|
1554
2124
|
|
|
1555
2125
|
const TREE_SHAKEABLE_INIT = () => ({
|
|
@@ -1710,22 +2280,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
1710
2280
|
});
|
|
1711
2281
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1712
2282
|
|
|
1713
|
-
var
|
|
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":"gsox9r","icon-wrapper":"yiiLqg","iconWrapper":"yiiLqg","action-wrapper":"EAKV7X","actionWrapper":"EAKV7X","action-link":"Xxa0Nj","actionLink":"Xxa0Nj","close-icon":"gtT9lQ","closeIcon":"gtT9lQ","main-path":"_9Glotl","mainPath":"_9Glotl","content":"itsRD7","close-wrapper":"_7F4SlE","closeWrapper":"_7F4SlE","notification-wrapper":"_7u3jhc","notificationWrapper":"_7u3jhc","clear-button":"rhM1wT","clearButton":"rhM1wT"};
|
|
2283
|
+
var css$_ = {"root":"_7N5KwP","icon-wrapper":"yCygaA","iconWrapper":"yCygaA","action-wrapper":"_2lQY38","actionWrapper":"_2lQY38","action-link":"_5NAquj","actionLink":"_5NAquj","close-icon":"wxwEAy","closeIcon":"wxwEAy","main-path":"fR2Tsm","mainPath":"fR2Tsm","content":"yAkzZT","close-wrapper":"_7HeorE","closeWrapper":"_7HeorE","notification-wrapper":"Ikr3nk","notificationWrapper":"Ikr3nk","clear-button":"A39vAF","clearButton":"A39vAF"};
|
|
1729
2284
|
|
|
1730
2285
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1731
2286
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -1744,21 +2299,21 @@ const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((pro
|
|
|
1744
2299
|
React__namespace.default.createElement(uuiComponents.IconContainer, { size: 24, icon: props.icon }))),
|
|
1745
2300
|
React__namespace.default.createElement("div", { className: css$_.content },
|
|
1746
2301
|
props.children,
|
|
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.
|
|
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.sizes.action, rawProps: action.rawProps })))))),
|
|
1748
2303
|
props.onClose && (React__namespace.default.createElement("div", { className: css$_.closeWrapper },
|
|
1749
|
-
React__namespace.default.createElement(IconButton, { icon:
|
|
2304
|
+
React__namespace.default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$_.closeIcon }))))));
|
|
1750
2305
|
});
|
|
1751
|
-
const WarningNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon:
|
|
1752
|
-
const SuccessNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon:
|
|
1753
|
-
const HintNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon:
|
|
1754
|
-
const ErrorNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon:
|
|
2306
|
+
const WarningNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.warningIcon, color: "warning", ...props, ref: ref, cx: props.cx })));
|
|
2307
|
+
const SuccessNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.successIcon, color: "success", ...props, ref: ref, cx: props.cx })));
|
|
2308
|
+
const HintNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.hintIcon, color: "info", ...props, ref: ref, cx: props.cx })));
|
|
2309
|
+
const ErrorNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.errorIcon, color: "error", ...props, ref: ref, cx: props.cx })));
|
|
1755
2310
|
function ClearNotification() {
|
|
1756
2311
|
const uuiCtx = uuiCore.useUuiContext();
|
|
1757
2312
|
return (React__namespace.default.createElement("div", { className: cx__default.default(css$_.notificationWrapper, css$_.clearButton) },
|
|
1758
2313
|
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
1759
2314
|
}
|
|
1760
2315
|
|
|
1761
|
-
var css$Z = {"footer":"
|
|
2316
|
+
var css$Z = {"footer":"UKxrTp"};
|
|
1762
2317
|
|
|
1763
2318
|
class ConfirmationModal extends React__namespace.Component {
|
|
1764
2319
|
render() {
|
|
@@ -1800,7 +2355,7 @@ function useReliableForceUpdate() {
|
|
|
1800
2355
|
return red[1];
|
|
1801
2356
|
}
|
|
1802
2357
|
|
|
1803
|
-
var css$Y = {"root":"
|
|
2358
|
+
var css$Y = {"root":"_8qbP70","timepicker-input":"_8iI9Xz","timepickerInput":"_8iI9Xz","ltr-always":"GoqxMW","ltrAlways":"GoqxMW"};
|
|
1804
2359
|
|
|
1805
2360
|
const uuiTimePicker = {
|
|
1806
2361
|
container: 'uui-timepicker-container',
|
|
@@ -1983,7 +2538,7 @@ function TimePicker(props) {
|
|
|
1983
2538
|
state.value && state.inputValue && saveTime(state.value);
|
|
1984
2539
|
};
|
|
1985
2540
|
const renderInput = (inputProps) => {
|
|
1986
|
-
return (React__namespace.default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size
|
|
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 }));
|
|
1987
2542
|
};
|
|
1988
2543
|
const renderBody = (bodyProps) => {
|
|
1989
2544
|
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
@@ -1993,7 +2548,7 @@ function TimePicker(props) {
|
|
|
1993
2548
|
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 }));
|
|
1994
2549
|
}
|
|
1995
2550
|
|
|
1996
|
-
var css$X = {"root":"
|
|
2551
|
+
var css$X = {"root":"_0EvB8b"};
|
|
1997
2552
|
|
|
1998
2553
|
function applyInputAddonMods() {
|
|
1999
2554
|
return [
|
|
@@ -2002,43 +2557,29 @@ function applyInputAddonMods() {
|
|
|
2002
2557
|
}
|
|
2003
2558
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
2004
2559
|
|
|
2005
|
-
var css$W = {"root":"
|
|
2560
|
+
var css$W = {"root":"_1p7ere"};
|
|
2006
2561
|
|
|
2007
2562
|
function applySliderMods() {
|
|
2008
2563
|
return [css$W.root, 'uui-color-neutral'];
|
|
2009
2564
|
}
|
|
2010
2565
|
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
2011
2566
|
|
|
2012
|
-
var
|
|
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":"Xp4Y-1","tooltip":"MkecJN"};
|
|
2567
|
+
var css$V = {"root":"nRNd81","tooltip":"_8FGpYj"};
|
|
2029
2568
|
|
|
2030
2569
|
function applyRatingMods(mods) {
|
|
2031
2570
|
return [
|
|
2032
2571
|
css$V.root,
|
|
2033
|
-
`uui-size-${mods.size || settings.sizes.
|
|
2572
|
+
`uui-size-${mods.size || settings.rating.sizes.default}`,
|
|
2034
2573
|
];
|
|
2035
2574
|
}
|
|
2036
2575
|
const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating, applyRatingMods, (props) => ({
|
|
2037
|
-
filledStarIcon: props.icon ||
|
|
2038
|
-
emptyStarIcon: props.icon ||
|
|
2576
|
+
filledStarIcon: props.icon || settings.rating.icons.filledRatingIcon,
|
|
2577
|
+
emptyStarIcon: props.icon || settings.rating.icons.emptyRatingIcon,
|
|
2039
2578
|
Tooltip,
|
|
2040
2579
|
}));
|
|
2041
2580
|
|
|
2581
|
+
var css$U = {"root":"-VD0hh","container":"_34S4zn"};
|
|
2582
|
+
|
|
2042
2583
|
const defaultFormat = 'MMM D, YYYY';
|
|
2043
2584
|
const valueFormat = 'YYYY-MM-DD';
|
|
2044
2585
|
const supportedDateFormats = (format) => {
|
|
@@ -2166,8 +2707,6 @@ const getNextYearsList = (currentDate) => {
|
|
|
2166
2707
|
return currentDate.add(16, 'year');
|
|
2167
2708
|
};
|
|
2168
2709
|
|
|
2169
|
-
var css$U = {"root":"_600tri","container":"rBv322"};
|
|
2170
|
-
|
|
2171
2710
|
const uuiHeader = {
|
|
2172
2711
|
container: 'uui-datepicker-header-container',
|
|
2173
2712
|
headerNav: 'uui-datepicker-header-nav',
|
|
@@ -2245,19 +2784,19 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2245
2784
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2246
2785
|
return (React__namespace.createElement("div", { className: cx__default.default(css$U.root, uuiHeader.container, cx__default.default) },
|
|
2247
2786
|
React__namespace.createElement("header", { className: uuiHeader.headerNav },
|
|
2248
|
-
React__namespace.createElement(Button, { icon: navIconLeft ||
|
|
2787
|
+
React__namespace.createElement(Button, { icon: navIconLeft || settings.datePicker.icons.body.prevIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2249
2788
|
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2250
|
-
React__namespace.createElement(Button, { icon: navIconRight ||
|
|
2789
|
+
React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2251
2790
|
}
|
|
2252
2791
|
|
|
2253
|
-
var css$T = {"root":"
|
|
2792
|
+
var css$T = {"root":"z6vmNs"};
|
|
2254
2793
|
|
|
2255
2794
|
function applyDateSelectionMods() {
|
|
2256
|
-
return [css$T.root, `uui-size-${settings.sizes.
|
|
2795
|
+
return [css$T.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2257
2796
|
}
|
|
2258
2797
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2259
2798
|
|
|
2260
|
-
var css$S = {"root":"
|
|
2799
|
+
var css$S = {"root":"PPpSD-"};
|
|
2261
2800
|
|
|
2262
2801
|
const uuiDatePickerBody = {
|
|
2263
2802
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2300,7 +2839,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2300
2839
|
return (React__namespace.default.createElement(Calendar, { value: selectedDate, month: month, onValueChange: onDayClick, filter: filter, renderDay: renderDay, isHoliday: isHoliday, isDisabled: isDisabled }));
|
|
2301
2840
|
}
|
|
2302
2841
|
};
|
|
2303
|
-
return (React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, `uui-size-${settings.sizes.
|
|
2842
|
+
return (React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, `uui-size-${settings.datePicker.sizes.body}`, classes), ...rawProps },
|
|
2304
2843
|
React__namespace.default.createElement("div", { className: uuiCore.cx(css$S.root, uuiDatePickerBody.wrapper) },
|
|
2305
2844
|
React__namespace.default.createElement(DatePickerHeader, { value: {
|
|
2306
2845
|
view,
|
|
@@ -2318,7 +2857,7 @@ const modifiers$1 = [{
|
|
|
2318
2857
|
options: { offset: [0, 6] },
|
|
2319
2858
|
}];
|
|
2320
2859
|
function DatePickerComponent(props, ref) {
|
|
2321
|
-
const { format = defaultFormat, value, size = settings.sizes.
|
|
2860
|
+
const { format = defaultFormat, value, size = settings.datePicker.sizes.input } = props;
|
|
2322
2861
|
const context = uuiCore.useUuiContext();
|
|
2323
2862
|
const [inputValue, setInputValue] = React.useState(toCustomDateFormat(value, format));
|
|
2324
2863
|
const [isBodyOpen, setBodyIsOpen] = React.useState(false);
|
|
@@ -2358,7 +2897,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2358
2897
|
};
|
|
2359
2898
|
const renderInput = (renderProps) => {
|
|
2360
2899
|
const allowClear = !props.disableClear && !!inputValue;
|
|
2361
|
-
return (React__namespace.default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: uuiCore.cx(props.inputCx, isBodyOpen && uuiCore.uuiMod.focus), icon: props.mode !== EditMode.CELL
|
|
2900
|
+
return (React__namespace.default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: uuiCore.cx(props.inputCx, isBodyOpen && uuiCore.uuiMod.focus), icon: props.mode !== EditMode.CELL ? settings.datePicker.icons.input.calendarIcon : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: size, value: inputValue || undefined, onValueChange: (v) => {
|
|
2362
2901
|
setInputValue(v || '');
|
|
2363
2902
|
}, onCancel: allowClear ? () => {
|
|
2364
2903
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -2383,7 +2922,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2383
2922
|
}
|
|
2384
2923
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
2385
2924
|
|
|
2386
|
-
var css$R = {"date-input":"
|
|
2925
|
+
var css$R = {"date-input":"KWy5Nx","dateInput":"KWy5Nx","root":"fVggm-","separator":"_-4EA4L","mode-form":"-HscNy","modeForm":"-HscNy","mode-cell":"_97hdBQ","modeCell":"_97hdBQ"};
|
|
2387
2926
|
|
|
2388
2927
|
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) => {
|
|
2389
2928
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2426,15 +2965,15 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
2426
2965
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2427
2966
|
return (
|
|
2428
2967
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
2429
|
-
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.sizes.
|
|
2430
|
-
React__namespace.default.createElement(TextInput, { icon:
|
|
2968
|
+
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, '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 },
|
|
2969
|
+
React__namespace.default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: uuiCore.cx(css$R.dateInput, inFocus === 'from' && uuiCore.uuiMod.focus), size: size || settings.rangeDatePicker.sizes.default, 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 }),
|
|
2431
2970
|
React__namespace.default.createElement("div", { className: css$R.separator }),
|
|
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.
|
|
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.rangeDatePicker.sizes.default, value: inputValue.to || undefined, onCancel: clearAllowed ? () => {
|
|
2433
2972
|
onValueChange(defaultRangeValue);
|
|
2434
2973
|
} : 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 })));
|
|
2435
2974
|
});
|
|
2436
2975
|
|
|
2437
|
-
var css$Q = {"root":"
|
|
2976
|
+
var css$Q = {"root":"bP7mL2"};
|
|
2438
2977
|
|
|
2439
2978
|
const uuiPresets = {
|
|
2440
2979
|
container: 'uui-presets-container',
|
|
@@ -2451,10 +2990,10 @@ const getPresets = (presets) => {
|
|
|
2451
2990
|
function CalendarPresets(props) {
|
|
2452
2991
|
return (React__namespace.createElement("div", { ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$Q.root, props.cx), ...props.rawProps },
|
|
2453
2992
|
React__namespace.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
2454
|
-
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size:
|
|
2993
|
+
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
2455
2994
|
}
|
|
2456
2995
|
|
|
2457
|
-
var css$P = {"root":"
|
|
2996
|
+
var css$P = {"root":"jGbeTV","container":"ss46Jz","day-selection":"tUz2eZ","daySelection":"tUz2eZ","from-picker":"odWWTO","fromPicker":"odWWTO","to-picker":"ntFt-0","toPicker":"ntFt-0","bodes-wrapper":"cJUS8X","bodesWrapper":"cJUS8X","blocker":"OQEZcA"};
|
|
2458
2997
|
|
|
2459
2998
|
const uuiRangeDatePickerBody = {
|
|
2460
2999
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -2629,14 +3168,14 @@ const getDayCX = (day, selectedDate) => {
|
|
|
2629
3168
|
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)];
|
|
2630
3169
|
};
|
|
2631
3170
|
|
|
2632
|
-
var css$O = {"dropdown-container":"
|
|
3171
|
+
var css$O = {"dropdown-container":"fse70v","dropdownContainer":"fse70v"};
|
|
2633
3172
|
|
|
2634
3173
|
const modifiers = [{
|
|
2635
3174
|
name: 'offset',
|
|
2636
3175
|
options: { offset: [0, 6] },
|
|
2637
3176
|
}];
|
|
2638
3177
|
function RangeDatePickerComponent(props, ref) {
|
|
2639
|
-
const { value: _value, format = defaultFormat, size = settings.sizes.
|
|
3178
|
+
const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
|
|
2640
3179
|
const value = _value || defaultRangeValue; // also handles null in comparison to default value
|
|
2641
3180
|
const context = uuiCore.useUuiContext();
|
|
2642
3181
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
@@ -2697,7 +3236,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
2697
3236
|
}
|
|
2698
3237
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
2699
3238
|
|
|
2700
|
-
var css$N = {"root":"
|
|
3239
|
+
var css$N = {"root":"fcgGKr","blocker":"LYayiw","marker":"G9kt3a","top":"e9ZTvp","bottom":"yFKRaN","left":"_767gzT","right":"tahKuC","inside":"_1SbJ5P"};
|
|
2701
3240
|
|
|
2702
3241
|
function DropMarker(props) {
|
|
2703
3242
|
return props.isDndInProgress
|
|
@@ -2712,13 +3251,13 @@ function DropMarker(props) {
|
|
|
2712
3251
|
: null;
|
|
2713
3252
|
}
|
|
2714
3253
|
|
|
2715
|
-
var css$M = {"root":"
|
|
3254
|
+
var css$M = {"root":"bVIUSn","line-height":"PiBSoi","lineHeight":"PiBSoi","font-size":"TJ-U2T","fontSize":"TJ-U2T"};
|
|
2716
3255
|
|
|
2717
3256
|
function applyTextMods(mods) {
|
|
2718
3257
|
return [
|
|
2719
3258
|
css$M.root,
|
|
2720
3259
|
'uui-text',
|
|
2721
|
-
`uui-size-${mods.size || settings.sizes.
|
|
3260
|
+
`uui-size-${mods.size || settings.text.sizes.default}`,
|
|
2722
3261
|
(mods.size !== 'none' || mods.lineHeight) && css$M.lineHeight,
|
|
2723
3262
|
(mods.size !== 'none' || mods.fontSize) && css$M.fontSize,
|
|
2724
3263
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -2739,7 +3278,7 @@ const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, appl
|
|
|
2739
3278
|
};
|
|
2740
3279
|
});
|
|
2741
3280
|
|
|
2742
|
-
var css$L = {"root":"
|
|
3281
|
+
var css$L = {"root":"WQ5Q7s","loading-word":"q5IqY3","loadingWord":"q5IqY3","animated-loading":"_0EMt40","animatedLoading":"_0EMt40","skeleton_loading":"kjLWZu","skeletonLoading":"kjLWZu"};
|
|
2743
3282
|
|
|
2744
3283
|
const TextPlaceholder = (props) => {
|
|
2745
3284
|
const pattern = ' ';
|
|
@@ -2756,16 +3295,16 @@ const TextPlaceholder = (props) => {
|
|
|
2756
3295
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
2757
3296
|
};
|
|
2758
3297
|
|
|
2759
|
-
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.sizes.
|
|
3298
|
+
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
2760
3299
|
|
|
2761
|
-
var css$K = {"modal":"
|
|
3300
|
+
var css$K = {"modal":"arlA04","search-wrapper":"xgAUF4","searchWrapper":"xgAUF4","no-data":"-bZWnM","noData":"-bZWnM","type-search-to-load-size-24":"F4k1w2","typeSearchToLoadSize24":"F4k1w2"};
|
|
2762
3301
|
|
|
2763
3302
|
class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
2764
3303
|
constructor() {
|
|
2765
3304
|
super(...arguments);
|
|
2766
3305
|
this.lens = uuiCore.Lens.onEditableComponent(this);
|
|
2767
3306
|
this.searchLens = this.lens.prop('search').default('');
|
|
2768
|
-
this.getSearchSize = () => (uuiCore.isMobile() ? settings.sizes.
|
|
3307
|
+
this.getSearchSize = () => (uuiCore.isMobile() ? settings.pickerInput.sizes.body.mobileSearchInput : this.props.searchSize);
|
|
2769
3308
|
}
|
|
2770
3309
|
renderEmpty() {
|
|
2771
3310
|
const search = this.searchLens.get();
|
|
@@ -2799,7 +3338,7 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
2799
3338
|
render() {
|
|
2800
3339
|
const searchSize = this.getSearchSize();
|
|
2801
3340
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2802
|
-
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: css$K.searchWrapper },
|
|
3341
|
+
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: uuiCore.cx(css$K.searchWrapper, 'uui-picker_input-body-search') },
|
|
2803
3342
|
React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
|
|
2804
3343
|
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' } })))),
|
|
2805
3344
|
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
|
|
@@ -2809,11 +3348,11 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
2809
3348
|
}
|
|
2810
3349
|
}
|
|
2811
3350
|
|
|
2812
|
-
var css$J = {"footer":"
|
|
3351
|
+
var css$J = {"footer":"wPqX4O"};
|
|
2813
3352
|
|
|
2814
3353
|
function DataPickerFooterImpl(props) {
|
|
2815
3354
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
2816
|
-
const size = uuiCore.isMobile() ? settings.sizes.
|
|
3355
|
+
const size = uuiCore.isMobile() ? settings.pickerInput.sizes.body.mobileFooterLinkButton : props.size;
|
|
2817
3356
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
2818
3357
|
const rowsCount = view.getListProps().rowsCount;
|
|
2819
3358
|
const isSinglePicker = selectionMode === 'single';
|
|
@@ -2825,7 +3364,7 @@ function DataPickerFooterImpl(props) {
|
|
|
2825
3364
|
const showClear = !props.disableClear && (isSinglePicker ? true : (!view.selectAll || hasSelection));
|
|
2826
3365
|
return !hideFooter && (React__namespace.default.createElement(FlexRow, { cx: css$J.footer },
|
|
2827
3366
|
!isSinglePicker && !isSearchTooShort && ( // Show this switch only for multi mode and when some rows rendered
|
|
2828
|
-
React__namespace.default.createElement(Switch, { size: settings.sizes.
|
|
3367
|
+
React__namespace.default.createElement(Switch, { size: settings.pickerInput.sizes.body.footerSwitchMap[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
2829
3368
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
2830
3369
|
React__namespace.default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
2831
3370
|
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.
|
|
@@ -2835,32 +3374,17 @@ function DataPickerFooterImpl(props) {
|
|
|
2835
3374
|
}
|
|
2836
3375
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
2837
3376
|
|
|
2838
|
-
var css$I = {"header":"
|
|
3377
|
+
var css$I = {"header":"tB-Mcy","title":"KQr7OH","close":"Q3MCTf"};
|
|
2839
3378
|
|
|
2840
3379
|
const DataPickerHeaderImpl = (props) => {
|
|
2841
3380
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
2842
|
-
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$I.header },
|
|
2843
|
-
React__namespace.default.createElement(
|
|
2844
|
-
React__namespace.default.createElement(IconButton, { icon:
|
|
3381
|
+
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: [css$I.header, 'uui-picker_input-body-header'] },
|
|
3382
|
+
React__namespace.default.createElement("div", { className: css$I.title }, title),
|
|
3383
|
+
React__namespace.default.createElement(IconButton, { icon: settings.pickerInput.icons.body.pickerBodyMobileHeaderCloseIcon, onClick: () => props.close?.(), cx: css$I.close })));
|
|
2845
3384
|
};
|
|
2846
3385
|
const DataPickerHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerHeaderImpl);
|
|
2847
3386
|
|
|
2848
|
-
var
|
|
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":"_1h6hYa","align-widgets-top":"MhDDlA","alignWidgetsTop":"MhDDlA","align-widgets-center":"xec-wJ","alignWidgetsCenter":"xec-wJ","icon-container":"DGsFai","iconContainer":"DGsFai","loading-cell":"pTiZui","loadingCell":"pTiZui","content-wrapper":"ejVFVc","contentWrapper":"ejVFVc","render-item":"Smm29D","renderItem":"Smm29D","icon-wrapper":"dJZulN","iconWrapper":"dJZulN","icon-default":"fgAwJs","iconDefault":"fgAwJs","selected-mark":"Cwy1BO","selectedMark":"Cwy1BO"};
|
|
3387
|
+
var css$H = {"root":"HhcgUX","align-widgets-top":"hK-9oZ","alignWidgetsTop":"hK-9oZ","align-widgets-center":"JXYBxf","alignWidgetsCenter":"JXYBxf","icon-container":"qOnYvL","iconContainer":"qOnYvL","loading-cell":"ib9OA2","loadingCell":"ib9OA2","content-wrapper":"xpyHIX","contentWrapper":"xpyHIX","render-item":"UYZW4D","renderItem":"UYZW4D","icon-wrapper":"_5K3S-K","iconWrapper":"_5K3S-K","icon-default":"_5itHyi","iconDefault":"_5itHyi","selected-mark":"uMkwgi","selectedMark":"uMkwgi"};
|
|
2864
3388
|
|
|
2865
3389
|
function DataPickerCell(props) {
|
|
2866
3390
|
const ref = React__namespace.useRef();
|
|
@@ -2868,18 +3392,21 @@ function DataPickerCell(props) {
|
|
|
2868
3392
|
if (props.rowProps.isLoading) {
|
|
2869
3393
|
content = (
|
|
2870
3394
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
2871
|
-
React__namespace.createElement(Text, { key: "t", size:
|
|
3395
|
+
React__namespace.createElement(Text, { key: "t", size: props.size, cx: css$H.loadingCell },
|
|
2872
3396
|
React__namespace.createElement(TextPlaceholder, null)));
|
|
2873
3397
|
}
|
|
2874
3398
|
else if (props.rowProps.isUnknown) {
|
|
2875
|
-
content = (React__namespace.createElement(Text, { key: "t", size:
|
|
3399
|
+
content = (React__namespace.createElement(Text, { key: "t", size: props.size }, "Unknown"));
|
|
2876
3400
|
}
|
|
2877
3401
|
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);
|
|
2878
3405
|
content = (React__namespace.createElement("div", { key: `${props.rowProps.id}`, className: css$H.renderItem },
|
|
2879
3406
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
2880
3407
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
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.
|
|
3408
|
+
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$H.iconWrapper, 'uui-picker_input-cell-select_icon', uuiCore.uuiMod.selected) },
|
|
3409
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: settings.pickerInput.sizes.body.selectIconMap[props.size], icon: SelectIcon, cx: props.rowProps.isChildrenSelected ? css$H.iconDefault : css$H.selectedMark, rawProps: { 'aria-label': props.rowProps.isChildrenSelected
|
|
2883
3410
|
? 'Child is selected'
|
|
2884
3411
|
: 'Selected' } })))));
|
|
2885
3412
|
}
|
|
@@ -2887,31 +3414,32 @@ function DataPickerCell(props) {
|
|
|
2887
3414
|
return (React__namespace.createElement(FlexCell, { ref: ref, grow: 1, width: 0, minWidth: 0, rawProps: { role: 'cell' }, cx: [
|
|
2888
3415
|
css$H.root,
|
|
2889
3416
|
props.cx,
|
|
3417
|
+
'uui-picker_input-cell',
|
|
2890
3418
|
'data-picker-cell',
|
|
2891
3419
|
props.size && `uui-size-${props.size}`,
|
|
2892
3420
|
css$H[`align-widgets-${props.alignActions || 'top'}`],
|
|
2893
3421
|
], style: props.padding && {
|
|
2894
|
-
'--uui-
|
|
3422
|
+
'--uui-data_picker-horizontal-padding': `${props.padding}px`,
|
|
2895
3423
|
} },
|
|
2896
3424
|
React__namespace.createElement(DataRowAddons, { size: props.size, ...props, tabIndex: -1 }),
|
|
2897
3425
|
getWrappedContent()));
|
|
2898
3426
|
}
|
|
2899
3427
|
|
|
2900
|
-
var css$G = {"picker-row":"
|
|
3428
|
+
var css$G = {"picker-row":"xRksz9","pickerRow":"xRksz9"};
|
|
2901
3429
|
|
|
2902
3430
|
class DataPickerRow extends React__namespace.Component {
|
|
2903
3431
|
constructor() {
|
|
2904
3432
|
super(...arguments);
|
|
2905
3433
|
this.renderContent = () => {
|
|
2906
|
-
return (React__namespace.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.sizes.
|
|
3434
|
+
return (React__namespace.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.pickerInput.sizes.body.row, padding: this.props.padding, rowProps: this.props, alignActions: this.props.alignActions || 'top', renderItem: this.props.renderItem }));
|
|
2907
3435
|
};
|
|
2908
3436
|
}
|
|
2909
3437
|
render() {
|
|
2910
|
-
return (React__namespace.createElement(uuiComponents.DataPickerRow, { ...this.props, cx: [css$G.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
3438
|
+
return (React__namespace.createElement(uuiComponents.DataPickerRow, { ...this.props, cx: [css$G.pickerRow, 'uui-picker_input-row', this.props.cx], renderContent: this.renderContent }));
|
|
2911
3439
|
}
|
|
2912
3440
|
}
|
|
2913
3441
|
|
|
2914
|
-
var css$F = {"done":"
|
|
3442
|
+
var css$F = {"done":"Hp6d9O","container":"W4n9iR"};
|
|
2915
3443
|
|
|
2916
3444
|
const PickerBodyMobileView = (props) => {
|
|
2917
3445
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -2920,32 +3448,8 @@ const PickerBodyMobileView = (props) => {
|
|
|
2920
3448
|
return (React__namespace.default.createElement(DropdownContainer, { ...props, maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$F.container, props.cx], autoFocus: true },
|
|
2921
3449
|
isMobileView && React__namespace.default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
2922
3450
|
props.children,
|
|
2923
|
-
isMobileView && React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$F.done, size: settings.sizes.
|
|
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
|
-
})));
|
|
3451
|
+
isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$F.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
|
|
2945
3452
|
};
|
|
2946
|
-
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
2947
|
-
|
|
2948
|
-
var css$E = {"sub-header-wrapper":"EKHfcq","subHeaderWrapper":"EKHfcq","switch":"sbjyKx","no-found-modal-container":"_1rk25I","noFoundModalContainer":"_1rk25I","no-found-modal-container-icon":"GU5nBI","noFoundModalContainerIcon":"GU5nBI","no-found-modal-container-text":"QX9EXW","noFoundModalContainerText":"QX9EXW"};
|
|
2949
3453
|
|
|
2950
3454
|
const mergeHighlightRanges = (ranges) => {
|
|
2951
3455
|
const mergedRanges = [];
|
|
@@ -3012,27 +3516,29 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3012
3516
|
return getDecoratedText(str, ranges);
|
|
3013
3517
|
};
|
|
3014
3518
|
|
|
3015
|
-
var css$
|
|
3519
|
+
var css$E = {"root":"rCIvMT","column-gap":"ILldhK","columnGap":"ILldhK","title":"magf6q","subtitle":"_17ltOR","disabled":"AofeyH","multiline":"U314R-"};
|
|
3016
3520
|
|
|
3017
3521
|
function PickerItem(props) {
|
|
3018
|
-
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon,
|
|
3019
|
-
const itemSize = size || settings.sizes.
|
|
3522
|
+
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
3523
|
+
const itemSize = size || settings.pickerInput.sizes.body.row;
|
|
3020
3524
|
const isMultiline = !!(props.title && props.subtitle);
|
|
3021
3525
|
const { search } = props.dataSourceState ?? {};
|
|
3022
3526
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
3023
3527
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(props.subtitle, search) : props.subtitle;
|
|
3024
|
-
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$
|
|
3025
|
-
React__namespace.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$
|
|
3026
|
-
avatarUrl && (React__namespace.createElement(uuiComponents.Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline)
|
|
3528
|
+
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$E.root, 'uui-picker_input-item', 'uui-typography', props.cx] },
|
|
3529
|
+
React__namespace.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$E.multiline, css$E.columnGap], rawProps: { style: { '--uui-picker_item-vertical-padding': `${settings.pickerInput.sizes.body.itemVerticalPaddingMap[itemSize]}px` } } },
|
|
3530
|
+
avatarUrl && (React__namespace.createElement(uuiComponents.Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline) })),
|
|
3027
3531
|
icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: icon }),
|
|
3028
3532
|
React__namespace.createElement(FlexCell, { width: "auto" },
|
|
3029
|
-
title && (React__namespace.createElement(
|
|
3030
|
-
subtitle && (React__namespace.createElement(
|
|
3533
|
+
title && (React__namespace.createElement("div", { className: cx__default.default(css$E.title, isDisabled && css$E.disabled, `uui-size-${itemSize}`) }, title)),
|
|
3534
|
+
subtitle && (React__namespace.createElement("div", { className: cx__default.default(css$E.subtitle, isDisabled && css$E.disabled, `uui-size-${itemSize}`) }, subtitle))))));
|
|
3031
3535
|
}
|
|
3032
3536
|
function getAvatarSize(size, isMultiline) {
|
|
3033
|
-
return settings.sizes.
|
|
3537
|
+
return settings.pickerInput.sizes.body[isMultiline ? 'itemAvatarMultilineMap' : 'itemAvatarMap'][size];
|
|
3034
3538
|
}
|
|
3035
3539
|
|
|
3540
|
+
var css$D = {"sub-header-wrapper":"P3mvgh","subHeaderWrapper":"P3mvgh","switch":"Qqybbp","no-found-modal-container":"e14vwO","noFoundModalContainer":"e14vwO","no-found-modal-container-icon":"Fvl7ZH","noFoundModalContainerIcon":"Fvl7ZH","no-found-modal-container-text":"NrgMHA","noFoundModalContainerText":"NrgMHA"};
|
|
3541
|
+
|
|
3036
3542
|
function PickerModal(props) {
|
|
3037
3543
|
const { view, selection, dataSourceStateLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
3038
3544
|
const getSubtitle = ({ path }, { search }) => {
|
|
@@ -3045,10 +3551,10 @@ function PickerModal(props) {
|
|
|
3045
3551
|
};
|
|
3046
3552
|
const renderItem = (item, rowProps, dsState) => {
|
|
3047
3553
|
const { flattenSearchResults } = view.getConfig();
|
|
3048
|
-
return (React__namespace.default.createElement(PickerItem, { title: getName(item),
|
|
3554
|
+
return (React__namespace.default.createElement(PickerItem, { title: getName(item), dataSourceState: dsState, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3049
3555
|
};
|
|
3050
3556
|
const renderRow = (rowProps) => {
|
|
3051
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, padding: "24",
|
|
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) }));
|
|
3052
3558
|
};
|
|
3053
3559
|
const renderFooter = () => {
|
|
3054
3560
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
@@ -3061,17 +3567,17 @@ function PickerModal(props) {
|
|
|
3061
3567
|
React__namespace.default.createElement(Button, { color: "primary", caption: i18n.pickerModal.selectButton, onClick: () => props.success(selection) })));
|
|
3062
3568
|
};
|
|
3063
3569
|
const renderNotFound = () => {
|
|
3064
|
-
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__namespace.default.createElement("div", { className: css$
|
|
3065
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { cx: css$
|
|
3066
|
-
React__namespace.default.createElement(Text, { cx: css$
|
|
3067
|
-
React__namespace.default.createElement(Text, { cx: css$
|
|
3570
|
+
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__namespace.default.createElement("div", { className: css$D.noFoundModalContainer },
|
|
3571
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { cx: css$D.noFoundModalContainerIcon, icon: settings.pickerInput.icons.body.modalNotFoundSearchIcon }),
|
|
3572
|
+
React__namespace.default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontWeight: "600", fontSize: "16", lineHeight: "24", color: "primary" }, i18n.dataPickerBody.noRecordsMessage),
|
|
3573
|
+
React__namespace.default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
3068
3574
|
};
|
|
3069
3575
|
const dataRows = getRows();
|
|
3070
3576
|
const rows = dataRows.map((row) => renderRow(row));
|
|
3071
3577
|
return (React__namespace.default.createElement(ModalBlocker, { ...props },
|
|
3072
3578
|
React__namespace.default.createElement(ModalWindow, { width: 600, height: 700 },
|
|
3073
3579
|
React__namespace.default.createElement(ModalHeader, { title: props.caption || i18n.pickerModal.headerTitle, onClose: () => props.abort() }),
|
|
3074
|
-
React__namespace.default.createElement(FlexCell, { cx: css$
|
|
3580
|
+
React__namespace.default.createElement(FlexCell, { cx: css$D.subHeaderWrapper },
|
|
3075
3581
|
React__namespace.default.createElement(FlexRow, { vPadding: "24" },
|
|
3076
3582
|
React__namespace.default.createElement(SearchInput, { ...dataSourceStateLens.prop('search').toProps(), onKeyDown: (e) => uuiComponents.handleDataSourceKeyboard({
|
|
3077
3583
|
value: getDataSourceState(),
|
|
@@ -3080,19 +3586,19 @@ function PickerModal(props) {
|
|
|
3080
3586
|
rows: dataRows,
|
|
3081
3587
|
searchPosition: 'body',
|
|
3082
3588
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder, rawProps: { dir: 'auto' } })),
|
|
3083
|
-
!isSingleSelect() && (React__namespace.default.createElement(Switch, { cx: css$
|
|
3589
|
+
!isSingleSelect() && (React__namespace.default.createElement(Switch, { cx: css$D.switch, size: settings.pickerInput.sizes.body.footerSwitchMap[settings.pickerInput.sizes.body.row], ...getFooterProps().showSelected, isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" })),
|
|
3084
3590
|
props.renderFilter && React__namespace.default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
3085
3591
|
React__namespace.default.createElement(DataPickerBody, { ...getListProps(), value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" }),
|
|
3086
|
-
React__namespace.default.createElement(ModalFooter,
|
|
3592
|
+
React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3087
3593
|
}
|
|
3088
3594
|
|
|
3089
|
-
var css$C = {"tooltip":"
|
|
3595
|
+
var css$C = {"tooltip":"W13Z6-"};
|
|
3090
3596
|
|
|
3091
3597
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3092
3598
|
const tagProps = {
|
|
3093
3599
|
...props,
|
|
3094
3600
|
tabIndex: -1,
|
|
3095
|
-
size: settings.sizes.
|
|
3601
|
+
size: settings.pickerInput.sizes.toggler.tagMap[props.size],
|
|
3096
3602
|
caption: props.rowProps?.isLoading ? React__namespace.createElement(TextPlaceholder, null) : props.caption,
|
|
3097
3603
|
};
|
|
3098
3604
|
if (props.isCollapsed) {
|
|
@@ -3105,26 +3611,26 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
3105
3611
|
}
|
|
3106
3612
|
});
|
|
3107
3613
|
|
|
3108
|
-
var css$B = {"root":"
|
|
3614
|
+
var css$B = {"root":"rCoQlF","mode-form":"K6TUt-","modeForm":"K6TUt-","mode-cell":"NUa-OE","modeCell":"NUa-OE","mode-inline":"_2x-uYn","modeInline":"_2x-uYn"};
|
|
3109
3615
|
|
|
3110
3616
|
const defaultMode = EditMode.FORM;
|
|
3111
3617
|
function applyPickerTogglerMods(mods) {
|
|
3112
3618
|
return [
|
|
3113
3619
|
css$B.root,
|
|
3114
3620
|
'uui-picker_toggler',
|
|
3115
|
-
`uui-size-${mods.size || settings.sizes.
|
|
3621
|
+
`uui-size-${mods.size || settings.pickerInput.sizes.toggler.default}`,
|
|
3116
3622
|
css$B['mode-' + (mods.mode || defaultMode)],
|
|
3117
3623
|
];
|
|
3118
3624
|
}
|
|
3119
3625
|
function PickerTogglerComponent(props, ref) {
|
|
3120
3626
|
const renderItem = (itemProps) => {
|
|
3121
|
-
const itemPropsWithSize = { ...itemProps, size:
|
|
3627
|
+
const itemPropsWithSize = { ...itemProps, size: props.size || settings.pickerInput.sizes.toggler.tag };
|
|
3122
3628
|
if (!!props.renderItem) {
|
|
3123
3629
|
return props.renderItem(itemPropsWithSize);
|
|
3124
3630
|
}
|
|
3125
3631
|
return (React__namespace.createElement(PickerTogglerTag, { ...itemPropsWithSize, getName: props.getName }));
|
|
3126
3632
|
};
|
|
3127
|
-
return (React__namespace.createElement(uuiComponents.PickerToggler, { ...props, ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon:
|
|
3633
|
+
return (React__namespace.createElement(uuiComponents.PickerToggler, { ...props, ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon: settings.pickerInput.icons.toggler.clearIcon, dropdownIcon: settings.pickerInput.icons.toggler.dropdownIcon }));
|
|
3128
3634
|
}
|
|
3129
3635
|
const PickerToggler = /* @__PURE__ */React__namespace.forwardRef(PickerTogglerComponent);
|
|
3130
3636
|
|
|
@@ -3164,15 +3670,15 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3164
3670
|
};
|
|
3165
3671
|
const renderFooter = () => {
|
|
3166
3672
|
const footerProps = getFooterProps();
|
|
3167
|
-
return props.renderFooter
|
|
3673
|
+
return props.renderFooter
|
|
3674
|
+
? props.renderFooter(footerProps)
|
|
3675
|
+
: React__namespace.default.createElement(DataPickerFooter, { ...footerProps, size: props.size || settings.pickerInput.sizes.body.row });
|
|
3168
3676
|
};
|
|
3169
3677
|
const getRowSize = () => {
|
|
3170
3678
|
if (uuiCore.isMobile()) {
|
|
3171
|
-
return settings.sizes.
|
|
3679
|
+
return settings.pickerInput.sizes.body.mobileRow;
|
|
3172
3680
|
}
|
|
3173
|
-
return props.
|
|
3174
|
-
? settings.sizes.pickerInput.body.modal.row
|
|
3175
|
-
: (props.size || settings.sizes.pickerInput.body.dropdown.row.default);
|
|
3681
|
+
return props.size || settings.pickerInput.sizes.body.row;
|
|
3176
3682
|
};
|
|
3177
3683
|
const getSubtitle = ({ path }, { search }) => {
|
|
3178
3684
|
if (!search)
|
|
@@ -3187,13 +3693,13 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3187
3693
|
return (React__namespace.default.createElement(PickerItem, { title: getName(item), size: getRowSize(), dataSourceState: dsState, highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3188
3694
|
};
|
|
3189
3695
|
const renderRow = (rowProps, dsState) => {
|
|
3190
|
-
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__namespace.default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding:
|
|
3696
|
+
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__namespace.default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding: props.editMode === 'dropdown' ? settings.pickerInput.sizes.body.padding : undefined, renderItem: (item, itemProps) => renderRowItem(item, itemProps, dsState) }));
|
|
3191
3697
|
};
|
|
3192
3698
|
const renderBody = (bodyProps, rows) => {
|
|
3193
3699
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
3194
|
-
const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.sizes.
|
|
3195
|
-
const minBodyWidth = props.minBodyWidth || settings.sizes.
|
|
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' },
|
|
3700
|
+
const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.pickerInput.sizes.body.maxHeight;
|
|
3701
|
+
const minBodyWidth = props.minBodyWidth || settings.pickerInput.sizes.body.minWidth;
|
|
3702
|
+
return (React__namespace.default.createElement(PickerBodyMobileView, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx, 'uui-picker_input-body-wrapper'], onKeyDown: bodyProps.onKeyDown, width: bodyProps.togglerWidth > minBodyWidth ? bodyProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
|
|
3197
3703
|
React__namespace.default.createElement(DataPickerBody, { ...bodyProps, rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode }),
|
|
3198
3704
|
renderFooter()));
|
|
3199
3705
|
};
|
|
@@ -3206,7 +3712,7 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3206
3712
|
}
|
|
3207
3713
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
3208
3714
|
|
|
3209
|
-
var css$A = {"row":"
|
|
3715
|
+
var css$A = {"row":"mDnKOK"};
|
|
3210
3716
|
|
|
3211
3717
|
function PickerListItem(props) {
|
|
3212
3718
|
let label;
|
|
@@ -3226,7 +3732,7 @@ function PickerListItem(props) {
|
|
|
3226
3732
|
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));
|
|
3227
3733
|
}
|
|
3228
3734
|
|
|
3229
|
-
var css$z = {"root":"
|
|
3735
|
+
var css$z = {"root":"A7Wa-A"};
|
|
3230
3736
|
|
|
3231
3737
|
function PickerList(props) {
|
|
3232
3738
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -3261,7 +3767,7 @@ function PickerList(props) {
|
|
|
3261
3767
|
}, selectedRows)));
|
|
3262
3768
|
}
|
|
3263
3769
|
|
|
3264
|
-
var css$y = {"root":"
|
|
3770
|
+
var css$y = {"root":"_1XdjbN","wrapper":"qzABZz","align-widgets-top":"_1Dc-ud","alignWidgetsTop":"_1Dc-ud","align-widgets-center":"ARkF0y","alignWidgetsCenter":"ARkF0y"};
|
|
3265
3771
|
|
|
3266
3772
|
function DataTableCell(initialProps) {
|
|
3267
3773
|
const props = { ...initialProps };
|
|
@@ -3269,48 +3775,48 @@ function DataTableCell(initialProps) {
|
|
|
3269
3775
|
props.addons = React__namespace.createElement(DataRowAddons, { size: props.size, ...props });
|
|
3270
3776
|
}
|
|
3271
3777
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3272
|
-
|| (() => (React__namespace.createElement(Text, { key: "t", size:
|
|
3778
|
+
|| (() => (React__namespace.createElement(Text, { key: "t", size: props.size },
|
|
3273
3779
|
React__namespace.createElement(TextPlaceholder, { isNotAnimated: true }))));
|
|
3274
3780
|
props.renderUnknown = props.renderUnknown
|
|
3275
|
-
|| (() => (React__namespace.createElement(Text, { key: "t", size:
|
|
3781
|
+
|| (() => (React__namespace.createElement(Text, { key: "t", size: props.size }, "Unknown")));
|
|
3276
3782
|
props.renderTooltip = (tooltipProps) => React__namespace.createElement(Tooltip, { color: "critical", ...tooltipProps });
|
|
3277
3783
|
const isEditable = !!props.onValueChange;
|
|
3278
3784
|
const getLeftPadding = () => {
|
|
3279
3785
|
const { rowProps: { isLoading }, columnsGap, isFirstColumn } = props;
|
|
3280
3786
|
if (isFirstColumn && isEditable && !isLoading)
|
|
3281
|
-
return
|
|
3787
|
+
return 'var(--uui-dt-cell-padding)';
|
|
3282
3788
|
if (isEditable && !isLoading)
|
|
3283
|
-
return '
|
|
3789
|
+
return '0px';
|
|
3284
3790
|
if (columnsGap)
|
|
3285
|
-
return isFirstColumn ? columnsGap : +columnsGap / 2
|
|
3286
|
-
return isFirstColumn ?
|
|
3791
|
+
return isFirstColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3792
|
+
return `var(--uui-dt-cell-padding${isFirstColumn ? '-edge' : ''})`;
|
|
3287
3793
|
};
|
|
3288
3794
|
const getRightPadding = () => {
|
|
3289
3795
|
const { rowProps: { isLoading }, columnsGap, isLastColumn } = props;
|
|
3290
3796
|
if (isEditable && !isLoading)
|
|
3291
|
-
return '
|
|
3797
|
+
return '0px';
|
|
3292
3798
|
if (columnsGap)
|
|
3293
|
-
return isLastColumn ? columnsGap : +columnsGap / 2
|
|
3294
|
-
return isLastColumn ?
|
|
3799
|
+
return isLastColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3800
|
+
return `var(--uui-dt-cell-padding${isLastColumn ? '-edge' : ''})`;
|
|
3295
3801
|
};
|
|
3296
3802
|
props.cx = [
|
|
3297
3803
|
'data-table-cell',
|
|
3298
3804
|
css$y.root,
|
|
3299
3805
|
props.cx,
|
|
3300
|
-
'uui-size-' + (props.size || settings.sizes.
|
|
3806
|
+
'uui-size-' + (props.size || settings.dataTable.sizes.body.row),
|
|
3301
3807
|
props.isFirstColumn && 'uui-dt-first-column',
|
|
3302
3808
|
props.isLastColumn && 'uui-dt-last-column',
|
|
3303
3809
|
css$y[`align-widgets-${props.alignActions || 'top'}`],
|
|
3304
3810
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
3305
3811
|
];
|
|
3306
3812
|
props.style = {
|
|
3307
|
-
'--uui-dt-cell-padding-start':
|
|
3308
|
-
'--uui-dt-cell-padding-end':
|
|
3813
|
+
'--uui-dt-cell-padding-start': getLeftPadding(),
|
|
3814
|
+
'--uui-dt-cell-padding-end': getRightPadding(),
|
|
3309
3815
|
};
|
|
3310
3816
|
return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
|
|
3311
3817
|
}
|
|
3312
3818
|
|
|
3313
|
-
var css$x = {"root":"
|
|
3819
|
+
var css$x = {"root":"u8eQGK"};
|
|
3314
3820
|
|
|
3315
3821
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3316
3822
|
// 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.
|
|
@@ -3322,48 +3828,18 @@ const renderDropMarkers = ({ ref, ...props }) => React__namespace.createElement(
|
|
|
3322
3828
|
const propsMods = { renderCell, renderDropMarkers };
|
|
3323
3829
|
const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow, ({ borderBottom = true, size }) => {
|
|
3324
3830
|
return [
|
|
3325
|
-
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.sizes.
|
|
3831
|
+
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.dataTable.sizes.body.row}`,
|
|
3326
3832
|
];
|
|
3327
3833
|
}, () => propsMods);
|
|
3328
3834
|
|
|
3329
|
-
var css$w = {"sorting-panel-container":"
|
|
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);
|
|
3835
|
+
var css$w = {"sorting-panel-container":"C87L3Z","sortingPanelContainer":"C87L3Z"};
|
|
3360
3836
|
|
|
3361
3837
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3362
3838
|
const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
3363
3839
|
const sortDesc = React.useCallback(() => onSort(sortDirection === 'desc' ? undefined : 'desc'), [onSort]);
|
|
3364
3840
|
return (React__namespace.default.createElement(FlexCell, { cx: uuiCore.cx(css$w.sortingPanelContainer, 'uui-dropdownMenu-body') },
|
|
3365
|
-
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon:
|
|
3366
|
-
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon:
|
|
3841
|
+
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: settings.dataTable.icons.header.ascSortIcon, onClick: sortAsc }),
|
|
3842
|
+
React__namespace.default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: settings.dataTable.icons.header.descSortIcon, onClick: sortDesc })));
|
|
3367
3843
|
};
|
|
3368
3844
|
const SortingPanel = /* @__PURE__ */React__namespace.default.memo(SortingPanelImpl);
|
|
3369
3845
|
|
|
@@ -3381,82 +3857,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3381
3857
|
};
|
|
3382
3858
|
const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
3383
3859
|
|
|
3384
|
-
var
|
|
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":"_7Vfg2P","caption-wrapper":"KQoiQt","captionWrapper":"KQoiQt","sort-icon":"msyKMt","sortIcon":"msyKMt","dropdown-icon":"_6UHrRy","dropdownIcon":"_6UHrRy","infoIcon":"segMLZ","resizable":"oSnigd","align-right":"sdCB39","alignRight":"sdCB39","align-center":"szENV8","alignCenter":"szENV8","caption":"_94V2Oy","truncate":"_1FIucA","checkbox":"I3VulH","icon":"l-rwIs","fold-all-icon":"Wj6vzc","foldAllIcon":"Wj6vzc","cell-tooltip":"uVPbhK","cellTooltip":"uVPbhK","upper-case":"-MDYrj","upperCase":"-MDYrj","resizing-marker":"_5NA14B","resizingMarker":"_5NA14B","pinned-right":"mibPoD","pinnedRight":"mibPoD","draggable":"XbYbAo","ghost":"NsX2ub","is-dragged-out":"_9IkSo6","isDraggedOut":"_9IkSo6","dnd-marker-left":"_9jkea0","dndMarkerLeft":"_9jkea0","dnd-marker-right":"NUkqZ5","dndMarkerRight":"NUkqZ5","cell-tooltip-wrapper":"NwrDBI","cellTooltipWrapper":"NwrDBI","cell-tooltip-text":"-zMpPT","cellTooltipText":"-zMpPT","tooltip-caption":"_7c9W7N","tooltipCaption":"_7c9W7N","tooltip-info":"bruX73","tooltipInfo":"bruX73"};
|
|
3860
|
+
var css$v = {"root":"nNFVjv","caption-wrapper":"npggj0","captionWrapper":"npggj0","sort-icon":"GUsQeW","sortIcon":"GUsQeW","dropdown-icon":"DJqWZt","dropdownIcon":"DJqWZt","infoIcon":"_2lxre3","resizable":"D0sOqj","align-right":"T69CmV","alignRight":"T69CmV","align-center":"_2wpxL-","alignCenter":"_2wpxL-","caption":"_53eWUr","truncate":"fOr1cr","upper-case":"-f1SyF","upperCase":"-f1SyF","checkbox":"kjRHKF","icon":"xFUjYH","fold-all-icon":"Kv11HJ","foldAllIcon":"Kv11HJ","cell-tooltip":"_6J-M-f","cellTooltip":"_6J-M-f","resizing-marker":"SlqAyw","resizingMarker":"SlqAyw","pinned-right":"pVdQnj","pinnedRight":"pVdQnj","draggable":"Uu4dPC","ghost":"A9Vqiq","is-dragged-out":"SbCP43","isDraggedOut":"SbCP43","dnd-marker-left":"_2Kato0","dndMarkerLeft":"_2Kato0","dnd-marker-right":"mpFa3g","dndMarkerRight":"mpFa3g","cell-tooltip-wrapper":"R17D1Q","cellTooltipWrapper":"R17D1Q","cell-tooltip-text":"_4Rswgk","cellTooltipText":"_4Rswgk","tooltip-caption":"_3Atr3M","tooltipCaption":"_3Atr3M","tooltip-info":"ZLOO7Q","tooltipInfo":"ZLOO7Q"};
|
|
3460
3861
|
|
|
3461
3862
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
3462
3863
|
constructor() {
|
|
@@ -3469,22 +3870,23 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3469
3870
|
column.info && (React__namespace.createElement(Text, { cx: [css$v.cellTooltipText, css$v.tooltipInfo] }, column.info))));
|
|
3470
3871
|
this.getColumnCaption = () => {
|
|
3471
3872
|
const renderTooltip = this.props.column.renderTooltip || this.getTooltipContent;
|
|
3472
|
-
const captionCx = [
|
|
3873
|
+
const captionCx = uuiCore.cx([
|
|
3473
3874
|
css$v.caption,
|
|
3474
3875
|
this.props.textCase === 'upper' && css$v.upperCase,
|
|
3475
3876
|
uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaption,
|
|
3476
|
-
|
|
3477
|
-
|
|
3877
|
+
'uui-typography-inline',
|
|
3878
|
+
this.props.size >= '48' && css$v.truncate,
|
|
3879
|
+
]);
|
|
3478
3880
|
return (React__namespace.createElement("div", { className: uuiCore.cx(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3479
3881
|
React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: css$v.cellTooltip, openDelay: 600 },
|
|
3480
|
-
React__namespace.createElement(
|
|
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' ?
|
|
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:
|
|
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 ?
|
|
3882
|
+
React__namespace.createElement("div", { key: "text", className: captionCx }, this.props.column.caption)),
|
|
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: settings.dataTable.icons.header[this.props.sortDirection === 'desc' ? 'descSortIcon' : this.props.sortDirection === 'asc' ? 'ascSortIcon' : 'defaultSortIcon'] })),
|
|
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: settings.dataTable.icons.header.filterIcon })),
|
|
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: settings.dataTable.icons.header[this.state.isDropdownOpen ? 'openedDropdownIcon' : 'dropdownIcon'] }))));
|
|
3484
3886
|
};
|
|
3485
3887
|
this.renderHeaderCheckbox = () => {
|
|
3486
3888
|
if (this.props.selectAll && this.props.isFirstColumn) {
|
|
3487
|
-
return (React__namespace.createElement(Checkbox, { size: settings.
|
|
3889
|
+
return (React__namespace.createElement(Checkbox, { size: settings.dataTable.sizes.body.checkboxMap[this.props.size], ...this.props.selectAll, cx: uuiCore.cx(css$v.checkbox, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCheckbox) }));
|
|
3488
3890
|
}
|
|
3489
3891
|
};
|
|
3490
3892
|
this.renderFoldAllIcon = () => {
|
|
@@ -3492,7 +3894,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3492
3894
|
return (React__namespace.createElement(Tooltip, { content: this.props.areAllFolded
|
|
3493
3895
|
? i18n.tables.columnHeader.expandAllTooltip
|
|
3494
3896
|
: i18n.tables.columnHeader.collapseAllTooltip },
|
|
3495
|
-
React__namespace.createElement(IconButton, { color: "secondary", cx: uuiCore.cx(css$v.icon, css$v.foldAllIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon: this.props.areAllFolded ?
|
|
3897
|
+
React__namespace.createElement(IconButton, { color: "secondary", cx: uuiCore.cx(css$v.icon, css$v.foldAllIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon: settings.dataTable.icons.header[this.props.areAllFolded ? 'unfoldIcon' : 'foldIcon'], onClick: this.props.onFoldAll, rawProps: {
|
|
3496
3898
|
'aria-label': this.props.areAllFolded ? 'Expand All' : 'Collapse All',
|
|
3497
3899
|
'aria-expanded': !!this.props.areAllFolded,
|
|
3498
3900
|
} })));
|
|
@@ -3504,32 +3906,32 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3504
3906
|
this.getLeftPadding = () => {
|
|
3505
3907
|
const { columnsGap, isFirstColumn } = this.props;
|
|
3506
3908
|
if (columnsGap)
|
|
3507
|
-
return isFirstColumn ? columnsGap : +columnsGap / 2
|
|
3508
|
-
return isFirstColumn ?
|
|
3909
|
+
return isFirstColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3910
|
+
return `var(--uui-dt-header-cell-padding${isFirstColumn ? '-edge' : ''})`;
|
|
3509
3911
|
};
|
|
3510
3912
|
this.getRightPadding = () => {
|
|
3511
3913
|
const { columnsGap, isLastColumn } = this.props;
|
|
3512
3914
|
if (columnsGap)
|
|
3513
|
-
return isLastColumn ? columnsGap : +columnsGap / 2
|
|
3514
|
-
return isLastColumn ?
|
|
3915
|
+
return isLastColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3916
|
+
return `var(--uui-dt-header-cell-padding${isLastColumn ? '-edge' : ''})`;
|
|
3515
3917
|
};
|
|
3516
3918
|
this.getResizingMarkerWidth = () => {
|
|
3517
3919
|
const { columnsGap } = this.props;
|
|
3518
|
-
return columnsGap ? +columnsGap / 2 :
|
|
3920
|
+
return columnsGap ? `${+columnsGap / 2}px` : 'var(--uui-resize-marker-width)';
|
|
3519
3921
|
};
|
|
3520
3922
|
this.renderCellContent = (props, dropdownProps) => {
|
|
3521
3923
|
const isResizable = this.props.column.allowResizing ?? this.props.allowColumnsResizing;
|
|
3522
3924
|
const onClickEvent = !props.isResizing && (!this.props.column.renderFilter ? props.toggleSort : dropdownProps?.onClick);
|
|
3523
3925
|
const computeStyles = {
|
|
3524
|
-
'--uui-dt-header-cell-icon-size': `${settings.sizes.
|
|
3525
|
-
'--uui-dt-header-cell-padding-start':
|
|
3526
|
-
'--uui-dt-header-cell-padding-end':
|
|
3527
|
-
'--uui-dt-header-cell-resizing-marker-width':
|
|
3926
|
+
'--uui-dt-header-cell-icon-size': `${settings.dataTable.sizes.header.iconMap[this.props.size || settings.dataTable.sizes.header.row]}px`,
|
|
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(),
|
|
3528
3930
|
};
|
|
3529
3931
|
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
3530
3932
|
props.ref(ref);
|
|
3531
3933
|
dropdownProps?.ref?.(ref);
|
|
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.
|
|
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.sizes.header.row}`, 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: {
|
|
3533
3935
|
role: 'columnheader',
|
|
3534
3936
|
'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none',
|
|
3535
3937
|
...props.eventHandlers,
|
|
@@ -3549,66 +3951,32 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3549
3951
|
}
|
|
3550
3952
|
}
|
|
3551
3953
|
|
|
3552
|
-
var
|
|
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":"_7G-aol"};
|
|
3568
|
-
|
|
3569
|
-
var css$t = {"root":"orSNlT","caption-wrapper":"Mvvde7","captionWrapper":"Mvvde7","align-center":"xh7e4K","alignCenter":"xh7e4K","caption":"MibKUx","truncate":"gc499d","group-cell-tooltip":"y53S0v","groupCellTooltip":"y53S0v","upper-case":"lGTyaD","upperCase":"lGTyaD","group-cell-tooltip-wrapper":"fE8qGT","groupCellTooltipWrapper":"fE8qGT","group-cell-tooltip-text":"rgdXwu","groupCellTooltipText":"rgdXwu","tooltip-caption":"_6Thokg","tooltipCaption":"_6Thokg","tooltip-info":"fFlp-1","tooltipInfo":"fFlp-1"};
|
|
3954
|
+
var css$u = {"root":"nnmUsE","caption-wrapper":"NWIalo","captionWrapper":"NWIalo","align-center":"UH7NoV","alignCenter":"UH7NoV","caption":"yYFm7f","truncate":"Q2DOnW","upper-case":"X2Dsm3","upperCase":"X2Dsm3","group-cell-tooltip":"v66jw-","groupCellTooltip":"v66jw-","group-cell-tooltip-wrapper":"_9vdvGJ","groupCellTooltipWrapper":"_9vdvGJ","group-cell-tooltip-text":"jFcg5i","groupCellTooltipText":"jFcg5i","tooltip-caption":"Xp-SPL","tooltipCaption":"Xp-SPL","tooltip-info":"_8B8Zji","tooltipInfo":"_8B8Zji"};
|
|
3570
3955
|
|
|
3571
3956
|
class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
3572
3957
|
constructor() {
|
|
3573
3958
|
super(...arguments);
|
|
3574
|
-
this.getTooltipContent = (column) => (React__namespace.createElement("div", { className: uuiCore.cx(css$
|
|
3575
|
-
React__namespace.createElement(Text, { cx: [css$
|
|
3576
|
-
column.info && (React__namespace.createElement(Text, { cx: [css$
|
|
3959
|
+
this.getTooltipContent = (column) => (React__namespace.createElement("div", { className: uuiCore.cx(css$u.groupCellTooltipWrapper, uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionTooltip) },
|
|
3960
|
+
React__namespace.createElement(Text, { cx: [css$u.groupCellTooltipText, css$u.tooltipCaption] }, column.caption),
|
|
3961
|
+
column.info && (React__namespace.createElement(Text, { cx: [css$u.groupCellTooltipText, css$u.tooltipInfo] }, column.info))));
|
|
3577
3962
|
this.getColumnCaption = () => {
|
|
3578
3963
|
const renderTooltip = this.props.group.renderTooltip || this.getTooltipContent;
|
|
3579
|
-
const captionCx =
|
|
3580
|
-
|
|
3581
|
-
this.props.
|
|
3582
|
-
|
|
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))));
|
|
3964
|
+
const captionCx = uuiCore.cx(css$u.caption, this.props.textCase === 'upper' && css$u.upperCase, uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaption, 'uui-typography-inline', this.props.size >= '48' && css$u.truncate);
|
|
3965
|
+
return (React__namespace.createElement("div", { className: uuiCore.cx(css$u.captionWrapper, css$u['align-' + this.props.group.textAlign], uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionWrapper) },
|
|
3966
|
+
React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.group), cx: css$u.groupCellTooltip, openDelay: 600 },
|
|
3967
|
+
React__namespace.createElement("div", { key: "text", className: captionCx }, this.props.group.caption))));
|
|
3588
3968
|
};
|
|
3589
3969
|
this.getLeftPadding = () => {
|
|
3590
3970
|
const { columnsGap, isFirstCell } = this.props;
|
|
3591
3971
|
if (columnsGap)
|
|
3592
|
-
return isFirstCell ? columnsGap : +columnsGap / 2
|
|
3593
|
-
return isFirstCell ?
|
|
3972
|
+
return isFirstCell ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3973
|
+
return `var(--uui-dt-header-group-cell-padding${isFirstCell ? '-edge' : ''})`;
|
|
3594
3974
|
};
|
|
3595
3975
|
this.getRightPadding = () => {
|
|
3596
3976
|
const { columnsGap, isLastCell } = this.props;
|
|
3597
3977
|
if (columnsGap)
|
|
3598
|
-
return isLastCell ? columnsGap : +columnsGap / 2
|
|
3599
|
-
return isLastCell ?
|
|
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()));
|
|
3978
|
+
return isLastCell ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3979
|
+
return `var(--uui-dt-header-group-cell-padding${isLastCell ? '-edge' : ''})`;
|
|
3612
3980
|
};
|
|
3613
3981
|
}
|
|
3614
3982
|
render() {
|
|
@@ -3616,17 +3984,19 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
|
3616
3984
|
return this.props.group.renderHeaderCell(this.props);
|
|
3617
3985
|
}
|
|
3618
3986
|
const computeStyles = {
|
|
3619
|
-
'--uui-dt-header-group-cell-padding-start':
|
|
3620
|
-
'--uui-dt-header-group-cell-padding-end':
|
|
3987
|
+
'--uui-dt-header-group-cell-padding-start': this.getLeftPadding(),
|
|
3988
|
+
'--uui-dt-header-group-cell-padding-end': this.getRightPadding(),
|
|
3621
3989
|
};
|
|
3622
|
-
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.group, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$
|
|
3990
|
+
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.group, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$u.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.row}`, this.props.isFirstCell && 'uui-dt-header-first-column', this.props.isLastCell && 'uui-dt-header-last-column'), rawProps: { role: 'columnheader' }, style: computeStyles }, this.getColumnCaption()));
|
|
3623
3991
|
}
|
|
3624
3992
|
}
|
|
3625
3993
|
|
|
3626
|
-
|
|
3994
|
+
var css$t = {"root":"C98oWG"};
|
|
3995
|
+
|
|
3996
|
+
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
3627
3997
|
renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
3628
3998
|
renderGroupCell: (props) => (React__namespace.createElement(DataTableHeaderGroupCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.key, columnsGap: mods.columnsGap })),
|
|
3629
|
-
renderConfigButton: () => (React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.sizes.
|
|
3999
|
+
renderConfigButton: () => (React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.dataTable.sizes.header.iconMap[mods.size || settings.dataTable.sizes.header.row]}`], color: "neutral", icon: settings.dataTable.icons.header.configIcon })),
|
|
3630
4000
|
}));
|
|
3631
4001
|
|
|
3632
4002
|
const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
@@ -3634,15 +4004,14 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
3634
4004
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
3635
4005
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
3636
4006
|
|
|
3637
|
-
var css$s = {"root":"
|
|
4007
|
+
var css$s = {"root":"NYRimP","title-wrapper":"ySAYFb","titleWrapper":"ySAYFb","title":"cZP9sj","text-wrapper":"_5PBzw7","textWrapper":"_5PBzw7","selection":"_7LpIPy","postfix":"_9hXPWM","selected":"_-2c0e0"};
|
|
3638
4008
|
|
|
3639
|
-
const defaultSize = '36';
|
|
3640
4009
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3641
4010
|
const togglerPickerOpened = (e) => {
|
|
3642
4011
|
if (props.isDisabled)
|
|
3643
4012
|
return;
|
|
3644
4013
|
e.preventDefault();
|
|
3645
|
-
props.onClick?.();
|
|
4014
|
+
!uuiCore.isEventTargetInsideClickable(e) && props.onClick?.();
|
|
3646
4015
|
};
|
|
3647
4016
|
const onKeyDownHandler = (e) => {
|
|
3648
4017
|
if (props.isDisabled)
|
|
@@ -3660,18 +4029,13 @@ const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props
|
|
|
3660
4029
|
const getSelectionText = () => props.selection.map((i, index) => (React__namespace.createElement(React__namespace.Fragment, { key: `${i}${index}` },
|
|
3661
4030
|
React__namespace.createElement(Text, { color: "primary", size: props.size, cx: css$s.selection }, i),
|
|
3662
4031
|
(props.postfix || index !== props.selection.length - 1) && React__namespace.createElement("span", null, ",\u00A0"))));
|
|
3663
|
-
return (React__namespace.createElement(
|
|
3664
|
-
|
|
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 },
|
|
4032
|
+
return (React__namespace.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: 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 || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
4033
|
+
React__namespace.createElement("div", { className: css$s.titleWrapper },
|
|
3670
4034
|
React__namespace.createElement(Text, { size: props.size, cx: css$s.title }, getTitle),
|
|
3671
4035
|
props.selection && (React__namespace.createElement("div", { className: css$s.textWrapper },
|
|
3672
4036
|
getSelectionText(),
|
|
3673
4037
|
props.postfix && (React__namespace.createElement(Text, { color: "primary", size: props.size, cx: css$s.postfix }, props.postfix))))),
|
|
3674
|
-
!props.isDisabled && React__namespace.createElement(uuiComponents.IconContainer, { icon:
|
|
4038
|
+
!props.isDisabled && React__namespace.createElement(uuiComponents.IconContainer, { icon: settings.filtersPanel.icons.itemDropdownIcon, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
3675
4039
|
});
|
|
3676
4040
|
|
|
3677
4041
|
const pickerHeight = 300;
|
|
@@ -3698,7 +4062,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
3698
4062
|
};
|
|
3699
4063
|
const renderItem = (item, rowProps, dsState) => {
|
|
3700
4064
|
const { flattenSearchResults } = view.getConfig();
|
|
3701
|
-
return (React__namespace.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.sizes.
|
|
4065
|
+
return (React__namespace.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.pickerInput.sizes.body.row, ...rowProps }));
|
|
3702
4066
|
};
|
|
3703
4067
|
const onSelect = (row) => {
|
|
3704
4068
|
handleDataSourceValueChange((currentDataSourceState) => ({ ...currentDataSourceState, search: '', selectedId: row.id }));
|
|
@@ -3707,18 +4071,20 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
3707
4071
|
if (rowProps.isSelectable && isSingleSelect() && props.editMode !== 'modal') {
|
|
3708
4072
|
rowProps.onSelect = onSelect;
|
|
3709
4073
|
}
|
|
3710
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.sizes.
|
|
4074
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.pickerInput.sizes.body.row, padding: "12", renderItem: (item, itemProps) => renderItem(item, itemProps, dsState) }));
|
|
3711
4075
|
};
|
|
3712
4076
|
const renderFooter = () => {
|
|
3713
4077
|
const footerProps = getFooterProps();
|
|
3714
|
-
return props.renderFooter
|
|
4078
|
+
return props.renderFooter
|
|
4079
|
+
? props.renderFooter(footerProps)
|
|
4080
|
+
: React__namespace.createElement(DataPickerFooter, { ...footerProps, size: settings.pickerInput.sizes.body.row });
|
|
3715
4081
|
};
|
|
3716
4082
|
const renderBody = (bodyProps, rows) => {
|
|
3717
4083
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
3718
4084
|
const maxHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.maxBodyHeight || pickerHeight;
|
|
3719
4085
|
const maxWidth = uuiCore.isMobile() ? undefined : 360;
|
|
3720
4086
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
3721
|
-
React__namespace.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.sizes.
|
|
4087
|
+
React__namespace.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.pickerInput.sizes.body.row, editMode: "dropdown" }),
|
|
3722
4088
|
renderFooter()));
|
|
3723
4089
|
};
|
|
3724
4090
|
const rows = getRows();
|
|
@@ -3806,7 +4172,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
3806
4172
|
React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
3807
4173
|
}
|
|
3808
4174
|
|
|
3809
|
-
var css$r = {"container":"
|
|
4175
|
+
var css$r = {"container":"LYED6-"};
|
|
3810
4176
|
|
|
3811
4177
|
function FilterNumericBody(props) {
|
|
3812
4178
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -3887,22 +4253,22 @@ function FilterItemBody(props) {
|
|
|
3887
4253
|
}
|
|
3888
4254
|
}
|
|
3889
4255
|
|
|
3890
|
-
var _path$
|
|
3891
|
-
function _extends$
|
|
4256
|
+
var _path$a;
|
|
4257
|
+
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); }
|
|
3892
4258
|
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
3893
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4259
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
3894
4260
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3895
4261
|
width: 24,
|
|
3896
4262
|
height: 24,
|
|
3897
4263
|
viewBox: "0 0 24 24",
|
|
3898
4264
|
ref: ref
|
|
3899
|
-
}, props), _path$
|
|
4265
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3900
4266
|
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
3901
4267
|
})));
|
|
3902
4268
|
};
|
|
3903
|
-
var ForwardRef$
|
|
4269
|
+
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
3904
4270
|
|
|
3905
|
-
var css$q = {"header":"
|
|
4271
|
+
var css$q = {"header":"_8mXhHb","removeButton":"fZWPWN","with-search":"lNmlG0","withSearch":"lNmlG0"};
|
|
3906
4272
|
|
|
3907
4273
|
function useView(props, value) {
|
|
3908
4274
|
const forceUpdate = uuiCore.useForceUpdate();
|
|
@@ -3991,7 +4357,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3991
4357
|
};
|
|
3992
4358
|
const renderHeader = (hideTitle) => (React__namespace.default.createElement("div", { className: cx__default.default(css$q.header, isPickersType && (props.showSearch ?? css$q.withSearch)) },
|
|
3993
4359
|
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))),
|
|
3994
|
-
!props?.isAlwaysVisible && (React__namespace.default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$
|
|
4360
|
+
!props?.isAlwaysVisible && (React__namespace.default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$a }))));
|
|
3995
4361
|
const renderBody = (dropdownProps) => {
|
|
3996
4362
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
3997
4363
|
return isPickersType ? (React__namespace.default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width: 360, onClose: () => isOpenChange(false) },
|
|
@@ -4080,21 +4446,6 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4080
4446
|
}
|
|
4081
4447
|
const FiltersPanelItem = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarItemImpl);
|
|
4082
4448
|
|
|
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
|
-
|
|
4098
4449
|
const normalizeFilterWithPredicates = (filter) => {
|
|
4099
4450
|
if (!filter) {
|
|
4100
4451
|
return {};
|
|
@@ -4134,7 +4485,7 @@ const normalizeFilterWithPredicates = (filter) => {
|
|
|
4134
4485
|
return result;
|
|
4135
4486
|
};
|
|
4136
4487
|
function FiltersToolbarImpl(props) {
|
|
4137
|
-
const { filters, tableState, setTableState, size = settings.sizes.
|
|
4488
|
+
const { filters, tableState, setTableState, size = (settings.filtersPanel.sizes.default) } = props;
|
|
4138
4489
|
const [newFilterId, setNewFilterId] = React.useState(null);
|
|
4139
4490
|
const pickerInputRef = React.useRef(null);
|
|
4140
4491
|
const dataSource = uuiCore.useArrayDataSource({
|
|
@@ -4194,7 +4545,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4194
4545
|
return uuiCore.orderBy(selectedFilters, (f) => tableState.filtersConfig?.[f.field]?.order);
|
|
4195
4546
|
}, [filters, tableState.filtersConfig]);
|
|
4196
4547
|
const renderAddFilterToggler = React.useCallback((togglerProps) => {
|
|
4197
|
-
return (React__namespace.default.createElement(Button, { size: size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon:
|
|
4548
|
+
return (React__namespace.default.createElement(Button, { size: size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: settings.filtersPanel.icons.addFilterIcon, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
4198
4549
|
}, []);
|
|
4199
4550
|
const getRowOptions = React.useCallback((item) => ({
|
|
4200
4551
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -4219,124 +4570,92 @@ function FiltersToolbarImpl(props) {
|
|
|
4219
4570
|
!isAllFiltersAlwaysVisible && (React__namespace.default.createElement(PickerInput, { dataSource: dataSource, value: selectedFilters, onValueChange: onFiltersChange, selectionMode: "multi", valueType: "entity", renderRow: (props) => (React__namespace.default.createElement(DataPickerRow, { ...props, padding: "12", key: props.key, onCheck: (row) => {
|
|
4220
4571
|
props.onCheck && props.onCheck(row);
|
|
4221
4572
|
setNewFilterId(row.value.field);
|
|
4222
|
-
}, renderItem: (item, rowProps) => React__namespace.default.createElement(PickerItem, { ...rowProps, title: item.title }) })), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: size, bodyCx: UUI_FILTERS_PANEL_ADD_BUTTON_BODY, ref: pickerInputRef }))));
|
|
4223
|
-
}
|
|
4224
|
-
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
4225
|
-
|
|
4226
|
-
var css$p = {"divider":"Yk71gJ","dropdownDeleteIcon":"YOVnyc","presetsWrapper":"vP8Ge5","addPresetContainer":"ssnA78","dropContainer":"aiUq04"};
|
|
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);
|
|
4573
|
+
}, renderItem: (item, rowProps) => React__namespace.default.createElement(PickerItem, { ...rowProps, title: item.title }) })), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: size, bodyCx: UUI_FILTERS_PANEL_ADD_BUTTON_BODY, ref: pickerInputRef }))));
|
|
4574
|
+
}
|
|
4575
|
+
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
4244
4576
|
|
|
4245
|
-
var
|
|
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);
|
|
4577
|
+
var css$p = {"divider":"lBbzQ8","dropdownDeleteIcon":"E5oIkk","presetsWrapper":"V6NsQW","addPresetContainer":"_503g45","dropContainer":"BV2WsR"};
|
|
4259
4578
|
|
|
4260
|
-
var _path$
|
|
4261
|
-
function _extends$
|
|
4579
|
+
var _path$9;
|
|
4580
|
+
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); }
|
|
4262
4581
|
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
4263
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4582
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
4264
4583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4265
4584
|
width: 24,
|
|
4266
4585
|
height: 24,
|
|
4267
4586
|
viewBox: "0 0 24 24",
|
|
4268
4587
|
ref: ref
|
|
4269
|
-
}, props), _path$
|
|
4588
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4270
4589
|
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"
|
|
4271
4590
|
})));
|
|
4272
4591
|
};
|
|
4273
|
-
var ForwardRef$
|
|
4592
|
+
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgActionSaveOutline);
|
|
4274
4593
|
|
|
4275
|
-
var _path$
|
|
4276
|
-
function _extends$
|
|
4594
|
+
var _path$8;
|
|
4595
|
+
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); }
|
|
4277
4596
|
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
4278
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4597
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
4279
4598
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4280
4599
|
width: 24,
|
|
4281
4600
|
height: 24,
|
|
4282
4601
|
viewBox: "0 0 24 24",
|
|
4283
4602
|
ref: ref
|
|
4284
|
-
}, props), _path$
|
|
4603
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4285
4604
|
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"
|
|
4286
4605
|
})));
|
|
4287
4606
|
};
|
|
4288
|
-
var ForwardRef$
|
|
4607
|
+
var ForwardRef$8 = /*#__PURE__*/React.forwardRef(SvgContentEditUndoOutline);
|
|
4289
4608
|
|
|
4290
|
-
var _path$
|
|
4291
|
-
function _extends$
|
|
4609
|
+
var _path$7;
|
|
4610
|
+
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); }
|
|
4292
4611
|
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
4293
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4612
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
4294
4613
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4295
4614
|
width: 24,
|
|
4296
4615
|
height: 24,
|
|
4297
4616
|
viewBox: "0 0 24 24",
|
|
4298
4617
|
ref: ref
|
|
4299
|
-
}, props), _path$
|
|
4618
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4300
4619
|
fillRule: "evenodd",
|
|
4301
4620
|
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",
|
|
4302
4621
|
clipRule: "evenodd"
|
|
4303
4622
|
})));
|
|
4304
4623
|
};
|
|
4305
|
-
var ForwardRef$
|
|
4624
|
+
var ForwardRef$7 = /*#__PURE__*/React.forwardRef(SvgActionCopyContentOutline);
|
|
4306
4625
|
|
|
4307
|
-
var _path$
|
|
4308
|
-
function _extends$
|
|
4626
|
+
var _path$6;
|
|
4627
|
+
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); }
|
|
4309
4628
|
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
4310
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4629
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
4311
4630
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4312
4631
|
width: 24,
|
|
4313
4632
|
height: 24,
|
|
4314
4633
|
viewBox: "0 0 24 24",
|
|
4315
4634
|
ref: ref
|
|
4316
|
-
}, props), _path$
|
|
4635
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4317
4636
|
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"
|
|
4318
4637
|
})));
|
|
4319
4638
|
};
|
|
4320
|
-
var ForwardRef$
|
|
4639
|
+
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgContentEditFill);
|
|
4321
4640
|
|
|
4322
|
-
var _path$
|
|
4323
|
-
function _extends$
|
|
4641
|
+
var _path$5, _path2;
|
|
4642
|
+
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); }
|
|
4324
4643
|
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
4325
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4644
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
4326
4645
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4327
4646
|
width: 24,
|
|
4328
4647
|
height: 24,
|
|
4329
4648
|
viewBox: "0 0 24 24",
|
|
4330
4649
|
ref: ref
|
|
4331
|
-
}, props), _path$
|
|
4650
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4332
4651
|
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"
|
|
4333
|
-
})), _path2
|
|
4652
|
+
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4334
4653
|
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"
|
|
4335
4654
|
})));
|
|
4336
4655
|
};
|
|
4337
|
-
var ForwardRef$
|
|
4656
|
+
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgContentLinkOutline);
|
|
4338
4657
|
|
|
4339
|
-
var css$o = {"delete-button":"
|
|
4658
|
+
var css$o = {"delete-button":"xZYW9E","deleteButton":"xZYW9E","tab-button":"hVsgXZ","tabButton":"hVsgXZ","targetOpen":"q1eNVX"};
|
|
4340
4659
|
|
|
4341
4660
|
function PresetActionsDropdown(props) {
|
|
4342
4661
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -4384,26 +4703,26 @@ function PresetActionsDropdown(props) {
|
|
|
4384
4703
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4385
4704
|
return (React__namespace.default.createElement(DropdownMenuBody, { ...dropdownProps },
|
|
4386
4705
|
isPresetChanged && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
4387
|
-
!isReadonlyPreset && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$
|
|
4388
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$
|
|
4706
|
+
!isReadonlyPreset && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$E, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4707
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$9, caption: "Save as new",
|
|
4389
4708
|
// 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
|
|
4390
4709
|
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4391
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$
|
|
4710
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$8, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4392
4711
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4393
|
-
isRenameAvailable && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$
|
|
4394
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$
|
|
4395
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$
|
|
4712
|
+
isRenameAvailable && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$6, caption: "Rename", onClick: props.renamePreset })),
|
|
4713
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$7, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4714
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$5, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4396
4715
|
!isReadonlyPreset && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
4397
4716
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
4398
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
4717
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$a, caption: "Delete", cx: css$o.deleteButton, onClick: deleteHandler })))));
|
|
4399
4718
|
};
|
|
4400
4719
|
const renderTarget = React.useCallback((dropdownProps) => {
|
|
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$
|
|
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$F, size: "18" }));
|
|
4402
4721
|
}, []);
|
|
4403
4722
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4404
4723
|
}
|
|
4405
4724
|
|
|
4406
|
-
var css$n = {"preset-input-cell":"
|
|
4725
|
+
var css$n = {"preset-input-cell":"w-ePv9","presetInputCell":"w-ePv9","preset-input":"AeWdDT","presetInput":"AeWdDT"};
|
|
4407
4726
|
|
|
4408
4727
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4409
4728
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -4435,7 +4754,7 @@ function PresetInput(props) {
|
|
|
4435
4754
|
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 })));
|
|
4436
4755
|
}
|
|
4437
4756
|
|
|
4438
|
-
var css$m = {"preset":"
|
|
4757
|
+
var css$m = {"preset":"G6Iay0","activePreset":"gJKgZt"};
|
|
4439
4758
|
|
|
4440
4759
|
function Preset(props) {
|
|
4441
4760
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -4460,22 +4779,22 @@ function Preset(props) {
|
|
|
4460
4779
|
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 }))));
|
|
4461
4780
|
}
|
|
4462
4781
|
|
|
4463
|
-
var _path$
|
|
4464
|
-
function _extends$
|
|
4782
|
+
var _path$4;
|
|
4783
|
+
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); }
|
|
4465
4784
|
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
4466
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
4785
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
4467
4786
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4468
4787
|
width: 24,
|
|
4469
4788
|
height: 24,
|
|
4470
4789
|
viewBox: "0 0 24 24",
|
|
4471
4790
|
ref: ref
|
|
4472
|
-
}, props), _path$
|
|
4791
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4473
4792
|
fillRule: "evenodd",
|
|
4474
4793
|
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",
|
|
4475
4794
|
clipRule: "evenodd"
|
|
4476
4795
|
})));
|
|
4477
4796
|
};
|
|
4478
|
-
var ForwardRef$
|
|
4797
|
+
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgActionDeleteForeverFill);
|
|
4479
4798
|
|
|
4480
4799
|
function PresetsPanel(props) {
|
|
4481
4800
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
@@ -4490,7 +4809,7 @@ function PresetsPanel(props) {
|
|
|
4490
4809
|
return React__namespace.default.createElement(Preset, { key: preset.id, preset: preset, addPreset: setAddingPreset, ...presetApi });
|
|
4491
4810
|
};
|
|
4492
4811
|
const renderAddPresetButton = React.useCallback(() => {
|
|
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$
|
|
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$s, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__namespace.default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
4494
4813
|
}, [isAddingPreset]);
|
|
4495
4814
|
const onPresetDropdownSelect = (preset) => {
|
|
4496
4815
|
props.choosePreset(preset.preset);
|
|
@@ -4499,7 +4818,7 @@ function PresetsPanel(props) {
|
|
|
4499
4818
|
return (React__namespace.default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__namespace.default.createElement(FlexRow, null,
|
|
4500
4819
|
React__namespace.default.createElement("div", { className: css$p.divider }),
|
|
4501
4820
|
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 },
|
|
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$
|
|
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$4, iconPosition: "right", cx: css$p.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
4503
4822
|
};
|
|
4504
4823
|
const getPresetPriority = (preset, index) => {
|
|
4505
4824
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -4561,62 +4880,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4561
4880
|
return columns;
|
|
4562
4881
|
};
|
|
4563
4882
|
|
|
4564
|
-
var
|
|
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":"_85FnOD","unpinIcon":"_85FnOD","pin-toggler-icon":"_96FQli","pinTogglerIcon":"_96FQli"};
|
|
4883
|
+
var css$l = {"unpin-icon":"IrmUQG","unpinIcon":"IrmUQG","pin-toggler-icon":"nmshk7","pinTogglerIcon":"nmshk7"};
|
|
4620
4884
|
|
|
4621
4885
|
function PinIconButton(props) {
|
|
4622
4886
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4634,23 +4898,23 @@ function PinIconButton(props) {
|
|
|
4634
4898
|
else {
|
|
4635
4899
|
pinUnpinNode = (React__namespace.createElement(React__namespace.Fragment, null,
|
|
4636
4900
|
React__namespace.createElement(Tooltip, { content: i18nLocal.pinColumnToTheLeftButton, placement: "bottom", color: "inverted" },
|
|
4637
|
-
React__namespace.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon:
|
|
4901
|
+
React__namespace.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon: settings.dataTable.icons.columnsConfigurationModal.pinLeftIcon, onClick: () => onTogglePin('left'), isDisabled: isPinnedAlways })),
|
|
4638
4902
|
React__namespace.createElement(Tooltip, { content: i18nLocal.pinColumnToTheRightButton, placement: "bottom", color: "inverted" },
|
|
4639
|
-
React__namespace.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon:
|
|
4903
|
+
React__namespace.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon: settings.dataTable.icons.columnsConfigurationModal.pinRightIcon, onClick: () => onTogglePin('right'), isDisabled: isPinnedAlways }))));
|
|
4640
4904
|
}
|
|
4641
4905
|
return pinUnpinNode;
|
|
4642
4906
|
}
|
|
4643
4907
|
function getUnpinIcon(params) {
|
|
4644
4908
|
const { isPinnedAlways, pinPosition } = params;
|
|
4645
4909
|
if (isPinnedAlways) {
|
|
4646
|
-
return
|
|
4910
|
+
return settings.dataTable.icons.columnsConfigurationModal.lockIcon;
|
|
4647
4911
|
}
|
|
4648
4912
|
switch (pinPosition) {
|
|
4649
4913
|
case 'left': {
|
|
4650
|
-
return
|
|
4914
|
+
return settings.dataTable.icons.columnsConfigurationModal.pinLeftIcon;
|
|
4651
4915
|
}
|
|
4652
4916
|
case 'right': {
|
|
4653
|
-
return
|
|
4917
|
+
return settings.dataTable.icons.columnsConfigurationModal.pinRightIcon;
|
|
4654
4918
|
}
|
|
4655
4919
|
default: {
|
|
4656
4920
|
return;
|
|
@@ -4658,24 +4922,7 @@ function getUnpinIcon(params) {
|
|
|
4658
4922
|
}
|
|
4659
4923
|
}
|
|
4660
4924
|
|
|
4661
|
-
var
|
|
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":"qnxzLP","rowWrapper":"qnxzLP","pin-icon-button":"SC8GS4","pinIconButton":"SC8GS4","not-pinned":"g46j1h","notPinned":"g46j1h","checkbox":"ugUK-4","drag-handle":"HXYO-8","dragHandle":"HXYO-8","dnd-disabled":"_5CvVv0","dndDisabled":"_5CvVv0"};
|
|
4925
|
+
var css$k = {"row-wrapper":"_1rj5tZ","rowWrapper":"_1rj5tZ","pin-icon-button":"YodOs9","pinIconButton":"YodOs9","not-pinned":"RqM0Rf","notPinned":"RqM0Rf","checkbox":"z6YCxf","drag-handle":"W8UDFx","dragHandle":"W8UDFx","dnd-disabled":"ikrVB6","dndDisabled":"ikrVB6"};
|
|
4679
4926
|
|
|
4680
4927
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4681
4928
|
const { column } = props;
|
|
@@ -4688,8 +4935,8 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4688
4935
|
const wrapperClasses = uuiCore.cx(css$k.rowWrapper, !isPinned && css$k.notPinned, dndActorParams.isDragGhost && uuiCore.uuiDndState.dragGhost, 'uui-dt-columns-config-row');
|
|
4689
4936
|
const { onTouchStart, onPointerDown, ...restEventHandlers } = dndActorParams.eventHandlers;
|
|
4690
4937
|
const { ref, ...dndActorPropsWithoutRef } = dndActorParams;
|
|
4691
|
-
return (React__namespace.createElement(FlexRow, { size: settings.sizes.
|
|
4692
|
-
React__namespace.createElement(uuiComponents.DragHandle, { dragHandleIcon:
|
|
4938
|
+
return (React__namespace.createElement(FlexRow, { size: settings.dataTable.sizes.columnsConfigurationModal.columnRow, cx: wrapperClasses, ref: dndActorParams.ref, rawProps: { ...restEventHandlers }, alignItems: "top" },
|
|
4939
|
+
React__namespace.createElement(uuiComponents.DragHandle, { dragHandleIcon: settings.dataTable.icons.columnsConfigurationModal.dragIndicator, rawProps: { onTouchStart, onPointerDown }, isDisabled: !isDndAllowed, cx: uuiCore.cx(css$k.dragHandle, !isDndAllowed && css$k.dndDisabled) }),
|
|
4693
4940
|
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 }),
|
|
4694
4941
|
React__namespace.createElement(FlexRow, { size: null, cx: css$k.pinIconButton },
|
|
4695
4942
|
React__namespace.createElement(PinIconButton, { pinPosition: pinPosition, canUnpin: !isPinnedAlways, onTogglePin: togglePin })),
|
|
@@ -4698,11 +4945,11 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4698
4945
|
return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4699
4946
|
});
|
|
4700
4947
|
|
|
4701
|
-
var css$j = {"root":"
|
|
4948
|
+
var css$j = {"root":"kVvcH5","main-panel":"qLv3jz","mainPanel":"qLv3jz","group":"yErj-z","group-title":"bW8MDX","groupTitle":"bW8MDX","group-items":"IS-Re2","groupItems":"IS-Re2","no-data":"_2-IT-t","noData":"_2-IT-t","no-data-title":"vjzuPi","noDataTitle":"vjzuPi","no-data-sub-title":"sRjdAU","noDataSubTitle":"sRjdAU","h-divider":"_3INRzj","hDivider":"_3INRzj","search-area":"vDbecE","searchArea":"vDbecE","subgroup-accordion":"l38dBE","subgroupAccordion":"l38dBE","subgroup":"cA6uH-","subgroup-title":"wksQ0I","subgroupTitle":"wksQ0I"};
|
|
4702
4949
|
|
|
4703
4950
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$j.group },
|
|
4704
4951
|
React__namespace.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
4705
|
-
React__namespace.createElement(CountIndicator, { caption: amount, color: "neutral", size: settings.sizes.
|
|
4952
|
+
React__namespace.createElement(CountIndicator, { caption: amount, color: "neutral", size: settings.dataTable.sizes.columnsConfigurationModal.countIndicator }),
|
|
4706
4953
|
React__namespace.createElement(uuiComponents.FlexSpacer, null)));
|
|
4707
4954
|
function ColumnsConfigurationModal(props) {
|
|
4708
4955
|
const i18n$1 = i18n.tables.columnsConfigurationModal;
|
|
@@ -4747,13 +4994,13 @@ function ColumnsConfigurationModal(props) {
|
|
|
4747
4994
|
};
|
|
4748
4995
|
const applyButton = React__namespace.createElement(Button, { caption: i18n$1.applyButton, isDisabled: !hasAnySelectedColumns, color: "primary", onClick: apply });
|
|
4749
4996
|
return (React__namespace.createElement(ModalBlocker, { ...modalProps },
|
|
4750
|
-
React__namespace.createElement(ModalWindow, { cx: css$j.root, height: "95dvh", maxHeight: "95dvh"
|
|
4997
|
+
React__namespace.createElement(ModalWindow, { cx: [css$j.root, 'uui-columns-config-modal'], height: "95dvh", maxHeight: "95dvh" },
|
|
4751
4998
|
React__namespace.createElement(ModalHeader, { title: i18n$1.configureColumnsTitle, onClose: close }),
|
|
4752
4999
|
React__namespace.createElement(FlexRow, { borderBottom: true, cx: css$j.searchArea },
|
|
4753
|
-
React__namespace.createElement(SearchInput, { size: settings.sizes.
|
|
5000
|
+
React__namespace.createElement(SearchInput, { size: settings.dataTable.sizes.columnsConfigurationModal.searchInput, value: searchValue, onValueChange: setSearchValue, placeholder: i18n$1.searchPlaceholder }),
|
|
4754
5001
|
React__namespace.createElement(Dropdown, { closeOnTargetClick: true, renderBody: () => (React__namespace.createElement(DropdownMenuBody, { minWidth: 100 },
|
|
4755
5002
|
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.clearAllButton, onClick: uncheckAll }),
|
|
4756
|
-
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => (React__namespace.createElement(Button, { ...props, fill: "none", icon:
|
|
5003
|
+
React__namespace.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => (React__namespace.createElement(Button, { ...props, fill: "none", icon: settings.dataTable.icons.columnsConfigurationModal.menuIcon, size: settings.dataTable.sizes.columnsConfigurationModal.menuButton, color: "secondary", isDropdown: false })) })),
|
|
4757
5004
|
React__namespace.createElement(Panel, { background: "surface-main", cx: css$j.mainPanel },
|
|
4758
5005
|
React__namespace.createElement(ScrollBars, null,
|
|
4759
5006
|
renderVisible(),
|
|
@@ -4762,7 +5009,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
4762
5009
|
React__namespace.createElement(Text, { cx: css$j.noDataTitle }, i18n$1.noResultsFound.title),
|
|
4763
5010
|
React__namespace.createElement(Text, { cx: css$j.noDataSubTitle }, i18n$1.noResultsFound.subTitle))))),
|
|
4764
5011
|
React__namespace.createElement(ModalFooter, { borderTop: true },
|
|
4765
|
-
React__namespace.createElement(LinkButton, { icon:
|
|
5012
|
+
React__namespace.createElement(LinkButton, { icon: settings.dataTable.icons.columnsConfigurationModal.resetIcon, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
4766
5013
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
4767
5014
|
React__namespace.createElement(Button, { fill: "none", color: "secondary", caption: i18n$1.cancelButton, onClick: close }),
|
|
4768
5015
|
!hasAnySelectedColumns ? (React__namespace.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
@@ -4772,12 +5019,12 @@ function SubGroup(props) {
|
|
|
4772
5019
|
const { title, items, renderItem } = props;
|
|
4773
5020
|
const isCollapsible = !!title;
|
|
4774
5021
|
if (items.length) {
|
|
4775
|
-
const content = (React__namespace.createElement(FlexRow, { cx: css$j.groupItems, size: settings.sizes.
|
|
5022
|
+
const content = (React__namespace.createElement(FlexRow, { cx: css$j.groupItems, size: settings.dataTable.sizes.columnsConfigurationModal.columnRow }, items.map((c) => (React__namespace.createElement(ColumnRow, { column: c, key: c.key, renderItem: renderItem })))));
|
|
4776
5023
|
if (isCollapsible) {
|
|
4777
5024
|
const renderTitle = (isOpened) => {
|
|
4778
|
-
const toggleIcon = isOpened ?
|
|
5025
|
+
const toggleIcon = settings.dataTable.icons.columnsConfigurationModal[isOpened ? 'expandedIcon' : 'collapsedIcon'];
|
|
4779
5026
|
return (React__namespace.createElement(FlexRow, { cx: uuiCore.cx(css$j.subgroup) },
|
|
4780
|
-
React__namespace.createElement(uuiComponents.IconContainer, {
|
|
5027
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: toggleIcon }),
|
|
4781
5028
|
React__namespace.createElement(Text, { size: "none", color: "tertiary", cx: css$j.subgroupTitle }, title)));
|
|
4782
5029
|
};
|
|
4783
5030
|
return (React__namespace.createElement(uuiComponents.Accordion, { value: isExpanded, onValueChange: setIsExpanded, renderTitle: renderTitle, cx: css$j.subgroupAccordion }, content));
|
|
@@ -4787,8 +5034,6 @@ function SubGroup(props) {
|
|
|
4787
5034
|
return null;
|
|
4788
5035
|
}
|
|
4789
5036
|
|
|
4790
|
-
var css$i = {"listContainer":"TAGA8J","header":"ZRooRZ","group":"zlLPEf","stickyHeader":"Ip-fvE"};
|
|
4791
|
-
|
|
4792
5037
|
const getChildrenAndRest = (row, rows) => {
|
|
4793
5038
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
4794
5039
|
if (firstNotChildIndex === -1) {
|
|
@@ -4802,6 +5047,8 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
4802
5047
|
return [children, rest];
|
|
4803
5048
|
};
|
|
4804
5049
|
|
|
5050
|
+
var css$i = {"listContainer":"KJP3gv","header":"VfM8gG","group":"zTB6i5","stickyHeader":"a61iPD"};
|
|
5051
|
+
|
|
4805
5052
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
4806
5053
|
const rowRef = React.useRef();
|
|
4807
5054
|
const childrenPinnedTop = row.isPinned ? (top + (rowRef.current?.clientHeight ?? 0)) : top;
|
|
@@ -4840,147 +5087,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
4840
5087
|
React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
4841
5088
|
}
|
|
4842
5089
|
|
|
4843
|
-
var
|
|
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(#upoqav6dlx0k3kfhr_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: "upoqavaqvlvzl1j0o_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(#upoqavaqvlvzl1j0o_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: "upoqav6dlx0k3kfhr_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":"-Wsx-o","sticky-header":"VVVx-t","stickyHeader":"VVVx-t","no-results":"q05n7h","noResults":"q05n7h","icon":"th6CT5","title":"InW1ks"};
|
|
5090
|
+
var css$h = {"root":"_6E9HFf","sticky-header":"_9ubGQc","stickyHeader":"_9ubGQc","no-results":"grgolE","noResults":"grgolE","icon":"_2uZhhK","title":"NV1qei"};
|
|
4984
5091
|
|
|
4985
5092
|
function DataTable(props) {
|
|
4986
5093
|
const { uuiModals } = uuiCore.useUuiContext();
|
|
@@ -4988,13 +5095,13 @@ function DataTable(props) {
|
|
|
4988
5095
|
const columnsWithFilters = useColumnsWithFilters(props.columns, props.filters);
|
|
4989
5096
|
const { columns, config, defaultConfig } = uuiCore.useColumnsConfig(columnsWithFilters, props.value?.columnsConfig);
|
|
4990
5097
|
const defaultRenderRow = React__namespace.useCallback((rowProps) => {
|
|
4991
|
-
return (React__namespace.createElement(DataTableRow, { size: props.size || settings.sizes.
|
|
5098
|
+
return (React__namespace.createElement(DataTableRow, { size: props.size || settings.dataTable.sizes.body.row, columnsGap: props.columnsGap, borderBottom: props.border, ...rowProps, key: rowProps.rowKey, cx: css$h.cell }));
|
|
4992
5099
|
}, []);
|
|
4993
5100
|
const renderRow = (row) => (props.renderRow ?? defaultRenderRow)({ ...row, columns });
|
|
4994
5101
|
const rows = props.getRows?.() ?? props.rows ?? [];
|
|
4995
5102
|
const renderNoResultsBlock = React__namespace.useCallback(() => {
|
|
4996
5103
|
return (React__namespace.createElement("div", { className: css$h.noResults }, props.renderNoResultsBlock ? (props.renderNoResultsBlock?.()) : (React__namespace.createElement(React__namespace.Fragment, null,
|
|
4997
|
-
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$h.icon, icon:
|
|
5104
|
+
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$h.icon, icon: settings.dataTable.icons.emptyTable }),
|
|
4998
5105
|
React__namespace.createElement(Text, { cx: css$h.title, fontSize: "24", lineHeight: "30", color: "primary", fontWeight: "600" }, i18n.tables.noResultsBlock.title),
|
|
4999
5106
|
React__namespace.createElement(Text, { fontSize: "16", lineHeight: "24", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
5000
5107
|
}, [props.renderNoResultsBlock]);
|
|
@@ -5013,7 +5120,7 @@ function DataTable(props) {
|
|
|
5013
5120
|
]);
|
|
5014
5121
|
const renderRowsContainer = React__namespace.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows }) => (React__namespace.createElement(React__namespace.Fragment, null,
|
|
5015
5122
|
React__namespace.createElement("div", { className: css$h.stickyHeader, ref: headerRef },
|
|
5016
|
-
React__namespace.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.sizes.
|
|
5123
|
+
React__namespace.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.sizes.header.row, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, showFoldAll: props.showFoldAll, value: { ...props.value, columnsConfig: config }, onValueChange: props.onValueChange, columnsGap: props.columnsGap }),
|
|
5017
5124
|
React__namespace.createElement("div", { className: uuiCore.cx(uuiCore.uuiScrollShadows.top, {
|
|
5018
5125
|
[uuiCore.uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
5019
5126
|
}) })),
|
|
@@ -5029,9 +5136,9 @@ function DataTable(props) {
|
|
|
5029
5136
|
} }))));
|
|
5030
5137
|
}
|
|
5031
5138
|
|
|
5032
|
-
var css$g = {"root":"
|
|
5139
|
+
var css$g = {"root":"eyuIWs"};
|
|
5033
5140
|
|
|
5034
|
-
var css$f = {"root":"
|
|
5141
|
+
var css$f = {"root":"_5s9s3y","burger-content":"rhUFAS","burgerContent":"rhUFAS"};
|
|
5035
5142
|
|
|
5036
5143
|
var _path$3;
|
|
5037
5144
|
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); }
|
|
@@ -5074,7 +5181,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5074
5181
|
};
|
|
5075
5182
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
5076
5183
|
|
|
5077
|
-
var css$e = {"root":"
|
|
5184
|
+
var css$e = {"root":"X58g1v","button-primary":"d-6JeT","buttonPrimary":"d-6JeT","button-secondary":"-oJcZ6","buttonSecondary":"-oJcZ6","hasIcon":"i66-xf","dropdown":"tjmIEw"};
|
|
5078
5185
|
|
|
5079
5186
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
5080
5187
|
css$e.root,
|
|
@@ -5085,13 +5192,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
5085
5192
|
props.icon && css$e.hasIcon,
|
|
5086
5193
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5087
5194
|
|
|
5088
|
-
var css$d = {"search-input":"
|
|
5195
|
+
var css$d = {"search-input":"GOtX43","searchInput":"GOtX43"};
|
|
5089
5196
|
|
|
5090
5197
|
function BurgerSearch(props) {
|
|
5091
|
-
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
5198
|
+
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$N, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$R }));
|
|
5092
5199
|
}
|
|
5093
5200
|
|
|
5094
|
-
var css$c = {"root":"
|
|
5201
|
+
var css$c = {"root":"_04H4yf","group-header":"UVFmhV","groupHeader":"UVFmhV","group-name":"Y--4xz","groupName":"Y--4xz","line":"Q89LRX"};
|
|
5095
5202
|
|
|
5096
5203
|
function BurgerGroupHeader(props) {
|
|
5097
5204
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5099,7 +5206,7 @@ function BurgerGroupHeader(props) {
|
|
|
5099
5206
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5100
5207
|
}
|
|
5101
5208
|
|
|
5102
|
-
var css$b = {"root":"
|
|
5209
|
+
var css$b = {"root":"_3Pd-XE","type-primary":"_6tR5d9","typePrimary":"_6tR5d9","type-secondary":"LG9fZp","typeSecondary":"LG9fZp"};
|
|
5103
5210
|
|
|
5104
5211
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5105
5212
|
const { type, ...clickableProps } = props;
|
|
@@ -5121,7 +5228,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5121
5228
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$Q, flipY: props.isOpen }))));
|
|
5122
5229
|
});
|
|
5123
5230
|
|
|
5124
|
-
var css$a = {"dropdown-body":"
|
|
5231
|
+
var css$a = {"dropdown-body":"WcWjiR","dropdownBody":"WcWjiR"};
|
|
5125
5232
|
|
|
5126
5233
|
class MainMenuDropdown extends React__namespace.Component {
|
|
5127
5234
|
render() {
|
|
@@ -5179,12 +5286,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5179
5286
|
};
|
|
5180
5287
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5181
5288
|
|
|
5182
|
-
var css$9 = {"global-menu-btn":"
|
|
5289
|
+
var css$9 = {"global-menu-btn":"lLYBJD","globalMenuBtn":"lLYBJD","global-menu-icon":"Ldpuo0","globalMenuIcon":"Ldpuo0"};
|
|
5183
5290
|
|
|
5184
5291
|
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 },
|
|
5185
5292
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5186
5293
|
|
|
5187
|
-
var css$8 = {"container":"
|
|
5294
|
+
var css$8 = {"container":"zabDar","open":"Wz1fKA","folding-arrow":"qsOfLC","foldingArrow":"qsOfLC"};
|
|
5188
5295
|
|
|
5189
5296
|
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 },
|
|
5190
5297
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5192,15 +5299,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5192
5299
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
5193
5300
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5194
5301
|
|
|
5195
|
-
var css$7 = {"search-input":"
|
|
5302
|
+
var css$7 = {"search-input":"JoH-wf","searchInput":"JoH-wf"};
|
|
5196
5303
|
|
|
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$
|
|
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$N, cancelIcon: props.value?.length > 0 && ForwardRef$R, ...props, ...iEditable, ref: ref, cx: uuiCore.cx(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5198
5305
|
|
|
5199
|
-
var css$6 = {"container":"
|
|
5306
|
+
var css$6 = {"container":"_6zb1UE"};
|
|
5200
5307
|
|
|
5201
5308
|
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 })));
|
|
5202
5309
|
|
|
5203
|
-
var css$5 = {"root":"
|
|
5310
|
+
var css$5 = {"root":"BW6Dfu"};
|
|
5204
5311
|
|
|
5205
5312
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
5206
5313
|
|
|
@@ -5258,7 +5365,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5258
5365
|
};
|
|
5259
5366
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5260
5367
|
|
|
5261
|
-
var css$4 = {"root":"
|
|
5368
|
+
var css$4 = {"root":"rceAX-","drop-start":"LUqc6A","dropStart":"LUqc6A","drop-over":"OQGg54","dropOver":"OQGg54","link":"_5IhcO0","drop-area":"GqhtNH","dropArea":"GqhtNH","drop-caption":"NWLsrW","dropCaption":"NWLsrW","icon-blue":"kZsHiK","iconBlue":"kZsHiK"};
|
|
5262
5369
|
|
|
5263
5370
|
function DropSpot(props) {
|
|
5264
5371
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5276,19 +5383,19 @@ function DropSpot(props) {
|
|
|
5276
5383
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5277
5384
|
}
|
|
5278
5385
|
|
|
5279
|
-
var css$3 = {"root":"
|
|
5280
|
-
|
|
5281
|
-
var css$2 = {"root":"_6Q0-FW"};
|
|
5386
|
+
var css$3 = {"root":"FsGteO"};
|
|
5282
5387
|
|
|
5283
5388
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5284
5389
|
const outsetRadius = props.size / 2 - 1;
|
|
5285
5390
|
const insetRadius = props.size / 2 - 3;
|
|
5286
5391
|
const circumference = insetRadius * Math.PI;
|
|
5287
|
-
return (React__namespace.createElement("svg", { className: css$
|
|
5392
|
+
return (React__namespace.createElement("svg", { className: css$3.root, width: props.size, height: props.size, ref: ref, ...props.rawProps },
|
|
5288
5393
|
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 }),
|
|
5289
5394
|
React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5290
5395
|
});
|
|
5291
5396
|
|
|
5397
|
+
var css$2 = {"root":"e9aoDJ","file-name":"wwWw79","fileName":"wwWw79","default-color":"pqs8p3","defaultColor":"pqs8p3","doc-color":"zULxOB","docColor":"zULxOB","xls-color":"fCe9BZ","xlsColor":"fCe9BZ","pdf-color":"HU72eK","pdfColor":"HU72eK","movie-color":"vjy2z5","movieColor":"vjy2z5","img-color":"va3grO","imgColor":"va3grO","mov-color":"_1XyXJY","movColor":"_1XyXJY","error-block":"lFDyRF","errorBlock":"lFDyRF","icons-block":"DG9-Pt","iconsBlock":"DG9-Pt"};
|
|
5398
|
+
|
|
5292
5399
|
const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5293
5400
|
const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
|
|
5294
5401
|
const { file } = props;
|
|
@@ -5296,36 +5403,36 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5296
5403
|
switch (extension) {
|
|
5297
5404
|
case 'doc':
|
|
5298
5405
|
case 'docx':
|
|
5299
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5406
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.docIcon, cx: css$2.docColor });
|
|
5300
5407
|
case 'xls':
|
|
5301
5408
|
case 'xlsx':
|
|
5302
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5409
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.exelIcon, cx: css$2.xlsColor });
|
|
5303
5410
|
case 'pdf':
|
|
5304
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5411
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.pdfIcon, cx: css$2.pdfColor });
|
|
5305
5412
|
case 'gif':
|
|
5306
5413
|
case 'jpg':
|
|
5307
5414
|
case 'jpeg':
|
|
5308
5415
|
case 'svg':
|
|
5309
5416
|
case 'png':
|
|
5310
5417
|
case 'webp':
|
|
5311
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5418
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.imgIcon, cx: css$2.imgColor });
|
|
5312
5419
|
case 'avi':
|
|
5313
5420
|
case 'mov':
|
|
5314
5421
|
case 'mp4':
|
|
5315
5422
|
case 'wmw':
|
|
5316
5423
|
case 'mkv':
|
|
5317
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5424
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.videoIcon, cx: css$2.movColor });
|
|
5318
5425
|
case 'csv':
|
|
5319
5426
|
case 'xml':
|
|
5320
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5427
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.tableIcon, cx: css$2.defaultColor });
|
|
5321
5428
|
case 'rtf':
|
|
5322
5429
|
case 'txt':
|
|
5323
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5430
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.textIcon, cx: css$2.defaultColor });
|
|
5324
5431
|
case 'eml':
|
|
5325
5432
|
case 'emlx':
|
|
5326
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5433
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.mailIcon, cx: css$2.defaultColor });
|
|
5327
5434
|
default:
|
|
5328
|
-
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon:
|
|
5435
|
+
return React__namespace.createElement(uuiComponents.IconContainer, { size: 24, icon: settings.fileCard.icons.fileIcon, cx: css$2.defaultColor });
|
|
5329
5436
|
}
|
|
5330
5437
|
};
|
|
5331
5438
|
const { cx: componentCx, width, file: { progress, size, name, extension, error, abortXHR, }, onClick, } = props;
|
|
@@ -5342,10 +5449,10 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5342
5449
|
setIsLoadingShow(() => false);
|
|
5343
5450
|
};
|
|
5344
5451
|
const renderErrorContent = () => (React__namespace.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
5345
|
-
React__namespace.createElement("div", { className: css$
|
|
5346
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon:
|
|
5452
|
+
React__namespace.createElement("div", { className: css$2.errorBlock },
|
|
5453
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: settings.fileCard.icons.errorIcon, size: 12 }),
|
|
5347
5454
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5348
|
-
const renderSuccessfulContent = () => (React__namespace.createElement(Text, { size: "
|
|
5455
|
+
const renderSuccessfulContent = () => (React__namespace.createElement(Text, { size: "none", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5349
5456
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
5350
5457
|
isLoading && uuiCore.formatBytes((size / 100) * progress, 2, false) + i18n.fileCard.fileSizeProgress,
|
|
5351
5458
|
uuiCore.formatBytes(size)));
|
|
@@ -5353,15 +5460,15 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5353
5460
|
progress && progress < 100 && abortXHR();
|
|
5354
5461
|
onClick();
|
|
5355
5462
|
};
|
|
5356
|
-
return (React__namespace.createElement(FlexCell, { ref: ref, cx: uuiCore.cx(css$
|
|
5463
|
+
return (React__namespace.createElement(FlexCell, { ref: ref, cx: uuiCore.cx(css$2.root, 'uui-file_card', (isLoading || error?.isError) && uuiCore.uuiMod.loading, componentCx, error?.isError && uuiCore.uuiMod.error), minWidth: width, width: !width ? '100%' : undefined },
|
|
5357
5464
|
React__namespace.createElement(FlexRow, { alignItems: "top", columnGap: "6" },
|
|
5358
5465
|
fileExtension && getIcon(fileExtension),
|
|
5359
5466
|
React__namespace.createElement(FlexCell, { width: "100%" },
|
|
5360
|
-
React__namespace.createElement(Text, { size: "
|
|
5467
|
+
React__namespace.createElement(Text, { size: "none", fontSize: "14", lineHeight: "18", color: (progress < 100 || error?.isError) ? 'tertiary' : 'primary', cx: css$2.fileName }, fileName),
|
|
5361
5468
|
error?.isError ? renderErrorContent() : renderSuccessfulContent()),
|
|
5362
|
-
React__namespace.createElement("div", { className: uuiCore.cx(css$
|
|
5469
|
+
React__namespace.createElement("div", { className: uuiCore.cx(css$2.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5363
5470
|
isLoadingShow && isLoading && React__namespace.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
5364
|
-
isCrossShow && React__namespace.createElement(IconButton, { icon:
|
|
5471
|
+
isCrossShow && React__namespace.createElement(IconButton, { icon: settings.fileCard.icons.closeIcon, onClick: removeHandler })))));
|
|
5365
5472
|
});
|
|
5366
5473
|
|
|
5367
5474
|
const getRecoveryMessageConfig = () => ({
|
|
@@ -5406,7 +5513,7 @@ const getErrorPageConfig = () => ({
|
|
|
5406
5513
|
},
|
|
5407
5514
|
});
|
|
5408
5515
|
|
|
5409
|
-
var css$1 = {"container":"
|
|
5516
|
+
var css$1 = {"container":"xLxjz3"};
|
|
5410
5517
|
|
|
5411
5518
|
const ErrorPage = (props) => {
|
|
5412
5519
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5418,7 +5525,7 @@ const ErrorPage = (props) => {
|
|
|
5418
5525
|
props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5419
5526
|
};
|
|
5420
5527
|
|
|
5421
|
-
var css = {"recovery-spinner":"
|
|
5528
|
+
var css = {"recovery-spinner":"Bw4cMJ","recoverySpinner":"Bw4cMJ","recovery-message":"YL7Wdk","recoveryMessage":"YL7Wdk","modal-blocker":"_4F3Xr-","modalBlocker":"_4F3Xr-","modalFadeIn":"rbUe28"};
|
|
5422
5529
|
|
|
5423
5530
|
function ErrorHandler(props) {
|
|
5424
5531
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|
|
@@ -5506,6 +5613,7 @@ exports.ConfirmationModal = ConfirmationModal;
|
|
|
5506
5613
|
exports.ControlGroup = ControlGroup;
|
|
5507
5614
|
exports.CountIndicator = CountIndicator;
|
|
5508
5615
|
exports.DataPickerBody = DataPickerBody;
|
|
5616
|
+
exports.DataPickerCell = DataPickerCell;
|
|
5509
5617
|
exports.DataPickerFooter = DataPickerFooter;
|
|
5510
5618
|
exports.DataPickerHeader = DataPickerHeader;
|
|
5511
5619
|
exports.DataPickerRow = DataPickerRow;
|