@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.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as uuiComponents from '@epam/uui-components';
|
|
2
|
-
import { Clickable, IconContainer, RadioInput as RadioInput$1, TextInput as TextInput$1, ControlGroup as ControlGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Dropdown as Dropdown$1, Anchor as Anchor$1,
|
|
2
|
+
import { Clickable, IconContainer, RadioInput as RadioInput$1, TextInput as TextInput$1, ControlGroup as ControlGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Dropdown as Dropdown$1, Anchor as Anchor$1, FlexSpacer, Text as Text$1, FlexCell as FlexCell$1, VPanel, ScrollBars as ScrollBars$1, AvatarStack as AvatarStack$1, Spinner as Spinner$1, Paginator as Paginator$1, DragHandle, Blocker as Blocker$1, ModalBlocker as ModalBlocker$1, ModalWindow as ModalWindow$1, Snackbar as Snackbar$1, InputAddon as InputAddon$1, Slider as Slider$1, Calendar as Calendar$1, YearSelection, MonthSelection, Day, uuiDaySelection, PickerBodyBase, DataPickerRow as DataPickerRow$1, Avatar, usePickerModal, handleDataSourceKeyboard, PickerToggler as PickerToggler$1, usePickerInput, usePickerList, DataTableCell as DataTableCell$1, DataTableRow as DataTableRow$1, DataTableCellContainer, DataTableHeaderCell as DataTableHeaderCell$1, DataTableHeaderRow as DataTableHeaderRow$1, AdaptivePanel, useColumnsConfiguration, Accordion as Accordion$1, DataTableSelectionProvider, DataTableFocusProvider, Burger as Burger$1, Button as Button$1, DropSpot as DropSpot$1, UploadFileToggler, ErrorCatch } from '@epam/uui-components';
|
|
3
3
|
export { Avatar, DataTableCellContainer, FlexSpacer, IconContainer } from '@epam/uui-components';
|
|
4
|
-
import { withMods, devLogger, uuiElement, cx as cx$1, uuiMarkers, IEditableDebouncer, UuiContext, uuiMod, getDir, directionMode, useVirtualList, useScrollShadows, isMobile, i18n as i18n$1, useUuiContext, isFocusReceiverInsideFocusLock, Lens, mobilePopperModifier, uuiDataTableHeaderCell, uuiDataTableHeaderGroupCell, usePrevious, useForceUpdate, getSeparatedValue, useArrayDataSource, orderBy, getOrderBetween, DndActor, uuiDndState, useColumnsConfig, uuiScrollShadows, Form as Form$1, useForm as useForm$1, formatBytes, useUuiError } from '@epam/uui-core';
|
|
4
|
+
import { withMods, devLogger, uuiElement, cx as cx$1, uuiMarkers, IEditableDebouncer, UuiContext, uuiMod, getDir, isEventTargetInsideClickable, directionMode, useVirtualList, useScrollShadows, isMobile, i18n as i18n$1, useUuiContext, isFocusReceiverInsideFocusLock, Lens, mobilePopperModifier, uuiDataTableHeaderCell, uuiDataTableHeaderGroupCell, usePrevious, useForceUpdate, getSeparatedValue, useArrayDataSource, orderBy, getOrderBetween, DndActor, uuiDndState, useColumnsConfig, uuiScrollShadows, Form as Form$1, useForm as useForm$1, formatBytes, useUuiError } from '@epam/uui-core';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { forwardRef, useContext, useRef, useState, useEffect, useReducer, useImperativeHandle, useCallback, useMemo, Fragment } from 'react';
|
|
7
7
|
import cx from 'classnames';
|
|
@@ -63,7 +63,7 @@ var ForwardRef$P = /*#__PURE__*/forwardRef(SvgNotificationDoneOutline);
|
|
|
63
63
|
|
|
64
64
|
var _path$O;
|
|
65
65
|
function _extends$O() { return _extends$O = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$O.apply(null, arguments); }
|
|
66
|
-
var
|
|
66
|
+
var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
67
67
|
return /*#__PURE__*/React.createElement("svg", _extends$O({
|
|
68
68
|
xmlns: "http://www.w3.org/2000/svg",
|
|
69
69
|
width: 24,
|
|
@@ -71,16 +71,14 @@ var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
|
71
71
|
viewBox: "0 0 24 24",
|
|
72
72
|
ref: ref
|
|
73
73
|
}, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
|
|
74
|
-
|
|
75
|
-
d: "M17.32 15.906 21.414 20 20 21.414l-4.094-4.094a8 8 0 1 1 1.414-1.414zM11 17a6 6 0 1 0 0-12 6 6 0 0 0 0 12z",
|
|
76
|
-
clipRule: "evenodd"
|
|
74
|
+
d: "M19 10.5H5v3h14v-3z"
|
|
77
75
|
})));
|
|
78
76
|
};
|
|
79
|
-
var ForwardRef$O = /*#__PURE__*/forwardRef(
|
|
77
|
+
var ForwardRef$O = /*#__PURE__*/forwardRef(SvgContentMinusOutline);
|
|
80
78
|
|
|
81
79
|
var _path$N;
|
|
82
80
|
function _extends$N() { return _extends$N = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$N.apply(null, arguments); }
|
|
83
|
-
var
|
|
81
|
+
var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
84
82
|
return /*#__PURE__*/React.createElement("svg", _extends$N({
|
|
85
83
|
xmlns: "http://www.w3.org/2000/svg",
|
|
86
84
|
width: 24,
|
|
@@ -88,14 +86,16 @@ var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
|
88
86
|
viewBox: "0 0 24 24",
|
|
89
87
|
ref: ref
|
|
90
88
|
}, props), _path$N || (_path$N = /*#__PURE__*/React.createElement("path", {
|
|
91
|
-
|
|
89
|
+
fillRule: "evenodd",
|
|
90
|
+
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",
|
|
91
|
+
clipRule: "evenodd"
|
|
92
92
|
})));
|
|
93
93
|
};
|
|
94
|
-
var ForwardRef$N = /*#__PURE__*/forwardRef(
|
|
94
|
+
var ForwardRef$N = /*#__PURE__*/forwardRef(SvgActionSearchOutline);
|
|
95
95
|
|
|
96
96
|
var _path$M;
|
|
97
97
|
function _extends$M() { return _extends$M = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$M.apply(null, arguments); }
|
|
98
|
-
var
|
|
98
|
+
var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
99
99
|
return /*#__PURE__*/React.createElement("svg", _extends$M({
|
|
100
100
|
xmlns: "http://www.w3.org/2000/svg",
|
|
101
101
|
width: 24,
|
|
@@ -103,14 +103,14 @@ var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref)
|
|
|
103
103
|
viewBox: "0 0 24 24",
|
|
104
104
|
ref: ref
|
|
105
105
|
}, props), _path$M || (_path$M = /*#__PURE__*/React.createElement("path", {
|
|
106
|
-
d: "
|
|
106
|
+
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"
|
|
107
107
|
})));
|
|
108
108
|
};
|
|
109
|
-
var ForwardRef$M = /*#__PURE__*/forwardRef(
|
|
109
|
+
var ForwardRef$M = /*#__PURE__*/forwardRef(SvgActionCalendarFill);
|
|
110
110
|
|
|
111
111
|
var _path$L;
|
|
112
112
|
function _extends$L() { return _extends$L = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$L.apply(null, arguments); }
|
|
113
|
-
var
|
|
113
|
+
var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref) {
|
|
114
114
|
return /*#__PURE__*/React.createElement("svg", _extends$L({
|
|
115
115
|
xmlns: "http://www.w3.org/2000/svg",
|
|
116
116
|
width: 24,
|
|
@@ -118,16 +118,14 @@ var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
|
118
118
|
viewBox: "0 0 24 24",
|
|
119
119
|
ref: ref
|
|
120
120
|
}, props), _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
|
|
121
|
-
|
|
122
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1.2 18h-1.4L12 13.2 10.2 20H8.8l-2.2-9h1.5l1.4 6.8 1.8-6.8h1.3l1.8 6.8 1.4-6.8h1.5l-2.1 9zM13 9V3.5L18.5 9H13z",
|
|
123
|
-
clipRule: "evenodd"
|
|
121
|
+
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"
|
|
124
122
|
})));
|
|
125
123
|
};
|
|
126
|
-
var ForwardRef$L = /*#__PURE__*/forwardRef(
|
|
124
|
+
var ForwardRef$L = /*#__PURE__*/forwardRef(SvgNotificationInfoOutline);
|
|
127
125
|
|
|
128
126
|
var _path$K;
|
|
129
127
|
function _extends$K() { return _extends$K = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$K.apply(null, arguments); }
|
|
130
|
-
var
|
|
128
|
+
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
131
129
|
return /*#__PURE__*/React.createElement("svg", _extends$K({
|
|
132
130
|
xmlns: "http://www.w3.org/2000/svg",
|
|
133
131
|
width: 24,
|
|
@@ -135,33 +133,154 @@ var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
|
135
133
|
viewBox: "0 0 24 24",
|
|
136
134
|
ref: ref
|
|
137
135
|
}, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
138
|
-
|
|
139
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1.8 18H14l-2-3.4-2 3.4H8.2l2.9-4.5L8.2 11H10l2 3.4 2-3.4h1.8l-2.9 4.5 2.9 4.5zM13 9V3.5L18.5 9H13z",
|
|
140
|
-
clipRule: "evenodd"
|
|
136
|
+
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"
|
|
141
137
|
})));
|
|
142
138
|
};
|
|
143
|
-
var ForwardRef$K = /*#__PURE__*/forwardRef(
|
|
139
|
+
var ForwardRef$K = /*#__PURE__*/forwardRef(SvgNotificationInfoFill);
|
|
144
140
|
|
|
145
|
-
var _path$J;
|
|
141
|
+
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;
|
|
146
142
|
function _extends$J() { return _extends$J = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$J.apply(null, arguments); }
|
|
147
|
-
var
|
|
143
|
+
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
148
144
|
return /*#__PURE__*/React.createElement("svg", _extends$J({
|
|
145
|
+
width: 232,
|
|
146
|
+
height: 180,
|
|
147
|
+
viewBox: "0 0 232 180",
|
|
148
|
+
fill: "none",
|
|
149
149
|
xmlns: "http://www.w3.org/2000/svg",
|
|
150
|
-
width: 24,
|
|
151
|
-
height: 24,
|
|
152
|
-
viewBox: "0 0 24 24",
|
|
153
150
|
ref: ref
|
|
154
|
-
}, props),
|
|
151
|
+
}, props), /*#__PURE__*/React.createElement("g", {
|
|
152
|
+
clipPath: "url(#7iyl3cwgzxp868o8h_a)"
|
|
153
|
+
}, _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
154
|
+
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",
|
|
155
|
+
fill: "#F5F6FA"
|
|
156
|
+
})), _path2$5 || (_path2$5 = /*#__PURE__*/React.createElement("path", {
|
|
157
|
+
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",
|
|
158
|
+
fill: "#9BDEFF"
|
|
159
|
+
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
160
|
+
fillRule: "evenodd",
|
|
161
|
+
clipRule: "evenodd",
|
|
162
|
+
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",
|
|
163
|
+
fill: "#fff"
|
|
164
|
+
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
165
|
+
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",
|
|
166
|
+
fill: "#9BDEFF"
|
|
167
|
+
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
168
|
+
fillRule: "evenodd",
|
|
169
|
+
clipRule: "evenodd",
|
|
170
|
+
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",
|
|
171
|
+
fill: "#1D1E26"
|
|
172
|
+
})), /*#__PURE__*/React.createElement("mask", {
|
|
173
|
+
id: "7iyl3cyil2nzap39m_b",
|
|
174
|
+
style: {
|
|
175
|
+
maskType: "alpha"
|
|
176
|
+
},
|
|
177
|
+
maskUnits: "userSpaceOnUse",
|
|
178
|
+
x: 81,
|
|
179
|
+
y: 22,
|
|
180
|
+
width: 100,
|
|
181
|
+
height: 104
|
|
182
|
+
}, _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
|
|
183
|
+
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",
|
|
184
|
+
fill: "#9BDEFF"
|
|
185
|
+
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
186
|
+
mask: "url(#7iyl3cyil2nzap39m_b)",
|
|
155
187
|
fillRule: "evenodd",
|
|
156
|
-
d: "M13 9h5.5L13 3.5V9zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm4.1 9.4c-.02.04-.29 1.76-2.1 4.69 0 0-3.5 1.82-2.67 3.18.67 1.08 2.32-.04 3.74-2.68 0 0 1.82-.64 4.24-.82 0 0 3.86 1.73 4.39-.11.52-1.86-3.06-1.44-3.7-1.25 0 0-2-1.35-2.5-3.21 0 0 1.14-3.95-.61-3.9-1.75.05-1.09 3.13-.79 4.1zm.81 1.04c.03.01.47 1.21 1.89 2.46 0 0-2.33.46-3.39.9 0 0 1-1.73 1.5-3.36zm3.93 2.72c.58-.16 2.33.15 2.26.48-.06.33-2.26-.48-2.26-.48zM7.77 17c-.53 1.24-1.44 2-1.67 2-.23 0 .7-1.6 1.67-2zm3.14-6.93c0-.07-.36-2.2 0-2.15.54.08 0 2.08 0 2.15z",
|
|
157
188
|
clipRule: "evenodd"
|
|
158
|
-
}
|
|
189
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
190
|
+
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",
|
|
191
|
+
fill: "#fff"
|
|
192
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
193
|
+
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",
|
|
194
|
+
fill: "#fff"
|
|
195
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
196
|
+
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",
|
|
197
|
+
fill: "#fff"
|
|
198
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
199
|
+
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",
|
|
200
|
+
fill: "#fff"
|
|
201
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
202
|
+
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",
|
|
203
|
+
fill: "#fff"
|
|
204
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
205
|
+
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",
|
|
206
|
+
fill: "#1D1E26"
|
|
207
|
+
}))), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
|
|
208
|
+
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",
|
|
209
|
+
fill: "#fff"
|
|
210
|
+
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
|
|
211
|
+
fillRule: "evenodd",
|
|
212
|
+
clipRule: "evenodd",
|
|
213
|
+
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",
|
|
214
|
+
fill: "#1D1E26"
|
|
215
|
+
})), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
|
|
216
|
+
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",
|
|
217
|
+
fill: "#1D1E26"
|
|
218
|
+
})), _path10 || (_path10 = /*#__PURE__*/React.createElement("path", {
|
|
219
|
+
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",
|
|
220
|
+
fill: "#fff"
|
|
221
|
+
})), _path11 || (_path11 = /*#__PURE__*/React.createElement("path", {
|
|
222
|
+
fillRule: "evenodd",
|
|
223
|
+
clipRule: "evenodd",
|
|
224
|
+
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",
|
|
225
|
+
fill: "#1D1E26"
|
|
226
|
+
})), _path12 || (_path12 = /*#__PURE__*/React.createElement("path", {
|
|
227
|
+
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",
|
|
228
|
+
fill: "#008ACE"
|
|
229
|
+
})), _path13 || (_path13 = /*#__PURE__*/React.createElement("path", {
|
|
230
|
+
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",
|
|
231
|
+
fill: "#1D1E26"
|
|
232
|
+
})), _path14 || (_path14 = /*#__PURE__*/React.createElement("path", {
|
|
233
|
+
fillRule: "evenodd",
|
|
234
|
+
clipRule: "evenodd",
|
|
235
|
+
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",
|
|
236
|
+
fill: "#1D1E26"
|
|
237
|
+
})), _path15 || (_path15 = /*#__PURE__*/React.createElement("path", {
|
|
238
|
+
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",
|
|
239
|
+
fill: "#008ACE"
|
|
240
|
+
})), _path16 || (_path16 = /*#__PURE__*/React.createElement("path", {
|
|
241
|
+
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",
|
|
242
|
+
fill: "#fff"
|
|
243
|
+
})), _path17 || (_path17 = /*#__PURE__*/React.createElement("path", {
|
|
244
|
+
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",
|
|
245
|
+
fill: "#1D1E26"
|
|
246
|
+
})), _path18 || (_path18 = /*#__PURE__*/React.createElement("path", {
|
|
247
|
+
fillRule: "evenodd",
|
|
248
|
+
clipRule: "evenodd",
|
|
249
|
+
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",
|
|
250
|
+
fill: "#1D1E26"
|
|
251
|
+
})), _path19 || (_path19 = /*#__PURE__*/React.createElement("path", {
|
|
252
|
+
d: "m170.965 137.356-7.822 9.777 1.668 1.334 7.822-9.777-1.668-1.334Z",
|
|
253
|
+
fill: "#1D1E26"
|
|
254
|
+
})), _path20 || (_path20 = /*#__PURE__*/React.createElement("path", {
|
|
255
|
+
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",
|
|
256
|
+
fill: "#9BDEFF"
|
|
257
|
+
})), _path21 || (_path21 = /*#__PURE__*/React.createElement("path", {
|
|
258
|
+
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",
|
|
259
|
+
fill: "#9BDEFF"
|
|
260
|
+
})), _path22 || (_path22 = /*#__PURE__*/React.createElement("path", {
|
|
261
|
+
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",
|
|
262
|
+
fill: "#1D1E26"
|
|
263
|
+
})), _path23 || (_path23 = /*#__PURE__*/React.createElement("path", {
|
|
264
|
+
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",
|
|
265
|
+
fill: "#008ACE"
|
|
266
|
+
})), _path24 || (_path24 = /*#__PURE__*/React.createElement("path", {
|
|
267
|
+
fillRule: "evenodd",
|
|
268
|
+
clipRule: "evenodd",
|
|
269
|
+
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",
|
|
270
|
+
fill: "#fff"
|
|
271
|
+
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
272
|
+
id: "7iyl3cwgzxp868o8h_a"
|
|
273
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
274
|
+
fill: "#fff",
|
|
275
|
+
transform: "translate(.552)",
|
|
276
|
+
d: "M0 0h230.897v180H0z"
|
|
277
|
+
})))));
|
|
159
278
|
};
|
|
160
|
-
var ForwardRef$J = /*#__PURE__*/forwardRef(
|
|
279
|
+
var ForwardRef$J = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
161
280
|
|
|
162
281
|
var _path$I;
|
|
163
282
|
function _extends$I() { return _extends$I = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$I.apply(null, arguments); }
|
|
164
|
-
var
|
|
283
|
+
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
165
284
|
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
166
285
|
xmlns: "http://www.w3.org/2000/svg",
|
|
167
286
|
width: 24,
|
|
@@ -169,16 +288,14 @@ var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
|
169
288
|
viewBox: "0 0 24 24",
|
|
170
289
|
ref: ref
|
|
171
290
|
}, props), _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
172
|
-
|
|
173
|
-
d: "M13 9h5.5L13 3.5V9zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2zm0 18h12v-8l-4 4-2-2-6 6zM8 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4z",
|
|
174
|
-
clipRule: "evenodd"
|
|
291
|
+
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
175
292
|
})));
|
|
176
293
|
};
|
|
177
|
-
var ForwardRef$I = /*#__PURE__*/forwardRef(
|
|
294
|
+
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgTableSortAscOutline);
|
|
178
295
|
|
|
179
|
-
var _path$H
|
|
296
|
+
var _path$H;
|
|
180
297
|
function _extends$H() { return _extends$H = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$H.apply(null, arguments); }
|
|
181
|
-
var
|
|
298
|
+
var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
182
299
|
return /*#__PURE__*/React.createElement("svg", _extends$H({
|
|
183
300
|
xmlns: "http://www.w3.org/2000/svg",
|
|
184
301
|
width: 24,
|
|
@@ -186,18 +303,14 @@ var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
|
186
303
|
viewBox: "0 0 24 24",
|
|
187
304
|
ref: ref
|
|
188
305
|
}, props), _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
|
|
189
|
-
d: "
|
|
190
|
-
})), _path2$5 || (_path2$5 = /*#__PURE__*/React.createElement("path", {
|
|
191
|
-
fillRule: "evenodd",
|
|
192
|
-
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",
|
|
193
|
-
clipRule: "evenodd"
|
|
306
|
+
d: "M13 3v14.175l1.6-1.575L16 17l-4 4-4-4 1.4-1.4 1.6 1.575V3h2z"
|
|
194
307
|
})));
|
|
195
308
|
};
|
|
196
|
-
var ForwardRef$H = /*#__PURE__*/forwardRef(
|
|
309
|
+
var ForwardRef$H = /*#__PURE__*/forwardRef(SvgTableSortDescOutline);
|
|
197
310
|
|
|
198
311
|
var _path$G;
|
|
199
312
|
function _extends$G() { return _extends$G = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$G.apply(null, arguments); }
|
|
200
|
-
var
|
|
313
|
+
var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props, ref) {
|
|
201
314
|
return /*#__PURE__*/React.createElement("svg", _extends$G({
|
|
202
315
|
xmlns: "http://www.w3.org/2000/svg",
|
|
203
316
|
width: 24,
|
|
@@ -205,16 +318,14 @@ var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
|
205
318
|
viewBox: "0 0 24 24",
|
|
206
319
|
ref: ref
|
|
207
320
|
}, props), _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
208
|
-
|
|
209
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm-4 17H7v-2h3v2zm0-3H7v-2h3v2zm0-3H7v-2h3v2zm4 6h-3v-2h3v2zm0-3h-3v-2h3v2zm0-3h-3v-2h3v2zm-1-4V3.5L18.5 9H13z",
|
|
210
|
-
clipRule: "evenodd"
|
|
321
|
+
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"
|
|
211
322
|
})));
|
|
212
323
|
};
|
|
213
|
-
var ForwardRef$G = /*#__PURE__*/forwardRef(
|
|
324
|
+
var ForwardRef$G = /*#__PURE__*/forwardRef(SvgActionDragIndicatorOutline);
|
|
214
325
|
|
|
215
326
|
var _path$F;
|
|
216
327
|
function _extends$F() { return _extends$F = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$F.apply(null, arguments); }
|
|
217
|
-
var
|
|
328
|
+
var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props, ref) {
|
|
218
329
|
return /*#__PURE__*/React.createElement("svg", _extends$F({
|
|
219
330
|
xmlns: "http://www.w3.org/2000/svg",
|
|
220
331
|
width: 24,
|
|
@@ -223,15 +334,15 @@ var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
|
223
334
|
ref: ref
|
|
224
335
|
}, props), _path$F || (_path$F = /*#__PURE__*/React.createElement("path", {
|
|
225
336
|
fillRule: "evenodd",
|
|
226
|
-
d: "
|
|
337
|
+
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",
|
|
227
338
|
clipRule: "evenodd"
|
|
228
339
|
})));
|
|
229
340
|
};
|
|
230
|
-
var ForwardRef$F = /*#__PURE__*/forwardRef(
|
|
341
|
+
var ForwardRef$F = /*#__PURE__*/forwardRef(SvgNavigationMoreVertOutline);
|
|
231
342
|
|
|
232
343
|
var _path$E;
|
|
233
344
|
function _extends$E() { return _extends$E = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$E.apply(null, arguments); }
|
|
234
|
-
var
|
|
345
|
+
var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, ref) {
|
|
235
346
|
return /*#__PURE__*/React.createElement("svg", _extends$E({
|
|
236
347
|
xmlns: "http://www.w3.org/2000/svg",
|
|
237
348
|
width: 24,
|
|
@@ -239,16 +350,14 @@ var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
|
239
350
|
viewBox: "0 0 24 24",
|
|
240
351
|
ref: ref
|
|
241
352
|
}, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
|
|
242
|
-
|
|
243
|
-
d: "M4 4c0-1.11.89-2 2-2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm9-.5V9h5.5L13 3.5zM7 18v-4.732l5 3.333 5-3.333V18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1zm5-2.6 4.688-3.126A.997.997 0 0 0 16 12H8a.997.997 0 0 0-.688.274L12 15.399z",
|
|
244
|
-
clipRule: "evenodd"
|
|
353
|
+
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"
|
|
245
354
|
})));
|
|
246
355
|
};
|
|
247
|
-
var ForwardRef$E = /*#__PURE__*/forwardRef(
|
|
356
|
+
var ForwardRef$E = /*#__PURE__*/forwardRef(SvgNavigationRefreshOutline);
|
|
248
357
|
|
|
249
358
|
var _path$D;
|
|
250
359
|
function _extends$D() { return _extends$D = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$D.apply(null, arguments); }
|
|
251
|
-
var
|
|
360
|
+
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
252
361
|
return /*#__PURE__*/React.createElement("svg", _extends$D({
|
|
253
362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
254
363
|
width: 24,
|
|
@@ -256,188 +365,567 @@ var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
|
256
365
|
viewBox: "0 0 24 24",
|
|
257
366
|
ref: ref
|
|
258
367
|
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
259
|
-
|
|
368
|
+
fillRule: "evenodd",
|
|
369
|
+
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",
|
|
370
|
+
clipRule: "evenodd"
|
|
371
|
+
})));
|
|
372
|
+
};
|
|
373
|
+
var ForwardRef$D = /*#__PURE__*/forwardRef(SvgActionLockFill);
|
|
374
|
+
|
|
375
|
+
var _path$C, _path2$4;
|
|
376
|
+
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); }
|
|
377
|
+
var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, ref) {
|
|
378
|
+
return /*#__PURE__*/React.createElement("svg", _extends$C({
|
|
379
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
380
|
+
width: 24,
|
|
381
|
+
height: 24,
|
|
382
|
+
viewBox: "0 0 24 24",
|
|
383
|
+
ref: ref
|
|
384
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React.createElement("path", {
|
|
385
|
+
d: "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z"
|
|
386
|
+
})), _path2$4 || (_path2$4 = /*#__PURE__*/React.createElement("path", {
|
|
387
|
+
fillRule: "evenodd",
|
|
388
|
+
d: "M13 21V3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6zm2-16h4v14h-4V5z",
|
|
389
|
+
clipRule: "evenodd"
|
|
260
390
|
})));
|
|
261
391
|
};
|
|
262
|
-
var ForwardRef$
|
|
392
|
+
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgTableGroupColumnLeftFill);
|
|
263
393
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
394
|
+
var _path$B, _path2$3;
|
|
395
|
+
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); }
|
|
396
|
+
var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props, ref) {
|
|
397
|
+
return /*#__PURE__*/React.createElement("svg", _extends$B({
|
|
398
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
399
|
+
width: 24,
|
|
400
|
+
height: 24,
|
|
401
|
+
viewBox: "0 0 24 24",
|
|
402
|
+
ref: ref
|
|
403
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
|
|
404
|
+
d: "M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6V3z"
|
|
405
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React.createElement("path", {
|
|
406
|
+
fillRule: "evenodd",
|
|
407
|
+
d: "M9 5H5v14h4V5zM5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z",
|
|
408
|
+
clipRule: "evenodd"
|
|
409
|
+
})));
|
|
274
410
|
};
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
411
|
+
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgTableGroupColumnRightFill);
|
|
412
|
+
|
|
413
|
+
var _path$A;
|
|
414
|
+
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); }
|
|
415
|
+
var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
416
|
+
return /*#__PURE__*/React.createElement("svg", _extends$A({
|
|
417
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
418
|
+
width: 24,
|
|
419
|
+
height: 24,
|
|
420
|
+
viewBox: "0 0 24 24",
|
|
421
|
+
ref: ref
|
|
422
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
423
|
+
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"
|
|
424
|
+
})));
|
|
282
425
|
};
|
|
426
|
+
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgTableSwapOutline);
|
|
283
427
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
428
|
+
var _path$z;
|
|
429
|
+
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); }
|
|
430
|
+
var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
431
|
+
return /*#__PURE__*/React.createElement("svg", _extends$z({
|
|
432
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
433
|
+
width: 24,
|
|
434
|
+
height: 24,
|
|
435
|
+
viewBox: "0 0 24 24",
|
|
436
|
+
ref: ref
|
|
437
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React.createElement("path", {
|
|
438
|
+
d: "M14 13v8l-4-2v-6L2.95 4h18.1L14 13z"
|
|
439
|
+
})));
|
|
440
|
+
};
|
|
441
|
+
var ForwardRef$z = /*#__PURE__*/forwardRef(SvgContentFiltrationFill);
|
|
442
|
+
|
|
443
|
+
var _path$y;
|
|
444
|
+
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); }
|
|
445
|
+
var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props, ref) {
|
|
446
|
+
return /*#__PURE__*/React.createElement("svg", _extends$y({
|
|
447
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
448
|
+
width: 24,
|
|
449
|
+
height: 24,
|
|
450
|
+
viewBox: "0 0 24 24",
|
|
451
|
+
ref: ref
|
|
452
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
|
|
453
|
+
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
454
|
+
})));
|
|
455
|
+
};
|
|
456
|
+
var ForwardRef$y = /*#__PURE__*/forwardRef(SvgNavigationChevronUpOutline);
|
|
457
|
+
|
|
458
|
+
var _path$x;
|
|
459
|
+
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); }
|
|
460
|
+
var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(props, ref) {
|
|
461
|
+
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
462
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
463
|
+
width: 24,
|
|
464
|
+
height: 24,
|
|
465
|
+
viewBox: "0 0 24 24",
|
|
466
|
+
ref: ref
|
|
467
|
+
}, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
|
|
468
|
+
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"
|
|
469
|
+
})));
|
|
470
|
+
};
|
|
471
|
+
var ForwardRef$x = /*#__PURE__*/forwardRef(SvgNavigationCollapseAllOutline);
|
|
472
|
+
|
|
473
|
+
var _path$w;
|
|
474
|
+
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); }
|
|
475
|
+
var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props, ref) {
|
|
476
|
+
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
477
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
478
|
+
width: 24,
|
|
479
|
+
height: 24,
|
|
480
|
+
viewBox: "0 0 24 24",
|
|
481
|
+
ref: ref
|
|
482
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
483
|
+
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"
|
|
484
|
+
})));
|
|
485
|
+
};
|
|
486
|
+
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgNavigationExpandAllOutline);
|
|
487
|
+
|
|
488
|
+
var _path$v;
|
|
489
|
+
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); }
|
|
490
|
+
var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
491
|
+
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
492
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
493
|
+
width: 24,
|
|
494
|
+
height: 24,
|
|
495
|
+
viewBox: "0 0 24 24",
|
|
496
|
+
ref: ref
|
|
497
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
498
|
+
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"
|
|
499
|
+
})));
|
|
500
|
+
};
|
|
501
|
+
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgActionSettingsFill);
|
|
502
|
+
|
|
503
|
+
var _path$u;
|
|
504
|
+
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); }
|
|
505
|
+
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
506
|
+
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
507
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
508
|
+
width: 24,
|
|
509
|
+
height: 24,
|
|
510
|
+
viewBox: "0 0 24 24",
|
|
511
|
+
ref: ref
|
|
512
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
513
|
+
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
514
|
+
})));
|
|
515
|
+
};
|
|
516
|
+
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgNavigationChevronLeftOutline);
|
|
517
|
+
|
|
518
|
+
var _path$t;
|
|
519
|
+
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); }
|
|
520
|
+
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
521
|
+
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
522
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
523
|
+
width: 24,
|
|
524
|
+
height: 24,
|
|
525
|
+
viewBox: "0 0 24 24",
|
|
526
|
+
ref: ref
|
|
527
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
528
|
+
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
529
|
+
})));
|
|
530
|
+
};
|
|
531
|
+
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgNavigationChevronRightOutline);
|
|
532
|
+
|
|
533
|
+
var _path$s;
|
|
534
|
+
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); }
|
|
535
|
+
var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
536
|
+
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
537
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
538
|
+
width: 24,
|
|
539
|
+
height: 24,
|
|
540
|
+
viewBox: "0 0 24 24",
|
|
541
|
+
ref: ref
|
|
542
|
+
}, props), _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
543
|
+
d: "M13.286 3h-2.572v7.714H3v2.572h7.714V21h2.572v-7.714H21v-2.572h-7.714V3z"
|
|
544
|
+
})));
|
|
545
|
+
};
|
|
546
|
+
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgActionAddOutline);
|
|
547
|
+
|
|
548
|
+
var _path$r;
|
|
549
|
+
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); }
|
|
550
|
+
var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
551
|
+
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
552
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
553
|
+
width: 24,
|
|
554
|
+
height: 24,
|
|
555
|
+
viewBox: "0 0 24 24",
|
|
556
|
+
ref: ref
|
|
557
|
+
}, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
558
|
+
d: "m2 12 3.077-3.2 4.615 4.8L18.923 4 22 7.2 9.692 20 2 12z"
|
|
559
|
+
})));
|
|
560
|
+
};
|
|
561
|
+
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgNotificationDoneFill);
|
|
562
|
+
|
|
563
|
+
var _path$q;
|
|
564
|
+
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); }
|
|
565
|
+
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
566
|
+
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
567
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
568
|
+
width: 24,
|
|
569
|
+
height: 24,
|
|
570
|
+
viewBox: "0 0 24 24",
|
|
571
|
+
ref: ref
|
|
572
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React.createElement("path", {
|
|
573
|
+
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
574
|
+
})));
|
|
575
|
+
};
|
|
576
|
+
var ForwardRef$q = /*#__PURE__*/forwardRef(SvgRadioDotFill);
|
|
577
|
+
|
|
578
|
+
var _path$p;
|
|
579
|
+
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); }
|
|
580
|
+
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
581
|
+
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
582
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
583
|
+
width: 24,
|
|
584
|
+
height: 24,
|
|
585
|
+
viewBox: "0 0 24 24",
|
|
586
|
+
ref: ref
|
|
587
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React.createElement("path", {
|
|
588
|
+
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"
|
|
589
|
+
})));
|
|
590
|
+
};
|
|
591
|
+
var ForwardRef$p = /*#__PURE__*/forwardRef(SvgNotificationHelpFill);
|
|
592
|
+
|
|
593
|
+
var _path$o;
|
|
594
|
+
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); }
|
|
595
|
+
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
596
|
+
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
597
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
598
|
+
width: 24,
|
|
599
|
+
height: 24,
|
|
600
|
+
viewBox: "0 0 24 24",
|
|
601
|
+
ref: ref
|
|
602
|
+
}, props), _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
603
|
+
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"
|
|
604
|
+
})));
|
|
605
|
+
};
|
|
606
|
+
var ForwardRef$o = /*#__PURE__*/forwardRef(SvgNotificationCheckFill);
|
|
607
|
+
|
|
608
|
+
var _path$n;
|
|
609
|
+
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); }
|
|
610
|
+
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
611
|
+
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
612
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
613
|
+
width: 24,
|
|
614
|
+
height: 24,
|
|
615
|
+
viewBox: "0 0 24 24",
|
|
616
|
+
ref: ref
|
|
617
|
+
}, props), _path$n || (_path$n = /*#__PURE__*/React.createElement("path", {
|
|
618
|
+
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"
|
|
619
|
+
})));
|
|
620
|
+
};
|
|
621
|
+
var ForwardRef$n = /*#__PURE__*/forwardRef(SvgNotificationWarningFill);
|
|
622
|
+
|
|
623
|
+
var _path$m;
|
|
624
|
+
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); }
|
|
625
|
+
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
626
|
+
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
627
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
628
|
+
width: 24,
|
|
629
|
+
height: 24,
|
|
630
|
+
viewBox: "0 0 24 24",
|
|
631
|
+
ref: ref
|
|
632
|
+
}, props), _path$m || (_path$m = /*#__PURE__*/React.createElement("path", {
|
|
633
|
+
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"
|
|
634
|
+
})));
|
|
635
|
+
};
|
|
636
|
+
var ForwardRef$m = /*#__PURE__*/forwardRef(SvgNotificationErrorFill);
|
|
637
|
+
|
|
638
|
+
var _path$l;
|
|
639
|
+
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); }
|
|
640
|
+
var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
641
|
+
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
642
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
643
|
+
width: 24,
|
|
644
|
+
height: 24,
|
|
645
|
+
viewBox: "0 0 24 24",
|
|
646
|
+
ref: ref
|
|
647
|
+
}, props), _path$l || (_path$l = /*#__PURE__*/React.createElement("path", {
|
|
648
|
+
fillRule: "evenodd",
|
|
649
|
+
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",
|
|
650
|
+
clipRule: "evenodd"
|
|
651
|
+
})));
|
|
652
|
+
};
|
|
653
|
+
var ForwardRef$l = /*#__PURE__*/forwardRef(SvgFileFileWordFill);
|
|
654
|
+
|
|
655
|
+
var _path$k;
|
|
656
|
+
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); }
|
|
657
|
+
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
658
|
+
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
659
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
660
|
+
width: 24,
|
|
661
|
+
height: 24,
|
|
662
|
+
viewBox: "0 0 24 24",
|
|
663
|
+
ref: ref
|
|
664
|
+
}, props), _path$k || (_path$k = /*#__PURE__*/React.createElement("path", {
|
|
665
|
+
fillRule: "evenodd",
|
|
666
|
+
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",
|
|
667
|
+
clipRule: "evenodd"
|
|
668
|
+
})));
|
|
669
|
+
};
|
|
670
|
+
var ForwardRef$k = /*#__PURE__*/forwardRef(SvgFileFileExcelFill);
|
|
671
|
+
|
|
672
|
+
var _path$j;
|
|
673
|
+
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); }
|
|
674
|
+
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
675
|
+
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
676
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
677
|
+
width: 24,
|
|
678
|
+
height: 24,
|
|
679
|
+
viewBox: "0 0 24 24",
|
|
680
|
+
ref: ref
|
|
681
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
682
|
+
fillRule: "evenodd",
|
|
683
|
+
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",
|
|
684
|
+
clipRule: "evenodd"
|
|
685
|
+
})));
|
|
686
|
+
};
|
|
687
|
+
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgFileFilePdfFill);
|
|
688
|
+
|
|
689
|
+
var _path$i;
|
|
690
|
+
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); }
|
|
691
|
+
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
692
|
+
return /*#__PURE__*/React.createElement("svg", _extends$i({
|
|
693
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
694
|
+
width: 24,
|
|
695
|
+
height: 24,
|
|
696
|
+
viewBox: "0 0 24 24",
|
|
697
|
+
ref: ref
|
|
698
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
|
|
699
|
+
fillRule: "evenodd",
|
|
700
|
+
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",
|
|
701
|
+
clipRule: "evenodd"
|
|
702
|
+
})));
|
|
703
|
+
};
|
|
704
|
+
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgFileFileImageFill);
|
|
705
|
+
|
|
706
|
+
var _path$h, _path2$2;
|
|
707
|
+
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); }
|
|
708
|
+
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
709
|
+
return /*#__PURE__*/React.createElement("svg", _extends$h({
|
|
710
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
711
|
+
width: 24,
|
|
712
|
+
height: 24,
|
|
713
|
+
viewBox: "0 0 24 24",
|
|
714
|
+
ref: ref
|
|
715
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
|
|
716
|
+
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
717
|
+
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
718
|
+
fillRule: "evenodd",
|
|
719
|
+
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",
|
|
720
|
+
clipRule: "evenodd"
|
|
721
|
+
})));
|
|
722
|
+
};
|
|
723
|
+
var ForwardRef$h = /*#__PURE__*/forwardRef(SvgFileFileVideoFill);
|
|
724
|
+
|
|
725
|
+
var _path$g;
|
|
726
|
+
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); }
|
|
727
|
+
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
728
|
+
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
729
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
730
|
+
width: 24,
|
|
731
|
+
height: 24,
|
|
732
|
+
viewBox: "0 0 24 24",
|
|
733
|
+
ref: ref
|
|
734
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
735
|
+
fillRule: "evenodd",
|
|
736
|
+
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",
|
|
737
|
+
clipRule: "evenodd"
|
|
738
|
+
})));
|
|
739
|
+
};
|
|
740
|
+
var ForwardRef$g = /*#__PURE__*/forwardRef(SvgFileFileTableFill);
|
|
741
|
+
|
|
742
|
+
var _path$f;
|
|
743
|
+
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); }
|
|
744
|
+
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
745
|
+
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
746
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
747
|
+
width: 24,
|
|
748
|
+
height: 24,
|
|
749
|
+
viewBox: "0 0 24 24",
|
|
750
|
+
ref: ref
|
|
751
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
|
|
752
|
+
fillRule: "evenodd",
|
|
753
|
+
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",
|
|
754
|
+
clipRule: "evenodd"
|
|
755
|
+
})));
|
|
756
|
+
};
|
|
757
|
+
var ForwardRef$f = /*#__PURE__*/forwardRef(SvgFileFileTextFill);
|
|
758
|
+
|
|
759
|
+
var _path$e;
|
|
760
|
+
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); }
|
|
761
|
+
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
762
|
+
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
763
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
764
|
+
width: 24,
|
|
765
|
+
height: 24,
|
|
766
|
+
viewBox: "0 0 24 24",
|
|
767
|
+
ref: ref
|
|
768
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
|
|
769
|
+
fillRule: "evenodd",
|
|
770
|
+
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",
|
|
771
|
+
clipRule: "evenodd"
|
|
772
|
+
})));
|
|
773
|
+
};
|
|
774
|
+
var ForwardRef$e = /*#__PURE__*/forwardRef(SvgFileFileEmlFill);
|
|
775
|
+
|
|
776
|
+
var _path$d;
|
|
777
|
+
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); }
|
|
778
|
+
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
779
|
+
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
780
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
781
|
+
width: 24,
|
|
782
|
+
height: 24,
|
|
783
|
+
viewBox: "0 0 24 24",
|
|
784
|
+
ref: ref
|
|
785
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
|
|
786
|
+
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"
|
|
787
|
+
})));
|
|
788
|
+
};
|
|
789
|
+
var ForwardRef$d = /*#__PURE__*/forwardRef(SvgFileFileFill);
|
|
790
|
+
|
|
791
|
+
var _path$c;
|
|
792
|
+
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); }
|
|
793
|
+
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
794
|
+
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
795
|
+
width: 24,
|
|
796
|
+
height: 24,
|
|
797
|
+
viewBox: "0 0 24 24",
|
|
798
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
799
|
+
ref: ref
|
|
800
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
|
|
801
|
+
fillRule: "evenodd",
|
|
802
|
+
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"
|
|
803
|
+
})));
|
|
804
|
+
};
|
|
805
|
+
var ForwardRef$c = /*#__PURE__*/forwardRef(SvgStarFilled);
|
|
806
|
+
|
|
807
|
+
var _path$b, _path2$1;
|
|
808
|
+
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); }
|
|
809
|
+
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
810
|
+
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
811
|
+
width: 66,
|
|
812
|
+
height: 67,
|
|
813
|
+
viewBox: "0 0 66 67",
|
|
814
|
+
fill: "none",
|
|
815
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
816
|
+
ref: ref
|
|
817
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
|
|
818
|
+
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",
|
|
819
|
+
fill: "#EBEDF5"
|
|
820
|
+
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
821
|
+
fillRule: "evenodd",
|
|
822
|
+
clipRule: "evenodd",
|
|
823
|
+
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",
|
|
824
|
+
fill: "#6C6F80"
|
|
825
|
+
})));
|
|
826
|
+
};
|
|
827
|
+
var ForwardRef$b = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
828
|
+
|
|
829
|
+
const accordionSettings = {
|
|
830
|
+
icons: {
|
|
831
|
+
dropdownIcon: ForwardRef$Q,
|
|
832
|
+
},
|
|
833
|
+
};
|
|
834
|
+
const alertSettings = {
|
|
835
|
+
icons: {
|
|
836
|
+
closeIcon: ForwardRef$R,
|
|
837
|
+
infoIcon: ForwardRef$K,
|
|
838
|
+
successIcon: ForwardRef$o,
|
|
839
|
+
warningIcon: ForwardRef$n,
|
|
840
|
+
errorIcon: ForwardRef$m,
|
|
841
|
+
},
|
|
842
|
+
sizes: {
|
|
843
|
+
default: '48',
|
|
844
|
+
actionMap: {
|
|
845
|
+
36: '24',
|
|
846
|
+
48: '30',
|
|
847
|
+
},
|
|
848
|
+
},
|
|
849
|
+
};
|
|
850
|
+
const badgeSettings = {
|
|
851
|
+
icons: {
|
|
852
|
+
dropdownIcon: ForwardRef$Q,
|
|
853
|
+
},
|
|
854
|
+
sizes: {
|
|
855
|
+
default: '36',
|
|
856
|
+
countIndicatorMap: {
|
|
857
|
+
18: '12',
|
|
858
|
+
24: '18',
|
|
859
|
+
30: '18',
|
|
860
|
+
36: '18',
|
|
861
|
+
42: '24',
|
|
862
|
+
48: '24',
|
|
863
|
+
},
|
|
864
|
+
},
|
|
865
|
+
};
|
|
866
|
+
const buttonSettings = {
|
|
867
|
+
icons: {
|
|
868
|
+
clearIcon: ForwardRef$R,
|
|
869
|
+
dropdownIcon: ForwardRef$Q,
|
|
870
|
+
},
|
|
871
|
+
sizes: {
|
|
872
|
+
default: '36',
|
|
873
|
+
},
|
|
874
|
+
};
|
|
875
|
+
const checkboxSettings = {
|
|
876
|
+
icons: {
|
|
877
|
+
checkIcon: ForwardRef$P,
|
|
878
|
+
indeterminateIcon: ForwardRef$O,
|
|
879
|
+
},
|
|
880
|
+
sizes: {
|
|
881
|
+
default: '18',
|
|
882
|
+
},
|
|
883
|
+
};
|
|
884
|
+
const countIndicatorSettings = {
|
|
885
|
+
sizes: {
|
|
886
|
+
default: '24',
|
|
887
|
+
},
|
|
888
|
+
};
|
|
889
|
+
const dataTableSettings = {
|
|
890
|
+
icons: {
|
|
891
|
+
emptyTable: ForwardRef$J,
|
|
892
|
+
header: {
|
|
893
|
+
configIcon: ForwardRef$v,
|
|
894
|
+
ascSortIcon: ForwardRef$I,
|
|
895
|
+
descSortIcon: ForwardRef$H,
|
|
896
|
+
defaultSortIcon: ForwardRef$A,
|
|
897
|
+
filterIcon: ForwardRef$z,
|
|
898
|
+
dropdownIcon: ForwardRef$Q,
|
|
899
|
+
openedDropdownIcon: ForwardRef$y,
|
|
900
|
+
foldIcon: ForwardRef$x,
|
|
901
|
+
unfoldIcon: ForwardRef$w,
|
|
329
902
|
},
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
60: '42',
|
|
343
|
-
},
|
|
344
|
-
},
|
|
345
|
-
body: {
|
|
346
|
-
dropdown: {
|
|
347
|
-
height: 300,
|
|
348
|
-
width: 360,
|
|
349
|
-
padding: '12',
|
|
350
|
-
row: {
|
|
351
|
-
default: '36',
|
|
352
|
-
cell: {
|
|
353
|
-
padding: '24',
|
|
354
|
-
text: {
|
|
355
|
-
24: '24',
|
|
356
|
-
30: '30',
|
|
357
|
-
36: '36',
|
|
358
|
-
42: '42',
|
|
359
|
-
48: '48',
|
|
360
|
-
60: '48',
|
|
361
|
-
},
|
|
362
|
-
icon: {
|
|
363
|
-
24: '12',
|
|
364
|
-
30: '18',
|
|
365
|
-
36: '18',
|
|
366
|
-
42: '24',
|
|
367
|
-
48: '24',
|
|
368
|
-
60: '24',
|
|
369
|
-
},
|
|
370
|
-
isBoldSelectionIcon: {
|
|
371
|
-
24: true,
|
|
372
|
-
},
|
|
373
|
-
item: {
|
|
374
|
-
default: '36',
|
|
375
|
-
verticalPadding: {
|
|
376
|
-
24: '3',
|
|
377
|
-
30: '6',
|
|
378
|
-
36: '9',
|
|
379
|
-
42: '6',
|
|
380
|
-
48: '9',
|
|
381
|
-
},
|
|
382
|
-
avatar: {
|
|
383
|
-
rest: {
|
|
384
|
-
24: '18',
|
|
385
|
-
30: '24',
|
|
386
|
-
36: '30',
|
|
387
|
-
42: '36',
|
|
388
|
-
48: '36', // no design
|
|
389
|
-
},
|
|
390
|
-
multiline: {
|
|
391
|
-
24: '30',
|
|
392
|
-
30: '30',
|
|
393
|
-
36: '36',
|
|
394
|
-
42: '42',
|
|
395
|
-
48: '48', // no design
|
|
396
|
-
},
|
|
397
|
-
},
|
|
398
|
-
},
|
|
399
|
-
},
|
|
400
|
-
},
|
|
401
|
-
footer: {
|
|
402
|
-
switch: {
|
|
403
|
-
24: '12',
|
|
404
|
-
30: '18',
|
|
405
|
-
36: '18',
|
|
406
|
-
42: '24',
|
|
407
|
-
48: '24',
|
|
408
|
-
},
|
|
409
|
-
linkButton: {
|
|
410
|
-
24: '24',
|
|
411
|
-
30: '30',
|
|
412
|
-
36: '36',
|
|
413
|
-
42: '42',
|
|
414
|
-
48: '48',
|
|
415
|
-
},
|
|
416
|
-
},
|
|
417
|
-
},
|
|
418
|
-
mobile: {
|
|
419
|
-
header: {
|
|
420
|
-
titleSize: '48',
|
|
421
|
-
},
|
|
422
|
-
footer: {
|
|
423
|
-
linkButton: '48',
|
|
424
|
-
},
|
|
425
|
-
row: '48',
|
|
426
|
-
searchInput: '48',
|
|
427
|
-
},
|
|
428
|
-
modal: {
|
|
429
|
-
row: '36',
|
|
430
|
-
padding: '24',
|
|
431
|
-
},
|
|
432
|
-
},
|
|
903
|
+
body: {
|
|
904
|
+
foldingIcon: ForwardRef$Q,
|
|
905
|
+
},
|
|
906
|
+
columnsConfigurationModal: {
|
|
907
|
+
dragIndicator: ForwardRef$G,
|
|
908
|
+
lockIcon: ForwardRef$D,
|
|
909
|
+
pinLeftIcon: ForwardRef$C,
|
|
910
|
+
pinRightIcon: ForwardRef$B,
|
|
911
|
+
collapsedIcon: ForwardRef$t,
|
|
912
|
+
expandedIcon: ForwardRef$Q,
|
|
913
|
+
menuIcon: ForwardRef$F,
|
|
914
|
+
resetIcon: ForwardRef$E,
|
|
433
915
|
},
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
916
|
+
},
|
|
917
|
+
sizes: {
|
|
918
|
+
header: {
|
|
919
|
+
row: '36',
|
|
920
|
+
iconMap: {
|
|
921
|
+
36: '18',
|
|
922
|
+
48: '18',
|
|
923
|
+
60: '18',
|
|
439
924
|
},
|
|
440
|
-
|
|
925
|
+
},
|
|
926
|
+
body: {
|
|
927
|
+
row: '36',
|
|
928
|
+
checkboxMap: {
|
|
441
929
|
24: '12',
|
|
442
930
|
30: '18',
|
|
443
931
|
36: '18',
|
|
@@ -445,7 +933,7 @@ const settings = {
|
|
|
445
933
|
48: '18',
|
|
446
934
|
60: '18',
|
|
447
935
|
},
|
|
448
|
-
|
|
936
|
+
iconMap: {
|
|
449
937
|
24: '12',
|
|
450
938
|
30: '18',
|
|
451
939
|
36: '18',
|
|
@@ -453,7 +941,7 @@ const settings = {
|
|
|
453
941
|
48: '24',
|
|
454
942
|
60: '24',
|
|
455
943
|
},
|
|
456
|
-
|
|
944
|
+
indentUnitMap: {
|
|
457
945
|
24: 6,
|
|
458
946
|
30: 12,
|
|
459
947
|
36: 12,
|
|
@@ -461,7 +949,7 @@ const settings = {
|
|
|
461
949
|
48: 24,
|
|
462
950
|
60: 24,
|
|
463
951
|
},
|
|
464
|
-
|
|
952
|
+
indentWidthMap: {
|
|
465
953
|
24: 12,
|
|
466
954
|
30: 18,
|
|
467
955
|
36: 18,
|
|
@@ -470,132 +958,321 @@ const settings = {
|
|
|
470
958
|
60: 24,
|
|
471
959
|
},
|
|
472
960
|
},
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
42: { lineHeight: 24, fontSize: 16 },
|
|
479
|
-
48: { lineHeight: 24, fontSize: 16 },
|
|
480
|
-
60: { lineHeight: 30, fontSize: 24 },
|
|
961
|
+
columnsConfigurationModal: {
|
|
962
|
+
columnRow: '30',
|
|
963
|
+
countIndicator: '18',
|
|
964
|
+
menuButton: '30',
|
|
965
|
+
searchInput: '30',
|
|
481
966
|
},
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
967
|
+
},
|
|
968
|
+
};
|
|
969
|
+
const dropdownMenuSettings = {
|
|
970
|
+
icons: {
|
|
971
|
+
acceptIcon: ForwardRef$P,
|
|
972
|
+
dropdownIcon: ForwardRef$Q,
|
|
973
|
+
},
|
|
974
|
+
};
|
|
975
|
+
const datePickerSettings = {
|
|
976
|
+
icons: {
|
|
977
|
+
body: {
|
|
978
|
+
prevIcon: ForwardRef$u,
|
|
979
|
+
nextIcon: ForwardRef$t,
|
|
980
|
+
},
|
|
981
|
+
input: {
|
|
982
|
+
calendarIcon: ForwardRef$M,
|
|
983
|
+
},
|
|
984
|
+
},
|
|
985
|
+
sizes: {
|
|
986
|
+
body: '36',
|
|
987
|
+
input: '36',
|
|
988
|
+
},
|
|
989
|
+
};
|
|
990
|
+
const fileCardSettings = {
|
|
991
|
+
icons: {
|
|
992
|
+
docIcon: ForwardRef$l,
|
|
993
|
+
exelIcon: ForwardRef$k,
|
|
994
|
+
pdfIcon: ForwardRef$j,
|
|
995
|
+
imgIcon: ForwardRef$i,
|
|
996
|
+
videoIcon: ForwardRef$h,
|
|
997
|
+
tableIcon: ForwardRef$g,
|
|
998
|
+
textIcon: ForwardRef$f,
|
|
999
|
+
mailIcon: ForwardRef$e,
|
|
1000
|
+
fileIcon: ForwardRef$d,
|
|
1001
|
+
closeIcon: ForwardRef$R,
|
|
1002
|
+
errorIcon: ForwardRef$m,
|
|
1003
|
+
},
|
|
1004
|
+
};
|
|
1005
|
+
const flexRowSettings = {
|
|
1006
|
+
sizes: {
|
|
1007
|
+
default: '36',
|
|
1008
|
+
},
|
|
1009
|
+
};
|
|
1010
|
+
const filtersPanelSettings = {
|
|
1011
|
+
icons: {
|
|
1012
|
+
addFilterIcon: ForwardRef$s,
|
|
1013
|
+
itemDropdownIcon: ForwardRef$Q,
|
|
1014
|
+
},
|
|
1015
|
+
sizes: {
|
|
1016
|
+
default: '36',
|
|
1017
|
+
},
|
|
1018
|
+
};
|
|
1019
|
+
const iconButtonSettings = {
|
|
1020
|
+
icons: {
|
|
1021
|
+
dropdownIcon: ForwardRef$Q,
|
|
1022
|
+
},
|
|
1023
|
+
};
|
|
1024
|
+
const labeledInputSettings = {
|
|
1025
|
+
icons: {
|
|
1026
|
+
infoIcon: ForwardRef$L,
|
|
1027
|
+
fillInfoIcon: ForwardRef$K,
|
|
1028
|
+
},
|
|
1029
|
+
sizes: {
|
|
1030
|
+
default: '36',
|
|
1031
|
+
},
|
|
1032
|
+
};
|
|
1033
|
+
const linkButtonSettings = {
|
|
1034
|
+
icons: {
|
|
1035
|
+
dropdownIcon: ForwardRef$Q,
|
|
1036
|
+
},
|
|
1037
|
+
sizes: {
|
|
1038
|
+
default: '36',
|
|
1039
|
+
},
|
|
1040
|
+
weight: 'semibold',
|
|
1041
|
+
};
|
|
1042
|
+
const modalSettings = {
|
|
1043
|
+
icons: {
|
|
1044
|
+
closeIcon: ForwardRef$R,
|
|
1045
|
+
},
|
|
1046
|
+
};
|
|
1047
|
+
const notificationCardSettings = {
|
|
1048
|
+
icons: {
|
|
1049
|
+
closeIcon: ForwardRef$R,
|
|
1050
|
+
hintIcon: ForwardRef$p,
|
|
1051
|
+
successIcon: ForwardRef$o,
|
|
1052
|
+
warningIcon: ForwardRef$n,
|
|
1053
|
+
errorIcon: ForwardRef$m,
|
|
1054
|
+
},
|
|
1055
|
+
sizes: {
|
|
1056
|
+
action: '30',
|
|
1057
|
+
},
|
|
1058
|
+
};
|
|
1059
|
+
const numericInputSettings = {
|
|
1060
|
+
icons: {
|
|
1061
|
+
arrowIcon: ForwardRef$Q,
|
|
1062
|
+
},
|
|
1063
|
+
sizes: {
|
|
1064
|
+
default: '36',
|
|
1065
|
+
},
|
|
1066
|
+
};
|
|
1067
|
+
const paginatorSettings = {
|
|
1068
|
+
icons: {
|
|
1069
|
+
leftArrowIcon: ForwardRef$u,
|
|
1070
|
+
rightArrowIcon: ForwardRef$t,
|
|
1071
|
+
},
|
|
1072
|
+
sizes: {
|
|
1073
|
+
default: '36',
|
|
1074
|
+
},
|
|
1075
|
+
};
|
|
1076
|
+
const pickerInputSettings = {
|
|
1077
|
+
icons: {
|
|
1078
|
+
toggler: {
|
|
1079
|
+
clearIcon: ForwardRef$R,
|
|
1080
|
+
dropdownIcon: ForwardRef$Q,
|
|
488
1081
|
},
|
|
489
|
-
|
|
490
|
-
|
|
1082
|
+
body: {
|
|
1083
|
+
selectIcon: (size) => size < '30' ? ForwardRef$r : ForwardRef$P,
|
|
1084
|
+
pickerBodyMobileHeaderCloseIcon: ForwardRef$R,
|
|
1085
|
+
modalNotFoundSearchIcon: ForwardRef$b,
|
|
491
1086
|
},
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
1087
|
+
},
|
|
1088
|
+
sizes: {
|
|
1089
|
+
toggler: {
|
|
1090
|
+
default: '36',
|
|
1091
|
+
tag: '36',
|
|
1092
|
+
tagMap: {
|
|
495
1093
|
24: '18',
|
|
496
1094
|
30: '18',
|
|
497
|
-
36: '
|
|
498
|
-
42: '
|
|
499
|
-
48: '
|
|
1095
|
+
36: '24',
|
|
1096
|
+
42: '30',
|
|
1097
|
+
48: '36',
|
|
500
1098
|
},
|
|
501
1099
|
},
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
checkbox: {
|
|
514
|
-
36: '18',
|
|
515
|
-
48: '18',
|
|
516
|
-
60: '18',
|
|
517
|
-
},
|
|
518
|
-
columnCaption: {
|
|
519
|
-
fontSize: '14',
|
|
520
|
-
fontWeight: '400',
|
|
521
|
-
size: '18',
|
|
522
|
-
uppercase: '12',
|
|
523
|
-
},
|
|
524
|
-
iconSize: {
|
|
525
|
-
36: '18',
|
|
526
|
-
48: '18',
|
|
527
|
-
60: '18',
|
|
528
|
-
},
|
|
529
|
-
truncate: ['48'],
|
|
530
|
-
},
|
|
531
|
-
groupCell: {
|
|
532
|
-
defaults: {
|
|
533
|
-
size: '36',
|
|
534
|
-
padding: '12',
|
|
535
|
-
paddingEdge: '24',
|
|
536
|
-
},
|
|
537
|
-
columnCaption: {
|
|
538
|
-
fontSize: '14',
|
|
539
|
-
fontWeight: '400',
|
|
540
|
-
size: '18',
|
|
541
|
-
uppercase: '12',
|
|
542
|
-
},
|
|
543
|
-
iconSize: {
|
|
544
|
-
36: '18',
|
|
545
|
-
48: '18',
|
|
546
|
-
60: '18',
|
|
547
|
-
},
|
|
548
|
-
truncate: ['48'],
|
|
549
|
-
},
|
|
550
|
-
},
|
|
1100
|
+
body: {
|
|
1101
|
+
maxHeight: 300,
|
|
1102
|
+
minWidth: 360,
|
|
1103
|
+
padding: '12',
|
|
1104
|
+
row: '36',
|
|
1105
|
+
itemAvatarMap: {
|
|
1106
|
+
24: '18',
|
|
1107
|
+
30: '24',
|
|
1108
|
+
36: '30',
|
|
1109
|
+
42: '36',
|
|
1110
|
+
48: '36',
|
|
551
1111
|
},
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
padding: '12',
|
|
559
|
-
paddingEdge: '24',
|
|
560
|
-
},
|
|
561
|
-
text: {
|
|
562
|
-
18: '18',
|
|
563
|
-
24: '24',
|
|
564
|
-
30: '30',
|
|
565
|
-
36: '36',
|
|
566
|
-
42: '42',
|
|
567
|
-
48: '48',
|
|
568
|
-
60: '48',
|
|
569
|
-
},
|
|
570
|
-
},
|
|
571
|
-
},
|
|
1112
|
+
itemAvatarMultilineMap: {
|
|
1113
|
+
24: '30',
|
|
1114
|
+
30: '30',
|
|
1115
|
+
36: '36',
|
|
1116
|
+
42: '42',
|
|
1117
|
+
48: '48',
|
|
572
1118
|
},
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
1119
|
+
itemVerticalPaddingMap: {
|
|
1120
|
+
24: '3',
|
|
1121
|
+
30: '6',
|
|
1122
|
+
36: '9',
|
|
1123
|
+
42: '6',
|
|
1124
|
+
48: '9',
|
|
579
1125
|
},
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
1126
|
+
selectIconMap: {
|
|
1127
|
+
24: '12',
|
|
1128
|
+
30: '18',
|
|
1129
|
+
36: '18',
|
|
1130
|
+
42: '24',
|
|
1131
|
+
48: '24',
|
|
586
1132
|
},
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
1133
|
+
footerSwitchMap: {
|
|
1134
|
+
24: '12',
|
|
1135
|
+
30: '18',
|
|
590
1136
|
36: '18',
|
|
591
|
-
|
|
592
|
-
|
|
1137
|
+
42: '24',
|
|
1138
|
+
48: '24',
|
|
593
1139
|
},
|
|
1140
|
+
mobileFooterLinkButton: '48',
|
|
1141
|
+
mobileRow: '48',
|
|
1142
|
+
mobileSearchInput: '48',
|
|
1143
|
+
},
|
|
1144
|
+
},
|
|
1145
|
+
};
|
|
1146
|
+
const radioInputSettings = {
|
|
1147
|
+
icons: {
|
|
1148
|
+
dotIcon: ForwardRef$q,
|
|
1149
|
+
},
|
|
1150
|
+
sizes: {
|
|
1151
|
+
default: '18',
|
|
1152
|
+
},
|
|
1153
|
+
};
|
|
1154
|
+
const rangeDatePickerSettings = {
|
|
1155
|
+
icons: {
|
|
1156
|
+
input: {
|
|
1157
|
+
calendarIcon: ForwardRef$M,
|
|
1158
|
+
},
|
|
1159
|
+
},
|
|
1160
|
+
sizes: {
|
|
1161
|
+
default: '36',
|
|
1162
|
+
preset: '24',
|
|
1163
|
+
},
|
|
1164
|
+
};
|
|
1165
|
+
const ratingSettings = {
|
|
1166
|
+
icons: {
|
|
1167
|
+
filledRatingIcon: ForwardRef$c,
|
|
1168
|
+
emptyRatingIcon: ForwardRef$c,
|
|
1169
|
+
},
|
|
1170
|
+
sizes: {
|
|
1171
|
+
default: 18,
|
|
1172
|
+
},
|
|
1173
|
+
};
|
|
1174
|
+
const richTextViewSettings = {
|
|
1175
|
+
sizes: {
|
|
1176
|
+
default: '14',
|
|
1177
|
+
},
|
|
1178
|
+
};
|
|
1179
|
+
const statusIndicatorSettings = {
|
|
1180
|
+
sizes: {
|
|
1181
|
+
default: '24',
|
|
1182
|
+
},
|
|
1183
|
+
};
|
|
1184
|
+
const switchSettings = {
|
|
1185
|
+
sizes: {
|
|
1186
|
+
default: '18',
|
|
1187
|
+
},
|
|
1188
|
+
};
|
|
1189
|
+
const tabButtonSettings = {
|
|
1190
|
+
icons: {
|
|
1191
|
+
clearIcon: ForwardRef$R,
|
|
1192
|
+
dropdownIcon: ForwardRef$Q,
|
|
1193
|
+
},
|
|
1194
|
+
sizes: {
|
|
1195
|
+
default: '48',
|
|
1196
|
+
countIndicatorMap: {
|
|
1197
|
+
36: '18',
|
|
1198
|
+
48: '18',
|
|
1199
|
+
60: '18',
|
|
1200
|
+
},
|
|
1201
|
+
},
|
|
1202
|
+
};
|
|
1203
|
+
const tagSettings = {
|
|
1204
|
+
icons: {
|
|
1205
|
+
clearIcon: ForwardRef$R,
|
|
1206
|
+
dropdownIcon: ForwardRef$Q,
|
|
1207
|
+
},
|
|
1208
|
+
sizes: {
|
|
1209
|
+
default: '36',
|
|
1210
|
+
countIndicatorMap: {
|
|
1211
|
+
18: '12',
|
|
1212
|
+
24: '18',
|
|
1213
|
+
30: '18',
|
|
1214
|
+
36: '18',
|
|
1215
|
+
42: '24',
|
|
1216
|
+
48: '24',
|
|
594
1217
|
},
|
|
595
1218
|
},
|
|
596
1219
|
};
|
|
1220
|
+
const textSettings = {
|
|
1221
|
+
sizes: {
|
|
1222
|
+
default: '36',
|
|
1223
|
+
},
|
|
1224
|
+
};
|
|
1225
|
+
const textAreaSettings = {
|
|
1226
|
+
sizes: {
|
|
1227
|
+
default: '36',
|
|
1228
|
+
},
|
|
1229
|
+
};
|
|
1230
|
+
const textInputSettings = {
|
|
1231
|
+
icons: {
|
|
1232
|
+
acceptIcon: ForwardRef$P,
|
|
1233
|
+
clearIcon: ForwardRef$R,
|
|
1234
|
+
dropdownIcon: ForwardRef$Q,
|
|
1235
|
+
searchIcon: ForwardRef$N,
|
|
1236
|
+
},
|
|
1237
|
+
sizes: {
|
|
1238
|
+
default: '36',
|
|
1239
|
+
},
|
|
1240
|
+
};
|
|
1241
|
+
const settings = {
|
|
1242
|
+
accordion: accordionSettings,
|
|
1243
|
+
alert: alertSettings,
|
|
1244
|
+
badge: badgeSettings,
|
|
1245
|
+
button: buttonSettings,
|
|
1246
|
+
checkbox: checkboxSettings,
|
|
1247
|
+
countIndicator: countIndicatorSettings,
|
|
1248
|
+
dataTable: dataTableSettings,
|
|
1249
|
+
datePicker: datePickerSettings,
|
|
1250
|
+
dropdownMenu: dropdownMenuSettings,
|
|
1251
|
+
flexRow: flexRowSettings,
|
|
1252
|
+
fileCard: fileCardSettings,
|
|
1253
|
+
filtersPanel: filtersPanelSettings,
|
|
1254
|
+
iconButton: iconButtonSettings,
|
|
1255
|
+
labeledInput: labeledInputSettings,
|
|
1256
|
+
linkButton: linkButtonSettings,
|
|
1257
|
+
modal: modalSettings,
|
|
1258
|
+
notificationCard: notificationCardSettings,
|
|
1259
|
+
numericInput: numericInputSettings,
|
|
1260
|
+
paginator: paginatorSettings,
|
|
1261
|
+
pickerInput: pickerInputSettings,
|
|
1262
|
+
radioInput: radioInputSettings,
|
|
1263
|
+
rangeDatePicker: rangeDatePickerSettings,
|
|
1264
|
+
rating: ratingSettings,
|
|
1265
|
+
richTextView: richTextViewSettings,
|
|
1266
|
+
statusIndicator: statusIndicatorSettings,
|
|
1267
|
+
switch: switchSettings,
|
|
1268
|
+
tabButton: tabButtonSettings,
|
|
1269
|
+
tag: tagSettings,
|
|
1270
|
+
text: textSettings,
|
|
1271
|
+
textArea: textAreaSettings,
|
|
1272
|
+
textInput: textInputSettings,
|
|
1273
|
+
};
|
|
597
1274
|
|
|
598
|
-
var css$1y = {"root":"
|
|
1275
|
+
var css$1y = {"root":"RXQhYs"};
|
|
599
1276
|
|
|
600
1277
|
function applyButtonMods(mods) {
|
|
601
1278
|
return [
|
|
@@ -603,17 +1280,17 @@ function applyButtonMods(mods) {
|
|
|
603
1280
|
'uui-button',
|
|
604
1281
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
605
1282
|
`uui-color-${mods.color || 'primary'}`,
|
|
606
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1283
|
+
`uui-size-${mods.size || settings.button.sizes.default}`,
|
|
607
1284
|
];
|
|
608
1285
|
}
|
|
609
1286
|
const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, () => {
|
|
610
1287
|
return {
|
|
611
|
-
dropdownIcon:
|
|
612
|
-
clearIcon:
|
|
1288
|
+
dropdownIcon: settings.button.icons.dropdownIcon,
|
|
1289
|
+
clearIcon: settings.button.icons.clearIcon,
|
|
613
1290
|
};
|
|
614
1291
|
});
|
|
615
1292
|
|
|
616
|
-
var css$1x = {"root":"
|
|
1293
|
+
var css$1x = {"root":"woHPv3"};
|
|
617
1294
|
|
|
618
1295
|
function applyIconButtonMods(props) {
|
|
619
1296
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1x.root];
|
|
@@ -629,7 +1306,7 @@ const IconButton = /* @__PURE__ */withMods(uuiComponents.IconButton, applyIconBu
|
|
|
629
1306
|
});
|
|
630
1307
|
}
|
|
631
1308
|
return {
|
|
632
|
-
dropdownIcon: props.dropdownIcon ||
|
|
1309
|
+
dropdownIcon: props.dropdownIcon || settings.iconButton.icons.dropdownIcon,
|
|
633
1310
|
};
|
|
634
1311
|
});
|
|
635
1312
|
|
|
@@ -650,10 +1327,9 @@ function getIconClass(props) {
|
|
|
650
1327
|
return [classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon', classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon'];
|
|
651
1328
|
}
|
|
652
1329
|
|
|
653
|
-
var css$1w = {"root":"
|
|
1330
|
+
var css$1w = {"root":"ZTC43J"};
|
|
654
1331
|
|
|
655
1332
|
const DEFAULT_COLOR = 'primary';
|
|
656
|
-
const DEFAULT_WEIGHT = 'semibold';
|
|
657
1333
|
const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
658
1334
|
if (process.env.NODE_ENV !== "production" && props.color === 'contrast') {
|
|
659
1335
|
devLogger.warnAboutDeprecatedPropValue({
|
|
@@ -667,13 +1343,13 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
667
1343
|
const rootStyles = [
|
|
668
1344
|
'uui-link_button',
|
|
669
1345
|
css$1w.root,
|
|
670
|
-
`uui-size-${props.size || settings.sizes.
|
|
1346
|
+
`uui-size-${props.size || settings.linkButton.sizes.default}`,
|
|
671
1347
|
...getIconClass(props),
|
|
672
1348
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
673
1349
|
props.cx,
|
|
674
1350
|
];
|
|
675
|
-
const captionStyles = cx(uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight ||
|
|
676
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1351
|
+
const captionStyles = cx(uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || settings.linkButton.weight}`);
|
|
1352
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.linkButton.icons.dropdownIcon;
|
|
677
1353
|
return (React.createElement(Clickable, { ...props, type: "button", cx: rootStyles, ref: ref },
|
|
678
1354
|
props.icon && props.iconPosition !== 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
679
1355
|
props.caption && (React.createElement("div", { className: captionStyles }, props.caption)),
|
|
@@ -681,30 +1357,30 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
681
1357
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
682
1358
|
});
|
|
683
1359
|
|
|
684
|
-
var css$1v = {"root":"
|
|
1360
|
+
var css$1v = {"root":"_1frMjM"};
|
|
685
1361
|
|
|
686
1362
|
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
687
1363
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
688
1364
|
css$1v.root,
|
|
689
1365
|
'uui-count_indicator',
|
|
690
|
-
`uui-size-${props.size || settings.sizes.
|
|
1366
|
+
`uui-size-${props.size || settings.countIndicator.sizes.default}`,
|
|
691
1367
|
props.color && `uui-color-${props.color}`,
|
|
692
1368
|
props.cx,
|
|
693
1369
|
]) }, props.caption));
|
|
694
1370
|
});
|
|
695
1371
|
|
|
696
|
-
var css$1u = {"root":"
|
|
1372
|
+
var css$1u = {"root":"_1VahVv","withNotify":"_8kfEZv"};
|
|
697
1373
|
|
|
698
1374
|
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
699
1375
|
const styles = [
|
|
700
1376
|
css$1u.root,
|
|
701
1377
|
'uui-tab-button',
|
|
702
|
-
`uui-size-${props.size || settings.sizes.
|
|
1378
|
+
`uui-size-${props.size || settings.tabButton.sizes.default}`,
|
|
703
1379
|
...getIconClass(props),
|
|
704
1380
|
props.cx,
|
|
705
1381
|
];
|
|
706
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
707
|
-
const ClearIcon = props.clearIcon ? props.clearIcon :
|
|
1382
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tabButton.icons.dropdownIcon;
|
|
1383
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : settings.tabButton.icons.clearIcon;
|
|
708
1384
|
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
709
1385
|
role: 'tab',
|
|
710
1386
|
'aria-haspopup': props.isDropdown,
|
|
@@ -716,86 +1392,54 @@ const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
716
1392
|
props.caption,
|
|
717
1393
|
props.withNotify && React__default.createElement("div", { className: css$1u.withNotify }))),
|
|
718
1394
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
719
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: "neutral", size: settings.sizes.
|
|
1395
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: "neutral", size: settings.tabButton.sizes.countIndicatorMap[props.size || settings.tabButton.sizes.default], caption: props.count })),
|
|
720
1396
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
721
1397
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
722
1398
|
});
|
|
723
1399
|
|
|
724
|
-
var css$1t = {"root":"
|
|
1400
|
+
var css$1t = {"root":"IUef9N"};
|
|
725
1401
|
|
|
726
1402
|
function applyVerticalTabButtonMods() {
|
|
727
1403
|
return [css$1t.root, 'uui-vertical-tab-button'];
|
|
728
1404
|
}
|
|
729
1405
|
const VerticalTabButton = /* @__PURE__ */withMods(TabButton, applyVerticalTabButtonMods);
|
|
730
1406
|
|
|
731
|
-
var
|
|
732
|
-
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); }
|
|
733
|
-
var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
734
|
-
return /*#__PURE__*/React.createElement("svg", _extends$C({
|
|
735
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
736
|
-
width: 24,
|
|
737
|
-
height: 24,
|
|
738
|
-
viewBox: "0 0 24 24",
|
|
739
|
-
ref: ref
|
|
740
|
-
}, props), _path$C || (_path$C = /*#__PURE__*/React.createElement("path", {
|
|
741
|
-
d: "M19 10.5H5v3h14v-3z"
|
|
742
|
-
})));
|
|
743
|
-
};
|
|
744
|
-
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgContentMinusOutline);
|
|
745
|
-
|
|
746
|
-
var css$1s = {"root":"a8I78W","mode-cell":"dNAMTo","modeCell":"dNAMTo"};
|
|
1407
|
+
var css$1s = {"root":"Bp2UHf","mode-cell":"_1Uqtfw","modeCell":"_1Uqtfw"};
|
|
747
1408
|
|
|
748
1409
|
function applyCheckboxMods(mods) {
|
|
749
1410
|
return [
|
|
750
1411
|
css$1s.root,
|
|
751
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1412
|
+
`uui-size-${mods.size || settings.checkbox.sizes.default}`,
|
|
752
1413
|
css$1s['mode-' + (mods.mode || 'form')],
|
|
753
1414
|
'uui-color-primary',
|
|
754
1415
|
];
|
|
755
1416
|
}
|
|
756
1417
|
const applyUUICheckboxProps = (props) => {
|
|
757
|
-
const defaultIcon = ForwardRef$P;
|
|
758
|
-
const defaultIndeterminateIcon = ForwardRef$C;
|
|
759
1418
|
return {
|
|
760
|
-
icon: props.icon ? props.icon :
|
|
761
|
-
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon :
|
|
1419
|
+
icon: props.icon ? props.icon : settings.checkbox.icons.checkIcon,
|
|
1420
|
+
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon : settings.checkbox.icons.indeterminateIcon,
|
|
762
1421
|
};
|
|
763
1422
|
};
|
|
764
1423
|
const Checkbox = /* @__PURE__ */withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
765
1424
|
|
|
766
|
-
var
|
|
767
|
-
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); }
|
|
768
|
-
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
769
|
-
return /*#__PURE__*/React.createElement("svg", _extends$B({
|
|
770
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
771
|
-
width: 24,
|
|
772
|
-
height: 24,
|
|
773
|
-
viewBox: "0 0 24 24",
|
|
774
|
-
ref: ref
|
|
775
|
-
}, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
|
|
776
|
-
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
777
|
-
})));
|
|
778
|
-
};
|
|
779
|
-
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgRadioDotFill);
|
|
780
|
-
|
|
781
|
-
var css$1r = {"root":"R64O52"};
|
|
1425
|
+
var css$1r = {"root":"_-5DmoE"};
|
|
782
1426
|
|
|
783
1427
|
function applyRadioInputMods(mods) {
|
|
784
1428
|
return [
|
|
785
1429
|
css$1r.root,
|
|
786
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1430
|
+
`uui-size-${mods.size || settings.radioInput.sizes.default}`,
|
|
787
1431
|
'uui-radio-input-container',
|
|
788
1432
|
'uui-color-primary',
|
|
789
1433
|
];
|
|
790
1434
|
}
|
|
791
|
-
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon :
|
|
1435
|
+
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
792
1436
|
|
|
793
|
-
var css$1q = {"root":"
|
|
1437
|
+
var css$1q = {"root":"AjuVtG"};
|
|
794
1438
|
|
|
795
1439
|
function applySwitchMods(mods) {
|
|
796
1440
|
return [
|
|
797
1441
|
css$1q.root,
|
|
798
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1442
|
+
`uui-size-${mods.size || settings.switch.sizes.default}`,
|
|
799
1443
|
'uui-color-primary',
|
|
800
1444
|
];
|
|
801
1445
|
}
|
|
@@ -814,20 +1458,20 @@ var EditMode;
|
|
|
814
1458
|
EditMode["INLINE"] = "inline";
|
|
815
1459
|
})(EditMode || (EditMode = {}));
|
|
816
1460
|
|
|
817
|
-
var textInputCss = {"root":"
|
|
1461
|
+
var textInputCss = {"root":"TTfjgk","mode-form":"Qk2o3L","modeForm":"Qk2o3L","mode-inline":"dm1GgI","modeInline":"dm1GgI","mode-cell":"Fl6bK4","modeCell":"Fl6bK4"};
|
|
818
1462
|
|
|
819
1463
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
820
1464
|
function applyTextInputMods(mods) {
|
|
821
1465
|
return [
|
|
822
1466
|
textInputCss.root,
|
|
823
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1467
|
+
`uui-size-${mods.size || settings.textInput.sizes.default}`,
|
|
824
1468
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$3)],
|
|
825
1469
|
];
|
|
826
1470
|
}
|
|
827
1471
|
const TextInput = /* @__PURE__ */withMods(TextInput$1, applyTextInputMods, () => ({
|
|
828
|
-
acceptIcon:
|
|
829
|
-
cancelIcon:
|
|
830
|
-
dropdownIcon:
|
|
1472
|
+
acceptIcon: settings.textInput.icons.acceptIcon,
|
|
1473
|
+
cancelIcon: settings.textInput.icons.clearIcon,
|
|
1474
|
+
dropdownIcon: settings.textInput.icons.dropdownIcon,
|
|
831
1475
|
}));
|
|
832
1476
|
const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
833
1477
|
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
@@ -835,11 +1479,11 @@ const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
835
1479
|
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
836
1480
|
return (React__default.createElement(IEditableDebouncer, { ...props, render: (iEditable) => {
|
|
837
1481
|
const defaultOnCancel = () => iEditable.onValueChange('');
|
|
838
|
-
return (React__default.createElement(TextInput, { icon:
|
|
1482
|
+
return (React__default.createElement(TextInput, { icon: settings.textInput.icons.searchIcon, onCancel: props.onCancel ?? defaultOnCancel, type: "search", inputMode: "search", ref: ref, ...textInputProps, ...iEditable }));
|
|
839
1483
|
} }));
|
|
840
1484
|
});
|
|
841
1485
|
|
|
842
|
-
var css$1p = {"root":"
|
|
1486
|
+
var css$1p = {"root":"ZwTYx-"};
|
|
843
1487
|
|
|
844
1488
|
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1p.root, 'uui-control-group']);
|
|
845
1489
|
|
|
@@ -855,34 +1499,34 @@ function MultiSwitchComponent(props, ref) {
|
|
|
855
1499
|
}
|
|
856
1500
|
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
857
1501
|
|
|
858
|
-
var css$1o = {"root":"
|
|
1502
|
+
var css$1o = {"root":"xoKFNg","mode-form":"_1cPmVG","modeForm":"_1cPmVG","mode-cell":"w5ilFU","modeCell":"w5ilFU"};
|
|
859
1503
|
|
|
860
1504
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
861
1505
|
function applyNumericInputMods(mods) {
|
|
862
1506
|
return [
|
|
863
1507
|
textInputCss.root,
|
|
864
1508
|
css$1o.root,
|
|
865
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1509
|
+
`uui-size-${mods.size || settings.numericInput.sizes.default}`,
|
|
866
1510
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
867
1511
|
];
|
|
868
1512
|
}
|
|
869
1513
|
const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMods, (props) => {
|
|
870
1514
|
return {
|
|
871
|
-
upIcon:
|
|
872
|
-
downIcon:
|
|
1515
|
+
upIcon: settings.numericInput.icons.arrowIcon,
|
|
1516
|
+
downIcon: settings.numericInput.icons.arrowIcon,
|
|
873
1517
|
align: props.align ?? (props.mode === 'cell' ? 'right' : 'left'),
|
|
874
1518
|
disableArrows: props.disableArrows ?? props.mode === 'cell',
|
|
875
1519
|
};
|
|
876
1520
|
});
|
|
877
1521
|
|
|
878
|
-
var css$1n = {"root":"
|
|
1522
|
+
var css$1n = {"root":"jPjqE0","mode-form":"LIym9b","modeForm":"LIym9b","mode-cell":"P-JaPM","modeCell":"P-JaPM","mode-inline":"a2Oscb","modeInline":"a2Oscb"};
|
|
879
1523
|
|
|
880
1524
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
881
1525
|
function applyTextAreaMods(mods) {
|
|
882
1526
|
return [
|
|
883
1527
|
css$1n.root,
|
|
884
1528
|
'uui-textarea',
|
|
885
|
-
'uui-size-' + (mods.size || settings.sizes.
|
|
1529
|
+
'uui-size-' + (mods.size || settings.textArea.sizes.default),
|
|
886
1530
|
css$1n['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
887
1531
|
];
|
|
888
1532
|
}
|
|
@@ -916,85 +1560,25 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
916
1560
|
};
|
|
917
1561
|
}
|
|
918
1562
|
|
|
919
|
-
var
|
|
920
|
-
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); }
|
|
921
|
-
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
922
|
-
return /*#__PURE__*/React.createElement("svg", _extends$A({
|
|
923
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
924
|
-
width: 24,
|
|
925
|
-
height: 24,
|
|
926
|
-
viewBox: "0 0 24 24",
|
|
927
|
-
ref: ref
|
|
928
|
-
}, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
929
|
-
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"
|
|
930
|
-
})));
|
|
931
|
-
};
|
|
932
|
-
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgNotificationCheckFill);
|
|
933
|
-
|
|
934
|
-
var _path$z;
|
|
935
|
-
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); }
|
|
936
|
-
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
937
|
-
return /*#__PURE__*/React.createElement("svg", _extends$z({
|
|
938
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
939
|
-
width: 24,
|
|
940
|
-
height: 24,
|
|
941
|
-
viewBox: "0 0 24 24",
|
|
942
|
-
ref: ref
|
|
943
|
-
}, props), _path$z || (_path$z = /*#__PURE__*/React.createElement("path", {
|
|
944
|
-
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"
|
|
945
|
-
})));
|
|
946
|
-
};
|
|
947
|
-
var ForwardRef$z = /*#__PURE__*/forwardRef(SvgNotificationWarningFill);
|
|
948
|
-
|
|
949
|
-
var _path$y;
|
|
950
|
-
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); }
|
|
951
|
-
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
952
|
-
return /*#__PURE__*/React.createElement("svg", _extends$y({
|
|
953
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
954
|
-
width: 24,
|
|
955
|
-
height: 24,
|
|
956
|
-
viewBox: "0 0 24 24",
|
|
957
|
-
ref: ref
|
|
958
|
-
}, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
|
|
959
|
-
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"
|
|
960
|
-
})));
|
|
961
|
-
};
|
|
962
|
-
var ForwardRef$y = /*#__PURE__*/forwardRef(SvgNotificationErrorFill);
|
|
963
|
-
|
|
964
|
-
var _path$x;
|
|
965
|
-
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); }
|
|
966
|
-
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
967
|
-
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
968
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
969
|
-
width: 24,
|
|
970
|
-
height: 24,
|
|
971
|
-
viewBox: "0 0 24 24",
|
|
972
|
-
ref: ref
|
|
973
|
-
}, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
|
|
974
|
-
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"
|
|
975
|
-
})));
|
|
976
|
-
};
|
|
977
|
-
var ForwardRef$x = /*#__PURE__*/forwardRef(SvgNotificationInfoFill);
|
|
978
|
-
|
|
979
|
-
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"};
|
|
1563
|
+
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"};
|
|
980
1564
|
|
|
981
|
-
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", { role: "alert", ref: ref, className: cx('uui-alert', css$1m.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.sizes.
|
|
1565
|
+
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", { role: "alert", ref: ref, className: cx('uui-alert', css$1m.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
982
1566
|
React.createElement("div", { className: css$1m.mainPath },
|
|
983
1567
|
React.createElement("div", { className: css$1m.contentWrapper },
|
|
984
1568
|
props.icon && (React.createElement("div", { className: css$1m.iconWrapper },
|
|
985
1569
|
React.createElement(IconContainer, { icon: props.icon, cx: css$1m.icon }))),
|
|
986
1570
|
React.createElement("div", { className: css$1m.content },
|
|
987
1571
|
props.children,
|
|
988
|
-
props.actions && (React.createElement("div", { className: css$1m.actionWrapper }, props.actions.map((action) => (React.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1m.actionLink, size: settings.sizes.
|
|
989
|
-
props.onClose && React.createElement(IconButton, { icon:
|
|
990
|
-
const WarningAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon:
|
|
991
|
-
const SuccessAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon:
|
|
992
|
-
const HintAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon:
|
|
993
|
-
const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon:
|
|
1572
|
+
props.actions && (React.createElement("div", { className: css$1m.actionWrapper }, props.actions.map((action) => (React.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1m.actionLink, size: settings.alert.sizes.actionMap[props.size || settings.alert.sizes.default] }))))))),
|
|
1573
|
+
props.onClose && React.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$1m.closeIcon })))));
|
|
1574
|
+
const WarningAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.warningIcon, color: "warning", ref: ref, ...props }));
|
|
1575
|
+
const SuccessAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.successIcon, color: "success", ref: ref, ...props }));
|
|
1576
|
+
const HintAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.infoIcon, color: "info", ref: ref, ...props }));
|
|
1577
|
+
const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.errorIcon, color: "error", ref: ref, ...props }));
|
|
994
1578
|
|
|
995
1579
|
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
996
1580
|
|
|
997
|
-
var css$1l = {"root":"
|
|
1581
|
+
var css$1l = {"root":"CZcvSG"};
|
|
998
1582
|
|
|
999
1583
|
function applyDropdownContainerMods(mods) {
|
|
1000
1584
|
return [
|
|
@@ -1005,7 +1589,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1005
1589
|
}
|
|
1006
1590
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
1007
1591
|
|
|
1008
|
-
var css$1k = {"submenu-root-item-rtl":"
|
|
1592
|
+
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"};
|
|
1009
1593
|
|
|
1010
1594
|
var IDropdownControlKeys;
|
|
1011
1595
|
(function (IDropdownControlKeys) {
|
|
@@ -1052,7 +1636,7 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1052
1636
|
const handleClick = (event) => {
|
|
1053
1637
|
if (isDisabled || !onClick)
|
|
1054
1638
|
return;
|
|
1055
|
-
onClick(event);
|
|
1639
|
+
!isEventTargetInsideClickable(event) && onClick(event);
|
|
1056
1640
|
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1057
1641
|
};
|
|
1058
1642
|
const handleOpenDropdown = (event) => {
|
|
@@ -1079,16 +1663,12 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1079
1663
|
iconElement))));
|
|
1080
1664
|
};
|
|
1081
1665
|
const isAnchor = Boolean(link || href);
|
|
1082
|
-
const itemClassNames = cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened);
|
|
1083
|
-
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$1k.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__default.createElement(
|
|
1084
|
-
tabIndex: isDisabled ? -1 : 0,
|
|
1085
|
-
role: 'menuitem',
|
|
1086
|
-
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
1087
|
-
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
1666
|
+
const itemClassNames = cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened, (!isDisabled && onClick) && uuiMarkers.clickable);
|
|
1667
|
+
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$1k.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__default.createElement("div", { tabIndex: isDisabled ? -1 : 0, role: "menuitem", onKeyDown: isDisabled ? null : handleOpenDropdown, className: itemClassNames, onClick: handleClick, ref: ref },
|
|
1088
1668
|
getMenuButtonContent(),
|
|
1089
1669
|
isSelected && (React__default.createElement(React__default.Fragment, null,
|
|
1090
1670
|
React__default.createElement(FlexSpacer, null),
|
|
1091
|
-
React__default.createElement(IconContainer, { icon:
|
|
1671
|
+
React__default.createElement(IconContainer, { icon: settings.dropdownMenu.icons.acceptIcon, cx: css$1k.selectedMark })))));
|
|
1092
1672
|
});
|
|
1093
1673
|
function DropdownMenuSplitter(props) {
|
|
1094
1674
|
return (React__default.createElement("div", { className: cx$1(props.cx, css$1k.splitterRoot) },
|
|
@@ -1116,7 +1696,7 @@ function DropdownSubMenu(props) {
|
|
|
1116
1696
|
},
|
|
1117
1697
|
];
|
|
1118
1698
|
const isRtl = getDir() === 'rtl';
|
|
1119
|
-
return (React__default.createElement(Dropdown$1, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', modifiers: subMenuModifiers, renderBody: (dropdownProps) => !props.isDisabled && (React__default.createElement(DropdownMenuBody, { closeOnKey: IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__default.createElement(DropdownMenuButton, { cx: cx$1(isRtl ? css$1k.submenuRootItemRtl : css$1k.submenuRootItem), icon:
|
|
1699
|
+
return (React__default.createElement(Dropdown$1, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', modifiers: subMenuModifiers, renderBody: (dropdownProps) => !props.isDisabled && (React__default.createElement(DropdownMenuBody, { closeOnKey: IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__default.createElement(DropdownMenuButton, { cx: cx$1(isRtl ? css$1k.submenuRootItemRtl : css$1k.submenuRootItem), icon: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
1120
1700
|
}
|
|
1121
1701
|
function DropdownMenuSwitchButton(props) {
|
|
1122
1702
|
const context = useContext(UuiContext);
|
|
@@ -1132,14 +1712,14 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1132
1712
|
onHandleValueChange(!isSelected);
|
|
1133
1713
|
}
|
|
1134
1714
|
};
|
|
1135
|
-
return (React__default.createElement(
|
|
1715
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled, (!isDisabled || onValueChange) && uuiMarkers.clickable), onClick: () => onHandleValueChange(!isSelected), role: "menuitem", onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 },
|
|
1136
1716
|
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$1k.iconBefore }),
|
|
1137
1717
|
React__default.createElement(Text$1, null, caption),
|
|
1138
1718
|
React__default.createElement(FlexSpacer, null),
|
|
1139
1719
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1140
1720
|
}
|
|
1141
1721
|
|
|
1142
|
-
var css$1j = {"root":"
|
|
1722
|
+
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"};
|
|
1143
1723
|
|
|
1144
1724
|
function applyAccordionMods(mods) {
|
|
1145
1725
|
return [
|
|
@@ -1149,34 +1729,55 @@ function applyAccordionMods(mods) {
|
|
|
1149
1729
|
];
|
|
1150
1730
|
}
|
|
1151
1731
|
const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordionMods, (mods) => ({
|
|
1152
|
-
dropdownIcon: mods.dropdownIcon !== null &&
|
|
1732
|
+
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
1153
1733
|
}));
|
|
1154
1734
|
|
|
1155
|
-
var css$1i = {"root":"
|
|
1735
|
+
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"};
|
|
1156
1736
|
|
|
1157
1737
|
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1i.flexCell]);
|
|
1158
1738
|
|
|
1159
|
-
const FlexRow = /* @__PURE__ */
|
|
1739
|
+
const FlexRow = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1160
1740
|
if (process.env.NODE_ENV !== "production") {
|
|
1161
1741
|
if (props.spacing) {
|
|
1162
1742
|
devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
1163
1743
|
}
|
|
1164
1744
|
}
|
|
1165
|
-
|
|
1745
|
+
const classNames = cx$1([
|
|
1166
1746
|
css$1i.root,
|
|
1167
|
-
|
|
1168
|
-
props.
|
|
1169
|
-
props.
|
|
1170
|
-
props.
|
|
1747
|
+
'uui-flex-row',
|
|
1748
|
+
props.onClick && uuiMarkers.clickable,
|
|
1749
|
+
props.cx,
|
|
1750
|
+
props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
|
|
1751
|
+
props.alignItems && css$1i.alignItems,
|
|
1752
|
+
props.justifyContent && css$1i.justifyContent,
|
|
1753
|
+
props.padding && css$1i.padding,
|
|
1754
|
+
props.vPadding && css$1i.vPadding,
|
|
1755
|
+
props.margin && css$1i.margin,
|
|
1171
1756
|
props.topShadow && css$1i.topShadow,
|
|
1172
1757
|
props.borderBottom && css$1i.borderBottom,
|
|
1173
1758
|
props.borderTop && css$1i.borderTop,
|
|
1759
|
+
props.columnGap && css$1i.columnGap,
|
|
1760
|
+
props.rowGap && css$1i.rowGap,
|
|
1174
1761
|
props.spacing && css$1i['spacing-' + props.spacing],
|
|
1175
1762
|
props.background && css$1i[`uui-${props.background}`],
|
|
1176
|
-
];
|
|
1763
|
+
]);
|
|
1764
|
+
const style = {
|
|
1765
|
+
...(props.alignItems && { '--uui-flex-row-align-items': props.alignItems }),
|
|
1766
|
+
...(props.justifyContent && { '--uui-flex-row-justify-content': props.justifyContent }),
|
|
1767
|
+
...(props.columnGap && { '--uui-flex-row-column-gap': `${props.columnGap}px` }),
|
|
1768
|
+
...(props.rowGap && { '--uui-flex-row-row-gap': `${props.rowGap}px` }),
|
|
1769
|
+
...(props.padding && { '--uui-flex-row-padding': `${props.padding}px` }),
|
|
1770
|
+
...(props.vPadding && { '--uui-flex-row-v-padding': `${props.vPadding}px` }),
|
|
1771
|
+
...(props.margin && { '--uui-flex-row-margin': `${props.margin}px` }),
|
|
1772
|
+
...(props.spacing && { '--uui-flex-row-spacing': `${props.spacing}px` }),
|
|
1773
|
+
};
|
|
1774
|
+
return (React__default.createElement("div", { ref: ref, onClick: props.onClick ? (e) => !isEventTargetInsideClickable(e) && props.onClick(e) : undefined, className: classNames, ...props.rawProps, style: {
|
|
1775
|
+
...style,
|
|
1776
|
+
...props.rawProps?.style,
|
|
1777
|
+
} }, props.children));
|
|
1177
1778
|
});
|
|
1178
1779
|
|
|
1179
|
-
var css$1h = {"root":"
|
|
1780
|
+
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"};
|
|
1180
1781
|
|
|
1181
1782
|
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
1182
1783
|
'uui-panel',
|
|
@@ -1186,7 +1787,7 @@ const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
|
1186
1787
|
props.background && css$1h[`uui-${props.background}`],
|
|
1187
1788
|
]);
|
|
1188
1789
|
|
|
1189
|
-
var css$1g = {"root":"
|
|
1790
|
+
var css$1g = {"root":"H2dbpX"};
|
|
1190
1791
|
|
|
1191
1792
|
function applyTooltipMods(mods) {
|
|
1192
1793
|
return [
|
|
@@ -1196,21 +1797,24 @@ function applyTooltipMods(mods) {
|
|
|
1196
1797
|
}
|
|
1197
1798
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1198
1799
|
|
|
1199
|
-
var css$1f = {"root":"
|
|
1800
|
+
var css$1f = {"root":"k-D3Zk"};
|
|
1200
1801
|
|
|
1201
1802
|
function applyLabeledInputMods(mods) {
|
|
1202
1803
|
return [
|
|
1203
1804
|
'uui-labeled-input',
|
|
1204
1805
|
css$1f.root,
|
|
1205
|
-
'uui-size-' + (mods.size || settings.sizes.
|
|
1806
|
+
'uui-size-' + (mods.size || settings.labeledInput.sizes.default),
|
|
1206
1807
|
];
|
|
1207
1808
|
}
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1809
|
+
function applyLabeledInputProps(props) {
|
|
1810
|
+
return ({
|
|
1811
|
+
Tooltip: props.Tooltip || Tooltip,
|
|
1812
|
+
infoIcon: props.infoIcon || props.size <= '30' ? settings.labeledInput.icons.fillInfoIcon : settings.labeledInput.icons.infoIcon,
|
|
1813
|
+
});
|
|
1814
|
+
}
|
|
1815
|
+
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
1212
1816
|
|
|
1213
|
-
var css$1e = {"root":"
|
|
1817
|
+
var css$1e = {"root":"Mx3kFA"};
|
|
1214
1818
|
|
|
1215
1819
|
function RadioGroup(props) {
|
|
1216
1820
|
const direction = props.direction || 'vertical';
|
|
@@ -1225,7 +1829,7 @@ function RadioGroup(props) {
|
|
|
1225
1829
|
})));
|
|
1226
1830
|
}
|
|
1227
1831
|
|
|
1228
|
-
var css$1d = {"root":"
|
|
1832
|
+
var css$1d = {"root":"W9MadD"};
|
|
1229
1833
|
|
|
1230
1834
|
function applyScrollBarsMods() {
|
|
1231
1835
|
return [
|
|
@@ -1234,27 +1838,27 @@ function applyScrollBarsMods() {
|
|
|
1234
1838
|
}
|
|
1235
1839
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
1236
1840
|
|
|
1237
|
-
var css$1c = {"scroll-container":"
|
|
1841
|
+
var css$1c = {"scroll-container":"r5ymgV","scrollContainer":"r5ymgV","list-container":"vL7G2y","listContainer":"vL7G2y"};
|
|
1238
1842
|
|
|
1239
|
-
var css$1b = {"root":"
|
|
1843
|
+
var css$1b = {"root":"eaMei5"};
|
|
1240
1844
|
|
|
1241
1845
|
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$1b.root]);
|
|
1242
1846
|
|
|
1243
|
-
var css$1a = {"root":"
|
|
1847
|
+
var css$1a = {"root":"QXWo5S"};
|
|
1244
1848
|
|
|
1245
1849
|
const DEFAULT_FILL = 'solid';
|
|
1246
1850
|
function applyBadgeMods(mods) {
|
|
1247
1851
|
return [
|
|
1248
1852
|
'uui-badge',
|
|
1249
1853
|
css$1a.root,
|
|
1250
|
-
`uui-size-${mods.size || settings.sizes.
|
|
1854
|
+
`uui-size-${mods.size || settings.badge.sizes.default}`,
|
|
1251
1855
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1252
1856
|
`uui-color-${mods.color || 'info'}`,
|
|
1253
1857
|
];
|
|
1254
1858
|
}
|
|
1255
1859
|
const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1256
1860
|
const styles = [applyBadgeMods(props), props.cx];
|
|
1257
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1861
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.badge.icons.dropdownIcon;
|
|
1258
1862
|
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
1259
1863
|
'aria-haspopup': props.isDropdown,
|
|
1260
1864
|
'aria-expanded': props.isOpen,
|
|
@@ -1263,17 +1867,17 @@ const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1263
1867
|
(props.indicator && props.fill === 'outline') && (React__default.createElement("div", { className: "uui-indicator" })),
|
|
1264
1868
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1265
1869
|
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
1266
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.sizes.
|
|
1870
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.sizes.countIndicatorMap[props.size || settings.badge.sizes.default], caption: props.count })),
|
|
1267
1871
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1268
1872
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1269
1873
|
});
|
|
1270
1874
|
|
|
1271
|
-
var css$19 = {"root":"
|
|
1875
|
+
var css$19 = {"root":"_4g5FnY"};
|
|
1272
1876
|
|
|
1273
1877
|
function applyTagMods(props) {
|
|
1274
1878
|
return [
|
|
1275
1879
|
css$19.root,
|
|
1276
|
-
`uui-size-${props.size || settings.sizes.
|
|
1880
|
+
`uui-size-${props.size || settings.tag.sizes.default}`,
|
|
1277
1881
|
`uui-color-${props.color || 'neutral'}`,
|
|
1278
1882
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1279
1883
|
'uui-tag',
|
|
@@ -1281,83 +1885,53 @@ function applyTagMods(props) {
|
|
|
1281
1885
|
}
|
|
1282
1886
|
const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1283
1887
|
const styles = [applyTagMods(props), props.cx];
|
|
1284
|
-
const ClearIcon = props.clearIcon ? props.clearIcon :
|
|
1285
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1888
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
|
|
1889
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
|
|
1286
1890
|
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
1287
1891
|
'aria-haspopup': props.isDropdown,
|
|
1288
1892
|
'aria-expanded': props.isOpen,
|
|
1289
1893
|
...props.rawProps,
|
|
1290
1894
|
}, cx: styles, ref: ref },
|
|
1291
1895
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1292
|
-
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
1293
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.sizes.
|
|
1294
|
-
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1295
|
-
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1296
|
-
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1297
|
-
});
|
|
1298
|
-
|
|
1299
|
-
var css$18 = {"root":"Yefd2r","uui-spinner":"-ll9YV","uuiSpinner":"-ll9YV"};
|
|
1300
|
-
|
|
1301
|
-
function applySpinnerMods() {
|
|
1302
|
-
return [css$18.root, 'uui-spinner'];
|
|
1303
|
-
}
|
|
1304
|
-
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
1305
|
-
|
|
1306
|
-
var _path$w;
|
|
1307
|
-
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); }
|
|
1308
|
-
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
1309
|
-
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
1310
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1311
|
-
width: 24,
|
|
1312
|
-
height: 24,
|
|
1313
|
-
viewBox: "0 0 24 24",
|
|
1314
|
-
ref: ref
|
|
1315
|
-
}, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
1316
|
-
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
1317
|
-
})));
|
|
1318
|
-
};
|
|
1319
|
-
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgNavigationChevronLeftOutline);
|
|
1896
|
+
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
1897
|
+
props.count !== undefined && props.count !== null && (React__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 })),
|
|
1898
|
+
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1899
|
+
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1900
|
+
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1901
|
+
});
|
|
1320
1902
|
|
|
1321
|
-
var
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
height: 24,
|
|
1328
|
-
viewBox: "0 0 24 24",
|
|
1329
|
-
ref: ref
|
|
1330
|
-
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
1331
|
-
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
1332
|
-
})));
|
|
1333
|
-
};
|
|
1334
|
-
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgNavigationChevronRightOutline);
|
|
1903
|
+
var css$18 = {"root":"m3Q71r","uui-spinner":"YQGQbP","uuiSpinner":"YQGQbP"};
|
|
1904
|
+
|
|
1905
|
+
function applySpinnerMods() {
|
|
1906
|
+
return [css$18.root, 'uui-spinner'];
|
|
1907
|
+
}
|
|
1908
|
+
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
1335
1909
|
|
|
1336
|
-
var css$17 = {"root":"
|
|
1910
|
+
var css$17 = {"root":"QHjscC","page":"i166cN","spacer":"u4UqQ0","mode-ghost":"-Anqsg","modeGhost":"-Anqsg"};
|
|
1337
1911
|
|
|
1338
1912
|
function Paginator(props) {
|
|
1339
|
-
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.sizes.
|
|
1340
|
-
React__default.createElement(Button, { size: props.size || settings.sizes.
|
|
1913
|
+
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
|
|
1914
|
+
React__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" }),
|
|
1341
1915
|
params.pages.map((page, index) => {
|
|
1342
1916
|
if (page.type === 'spacer') {
|
|
1343
|
-
return (React__default.createElement(Button, { cx: cx(css$17.spacer, css$17.page), size: props.size || settings.sizes.
|
|
1917
|
+
return (React__default.createElement(Button, { cx: cx(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 }));
|
|
1344
1918
|
}
|
|
1345
1919
|
else {
|
|
1346
|
-
return (React__default.createElement(Button, { cx: cx(css$17[`mode-${!page.isActive && 'ghost'}`], css$17.page), size: props.size || settings.sizes.
|
|
1920
|
+
return (React__default.createElement(Button, { cx: cx(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 }));
|
|
1347
1921
|
}
|
|
1348
1922
|
}),
|
|
1349
|
-
React__default.createElement(Button, { size: props.size || settings.sizes.
|
|
1923
|
+
React__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" })));
|
|
1350
1924
|
return React__default.createElement(Paginator$1, { ...props, render: renderPaginator });
|
|
1351
1925
|
}
|
|
1352
1926
|
|
|
1353
|
-
var css$16 = {"root":"
|
|
1927
|
+
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"};
|
|
1354
1928
|
|
|
1355
1929
|
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1356
1930
|
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$16.root, css$16[`size-${props.size || 12}`]) },
|
|
1357
1931
|
React.createElement("div", { className: cx(css$16.progressBar) })));
|
|
1358
1932
|
});
|
|
1359
1933
|
|
|
1360
|
-
var css$15 = {"root":"
|
|
1934
|
+
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"};
|
|
1361
1935
|
|
|
1362
1936
|
const DEFAULT_SIZE = '12';
|
|
1363
1937
|
function applyProgressBarMods(mods) {
|
|
@@ -1372,19 +1946,19 @@ const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProg
|
|
|
1372
1946
|
hideLabel: props.hideLabel || props.striped,
|
|
1373
1947
|
}));
|
|
1374
1948
|
|
|
1375
|
-
var css$14 = {"root":"
|
|
1949
|
+
var css$14 = {"root":"_9QHUEc"};
|
|
1376
1950
|
|
|
1377
1951
|
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1378
1952
|
const { progress } = props;
|
|
1379
1953
|
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$14.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$14.root, props.cx) }));
|
|
1380
1954
|
});
|
|
1381
1955
|
|
|
1382
|
-
var css$13 = {"root":"
|
|
1956
|
+
var css$13 = {"root":"RhPrcv"};
|
|
1383
1957
|
|
|
1384
1958
|
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1385
1959
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
1386
1960
|
css$13.root,
|
|
1387
|
-
`uui-size-${props.size || settings.sizes.
|
|
1961
|
+
`uui-size-${props.size || settings.statusIndicator.sizes.default}`,
|
|
1388
1962
|
'uui-status_indicator',
|
|
1389
1963
|
`uui-color-${props.color || 'neutral'}`,
|
|
1390
1964
|
`uui-fill-${props.fill || 'solid'}`,
|
|
@@ -1394,28 +1968,28 @@ const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1394
1968
|
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1395
1969
|
});
|
|
1396
1970
|
|
|
1397
|
-
var css$12 = {"drag-handle":"
|
|
1971
|
+
var css$12 = {"drag-handle":"wXEeDT","dragHandle":"wXEeDT","icon-container":"W-9nPm","iconContainer":"W-9nPm"};
|
|
1398
1972
|
|
|
1399
1973
|
function DataRowAddons(props) {
|
|
1400
1974
|
const row = props.rowProps;
|
|
1401
1975
|
const getIndent = () => {
|
|
1402
|
-
return (row.indent - 1) *
|
|
1976
|
+
return (row.indent - 1) * settings.dataTable.sizes.body.indentUnitMap[props.size || settings.dataTable.sizes.body.row];
|
|
1403
1977
|
};
|
|
1404
1978
|
const getWidth = () => {
|
|
1405
|
-
return settings.sizes.
|
|
1979
|
+
return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
|
|
1406
1980
|
};
|
|
1407
1981
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1408
1982
|
row.dnd?.srcData && React__default.createElement(DragHandle, { key: "dh", cx: css$12.dragHandle, rawProps: { ...props.eventHandlers } }),
|
|
1409
|
-
row?.checkbox?.isVisible && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.sizes.
|
|
1983
|
+
row?.checkbox?.isVisible && (React__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 })),
|
|
1410
1984
|
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: cx('uui-dr_addons-indent', `uui-size-${props.size}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__default.createElement(IconContainer, { rawProps: {
|
|
1411
1985
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1412
1986
|
role: 'button',
|
|
1413
|
-
}, key: "icon", icon:
|
|
1987
|
+
}, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
|
|
1414
1988
|
uuiElement.foldingArrow, uuiMarkers.clickable, css$12.iconContainer,
|
|
1415
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.
|
|
1989
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
|
|
1416
1990
|
}
|
|
1417
1991
|
|
|
1418
|
-
var css$11 = {"root":"
|
|
1992
|
+
var css$11 = {"root":"Mms63k"};
|
|
1419
1993
|
|
|
1420
1994
|
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$11.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
1421
1995
|
|
|
@@ -1461,7 +2035,7 @@ const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1461
2035
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1462
2036
|
});
|
|
1463
2037
|
|
|
1464
|
-
var css$10 = {"root":"
|
|
2038
|
+
var css$10 = {"root":"W1mzAl"};
|
|
1465
2039
|
|
|
1466
2040
|
function CheckboxGroup(props) {
|
|
1467
2041
|
const currentValue = props.value || [];
|
|
@@ -1483,13 +2057,13 @@ function CheckboxGroup(props) {
|
|
|
1483
2057
|
})));
|
|
1484
2058
|
}
|
|
1485
2059
|
|
|
1486
|
-
var css$$ = {"root":"
|
|
2060
|
+
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"};
|
|
1487
2061
|
|
|
1488
2062
|
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$$.modalBlocker]);
|
|
1489
2063
|
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, css$$.modal], (props) => {
|
|
1490
|
-
const width = props.width
|
|
2064
|
+
const width = props.width;
|
|
1491
2065
|
const height = props.height || 'auto';
|
|
1492
|
-
const maxHeight = isMobile() ? '
|
|
2066
|
+
const maxHeight = isMobile() ? 'var(--uui-modals-mobile-max-height)' : (props.maxHeight || 'var(--uui-modals-max-height)');
|
|
1493
2067
|
return {
|
|
1494
2068
|
style: {
|
|
1495
2069
|
...props.style,
|
|
@@ -1499,24 +2073,20 @@ const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, cs
|
|
|
1499
2073
|
},
|
|
1500
2074
|
};
|
|
1501
2075
|
});
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
2076
|
+
function ModalHeader(props) {
|
|
2077
|
+
return (React__default.createElement("div", { className: cx(css$$.root, css$$.modalHeader, 'uui-modal-header', props.borderBottom && css$$.borderBottom, props.cx), ...props.rawProps, style: {
|
|
2078
|
+
...props.rawProps?.style,
|
|
2079
|
+
} },
|
|
2080
|
+
props.title && (React__default.createElement("div", { className: cx('uui-modal-title', 'uui-typography') }, props.title)),
|
|
2081
|
+
props.children,
|
|
2082
|
+
props.onClose && React__default.createElement(FlexSpacer, null),
|
|
2083
|
+
props.onClose && (React__default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
2084
|
+
React__default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: settings.modal.icons.closeIcon, onClick: props.onClose })))));
|
|
1511
2085
|
}
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
css$$.modalFooter,
|
|
1517
|
-
this.props.cx,
|
|
1518
|
-
], borderTop: this.props.borderTop, padding: this.props.padding || '24', vPadding: this.props.vPadding || '24', rawProps: this.props.rawProps }, this.props.children));
|
|
1519
|
-
}
|
|
2086
|
+
function ModalFooter(props) {
|
|
2087
|
+
return (React__default.createElement("div", { className: cx(css$$.root, css$$.modalFooter, 'uui-modal-footer', props.borderTop && css$$.borderTop, props.cx), ...props.rawProps, style: {
|
|
2088
|
+
...props.rawProps?.style,
|
|
2089
|
+
} }, props.children));
|
|
1520
2090
|
}
|
|
1521
2091
|
|
|
1522
2092
|
const TREE_SHAKEABLE_INIT = () => ({
|
|
@@ -1677,22 +2247,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
1677
2247
|
});
|
|
1678
2248
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1679
2249
|
|
|
1680
|
-
var
|
|
1681
|
-
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); }
|
|
1682
|
-
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
1683
|
-
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
1684
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1685
|
-
width: 24,
|
|
1686
|
-
height: 24,
|
|
1687
|
-
viewBox: "0 0 24 24",
|
|
1688
|
-
ref: ref
|
|
1689
|
-
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
1690
|
-
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"
|
|
1691
|
-
})));
|
|
1692
|
-
};
|
|
1693
|
-
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgNotificationHelpFill);
|
|
1694
|
-
|
|
1695
|
-
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"};
|
|
2250
|
+
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"};
|
|
1696
2251
|
|
|
1697
2252
|
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1698
2253
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -1711,21 +2266,21 @@ const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) =
|
|
|
1711
2266
|
React__default.createElement(IconContainer, { size: 24, icon: props.icon }))),
|
|
1712
2267
|
React__default.createElement("div", { className: css$_.content },
|
|
1713
2268
|
props.children,
|
|
1714
|
-
props.actions && (React__default.createElement("div", { className: css$_.actionWrapper }, props.actions.map((action) => (React__default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$_.actionLink, size: settings.sizes.
|
|
2269
|
+
props.actions && (React__default.createElement("div", { className: css$_.actionWrapper }, props.actions.map((action) => (React__default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$_.actionLink, size: settings.notificationCard.sizes.action, rawProps: action.rawProps })))))),
|
|
1715
2270
|
props.onClose && (React__default.createElement("div", { className: css$_.closeWrapper },
|
|
1716
|
-
React__default.createElement(IconButton, { icon:
|
|
2271
|
+
React__default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$_.closeIcon }))))));
|
|
1717
2272
|
});
|
|
1718
|
-
const WarningNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon:
|
|
1719
|
-
const SuccessNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon:
|
|
1720
|
-
const HintNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon:
|
|
1721
|
-
const ErrorNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon:
|
|
2273
|
+
const WarningNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.warningIcon, color: "warning", ...props, ref: ref, cx: props.cx })));
|
|
2274
|
+
const SuccessNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.successIcon, color: "success", ...props, ref: ref, cx: props.cx })));
|
|
2275
|
+
const HintNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.hintIcon, color: "info", ...props, ref: ref, cx: props.cx })));
|
|
2276
|
+
const ErrorNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.errorIcon, color: "error", ...props, ref: ref, cx: props.cx })));
|
|
1722
2277
|
function ClearNotification() {
|
|
1723
2278
|
const uuiCtx = useUuiContext();
|
|
1724
2279
|
return (React__default.createElement("div", { className: cx(css$_.notificationWrapper, css$_.clearButton) },
|
|
1725
2280
|
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
1726
2281
|
}
|
|
1727
2282
|
|
|
1728
|
-
var css$Z = {"footer":"
|
|
2283
|
+
var css$Z = {"footer":"UKxrTp"};
|
|
1729
2284
|
|
|
1730
2285
|
class ConfirmationModal extends React.Component {
|
|
1731
2286
|
render() {
|
|
@@ -1767,7 +2322,7 @@ function useReliableForceUpdate() {
|
|
|
1767
2322
|
return red[1];
|
|
1768
2323
|
}
|
|
1769
2324
|
|
|
1770
|
-
var css$Y = {"root":"
|
|
2325
|
+
var css$Y = {"root":"_8qbP70","timepicker-input":"_8iI9Xz","timepickerInput":"_8iI9Xz","ltr-always":"GoqxMW","ltrAlways":"GoqxMW"};
|
|
1771
2326
|
|
|
1772
2327
|
const uuiTimePicker = {
|
|
1773
2328
|
container: 'uui-timepicker-container',
|
|
@@ -1950,7 +2505,7 @@ function TimePicker(props) {
|
|
|
1950
2505
|
state.value && state.inputValue && saveTime(state.value);
|
|
1951
2506
|
};
|
|
1952
2507
|
const renderInput = (inputProps) => {
|
|
1953
|
-
return (React__default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size
|
|
2508
|
+
return (React__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 }));
|
|
1954
2509
|
};
|
|
1955
2510
|
const renderBody = (bodyProps) => {
|
|
1956
2511
|
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
@@ -1960,7 +2515,7 @@ function TimePicker(props) {
|
|
|
1960
2515
|
return (React__default.createElement(Dropdown, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, modifiers: [{ name: 'offset', options: { offset: [0, 6] } }], forwardedRef: props.forwardedRef }));
|
|
1961
2516
|
}
|
|
1962
2517
|
|
|
1963
|
-
var css$X = {"root":"
|
|
2518
|
+
var css$X = {"root":"_0EvB8b"};
|
|
1964
2519
|
|
|
1965
2520
|
function applyInputAddonMods() {
|
|
1966
2521
|
return [
|
|
@@ -1969,43 +2524,29 @@ function applyInputAddonMods() {
|
|
|
1969
2524
|
}
|
|
1970
2525
|
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
1971
2526
|
|
|
1972
|
-
var css$W = {"root":"
|
|
2527
|
+
var css$W = {"root":"_1p7ere"};
|
|
1973
2528
|
|
|
1974
2529
|
function applySliderMods() {
|
|
1975
2530
|
return [css$W.root, 'uui-color-neutral'];
|
|
1976
2531
|
}
|
|
1977
2532
|
const Slider = /* @__PURE__ */withMods(Slider$1, applySliderMods);
|
|
1978
2533
|
|
|
1979
|
-
var
|
|
1980
|
-
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); }
|
|
1981
|
-
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
1982
|
-
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
1983
|
-
width: 24,
|
|
1984
|
-
height: 24,
|
|
1985
|
-
viewBox: "0 0 24 24",
|
|
1986
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1987
|
-
ref: ref
|
|
1988
|
-
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
1989
|
-
fillRule: "evenodd",
|
|
1990
|
-
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"
|
|
1991
|
-
})));
|
|
1992
|
-
};
|
|
1993
|
-
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgStarFilled);
|
|
1994
|
-
|
|
1995
|
-
var css$V = {"root":"Xp4Y-1","tooltip":"MkecJN"};
|
|
2534
|
+
var css$V = {"root":"nRNd81","tooltip":"_8FGpYj"};
|
|
1996
2535
|
|
|
1997
2536
|
function applyRatingMods(mods) {
|
|
1998
2537
|
return [
|
|
1999
2538
|
css$V.root,
|
|
2000
|
-
`uui-size-${mods.size || settings.sizes.
|
|
2539
|
+
`uui-size-${mods.size || settings.rating.sizes.default}`,
|
|
2001
2540
|
];
|
|
2002
2541
|
}
|
|
2003
2542
|
const Rating = /* @__PURE__ */withMods(uuiComponents.Rating, applyRatingMods, (props) => ({
|
|
2004
|
-
filledStarIcon: props.icon ||
|
|
2005
|
-
emptyStarIcon: props.icon ||
|
|
2543
|
+
filledStarIcon: props.icon || settings.rating.icons.filledRatingIcon,
|
|
2544
|
+
emptyStarIcon: props.icon || settings.rating.icons.emptyRatingIcon,
|
|
2006
2545
|
Tooltip,
|
|
2007
2546
|
}));
|
|
2008
2547
|
|
|
2548
|
+
var css$U = {"root":"-VD0hh","container":"_34S4zn"};
|
|
2549
|
+
|
|
2009
2550
|
const defaultFormat = 'MMM D, YYYY';
|
|
2010
2551
|
const valueFormat = 'YYYY-MM-DD';
|
|
2011
2552
|
const supportedDateFormats = (format) => {
|
|
@@ -2133,8 +2674,6 @@ const getNextYearsList = (currentDate) => {
|
|
|
2133
2674
|
return currentDate.add(16, 'year');
|
|
2134
2675
|
};
|
|
2135
2676
|
|
|
2136
|
-
var css$U = {"root":"_600tri","container":"rBv322"};
|
|
2137
|
-
|
|
2138
2677
|
const uuiHeader = {
|
|
2139
2678
|
container: 'uui-datepicker-header-container',
|
|
2140
2679
|
headerNav: 'uui-datepicker-header-nav',
|
|
@@ -2212,19 +2751,19 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2212
2751
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2213
2752
|
return (React.createElement("div", { className: cx(css$U.root, uuiHeader.container, cx) },
|
|
2214
2753
|
React.createElement("header", { className: uuiHeader.headerNav },
|
|
2215
|
-
React.createElement(Button, { icon: navIconLeft ||
|
|
2754
|
+
React.createElement(Button, { icon: navIconLeft || settings.datePicker.icons.body.prevIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2216
2755
|
React.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2217
|
-
React.createElement(Button, { icon: navIconRight ||
|
|
2756
|
+
React.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2218
2757
|
}
|
|
2219
2758
|
|
|
2220
|
-
var css$T = {"root":"
|
|
2759
|
+
var css$T = {"root":"z6vmNs"};
|
|
2221
2760
|
|
|
2222
2761
|
function applyDateSelectionMods() {
|
|
2223
|
-
return [css$T.root, `uui-size-${settings.sizes.
|
|
2762
|
+
return [css$T.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2224
2763
|
}
|
|
2225
2764
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2226
2765
|
|
|
2227
|
-
var css$S = {"root":"
|
|
2766
|
+
var css$S = {"root":"PPpSD-"};
|
|
2228
2767
|
|
|
2229
2768
|
const uuiDatePickerBody = {
|
|
2230
2769
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2267,7 +2806,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2267
2806
|
return (React__default.createElement(Calendar, { value: selectedDate, month: month, onValueChange: onDayClick, filter: filter, renderDay: renderDay, isHoliday: isHoliday, isDisabled: isDisabled }));
|
|
2268
2807
|
}
|
|
2269
2808
|
};
|
|
2270
|
-
return (React__default.createElement("div", { ref: ref, className: cx$1(uuiDatePickerBodyBase.container, `uui-size-${settings.sizes.
|
|
2809
|
+
return (React__default.createElement("div", { ref: ref, className: cx$1(uuiDatePickerBodyBase.container, `uui-size-${settings.datePicker.sizes.body}`, classes), ...rawProps },
|
|
2271
2810
|
React__default.createElement("div", { className: cx$1(css$S.root, uuiDatePickerBody.wrapper) },
|
|
2272
2811
|
React__default.createElement(DatePickerHeader, { value: {
|
|
2273
2812
|
view,
|
|
@@ -2285,7 +2824,7 @@ const modifiers$1 = [{
|
|
|
2285
2824
|
options: { offset: [0, 6] },
|
|
2286
2825
|
}];
|
|
2287
2826
|
function DatePickerComponent(props, ref) {
|
|
2288
|
-
const { format = defaultFormat, value, size = settings.sizes.
|
|
2827
|
+
const { format = defaultFormat, value, size = settings.datePicker.sizes.input } = props;
|
|
2289
2828
|
const context = useUuiContext();
|
|
2290
2829
|
const [inputValue, setInputValue] = useState(toCustomDateFormat(value, format));
|
|
2291
2830
|
const [isBodyOpen, setBodyIsOpen] = useState(false);
|
|
@@ -2325,7 +2864,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2325
2864
|
};
|
|
2326
2865
|
const renderInput = (renderProps) => {
|
|
2327
2866
|
const allowClear = !props.disableClear && !!inputValue;
|
|
2328
|
-
return (React__default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && uuiMod.focus), icon: props.mode !== EditMode.CELL
|
|
2867
|
+
return (React__default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && 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) => {
|
|
2329
2868
|
setInputValue(v || '');
|
|
2330
2869
|
}, onCancel: allowClear ? () => {
|
|
2331
2870
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -2350,7 +2889,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2350
2889
|
}
|
|
2351
2890
|
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
2352
2891
|
|
|
2353
|
-
var css$R = {"date-input":"
|
|
2892
|
+
var css$R = {"date-input":"KWy5Nx","dateInput":"KWy5Nx","root":"fVggm-","separator":"_-4EA4L","mode-form":"-HscNy","modeForm":"-HscNy","mode-cell":"_97hdBQ","modeCell":"_97hdBQ"};
|
|
2354
2893
|
|
|
2355
2894
|
const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, }, ref) => {
|
|
2356
2895
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2393,15 +2932,15 @@ const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid,
|
|
|
2393
2932
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2394
2933
|
return (
|
|
2395
2934
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
2396
|
-
React__default.createElement("div", { ref: ref, className: cx$1(`uui-size-${size || settings.sizes.
|
|
2397
|
-
React__default.createElement(TextInput, { icon:
|
|
2935
|
+
React__default.createElement("div", { ref: ref, className: cx$1(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$R.root, isDisabled && uuiMod.disabled, isReadonly && uuiMod.readonly, isInvalid && uuiMod.invalid, inFocus && uuiMod.focus), onKeyDown: onKeyDown },
|
|
2936
|
+
React__default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: cx$1(css$R.dateInput, inFocus === 'from' && 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 }),
|
|
2398
2937
|
React__default.createElement("div", { className: css$R.separator }),
|
|
2399
|
-
React__default.createElement(TextInput, { cx: cx$1(css$R.dateInput, inFocus === 'to' && uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.sizes.
|
|
2938
|
+
React__default.createElement(TextInput, { cx: cx$1(css$R.dateInput, inFocus === 'to' && uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.rangeDatePicker.sizes.default, value: inputValue.to || undefined, onCancel: clearAllowed ? () => {
|
|
2400
2939
|
onValueChange(defaultRangeValue);
|
|
2401
2940
|
} : 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 })));
|
|
2402
2941
|
});
|
|
2403
2942
|
|
|
2404
|
-
var css$Q = {"root":"
|
|
2943
|
+
var css$Q = {"root":"bP7mL2"};
|
|
2405
2944
|
|
|
2406
2945
|
const uuiPresets = {
|
|
2407
2946
|
container: 'uui-presets-container',
|
|
@@ -2418,10 +2957,10 @@ const getPresets = (presets) => {
|
|
|
2418
2957
|
function CalendarPresets(props) {
|
|
2419
2958
|
return (React.createElement("div", { ref: props.forwardedRef, className: cx$1(uuiPresets.container, css$Q.root, props.cx), ...props.rawProps },
|
|
2420
2959
|
React.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
2421
|
-
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size:
|
|
2960
|
+
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
2422
2961
|
}
|
|
2423
2962
|
|
|
2424
|
-
var css$P = {"root":"
|
|
2963
|
+
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"};
|
|
2425
2964
|
|
|
2426
2965
|
const uuiRangeDatePickerBody = {
|
|
2427
2966
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -2596,14 +3135,14 @@ const getDayCX = (day, selectedDate) => {
|
|
|
2596
3135
|
return [cx$1(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiDaySelection.selectedDay)];
|
|
2597
3136
|
};
|
|
2598
3137
|
|
|
2599
|
-
var css$O = {"dropdown-container":"
|
|
3138
|
+
var css$O = {"dropdown-container":"fse70v","dropdownContainer":"fse70v"};
|
|
2600
3139
|
|
|
2601
3140
|
const modifiers = [{
|
|
2602
3141
|
name: 'offset',
|
|
2603
3142
|
options: { offset: [0, 6] },
|
|
2604
3143
|
}];
|
|
2605
3144
|
function RangeDatePickerComponent(props, ref) {
|
|
2606
|
-
const { value: _value, format = defaultFormat, size = settings.sizes.
|
|
3145
|
+
const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
|
|
2607
3146
|
const value = _value || defaultRangeValue; // also handles null in comparison to default value
|
|
2608
3147
|
const context = useUuiContext();
|
|
2609
3148
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -2664,7 +3203,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
2664
3203
|
}
|
|
2665
3204
|
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
2666
3205
|
|
|
2667
|
-
var css$N = {"root":"
|
|
3206
|
+
var css$N = {"root":"fcgGKr","blocker":"LYayiw","marker":"G9kt3a","top":"e9ZTvp","bottom":"yFKRaN","left":"_767gzT","right":"tahKuC","inside":"_1SbJ5P"};
|
|
2668
3207
|
|
|
2669
3208
|
function DropMarker(props) {
|
|
2670
3209
|
return props.isDndInProgress
|
|
@@ -2679,13 +3218,13 @@ function DropMarker(props) {
|
|
|
2679
3218
|
: null;
|
|
2680
3219
|
}
|
|
2681
3220
|
|
|
2682
|
-
var css$M = {"root":"
|
|
3221
|
+
var css$M = {"root":"bVIUSn","line-height":"PiBSoi","lineHeight":"PiBSoi","font-size":"TJ-U2T","fontSize":"TJ-U2T"};
|
|
2683
3222
|
|
|
2684
3223
|
function applyTextMods(mods) {
|
|
2685
3224
|
return [
|
|
2686
3225
|
css$M.root,
|
|
2687
3226
|
'uui-text',
|
|
2688
|
-
`uui-size-${mods.size || settings.sizes.
|
|
3227
|
+
`uui-size-${mods.size || settings.text.sizes.default}`,
|
|
2689
3228
|
(mods.size !== 'none' || mods.lineHeight) && css$M.lineHeight,
|
|
2690
3229
|
(mods.size !== 'none' || mods.fontSize) && css$M.fontSize,
|
|
2691
3230
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -2706,7 +3245,7 @@ const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props)
|
|
|
2706
3245
|
};
|
|
2707
3246
|
});
|
|
2708
3247
|
|
|
2709
|
-
var css$L = {"root":"
|
|
3248
|
+
var css$L = {"root":"WQ5Q7s","loading-word":"q5IqY3","loadingWord":"q5IqY3","animated-loading":"_0EMt40","animatedLoading":"_0EMt40","skeleton_loading":"kjLWZu","skeletonLoading":"kjLWZu"};
|
|
2710
3249
|
|
|
2711
3250
|
const TextPlaceholder = (props) => {
|
|
2712
3251
|
const pattern = ' ';
|
|
@@ -2723,16 +3262,16 @@ const TextPlaceholder = (props) => {
|
|
|
2723
3262
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
2724
3263
|
};
|
|
2725
3264
|
|
|
2726
|
-
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.sizes.
|
|
3265
|
+
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
2727
3266
|
|
|
2728
|
-
var css$K = {"modal":"
|
|
3267
|
+
var css$K = {"modal":"arlA04","search-wrapper":"xgAUF4","searchWrapper":"xgAUF4","no-data":"-bZWnM","noData":"-bZWnM","type-search-to-load-size-24":"F4k1w2","typeSearchToLoadSize24":"F4k1w2"};
|
|
2729
3268
|
|
|
2730
3269
|
class DataPickerBody extends PickerBodyBase {
|
|
2731
3270
|
constructor() {
|
|
2732
3271
|
super(...arguments);
|
|
2733
3272
|
this.lens = Lens.onEditableComponent(this);
|
|
2734
3273
|
this.searchLens = this.lens.prop('search').default('');
|
|
2735
|
-
this.getSearchSize = () => (isMobile() ? settings.sizes.
|
|
3274
|
+
this.getSearchSize = () => (isMobile() ? settings.pickerInput.sizes.body.mobileSearchInput : this.props.searchSize);
|
|
2736
3275
|
}
|
|
2737
3276
|
renderEmpty() {
|
|
2738
3277
|
const search = this.searchLens.get();
|
|
@@ -2766,7 +3305,7 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
2766
3305
|
render() {
|
|
2767
3306
|
const searchSize = this.getSearchSize();
|
|
2768
3307
|
return (React__default.createElement(React__default.Fragment, null,
|
|
2769
|
-
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$K.searchWrapper },
|
|
3308
|
+
this.showSearch() && (React__default.createElement("div", { key: "search", className: cx$1(css$K.searchWrapper, 'uui-picker_input-body-search') },
|
|
2770
3309
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
2771
3310
|
React__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' } })))),
|
|
2772
3311
|
React__default.createElement(FlexRow, { key: "body", cx: cx$1('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
|
|
@@ -2776,11 +3315,11 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
2776
3315
|
}
|
|
2777
3316
|
}
|
|
2778
3317
|
|
|
2779
|
-
var css$J = {"footer":"
|
|
3318
|
+
var css$J = {"footer":"wPqX4O"};
|
|
2780
3319
|
|
|
2781
3320
|
function DataPickerFooterImpl(props) {
|
|
2782
3321
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
2783
|
-
const size = isMobile() ? settings.sizes.
|
|
3322
|
+
const size = isMobile() ? settings.pickerInput.sizes.body.mobileFooterLinkButton : props.size;
|
|
2784
3323
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
2785
3324
|
const rowsCount = view.getListProps().rowsCount;
|
|
2786
3325
|
const isSinglePicker = selectionMode === 'single';
|
|
@@ -2792,7 +3331,7 @@ function DataPickerFooterImpl(props) {
|
|
|
2792
3331
|
const showClear = !props.disableClear && (isSinglePicker ? true : (!view.selectAll || hasSelection));
|
|
2793
3332
|
return !hideFooter && (React__default.createElement(FlexRow, { cx: css$J.footer },
|
|
2794
3333
|
!isSinglePicker && !isSearchTooShort && ( // Show this switch only for multi mode and when some rows rendered
|
|
2795
|
-
React__default.createElement(Switch, { size: settings.sizes.
|
|
3334
|
+
React__default.createElement(Switch, { size: settings.pickerInput.sizes.body.footerSwitchMap[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
2796
3335
|
React__default.createElement(FlexSpacer, null),
|
|
2797
3336
|
React__default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
2798
3337
|
view.selectAll && !hasSelection && (React__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.
|
|
@@ -2802,32 +3341,17 @@ function DataPickerFooterImpl(props) {
|
|
|
2802
3341
|
}
|
|
2803
3342
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
2804
3343
|
|
|
2805
|
-
var css$I = {"header":"
|
|
3344
|
+
var css$I = {"header":"tB-Mcy","title":"KQr7OH","close":"Q3MCTf"};
|
|
2806
3345
|
|
|
2807
3346
|
const DataPickerHeaderImpl = (props) => {
|
|
2808
3347
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
2809
|
-
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$I.header },
|
|
2810
|
-
React__default.createElement(
|
|
2811
|
-
React__default.createElement(IconButton, { icon:
|
|
3348
|
+
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: [css$I.header, 'uui-picker_input-body-header'] },
|
|
3349
|
+
React__default.createElement("div", { className: css$I.title }, title),
|
|
3350
|
+
React__default.createElement(IconButton, { icon: settings.pickerInput.icons.body.pickerBodyMobileHeaderCloseIcon, onClick: () => props.close?.(), cx: css$I.close })));
|
|
2812
3351
|
};
|
|
2813
3352
|
const DataPickerHeader = /* @__PURE__ */React__default.memo(DataPickerHeaderImpl);
|
|
2814
3353
|
|
|
2815
|
-
var
|
|
2816
|
-
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); }
|
|
2817
|
-
var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
2818
|
-
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
2819
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2820
|
-
width: 24,
|
|
2821
|
-
height: 24,
|
|
2822
|
-
viewBox: "0 0 24 24",
|
|
2823
|
-
ref: ref
|
|
2824
|
-
}, props), _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
2825
|
-
d: "m2 12 3.077-3.2 4.615 4.8L18.923 4 22 7.2 9.692 20 2 12z"
|
|
2826
|
-
})));
|
|
2827
|
-
};
|
|
2828
|
-
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgNotificationDoneFill);
|
|
2829
|
-
|
|
2830
|
-
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"};
|
|
3354
|
+
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"};
|
|
2831
3355
|
|
|
2832
3356
|
function DataPickerCell(props) {
|
|
2833
3357
|
const ref = React.useRef();
|
|
@@ -2835,18 +3359,21 @@ function DataPickerCell(props) {
|
|
|
2835
3359
|
if (props.rowProps.isLoading) {
|
|
2836
3360
|
content = (
|
|
2837
3361
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
2838
|
-
React.createElement(Text, { key: "t", size:
|
|
3362
|
+
React.createElement(Text, { key: "t", size: props.size, cx: css$H.loadingCell },
|
|
2839
3363
|
React.createElement(TextPlaceholder, null)));
|
|
2840
3364
|
}
|
|
2841
3365
|
else if (props.rowProps.isUnknown) {
|
|
2842
|
-
content = (React.createElement(Text, { key: "t", size:
|
|
3366
|
+
content = (React.createElement(Text, { key: "t", size: props.size }, "Unknown"));
|
|
2843
3367
|
}
|
|
2844
3368
|
else {
|
|
3369
|
+
const SelectIcon = (typeof settings.pickerInput.icons.body.selectIcon === 'function'
|
|
3370
|
+
? settings.pickerInput.icons.body.selectIcon(props.size)
|
|
3371
|
+
: settings.pickerInput.icons.body.selectIcon);
|
|
2845
3372
|
content = (React.createElement("div", { key: `${props.rowProps.id}`, className: css$H.renderItem },
|
|
2846
3373
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
2847
3374
|
React.createElement(FlexSpacer, null),
|
|
2848
|
-
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React.createElement("div", { className: cx$1(css$H.iconWrapper, uuiMod.selected) },
|
|
2849
|
-
React.createElement(IconContainer, { size: settings.sizes.
|
|
3375
|
+
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React.createElement("div", { className: cx$1(css$H.iconWrapper, 'uui-picker_input-cell-select_icon', uuiMod.selected) },
|
|
3376
|
+
React.createElement(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
|
|
2850
3377
|
? 'Child is selected'
|
|
2851
3378
|
: 'Selected' } })))));
|
|
2852
3379
|
}
|
|
@@ -2854,31 +3381,32 @@ function DataPickerCell(props) {
|
|
|
2854
3381
|
return (React.createElement(FlexCell, { ref: ref, grow: 1, width: 0, minWidth: 0, rawProps: { role: 'cell' }, cx: [
|
|
2855
3382
|
css$H.root,
|
|
2856
3383
|
props.cx,
|
|
3384
|
+
'uui-picker_input-cell',
|
|
2857
3385
|
'data-picker-cell',
|
|
2858
3386
|
props.size && `uui-size-${props.size}`,
|
|
2859
3387
|
css$H[`align-widgets-${props.alignActions || 'top'}`],
|
|
2860
3388
|
], style: props.padding && {
|
|
2861
|
-
'--uui-
|
|
3389
|
+
'--uui-data_picker-horizontal-padding': `${props.padding}px`,
|
|
2862
3390
|
} },
|
|
2863
3391
|
React.createElement(DataRowAddons, { size: props.size, ...props, tabIndex: -1 }),
|
|
2864
3392
|
getWrappedContent()));
|
|
2865
3393
|
}
|
|
2866
3394
|
|
|
2867
|
-
var css$G = {"picker-row":"
|
|
3395
|
+
var css$G = {"picker-row":"xRksz9","pickerRow":"xRksz9"};
|
|
2868
3396
|
|
|
2869
3397
|
class DataPickerRow extends React.Component {
|
|
2870
3398
|
constructor() {
|
|
2871
3399
|
super(...arguments);
|
|
2872
3400
|
this.renderContent = () => {
|
|
2873
|
-
return (React.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.sizes.
|
|
3401
|
+
return (React.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 }));
|
|
2874
3402
|
};
|
|
2875
3403
|
}
|
|
2876
3404
|
render() {
|
|
2877
|
-
return (React.createElement(DataPickerRow$1, { ...this.props, cx: [css$G.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
3405
|
+
return (React.createElement(DataPickerRow$1, { ...this.props, cx: [css$G.pickerRow, 'uui-picker_input-row', this.props.cx], renderContent: this.renderContent }));
|
|
2878
3406
|
}
|
|
2879
3407
|
}
|
|
2880
3408
|
|
|
2881
|
-
var css$F = {"done":"
|
|
3409
|
+
var css$F = {"done":"Hp6d9O","container":"W4n9iR"};
|
|
2882
3410
|
|
|
2883
3411
|
const PickerBodyMobileView = (props) => {
|
|
2884
3412
|
const isMobileView = isMobile();
|
|
@@ -2887,32 +3415,8 @@ const PickerBodyMobileView = (props) => {
|
|
|
2887
3415
|
return (React__default.createElement(DropdownContainer, { ...props, maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$F.container, props.cx], autoFocus: true },
|
|
2888
3416
|
isMobileView && React__default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
2889
3417
|
props.children,
|
|
2890
|
-
isMobileView && React__default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$F.done, size: settings.sizes.
|
|
2891
|
-
};
|
|
2892
|
-
|
|
2893
|
-
var _path$r, _path2$4;
|
|
2894
|
-
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); }
|
|
2895
|
-
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
2896
|
-
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
2897
|
-
width: 66,
|
|
2898
|
-
height: 67,
|
|
2899
|
-
viewBox: "0 0 66 67",
|
|
2900
|
-
fill: "none",
|
|
2901
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2902
|
-
ref: ref
|
|
2903
|
-
}, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
2904
|
-
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",
|
|
2905
|
-
fill: "#EBEDF5"
|
|
2906
|
-
})), _path2$4 || (_path2$4 = /*#__PURE__*/React.createElement("path", {
|
|
2907
|
-
fillRule: "evenodd",
|
|
2908
|
-
clipRule: "evenodd",
|
|
2909
|
-
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",
|
|
2910
|
-
fill: "#6C6F80"
|
|
2911
|
-
})));
|
|
3418
|
+
isMobileView && (React__default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$F.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
|
|
2912
3419
|
};
|
|
2913
|
-
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
2914
|
-
|
|
2915
|
-
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"};
|
|
2916
3420
|
|
|
2917
3421
|
const mergeHighlightRanges = (ranges) => {
|
|
2918
3422
|
const mergedRanges = [];
|
|
@@ -2979,27 +3483,29 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
2979
3483
|
return getDecoratedText(str, ranges);
|
|
2980
3484
|
};
|
|
2981
3485
|
|
|
2982
|
-
var css$
|
|
3486
|
+
var css$E = {"root":"rCIvMT","column-gap":"ILldhK","columnGap":"ILldhK","title":"magf6q","subtitle":"_17ltOR","disabled":"AofeyH","multiline":"U314R-"};
|
|
2983
3487
|
|
|
2984
3488
|
function PickerItem(props) {
|
|
2985
|
-
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon,
|
|
2986
|
-
const itemSize = size || settings.sizes.
|
|
3489
|
+
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
3490
|
+
const itemSize = size || settings.pickerInput.sizes.body.row;
|
|
2987
3491
|
const isMultiline = !!(props.title && props.subtitle);
|
|
2988
3492
|
const { search } = props.dataSourceState ?? {};
|
|
2989
3493
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
2990
3494
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(props.subtitle, search) : props.subtitle;
|
|
2991
|
-
return (React.createElement(FlexCell, { width: "auto", cx: [css$
|
|
2992
|
-
React.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$
|
|
2993
|
-
avatarUrl && (React.createElement(Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline)
|
|
3495
|
+
return (React.createElement(FlexCell, { width: "auto", cx: [css$E.root, 'uui-picker_input-item', 'uui-typography', props.cx] },
|
|
3496
|
+
React.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` } } },
|
|
3497
|
+
avatarUrl && (React.createElement(Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline) })),
|
|
2994
3498
|
icon && React.createElement(IconContainer, { icon: icon }),
|
|
2995
3499
|
React.createElement(FlexCell, { width: "auto" },
|
|
2996
|
-
title && (React.createElement(
|
|
2997
|
-
subtitle && (React.createElement(
|
|
3500
|
+
title && (React.createElement("div", { className: cx(css$E.title, isDisabled && css$E.disabled, `uui-size-${itemSize}`) }, title)),
|
|
3501
|
+
subtitle && (React.createElement("div", { className: cx(css$E.subtitle, isDisabled && css$E.disabled, `uui-size-${itemSize}`) }, subtitle))))));
|
|
2998
3502
|
}
|
|
2999
3503
|
function getAvatarSize(size, isMultiline) {
|
|
3000
|
-
return settings.sizes.
|
|
3504
|
+
return settings.pickerInput.sizes.body[isMultiline ? 'itemAvatarMultilineMap' : 'itemAvatarMap'][size];
|
|
3001
3505
|
}
|
|
3002
3506
|
|
|
3507
|
+
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"};
|
|
3508
|
+
|
|
3003
3509
|
function PickerModal(props) {
|
|
3004
3510
|
const { view, selection, dataSourceStateLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = usePickerModal(props);
|
|
3005
3511
|
const getSubtitle = ({ path }, { search }) => {
|
|
@@ -3012,10 +3518,10 @@ function PickerModal(props) {
|
|
|
3012
3518
|
};
|
|
3013
3519
|
const renderItem = (item, rowProps, dsState) => {
|
|
3014
3520
|
const { flattenSearchResults } = view.getConfig();
|
|
3015
|
-
return (React__default.createElement(PickerItem, { title: getName(item),
|
|
3521
|
+
return (React__default.createElement(PickerItem, { title: getName(item), dataSourceState: dsState, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3016
3522
|
};
|
|
3017
3523
|
const renderRow = (rowProps) => {
|
|
3018
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, padding: "24",
|
|
3524
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, padding: "24", renderItem: (item, itemProps) => renderItem(item, itemProps, dataSourceState) }));
|
|
3019
3525
|
};
|
|
3020
3526
|
const renderFooter = () => {
|
|
3021
3527
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
@@ -3028,17 +3534,17 @@ function PickerModal(props) {
|
|
|
3028
3534
|
React__default.createElement(Button, { color: "primary", caption: i18n.pickerModal.selectButton, onClick: () => props.success(selection) })));
|
|
3029
3535
|
};
|
|
3030
3536
|
const renderNotFound = () => {
|
|
3031
|
-
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__default.createElement("div", { className: css$
|
|
3032
|
-
React__default.createElement(IconContainer, { cx: css$
|
|
3033
|
-
React__default.createElement(Text, { cx: css$
|
|
3034
|
-
React__default.createElement(Text, { cx: css$
|
|
3537
|
+
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__default.createElement("div", { className: css$D.noFoundModalContainer },
|
|
3538
|
+
React__default.createElement(IconContainer, { cx: css$D.noFoundModalContainerIcon, icon: settings.pickerInput.icons.body.modalNotFoundSearchIcon }),
|
|
3539
|
+
React__default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontWeight: "600", fontSize: "16", lineHeight: "24", color: "primary" }, i18n.dataPickerBody.noRecordsMessage),
|
|
3540
|
+
React__default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
3035
3541
|
};
|
|
3036
3542
|
const dataRows = getRows();
|
|
3037
3543
|
const rows = dataRows.map((row) => renderRow(row));
|
|
3038
3544
|
return (React__default.createElement(ModalBlocker, { ...props },
|
|
3039
3545
|
React__default.createElement(ModalWindow, { width: 600, height: 700 },
|
|
3040
3546
|
React__default.createElement(ModalHeader, { title: props.caption || i18n.pickerModal.headerTitle, onClose: () => props.abort() }),
|
|
3041
|
-
React__default.createElement(FlexCell, { cx: css$
|
|
3547
|
+
React__default.createElement(FlexCell, { cx: css$D.subHeaderWrapper },
|
|
3042
3548
|
React__default.createElement(FlexRow, { vPadding: "24" },
|
|
3043
3549
|
React__default.createElement(SearchInput, { ...dataSourceStateLens.prop('search').toProps(), onKeyDown: (e) => handleDataSourceKeyboard({
|
|
3044
3550
|
value: getDataSourceState(),
|
|
@@ -3047,19 +3553,19 @@ function PickerModal(props) {
|
|
|
3047
3553
|
rows: dataRows,
|
|
3048
3554
|
searchPosition: 'body',
|
|
3049
3555
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder, rawProps: { dir: 'auto' } })),
|
|
3050
|
-
!isSingleSelect() && (React__default.createElement(Switch, { cx: css$
|
|
3556
|
+
!isSingleSelect() && (React__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" })),
|
|
3051
3557
|
props.renderFilter && React__default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
3052
3558
|
React__default.createElement(DataPickerBody, { ...getListProps(), value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" }),
|
|
3053
|
-
React__default.createElement(ModalFooter,
|
|
3559
|
+
React__default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3054
3560
|
}
|
|
3055
3561
|
|
|
3056
|
-
var css$C = {"tooltip":"
|
|
3562
|
+
var css$C = {"tooltip":"W13Z6-"};
|
|
3057
3563
|
|
|
3058
3564
|
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3059
3565
|
const tagProps = {
|
|
3060
3566
|
...props,
|
|
3061
3567
|
tabIndex: -1,
|
|
3062
|
-
size: settings.sizes.
|
|
3568
|
+
size: settings.pickerInput.sizes.toggler.tagMap[props.size],
|
|
3063
3569
|
caption: props.rowProps?.isLoading ? React.createElement(TextPlaceholder, null) : props.caption,
|
|
3064
3570
|
};
|
|
3065
3571
|
if (props.isCollapsed) {
|
|
@@ -3072,26 +3578,26 @@ const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3072
3578
|
}
|
|
3073
3579
|
});
|
|
3074
3580
|
|
|
3075
|
-
var css$B = {"root":"
|
|
3581
|
+
var css$B = {"root":"rCoQlF","mode-form":"K6TUt-","modeForm":"K6TUt-","mode-cell":"NUa-OE","modeCell":"NUa-OE","mode-inline":"_2x-uYn","modeInline":"_2x-uYn"};
|
|
3076
3582
|
|
|
3077
3583
|
const defaultMode = EditMode.FORM;
|
|
3078
3584
|
function applyPickerTogglerMods(mods) {
|
|
3079
3585
|
return [
|
|
3080
3586
|
css$B.root,
|
|
3081
3587
|
'uui-picker_toggler',
|
|
3082
|
-
`uui-size-${mods.size || settings.sizes.
|
|
3588
|
+
`uui-size-${mods.size || settings.pickerInput.sizes.toggler.default}`,
|
|
3083
3589
|
css$B['mode-' + (mods.mode || defaultMode)],
|
|
3084
3590
|
];
|
|
3085
3591
|
}
|
|
3086
3592
|
function PickerTogglerComponent(props, ref) {
|
|
3087
3593
|
const renderItem = (itemProps) => {
|
|
3088
|
-
const itemPropsWithSize = { ...itemProps, size:
|
|
3594
|
+
const itemPropsWithSize = { ...itemProps, size: props.size || settings.pickerInput.sizes.toggler.tag };
|
|
3089
3595
|
if (!!props.renderItem) {
|
|
3090
3596
|
return props.renderItem(itemPropsWithSize);
|
|
3091
3597
|
}
|
|
3092
3598
|
return (React.createElement(PickerTogglerTag, { ...itemPropsWithSize, getName: props.getName }));
|
|
3093
3599
|
};
|
|
3094
|
-
return (React.createElement(PickerToggler$1, { ...props, ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon:
|
|
3600
|
+
return (React.createElement(PickerToggler$1, { ...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 }));
|
|
3095
3601
|
}
|
|
3096
3602
|
const PickerToggler = /* @__PURE__ */React.forwardRef(PickerTogglerComponent);
|
|
3097
3603
|
|
|
@@ -3131,15 +3637,15 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3131
3637
|
};
|
|
3132
3638
|
const renderFooter = () => {
|
|
3133
3639
|
const footerProps = getFooterProps();
|
|
3134
|
-
return props.renderFooter
|
|
3640
|
+
return props.renderFooter
|
|
3641
|
+
? props.renderFooter(footerProps)
|
|
3642
|
+
: React__default.createElement(DataPickerFooter, { ...footerProps, size: props.size || settings.pickerInput.sizes.body.row });
|
|
3135
3643
|
};
|
|
3136
3644
|
const getRowSize = () => {
|
|
3137
3645
|
if (isMobile()) {
|
|
3138
|
-
return settings.sizes.
|
|
3646
|
+
return settings.pickerInput.sizes.body.mobileRow;
|
|
3139
3647
|
}
|
|
3140
|
-
return props.
|
|
3141
|
-
? settings.sizes.pickerInput.body.modal.row
|
|
3142
|
-
: (props.size || settings.sizes.pickerInput.body.dropdown.row.default);
|
|
3648
|
+
return props.size || settings.pickerInput.sizes.body.row;
|
|
3143
3649
|
};
|
|
3144
3650
|
const getSubtitle = ({ path }, { search }) => {
|
|
3145
3651
|
if (!search)
|
|
@@ -3154,13 +3660,13 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3154
3660
|
return (React__default.createElement(PickerItem, { title: getName(item), size: getRowSize(), dataSourceState: dsState, highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3155
3661
|
};
|
|
3156
3662
|
const renderRow = (rowProps, dsState) => {
|
|
3157
|
-
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding:
|
|
3663
|
+
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__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) }));
|
|
3158
3664
|
};
|
|
3159
3665
|
const renderBody = (bodyProps, rows) => {
|
|
3160
3666
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
3161
|
-
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.sizes.
|
|
3162
|
-
const minBodyWidth = props.minBodyWidth || settings.sizes.
|
|
3163
|
-
return (React__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' },
|
|
3667
|
+
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.pickerInput.sizes.body.maxHeight;
|
|
3668
|
+
const minBodyWidth = props.minBodyWidth || settings.pickerInput.sizes.body.minWidth;
|
|
3669
|
+
return (React__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' },
|
|
3164
3670
|
React__default.createElement(DataPickerBody, { ...bodyProps, rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode }),
|
|
3165
3671
|
renderFooter()));
|
|
3166
3672
|
};
|
|
@@ -3173,7 +3679,7 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3173
3679
|
}
|
|
3174
3680
|
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
3175
3681
|
|
|
3176
|
-
var css$A = {"row":"
|
|
3682
|
+
var css$A = {"row":"mDnKOK"};
|
|
3177
3683
|
|
|
3178
3684
|
function PickerListItem(props) {
|
|
3179
3685
|
let label;
|
|
@@ -3193,7 +3699,7 @@ function PickerListItem(props) {
|
|
|
3193
3699
|
return (React__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));
|
|
3194
3700
|
}
|
|
3195
3701
|
|
|
3196
|
-
var css$z = {"root":"
|
|
3702
|
+
var css$z = {"root":"A7Wa-A"};
|
|
3197
3703
|
|
|
3198
3704
|
function PickerList(props) {
|
|
3199
3705
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = usePickerList(props);
|
|
@@ -3228,7 +3734,7 @@ function PickerList(props) {
|
|
|
3228
3734
|
}, selectedRows)));
|
|
3229
3735
|
}
|
|
3230
3736
|
|
|
3231
|
-
var css$y = {"root":"
|
|
3737
|
+
var css$y = {"root":"_1XdjbN","wrapper":"qzABZz","align-widgets-top":"_1Dc-ud","alignWidgetsTop":"_1Dc-ud","align-widgets-center":"ARkF0y","alignWidgetsCenter":"ARkF0y"};
|
|
3232
3738
|
|
|
3233
3739
|
function DataTableCell(initialProps) {
|
|
3234
3740
|
const props = { ...initialProps };
|
|
@@ -3236,48 +3742,48 @@ function DataTableCell(initialProps) {
|
|
|
3236
3742
|
props.addons = React.createElement(DataRowAddons, { size: props.size, ...props });
|
|
3237
3743
|
}
|
|
3238
3744
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3239
|
-
|| (() => (React.createElement(Text, { key: "t", size:
|
|
3745
|
+
|| (() => (React.createElement(Text, { key: "t", size: props.size },
|
|
3240
3746
|
React.createElement(TextPlaceholder, { isNotAnimated: true }))));
|
|
3241
3747
|
props.renderUnknown = props.renderUnknown
|
|
3242
|
-
|| (() => (React.createElement(Text, { key: "t", size:
|
|
3748
|
+
|| (() => (React.createElement(Text, { key: "t", size: props.size }, "Unknown")));
|
|
3243
3749
|
props.renderTooltip = (tooltipProps) => React.createElement(Tooltip, { color: "critical", ...tooltipProps });
|
|
3244
3750
|
const isEditable = !!props.onValueChange;
|
|
3245
3751
|
const getLeftPadding = () => {
|
|
3246
3752
|
const { rowProps: { isLoading }, columnsGap, isFirstColumn } = props;
|
|
3247
3753
|
if (isFirstColumn && isEditable && !isLoading)
|
|
3248
|
-
return
|
|
3754
|
+
return 'var(--uui-dt-cell-padding)';
|
|
3249
3755
|
if (isEditable && !isLoading)
|
|
3250
|
-
return '
|
|
3756
|
+
return '0px';
|
|
3251
3757
|
if (columnsGap)
|
|
3252
|
-
return isFirstColumn ? columnsGap : +columnsGap / 2
|
|
3253
|
-
return isFirstColumn ?
|
|
3758
|
+
return isFirstColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3759
|
+
return `var(--uui-dt-cell-padding${isFirstColumn ? '-edge' : ''})`;
|
|
3254
3760
|
};
|
|
3255
3761
|
const getRightPadding = () => {
|
|
3256
3762
|
const { rowProps: { isLoading }, columnsGap, isLastColumn } = props;
|
|
3257
3763
|
if (isEditable && !isLoading)
|
|
3258
|
-
return '
|
|
3764
|
+
return '0px';
|
|
3259
3765
|
if (columnsGap)
|
|
3260
|
-
return isLastColumn ? columnsGap : +columnsGap / 2
|
|
3261
|
-
return isLastColumn ?
|
|
3766
|
+
return isLastColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3767
|
+
return `var(--uui-dt-cell-padding${isLastColumn ? '-edge' : ''})`;
|
|
3262
3768
|
};
|
|
3263
3769
|
props.cx = [
|
|
3264
3770
|
'data-table-cell',
|
|
3265
3771
|
css$y.root,
|
|
3266
3772
|
props.cx,
|
|
3267
|
-
'uui-size-' + (props.size || settings.sizes.
|
|
3773
|
+
'uui-size-' + (props.size || settings.dataTable.sizes.body.row),
|
|
3268
3774
|
props.isFirstColumn && 'uui-dt-first-column',
|
|
3269
3775
|
props.isLastColumn && 'uui-dt-last-column',
|
|
3270
3776
|
css$y[`align-widgets-${props.alignActions || 'top'}`],
|
|
3271
3777
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
3272
3778
|
];
|
|
3273
3779
|
props.style = {
|
|
3274
|
-
'--uui-dt-cell-padding-start':
|
|
3275
|
-
'--uui-dt-cell-padding-end':
|
|
3780
|
+
'--uui-dt-cell-padding-start': getLeftPadding(),
|
|
3781
|
+
'--uui-dt-cell-padding-end': getRightPadding(),
|
|
3276
3782
|
};
|
|
3277
3783
|
return React.createElement(DataTableCell$1, { ...props });
|
|
3278
3784
|
}
|
|
3279
3785
|
|
|
3280
|
-
var css$x = {"root":"
|
|
3786
|
+
var css$x = {"root":"u8eQGK"};
|
|
3281
3787
|
|
|
3282
3788
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3283
3789
|
// 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.
|
|
@@ -3289,48 +3795,18 @@ const renderDropMarkers = ({ ref, ...props }) => React.createElement(DropMarker,
|
|
|
3289
3795
|
const propsMods = { renderCell, renderDropMarkers };
|
|
3290
3796
|
const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = true, size }) => {
|
|
3291
3797
|
return [
|
|
3292
|
-
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.sizes.
|
|
3798
|
+
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.dataTable.sizes.body.row}`,
|
|
3293
3799
|
];
|
|
3294
3800
|
}, () => propsMods);
|
|
3295
3801
|
|
|
3296
|
-
var css$w = {"sorting-panel-container":"
|
|
3297
|
-
|
|
3298
|
-
var _path$q;
|
|
3299
|
-
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); }
|
|
3300
|
-
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
3301
|
-
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
3302
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3303
|
-
width: 24,
|
|
3304
|
-
height: 24,
|
|
3305
|
-
viewBox: "0 0 24 24",
|
|
3306
|
-
ref: ref
|
|
3307
|
-
}, props), _path$q || (_path$q = /*#__PURE__*/React.createElement("path", {
|
|
3308
|
-
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
3309
|
-
})));
|
|
3310
|
-
};
|
|
3311
|
-
var ForwardRef$q = /*#__PURE__*/forwardRef(SvgTableSortAscOutline);
|
|
3312
|
-
|
|
3313
|
-
var _path$p;
|
|
3314
|
-
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); }
|
|
3315
|
-
var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
3316
|
-
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
3317
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3318
|
-
width: 24,
|
|
3319
|
-
height: 24,
|
|
3320
|
-
viewBox: "0 0 24 24",
|
|
3321
|
-
ref: ref
|
|
3322
|
-
}, props), _path$p || (_path$p = /*#__PURE__*/React.createElement("path", {
|
|
3323
|
-
d: "M13 3v14.175l1.6-1.575L16 17l-4 4-4-4 1.4-1.4 1.6 1.575V3h2z"
|
|
3324
|
-
})));
|
|
3325
|
-
};
|
|
3326
|
-
var ForwardRef$p = /*#__PURE__*/forwardRef(SvgTableSortDescOutline);
|
|
3802
|
+
var css$w = {"sorting-panel-container":"C87L3Z","sortingPanelContainer":"C87L3Z"};
|
|
3327
3803
|
|
|
3328
3804
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3329
3805
|
const sortAsc = useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
3330
3806
|
const sortDesc = useCallback(() => onSort(sortDirection === 'desc' ? undefined : 'desc'), [onSort]);
|
|
3331
3807
|
return (React__default.createElement(FlexCell, { cx: cx$1(css$w.sortingPanelContainer, 'uui-dropdownMenu-body') },
|
|
3332
|
-
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon:
|
|
3333
|
-
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon:
|
|
3808
|
+
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: settings.dataTable.icons.header.ascSortIcon, onClick: sortAsc }),
|
|
3809
|
+
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: settings.dataTable.icons.header.descSortIcon, onClick: sortDesc })));
|
|
3334
3810
|
};
|
|
3335
3811
|
const SortingPanel = /* @__PURE__ */React__default.memo(SortingPanelImpl);
|
|
3336
3812
|
|
|
@@ -3348,82 +3824,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3348
3824
|
};
|
|
3349
3825
|
const ColumnHeaderDropdown = /* @__PURE__ */React__default.memo(ColumnHeaderDropdownImpl);
|
|
3350
3826
|
|
|
3351
|
-
var
|
|
3352
|
-
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); }
|
|
3353
|
-
var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
3354
|
-
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
3355
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3356
|
-
width: 24,
|
|
3357
|
-
height: 24,
|
|
3358
|
-
viewBox: "0 0 24 24",
|
|
3359
|
-
ref: ref
|
|
3360
|
-
}, props), _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
3361
|
-
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"
|
|
3362
|
-
})));
|
|
3363
|
-
};
|
|
3364
|
-
var ForwardRef$o = /*#__PURE__*/forwardRef(SvgTableSwapOutline);
|
|
3365
|
-
|
|
3366
|
-
var _path$n;
|
|
3367
|
-
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); }
|
|
3368
|
-
var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
3369
|
-
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
3370
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3371
|
-
width: 24,
|
|
3372
|
-
height: 24,
|
|
3373
|
-
viewBox: "0 0 24 24",
|
|
3374
|
-
ref: ref
|
|
3375
|
-
}, props), _path$n || (_path$n = /*#__PURE__*/React.createElement("path", {
|
|
3376
|
-
d: "M14 13v8l-4-2v-6L2.95 4h18.1L14 13z"
|
|
3377
|
-
})));
|
|
3378
|
-
};
|
|
3379
|
-
var ForwardRef$n = /*#__PURE__*/forwardRef(SvgContentFiltrationFill);
|
|
3380
|
-
|
|
3381
|
-
var _path$m;
|
|
3382
|
-
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); }
|
|
3383
|
-
var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props, ref) {
|
|
3384
|
-
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
3385
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3386
|
-
width: 24,
|
|
3387
|
-
height: 24,
|
|
3388
|
-
viewBox: "0 0 24 24",
|
|
3389
|
-
ref: ref
|
|
3390
|
-
}, props), _path$m || (_path$m = /*#__PURE__*/React.createElement("path", {
|
|
3391
|
-
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
3392
|
-
})));
|
|
3393
|
-
};
|
|
3394
|
-
var ForwardRef$m = /*#__PURE__*/forwardRef(SvgNavigationChevronUpOutline);
|
|
3395
|
-
|
|
3396
|
-
var _path$l;
|
|
3397
|
-
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); }
|
|
3398
|
-
var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(props, ref) {
|
|
3399
|
-
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
3400
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3401
|
-
width: 24,
|
|
3402
|
-
height: 24,
|
|
3403
|
-
viewBox: "0 0 24 24",
|
|
3404
|
-
ref: ref
|
|
3405
|
-
}, props), _path$l || (_path$l = /*#__PURE__*/React.createElement("path", {
|
|
3406
|
-
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"
|
|
3407
|
-
})));
|
|
3408
|
-
};
|
|
3409
|
-
var ForwardRef$l = /*#__PURE__*/forwardRef(SvgNavigationCollapseAllOutline);
|
|
3410
|
-
|
|
3411
|
-
var _path$k;
|
|
3412
|
-
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); }
|
|
3413
|
-
var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props, ref) {
|
|
3414
|
-
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
3415
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3416
|
-
width: 24,
|
|
3417
|
-
height: 24,
|
|
3418
|
-
viewBox: "0 0 24 24",
|
|
3419
|
-
ref: ref
|
|
3420
|
-
}, props), _path$k || (_path$k = /*#__PURE__*/React.createElement("path", {
|
|
3421
|
-
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"
|
|
3422
|
-
})));
|
|
3423
|
-
};
|
|
3424
|
-
var ForwardRef$k = /*#__PURE__*/forwardRef(SvgNavigationExpandAllOutline);
|
|
3425
|
-
|
|
3426
|
-
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"};
|
|
3827
|
+
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"};
|
|
3427
3828
|
|
|
3428
3829
|
class DataTableHeaderCell extends React.Component {
|
|
3429
3830
|
constructor() {
|
|
@@ -3436,22 +3837,23 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3436
3837
|
column.info && (React.createElement(Text, { cx: [css$v.cellTooltipText, css$v.tooltipInfo] }, column.info))));
|
|
3437
3838
|
this.getColumnCaption = () => {
|
|
3438
3839
|
const renderTooltip = this.props.column.renderTooltip || this.getTooltipContent;
|
|
3439
|
-
const captionCx = [
|
|
3840
|
+
const captionCx = cx$1([
|
|
3440
3841
|
css$v.caption,
|
|
3441
3842
|
this.props.textCase === 'upper' && css$v.upperCase,
|
|
3442
3843
|
uuiDataTableHeaderCell.uuiTableHeaderCaption,
|
|
3443
|
-
|
|
3444
|
-
|
|
3844
|
+
'uui-typography-inline',
|
|
3845
|
+
this.props.size >= '48' && css$v.truncate,
|
|
3846
|
+
]);
|
|
3445
3847
|
return (React.createElement("div", { className: cx$1(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3446
3848
|
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: css$v.cellTooltip, openDelay: 600 },
|
|
3447
|
-
React.createElement(
|
|
3448
|
-
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: this.props.sortDirection === 'desc' ?
|
|
3449
|
-
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon:
|
|
3450
|
-
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$v.icon, css$v.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ?
|
|
3849
|
+
React.createElement("div", { key: "text", className: captionCx }, this.props.column.caption)),
|
|
3850
|
+
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: settings.dataTable.icons.header[this.props.sortDirection === 'desc' ? 'descSortIcon' : this.props.sortDirection === 'asc' ? 'ascSortIcon' : 'defaultSortIcon'] })),
|
|
3851
|
+
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: settings.dataTable.icons.header.filterIcon })),
|
|
3852
|
+
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$v.icon, css$v.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: settings.dataTable.icons.header[this.state.isDropdownOpen ? 'openedDropdownIcon' : 'dropdownIcon'] }))));
|
|
3451
3853
|
};
|
|
3452
3854
|
this.renderHeaderCheckbox = () => {
|
|
3453
3855
|
if (this.props.selectAll && this.props.isFirstColumn) {
|
|
3454
|
-
return (React.createElement(Checkbox, { size: settings.
|
|
3856
|
+
return (React.createElement(Checkbox, { size: settings.dataTable.sizes.body.checkboxMap[this.props.size], ...this.props.selectAll, cx: cx$1(css$v.checkbox, uuiDataTableHeaderCell.uuiTableHeaderCheckbox) }));
|
|
3455
3857
|
}
|
|
3456
3858
|
};
|
|
3457
3859
|
this.renderFoldAllIcon = () => {
|
|
@@ -3459,7 +3861,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3459
3861
|
return (React.createElement(Tooltip, { content: this.props.areAllFolded
|
|
3460
3862
|
? i18n.tables.columnHeader.expandAllTooltip
|
|
3461
3863
|
: i18n.tables.columnHeader.collapseAllTooltip },
|
|
3462
|
-
React.createElement(IconButton, { color: "secondary", cx: cx$1(css$v.icon, css$v.foldAllIcon, uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon: this.props.areAllFolded ?
|
|
3864
|
+
React.createElement(IconButton, { color: "secondary", cx: cx$1(css$v.icon, css$v.foldAllIcon, uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon: settings.dataTable.icons.header[this.props.areAllFolded ? 'unfoldIcon' : 'foldIcon'], onClick: this.props.onFoldAll, rawProps: {
|
|
3463
3865
|
'aria-label': this.props.areAllFolded ? 'Expand All' : 'Collapse All',
|
|
3464
3866
|
'aria-expanded': !!this.props.areAllFolded,
|
|
3465
3867
|
} })));
|
|
@@ -3471,32 +3873,32 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3471
3873
|
this.getLeftPadding = () => {
|
|
3472
3874
|
const { columnsGap, isFirstColumn } = this.props;
|
|
3473
3875
|
if (columnsGap)
|
|
3474
|
-
return isFirstColumn ? columnsGap : +columnsGap / 2
|
|
3475
|
-
return isFirstColumn ?
|
|
3876
|
+
return isFirstColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3877
|
+
return `var(--uui-dt-header-cell-padding${isFirstColumn ? '-edge' : ''})`;
|
|
3476
3878
|
};
|
|
3477
3879
|
this.getRightPadding = () => {
|
|
3478
3880
|
const { columnsGap, isLastColumn } = this.props;
|
|
3479
3881
|
if (columnsGap)
|
|
3480
|
-
return isLastColumn ? columnsGap : +columnsGap / 2
|
|
3481
|
-
return isLastColumn ?
|
|
3882
|
+
return isLastColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3883
|
+
return `var(--uui-dt-header-cell-padding${isLastColumn ? '-edge' : ''})`;
|
|
3482
3884
|
};
|
|
3483
3885
|
this.getResizingMarkerWidth = () => {
|
|
3484
3886
|
const { columnsGap } = this.props;
|
|
3485
|
-
return columnsGap ? +columnsGap / 2 :
|
|
3887
|
+
return columnsGap ? `${+columnsGap / 2}px` : 'var(--uui-resize-marker-width)';
|
|
3486
3888
|
};
|
|
3487
3889
|
this.renderCellContent = (props, dropdownProps) => {
|
|
3488
3890
|
const isResizable = this.props.column.allowResizing ?? this.props.allowColumnsResizing;
|
|
3489
3891
|
const onClickEvent = !props.isResizing && (!this.props.column.renderFilter ? props.toggleSort : dropdownProps?.onClick);
|
|
3490
3892
|
const computeStyles = {
|
|
3491
|
-
'--uui-dt-header-cell-icon-size': `${settings.sizes.
|
|
3492
|
-
'--uui-dt-header-cell-padding-start':
|
|
3493
|
-
'--uui-dt-header-cell-padding-end':
|
|
3494
|
-
'--uui-dt-header-cell-resizing-marker-width':
|
|
3893
|
+
'--uui-dt-header-cell-icon-size': `${settings.dataTable.sizes.header.iconMap[this.props.size || settings.dataTable.sizes.header.row]}px`,
|
|
3894
|
+
'--uui-dt-header-cell-padding-start': this.getLeftPadding(),
|
|
3895
|
+
'--uui-dt-header-cell-padding-end': this.getRightPadding(),
|
|
3896
|
+
'--uui-dt-header-cell-resizing-marker-width': this.getResizingMarkerWidth(),
|
|
3495
3897
|
};
|
|
3496
3898
|
return (React.createElement(DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
3497
3899
|
props.ref(ref);
|
|
3498
3900
|
dropdownProps?.ref?.(ref);
|
|
3499
|
-
}, cx: cx$1(uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiMarkers.clickable, css$v.root, `uui-size-${this.props.size || settings.sizes.
|
|
3901
|
+
}, cx: cx$1(uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && 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: {
|
|
3500
3902
|
role: 'columnheader',
|
|
3501
3903
|
'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none',
|
|
3502
3904
|
...props.eventHandlers,
|
|
@@ -3516,66 +3918,32 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3516
3918
|
}
|
|
3517
3919
|
}
|
|
3518
3920
|
|
|
3519
|
-
var
|
|
3520
|
-
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); }
|
|
3521
|
-
var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
3522
|
-
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
3523
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3524
|
-
width: 24,
|
|
3525
|
-
height: 24,
|
|
3526
|
-
viewBox: "0 0 24 24",
|
|
3527
|
-
ref: ref
|
|
3528
|
-
}, props), _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
3529
|
-
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"
|
|
3530
|
-
})));
|
|
3531
|
-
};
|
|
3532
|
-
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgActionSettingsFill);
|
|
3533
|
-
|
|
3534
|
-
var css$u = {"root":"_7G-aol"};
|
|
3535
|
-
|
|
3536
|
-
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"};
|
|
3921
|
+
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"};
|
|
3537
3922
|
|
|
3538
3923
|
class DataTableHeaderGroupCell extends React.Component {
|
|
3539
3924
|
constructor() {
|
|
3540
3925
|
super(...arguments);
|
|
3541
|
-
this.getTooltipContent = (column) => (React.createElement("div", { className: cx$1(css$
|
|
3542
|
-
React.createElement(Text, { cx: [css$
|
|
3543
|
-
column.info && (React.createElement(Text, { cx: [css$
|
|
3926
|
+
this.getTooltipContent = (column) => (React.createElement("div", { className: cx$1(css$u.groupCellTooltipWrapper, uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionTooltip) },
|
|
3927
|
+
React.createElement(Text, { cx: [css$u.groupCellTooltipText, css$u.tooltipCaption] }, column.caption),
|
|
3928
|
+
column.info && (React.createElement(Text, { cx: [css$u.groupCellTooltipText, css$u.tooltipInfo] }, column.info))));
|
|
3544
3929
|
this.getColumnCaption = () => {
|
|
3545
3930
|
const renderTooltip = this.props.group.renderTooltip || this.getTooltipContent;
|
|
3546
|
-
const captionCx =
|
|
3547
|
-
|
|
3548
|
-
this.props.
|
|
3549
|
-
|
|
3550
|
-
settings.sizes.dataTable.header.row.groupCell.truncate.includes(this.props.size) && css$t.truncate,
|
|
3551
|
-
];
|
|
3552
|
-
return (React.createElement("div", { className: cx$1(css$t.captionWrapper, css$t['align-' + this.props.group.textAlign], uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionWrapper) },
|
|
3553
|
-
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.group), cx: css$t.groupCellTooltip, openDelay: 600 },
|
|
3554
|
-
React.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))));
|
|
3931
|
+
const captionCx = cx$1(css$u.caption, this.props.textCase === 'upper' && css$u.upperCase, uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaption, 'uui-typography-inline', this.props.size >= '48' && css$u.truncate);
|
|
3932
|
+
return (React.createElement("div", { className: cx$1(css$u.captionWrapper, css$u['align-' + this.props.group.textAlign], uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionWrapper) },
|
|
3933
|
+
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.group), cx: css$u.groupCellTooltip, openDelay: 600 },
|
|
3934
|
+
React.createElement("div", { key: "text", className: captionCx }, this.props.group.caption))));
|
|
3555
3935
|
};
|
|
3556
3936
|
this.getLeftPadding = () => {
|
|
3557
3937
|
const { columnsGap, isFirstCell } = this.props;
|
|
3558
3938
|
if (columnsGap)
|
|
3559
|
-
return isFirstCell ? columnsGap : +columnsGap / 2
|
|
3560
|
-
return isFirstCell ?
|
|
3939
|
+
return isFirstCell ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3940
|
+
return `var(--uui-dt-header-group-cell-padding${isFirstCell ? '-edge' : ''})`;
|
|
3561
3941
|
};
|
|
3562
3942
|
this.getRightPadding = () => {
|
|
3563
3943
|
const { columnsGap, isLastCell } = this.props;
|
|
3564
3944
|
if (columnsGap)
|
|
3565
|
-
return isLastCell ? columnsGap : +columnsGap / 2
|
|
3566
|
-
return isLastCell ?
|
|
3567
|
-
};
|
|
3568
|
-
this.renderCellContent = (props) => {
|
|
3569
|
-
const computeStyles = {
|
|
3570
|
-
'--uui-dt-header-group-cell-padding-start': `${this.getLeftPadding()}px`,
|
|
3571
|
-
'--uui-dt-header-group-cell-padding-end': `${this.getRightPadding()}px`,
|
|
3572
|
-
};
|
|
3573
|
-
return (React.createElement(DataTableCellContainer, { column: this.props.group, ref: (ref) => {
|
|
3574
|
-
props.ref(ref);
|
|
3575
|
-
}, cx: cx$1(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: {
|
|
3576
|
-
role: 'columnheader',
|
|
3577
|
-
...props.eventHandlers,
|
|
3578
|
-
}, style: computeStyles }, this.getColumnCaption()));
|
|
3945
|
+
return isLastCell ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3946
|
+
return `var(--uui-dt-header-group-cell-padding${isLastCell ? '-edge' : ''})`;
|
|
3579
3947
|
};
|
|
3580
3948
|
}
|
|
3581
3949
|
render() {
|
|
@@ -3583,17 +3951,19 @@ class DataTableHeaderGroupCell extends React.Component {
|
|
|
3583
3951
|
return this.props.group.renderHeaderCell(this.props);
|
|
3584
3952
|
}
|
|
3585
3953
|
const computeStyles = {
|
|
3586
|
-
'--uui-dt-header-group-cell-padding-start':
|
|
3587
|
-
'--uui-dt-header-group-cell-padding-end':
|
|
3954
|
+
'--uui-dt-header-group-cell-padding-start': this.getLeftPadding(),
|
|
3955
|
+
'--uui-dt-header-group-cell-padding-end': this.getRightPadding(),
|
|
3588
3956
|
};
|
|
3589
|
-
return (React.createElement(DataTableCellContainer, { column: this.props.group, cx: cx$1(uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$
|
|
3957
|
+
return (React.createElement(DataTableCellContainer, { column: this.props.group, cx: cx$1(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()));
|
|
3590
3958
|
}
|
|
3591
3959
|
}
|
|
3592
3960
|
|
|
3593
|
-
|
|
3961
|
+
var css$t = {"root":"C98oWG"};
|
|
3962
|
+
|
|
3963
|
+
const DataTableHeaderRow = /* @__PURE__ */withMods(DataTableHeaderRow$1, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
3594
3964
|
renderCell: (props) => (React.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
3595
3965
|
renderGroupCell: (props) => (React.createElement(DataTableHeaderGroupCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.key, columnsGap: mods.columnsGap })),
|
|
3596
|
-
renderConfigButton: () => (React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.sizes.
|
|
3966
|
+
renderConfigButton: () => (React.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 })),
|
|
3597
3967
|
}));
|
|
3598
3968
|
|
|
3599
3969
|
const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
@@ -3601,15 +3971,14 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
3601
3971
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
3602
3972
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
3603
3973
|
|
|
3604
|
-
var css$s = {"root":"
|
|
3974
|
+
var css$s = {"root":"NYRimP","title-wrapper":"ySAYFb","titleWrapper":"ySAYFb","title":"cZP9sj","text-wrapper":"_5PBzw7","textWrapper":"_5PBzw7","selection":"_7LpIPy","postfix":"_9hXPWM","selected":"_-2c0e0"};
|
|
3605
3975
|
|
|
3606
|
-
const defaultSize = '36';
|
|
3607
3976
|
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3608
3977
|
const togglerPickerOpened = (e) => {
|
|
3609
3978
|
if (props.isDisabled)
|
|
3610
3979
|
return;
|
|
3611
3980
|
e.preventDefault();
|
|
3612
|
-
props.onClick?.();
|
|
3981
|
+
!isEventTargetInsideClickable(e) && props.onClick?.();
|
|
3613
3982
|
};
|
|
3614
3983
|
const onKeyDownHandler = (e) => {
|
|
3615
3984
|
if (props.isDisabled)
|
|
@@ -3627,18 +3996,13 @@ const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3627
3996
|
const getSelectionText = () => props.selection.map((i, index) => (React.createElement(React.Fragment, { key: `${i}${index}` },
|
|
3628
3997
|
React.createElement(Text, { color: "primary", size: props.size, cx: css$s.selection }, i),
|
|
3629
3998
|
(props.postfix || index !== props.selection.length - 1) && React.createElement("span", null, ",\u00A0"))));
|
|
3630
|
-
return (React.createElement(
|
|
3631
|
-
|
|
3632
|
-
role: 'button',
|
|
3633
|
-
tabIndex: props.isDisabled ? -1 : 0,
|
|
3634
|
-
onKeyDown: onKeyDownHandler,
|
|
3635
|
-
}, cx: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `uui-size-${props.size || defaultSize}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
3636
|
-
React.createElement(FlexRow$1, { cx: css$s.titleWrapper },
|
|
3999
|
+
return (React.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `uui-size-${props.size || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
4000
|
+
React.createElement("div", { className: css$s.titleWrapper },
|
|
3637
4001
|
React.createElement(Text, { size: props.size, cx: css$s.title }, getTitle),
|
|
3638
4002
|
props.selection && (React.createElement("div", { className: css$s.textWrapper },
|
|
3639
4003
|
getSelectionText(),
|
|
3640
4004
|
props.postfix && (React.createElement(Text, { color: "primary", size: props.size, cx: css$s.postfix }, props.postfix))))),
|
|
3641
|
-
!props.isDisabled && React.createElement(IconContainer, { icon:
|
|
4005
|
+
!props.isDisabled && React.createElement(IconContainer, { icon: settings.filtersPanel.icons.itemDropdownIcon, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
3642
4006
|
});
|
|
3643
4007
|
|
|
3644
4008
|
const pickerHeight = 300;
|
|
@@ -3665,7 +4029,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
3665
4029
|
};
|
|
3666
4030
|
const renderItem = (item, rowProps, dsState) => {
|
|
3667
4031
|
const { flattenSearchResults } = view.getConfig();
|
|
3668
|
-
return (React.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.sizes.
|
|
4032
|
+
return (React.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.pickerInput.sizes.body.row, ...rowProps }));
|
|
3669
4033
|
};
|
|
3670
4034
|
const onSelect = (row) => {
|
|
3671
4035
|
handleDataSourceValueChange((currentDataSourceState) => ({ ...currentDataSourceState, search: '', selectedId: row.id }));
|
|
@@ -3674,18 +4038,20 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
3674
4038
|
if (rowProps.isSelectable && isSingleSelect() && props.editMode !== 'modal') {
|
|
3675
4039
|
rowProps.onSelect = onSelect;
|
|
3676
4040
|
}
|
|
3677
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.sizes.
|
|
4041
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.pickerInput.sizes.body.row, padding: "12", renderItem: (item, itemProps) => renderItem(item, itemProps, dsState) }));
|
|
3678
4042
|
};
|
|
3679
4043
|
const renderFooter = () => {
|
|
3680
4044
|
const footerProps = getFooterProps();
|
|
3681
|
-
return props.renderFooter
|
|
4045
|
+
return props.renderFooter
|
|
4046
|
+
? props.renderFooter(footerProps)
|
|
4047
|
+
: React.createElement(DataPickerFooter, { ...footerProps, size: settings.pickerInput.sizes.body.row });
|
|
3682
4048
|
};
|
|
3683
4049
|
const renderBody = (bodyProps, rows) => {
|
|
3684
4050
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
3685
4051
|
const maxHeight = isMobile() ? document.documentElement.clientHeight : props.maxBodyHeight || pickerHeight;
|
|
3686
4052
|
const maxWidth = isMobile() ? undefined : 360;
|
|
3687
4053
|
return (React.createElement(React.Fragment, null,
|
|
3688
|
-
React.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.sizes.
|
|
4054
|
+
React.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.pickerInput.sizes.body.row, editMode: "dropdown" }),
|
|
3689
4055
|
renderFooter()));
|
|
3690
4056
|
};
|
|
3691
4057
|
const rows = getRows();
|
|
@@ -3773,7 +4139,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
3773
4139
|
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
3774
4140
|
}
|
|
3775
4141
|
|
|
3776
|
-
var css$r = {"container":"
|
|
4142
|
+
var css$r = {"container":"LYED6-"};
|
|
3777
4143
|
|
|
3778
4144
|
function FilterNumericBody(props) {
|
|
3779
4145
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -3854,22 +4220,22 @@ function FilterItemBody(props) {
|
|
|
3854
4220
|
}
|
|
3855
4221
|
}
|
|
3856
4222
|
|
|
3857
|
-
var _path$
|
|
3858
|
-
function _extends$
|
|
4223
|
+
var _path$a;
|
|
4224
|
+
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); }
|
|
3859
4225
|
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
3860
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4226
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
3861
4227
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3862
4228
|
width: 24,
|
|
3863
4229
|
height: 24,
|
|
3864
4230
|
viewBox: "0 0 24 24",
|
|
3865
4231
|
ref: ref
|
|
3866
|
-
}, props), _path$
|
|
4232
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
3867
4233
|
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
3868
4234
|
})));
|
|
3869
4235
|
};
|
|
3870
|
-
var ForwardRef$
|
|
4236
|
+
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
3871
4237
|
|
|
3872
|
-
var css$q = {"header":"
|
|
4238
|
+
var css$q = {"header":"_8mXhHb","removeButton":"fZWPWN","with-search":"lNmlG0","withSearch":"lNmlG0"};
|
|
3873
4239
|
|
|
3874
4240
|
function useView(props, value) {
|
|
3875
4241
|
const forceUpdate = useForceUpdate();
|
|
@@ -3958,7 +4324,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3958
4324
|
};
|
|
3959
4325
|
const renderHeader = (hideTitle) => (React__default.createElement("div", { className: cx(css$q.header, isPickersType && (props.showSearch ?? css$q.withSearch)) },
|
|
3960
4326
|
props.predicates ? (React__default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size: "24" })) : (!hideTitle && (React__default.createElement(Text, { color: "secondary", size: "24", fontSize: "14" }, props.title))),
|
|
3961
|
-
!props?.isAlwaysVisible && (React__default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$
|
|
4327
|
+
!props?.isAlwaysVisible && (React__default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$a }))));
|
|
3962
4328
|
const renderBody = (dropdownProps) => {
|
|
3963
4329
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
3964
4330
|
return isPickersType ? (React__default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width: 360, onClose: () => isOpenChange(false) },
|
|
@@ -4047,21 +4413,6 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4047
4413
|
}
|
|
4048
4414
|
const FiltersPanelItem = /* @__PURE__ */React__default.memo(FiltersToolbarItemImpl);
|
|
4049
4415
|
|
|
4050
|
-
var _path$h;
|
|
4051
|
-
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); }
|
|
4052
|
-
var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
4053
|
-
return /*#__PURE__*/React.createElement("svg", _extends$h({
|
|
4054
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4055
|
-
width: 24,
|
|
4056
|
-
height: 24,
|
|
4057
|
-
viewBox: "0 0 24 24",
|
|
4058
|
-
ref: ref
|
|
4059
|
-
}, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
|
|
4060
|
-
d: "M13.286 3h-2.572v7.714H3v2.572h7.714V21h2.572v-7.714H21v-2.572h-7.714V3z"
|
|
4061
|
-
})));
|
|
4062
|
-
};
|
|
4063
|
-
var ForwardRef$h = /*#__PURE__*/forwardRef(SvgActionAddOutline);
|
|
4064
|
-
|
|
4065
4416
|
const normalizeFilterWithPredicates = (filter) => {
|
|
4066
4417
|
if (!filter) {
|
|
4067
4418
|
return {};
|
|
@@ -4101,7 +4452,7 @@ const normalizeFilterWithPredicates = (filter) => {
|
|
|
4101
4452
|
return result;
|
|
4102
4453
|
};
|
|
4103
4454
|
function FiltersToolbarImpl(props) {
|
|
4104
|
-
const { filters, tableState, setTableState, size = settings.sizes.
|
|
4455
|
+
const { filters, tableState, setTableState, size = (settings.filtersPanel.sizes.default) } = props;
|
|
4105
4456
|
const [newFilterId, setNewFilterId] = useState(null);
|
|
4106
4457
|
const pickerInputRef = useRef(null);
|
|
4107
4458
|
const dataSource = useArrayDataSource({
|
|
@@ -4161,7 +4512,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4161
4512
|
return orderBy(selectedFilters, (f) => tableState.filtersConfig?.[f.field]?.order);
|
|
4162
4513
|
}, [filters, tableState.filtersConfig]);
|
|
4163
4514
|
const renderAddFilterToggler = useCallback((togglerProps) => {
|
|
4164
|
-
return (React__default.createElement(Button, { size: size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon:
|
|
4515
|
+
return (React__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 }));
|
|
4165
4516
|
}, []);
|
|
4166
4517
|
const getRowOptions = useCallback((item) => ({
|
|
4167
4518
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -4186,124 +4537,92 @@ function FiltersToolbarImpl(props) {
|
|
|
4186
4537
|
!isAllFiltersAlwaysVisible && (React__default.createElement(PickerInput, { dataSource: dataSource, value: selectedFilters, onValueChange: onFiltersChange, selectionMode: "multi", valueType: "entity", renderRow: (props) => (React__default.createElement(DataPickerRow, { ...props, padding: "12", key: props.key, onCheck: (row) => {
|
|
4187
4538
|
props.onCheck && props.onCheck(row);
|
|
4188
4539
|
setNewFilterId(row.value.field);
|
|
4189
|
-
}, renderItem: (item, rowProps) => React__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 }))));
|
|
4190
|
-
}
|
|
4191
|
-
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
4192
|
-
|
|
4193
|
-
var css$p = {"divider":"Yk71gJ","dropdownDeleteIcon":"YOVnyc","presetsWrapper":"vP8Ge5","addPresetContainer":"ssnA78","dropContainer":"aiUq04"};
|
|
4194
|
-
|
|
4195
|
-
var _path$g;
|
|
4196
|
-
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); }
|
|
4197
|
-
var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props, ref) {
|
|
4198
|
-
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
4199
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4200
|
-
width: 24,
|
|
4201
|
-
height: 24,
|
|
4202
|
-
viewBox: "0 0 24 24",
|
|
4203
|
-
ref: ref
|
|
4204
|
-
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
4205
|
-
fillRule: "evenodd",
|
|
4206
|
-
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",
|
|
4207
|
-
clipRule: "evenodd"
|
|
4208
|
-
})));
|
|
4209
|
-
};
|
|
4210
|
-
var ForwardRef$g = /*#__PURE__*/forwardRef(SvgNavigationMoreVertOutline);
|
|
4540
|
+
}, renderItem: (item, rowProps) => React__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 }))));
|
|
4541
|
+
}
|
|
4542
|
+
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
4211
4543
|
|
|
4212
|
-
var
|
|
4213
|
-
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); }
|
|
4214
|
-
var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, ref) {
|
|
4215
|
-
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
4216
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4217
|
-
width: 24,
|
|
4218
|
-
height: 24,
|
|
4219
|
-
viewBox: "0 0 24 24",
|
|
4220
|
-
ref: ref
|
|
4221
|
-
}, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
|
|
4222
|
-
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"
|
|
4223
|
-
})));
|
|
4224
|
-
};
|
|
4225
|
-
var ForwardRef$f = /*#__PURE__*/forwardRef(SvgNavigationRefreshOutline);
|
|
4544
|
+
var css$p = {"divider":"lBbzQ8","dropdownDeleteIcon":"E5oIkk","presetsWrapper":"V6NsQW","addPresetContainer":"_503g45","dropContainer":"BV2WsR"};
|
|
4226
4545
|
|
|
4227
|
-
var _path$
|
|
4228
|
-
function _extends$
|
|
4546
|
+
var _path$9;
|
|
4547
|
+
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); }
|
|
4229
4548
|
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
4230
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4549
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
4231
4550
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4232
4551
|
width: 24,
|
|
4233
4552
|
height: 24,
|
|
4234
4553
|
viewBox: "0 0 24 24",
|
|
4235
4554
|
ref: ref
|
|
4236
|
-
}, props), _path$
|
|
4555
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
4237
4556
|
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"
|
|
4238
4557
|
})));
|
|
4239
4558
|
};
|
|
4240
|
-
var ForwardRef$
|
|
4559
|
+
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgActionSaveOutline);
|
|
4241
4560
|
|
|
4242
|
-
var _path$
|
|
4243
|
-
function _extends$
|
|
4561
|
+
var _path$8;
|
|
4562
|
+
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); }
|
|
4244
4563
|
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
4245
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4564
|
+
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
4246
4565
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4247
4566
|
width: 24,
|
|
4248
4567
|
height: 24,
|
|
4249
4568
|
viewBox: "0 0 24 24",
|
|
4250
4569
|
ref: ref
|
|
4251
|
-
}, props), _path$
|
|
4570
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
4252
4571
|
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"
|
|
4253
4572
|
})));
|
|
4254
4573
|
};
|
|
4255
|
-
var ForwardRef$
|
|
4574
|
+
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgContentEditUndoOutline);
|
|
4256
4575
|
|
|
4257
|
-
var _path$
|
|
4258
|
-
function _extends$
|
|
4576
|
+
var _path$7;
|
|
4577
|
+
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); }
|
|
4259
4578
|
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
4260
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4579
|
+
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
4261
4580
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4262
4581
|
width: 24,
|
|
4263
4582
|
height: 24,
|
|
4264
4583
|
viewBox: "0 0 24 24",
|
|
4265
4584
|
ref: ref
|
|
4266
|
-
}, props), _path$
|
|
4585
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
4267
4586
|
fillRule: "evenodd",
|
|
4268
4587
|
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",
|
|
4269
4588
|
clipRule: "evenodd"
|
|
4270
4589
|
})));
|
|
4271
4590
|
};
|
|
4272
|
-
var ForwardRef$
|
|
4591
|
+
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgActionCopyContentOutline);
|
|
4273
4592
|
|
|
4274
|
-
var _path$
|
|
4275
|
-
function _extends$
|
|
4593
|
+
var _path$6;
|
|
4594
|
+
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); }
|
|
4276
4595
|
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
4277
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4596
|
+
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
4278
4597
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4279
4598
|
width: 24,
|
|
4280
4599
|
height: 24,
|
|
4281
4600
|
viewBox: "0 0 24 24",
|
|
4282
4601
|
ref: ref
|
|
4283
|
-
}, props), _path$
|
|
4602
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
4284
4603
|
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"
|
|
4285
4604
|
})));
|
|
4286
4605
|
};
|
|
4287
|
-
var ForwardRef$
|
|
4606
|
+
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgContentEditFill);
|
|
4288
4607
|
|
|
4289
|
-
var _path$
|
|
4290
|
-
function _extends$
|
|
4608
|
+
var _path$5, _path2;
|
|
4609
|
+
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); }
|
|
4291
4610
|
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
4292
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4611
|
+
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
4293
4612
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4294
4613
|
width: 24,
|
|
4295
4614
|
height: 24,
|
|
4296
4615
|
viewBox: "0 0 24 24",
|
|
4297
4616
|
ref: ref
|
|
4298
|
-
}, props), _path$
|
|
4617
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
4299
4618
|
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"
|
|
4300
|
-
})), _path2
|
|
4619
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
4301
4620
|
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"
|
|
4302
4621
|
})));
|
|
4303
4622
|
};
|
|
4304
|
-
var ForwardRef$
|
|
4623
|
+
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
4305
4624
|
|
|
4306
|
-
var css$o = {"delete-button":"
|
|
4625
|
+
var css$o = {"delete-button":"xZYW9E","deleteButton":"xZYW9E","tab-button":"hVsgXZ","tabButton":"hVsgXZ","targetOpen":"q1eNVX"};
|
|
4307
4626
|
|
|
4308
4627
|
function PresetActionsDropdown(props) {
|
|
4309
4628
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -4351,26 +4670,26 @@ function PresetActionsDropdown(props) {
|
|
|
4351
4670
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4352
4671
|
return (React__default.createElement(DropdownMenuBody, { ...dropdownProps },
|
|
4353
4672
|
isPresetChanged && (React__default.createElement(React__default.Fragment, null,
|
|
4354
|
-
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$
|
|
4355
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$
|
|
4673
|
+
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$E, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4674
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$9, caption: "Save as new",
|
|
4356
4675
|
// 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
|
|
4357
4676
|
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4358
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$
|
|
4677
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$8, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4359
4678
|
React__default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4360
|
-
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$
|
|
4361
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$
|
|
4362
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$
|
|
4679
|
+
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$6, caption: "Rename", onClick: props.renamePreset })),
|
|
4680
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$7, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4681
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$5, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4363
4682
|
!isReadonlyPreset && (React__default.createElement(React__default.Fragment, null,
|
|
4364
4683
|
React__default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
4365
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
4684
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$a, caption: "Delete", cx: css$o.deleteButton, onClick: deleteHandler })))));
|
|
4366
4685
|
};
|
|
4367
4686
|
const renderTarget = useCallback((dropdownProps) => {
|
|
4368
|
-
return (React__default.createElement(IconButton, { cx: [css$o.tabButton, dropdownProps.isOpen && css$o.targetOpen], color: props.preset.id === props.activePresetId ? 'primary' : 'neutral', ...dropdownProps, icon: ForwardRef$
|
|
4687
|
+
return (React__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" }));
|
|
4369
4688
|
}, []);
|
|
4370
4689
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4371
4690
|
}
|
|
4372
4691
|
|
|
4373
|
-
var css$n = {"preset-input-cell":"
|
|
4692
|
+
var css$n = {"preset-input-cell":"w-ePv9","presetInputCell":"w-ePv9","preset-input":"AeWdDT","presetInput":"AeWdDT"};
|
|
4374
4693
|
|
|
4375
4694
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4376
4695
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -4402,7 +4721,7 @@ function PresetInput(props) {
|
|
|
4402
4721
|
React__default.createElement(TextInput, { cx: css$n.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4403
4722
|
}
|
|
4404
4723
|
|
|
4405
|
-
var css$m = {"preset":"
|
|
4724
|
+
var css$m = {"preset":"G6Iay0","activePreset":"gJKgZt"};
|
|
4406
4725
|
|
|
4407
4726
|
function Preset(props) {
|
|
4408
4727
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -4427,22 +4746,22 @@ function Preset(props) {
|
|
|
4427
4746
|
return (React__default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$m.preset, isPresetActive && css$m.activePreset, UUI_PRESETS_PANEL_PRESET], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: PresetActionsDropdownComponent, iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
4428
4747
|
}
|
|
4429
4748
|
|
|
4430
|
-
var _path$
|
|
4431
|
-
function _extends$
|
|
4749
|
+
var _path$4;
|
|
4750
|
+
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); }
|
|
4432
4751
|
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
4433
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4752
|
+
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
4434
4753
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4435
4754
|
width: 24,
|
|
4436
4755
|
height: 24,
|
|
4437
4756
|
viewBox: "0 0 24 24",
|
|
4438
4757
|
ref: ref
|
|
4439
|
-
}, props), _path$
|
|
4758
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
4440
4759
|
fillRule: "evenodd",
|
|
4441
4760
|
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",
|
|
4442
4761
|
clipRule: "evenodd"
|
|
4443
4762
|
})));
|
|
4444
4763
|
};
|
|
4445
|
-
var ForwardRef$
|
|
4764
|
+
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgActionDeleteForeverFill);
|
|
4446
4765
|
|
|
4447
4766
|
function PresetsPanel(props) {
|
|
4448
4767
|
const [isAddingPreset, setIsAddingPreset] = useState(false);
|
|
@@ -4457,7 +4776,7 @@ function PresetsPanel(props) {
|
|
|
4457
4776
|
return React__default.createElement(Preset, { key: preset.id, preset: preset, addPreset: setAddingPreset, ...presetApi });
|
|
4458
4777
|
};
|
|
4459
4778
|
const renderAddPresetButton = useCallback(() => {
|
|
4460
|
-
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$p.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { cx: UUI_PRESETS_PANEL_ADD_BUTTON, onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$
|
|
4779
|
+
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$p.addPresetContainer }, !isAddingPreset ? (React__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__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
4461
4780
|
}, [isAddingPreset]);
|
|
4462
4781
|
const onPresetDropdownSelect = (preset) => {
|
|
4463
4782
|
props.choosePreset(preset.preset);
|
|
@@ -4466,7 +4785,7 @@ function PresetsPanel(props) {
|
|
|
4466
4785
|
return (React__default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__default.createElement(FlexRow, null,
|
|
4467
4786
|
React__default.createElement("div", { className: css$p.divider }),
|
|
4468
4787
|
React__default.createElement(Button, { cx: UUI_PRESETS_PANEL_MORE_BUTTON, fill: "ghost", color: "secondary", caption: `${hiddenItems?.length || ''} more`, ...props }))), renderBody: (propsBody) => (React__default.createElement(DropdownMenuBody, { minWidth: 230, maxHeight: 300, ...propsBody },
|
|
4469
|
-
React__default.createElement(ScrollBars, null, hiddenItems.map((hiddenItem) => (React__default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$
|
|
4788
|
+
React__default.createElement(ScrollBars, null, hiddenItems.map((hiddenItem) => (React__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)) })))))) }));
|
|
4470
4789
|
};
|
|
4471
4790
|
const getPresetPriority = (preset, index) => {
|
|
4472
4791
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -4528,62 +4847,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4528
4847
|
return columns;
|
|
4529
4848
|
};
|
|
4530
4849
|
|
|
4531
|
-
var
|
|
4532
|
-
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); }
|
|
4533
|
-
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
4534
|
-
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
4535
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4536
|
-
width: 24,
|
|
4537
|
-
height: 24,
|
|
4538
|
-
viewBox: "0 0 24 24",
|
|
4539
|
-
ref: ref
|
|
4540
|
-
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
4541
|
-
fillRule: "evenodd",
|
|
4542
|
-
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",
|
|
4543
|
-
clipRule: "evenodd"
|
|
4544
|
-
})));
|
|
4545
|
-
};
|
|
4546
|
-
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgActionLockFill);
|
|
4547
|
-
|
|
4548
|
-
var _path$7, _path2$2;
|
|
4549
|
-
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); }
|
|
4550
|
-
var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, ref) {
|
|
4551
|
-
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
4552
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4553
|
-
width: 24,
|
|
4554
|
-
height: 24,
|
|
4555
|
-
viewBox: "0 0 24 24",
|
|
4556
|
-
ref: ref
|
|
4557
|
-
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
4558
|
-
d: "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z"
|
|
4559
|
-
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
4560
|
-
fillRule: "evenodd",
|
|
4561
|
-
d: "M13 21V3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6zm2-16h4v14h-4V5z",
|
|
4562
|
-
clipRule: "evenodd"
|
|
4563
|
-
})));
|
|
4564
|
-
};
|
|
4565
|
-
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgTableGroupColumnLeftFill);
|
|
4566
|
-
|
|
4567
|
-
var _path$6, _path2$1;
|
|
4568
|
-
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); }
|
|
4569
|
-
var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props, ref) {
|
|
4570
|
-
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
4571
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4572
|
-
width: 24,
|
|
4573
|
-
height: 24,
|
|
4574
|
-
viewBox: "0 0 24 24",
|
|
4575
|
-
ref: ref
|
|
4576
|
-
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
4577
|
-
d: "M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6V3z"
|
|
4578
|
-
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
4579
|
-
fillRule: "evenodd",
|
|
4580
|
-
d: "M9 5H5v14h4V5zM5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z",
|
|
4581
|
-
clipRule: "evenodd"
|
|
4582
|
-
})));
|
|
4583
|
-
};
|
|
4584
|
-
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgTableGroupColumnRightFill);
|
|
4585
|
-
|
|
4586
|
-
var css$l = {"unpin-icon":"_85FnOD","unpinIcon":"_85FnOD","pin-toggler-icon":"_96FQli","pinTogglerIcon":"_96FQli"};
|
|
4850
|
+
var css$l = {"unpin-icon":"IrmUQG","unpinIcon":"IrmUQG","pin-toggler-icon":"nmshk7","pinTogglerIcon":"nmshk7"};
|
|
4587
4851
|
|
|
4588
4852
|
function PinIconButton(props) {
|
|
4589
4853
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4601,23 +4865,23 @@ function PinIconButton(props) {
|
|
|
4601
4865
|
else {
|
|
4602
4866
|
pinUnpinNode = (React.createElement(React.Fragment, null,
|
|
4603
4867
|
React.createElement(Tooltip, { content: i18nLocal.pinColumnToTheLeftButton, placement: "bottom", color: "inverted" },
|
|
4604
|
-
React.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon:
|
|
4868
|
+
React.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon: settings.dataTable.icons.columnsConfigurationModal.pinLeftIcon, onClick: () => onTogglePin('left'), isDisabled: isPinnedAlways })),
|
|
4605
4869
|
React.createElement(Tooltip, { content: i18nLocal.pinColumnToTheRightButton, placement: "bottom", color: "inverted" },
|
|
4606
|
-
React.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon:
|
|
4870
|
+
React.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon: settings.dataTable.icons.columnsConfigurationModal.pinRightIcon, onClick: () => onTogglePin('right'), isDisabled: isPinnedAlways }))));
|
|
4607
4871
|
}
|
|
4608
4872
|
return pinUnpinNode;
|
|
4609
4873
|
}
|
|
4610
4874
|
function getUnpinIcon(params) {
|
|
4611
4875
|
const { isPinnedAlways, pinPosition } = params;
|
|
4612
4876
|
if (isPinnedAlways) {
|
|
4613
|
-
return
|
|
4877
|
+
return settings.dataTable.icons.columnsConfigurationModal.lockIcon;
|
|
4614
4878
|
}
|
|
4615
4879
|
switch (pinPosition) {
|
|
4616
4880
|
case 'left': {
|
|
4617
|
-
return
|
|
4881
|
+
return settings.dataTable.icons.columnsConfigurationModal.pinLeftIcon;
|
|
4618
4882
|
}
|
|
4619
4883
|
case 'right': {
|
|
4620
|
-
return
|
|
4884
|
+
return settings.dataTable.icons.columnsConfigurationModal.pinRightIcon;
|
|
4621
4885
|
}
|
|
4622
4886
|
default: {
|
|
4623
4887
|
return;
|
|
@@ -4625,24 +4889,7 @@ function getUnpinIcon(params) {
|
|
|
4625
4889
|
}
|
|
4626
4890
|
}
|
|
4627
4891
|
|
|
4628
|
-
var
|
|
4629
|
-
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); }
|
|
4630
|
-
var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
4631
|
-
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
4632
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4633
|
-
width: 18,
|
|
4634
|
-
height: 18,
|
|
4635
|
-
viewBox: "0 0 18 18",
|
|
4636
|
-
ref: ref
|
|
4637
|
-
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
4638
|
-
fillRule: "evenodd",
|
|
4639
|
-
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",
|
|
4640
|
-
clipRule: "evenodd"
|
|
4641
|
-
})));
|
|
4642
|
-
};
|
|
4643
|
-
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgActionDragIndicator18);
|
|
4644
|
-
|
|
4645
|
-
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"};
|
|
4892
|
+
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"};
|
|
4646
4893
|
|
|
4647
4894
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4648
4895
|
const { column } = props;
|
|
@@ -4655,8 +4902,8 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
4655
4902
|
const wrapperClasses = cx$1(css$k.rowWrapper, !isPinned && css$k.notPinned, dndActorParams.isDragGhost && uuiDndState.dragGhost, 'uui-dt-columns-config-row');
|
|
4656
4903
|
const { onTouchStart, onPointerDown, ...restEventHandlers } = dndActorParams.eventHandlers;
|
|
4657
4904
|
const { ref, ...dndActorPropsWithoutRef } = dndActorParams;
|
|
4658
|
-
return (React.createElement(FlexRow, { size: settings.sizes.
|
|
4659
|
-
React.createElement(DragHandle, { dragHandleIcon:
|
|
4905
|
+
return (React.createElement(FlexRow, { size: settings.dataTable.sizes.columnsConfigurationModal.columnRow, cx: wrapperClasses, ref: dndActorParams.ref, rawProps: { ...restEventHandlers }, alignItems: "top" },
|
|
4906
|
+
React.createElement(DragHandle, { dragHandleIcon: settings.dataTable.icons.columnsConfigurationModal.dragIndicator, rawProps: { onTouchStart, onPointerDown }, isDisabled: !isDndAllowed, cx: cx$1(css$k.dragHandle, !isDndAllowed && css$k.dndDisabled) }),
|
|
4660
4907
|
React.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 }),
|
|
4661
4908
|
React.createElement(FlexRow, { size: null, cx: css$k.pinIconButton },
|
|
4662
4909
|
React.createElement(PinIconButton, { pinPosition: pinPosition, canUnpin: !isPinnedAlways, onTogglePin: togglePin })),
|
|
@@ -4665,11 +4912,11 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
4665
4912
|
return (React.createElement(DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4666
4913
|
});
|
|
4667
4914
|
|
|
4668
|
-
var css$j = {"root":"
|
|
4915
|
+
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"};
|
|
4669
4916
|
|
|
4670
4917
|
const renderGroupTitle = (title, amount) => (React.createElement(FlexRow, { cx: css$j.group },
|
|
4671
4918
|
React.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
4672
|
-
React.createElement(CountIndicator, { caption: amount, color: "neutral", size: settings.sizes.
|
|
4919
|
+
React.createElement(CountIndicator, { caption: amount, color: "neutral", size: settings.dataTable.sizes.columnsConfigurationModal.countIndicator }),
|
|
4673
4920
|
React.createElement(FlexSpacer, null)));
|
|
4674
4921
|
function ColumnsConfigurationModal(props) {
|
|
4675
4922
|
const i18n$1 = i18n.tables.columnsConfigurationModal;
|
|
@@ -4714,13 +4961,13 @@ function ColumnsConfigurationModal(props) {
|
|
|
4714
4961
|
};
|
|
4715
4962
|
const applyButton = React.createElement(Button, { caption: i18n$1.applyButton, isDisabled: !hasAnySelectedColumns, color: "primary", onClick: apply });
|
|
4716
4963
|
return (React.createElement(ModalBlocker, { ...modalProps },
|
|
4717
|
-
React.createElement(ModalWindow, { cx: css$j.root, height: "95dvh", maxHeight: "95dvh"
|
|
4964
|
+
React.createElement(ModalWindow, { cx: [css$j.root, 'uui-columns-config-modal'], height: "95dvh", maxHeight: "95dvh" },
|
|
4718
4965
|
React.createElement(ModalHeader, { title: i18n$1.configureColumnsTitle, onClose: close }),
|
|
4719
4966
|
React.createElement(FlexRow, { borderBottom: true, cx: css$j.searchArea },
|
|
4720
|
-
React.createElement(SearchInput, { size: settings.sizes.
|
|
4967
|
+
React.createElement(SearchInput, { size: settings.dataTable.sizes.columnsConfigurationModal.searchInput, value: searchValue, onValueChange: setSearchValue, placeholder: i18n$1.searchPlaceholder }),
|
|
4721
4968
|
React.createElement(Dropdown, { closeOnTargetClick: true, renderBody: () => (React.createElement(DropdownMenuBody, { minWidth: 100 },
|
|
4722
4969
|
React.createElement(DropdownMenuButton, { caption: i18n$1.clearAllButton, onClick: uncheckAll }),
|
|
4723
|
-
React.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => (React.createElement(Button, { ...props, fill: "none", icon:
|
|
4970
|
+
React.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => (React.createElement(Button, { ...props, fill: "none", icon: settings.dataTable.icons.columnsConfigurationModal.menuIcon, size: settings.dataTable.sizes.columnsConfigurationModal.menuButton, color: "secondary", isDropdown: false })) })),
|
|
4724
4971
|
React.createElement(Panel, { background: "surface-main", cx: css$j.mainPanel },
|
|
4725
4972
|
React.createElement(ScrollBars, null,
|
|
4726
4973
|
renderVisible(),
|
|
@@ -4729,7 +4976,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
4729
4976
|
React.createElement(Text, { cx: css$j.noDataTitle }, i18n$1.noResultsFound.title),
|
|
4730
4977
|
React.createElement(Text, { cx: css$j.noDataSubTitle }, i18n$1.noResultsFound.subTitle))))),
|
|
4731
4978
|
React.createElement(ModalFooter, { borderTop: true },
|
|
4732
|
-
React.createElement(LinkButton, { icon:
|
|
4979
|
+
React.createElement(LinkButton, { icon: settings.dataTable.icons.columnsConfigurationModal.resetIcon, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
4733
4980
|
React.createElement(FlexSpacer, null),
|
|
4734
4981
|
React.createElement(Button, { fill: "none", color: "secondary", caption: i18n$1.cancelButton, onClick: close }),
|
|
4735
4982
|
!hasAnySelectedColumns ? (React.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
@@ -4739,12 +4986,12 @@ function SubGroup(props) {
|
|
|
4739
4986
|
const { title, items, renderItem } = props;
|
|
4740
4987
|
const isCollapsible = !!title;
|
|
4741
4988
|
if (items.length) {
|
|
4742
|
-
const content = (React.createElement(FlexRow, { cx: css$j.groupItems, size: settings.sizes.
|
|
4989
|
+
const content = (React.createElement(FlexRow, { cx: css$j.groupItems, size: settings.dataTable.sizes.columnsConfigurationModal.columnRow }, items.map((c) => (React.createElement(ColumnRow, { column: c, key: c.key, renderItem: renderItem })))));
|
|
4743
4990
|
if (isCollapsible) {
|
|
4744
4991
|
const renderTitle = (isOpened) => {
|
|
4745
|
-
const toggleIcon = isOpened ?
|
|
4992
|
+
const toggleIcon = settings.dataTable.icons.columnsConfigurationModal[isOpened ? 'expandedIcon' : 'collapsedIcon'];
|
|
4746
4993
|
return (React.createElement(FlexRow, { cx: cx$1(css$j.subgroup) },
|
|
4747
|
-
React.createElement(IconContainer, {
|
|
4994
|
+
React.createElement(IconContainer, { icon: toggleIcon }),
|
|
4748
4995
|
React.createElement(Text, { size: "none", color: "tertiary", cx: css$j.subgroupTitle }, title)));
|
|
4749
4996
|
};
|
|
4750
4997
|
return (React.createElement(Accordion$1, { value: isExpanded, onValueChange: setIsExpanded, renderTitle: renderTitle, cx: css$j.subgroupAccordion }, content));
|
|
@@ -4754,8 +5001,6 @@ function SubGroup(props) {
|
|
|
4754
5001
|
return null;
|
|
4755
5002
|
}
|
|
4756
5003
|
|
|
4757
|
-
var css$i = {"listContainer":"TAGA8J","header":"ZRooRZ","group":"zlLPEf","stickyHeader":"Ip-fvE"};
|
|
4758
|
-
|
|
4759
5004
|
const getChildrenAndRest = (row, rows) => {
|
|
4760
5005
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
4761
5006
|
if (firstNotChildIndex === -1) {
|
|
@@ -4769,6 +5014,8 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
4769
5014
|
return [children, rest];
|
|
4770
5015
|
};
|
|
4771
5016
|
|
|
5017
|
+
var css$i = {"listContainer":"KJP3gv","header":"VfM8gG","group":"zTB6i5","stickyHeader":"a61iPD"};
|
|
5018
|
+
|
|
4772
5019
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
4773
5020
|
const rowRef = useRef();
|
|
4774
5021
|
const childrenPinnedTop = row.isPinned ? (top + (rowRef.current?.clientHeight ?? 0)) : top;
|
|
@@ -4807,147 +5054,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
4807
5054
|
React__default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
4808
5055
|
}
|
|
4809
5056
|
|
|
4810
|
-
var
|
|
4811
|
-
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); }
|
|
4812
|
-
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
4813
|
-
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
4814
|
-
width: 232,
|
|
4815
|
-
height: 180,
|
|
4816
|
-
viewBox: "0 0 232 180",
|
|
4817
|
-
fill: "none",
|
|
4818
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4819
|
-
ref: ref
|
|
4820
|
-
}, props), /*#__PURE__*/React.createElement("g", {
|
|
4821
|
-
clipPath: "url(#upoqav6dlx0k3kfhr_a)"
|
|
4822
|
-
}, _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
4823
|
-
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",
|
|
4824
|
-
fill: "#F5F6FA"
|
|
4825
|
-
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
4826
|
-
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",
|
|
4827
|
-
fill: "#9BDEFF"
|
|
4828
|
-
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
4829
|
-
fillRule: "evenodd",
|
|
4830
|
-
clipRule: "evenodd",
|
|
4831
|
-
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",
|
|
4832
|
-
fill: "#fff"
|
|
4833
|
-
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
4834
|
-
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",
|
|
4835
|
-
fill: "#9BDEFF"
|
|
4836
|
-
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
4837
|
-
fillRule: "evenodd",
|
|
4838
|
-
clipRule: "evenodd",
|
|
4839
|
-
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",
|
|
4840
|
-
fill: "#1D1E26"
|
|
4841
|
-
})), /*#__PURE__*/React.createElement("mask", {
|
|
4842
|
-
id: "upoqavaqvlvzl1j0o_b",
|
|
4843
|
-
style: {
|
|
4844
|
-
maskType: "alpha"
|
|
4845
|
-
},
|
|
4846
|
-
maskUnits: "userSpaceOnUse",
|
|
4847
|
-
x: 81,
|
|
4848
|
-
y: 22,
|
|
4849
|
-
width: 100,
|
|
4850
|
-
height: 104
|
|
4851
|
-
}, _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
|
|
4852
|
-
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",
|
|
4853
|
-
fill: "#9BDEFF"
|
|
4854
|
-
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
4855
|
-
mask: "url(#upoqavaqvlvzl1j0o_b)",
|
|
4856
|
-
fillRule: "evenodd",
|
|
4857
|
-
clipRule: "evenodd"
|
|
4858
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
4859
|
-
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",
|
|
4860
|
-
fill: "#fff"
|
|
4861
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
4862
|
-
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",
|
|
4863
|
-
fill: "#fff"
|
|
4864
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
4865
|
-
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",
|
|
4866
|
-
fill: "#fff"
|
|
4867
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
4868
|
-
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",
|
|
4869
|
-
fill: "#fff"
|
|
4870
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
4871
|
-
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",
|
|
4872
|
-
fill: "#fff"
|
|
4873
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
4874
|
-
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",
|
|
4875
|
-
fill: "#1D1E26"
|
|
4876
|
-
}))), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
|
|
4877
|
-
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",
|
|
4878
|
-
fill: "#fff"
|
|
4879
|
-
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
|
|
4880
|
-
fillRule: "evenodd",
|
|
4881
|
-
clipRule: "evenodd",
|
|
4882
|
-
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",
|
|
4883
|
-
fill: "#1D1E26"
|
|
4884
|
-
})), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
|
|
4885
|
-
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",
|
|
4886
|
-
fill: "#1D1E26"
|
|
4887
|
-
})), _path10 || (_path10 = /*#__PURE__*/React.createElement("path", {
|
|
4888
|
-
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",
|
|
4889
|
-
fill: "#fff"
|
|
4890
|
-
})), _path11 || (_path11 = /*#__PURE__*/React.createElement("path", {
|
|
4891
|
-
fillRule: "evenodd",
|
|
4892
|
-
clipRule: "evenodd",
|
|
4893
|
-
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",
|
|
4894
|
-
fill: "#1D1E26"
|
|
4895
|
-
})), _path12 || (_path12 = /*#__PURE__*/React.createElement("path", {
|
|
4896
|
-
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",
|
|
4897
|
-
fill: "#008ACE"
|
|
4898
|
-
})), _path13 || (_path13 = /*#__PURE__*/React.createElement("path", {
|
|
4899
|
-
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",
|
|
4900
|
-
fill: "#1D1E26"
|
|
4901
|
-
})), _path14 || (_path14 = /*#__PURE__*/React.createElement("path", {
|
|
4902
|
-
fillRule: "evenodd",
|
|
4903
|
-
clipRule: "evenodd",
|
|
4904
|
-
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",
|
|
4905
|
-
fill: "#1D1E26"
|
|
4906
|
-
})), _path15 || (_path15 = /*#__PURE__*/React.createElement("path", {
|
|
4907
|
-
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",
|
|
4908
|
-
fill: "#008ACE"
|
|
4909
|
-
})), _path16 || (_path16 = /*#__PURE__*/React.createElement("path", {
|
|
4910
|
-
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",
|
|
4911
|
-
fill: "#fff"
|
|
4912
|
-
})), _path17 || (_path17 = /*#__PURE__*/React.createElement("path", {
|
|
4913
|
-
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",
|
|
4914
|
-
fill: "#1D1E26"
|
|
4915
|
-
})), _path18 || (_path18 = /*#__PURE__*/React.createElement("path", {
|
|
4916
|
-
fillRule: "evenodd",
|
|
4917
|
-
clipRule: "evenodd",
|
|
4918
|
-
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",
|
|
4919
|
-
fill: "#1D1E26"
|
|
4920
|
-
})), _path19 || (_path19 = /*#__PURE__*/React.createElement("path", {
|
|
4921
|
-
d: "m170.965 137.356-7.822 9.777 1.668 1.334 7.822-9.777-1.668-1.334Z",
|
|
4922
|
-
fill: "#1D1E26"
|
|
4923
|
-
})), _path20 || (_path20 = /*#__PURE__*/React.createElement("path", {
|
|
4924
|
-
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",
|
|
4925
|
-
fill: "#9BDEFF"
|
|
4926
|
-
})), _path21 || (_path21 = /*#__PURE__*/React.createElement("path", {
|
|
4927
|
-
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",
|
|
4928
|
-
fill: "#9BDEFF"
|
|
4929
|
-
})), _path22 || (_path22 = /*#__PURE__*/React.createElement("path", {
|
|
4930
|
-
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",
|
|
4931
|
-
fill: "#1D1E26"
|
|
4932
|
-
})), _path23 || (_path23 = /*#__PURE__*/React.createElement("path", {
|
|
4933
|
-
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",
|
|
4934
|
-
fill: "#008ACE"
|
|
4935
|
-
})), _path24 || (_path24 = /*#__PURE__*/React.createElement("path", {
|
|
4936
|
-
fillRule: "evenodd",
|
|
4937
|
-
clipRule: "evenodd",
|
|
4938
|
-
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",
|
|
4939
|
-
fill: "#fff"
|
|
4940
|
-
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
4941
|
-
id: "upoqav6dlx0k3kfhr_a"
|
|
4942
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
4943
|
-
fill: "#fff",
|
|
4944
|
-
transform: "translate(.552)",
|
|
4945
|
-
d: "M0 0h230.897v180H0z"
|
|
4946
|
-
})))));
|
|
4947
|
-
};
|
|
4948
|
-
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
4949
|
-
|
|
4950
|
-
var css$h = {"root":"-Wsx-o","sticky-header":"VVVx-t","stickyHeader":"VVVx-t","no-results":"q05n7h","noResults":"q05n7h","icon":"th6CT5","title":"InW1ks"};
|
|
5057
|
+
var css$h = {"root":"_6E9HFf","sticky-header":"_9ubGQc","stickyHeader":"_9ubGQc","no-results":"grgolE","noResults":"grgolE","icon":"_2uZhhK","title":"NV1qei"};
|
|
4951
5058
|
|
|
4952
5059
|
function DataTable(props) {
|
|
4953
5060
|
const { uuiModals } = useUuiContext();
|
|
@@ -4955,13 +5062,13 @@ function DataTable(props) {
|
|
|
4955
5062
|
const columnsWithFilters = useColumnsWithFilters(props.columns, props.filters);
|
|
4956
5063
|
const { columns, config, defaultConfig } = useColumnsConfig(columnsWithFilters, props.value?.columnsConfig);
|
|
4957
5064
|
const defaultRenderRow = React.useCallback((rowProps) => {
|
|
4958
|
-
return (React.createElement(DataTableRow, { size: props.size || settings.sizes.
|
|
5065
|
+
return (React.createElement(DataTableRow, { size: props.size || settings.dataTable.sizes.body.row, columnsGap: props.columnsGap, borderBottom: props.border, ...rowProps, key: rowProps.rowKey, cx: css$h.cell }));
|
|
4959
5066
|
}, []);
|
|
4960
5067
|
const renderRow = (row) => (props.renderRow ?? defaultRenderRow)({ ...row, columns });
|
|
4961
5068
|
const rows = props.getRows?.() ?? props.rows ?? [];
|
|
4962
5069
|
const renderNoResultsBlock = React.useCallback(() => {
|
|
4963
5070
|
return (React.createElement("div", { className: css$h.noResults }, props.renderNoResultsBlock ? (props.renderNoResultsBlock?.()) : (React.createElement(React.Fragment, null,
|
|
4964
|
-
React.createElement(IconContainer, { cx: css$h.icon, icon:
|
|
5071
|
+
React.createElement(IconContainer, { cx: css$h.icon, icon: settings.dataTable.icons.emptyTable }),
|
|
4965
5072
|
React.createElement(Text, { cx: css$h.title, fontSize: "24", lineHeight: "30", color: "primary", fontWeight: "600" }, i18n.tables.noResultsBlock.title),
|
|
4966
5073
|
React.createElement(Text, { fontSize: "16", lineHeight: "24", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
4967
5074
|
}, [props.renderNoResultsBlock]);
|
|
@@ -4980,7 +5087,7 @@ function DataTable(props) {
|
|
|
4980
5087
|
]);
|
|
4981
5088
|
const renderRowsContainer = React.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows }) => (React.createElement(React.Fragment, null,
|
|
4982
5089
|
React.createElement("div", { className: css$h.stickyHeader, ref: headerRef },
|
|
4983
|
-
React.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.sizes.
|
|
5090
|
+
React.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 }),
|
|
4984
5091
|
React.createElement("div", { className: cx$1(uuiScrollShadows.top, {
|
|
4985
5092
|
[uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
4986
5093
|
}) })),
|
|
@@ -4996,9 +5103,9 @@ function DataTable(props) {
|
|
|
4996
5103
|
} }))));
|
|
4997
5104
|
}
|
|
4998
5105
|
|
|
4999
|
-
var css$g = {"root":"
|
|
5106
|
+
var css$g = {"root":"eyuIWs"};
|
|
5000
5107
|
|
|
5001
|
-
var css$f = {"root":"
|
|
5108
|
+
var css$f = {"root":"_5s9s3y","burger-content":"rhUFAS","burgerContent":"rhUFAS"};
|
|
5002
5109
|
|
|
5003
5110
|
var _path$3;
|
|
5004
5111
|
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); }
|
|
@@ -5041,7 +5148,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5041
5148
|
};
|
|
5042
5149
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
5043
5150
|
|
|
5044
|
-
var css$e = {"root":"
|
|
5151
|
+
var css$e = {"root":"X58g1v","button-primary":"d-6JeT","buttonPrimary":"d-6JeT","button-secondary":"-oJcZ6","buttonSecondary":"-oJcZ6","hasIcon":"i66-xf","dropdown":"tjmIEw"};
|
|
5045
5152
|
|
|
5046
5153
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
5047
5154
|
css$e.root,
|
|
@@ -5052,13 +5159,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
5052
5159
|
props.icon && css$e.hasIcon,
|
|
5053
5160
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5054
5161
|
|
|
5055
|
-
var css$d = {"search-input":"
|
|
5162
|
+
var css$d = {"search-input":"GOtX43","searchInput":"GOtX43"};
|
|
5056
5163
|
|
|
5057
5164
|
function BurgerSearch(props) {
|
|
5058
|
-
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
5165
|
+
return (React.createElement(TextInput$1, { cx: cx(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 }));
|
|
5059
5166
|
}
|
|
5060
5167
|
|
|
5061
|
-
var css$c = {"root":"
|
|
5168
|
+
var css$c = {"root":"_04H4yf","group-header":"UVFmhV","groupHeader":"UVFmhV","group-name":"Y--4xz","groupName":"Y--4xz","line":"Q89LRX"};
|
|
5062
5169
|
|
|
5063
5170
|
function BurgerGroupHeader(props) {
|
|
5064
5171
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5066,7 +5173,7 @@ function BurgerGroupHeader(props) {
|
|
|
5066
5173
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5067
5174
|
}
|
|
5068
5175
|
|
|
5069
|
-
var css$b = {"root":"
|
|
5176
|
+
var css$b = {"root":"_3Pd-XE","type-primary":"_6tR5d9","typePrimary":"_6tR5d9","type-secondary":"LG9fZp","typeSecondary":"LG9fZp"};
|
|
5070
5177
|
|
|
5071
5178
|
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5072
5179
|
const { type, ...clickableProps } = props;
|
|
@@ -5088,7 +5195,7 @@ const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5088
5195
|
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$Q, flipY: props.isOpen }))));
|
|
5089
5196
|
});
|
|
5090
5197
|
|
|
5091
|
-
var css$a = {"dropdown-body":"
|
|
5198
|
+
var css$a = {"dropdown-body":"WcWjiR","dropdownBody":"WcWjiR"};
|
|
5092
5199
|
|
|
5093
5200
|
class MainMenuDropdown extends React.Component {
|
|
5094
5201
|
render() {
|
|
@@ -5146,12 +5253,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5146
5253
|
};
|
|
5147
5254
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5148
5255
|
|
|
5149
|
-
var css$9 = {"global-menu-btn":"
|
|
5256
|
+
var css$9 = {"global-menu-btn":"lLYBJD","globalMenuBtn":"lLYBJD","global-menu-icon":"Ldpuo0","globalMenuIcon":"Ldpuo0"};
|
|
5150
5257
|
|
|
5151
5258
|
const GlobalMenu = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, id: "global_menu_toggle", className: cx(css$9.globalMenuBtn, props.cx), ...props.rawProps },
|
|
5152
5259
|
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5153
5260
|
|
|
5154
|
-
var css$8 = {"container":"
|
|
5261
|
+
var css$8 = {"container":"zabDar","open":"Wz1fKA","folding-arrow":"qsOfLC","foldingArrow":"qsOfLC"};
|
|
5155
5262
|
|
|
5156
5263
|
const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiMarkers.clickable, props.cx), onClick: props.onClick, ...props.rawProps },
|
|
5157
5264
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5159,15 +5266,15 @@ const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.cr
|
|
|
5159
5266
|
props.isDropdown && (React.createElement("div", null,
|
|
5160
5267
|
React.createElement(IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5161
5268
|
|
|
5162
|
-
var css$7 = {"search-input":"
|
|
5269
|
+
var css$7 = {"search-input":"JoH-wf","searchInput":"JoH-wf"};
|
|
5163
5270
|
|
|
5164
|
-
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$
|
|
5271
|
+
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$N, cancelIcon: props.value?.length > 0 && ForwardRef$R, ...props, ...iEditable, ref: ref, cx: cx$1(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5165
5272
|
|
|
5166
|
-
var css$6 = {"container":"
|
|
5273
|
+
var css$6 = {"container":"_6zb1UE"};
|
|
5167
5274
|
|
|
5168
5275
|
const MainMenuIcon = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IconButton, { ref: ref, icon: props.icon, cx: cx$1(props.cx, css$6.container), ...props })));
|
|
5169
5276
|
|
|
5170
|
-
var css$5 = {"root":"
|
|
5277
|
+
var css$5 = {"root":"BW6Dfu"};
|
|
5171
5278
|
|
|
5172
5279
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
5173
5280
|
|
|
@@ -5225,7 +5332,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5225
5332
|
};
|
|
5226
5333
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
5227
5334
|
|
|
5228
|
-
var css$4 = {"root":"
|
|
5335
|
+
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"};
|
|
5229
5336
|
|
|
5230
5337
|
function DropSpot(props) {
|
|
5231
5338
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5243,19 +5350,19 @@ function DropSpot(props) {
|
|
|
5243
5350
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5244
5351
|
}
|
|
5245
5352
|
|
|
5246
|
-
var css$3 = {"root":"
|
|
5247
|
-
|
|
5248
|
-
var css$2 = {"root":"_6Q0-FW"};
|
|
5353
|
+
var css$3 = {"root":"FsGteO"};
|
|
5249
5354
|
|
|
5250
5355
|
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5251
5356
|
const outsetRadius = props.size / 2 - 1;
|
|
5252
5357
|
const insetRadius = props.size / 2 - 3;
|
|
5253
5358
|
const circumference = insetRadius * Math.PI;
|
|
5254
|
-
return (React.createElement("svg", { className: css$
|
|
5359
|
+
return (React.createElement("svg", { className: css$3.root, width: props.size, height: props.size, ref: ref, ...props.rawProps },
|
|
5255
5360
|
React.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 }),
|
|
5256
5361
|
React.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5257
5362
|
});
|
|
5258
5363
|
|
|
5364
|
+
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"};
|
|
5365
|
+
|
|
5259
5366
|
const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5260
5367
|
const [isLoadingShow, setIsLoadingShow] = React.useState(true);
|
|
5261
5368
|
const { file } = props;
|
|
@@ -5263,36 +5370,36 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5263
5370
|
switch (extension) {
|
|
5264
5371
|
case 'doc':
|
|
5265
5372
|
case 'docx':
|
|
5266
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5373
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.docIcon, cx: css$2.docColor });
|
|
5267
5374
|
case 'xls':
|
|
5268
5375
|
case 'xlsx':
|
|
5269
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5376
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.exelIcon, cx: css$2.xlsColor });
|
|
5270
5377
|
case 'pdf':
|
|
5271
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5378
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.pdfIcon, cx: css$2.pdfColor });
|
|
5272
5379
|
case 'gif':
|
|
5273
5380
|
case 'jpg':
|
|
5274
5381
|
case 'jpeg':
|
|
5275
5382
|
case 'svg':
|
|
5276
5383
|
case 'png':
|
|
5277
5384
|
case 'webp':
|
|
5278
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5385
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.imgIcon, cx: css$2.imgColor });
|
|
5279
5386
|
case 'avi':
|
|
5280
5387
|
case 'mov':
|
|
5281
5388
|
case 'mp4':
|
|
5282
5389
|
case 'wmw':
|
|
5283
5390
|
case 'mkv':
|
|
5284
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5391
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.videoIcon, cx: css$2.movColor });
|
|
5285
5392
|
case 'csv':
|
|
5286
5393
|
case 'xml':
|
|
5287
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5394
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.tableIcon, cx: css$2.defaultColor });
|
|
5288
5395
|
case 'rtf':
|
|
5289
5396
|
case 'txt':
|
|
5290
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5397
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.textIcon, cx: css$2.defaultColor });
|
|
5291
5398
|
case 'eml':
|
|
5292
5399
|
case 'emlx':
|
|
5293
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5400
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.mailIcon, cx: css$2.defaultColor });
|
|
5294
5401
|
default:
|
|
5295
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5402
|
+
return React.createElement(IconContainer, { size: 24, icon: settings.fileCard.icons.fileIcon, cx: css$2.defaultColor });
|
|
5296
5403
|
}
|
|
5297
5404
|
};
|
|
5298
5405
|
const { cx: componentCx, width, file: { progress, size, name, extension, error, abortXHR, }, onClick, } = props;
|
|
@@ -5309,10 +5416,10 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5309
5416
|
setIsLoadingShow(() => false);
|
|
5310
5417
|
};
|
|
5311
5418
|
const renderErrorContent = () => (React.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
5312
|
-
React.createElement("div", { className: css$
|
|
5313
|
-
React.createElement(IconContainer, { icon:
|
|
5419
|
+
React.createElement("div", { className: css$2.errorBlock },
|
|
5420
|
+
React.createElement(IconContainer, { icon: settings.fileCard.icons.errorIcon, size: 12 }),
|
|
5314
5421
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5315
|
-
const renderSuccessfulContent = () => (React.createElement(Text, { size: "
|
|
5422
|
+
const renderSuccessfulContent = () => (React.createElement(Text, { size: "none", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5316
5423
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
5317
5424
|
isLoading && formatBytes((size / 100) * progress, 2, false) + i18n.fileCard.fileSizeProgress,
|
|
5318
5425
|
formatBytes(size)));
|
|
@@ -5320,15 +5427,15 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5320
5427
|
progress && progress < 100 && abortXHR();
|
|
5321
5428
|
onClick();
|
|
5322
5429
|
};
|
|
5323
|
-
return (React.createElement(FlexCell, { ref: ref, cx: cx$1(css$
|
|
5430
|
+
return (React.createElement(FlexCell, { ref: ref, cx: cx$1(css$2.root, 'uui-file_card', (isLoading || error?.isError) && uuiMod.loading, componentCx, error?.isError && uuiMod.error), minWidth: width, width: !width ? '100%' : undefined },
|
|
5324
5431
|
React.createElement(FlexRow, { alignItems: "top", columnGap: "6" },
|
|
5325
5432
|
fileExtension && getIcon(fileExtension),
|
|
5326
5433
|
React.createElement(FlexCell, { width: "100%" },
|
|
5327
|
-
React.createElement(Text, { size: "
|
|
5434
|
+
React.createElement(Text, { size: "none", fontSize: "14", lineHeight: "18", color: (progress < 100 || error?.isError) ? 'tertiary' : 'primary', cx: css$2.fileName }, fileName),
|
|
5328
5435
|
error?.isError ? renderErrorContent() : renderSuccessfulContent()),
|
|
5329
|
-
React.createElement("div", { className: cx$1(css$
|
|
5436
|
+
React.createElement("div", { className: cx$1(css$2.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5330
5437
|
isLoadingShow && isLoading && React.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
5331
|
-
isCrossShow && React.createElement(IconButton, { icon:
|
|
5438
|
+
isCrossShow && React.createElement(IconButton, { icon: settings.fileCard.icons.closeIcon, onClick: removeHandler })))));
|
|
5332
5439
|
});
|
|
5333
5440
|
|
|
5334
5441
|
const getRecoveryMessageConfig = () => ({
|
|
@@ -5373,7 +5480,7 @@ const getErrorPageConfig = () => ({
|
|
|
5373
5480
|
},
|
|
5374
5481
|
});
|
|
5375
5482
|
|
|
5376
|
-
var css$1 = {"container":"
|
|
5483
|
+
var css$1 = {"container":"xLxjz3"};
|
|
5377
5484
|
|
|
5378
5485
|
const ErrorPage = (props) => {
|
|
5379
5486
|
const isMobileScreen = isMobile();
|
|
@@ -5385,7 +5492,7 @@ const ErrorPage = (props) => {
|
|
|
5385
5492
|
props?.supportLink && React__default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5386
5493
|
};
|
|
5387
5494
|
|
|
5388
|
-
var css = {"recovery-spinner":"
|
|
5495
|
+
var css = {"recovery-spinner":"Bw4cMJ","recoverySpinner":"Bw4cMJ","recovery-message":"YL7Wdk","recoveryMessage":"YL7Wdk","modal-blocker":"_4F3Xr-","modalBlocker":"_4F3Xr-","modalFadeIn":"rbUe28"};
|
|
5389
5496
|
|
|
5390
5497
|
function ErrorHandler(props) {
|
|
5391
5498
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|
|
@@ -5436,5 +5543,5 @@ function ErrorHandler(props) {
|
|
|
5436
5543
|
errorType === 'recovery' && renderRecoveryBlocker(errorInfo)));
|
|
5437
5544
|
}
|
|
5438
5545
|
|
|
5439
|
-
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FilterPickerBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerBodyMobileView, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, Rating, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, settings, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5546
|
+
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerCell, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FilterPickerBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerBodyMobileView, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, Rating, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, settings, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5440
5547
|
//# sourceMappingURL=index.esm.js.map
|