@epam/uui 5.13.3-beta.3 → 5.13.3-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/buttons/Button.d.ts +1 -1
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/datePickers/CalendarPresets.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/DatePickerBody.d.ts.map +1 -1
- package/components/datePickers/DatePickerHeader.d.ts +1 -1
- package/components/datePickers/DatePickerHeader.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/errors/ErrorHandler.d.ts +1 -2
- package/components/errors/ErrorHandler.d.ts.map +1 -1
- package/components/fileUpload/FileCard.d.ts.map +1 -1
- package/components/filters/FilterDatePickerBody.d.ts.map +1 -1
- package/components/filters/FilterItemBody.d.ts.map +1 -1
- package/components/filters/FilterNumericBody.d.ts.map +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +13 -12
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/Rating.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/inputs/timePicker/types.d.ts +0 -1
- package/components/inputs/timePicker/types.d.ts.map +1 -1
- package/components/layout/Accordion.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts +8 -21
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +0 -1
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/Alert.d.ts +2 -4
- package/components/overlays/Alert.d.ts.map +1 -1
- package/components/overlays/Dropdown.d.ts +1 -1
- package/components/overlays/Dropdown.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +8 -15
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +1 -1
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts +3 -5
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +1 -1
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts.map +1 -1
- package/components/pickers/DataPickerRow.d.ts +1 -1
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/PickerBodyMobileView.d.ts +5 -25
- package/components/pickers/PickerBodyMobileView.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +1 -1
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerList.d.ts +2 -2
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/{PickerListItem.d.ts → PickerListRow.d.ts} +2 -2
- package/components/pickers/PickerListRow.d.ts.map +1 -0
- package/components/pickers/PickerModal.d.ts +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +4 -5
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +3 -3
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/pickers/index.d.ts +1 -2
- package/components/pickers/index.d.ts.map +1 -1
- package/components/pickers/types.d.ts +1 -1
- package/components/pickers/types.d.ts.map +1 -1
- package/components/tables/ColumnHeaderDropdown/SortingPanel.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
- package/components/tables/DataTable.d.ts +5 -13
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +3 -7
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +6 -8
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderGroupCell.d.ts +5 -3
- package/components/tables/DataTableHeaderGroupCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderRow.d.ts +1 -1
- package/components/tables/DataTableHeaderRow.d.ts.map +1 -1
- package/components/tables/DataTableRow.d.ts +4 -6
- package/components/tables/DataTableRow.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnRow.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/PinIconButton.d.ts.map +1 -1
- package/components/tables/types.d.ts +5 -3
- package/components/tables/types.d.ts.map +1 -1
- package/components/types.d.ts +0 -1
- package/components/types.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +1 -1
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/components/typography/Text.d.ts +5 -5
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +3 -5
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts +8 -15
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/components/widgets/Paginator.d.ts +1 -1
- package/components/widgets/Paginator.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts +3 -5
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/icons/icons.d.ts +21 -0
- package/icons/icons.d.ts.map +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.esm.js +1361 -1468
- package/index.esm.js.map +1 -1
- package/index.js +1359 -1467
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts +2 -417
- package/settings.d.ts.map +1 -1
- package/settings.types.d.ts +238 -0
- package/settings.types.d.ts.map +1 -0
- package/stats.html +1 -19
- package/styles.css +1091 -1181
- package/styles.css.map +1 -1
- package/components/pickers/PickerListItem.d.ts.map +0 -1
package/index.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, 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';
|
|
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, FlexRow as FlexRow$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,
|
|
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';
|
|
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 SvgActionSearchOutline = function SvgActionSearchOutline(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,14 +71,16 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(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
|
-
|
|
74
|
+
fillRule: "evenodd",
|
|
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"
|
|
75
77
|
})));
|
|
76
78
|
};
|
|
77
|
-
var ForwardRef$O = /*#__PURE__*/forwardRef(
|
|
79
|
+
var ForwardRef$O = /*#__PURE__*/forwardRef(SvgActionSearchOutline);
|
|
78
80
|
|
|
79
81
|
var _path$N;
|
|
80
82
|
function _extends$N() { return _extends$N = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$N.apply(null, arguments); }
|
|
81
|
-
var
|
|
83
|
+
var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
82
84
|
return /*#__PURE__*/React.createElement("svg", _extends$N({
|
|
83
85
|
xmlns: "http://www.w3.org/2000/svg",
|
|
84
86
|
width: 24,
|
|
@@ -86,16 +88,14 @@ var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
|
86
88
|
viewBox: "0 0 24 24",
|
|
87
89
|
ref: ref
|
|
88
90
|
}, props), _path$N || (_path$N = /*#__PURE__*/React.createElement("path", {
|
|
89
|
-
|
|
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"
|
|
91
|
+
d: "M5 22a1.93 1.93 0 0 1-1.413-.587A1.928 1.928 0 0 1 3 20V6c0-.55.196-1.02.587-1.412A1.927 1.927 0 0 1 5 4h1V2h2v2h8V2h2v2h1c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412v14a1.93 1.93 0 0 1-.587 1.413A1.928 1.928 0 0 1 19 22H5zm0-2h14V10H5v10z"
|
|
92
92
|
})));
|
|
93
93
|
};
|
|
94
|
-
var ForwardRef$N = /*#__PURE__*/forwardRef(
|
|
94
|
+
var ForwardRef$N = /*#__PURE__*/forwardRef(SvgActionCalendarFill);
|
|
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 SvgNotificationInfoOutline = function SvgNotificationInfoOutline(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 SvgActionCalendarFill = function SvgActionCalendarFill(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: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20z"
|
|
107
107
|
})));
|
|
108
108
|
};
|
|
109
|
-
var ForwardRef$M = /*#__PURE__*/forwardRef(
|
|
109
|
+
var ForwardRef$M = /*#__PURE__*/forwardRef(SvgNotificationInfoOutline);
|
|
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 SvgFileFileWordFill = function SvgFileFileWordFill(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,14 +118,16 @@ var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(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
|
-
|
|
121
|
+
fillRule: "evenodd",
|
|
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"
|
|
122
124
|
})));
|
|
123
125
|
};
|
|
124
|
-
var ForwardRef$L = /*#__PURE__*/forwardRef(
|
|
126
|
+
var ForwardRef$L = /*#__PURE__*/forwardRef(SvgFileFileWordFill);
|
|
125
127
|
|
|
126
128
|
var _path$K;
|
|
127
129
|
function _extends$K() { return _extends$K = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$K.apply(null, arguments); }
|
|
128
|
-
var
|
|
130
|
+
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
129
131
|
return /*#__PURE__*/React.createElement("svg", _extends$K({
|
|
130
132
|
xmlns: "http://www.w3.org/2000/svg",
|
|
131
133
|
width: 24,
|
|
@@ -133,154 +135,33 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
133
135
|
viewBox: "0 0 24 24",
|
|
134
136
|
ref: ref
|
|
135
137
|
}, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
136
|
-
|
|
138
|
+
fillRule: "evenodd",
|
|
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"
|
|
137
141
|
})));
|
|
138
142
|
};
|
|
139
|
-
var ForwardRef$K = /*#__PURE__*/forwardRef(
|
|
143
|
+
var ForwardRef$K = /*#__PURE__*/forwardRef(SvgFileFileExcelFill);
|
|
140
144
|
|
|
141
|
-
var _path$J
|
|
145
|
+
var _path$J;
|
|
142
146
|
function _extends$J() { return _extends$J = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$J.apply(null, arguments); }
|
|
143
|
-
var
|
|
147
|
+
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
144
148
|
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",
|
|
150
153
|
ref: ref
|
|
151
|
-
}, props), /*#__PURE__*/React.createElement("
|
|
152
|
-
clipPath: "url(#hihzs09apabs5bic_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: "hihzs00imdqhvkqlk_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(#hihzs00imdqhvkqlk_b)",
|
|
154
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
187
155
|
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",
|
|
188
157
|
clipRule: "evenodd"
|
|
189
|
-
}
|
|
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: "hihzs09apabs5bic_a"
|
|
273
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
274
|
-
fill: "#fff",
|
|
275
|
-
transform: "translate(.552)",
|
|
276
|
-
d: "M0 0h230.897v180H0z"
|
|
277
|
-
})))));
|
|
158
|
+
})));
|
|
278
159
|
};
|
|
279
|
-
var ForwardRef$J = /*#__PURE__*/forwardRef(
|
|
160
|
+
var ForwardRef$J = /*#__PURE__*/forwardRef(SvgFileFilePdfFill);
|
|
280
161
|
|
|
281
162
|
var _path$I;
|
|
282
163
|
function _extends$I() { return _extends$I = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$I.apply(null, arguments); }
|
|
283
|
-
var
|
|
164
|
+
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
284
165
|
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
285
166
|
xmlns: "http://www.w3.org/2000/svg",
|
|
286
167
|
width: 24,
|
|
@@ -288,14 +169,16 @@ var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
|
288
169
|
viewBox: "0 0 24 24",
|
|
289
170
|
ref: ref
|
|
290
171
|
}, props), _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
291
|
-
|
|
172
|
+
fillRule: "evenodd",
|
|
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"
|
|
292
175
|
})));
|
|
293
176
|
};
|
|
294
|
-
var ForwardRef$I = /*#__PURE__*/forwardRef(
|
|
177
|
+
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgFileFileImageFill);
|
|
295
178
|
|
|
296
|
-
var _path$H;
|
|
179
|
+
var _path$H, _path2$5;
|
|
297
180
|
function _extends$H() { return _extends$H = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$H.apply(null, arguments); }
|
|
298
|
-
var
|
|
181
|
+
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
299
182
|
return /*#__PURE__*/React.createElement("svg", _extends$H({
|
|
300
183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
301
184
|
width: 24,
|
|
@@ -303,14 +186,18 @@ var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
|
303
186
|
viewBox: "0 0 24 24",
|
|
304
187
|
ref: ref
|
|
305
188
|
}, props), _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
|
|
306
|
-
d: "
|
|
189
|
+
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
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"
|
|
307
194
|
})));
|
|
308
195
|
};
|
|
309
|
-
var ForwardRef$H = /*#__PURE__*/forwardRef(
|
|
196
|
+
var ForwardRef$H = /*#__PURE__*/forwardRef(SvgFileFileVideoFill);
|
|
310
197
|
|
|
311
198
|
var _path$G;
|
|
312
199
|
function _extends$G() { return _extends$G = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$G.apply(null, arguments); }
|
|
313
|
-
var
|
|
200
|
+
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
314
201
|
return /*#__PURE__*/React.createElement("svg", _extends$G({
|
|
315
202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
316
203
|
width: 24,
|
|
@@ -318,14 +205,16 @@ var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props
|
|
|
318
205
|
viewBox: "0 0 24 24",
|
|
319
206
|
ref: ref
|
|
320
207
|
}, props), _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
321
|
-
|
|
208
|
+
fillRule: "evenodd",
|
|
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"
|
|
322
211
|
})));
|
|
323
212
|
};
|
|
324
|
-
var ForwardRef$G = /*#__PURE__*/forwardRef(
|
|
213
|
+
var ForwardRef$G = /*#__PURE__*/forwardRef(SvgFileFileTableFill);
|
|
325
214
|
|
|
326
215
|
var _path$F;
|
|
327
216
|
function _extends$F() { return _extends$F = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$F.apply(null, arguments); }
|
|
328
|
-
var
|
|
217
|
+
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
329
218
|
return /*#__PURE__*/React.createElement("svg", _extends$F({
|
|
330
219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
331
220
|
width: 24,
|
|
@@ -334,15 +223,15 @@ var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props,
|
|
|
334
223
|
ref: ref
|
|
335
224
|
}, props), _path$F || (_path$F = /*#__PURE__*/React.createElement("path", {
|
|
336
225
|
fillRule: "evenodd",
|
|
337
|
-
d: "
|
|
226
|
+
d: "M13 9h5.5L13 3.5V9zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2zm9 16v-2H6v2h9zm3-4v-2H6v2h12z",
|
|
338
227
|
clipRule: "evenodd"
|
|
339
228
|
})));
|
|
340
229
|
};
|
|
341
|
-
var ForwardRef$F = /*#__PURE__*/forwardRef(
|
|
230
|
+
var ForwardRef$F = /*#__PURE__*/forwardRef(SvgFileFileTextFill);
|
|
342
231
|
|
|
343
232
|
var _path$E;
|
|
344
233
|
function _extends$E() { return _extends$E = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$E.apply(null, arguments); }
|
|
345
|
-
var
|
|
234
|
+
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
346
235
|
return /*#__PURE__*/React.createElement("svg", _extends$E({
|
|
347
236
|
xmlns: "http://www.w3.org/2000/svg",
|
|
348
237
|
width: 24,
|
|
@@ -350,582 +239,205 @@ var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, re
|
|
|
350
239
|
viewBox: "0 0 24 24",
|
|
351
240
|
ref: ref
|
|
352
241
|
}, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
|
|
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"
|
|
354
|
-
})));
|
|
355
|
-
};
|
|
356
|
-
var ForwardRef$E = /*#__PURE__*/forwardRef(SvgNavigationRefreshOutline);
|
|
357
|
-
|
|
358
|
-
var _path$D;
|
|
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); }
|
|
360
|
-
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
361
|
-
return /*#__PURE__*/React.createElement("svg", _extends$D({
|
|
362
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
363
|
-
width: 24,
|
|
364
|
-
height: 24,
|
|
365
|
-
viewBox: "0 0 24 24",
|
|
366
|
-
ref: ref
|
|
367
|
-
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
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"
|
|
390
|
-
})));
|
|
391
|
-
};
|
|
392
|
-
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgTableGroupColumnLeftFill);
|
|
393
|
-
|
|
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
242
|
fillRule: "evenodd",
|
|
407
|
-
d: "
|
|
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",
|
|
408
244
|
clipRule: "evenodd"
|
|
409
245
|
})));
|
|
410
246
|
};
|
|
411
|
-
var ForwardRef$
|
|
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
|
-
})));
|
|
425
|
-
};
|
|
426
|
-
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgTableSwapOutline);
|
|
247
|
+
var ForwardRef$E = /*#__PURE__*/forwardRef(SvgFileFileEmlFill);
|
|
427
248
|
|
|
428
|
-
var _path$
|
|
429
|
-
function _extends$
|
|
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); }
|
|
249
|
+
var _path$D;
|
|
250
|
+
function _extends$D() { return _extends$D = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$D.apply(null, arguments); }
|
|
778
251
|
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
779
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
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$
|
|
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
|
-
},
|
|
252
|
+
return /*#__PURE__*/React.createElement("svg", _extends$D({
|
|
253
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
254
|
+
width: 24,
|
|
255
|
+
height: 24,
|
|
256
|
+
viewBox: "0 0 24 24",
|
|
257
|
+
ref: ref
|
|
258
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
259
|
+
d: "M6 22c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 4 20V4c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 6 2h8l6 6v12a1.93 1.93 0 0 1-.587 1.413A1.928 1.928 0 0 1 18 22H6zm7-13h5l-5-5v5z"
|
|
260
|
+
})));
|
|
865
261
|
};
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
262
|
+
var ForwardRef$D = /*#__PURE__*/forwardRef(SvgFileFileFill);
|
|
263
|
+
|
|
264
|
+
const fileIcons = {
|
|
265
|
+
docIcon: ForwardRef$L,
|
|
266
|
+
exelIcon: ForwardRef$K,
|
|
267
|
+
pdfIcon: ForwardRef$J,
|
|
268
|
+
imgIcon: ForwardRef$I,
|
|
269
|
+
videoIcon: ForwardRef$H,
|
|
270
|
+
tableIcon: ForwardRef$G,
|
|
271
|
+
textIcon: ForwardRef$F,
|
|
272
|
+
mailIcon: ForwardRef$E,
|
|
273
|
+
fileIcon: ForwardRef$D,
|
|
874
274
|
};
|
|
875
|
-
const
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
},
|
|
275
|
+
const systemIcons = {
|
|
276
|
+
clear: ForwardRef$R,
|
|
277
|
+
foldingArrow: ForwardRef$Q,
|
|
278
|
+
accept: ForwardRef$P,
|
|
279
|
+
search: ForwardRef$O,
|
|
280
|
+
calendar: ForwardRef$N,
|
|
281
|
+
info: ForwardRef$M,
|
|
883
282
|
};
|
|
884
|
-
|
|
283
|
+
|
|
284
|
+
const settings = {
|
|
885
285
|
sizes: {
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
286
|
+
defaults: {
|
|
287
|
+
alert: '48',
|
|
288
|
+
badge: '36',
|
|
289
|
+
button: '36',
|
|
290
|
+
checkbox: '18',
|
|
291
|
+
countIndicator: '24',
|
|
292
|
+
flexRow: '36',
|
|
293
|
+
filtersPanel: '36',
|
|
294
|
+
linkButton: '36',
|
|
295
|
+
numericInput: '36',
|
|
296
|
+
radioInput: '18',
|
|
297
|
+
richTextView: '14',
|
|
298
|
+
switch: '18',
|
|
299
|
+
tabButton: '48',
|
|
300
|
+
tag: '36',
|
|
301
|
+
text: '36',
|
|
302
|
+
textArea: '36',
|
|
303
|
+
textInput: '36',
|
|
304
|
+
rangeDatePicker: '36',
|
|
305
|
+
datePicker: '36',
|
|
306
|
+
labeledInput: '36',
|
|
307
|
+
statusIndicator: '24',
|
|
308
|
+
paginator: '30',
|
|
309
|
+
rating: '18',
|
|
902
310
|
},
|
|
903
|
-
|
|
904
|
-
|
|
311
|
+
alert: {
|
|
312
|
+
action: {
|
|
313
|
+
36: '24',
|
|
314
|
+
48: '30',
|
|
315
|
+
},
|
|
905
316
|
},
|
|
906
|
-
|
|
907
|
-
|
|
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,
|
|
317
|
+
notificationCard: {
|
|
318
|
+
action: '30',
|
|
915
319
|
},
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
320
|
+
tag: {
|
|
321
|
+
countIndicator: {
|
|
322
|
+
18: '12',
|
|
323
|
+
24: '18',
|
|
324
|
+
30: '18',
|
|
921
325
|
36: '18',
|
|
922
|
-
|
|
923
|
-
|
|
326
|
+
42: '24',
|
|
327
|
+
48: '24',
|
|
924
328
|
},
|
|
925
329
|
},
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
330
|
+
pickerInput: {
|
|
331
|
+
toggler: {
|
|
332
|
+
defaults: {
|
|
333
|
+
size: '36',
|
|
334
|
+
tag: '36',
|
|
335
|
+
},
|
|
336
|
+
tag: {
|
|
337
|
+
24: '18',
|
|
338
|
+
30: '18',
|
|
339
|
+
36: '24',
|
|
340
|
+
42: '30',
|
|
341
|
+
48: '36',
|
|
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
|
+
},
|
|
433
|
+
},
|
|
434
|
+
rowAddons: {
|
|
435
|
+
defaults: {
|
|
436
|
+
icon: '18',
|
|
437
|
+
indentUnit: 24,
|
|
438
|
+
indentWidth: 18,
|
|
439
|
+
},
|
|
440
|
+
checkbox: {
|
|
929
441
|
24: '12',
|
|
930
442
|
30: '18',
|
|
931
443
|
36: '18',
|
|
@@ -933,7 +445,7 @@ const dataTableSettings = {
|
|
|
933
445
|
48: '18',
|
|
934
446
|
60: '18',
|
|
935
447
|
},
|
|
936
|
-
|
|
448
|
+
icon: {
|
|
937
449
|
24: '12',
|
|
938
450
|
30: '18',
|
|
939
451
|
36: '18',
|
|
@@ -941,7 +453,7 @@ const dataTableSettings = {
|
|
|
941
453
|
48: '24',
|
|
942
454
|
60: '24',
|
|
943
455
|
},
|
|
944
|
-
|
|
456
|
+
indentUnit: {
|
|
945
457
|
24: 6,
|
|
946
458
|
30: 12,
|
|
947
459
|
36: 12,
|
|
@@ -949,7 +461,7 @@ const dataTableSettings = {
|
|
|
949
461
|
48: 24,
|
|
950
462
|
60: 24,
|
|
951
463
|
},
|
|
952
|
-
|
|
464
|
+
indentWidth: {
|
|
953
465
|
24: 12,
|
|
954
466
|
30: 18,
|
|
955
467
|
36: 18,
|
|
@@ -958,321 +470,132 @@ const dataTableSettings = {
|
|
|
958
470
|
60: 24,
|
|
959
471
|
},
|
|
960
472
|
},
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
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,
|
|
473
|
+
text: {
|
|
474
|
+
18: { lineHeight: 12, fontSize: 10 },
|
|
475
|
+
24: { lineHeight: 18, fontSize: 12 },
|
|
476
|
+
30: { lineHeight: 18, fontSize: 14 },
|
|
477
|
+
36: { lineHeight: 18, fontSize: 14 },
|
|
478
|
+
42: { lineHeight: 24, fontSize: 16 },
|
|
479
|
+
48: { lineHeight: 24, fontSize: 16 },
|
|
480
|
+
60: { lineHeight: 30, fontSize: 24 },
|
|
983
481
|
},
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
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,
|
|
482
|
+
filtersPanel: {
|
|
483
|
+
pickerInput: {
|
|
484
|
+
body: {
|
|
485
|
+
default: '36',
|
|
486
|
+
},
|
|
487
|
+
},
|
|
1081
488
|
},
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
pickerBodyMobileHeaderCloseIcon: ForwardRef$R,
|
|
1085
|
-
modalNotFoundSearchIcon: ForwardRef$b,
|
|
489
|
+
labeledInput: {
|
|
490
|
+
fillIcon: ['24', '30'],
|
|
1086
491
|
},
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
default: '36',
|
|
1091
|
-
tag: '36',
|
|
1092
|
-
tagMap: {
|
|
492
|
+
badge: {
|
|
493
|
+
countIndicator: {
|
|
494
|
+
18: '12',
|
|
1093
495
|
24: '18',
|
|
1094
496
|
30: '18',
|
|
1095
|
-
36: '
|
|
1096
|
-
42: '
|
|
1097
|
-
48: '
|
|
497
|
+
36: '18',
|
|
498
|
+
42: '24',
|
|
499
|
+
48: '24',
|
|
1098
500
|
},
|
|
1099
501
|
},
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
502
|
+
dataTable: {
|
|
503
|
+
header: {
|
|
504
|
+
row: {
|
|
505
|
+
default: '36',
|
|
506
|
+
cell: {
|
|
507
|
+
defaults: {
|
|
508
|
+
size: '36',
|
|
509
|
+
resizeMarker: '12',
|
|
510
|
+
padding: '12',
|
|
511
|
+
paddingEdge: '24',
|
|
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
|
+
},
|
|
1111
551
|
},
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
552
|
+
body: {
|
|
553
|
+
row: {
|
|
554
|
+
default: '36',
|
|
555
|
+
cell: {
|
|
556
|
+
defaults: {
|
|
557
|
+
size: '36',
|
|
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
|
+
},
|
|
1118
572
|
},
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
573
|
+
columnsConfigurationModal: {
|
|
574
|
+
columnRow: '30',
|
|
575
|
+
countIndicator: '18',
|
|
576
|
+
subgroupIcon: '18',
|
|
577
|
+
search: '30',
|
|
578
|
+
width: 560,
|
|
1125
579
|
},
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
580
|
+
},
|
|
581
|
+
modal: {
|
|
582
|
+
window: {
|
|
583
|
+
defaults: {
|
|
584
|
+
width: 420,
|
|
585
|
+
},
|
|
1132
586
|
},
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
587
|
+
},
|
|
588
|
+
tabButton: {
|
|
589
|
+
countIndicator: {
|
|
1136
590
|
36: '18',
|
|
1137
|
-
|
|
1138
|
-
|
|
591
|
+
48: '18',
|
|
592
|
+
60: '18',
|
|
1139
593
|
},
|
|
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',
|
|
1217
594
|
},
|
|
1218
595
|
},
|
|
1219
596
|
};
|
|
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
|
-
};
|
|
1274
597
|
|
|
1275
|
-
var css$1y = {"root":"
|
|
598
|
+
var css$1y = {"root":"ONwMpi"};
|
|
1276
599
|
|
|
1277
600
|
function applyButtonMods(mods) {
|
|
1278
601
|
return [
|
|
@@ -1280,17 +603,17 @@ function applyButtonMods(mods) {
|
|
|
1280
603
|
'uui-button',
|
|
1281
604
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
1282
605
|
`uui-color-${mods.color || 'primary'}`,
|
|
1283
|
-
`uui-size-${mods.size || settings.
|
|
606
|
+
`uui-size-${mods.size || settings.sizes.defaults.button}`,
|
|
1284
607
|
];
|
|
1285
608
|
}
|
|
1286
609
|
const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, () => {
|
|
1287
610
|
return {
|
|
1288
|
-
dropdownIcon:
|
|
1289
|
-
clearIcon:
|
|
611
|
+
dropdownIcon: systemIcons.foldingArrow,
|
|
612
|
+
clearIcon: systemIcons.clear,
|
|
1290
613
|
};
|
|
1291
614
|
});
|
|
1292
615
|
|
|
1293
|
-
var css$1x = {"root":"
|
|
616
|
+
var css$1x = {"root":"mE0AcZ"};
|
|
1294
617
|
|
|
1295
618
|
function applyIconButtonMods(props) {
|
|
1296
619
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1x.root];
|
|
@@ -1306,7 +629,7 @@ const IconButton = /* @__PURE__ */withMods(uuiComponents.IconButton, applyIconBu
|
|
|
1306
629
|
});
|
|
1307
630
|
}
|
|
1308
631
|
return {
|
|
1309
|
-
dropdownIcon: props.dropdownIcon ||
|
|
632
|
+
dropdownIcon: props.dropdownIcon || systemIcons.foldingArrow,
|
|
1310
633
|
};
|
|
1311
634
|
});
|
|
1312
635
|
|
|
@@ -1327,9 +650,10 @@ function getIconClass(props) {
|
|
|
1327
650
|
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'];
|
|
1328
651
|
}
|
|
1329
652
|
|
|
1330
|
-
var css$1w = {"root":"
|
|
653
|
+
var css$1w = {"root":"ftBCxH"};
|
|
1331
654
|
|
|
1332
655
|
const DEFAULT_COLOR = 'primary';
|
|
656
|
+
const DEFAULT_WEIGHT = 'semibold';
|
|
1333
657
|
const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1334
658
|
if (process.env.NODE_ENV !== "production" && props.color === 'contrast') {
|
|
1335
659
|
devLogger.warnAboutDeprecatedPropValue({
|
|
@@ -1343,13 +667,13 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1343
667
|
const rootStyles = [
|
|
1344
668
|
'uui-link_button',
|
|
1345
669
|
css$1w.root,
|
|
1346
|
-
`uui-size-${props.size || settings.
|
|
670
|
+
`uui-size-${props.size || settings.sizes.defaults.linkButton}`,
|
|
1347
671
|
...getIconClass(props),
|
|
1348
672
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
1349
673
|
props.cx,
|
|
1350
674
|
];
|
|
1351
|
-
const captionStyles = cx(uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight ||
|
|
1352
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
675
|
+
const captionStyles = cx(uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || DEFAULT_WEIGHT}`);
|
|
676
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1353
677
|
return (React.createElement(Clickable, { ...props, type: "button", cx: rootStyles, ref: ref },
|
|
1354
678
|
props.icon && props.iconPosition !== 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1355
679
|
props.caption && (React.createElement("div", { className: captionStyles }, props.caption)),
|
|
@@ -1357,30 +681,30 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1357
681
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1358
682
|
});
|
|
1359
683
|
|
|
1360
|
-
var css$1v = {"root":"
|
|
684
|
+
var css$1v = {"root":"Udyiom"};
|
|
1361
685
|
|
|
1362
686
|
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1363
687
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
1364
688
|
css$1v.root,
|
|
1365
689
|
'uui-count_indicator',
|
|
1366
|
-
`uui-size-${props.size || settings.
|
|
690
|
+
`uui-size-${props.size || settings.sizes.defaults.countIndicator}`,
|
|
1367
691
|
props.color && `uui-color-${props.color}`,
|
|
1368
692
|
props.cx,
|
|
1369
693
|
]) }, props.caption));
|
|
1370
694
|
});
|
|
1371
695
|
|
|
1372
|
-
var css$1u = {"root":"
|
|
696
|
+
var css$1u = {"root":"-O-GyB","withNotify":"M9NRoy"};
|
|
1373
697
|
|
|
1374
698
|
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1375
699
|
const styles = [
|
|
1376
700
|
css$1u.root,
|
|
1377
701
|
'uui-tab-button',
|
|
1378
|
-
`uui-size-${props.size || settings.
|
|
702
|
+
`uui-size-${props.size || settings.sizes.defaults.tabButton}`,
|
|
1379
703
|
...getIconClass(props),
|
|
1380
704
|
props.cx,
|
|
1381
705
|
];
|
|
1382
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1383
|
-
const ClearIcon = props.clearIcon ? props.clearIcon :
|
|
706
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
707
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : systemIcons.clear;
|
|
1384
708
|
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
1385
709
|
role: 'tab',
|
|
1386
710
|
'aria-haspopup': props.isDropdown,
|
|
@@ -1392,54 +716,86 @@ const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1392
716
|
props.caption,
|
|
1393
717
|
props.withNotify && React__default.createElement("div", { className: css$1u.withNotify }))),
|
|
1394
718
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1395
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: "neutral", size: settings.tabButton.
|
|
719
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: "neutral", size: settings.sizes.tabButton.countIndicator[props.size || settings.sizes.defaults.tabButton], caption: props.count })),
|
|
1396
720
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1397
721
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1398
722
|
});
|
|
1399
723
|
|
|
1400
|
-
var css$1t = {"root":"
|
|
724
|
+
var css$1t = {"root":"OHlQiv"};
|
|
1401
725
|
|
|
1402
726
|
function applyVerticalTabButtonMods() {
|
|
1403
727
|
return [css$1t.root, 'uui-vertical-tab-button'];
|
|
1404
728
|
}
|
|
1405
729
|
const VerticalTabButton = /* @__PURE__ */withMods(TabButton, applyVerticalTabButtonMods);
|
|
1406
730
|
|
|
1407
|
-
var
|
|
731
|
+
var _path$C;
|
|
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":"LfgQiY","mode-cell":"-M703n","modeCell":"-M703n"};
|
|
1408
747
|
|
|
1409
748
|
function applyCheckboxMods(mods) {
|
|
1410
749
|
return [
|
|
1411
750
|
css$1s.root,
|
|
1412
|
-
`uui-size-${mods.size || settings.
|
|
751
|
+
`uui-size-${mods.size || settings.sizes.defaults.checkbox}`,
|
|
1413
752
|
css$1s['mode-' + (mods.mode || 'form')],
|
|
1414
753
|
'uui-color-primary',
|
|
1415
754
|
];
|
|
1416
755
|
}
|
|
1417
756
|
const applyUUICheckboxProps = (props) => {
|
|
757
|
+
const defaultIcon = ForwardRef$P;
|
|
758
|
+
const defaultIndeterminateIcon = ForwardRef$C;
|
|
1418
759
|
return {
|
|
1419
|
-
icon: props.icon ? props.icon :
|
|
1420
|
-
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon :
|
|
760
|
+
icon: props.icon ? props.icon : defaultIcon,
|
|
761
|
+
indeterminateIcon: props.indeterminateIcon ? props.indeterminateIcon : defaultIndeterminateIcon,
|
|
1421
762
|
};
|
|
1422
763
|
};
|
|
1423
764
|
const Checkbox = /* @__PURE__ */withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1424
765
|
|
|
1425
|
-
var
|
|
766
|
+
var _path$B;
|
|
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":"FHkXx7"};
|
|
1426
782
|
|
|
1427
783
|
function applyRadioInputMods(mods) {
|
|
1428
784
|
return [
|
|
1429
785
|
css$1r.root,
|
|
1430
|
-
`uui-size-${mods.size || settings.
|
|
786
|
+
`uui-size-${mods.size || settings.sizes.defaults.radioInput}`,
|
|
1431
787
|
'uui-radio-input-container',
|
|
1432
788
|
'uui-color-primary',
|
|
1433
789
|
];
|
|
1434
790
|
}
|
|
1435
|
-
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon :
|
|
791
|
+
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$B }));
|
|
1436
792
|
|
|
1437
|
-
var css$1q = {"root":"
|
|
793
|
+
var css$1q = {"root":"Pr-yuV"};
|
|
1438
794
|
|
|
1439
795
|
function applySwitchMods(mods) {
|
|
1440
796
|
return [
|
|
1441
797
|
css$1q.root,
|
|
1442
|
-
`uui-size-${mods.size || settings.
|
|
798
|
+
`uui-size-${mods.size || settings.sizes.defaults.switch}`,
|
|
1443
799
|
'uui-color-primary',
|
|
1444
800
|
];
|
|
1445
801
|
}
|
|
@@ -1458,20 +814,20 @@ var EditMode;
|
|
|
1458
814
|
EditMode["INLINE"] = "inline";
|
|
1459
815
|
})(EditMode || (EditMode = {}));
|
|
1460
816
|
|
|
1461
|
-
var textInputCss = {"root":"
|
|
817
|
+
var textInputCss = {"root":"fuqk1R","mode-form":"_5YShjc","modeForm":"_5YShjc","mode-inline":"fT2q-y","modeInline":"fT2q-y","mode-cell":"TftuG0","modeCell":"TftuG0"};
|
|
1462
818
|
|
|
1463
819
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1464
820
|
function applyTextInputMods(mods) {
|
|
1465
821
|
return [
|
|
1466
822
|
textInputCss.root,
|
|
1467
|
-
`uui-size-${mods.size || settings.
|
|
823
|
+
`uui-size-${mods.size || settings.sizes.defaults.textInput}`,
|
|
1468
824
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$3)],
|
|
1469
825
|
];
|
|
1470
826
|
}
|
|
1471
827
|
const TextInput = /* @__PURE__ */withMods(TextInput$1, applyTextInputMods, () => ({
|
|
1472
|
-
acceptIcon:
|
|
1473
|
-
cancelIcon:
|
|
1474
|
-
dropdownIcon:
|
|
828
|
+
acceptIcon: systemIcons.accept,
|
|
829
|
+
cancelIcon: systemIcons.clear,
|
|
830
|
+
dropdownIcon: systemIcons.foldingArrow,
|
|
1475
831
|
}));
|
|
1476
832
|
const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1477
833
|
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
@@ -1479,11 +835,11 @@ const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1479
835
|
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
1480
836
|
return (React__default.createElement(IEditableDebouncer, { ...props, render: (iEditable) => {
|
|
1481
837
|
const defaultOnCancel = () => iEditable.onValueChange('');
|
|
1482
|
-
return (React__default.createElement(TextInput, { icon:
|
|
838
|
+
return (React__default.createElement(TextInput, { icon: systemIcons.search, onCancel: props.onCancel ?? defaultOnCancel, type: "search", inputMode: "search", ref: ref, ...textInputProps, ...iEditable }));
|
|
1483
839
|
} }));
|
|
1484
840
|
});
|
|
1485
841
|
|
|
1486
|
-
var css$1p = {"root":"
|
|
842
|
+
var css$1p = {"root":"LWNmIs"};
|
|
1487
843
|
|
|
1488
844
|
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1p.root, 'uui-control-group']);
|
|
1489
845
|
|
|
@@ -1499,34 +855,34 @@ function MultiSwitchComponent(props, ref) {
|
|
|
1499
855
|
}
|
|
1500
856
|
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
1501
857
|
|
|
1502
|
-
var css$1o = {"root":"
|
|
858
|
+
var css$1o = {"root":"_3Lne8p","mode-form":"XDtT7N","modeForm":"XDtT7N","mode-cell":"J9iGzK","modeCell":"J9iGzK"};
|
|
1503
859
|
|
|
1504
860
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1505
861
|
function applyNumericInputMods(mods) {
|
|
1506
862
|
return [
|
|
1507
863
|
textInputCss.root,
|
|
1508
864
|
css$1o.root,
|
|
1509
|
-
`uui-size-${mods.size || settings.
|
|
865
|
+
`uui-size-${mods.size || settings.sizes.defaults.numericInput}`,
|
|
1510
866
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
1511
867
|
];
|
|
1512
868
|
}
|
|
1513
869
|
const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMods, (props) => {
|
|
1514
870
|
return {
|
|
1515
|
-
upIcon:
|
|
1516
|
-
downIcon:
|
|
871
|
+
upIcon: systemIcons.foldingArrow,
|
|
872
|
+
downIcon: systemIcons.foldingArrow,
|
|
1517
873
|
align: props.align ?? (props.mode === 'cell' ? 'right' : 'left'),
|
|
1518
874
|
disableArrows: props.disableArrows ?? props.mode === 'cell',
|
|
1519
875
|
};
|
|
1520
876
|
});
|
|
1521
877
|
|
|
1522
|
-
var css$1n = {"root":"
|
|
878
|
+
var css$1n = {"root":"-Q3OAF","mode-form":"XocBRU","modeForm":"XocBRU","mode-cell":"dWmwXh","modeCell":"dWmwXh","mode-inline":"E43d1k","modeInline":"E43d1k"};
|
|
1523
879
|
|
|
1524
880
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1525
881
|
function applyTextAreaMods(mods) {
|
|
1526
882
|
return [
|
|
1527
883
|
css$1n.root,
|
|
1528
884
|
'uui-textarea',
|
|
1529
|
-
'uui-size-' + (mods.size || settings.
|
|
885
|
+
'uui-size-' + (mods.size || settings.sizes.defaults.textArea),
|
|
1530
886
|
css$1n['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
1531
887
|
];
|
|
1532
888
|
}
|
|
@@ -1560,25 +916,85 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1560
916
|
};
|
|
1561
917
|
}
|
|
1562
918
|
|
|
1563
|
-
var
|
|
919
|
+
var _path$A;
|
|
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":"oXU-At","main-path":"wkp469","mainPath":"wkp469","content-wrapper":"OjClvP","contentWrapper":"OjClvP","content":"T5wjNQ","action-wrapper":"H13oQC","actionWrapper":"H13oQC","icon-wrapper":"_4e2Y1d","iconWrapper":"_4e2Y1d","icon":"pCTOJL","close-icon":"BJh2m6","closeIcon":"BJh2m6"};
|
|
1564
980
|
|
|
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.
|
|
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.defaults.alert}`), ...props.rawProps },
|
|
1566
982
|
React.createElement("div", { className: css$1m.mainPath },
|
|
1567
983
|
React.createElement("div", { className: css$1m.contentWrapper },
|
|
1568
984
|
props.icon && (React.createElement("div", { className: css$1m.iconWrapper },
|
|
1569
985
|
React.createElement(IconContainer, { icon: props.icon, cx: css$1m.icon }))),
|
|
1570
986
|
React.createElement("div", { className: css$1m.content },
|
|
1571
987
|
props.children,
|
|
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.
|
|
1573
|
-
props.onClose && React.createElement(IconButton, { icon:
|
|
1574
|
-
const WarningAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon:
|
|
1575
|
-
const SuccessAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon:
|
|
1576
|
-
const HintAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon:
|
|
1577
|
-
const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon:
|
|
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.alert.action[props.size || settings.sizes.defaults.alert] }))))))),
|
|
989
|
+
props.onClose && React.createElement(IconButton, { icon: ForwardRef$R, color: "neutral", onClick: props.onClose, cx: css$1m.closeIcon })))));
|
|
990
|
+
const WarningAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: ForwardRef$z, color: "warning", ref: ref, ...props }));
|
|
991
|
+
const SuccessAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: ForwardRef$A, color: "success", ref: ref, ...props }));
|
|
992
|
+
const HintAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: ForwardRef$x, color: "info", ref: ref, ...props }));
|
|
993
|
+
const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: ForwardRef$y, color: "error", ref: ref, ...props }));
|
|
1578
994
|
|
|
1579
995
|
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
1580
996
|
|
|
1581
|
-
var css$1l = {"root":"
|
|
997
|
+
var css$1l = {"root":"KONO6-"};
|
|
1582
998
|
|
|
1583
999
|
function applyDropdownContainerMods(mods) {
|
|
1584
1000
|
return [
|
|
@@ -1589,7 +1005,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1589
1005
|
}
|
|
1590
1006
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
1591
1007
|
|
|
1592
|
-
var css$1k = {"submenu-root-item-rtl":"
|
|
1008
|
+
var css$1k = {"submenu-root-item-rtl":"-yN4U9","submenuRootItemRtl":"-yN4U9","icon-after":"FiC-7H","iconAfter":"FiC-7H","submenu-root-item":"RdBetY","submenuRootItem":"RdBetY","icon-check":"mRkc1F","iconCheck":"mRkc1F","splitter-root":"ODmVuq","splitterRoot":"ODmVuq","splitter":"ZL311Q","header-root":"ZnC2GX","headerRoot":"ZnC2GX","item-root":"_9t-3dL","itemRoot":"_9t-3dL","icon":"ekOe0m","link":"UK0cB3","indent":"uVq9Oi","selected-mark":"rJ8W1a","selectedMark":"rJ8W1a"};
|
|
1593
1009
|
|
|
1594
1010
|
var IDropdownControlKeys;
|
|
1595
1011
|
(function (IDropdownControlKeys) {
|
|
@@ -1636,7 +1052,7 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1636
1052
|
const handleClick = (event) => {
|
|
1637
1053
|
if (isDisabled || !onClick)
|
|
1638
1054
|
return;
|
|
1639
|
-
|
|
1055
|
+
onClick(event);
|
|
1640
1056
|
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1641
1057
|
};
|
|
1642
1058
|
const handleOpenDropdown = (event) => {
|
|
@@ -1663,12 +1079,16 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1663
1079
|
iconElement))));
|
|
1664
1080
|
};
|
|
1665
1081
|
const isAnchor = Boolean(link || href);
|
|
1666
|
-
const itemClassNames = cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened
|
|
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(
|
|
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(FlexRow$1, { rawProps: {
|
|
1084
|
+
tabIndex: isDisabled ? -1 : 0,
|
|
1085
|
+
role: 'menuitem',
|
|
1086
|
+
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
1087
|
+
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
1668
1088
|
getMenuButtonContent(),
|
|
1669
1089
|
isSelected && (React__default.createElement(React__default.Fragment, null,
|
|
1670
1090
|
React__default.createElement(FlexSpacer, null),
|
|
1671
|
-
React__default.createElement(IconContainer, { icon:
|
|
1091
|
+
React__default.createElement(IconContainer, { icon: systemIcons.accept, cx: css$1k.selectedMark })))));
|
|
1672
1092
|
});
|
|
1673
1093
|
function DropdownMenuSplitter(props) {
|
|
1674
1094
|
return (React__default.createElement("div", { className: cx$1(props.cx, css$1k.splitterRoot) },
|
|
@@ -1696,7 +1116,7 @@ function DropdownSubMenu(props) {
|
|
|
1696
1116
|
},
|
|
1697
1117
|
];
|
|
1698
1118
|
const isRtl = getDir() === 'rtl';
|
|
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:
|
|
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: systemIcons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
1700
1120
|
}
|
|
1701
1121
|
function DropdownMenuSwitchButton(props) {
|
|
1702
1122
|
const context = useContext(UuiContext);
|
|
@@ -1712,14 +1132,14 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1712
1132
|
onHandleValueChange(!isSelected);
|
|
1713
1133
|
}
|
|
1714
1134
|
};
|
|
1715
|
-
return (React__default.createElement(
|
|
1135
|
+
return (React__default.createElement(FlexRow$1, { cx: cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled), onClick: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
1716
1136
|
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$1k.iconBefore }),
|
|
1717
1137
|
React__default.createElement(Text$1, null, caption),
|
|
1718
1138
|
React__default.createElement(FlexSpacer, null),
|
|
1719
1139
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1720
1140
|
}
|
|
1721
1141
|
|
|
1722
|
-
var css$1j = {"root":"
|
|
1142
|
+
var css$1j = {"root":"pYHJWO","mode-block":"b8gqmM","modeBlock":"b8gqmM","mode-inline":"OD6N41","modeInline":"OD6N41","padding-0":"u4yrLi","padding0":"u4yrLi","padding-6":"mRx-Dq","padding6":"mRx-Dq","padding-12":"_4mdTtt","padding12":"_4mdTtt","padding-18":"pCJTri","padding18":"pCJTri"};
|
|
1723
1143
|
|
|
1724
1144
|
function applyAccordionMods(mods) {
|
|
1725
1145
|
return [
|
|
@@ -1729,55 +1149,34 @@ function applyAccordionMods(mods) {
|
|
|
1729
1149
|
];
|
|
1730
1150
|
}
|
|
1731
1151
|
const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordionMods, (mods) => ({
|
|
1732
|
-
dropdownIcon: mods.dropdownIcon !== null &&
|
|
1152
|
+
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
1733
1153
|
}));
|
|
1734
1154
|
|
|
1735
|
-
var css$1i = {"root":"
|
|
1155
|
+
var css$1i = {"root":"_06nnLL","border-top":"ebFH31","borderTop":"ebFH31","border-bottom":"_4Pc7J5","borderBottom":"_4Pc7J5","top-shadow":"h8YUds","topShadow":"h8YUds","padding-6":"NaZ6Wv","padding6":"NaZ6Wv","padding-12":"un2SH9","padding12":"un2SH9","padding-18":"vN0g0e","padding18":"vN0g0e","padding-24":"Xpj2Lz","padding24":"Xpj2Lz","margin-24":"_9Xdiru","margin24":"_9Xdiru","margin-12":"nVOvma","margin12":"nVOvma","vPadding-12":"UmX-nx","vPadding12":"UmX-nx","vPadding-18":"e9Sp45","vPadding18":"e9Sp45","vPadding-24":"_1eYlic","vPadding24":"_1eYlic","vPadding-36":"_90S6b1","vPadding36":"_90S6b1","vPadding-48":"s7iZ-L","vPadding48":"s7iZ-L","spacing-6":"reEmMA","spacing6":"reEmMA","spacing-12":"GuHqek","spacing12":"GuHqek","spacing-18":"b3oxbR","spacing18":"b3oxbR","uui-surface-main":"_1KtJp7","uuiSurfaceMain":"_1KtJp7"};
|
|
1736
1156
|
|
|
1737
1157
|
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1i.flexCell]);
|
|
1738
1158
|
|
|
1739
|
-
const FlexRow = /* @__PURE__ */
|
|
1159
|
+
const FlexRow = /* @__PURE__ */withMods(FlexRow$1, (props) => {
|
|
1740
1160
|
if (process.env.NODE_ENV !== "production") {
|
|
1741
1161
|
if (props.spacing) {
|
|
1742
1162
|
devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
1743
1163
|
}
|
|
1744
1164
|
}
|
|
1745
|
-
|
|
1165
|
+
return [
|
|
1746
1166
|
css$1i.root,
|
|
1747
|
-
'uui-
|
|
1748
|
-
props.
|
|
1749
|
-
props.
|
|
1750
|
-
props.
|
|
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,
|
|
1167
|
+
props.size !== null && 'uui-size-' + (props.size || settings.sizes.defaults.flexRow),
|
|
1168
|
+
props.padding && css$1i['padding-' + props.padding],
|
|
1169
|
+
props.vPadding && css$1i['vPadding-' + props.vPadding],
|
|
1170
|
+
props.margin && css$1i['margin-' + props.margin],
|
|
1756
1171
|
props.topShadow && css$1i.topShadow,
|
|
1757
1172
|
props.borderBottom && css$1i.borderBottom,
|
|
1758
1173
|
props.borderTop && css$1i.borderTop,
|
|
1759
|
-
props.
|
|
1760
|
-
props.
|
|
1761
|
-
|
|
1762
|
-
props.background && css$1i[`uui-bg-${props.background}`],
|
|
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));
|
|
1174
|
+
props.spacing && css$1i['spacing-' + props.spacing],
|
|
1175
|
+
props.background && css$1i[`uui-${props.background}`],
|
|
1176
|
+
];
|
|
1778
1177
|
});
|
|
1779
1178
|
|
|
1780
|
-
var css$1h = {"root":"
|
|
1179
|
+
var css$1h = {"root":"Qvw8Lt","margin-24":"q6nB1N","margin24":"q6nB1N","padding-12":"VHVEr1","padding12":"VHVEr1","padding-24":"u2rA4v","padding24":"u2rA4v","shadow":"EnVRp4","uui-surface-main":"_2plXwp","uuiSurfaceMain":"_2plXwp"};
|
|
1781
1180
|
|
|
1782
1181
|
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
1783
1182
|
'uui-panel',
|
|
@@ -1787,7 +1186,7 @@ const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
|
1787
1186
|
props.background && css$1h[`uui-${props.background}`],
|
|
1788
1187
|
]);
|
|
1789
1188
|
|
|
1790
|
-
var css$1g = {"root":"
|
|
1189
|
+
var css$1g = {"root":"h7gSgH"};
|
|
1791
1190
|
|
|
1792
1191
|
function applyTooltipMods(mods) {
|
|
1793
1192
|
return [
|
|
@@ -1797,24 +1196,21 @@ function applyTooltipMods(mods) {
|
|
|
1797
1196
|
}
|
|
1798
1197
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1799
1198
|
|
|
1800
|
-
var css$1f = {"root":"
|
|
1199
|
+
var css$1f = {"root":"tbkdLD"};
|
|
1801
1200
|
|
|
1802
1201
|
function applyLabeledInputMods(mods) {
|
|
1803
1202
|
return [
|
|
1804
1203
|
'uui-labeled-input',
|
|
1805
1204
|
css$1f.root,
|
|
1806
|
-
'uui-size-' + (mods.size || settings.
|
|
1205
|
+
'uui-size-' + (mods.size || settings.sizes.defaults.labeledInput),
|
|
1807
1206
|
];
|
|
1808
1207
|
}
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
});
|
|
1814
|
-
}
|
|
1815
|
-
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
1208
|
+
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
1209
|
+
Tooltip: props.Tooltip || Tooltip,
|
|
1210
|
+
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$x : ForwardRef$M),
|
|
1211
|
+
}));
|
|
1816
1212
|
|
|
1817
|
-
var css$1e = {"root":"
|
|
1213
|
+
var css$1e = {"root":"NNaX-q"};
|
|
1818
1214
|
|
|
1819
1215
|
function RadioGroup(props) {
|
|
1820
1216
|
const direction = props.direction || 'vertical';
|
|
@@ -1829,7 +1225,7 @@ function RadioGroup(props) {
|
|
|
1829
1225
|
})));
|
|
1830
1226
|
}
|
|
1831
1227
|
|
|
1832
|
-
var css$1d = {"root":"
|
|
1228
|
+
var css$1d = {"root":"_0OXyc8"};
|
|
1833
1229
|
|
|
1834
1230
|
function applyScrollBarsMods() {
|
|
1835
1231
|
return [
|
|
@@ -1838,27 +1234,27 @@ function applyScrollBarsMods() {
|
|
|
1838
1234
|
}
|
|
1839
1235
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
1840
1236
|
|
|
1841
|
-
var css$1c = {"scroll-container":"
|
|
1237
|
+
var css$1c = {"scroll-container":"kmMez3","scrollContainer":"kmMez3","list-container":"PviiMC","listContainer":"PviiMC"};
|
|
1842
1238
|
|
|
1843
|
-
var css$1b = {"root":"
|
|
1239
|
+
var css$1b = {"root":"eq7TjD"};
|
|
1844
1240
|
|
|
1845
1241
|
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$1b.root]);
|
|
1846
1242
|
|
|
1847
|
-
var css$1a = {"root":"
|
|
1243
|
+
var css$1a = {"root":"ubVIta"};
|
|
1848
1244
|
|
|
1849
1245
|
const DEFAULT_FILL = 'solid';
|
|
1850
1246
|
function applyBadgeMods(mods) {
|
|
1851
1247
|
return [
|
|
1852
1248
|
'uui-badge',
|
|
1853
1249
|
css$1a.root,
|
|
1854
|
-
`uui-size-${mods.size || settings.
|
|
1250
|
+
`uui-size-${mods.size || settings.sizes.defaults.badge}`,
|
|
1855
1251
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1856
1252
|
`uui-color-${mods.color || 'info'}`,
|
|
1857
1253
|
];
|
|
1858
1254
|
}
|
|
1859
1255
|
const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1860
1256
|
const styles = [applyBadgeMods(props), props.cx];
|
|
1861
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1257
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1862
1258
|
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
1863
1259
|
'aria-haspopup': props.isDropdown,
|
|
1864
1260
|
'aria-expanded': props.isOpen,
|
|
@@ -1867,17 +1263,17 @@ const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1867
1263
|
(props.indicator && props.fill === 'outline') && (React__default.createElement("div", { className: "uui-indicator" })),
|
|
1868
1264
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1869
1265
|
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
1870
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.
|
|
1266
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.sizes.badge.countIndicator[props.size || settings.sizes.defaults.badge], caption: props.count })),
|
|
1871
1267
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1872
1268
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1873
1269
|
});
|
|
1874
1270
|
|
|
1875
|
-
var css$19 = {"root":"
|
|
1271
|
+
var css$19 = {"root":"-k4kiw"};
|
|
1876
1272
|
|
|
1877
1273
|
function applyTagMods(props) {
|
|
1878
1274
|
return [
|
|
1879
1275
|
css$19.root,
|
|
1880
|
-
`uui-size-${props.size || settings.
|
|
1276
|
+
`uui-size-${props.size || settings.sizes.defaults.tag}`,
|
|
1881
1277
|
`uui-color-${props.color || 'neutral'}`,
|
|
1882
1278
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1883
1279
|
'uui-tag',
|
|
@@ -1885,8 +1281,8 @@ function applyTagMods(props) {
|
|
|
1885
1281
|
}
|
|
1886
1282
|
const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1887
1283
|
const styles = [applyTagMods(props), props.cx];
|
|
1888
|
-
const ClearIcon = props.clearIcon ? props.clearIcon :
|
|
1889
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon :
|
|
1284
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : systemIcons.clear;
|
|
1285
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1890
1286
|
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
1891
1287
|
'aria-haspopup': props.isDropdown,
|
|
1892
1288
|
'aria-expanded': props.isOpen,
|
|
@@ -1894,44 +1290,74 @@ const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1894
1290
|
}, cx: styles, ref: ref },
|
|
1895
1291
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1896
1292
|
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.
|
|
1293
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.sizes.tag.countIndicator[(props.size || settings.sizes.defaults.tag)], caption: props.count })),
|
|
1898
1294
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1899
1295
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1900
1296
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1901
1297
|
});
|
|
1902
1298
|
|
|
1903
|
-
var css$18 = {"root":"
|
|
1299
|
+
var css$18 = {"root":"qmx-Z-","uui-spinner":"_06zJA5","uuiSpinner":"_06zJA5"};
|
|
1904
1300
|
|
|
1905
1301
|
function applySpinnerMods() {
|
|
1906
1302
|
return [css$18.root, 'uui-spinner'];
|
|
1907
1303
|
}
|
|
1908
1304
|
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
1909
1305
|
|
|
1910
|
-
var
|
|
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);
|
|
1320
|
+
|
|
1321
|
+
var _path$v;
|
|
1322
|
+
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); }
|
|
1323
|
+
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
1324
|
+
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
1325
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1326
|
+
width: 24,
|
|
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);
|
|
1335
|
+
|
|
1336
|
+
var css$17 = {"root":"_6bIo3e","page":"dv7b83","spacer":"jurJRk","mode-ghost":"dTMMr3","modeGhost":"dTMMr3"};
|
|
1911
1337
|
|
|
1912
1338
|
function Paginator(props) {
|
|
1913
|
-
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.
|
|
1914
|
-
React__default.createElement(Button, { size: props.size || settings.
|
|
1339
|
+
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.sizes.defaults.paginator}`), ...params.rawProps },
|
|
1340
|
+
React__default.createElement(Button, { size: props.size || settings.sizes.defaults.paginator, icon: ForwardRef$w, onClick: params.goToPrev, isDisabled: params.isFirst || props.isDisabled, fill: "outline", color: "secondary" }),
|
|
1915
1341
|
params.pages.map((page, index) => {
|
|
1916
1342
|
if (page.type === 'spacer') {
|
|
1917
|
-
return (React__default.createElement(Button, { cx: cx(css$17.spacer, css$17.page), size: props.size || settings.
|
|
1343
|
+
return (React__default.createElement(Button, { cx: cx(css$17.spacer, css$17.page), size: props.size || settings.sizes.defaults.paginator, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
|
|
1918
1344
|
}
|
|
1919
1345
|
else {
|
|
1920
|
-
return (React__default.createElement(Button, { cx: cx(css$17[`mode-${!page.isActive && 'ghost'}`], css$17.page), size: props.size || settings.
|
|
1346
|
+
return (React__default.createElement(Button, { cx: cx(css$17[`mode-${!page.isActive && 'ghost'}`], css$17.page), size: props.size || settings.sizes.defaults.paginator, key: page.pageNumber, caption: page.pageNumber, onClick: () => page.onClick?.(), rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled }));
|
|
1921
1347
|
}
|
|
1922
1348
|
}),
|
|
1923
|
-
React__default.createElement(Button, { size: props.size || settings.
|
|
1349
|
+
React__default.createElement(Button, { size: props.size || settings.sizes.defaults.paginator, icon: ForwardRef$v, onClick: params.goToNext, isDisabled: params.isLast || props.isDisabled, fill: "outline", color: "secondary" })));
|
|
1924
1350
|
return React__default.createElement(Paginator$1, { ...props, render: renderPaginator });
|
|
1925
1351
|
}
|
|
1926
1352
|
|
|
1927
|
-
var css$16 = {"root":"
|
|
1353
|
+
var css$16 = {"root":"M4-P0O","progress-bar":"_490FHk","progressBar":"_490FHk","progressBar-indeterminate":"_21wtnY","progressBarIndeterminate":"_21wtnY","size-12":"DWxqwz","size12":"DWxqwz","size-18":"ucyWf-","size18":"ucyWf-","size-24":"fasxJ5","size24":"fasxJ5"};
|
|
1928
1354
|
|
|
1929
1355
|
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1930
1356
|
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$16.root, css$16[`size-${props.size || 12}`]) },
|
|
1931
1357
|
React.createElement("div", { className: cx(css$16.progressBar) })));
|
|
1932
1358
|
});
|
|
1933
1359
|
|
|
1934
|
-
var css$15 = {"root":"
|
|
1360
|
+
var css$15 = {"root":"ETybpW","striped":"VzJobp","animate-stripes":"l4m6hP","animateStripes":"l4m6hP","size-12":"BdrKJU","size12":"BdrKJU","size-18":"_9-QiAV","size18":"_9-QiAV","size-24":"cyk9VN","size24":"cyk9VN"};
|
|
1935
1361
|
|
|
1936
1362
|
const DEFAULT_SIZE = '12';
|
|
1937
1363
|
function applyProgressBarMods(mods) {
|
|
@@ -1946,19 +1372,19 @@ const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProg
|
|
|
1946
1372
|
hideLabel: props.hideLabel || props.striped,
|
|
1947
1373
|
}));
|
|
1948
1374
|
|
|
1949
|
-
var css$14 = {"root":"
|
|
1375
|
+
var css$14 = {"root":"_46BVfa"};
|
|
1950
1376
|
|
|
1951
1377
|
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1952
1378
|
const { progress } = props;
|
|
1953
1379
|
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) }));
|
|
1954
1380
|
});
|
|
1955
1381
|
|
|
1956
|
-
var css$13 = {"root":"
|
|
1382
|
+
var css$13 = {"root":"wwuE5N"};
|
|
1957
1383
|
|
|
1958
1384
|
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1959
1385
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
1960
1386
|
css$13.root,
|
|
1961
|
-
`uui-size-${props.size || settings.
|
|
1387
|
+
`uui-size-${props.size || settings.sizes.defaults.statusIndicator}`,
|
|
1962
1388
|
'uui-status_indicator',
|
|
1963
1389
|
`uui-color-${props.color || 'neutral'}`,
|
|
1964
1390
|
`uui-fill-${props.fill || 'solid'}`,
|
|
@@ -1968,28 +1394,28 @@ const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1968
1394
|
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1969
1395
|
});
|
|
1970
1396
|
|
|
1971
|
-
var css$12 = {"drag-handle":"
|
|
1397
|
+
var css$12 = {"drag-handle":"fgPdf4","dragHandle":"fgPdf4","icon-container":"Wfc45a","iconContainer":"Wfc45a"};
|
|
1972
1398
|
|
|
1973
1399
|
function DataRowAddons(props) {
|
|
1974
1400
|
const row = props.rowProps;
|
|
1975
1401
|
const getIndent = () => {
|
|
1976
|
-
return (row.indent - 1) * settings.
|
|
1402
|
+
return (row.indent - 1) * (settings.sizes.rowAddons.indentUnit[props.size] || settings.sizes.rowAddons.defaults.indentUnit);
|
|
1977
1403
|
};
|
|
1978
1404
|
const getWidth = () => {
|
|
1979
|
-
return settings.
|
|
1405
|
+
return settings.sizes.rowAddons.indentWidth[props.size] || settings.sizes.rowAddons.defaults.indentWidth;
|
|
1980
1406
|
};
|
|
1981
1407
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1982
1408
|
row.dnd?.srcData && React__default.createElement(DragHandle, { key: "dh", cx: css$12.dragHandle, rawProps: { ...props.eventHandlers } }),
|
|
1983
|
-
row?.checkbox?.isVisible && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.
|
|
1409
|
+
row?.checkbox?.isVisible && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.sizes.rowAddons.checkbox[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
1984
1410
|
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: {
|
|
1985
1411
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1986
1412
|
role: 'button',
|
|
1987
|
-
}, key: "icon", icon:
|
|
1413
|
+
}, key: "icon", icon: ForwardRef$Q, cx: [
|
|
1988
1414
|
uuiElement.foldingArrow, uuiMarkers.clickable, css$12.iconContainer,
|
|
1989
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.
|
|
1415
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.rowAddons.icon[props.size] || settings.sizes.rowAddons.defaults.icon }))))));
|
|
1990
1416
|
}
|
|
1991
1417
|
|
|
1992
|
-
var css$11 = {"root":"
|
|
1418
|
+
var css$11 = {"root":"UAZdQJ"};
|
|
1993
1419
|
|
|
1994
1420
|
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$11.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
1995
1421
|
|
|
@@ -2035,7 +1461,7 @@ const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2035
1461
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
2036
1462
|
});
|
|
2037
1463
|
|
|
2038
|
-
var css$10 = {"root":"
|
|
1464
|
+
var css$10 = {"root":"Nvwpad"};
|
|
2039
1465
|
|
|
2040
1466
|
function CheckboxGroup(props) {
|
|
2041
1467
|
const currentValue = props.value || [];
|
|
@@ -2057,13 +1483,13 @@ function CheckboxGroup(props) {
|
|
|
2057
1483
|
})));
|
|
2058
1484
|
}
|
|
2059
1485
|
|
|
2060
|
-
var css$$ = {"root":"
|
|
1486
|
+
var css$$ = {"root":"LzIFiN","modal-blocker":"d9czWi","modalBlocker":"d9czWi","animateModalBlocker":"EIvRP-","modal":"OnIeq4","modal-footer":"A9NwAu","modalFooter":"A9NwAu","modal-header":"xfUuw8","modalHeader":"xfUuw8"};
|
|
2061
1487
|
|
|
2062
1488
|
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$$.modalBlocker]);
|
|
2063
1489
|
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, css$$.modal], (props) => {
|
|
2064
|
-
const width = props.width;
|
|
1490
|
+
const width = props.width || settings.sizes.modal.window.defaults.width;
|
|
2065
1491
|
const height = props.height || 'auto';
|
|
2066
|
-
const maxHeight = isMobile() ? '
|
|
1492
|
+
const maxHeight = isMobile() ? '100dvh' : (props.maxHeight || '80dvh');
|
|
2067
1493
|
return {
|
|
2068
1494
|
style: {
|
|
2069
1495
|
...props.style,
|
|
@@ -2073,20 +1499,24 @@ const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, cs
|
|
|
2073
1499
|
},
|
|
2074
1500
|
};
|
|
2075
1501
|
});
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
1502
|
+
class ModalHeader extends React__default.Component {
|
|
1503
|
+
render() {
|
|
1504
|
+
return (React__default.createElement(FlexRow, { padding: this.props.padding || '24', size: null, vPadding: "36", borderBottom: this.props.borderBottom, cx: [css$$.root, css$$.modalHeader, this.props.cx], columnGap: "12", rawProps: this.props.rawProps },
|
|
1505
|
+
this.props.title && (React__default.createElement("div", { className: cx('uui-modal-title', 'uui-typography') }, this.props.title)),
|
|
1506
|
+
this.props.children,
|
|
1507
|
+
this.props.onClose && React__default.createElement(FlexSpacer, null),
|
|
1508
|
+
this.props.onClose && (React__default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
1509
|
+
React__default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$R, onClick: this.props.onClose })))));
|
|
1510
|
+
}
|
|
2085
1511
|
}
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
1512
|
+
class ModalFooter extends React__default.Component {
|
|
1513
|
+
render() {
|
|
1514
|
+
return (React__default.createElement(FlexRow, { columnGap: this.props.columnGap || '12', cx: [
|
|
1515
|
+
css$$.root,
|
|
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
|
+
}
|
|
2090
1520
|
}
|
|
2091
1521
|
|
|
2092
1522
|
const TREE_SHAKEABLE_INIT = () => ({
|
|
@@ -2247,7 +1677,22 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2247
1677
|
});
|
|
2248
1678
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2249
1679
|
|
|
2250
|
-
var
|
|
1680
|
+
var _path$u;
|
|
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":"DUBgDz","icon-wrapper":"G8rvY3","iconWrapper":"G8rvY3","action-wrapper":"jIP--6","actionWrapper":"jIP--6","action-link":"E3p6K4","actionLink":"E3p6K4","close-icon":"WBCha8","closeIcon":"WBCha8","main-path":"_79iJvH","mainPath":"_79iJvH","content":"thNgmV","close-wrapper":"F0m-7e","closeWrapper":"F0m-7e","notification-wrapper":"_0VLmt6","notificationWrapper":"_0VLmt6","clear-button":"Qcz5pN","clearButton":"Qcz5pN"};
|
|
2251
1696
|
|
|
2252
1697
|
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
2253
1698
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -2266,21 +1711,21 @@ const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) =
|
|
|
2266
1711
|
React__default.createElement(IconContainer, { size: 24, icon: props.icon }))),
|
|
2267
1712
|
React__default.createElement("div", { className: css$_.content },
|
|
2268
1713
|
props.children,
|
|
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.
|
|
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.notificationCard.action, rawProps: action.rawProps })))))),
|
|
2270
1715
|
props.onClose && (React__default.createElement("div", { className: css$_.closeWrapper },
|
|
2271
|
-
React__default.createElement(IconButton, { icon:
|
|
1716
|
+
React__default.createElement(IconButton, { icon: ForwardRef$R, color: "neutral", onClick: props.onClose, cx: css$_.closeIcon }))))));
|
|
2272
1717
|
});
|
|
2273
|
-
const WarningNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon:
|
|
2274
|
-
const SuccessNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon:
|
|
2275
|
-
const HintNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon:
|
|
2276
|
-
const ErrorNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon:
|
|
1718
|
+
const WarningNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: ForwardRef$z, color: "warning", ...props, ref: ref, cx: props.cx })));
|
|
1719
|
+
const SuccessNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: ForwardRef$A, color: "success", ...props, ref: ref, cx: props.cx })));
|
|
1720
|
+
const HintNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: ForwardRef$u, color: "info", ...props, ref: ref, cx: props.cx })));
|
|
1721
|
+
const ErrorNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: ForwardRef$y, color: "error", ...props, ref: ref, cx: props.cx })));
|
|
2277
1722
|
function ClearNotification() {
|
|
2278
1723
|
const uuiCtx = useUuiContext();
|
|
2279
1724
|
return (React__default.createElement("div", { className: cx(css$_.notificationWrapper, css$_.clearButton) },
|
|
2280
1725
|
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2281
1726
|
}
|
|
2282
1727
|
|
|
2283
|
-
var css$Z = {"footer":"
|
|
1728
|
+
var css$Z = {"footer":"_7eeblS"};
|
|
2284
1729
|
|
|
2285
1730
|
class ConfirmationModal extends React.Component {
|
|
2286
1731
|
render() {
|
|
@@ -2322,7 +1767,7 @@ function useReliableForceUpdate() {
|
|
|
2322
1767
|
return red[1];
|
|
2323
1768
|
}
|
|
2324
1769
|
|
|
2325
|
-
var css$Y = {"root":"
|
|
1770
|
+
var css$Y = {"root":"_6Hn-lr","timepicker-input":"u6uKrB","timepickerInput":"u6uKrB","ltr-always":"rEXUhQ","ltrAlways":"rEXUhQ"};
|
|
2326
1771
|
|
|
2327
1772
|
const uuiTimePicker = {
|
|
2328
1773
|
container: 'uui-timepicker-container',
|
|
@@ -2505,7 +1950,7 @@ function TimePicker(props) {
|
|
|
2505
1950
|
state.value && state.inputValue && saveTime(state.value);
|
|
2506
1951
|
};
|
|
2507
1952
|
const renderInput = (inputProps) => {
|
|
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 }));
|
|
1953
|
+
return (React__default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size || '36', isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$Y.root, css$Y.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input }));
|
|
2509
1954
|
};
|
|
2510
1955
|
const renderBody = (bodyProps) => {
|
|
2511
1956
|
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
@@ -2515,7 +1960,7 @@ function TimePicker(props) {
|
|
|
2515
1960
|
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 }));
|
|
2516
1961
|
}
|
|
2517
1962
|
|
|
2518
|
-
var css$X = {"root":"
|
|
1963
|
+
var css$X = {"root":"myjuUj"};
|
|
2519
1964
|
|
|
2520
1965
|
function applyInputAddonMods() {
|
|
2521
1966
|
return [
|
|
@@ -2524,29 +1969,43 @@ function applyInputAddonMods() {
|
|
|
2524
1969
|
}
|
|
2525
1970
|
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
2526
1971
|
|
|
2527
|
-
var css$W = {"root":"
|
|
1972
|
+
var css$W = {"root":"e-7MGJ"};
|
|
2528
1973
|
|
|
2529
1974
|
function applySliderMods() {
|
|
2530
1975
|
return [css$W.root, 'uui-color-neutral'];
|
|
2531
1976
|
}
|
|
2532
1977
|
const Slider = /* @__PURE__ */withMods(Slider$1, applySliderMods);
|
|
2533
1978
|
|
|
2534
|
-
var
|
|
1979
|
+
var _path$t;
|
|
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":"HXEl4-","tooltip":"_1EnEDH"};
|
|
2535
1996
|
|
|
2536
1997
|
function applyRatingMods(mods) {
|
|
2537
1998
|
return [
|
|
2538
1999
|
css$V.root,
|
|
2539
|
-
`uui-size-${mods.size || settings.
|
|
2000
|
+
`uui-size-${mods.size || settings.sizes.defaults.rating}`,
|
|
2540
2001
|
];
|
|
2541
2002
|
}
|
|
2542
2003
|
const Rating = /* @__PURE__ */withMods(uuiComponents.Rating, applyRatingMods, (props) => ({
|
|
2543
|
-
filledStarIcon: props.icon ||
|
|
2544
|
-
emptyStarIcon: props.icon ||
|
|
2004
|
+
filledStarIcon: props.icon || ForwardRef$t,
|
|
2005
|
+
emptyStarIcon: props.icon || ForwardRef$t,
|
|
2545
2006
|
Tooltip,
|
|
2546
2007
|
}));
|
|
2547
2008
|
|
|
2548
|
-
var css$U = {"root":"GX-a6M","container":"_32F36q"};
|
|
2549
|
-
|
|
2550
2009
|
const defaultFormat = 'MMM D, YYYY';
|
|
2551
2010
|
const valueFormat = 'YYYY-MM-DD';
|
|
2552
2011
|
const supportedDateFormats = (format) => {
|
|
@@ -2674,6 +2133,8 @@ const getNextYearsList = (currentDate) => {
|
|
|
2674
2133
|
return currentDate.add(16, 'year');
|
|
2675
2134
|
};
|
|
2676
2135
|
|
|
2136
|
+
var css$U = {"root":"_4ypA5X","container":"N7dFbL"};
|
|
2137
|
+
|
|
2677
2138
|
const uuiHeader = {
|
|
2678
2139
|
container: 'uui-datepicker-header-container',
|
|
2679
2140
|
headerNav: 'uui-datepicker-header-nav',
|
|
@@ -2751,19 +2212,19 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2751
2212
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2752
2213
|
return (React.createElement("div", { className: cx(css$U.root, uuiHeader.container, cx) },
|
|
2753
2214
|
React.createElement("header", { className: uuiHeader.headerNav },
|
|
2754
|
-
React.createElement(Button, { icon: navIconLeft ||
|
|
2215
|
+
React.createElement(Button, { icon: navIconLeft || ForwardRef$w, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2755
2216
|
React.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2756
|
-
React.createElement(Button, { icon: navIconRight ||
|
|
2217
|
+
React.createElement(Button, { icon: navIconRight || ForwardRef$v, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2757
2218
|
}
|
|
2758
2219
|
|
|
2759
|
-
var css$T = {"root":"
|
|
2220
|
+
var css$T = {"root":"e5YrEL"};
|
|
2760
2221
|
|
|
2761
2222
|
function applyDateSelectionMods() {
|
|
2762
|
-
return [css$T.root, `uui-size-${settings.
|
|
2223
|
+
return [css$T.root, `uui-size-${settings.sizes.defaults.datePicker}`];
|
|
2763
2224
|
}
|
|
2764
2225
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2765
2226
|
|
|
2766
|
-
var css$S = {"root":"
|
|
2227
|
+
var css$S = {"root":"_9uVXrx"};
|
|
2767
2228
|
|
|
2768
2229
|
const uuiDatePickerBody = {
|
|
2769
2230
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2806,7 +2267,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2806
2267
|
return (React__default.createElement(Calendar, { value: selectedDate, month: month, onValueChange: onDayClick, filter: filter, renderDay: renderDay, isHoliday: isHoliday, isDisabled: isDisabled }));
|
|
2807
2268
|
}
|
|
2808
2269
|
};
|
|
2809
|
-
return (React__default.createElement("div", { ref: ref, className: cx$1(uuiDatePickerBodyBase.container, `uui-size-${settings.
|
|
2270
|
+
return (React__default.createElement("div", { ref: ref, className: cx$1(uuiDatePickerBodyBase.container, `uui-size-${settings.sizes.defaults.datePicker}`, classes), ...rawProps },
|
|
2810
2271
|
React__default.createElement("div", { className: cx$1(css$S.root, uuiDatePickerBody.wrapper) },
|
|
2811
2272
|
React__default.createElement(DatePickerHeader, { value: {
|
|
2812
2273
|
view,
|
|
@@ -2824,7 +2285,7 @@ const modifiers$1 = [{
|
|
|
2824
2285
|
options: { offset: [0, 6] },
|
|
2825
2286
|
}];
|
|
2826
2287
|
function DatePickerComponent(props, ref) {
|
|
2827
|
-
const { format = defaultFormat, value, size = settings.
|
|
2288
|
+
const { format = defaultFormat, value, size = settings.sizes.defaults.datePicker } = props;
|
|
2828
2289
|
const context = useUuiContext();
|
|
2829
2290
|
const [inputValue, setInputValue] = useState(toCustomDateFormat(value, format));
|
|
2830
2291
|
const [isBodyOpen, setBodyIsOpen] = useState(false);
|
|
@@ -2864,7 +2325,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2864
2325
|
};
|
|
2865
2326
|
const renderInput = (renderProps) => {
|
|
2866
2327
|
const allowClear = !props.disableClear && !!inputValue;
|
|
2867
|
-
return (React__default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && uuiMod.focus), icon: props.mode !== EditMode.CELL ?
|
|
2328
|
+
return (React__default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && uuiMod.focus), icon: props.mode !== EditMode.CELL && systemIcons.calendar ? systemIcons.calendar : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: size, value: inputValue || undefined, onValueChange: (v) => {
|
|
2868
2329
|
setInputValue(v || '');
|
|
2869
2330
|
}, onCancel: allowClear ? () => {
|
|
2870
2331
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -2889,7 +2350,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2889
2350
|
}
|
|
2890
2351
|
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
2891
2352
|
|
|
2892
|
-
var css$R = {"date-input":"
|
|
2353
|
+
var css$R = {"date-input":"dH4gVV","dateInput":"dH4gVV","root":"neyXnD","separator":"_3X9vC5","mode-form":"_4qNoZE","modeForm":"_4qNoZE","mode-cell":"UQA4Uy","modeCell":"UQA4Uy"};
|
|
2893
2354
|
|
|
2894
2355
|
const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, }, ref) => {
|
|
2895
2356
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2932,15 +2393,15 @@ const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid,
|
|
|
2932
2393
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2933
2394
|
return (
|
|
2934
2395
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
2935
|
-
React__default.createElement("div", { ref: ref, className: cx$1(`uui-size-${size || settings.
|
|
2936
|
-
React__default.createElement(TextInput, { icon:
|
|
2396
|
+
React__default.createElement("div", { ref: ref, className: cx$1(`uui-size-${size || settings.sizes.defaults.rangeDatePicker}`, 'uui-range-date-picker', classes, css$R.root, isDisabled && uuiMod.disabled, isReadonly && uuiMod.readonly, isInvalid && uuiMod.invalid, inFocus && uuiMod.focus), onKeyDown: onKeyDown },
|
|
2397
|
+
React__default.createElement(TextInput, { icon: systemIcons.calendar, cx: cx$1(css$R.dateInput, inFocus === 'from' && uuiMod.focus), size: size || settings.sizes.defaults.rangeDatePicker, placeholder: getPlaceholder ? getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: inputValue.from || undefined, onValueChange: (v) => onInputChange(v || '', 'from'), onFocus: (event) => handleFocus(event, 'from'), onBlur: (event) => handleBlur(event, 'from'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.from, onClick: onClick, onKeyDown: onInputKeyDown, id: id }),
|
|
2937
2398
|
React__default.createElement("div", { className: css$R.separator }),
|
|
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.
|
|
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.defaults.rangeDatePicker, value: inputValue.to || undefined, onCancel: clearAllowed ? () => {
|
|
2939
2400
|
onValueChange(defaultRangeValue);
|
|
2940
2401
|
} : undefined, onValueChange: (v) => onInputChange(v || '', 'to'), onFocus: (e) => handleFocus(e, 'to'), onBlur: (e) => handleBlur(e, 'to'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.to, onClick: onClick, onKeyDown: onInputKeyDown })));
|
|
2941
2402
|
});
|
|
2942
2403
|
|
|
2943
|
-
var css$Q = {"root":"
|
|
2404
|
+
var css$Q = {"root":"zMRxgH"};
|
|
2944
2405
|
|
|
2945
2406
|
const uuiPresets = {
|
|
2946
2407
|
container: 'uui-presets-container',
|
|
@@ -2957,10 +2418,10 @@ const getPresets = (presets) => {
|
|
|
2957
2418
|
function CalendarPresets(props) {
|
|
2958
2419
|
return (React.createElement("div", { ref: props.forwardedRef, className: cx$1(uuiPresets.container, css$Q.root, props.cx), ...props.rawProps },
|
|
2959
2420
|
React.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
2960
|
-
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size:
|
|
2421
|
+
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: "24" })))));
|
|
2961
2422
|
}
|
|
2962
2423
|
|
|
2963
|
-
var css$P = {"root":"
|
|
2424
|
+
var css$P = {"root":"XClPqD","container":"DXc3kH","day-selection":"H-8t1O","daySelection":"H-8t1O","from-picker":"TjrvVl","fromPicker":"TjrvVl","to-picker":"MEo-Ze","toPicker":"MEo-Ze","bodes-wrapper":"BUuU4W","bodesWrapper":"BUuU4W","blocker":"_1-bM21"};
|
|
2964
2425
|
|
|
2965
2426
|
const uuiRangeDatePickerBody = {
|
|
2966
2427
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3135,14 +2596,14 @@ const getDayCX = (day, selectedDate) => {
|
|
|
3135
2596
|
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)];
|
|
3136
2597
|
};
|
|
3137
2598
|
|
|
3138
|
-
var css$O = {"dropdown-container":"
|
|
2599
|
+
var css$O = {"dropdown-container":"GHL5ok","dropdownContainer":"GHL5ok"};
|
|
3139
2600
|
|
|
3140
2601
|
const modifiers = [{
|
|
3141
2602
|
name: 'offset',
|
|
3142
2603
|
options: { offset: [0, 6] },
|
|
3143
2604
|
}];
|
|
3144
2605
|
function RangeDatePickerComponent(props, ref) {
|
|
3145
|
-
const { value: _value, format = defaultFormat, size = settings.
|
|
2606
|
+
const { value: _value, format = defaultFormat, size = settings.sizes.defaults.rangeDatePicker } = props;
|
|
3146
2607
|
const value = _value || defaultRangeValue; // also handles null in comparison to default value
|
|
3147
2608
|
const context = useUuiContext();
|
|
3148
2609
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -3203,7 +2664,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3203
2664
|
}
|
|
3204
2665
|
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
3205
2666
|
|
|
3206
|
-
var css$N = {"root":"
|
|
2667
|
+
var css$N = {"root":"_5yiDsR","blocker":"sgn9Xa","marker":"fQ8q-G","top":"-lQHdP","bottom":"_3Y606X","left":"HSDxed","right":"_58AYsU","inside":"nqm8Df"};
|
|
3207
2668
|
|
|
3208
2669
|
function DropMarker(props) {
|
|
3209
2670
|
return props.isDndInProgress
|
|
@@ -3218,13 +2679,13 @@ function DropMarker(props) {
|
|
|
3218
2679
|
: null;
|
|
3219
2680
|
}
|
|
3220
2681
|
|
|
3221
|
-
var css$M = {"root":"
|
|
2682
|
+
var css$M = {"root":"Zl7Ux5","line-height":"RsQtVA","lineHeight":"RsQtVA","font-size":"_44skul","fontSize":"_44skul"};
|
|
3222
2683
|
|
|
3223
2684
|
function applyTextMods(mods) {
|
|
3224
2685
|
return [
|
|
3225
2686
|
css$M.root,
|
|
3226
2687
|
'uui-text',
|
|
3227
|
-
`uui-size-${mods.size || settings.
|
|
2688
|
+
`uui-size-${mods.size || settings.sizes.defaults.text}`,
|
|
3228
2689
|
(mods.size !== 'none' || mods.lineHeight) && css$M.lineHeight,
|
|
3229
2690
|
(mods.size !== 'none' || mods.fontSize) && css$M.fontSize,
|
|
3230
2691
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -3245,7 +2706,7 @@ const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props)
|
|
|
3245
2706
|
};
|
|
3246
2707
|
});
|
|
3247
2708
|
|
|
3248
|
-
var css$L = {"root":"
|
|
2709
|
+
var css$L = {"root":"KhCAsw","loading-word":"WlCzEg","loadingWord":"WlCzEg","animated-loading":"K-JiKe","animatedLoading":"K-JiKe","skeleton_loading":"_25l87O","skeletonLoading":"_25l87O"};
|
|
3249
2710
|
|
|
3250
2711
|
const TextPlaceholder = (props) => {
|
|
3251
2712
|
const pattern = ' ';
|
|
@@ -3262,16 +2723,16 @@ const TextPlaceholder = (props) => {
|
|
|
3262
2723
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
3263
2724
|
};
|
|
3264
2725
|
|
|
3265
|
-
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.
|
|
2726
|
+
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.sizes.defaults.richTextView}`]);
|
|
3266
2727
|
|
|
3267
|
-
var css$K = {"modal":"
|
|
2728
|
+
var css$K = {"modal":"n8vGj1","search-wrapper":"OhLspV","searchWrapper":"OhLspV","no-data":"gHwm-T","noData":"gHwm-T","type-search-to-load-size-24":"zYWjFU","typeSearchToLoadSize24":"zYWjFU"};
|
|
3268
2729
|
|
|
3269
2730
|
class DataPickerBody extends PickerBodyBase {
|
|
3270
2731
|
constructor() {
|
|
3271
2732
|
super(...arguments);
|
|
3272
2733
|
this.lens = Lens.onEditableComponent(this);
|
|
3273
2734
|
this.searchLens = this.lens.prop('search').default('');
|
|
3274
|
-
this.getSearchSize = () => (isMobile() ? settings.pickerInput.
|
|
2735
|
+
this.getSearchSize = () => (isMobile() ? settings.sizes.pickerInput.body.mobile.searchInput : this.props.searchSize);
|
|
3275
2736
|
}
|
|
3276
2737
|
renderEmpty() {
|
|
3277
2738
|
const search = this.searchLens.get();
|
|
@@ -3305,7 +2766,7 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
3305
2766
|
render() {
|
|
3306
2767
|
const searchSize = this.getSearchSize();
|
|
3307
2768
|
return (React__default.createElement(React__default.Fragment, null,
|
|
3308
|
-
this.showSearch() && (React__default.createElement("div", { key: "search", className:
|
|
2769
|
+
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$K.searchWrapper },
|
|
3309
2770
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
3310
2771
|
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' } })))),
|
|
3311
2772
|
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
|
|
@@ -3315,11 +2776,11 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
3315
2776
|
}
|
|
3316
2777
|
}
|
|
3317
2778
|
|
|
3318
|
-
var css$J = {"footer":"
|
|
2779
|
+
var css$J = {"footer":"e-K07I"};
|
|
3319
2780
|
|
|
3320
2781
|
function DataPickerFooterImpl(props) {
|
|
3321
2782
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
3322
|
-
const size = isMobile() ? settings.pickerInput.
|
|
2783
|
+
const size = isMobile() ? settings.sizes.pickerInput.body.mobile.footer.linkButton : props.size;
|
|
3323
2784
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
3324
2785
|
const rowsCount = view.getListProps().rowsCount;
|
|
3325
2786
|
const isSinglePicker = selectionMode === 'single';
|
|
@@ -3331,7 +2792,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3331
2792
|
const showClear = !props.disableClear && (isSinglePicker ? true : (!view.selectAll || hasSelection));
|
|
3332
2793
|
return !hideFooter && (React__default.createElement(FlexRow, { cx: css$J.footer },
|
|
3333
2794
|
!isSinglePicker && !isSearchTooShort && ( // Show this switch only for multi mode and when some rows rendered
|
|
3334
|
-
React__default.createElement(Switch, { size: settings.pickerInput.
|
|
2795
|
+
React__default.createElement(Switch, { size: settings.sizes.pickerInput.body.dropdown.footer.switch[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
3335
2796
|
React__default.createElement(FlexSpacer, null),
|
|
3336
2797
|
React__default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
3337
2798
|
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.
|
|
@@ -3341,17 +2802,32 @@ function DataPickerFooterImpl(props) {
|
|
|
3341
2802
|
}
|
|
3342
2803
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
3343
2804
|
|
|
3344
|
-
var css$I = {"header":"
|
|
2805
|
+
var css$I = {"header":"AvnO9I","title":"sPzeaz","close":"n0VTEH"};
|
|
3345
2806
|
|
|
3346
2807
|
const DataPickerHeaderImpl = (props) => {
|
|
3347
2808
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
3348
|
-
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx:
|
|
3349
|
-
React__default.createElement(
|
|
3350
|
-
React__default.createElement(IconButton, { icon:
|
|
2809
|
+
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$I.header },
|
|
2810
|
+
React__default.createElement(Text, { size: settings.sizes.pickerInput.body.mobile.header.titleSize, cx: css$I.title }, title),
|
|
2811
|
+
React__default.createElement(IconButton, { icon: ForwardRef$R, onClick: () => props.close?.(), cx: css$I.close })));
|
|
3351
2812
|
};
|
|
3352
2813
|
const DataPickerHeader = /* @__PURE__ */React__default.memo(DataPickerHeaderImpl);
|
|
3353
2814
|
|
|
3354
|
-
var
|
|
2815
|
+
var _path$s;
|
|
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":"nKLrRT","align-widgets-top":"txq341","alignWidgetsTop":"txq341","align-widgets-center":"eK8pfv","alignWidgetsCenter":"eK8pfv","icon-container":"fyNjQn","iconContainer":"fyNjQn","loading-cell":"RHcDAE","loadingCell":"RHcDAE","content-wrapper":"HxQFPQ","contentWrapper":"HxQFPQ","render-item":"c8DwSP","renderItem":"c8DwSP","icon-wrapper":"CzaRce","iconWrapper":"CzaRce","icon-default":"e8li5c","iconDefault":"e8li5c","selected-mark":"LY-FnE","selectedMark":"LY-FnE"};
|
|
3355
2831
|
|
|
3356
2832
|
function DataPickerCell(props) {
|
|
3357
2833
|
const ref = React.useRef();
|
|
@@ -3359,21 +2835,18 @@ function DataPickerCell(props) {
|
|
|
3359
2835
|
if (props.rowProps.isLoading) {
|
|
3360
2836
|
content = (
|
|
3361
2837
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
3362
|
-
React.createElement(Text, { key: "t", size: props.size, cx: css$H.loadingCell },
|
|
2838
|
+
React.createElement(Text, { key: "t", size: settings.sizes.pickerInput.body.dropdown.row.cell.text[props.size], cx: css$H.loadingCell },
|
|
3363
2839
|
React.createElement(TextPlaceholder, null)));
|
|
3364
2840
|
}
|
|
3365
2841
|
else if (props.rowProps.isUnknown) {
|
|
3366
|
-
content = (React.createElement(Text, { key: "t", size: props.size }, "Unknown"));
|
|
2842
|
+
content = (React.createElement(Text, { key: "t", size: settings.sizes.pickerInput.body.dropdown.row.cell.text[props.size] }, "Unknown"));
|
|
3367
2843
|
}
|
|
3368
2844
|
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);
|
|
3372
2845
|
content = (React.createElement("div", { key: `${props.rowProps.id}`, className: css$H.renderItem },
|
|
3373
2846
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
3374
2847
|
React.createElement(FlexSpacer, null),
|
|
3375
|
-
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React.createElement("div", { className: cx$1(css$H.iconWrapper,
|
|
3376
|
-
React.createElement(IconContainer, { size: settings.pickerInput.
|
|
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.pickerInput.body.dropdown.row.cell.icon[props.size], icon: settings.sizes.pickerInput.body.dropdown.row.cell.isBoldSelectionIcon[props.size] ? ForwardRef$s : ForwardRef$P, cx: props.rowProps.isChildrenSelected ? css$H.iconDefault : css$H.selectedMark, rawProps: { 'aria-label': props.rowProps.isChildrenSelected
|
|
3377
2850
|
? 'Child is selected'
|
|
3378
2851
|
: 'Selected' } })))));
|
|
3379
2852
|
}
|
|
@@ -3381,32 +2854,31 @@ function DataPickerCell(props) {
|
|
|
3381
2854
|
return (React.createElement(FlexCell, { ref: ref, grow: 1, width: 0, minWidth: 0, rawProps: { role: 'cell' }, cx: [
|
|
3382
2855
|
css$H.root,
|
|
3383
2856
|
props.cx,
|
|
3384
|
-
'uui-picker_input-cell',
|
|
3385
2857
|
'data-picker-cell',
|
|
3386
2858
|
props.size && `uui-size-${props.size}`,
|
|
3387
2859
|
css$H[`align-widgets-${props.alignActions || 'top'}`],
|
|
3388
2860
|
], style: props.padding && {
|
|
3389
|
-
'--uui-
|
|
2861
|
+
'--uui-data_picker_cell-horizontal-padding': `${props.padding}px`,
|
|
3390
2862
|
} },
|
|
3391
2863
|
React.createElement(DataRowAddons, { size: props.size, ...props, tabIndex: -1 }),
|
|
3392
2864
|
getWrappedContent()));
|
|
3393
2865
|
}
|
|
3394
2866
|
|
|
3395
|
-
var css$G = {"picker-row":"
|
|
2867
|
+
var css$G = {"picker-row":"KBS1EC","pickerRow":"KBS1EC"};
|
|
3396
2868
|
|
|
3397
2869
|
class DataPickerRow extends React.Component {
|
|
3398
2870
|
constructor() {
|
|
3399
2871
|
super(...arguments);
|
|
3400
2872
|
this.renderContent = () => {
|
|
3401
|
-
return (React.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.pickerInput.
|
|
2873
|
+
return (React.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.sizes.pickerInput.body.dropdown.row.default, padding: this.props.padding || settings.sizes.pickerInput.body.dropdown.row.cell.padding, rowProps: this.props, alignActions: this.props.alignActions || 'top', renderItem: this.props.renderItem }));
|
|
3402
2874
|
};
|
|
3403
2875
|
}
|
|
3404
2876
|
render() {
|
|
3405
|
-
return (React.createElement(DataPickerRow$1, { ...this.props, cx: [css$G.pickerRow,
|
|
2877
|
+
return (React.createElement(DataPickerRow$1, { ...this.props, cx: [css$G.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
3406
2878
|
}
|
|
3407
2879
|
}
|
|
3408
2880
|
|
|
3409
|
-
var css$F = {"done":"
|
|
2881
|
+
var css$F = {"done":"IekJsd","container":"Rcq7v3"};
|
|
3410
2882
|
|
|
3411
2883
|
const PickerBodyMobileView = (props) => {
|
|
3412
2884
|
const isMobileView = isMobile();
|
|
@@ -3415,8 +2887,32 @@ const PickerBodyMobileView = (props) => {
|
|
|
3415
2887
|
return (React__default.createElement(DropdownContainer, { ...props, maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$F.container, props.cx], autoFocus: true },
|
|
3416
2888
|
isMobileView && React__default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
3417
2889
|
props.children,
|
|
3418
|
-
isMobileView &&
|
|
2890
|
+
isMobileView && React__default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$F.done, size: settings.sizes.pickerInput.body.mobile.footer.linkButton })));
|
|
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
|
+
})));
|
|
3419
2912
|
};
|
|
2913
|
+
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
2914
|
+
|
|
2915
|
+
var css$E = {"sub-header-wrapper":"AS2n5F","subHeaderWrapper":"AS2n5F","switch":"_9gGPnt","no-found-modal-container":"lREtGV","noFoundModalContainer":"lREtGV","no-found-modal-container-icon":"JV9rT6","noFoundModalContainerIcon":"JV9rT6","no-found-modal-container-text":"Jt0R6a","noFoundModalContainerText":"Jt0R6a"};
|
|
3420
2916
|
|
|
3421
2917
|
const mergeHighlightRanges = (ranges) => {
|
|
3422
2918
|
const mergedRanges = [];
|
|
@@ -3483,29 +2979,27 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3483
2979
|
return getDecoratedText(str, ranges);
|
|
3484
2980
|
};
|
|
3485
2981
|
|
|
3486
|
-
var css$
|
|
2982
|
+
var css$D = {"root":"-i2COf","column-gap":"Y-K4tS","columnGap":"Y-K4tS","multiline":"ySpF-g","text":"DBa0dX"};
|
|
3487
2983
|
|
|
3488
2984
|
function PickerItem(props) {
|
|
3489
|
-
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
3490
|
-
const itemSize = size || settings.pickerInput.
|
|
2985
|
+
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, cx, } = props;
|
|
2986
|
+
const itemSize = size || settings.sizes.pickerInput.body.dropdown.row.cell.item.default;
|
|
3491
2987
|
const isMultiline = !!(props.title && props.subtitle);
|
|
3492
2988
|
const { search } = props.dataSourceState ?? {};
|
|
3493
2989
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
3494
2990
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(props.subtitle, search) : props.subtitle;
|
|
3495
|
-
return (React.createElement(FlexCell, { width: "auto", cx: [css$
|
|
3496
|
-
React.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$
|
|
3497
|
-
avatarUrl && (React.createElement(Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline) })),
|
|
2991
|
+
return (React.createElement(FlexCell, { width: "auto", cx: [css$D.root, 'uui-typography', cx] },
|
|
2992
|
+
React.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$D.multiline, css$D.columnGap], rawProps: { style: { '--uui-picker_item-vertical-padding': `${settings.sizes.pickerInput.body.dropdown.row.cell.item.verticalPadding[itemSize]}px` } } },
|
|
2993
|
+
avatarUrl && (React.createElement(Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline).toString() })),
|
|
3498
2994
|
icon && React.createElement(IconContainer, { icon: icon }),
|
|
3499
2995
|
React.createElement(FlexCell, { width: "auto" },
|
|
3500
|
-
title && (React.createElement(
|
|
3501
|
-
subtitle && (React.createElement(
|
|
2996
|
+
title && (React.createElement(Text, { size: itemSize, cx: css$D.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React.createElement(TextPlaceholder, { wordsCount: 2 }) : title)),
|
|
2997
|
+
subtitle && (React.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$D.text }, isLoading ? React.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
3502
2998
|
}
|
|
3503
2999
|
function getAvatarSize(size, isMultiline) {
|
|
3504
|
-
return settings.pickerInput.
|
|
3000
|
+
return settings.sizes.pickerInput.body.dropdown.row.cell.item.avatar[isMultiline ? 'multiline' : 'rest'][size];
|
|
3505
3001
|
}
|
|
3506
3002
|
|
|
3507
|
-
var css$D = {"sub-header-wrapper":"gLSs7P","subHeaderWrapper":"gLSs7P","switch":"zIAB3-","no-found-modal-container":"_3p7Zmr","noFoundModalContainer":"_3p7Zmr","no-found-modal-container-icon":"-z6qsU","noFoundModalContainerIcon":"-z6qsU","no-found-modal-container-text":"BhrbAM","noFoundModalContainerText":"BhrbAM"};
|
|
3508
|
-
|
|
3509
3003
|
function PickerModal(props) {
|
|
3510
3004
|
const { view, selection, dataSourceStateLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = usePickerModal(props);
|
|
3511
3005
|
const getSubtitle = ({ path }, { search }) => {
|
|
@@ -3518,10 +3012,10 @@ function PickerModal(props) {
|
|
|
3518
3012
|
};
|
|
3519
3013
|
const renderItem = (item, rowProps, dsState) => {
|
|
3520
3014
|
const { flattenSearchResults } = view.getConfig();
|
|
3521
|
-
return (React__default.createElement(PickerItem, { title: getName(item), dataSourceState: dsState, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3015
|
+
return (React__default.createElement(PickerItem, { title: getName(item), size: "36", dataSourceState: dsState, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3522
3016
|
};
|
|
3523
3017
|
const renderRow = (rowProps) => {
|
|
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) }));
|
|
3018
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, padding: "24", size: "36", renderItem: (item, itemProps) => renderItem(item, itemProps, dataSourceState) }));
|
|
3525
3019
|
};
|
|
3526
3020
|
const renderFooter = () => {
|
|
3527
3021
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
@@ -3534,17 +3028,17 @@ function PickerModal(props) {
|
|
|
3534
3028
|
React__default.createElement(Button, { color: "primary", caption: i18n.pickerModal.selectButton, onClick: () => props.success(selection) })));
|
|
3535
3029
|
};
|
|
3536
3030
|
const renderNotFound = () => {
|
|
3537
|
-
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__default.createElement("div", { className: css$
|
|
3538
|
-
React__default.createElement(IconContainer, { cx: css$
|
|
3539
|
-
React__default.createElement(Text, { cx: css$
|
|
3540
|
-
React__default.createElement(Text, { cx: css$
|
|
3031
|
+
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__default.createElement("div", { className: css$E.noFoundModalContainer },
|
|
3032
|
+
React__default.createElement(IconContainer, { cx: css$E.noFoundModalContainerIcon, icon: ForwardRef$r }),
|
|
3033
|
+
React__default.createElement(Text, { cx: css$E.noFoundModalContainerText, fontWeight: "600", fontSize: "16", lineHeight: "24", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsMessage),
|
|
3034
|
+
React__default.createElement(Text, { cx: css$E.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
3541
3035
|
};
|
|
3542
3036
|
const dataRows = getRows();
|
|
3543
3037
|
const rows = dataRows.map((row) => renderRow(row));
|
|
3544
3038
|
return (React__default.createElement(ModalBlocker, { ...props },
|
|
3545
3039
|
React__default.createElement(ModalWindow, { width: 600, height: 700 },
|
|
3546
3040
|
React__default.createElement(ModalHeader, { title: props.caption || i18n.pickerModal.headerTitle, onClose: () => props.abort() }),
|
|
3547
|
-
React__default.createElement(FlexCell, { cx: css$
|
|
3041
|
+
React__default.createElement(FlexCell, { cx: css$E.subHeaderWrapper },
|
|
3548
3042
|
React__default.createElement(FlexRow, { vPadding: "24" },
|
|
3549
3043
|
React__default.createElement(SearchInput, { ...dataSourceStateLens.prop('search').toProps(), onKeyDown: (e) => handleDataSourceKeyboard({
|
|
3550
3044
|
value: getDataSourceState(),
|
|
@@ -3553,19 +3047,19 @@ function PickerModal(props) {
|
|
|
3553
3047
|
rows: dataRows,
|
|
3554
3048
|
searchPosition: 'body',
|
|
3555
3049
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder, rawProps: { dir: 'auto' } })),
|
|
3556
|
-
!isSingleSelect() && (React__default.createElement(Switch, { cx: css$
|
|
3050
|
+
!isSingleSelect() && (React__default.createElement(Switch, { cx: css$E.switch, size: "18", ...getFooterProps().showSelected, isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" })),
|
|
3557
3051
|
props.renderFilter && React__default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
3558
3052
|
React__default.createElement(DataPickerBody, { ...getListProps(), value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" }),
|
|
3559
|
-
React__default.createElement(ModalFooter,
|
|
3053
|
+
React__default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3560
3054
|
}
|
|
3561
3055
|
|
|
3562
|
-
var css$C = {"tooltip":"
|
|
3056
|
+
var css$C = {"tooltip":"BOQQ3r"};
|
|
3563
3057
|
|
|
3564
3058
|
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3565
3059
|
const tagProps = {
|
|
3566
3060
|
...props,
|
|
3567
3061
|
tabIndex: -1,
|
|
3568
|
-
size: settings.pickerInput.
|
|
3062
|
+
size: settings.sizes.pickerInput.toggler.tag[props.size],
|
|
3569
3063
|
caption: props.rowProps?.isLoading ? React.createElement(TextPlaceholder, null) : props.caption,
|
|
3570
3064
|
};
|
|
3571
3065
|
if (props.isCollapsed) {
|
|
@@ -3578,26 +3072,26 @@ const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3578
3072
|
}
|
|
3579
3073
|
});
|
|
3580
3074
|
|
|
3581
|
-
var css$B = {"root":"
|
|
3075
|
+
var css$B = {"root":"P7wOy2","mode-form":"KwYUq0","modeForm":"KwYUq0","mode-cell":"CJ7owm","modeCell":"CJ7owm","mode-inline":"_9pji1F","modeInline":"_9pji1F"};
|
|
3582
3076
|
|
|
3583
3077
|
const defaultMode = EditMode.FORM;
|
|
3584
3078
|
function applyPickerTogglerMods(mods) {
|
|
3585
3079
|
return [
|
|
3586
3080
|
css$B.root,
|
|
3587
3081
|
'uui-picker_toggler',
|
|
3588
|
-
`uui-size-${mods.size || settings.pickerInput.
|
|
3082
|
+
`uui-size-${mods.size || settings.sizes.pickerInput.toggler.defaults.size}`,
|
|
3589
3083
|
css$B['mode-' + (mods.mode || defaultMode)],
|
|
3590
3084
|
];
|
|
3591
3085
|
}
|
|
3592
3086
|
function PickerTogglerComponent(props, ref) {
|
|
3593
3087
|
const renderItem = (itemProps) => {
|
|
3594
|
-
const itemPropsWithSize = { ...itemProps, size: props.size || settings.pickerInput.
|
|
3088
|
+
const itemPropsWithSize = { ...itemProps, size: (props.size || settings.sizes.pickerInput.toggler.defaults.tag) };
|
|
3595
3089
|
if (!!props.renderItem) {
|
|
3596
3090
|
return props.renderItem(itemPropsWithSize);
|
|
3597
3091
|
}
|
|
3598
3092
|
return (React.createElement(PickerTogglerTag, { ...itemPropsWithSize, getName: props.getName }));
|
|
3599
3093
|
};
|
|
3600
|
-
return (React.createElement(PickerToggler$1, { ...props, ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon:
|
|
3094
|
+
return (React.createElement(PickerToggler$1, { ...props, ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon: systemIcons.clear, dropdownIcon: systemIcons.foldingArrow }));
|
|
3601
3095
|
}
|
|
3602
3096
|
const PickerToggler = /* @__PURE__ */React.forwardRef(PickerTogglerComponent);
|
|
3603
3097
|
|
|
@@ -3637,15 +3131,15 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3637
3131
|
};
|
|
3638
3132
|
const renderFooter = () => {
|
|
3639
3133
|
const footerProps = getFooterProps();
|
|
3640
|
-
return props.renderFooter
|
|
3641
|
-
? props.renderFooter(footerProps)
|
|
3642
|
-
: React__default.createElement(DataPickerFooter, { ...footerProps, size: props.size || settings.pickerInput.sizes.body.row });
|
|
3134
|
+
return props.renderFooter ? props.renderFooter(footerProps) : React__default.createElement(DataPickerFooter, { ...footerProps, size: props.size });
|
|
3643
3135
|
};
|
|
3644
3136
|
const getRowSize = () => {
|
|
3645
3137
|
if (isMobile()) {
|
|
3646
|
-
return settings.pickerInput.
|
|
3138
|
+
return settings.sizes.pickerInput.body.mobile.row;
|
|
3647
3139
|
}
|
|
3648
|
-
return props.
|
|
3140
|
+
return props.editMode === 'modal'
|
|
3141
|
+
? settings.sizes.pickerInput.body.modal.row
|
|
3142
|
+
: (props.size || settings.sizes.pickerInput.body.dropdown.row.default);
|
|
3649
3143
|
};
|
|
3650
3144
|
const getSubtitle = ({ path }, { search }) => {
|
|
3651
3145
|
if (!search)
|
|
@@ -3660,13 +3154,13 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3660
3154
|
return (React__default.createElement(PickerItem, { title: getName(item), size: getRowSize(), dataSourceState: dsState, highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3661
3155
|
};
|
|
3662
3156
|
const renderRow = (rowProps, dsState) => {
|
|
3663
|
-
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding: props.editMode === '
|
|
3157
|
+
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding: (props.editMode === 'modal' ? settings.sizes.pickerInput.body.modal.padding : settings.sizes.pickerInput.body.dropdown.padding), renderItem: (item, itemProps) => renderRowItem(item, itemProps, dsState) }));
|
|
3664
3158
|
};
|
|
3665
3159
|
const renderBody = (bodyProps, rows) => {
|
|
3666
3160
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
3667
|
-
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.pickerInput.
|
|
3668
|
-
const minBodyWidth = props.minBodyWidth || settings.pickerInput.
|
|
3669
|
-
return (React__default.createElement(PickerBodyMobileView, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx
|
|
3161
|
+
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.sizes.pickerInput.body.dropdown.height;
|
|
3162
|
+
const minBodyWidth = props.minBodyWidth || settings.sizes.pickerInput.body.dropdown.width;
|
|
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' },
|
|
3670
3164
|
React__default.createElement(DataPickerBody, { ...bodyProps, rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode }),
|
|
3671
3165
|
renderFooter()));
|
|
3672
3166
|
};
|
|
@@ -3679,9 +3173,9 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3679
3173
|
}
|
|
3680
3174
|
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
3681
3175
|
|
|
3682
|
-
var css$A = {"row":"
|
|
3176
|
+
var css$A = {"row":"Wc5NHy"};
|
|
3683
3177
|
|
|
3684
|
-
function
|
|
3178
|
+
function PickerListRow(props) {
|
|
3685
3179
|
let label;
|
|
3686
3180
|
if (props.isLoading) {
|
|
3687
3181
|
label = React__default.createElement(TextPlaceholder, { wordsCount: 2 });
|
|
@@ -3699,12 +3193,12 @@ function PickerListItem(props) {
|
|
|
3699
3193
|
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));
|
|
3700
3194
|
}
|
|
3701
3195
|
|
|
3702
|
-
var css$z = {"root":"
|
|
3196
|
+
var css$z = {"root":"pWxSdA"};
|
|
3703
3197
|
|
|
3704
3198
|
function PickerList(props) {
|
|
3705
|
-
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems,
|
|
3706
|
-
const
|
|
3707
|
-
return React__default.createElement(
|
|
3199
|
+
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = usePickerList(props);
|
|
3200
|
+
const defaultListRenderRow = (row) => {
|
|
3201
|
+
return React__default.createElement(PickerListRow, { getName: (item) => getName(item), ...row, key: row.rowKey });
|
|
3708
3202
|
};
|
|
3709
3203
|
const handleShowPicker = () => {
|
|
3710
3204
|
context.uuiModals
|
|
@@ -3721,11 +3215,11 @@ function PickerList(props) {
|
|
|
3721
3215
|
const rows = buildRowsList();
|
|
3722
3216
|
const showPicker = viewProps.totalCount == null || viewProps.totalCount > getMaxDefaultItems();
|
|
3723
3217
|
const renderToggler = props.renderModalToggler || defaultRenderToggler;
|
|
3724
|
-
const renderRow = props.
|
|
3218
|
+
const renderRow = props.renderListRow || defaultListRenderRow;
|
|
3725
3219
|
return (React__default.createElement("div", { className: cx('uui-picker-list', css$z.root) },
|
|
3726
3220
|
!rows.length
|
|
3727
3221
|
&& (props.noOptionsMessage || (React__default.createElement(Text, { color: "secondary", size: props.size }, "No options available"))),
|
|
3728
|
-
rows.map((row) => renderRow({ ...row, isDisabled: props.isDisabled }
|
|
3222
|
+
rows.map((row) => renderRow({ ...row, isDisabled: props.isDisabled })),
|
|
3729
3223
|
showPicker
|
|
3730
3224
|
&& renderToggler({
|
|
3731
3225
|
onClick: handleShowPicker,
|
|
@@ -3734,7 +3228,7 @@ function PickerList(props) {
|
|
|
3734
3228
|
}, selectedRows)));
|
|
3735
3229
|
}
|
|
3736
3230
|
|
|
3737
|
-
var css$y = {"root":"
|
|
3231
|
+
var css$y = {"root":"KPVU9N","wrapper":"PebLR2","align-widgets-top":"W-UlXF","alignWidgetsTop":"W-UlXF","align-widgets-center":"mmz4Ap","alignWidgetsCenter":"mmz4Ap"};
|
|
3738
3232
|
|
|
3739
3233
|
function DataTableCell(initialProps) {
|
|
3740
3234
|
const props = { ...initialProps };
|
|
@@ -3742,48 +3236,48 @@ function DataTableCell(initialProps) {
|
|
|
3742
3236
|
props.addons = React.createElement(DataRowAddons, { size: props.size, ...props });
|
|
3743
3237
|
}
|
|
3744
3238
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3745
|
-
|| (() => (React.createElement(Text, { key: "t", size: props.size },
|
|
3239
|
+
|| (() => (React.createElement(Text, { key: "t", size: settings.sizes.dataTable.body.row.cell.text[props.size] },
|
|
3746
3240
|
React.createElement(TextPlaceholder, { isNotAnimated: true }))));
|
|
3747
3241
|
props.renderUnknown = props.renderUnknown
|
|
3748
|
-
|| (() => (React.createElement(Text, { key: "t", size: props.size }, "Unknown")));
|
|
3242
|
+
|| (() => (React.createElement(Text, { key: "t", size: settings.sizes.dataTable.body.row.cell.text[props.size] }, "Unknown")));
|
|
3749
3243
|
props.renderTooltip = (tooltipProps) => React.createElement(Tooltip, { color: "critical", ...tooltipProps });
|
|
3750
3244
|
const isEditable = !!props.onValueChange;
|
|
3751
3245
|
const getLeftPadding = () => {
|
|
3752
3246
|
const { rowProps: { isLoading }, columnsGap, isFirstColumn } = props;
|
|
3753
3247
|
if (isFirstColumn && isEditable && !isLoading)
|
|
3754
|
-
return
|
|
3248
|
+
return settings.sizes.dataTable.body.row.cell.defaults.padding;
|
|
3755
3249
|
if (isEditable && !isLoading)
|
|
3756
|
-
return '
|
|
3250
|
+
return '0';
|
|
3757
3251
|
if (columnsGap)
|
|
3758
|
-
return isFirstColumn ?
|
|
3759
|
-
return
|
|
3252
|
+
return isFirstColumn ? columnsGap : +columnsGap / 2;
|
|
3253
|
+
return isFirstColumn ? settings.sizes.dataTable.body.row.cell.defaults.paddingEdge : settings.sizes.dataTable.body.row.cell.defaults.padding;
|
|
3760
3254
|
};
|
|
3761
3255
|
const getRightPadding = () => {
|
|
3762
3256
|
const { rowProps: { isLoading }, columnsGap, isLastColumn } = props;
|
|
3763
3257
|
if (isEditable && !isLoading)
|
|
3764
|
-
return '
|
|
3258
|
+
return '0';
|
|
3765
3259
|
if (columnsGap)
|
|
3766
|
-
return isLastColumn ?
|
|
3767
|
-
return
|
|
3260
|
+
return isLastColumn ? columnsGap : +columnsGap / 2;
|
|
3261
|
+
return isLastColumn ? settings.sizes.dataTable.body.row.cell.defaults.paddingEdge : settings.sizes.dataTable.body.row.cell.defaults.padding;
|
|
3768
3262
|
};
|
|
3769
3263
|
props.cx = [
|
|
3770
3264
|
'data-table-cell',
|
|
3771
3265
|
css$y.root,
|
|
3772
3266
|
props.cx,
|
|
3773
|
-
'uui-size-' + (props.size || settings.dataTable.
|
|
3267
|
+
'uui-size-' + (props.size || settings.sizes.dataTable.body.row.cell.defaults.size),
|
|
3774
3268
|
props.isFirstColumn && 'uui-dt-first-column',
|
|
3775
3269
|
props.isLastColumn && 'uui-dt-last-column',
|
|
3776
3270
|
css$y[`align-widgets-${props.alignActions || 'top'}`],
|
|
3777
3271
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
3778
3272
|
];
|
|
3779
3273
|
props.style = {
|
|
3780
|
-
'--uui-dt-cell-padding-start': getLeftPadding()
|
|
3781
|
-
'--uui-dt-cell-padding-end': getRightPadding()
|
|
3274
|
+
'--uui-dt-cell-padding-start': `${getLeftPadding()}px`,
|
|
3275
|
+
'--uui-dt-cell-padding-end': `${getRightPadding()}px`,
|
|
3782
3276
|
};
|
|
3783
3277
|
return React.createElement(DataTableCell$1, { ...props });
|
|
3784
3278
|
}
|
|
3785
3279
|
|
|
3786
|
-
var css$x = {"root":"
|
|
3280
|
+
var css$x = {"root":"xQrb9K"};
|
|
3787
3281
|
|
|
3788
3282
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3789
3283
|
// 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.
|
|
@@ -3795,18 +3289,48 @@ const renderDropMarkers = ({ ref, ...props }) => React.createElement(DropMarker,
|
|
|
3795
3289
|
const propsMods = { renderCell, renderDropMarkers };
|
|
3796
3290
|
const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = true, size }) => {
|
|
3797
3291
|
return [
|
|
3798
|
-
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.dataTable.
|
|
3292
|
+
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.sizes.dataTable.body.row.default}`,
|
|
3799
3293
|
];
|
|
3800
3294
|
}, () => propsMods);
|
|
3801
3295
|
|
|
3802
|
-
var css$w = {"sorting-panel-container":"
|
|
3296
|
+
var css$w = {"sorting-panel-container":"_1eDK5T","sortingPanelContainer":"_1eDK5T"};
|
|
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);
|
|
3803
3327
|
|
|
3804
3328
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3805
3329
|
const sortAsc = useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
3806
3330
|
const sortDesc = useCallback(() => onSort(sortDirection === 'desc' ? undefined : 'desc'), [onSort]);
|
|
3807
3331
|
return (React__default.createElement(FlexCell, { cx: cx$1(css$w.sortingPanelContainer, 'uui-dropdownMenu-body') },
|
|
3808
|
-
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon:
|
|
3809
|
-
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon:
|
|
3332
|
+
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: ForwardRef$q, onClick: sortAsc }),
|
|
3333
|
+
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: ForwardRef$p, onClick: sortDesc })));
|
|
3810
3334
|
};
|
|
3811
3335
|
const SortingPanel = /* @__PURE__ */React__default.memo(SortingPanelImpl);
|
|
3812
3336
|
|
|
@@ -3824,7 +3348,82 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3824
3348
|
};
|
|
3825
3349
|
const ColumnHeaderDropdown = /* @__PURE__ */React__default.memo(ColumnHeaderDropdownImpl);
|
|
3826
3350
|
|
|
3827
|
-
var
|
|
3351
|
+
var _path$o;
|
|
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":"-qPWIf","caption-wrapper":"zWxjT8","captionWrapper":"zWxjT8","sort-icon":"iTW1hy","sortIcon":"iTW1hy","dropdown-icon":"pU4nuA","dropdownIcon":"pU4nuA","infoIcon":"_8UofpF","resizable":"_5NAwqM","align-right":"sL9EB9","alignRight":"sL9EB9","align-center":"K54Ke2","alignCenter":"K54Ke2","caption":"e93oo1","truncate":"uGFkY-","checkbox":"sG17hV","icon":"VOxXr3","fold-all-icon":"rMxdCO","foldAllIcon":"rMxdCO","cell-tooltip":"zRIOT5","cellTooltip":"zRIOT5","upper-case":"Rfkegk","upperCase":"Rfkegk","resizing-marker":"wk4UxN","resizingMarker":"wk4UxN","pinned-right":"_02pqhV","pinnedRight":"_02pqhV","draggable":"S-r-Rm","ghost":"hGlhps","is-dragged-out":"ORCRTM","isDraggedOut":"ORCRTM","dnd-marker-left":"pcKSRm","dndMarkerLeft":"pcKSRm","dnd-marker-right":"_6sX2H2","dndMarkerRight":"_6sX2H2","cell-tooltip-wrapper":"BiQsVh","cellTooltipWrapper":"BiQsVh","cell-tooltip-text":"jBE0jn","cellTooltipText":"jBE0jn","tooltip-caption":"nuPmjF","tooltipCaption":"nuPmjF","tooltip-info":"FpzGDH","tooltipInfo":"FpzGDH"};
|
|
3828
3427
|
|
|
3829
3428
|
class DataTableHeaderCell extends React.Component {
|
|
3830
3429
|
constructor() {
|
|
@@ -3837,23 +3436,22 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3837
3436
|
column.info && (React.createElement(Text, { cx: [css$v.cellTooltipText, css$v.tooltipInfo] }, column.info))));
|
|
3838
3437
|
this.getColumnCaption = () => {
|
|
3839
3438
|
const renderTooltip = this.props.column.renderTooltip || this.getTooltipContent;
|
|
3840
|
-
const captionCx =
|
|
3439
|
+
const captionCx = [
|
|
3841
3440
|
css$v.caption,
|
|
3842
3441
|
this.props.textCase === 'upper' && css$v.upperCase,
|
|
3843
3442
|
uuiDataTableHeaderCell.uuiTableHeaderCaption,
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
]);
|
|
3443
|
+
settings.sizes.dataTable.header.row.cell.truncate.includes(this.props.size) && css$v.truncate,
|
|
3444
|
+
];
|
|
3847
3445
|
return (React.createElement("div", { className: cx$1(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3848
3446
|
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: css$v.cellTooltip, openDelay: 600 },
|
|
3849
|
-
React.createElement(
|
|
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:
|
|
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:
|
|
3852
|
-
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$v.icon, css$v.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon:
|
|
3447
|
+
React.createElement(Text, { key: "text", fontSize: settings.sizes.dataTable.header.row.cell.columnCaption[this.props.textCase === 'upper' ? 'uppercase' : 'fontSize'], size: settings.sizes.dataTable.header.row.cell.columnCaption.size, cx: captionCx }, this.props.column.caption)),
|
|
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' ? ForwardRef$p : this.props.sortDirection === 'asc' ? ForwardRef$q : ForwardRef$o })),
|
|
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: ForwardRef$n })),
|
|
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 ? ForwardRef$m : ForwardRef$Q }))));
|
|
3853
3451
|
};
|
|
3854
3452
|
this.renderHeaderCheckbox = () => {
|
|
3855
3453
|
if (this.props.selectAll && this.props.isFirstColumn) {
|
|
3856
|
-
return (React.createElement(Checkbox, { size: settings.dataTable.
|
|
3454
|
+
return (React.createElement(Checkbox, { size: settings.sizes.dataTable.header.row.cell.checkbox[this.props.size], ...this.props.selectAll, cx: cx$1(css$v.checkbox, uuiDataTableHeaderCell.uuiTableHeaderCheckbox) }));
|
|
3857
3455
|
}
|
|
3858
3456
|
};
|
|
3859
3457
|
this.renderFoldAllIcon = () => {
|
|
@@ -3861,7 +3459,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3861
3459
|
return (React.createElement(Tooltip, { content: this.props.areAllFolded
|
|
3862
3460
|
? i18n.tables.columnHeader.expandAllTooltip
|
|
3863
3461
|
: i18n.tables.columnHeader.collapseAllTooltip },
|
|
3864
|
-
React.createElement(IconButton, { color: "secondary", cx: cx$1(css$v.icon, css$v.foldAllIcon, uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon:
|
|
3462
|
+
React.createElement(IconButton, { color: "secondary", cx: cx$1(css$v.icon, css$v.foldAllIcon, uuiDataTableHeaderCell.uuiTableHeaderFoldAllIcon), icon: this.props.areAllFolded ? ForwardRef$k : ForwardRef$l, onClick: this.props.onFoldAll, rawProps: {
|
|
3865
3463
|
'aria-label': this.props.areAllFolded ? 'Expand All' : 'Collapse All',
|
|
3866
3464
|
'aria-expanded': !!this.props.areAllFolded,
|
|
3867
3465
|
} })));
|
|
@@ -3873,32 +3471,32 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3873
3471
|
this.getLeftPadding = () => {
|
|
3874
3472
|
const { columnsGap, isFirstColumn } = this.props;
|
|
3875
3473
|
if (columnsGap)
|
|
3876
|
-
return isFirstColumn ?
|
|
3877
|
-
return
|
|
3474
|
+
return isFirstColumn ? columnsGap : +columnsGap / 2;
|
|
3475
|
+
return isFirstColumn ? settings.sizes.dataTable.header.row.cell.defaults.paddingEdge : settings.sizes.dataTable.header.row.cell.defaults.padding;
|
|
3878
3476
|
};
|
|
3879
3477
|
this.getRightPadding = () => {
|
|
3880
3478
|
const { columnsGap, isLastColumn } = this.props;
|
|
3881
3479
|
if (columnsGap)
|
|
3882
|
-
return isLastColumn ?
|
|
3883
|
-
return
|
|
3480
|
+
return isLastColumn ? columnsGap : +columnsGap / 2;
|
|
3481
|
+
return isLastColumn ? settings.sizes.dataTable.header.row.cell.defaults.paddingEdge : settings.sizes.dataTable.header.row.cell.defaults.padding;
|
|
3884
3482
|
};
|
|
3885
3483
|
this.getResizingMarkerWidth = () => {
|
|
3886
3484
|
const { columnsGap } = this.props;
|
|
3887
|
-
return columnsGap ?
|
|
3485
|
+
return columnsGap ? +columnsGap / 2 : settings.sizes.dataTable.header.row.cell.defaults.resizeMarker;
|
|
3888
3486
|
};
|
|
3889
3487
|
this.renderCellContent = (props, dropdownProps) => {
|
|
3890
3488
|
const isResizable = this.props.column.allowResizing ?? this.props.allowColumnsResizing;
|
|
3891
3489
|
const onClickEvent = !props.isResizing && (!this.props.column.renderFilter ? props.toggleSort : dropdownProps?.onClick);
|
|
3892
3490
|
const computeStyles = {
|
|
3893
|
-
'--uui-dt-header-cell-icon-size': `${settings.dataTable.
|
|
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()
|
|
3491
|
+
'--uui-dt-header-cell-icon-size': `${settings.sizes.dataTable.header.row.cell.iconSize[this.props.size || settings.sizes.dataTable.header.row.cell.defaults.size]}px`,
|
|
3492
|
+
'--uui-dt-header-cell-padding-start': `${this.getLeftPadding()}px`,
|
|
3493
|
+
'--uui-dt-header-cell-padding-end': `${this.getRightPadding()}px`,
|
|
3494
|
+
'--uui-dt-header-cell-resizing-marker-width': `${this.getResizingMarkerWidth()}px`,
|
|
3897
3495
|
};
|
|
3898
3496
|
return (React.createElement(DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
3899
3497
|
props.ref(ref);
|
|
3900
3498
|
dropdownProps?.ref?.(ref);
|
|
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.
|
|
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.dataTable.header.row.cell.defaults.size}`, this.props.isFirstColumn && 'uui-dt-header-first-column', this.props.isLastColumn && 'uui-dt-header-last-column', this.props.column.fix && css$v['pinned-' + this.props.column.fix], isResizable && css$v.resizable, props.isDraggable && css$v.draggable, props.isDragGhost && css$v.ghost, props.isDraggedOut && css$v.isDraggedOut, props.isDndInProgress && css$v['dnd-marker-' + props.position]), onClick: onClickEvent, rawProps: {
|
|
3902
3500
|
role: 'columnheader',
|
|
3903
3501
|
'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none',
|
|
3904
3502
|
...props.eventHandlers,
|
|
@@ -3918,32 +3516,66 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3918
3516
|
}
|
|
3919
3517
|
}
|
|
3920
3518
|
|
|
3921
|
-
var
|
|
3519
|
+
var _path$j;
|
|
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":"j8INbi"};
|
|
3535
|
+
|
|
3536
|
+
var css$t = {"root":"JXPagk","caption-wrapper":"Nj7-uX","captionWrapper":"Nj7-uX","align-center":"_0f5-tV","alignCenter":"_0f5-tV","caption":"Nthg7g","truncate":"aQwD9s","group-cell-tooltip":"eGuSTX","groupCellTooltip":"eGuSTX","upper-case":"IIZQsl","upperCase":"IIZQsl","group-cell-tooltip-wrapper":"yzjufS","groupCellTooltipWrapper":"yzjufS","group-cell-tooltip-text":"Kfu1rh","groupCellTooltipText":"Kfu1rh","tooltip-caption":"rWKM7y","tooltipCaption":"rWKM7y","tooltip-info":"JtC1YE","tooltipInfo":"JtC1YE"};
|
|
3922
3537
|
|
|
3923
3538
|
class DataTableHeaderGroupCell extends React.Component {
|
|
3924
3539
|
constructor() {
|
|
3925
3540
|
super(...arguments);
|
|
3926
|
-
this.getTooltipContent = (column) => (React.createElement("div", { className: cx$1(css$
|
|
3927
|
-
React.createElement(Text, { cx: [css$
|
|
3928
|
-
column.info && (React.createElement(Text, { cx: [css$
|
|
3541
|
+
this.getTooltipContent = (column) => (React.createElement("div", { className: cx$1(css$t.groupCellTooltipWrapper, uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionTooltip) },
|
|
3542
|
+
React.createElement(Text, { cx: [css$t.groupCellTooltipText, css$t.tooltipCaption] }, column.caption),
|
|
3543
|
+
column.info && (React.createElement(Text, { cx: [css$t.groupCellTooltipText, css$t.tooltipInfo] }, column.info))));
|
|
3929
3544
|
this.getColumnCaption = () => {
|
|
3930
3545
|
const renderTooltip = this.props.group.renderTooltip || this.getTooltipContent;
|
|
3931
|
-
const captionCx =
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3546
|
+
const captionCx = [
|
|
3547
|
+
css$t.caption,
|
|
3548
|
+
this.props.textCase === 'upper' && css$t.upperCase,
|
|
3549
|
+
uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaption,
|
|
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))));
|
|
3935
3555
|
};
|
|
3936
3556
|
this.getLeftPadding = () => {
|
|
3937
3557
|
const { columnsGap, isFirstCell } = this.props;
|
|
3938
3558
|
if (columnsGap)
|
|
3939
|
-
return isFirstCell ?
|
|
3940
|
-
return
|
|
3559
|
+
return isFirstCell ? columnsGap : +columnsGap / 2;
|
|
3560
|
+
return isFirstCell ? settings.sizes.dataTable.header.row.groupCell.defaults.paddingEdge : settings.sizes.dataTable.header.row.groupCell.defaults.padding;
|
|
3941
3561
|
};
|
|
3942
3562
|
this.getRightPadding = () => {
|
|
3943
3563
|
const { columnsGap, isLastCell } = this.props;
|
|
3944
3564
|
if (columnsGap)
|
|
3945
|
-
return isLastCell ?
|
|
3946
|
-
return
|
|
3565
|
+
return isLastCell ? columnsGap : +columnsGap / 2;
|
|
3566
|
+
return isLastCell ? settings.sizes.dataTable.header.row.groupCell.defaults.paddingEdge : settings.sizes.dataTable.header.row.groupCell.defaults.padding;
|
|
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()));
|
|
3947
3579
|
};
|
|
3948
3580
|
}
|
|
3949
3581
|
render() {
|
|
@@ -3951,19 +3583,17 @@ class DataTableHeaderGroupCell extends React.Component {
|
|
|
3951
3583
|
return this.props.group.renderHeaderCell(this.props);
|
|
3952
3584
|
}
|
|
3953
3585
|
const computeStyles = {
|
|
3954
|
-
'--uui-dt-header-group-cell-padding-start': this.getLeftPadding()
|
|
3955
|
-
'--uui-dt-header-group-cell-padding-end': this.getRightPadding()
|
|
3586
|
+
'--uui-dt-header-group-cell-padding-start': `${this.getLeftPadding()}px`,
|
|
3587
|
+
'--uui-dt-header-group-cell-padding-end': `${this.getRightPadding()}px`,
|
|
3956
3588
|
};
|
|
3957
|
-
return (React.createElement(DataTableCellContainer, { column: this.props.group, cx: cx$1(uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$
|
|
3589
|
+
return (React.createElement(DataTableCellContainer, { column: this.props.group, 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: { role: 'columnheader' }, style: computeStyles }, this.getColumnCaption()));
|
|
3958
3590
|
}
|
|
3959
3591
|
}
|
|
3960
3592
|
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
const DataTableHeaderRow = /* @__PURE__ */withMods(DataTableHeaderRow$1, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
3593
|
+
const DataTableHeaderRow = /* @__PURE__ */withMods(DataTableHeaderRow$1, () => [css$u.root, 'uui-dt-vars'], (mods) => ({
|
|
3964
3594
|
renderCell: (props) => (React.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
3965
3595
|
renderGroupCell: (props) => (React.createElement(DataTableHeaderGroupCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.key, columnsGap: mods.columnsGap })),
|
|
3966
|
-
renderConfigButton: () => (React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.dataTable.
|
|
3596
|
+
renderConfigButton: () => (React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.sizes.dataTable.header.row.cell.iconSize[mods.size || settings.sizes.dataTable.header.row.default]}`], color: "neutral", icon: ForwardRef$j })),
|
|
3967
3597
|
}));
|
|
3968
3598
|
|
|
3969
3599
|
const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
@@ -3971,14 +3601,15 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
3971
3601
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
3972
3602
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
3973
3603
|
|
|
3974
|
-
var css$s = {"root":"
|
|
3604
|
+
var css$s = {"root":"uYvCRM","title-wrapper":"eHTSDd","titleWrapper":"eHTSDd","title":"_3wpWsB","text-wrapper":"ZmZzWj","textWrapper":"ZmZzWj","selection":"_4M016R","postfix":"_06NoXz","selected":"gFn5NU"};
|
|
3975
3605
|
|
|
3606
|
+
const defaultSize = '36';
|
|
3976
3607
|
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3977
3608
|
const togglerPickerOpened = (e) => {
|
|
3978
3609
|
if (props.isDisabled)
|
|
3979
3610
|
return;
|
|
3980
3611
|
e.preventDefault();
|
|
3981
|
-
|
|
3612
|
+
props.onClick?.();
|
|
3982
3613
|
};
|
|
3983
3614
|
const onKeyDownHandler = (e) => {
|
|
3984
3615
|
if (props.isDisabled)
|
|
@@ -3996,13 +3627,18 @@ const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3996
3627
|
const getSelectionText = () => props.selection.map((i, index) => (React.createElement(React.Fragment, { key: `${i}${index}` },
|
|
3997
3628
|
React.createElement(Text, { color: "primary", size: props.size, cx: css$s.selection }, i),
|
|
3998
3629
|
(props.postfix || index !== props.selection.length - 1) && React.createElement("span", null, ",\u00A0"))));
|
|
3999
|
-
return (React.createElement(
|
|
4000
|
-
|
|
3630
|
+
return (React.createElement(FlexRow$1, { ...props, rawProps: {
|
|
3631
|
+
style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` },
|
|
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 },
|
|
4001
3637
|
React.createElement(Text, { size: props.size, cx: css$s.title }, getTitle),
|
|
4002
3638
|
props.selection && (React.createElement("div", { className: css$s.textWrapper },
|
|
4003
3639
|
getSelectionText(),
|
|
4004
3640
|
props.postfix && (React.createElement(Text, { color: "primary", size: props.size, cx: css$s.postfix }, props.postfix))))),
|
|
4005
|
-
!props.isDisabled && React.createElement(IconContainer, { icon:
|
|
3641
|
+
!props.isDisabled && React.createElement(IconContainer, { icon: systemIcons.foldingArrow, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
4006
3642
|
});
|
|
4007
3643
|
|
|
4008
3644
|
const pickerHeight = 300;
|
|
@@ -4029,7 +3665,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4029
3665
|
};
|
|
4030
3666
|
const renderItem = (item, rowProps, dsState) => {
|
|
4031
3667
|
const { flattenSearchResults } = view.getConfig();
|
|
4032
|
-
return (React.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.pickerInput.
|
|
3668
|
+
return (React.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.sizes.filtersPanel.pickerInput.body.default, ...rowProps }));
|
|
4033
3669
|
};
|
|
4034
3670
|
const onSelect = (row) => {
|
|
4035
3671
|
handleDataSourceValueChange((currentDataSourceState) => ({ ...currentDataSourceState, search: '', selectedId: row.id }));
|
|
@@ -4038,20 +3674,18 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4038
3674
|
if (rowProps.isSelectable && isSingleSelect() && props.editMode !== 'modal') {
|
|
4039
3675
|
rowProps.onSelect = onSelect;
|
|
4040
3676
|
}
|
|
4041
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.pickerInput.
|
|
3677
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.sizes.filtersPanel.pickerInput.body.default, padding: "12", renderItem: (item, itemProps) => renderItem(item, itemProps, dsState) }));
|
|
4042
3678
|
};
|
|
4043
3679
|
const renderFooter = () => {
|
|
4044
3680
|
const footerProps = getFooterProps();
|
|
4045
|
-
return props.renderFooter
|
|
4046
|
-
? props.renderFooter(footerProps)
|
|
4047
|
-
: React.createElement(DataPickerFooter, { ...footerProps, size: settings.pickerInput.sizes.body.row });
|
|
3681
|
+
return props.renderFooter ? props.renderFooter(footerProps) : React.createElement(DataPickerFooter, { ...footerProps, size: settings.sizes.filtersPanel.pickerInput.body.default });
|
|
4048
3682
|
};
|
|
4049
3683
|
const renderBody = (bodyProps, rows) => {
|
|
4050
3684
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
4051
3685
|
const maxHeight = isMobile() ? document.documentElement.clientHeight : props.maxBodyHeight || pickerHeight;
|
|
4052
3686
|
const maxWidth = isMobile() ? undefined : 360;
|
|
4053
3687
|
return (React.createElement(React.Fragment, null,
|
|
4054
|
-
React.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.pickerInput.
|
|
3688
|
+
React.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.sizes.filtersPanel.pickerInput.body.default, editMode: "dropdown" }),
|
|
4055
3689
|
renderFooter()));
|
|
4056
3690
|
};
|
|
4057
3691
|
const rows = getRows();
|
|
@@ -4139,7 +3773,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4139
3773
|
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
4140
3774
|
}
|
|
4141
3775
|
|
|
4142
|
-
var css$r = {"container":"
|
|
3776
|
+
var css$r = {"container":"WgX7HC"};
|
|
4143
3777
|
|
|
4144
3778
|
function FilterNumericBody(props) {
|
|
4145
3779
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -4220,22 +3854,22 @@ function FilterItemBody(props) {
|
|
|
4220
3854
|
}
|
|
4221
3855
|
}
|
|
4222
3856
|
|
|
4223
|
-
var _path$
|
|
4224
|
-
function _extends$
|
|
3857
|
+
var _path$i;
|
|
3858
|
+
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); }
|
|
4225
3859
|
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
4226
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3860
|
+
return /*#__PURE__*/React.createElement("svg", _extends$i({
|
|
4227
3861
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4228
3862
|
width: 24,
|
|
4229
3863
|
height: 24,
|
|
4230
3864
|
viewBox: "0 0 24 24",
|
|
4231
3865
|
ref: ref
|
|
4232
|
-
}, props), _path$
|
|
3866
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
|
|
4233
3867
|
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
4234
3868
|
})));
|
|
4235
3869
|
};
|
|
4236
|
-
var ForwardRef$
|
|
3870
|
+
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
4237
3871
|
|
|
4238
|
-
var css$q = {"header":"
|
|
3872
|
+
var css$q = {"header":"hm52GA","removeButton":"_1qM-60","with-search":"sx1K3G","withSearch":"sx1K3G"};
|
|
4239
3873
|
|
|
4240
3874
|
function useView(props, value) {
|
|
4241
3875
|
const forceUpdate = useForceUpdate();
|
|
@@ -4324,7 +3958,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4324
3958
|
};
|
|
4325
3959
|
const renderHeader = (hideTitle) => (React__default.createElement("div", { className: cx(css$q.header, isPickersType && (props.showSearch ?? css$q.withSearch)) },
|
|
4326
3960
|
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))),
|
|
4327
|
-
!props?.isAlwaysVisible && (React__default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$
|
|
3961
|
+
!props?.isAlwaysVisible && (React__default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$i }))));
|
|
4328
3962
|
const renderBody = (dropdownProps) => {
|
|
4329
3963
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
4330
3964
|
return isPickersType ? (React__default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width: 360, onClose: () => isOpenChange(false) },
|
|
@@ -4413,6 +4047,21 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4413
4047
|
}
|
|
4414
4048
|
const FiltersPanelItem = /* @__PURE__ */React__default.memo(FiltersToolbarItemImpl);
|
|
4415
4049
|
|
|
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
|
+
|
|
4416
4065
|
const normalizeFilterWithPredicates = (filter) => {
|
|
4417
4066
|
if (!filter) {
|
|
4418
4067
|
return {};
|
|
@@ -4452,7 +4101,7 @@ const normalizeFilterWithPredicates = (filter) => {
|
|
|
4452
4101
|
return result;
|
|
4453
4102
|
};
|
|
4454
4103
|
function FiltersToolbarImpl(props) {
|
|
4455
|
-
const { filters, tableState, setTableState, size =
|
|
4104
|
+
const { filters, tableState, setTableState, size = settings.sizes.defaults.filtersPanel } = props;
|
|
4456
4105
|
const [newFilterId, setNewFilterId] = useState(null);
|
|
4457
4106
|
const pickerInputRef = useRef(null);
|
|
4458
4107
|
const dataSource = useArrayDataSource({
|
|
@@ -4512,7 +4161,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4512
4161
|
return orderBy(selectedFilters, (f) => tableState.filtersConfig?.[f.field]?.order);
|
|
4513
4162
|
}, [filters, tableState.filtersConfig]);
|
|
4514
4163
|
const renderAddFilterToggler = useCallback((togglerProps) => {
|
|
4515
|
-
return (React__default.createElement(Button, { size: size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon:
|
|
4164
|
+
return (React__default.createElement(Button, { size: size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$h, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
4516
4165
|
}, []);
|
|
4517
4166
|
const getRowOptions = useCallback((item) => ({
|
|
4518
4167
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -4541,88 +4190,120 @@ function FiltersToolbarImpl(props) {
|
|
|
4541
4190
|
}
|
|
4542
4191
|
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
4543
4192
|
|
|
4544
|
-
var css$p = {"divider":"
|
|
4193
|
+
var css$p = {"divider":"rrZMUl","dropdownDeleteIcon":"_3P4k8Z","presetsWrapper":"dbCskh","addPresetContainer":"FFG-f1","dropContainer":"_62-Nr1"};
|
|
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);
|
|
4211
|
+
|
|
4212
|
+
var _path$f;
|
|
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);
|
|
4545
4226
|
|
|
4546
|
-
var _path$
|
|
4547
|
-
function _extends$
|
|
4227
|
+
var _path$e;
|
|
4228
|
+
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); }
|
|
4548
4229
|
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
4549
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4230
|
+
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
4550
4231
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4551
4232
|
width: 24,
|
|
4552
4233
|
height: 24,
|
|
4553
4234
|
viewBox: "0 0 24 24",
|
|
4554
4235
|
ref: ref
|
|
4555
|
-
}, props), _path$
|
|
4236
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
|
|
4556
4237
|
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"
|
|
4557
4238
|
})));
|
|
4558
4239
|
};
|
|
4559
|
-
var ForwardRef$
|
|
4240
|
+
var ForwardRef$e = /*#__PURE__*/forwardRef(SvgActionSaveOutline);
|
|
4560
4241
|
|
|
4561
|
-
var _path$
|
|
4562
|
-
function _extends$
|
|
4242
|
+
var _path$d;
|
|
4243
|
+
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); }
|
|
4563
4244
|
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
4564
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4245
|
+
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
4565
4246
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4566
4247
|
width: 24,
|
|
4567
4248
|
height: 24,
|
|
4568
4249
|
viewBox: "0 0 24 24",
|
|
4569
4250
|
ref: ref
|
|
4570
|
-
}, props), _path$
|
|
4251
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
|
|
4571
4252
|
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"
|
|
4572
4253
|
})));
|
|
4573
4254
|
};
|
|
4574
|
-
var ForwardRef$
|
|
4255
|
+
var ForwardRef$d = /*#__PURE__*/forwardRef(SvgContentEditUndoOutline);
|
|
4575
4256
|
|
|
4576
|
-
var _path$
|
|
4577
|
-
function _extends$
|
|
4257
|
+
var _path$c;
|
|
4258
|
+
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); }
|
|
4578
4259
|
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
4579
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4260
|
+
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
4580
4261
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4581
4262
|
width: 24,
|
|
4582
4263
|
height: 24,
|
|
4583
4264
|
viewBox: "0 0 24 24",
|
|
4584
4265
|
ref: ref
|
|
4585
|
-
}, props), _path$
|
|
4266
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
|
|
4586
4267
|
fillRule: "evenodd",
|
|
4587
4268
|
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",
|
|
4588
4269
|
clipRule: "evenodd"
|
|
4589
4270
|
})));
|
|
4590
4271
|
};
|
|
4591
|
-
var ForwardRef$
|
|
4272
|
+
var ForwardRef$c = /*#__PURE__*/forwardRef(SvgActionCopyContentOutline);
|
|
4592
4273
|
|
|
4593
|
-
var _path$
|
|
4594
|
-
function _extends$
|
|
4274
|
+
var _path$b;
|
|
4275
|
+
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); }
|
|
4595
4276
|
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
4596
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4277
|
+
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
4597
4278
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4598
4279
|
width: 24,
|
|
4599
4280
|
height: 24,
|
|
4600
4281
|
viewBox: "0 0 24 24",
|
|
4601
4282
|
ref: ref
|
|
4602
|
-
}, props), _path$
|
|
4283
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
|
|
4603
4284
|
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"
|
|
4604
4285
|
})));
|
|
4605
4286
|
};
|
|
4606
|
-
var ForwardRef$
|
|
4287
|
+
var ForwardRef$b = /*#__PURE__*/forwardRef(SvgContentEditFill);
|
|
4607
4288
|
|
|
4608
|
-
var _path$
|
|
4609
|
-
function _extends$
|
|
4289
|
+
var _path$a, _path2$3;
|
|
4290
|
+
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); }
|
|
4610
4291
|
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
4611
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4292
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
4612
4293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4613
4294
|
width: 24,
|
|
4614
4295
|
height: 24,
|
|
4615
4296
|
viewBox: "0 0 24 24",
|
|
4616
4297
|
ref: ref
|
|
4617
|
-
}, props), _path$
|
|
4298
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
4618
4299
|
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"
|
|
4619
|
-
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
4300
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React.createElement("path", {
|
|
4620
4301
|
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"
|
|
4621
4302
|
})));
|
|
4622
4303
|
};
|
|
4623
|
-
var ForwardRef$
|
|
4304
|
+
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
4624
4305
|
|
|
4625
|
-
var css$o = {"delete-button":"
|
|
4306
|
+
var css$o = {"delete-button":"SAWSYe","deleteButton":"SAWSYe","tab-button":"Y2Ht6n","tabButton":"Y2Ht6n","targetOpen":"u-TFk9"};
|
|
4626
4307
|
|
|
4627
4308
|
function PresetActionsDropdown(props) {
|
|
4628
4309
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -4670,26 +4351,26 @@ function PresetActionsDropdown(props) {
|
|
|
4670
4351
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4671
4352
|
return (React__default.createElement(DropdownMenuBody, { ...dropdownProps },
|
|
4672
4353
|
isPresetChanged && (React__default.createElement(React__default.Fragment, null,
|
|
4673
|
-
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$
|
|
4674
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$
|
|
4354
|
+
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: ForwardRef$f, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4355
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: ForwardRef$e, caption: "Save as new",
|
|
4675
4356
|
// 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
|
|
4676
4357
|
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4677
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$
|
|
4358
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: ForwardRef$d, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4678
4359
|
React__default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4679
|
-
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$
|
|
4680
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$
|
|
4681
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$
|
|
4360
|
+
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: ForwardRef$b, caption: "Rename", onClick: props.renamePreset })),
|
|
4361
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: ForwardRef$c, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4362
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$a, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4682
4363
|
!isReadonlyPreset && (React__default.createElement(React__default.Fragment, null,
|
|
4683
4364
|
React__default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
4684
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
4365
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$i, caption: "Delete", cx: css$o.deleteButton, onClick: deleteHandler })))));
|
|
4685
4366
|
};
|
|
4686
4367
|
const renderTarget = useCallback((dropdownProps) => {
|
|
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$
|
|
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$g, size: "18" }));
|
|
4688
4369
|
}, []);
|
|
4689
4370
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4690
4371
|
}
|
|
4691
4372
|
|
|
4692
|
-
var css$n = {"preset-input-cell":"
|
|
4373
|
+
var css$n = {"preset-input-cell":"lYiRnX","presetInputCell":"lYiRnX","preset-input":"_78GF2l","presetInput":"_78GF2l"};
|
|
4693
4374
|
|
|
4694
4375
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4695
4376
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -4721,7 +4402,7 @@ function PresetInput(props) {
|
|
|
4721
4402
|
React__default.createElement(TextInput, { cx: css$n.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4722
4403
|
}
|
|
4723
4404
|
|
|
4724
|
-
var css$m = {"preset":"
|
|
4405
|
+
var css$m = {"preset":"yi-2dc","activePreset":"B-Ib2k"};
|
|
4725
4406
|
|
|
4726
4407
|
function Preset(props) {
|
|
4727
4408
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -4746,22 +4427,22 @@ function Preset(props) {
|
|
|
4746
4427
|
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 }))));
|
|
4747
4428
|
}
|
|
4748
4429
|
|
|
4749
|
-
var _path$
|
|
4750
|
-
function _extends$
|
|
4430
|
+
var _path$9;
|
|
4431
|
+
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); }
|
|
4751
4432
|
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
4752
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4433
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
4753
4434
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4754
4435
|
width: 24,
|
|
4755
4436
|
height: 24,
|
|
4756
4437
|
viewBox: "0 0 24 24",
|
|
4757
4438
|
ref: ref
|
|
4758
|
-
}, props), _path$
|
|
4439
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
4759
4440
|
fillRule: "evenodd",
|
|
4760
4441
|
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",
|
|
4761
4442
|
clipRule: "evenodd"
|
|
4762
4443
|
})));
|
|
4763
4444
|
};
|
|
4764
|
-
var ForwardRef$
|
|
4445
|
+
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgActionDeleteForeverFill);
|
|
4765
4446
|
|
|
4766
4447
|
function PresetsPanel(props) {
|
|
4767
4448
|
const [isAddingPreset, setIsAddingPreset] = useState(false);
|
|
@@ -4776,7 +4457,7 @@ function PresetsPanel(props) {
|
|
|
4776
4457
|
return React__default.createElement(Preset, { key: preset.id, preset: preset, addPreset: setAddingPreset, ...presetApi });
|
|
4777
4458
|
};
|
|
4778
4459
|
const renderAddPresetButton = useCallback(() => {
|
|
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$
|
|
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$h, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
4780
4461
|
}, [isAddingPreset]);
|
|
4781
4462
|
const onPresetDropdownSelect = (preset) => {
|
|
4782
4463
|
props.choosePreset(preset.preset);
|
|
@@ -4785,7 +4466,7 @@ function PresetsPanel(props) {
|
|
|
4785
4466
|
return (React__default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__default.createElement(FlexRow, null,
|
|
4786
4467
|
React__default.createElement("div", { className: css$p.divider }),
|
|
4787
4468
|
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 },
|
|
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$
|
|
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$9, iconPosition: "right", cx: css$p.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
4789
4470
|
};
|
|
4790
4471
|
const getPresetPriority = (preset, index) => {
|
|
4791
4472
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -4847,7 +4528,62 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4847
4528
|
return columns;
|
|
4848
4529
|
};
|
|
4849
4530
|
|
|
4850
|
-
var
|
|
4531
|
+
var _path$8;
|
|
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":"ysWut0","unpinIcon":"ysWut0","pin-toggler-icon":"Rh0XSv","pinTogglerIcon":"Rh0XSv"};
|
|
4851
4587
|
|
|
4852
4588
|
function PinIconButton(props) {
|
|
4853
4589
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4865,23 +4601,23 @@ function PinIconButton(props) {
|
|
|
4865
4601
|
else {
|
|
4866
4602
|
pinUnpinNode = (React.createElement(React.Fragment, null,
|
|
4867
4603
|
React.createElement(Tooltip, { content: i18nLocal.pinColumnToTheLeftButton, placement: "bottom", color: "inverted" },
|
|
4868
|
-
React.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon:
|
|
4604
|
+
React.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon: ForwardRef$7, onClick: () => onTogglePin('left'), isDisabled: isPinnedAlways })),
|
|
4869
4605
|
React.createElement(Tooltip, { content: i18nLocal.pinColumnToTheRightButton, placement: "bottom", color: "inverted" },
|
|
4870
|
-
React.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon:
|
|
4606
|
+
React.createElement(IconButton, { cx: css$l.pinTogglerIcon, icon: ForwardRef$6, onClick: () => onTogglePin('right'), isDisabled: isPinnedAlways }))));
|
|
4871
4607
|
}
|
|
4872
4608
|
return pinUnpinNode;
|
|
4873
4609
|
}
|
|
4874
4610
|
function getUnpinIcon(params) {
|
|
4875
4611
|
const { isPinnedAlways, pinPosition } = params;
|
|
4876
4612
|
if (isPinnedAlways) {
|
|
4877
|
-
return
|
|
4613
|
+
return ForwardRef$8;
|
|
4878
4614
|
}
|
|
4879
4615
|
switch (pinPosition) {
|
|
4880
4616
|
case 'left': {
|
|
4881
|
-
return
|
|
4617
|
+
return ForwardRef$7;
|
|
4882
4618
|
}
|
|
4883
4619
|
case 'right': {
|
|
4884
|
-
return
|
|
4620
|
+
return ForwardRef$6;
|
|
4885
4621
|
}
|
|
4886
4622
|
default: {
|
|
4887
4623
|
return;
|
|
@@ -4889,7 +4625,24 @@ function getUnpinIcon(params) {
|
|
|
4889
4625
|
}
|
|
4890
4626
|
}
|
|
4891
4627
|
|
|
4892
|
-
var
|
|
4628
|
+
var _path$5;
|
|
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":"_9LPYoM","rowWrapper":"_9LPYoM","pin-icon-button":"DMtst-","pinIconButton":"DMtst-","not-pinned":"L0h6Av","notPinned":"L0h6Av","checkbox":"_3lw6ta","drag-handle":"zdwvaO","dragHandle":"zdwvaO","dnd-disabled":"ddJFmc","dndDisabled":"ddJFmc"};
|
|
4893
4646
|
|
|
4894
4647
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4895
4648
|
const { column } = props;
|
|
@@ -4902,8 +4655,8 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
4902
4655
|
const wrapperClasses = cx$1(css$k.rowWrapper, !isPinned && css$k.notPinned, dndActorParams.isDragGhost && uuiDndState.dragGhost, 'uui-dt-columns-config-row');
|
|
4903
4656
|
const { onTouchStart, onPointerDown, ...restEventHandlers } = dndActorParams.eventHandlers;
|
|
4904
4657
|
const { ref, ...dndActorPropsWithoutRef } = dndActorParams;
|
|
4905
|
-
return (React.createElement(FlexRow, { size: settings.dataTable.
|
|
4906
|
-
React.createElement(DragHandle, { dragHandleIcon:
|
|
4658
|
+
return (React.createElement(FlexRow, { size: settings.sizes.dataTable.columnsConfigurationModal.columnRow, cx: wrapperClasses, ref: dndActorParams.ref, rawProps: { ...restEventHandlers }, alignItems: "top" },
|
|
4659
|
+
React.createElement(DragHandle, { dragHandleIcon: ForwardRef$5, rawProps: { onTouchStart, onPointerDown }, isDisabled: !isDndAllowed, cx: cx$1(css$k.dragHandle, !isDndAllowed && css$k.dndDisabled) }),
|
|
4907
4660
|
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 }),
|
|
4908
4661
|
React.createElement(FlexRow, { size: null, cx: css$k.pinIconButton },
|
|
4909
4662
|
React.createElement(PinIconButton, { pinPosition: pinPosition, canUnpin: !isPinnedAlways, onTogglePin: togglePin })),
|
|
@@ -4912,11 +4665,11 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
4912
4665
|
return (React.createElement(DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4913
4666
|
});
|
|
4914
4667
|
|
|
4915
|
-
var css$j = {"root":"
|
|
4668
|
+
var css$j = {"root":"_34usSb","main-panel":"tFE07k","mainPanel":"tFE07k","group":"TNQxZQ","group-title":"ZmdI-4","groupTitle":"ZmdI-4","group-items":"w2bVG-","groupItems":"w2bVG-","no-data":"WZ4Mdd","noData":"WZ4Mdd","no-data-title":"_-7iFgQ","noDataTitle":"_-7iFgQ","no-data-sub-title":"z3dKfW","noDataSubTitle":"z3dKfW","h-divider":"MgAQE6","hDivider":"MgAQE6","search-area":"qHlqOe","searchArea":"qHlqOe","subgroup-accordion":"lVhHDG","subgroupAccordion":"lVhHDG","subgroup":"n33Vcd","subgroup-title":"tT74NN","subgroupTitle":"tT74NN"};
|
|
4916
4669
|
|
|
4917
4670
|
const renderGroupTitle = (title, amount) => (React.createElement(FlexRow, { cx: css$j.group },
|
|
4918
4671
|
React.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
4919
|
-
React.createElement(CountIndicator, { caption: amount, color: "neutral", size: settings.dataTable.
|
|
4672
|
+
React.createElement(CountIndicator, { caption: amount, color: "neutral", size: settings.sizes.dataTable.columnsConfigurationModal.countIndicator }),
|
|
4920
4673
|
React.createElement(FlexSpacer, null)));
|
|
4921
4674
|
function ColumnsConfigurationModal(props) {
|
|
4922
4675
|
const i18n$1 = i18n.tables.columnsConfigurationModal;
|
|
@@ -4961,13 +4714,13 @@ function ColumnsConfigurationModal(props) {
|
|
|
4961
4714
|
};
|
|
4962
4715
|
const applyButton = React.createElement(Button, { caption: i18n$1.applyButton, isDisabled: !hasAnySelectedColumns, color: "primary", onClick: apply });
|
|
4963
4716
|
return (React.createElement(ModalBlocker, { ...modalProps },
|
|
4964
|
-
React.createElement(ModalWindow, { cx:
|
|
4717
|
+
React.createElement(ModalWindow, { cx: css$j.root, height: "95dvh", maxHeight: "95dvh", width: settings.sizes.dataTable.columnsConfigurationModal.width },
|
|
4965
4718
|
React.createElement(ModalHeader, { title: i18n$1.configureColumnsTitle, onClose: close }),
|
|
4966
4719
|
React.createElement(FlexRow, { borderBottom: true, cx: css$j.searchArea },
|
|
4967
|
-
React.createElement(SearchInput, { size: settings.dataTable.
|
|
4720
|
+
React.createElement(SearchInput, { size: settings.sizes.dataTable.columnsConfigurationModal.search, value: searchValue, onValueChange: setSearchValue, placeholder: i18n$1.searchPlaceholder }),
|
|
4968
4721
|
React.createElement(Dropdown, { closeOnTargetClick: true, renderBody: () => (React.createElement(DropdownMenuBody, { minWidth: 100 },
|
|
4969
4722
|
React.createElement(DropdownMenuButton, { caption: i18n$1.clearAllButton, onClick: uncheckAll }),
|
|
4970
|
-
React.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => (React.createElement(Button, { ...props, fill: "none", icon:
|
|
4723
|
+
React.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => (React.createElement(Button, { ...props, fill: "none", icon: ForwardRef$g, size: settings.sizes.dataTable.columnsConfigurationModal.search, color: "secondary", isDropdown: false })) })),
|
|
4971
4724
|
React.createElement(Panel, { background: "surface-main", cx: css$j.mainPanel },
|
|
4972
4725
|
React.createElement(ScrollBars, null,
|
|
4973
4726
|
renderVisible(),
|
|
@@ -4976,7 +4729,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
4976
4729
|
React.createElement(Text, { cx: css$j.noDataTitle }, i18n$1.noResultsFound.title),
|
|
4977
4730
|
React.createElement(Text, { cx: css$j.noDataSubTitle }, i18n$1.noResultsFound.subTitle))))),
|
|
4978
4731
|
React.createElement(ModalFooter, { borderTop: true },
|
|
4979
|
-
React.createElement(LinkButton, { icon:
|
|
4732
|
+
React.createElement(LinkButton, { icon: ForwardRef$f, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
4980
4733
|
React.createElement(FlexSpacer, null),
|
|
4981
4734
|
React.createElement(Button, { fill: "none", color: "secondary", caption: i18n$1.cancelButton, onClick: close }),
|
|
4982
4735
|
!hasAnySelectedColumns ? (React.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
@@ -4986,12 +4739,12 @@ function SubGroup(props) {
|
|
|
4986
4739
|
const { title, items, renderItem } = props;
|
|
4987
4740
|
const isCollapsible = !!title;
|
|
4988
4741
|
if (items.length) {
|
|
4989
|
-
const content = (React.createElement(FlexRow, { cx: css$j.groupItems, size: settings.dataTable.
|
|
4742
|
+
const content = (React.createElement(FlexRow, { cx: css$j.groupItems, size: settings.sizes.dataTable.columnsConfigurationModal.columnRow }, items.map((c) => (React.createElement(ColumnRow, { column: c, key: c.key, renderItem: renderItem })))));
|
|
4990
4743
|
if (isCollapsible) {
|
|
4991
4744
|
const renderTitle = (isOpened) => {
|
|
4992
|
-
const toggleIcon =
|
|
4745
|
+
const toggleIcon = isOpened ? ForwardRef$Q : ForwardRef$v;
|
|
4993
4746
|
return (React.createElement(FlexRow, { cx: cx$1(css$j.subgroup) },
|
|
4994
|
-
React.createElement(IconContainer, { icon: toggleIcon }),
|
|
4747
|
+
React.createElement(IconContainer, { size: settings.sizes.dataTable.columnsConfigurationModal.subgroupIcon, icon: toggleIcon }),
|
|
4995
4748
|
React.createElement(Text, { size: "none", color: "tertiary", cx: css$j.subgroupTitle }, title)));
|
|
4996
4749
|
};
|
|
4997
4750
|
return (React.createElement(Accordion$1, { value: isExpanded, onValueChange: setIsExpanded, renderTitle: renderTitle, cx: css$j.subgroupAccordion }, content));
|
|
@@ -5001,6 +4754,8 @@ function SubGroup(props) {
|
|
|
5001
4754
|
return null;
|
|
5002
4755
|
}
|
|
5003
4756
|
|
|
4757
|
+
var css$i = {"listContainer":"dNolJx","header":"HvUXWk","group":"_9sfer-","stickyHeader":"gEt26-"};
|
|
4758
|
+
|
|
5004
4759
|
const getChildrenAndRest = (row, rows) => {
|
|
5005
4760
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
5006
4761
|
if (firstNotChildIndex === -1) {
|
|
@@ -5014,8 +4769,6 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
5014
4769
|
return [children, rest];
|
|
5015
4770
|
};
|
|
5016
4771
|
|
|
5017
|
-
var css$i = {"listContainer":"J7o6iI","header":"ISwhuM","group":"Bh8cBx","stickyHeader":"OtRXBK"};
|
|
5018
|
-
|
|
5019
4772
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
5020
4773
|
const rowRef = useRef();
|
|
5021
4774
|
const childrenPinnedTop = row.isPinned ? (top + (rowRef.current?.clientHeight ?? 0)) : top;
|
|
@@ -5054,7 +4807,147 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
5054
4807
|
React__default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
5055
4808
|
}
|
|
5056
4809
|
|
|
5057
|
-
var
|
|
4810
|
+
var _path$4, _path2, _path3, _path4, _path5, _path6, _g, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _defs;
|
|
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(#hhlv34u68tyvn02z_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: "hhlv3430y8ih0mnts_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(#hhlv3430y8ih0mnts_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: "hhlv34u68tyvn02z_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":"SFW5QM","sticky-header":"TRWsOr","stickyHeader":"TRWsOr","no-results":"waW0l7","noResults":"waW0l7","icon":"isJ5qq","title":"sMIN7t"};
|
|
5058
4951
|
|
|
5059
4952
|
function DataTable(props) {
|
|
5060
4953
|
const { uuiModals } = useUuiContext();
|
|
@@ -5062,13 +4955,13 @@ function DataTable(props) {
|
|
|
5062
4955
|
const columnsWithFilters = useColumnsWithFilters(props.columns, props.filters);
|
|
5063
4956
|
const { columns, config, defaultConfig } = useColumnsConfig(columnsWithFilters, props.value?.columnsConfig);
|
|
5064
4957
|
const defaultRenderRow = React.useCallback((rowProps) => {
|
|
5065
|
-
return (React.createElement(DataTableRow, { size: props.size || settings.dataTable.
|
|
4958
|
+
return (React.createElement(DataTableRow, { size: props.size || settings.sizes.dataTable.body.row.default, columnsGap: props.columnsGap, borderBottom: props.border, ...rowProps, key: rowProps.rowKey, cx: css$h.cell }));
|
|
5066
4959
|
}, []);
|
|
5067
4960
|
const renderRow = (row) => (props.renderRow ?? defaultRenderRow)({ ...row, columns });
|
|
5068
4961
|
const rows = props.getRows?.() ?? props.rows ?? [];
|
|
5069
4962
|
const renderNoResultsBlock = React.useCallback(() => {
|
|
5070
4963
|
return (React.createElement("div", { className: css$h.noResults }, props.renderNoResultsBlock ? (props.renderNoResultsBlock?.()) : (React.createElement(React.Fragment, null,
|
|
5071
|
-
React.createElement(IconContainer, { cx: css$h.icon, icon:
|
|
4964
|
+
React.createElement(IconContainer, { cx: css$h.icon, icon: ForwardRef$4 }),
|
|
5072
4965
|
React.createElement(Text, { cx: css$h.title, fontSize: "24", lineHeight: "30", color: "primary", fontWeight: "600" }, i18n.tables.noResultsBlock.title),
|
|
5073
4966
|
React.createElement(Text, { fontSize: "16", lineHeight: "24", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
5074
4967
|
}, [props.renderNoResultsBlock]);
|
|
@@ -5087,7 +4980,7 @@ function DataTable(props) {
|
|
|
5087
4980
|
]);
|
|
5088
4981
|
const renderRowsContainer = React.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows }) => (React.createElement(React.Fragment, null,
|
|
5089
4982
|
React.createElement("div", { className: css$h.stickyHeader, ref: headerRef },
|
|
5090
|
-
React.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.
|
|
4983
|
+
React.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.sizes.dataTable.header.row.default, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, showFoldAll: props.showFoldAll, value: { ...props.value, columnsConfig: config }, onValueChange: props.onValueChange, columnsGap: props.columnsGap }),
|
|
5091
4984
|
React.createElement("div", { className: cx$1(uuiScrollShadows.top, {
|
|
5092
4985
|
[uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
5093
4986
|
}) })),
|
|
@@ -5103,9 +4996,9 @@ function DataTable(props) {
|
|
|
5103
4996
|
} }))));
|
|
5104
4997
|
}
|
|
5105
4998
|
|
|
5106
|
-
var css$g = {"root":"
|
|
4999
|
+
var css$g = {"root":"_4X2Q75"};
|
|
5107
5000
|
|
|
5108
|
-
var css$f = {"root":"
|
|
5001
|
+
var css$f = {"root":"TsvX05","burger-content":"_2lytht","burgerContent":"_2lytht"};
|
|
5109
5002
|
|
|
5110
5003
|
var _path$3;
|
|
5111
5004
|
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); }
|
|
@@ -5148,7 +5041,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5148
5041
|
};
|
|
5149
5042
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
5150
5043
|
|
|
5151
|
-
var css$e = {"root":"
|
|
5044
|
+
var css$e = {"root":"mKTtlw","button-primary":"Z6AQay","buttonPrimary":"Z6AQay","button-secondary":"_8wVmR9","buttonSecondary":"_8wVmR9","hasIcon":"_2hwIFt","dropdown":"tja-v1"};
|
|
5152
5045
|
|
|
5153
5046
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
5154
5047
|
css$e.root,
|
|
@@ -5159,13 +5052,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
5159
5052
|
props.icon && css$e.hasIcon,
|
|
5160
5053
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5161
5054
|
|
|
5162
|
-
var css$d = {"search-input":"
|
|
5055
|
+
var css$d = {"search-input":"ZmvXKA","searchInput":"ZmvXKA"};
|
|
5163
5056
|
|
|
5164
5057
|
function BurgerSearch(props) {
|
|
5165
|
-
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
5058
|
+
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$O, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$R }));
|
|
5166
5059
|
}
|
|
5167
5060
|
|
|
5168
|
-
var css$c = {"root":"
|
|
5061
|
+
var css$c = {"root":"p-qyR-","group-header":"R0Ldu5","groupHeader":"R0Ldu5","group-name":"VMJaVC","groupName":"VMJaVC","line":"oiQyxP"};
|
|
5169
5062
|
|
|
5170
5063
|
function BurgerGroupHeader(props) {
|
|
5171
5064
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5173,7 +5066,7 @@ function BurgerGroupHeader(props) {
|
|
|
5173
5066
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5174
5067
|
}
|
|
5175
5068
|
|
|
5176
|
-
var css$b = {"root":"
|
|
5069
|
+
var css$b = {"root":"_2gPlAZ","type-primary":"_2i74T5","typePrimary":"_2i74T5","type-secondary":"lGbLz1","typeSecondary":"lGbLz1"};
|
|
5177
5070
|
|
|
5178
5071
|
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5179
5072
|
const { type, ...clickableProps } = props;
|
|
@@ -5195,7 +5088,7 @@ const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5195
5088
|
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$Q, flipY: props.isOpen }))));
|
|
5196
5089
|
});
|
|
5197
5090
|
|
|
5198
|
-
var css$a = {"dropdown-body":"
|
|
5091
|
+
var css$a = {"dropdown-body":"Z2j47i","dropdownBody":"Z2j47i"};
|
|
5199
5092
|
|
|
5200
5093
|
class MainMenuDropdown extends React.Component {
|
|
5201
5094
|
render() {
|
|
@@ -5253,12 +5146,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5253
5146
|
};
|
|
5254
5147
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5255
5148
|
|
|
5256
|
-
var css$9 = {"global-menu-btn":"
|
|
5149
|
+
var css$9 = {"global-menu-btn":"wNUZop","globalMenuBtn":"wNUZop","global-menu-icon":"JNzjPq","globalMenuIcon":"JNzjPq"};
|
|
5257
5150
|
|
|
5258
5151
|
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 },
|
|
5259
5152
|
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5260
5153
|
|
|
5261
|
-
var css$8 = {"container":"
|
|
5154
|
+
var css$8 = {"container":"cRJ-ai","open":"VKzsYJ","folding-arrow":"_8yChxM","foldingArrow":"_8yChxM"};
|
|
5262
5155
|
|
|
5263
5156
|
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 },
|
|
5264
5157
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5266,15 +5159,15 @@ const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.cr
|
|
|
5266
5159
|
props.isDropdown && (React.createElement("div", null,
|
|
5267
5160
|
React.createElement(IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5268
5161
|
|
|
5269
|
-
var css$7 = {"search-input":"
|
|
5162
|
+
var css$7 = {"search-input":"WMhNvn","searchInput":"WMhNvn"};
|
|
5270
5163
|
|
|
5271
|
-
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$
|
|
5164
|
+
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$O, cancelIcon: props.value?.length > 0 && ForwardRef$R, ...props, ...iEditable, ref: ref, cx: cx$1(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5272
5165
|
|
|
5273
|
-
var css$6 = {"container":"
|
|
5166
|
+
var css$6 = {"container":"p811VD"};
|
|
5274
5167
|
|
|
5275
5168
|
const MainMenuIcon = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IconButton, { ref: ref, icon: props.icon, cx: cx$1(props.cx, css$6.container), ...props })));
|
|
5276
5169
|
|
|
5277
|
-
var css$5 = {"root":"
|
|
5170
|
+
var css$5 = {"root":"dO7-tb"};
|
|
5278
5171
|
|
|
5279
5172
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
5280
5173
|
|
|
@@ -5332,7 +5225,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5332
5225
|
};
|
|
5333
5226
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
5334
5227
|
|
|
5335
|
-
var css$4 = {"root":"
|
|
5228
|
+
var css$4 = {"root":"wiBpBK","drop-start":"LRtNmY","dropStart":"LRtNmY","drop-over":"_-0fVrd","dropOver":"_-0fVrd","link":"QPedgC","drop-area":"FmarRc","dropArea":"FmarRc","drop-caption":"jtcgFR","dropCaption":"jtcgFR","icon-blue":"Y-VxcI","iconBlue":"Y-VxcI"};
|
|
5336
5229
|
|
|
5337
5230
|
function DropSpot(props) {
|
|
5338
5231
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5350,19 +5243,19 @@ function DropSpot(props) {
|
|
|
5350
5243
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5351
5244
|
}
|
|
5352
5245
|
|
|
5353
|
-
var css$3 = {"root":"
|
|
5246
|
+
var css$3 = {"root":"nD-H3Z","file-name":"unuYec","fileName":"unuYec","default-color":"_9nUO79","defaultColor":"_9nUO79","doc-color":"UaW9F0","docColor":"UaW9F0","xls-color":"M5K7qY","xlsColor":"M5K7qY","pdf-color":"bz0M3f","pdfColor":"bz0M3f","movie-color":"Gd5ynl","movieColor":"Gd5ynl","img-color":"znYdGw","imgColor":"znYdGw","mov-color":"Wz4lRA","movColor":"Wz4lRA","error-block":"dzn5Px","errorBlock":"dzn5Px","icons-block":"i4ZRyZ","iconsBlock":"i4ZRyZ"};
|
|
5247
|
+
|
|
5248
|
+
var css$2 = {"root":"PhHXD-"};
|
|
5354
5249
|
|
|
5355
5250
|
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5356
5251
|
const outsetRadius = props.size / 2 - 1;
|
|
5357
5252
|
const insetRadius = props.size / 2 - 3;
|
|
5358
5253
|
const circumference = insetRadius * Math.PI;
|
|
5359
|
-
return (React.createElement("svg", { className: css$
|
|
5254
|
+
return (React.createElement("svg", { className: css$2.root, width: props.size, height: props.size, ref: ref, ...props.rawProps },
|
|
5360
5255
|
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 }),
|
|
5361
5256
|
React.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5362
5257
|
});
|
|
5363
5258
|
|
|
5364
|
-
var css$2 = {"root":"xb24V-","file-name":"m--7Lz","fileName":"m--7Lz","default-color":"_3c-e7e","defaultColor":"_3c-e7e","doc-color":"_8Tc-t1","docColor":"_8Tc-t1","xls-color":"Dx8ECz","xlsColor":"Dx8ECz","pdf-color":"R5QGjo","pdfColor":"R5QGjo","movie-color":"_6TiB5E","movieColor":"_6TiB5E","img-color":"OIxd-g","imgColor":"OIxd-g","mov-color":"_7JwPwn","movColor":"_7JwPwn","error-block":"SeZuGz","errorBlock":"SeZuGz","icons-block":"H-ibQd","iconsBlock":"H-ibQd"};
|
|
5365
|
-
|
|
5366
5259
|
const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5367
5260
|
const [isLoadingShow, setIsLoadingShow] = React.useState(true);
|
|
5368
5261
|
const { file } = props;
|
|
@@ -5370,36 +5263,36 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5370
5263
|
switch (extension) {
|
|
5371
5264
|
case 'doc':
|
|
5372
5265
|
case 'docx':
|
|
5373
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5266
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.docIcon, cx: css$3.docColor });
|
|
5374
5267
|
case 'xls':
|
|
5375
5268
|
case 'xlsx':
|
|
5376
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5269
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.exelIcon, cx: css$3.xlsColor });
|
|
5377
5270
|
case 'pdf':
|
|
5378
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5271
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.pdfIcon, cx: css$3.pdfColor });
|
|
5379
5272
|
case 'gif':
|
|
5380
5273
|
case 'jpg':
|
|
5381
5274
|
case 'jpeg':
|
|
5382
5275
|
case 'svg':
|
|
5383
5276
|
case 'png':
|
|
5384
5277
|
case 'webp':
|
|
5385
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5278
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.imgIcon, cx: css$3.imgColor });
|
|
5386
5279
|
case 'avi':
|
|
5387
5280
|
case 'mov':
|
|
5388
5281
|
case 'mp4':
|
|
5389
5282
|
case 'wmw':
|
|
5390
5283
|
case 'mkv':
|
|
5391
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5284
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.videoIcon, cx: css$3.movColor });
|
|
5392
5285
|
case 'csv':
|
|
5393
5286
|
case 'xml':
|
|
5394
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5287
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.tableIcon, cx: css$3.defaultColor });
|
|
5395
5288
|
case 'rtf':
|
|
5396
5289
|
case 'txt':
|
|
5397
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5290
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.textIcon, cx: css$3.defaultColor });
|
|
5398
5291
|
case 'eml':
|
|
5399
5292
|
case 'emlx':
|
|
5400
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5293
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.mailIcon, cx: css$3.defaultColor });
|
|
5401
5294
|
default:
|
|
5402
|
-
return React.createElement(IconContainer, { size: 24, icon:
|
|
5295
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.fileIcon, cx: css$3.defaultColor });
|
|
5403
5296
|
}
|
|
5404
5297
|
};
|
|
5405
5298
|
const { cx: componentCx, width, file: { progress, size, name, extension, error, abortXHR, }, onClick, } = props;
|
|
@@ -5416,10 +5309,10 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5416
5309
|
setIsLoadingShow(() => false);
|
|
5417
5310
|
};
|
|
5418
5311
|
const renderErrorContent = () => (React.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
5419
|
-
React.createElement("div", { className: css$
|
|
5420
|
-
React.createElement(IconContainer, { icon:
|
|
5312
|
+
React.createElement("div", { className: css$3.errorBlock },
|
|
5313
|
+
React.createElement(IconContainer, { icon: ForwardRef$y, size: 12 }),
|
|
5421
5314
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5422
|
-
const renderSuccessfulContent = () => (React.createElement(Text, { size: "
|
|
5315
|
+
const renderSuccessfulContent = () => (React.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5423
5316
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
5424
5317
|
isLoading && formatBytes((size / 100) * progress, 2, false) + i18n.fileCard.fileSizeProgress,
|
|
5425
5318
|
formatBytes(size)));
|
|
@@ -5427,15 +5320,15 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5427
5320
|
progress && progress < 100 && abortXHR();
|
|
5428
5321
|
onClick();
|
|
5429
5322
|
};
|
|
5430
|
-
return (React.createElement(FlexCell, { ref: ref, cx: cx$1(css$
|
|
5323
|
+
return (React.createElement(FlexCell, { ref: ref, cx: cx$1(css$3.root, 'uui-file_card', (isLoading || error?.isError) && uuiMod.loading, componentCx, error?.isError && uuiMod.error), minWidth: width, width: !width ? '100%' : undefined },
|
|
5431
5324
|
React.createElement(FlexRow, { alignItems: "top", columnGap: "6" },
|
|
5432
5325
|
fileExtension && getIcon(fileExtension),
|
|
5433
5326
|
React.createElement(FlexCell, { width: "100%" },
|
|
5434
|
-
React.createElement(Text, { size: "
|
|
5327
|
+
React.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: (progress < 100 || error?.isError) ? 'tertiary' : 'primary', cx: css$3.fileName }, fileName),
|
|
5435
5328
|
error?.isError ? renderErrorContent() : renderSuccessfulContent()),
|
|
5436
|
-
React.createElement("div", { className: cx$1(css$
|
|
5329
|
+
React.createElement("div", { className: cx$1(css$3.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5437
5330
|
isLoadingShow && isLoading && React.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
5438
|
-
isCrossShow && React.createElement(IconButton, { icon:
|
|
5331
|
+
isCrossShow && React.createElement(IconButton, { icon: ForwardRef$R, onClick: removeHandler })))));
|
|
5439
5332
|
});
|
|
5440
5333
|
|
|
5441
5334
|
const getRecoveryMessageConfig = () => ({
|
|
@@ -5480,7 +5373,7 @@ const getErrorPageConfig = () => ({
|
|
|
5480
5373
|
},
|
|
5481
5374
|
});
|
|
5482
5375
|
|
|
5483
|
-
var css$1 = {"container":"
|
|
5376
|
+
var css$1 = {"container":"_3xPq9N"};
|
|
5484
5377
|
|
|
5485
5378
|
const ErrorPage = (props) => {
|
|
5486
5379
|
const isMobileScreen = isMobile();
|
|
@@ -5492,7 +5385,7 @@ const ErrorPage = (props) => {
|
|
|
5492
5385
|
props?.supportLink && React__default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5493
5386
|
};
|
|
5494
5387
|
|
|
5495
|
-
var css = {"recovery-spinner":"
|
|
5388
|
+
var css = {"recovery-spinner":"-dl2zQ","recoverySpinner":"-dl2zQ","recovery-message":"-PEZGp","recoveryMessage":"-PEZGp","modal-blocker":"u19foY","modalBlocker":"u19foY","modalFadeIn":"_1HM822"};
|
|
5496
5389
|
|
|
5497
5390
|
function ErrorHandler(props) {
|
|
5498
5391
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|
|
@@ -5543,5 +5436,5 @@ function ErrorHandler(props) {
|
|
|
5543
5436
|
errorType === 'recovery' && renderRecoveryBlocker(errorInfo)));
|
|
5544
5437
|
}
|
|
5545
5438
|
|
|
5546
|
-
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody,
|
|
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, PickerListRow, 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 };
|
|
5547
5440
|
//# sourceMappingURL=index.esm.js.map
|