@epam/uui 5.13.3-beta.2 → 5.13.3-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/inputs.scss +4 -4
- package/components/buttons/Button.d.ts +1 -1
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts +47 -3
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts +68 -3
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +3 -4
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts +3 -6
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/datePickers/index.d.ts +1 -1
- package/components/datePickers/index.d.ts.map +1 -1
- package/components/datePickers/types.d.ts +8 -108
- package/components/datePickers/types.d.ts.map +1 -1
- package/components/filters/FilterNumericBody.d.ts.map +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts +2 -2
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FilterRangeDatePickerBody.d.ts +1 -1
- package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +1 -1
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/filters/FiltersPanelItem.d.ts.map +1 -1
- package/components/filters/PresetPanel/Preset.d.ts +1 -1
- package/components/filters/PresetPanel/Preset.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +1 -1
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
- package/components/filters/constants.d.ts +4 -0
- package/components/filters/constants.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +4 -9
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/RadioInput.d.ts +6 -7
- package/components/inputs/RadioInput.d.ts.map +1 -1
- package/components/layout/Blocker.d.ts +2 -2
- package/components/layout/Blocker.d.ts.map +1 -1
- package/components/overlays/NotificationCard.d.ts +1 -1
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/overlays/Tooltip.d.ts +4 -1
- package/components/overlays/Tooltip.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +3 -3
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +1 -0
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts +2 -2
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts.map +1 -1
- package/components/tables/DataTable.d.ts +2 -2
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/types.d.ts +3 -2
- package/components/tables/types.d.ts.map +1 -1
- package/components/typography/Text.d.ts +5 -5
- package/components/typography/Text.d.ts.map +1 -1
- package/index.esm.js +859 -837
- package/index.esm.js.map +1 -1
- package/index.js +858 -836
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts +47 -4
- package/settings.d.ts.map +1 -1
- package/stats.html +1 -19
- package/styles.css +2211 -2148
- package/styles.css.map +1 -1
package/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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,
|
|
2
|
+
import { Spinner as Spinner$1, 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, 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, AvatarStack as AvatarStack$1, Paginator as Paginator$1, DragHandle, 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
4
|
import { withMods, devLogger, uuiElement, cx as cx$1, uuiMarkers, IEditableDebouncer, UuiContext, uuiMod, getDir, isEventTargetInsideClickable, directionMode, useVirtualList, useScrollShadows, isMobile, i18n as i18n$1, useUuiContext, isFocusReceiverInsideFocusLock, Lens, mobilePopperModifier, uuiDataTableHeaderCell, uuiDataTableHeaderGroupCell, usePrevious, useForceUpdate, getSeparatedValue, useArrayDataSource, orderBy, getOrderBetween, DndActor, uuiDndState, useColumnsConfig, uuiScrollShadows, Form as Form$1, useForm as useForm$1, formatBytes, useUuiError } from '@epam/uui-core';
|
|
5
5
|
import * as React from 'react';
|
|
@@ -16,24 +16,9 @@ import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
|
16
16
|
import isoWeek from 'dayjs/plugin/isoWeek.js';
|
|
17
17
|
import FocusLock from 'react-focus-lock';
|
|
18
18
|
|
|
19
|
-
var _path$R;
|
|
20
|
-
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); }
|
|
21
|
-
var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
22
|
-
return /*#__PURE__*/React.createElement("svg", _extends$R({
|
|
23
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
24
|
-
width: 24,
|
|
25
|
-
height: 24,
|
|
26
|
-
viewBox: "0 0 24 24",
|
|
27
|
-
ref: ref
|
|
28
|
-
}, props), _path$R || (_path$R = /*#__PURE__*/React.createElement("path", {
|
|
29
|
-
d: "M6.4 19 5 17.6l5.6-5.6L5 6.4 6.4 5l5.6 5.6L17.6 5 19 6.4 13.4 12l5.6 5.6-1.4 1.4-5.6-5.6L6.4 19z"
|
|
30
|
-
})));
|
|
31
|
-
};
|
|
32
|
-
var ForwardRef$R = /*#__PURE__*/forwardRef(SvgNavigationCloseOutline);
|
|
33
|
-
|
|
34
19
|
var _path$Q;
|
|
35
20
|
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); }
|
|
36
|
-
var
|
|
21
|
+
var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
37
22
|
return /*#__PURE__*/React.createElement("svg", _extends$Q({
|
|
38
23
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39
24
|
width: 24,
|
|
@@ -41,14 +26,14 @@ var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(p
|
|
|
41
26
|
viewBox: "0 0 24 24",
|
|
42
27
|
ref: ref
|
|
43
28
|
}, props), _path$Q || (_path$Q = /*#__PURE__*/React.createElement("path", {
|
|
44
|
-
d: "
|
|
29
|
+
d: "M6.4 19 5 17.6l5.6-5.6L5 6.4 6.4 5l5.6 5.6L17.6 5 19 6.4 13.4 12l5.6 5.6-1.4 1.4-5.6-5.6L6.4 19z"
|
|
45
30
|
})));
|
|
46
31
|
};
|
|
47
|
-
var ForwardRef$Q = /*#__PURE__*/forwardRef(
|
|
32
|
+
var ForwardRef$Q = /*#__PURE__*/forwardRef(SvgNavigationCloseOutline);
|
|
48
33
|
|
|
49
34
|
var _path$P;
|
|
50
35
|
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); }
|
|
51
|
-
var
|
|
36
|
+
var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(props, ref) {
|
|
52
37
|
return /*#__PURE__*/React.createElement("svg", _extends$P({
|
|
53
38
|
xmlns: "http://www.w3.org/2000/svg",
|
|
54
39
|
width: 24,
|
|
@@ -56,14 +41,14 @@ var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref)
|
|
|
56
41
|
viewBox: "0 0 24 24",
|
|
57
42
|
ref: ref
|
|
58
43
|
}, props), _path$P || (_path$P = /*#__PURE__*/React.createElement("path", {
|
|
59
|
-
d: "
|
|
44
|
+
d: "M5.414 8.086 4 9.5l8 8 8-8-1.414-1.414L12 14.672 5.414 8.086z"
|
|
60
45
|
})));
|
|
61
46
|
};
|
|
62
|
-
var ForwardRef$P = /*#__PURE__*/forwardRef(
|
|
47
|
+
var ForwardRef$P = /*#__PURE__*/forwardRef(SvgNavigationChevronDownOutline);
|
|
63
48
|
|
|
64
49
|
var _path$O;
|
|
65
50
|
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
|
|
51
|
+
var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref) {
|
|
67
52
|
return /*#__PURE__*/React.createElement("svg", _extends$O({
|
|
68
53
|
xmlns: "http://www.w3.org/2000/svg",
|
|
69
54
|
width: 24,
|
|
@@ -71,14 +56,14 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
71
56
|
viewBox: "0 0 24 24",
|
|
72
57
|
ref: ref
|
|
73
58
|
}, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
|
|
74
|
-
d: "
|
|
59
|
+
d: "m20.503 7.4-1.778-1.78-9.175 9.176-4.275-4.275L3.496 12.3l6.054 6.053L20.503 7.4z"
|
|
75
60
|
})));
|
|
76
61
|
};
|
|
77
|
-
var ForwardRef$O = /*#__PURE__*/forwardRef(
|
|
62
|
+
var ForwardRef$O = /*#__PURE__*/forwardRef(SvgNotificationDoneOutline);
|
|
78
63
|
|
|
79
64
|
var _path$N;
|
|
80
65
|
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
|
|
66
|
+
var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
82
67
|
return /*#__PURE__*/React.createElement("svg", _extends$N({
|
|
83
68
|
xmlns: "http://www.w3.org/2000/svg",
|
|
84
69
|
width: 24,
|
|
@@ -86,16 +71,14 @@ var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
|
86
71
|
viewBox: "0 0 24 24",
|
|
87
72
|
ref: ref
|
|
88
73
|
}, 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"
|
|
74
|
+
d: "M19 10.5H5v3h14v-3z"
|
|
92
75
|
})));
|
|
93
76
|
};
|
|
94
|
-
var ForwardRef$N = /*#__PURE__*/forwardRef(
|
|
77
|
+
var ForwardRef$N = /*#__PURE__*/forwardRef(SvgContentMinusOutline);
|
|
95
78
|
|
|
96
79
|
var _path$M;
|
|
97
80
|
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
|
|
81
|
+
var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
99
82
|
return /*#__PURE__*/React.createElement("svg", _extends$M({
|
|
100
83
|
xmlns: "http://www.w3.org/2000/svg",
|
|
101
84
|
width: 24,
|
|
@@ -103,14 +86,16 @@ var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
|
103
86
|
viewBox: "0 0 24 24",
|
|
104
87
|
ref: ref
|
|
105
88
|
}, props), _path$M || (_path$M = /*#__PURE__*/React.createElement("path", {
|
|
106
|
-
|
|
89
|
+
fillRule: "evenodd",
|
|
90
|
+
d: "M17.32 15.906 21.414 20 20 21.414l-4.094-4.094a8 8 0 1 1 1.414-1.414zM11 17a6 6 0 1 0 0-12 6 6 0 0 0 0 12z",
|
|
91
|
+
clipRule: "evenodd"
|
|
107
92
|
})));
|
|
108
93
|
};
|
|
109
|
-
var ForwardRef$M = /*#__PURE__*/forwardRef(
|
|
94
|
+
var ForwardRef$M = /*#__PURE__*/forwardRef(SvgActionSearchOutline);
|
|
110
95
|
|
|
111
96
|
var _path$L;
|
|
112
97
|
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
|
|
98
|
+
var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
114
99
|
return /*#__PURE__*/React.createElement("svg", _extends$L({
|
|
115
100
|
xmlns: "http://www.w3.org/2000/svg",
|
|
116
101
|
width: 24,
|
|
@@ -118,14 +103,14 @@ var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref)
|
|
|
118
103
|
viewBox: "0 0 24 24",
|
|
119
104
|
ref: ref
|
|
120
105
|
}, props), _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
|
|
121
|
-
d: "
|
|
106
|
+
d: "M5 22a1.93 1.93 0 0 1-1.413-.587A1.928 1.928 0 0 1 3 20V6c0-.55.196-1.02.587-1.412A1.927 1.927 0 0 1 5 4h1V2h2v2h8V2h2v2h1c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412v14a1.93 1.93 0 0 1-.587 1.413A1.928 1.928 0 0 1 19 22H5zm0-2h14V10H5v10z"
|
|
122
107
|
})));
|
|
123
108
|
};
|
|
124
|
-
var ForwardRef$L = /*#__PURE__*/forwardRef(
|
|
109
|
+
var ForwardRef$L = /*#__PURE__*/forwardRef(SvgActionCalendarFill);
|
|
125
110
|
|
|
126
111
|
var _path$K;
|
|
127
112
|
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
|
|
113
|
+
var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref) {
|
|
129
114
|
return /*#__PURE__*/React.createElement("svg", _extends$K({
|
|
130
115
|
xmlns: "http://www.w3.org/2000/svg",
|
|
131
116
|
width: 24,
|
|
@@ -133,15 +118,30 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
133
118
|
viewBox: "0 0 24 24",
|
|
134
119
|
ref: ref
|
|
135
120
|
}, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
136
|
-
d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12
|
|
121
|
+
d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20z"
|
|
137
122
|
})));
|
|
138
123
|
};
|
|
139
|
-
var ForwardRef$K = /*#__PURE__*/forwardRef(
|
|
124
|
+
var ForwardRef$K = /*#__PURE__*/forwardRef(SvgNotificationInfoOutline);
|
|
140
125
|
|
|
141
|
-
var _path$J
|
|
126
|
+
var _path$J;
|
|
142
127
|
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
|
|
128
|
+
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
144
129
|
return /*#__PURE__*/React.createElement("svg", _extends$J({
|
|
130
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
131
|
+
width: 24,
|
|
132
|
+
height: 24,
|
|
133
|
+
viewBox: "0 0 24 24",
|
|
134
|
+
ref: ref
|
|
135
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
136
|
+
d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
137
|
+
})));
|
|
138
|
+
};
|
|
139
|
+
var ForwardRef$J = /*#__PURE__*/forwardRef(SvgNotificationInfoFill);
|
|
140
|
+
|
|
141
|
+
var _path$I, _path2$5, _path3, _path4, _path5, _path6, _g, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _defs;
|
|
142
|
+
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); }
|
|
143
|
+
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
144
|
+
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
145
145
|
width: 232,
|
|
146
146
|
height: 180,
|
|
147
147
|
viewBox: "0 0 232 180",
|
|
@@ -149,8 +149,8 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
149
149
|
xmlns: "http://www.w3.org/2000/svg",
|
|
150
150
|
ref: ref
|
|
151
151
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
152
|
-
clipPath: "url(#
|
|
153
|
-
}, _path$
|
|
152
|
+
clipPath: "url(#h68oblqhlbhvtup8n_a)"
|
|
153
|
+
}, _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
154
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
155
|
fill: "#F5F6FA"
|
|
156
156
|
})), _path2$5 || (_path2$5 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -170,7 +170,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
170
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
171
|
fill: "#1D1E26"
|
|
172
172
|
})), /*#__PURE__*/React.createElement("mask", {
|
|
173
|
-
id: "
|
|
173
|
+
id: "h68obl0vnjw4ui0o6q_b",
|
|
174
174
|
style: {
|
|
175
175
|
maskType: "alpha"
|
|
176
176
|
},
|
|
@@ -183,7 +183,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
183
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
184
|
fill: "#9BDEFF"
|
|
185
185
|
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
186
|
-
mask: "url(#
|
|
186
|
+
mask: "url(#h68obl0vnjw4ui0o6q_b)",
|
|
187
187
|
fillRule: "evenodd",
|
|
188
188
|
clipRule: "evenodd"
|
|
189
189
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -269,33 +269,18 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
269
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
270
|
fill: "#fff"
|
|
271
271
|
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
272
|
-
id: "
|
|
272
|
+
id: "h68oblqhlbhvtup8n_a"
|
|
273
273
|
}, /*#__PURE__*/React.createElement("path", {
|
|
274
274
|
fill: "#fff",
|
|
275
275
|
transform: "translate(.552)",
|
|
276
276
|
d: "M0 0h230.897v180H0z"
|
|
277
277
|
})))));
|
|
278
278
|
};
|
|
279
|
-
var ForwardRef$
|
|
280
|
-
|
|
281
|
-
var _path$I;
|
|
282
|
-
function _extends$I() { return _extends$I = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$I.apply(null, arguments); }
|
|
283
|
-
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
284
|
-
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
285
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
286
|
-
width: 24,
|
|
287
|
-
height: 24,
|
|
288
|
-
viewBox: "0 0 24 24",
|
|
289
|
-
ref: ref
|
|
290
|
-
}, props), _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
291
|
-
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
292
|
-
})));
|
|
293
|
-
};
|
|
294
|
-
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgTableSortAscOutline);
|
|
279
|
+
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
295
280
|
|
|
296
281
|
var _path$H;
|
|
297
282
|
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
|
|
283
|
+
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
299
284
|
return /*#__PURE__*/React.createElement("svg", _extends$H({
|
|
300
285
|
xmlns: "http://www.w3.org/2000/svg",
|
|
301
286
|
width: 24,
|
|
@@ -303,14 +288,14 @@ var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
|
303
288
|
viewBox: "0 0 24 24",
|
|
304
289
|
ref: ref
|
|
305
290
|
}, props), _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
|
|
306
|
-
d: "
|
|
291
|
+
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
307
292
|
})));
|
|
308
293
|
};
|
|
309
|
-
var ForwardRef$H = /*#__PURE__*/forwardRef(
|
|
294
|
+
var ForwardRef$H = /*#__PURE__*/forwardRef(SvgTableSortAscOutline);
|
|
310
295
|
|
|
311
296
|
var _path$G;
|
|
312
297
|
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
|
|
298
|
+
var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
314
299
|
return /*#__PURE__*/React.createElement("svg", _extends$G({
|
|
315
300
|
xmlns: "http://www.w3.org/2000/svg",
|
|
316
301
|
width: 24,
|
|
@@ -318,14 +303,14 @@ var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props
|
|
|
318
303
|
viewBox: "0 0 24 24",
|
|
319
304
|
ref: ref
|
|
320
305
|
}, props), _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
321
|
-
d: "
|
|
306
|
+
d: "M13 3v14.175l1.6-1.575L16 17l-4 4-4-4 1.4-1.4 1.6 1.575V3h2z"
|
|
322
307
|
})));
|
|
323
308
|
};
|
|
324
|
-
var ForwardRef$G = /*#__PURE__*/forwardRef(
|
|
309
|
+
var ForwardRef$G = /*#__PURE__*/forwardRef(SvgTableSortDescOutline);
|
|
325
310
|
|
|
326
311
|
var _path$F;
|
|
327
312
|
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
|
|
313
|
+
var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props, ref) {
|
|
329
314
|
return /*#__PURE__*/React.createElement("svg", _extends$F({
|
|
330
315
|
xmlns: "http://www.w3.org/2000/svg",
|
|
331
316
|
width: 24,
|
|
@@ -333,16 +318,14 @@ var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props,
|
|
|
333
318
|
viewBox: "0 0 24 24",
|
|
334
319
|
ref: ref
|
|
335
320
|
}, props), _path$F || (_path$F = /*#__PURE__*/React.createElement("path", {
|
|
336
|
-
|
|
337
|
-
d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
|
|
338
|
-
clipRule: "evenodd"
|
|
321
|
+
d: "M9 20c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 7 18c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 9 16c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.021-.587 1.413A1.928 1.928 0 0 1 9 20zm6 0c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 13 18c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 15 16c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.021-.587 1.413A1.928 1.928 0 0 1 15 20zm-6-6c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 7 12c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 9 10c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.02-.587 1.412A1.927 1.927 0 0 1 9 14zm6 0c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 13 12c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 15 10c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.02-.587 1.412A1.927 1.927 0 0 1 15 14zM9 8c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 7 6c0-.55.196-1.02.588-1.412A1.923 1.923 0 0 1 9 4c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412 0 .55-.196 1.02-.587 1.412A1.927 1.927 0 0 1 9 8zm6 0c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 13 6c0-.55.196-1.02.588-1.412A1.923 1.923 0 0 1 15 4c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412 0 .55-.196 1.02-.587 1.412A1.927 1.927 0 0 1 15 8z"
|
|
339
322
|
})));
|
|
340
323
|
};
|
|
341
|
-
var ForwardRef$F = /*#__PURE__*/forwardRef(
|
|
324
|
+
var ForwardRef$F = /*#__PURE__*/forwardRef(SvgActionDragIndicatorOutline);
|
|
342
325
|
|
|
343
326
|
var _path$E;
|
|
344
327
|
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
|
|
328
|
+
var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props, ref) {
|
|
346
329
|
return /*#__PURE__*/React.createElement("svg", _extends$E({
|
|
347
330
|
xmlns: "http://www.w3.org/2000/svg",
|
|
348
331
|
width: 24,
|
|
@@ -350,14 +333,16 @@ var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, re
|
|
|
350
333
|
viewBox: "0 0 24 24",
|
|
351
334
|
ref: ref
|
|
352
335
|
}, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
|
|
353
|
-
|
|
336
|
+
fillRule: "evenodd",
|
|
337
|
+
d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
|
|
338
|
+
clipRule: "evenodd"
|
|
354
339
|
})));
|
|
355
340
|
};
|
|
356
|
-
var ForwardRef$E = /*#__PURE__*/forwardRef(
|
|
341
|
+
var ForwardRef$E = /*#__PURE__*/forwardRef(SvgNavigationMoreVertOutline);
|
|
357
342
|
|
|
358
343
|
var _path$D;
|
|
359
344
|
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
|
|
345
|
+
var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, ref) {
|
|
361
346
|
return /*#__PURE__*/React.createElement("svg", _extends$D({
|
|
362
347
|
xmlns: "http://www.w3.org/2000/svg",
|
|
363
348
|
width: 24,
|
|
@@ -365,16 +350,14 @@ var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
|
365
350
|
viewBox: "0 0 24 24",
|
|
366
351
|
ref: ref
|
|
367
352
|
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
368
|
-
|
|
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"
|
|
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"
|
|
371
354
|
})));
|
|
372
355
|
};
|
|
373
|
-
var ForwardRef$D = /*#__PURE__*/forwardRef(
|
|
356
|
+
var ForwardRef$D = /*#__PURE__*/forwardRef(SvgNavigationRefreshOutline);
|
|
374
357
|
|
|
375
|
-
var _path$C
|
|
358
|
+
var _path$C;
|
|
376
359
|
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
|
|
360
|
+
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
378
361
|
return /*#__PURE__*/React.createElement("svg", _extends$C({
|
|
379
362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
380
363
|
width: 24,
|
|
@@ -382,18 +365,16 @@ var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, re
|
|
|
382
365
|
viewBox: "0 0 24 24",
|
|
383
366
|
ref: ref
|
|
384
367
|
}, 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
368
|
fillRule: "evenodd",
|
|
388
|
-
d: "
|
|
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",
|
|
389
370
|
clipRule: "evenodd"
|
|
390
371
|
})));
|
|
391
372
|
};
|
|
392
|
-
var ForwardRef$C = /*#__PURE__*/forwardRef(
|
|
373
|
+
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgActionLockFill);
|
|
393
374
|
|
|
394
|
-
var _path$B, _path2$
|
|
375
|
+
var _path$B, _path2$4;
|
|
395
376
|
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
|
|
377
|
+
var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, ref) {
|
|
397
378
|
return /*#__PURE__*/React.createElement("svg", _extends$B({
|
|
398
379
|
xmlns: "http://www.w3.org/2000/svg",
|
|
399
380
|
width: 24,
|
|
@@ -401,18 +382,18 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
401
382
|
viewBox: "0 0 24 24",
|
|
402
383
|
ref: ref
|
|
403
384
|
}, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
|
|
404
|
-
d: "
|
|
405
|
-
})), _path2$
|
|
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", {
|
|
406
387
|
fillRule: "evenodd",
|
|
407
|
-
d: "
|
|
388
|
+
d: "M13 21V3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6zm2-16h4v14h-4V5z",
|
|
408
389
|
clipRule: "evenodd"
|
|
409
390
|
})));
|
|
410
391
|
};
|
|
411
|
-
var ForwardRef$B = /*#__PURE__*/forwardRef(
|
|
392
|
+
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgTableGroupColumnLeftFill);
|
|
412
393
|
|
|
413
|
-
var _path$A;
|
|
394
|
+
var _path$A, _path2$3;
|
|
414
395
|
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
|
|
396
|
+
var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props, ref) {
|
|
416
397
|
return /*#__PURE__*/React.createElement("svg", _extends$A({
|
|
417
398
|
xmlns: "http://www.w3.org/2000/svg",
|
|
418
399
|
width: 24,
|
|
@@ -420,14 +401,18 @@ var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
|
420
401
|
viewBox: "0 0 24 24",
|
|
421
402
|
ref: ref
|
|
422
403
|
}, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
423
|
-
d: "
|
|
404
|
+
d: "M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6V3z"
|
|
405
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React.createElement("path", {
|
|
406
|
+
fillRule: "evenodd",
|
|
407
|
+
d: "M9 5H5v14h4V5zM5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z",
|
|
408
|
+
clipRule: "evenodd"
|
|
424
409
|
})));
|
|
425
410
|
};
|
|
426
|
-
var ForwardRef$A = /*#__PURE__*/forwardRef(
|
|
411
|
+
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgTableGroupColumnRightFill);
|
|
427
412
|
|
|
428
413
|
var _path$z;
|
|
429
414
|
function _extends$z() { return _extends$z = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$z.apply(null, arguments); }
|
|
430
|
-
var
|
|
415
|
+
var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
431
416
|
return /*#__PURE__*/React.createElement("svg", _extends$z({
|
|
432
417
|
xmlns: "http://www.w3.org/2000/svg",
|
|
433
418
|
width: 24,
|
|
@@ -435,14 +420,14 @@ var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
|
435
420
|
viewBox: "0 0 24 24",
|
|
436
421
|
ref: ref
|
|
437
422
|
}, props), _path$z || (_path$z = /*#__PURE__*/React.createElement("path", {
|
|
438
|
-
d: "
|
|
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"
|
|
439
424
|
})));
|
|
440
425
|
};
|
|
441
|
-
var ForwardRef$z = /*#__PURE__*/forwardRef(
|
|
426
|
+
var ForwardRef$z = /*#__PURE__*/forwardRef(SvgTableSwapOutline);
|
|
442
427
|
|
|
443
428
|
var _path$y;
|
|
444
429
|
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
|
|
430
|
+
var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
446
431
|
return /*#__PURE__*/React.createElement("svg", _extends$y({
|
|
447
432
|
xmlns: "http://www.w3.org/2000/svg",
|
|
448
433
|
width: 24,
|
|
@@ -450,14 +435,14 @@ var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props
|
|
|
450
435
|
viewBox: "0 0 24 24",
|
|
451
436
|
ref: ref
|
|
452
437
|
}, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
|
|
453
|
-
d: "
|
|
438
|
+
d: "M14 13v8l-4-2v-6L2.95 4h18.1L14 13z"
|
|
454
439
|
})));
|
|
455
440
|
};
|
|
456
|
-
var ForwardRef$y = /*#__PURE__*/forwardRef(
|
|
441
|
+
var ForwardRef$y = /*#__PURE__*/forwardRef(SvgContentFiltrationFill);
|
|
457
442
|
|
|
458
443
|
var _path$x;
|
|
459
444
|
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
|
|
445
|
+
var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props, ref) {
|
|
461
446
|
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
462
447
|
xmlns: "http://www.w3.org/2000/svg",
|
|
463
448
|
width: 24,
|
|
@@ -465,14 +450,14 @@ var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(p
|
|
|
465
450
|
viewBox: "0 0 24 24",
|
|
466
451
|
ref: ref
|
|
467
452
|
}, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
|
|
468
|
-
d: "
|
|
453
|
+
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
469
454
|
})));
|
|
470
455
|
};
|
|
471
|
-
var ForwardRef$x = /*#__PURE__*/forwardRef(
|
|
456
|
+
var ForwardRef$x = /*#__PURE__*/forwardRef(SvgNavigationChevronUpOutline);
|
|
472
457
|
|
|
473
458
|
var _path$w;
|
|
474
459
|
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
|
|
460
|
+
var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(props, ref) {
|
|
476
461
|
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
477
462
|
xmlns: "http://www.w3.org/2000/svg",
|
|
478
463
|
width: 24,
|
|
@@ -480,14 +465,14 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
480
465
|
viewBox: "0 0 24 24",
|
|
481
466
|
ref: ref
|
|
482
467
|
}, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
483
|
-
d: "
|
|
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"
|
|
484
469
|
})));
|
|
485
470
|
};
|
|
486
|
-
var ForwardRef$w = /*#__PURE__*/forwardRef(
|
|
471
|
+
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgNavigationCollapseAllOutline);
|
|
487
472
|
|
|
488
473
|
var _path$v;
|
|
489
474
|
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
|
|
475
|
+
var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props, ref) {
|
|
491
476
|
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
492
477
|
xmlns: "http://www.w3.org/2000/svg",
|
|
493
478
|
width: 24,
|
|
@@ -495,14 +480,14 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
495
480
|
viewBox: "0 0 24 24",
|
|
496
481
|
ref: ref
|
|
497
482
|
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
498
|
-
d: "
|
|
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"
|
|
499
484
|
})));
|
|
500
485
|
};
|
|
501
|
-
var ForwardRef$v = /*#__PURE__*/forwardRef(
|
|
486
|
+
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgNavigationExpandAllOutline);
|
|
502
487
|
|
|
503
488
|
var _path$u;
|
|
504
489
|
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
|
|
490
|
+
var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
506
491
|
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
507
492
|
xmlns: "http://www.w3.org/2000/svg",
|
|
508
493
|
width: 24,
|
|
@@ -510,14 +495,14 @@ var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(p
|
|
|
510
495
|
viewBox: "0 0 24 24",
|
|
511
496
|
ref: ref
|
|
512
497
|
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
513
|
-
d: "
|
|
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"
|
|
514
499
|
})));
|
|
515
500
|
};
|
|
516
|
-
var ForwardRef$u = /*#__PURE__*/forwardRef(
|
|
501
|
+
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgActionSettingsFill);
|
|
517
502
|
|
|
518
503
|
var _path$t;
|
|
519
504
|
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
|
|
505
|
+
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
521
506
|
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
522
507
|
xmlns: "http://www.w3.org/2000/svg",
|
|
523
508
|
width: 24,
|
|
@@ -525,14 +510,14 @@ var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline
|
|
|
525
510
|
viewBox: "0 0 24 24",
|
|
526
511
|
ref: ref
|
|
527
512
|
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
528
|
-
d: "
|
|
513
|
+
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
529
514
|
})));
|
|
530
515
|
};
|
|
531
|
-
var ForwardRef$t = /*#__PURE__*/forwardRef(
|
|
516
|
+
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgNavigationChevronLeftOutline);
|
|
532
517
|
|
|
533
518
|
var _path$s;
|
|
534
519
|
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
|
|
520
|
+
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
536
521
|
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
537
522
|
xmlns: "http://www.w3.org/2000/svg",
|
|
538
523
|
width: 24,
|
|
@@ -540,14 +525,14 @@ var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
|
540
525
|
viewBox: "0 0 24 24",
|
|
541
526
|
ref: ref
|
|
542
527
|
}, props), _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
543
|
-
d: "
|
|
528
|
+
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
544
529
|
})));
|
|
545
530
|
};
|
|
546
|
-
var ForwardRef$s = /*#__PURE__*/forwardRef(
|
|
531
|
+
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgNavigationChevronRightOutline);
|
|
547
532
|
|
|
548
533
|
var _path$r;
|
|
549
534
|
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
|
|
535
|
+
var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
551
536
|
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
552
537
|
xmlns: "http://www.w3.org/2000/svg",
|
|
553
538
|
width: 24,
|
|
@@ -555,14 +540,14 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
555
540
|
viewBox: "0 0 24 24",
|
|
556
541
|
ref: ref
|
|
557
542
|
}, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
558
|
-
d: "
|
|
543
|
+
d: "M13.286 3h-2.572v7.714H3v2.572h7.714V21h2.572v-7.714H21v-2.572h-7.714V3z"
|
|
559
544
|
})));
|
|
560
545
|
};
|
|
561
|
-
var ForwardRef$r = /*#__PURE__*/forwardRef(
|
|
546
|
+
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgActionAddOutline);
|
|
562
547
|
|
|
563
548
|
var _path$q;
|
|
564
549
|
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
|
|
550
|
+
var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
566
551
|
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
567
552
|
xmlns: "http://www.w3.org/2000/svg",
|
|
568
553
|
width: 24,
|
|
@@ -570,14 +555,14 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
570
555
|
viewBox: "0 0 24 24",
|
|
571
556
|
ref: ref
|
|
572
557
|
}, props), _path$q || (_path$q = /*#__PURE__*/React.createElement("path", {
|
|
573
|
-
d: "
|
|
558
|
+
d: "m2 12 3.077-3.2 4.615 4.8L18.923 4 22 7.2 9.692 20 2 12z"
|
|
574
559
|
})));
|
|
575
560
|
};
|
|
576
|
-
var ForwardRef$q = /*#__PURE__*/forwardRef(
|
|
561
|
+
var ForwardRef$q = /*#__PURE__*/forwardRef(SvgNotificationDoneFill);
|
|
577
562
|
|
|
578
563
|
var _path$p;
|
|
579
564
|
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
|
|
565
|
+
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
581
566
|
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
582
567
|
xmlns: "http://www.w3.org/2000/svg",
|
|
583
568
|
width: 24,
|
|
@@ -585,14 +570,14 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
585
570
|
viewBox: "0 0 24 24",
|
|
586
571
|
ref: ref
|
|
587
572
|
}, props), _path$p || (_path$p = /*#__PURE__*/React.createElement("path", {
|
|
588
|
-
d: "
|
|
573
|
+
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
589
574
|
})));
|
|
590
575
|
};
|
|
591
|
-
var ForwardRef$p = /*#__PURE__*/forwardRef(
|
|
576
|
+
var ForwardRef$p = /*#__PURE__*/forwardRef(SvgRadioDotFill);
|
|
592
577
|
|
|
593
578
|
var _path$o;
|
|
594
579
|
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
|
|
580
|
+
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
596
581
|
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
597
582
|
xmlns: "http://www.w3.org/2000/svg",
|
|
598
583
|
width: 24,
|
|
@@ -600,14 +585,14 @@ var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
|
600
585
|
viewBox: "0 0 24 24",
|
|
601
586
|
ref: ref
|
|
602
587
|
}, props), _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
603
|
-
d: "
|
|
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"
|
|
604
589
|
})));
|
|
605
590
|
};
|
|
606
|
-
var ForwardRef$o = /*#__PURE__*/forwardRef(
|
|
591
|
+
var ForwardRef$o = /*#__PURE__*/forwardRef(SvgNotificationHelpFill);
|
|
607
592
|
|
|
608
593
|
var _path$n;
|
|
609
594
|
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
|
|
595
|
+
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
611
596
|
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
612
597
|
xmlns: "http://www.w3.org/2000/svg",
|
|
613
598
|
width: 24,
|
|
@@ -615,14 +600,14 @@ var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref)
|
|
|
615
600
|
viewBox: "0 0 24 24",
|
|
616
601
|
ref: ref
|
|
617
602
|
}, props), _path$n || (_path$n = /*#__PURE__*/React.createElement("path", {
|
|
618
|
-
d: "
|
|
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"
|
|
619
604
|
})));
|
|
620
605
|
};
|
|
621
|
-
var ForwardRef$n = /*#__PURE__*/forwardRef(
|
|
606
|
+
var ForwardRef$n = /*#__PURE__*/forwardRef(SvgNotificationCheckFill);
|
|
622
607
|
|
|
623
608
|
var _path$m;
|
|
624
609
|
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
|
|
610
|
+
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
626
611
|
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
627
612
|
xmlns: "http://www.w3.org/2000/svg",
|
|
628
613
|
width: 24,
|
|
@@ -630,14 +615,14 @@ var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
|
630
615
|
viewBox: "0 0 24 24",
|
|
631
616
|
ref: ref
|
|
632
617
|
}, props), _path$m || (_path$m = /*#__PURE__*/React.createElement("path", {
|
|
633
|
-
d: "
|
|
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"
|
|
634
619
|
})));
|
|
635
620
|
};
|
|
636
|
-
var ForwardRef$m = /*#__PURE__*/forwardRef(
|
|
621
|
+
var ForwardRef$m = /*#__PURE__*/forwardRef(SvgNotificationWarningFill);
|
|
637
622
|
|
|
638
623
|
var _path$l;
|
|
639
624
|
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
|
|
625
|
+
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
641
626
|
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
642
627
|
xmlns: "http://www.w3.org/2000/svg",
|
|
643
628
|
width: 24,
|
|
@@ -645,16 +630,14 @@ var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
|
645
630
|
viewBox: "0 0 24 24",
|
|
646
631
|
ref: ref
|
|
647
632
|
}, props), _path$l || (_path$l = /*#__PURE__*/React.createElement("path", {
|
|
648
|
-
|
|
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"
|
|
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"
|
|
651
634
|
})));
|
|
652
635
|
};
|
|
653
|
-
var ForwardRef$l = /*#__PURE__*/forwardRef(
|
|
636
|
+
var ForwardRef$l = /*#__PURE__*/forwardRef(SvgNotificationErrorFill);
|
|
654
637
|
|
|
655
638
|
var _path$k;
|
|
656
639
|
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
|
|
640
|
+
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
658
641
|
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
659
642
|
xmlns: "http://www.w3.org/2000/svg",
|
|
660
643
|
width: 24,
|
|
@@ -662,182 +645,344 @@ var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
|
662
645
|
viewBox: "0 0 24 24",
|
|
663
646
|
ref: ref
|
|
664
647
|
}, props), _path$k || (_path$k = /*#__PURE__*/React.createElement("path", {
|
|
648
|
+
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
649
|
+
})));
|
|
650
|
+
};
|
|
651
|
+
var ForwardRef$k = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
652
|
+
|
|
653
|
+
var _path$j, _path2$2;
|
|
654
|
+
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); }
|
|
655
|
+
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
656
|
+
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
657
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
658
|
+
width: 24,
|
|
659
|
+
height: 24,
|
|
660
|
+
viewBox: "0 0 24 24",
|
|
661
|
+
ref: ref
|
|
662
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
663
|
+
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"
|
|
664
|
+
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
665
|
+
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"
|
|
666
|
+
})));
|
|
667
|
+
};
|
|
668
|
+
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
669
|
+
|
|
670
|
+
var _path$i;
|
|
671
|
+
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); }
|
|
672
|
+
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
673
|
+
return /*#__PURE__*/React.createElement("svg", _extends$i({
|
|
674
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
675
|
+
width: 24,
|
|
676
|
+
height: 24,
|
|
677
|
+
viewBox: "0 0 24 24",
|
|
678
|
+
ref: ref
|
|
679
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
|
|
680
|
+
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"
|
|
681
|
+
})));
|
|
682
|
+
};
|
|
683
|
+
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgContentEditFill);
|
|
684
|
+
|
|
685
|
+
var _path$h;
|
|
686
|
+
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); }
|
|
687
|
+
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
688
|
+
return /*#__PURE__*/React.createElement("svg", _extends$h({
|
|
689
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
690
|
+
width: 24,
|
|
691
|
+
height: 24,
|
|
692
|
+
viewBox: "0 0 24 24",
|
|
693
|
+
ref: ref
|
|
694
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
|
|
695
|
+
fillRule: "evenodd",
|
|
696
|
+
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",
|
|
697
|
+
clipRule: "evenodd"
|
|
698
|
+
})));
|
|
699
|
+
};
|
|
700
|
+
var ForwardRef$h = /*#__PURE__*/forwardRef(SvgActionCopyContentOutline);
|
|
701
|
+
|
|
702
|
+
var _path$g;
|
|
703
|
+
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); }
|
|
704
|
+
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
705
|
+
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
706
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
707
|
+
width: 24,
|
|
708
|
+
height: 24,
|
|
709
|
+
viewBox: "0 0 24 24",
|
|
710
|
+
ref: ref
|
|
711
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
712
|
+
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"
|
|
713
|
+
})));
|
|
714
|
+
};
|
|
715
|
+
var ForwardRef$g = /*#__PURE__*/forwardRef(SvgContentEditUndoOutline);
|
|
716
|
+
|
|
717
|
+
var _path$f;
|
|
718
|
+
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); }
|
|
719
|
+
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
720
|
+
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
721
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
722
|
+
width: 24,
|
|
723
|
+
height: 24,
|
|
724
|
+
viewBox: "0 0 24 24",
|
|
725
|
+
ref: ref
|
|
726
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
|
|
727
|
+
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"
|
|
728
|
+
})));
|
|
729
|
+
};
|
|
730
|
+
var ForwardRef$f = /*#__PURE__*/forwardRef(SvgActionSaveOutline);
|
|
731
|
+
|
|
732
|
+
var _path$e;
|
|
733
|
+
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); }
|
|
734
|
+
var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
735
|
+
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
736
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
737
|
+
width: 24,
|
|
738
|
+
height: 24,
|
|
739
|
+
viewBox: "0 0 24 24",
|
|
740
|
+
ref: ref
|
|
741
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
|
|
742
|
+
fillRule: "evenodd",
|
|
743
|
+
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",
|
|
744
|
+
clipRule: "evenodd"
|
|
745
|
+
})));
|
|
746
|
+
};
|
|
747
|
+
var ForwardRef$e = /*#__PURE__*/forwardRef(SvgFileFileWordFill);
|
|
748
|
+
|
|
749
|
+
var _path$d;
|
|
750
|
+
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); }
|
|
751
|
+
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
752
|
+
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
753
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
754
|
+
width: 24,
|
|
755
|
+
height: 24,
|
|
756
|
+
viewBox: "0 0 24 24",
|
|
757
|
+
ref: ref
|
|
758
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
|
|
665
759
|
fillRule: "evenodd",
|
|
666
760
|
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
761
|
clipRule: "evenodd"
|
|
668
762
|
})));
|
|
669
763
|
};
|
|
670
|
-
var ForwardRef$
|
|
764
|
+
var ForwardRef$d = /*#__PURE__*/forwardRef(SvgFileFileExcelFill);
|
|
671
765
|
|
|
672
|
-
var _path$
|
|
673
|
-
function _extends$
|
|
766
|
+
var _path$c;
|
|
767
|
+
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); }
|
|
674
768
|
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
675
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
769
|
+
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
676
770
|
xmlns: "http://www.w3.org/2000/svg",
|
|
677
771
|
width: 24,
|
|
678
772
|
height: 24,
|
|
679
773
|
viewBox: "0 0 24 24",
|
|
680
774
|
ref: ref
|
|
681
|
-
}, props), _path$
|
|
775
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
|
|
682
776
|
fillRule: "evenodd",
|
|
683
777
|
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
778
|
clipRule: "evenodd"
|
|
685
779
|
})));
|
|
686
780
|
};
|
|
687
|
-
var ForwardRef$
|
|
781
|
+
var ForwardRef$c = /*#__PURE__*/forwardRef(SvgFileFilePdfFill);
|
|
688
782
|
|
|
689
|
-
var _path$
|
|
690
|
-
function _extends$
|
|
783
|
+
var _path$b;
|
|
784
|
+
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); }
|
|
691
785
|
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
692
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
786
|
+
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
693
787
|
xmlns: "http://www.w3.org/2000/svg",
|
|
694
788
|
width: 24,
|
|
695
789
|
height: 24,
|
|
696
790
|
viewBox: "0 0 24 24",
|
|
697
791
|
ref: ref
|
|
698
|
-
}, props), _path$
|
|
792
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
|
|
699
793
|
fillRule: "evenodd",
|
|
700
794
|
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
795
|
clipRule: "evenodd"
|
|
702
796
|
})));
|
|
703
797
|
};
|
|
704
|
-
var ForwardRef$
|
|
798
|
+
var ForwardRef$b = /*#__PURE__*/forwardRef(SvgFileFileImageFill);
|
|
705
799
|
|
|
706
|
-
var _path$
|
|
707
|
-
function _extends$
|
|
800
|
+
var _path$a, _path2$1;
|
|
801
|
+
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); }
|
|
708
802
|
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
709
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
803
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
710
804
|
xmlns: "http://www.w3.org/2000/svg",
|
|
711
805
|
width: 24,
|
|
712
806
|
height: 24,
|
|
713
807
|
viewBox: "0 0 24 24",
|
|
714
808
|
ref: ref
|
|
715
|
-
}, props), _path$
|
|
809
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
716
810
|
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
717
|
-
})), _path2$
|
|
811
|
+
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
718
812
|
fillRule: "evenodd",
|
|
719
813
|
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
814
|
clipRule: "evenodd"
|
|
721
815
|
})));
|
|
722
816
|
};
|
|
723
|
-
var ForwardRef$
|
|
817
|
+
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgFileFileVideoFill);
|
|
724
818
|
|
|
725
|
-
var _path$
|
|
726
|
-
function _extends$
|
|
819
|
+
var _path$9;
|
|
820
|
+
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); }
|
|
727
821
|
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
728
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
822
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
729
823
|
xmlns: "http://www.w3.org/2000/svg",
|
|
730
824
|
width: 24,
|
|
731
825
|
height: 24,
|
|
732
826
|
viewBox: "0 0 24 24",
|
|
733
827
|
ref: ref
|
|
734
|
-
}, props), _path$
|
|
828
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
735
829
|
fillRule: "evenodd",
|
|
736
830
|
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
831
|
clipRule: "evenodd"
|
|
738
832
|
})));
|
|
739
833
|
};
|
|
740
|
-
var ForwardRef$
|
|
834
|
+
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgFileFileTableFill);
|
|
741
835
|
|
|
742
|
-
var _path$
|
|
743
|
-
function _extends$
|
|
836
|
+
var _path$8;
|
|
837
|
+
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); }
|
|
744
838
|
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
745
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
839
|
+
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
746
840
|
xmlns: "http://www.w3.org/2000/svg",
|
|
747
841
|
width: 24,
|
|
748
842
|
height: 24,
|
|
749
843
|
viewBox: "0 0 24 24",
|
|
750
844
|
ref: ref
|
|
751
|
-
}, props), _path$
|
|
845
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
752
846
|
fillRule: "evenodd",
|
|
753
847
|
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
848
|
clipRule: "evenodd"
|
|
755
849
|
})));
|
|
756
850
|
};
|
|
757
|
-
var ForwardRef$
|
|
851
|
+
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgFileFileTextFill);
|
|
758
852
|
|
|
759
|
-
var _path$
|
|
760
|
-
function _extends$
|
|
853
|
+
var _path$7;
|
|
854
|
+
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); }
|
|
761
855
|
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
762
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
856
|
+
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
763
857
|
xmlns: "http://www.w3.org/2000/svg",
|
|
764
858
|
width: 24,
|
|
765
859
|
height: 24,
|
|
766
860
|
viewBox: "0 0 24 24",
|
|
767
861
|
ref: ref
|
|
768
|
-
}, props), _path$
|
|
862
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
769
863
|
fillRule: "evenodd",
|
|
770
864
|
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
865
|
clipRule: "evenodd"
|
|
772
866
|
})));
|
|
773
867
|
};
|
|
774
|
-
var ForwardRef$
|
|
868
|
+
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgFileFileEmlFill);
|
|
775
869
|
|
|
776
|
-
var _path$
|
|
777
|
-
function _extends$
|
|
870
|
+
var _path$6;
|
|
871
|
+
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); }
|
|
778
872
|
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
779
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
873
|
+
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
780
874
|
xmlns: "http://www.w3.org/2000/svg",
|
|
781
875
|
width: 24,
|
|
782
876
|
height: 24,
|
|
783
877
|
viewBox: "0 0 24 24",
|
|
784
878
|
ref: ref
|
|
785
|
-
}, props), _path$
|
|
879
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
786
880
|
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
881
|
})));
|
|
788
882
|
};
|
|
789
|
-
var ForwardRef$
|
|
883
|
+
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgFileFileFill);
|
|
790
884
|
|
|
791
|
-
var _path$
|
|
792
|
-
function _extends$
|
|
885
|
+
var _path$5;
|
|
886
|
+
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); }
|
|
793
887
|
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
794
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
888
|
+
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
795
889
|
width: 24,
|
|
796
890
|
height: 24,
|
|
797
891
|
viewBox: "0 0 24 24",
|
|
798
892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
799
893
|
ref: ref
|
|
800
|
-
}, props), _path$
|
|
894
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
801
895
|
fillRule: "evenodd",
|
|
802
896
|
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
897
|
})));
|
|
804
898
|
};
|
|
805
|
-
var ForwardRef$
|
|
899
|
+
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgStarFilled);
|
|
806
900
|
|
|
807
|
-
var _path$
|
|
808
|
-
function _extends$
|
|
901
|
+
var _path$4, _path2;
|
|
902
|
+
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); }
|
|
809
903
|
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
810
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
904
|
+
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
811
905
|
width: 66,
|
|
812
906
|
height: 67,
|
|
813
907
|
viewBox: "0 0 66 67",
|
|
814
908
|
fill: "none",
|
|
815
909
|
xmlns: "http://www.w3.org/2000/svg",
|
|
816
910
|
ref: ref
|
|
817
|
-
}, props), _path$
|
|
911
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
818
912
|
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
913
|
fill: "#EBEDF5"
|
|
820
|
-
})), _path2
|
|
914
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
821
915
|
fillRule: "evenodd",
|
|
822
916
|
clipRule: "evenodd",
|
|
823
917
|
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
918
|
fill: "#6C6F80"
|
|
825
919
|
})));
|
|
826
920
|
};
|
|
827
|
-
var ForwardRef$
|
|
921
|
+
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
922
|
+
|
|
923
|
+
var css$1x = {"root":"k98t-k","uui-spinner":"F03z4p","uuiSpinner":"F03z4p"};
|
|
924
|
+
|
|
925
|
+
function applySpinnerMods() {
|
|
926
|
+
return [css$1x.root, 'uui-spinner'];
|
|
927
|
+
}
|
|
928
|
+
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
929
|
+
|
|
930
|
+
var css$1w = {"root":"fyAKM7","loading-word":"gIexcC","loadingWord":"gIexcC","animated-loading":"fTXw4q","animatedLoading":"fTXw4q","skeleton_loading":"CGgZgQ","skeletonLoading":"CGgZgQ"};
|
|
931
|
+
|
|
932
|
+
const TextPlaceholder = (props) => {
|
|
933
|
+
const pattern = ' ';
|
|
934
|
+
const text = React.useMemo(() => {
|
|
935
|
+
const words = [];
|
|
936
|
+
for (let i = 0; i < (props.wordsCount || 1); i++) {
|
|
937
|
+
const lengthWord = Math.floor(Math.random() * 10 + 8);
|
|
938
|
+
words.push(pattern.repeat(lengthWord));
|
|
939
|
+
}
|
|
940
|
+
return words;
|
|
941
|
+
}, [props.wordsCount]);
|
|
942
|
+
return (React.createElement("div", { "aria-busy": true, className: cx(css$1w.root, 'uui-text-placeholder'), ...props.rawProps }, text.map((it, index) => (React.createElement("span", { key: index, className: cx([
|
|
943
|
+
props.cx, css$1w.loadingWord, !props.isNotAnimated && css$1w.animatedLoading,
|
|
944
|
+
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
var css$1v = {"root":"_4VQuZe","line-height":"_4Ehmyo","lineHeight":"_4Ehmyo","font-size":"_6aOsHm","fontSize":"_6aOsHm"};
|
|
948
|
+
|
|
949
|
+
function applyTextMods(mods) {
|
|
950
|
+
return [
|
|
951
|
+
css$1v.root,
|
|
952
|
+
'uui-text',
|
|
953
|
+
`uui-size-${mods.size || settings.text.sizes.default}`,
|
|
954
|
+
(mods.size !== 'none' || mods.lineHeight) && css$1v.lineHeight,
|
|
955
|
+
(mods.size !== 'none' || mods.fontSize) && css$1v.fontSize,
|
|
956
|
+
`uui-color-${mods.color || 'primary'}`,
|
|
957
|
+
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
958
|
+
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
959
|
+
'uui-typography-inline',
|
|
960
|
+
];
|
|
961
|
+
}
|
|
962
|
+
const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props) => {
|
|
963
|
+
const style = props?.rawProps?.style || {};
|
|
964
|
+
props.fontSize && (style['--uui-text-font-size'] = `${props.fontSize}px`);
|
|
965
|
+
props.lineHeight && (style['--uui-text-line-height'] = `${props.lineHeight}px`);
|
|
966
|
+
return {
|
|
967
|
+
rawProps: {
|
|
968
|
+
...props?.rawProps,
|
|
969
|
+
style: style,
|
|
970
|
+
},
|
|
971
|
+
};
|
|
972
|
+
});
|
|
828
973
|
|
|
829
974
|
const accordionSettings = {
|
|
830
975
|
icons: {
|
|
831
|
-
dropdownIcon: ForwardRef$
|
|
976
|
+
dropdownIcon: ForwardRef$P,
|
|
832
977
|
},
|
|
833
978
|
};
|
|
834
979
|
const alertSettings = {
|
|
835
980
|
icons: {
|
|
836
|
-
closeIcon: ForwardRef$
|
|
837
|
-
infoIcon: ForwardRef$
|
|
838
|
-
successIcon: ForwardRef$
|
|
839
|
-
warningIcon: ForwardRef$
|
|
840
|
-
errorIcon: ForwardRef$
|
|
981
|
+
closeIcon: ForwardRef$Q,
|
|
982
|
+
infoIcon: ForwardRef$J,
|
|
983
|
+
successIcon: ForwardRef$n,
|
|
984
|
+
warningIcon: ForwardRef$m,
|
|
985
|
+
errorIcon: ForwardRef$l,
|
|
841
986
|
},
|
|
842
987
|
sizes: {
|
|
843
988
|
default: '48',
|
|
@@ -849,7 +994,7 @@ const alertSettings = {
|
|
|
849
994
|
};
|
|
850
995
|
const badgeSettings = {
|
|
851
996
|
icons: {
|
|
852
|
-
dropdownIcon: ForwardRef$
|
|
997
|
+
dropdownIcon: ForwardRef$P,
|
|
853
998
|
},
|
|
854
999
|
sizes: {
|
|
855
1000
|
default: '36',
|
|
@@ -865,8 +1010,8 @@ const badgeSettings = {
|
|
|
865
1010
|
};
|
|
866
1011
|
const buttonSettings = {
|
|
867
1012
|
icons: {
|
|
868
|
-
clearIcon: ForwardRef$
|
|
869
|
-
dropdownIcon: ForwardRef$
|
|
1013
|
+
clearIcon: ForwardRef$Q,
|
|
1014
|
+
dropdownIcon: ForwardRef$P,
|
|
870
1015
|
},
|
|
871
1016
|
sizes: {
|
|
872
1017
|
default: '36',
|
|
@@ -874,8 +1019,8 @@ const buttonSettings = {
|
|
|
874
1019
|
};
|
|
875
1020
|
const checkboxSettings = {
|
|
876
1021
|
icons: {
|
|
877
|
-
checkIcon: ForwardRef$
|
|
878
|
-
indeterminateIcon: ForwardRef$
|
|
1022
|
+
checkIcon: ForwardRef$O,
|
|
1023
|
+
indeterminateIcon: ForwardRef$N,
|
|
879
1024
|
},
|
|
880
1025
|
sizes: {
|
|
881
1026
|
default: '18',
|
|
@@ -887,31 +1032,33 @@ const countIndicatorSettings = {
|
|
|
887
1032
|
},
|
|
888
1033
|
};
|
|
889
1034
|
const dataTableSettings = {
|
|
1035
|
+
renderPlaceholder: (props) => React__default.createElement(Text, { size: props.rowSize },
|
|
1036
|
+
React__default.createElement(TextPlaceholder, null)),
|
|
890
1037
|
icons: {
|
|
891
|
-
emptyTable: ForwardRef$
|
|
1038
|
+
emptyTable: ForwardRef$I,
|
|
892
1039
|
header: {
|
|
893
|
-
configIcon: ForwardRef$
|
|
894
|
-
ascSortIcon: ForwardRef$
|
|
895
|
-
descSortIcon: ForwardRef$
|
|
896
|
-
defaultSortIcon: ForwardRef$
|
|
897
|
-
filterIcon: ForwardRef$
|
|
898
|
-
dropdownIcon: ForwardRef$
|
|
899
|
-
openedDropdownIcon: ForwardRef$
|
|
900
|
-
foldIcon: ForwardRef$
|
|
901
|
-
unfoldIcon: ForwardRef$
|
|
1040
|
+
configIcon: ForwardRef$u,
|
|
1041
|
+
ascSortIcon: ForwardRef$H,
|
|
1042
|
+
descSortIcon: ForwardRef$G,
|
|
1043
|
+
defaultSortIcon: ForwardRef$z,
|
|
1044
|
+
filterIcon: ForwardRef$y,
|
|
1045
|
+
dropdownIcon: ForwardRef$P,
|
|
1046
|
+
openedDropdownIcon: ForwardRef$x,
|
|
1047
|
+
foldIcon: ForwardRef$w,
|
|
1048
|
+
unfoldIcon: ForwardRef$v,
|
|
902
1049
|
},
|
|
903
1050
|
body: {
|
|
904
|
-
foldingIcon: ForwardRef$
|
|
1051
|
+
foldingIcon: ForwardRef$P,
|
|
905
1052
|
},
|
|
906
1053
|
columnsConfigurationModal: {
|
|
907
|
-
dragIndicator: ForwardRef$
|
|
908
|
-
lockIcon: ForwardRef$
|
|
909
|
-
pinLeftIcon: ForwardRef$
|
|
910
|
-
pinRightIcon: ForwardRef$
|
|
911
|
-
collapsedIcon: ForwardRef$
|
|
912
|
-
expandedIcon: ForwardRef$
|
|
913
|
-
menuIcon: ForwardRef$
|
|
914
|
-
resetIcon: ForwardRef$
|
|
1054
|
+
dragIndicator: ForwardRef$F,
|
|
1055
|
+
lockIcon: ForwardRef$C,
|
|
1056
|
+
pinLeftIcon: ForwardRef$B,
|
|
1057
|
+
pinRightIcon: ForwardRef$A,
|
|
1058
|
+
collapsedIcon: ForwardRef$s,
|
|
1059
|
+
expandedIcon: ForwardRef$P,
|
|
1060
|
+
menuIcon: ForwardRef$E,
|
|
1061
|
+
resetIcon: ForwardRef$D,
|
|
915
1062
|
},
|
|
916
1063
|
},
|
|
917
1064
|
sizes: {
|
|
@@ -968,18 +1115,18 @@ const dataTableSettings = {
|
|
|
968
1115
|
};
|
|
969
1116
|
const dropdownMenuSettings = {
|
|
970
1117
|
icons: {
|
|
971
|
-
acceptIcon: ForwardRef$
|
|
972
|
-
dropdownIcon: ForwardRef$
|
|
1118
|
+
acceptIcon: ForwardRef$O,
|
|
1119
|
+
dropdownIcon: ForwardRef$P,
|
|
973
1120
|
},
|
|
974
1121
|
};
|
|
975
1122
|
const datePickerSettings = {
|
|
976
1123
|
icons: {
|
|
977
1124
|
body: {
|
|
978
|
-
prevIcon: ForwardRef$
|
|
979
|
-
nextIcon: ForwardRef$
|
|
1125
|
+
prevIcon: ForwardRef$t,
|
|
1126
|
+
nextIcon: ForwardRef$s,
|
|
980
1127
|
},
|
|
981
1128
|
input: {
|
|
982
|
-
calendarIcon: ForwardRef$
|
|
1129
|
+
calendarIcon: ForwardRef$L,
|
|
983
1130
|
},
|
|
984
1131
|
},
|
|
985
1132
|
sizes: {
|
|
@@ -989,17 +1136,17 @@ const datePickerSettings = {
|
|
|
989
1136
|
};
|
|
990
1137
|
const fileCardSettings = {
|
|
991
1138
|
icons: {
|
|
992
|
-
docIcon: ForwardRef$
|
|
993
|
-
exelIcon: ForwardRef$
|
|
994
|
-
pdfIcon: ForwardRef$
|
|
995
|
-
imgIcon: ForwardRef$
|
|
996
|
-
videoIcon: ForwardRef$
|
|
997
|
-
tableIcon: ForwardRef$
|
|
998
|
-
textIcon: ForwardRef$
|
|
999
|
-
mailIcon: ForwardRef$
|
|
1000
|
-
fileIcon: ForwardRef$
|
|
1001
|
-
closeIcon: ForwardRef$
|
|
1002
|
-
errorIcon: ForwardRef$
|
|
1139
|
+
docIcon: ForwardRef$e,
|
|
1140
|
+
exelIcon: ForwardRef$d,
|
|
1141
|
+
pdfIcon: ForwardRef$c,
|
|
1142
|
+
imgIcon: ForwardRef$b,
|
|
1143
|
+
videoIcon: ForwardRef$a,
|
|
1144
|
+
tableIcon: ForwardRef$9,
|
|
1145
|
+
textIcon: ForwardRef$8,
|
|
1146
|
+
mailIcon: ForwardRef$7,
|
|
1147
|
+
fileIcon: ForwardRef$6,
|
|
1148
|
+
closeIcon: ForwardRef$Q,
|
|
1149
|
+
errorIcon: ForwardRef$l,
|
|
1003
1150
|
},
|
|
1004
1151
|
};
|
|
1005
1152
|
const flexRowSettings = {
|
|
@@ -1008,23 +1155,31 @@ const flexRowSettings = {
|
|
|
1008
1155
|
},
|
|
1009
1156
|
};
|
|
1010
1157
|
const filtersPanelSettings = {
|
|
1158
|
+
renderPlaceholder: () => React__default.createElement(TextPlaceholder, null),
|
|
1011
1159
|
icons: {
|
|
1012
|
-
addFilterIcon: ForwardRef$
|
|
1013
|
-
itemDropdownIcon: ForwardRef$
|
|
1160
|
+
addFilterIcon: ForwardRef$r,
|
|
1161
|
+
itemDropdownIcon: ForwardRef$P,
|
|
1162
|
+
pickerBodyRemoveIcon: ForwardRef$k,
|
|
1014
1163
|
},
|
|
1015
1164
|
sizes: {
|
|
1016
1165
|
default: '36',
|
|
1166
|
+
footerLinkButton: '36',
|
|
1167
|
+
mobileFooterLinkButton: '48',
|
|
1168
|
+
pickerBodyMultiSwitch: '24',
|
|
1169
|
+
pickerBodyLinkButton: '24',
|
|
1170
|
+
pickerBodyMinWidth: 360,
|
|
1171
|
+
rangeDatePickerInput: '30',
|
|
1017
1172
|
},
|
|
1018
1173
|
};
|
|
1019
1174
|
const iconButtonSettings = {
|
|
1020
1175
|
icons: {
|
|
1021
|
-
dropdownIcon: ForwardRef$
|
|
1176
|
+
dropdownIcon: ForwardRef$P,
|
|
1022
1177
|
},
|
|
1023
1178
|
};
|
|
1024
1179
|
const labeledInputSettings = {
|
|
1025
1180
|
icons: {
|
|
1026
|
-
infoIcon: ForwardRef$
|
|
1027
|
-
fillInfoIcon: ForwardRef$
|
|
1181
|
+
infoIcon: ForwardRef$K,
|
|
1182
|
+
fillInfoIcon: ForwardRef$J,
|
|
1028
1183
|
},
|
|
1029
1184
|
sizes: {
|
|
1030
1185
|
default: '36',
|
|
@@ -1032,7 +1187,7 @@ const labeledInputSettings = {
|
|
|
1032
1187
|
};
|
|
1033
1188
|
const linkButtonSettings = {
|
|
1034
1189
|
icons: {
|
|
1035
|
-
dropdownIcon: ForwardRef$
|
|
1190
|
+
dropdownIcon: ForwardRef$P,
|
|
1036
1191
|
},
|
|
1037
1192
|
sizes: {
|
|
1038
1193
|
default: '36',
|
|
@@ -1041,24 +1196,25 @@ const linkButtonSettings = {
|
|
|
1041
1196
|
};
|
|
1042
1197
|
const modalSettings = {
|
|
1043
1198
|
icons: {
|
|
1044
|
-
closeIcon: ForwardRef$
|
|
1199
|
+
closeIcon: ForwardRef$Q,
|
|
1045
1200
|
},
|
|
1046
1201
|
};
|
|
1047
1202
|
const notificationCardSettings = {
|
|
1048
1203
|
icons: {
|
|
1049
|
-
closeIcon: ForwardRef$
|
|
1050
|
-
hintIcon: ForwardRef$
|
|
1051
|
-
successIcon: ForwardRef$
|
|
1052
|
-
warningIcon: ForwardRef$
|
|
1053
|
-
errorIcon: ForwardRef$
|
|
1204
|
+
closeIcon: ForwardRef$Q,
|
|
1205
|
+
hintIcon: ForwardRef$o,
|
|
1206
|
+
successIcon: ForwardRef$n,
|
|
1207
|
+
warningIcon: ForwardRef$m,
|
|
1208
|
+
errorIcon: ForwardRef$l,
|
|
1054
1209
|
},
|
|
1055
1210
|
sizes: {
|
|
1056
1211
|
action: '30',
|
|
1212
|
+
icon: 24,
|
|
1057
1213
|
},
|
|
1058
1214
|
};
|
|
1059
1215
|
const numericInputSettings = {
|
|
1060
1216
|
icons: {
|
|
1061
|
-
arrowIcon: ForwardRef$
|
|
1217
|
+
arrowIcon: ForwardRef$P,
|
|
1062
1218
|
},
|
|
1063
1219
|
sizes: {
|
|
1064
1220
|
default: '36',
|
|
@@ -1066,23 +1222,25 @@ const numericInputSettings = {
|
|
|
1066
1222
|
};
|
|
1067
1223
|
const paginatorSettings = {
|
|
1068
1224
|
icons: {
|
|
1069
|
-
leftArrowIcon: ForwardRef$
|
|
1070
|
-
rightArrowIcon: ForwardRef$
|
|
1225
|
+
leftArrowIcon: ForwardRef$t,
|
|
1226
|
+
rightArrowIcon: ForwardRef$s,
|
|
1071
1227
|
},
|
|
1072
1228
|
sizes: {
|
|
1073
1229
|
default: '36',
|
|
1074
1230
|
},
|
|
1075
1231
|
};
|
|
1076
1232
|
const pickerInputSettings = {
|
|
1233
|
+
renderPlaceholder: (props) => React__default.createElement(Text, { size: props.rowSize },
|
|
1234
|
+
React__default.createElement(TextPlaceholder, null)),
|
|
1077
1235
|
icons: {
|
|
1078
1236
|
toggler: {
|
|
1079
|
-
clearIcon: ForwardRef$
|
|
1080
|
-
dropdownIcon: ForwardRef$
|
|
1237
|
+
clearIcon: ForwardRef$Q,
|
|
1238
|
+
dropdownIcon: ForwardRef$P,
|
|
1081
1239
|
},
|
|
1082
1240
|
body: {
|
|
1083
|
-
selectIcon: (size) => size < '30' ? ForwardRef$
|
|
1084
|
-
pickerBodyMobileHeaderCloseIcon: ForwardRef$
|
|
1085
|
-
modalNotFoundSearchIcon: ForwardRef$
|
|
1241
|
+
selectIcon: (size) => size < '30' ? ForwardRef$q : ForwardRef$O,
|
|
1242
|
+
pickerBodyMobileHeaderCloseIcon: ForwardRef$Q,
|
|
1243
|
+
modalNotFoundSearchIcon: ForwardRef$4,
|
|
1086
1244
|
},
|
|
1087
1245
|
},
|
|
1088
1246
|
sizes: {
|
|
@@ -1140,12 +1298,32 @@ const pickerInputSettings = {
|
|
|
1140
1298
|
mobileFooterLinkButton: '48',
|
|
1141
1299
|
mobileRow: '48',
|
|
1142
1300
|
mobileSearchInput: '48',
|
|
1301
|
+
getSearchSize: ({ pickerSize }) => {
|
|
1302
|
+
return pickerSize;
|
|
1303
|
+
},
|
|
1143
1304
|
},
|
|
1144
1305
|
},
|
|
1145
1306
|
};
|
|
1307
|
+
const presetsPanelSettings = {
|
|
1308
|
+
icons: {
|
|
1309
|
+
addIcon: ForwardRef$r,
|
|
1310
|
+
copyIcon: ForwardRef$h,
|
|
1311
|
+
copyLinkIcon: ForwardRef$j,
|
|
1312
|
+
deleteIcon: ForwardRef$k,
|
|
1313
|
+
discardChangesIcon: ForwardRef$g,
|
|
1314
|
+
menuIcon: ForwardRef$E,
|
|
1315
|
+
renameIcon: ForwardRef$i,
|
|
1316
|
+
saveAsNewIcon: ForwardRef$f,
|
|
1317
|
+
saveInCurrentIcon: ForwardRef$D,
|
|
1318
|
+
},
|
|
1319
|
+
sizes: {
|
|
1320
|
+
tabButton: '60',
|
|
1321
|
+
dropdownTargetIconButton: '18',
|
|
1322
|
+
},
|
|
1323
|
+
};
|
|
1146
1324
|
const radioInputSettings = {
|
|
1147
1325
|
icons: {
|
|
1148
|
-
dotIcon: ForwardRef$
|
|
1326
|
+
dotIcon: ForwardRef$p,
|
|
1149
1327
|
},
|
|
1150
1328
|
sizes: {
|
|
1151
1329
|
default: '18',
|
|
@@ -1154,7 +1332,7 @@ const radioInputSettings = {
|
|
|
1154
1332
|
const rangeDatePickerSettings = {
|
|
1155
1333
|
icons: {
|
|
1156
1334
|
input: {
|
|
1157
|
-
calendarIcon: ForwardRef$
|
|
1335
|
+
calendarIcon: ForwardRef$L,
|
|
1158
1336
|
},
|
|
1159
1337
|
},
|
|
1160
1338
|
sizes: {
|
|
@@ -1164,8 +1342,8 @@ const rangeDatePickerSettings = {
|
|
|
1164
1342
|
};
|
|
1165
1343
|
const ratingSettings = {
|
|
1166
1344
|
icons: {
|
|
1167
|
-
filledRatingIcon: ForwardRef$
|
|
1168
|
-
emptyRatingIcon: ForwardRef$
|
|
1345
|
+
filledRatingIcon: ForwardRef$5,
|
|
1346
|
+
emptyRatingIcon: ForwardRef$5,
|
|
1169
1347
|
},
|
|
1170
1348
|
sizes: {
|
|
1171
1349
|
default: 18,
|
|
@@ -1188,8 +1366,8 @@ const switchSettings = {
|
|
|
1188
1366
|
};
|
|
1189
1367
|
const tabButtonSettings = {
|
|
1190
1368
|
icons: {
|
|
1191
|
-
clearIcon: ForwardRef$
|
|
1192
|
-
dropdownIcon: ForwardRef$
|
|
1369
|
+
clearIcon: ForwardRef$Q,
|
|
1370
|
+
dropdownIcon: ForwardRef$P,
|
|
1193
1371
|
},
|
|
1194
1372
|
sizes: {
|
|
1195
1373
|
default: '48',
|
|
@@ -1202,8 +1380,8 @@ const tabButtonSettings = {
|
|
|
1202
1380
|
};
|
|
1203
1381
|
const tagSettings = {
|
|
1204
1382
|
icons: {
|
|
1205
|
-
clearIcon: ForwardRef$
|
|
1206
|
-
dropdownIcon: ForwardRef$
|
|
1383
|
+
clearIcon: ForwardRef$Q,
|
|
1384
|
+
dropdownIcon: ForwardRef$P,
|
|
1207
1385
|
},
|
|
1208
1386
|
sizes: {
|
|
1209
1387
|
default: '36',
|
|
@@ -1229,20 +1407,24 @@ const textAreaSettings = {
|
|
|
1229
1407
|
};
|
|
1230
1408
|
const textInputSettings = {
|
|
1231
1409
|
icons: {
|
|
1232
|
-
acceptIcon: ForwardRef$
|
|
1233
|
-
clearIcon: ForwardRef$
|
|
1234
|
-
dropdownIcon: ForwardRef$
|
|
1235
|
-
searchIcon: ForwardRef$
|
|
1410
|
+
acceptIcon: ForwardRef$O,
|
|
1411
|
+
clearIcon: ForwardRef$Q,
|
|
1412
|
+
dropdownIcon: ForwardRef$P,
|
|
1413
|
+
searchIcon: ForwardRef$M,
|
|
1236
1414
|
},
|
|
1237
1415
|
sizes: {
|
|
1238
1416
|
default: '36',
|
|
1239
1417
|
},
|
|
1240
1418
|
};
|
|
1419
|
+
const blockerSettings = {
|
|
1420
|
+
renderSpinner: () => React__default.createElement(Spinner, null),
|
|
1421
|
+
};
|
|
1241
1422
|
const settings = {
|
|
1242
1423
|
accordion: accordionSettings,
|
|
1243
1424
|
alert: alertSettings,
|
|
1244
1425
|
badge: badgeSettings,
|
|
1245
1426
|
button: buttonSettings,
|
|
1427
|
+
blocker: blockerSettings,
|
|
1246
1428
|
checkbox: checkboxSettings,
|
|
1247
1429
|
countIndicator: countIndicatorSettings,
|
|
1248
1430
|
dataTable: dataTableSettings,
|
|
@@ -1259,6 +1441,7 @@ const settings = {
|
|
|
1259
1441
|
numericInput: numericInputSettings,
|
|
1260
1442
|
paginator: paginatorSettings,
|
|
1261
1443
|
pickerInput: pickerInputSettings,
|
|
1444
|
+
presetsPanel: presetsPanelSettings,
|
|
1262
1445
|
radioInput: radioInputSettings,
|
|
1263
1446
|
rangeDatePicker: rangeDatePickerSettings,
|
|
1264
1447
|
rating: ratingSettings,
|
|
@@ -1272,11 +1455,11 @@ const settings = {
|
|
|
1272
1455
|
textInput: textInputSettings,
|
|
1273
1456
|
};
|
|
1274
1457
|
|
|
1275
|
-
var css$
|
|
1458
|
+
var css$1u = {"root":"T0I3fC"};
|
|
1276
1459
|
|
|
1277
1460
|
function applyButtonMods(mods) {
|
|
1278
1461
|
return [
|
|
1279
|
-
css$
|
|
1462
|
+
css$1u.root,
|
|
1280
1463
|
'uui-button',
|
|
1281
1464
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
1282
1465
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -1290,10 +1473,10 @@ const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, ()
|
|
|
1290
1473
|
};
|
|
1291
1474
|
});
|
|
1292
1475
|
|
|
1293
|
-
var css$
|
|
1476
|
+
var css$1t = {"root":"Bfftk9"};
|
|
1294
1477
|
|
|
1295
1478
|
function applyIconButtonMods(props) {
|
|
1296
|
-
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$
|
|
1479
|
+
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1t.root];
|
|
1297
1480
|
}
|
|
1298
1481
|
const IconButton = /* @__PURE__ */withMods(uuiComponents.IconButton, applyIconButtonMods, (props) => {
|
|
1299
1482
|
const isDeprecated = ['info', 'success', 'error', 'warning'].includes(props.color);
|
|
@@ -1327,7 +1510,7 @@ function getIconClass(props) {
|
|
|
1327
1510
|
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
1511
|
}
|
|
1329
1512
|
|
|
1330
|
-
var css$
|
|
1513
|
+
var css$1s = {"root":"pAR-z9"};
|
|
1331
1514
|
|
|
1332
1515
|
const DEFAULT_COLOR = 'primary';
|
|
1333
1516
|
const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
@@ -1342,7 +1525,7 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1342
1525
|
}
|
|
1343
1526
|
const rootStyles = [
|
|
1344
1527
|
'uui-link_button',
|
|
1345
|
-
css$
|
|
1528
|
+
css$1s.root,
|
|
1346
1529
|
`uui-size-${props.size || settings.linkButton.sizes.default}`,
|
|
1347
1530
|
...getIconClass(props),
|
|
1348
1531
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
@@ -1357,11 +1540,11 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1357
1540
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1358
1541
|
});
|
|
1359
1542
|
|
|
1360
|
-
var css$
|
|
1543
|
+
var css$1r = {"root":"_-91Ltk"};
|
|
1361
1544
|
|
|
1362
1545
|
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1363
1546
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
1364
|
-
css$
|
|
1547
|
+
css$1r.root,
|
|
1365
1548
|
'uui-count_indicator',
|
|
1366
1549
|
`uui-size-${props.size || settings.countIndicator.sizes.default}`,
|
|
1367
1550
|
props.color && `uui-color-${props.color}`,
|
|
@@ -1369,11 +1552,11 @@ const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1369
1552
|
]) }, props.caption));
|
|
1370
1553
|
});
|
|
1371
1554
|
|
|
1372
|
-
var css$
|
|
1555
|
+
var css$1q = {"root":"MYWyDy","withNotify":"_9Oeqph"};
|
|
1373
1556
|
|
|
1374
1557
|
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1375
1558
|
const styles = [
|
|
1376
|
-
css$
|
|
1559
|
+
css$1q.root,
|
|
1377
1560
|
'uui-tab-button',
|
|
1378
1561
|
`uui-size-${props.size || settings.tabButton.sizes.default}`,
|
|
1379
1562
|
...getIconClass(props),
|
|
@@ -1390,27 +1573,27 @@ const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1390
1573
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1391
1574
|
(props.caption || props.withNotify) && (React__default.createElement("div", { className: cx$1(uuiElement.caption) },
|
|
1392
1575
|
props.caption,
|
|
1393
|
-
props.withNotify && React__default.createElement("div", { className: css$
|
|
1576
|
+
props.withNotify && React__default.createElement("div", { className: css$1q.withNotify }))),
|
|
1394
1577
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1395
1578
|
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: "neutral", size: settings.tabButton.sizes.countIndicatorMap[props.size || settings.tabButton.sizes.default], caption: props.count })),
|
|
1396
1579
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1397
1580
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1398
1581
|
});
|
|
1399
1582
|
|
|
1400
|
-
var css$
|
|
1583
|
+
var css$1p = {"root":"RFFsBW"};
|
|
1401
1584
|
|
|
1402
1585
|
function applyVerticalTabButtonMods() {
|
|
1403
|
-
return [css$
|
|
1586
|
+
return [css$1p.root, 'uui-vertical-tab-button'];
|
|
1404
1587
|
}
|
|
1405
1588
|
const VerticalTabButton = /* @__PURE__ */withMods(TabButton, applyVerticalTabButtonMods);
|
|
1406
1589
|
|
|
1407
|
-
var css$
|
|
1590
|
+
var css$1o = {"root":"z9jLON"};
|
|
1408
1591
|
|
|
1409
1592
|
function applyCheckboxMods(mods) {
|
|
1410
1593
|
return [
|
|
1411
|
-
css$
|
|
1594
|
+
css$1o.root,
|
|
1412
1595
|
`uui-size-${mods.size || settings.checkbox.sizes.default}`,
|
|
1413
|
-
|
|
1596
|
+
'uui-control-mode-' + (mods.mode || 'form'),
|
|
1414
1597
|
'uui-color-primary',
|
|
1415
1598
|
];
|
|
1416
1599
|
}
|
|
@@ -1422,11 +1605,11 @@ const applyUUICheckboxProps = (props) => {
|
|
|
1422
1605
|
};
|
|
1423
1606
|
const Checkbox = /* @__PURE__ */withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1424
1607
|
|
|
1425
|
-
var css$
|
|
1608
|
+
var css$1n = {"root":"JIv6fm"};
|
|
1426
1609
|
|
|
1427
1610
|
function applyRadioInputMods(mods) {
|
|
1428
1611
|
return [
|
|
1429
|
-
css$
|
|
1612
|
+
css$1n.root,
|
|
1430
1613
|
`uui-size-${mods.size || settings.radioInput.sizes.default}`,
|
|
1431
1614
|
'uui-radio-input-container',
|
|
1432
1615
|
'uui-color-primary',
|
|
@@ -1434,11 +1617,11 @@ function applyRadioInputMods(mods) {
|
|
|
1434
1617
|
}
|
|
1435
1618
|
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
1436
1619
|
|
|
1437
|
-
var css$
|
|
1620
|
+
var css$1m = {"root":"UKYCQS"};
|
|
1438
1621
|
|
|
1439
1622
|
function applySwitchMods(mods) {
|
|
1440
1623
|
return [
|
|
1441
|
-
css$
|
|
1624
|
+
css$1m.root,
|
|
1442
1625
|
`uui-size-${mods.size || settings.switch.sizes.default}`,
|
|
1443
1626
|
'uui-color-primary',
|
|
1444
1627
|
];
|
|
@@ -1458,14 +1641,14 @@ var EditMode;
|
|
|
1458
1641
|
EditMode["INLINE"] = "inline";
|
|
1459
1642
|
})(EditMode || (EditMode = {}));
|
|
1460
1643
|
|
|
1461
|
-
var textInputCss = {"root":"
|
|
1644
|
+
var textInputCss = {"root":"_6rg5ox"};
|
|
1462
1645
|
|
|
1463
1646
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1464
1647
|
function applyTextInputMods(mods) {
|
|
1465
1648
|
return [
|
|
1466
1649
|
textInputCss.root,
|
|
1467
1650
|
`uui-size-${mods.size || settings.textInput.sizes.default}`,
|
|
1468
|
-
|
|
1651
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$3),
|
|
1469
1652
|
];
|
|
1470
1653
|
}
|
|
1471
1654
|
const TextInput = /* @__PURE__ */withMods(TextInput$1, applyTextInputMods, () => ({
|
|
@@ -1483,9 +1666,9 @@ const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1483
1666
|
} }));
|
|
1484
1667
|
});
|
|
1485
1668
|
|
|
1486
|
-
var css$
|
|
1669
|
+
var css$1l = {"root":"NI2nQc"};
|
|
1487
1670
|
|
|
1488
|
-
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$
|
|
1671
|
+
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1l.root, 'uui-control-group']);
|
|
1489
1672
|
|
|
1490
1673
|
function MultiSwitchComponent(props, ref) {
|
|
1491
1674
|
return (React.createElement(ControlGroup, { ref: ref, rawProps: {
|
|
@@ -1499,15 +1682,15 @@ function MultiSwitchComponent(props, ref) {
|
|
|
1499
1682
|
}
|
|
1500
1683
|
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
1501
1684
|
|
|
1502
|
-
var css$
|
|
1685
|
+
var css$1k = {"root":"RPgu-d"};
|
|
1503
1686
|
|
|
1504
1687
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1505
1688
|
function applyNumericInputMods(mods) {
|
|
1506
1689
|
return [
|
|
1507
1690
|
textInputCss.root,
|
|
1508
|
-
css$
|
|
1691
|
+
css$1k.root,
|
|
1509
1692
|
`uui-size-${mods.size || settings.numericInput.sizes.default}`,
|
|
1510
|
-
|
|
1693
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$2),
|
|
1511
1694
|
];
|
|
1512
1695
|
}
|
|
1513
1696
|
const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMods, (props) => {
|
|
@@ -1519,15 +1702,15 @@ const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMo
|
|
|
1519
1702
|
};
|
|
1520
1703
|
});
|
|
1521
1704
|
|
|
1522
|
-
var css$
|
|
1705
|
+
var css$1j = {"root":"JPLU69"};
|
|
1523
1706
|
|
|
1524
1707
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1525
1708
|
function applyTextAreaMods(mods) {
|
|
1526
1709
|
return [
|
|
1527
|
-
css$
|
|
1710
|
+
css$1j.root,
|
|
1528
1711
|
'uui-textarea',
|
|
1529
1712
|
'uui-size-' + (mods.size || settings.textArea.sizes.default),
|
|
1530
|
-
|
|
1713
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$1),
|
|
1531
1714
|
];
|
|
1532
1715
|
}
|
|
1533
1716
|
const TextArea = /* @__PURE__ */withMods(TextArea$1, applyTextAreaMods, (props) => {
|
|
@@ -1560,17 +1743,17 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1560
1743
|
};
|
|
1561
1744
|
}
|
|
1562
1745
|
|
|
1563
|
-
var css$
|
|
1746
|
+
var css$1i = {"root":"SxYzLE","main-path":"-r9ObK","mainPath":"-r9ObK","content-wrapper":"UwLMvg","contentWrapper":"UwLMvg","content":"i8eU2J","action-wrapper":"vfpwab","actionWrapper":"vfpwab","icon-wrapper":"qkVQek","iconWrapper":"qkVQek","icon":"Kd0MlY","close-icon":"_7wFZOZ","closeIcon":"_7wFZOZ"};
|
|
1564
1747
|
|
|
1565
|
-
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", { role: "alert", ref: ref, className: cx('uui-alert', css$
|
|
1566
|
-
React.createElement("div", { className: css$
|
|
1567
|
-
React.createElement("div", { className: css$
|
|
1568
|
-
props.icon && (React.createElement("div", { className: css$
|
|
1569
|
-
React.createElement(IconContainer, { icon: props.icon, cx: css$
|
|
1570
|
-
React.createElement("div", { className: css$
|
|
1748
|
+
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", { role: "alert", ref: ref, className: cx('uui-alert', css$1i.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
1749
|
+
React.createElement("div", { className: css$1i.mainPath },
|
|
1750
|
+
React.createElement("div", { className: css$1i.contentWrapper },
|
|
1751
|
+
props.icon && (React.createElement("div", { className: css$1i.iconWrapper },
|
|
1752
|
+
React.createElement(IconContainer, { icon: props.icon, cx: css$1i.icon }))),
|
|
1753
|
+
React.createElement("div", { className: css$1i.content },
|
|
1571
1754
|
props.children,
|
|
1572
|
-
props.actions && (React.createElement("div", { className: css$
|
|
1573
|
-
props.onClose && React.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$
|
|
1755
|
+
props.actions && (React.createElement("div", { className: css$1i.actionWrapper }, props.actions.map((action) => (React.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1i.actionLink, size: settings.alert.sizes.actionMap[props.size || settings.alert.sizes.default] }))))))),
|
|
1756
|
+
props.onClose && React.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$1i.closeIcon })))));
|
|
1574
1757
|
const WarningAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.warningIcon, color: "warning", ref: ref, ...props }));
|
|
1575
1758
|
const SuccessAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.successIcon, color: "success", ref: ref, ...props }));
|
|
1576
1759
|
const HintAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.infoIcon, color: "info", ref: ref, ...props }));
|
|
@@ -1578,18 +1761,18 @@ const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createE
|
|
|
1578
1761
|
|
|
1579
1762
|
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
1580
1763
|
|
|
1581
|
-
var css$
|
|
1764
|
+
var css$1h = {"root":"qQfvoP"};
|
|
1582
1765
|
|
|
1583
1766
|
function applyDropdownContainerMods(mods) {
|
|
1584
1767
|
return [
|
|
1585
|
-
css$
|
|
1768
|
+
css$1h.root,
|
|
1586
1769
|
mods.vPadding && `vPadding-${mods.vPadding}`,
|
|
1587
1770
|
mods.padding && `padding-${mods.padding}`,
|
|
1588
1771
|
];
|
|
1589
1772
|
}
|
|
1590
1773
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
1591
1774
|
|
|
1592
|
-
var css$
|
|
1775
|
+
var css$1g = {"submenu-root-item-rtl":"s-UfYD","submenuRootItemRtl":"s-UfYD","icon-after":"SoZUvv","iconAfter":"SoZUvv","submenu-root-item":"n6as3B","submenuRootItem":"n6as3B","icon-check":"xC9j95","iconCheck":"xC9j95","splitter-root":"iZSN4c","splitterRoot":"iZSN4c","splitter":"_6j-gL-","header-root":"txGe0H","headerRoot":"txGe0H","item-root":"U4A517","itemRoot":"U4A517","icon":"RSNn3t","link":"kueaky","indent":"LPMWFu","selected-mark":"pDW0QC","selectedMark":"pDW0QC"};
|
|
1593
1776
|
|
|
1594
1777
|
var IDropdownControlKeys;
|
|
1595
1778
|
(function (IDropdownControlKeys) {
|
|
@@ -1654,29 +1837,29 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1654
1837
|
const getMenuButtonContent = () => {
|
|
1655
1838
|
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
1656
1839
|
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
1657
|
-
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: cx$1(css$
|
|
1840
|
+
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: cx$1(css$1g.icon, iconPosition === 'right' ? css$1g.iconAfter : css$1g.iconBefore) }));
|
|
1658
1841
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1659
1842
|
isIconBefore && iconElement,
|
|
1660
|
-
React__default.createElement(Text$1, { cx: props.indent && css$
|
|
1843
|
+
React__default.createElement(Text$1, { cx: props.indent && css$1g.indent }, caption),
|
|
1661
1844
|
isIconAfter && (React__default.createElement(React__default.Fragment, null,
|
|
1662
1845
|
React__default.createElement(FlexSpacer, null),
|
|
1663
1846
|
iconElement))));
|
|
1664
1847
|
};
|
|
1665
1848
|
const isAnchor = Boolean(link || href);
|
|
1666
|
-
const itemClassNames = cx$1(props.cx, css$
|
|
1667
|
-
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$
|
|
1849
|
+
const itemClassNames = cx$1(props.cx, css$1g.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened, (!isDisabled && onClick) && uuiMarkers.clickable);
|
|
1850
|
+
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$1g.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__default.createElement("div", { tabIndex: isDisabled ? -1 : 0, role: "menuitem", onKeyDown: isDisabled ? null : handleOpenDropdown, className: itemClassNames, onClick: handleClick, ref: ref },
|
|
1668
1851
|
getMenuButtonContent(),
|
|
1669
1852
|
isSelected && (React__default.createElement(React__default.Fragment, null,
|
|
1670
1853
|
React__default.createElement(FlexSpacer, null),
|
|
1671
|
-
React__default.createElement(IconContainer, { icon: settings.dropdownMenu.icons.acceptIcon, cx: css$
|
|
1854
|
+
React__default.createElement(IconContainer, { icon: settings.dropdownMenu.icons.acceptIcon, cx: css$1g.selectedMark })))));
|
|
1672
1855
|
});
|
|
1673
1856
|
function DropdownMenuSplitter(props) {
|
|
1674
|
-
return (React__default.createElement("div", { className: cx$1(props.cx, css$
|
|
1675
|
-
React__default.createElement("hr", { className: css$
|
|
1857
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$1g.splitterRoot) },
|
|
1858
|
+
React__default.createElement("hr", { className: css$1g.splitter })));
|
|
1676
1859
|
}
|
|
1677
1860
|
function DropdownMenuHeader(props) {
|
|
1678
|
-
return (React__default.createElement("div", { className: cx$1('uui-dropdown-menu-header', props.cx, css$
|
|
1679
|
-
React__default.createElement("span", { className: css$
|
|
1861
|
+
return (React__default.createElement("div", { className: cx$1('uui-dropdown-menu-header', props.cx, css$1g.headerRoot) },
|
|
1862
|
+
React__default.createElement("span", { className: css$1g.header }, props.caption)));
|
|
1680
1863
|
}
|
|
1681
1864
|
function DropdownSubMenu(props) {
|
|
1682
1865
|
const subMenuModifiers = [
|
|
@@ -1696,7 +1879,7 @@ function DropdownSubMenu(props) {
|
|
|
1696
1879
|
},
|
|
1697
1880
|
];
|
|
1698
1881
|
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$
|
|
1882
|
+
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$1g.submenuRootItemRtl : css$1g.submenuRootItem), icon: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
1700
1883
|
}
|
|
1701
1884
|
function DropdownMenuSwitchButton(props) {
|
|
1702
1885
|
const context = useContext(UuiContext);
|
|
@@ -1712,29 +1895,29 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1712
1895
|
onHandleValueChange(!isSelected);
|
|
1713
1896
|
}
|
|
1714
1897
|
};
|
|
1715
|
-
return (React__default.createElement("div", { className: cx$1(props.cx, css$
|
|
1716
|
-
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$
|
|
1898
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$1g.itemRoot, isDisabled && uuiMod.disabled, (!isDisabled || onValueChange) && uuiMarkers.clickable), onClick: () => onHandleValueChange(!isSelected), role: "menuitem", onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 },
|
|
1899
|
+
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$1g.iconBefore }),
|
|
1717
1900
|
React__default.createElement(Text$1, null, caption),
|
|
1718
1901
|
React__default.createElement(FlexSpacer, null),
|
|
1719
1902
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1720
1903
|
}
|
|
1721
1904
|
|
|
1722
|
-
var css$
|
|
1905
|
+
var css$1f = {"root":"_2jm0IF","mode-block":"goYfr2","modeBlock":"goYfr2","mode-inline":"oD-s5o","modeInline":"oD-s5o","padding-0":"MwJ62q","padding0":"MwJ62q","padding-6":"EKaf5U","padding6":"EKaf5U","padding-12":"Ebpm-0","padding12":"Ebpm-0","padding-18":"_4KFdVq","padding18":"_4KFdVq"};
|
|
1723
1906
|
|
|
1724
1907
|
function applyAccordionMods(mods) {
|
|
1725
1908
|
return [
|
|
1726
|
-
css$
|
|
1727
|
-
css$
|
|
1728
|
-
mods.padding && css$
|
|
1909
|
+
css$1f.root,
|
|
1910
|
+
css$1f[`mode-${mods.mode || 'block'}`],
|
|
1911
|
+
mods.padding && css$1f['padding-' + mods.padding],
|
|
1729
1912
|
];
|
|
1730
1913
|
}
|
|
1731
1914
|
const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordionMods, (mods) => ({
|
|
1732
1915
|
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
1733
1916
|
}));
|
|
1734
1917
|
|
|
1735
|
-
var css$
|
|
1918
|
+
var css$1e = {"root":"BvmuJF","align-items":"ZBqdVC","alignItems":"ZBqdVC","justify-content":"S5MUmV","justifyContent":"S5MUmV","border-top":"qwfLbD","borderTop":"qwfLbD","border-bottom":"euEAqf","borderBottom":"euEAqf","top-shadow":"D0qSEQ","topShadow":"D0qSEQ","padding":"Zw0bCN","margin":"_0kkU34","vPadding":"_5pLCkL","column-gap":"RdpL8O","columnGap":"RdpL8O","row-gap":"WjayGg","rowGap":"WjayGg","spacing":"YQwO4f"};
|
|
1736
1919
|
|
|
1737
|
-
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$
|
|
1920
|
+
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1e.flexCell]);
|
|
1738
1921
|
|
|
1739
1922
|
const FlexRow = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1740
1923
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1743,23 +1926,23 @@ const FlexRow = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1743
1926
|
}
|
|
1744
1927
|
}
|
|
1745
1928
|
const classNames = cx$1([
|
|
1746
|
-
css$
|
|
1929
|
+
css$1e.root,
|
|
1747
1930
|
'uui-flex-row',
|
|
1748
1931
|
props.onClick && uuiMarkers.clickable,
|
|
1749
1932
|
props.cx,
|
|
1750
1933
|
props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
|
|
1751
|
-
props.alignItems && css$
|
|
1752
|
-
props.justifyContent && css$
|
|
1753
|
-
props.padding && css$
|
|
1754
|
-
props.vPadding && css$
|
|
1755
|
-
props.margin && css$
|
|
1756
|
-
props.topShadow && css$
|
|
1757
|
-
props.borderBottom && css$
|
|
1758
|
-
props.borderTop && css$
|
|
1759
|
-
props.columnGap && css$
|
|
1760
|
-
props.rowGap && css$
|
|
1761
|
-
props.spacing && css$
|
|
1762
|
-
props.background &&
|
|
1934
|
+
props.alignItems && css$1e.alignItems,
|
|
1935
|
+
props.justifyContent && css$1e.justifyContent,
|
|
1936
|
+
props.padding && css$1e.padding,
|
|
1937
|
+
props.vPadding && css$1e.vPadding,
|
|
1938
|
+
props.margin && css$1e.margin,
|
|
1939
|
+
props.topShadow && css$1e.topShadow,
|
|
1940
|
+
props.borderBottom && css$1e.borderBottom,
|
|
1941
|
+
props.borderTop && css$1e.borderTop,
|
|
1942
|
+
props.columnGap && css$1e.columnGap,
|
|
1943
|
+
props.rowGap && css$1e.rowGap,
|
|
1944
|
+
props.spacing && css$1e.spacing,
|
|
1945
|
+
props.background && `uui-flex-row-bg-${props.background}`,
|
|
1763
1946
|
]);
|
|
1764
1947
|
const style = {
|
|
1765
1948
|
...(props.alignItems && { '--uui-flex-row-align-items': props.alignItems }),
|
|
@@ -1777,32 +1960,32 @@ const FlexRow = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1777
1960
|
} }, props.children));
|
|
1778
1961
|
});
|
|
1779
1962
|
|
|
1780
|
-
var css$
|
|
1963
|
+
var css$1d = {"root":"bGo3Jh","margin-24":"FVeOTc","margin24":"FVeOTc","padding-12":"XAN6ER","padding12":"XAN6ER","padding-24":"_7QHySj","padding24":"_7QHySj","shadow":"lVMlKC","uui-surface-main":"zTQSmh","uuiSurfaceMain":"zTQSmh"};
|
|
1781
1964
|
|
|
1782
1965
|
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
1783
1966
|
'uui-panel',
|
|
1784
|
-
css$
|
|
1785
|
-
props.shadow && css$
|
|
1786
|
-
props.margin && css$
|
|
1787
|
-
props.background && css$
|
|
1967
|
+
css$1d.root,
|
|
1968
|
+
props.shadow && css$1d.shadow,
|
|
1969
|
+
props.margin && css$1d['margin-' + props.margin],
|
|
1970
|
+
props.background && css$1d[`uui-${props.background}`],
|
|
1788
1971
|
]);
|
|
1789
1972
|
|
|
1790
|
-
var css$
|
|
1973
|
+
var css$1c = {"root":"_3YURMH"};
|
|
1791
1974
|
|
|
1792
1975
|
function applyTooltipMods(mods) {
|
|
1793
1976
|
return [
|
|
1794
|
-
css$
|
|
1977
|
+
css$1c.root,
|
|
1795
1978
|
`uui-color-${mods.color || 'inverted'}`,
|
|
1796
1979
|
];
|
|
1797
1980
|
}
|
|
1798
1981
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1799
1982
|
|
|
1800
|
-
var css$
|
|
1983
|
+
var css$1b = {"root":"W7EXrV"};
|
|
1801
1984
|
|
|
1802
1985
|
function applyLabeledInputMods(mods) {
|
|
1803
1986
|
return [
|
|
1804
1987
|
'uui-labeled-input',
|
|
1805
|
-
css$
|
|
1988
|
+
css$1b.root,
|
|
1806
1989
|
'uui-size-' + (mods.size || settings.labeledInput.sizes.default),
|
|
1807
1990
|
];
|
|
1808
1991
|
}
|
|
@@ -1814,7 +1997,7 @@ function applyLabeledInputProps(props) {
|
|
|
1814
1997
|
}
|
|
1815
1998
|
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
1816
1999
|
|
|
1817
|
-
var css$
|
|
2000
|
+
var css$1a = {"root":"QQ7f52"};
|
|
1818
2001
|
|
|
1819
2002
|
function RadioGroup(props) {
|
|
1820
2003
|
const direction = props.direction || 'vertical';
|
|
@@ -1823,175 +2006,26 @@ function RadioGroup(props) {
|
|
|
1823
2006
|
props.onValueChange(newVal);
|
|
1824
2007
|
}
|
|
1825
2008
|
};
|
|
1826
|
-
return (React.createElement("fieldset", { ref: props.forwardedRef, className: cx$1(css$
|
|
2009
|
+
return (React.createElement("fieldset", { ref: props.forwardedRef, className: cx$1(css$1a.root, directionMode[direction], props.cx), onFocus: props.onFocus, onBlur: props.onBlur, ...props.rawProps }, props.items.map((i) => {
|
|
1827
2010
|
const { id, name, renderName, ...restItemProps } = i;
|
|
1828
2011
|
return (React.createElement(RadioInput, { name: props.name, renderLabel: i.renderName ? i.renderName : () => i.name, value: props.value === i.id, onValueChange: () => handleChange(i.id), isDisabled: props.isDisabled || i.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, isRequired: props.isRequired, key: i.id.toString(), size: props.size || i.size, ...restItemProps }));
|
|
1829
2012
|
})));
|
|
1830
2013
|
}
|
|
1831
2014
|
|
|
1832
|
-
var css$
|
|
2015
|
+
var css$19 = {"root":"_1a0wCd"};
|
|
1833
2016
|
|
|
1834
2017
|
function applyScrollBarsMods() {
|
|
1835
2018
|
return [
|
|
1836
|
-
css$
|
|
2019
|
+
css$19.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1837
2020
|
];
|
|
1838
2021
|
}
|
|
1839
2022
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
1840
2023
|
|
|
1841
|
-
var css$
|
|
1842
|
-
|
|
1843
|
-
var css$1b = {"root":"-rzHzh"};
|
|
1844
|
-
|
|
1845
|
-
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$1b.root]);
|
|
1846
|
-
|
|
1847
|
-
var css$1a = {"root":"o0-PaC"};
|
|
1848
|
-
|
|
1849
|
-
const DEFAULT_FILL = 'solid';
|
|
1850
|
-
function applyBadgeMods(mods) {
|
|
1851
|
-
return [
|
|
1852
|
-
'uui-badge',
|
|
1853
|
-
css$1a.root,
|
|
1854
|
-
`uui-size-${mods.size || settings.badge.sizes.default}`,
|
|
1855
|
-
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1856
|
-
`uui-color-${mods.color || 'info'}`,
|
|
1857
|
-
];
|
|
1858
|
-
}
|
|
1859
|
-
const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1860
|
-
const styles = [applyBadgeMods(props), props.cx];
|
|
1861
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.badge.icons.dropdownIcon;
|
|
1862
|
-
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
1863
|
-
'aria-haspopup': props.isDropdown,
|
|
1864
|
-
'aria-expanded': props.isOpen,
|
|
1865
|
-
...props.rawProps,
|
|
1866
|
-
}, cx: styles, ref: ref },
|
|
1867
|
-
(props.indicator && props.fill === 'outline') && (React__default.createElement("div", { className: "uui-indicator" })),
|
|
1868
|
-
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1869
|
-
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.sizes.countIndicatorMap[props.size || settings.badge.sizes.default], caption: props.count })),
|
|
1871
|
-
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1872
|
-
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1873
|
-
});
|
|
1874
|
-
|
|
1875
|
-
var css$19 = {"root":"MeMoKy"};
|
|
1876
|
-
|
|
1877
|
-
function applyTagMods(props) {
|
|
1878
|
-
return [
|
|
1879
|
-
css$19.root,
|
|
1880
|
-
`uui-size-${props.size || settings.tag.sizes.default}`,
|
|
1881
|
-
`uui-color-${props.color || 'neutral'}`,
|
|
1882
|
-
`uui-fill-${props.fill || 'solid'}`,
|
|
1883
|
-
'uui-tag',
|
|
1884
|
-
];
|
|
1885
|
-
}
|
|
1886
|
-
const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1887
|
-
const styles = [applyTagMods(props), props.cx];
|
|
1888
|
-
const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
|
|
1889
|
-
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
|
|
1890
|
-
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
1891
|
-
'aria-haspopup': props.isDropdown,
|
|
1892
|
-
'aria-expanded': props.isOpen,
|
|
1893
|
-
...props.rawProps,
|
|
1894
|
-
}, cx: styles, ref: ref },
|
|
1895
|
-
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1896
|
-
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
1897
|
-
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.tag.sizes.countIndicatorMap[(props.size || settings.tag.sizes.default)], caption: props.count })),
|
|
1898
|
-
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1899
|
-
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1900
|
-
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1901
|
-
});
|
|
1902
|
-
|
|
1903
|
-
var css$18 = {"root":"-Jqj3E","uui-spinner":"_0SFhVH","uuiSpinner":"_0SFhVH"};
|
|
1904
|
-
|
|
1905
|
-
function applySpinnerMods() {
|
|
1906
|
-
return [css$18.root, 'uui-spinner'];
|
|
1907
|
-
}
|
|
1908
|
-
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
1909
|
-
|
|
1910
|
-
var css$17 = {"root":"YNWJlk","page":"E7aAu-","spacer":"_5ZKy5i","mode-ghost":"ZDc9QW","modeGhost":"ZDc9QW"};
|
|
1911
|
-
|
|
1912
|
-
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.paginator.sizes.default}`), ...params.rawProps },
|
|
1914
|
-
React__default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.leftArrowIcon, onClick: params.goToPrev, isDisabled: params.isFirst || props.isDisabled, fill: "outline", color: "secondary" }),
|
|
1915
|
-
params.pages.map((page, index) => {
|
|
1916
|
-
if (page.type === 'spacer') {
|
|
1917
|
-
return (React__default.createElement(Button, { cx: cx(css$17.spacer, css$17.page), size: props.size || settings.paginator.sizes.default, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
|
|
1918
|
-
}
|
|
1919
|
-
else {
|
|
1920
|
-
return (React__default.createElement(Button, { cx: cx(css$17[`mode-${!page.isActive && 'ghost'}`], css$17.page), size: props.size || settings.paginator.sizes.default, key: page.pageNumber, caption: page.pageNumber, onClick: () => page.onClick?.(), rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled }));
|
|
1921
|
-
}
|
|
1922
|
-
}),
|
|
1923
|
-
React__default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.rightArrowIcon, onClick: params.goToNext, isDisabled: params.isLast || props.isDisabled, fill: "outline", color: "secondary" })));
|
|
1924
|
-
return React__default.createElement(Paginator$1, { ...props, render: renderPaginator });
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
var css$16 = {"root":"U2Fur5","progress-bar":"_3CmEQq","progressBar":"_3CmEQq","progressBar-indeterminate":"Fvhy27","progressBarIndeterminate":"Fvhy27","size-12":"G-coZh","size12":"G-coZh","size-18":"uIEhiV","size18":"uIEhiV","size-24":"qEJtdT","size24":"qEJtdT"};
|
|
1928
|
-
|
|
1929
|
-
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1930
|
-
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$16.root, css$16[`size-${props.size || 12}`]) },
|
|
1931
|
-
React.createElement("div", { className: cx(css$16.progressBar) })));
|
|
1932
|
-
});
|
|
1933
|
-
|
|
1934
|
-
var css$15 = {"root":"H8fjxS","striped":"mLJhAM","animate-stripes":"sy34ss","animateStripes":"sy34ss","size-12":"U-DwCK","size12":"U-DwCK","size-18":"sJYU2R","size18":"sJYU2R","size-24":"_3nBL30","size24":"_3nBL30"};
|
|
1935
|
-
|
|
1936
|
-
const DEFAULT_SIZE = '12';
|
|
1937
|
-
function applyProgressBarMods(mods) {
|
|
1938
|
-
const size = mods.size || DEFAULT_SIZE;
|
|
1939
|
-
return [
|
|
1940
|
-
css$15.root,
|
|
1941
|
-
css$15[`size-${size}`],
|
|
1942
|
-
mods.striped && css$15.striped,
|
|
1943
|
-
];
|
|
1944
|
-
}
|
|
1945
|
-
const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProgressBarMods, (props) => ({
|
|
1946
|
-
hideLabel: props.hideLabel || props.striped,
|
|
1947
|
-
}));
|
|
1948
|
-
|
|
1949
|
-
var css$14 = {"root":"JHadV5"};
|
|
1950
|
-
|
|
1951
|
-
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1952
|
-
const { progress } = props;
|
|
1953
|
-
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$14.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$14.root, props.cx) }));
|
|
1954
|
-
});
|
|
1955
|
-
|
|
1956
|
-
var css$13 = {"root":"OwLJdg"};
|
|
1957
|
-
|
|
1958
|
-
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1959
|
-
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
1960
|
-
css$13.root,
|
|
1961
|
-
`uui-size-${props.size || settings.statusIndicator.sizes.default}`,
|
|
1962
|
-
'uui-status_indicator',
|
|
1963
|
-
`uui-color-${props.color || 'neutral'}`,
|
|
1964
|
-
`uui-fill-${props.fill || 'solid'}`,
|
|
1965
|
-
props.cx,
|
|
1966
|
-
]) },
|
|
1967
|
-
React__default.createElement("div", { className: "uui-status_indicator-dot" }),
|
|
1968
|
-
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1969
|
-
});
|
|
1970
|
-
|
|
1971
|
-
var css$12 = {"drag-handle":"EyerKu","dragHandle":"EyerKu","icon-container":"UaD1kC","iconContainer":"UaD1kC"};
|
|
1972
|
-
|
|
1973
|
-
function DataRowAddons(props) {
|
|
1974
|
-
const row = props.rowProps;
|
|
1975
|
-
const getIndent = () => {
|
|
1976
|
-
return (row.indent - 1) * settings.dataTable.sizes.body.indentUnitMap[props.size || settings.dataTable.sizes.body.row];
|
|
1977
|
-
};
|
|
1978
|
-
const getWidth = () => {
|
|
1979
|
-
return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
|
|
1980
|
-
};
|
|
1981
|
-
return (React__default.createElement(React__default.Fragment, null,
|
|
1982
|
-
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.dataTable.sizes.body.checkboxMap[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
1984
|
-
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: cx('uui-dr_addons-indent', `uui-size-${props.size}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__default.createElement(IconContainer, { rawProps: {
|
|
1985
|
-
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1986
|
-
role: 'button',
|
|
1987
|
-
}, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
|
|
1988
|
-
uuiElement.foldingArrow, uuiMarkers.clickable, css$12.iconContainer,
|
|
1989
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
|
|
1990
|
-
}
|
|
2024
|
+
var css$18 = {"scroll-container":"S-Y3J8","scrollContainer":"S-Y3J8","list-container":"R9rtMM","listContainer":"R9rtMM"};
|
|
1991
2025
|
|
|
1992
|
-
var css$
|
|
2026
|
+
var css$17 = {"root":"_4txjAb"};
|
|
1993
2027
|
|
|
1994
|
-
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$
|
|
2028
|
+
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$17.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
|
|
1995
2029
|
|
|
1996
2030
|
const VirtualList = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1997
2031
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = useVirtualList({
|
|
@@ -2005,7 +2039,7 @@ const VirtualList = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2005
2039
|
const scrollShadows = useScrollShadows({ root: scrollContainerRef.current });
|
|
2006
2040
|
const renderRows = () => props.renderRows?.({
|
|
2007
2041
|
listContainerRef, estimatedHeight, offsetY, scrollShadows,
|
|
2008
|
-
}) || (React.createElement("div", { className: css$
|
|
2042
|
+
}) || (React.createElement("div", { className: css$18.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
2009
2043
|
React.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
|
|
2010
2044
|
const renderView = ({ style }) => (React.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps }));
|
|
2011
2045
|
const scrollBarsRef = React.useCallback((scrollbars) => {
|
|
@@ -2013,7 +2047,7 @@ const VirtualList = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2013
2047
|
return;
|
|
2014
2048
|
scrollContainerRef.current = scrollbars.container.firstChild;
|
|
2015
2049
|
}, []);
|
|
2016
|
-
return (React.createElement(ScrollBars, { cx: cx$1(css$
|
|
2050
|
+
return (React.createElement(ScrollBars, { cx: cx$1(css$18.scrollContainer, props.cx, {
|
|
2017
2051
|
[uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
|
|
2018
2052
|
[uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
|
|
2019
2053
|
[uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
|
|
@@ -2035,7 +2069,7 @@ const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2035
2069
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
2036
2070
|
});
|
|
2037
2071
|
|
|
2038
|
-
var css$
|
|
2072
|
+
var css$16 = {"root":"_4shWZs"};
|
|
2039
2073
|
|
|
2040
2074
|
function CheckboxGroup(props) {
|
|
2041
2075
|
const currentValue = props.value || [];
|
|
@@ -2051,16 +2085,16 @@ function CheckboxGroup(props) {
|
|
|
2051
2085
|
}
|
|
2052
2086
|
props.onValueChange(newSelection);
|
|
2053
2087
|
};
|
|
2054
|
-
return (React.createElement("fieldset", { ref: props.forwardedRef, className: cx$1(css$
|
|
2088
|
+
return (React.createElement("fieldset", { ref: props.forwardedRef, className: cx$1(css$16.root, directionMode[direction], props.cx), ...props.rawProps }, props.items.map((i) => {
|
|
2055
2089
|
const { id, name, renderName, ...restItemProps } = i;
|
|
2056
2090
|
return (React.createElement(Checkbox, { renderLabel: i.renderName ? i.renderName : () => i.name, value: currentValue.indexOf(i.id) !== -1, onValueChange: (selected) => handleChange(selected, i.id), isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, isRequired: props.isRequired, key: i.id.toString(), size: props.size || i.size, ...restItemProps }));
|
|
2057
2091
|
})));
|
|
2058
2092
|
}
|
|
2059
2093
|
|
|
2060
|
-
var css
|
|
2094
|
+
var css$15 = {"root":"yiu2gv","modal-blocker":"OasSTg","modalBlocker":"OasSTg","animateModalBlocker":"vub6G1","modal":"Xo1-5C","modal-footer":"rSpnd7","modalFooter":"rSpnd7","border-top":"frR9Jp","borderTop":"frR9Jp","modal-header":"LdturX","modalHeader":"LdturX","border-bottom":"Mvplvu","borderBottom":"Mvplvu"};
|
|
2061
2095
|
|
|
2062
|
-
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css
|
|
2063
|
-
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css
|
|
2096
|
+
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$15.modalBlocker]);
|
|
2097
|
+
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$15.root, css$15.modal], (props) => {
|
|
2064
2098
|
const width = props.width;
|
|
2065
2099
|
const height = props.height || 'auto';
|
|
2066
2100
|
const maxHeight = isMobile() ? 'var(--uui-modals-mobile-max-height)' : (props.maxHeight || 'var(--uui-modals-max-height)');
|
|
@@ -2074,7 +2108,7 @@ const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, cs
|
|
|
2074
2108
|
};
|
|
2075
2109
|
});
|
|
2076
2110
|
function ModalHeader(props) {
|
|
2077
|
-
return (React__default.createElement("div", { className: cx(css
|
|
2111
|
+
return (React__default.createElement("div", { className: cx(css$15.root, css$15.modalHeader, 'uui-modal-header', props.borderBottom && css$15.borderBottom, props.cx), ...props.rawProps, style: {
|
|
2078
2112
|
...props.rawProps?.style,
|
|
2079
2113
|
} },
|
|
2080
2114
|
props.title && (React__default.createElement("div", { className: cx('uui-modal-title', 'uui-typography') }, props.title)),
|
|
@@ -2084,7 +2118,7 @@ function ModalHeader(props) {
|
|
|
2084
2118
|
React__default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: settings.modal.icons.closeIcon, onClick: props.onClose })))));
|
|
2085
2119
|
}
|
|
2086
2120
|
function ModalFooter(props) {
|
|
2087
|
-
return (React__default.createElement("div", { className: cx(css
|
|
2121
|
+
return (React__default.createElement("div", { className: cx(css$15.root, css$15.modalFooter, 'uui-modal-footer', props.borderTop && css$15.borderTop, props.cx), ...props.rawProps, style: {
|
|
2088
2122
|
...props.rawProps?.style,
|
|
2089
2123
|
} }, props.children));
|
|
2090
2124
|
}
|
|
@@ -2247,7 +2281,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2247
2281
|
});
|
|
2248
2282
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2249
2283
|
|
|
2250
|
-
var css$
|
|
2284
|
+
var css$14 = {"root":"hD9-pV","icon-wrapper":"CgpNca","iconWrapper":"CgpNca","action-wrapper":"dOZ0jd","actionWrapper":"dOZ0jd","close-icon":"sz6MzB","closeIcon":"sz6MzB","main-path":"nxbsgx","mainPath":"nxbsgx","content":"cj7GC-","close-wrapper":"Xwd8fL","closeWrapper":"Xwd8fL","clear-notifications":"_74iihc","clearNotifications":"_74iihc"};
|
|
2251
2285
|
|
|
2252
2286
|
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
2253
2287
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -2260,15 +2294,15 @@ const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) =
|
|
|
2260
2294
|
notificationCardNode.current?.removeEventListener('mouseleave', props.refreshTimer);
|
|
2261
2295
|
};
|
|
2262
2296
|
}, []);
|
|
2263
|
-
return (React__default.createElement("div", { role: "alert", className: cx('uui-notification_card', props.color && `uui-color-${props.color}`, css$
|
|
2264
|
-
React__default.createElement("div", { className: css$
|
|
2265
|
-
props.icon && (React__default.createElement("div", { className: css$
|
|
2266
|
-
React__default.createElement(IconContainer, { size:
|
|
2267
|
-
React__default.createElement("div", { className: css$
|
|
2297
|
+
return (React__default.createElement("div", { role: "alert", className: cx('uui-notification_card', props.color && `uui-color-${props.color}`, css$14.root, props.cx), ref: notificationCardNode, ...props.rawProps },
|
|
2298
|
+
React__default.createElement("div", { className: css$14.mainPath },
|
|
2299
|
+
props.icon && (React__default.createElement("div", { className: css$14.iconWrapper },
|
|
2300
|
+
React__default.createElement(IconContainer, { size: settings.notificationCard.sizes.icon, icon: props.icon }))),
|
|
2301
|
+
React__default.createElement("div", { className: css$14.content },
|
|
2268
2302
|
props.children,
|
|
2269
|
-
props.actions && (React__default.createElement("div", { className: css$
|
|
2270
|
-
props.onClose && (React__default.createElement("div", { className: css$
|
|
2271
|
-
React__default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$
|
|
2303
|
+
props.actions && (React__default.createElement("div", { className: css$14.actionWrapper }, props.actions.map((action) => (React__default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$14.actionLink, size: settings.notificationCard.sizes.action, rawProps: action.rawProps })))))),
|
|
2304
|
+
props.onClose && (React__default.createElement("div", { className: cx(css$14.closeWrapper, 'uui-notification_card-close_icon') },
|
|
2305
|
+
React__default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$14.closeIcon }))))));
|
|
2272
2306
|
});
|
|
2273
2307
|
const WarningNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.warningIcon, color: "warning", ...props, ref: ref, cx: props.cx })));
|
|
2274
2308
|
const SuccessNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.successIcon, color: "success", ...props, ref: ref, cx: props.cx })));
|
|
@@ -2276,11 +2310,11 @@ const HintNotification = /* @__PURE__ */React__default.forwardRef((props, ref) =
|
|
|
2276
2310
|
const ErrorNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.errorIcon, color: "error", ...props, ref: ref, cx: props.cx })));
|
|
2277
2311
|
function ClearNotification() {
|
|
2278
2312
|
const uuiCtx = useUuiContext();
|
|
2279
|
-
return (React__default.createElement("div", { className: cx(css$
|
|
2313
|
+
return (React__default.createElement("div", { className: cx(css$14.clearNotifications, 'uui-clear-notifications') },
|
|
2280
2314
|
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2281
2315
|
}
|
|
2282
2316
|
|
|
2283
|
-
var css$
|
|
2317
|
+
var css$13 = {"footer":"qCnbkQ"};
|
|
2284
2318
|
|
|
2285
2319
|
class ConfirmationModal extends React.Component {
|
|
2286
2320
|
render() {
|
|
@@ -2292,7 +2326,7 @@ class ConfirmationModal extends React.Component {
|
|
|
2292
2326
|
React.createElement(ModalWindow, { width: 420 },
|
|
2293
2327
|
React.createElement(ModalHeader, { borderBottom: true, title: this.props.caption, onClose: () => this.props.abort() }),
|
|
2294
2328
|
React.createElement(ScrollBars, null, bodyContent),
|
|
2295
|
-
React.createElement(ModalFooter, { cx: css$
|
|
2329
|
+
React.createElement(ModalFooter, { cx: css$13.footer },
|
|
2296
2330
|
this.props.hideCancelButton || (React.createElement(Button, { caption: i18n.form.modals.discardButton, onClick: () => this.props.success(false), fill: "outline", color: "secondary" })),
|
|
2297
2331
|
React.createElement(Button, { caption: i18n.form.modals.saveButton, onClick: () => this.props.success(true), color: "primary" })))));
|
|
2298
2332
|
}
|
|
@@ -2322,7 +2356,7 @@ function useReliableForceUpdate() {
|
|
|
2322
2356
|
return red[1];
|
|
2323
2357
|
}
|
|
2324
2358
|
|
|
2325
|
-
var css$
|
|
2359
|
+
var css$12 = {"root":"LAZ5fY","timepicker-input":"zLuyH3","timepickerInput":"zLuyH3","ltr-always":"cclC8N","ltrAlways":"cclC8N"};
|
|
2326
2360
|
|
|
2327
2361
|
const uuiTimePicker = {
|
|
2328
2362
|
container: 'uui-timepicker-container',
|
|
@@ -2361,23 +2395,23 @@ function TimePickerBody(props) {
|
|
|
2361
2395
|
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
2362
2396
|
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
2363
2397
|
};
|
|
2364
|
-
return (React.createElement("div", { className: cx$1(css$
|
|
2365
|
-
React.createElement("div", { className: css$
|
|
2398
|
+
return (React.createElement("div", { className: cx$1(css$12.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef, ...props.rawProps },
|
|
2399
|
+
React.createElement("div", { className: css$12.ltrAlways },
|
|
2366
2400
|
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2367
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
2401
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
|
|
2368
2402
|
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
2369
2403
|
.set(props.value)
|
|
2370
2404
|
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
2371
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
2405
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
|
|
2372
2406
|
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2373
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
2407
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: handleMinutesUpClick }),
|
|
2374
2408
|
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
2375
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
2409
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: handleMinutesDownClick }))),
|
|
2376
2410
|
MAX_HOURS === FORMAT_12H && (React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2377
|
-
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$
|
|
2411
|
+
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: onTimeTypeChange }),
|
|
2378
2412
|
React.createElement(TextInput$1, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
2379
2413
|
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
2380
|
-
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$
|
|
2414
|
+
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: onTimeTypeChange })))));
|
|
2381
2415
|
}
|
|
2382
2416
|
|
|
2383
2417
|
const getMeridian = (newValue, format) => {
|
|
@@ -2505,7 +2539,7 @@ function TimePicker(props) {
|
|
|
2505
2539
|
state.value && state.inputValue && saveTime(state.value);
|
|
2506
2540
|
};
|
|
2507
2541
|
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$
|
|
2542
|
+
return (React__default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$12.root, css$12.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
2543
|
};
|
|
2510
2544
|
const renderBody = (bodyProps) => {
|
|
2511
2545
|
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
@@ -2515,27 +2549,27 @@ function TimePicker(props) {
|
|
|
2515
2549
|
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
2550
|
}
|
|
2517
2551
|
|
|
2518
|
-
var css$
|
|
2552
|
+
var css$11 = {"root":"_5hif7i"};
|
|
2519
2553
|
|
|
2520
2554
|
function applyInputAddonMods() {
|
|
2521
2555
|
return [
|
|
2522
|
-
css$
|
|
2556
|
+
css$11.root,
|
|
2523
2557
|
];
|
|
2524
2558
|
}
|
|
2525
2559
|
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
2526
2560
|
|
|
2527
|
-
var css$
|
|
2561
|
+
var css$10 = {"root":"DMsvmJ"};
|
|
2528
2562
|
|
|
2529
2563
|
function applySliderMods() {
|
|
2530
|
-
return [css$
|
|
2564
|
+
return [css$10.root, 'uui-color-neutral'];
|
|
2531
2565
|
}
|
|
2532
2566
|
const Slider = /* @__PURE__ */withMods(Slider$1, applySliderMods);
|
|
2533
2567
|
|
|
2534
|
-
var css
|
|
2568
|
+
var css$$ = {"root":"Wrrt2G","tooltip":"f1CNKn"};
|
|
2535
2569
|
|
|
2536
2570
|
function applyRatingMods(mods) {
|
|
2537
2571
|
return [
|
|
2538
|
-
css
|
|
2572
|
+
css$$.root,
|
|
2539
2573
|
`uui-size-${mods.size || settings.rating.sizes.default}`,
|
|
2540
2574
|
];
|
|
2541
2575
|
}
|
|
@@ -2545,7 +2579,7 @@ const Rating = /* @__PURE__ */withMods(uuiComponents.Rating, applyRatingMods, (p
|
|
|
2545
2579
|
Tooltip,
|
|
2546
2580
|
}));
|
|
2547
2581
|
|
|
2548
|
-
var css$
|
|
2582
|
+
var css$_ = {"root":"_1AMA6u","container":"CHlXNo"};
|
|
2549
2583
|
|
|
2550
2584
|
const defaultFormat = 'MMM D, YYYY';
|
|
2551
2585
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2749,21 +2783,21 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2749
2783
|
}, [view, month]);
|
|
2750
2784
|
const disablePrev = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getPrevYearsList(month));
|
|
2751
2785
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2752
|
-
return (React.createElement("div", { className: cx(css$
|
|
2786
|
+
return (React.createElement("div", { className: cx(css$_.root, uuiHeader.container, cx) },
|
|
2753
2787
|
React.createElement("header", { className: uuiHeader.headerNav },
|
|
2754
2788
|
React.createElement(Button, { icon: navIconLeft || settings.datePicker.icons.body.prevIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2755
2789
|
React.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2756
2790
|
React.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2757
2791
|
}
|
|
2758
2792
|
|
|
2759
|
-
var css$
|
|
2793
|
+
var css$Z = {"root":"sw2bQd"};
|
|
2760
2794
|
|
|
2761
2795
|
function applyDateSelectionMods() {
|
|
2762
|
-
return [css$
|
|
2796
|
+
return [css$Z.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2763
2797
|
}
|
|
2764
2798
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2765
2799
|
|
|
2766
|
-
var css$
|
|
2800
|
+
var css$Y = {"root":"ZESMPx"};
|
|
2767
2801
|
|
|
2768
2802
|
const uuiDatePickerBody = {
|
|
2769
2803
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2807,7 +2841,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2807
2841
|
}
|
|
2808
2842
|
};
|
|
2809
2843
|
return (React__default.createElement("div", { ref: ref, className: cx$1(uuiDatePickerBodyBase.container, `uui-size-${settings.datePicker.sizes.body}`, classes), ...rawProps },
|
|
2810
|
-
React__default.createElement("div", { className: cx$1(css$
|
|
2844
|
+
React__default.createElement("div", { className: cx$1(css$Y.root, uuiDatePickerBody.wrapper) },
|
|
2811
2845
|
React__default.createElement(DatePickerHeader, { value: {
|
|
2812
2846
|
view,
|
|
2813
2847
|
month,
|
|
@@ -2889,7 +2923,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2889
2923
|
}
|
|
2890
2924
|
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
2891
2925
|
|
|
2892
|
-
var css$
|
|
2926
|
+
var css$X = {"date-input":"GSOaUP","dateInput":"GSOaUP","root":"whckXI","separator":"_4g-5po"};
|
|
2893
2927
|
|
|
2894
2928
|
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
2929
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2932,15 +2966,15 @@ const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid,
|
|
|
2932
2966
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2933
2967
|
return (
|
|
2934
2968
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
2935
|
-
React__default.createElement("div", { ref: ref, className: cx$1(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$
|
|
2936
|
-
React__default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: cx$1(css$
|
|
2937
|
-
React__default.createElement("div", { className: css$
|
|
2938
|
-
React__default.createElement(TextInput, { cx: cx$1(css$
|
|
2969
|
+
React__default.createElement("div", { ref: ref, className: cx$1(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$X.root, isDisabled && uuiMod.disabled, isReadonly && uuiMod.readonly, isInvalid && uuiMod.invalid, inFocus && uuiMod.focus), onKeyDown: onKeyDown },
|
|
2970
|
+
React__default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: cx$1(css$X.dateInput, inFocus === 'from' && uuiMod.focus), size: size || settings.rangeDatePicker.sizes.default, placeholder: getPlaceholder ? getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: inputValue.from || undefined, onValueChange: (v) => onInputChange(v || '', 'from'), onFocus: (event) => handleFocus(event, 'from'), onBlur: (event) => handleBlur(event, 'from'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.from, onClick: onClick, onKeyDown: onInputKeyDown, id: id }),
|
|
2971
|
+
React__default.createElement("div", { className: css$X.separator }),
|
|
2972
|
+
React__default.createElement(TextInput, { cx: cx$1(css$X.dateInput, inFocus === 'to' && uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.rangeDatePicker.sizes.default, value: inputValue.to || undefined, onCancel: clearAllowed ? () => {
|
|
2939
2973
|
onValueChange(defaultRangeValue);
|
|
2940
2974
|
} : 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
2975
|
});
|
|
2942
2976
|
|
|
2943
|
-
var css$
|
|
2977
|
+
var css$W = {"root":"t9lqYb"};
|
|
2944
2978
|
|
|
2945
2979
|
const uuiPresets = {
|
|
2946
2980
|
container: 'uui-presets-container',
|
|
@@ -2955,12 +2989,12 @@ const getPresets = (presets) => {
|
|
|
2955
2989
|
})).sort((a, b) => a.order - b.order);
|
|
2956
2990
|
};
|
|
2957
2991
|
function CalendarPresets(props) {
|
|
2958
|
-
return (React.createElement("div", { ref: props.forwardedRef, className: cx$1(uuiPresets.container, css$
|
|
2992
|
+
return (React.createElement("div", { ref: props.forwardedRef, className: cx$1(uuiPresets.container, css$W.root, props.cx), ...props.rawProps },
|
|
2959
2993
|
React.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
2960
2994
|
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
2961
2995
|
}
|
|
2962
2996
|
|
|
2963
|
-
var css$
|
|
2997
|
+
var css$V = {"root":"vx8KEu","container":"uewZ4y","day-selection":"CQHpN2","daySelection":"CQHpN2","from-picker":"P3QZ0X","fromPicker":"P3QZ0X","to-picker":"_5si4zG","toPicker":"_5si4zG","bodes-wrapper":"hoo1Os","bodesWrapper":"hoo1Os","blocker":"p1GmKT"};
|
|
2964
2998
|
|
|
2965
2999
|
const uuiRangeDatePickerBody = {
|
|
2966
3000
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3101,21 +3135,21 @@ function RangeDatePickerBodyComp(props, ref) {
|
|
|
3101
3135
|
});
|
|
3102
3136
|
}, presets: presets })));
|
|
3103
3137
|
};
|
|
3104
|
-
return (React__default.createElement("div", { ref: ref, className: cx
|
|
3105
|
-
React__default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$
|
|
3138
|
+
return (React__default.createElement("div", { ref: ref, className: cx(css$V.root, uuiDatePickerBodyBase.container, props.cx), ...props.rawProps },
|
|
3139
|
+
React__default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$V.daySelection, css$V.container], alignItems: "top" },
|
|
3106
3140
|
React__default.createElement(FlexCell, { width: "auto" },
|
|
3107
3141
|
React__default.createElement(FlexRow, null,
|
|
3108
|
-
React__default.createElement(FlexRow, { cx: css$
|
|
3109
|
-
React__default.createElement(StatelessDatePickerBody, { key: "date-picker-body-left", cx: cx
|
|
3142
|
+
React__default.createElement(FlexRow, { cx: css$V.bodesWrapper, alignItems: "top" },
|
|
3143
|
+
React__default.createElement(StatelessDatePickerBody, { key: "date-picker-body-left", cx: cx(css$V.fromPicker), ...from, onValueChange: (v) => onBodyValueChange(v, 'from'), onMonthChange: (m) => {
|
|
3110
3144
|
setMonth(m);
|
|
3111
3145
|
}, onViewChange: (v) => setView(v), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay || renderDay, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'to' }),
|
|
3112
|
-
React__default.createElement(StatelessDatePickerBody, { key: "date-picker-body-right", cx: cx
|
|
3146
|
+
React__default.createElement(StatelessDatePickerBody, { key: "date-picker-body-right", cx: cx(css$V.toPicker), ...to, onValueChange: (v) => onBodyValueChange(v, 'to'), onMonthChange: (m) => {
|
|
3113
3147
|
setMonth(m.subtract(1, 'month'));
|
|
3114
3148
|
}, onViewChange: (v) => setView(v), filter: props.filter, renderDay: props.renderDay || renderDay, isHoliday: props.isHoliday, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'from' }),
|
|
3115
3149
|
view !== 'DAY_SELECTION' && (React__default.createElement("div", { style: {
|
|
3116
3150
|
left: activeMonth === 'from' ? '50%' : undefined,
|
|
3117
3151
|
right: activeMonth === 'to' ? '50%' : undefined,
|
|
3118
|
-
}, className: css$
|
|
3152
|
+
}, className: css$V.blocker }))),
|
|
3119
3153
|
props.presets && renderPresets(props.presets)),
|
|
3120
3154
|
props.renderFooter && props.renderFooter()))));
|
|
3121
3155
|
}
|
|
@@ -3132,10 +3166,10 @@ const getDayCX = (day, selectedDate) => {
|
|
|
3132
3166
|
&& fromValue !== toValue;
|
|
3133
3167
|
const isFirst = dayValue === fromValue;
|
|
3134
3168
|
const isLast = dayValue === toValue;
|
|
3135
|
-
return [cx
|
|
3169
|
+
return [cx(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiDaySelection.selectedDay)];
|
|
3136
3170
|
};
|
|
3137
3171
|
|
|
3138
|
-
var css$
|
|
3172
|
+
var css$U = {"dropdown-container":"A0iN9d","dropdownContainer":"A0iN9d"};
|
|
3139
3173
|
|
|
3140
3174
|
const modifiers = [{
|
|
3141
3175
|
name: 'offset',
|
|
@@ -3179,7 +3213,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3179
3213
|
}
|
|
3180
3214
|
};
|
|
3181
3215
|
const renderBody = (renderProps) => {
|
|
3182
|
-
return (React__default.createElement(DropdownContainer, { ...renderProps, cx: cx(css$
|
|
3216
|
+
return (React__default.createElement(DropdownContainer, { ...renderProps, cx: cx(css$U.dropdownContainer), shards: [targetRef], returnFocus: true },
|
|
3183
3217
|
React__default.createElement(FlexRow, null,
|
|
3184
3218
|
React__default.createElement(RangeDatePickerBody, { cx: cx(props.bodyCx), value: {
|
|
3185
3219
|
selectedDate: _value,
|
|
@@ -3203,75 +3237,33 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3203
3237
|
}
|
|
3204
3238
|
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
3205
3239
|
|
|
3206
|
-
var css$
|
|
3240
|
+
var css$T = {"root":"vszFlY","blocker":"SdlksB","marker":"dZ0Uh6","top":"nkCpjI","bottom":"VFVDUl","left":"xI6-kp","right":"cTftM-","inside":"_64TOpf"};
|
|
3207
3241
|
|
|
3208
3242
|
function DropMarker(props) {
|
|
3209
3243
|
return props.isDndInProgress
|
|
3210
3244
|
? (React.createElement(React.Fragment, null,
|
|
3211
|
-
props.enableBlocker && React.createElement("div", { className: css$
|
|
3245
|
+
props.enableBlocker && React.createElement("div", { className: css$T.blocker }),
|
|
3212
3246
|
React.createElement("div", { className: cx([
|
|
3213
|
-
css$
|
|
3214
|
-
css$
|
|
3215
|
-
css$
|
|
3247
|
+
css$T.root,
|
|
3248
|
+
css$T.marker,
|
|
3249
|
+
css$T[props.position],
|
|
3216
3250
|
props?.cx,
|
|
3217
3251
|
]) })))
|
|
3218
3252
|
: null;
|
|
3219
3253
|
}
|
|
3220
3254
|
|
|
3221
|
-
var css$M = {"root":"_91b0aC","line-height":"Z3corC","lineHeight":"Z3corC","font-size":"I7mDOl","fontSize":"I7mDOl"};
|
|
3222
|
-
|
|
3223
|
-
function applyTextMods(mods) {
|
|
3224
|
-
return [
|
|
3225
|
-
css$M.root,
|
|
3226
|
-
'uui-text',
|
|
3227
|
-
`uui-size-${mods.size || settings.text.sizes.default}`,
|
|
3228
|
-
(mods.size !== 'none' || mods.lineHeight) && css$M.lineHeight,
|
|
3229
|
-
(mods.size !== 'none' || mods.fontSize) && css$M.fontSize,
|
|
3230
|
-
`uui-color-${mods.color || 'primary'}`,
|
|
3231
|
-
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
3232
|
-
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
3233
|
-
'uui-typography-inline',
|
|
3234
|
-
];
|
|
3235
|
-
}
|
|
3236
|
-
const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props) => {
|
|
3237
|
-
const style = props?.rawProps?.style || {};
|
|
3238
|
-
props.fontSize && (style['--uui-text-font-size'] = `${props.fontSize}px`);
|
|
3239
|
-
props.lineHeight && (style['--uui-text-line-height'] = `${props.lineHeight}px`);
|
|
3240
|
-
return {
|
|
3241
|
-
rawProps: {
|
|
3242
|
-
...props?.rawProps,
|
|
3243
|
-
style: style,
|
|
3244
|
-
},
|
|
3245
|
-
};
|
|
3246
|
-
});
|
|
3247
|
-
|
|
3248
|
-
var css$L = {"root":"_12Rjmn","loading-word":"vfxEXy","loadingWord":"vfxEXy","animated-loading":"-PDvxr","animatedLoading":"-PDvxr","skeleton_loading":"TXhH24","skeletonLoading":"TXhH24"};
|
|
3249
|
-
|
|
3250
|
-
const TextPlaceholder = (props) => {
|
|
3251
|
-
const pattern = ' ';
|
|
3252
|
-
const text = React.useMemo(() => {
|
|
3253
|
-
const words = [];
|
|
3254
|
-
for (let i = 0; i < (props.wordsCount || 1); i++) {
|
|
3255
|
-
const lengthWord = Math.floor(Math.random() * 10 + 8);
|
|
3256
|
-
words.push(pattern.repeat(lengthWord));
|
|
3257
|
-
}
|
|
3258
|
-
return words;
|
|
3259
|
-
}, [props.wordsCount]);
|
|
3260
|
-
return (React.createElement("div", { "aria-busy": true, className: cx(css$L.root, 'uui-text-placeholder'), ...props.rawProps }, text.map((it, index) => (React.createElement("span", { key: index, className: cx([
|
|
3261
|
-
props.cx, css$L.loadingWord, !props.isNotAnimated && css$L.animatedLoading,
|
|
3262
|
-
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
3263
|
-
};
|
|
3264
|
-
|
|
3265
3255
|
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
3266
3256
|
|
|
3267
|
-
var css$
|
|
3257
|
+
var css$S = {"modal":"cHuNnw","search-wrapper":"Ev6Uy7","searchWrapper":"Ev6Uy7","no-data":"wPeoq7","noData":"wPeoq7"};
|
|
3268
3258
|
|
|
3269
3259
|
class DataPickerBody extends PickerBodyBase {
|
|
3270
3260
|
constructor() {
|
|
3271
3261
|
super(...arguments);
|
|
3272
3262
|
this.lens = Lens.onEditableComponent(this);
|
|
3273
3263
|
this.searchLens = this.lens.prop('search').default('');
|
|
3274
|
-
this.getSearchSize = () => (isMobile()
|
|
3264
|
+
this.getSearchSize = () => (isMobile()
|
|
3265
|
+
? settings.pickerInput.sizes.body.mobileSearchInput
|
|
3266
|
+
: settings.pickerInput.sizes.body.getSearchSize({ pickerSize: this.props.searchSize }));
|
|
3275
3267
|
}
|
|
3276
3268
|
renderEmpty() {
|
|
3277
3269
|
const search = this.searchLens.get();
|
|
@@ -3283,7 +3275,7 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
3283
3275
|
});
|
|
3284
3276
|
}
|
|
3285
3277
|
if (this.props.minCharsToSearch && search.length < this.props.minCharsToSearch) {
|
|
3286
|
-
return (React__default.createElement(FlexCell$1, { cx: css$
|
|
3278
|
+
return (React__default.createElement(FlexCell$1, { cx: css$S.noData, grow: 1, textAlign: "center" },
|
|
3287
3279
|
React__default.createElement(Text, { size: this.props.searchSize }, i18n.dataPickerBody.typeSearchToLoadMessage)));
|
|
3288
3280
|
}
|
|
3289
3281
|
if (this.props.rows.length === 0) {
|
|
@@ -3298,25 +3290,23 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
3298
3290
|
}
|
|
3299
3291
|
// Default no record found message for 'NOT_FOUND' and "NO_RECORDS" reason
|
|
3300
3292
|
// TODO: make separate messages for 'NOT_FOUND' and "NO_RECORDS" reason
|
|
3301
|
-
return (React__default.createElement(FlexCell$1, { cx: css$
|
|
3293
|
+
return (React__default.createElement(FlexCell$1, { cx: css$S.noData, grow: 1, textAlign: "center" },
|
|
3302
3294
|
React__default.createElement(Text, { size: this.props.searchSize }, i18n.dataPickerBody.noRecordsMessage)));
|
|
3303
3295
|
}
|
|
3304
3296
|
}
|
|
3305
3297
|
render() {
|
|
3306
3298
|
const searchSize = this.getSearchSize();
|
|
3307
3299
|
return (React__default.createElement(React__default.Fragment, null,
|
|
3308
|
-
this.showSearch() && (React__default.createElement("div", { key: "search", className: cx$1(css$
|
|
3300
|
+
this.showSearch() && (React__default.createElement("div", { key: "search", className: cx$1(css$S.searchWrapper, 'uui-picker_input-body-search') },
|
|
3309
3301
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
3310
3302
|
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
|
-
React__default.createElement(FlexRow, { key: "body", cx: cx$1('uui-picker_input-body', css$
|
|
3303
|
+
React__default.createElement(FlexRow, { key: "body", cx: cx$1('uui-picker_input-body', css$S[this.props.editMode], css$S[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight, maxWidth: this.props.maxWidth } } }, this.props.rows.length === 0 && this.props.value.topIndex === 0
|
|
3312
3304
|
// We need to also ensure that topIndex === 0, because we can have state were there is no rows but topIndex > 0, in case when we scrolled lover than we have rows
|
|
3313
3305
|
// we fix this state on next render and shouldn't show empty state.
|
|
3314
3306
|
? this.renderEmpty() : (React__default.createElement(VirtualList, { ...this.lens.toProps(), rows: this.props.rows, rawProps: this.props.rawProps, rowsCount: this.props.rowsCount, isLoading: this.props.isReloading })))));
|
|
3315
3307
|
}
|
|
3316
3308
|
}
|
|
3317
3309
|
|
|
3318
|
-
var css$J = {"footer":"scgNKl"};
|
|
3319
|
-
|
|
3320
3310
|
function DataPickerFooterImpl(props) {
|
|
3321
3311
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
3322
3312
|
const size = isMobile() ? settings.pickerInput.sizes.body.mobileFooterLinkButton : props.size;
|
|
@@ -3329,7 +3319,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3329
3319
|
const isSearching = search?.length;
|
|
3330
3320
|
const hideFooter = (rowsCount === 0 && !hasSelection) || isSearching || (isSinglePicker && props.disableClear);
|
|
3331
3321
|
const showClear = !props.disableClear && (isSinglePicker ? true : (!view.selectAll || hasSelection));
|
|
3332
|
-
return !hideFooter && (React__default.createElement(FlexRow, { cx:
|
|
3322
|
+
return !hideFooter && (React__default.createElement(FlexRow, { cx: cx('uui-picker_input-footer', props.cx) },
|
|
3333
3323
|
!isSinglePicker && !isSearchTooShort && ( // Show this switch only for multi mode and when some rows rendered
|
|
3334
3324
|
React__default.createElement(Switch, { size: settings.pickerInput.sizes.body.footerSwitchMap[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
3335
3325
|
React__default.createElement(FlexSpacer, null),
|
|
@@ -3341,26 +3331,165 @@ function DataPickerFooterImpl(props) {
|
|
|
3341
3331
|
}
|
|
3342
3332
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
3343
3333
|
|
|
3344
|
-
var css$
|
|
3334
|
+
var css$R = {"header":"oeZtea","title":"o7iBOt","close":"m2O3CW"};
|
|
3345
3335
|
|
|
3346
3336
|
const DataPickerHeaderImpl = (props) => {
|
|
3347
3337
|
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: [css$
|
|
3349
|
-
React__default.createElement("div", { className: css$
|
|
3350
|
-
React__default.createElement(IconButton, { icon: settings.pickerInput.icons.body.pickerBodyMobileHeaderCloseIcon, onClick: () => props.close?.(), cx: css$
|
|
3338
|
+
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: [css$R.header, 'uui-picker_input-body-header'] },
|
|
3339
|
+
React__default.createElement("div", { className: css$R.title }, title),
|
|
3340
|
+
React__default.createElement(IconButton, { icon: settings.pickerInput.icons.body.pickerBodyMobileHeaderCloseIcon, onClick: () => props.close?.(), cx: css$R.close })));
|
|
3351
3341
|
};
|
|
3352
3342
|
const DataPickerHeader = /* @__PURE__ */React__default.memo(DataPickerHeaderImpl);
|
|
3353
3343
|
|
|
3354
|
-
var css$
|
|
3344
|
+
var css$Q = {"root":"kweT88"};
|
|
3345
|
+
|
|
3346
|
+
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$Q.root]);
|
|
3347
|
+
|
|
3348
|
+
var css$P = {"root":"DXA7nf"};
|
|
3349
|
+
|
|
3350
|
+
const DEFAULT_FILL = 'solid';
|
|
3351
|
+
function applyBadgeMods(mods) {
|
|
3352
|
+
return [
|
|
3353
|
+
'uui-badge',
|
|
3354
|
+
css$P.root,
|
|
3355
|
+
`uui-size-${mods.size || settings.badge.sizes.default}`,
|
|
3356
|
+
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
3357
|
+
`uui-color-${mods.color || 'info'}`,
|
|
3358
|
+
];
|
|
3359
|
+
}
|
|
3360
|
+
const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
3361
|
+
const styles = [applyBadgeMods(props), props.cx];
|
|
3362
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.badge.icons.dropdownIcon;
|
|
3363
|
+
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
3364
|
+
'aria-haspopup': props.isDropdown,
|
|
3365
|
+
'aria-expanded': props.isOpen,
|
|
3366
|
+
...props.rawProps,
|
|
3367
|
+
}, cx: styles, ref: ref },
|
|
3368
|
+
(props.indicator && props.fill === 'outline') && (React__default.createElement("div", { className: "uui-indicator" })),
|
|
3369
|
+
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3370
|
+
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
3371
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.sizes.countIndicatorMap[props.size || settings.badge.sizes.default], caption: props.count })),
|
|
3372
|
+
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3373
|
+
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
3374
|
+
});
|
|
3375
|
+
|
|
3376
|
+
var css$O = {"root":"hHGrkh"};
|
|
3377
|
+
|
|
3378
|
+
function applyTagMods(props) {
|
|
3379
|
+
return [
|
|
3380
|
+
css$O.root,
|
|
3381
|
+
`uui-size-${props.size || settings.tag.sizes.default}`,
|
|
3382
|
+
`uui-color-${props.color || 'neutral'}`,
|
|
3383
|
+
`uui-fill-${props.fill || 'solid'}`,
|
|
3384
|
+
'uui-tag',
|
|
3385
|
+
];
|
|
3386
|
+
}
|
|
3387
|
+
const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
3388
|
+
const styles = [applyTagMods(props), props.cx];
|
|
3389
|
+
const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
|
|
3390
|
+
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
|
|
3391
|
+
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
3392
|
+
'aria-haspopup': props.isDropdown,
|
|
3393
|
+
'aria-expanded': props.isOpen,
|
|
3394
|
+
...props.rawProps,
|
|
3395
|
+
}, cx: styles, ref: ref },
|
|
3396
|
+
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3397
|
+
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
3398
|
+
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.tag.sizes.countIndicatorMap[(props.size || settings.tag.sizes.default)], caption: props.count })),
|
|
3399
|
+
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3400
|
+
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
3401
|
+
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
3402
|
+
});
|
|
3403
|
+
|
|
3404
|
+
var css$N = {"root":"cm73oW","page":"_503VEM","spacer":"YZTguv","mode-ghost":"VxGlGW","modeGhost":"VxGlGW"};
|
|
3405
|
+
|
|
3406
|
+
function Paginator(props) {
|
|
3407
|
+
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$N.root, 'uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
|
|
3408
|
+
React__default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.leftArrowIcon, onClick: params.goToPrev, isDisabled: params.isFirst || props.isDisabled, fill: "outline", color: "secondary" }),
|
|
3409
|
+
params.pages.map((page, index) => {
|
|
3410
|
+
if (page.type === 'spacer') {
|
|
3411
|
+
return (React__default.createElement(Button, { cx: cx(css$N.spacer, css$N.page), size: props.size || settings.paginator.sizes.default, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
|
|
3412
|
+
}
|
|
3413
|
+
else {
|
|
3414
|
+
return (React__default.createElement(Button, { cx: cx(css$N[`mode-${!page.isActive && 'ghost'}`], css$N.page), size: props.size || settings.paginator.sizes.default, key: page.pageNumber, caption: page.pageNumber, onClick: () => page.onClick?.(), rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled }));
|
|
3415
|
+
}
|
|
3416
|
+
}),
|
|
3417
|
+
React__default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.rightArrowIcon, onClick: params.goToNext, isDisabled: params.isLast || props.isDisabled, fill: "outline", color: "secondary" })));
|
|
3418
|
+
return React__default.createElement(Paginator$1, { ...props, render: renderPaginator });
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
var css$M = {"root":"ROOHNT","progress-bar":"_0GC3Q1","progressBar":"_0GC3Q1","progressBar-indeterminate":"_3b4CRp","progressBarIndeterminate":"_3b4CRp","size-12":"sYlH9r","size12":"sYlH9r","size-18":"_9EuTjc","size18":"_9EuTjc","size-24":"_4W1zRr","size24":"_4W1zRr"};
|
|
3422
|
+
|
|
3423
|
+
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3424
|
+
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$M.root, css$M[`size-${props.size || 12}`]) },
|
|
3425
|
+
React.createElement("div", { className: cx(css$M.progressBar) })));
|
|
3426
|
+
});
|
|
3427
|
+
|
|
3428
|
+
var css$L = {"root":"huoyhL","striped":"OtLw-z","animate-stripes":"-TQL1M","animateStripes":"-TQL1M","size-12":"Xobtrh","size12":"Xobtrh","size-18":"yv9Aca","size18":"yv9Aca","size-24":"AgqPCt","size24":"AgqPCt"};
|
|
3429
|
+
|
|
3430
|
+
const DEFAULT_SIZE = '12';
|
|
3431
|
+
function applyProgressBarMods(mods) {
|
|
3432
|
+
const size = mods.size || DEFAULT_SIZE;
|
|
3433
|
+
return [
|
|
3434
|
+
css$L.root,
|
|
3435
|
+
css$L[`size-${size}`],
|
|
3436
|
+
mods.striped && css$L.striped,
|
|
3437
|
+
];
|
|
3438
|
+
}
|
|
3439
|
+
const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProgressBarMods, (props) => ({
|
|
3440
|
+
hideLabel: props.hideLabel || props.striped,
|
|
3441
|
+
}));
|
|
3442
|
+
|
|
3443
|
+
var css$K = {"root":"_8Dz0t9"};
|
|
3444
|
+
|
|
3445
|
+
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3446
|
+
const { progress } = props;
|
|
3447
|
+
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$K.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$K.root, props.cx) }));
|
|
3448
|
+
});
|
|
3449
|
+
|
|
3450
|
+
var css$J = {"root":"lac1We"};
|
|
3451
|
+
|
|
3452
|
+
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
3453
|
+
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
3454
|
+
css$J.root,
|
|
3455
|
+
`uui-size-${props.size || settings.statusIndicator.sizes.default}`,
|
|
3456
|
+
'uui-status_indicator',
|
|
3457
|
+
`uui-color-${props.color || 'neutral'}`,
|
|
3458
|
+
`uui-fill-${props.fill || 'solid'}`,
|
|
3459
|
+
props.cx,
|
|
3460
|
+
]) },
|
|
3461
|
+
React__default.createElement("div", { className: "uui-status_indicator-dot" }),
|
|
3462
|
+
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
3463
|
+
});
|
|
3464
|
+
|
|
3465
|
+
var css$I = {"drag-handle":"Riqihy","dragHandle":"Riqihy","icon-container":"cXJ085","iconContainer":"cXJ085"};
|
|
3466
|
+
|
|
3467
|
+
function DataRowAddons(props) {
|
|
3468
|
+
const row = props.rowProps;
|
|
3469
|
+
const getIndent = () => {
|
|
3470
|
+
return (row.indent - 1) * settings.dataTable.sizes.body.indentUnitMap[props.size || settings.dataTable.sizes.body.row];
|
|
3471
|
+
};
|
|
3472
|
+
const getWidth = () => {
|
|
3473
|
+
return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
|
|
3474
|
+
};
|
|
3475
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
3476
|
+
row.dnd?.srcData && React__default.createElement(DragHandle, { key: "dh", cx: css$I.dragHandle, rawProps: { ...props.eventHandlers } }),
|
|
3477
|
+
row?.checkbox?.isVisible && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.dataTable.sizes.body.checkboxMap[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
3478
|
+
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: cx('uui-dr_addons-indent', `uui-size-${props.size || settings.dataTable.sizes.body.row}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__default.createElement(IconContainer, { rawProps: {
|
|
3479
|
+
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
3480
|
+
role: 'button',
|
|
3481
|
+
}, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
|
|
3482
|
+
uuiElement.foldingArrow, uuiMarkers.clickable, css$I.iconContainer,
|
|
3483
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
var css$H = {"root":"uPHuHd","align-widgets-top":"tSzDy-","alignWidgetsTop":"tSzDy-","align-widgets-center":"k70R-k","alignWidgetsCenter":"k70R-k","icon-container":"mufv3c","iconContainer":"mufv3c","content-wrapper":"fSBKnB","contentWrapper":"fSBKnB","render-item":"yNGnFe","renderItem":"yNGnFe","icon-wrapper":"-wDmZb","iconWrapper":"-wDmZb","icon-default":"_6qCWgB","iconDefault":"_6qCWgB","selected-mark":"wmNAlE","selectedMark":"wmNAlE"};
|
|
3355
3487
|
|
|
3356
3488
|
function DataPickerCell(props) {
|
|
3357
3489
|
const ref = React.useRef();
|
|
3358
3490
|
let content;
|
|
3359
3491
|
if (props.rowProps.isLoading) {
|
|
3360
|
-
content = (
|
|
3361
|
-
// 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 },
|
|
3363
|
-
React.createElement(TextPlaceholder, null)));
|
|
3492
|
+
content = settings.pickerInput.renderPlaceholder({ rowSize: props.size });
|
|
3364
3493
|
}
|
|
3365
3494
|
else if (props.rowProps.isUnknown) {
|
|
3366
3495
|
content = (React.createElement(Text, { key: "t", size: props.size }, "Unknown"));
|
|
@@ -3392,7 +3521,7 @@ function DataPickerCell(props) {
|
|
|
3392
3521
|
getWrappedContent()));
|
|
3393
3522
|
}
|
|
3394
3523
|
|
|
3395
|
-
var css$G = {"picker-row":"
|
|
3524
|
+
var css$G = {"picker-row":"hF2s5P","pickerRow":"hF2s5P"};
|
|
3396
3525
|
|
|
3397
3526
|
class DataPickerRow extends React.Component {
|
|
3398
3527
|
constructor() {
|
|
@@ -3406,7 +3535,7 @@ class DataPickerRow extends React.Component {
|
|
|
3406
3535
|
}
|
|
3407
3536
|
}
|
|
3408
3537
|
|
|
3409
|
-
var css$F = {"done":"
|
|
3538
|
+
var css$F = {"done":"QnXPSs","container":"FTVwgk"};
|
|
3410
3539
|
|
|
3411
3540
|
const PickerBodyMobileView = (props) => {
|
|
3412
3541
|
const isMobileView = isMobile();
|
|
@@ -3483,7 +3612,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3483
3612
|
return getDecoratedText(str, ranges);
|
|
3484
3613
|
};
|
|
3485
3614
|
|
|
3486
|
-
var css$E = {"root":"
|
|
3615
|
+
var css$E = {"root":"cnetF3","column-gap":"x2K08y","columnGap":"x2K08y","title":"_6hguWW","subtitle":"-bNqYy","disabled":"_3NlUa-","multiline":"hcKG-u"};
|
|
3487
3616
|
|
|
3488
3617
|
function PickerItem(props) {
|
|
3489
3618
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
@@ -3504,7 +3633,7 @@ function getAvatarSize(size, isMultiline) {
|
|
|
3504
3633
|
return settings.pickerInput.sizes.body[isMultiline ? 'itemAvatarMultilineMap' : 'itemAvatarMap'][size];
|
|
3505
3634
|
}
|
|
3506
3635
|
|
|
3507
|
-
var css$D = {"sub-header-wrapper":"
|
|
3636
|
+
var css$D = {"sub-header-wrapper":"J-DVjl","subHeaderWrapper":"J-DVjl","switch":"zrJ9Tu","no-found-modal-container":"_2ACPBe","noFoundModalContainer":"_2ACPBe","no-found-modal-container-icon":"_4R7ihm","noFoundModalContainerIcon":"_4R7ihm","no-found-modal-container-text":"_3PNFhD","noFoundModalContainerText":"_3PNFhD"};
|
|
3508
3637
|
|
|
3509
3638
|
function PickerModal(props) {
|
|
3510
3639
|
const { view, selection, dataSourceStateLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = usePickerModal(props);
|
|
@@ -3559,7 +3688,7 @@ function PickerModal(props) {
|
|
|
3559
3688
|
React__default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3560
3689
|
}
|
|
3561
3690
|
|
|
3562
|
-
var css$C = {"tooltip":"
|
|
3691
|
+
var css$C = {"tooltip":"IiIWE7"};
|
|
3563
3692
|
|
|
3564
3693
|
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3565
3694
|
const tagProps = {
|
|
@@ -3578,7 +3707,7 @@ const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3578
3707
|
}
|
|
3579
3708
|
});
|
|
3580
3709
|
|
|
3581
|
-
var css$B = {"root":"
|
|
3710
|
+
var css$B = {"root":"_5EiF77"};
|
|
3582
3711
|
|
|
3583
3712
|
const defaultMode = EditMode.FORM;
|
|
3584
3713
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3586,7 +3715,7 @@ function applyPickerTogglerMods(mods) {
|
|
|
3586
3715
|
css$B.root,
|
|
3587
3716
|
'uui-picker_toggler',
|
|
3588
3717
|
`uui-size-${mods.size || settings.pickerInput.sizes.toggler.default}`,
|
|
3589
|
-
|
|
3718
|
+
'uui-control-mode-' + (mods.mode || defaultMode),
|
|
3590
3719
|
];
|
|
3591
3720
|
}
|
|
3592
3721
|
function PickerTogglerComponent(props, ref) {
|
|
@@ -3679,7 +3808,7 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3679
3808
|
}
|
|
3680
3809
|
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
3681
3810
|
|
|
3682
|
-
var css$A = {"row":"
|
|
3811
|
+
var css$A = {"row":"f9Maoj"};
|
|
3683
3812
|
|
|
3684
3813
|
function PickerListItem(props) {
|
|
3685
3814
|
let label;
|
|
@@ -3699,7 +3828,7 @@ function PickerListItem(props) {
|
|
|
3699
3828
|
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
3829
|
}
|
|
3701
3830
|
|
|
3702
|
-
var css$z = {"root":"
|
|
3831
|
+
var css$z = {"root":"DdVfm9"};
|
|
3703
3832
|
|
|
3704
3833
|
function PickerList(props) {
|
|
3705
3834
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = usePickerList(props);
|
|
@@ -3734,7 +3863,7 @@ function PickerList(props) {
|
|
|
3734
3863
|
}, selectedRows)));
|
|
3735
3864
|
}
|
|
3736
3865
|
|
|
3737
|
-
var css$y = {"root":"
|
|
3866
|
+
var css$y = {"root":"fe1h62","wrapper":"_7gHGIg","align-widgets-top":"vI0eMw","alignWidgetsTop":"vI0eMw","align-widgets-center":"TKaN3o","alignWidgetsCenter":"TKaN3o"};
|
|
3738
3867
|
|
|
3739
3868
|
function DataTableCell(initialProps) {
|
|
3740
3869
|
const props = { ...initialProps };
|
|
@@ -3742,8 +3871,7 @@ function DataTableCell(initialProps) {
|
|
|
3742
3871
|
props.addons = React.createElement(DataRowAddons, { size: props.size, ...props });
|
|
3743
3872
|
}
|
|
3744
3873
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3745
|
-
|| (() =>
|
|
3746
|
-
React.createElement(TextPlaceholder, { isNotAnimated: true }))));
|
|
3874
|
+
|| (() => settings.dataTable.renderPlaceholder({ rowSize: props.size }));
|
|
3747
3875
|
props.renderUnknown = props.renderUnknown
|
|
3748
3876
|
|| (() => (React.createElement(Text, { key: "t", size: props.size }, "Unknown")));
|
|
3749
3877
|
props.renderTooltip = (tooltipProps) => React.createElement(Tooltip, { color: "critical", ...tooltipProps });
|
|
@@ -3775,6 +3903,8 @@ function DataTableCell(initialProps) {
|
|
|
3775
3903
|
props.isLastColumn && 'uui-dt-last-column',
|
|
3776
3904
|
css$y[`align-widgets-${props.alignActions || 'top'}`],
|
|
3777
3905
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
3906
|
+
props.isDisabled && uuiMod.disabled,
|
|
3907
|
+
props.isReadonly && uuiMod.readonly,
|
|
3778
3908
|
];
|
|
3779
3909
|
props.style = {
|
|
3780
3910
|
'--uui-dt-cell-padding-start': getLeftPadding(),
|
|
@@ -3783,7 +3913,7 @@ function DataTableCell(initialProps) {
|
|
|
3783
3913
|
return React.createElement(DataTableCell$1, { ...props });
|
|
3784
3914
|
}
|
|
3785
3915
|
|
|
3786
|
-
var css$x = {"root":"
|
|
3916
|
+
var css$x = {"root":"ZnrO8E"};
|
|
3787
3917
|
|
|
3788
3918
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3789
3919
|
// 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.
|
|
@@ -3799,7 +3929,7 @@ const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = t
|
|
|
3799
3929
|
];
|
|
3800
3930
|
}, () => propsMods);
|
|
3801
3931
|
|
|
3802
|
-
var css$w = {"sorting-panel-container":"
|
|
3932
|
+
var css$w = {"sorting-panel-container":"W2SYGH","sortingPanelContainer":"W2SYGH"};
|
|
3803
3933
|
|
|
3804
3934
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3805
3935
|
const sortAsc = useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
@@ -3824,7 +3954,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3824
3954
|
};
|
|
3825
3955
|
const ColumnHeaderDropdown = /* @__PURE__ */React__default.memo(ColumnHeaderDropdownImpl);
|
|
3826
3956
|
|
|
3827
|
-
var css$v = {"root":"
|
|
3957
|
+
var css$v = {"root":"_6GB-vL","caption-wrapper":"_36z9jT","captionWrapper":"_36z9jT","sort-icon":"Q1MVup","sortIcon":"Q1MVup","dropdown-icon":"ewXvgG","dropdownIcon":"ewXvgG","infoIcon":"akRxg4","align-right":"GQYYkg","alignRight":"GQYYkg","align-center":"M-mSLx","alignCenter":"M-mSLx","caption":"dOPWmq","truncate":"pQe8pw","upper-case":"ppzT3g","upperCase":"ppzT3g","checkbox":"LuHRWJ","icon":"E8YIrq","fold-all-icon":"OUzYvc","foldAllIcon":"OUzYvc","cell-tooltip":"_1Q8ZMj","cellTooltip":"_1Q8ZMj","resizing-marker":"_9juO0G","resizingMarker":"_9juO0G","pinned-right":"_--1jHf","pinnedRight":"_--1jHf","draggable":"-ev66r","ghost":"Kaioad","is-dragged-out":"jtMEcF","isDraggedOut":"jtMEcF","dnd-marker-left":"qG9RJd","dndMarkerLeft":"qG9RJd","dnd-marker-right":"N-XzA4","dndMarkerRight":"N-XzA4","cell-tooltip-wrapper":"eUTwfP","cellTooltipWrapper":"eUTwfP","cell-tooltip-text":"SIKIkr","cellTooltipText":"SIKIkr","tooltip-caption":"_-7n0GJ","tooltipCaption":"_-7n0GJ","tooltip-info":"W9rXQ1","tooltipInfo":"W9rXQ1"};
|
|
3828
3958
|
|
|
3829
3959
|
class DataTableHeaderCell extends React.Component {
|
|
3830
3960
|
constructor() {
|
|
@@ -3845,7 +3975,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3845
3975
|
this.props.size >= '48' && css$v.truncate,
|
|
3846
3976
|
]);
|
|
3847
3977
|
return (React.createElement("div", { className: cx$1(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3848
|
-
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: css$v.cellTooltip, openDelay: 600 },
|
|
3978
|
+
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: [css$v.cellTooltip, 'uui-dt-header-tooltip'], openDelay: 600 },
|
|
3849
3979
|
React.createElement("div", { key: "text", className: captionCx }, this.props.column.caption)),
|
|
3850
3980
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: settings.dataTable.icons.header[this.props.sortDirection === 'desc' ? 'descSortIcon' : this.props.sortDirection === 'asc' ? 'ascSortIcon' : 'defaultSortIcon'] })),
|
|
3851
3981
|
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: settings.dataTable.icons.header.filterIcon })),
|
|
@@ -3898,7 +4028,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3898
4028
|
return (React.createElement(DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
3899
4029
|
props.ref(ref);
|
|
3900
4030
|
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.sizes.header.row}`, this.props.isFirstColumn && 'uui-dt-header-first-column', this.props.isLastColumn && 'uui-dt-header-last-column', this.props.column.fix && css$v['pinned-' + this.props.column.fix], isResizable &&
|
|
4031
|
+
}, cx: cx$1(uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiMarkers.clickable, css$v.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.row}`, this.props.isFirstColumn && 'uui-dt-header-first-column', this.props.isLastColumn && 'uui-dt-header-last-column', this.props.column.fix && css$v['pinned-' + this.props.column.fix], isResizable && uuiMarkers.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
4032
|
role: 'columnheader',
|
|
3903
4033
|
'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none',
|
|
3904
4034
|
...props.eventHandlers,
|
|
@@ -3918,7 +4048,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3918
4048
|
}
|
|
3919
4049
|
}
|
|
3920
4050
|
|
|
3921
|
-
var css$u = {"root":"
|
|
4051
|
+
var css$u = {"root":"m1mG0n","caption-wrapper":"SLzji4","captionWrapper":"SLzji4","align-center":"h--soZ","alignCenter":"h--soZ","caption":"ajJ-on","truncate":"f0IGAG","upper-case":"g6z5wD","upperCase":"g6z5wD","group-cell-tooltip":"k7zanP","groupCellTooltip":"k7zanP","group-cell-tooltip-wrapper":"QkHQbE","groupCellTooltipWrapper":"QkHQbE","group-cell-tooltip-text":"CU-xpp","groupCellTooltipText":"CU-xpp","tooltip-caption":"yDk-83","tooltipCaption":"yDk-83","tooltip-info":"_2OuIXl","tooltipInfo":"_2OuIXl"};
|
|
3922
4052
|
|
|
3923
4053
|
class DataTableHeaderGroupCell extends React.Component {
|
|
3924
4054
|
constructor() {
|
|
@@ -3958,7 +4088,7 @@ class DataTableHeaderGroupCell extends React.Component {
|
|
|
3958
4088
|
}
|
|
3959
4089
|
}
|
|
3960
4090
|
|
|
3961
|
-
var css$t = {"root":"
|
|
4091
|
+
var css$t = {"root":"V0ui-I"};
|
|
3962
4092
|
|
|
3963
4093
|
const DataTableHeaderRow = /* @__PURE__ */withMods(DataTableHeaderRow$1, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
3964
4094
|
renderCell: (props) => (React.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
@@ -3970,8 +4100,12 @@ const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
|
3970
4100
|
const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
3971
4101
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
3972
4102
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
4103
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_TITLE = 'uui-filters-panel-item-toggler-title';
|
|
4104
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler-selection';
|
|
4105
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
|
|
4106
|
+
const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
|
|
3973
4107
|
|
|
3974
|
-
var css$s = {"root":"
|
|
4108
|
+
var css$s = {"root":"lJhFNE","title-wrapper":"_6GNphH","titleWrapper":"_6GNphH","title":"EFzsW1","text-wrapper":"OV-g5c","textWrapper":"OV-g5c","selection":"rRzsxG","postfix":"ecFfpz","selected":"RD04Jk"};
|
|
3975
4109
|
|
|
3976
4110
|
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3977
4111
|
const togglerPickerOpened = (e) => {
|
|
@@ -3994,14 +4128,14 @@ const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3994
4128
|
};
|
|
3995
4129
|
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}${props.selection ? ':' : ''}`;
|
|
3996
4130
|
const getSelectionText = () => props.selection.map((i, index) => (React.createElement(React.Fragment, { key: `${i}${index}` },
|
|
3997
|
-
React.createElement(
|
|
4131
|
+
React.createElement("div", { className: cx(css$s.selection, UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION) }, i),
|
|
3998
4132
|
(props.postfix || index !== props.selection.length - 1) && React.createElement("span", null, ",\u00A0"))));
|
|
3999
|
-
return (React.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `uui-size-${props.size || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
4133
|
+
return (React.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, props.selection?.length > 0 && uuiMarkers.hasValue, `uui-size-${props.size || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
4000
4134
|
React.createElement("div", { className: css$s.titleWrapper },
|
|
4001
|
-
React.createElement(
|
|
4135
|
+
React.createElement("div", { className: cx(css$s.title, UUI_FILTERS_PANEL_ITEM_TOGGLER_TITLE) }, getTitle),
|
|
4002
4136
|
props.selection && (React.createElement("div", { className: css$s.textWrapper },
|
|
4003
4137
|
getSelectionText(),
|
|
4004
|
-
props.postfix && (React.createElement(
|
|
4138
|
+
props.postfix && (React.createElement("div", { className: cx(css$s.postfix, UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX) }, props.postfix))))),
|
|
4005
4139
|
!props.isDisabled && React.createElement(IconContainer, { icon: settings.filtersPanel.icons.itemDropdownIcon, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
4006
4140
|
});
|
|
4007
4141
|
|
|
@@ -4044,7 +4178,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4044
4178
|
const footerProps = getFooterProps();
|
|
4045
4179
|
return props.renderFooter
|
|
4046
4180
|
? props.renderFooter(footerProps)
|
|
4047
|
-
: React.createElement(DataPickerFooter, { ...footerProps, size: settings.pickerInput.sizes.body.row });
|
|
4181
|
+
: React.createElement(DataPickerFooter, { ...footerProps, cx: UUI_FILTERS_PANEL_BODY_FOOTER, size: settings.pickerInput.sizes.body.row });
|
|
4048
4182
|
};
|
|
4049
4183
|
const renderBody = (bodyProps, rows) => {
|
|
4050
4184
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
@@ -4129,7 +4263,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4129
4263
|
}, onValueChange: onBodyValueChange, filter: props.filter, presets: props.presets })),
|
|
4130
4264
|
React__default.createElement(FlexCell, { alignSelf: "stretch" },
|
|
4131
4265
|
React__default.createElement(FlexRow, { padding: "24", vPadding: "12" },
|
|
4132
|
-
React__default.createElement(RangeDatePickerInput, { size:
|
|
4266
|
+
React__default.createElement(RangeDatePickerInput, { size: settings.filtersPanel.sizes.rangeDatePickerInput, disableClear: props.disableClear, inFocus: inFocus, format: format, value: value, onValueChange: onValueChange, onFocusInput: (event, inputType) => {
|
|
4133
4267
|
if (props.onFocus) {
|
|
4134
4268
|
props.onFocus(event, inputType);
|
|
4135
4269
|
}
|
|
@@ -4139,7 +4273,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4139
4273
|
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
4140
4274
|
}
|
|
4141
4275
|
|
|
4142
|
-
var css$r = {"container":"
|
|
4276
|
+
var css$r = {"container":"cS0iw1"};
|
|
4143
4277
|
|
|
4144
4278
|
function FilterNumericBody(props) {
|
|
4145
4279
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -4168,7 +4302,6 @@ function FilterNumericBody(props) {
|
|
|
4168
4302
|
}
|
|
4169
4303
|
};
|
|
4170
4304
|
const renderFooter = () => {
|
|
4171
|
-
const size = isMobile() ? '48' : '36';
|
|
4172
4305
|
const clearSelection = () => {
|
|
4173
4306
|
if (isInRangePredicate) {
|
|
4174
4307
|
props.onValueChange({
|
|
@@ -4184,22 +4317,22 @@ function FilterNumericBody(props) {
|
|
|
4184
4317
|
return (React__default.createElement(FlexRow, { padding: "12" },
|
|
4185
4318
|
React__default.createElement(FlexSpacer, null),
|
|
4186
4319
|
React__default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
4187
|
-
React__default.createElement(LinkButton, { isDisabled: isClearDisabled, size:
|
|
4320
|
+
React__default.createElement(LinkButton, { isDisabled: isClearDisabled, size: settings.filtersPanel.sizes[isMobile() ? 'mobileFooterLinkButton' : 'footerLinkButton'], caption: i18n.pickerInput.clearSelectionButtonSingle, onClick: clearSelection }))));
|
|
4188
4321
|
};
|
|
4189
4322
|
if (isInRangePredicate) {
|
|
4190
4323
|
const value = props.value;
|
|
4191
4324
|
return (React__default.createElement("div", null,
|
|
4192
|
-
React__default.createElement(FlexRow, { padding: "12", alignItems: "center",
|
|
4325
|
+
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", columnGap: "12", borderBottom: true, cx: css$r.container },
|
|
4193
4326
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
4194
|
-
React__default.createElement(NumericInput, { value: value?.from ?? null, onValueChange: rangeValueHandler('from'), placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
4327
|
+
React__default.createElement(NumericInput, { size: settings.filtersPanel.sizes.default, value: value?.from ?? null, onValueChange: rangeValueHandler('from'), placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
4195
4328
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
4196
|
-
React__default.createElement(NumericInput, { value: value?.to ?? null, onValueChange: rangeValueHandler('to'), placeholder: "Max", formatOptions: { maximumFractionDigits: 2 }, isInvalid: isWrongRange(value?.from, value?.to) }))),
|
|
4329
|
+
React__default.createElement(NumericInput, { size: settings.filtersPanel.sizes.default, value: value?.to ?? null, onValueChange: rangeValueHandler('to'), placeholder: "Max", formatOptions: { maximumFractionDigits: 2 }, isInvalid: isWrongRange(value?.from, value?.to) }))),
|
|
4197
4330
|
renderFooter()));
|
|
4198
4331
|
}
|
|
4199
4332
|
return (React__default.createElement("div", null,
|
|
4200
4333
|
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", borderBottom: true, cx: css$r.container },
|
|
4201
4334
|
React__default.createElement(FlexCell, { width: 130 },
|
|
4202
|
-
React__default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
4335
|
+
React__default.createElement(NumericInput, { size: settings.filtersPanel.sizes.default, value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
4203
4336
|
renderFooter()));
|
|
4204
4337
|
}
|
|
4205
4338
|
|
|
@@ -4220,22 +4353,7 @@ function FilterItemBody(props) {
|
|
|
4220
4353
|
}
|
|
4221
4354
|
}
|
|
4222
4355
|
|
|
4223
|
-
var
|
|
4224
|
-
function _extends$a() { return _extends$a = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$a.apply(null, arguments); }
|
|
4225
|
-
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
4226
|
-
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
4227
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4228
|
-
width: 24,
|
|
4229
|
-
height: 24,
|
|
4230
|
-
viewBox: "0 0 24 24",
|
|
4231
|
-
ref: ref
|
|
4232
|
-
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
4233
|
-
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
4234
|
-
})));
|
|
4235
|
-
};
|
|
4236
|
-
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
4237
|
-
|
|
4238
|
-
var css$q = {"header":"C-7SEs","removeButton":"Jhz7-O","with-search":"_52gRtY","withSearch":"_52gRtY"};
|
|
4356
|
+
var css$q = {"body":"TQrwpw","header":"kvSr--","title":"vWTPi5","removeButton":"XMGRVz","with-search":"wkkimu","withSearch":"wkkimu"};
|
|
4239
4357
|
|
|
4240
4358
|
function useView(props, value) {
|
|
4241
4359
|
const forceUpdate = useForceUpdate();
|
|
@@ -4323,13 +4441,13 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4323
4441
|
setPredicate(val);
|
|
4324
4442
|
};
|
|
4325
4443
|
const renderHeader = (hideTitle) => (React__default.createElement("div", { className: cx(css$q.header, isPickersType && (props.showSearch ?? css$q.withSearch)) },
|
|
4326
|
-
props.predicates ? (React__default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size:
|
|
4327
|
-
!props?.isAlwaysVisible && (React__default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size:
|
|
4444
|
+
props.predicates ? (React__default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size: settings.filtersPanel.sizes.pickerBodyMultiSwitch })) : (!hideTitle && (React__default.createElement("div", { className: css$q.title }, props.title))),
|
|
4445
|
+
!props?.isAlwaysVisible && (React__default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: settings.filtersPanel.sizes.pickerBodyLinkButton, icon: settings.filtersPanel.icons.pickerBodyRemoveIcon }))));
|
|
4328
4446
|
const renderBody = (dropdownProps) => {
|
|
4329
4447
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
4330
|
-
return isPickersType ? (React__default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width:
|
|
4448
|
+
return isPickersType ? (React__default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: [css$q.body, UUI_FILTERS_PANEL_ITEM_BODY], title: props.title, width: settings.filtersPanel.sizes.pickerBodyMinWidth, onClose: () => isOpenChange(false) },
|
|
4331
4449
|
renderHeader(hideHeaderTitle),
|
|
4332
|
-
React__default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange }))) : (React__default.createElement(DropdownContainer, { cx: UUI_FILTERS_PANEL_ITEM_BODY, ...dropdownProps },
|
|
4450
|
+
React__default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange }))) : (React__default.createElement(DropdownContainer, { cx: [css$q.body, UUI_FILTERS_PANEL_ITEM_BODY], ...dropdownProps },
|
|
4333
4451
|
renderHeader(hideHeaderTitle),
|
|
4334
4452
|
React__default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })));
|
|
4335
4453
|
};
|
|
@@ -4338,7 +4456,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4338
4456
|
};
|
|
4339
4457
|
const getPickerItemName = (item, config) => {
|
|
4340
4458
|
if (item.isLoading) {
|
|
4341
|
-
return
|
|
4459
|
+
return settings.filtersPanel.renderPlaceholder();
|
|
4342
4460
|
}
|
|
4343
4461
|
if (item.isUnknown) {
|
|
4344
4462
|
return 'Unknown';
|
|
@@ -4541,88 +4659,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4541
4659
|
}
|
|
4542
4660
|
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
4543
4661
|
|
|
4544
|
-
var css$p = {"
|
|
4545
|
-
|
|
4546
|
-
var _path$9;
|
|
4547
|
-
function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
|
|
4548
|
-
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
4549
|
-
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
4550
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4551
|
-
width: 24,
|
|
4552
|
-
height: 24,
|
|
4553
|
-
viewBox: "0 0 24 24",
|
|
4554
|
-
ref: ref
|
|
4555
|
-
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
4556
|
-
d: "M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6V6z"
|
|
4557
|
-
})));
|
|
4558
|
-
};
|
|
4559
|
-
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgActionSaveOutline);
|
|
4560
|
-
|
|
4561
|
-
var _path$8;
|
|
4562
|
-
function _extends$8() { return _extends$8 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$8.apply(null, arguments); }
|
|
4563
|
-
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
4564
|
-
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
4565
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4566
|
-
width: 24,
|
|
4567
|
-
height: 24,
|
|
4568
|
-
viewBox: "0 0 24 24",
|
|
4569
|
-
ref: ref
|
|
4570
|
-
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
4571
|
-
d: "M22.5 15a8.71 8.71 0 0 0-.712-3.513 9.158 9.158 0 0 0-1.926-2.85 9.152 9.152 0 0 0-2.85-1.925A8.709 8.709 0 0 0 13.5 6a8.71 8.71 0 0 0-3.513.712 9.167 9.167 0 0 0-2.85 1.925 9.154 9.154 0 0 0-1.924 2.85A8.705 8.705 0 0 0 4.5 15v.15L2.95 13.6 1.5 15l4 4 4-4-1.45-1.4-1.55 1.55V15c0-1.95.679-3.604 2.037-4.962C9.896 8.679 11.55 8 13.5 8c1.95 0 3.604.68 4.962 2.038C19.821 11.396 20.5 13.05 20.5 15h2z"
|
|
4572
|
-
})));
|
|
4573
|
-
};
|
|
4574
|
-
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgContentEditUndoOutline);
|
|
4575
|
-
|
|
4576
|
-
var _path$7;
|
|
4577
|
-
function _extends$7() { return _extends$7 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$7.apply(null, arguments); }
|
|
4578
|
-
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
4579
|
-
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
4580
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4581
|
-
width: 24,
|
|
4582
|
-
height: 24,
|
|
4583
|
-
viewBox: "0 0 24 24",
|
|
4584
|
-
ref: ref
|
|
4585
|
-
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
4586
|
-
fillRule: "evenodd",
|
|
4587
|
-
d: "M19 19H9V9h10M9 7a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H9zm5-4H5a2 2 0 0 0-2 2v9h2V5h9V3z",
|
|
4588
|
-
clipRule: "evenodd"
|
|
4589
|
-
})));
|
|
4590
|
-
};
|
|
4591
|
-
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgActionCopyContentOutline);
|
|
4592
|
-
|
|
4593
|
-
var _path$6;
|
|
4594
|
-
function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
|
|
4595
|
-
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
4596
|
-
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
4597
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4598
|
-
width: 24,
|
|
4599
|
-
height: 24,
|
|
4600
|
-
viewBox: "0 0 24 24",
|
|
4601
|
-
ref: ref
|
|
4602
|
-
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
4603
|
-
d: "m19.3 8.925-4.25-4.2 1.4-1.4a1.92 1.92 0 0 1 1.413-.575 1.92 1.92 0 0 1 1.412.575l1.4 1.4c.383.383.583.846.6 1.388a1.806 1.806 0 0 1-.55 1.387L19.3 8.925zM17.85 10.4 7.25 21H3v-4.25l10.6-10.6 4.25 4.25z"
|
|
4604
|
-
})));
|
|
4605
|
-
};
|
|
4606
|
-
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgContentEditFill);
|
|
4607
|
-
|
|
4608
|
-
var _path$5, _path2;
|
|
4609
|
-
function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
|
|
4610
|
-
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
4611
|
-
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
4612
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4613
|
-
width: 24,
|
|
4614
|
-
height: 24,
|
|
4615
|
-
viewBox: "0 0 24 24",
|
|
4616
|
-
ref: ref
|
|
4617
|
-
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
4618
|
-
d: "M12 4.93A5 5 0 0 1 19.07 12l-1.06 1.06c.12-.85.022-1.725-.295-2.534a3 3 0 0 0-4.302-4.182l-2.828 2.828a3 3 0 0 0-.07 4.17l.07.073-1.415 1.414a5 5 0 0 1 0-7.071L12 4.929z"
|
|
4619
|
-
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
4620
|
-
d: "m4.93 12 .989-.99a5.018 5.018 0 0 0 .297 2.54 3 3 0 0 0 4.37 4.107l2.829-2.828a3 3 0 0 0-.828-4.83l1.464-1.463a5 5 0 0 1 .778 7.707L12 19.071a5 5 0 0 1-7.07-7.07z"
|
|
4621
|
-
})));
|
|
4622
|
-
};
|
|
4623
|
-
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
4624
|
-
|
|
4625
|
-
var css$o = {"delete-button":"PX8x9l","deleteButton":"PX8x9l","tab-button":"A-eA5j","tabButton":"A-eA5j","targetOpen":"LJQope"};
|
|
4662
|
+
var css$p = {"delete-button":"eoWCs1","deleteButton":"eoWCs1","tab-button":"gm6MSR","tabButton":"gm6MSR","targetOpen":"VwEvPc"};
|
|
4626
4663
|
|
|
4627
4664
|
function PresetActionsDropdown(props) {
|
|
4628
4665
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -4647,7 +4684,7 @@ function PresetActionsDropdown(props) {
|
|
|
4647
4684
|
const successNotificationHandler = useCallback((text) => {
|
|
4648
4685
|
uuiNotifications
|
|
4649
4686
|
.show((props) => (React__default.createElement(SuccessNotification, { ...props },
|
|
4650
|
-
React__default.createElement(
|
|
4687
|
+
React__default.createElement("div", { className: "uui-presets-panel-notification-text" }, text))), { duration: 3 })
|
|
4651
4688
|
.catch(() => null);
|
|
4652
4689
|
}, []);
|
|
4653
4690
|
const saveInCurrentHandler = useCallback(() => {
|
|
@@ -4670,32 +4707,32 @@ function PresetActionsDropdown(props) {
|
|
|
4670
4707
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4671
4708
|
return (React__default.createElement(DropdownMenuBody, { ...dropdownProps },
|
|
4672
4709
|
isPresetChanged && (React__default.createElement(React__default.Fragment, null,
|
|
4673
|
-
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon:
|
|
4674
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon:
|
|
4710
|
+
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: settings.presetsPanel.icons.saveInCurrentIcon, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4711
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: settings.presetsPanel.icons.saveAsNewIcon, caption: "Save as new",
|
|
4675
4712
|
// 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
4713
|
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4677
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon:
|
|
4714
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: settings.presetsPanel.icons.discardChangesIcon, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4678
4715
|
React__default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4679
|
-
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon:
|
|
4680
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon:
|
|
4681
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon:
|
|
4716
|
+
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: settings.presetsPanel.icons.renameIcon, caption: "Rename", onClick: props.renamePreset })),
|
|
4717
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: settings.presetsPanel.icons.copyIcon, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4718
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: settings.presetsPanel.icons.copyLinkIcon, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4682
4719
|
!isReadonlyPreset && (React__default.createElement(React__default.Fragment, null,
|
|
4683
4720
|
React__default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
4684
|
-
React__default.createElement(DropdownMenuButton, { icon:
|
|
4721
|
+
React__default.createElement(DropdownMenuButton, { icon: settings.presetsPanel.icons.deleteIcon, caption: "Delete", cx: css$p.deleteButton, onClick: deleteHandler })))));
|
|
4685
4722
|
};
|
|
4686
4723
|
const renderTarget = useCallback((dropdownProps) => {
|
|
4687
|
-
return (React__default.createElement(IconButton, { cx: [css$
|
|
4724
|
+
return (React__default.createElement(IconButton, { cx: [css$p.tabButton, dropdownProps.isOpen && css$p.targetOpen], color: props.preset.id === props.activePresetId ? 'primary' : 'neutral', ...dropdownProps, icon: settings.presetsPanel.icons.menuIcon, size: settings.presetsPanel.sizes.dropdownTargetIconButton }));
|
|
4688
4725
|
}, []);
|
|
4689
4726
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4690
4727
|
}
|
|
4691
4728
|
|
|
4692
|
-
var css$n = {"preset-input-cell":"_3J0V4z","presetInputCell":"_3J0V4z","preset-input":"PSapfQ","presetInput":"PSapfQ"};
|
|
4693
|
-
|
|
4694
4729
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4695
4730
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
4696
4731
|
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
4697
4732
|
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
4698
4733
|
|
|
4734
|
+
var css$o = {"preset-input-cell":"WEHBm3","presetInputCell":"WEHBm3","preset-input":"WoHvPg","presetInput":"WoHvPg"};
|
|
4735
|
+
|
|
4699
4736
|
function PresetInput(props) {
|
|
4700
4737
|
const [presetCaption, setPresetCaption] = useState(props.preset?.name || '');
|
|
4701
4738
|
const [readonly, setReadonly] = useState(false);
|
|
@@ -4717,11 +4754,11 @@ function PresetInput(props) {
|
|
|
4717
4754
|
}
|
|
4718
4755
|
props.onCancel();
|
|
4719
4756
|
}, [presetCaption.length, props.onCancel]);
|
|
4720
|
-
return (React__default.createElement(FlexCell, { cx: [css$
|
|
4721
|
-
React__default.createElement(TextInput, { cx: css$
|
|
4757
|
+
return (React__default.createElement(FlexCell, { cx: [css$o.presetInputCell, UUI_PRESETS_PANEL_INPUT], minWidth: 180 },
|
|
4758
|
+
React__default.createElement(TextInput, { cx: css$o.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4722
4759
|
}
|
|
4723
4760
|
|
|
4724
|
-
var css$
|
|
4761
|
+
var css$n = {"preset":"DLdx1h","activePreset":"_30gb8q"};
|
|
4725
4762
|
|
|
4726
4763
|
function Preset(props) {
|
|
4727
4764
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -4743,25 +4780,10 @@ function Preset(props) {
|
|
|
4743
4780
|
}, [props.preset]);
|
|
4744
4781
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
4745
4782
|
const PresetActionsDropdownComponent = useCallback(() => React__default.createElement(PresetActionsDropdown, { renamePreset: setPresetForRename, ...props }), [props.preset, props.tableState, props.activePresetId]);
|
|
4746
|
-
return (React__default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$
|
|
4783
|
+
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$n.preset, isPresetActive && css$n.activePreset, UUI_PRESETS_PANEL_PRESET], size: settings.presetsPanel.sizes.tabButton, withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: PresetActionsDropdownComponent, iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
4747
4784
|
}
|
|
4748
4785
|
|
|
4749
|
-
var
|
|
4750
|
-
function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
|
|
4751
|
-
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
4752
|
-
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
4753
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4754
|
-
width: 24,
|
|
4755
|
-
height: 24,
|
|
4756
|
-
viewBox: "0 0 24 24",
|
|
4757
|
-
ref: ref
|
|
4758
|
-
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
4759
|
-
fillRule: "evenodd",
|
|
4760
|
-
d: "M7 21c-1.1 0-2-.9-2-2V8h14v11c0 1.1-.9 2-2 2H7zm8-17h5v2H4V4h5V3h6v1zM9.4 18.5l2.6-2.6 2.6 2.6 1.4-1.4-2.6-2.6 2.6-2.6-1.4-1.4-2.6 2.6-2.6-2.6L8 11.9l2.6 2.6L8 17.1l1.4 1.4z",
|
|
4761
|
-
clipRule: "evenodd"
|
|
4762
|
-
})));
|
|
4763
|
-
};
|
|
4764
|
-
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgActionDeleteForeverFill);
|
|
4786
|
+
var css$m = {"divider":"groyDb","dropdownDeleteIcon":"OsSGhD","presetsWrapper":"b9FhUz","addPresetContainer":"AQjJQb","dropContainer":"_-3WfXv"};
|
|
4765
4787
|
|
|
4766
4788
|
function PresetsPanel(props) {
|
|
4767
4789
|
const [isAddingPreset, setIsAddingPreset] = useState(false);
|
|
@@ -4776,16 +4798,16 @@ function PresetsPanel(props) {
|
|
|
4776
4798
|
return React__default.createElement(Preset, { key: preset.id, preset: preset, addPreset: setAddingPreset, ...presetApi });
|
|
4777
4799
|
};
|
|
4778
4800
|
const renderAddPresetButton = useCallback(() => {
|
|
4779
|
-
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$
|
|
4801
|
+
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$m.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { cx: UUI_PRESETS_PANEL_ADD_BUTTON, onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: settings.presetsPanel.icons.addIcon, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
4780
4802
|
}, [isAddingPreset]);
|
|
4781
4803
|
const onPresetDropdownSelect = (preset) => {
|
|
4782
4804
|
props.choosePreset(preset.preset);
|
|
4783
4805
|
};
|
|
4784
4806
|
const renderMoreButtonDropdown = (item, hiddenItems) => {
|
|
4785
4807
|
return (React__default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__default.createElement(FlexRow, null,
|
|
4786
|
-
React__default.createElement("div", { className: css$
|
|
4808
|
+
React__default.createElement("div", { className: css$m.divider }),
|
|
4787
4809
|
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 &&
|
|
4810
|
+
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 && settings.presetsPanel.icons.deleteIcon, iconPosition: "right", cx: css$m.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
4789
4811
|
};
|
|
4790
4812
|
const getPresetPriority = (preset, index) => {
|
|
4791
4813
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -4806,7 +4828,7 @@ function PresetsPanel(props) {
|
|
|
4806
4828
|
];
|
|
4807
4829
|
};
|
|
4808
4830
|
return (React__default.createElement(FlexCell, { grow: 1, minWidth: 310, rawProps: props.rawProps },
|
|
4809
|
-
React__default.createElement(FlexRow, { size: null, columnGap: "12", cx: css$
|
|
4831
|
+
React__default.createElement(FlexRow, { size: null, columnGap: "12", cx: css$m.presetsWrapper },
|
|
4810
4832
|
React__default.createElement(AdaptivePanel, { items: getPanelItems() }))));
|
|
4811
4833
|
}
|
|
4812
4834
|
|
|
@@ -4847,7 +4869,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4847
4869
|
return columns;
|
|
4848
4870
|
};
|
|
4849
4871
|
|
|
4850
|
-
var css$l = {"unpin-icon":"
|
|
4872
|
+
var css$l = {"unpin-icon":"gtwR4h","unpinIcon":"gtwR4h","pin-toggler-icon":"mpyo3m","pinTogglerIcon":"mpyo3m"};
|
|
4851
4873
|
|
|
4852
4874
|
function PinIconButton(props) {
|
|
4853
4875
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4889,7 +4911,7 @@ function getUnpinIcon(params) {
|
|
|
4889
4911
|
}
|
|
4890
4912
|
}
|
|
4891
4913
|
|
|
4892
|
-
var css$k = {"row-wrapper":"
|
|
4914
|
+
var css$k = {"row-wrapper":"kz1rjt","rowWrapper":"kz1rjt","pin-icon-button":"NriS8I","pinIconButton":"NriS8I","not-pinned":"pyv-up","notPinned":"pyv-up","checkbox":"wFyJa7","drag-handle":"od-rKW","dragHandle":"od-rKW","dnd-disabled":"juIvCk","dndDisabled":"juIvCk"};
|
|
4893
4915
|
|
|
4894
4916
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4895
4917
|
const { column } = props;
|
|
@@ -4912,7 +4934,7 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
4912
4934
|
return (React.createElement(DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4913
4935
|
});
|
|
4914
4936
|
|
|
4915
|
-
var css$j = {"root":"
|
|
4937
|
+
var css$j = {"root":"LkR94G","main-panel":"adHp9w","mainPanel":"adHp9w","group":"dh20Pw","group-title":"Ce8KSm","groupTitle":"Ce8KSm","group-items":"pBKA-S","groupItems":"pBKA-S","no-data":"eeH1I8","noData":"eeH1I8","no-data-title":"kVKe8W","noDataTitle":"kVKe8W","no-data-sub-title":"dbzzva","noDataSubTitle":"dbzzva","h-divider":"ow6DRN","hDivider":"ow6DRN","search-area":"L7u6-3","searchArea":"L7u6-3","subgroup-accordion":"dKdzoE","subgroupAccordion":"dKdzoE","subgroup":"m5mIAn","subgroup-title":"py9oNb","subgroupTitle":"py9oNb"};
|
|
4916
4938
|
|
|
4917
4939
|
const renderGroupTitle = (title, amount) => (React.createElement(FlexRow, { cx: css$j.group },
|
|
4918
4940
|
React.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
@@ -5014,7 +5036,7 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
5014
5036
|
return [children, rest];
|
|
5015
5037
|
};
|
|
5016
5038
|
|
|
5017
|
-
var css$i = {"listContainer":"
|
|
5039
|
+
var css$i = {"listContainer":"Hj5mHp","header":"SNgKv3","group":"_2zCuM8","stickyHeader":"WWcLZD"};
|
|
5018
5040
|
|
|
5019
5041
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
5020
5042
|
const rowRef = useRef();
|
|
@@ -5049,12 +5071,12 @@ function DataRowsGroups({ rows, renderRow, top = 1, }) {
|
|
|
5049
5071
|
}
|
|
5050
5072
|
|
|
5051
5073
|
function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, renderRow, headerRef, }) {
|
|
5052
|
-
return (React__default.createElement("div", { className: css$i.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
5074
|
+
return (React__default.createElement("div", { className: cx(css$i.listContainer, 'uui-dt-data_row_container'), style: { minHeight: `${estimatedHeight}px` } },
|
|
5053
5075
|
React__default.createElement("div", { ref: listContainerRef, role: "rowgroup", style: { marginTop: offsetY } },
|
|
5054
5076
|
React__default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
5055
5077
|
}
|
|
5056
5078
|
|
|
5057
|
-
var css$h = {"root":"
|
|
5079
|
+
var css$h = {"root":"bXi57K","sticky-header":"qJOkAH","stickyHeader":"qJOkAH","no-results":"ZlphUv","noResults":"ZlphUv","icon":"jE-nLl","title":"HdgD79"};
|
|
5058
5080
|
|
|
5059
5081
|
function DataTable(props) {
|
|
5060
5082
|
const { uuiModals } = useUuiContext();
|
|
@@ -5086,7 +5108,7 @@ function DataTable(props) {
|
|
|
5086
5108
|
props.columns, config, defaultConfig, props.value, props.onValueChange, props.renderColumnsConfigurationModal,
|
|
5087
5109
|
]);
|
|
5088
5110
|
const renderRowsContainer = React.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows }) => (React.createElement(React.Fragment, null,
|
|
5089
|
-
React.createElement("div", { className: css$h.stickyHeader, ref: headerRef },
|
|
5111
|
+
React.createElement("div", { className: cx$1(css$h.stickyHeader, 'uui-dt-sticky_header'), ref: headerRef },
|
|
5090
5112
|
React.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.sizes.header.row, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, showFoldAll: props.showFoldAll, value: { ...props.value, columnsConfig: config }, onValueChange: props.onValueChange, columnsGap: props.columnsGap }),
|
|
5091
5113
|
React.createElement("div", { className: cx$1(uuiScrollShadows.top, {
|
|
5092
5114
|
[uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
@@ -5096,16 +5118,16 @@ function DataTable(props) {
|
|
|
5096
5118
|
]);
|
|
5097
5119
|
return (React.createElement(DataTableSelectionProvider, { onCopy: props.onCopy, rows: rows, columns: columns },
|
|
5098
5120
|
React.createElement(DataTableFocusProvider, { dataTableFocusManager: props.dataTableFocusManager },
|
|
5099
|
-
React.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: cx$1(css$h.root, 'uui-dt-vars'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
5121
|
+
React.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: cx$1(css$h.root, props.cx, 'uui-dt-vars', 'uui-data_table'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
5100
5122
|
role: 'table',
|
|
5101
5123
|
'aria-colcount': columns.length,
|
|
5102
5124
|
'aria-rowcount': props.rowsCount,
|
|
5103
5125
|
} }))));
|
|
5104
5126
|
}
|
|
5105
5127
|
|
|
5106
|
-
var css$g = {"root":"
|
|
5128
|
+
var css$g = {"root":"CzXny5"};
|
|
5107
5129
|
|
|
5108
|
-
var css$f = {"root":"
|
|
5130
|
+
var css$f = {"root":"w4Zav9","burger-content":"oPmbk5","burgerContent":"oPmbk5"};
|
|
5109
5131
|
|
|
5110
5132
|
var _path$3;
|
|
5111
5133
|
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); }
|
|
@@ -5127,7 +5149,7 @@ function applyBurgerMods() {
|
|
|
5127
5149
|
}
|
|
5128
5150
|
const Burger = /* @__PURE__ */withMods(Burger$1, applyBurgerMods, () => ({
|
|
5129
5151
|
burgerIcon: ForwardRef$3,
|
|
5130
|
-
crossIcon: ForwardRef$
|
|
5152
|
+
crossIcon: ForwardRef$Q,
|
|
5131
5153
|
burgerContentCx: css$f.burgerContent,
|
|
5132
5154
|
}));
|
|
5133
5155
|
|
|
@@ -5148,7 +5170,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5148
5170
|
};
|
|
5149
5171
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
5150
5172
|
|
|
5151
|
-
var css$e = {"root":"
|
|
5173
|
+
var css$e = {"root":"_78Aae-","button-primary":"VCVyGs","buttonPrimary":"VCVyGs","button-secondary":"-qKe3t","buttonSecondary":"-qKe3t","hasIcon":"xBIqK-","dropdown":"Z0Iyfy"};
|
|
5152
5174
|
|
|
5153
5175
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
5154
5176
|
css$e.root,
|
|
@@ -5159,13 +5181,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
5159
5181
|
props.icon && css$e.hasIcon,
|
|
5160
5182
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5161
5183
|
|
|
5162
|
-
var css$d = {"search-input":"
|
|
5184
|
+
var css$d = {"search-input":"XC387g","searchInput":"XC387g"};
|
|
5163
5185
|
|
|
5164
5186
|
function BurgerSearch(props) {
|
|
5165
|
-
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
5187
|
+
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$M, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$Q }));
|
|
5166
5188
|
}
|
|
5167
5189
|
|
|
5168
|
-
var css$c = {"root":"
|
|
5190
|
+
var css$c = {"root":"BCzLvM","group-header":"w67AQL","groupHeader":"w67AQL","group-name":"s5rZfO","groupName":"s5rZfO","line":"wdInT4"};
|
|
5169
5191
|
|
|
5170
5192
|
function BurgerGroupHeader(props) {
|
|
5171
5193
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5173,7 +5195,7 @@ function BurgerGroupHeader(props) {
|
|
|
5173
5195
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5174
5196
|
}
|
|
5175
5197
|
|
|
5176
|
-
var css$b = {"root":"
|
|
5198
|
+
var css$b = {"root":"gjWOnz","type-primary":"CF8vEP","typePrimary":"CF8vEP","type-secondary":"M0UCOn","typeSecondary":"M0UCOn"};
|
|
5177
5199
|
|
|
5178
5200
|
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5179
5201
|
const { type, ...clickableProps } = props;
|
|
@@ -5192,10 +5214,10 @@ const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5192
5214
|
props.caption && (React.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
5193
5215
|
props.count !== undefined && props.count !== null && (React.createElement(CountIndicator, { caption: props.count, color: "neutral", size: "18" })),
|
|
5194
5216
|
props.icon && props.iconPosition === 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: props.onIconClick })),
|
|
5195
|
-
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$
|
|
5217
|
+
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
5196
5218
|
});
|
|
5197
5219
|
|
|
5198
|
-
var css$a = {"dropdown-body":"
|
|
5220
|
+
var css$a = {"dropdown-body":"-iKVms","dropdownBody":"-iKVms"};
|
|
5199
5221
|
|
|
5200
5222
|
class MainMenuDropdown extends React.Component {
|
|
5201
5223
|
render() {
|
|
@@ -5253,28 +5275,28 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5253
5275
|
};
|
|
5254
5276
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5255
5277
|
|
|
5256
|
-
var css$9 = {"global-menu-btn":"
|
|
5278
|
+
var css$9 = {"global-menu-btn":"_5tgxlx","globalMenuBtn":"_5tgxlx","global-menu-icon":"TsR2hQ","globalMenuIcon":"TsR2hQ"};
|
|
5257
5279
|
|
|
5258
5280
|
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
5281
|
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5260
5282
|
|
|
5261
|
-
var css$8 = {"container":"
|
|
5283
|
+
var css$8 = {"container":"DNB7JK","open":"L5boU5","folding-arrow":"-COhgI","foldingArrow":"-COhgI"};
|
|
5262
5284
|
|
|
5263
5285
|
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
5286
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
5265
5287
|
props.icon && React.createElement(IconContainer, { icon: props.icon }),
|
|
5266
5288
|
props.isDropdown && (React.createElement("div", null,
|
|
5267
|
-
React.createElement(IconContainer, { size: 18, icon: ForwardRef$
|
|
5289
|
+
React.createElement(IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5268
5290
|
|
|
5269
|
-
var css$7 = {"search-input":"
|
|
5291
|
+
var css$7 = {"search-input":"XZMNFA","searchInput":"XZMNFA"};
|
|
5270
5292
|
|
|
5271
|
-
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$
|
|
5293
|
+
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$M, cancelIcon: props.value?.length > 0 && ForwardRef$Q, ...props, ...iEditable, ref: ref, cx: cx$1(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5272
5294
|
|
|
5273
|
-
var css$6 = {"container":"
|
|
5295
|
+
var css$6 = {"container":"D-qDS4"};
|
|
5274
5296
|
|
|
5275
5297
|
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
5298
|
|
|
5277
|
-
var css$5 = {"root":"
|
|
5299
|
+
var css$5 = {"root":"nSsvW6"};
|
|
5278
5300
|
|
|
5279
5301
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
5280
5302
|
|
|
@@ -5332,7 +5354,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5332
5354
|
};
|
|
5333
5355
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
5334
5356
|
|
|
5335
|
-
var css$4 = {"root":"
|
|
5357
|
+
var css$4 = {"root":"-FvcXT","drop-start":"e9uAVY","dropStart":"e9uAVY","drop-over":"_7fpSuq","dropOver":"_7fpSuq","link":"IWVRkI","drop-area":"poxy5u","dropArea":"poxy5u","drop-caption":"DCBwJl","dropCaption":"DCBwJl","icon-blue":"QOKrU0","iconBlue":"QOKrU0"};
|
|
5336
5358
|
|
|
5337
5359
|
function DropSpot(props) {
|
|
5338
5360
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5350,7 +5372,7 @@ function DropSpot(props) {
|
|
|
5350
5372
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5351
5373
|
}
|
|
5352
5374
|
|
|
5353
|
-
var css$3 = {"root":"
|
|
5375
|
+
var css$3 = {"root":"HVzL0t"};
|
|
5354
5376
|
|
|
5355
5377
|
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5356
5378
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5361,7 +5383,7 @@ const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5361
5383
|
React.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5362
5384
|
});
|
|
5363
5385
|
|
|
5364
|
-
var css$2 = {"root":"
|
|
5386
|
+
var css$2 = {"root":"HpTvA8","file-name":"xYMlY7","fileName":"xYMlY7","default-color":"J9I-ci","defaultColor":"J9I-ci","doc-color":"fNPU4f","docColor":"fNPU4f","xls-color":"dD0AtS","xlsColor":"dD0AtS","pdf-color":"_0wOMc4","pdfColor":"_0wOMc4","movie-color":"UeKgE6","movieColor":"UeKgE6","img-color":"ieyYCb","imgColor":"ieyYCb","mov-color":"_91nIBl","movColor":"_91nIBl","error-block":"kRJC3W","errorBlock":"kRJC3W","icons-block":"p57LWR","iconsBlock":"p57LWR"};
|
|
5365
5387
|
|
|
5366
5388
|
const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5367
5389
|
const [isLoadingShow, setIsLoadingShow] = React.useState(true);
|
|
@@ -5480,7 +5502,7 @@ const getErrorPageConfig = () => ({
|
|
|
5480
5502
|
},
|
|
5481
5503
|
});
|
|
5482
5504
|
|
|
5483
|
-
var css$1 = {"container":"
|
|
5505
|
+
var css$1 = {"container":"ufN59k"};
|
|
5484
5506
|
|
|
5485
5507
|
const ErrorPage = (props) => {
|
|
5486
5508
|
const isMobileScreen = isMobile();
|
|
@@ -5492,7 +5514,7 @@ const ErrorPage = (props) => {
|
|
|
5492
5514
|
props?.supportLink && React__default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5493
5515
|
};
|
|
5494
5516
|
|
|
5495
|
-
var css = {"recovery-spinner":"
|
|
5517
|
+
var css = {"recovery-spinner":"dpp8iD","recoverySpinner":"dpp8iD","recovery-message":"KC9k9C","recoveryMessage":"KC9k9C","modal-blocker":"tS6IfY","modalBlocker":"tS6IfY","modalFadeIn":"CEF2-H"};
|
|
5496
5518
|
|
|
5497
5519
|
function ErrorHandler(props) {
|
|
5498
5520
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|