@epam/uui 5.1.1 → 5.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/dnd/DropMarker.d.ts +2 -4
- package/components/dnd/DropMarker.d.ts.map +1 -1
- package/components/fileUpload/DropSpot.d.ts +15 -0
- package/components/fileUpload/DropSpot.d.ts.map +1 -0
- package/components/fileUpload/FileCard.d.ts +12 -0
- package/components/fileUpload/FileCard.d.ts.map +1 -0
- package/components/fileUpload/SvgCircleProgress.d.ts +9 -0
- package/components/fileUpload/SvgCircleProgress.d.ts.map +1 -0
- package/components/fileUpload/index.d.ts +4 -0
- package/components/fileUpload/index.d.ts.map +1 -0
- package/components/filters/FilterPickerBody.d.ts +4 -4
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/index.d.ts +1 -0
- package/components/index.d.ts.map +1 -1
- package/components/inputs/TimePicker.d.ts +12 -0
- package/components/inputs/TimePicker.d.ts.map +1 -0
- package/components/inputs/TimePickerBody.d.ts +3 -0
- package/components/inputs/TimePickerBody.d.ts.map +1 -0
- package/components/inputs/index.d.ts +1 -0
- package/components/inputs/index.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/Burger.d.ts +1 -2
- package/components/navigation/MainMenu/Burger/Burger.d.ts.map +1 -1
- package/components/overlays/Alert.d.ts +2 -0
- package/components/overlays/Alert.d.ts.map +1 -1
- package/components/overlays/Dropdown.d.ts +2 -4
- package/components/overlays/Dropdown.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts +7 -3
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +3 -3
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/widgets/AvatarStack.d.ts +1 -2
- package/components/widgets/AvatarStack.d.ts.map +1 -1
- package/components/widgets/IndeterminateBar.d.ts +7 -0
- package/components/widgets/IndeterminateBar.d.ts.map +1 -0
- package/components/widgets/IndicatorBar.d.ts +8 -0
- package/components/widgets/IndicatorBar.d.ts.map +1 -0
- package/components/widgets/ProgressBar.d.ts +8 -0
- package/components/widgets/ProgressBar.d.ts.map +1 -0
- package/components/widgets/Spinner.d.ts +1 -2
- package/components/widgets/Spinner.d.ts.map +1 -1
- package/components/widgets/index.d.ts +4 -1
- package/components/widgets/index.d.ts.map +1 -1
- package/i18n.d.ts +8 -0
- package/i18n.d.ts.map +1 -1
- package/icons/icons.d.ts +11 -0
- package/icons/icons.d.ts.map +1 -1
- package/index.esm.js +1159 -764
- package/index.esm.js.map +1 -1
- package/index.js +1169 -762
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +1 -1
- package/styles.css +1363 -1111
- package/styles.css.map +1 -1
- package/components/widgets/Avatar.d.ts +0 -3
- package/components/widgets/Avatar.d.ts.map +0 -1
package/index.esm.js
CHANGED
|
@@ -1,438 +1,605 @@
|
|
|
1
|
-
import { Button as Button$1, IconButton as IconButton$1, Checkbox as Checkbox$1, RadioInput as RadioInput$1, Switch as Switch$1, TextInput as TextInput$1, Accordion as Accordion$1, ControlGroup as ControlGroup$1, FlexCell as FlexCell$1, FlexRow as FlexRow$1, VPanel, IconContainer, Dropdown as Dropdown$1, DropdownContainer as DropdownContainer$1, Anchor as Anchor$1, Text as Text$1, FlexSpacer, RichTextView as RichTextView$1, ModalBlocker as ModalBlocker$1, ModalWindow as ModalWindow$1, Tooltip as Tooltip$1, LabeledInput as LabeledInput$1, RadioGroup as RadioGroup$1, ScrollBars as ScrollBars$1, VirtualList as VirtualList$1, Spinner as Spinner$1, Blocker as Blocker$1, CheckboxGroup as CheckboxGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Calendar as Calendar$1, DatePickerBodyBase, valueFormat, YearSelection, MonthSelection, i18n as i18n$2, BaseDatePicker, CalendarPresets as CalendarPresets$1, uuiDaySelection, uuiDatePickerBodyBase, BaseRangeDatePicker, PickerBodyBase, DataTableCell as DataTableCell$1, DragHandle, DataTableRow as DataTableRow$1, DataTableHeaderRow as DataTableHeaderRow$1, DataTableHeaderCell as DataTableHeaderCell$1, DataTableSelectionProvider, useColumnsConfiguration, DataPickerRow as DataPickerRow$1, PickerModalBase, handleDataSourceKeyboard,
|
|
2
|
-
export { FlexSpacer, IconContainer } from '@epam/uui-components';
|
|
3
|
-
import { withMods, IEditableDebouncer, UuiContext, cx as cx$1, uuiMod, i18n as i18n$1, devLogger, arrayToMatrix, Lens, isMobile, uuiMarkers, uuiDataTableHeaderCell, useUuiContext, useColumnsConfig, uuiScrollShadows, DndActor, mobilePopperModifier, useAppMobileHeight, uuiElement, useForceUpdate, getSeparatedValue, useArrayDataSource, getOrderBetween, Form as Form$1, useForm as useForm$1 } from '@epam/uui-core';
|
|
1
|
+
import { Button as Button$1, IconButton as IconButton$1, Checkbox as Checkbox$1, RadioInput as RadioInput$1, Switch as Switch$1, TextInput as TextInput$1, Accordion as Accordion$1, ControlGroup as ControlGroup$1, FlexCell as FlexCell$1, FlexRow as FlexRow$1, VPanel, IconContainer, Dropdown as Dropdown$1, DropdownContainer as DropdownContainer$1, Anchor as Anchor$1, Text as Text$1, FlexSpacer, RichTextView as RichTextView$1, ModalBlocker as ModalBlocker$1, ModalWindow as ModalWindow$1, Tooltip as Tooltip$1, LabeledInput as LabeledInput$1, RadioGroup as RadioGroup$1, ScrollBars as ScrollBars$1, VirtualList as VirtualList$1, Spinner as Spinner$1, Blocker as Blocker$1, CheckboxGroup as CheckboxGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, TimePickerBody as TimePickerBody$1, BaseTimePicker, Calendar as Calendar$1, DatePickerBodyBase, valueFormat, YearSelection, MonthSelection, i18n as i18n$2, BaseDatePicker, CalendarPresets as CalendarPresets$1, uuiDaySelection, uuiDatePickerBodyBase, BaseRangeDatePicker, PickerBodyBase, DataTableCell as DataTableCell$1, DragHandle, DataTableRow as DataTableRow$1, DataTableHeaderRow as DataTableHeaderRow$1, DataTableHeaderCell as DataTableHeaderCell$1, DataTableSelectionProvider, useColumnsConfiguration, DataPickerRow as DataPickerRow$1, PickerModalBase, handleDataSourceKeyboard, AvatarStack as AvatarStack$1, Paginator as Paginator$1, ProgressBar as ProgressBar$1, PickerToggler as PickerToggler$1, Avatar, PickerInputBase, PickerListBase, AdaptivePanel, Burger as Burger$1, MainMenu as MainMenu$1, UploadFileToggler, DropSpot as DropSpot$1 } from '@epam/uui-components';
|
|
2
|
+
export { Avatar, FlexSpacer, IconContainer } from '@epam/uui-components';
|
|
3
|
+
import { withMods, IEditableDebouncer, UuiContext, cx as cx$1, uuiMod, i18n as i18n$1, devLogger, arrayToMatrix, Lens, isMobile, uuiMarkers, uuiDataTableHeaderCell, useUuiContext, useColumnsConfig, uuiScrollShadows, DndActor, mobilePopperModifier, useAppMobileHeight, uuiElement, useForceUpdate, getSeparatedValue, useArrayDataSource, getOrderBetween, Form as Form$1, useForm as useForm$1, formatBytes } from '@epam/uui-core';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import React__default, { forwardRef, useContext, useRef, useState, useEffect, useCallback, useMemo } from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
import FocusLock from 'react-focus-lock';
|
|
8
8
|
import dayjs from 'dayjs';
|
|
9
|
+
import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
9
10
|
import updateLocale from 'dayjs/plugin/updateLocale.js';
|
|
10
11
|
import isoWeek from 'dayjs/plugin/isoWeek.js';
|
|
11
12
|
import sortBy from 'lodash.sortby';
|
|
12
13
|
|
|
13
|
-
var _path$
|
|
14
|
-
function _extends$
|
|
14
|
+
var _path$1d;
|
|
15
|
+
function _extends$1g() { _extends$1g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1g.apply(this, arguments); }
|
|
15
16
|
var SvgBtnCross12 = function SvgBtnCross12(props, ref) {
|
|
16
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
17
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1g({
|
|
17
18
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18
19
|
width: 12,
|
|
19
20
|
height: 12,
|
|
20
21
|
viewBox: "0 0 12 12",
|
|
21
22
|
ref: ref
|
|
22
|
-
}, props), _path$
|
|
23
|
+
}, props), _path$1d || (_path$1d = /*#__PURE__*/React.createElement("path", {
|
|
23
24
|
fillRule: "evenodd",
|
|
24
25
|
d: "M9.5 3.205 8.795 2.5 6 5.295 3.205 2.5l-.705.705L5.295 6 2.5 8.795l.705.705L6 6.705 8.795 9.5l.705-.705L6.705 6z"
|
|
25
26
|
})));
|
|
26
27
|
};
|
|
27
|
-
var ForwardRef$
|
|
28
|
+
var ForwardRef$1g = /*#__PURE__*/forwardRef(SvgBtnCross12);
|
|
28
29
|
|
|
29
|
-
var _path$
|
|
30
|
-
function _extends$
|
|
30
|
+
var _path$1c;
|
|
31
|
+
function _extends$1f() { _extends$1f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1f.apply(this, arguments); }
|
|
31
32
|
var SvgBtnCross18 = function SvgBtnCross18(props, ref) {
|
|
32
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
33
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1f({
|
|
33
34
|
xmlns: "http://www.w3.org/2000/svg",
|
|
34
35
|
width: 18,
|
|
35
36
|
height: 18,
|
|
36
37
|
viewBox: "0 0 18 18",
|
|
37
38
|
ref: ref
|
|
38
|
-
}, props), _path$
|
|
39
|
+
}, props), _path$1c || (_path$1c = /*#__PURE__*/React.createElement("path", {
|
|
39
40
|
fillRule: "evenodd",
|
|
40
41
|
d: "M14.25 4.808 13.193 3.75 9 7.942 4.808 3.75 3.75 4.808 7.942 9 3.75 13.193l1.058 1.057L9 10.057l4.193 4.193 1.057-1.057L10.057 9z"
|
|
41
42
|
})));
|
|
42
43
|
};
|
|
43
|
-
var ForwardRef$
|
|
44
|
+
var ForwardRef$1f = /*#__PURE__*/forwardRef(SvgBtnCross18);
|
|
44
45
|
|
|
45
|
-
var _path
|
|
46
|
-
function _extends$
|
|
46
|
+
var _path$1b;
|
|
47
|
+
function _extends$1e() { _extends$1e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1e.apply(this, arguments); }
|
|
47
48
|
var SvgBtnCross24 = function SvgBtnCross24(props, ref) {
|
|
48
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1e({
|
|
49
50
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50
51
|
width: 24,
|
|
51
52
|
height: 24,
|
|
52
53
|
viewBox: "0 0 24 24",
|
|
53
54
|
ref: ref
|
|
54
|
-
}, props), _path
|
|
55
|
+
}, props), _path$1b || (_path$1b = /*#__PURE__*/React.createElement("path", {
|
|
55
56
|
fillRule: "evenodd",
|
|
56
57
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
57
58
|
})));
|
|
58
59
|
};
|
|
59
|
-
var ForwardRef$
|
|
60
|
+
var ForwardRef$1e = /*#__PURE__*/forwardRef(SvgBtnCross24);
|
|
60
61
|
|
|
61
|
-
var _path$
|
|
62
|
-
function _extends$
|
|
62
|
+
var _path$1a;
|
|
63
|
+
function _extends$1d() { _extends$1d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1d.apply(this, arguments); }
|
|
63
64
|
var SvgFoldingArrow12 = function SvgFoldingArrow12(props, ref) {
|
|
64
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
65
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1d({
|
|
65
66
|
xmlns: "http://www.w3.org/2000/svg",
|
|
66
67
|
width: 12,
|
|
67
68
|
height: 12,
|
|
68
69
|
viewBox: "0 0 12 12",
|
|
69
70
|
ref: ref
|
|
70
|
-
}, props), _path$
|
|
71
|
+
}, props), _path$1a || (_path$1a = /*#__PURE__*/React.createElement("path", {
|
|
71
72
|
fillRule: "evenodd",
|
|
72
73
|
d: "M8.295 4.295 6 6.585l-2.295-2.29L3 5l3 3 3-3z"
|
|
73
74
|
})));
|
|
74
75
|
};
|
|
75
|
-
var ForwardRef$
|
|
76
|
+
var ForwardRef$1d = /*#__PURE__*/forwardRef(SvgFoldingArrow12);
|
|
76
77
|
|
|
77
|
-
var _path$
|
|
78
|
-
function _extends$
|
|
78
|
+
var _path$19;
|
|
79
|
+
function _extends$1c() { _extends$1c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1c.apply(this, arguments); }
|
|
79
80
|
var SvgFoldingArrow18 = function SvgFoldingArrow18(props, ref) {
|
|
80
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
81
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1c({
|
|
81
82
|
xmlns: "http://www.w3.org/2000/svg",
|
|
82
83
|
width: 18,
|
|
83
84
|
height: 18,
|
|
84
85
|
viewBox: "0 0 18 18",
|
|
85
86
|
ref: ref
|
|
86
|
-
}, props), _path$
|
|
87
|
+
}, props), _path$19 || (_path$19 = /*#__PURE__*/React.createElement("path", {
|
|
87
88
|
fillRule: "evenodd",
|
|
88
89
|
d: "M12.443 6.442 9 9.877 5.558 6.442 4.5 7.5 9 12l4.5-4.5z"
|
|
89
90
|
})));
|
|
90
91
|
};
|
|
91
|
-
var ForwardRef$
|
|
92
|
+
var ForwardRef$1c = /*#__PURE__*/forwardRef(SvgFoldingArrow18);
|
|
92
93
|
|
|
93
|
-
var _path$
|
|
94
|
-
function _extends
|
|
94
|
+
var _path$18;
|
|
95
|
+
function _extends$1b() { _extends$1b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1b.apply(this, arguments); }
|
|
95
96
|
var SvgFoldingArrow24 = function SvgFoldingArrow24(props, ref) {
|
|
96
|
-
return /*#__PURE__*/React.createElement("svg", _extends
|
|
97
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1b({
|
|
97
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
98
99
|
width: 24,
|
|
99
100
|
height: 24,
|
|
100
101
|
viewBox: "0 0 24 24",
|
|
101
102
|
ref: ref
|
|
102
|
-
}, props), _path$
|
|
103
|
+
}, props), _path$18 || (_path$18 = /*#__PURE__*/React.createElement("path", {
|
|
103
104
|
fillRule: "evenodd",
|
|
104
105
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
105
106
|
})));
|
|
106
107
|
};
|
|
107
|
-
var ForwardRef
|
|
108
|
+
var ForwardRef$1b = /*#__PURE__*/forwardRef(SvgFoldingArrow24);
|
|
108
109
|
|
|
109
|
-
var _path$
|
|
110
|
-
function _extends$
|
|
110
|
+
var _path$17;
|
|
111
|
+
function _extends$1a() { _extends$1a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1a.apply(this, arguments); }
|
|
111
112
|
var SvgAccept12 = function SvgAccept12(props, ref) {
|
|
112
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
113
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1a({
|
|
113
114
|
xmlns: "http://www.w3.org/2000/svg",
|
|
114
115
|
width: 12,
|
|
115
116
|
height: 12,
|
|
116
117
|
viewBox: "0 0 12 12",
|
|
117
118
|
ref: ref
|
|
118
|
-
}, props), _path$
|
|
119
|
+
}, props), _path$17 || (_path$17 = /*#__PURE__*/React.createElement("path", {
|
|
119
120
|
fillRule: "evenodd",
|
|
120
121
|
d: "M4.846 6.8 9.462 2 11 3.6 4.846 10l-.77-.8L1 6l1.538-1.6 2.308 2.4z"
|
|
121
122
|
})));
|
|
122
123
|
};
|
|
123
|
-
var ForwardRef$
|
|
124
|
+
var ForwardRef$1a = /*#__PURE__*/forwardRef(SvgAccept12);
|
|
124
125
|
|
|
125
|
-
var _path$
|
|
126
|
-
function _extends$
|
|
126
|
+
var _path$16;
|
|
127
|
+
function _extends$19() { _extends$19 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$19.apply(this, arguments); }
|
|
127
128
|
var SvgAccept18 = function SvgAccept18(props, ref) {
|
|
128
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
129
|
+
return /*#__PURE__*/React.createElement("svg", _extends$19({
|
|
129
130
|
xmlns: "http://www.w3.org/2000/svg",
|
|
130
131
|
width: 18,
|
|
131
132
|
height: 18,
|
|
132
133
|
viewBox: "0 0 18 18",
|
|
133
134
|
ref: ref
|
|
134
|
-
}, props), _path$
|
|
135
|
+
}, props), _path$16 || (_path$16 = /*#__PURE__*/React.createElement("path", {
|
|
135
136
|
fillRule: "evenodd",
|
|
136
137
|
d: "M7.136 11.91 4.034 8.776 3 9.821 7.136 14 16 5.045 14.966 4z"
|
|
137
138
|
})));
|
|
138
139
|
};
|
|
139
|
-
var ForwardRef$
|
|
140
|
+
var ForwardRef$19 = /*#__PURE__*/forwardRef(SvgAccept18);
|
|
140
141
|
|
|
141
|
-
var _path$
|
|
142
|
-
function _extends$
|
|
142
|
+
var _path$15;
|
|
143
|
+
function _extends$18() { _extends$18 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$18.apply(this, arguments); }
|
|
143
144
|
var SvgAccept24 = function SvgAccept24(props, ref) {
|
|
144
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
145
|
+
return /*#__PURE__*/React.createElement("svg", _extends$18({
|
|
145
146
|
xmlns: "http://www.w3.org/2000/svg",
|
|
146
147
|
width: 24,
|
|
147
148
|
height: 24,
|
|
148
149
|
viewBox: "0 0 24 24",
|
|
149
150
|
ref: ref
|
|
150
|
-
}, props), _path$
|
|
151
|
+
}, props), _path$15 || (_path$15 = /*#__PURE__*/React.createElement("path", {
|
|
151
152
|
fillRule: "evenodd",
|
|
152
153
|
d: "m9.727 16.075-4.295-4.388L4 13.149 9.727 19 22 6.463 20.568 5z"
|
|
153
154
|
})));
|
|
154
155
|
};
|
|
155
|
-
var ForwardRef$
|
|
156
|
+
var ForwardRef$18 = /*#__PURE__*/forwardRef(SvgAccept24);
|
|
156
157
|
|
|
157
|
-
var _path$
|
|
158
|
-
function _extends$
|
|
158
|
+
var _path$14;
|
|
159
|
+
function _extends$17() { _extends$17 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$17.apply(this, arguments); }
|
|
159
160
|
var SvgSearch12 = function SvgSearch12(props, ref) {
|
|
160
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
161
|
+
return /*#__PURE__*/React.createElement("svg", _extends$17({
|
|
161
162
|
xmlns: "http://www.w3.org/2000/svg",
|
|
162
163
|
width: 12,
|
|
163
164
|
height: 12,
|
|
164
165
|
viewBox: "0 0 12 12",
|
|
165
166
|
ref: ref
|
|
166
|
-
}, props), _path$
|
|
167
|
+
}, props), _path$14 || (_path$14 = /*#__PURE__*/React.createElement("path", {
|
|
167
168
|
fillRule: "evenodd",
|
|
168
169
|
d: "M9.016 8.309 10.707 10l-.707.707-1.691-1.691a4.5 4.5 0 1 1 .707-.707zM5.5 9a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z"
|
|
169
170
|
})));
|
|
170
171
|
};
|
|
171
|
-
var ForwardRef$
|
|
172
|
+
var ForwardRef$17 = /*#__PURE__*/forwardRef(SvgSearch12);
|
|
172
173
|
|
|
173
|
-
var _path$
|
|
174
|
-
function _extends$
|
|
174
|
+
var _path$13;
|
|
175
|
+
function _extends$16() { _extends$16 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$16.apply(this, arguments); }
|
|
175
176
|
var SvgSearch18 = function SvgSearch18(props, ref) {
|
|
176
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
177
|
+
return /*#__PURE__*/React.createElement("svg", _extends$16({
|
|
177
178
|
xmlns: "http://www.w3.org/2000/svg",
|
|
178
179
|
width: 18,
|
|
179
180
|
height: 18,
|
|
180
181
|
viewBox: "0 0 18 18",
|
|
181
182
|
ref: ref
|
|
182
|
-
}, props), _path$
|
|
183
|
+
}, props), _path$13 || (_path$13 = /*#__PURE__*/React.createElement("path", {
|
|
183
184
|
fillRule: "evenodd",
|
|
184
185
|
d: "M13.749 12.335 16.414 15 15 16.414l-2.665-2.665a6.5 6.5 0 1 1 1.414-1.414zM8.5 13a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9z"
|
|
185
186
|
})));
|
|
186
187
|
};
|
|
187
|
-
var ForwardRef$
|
|
188
|
+
var ForwardRef$16 = /*#__PURE__*/forwardRef(SvgSearch18);
|
|
188
189
|
|
|
189
|
-
var _path$
|
|
190
|
-
function _extends$
|
|
190
|
+
var _path$12;
|
|
191
|
+
function _extends$15() { _extends$15 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$15.apply(this, arguments); }
|
|
191
192
|
var SvgSearch24 = function SvgSearch24(props, ref) {
|
|
192
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
193
|
+
return /*#__PURE__*/React.createElement("svg", _extends$15({
|
|
193
194
|
xmlns: "http://www.w3.org/2000/svg",
|
|
194
195
|
width: 24,
|
|
195
196
|
height: 24,
|
|
196
197
|
viewBox: "0 0 24 24",
|
|
197
198
|
ref: ref
|
|
198
|
-
}, props), _path$
|
|
199
|
+
}, props), _path$12 || (_path$12 = /*#__PURE__*/React.createElement("path", {
|
|
199
200
|
fillRule: "evenodd",
|
|
200
201
|
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"
|
|
201
202
|
})));
|
|
202
203
|
};
|
|
203
|
-
var ForwardRef$
|
|
204
|
+
var ForwardRef$15 = /*#__PURE__*/forwardRef(SvgSearch24);
|
|
204
205
|
|
|
205
|
-
var _path$
|
|
206
|
-
function _extends$
|
|
206
|
+
var _path$11;
|
|
207
|
+
function _extends$14() { _extends$14 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$14.apply(this, arguments); }
|
|
207
208
|
var SvgCalendar12 = function SvgCalendar12(props, ref) {
|
|
208
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
209
|
+
return /*#__PURE__*/React.createElement("svg", _extends$14({
|
|
209
210
|
xmlns: "http://www.w3.org/2000/svg",
|
|
210
211
|
width: 12,
|
|
211
212
|
height: 12,
|
|
212
213
|
viewBox: "0 0 12 12",
|
|
213
214
|
ref: ref
|
|
214
|
-
}, props), _path$
|
|
215
|
+
}, props), _path$11 || (_path$11 = /*#__PURE__*/React.createElement("path", {
|
|
215
216
|
fillRule: "evenodd",
|
|
216
217
|
d: "M10 2H9V1H8v1H4V1H3v1H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 8H2V4h8v6z"
|
|
217
218
|
})));
|
|
218
219
|
};
|
|
219
|
-
var ForwardRef$
|
|
220
|
+
var ForwardRef$14 = /*#__PURE__*/forwardRef(SvgCalendar12);
|
|
220
221
|
|
|
221
|
-
var _path$
|
|
222
|
-
function _extends$
|
|
222
|
+
var _path$10;
|
|
223
|
+
function _extends$13() { _extends$13 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$13.apply(this, arguments); }
|
|
223
224
|
var SvgCalendar18 = function SvgCalendar18(props, ref) {
|
|
224
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
225
|
+
return /*#__PURE__*/React.createElement("svg", _extends$13({
|
|
225
226
|
xmlns: "http://www.w3.org/2000/svg",
|
|
226
227
|
width: 18,
|
|
227
228
|
height: 18,
|
|
228
229
|
viewBox: "0 0 18 18",
|
|
229
230
|
ref: ref
|
|
230
|
-
}, props), _path$
|
|
231
|
+
}, props), _path$10 || (_path$10 = /*#__PURE__*/React.createElement("path", {
|
|
231
232
|
fillRule: "evenodd",
|
|
232
233
|
d: "M14 3V1h-2v2H6V1H4v2C3 3 2 4 2 5v10c0 1 1 2 2 2h10c1 0 2-1 2-2V5c0-1-1-2-2-2zm0 12-10 .048V7h10v8z"
|
|
233
234
|
})));
|
|
234
235
|
};
|
|
235
|
-
var ForwardRef$
|
|
236
|
+
var ForwardRef$13 = /*#__PURE__*/forwardRef(SvgCalendar18);
|
|
236
237
|
|
|
237
|
-
var _path
|
|
238
|
-
function _extends$
|
|
238
|
+
var _path$$;
|
|
239
|
+
function _extends$12() { _extends$12 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$12.apply(this, arguments); }
|
|
239
240
|
var SvgCalendar24 = function SvgCalendar24(props, ref) {
|
|
240
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
241
|
+
return /*#__PURE__*/React.createElement("svg", _extends$12({
|
|
241
242
|
xmlns: "http://www.w3.org/2000/svg",
|
|
242
243
|
width: 24,
|
|
243
244
|
height: 24,
|
|
244
245
|
viewBox: "0 0 24 24",
|
|
245
246
|
ref: ref
|
|
246
|
-
}, props), _path
|
|
247
|
+
}, props), _path$$ || (_path$$ = /*#__PURE__*/React.createElement("path", {
|
|
247
248
|
fillRule: "evenodd",
|
|
248
249
|
d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"
|
|
249
250
|
})));
|
|
250
251
|
};
|
|
251
|
-
var ForwardRef$
|
|
252
|
+
var ForwardRef$12 = /*#__PURE__*/forwardRef(SvgCalendar24);
|
|
252
253
|
|
|
253
|
-
var _path$
|
|
254
|
-
function _extends$
|
|
254
|
+
var _path$_;
|
|
255
|
+
function _extends$11() { _extends$11 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$11.apply(this, arguments); }
|
|
255
256
|
var SvgInfo12 = function SvgInfo12(props, ref) {
|
|
256
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
257
|
+
return /*#__PURE__*/React.createElement("svg", _extends$11({
|
|
257
258
|
width: 12,
|
|
258
259
|
height: 12,
|
|
259
260
|
viewBox: "0 0 12 12",
|
|
260
261
|
xmlns: "http://www.w3.org/2000/svg",
|
|
261
262
|
ref: ref
|
|
262
|
-
}, props), _path$
|
|
263
|
+
}, props), _path$_ || (_path$_ = /*#__PURE__*/React.createElement("path", {
|
|
263
264
|
d: "M6 1C3.24 1 1 3.24 1 6s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm1 8H5V5h2zm0-5c-.471.471-1.529.471-2 0s-.471-1.529 0-2 1.529-.471 2 0 .471 1.529 0 2z",
|
|
264
265
|
fillRule: "evenodd"
|
|
265
266
|
})));
|
|
266
267
|
};
|
|
267
|
-
var ForwardRef$
|
|
268
|
+
var ForwardRef$11 = /*#__PURE__*/forwardRef(SvgInfo12);
|
|
268
269
|
|
|
269
|
-
var _path$
|
|
270
|
-
function _extends$
|
|
270
|
+
var _path$Z;
|
|
271
|
+
function _extends$10() { _extends$10 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$10.apply(this, arguments); }
|
|
271
272
|
var SvgInfo18 = function SvgInfo18(props, ref) {
|
|
272
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
273
|
+
return /*#__PURE__*/React.createElement("svg", _extends$10({
|
|
273
274
|
xmlns: "http://www.w3.org/2000/svg",
|
|
274
275
|
width: 18,
|
|
275
276
|
height: 18,
|
|
276
277
|
viewBox: "0 0 18 18",
|
|
277
278
|
ref: ref
|
|
278
|
-
}, props), _path$
|
|
279
|
+
}, props), _path$Z || (_path$Z = /*#__PURE__*/React.createElement("path", {
|
|
279
280
|
fillRule: "evenodd",
|
|
280
281
|
d: "M8 13h2V8H8v5zM9 1C4.584 1 1 4.584 1 9s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8zm0 15c-3.859 0-7-3.141-7-7s3.141-7 7-7 7 3.141 7 7-3.141 7-7 7zM8 7h2V5H8v2z"
|
|
281
282
|
})));
|
|
282
283
|
};
|
|
283
|
-
var ForwardRef$
|
|
284
|
+
var ForwardRef$10 = /*#__PURE__*/forwardRef(SvgInfo18);
|
|
284
285
|
|
|
285
|
-
var _path$
|
|
286
|
-
function _extends
|
|
286
|
+
var _path$Y;
|
|
287
|
+
function _extends$$() { _extends$$ = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$$.apply(this, arguments); }
|
|
287
288
|
var SvgInfo24 = function SvgInfo24(props, ref) {
|
|
288
|
-
return /*#__PURE__*/React.createElement("svg", _extends
|
|
289
|
+
return /*#__PURE__*/React.createElement("svg", _extends$$({
|
|
289
290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
290
291
|
width: 24,
|
|
291
292
|
height: 24,
|
|
292
293
|
viewBox: "0 0 24 24",
|
|
293
294
|
ref: ref
|
|
294
|
-
}, props), _path$
|
|
295
|
+
}, props), _path$Y || (_path$Y = /*#__PURE__*/React.createElement("path", {
|
|
295
296
|
fillRule: "evenodd",
|
|
296
297
|
d: "M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"
|
|
297
298
|
})));
|
|
298
299
|
};
|
|
299
|
-
var ForwardRef
|
|
300
|
+
var ForwardRef$$ = /*#__PURE__*/forwardRef(SvgInfo24);
|
|
300
301
|
|
|
301
|
-
var _path$
|
|
302
|
-
function _extends$
|
|
302
|
+
var _path$X;
|
|
303
|
+
function _extends$_() { _extends$_ = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$_.apply(this, arguments); }
|
|
303
304
|
var SvgHelpFill10 = function SvgHelpFill10(props, ref) {
|
|
304
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
305
|
+
return /*#__PURE__*/React.createElement("svg", _extends$_({
|
|
305
306
|
width: 10,
|
|
306
307
|
height: 10,
|
|
307
308
|
viewBox: "0 0 10 10",
|
|
308
309
|
xmlns: "http://www.w3.org/2000/svg",
|
|
309
310
|
ref: ref
|
|
310
|
-
}, props), _path$
|
|
311
|
+
}, props), _path$X || (_path$X = /*#__PURE__*/React.createElement("path", {
|
|
311
312
|
d: "M5 0C2.24 0 0 2.24 0 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5Zm.5 7.5h-1v-3h1v3Zm0-4h-1v-1h1v1Z"
|
|
312
313
|
})));
|
|
313
314
|
};
|
|
314
|
-
var ForwardRef$
|
|
315
|
+
var ForwardRef$_ = /*#__PURE__*/forwardRef(SvgHelpFill10);
|
|
315
316
|
|
|
316
|
-
var _path$
|
|
317
|
-
function _extends$
|
|
317
|
+
var _path$W;
|
|
318
|
+
function _extends$Z() { _extends$Z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Z.apply(this, arguments); }
|
|
318
319
|
var SvgHelpFill16 = function SvgHelpFill16(props, ref) {
|
|
319
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
320
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Z({
|
|
320
321
|
width: 16,
|
|
321
322
|
height: 16,
|
|
322
323
|
viewBox: "0 0 16 16",
|
|
323
324
|
xmlns: "http://www.w3.org/2000/svg",
|
|
324
325
|
ref: ref
|
|
325
|
-
}, props), _path$
|
|
326
|
+
}, props), _path$W || (_path$W = /*#__PURE__*/React.createElement("path", {
|
|
326
327
|
d: "M7 12h2V7H7v5ZM8 0C3.584 0 0 3.584 0 8s3.584 8 8 8 8-3.584 8-8-3.584-8-8-8Zm0 15c-3.859 0-7-3.141-7-7s3.141-7 7-7 7 3.141 7 7-3.141 7-7 7ZM7 6h2V4H7v2Z"
|
|
327
328
|
})));
|
|
328
329
|
};
|
|
329
|
-
var ForwardRef$
|
|
330
|
+
var ForwardRef$Z = /*#__PURE__*/forwardRef(SvgHelpFill16);
|
|
330
331
|
|
|
332
|
+
var _path$V;
|
|
333
|
+
function _extends$Y() { _extends$Y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Y.apply(this, arguments); }
|
|
334
|
+
var SvgFileFileWord24 = function SvgFileFileWord24(props, ref) {
|
|
335
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Y({
|
|
336
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
337
|
+
width: 24,
|
|
338
|
+
height: 24,
|
|
339
|
+
viewBox: "0 0 24 24",
|
|
340
|
+
ref: ref
|
|
341
|
+
}, props), _path$V || (_path$V = /*#__PURE__*/React.createElement("path", {
|
|
342
|
+
fillRule: "evenodd",
|
|
343
|
+
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",
|
|
344
|
+
clipRule: "evenodd"
|
|
345
|
+
})));
|
|
346
|
+
};
|
|
347
|
+
var ForwardRef$Y = /*#__PURE__*/forwardRef(SvgFileFileWord24);
|
|
348
|
+
|
|
349
|
+
var _path$U;
|
|
350
|
+
function _extends$X() { _extends$X = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$X.apply(this, arguments); }
|
|
351
|
+
var SvgFileFileExcel24 = function SvgFileFileExcel24(props, ref) {
|
|
352
|
+
return /*#__PURE__*/React.createElement("svg", _extends$X({
|
|
353
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
354
|
+
width: 24,
|
|
355
|
+
height: 24,
|
|
356
|
+
viewBox: "0 0 24 24",
|
|
357
|
+
ref: ref
|
|
358
|
+
}, props), _path$U || (_path$U = /*#__PURE__*/React.createElement("path", {
|
|
359
|
+
fillRule: "evenodd",
|
|
360
|
+
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",
|
|
361
|
+
clipRule: "evenodd"
|
|
362
|
+
})));
|
|
363
|
+
};
|
|
364
|
+
var ForwardRef$X = /*#__PURE__*/forwardRef(SvgFileFileExcel24);
|
|
365
|
+
|
|
366
|
+
var _path$T;
|
|
367
|
+
function _extends$W() { _extends$W = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$W.apply(this, arguments); }
|
|
368
|
+
var SvgFileFilePdf24 = function SvgFileFilePdf24(props, ref) {
|
|
369
|
+
return /*#__PURE__*/React.createElement("svg", _extends$W({
|
|
370
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
371
|
+
width: 24,
|
|
372
|
+
height: 24,
|
|
373
|
+
viewBox: "0 0 24 24",
|
|
374
|
+
ref: ref
|
|
375
|
+
}, props), _path$T || (_path$T = /*#__PURE__*/React.createElement("path", {
|
|
376
|
+
fillRule: "evenodd",
|
|
377
|
+
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",
|
|
378
|
+
clipRule: "evenodd"
|
|
379
|
+
})));
|
|
380
|
+
};
|
|
381
|
+
var ForwardRef$W = /*#__PURE__*/forwardRef(SvgFileFilePdf24);
|
|
382
|
+
|
|
383
|
+
var _path$S;
|
|
384
|
+
function _extends$V() { _extends$V = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$V.apply(this, arguments); }
|
|
385
|
+
var SvgFileFileImage24 = function SvgFileFileImage24(props, ref) {
|
|
386
|
+
return /*#__PURE__*/React.createElement("svg", _extends$V({
|
|
387
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
388
|
+
width: 24,
|
|
389
|
+
height: 24,
|
|
390
|
+
viewBox: "0 0 24 24",
|
|
391
|
+
ref: ref
|
|
392
|
+
}, props), _path$S || (_path$S = /*#__PURE__*/React.createElement("path", {
|
|
393
|
+
fillRule: "evenodd",
|
|
394
|
+
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",
|
|
395
|
+
clipRule: "evenodd"
|
|
396
|
+
})));
|
|
397
|
+
};
|
|
398
|
+
var ForwardRef$V = /*#__PURE__*/forwardRef(SvgFileFileImage24);
|
|
399
|
+
|
|
400
|
+
var _path$R, _path2$2;
|
|
401
|
+
function _extends$U() { _extends$U = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$U.apply(this, arguments); }
|
|
402
|
+
var SvgFileFileVideo24 = function SvgFileFileVideo24(props, ref) {
|
|
403
|
+
return /*#__PURE__*/React.createElement("svg", _extends$U({
|
|
404
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
405
|
+
width: 24,
|
|
406
|
+
height: 24,
|
|
407
|
+
viewBox: "0 0 24 24",
|
|
408
|
+
ref: ref
|
|
409
|
+
}, props), _path$R || (_path$R = /*#__PURE__*/React.createElement("path", {
|
|
410
|
+
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
411
|
+
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
412
|
+
fillRule: "evenodd",
|
|
413
|
+
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",
|
|
414
|
+
clipRule: "evenodd"
|
|
415
|
+
})));
|
|
416
|
+
};
|
|
417
|
+
var ForwardRef$U = /*#__PURE__*/forwardRef(SvgFileFileVideo24);
|
|
418
|
+
|
|
419
|
+
var _path$Q;
|
|
420
|
+
function _extends$T() { _extends$T = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$T.apply(this, arguments); }
|
|
421
|
+
var SvgFileFileTable24 = function SvgFileFileTable24(props, ref) {
|
|
422
|
+
return /*#__PURE__*/React.createElement("svg", _extends$T({
|
|
423
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
424
|
+
width: 24,
|
|
425
|
+
height: 24,
|
|
426
|
+
viewBox: "0 0 24 24",
|
|
427
|
+
ref: ref
|
|
428
|
+
}, props), _path$Q || (_path$Q = /*#__PURE__*/React.createElement("path", {
|
|
429
|
+
fillRule: "evenodd",
|
|
430
|
+
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",
|
|
431
|
+
clipRule: "evenodd"
|
|
432
|
+
})));
|
|
433
|
+
};
|
|
434
|
+
var ForwardRef$T = /*#__PURE__*/forwardRef(SvgFileFileTable24);
|
|
435
|
+
|
|
436
|
+
var _path$P;
|
|
437
|
+
function _extends$S() { _extends$S = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$S.apply(this, arguments); }
|
|
438
|
+
var SvgFileFileText24 = function SvgFileFileText24(props, ref) {
|
|
439
|
+
return /*#__PURE__*/React.createElement("svg", _extends$S({
|
|
440
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
441
|
+
width: 24,
|
|
442
|
+
height: 24,
|
|
443
|
+
viewBox: "0 0 24 24",
|
|
444
|
+
ref: ref
|
|
445
|
+
}, props), _path$P || (_path$P = /*#__PURE__*/React.createElement("path", {
|
|
446
|
+
fillRule: "evenodd",
|
|
447
|
+
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",
|
|
448
|
+
clipRule: "evenodd"
|
|
449
|
+
})));
|
|
450
|
+
};
|
|
451
|
+
var ForwardRef$S = /*#__PURE__*/forwardRef(SvgFileFileText24);
|
|
452
|
+
|
|
453
|
+
var _path$O;
|
|
454
|
+
function _extends$R() { _extends$R = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
|
|
455
|
+
var SvgFileFileEml24 = function SvgFileFileEml24(props, ref) {
|
|
456
|
+
return /*#__PURE__*/React.createElement("svg", _extends$R({
|
|
457
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
458
|
+
width: 24,
|
|
459
|
+
height: 24,
|
|
460
|
+
viewBox: "0 0 24 24",
|
|
461
|
+
ref: ref
|
|
462
|
+
}, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
|
|
463
|
+
fillRule: "evenodd",
|
|
464
|
+
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",
|
|
465
|
+
clipRule: "evenodd"
|
|
466
|
+
})));
|
|
467
|
+
};
|
|
468
|
+
var ForwardRef$R = /*#__PURE__*/forwardRef(SvgFileFileEml24);
|
|
469
|
+
|
|
470
|
+
var _path$N;
|
|
471
|
+
function _extends$Q() { _extends$Q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Q.apply(this, arguments); }
|
|
472
|
+
var SvgFileFile24 = function SvgFileFile24(props, ref) {
|
|
473
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Q({
|
|
474
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
475
|
+
width: 24,
|
|
476
|
+
height: 24,
|
|
477
|
+
viewBox: "0 0 24 24",
|
|
478
|
+
ref: ref
|
|
479
|
+
}, props), _path$N || (_path$N = /*#__PURE__*/React.createElement("path", {
|
|
480
|
+
fillRule: "evenodd",
|
|
481
|
+
d: "M13 9V3.5L18.5 9H13zM6 2c-1.11 0-2 .89-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6H6z",
|
|
482
|
+
clipRule: "evenodd"
|
|
483
|
+
})));
|
|
484
|
+
};
|
|
485
|
+
var ForwardRef$Q = /*#__PURE__*/forwardRef(SvgFileFile24);
|
|
486
|
+
|
|
487
|
+
const fileIcons = {
|
|
488
|
+
docIcon: ForwardRef$Y,
|
|
489
|
+
exelIcon: ForwardRef$X,
|
|
490
|
+
pdfIcon: ForwardRef$W,
|
|
491
|
+
imgIcon: ForwardRef$V,
|
|
492
|
+
videoIcon: ForwardRef$U,
|
|
493
|
+
tableIcon: ForwardRef$T,
|
|
494
|
+
textIcon: ForwardRef$S,
|
|
495
|
+
mailIcon: ForwardRef$R,
|
|
496
|
+
fileIcon: ForwardRef$Q,
|
|
497
|
+
};
|
|
331
498
|
const systemIcons = {
|
|
332
499
|
18: {
|
|
333
|
-
clear: ForwardRef$
|
|
334
|
-
foldingArrow: ForwardRef$
|
|
335
|
-
accept: ForwardRef$
|
|
336
|
-
search: ForwardRef$
|
|
337
|
-
calendar: ForwardRef$
|
|
338
|
-
info: ForwardRef$
|
|
339
|
-
help: ForwardRef$
|
|
500
|
+
clear: ForwardRef$1g,
|
|
501
|
+
foldingArrow: ForwardRef$1d,
|
|
502
|
+
accept: ForwardRef$1a,
|
|
503
|
+
search: ForwardRef$17,
|
|
504
|
+
calendar: ForwardRef$14,
|
|
505
|
+
info: ForwardRef$11,
|
|
506
|
+
help: ForwardRef$_,
|
|
340
507
|
},
|
|
341
508
|
24: {
|
|
342
|
-
clear: ForwardRef$
|
|
343
|
-
foldingArrow: ForwardRef$
|
|
344
|
-
accept: ForwardRef$
|
|
345
|
-
search: ForwardRef$
|
|
346
|
-
calendar: ForwardRef$
|
|
347
|
-
info: ForwardRef$
|
|
348
|
-
help: ForwardRef$
|
|
509
|
+
clear: ForwardRef$1g,
|
|
510
|
+
foldingArrow: ForwardRef$1d,
|
|
511
|
+
accept: ForwardRef$1a,
|
|
512
|
+
search: ForwardRef$17,
|
|
513
|
+
calendar: ForwardRef$14,
|
|
514
|
+
info: ForwardRef$11,
|
|
515
|
+
help: ForwardRef$_,
|
|
349
516
|
},
|
|
350
517
|
30: {
|
|
351
|
-
clear: ForwardRef$
|
|
352
|
-
foldingArrow: ForwardRef$
|
|
353
|
-
accept: ForwardRef$
|
|
354
|
-
search: ForwardRef$
|
|
355
|
-
calendar: ForwardRef$
|
|
356
|
-
info: ForwardRef$
|
|
357
|
-
help: ForwardRef$
|
|
518
|
+
clear: ForwardRef$1f,
|
|
519
|
+
foldingArrow: ForwardRef$1c,
|
|
520
|
+
accept: ForwardRef$19,
|
|
521
|
+
search: ForwardRef$16,
|
|
522
|
+
calendar: ForwardRef$13,
|
|
523
|
+
info: ForwardRef$10,
|
|
524
|
+
help: ForwardRef$_,
|
|
358
525
|
},
|
|
359
526
|
36: {
|
|
360
|
-
clear: ForwardRef$
|
|
361
|
-
foldingArrow: ForwardRef$
|
|
362
|
-
accept: ForwardRef$
|
|
363
|
-
search: ForwardRef$
|
|
364
|
-
calendar: ForwardRef$
|
|
365
|
-
info: ForwardRef$
|
|
366
|
-
help: ForwardRef$
|
|
527
|
+
clear: ForwardRef$1f,
|
|
528
|
+
foldingArrow: ForwardRef$1c,
|
|
529
|
+
accept: ForwardRef$19,
|
|
530
|
+
search: ForwardRef$16,
|
|
531
|
+
calendar: ForwardRef$13,
|
|
532
|
+
info: ForwardRef$10,
|
|
533
|
+
help: ForwardRef$Z,
|
|
367
534
|
},
|
|
368
535
|
42: {
|
|
369
|
-
clear: ForwardRef$
|
|
370
|
-
foldingArrow: ForwardRef$
|
|
371
|
-
accept: ForwardRef$
|
|
372
|
-
search: ForwardRef$
|
|
373
|
-
calendar: ForwardRef$
|
|
374
|
-
info: ForwardRef$
|
|
375
|
-
help: ForwardRef$
|
|
536
|
+
clear: ForwardRef$1f,
|
|
537
|
+
foldingArrow: ForwardRef$1c,
|
|
538
|
+
accept: ForwardRef$19,
|
|
539
|
+
search: ForwardRef$16,
|
|
540
|
+
calendar: ForwardRef$13,
|
|
541
|
+
info: ForwardRef$10,
|
|
542
|
+
help: ForwardRef$Z,
|
|
376
543
|
},
|
|
377
544
|
48: {
|
|
378
|
-
clear: ForwardRef$
|
|
379
|
-
foldingArrow: ForwardRef
|
|
380
|
-
accept: ForwardRef$
|
|
381
|
-
search: ForwardRef$
|
|
382
|
-
calendar: ForwardRef$
|
|
383
|
-
info: ForwardRef
|
|
384
|
-
help: ForwardRef$
|
|
545
|
+
clear: ForwardRef$1e,
|
|
546
|
+
foldingArrow: ForwardRef$1b,
|
|
547
|
+
accept: ForwardRef$18,
|
|
548
|
+
search: ForwardRef$15,
|
|
549
|
+
calendar: ForwardRef$12,
|
|
550
|
+
info: ForwardRef$$,
|
|
551
|
+
help: ForwardRef$Z,
|
|
385
552
|
},
|
|
386
553
|
60: {
|
|
387
|
-
clear: ForwardRef$
|
|
388
|
-
foldingArrow: ForwardRef
|
|
389
|
-
accept: ForwardRef$
|
|
390
|
-
search: ForwardRef$
|
|
391
|
-
calendar: ForwardRef$
|
|
392
|
-
info: ForwardRef
|
|
393
|
-
help: ForwardRef$
|
|
554
|
+
clear: ForwardRef$1e,
|
|
555
|
+
foldingArrow: ForwardRef$1b,
|
|
556
|
+
accept: ForwardRef$18,
|
|
557
|
+
search: ForwardRef$15,
|
|
558
|
+
calendar: ForwardRef$12,
|
|
559
|
+
info: ForwardRef$$,
|
|
560
|
+
help: ForwardRef$Z,
|
|
394
561
|
},
|
|
395
562
|
none: {
|
|
396
|
-
clear: ForwardRef$
|
|
397
|
-
foldingArrow: ForwardRef$
|
|
398
|
-
accept: ForwardRef$
|
|
399
|
-
search: ForwardRef$
|
|
400
|
-
calendar: ForwardRef$
|
|
401
|
-
info: ForwardRef$
|
|
402
|
-
help: ForwardRef$
|
|
563
|
+
clear: ForwardRef$1f,
|
|
564
|
+
foldingArrow: ForwardRef$1c,
|
|
565
|
+
accept: ForwardRef$19,
|
|
566
|
+
search: ForwardRef$16,
|
|
567
|
+
calendar: ForwardRef$13,
|
|
568
|
+
info: ForwardRef$10,
|
|
569
|
+
help: ForwardRef$Z,
|
|
403
570
|
},
|
|
404
571
|
};
|
|
405
572
|
|
|
406
|
-
var buttonCss = {"root":"
|
|
573
|
+
var buttonCss = {"root":"JpCjIx","mode-solid":"_6zPtGA","mode-outline":"_2iO51B","mode-none":"RmMn0j","mode-ghost":"cxjoxx","size-18":"JB5Jx5","size-24":"C9A1e2","size-30":"aJuQ21","size-36":"Wo6J8N","size-42":"U7M3F1","size-48":"ScYtFQ","modeSolid":"_6zPtGA","modeOutline":"_2iO51B","modeNone":"RmMn0j","modeGhost":"cxjoxx","size18":"JB5Jx5","size24":"C9A1e2","size30":"aJuQ21","size36":"Wo6J8N","size42":"U7M3F1","size48":"ScYtFQ"};
|
|
407
574
|
|
|
408
575
|
const allButtonColors = [
|
|
409
576
|
'accent', 'primary', 'secondary', 'negative',
|
|
410
577
|
];
|
|
411
|
-
const defaultSize$
|
|
578
|
+
const defaultSize$b = '36';
|
|
412
579
|
function applyButtonMods(mods) {
|
|
413
580
|
return [
|
|
414
581
|
`button-${mods.color || 'primary'}`,
|
|
415
582
|
buttonCss.root,
|
|
416
|
-
buttonCss[`size-${mods.size || defaultSize$
|
|
583
|
+
buttonCss[`size-${mods.size || defaultSize$b}`],
|
|
417
584
|
buttonCss[`mode-${mods.mode || 'solid'}`],
|
|
418
585
|
];
|
|
419
586
|
}
|
|
420
587
|
const Button = withMods(Button$1, applyButtonMods, (props) => ({
|
|
421
|
-
dropdownIcon: systemIcons[props.size || defaultSize$
|
|
422
|
-
clearIcon: systemIcons[props.size || defaultSize$
|
|
588
|
+
dropdownIcon: systemIcons[props.size || defaultSize$b].foldingArrow,
|
|
589
|
+
clearIcon: systemIcons[props.size || defaultSize$b].clear,
|
|
423
590
|
}));
|
|
424
591
|
|
|
425
|
-
var css$
|
|
592
|
+
var css$1f = {"root":"giWQpD"};
|
|
426
593
|
|
|
427
594
|
const allIconColors = [
|
|
428
595
|
'info', 'success', 'warning', 'error', 'secondary', 'default',
|
|
429
596
|
];
|
|
430
597
|
function applyIconButtonMods(mods) {
|
|
431
|
-
return [`icon-button-${mods.color || 'default'}`, css$
|
|
598
|
+
return [`icon-button-${mods.color || 'default'}`, css$1f.root];
|
|
432
599
|
}
|
|
433
600
|
const IconButton = withMods(IconButton$1, applyIconButtonMods);
|
|
434
601
|
|
|
435
|
-
var css$
|
|
602
|
+
var css$1e = {"root":"s0ftcp","size-18":"_9JQnmi","size-24":"d61e91","size-30":"_44PB4Z","size-36":"JJjj95","size-42":"_0NDftp","size-48":"y4rInX","size18":"_9JQnmi","size24":"d61e91","size30":"_44PB4Z","size36":"JJjj95","size42":"_0NDftp","size48":"y4rInX"};
|
|
436
603
|
|
|
437
604
|
function getIconClass(props) {
|
|
438
605
|
const classList = {
|
|
@@ -451,38 +618,38 @@ function getIconClass(props) {
|
|
|
451
618
|
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'];
|
|
452
619
|
}
|
|
453
620
|
|
|
454
|
-
const defaultSize$
|
|
621
|
+
const defaultSize$a = '36';
|
|
455
622
|
const allLinkButtonColors = ['primary', 'secondary', 'contrast'];
|
|
456
623
|
function applyLinkButtonMods(mods) {
|
|
457
624
|
return [
|
|
458
|
-
css$
|
|
459
|
-
css$
|
|
625
|
+
css$1e.root,
|
|
626
|
+
css$1e['size-' + (mods.size || defaultSize$a)],
|
|
460
627
|
...getIconClass(mods),
|
|
461
628
|
`link-button-${mods.color || 'primary'}`,
|
|
462
629
|
];
|
|
463
630
|
}
|
|
464
631
|
const LinkButton = withMods(Button$1, applyLinkButtonMods, (props) => ({
|
|
465
|
-
dropdownIcon: systemIcons[props.size || defaultSize$
|
|
466
|
-
clearIcon: systemIcons[props.size || defaultSize$
|
|
632
|
+
dropdownIcon: systemIcons[props.size || defaultSize$a].foldingArrow,
|
|
633
|
+
clearIcon: systemIcons[props.size || defaultSize$a].clear,
|
|
467
634
|
}));
|
|
468
635
|
|
|
469
|
-
var css$
|
|
636
|
+
var css$1d = {"root":"wX3mtt","uui-notification":"B-0tjJ","size-36":"IEjWBy","size-48":"_7mTdFf","size-60":"KvYjMj","uuiNotification":"B-0tjJ","size36":"IEjWBy","size48":"_7mTdFf","size60":"KvYjMj"};
|
|
470
637
|
|
|
471
638
|
function applyTabButtonMods(mods) {
|
|
472
639
|
return [
|
|
473
|
-
css$
|
|
640
|
+
css$1d.root,
|
|
474
641
|
'informer-default',
|
|
475
|
-
css$
|
|
476
|
-
mods.withNotify && css$
|
|
642
|
+
css$1d['size-' + (mods.size || '48')],
|
|
643
|
+
mods.withNotify && css$1d.uuiNotification,
|
|
477
644
|
...getIconClass(mods),
|
|
478
645
|
];
|
|
479
646
|
}
|
|
480
647
|
const TabButton = withMods(Button$1, applyTabButtonMods, (props) => (Object.assign(Object.assign({ dropdownIcon: systemIcons['36'].foldingArrow, clearIcon: systemIcons['36'].clear, countPosition: 'right' }, props), { rawProps: Object.assign({ role: 'tab' }, props.rawProps) })));
|
|
481
648
|
|
|
482
|
-
var css$
|
|
649
|
+
var css$1c = {"root":"_1SW4ST"};
|
|
483
650
|
|
|
484
651
|
function applyVerticalTabButtonMods() {
|
|
485
|
-
return [css$
|
|
652
|
+
return [css$1c.root];
|
|
486
653
|
}
|
|
487
654
|
const VerticalTabButton = withMods(TabButton, applyVerticalTabButtonMods);
|
|
488
655
|
|
|
@@ -518,89 +685,89 @@ var EditMode;
|
|
|
518
685
|
EditMode["INLINE"] = "inline";
|
|
519
686
|
})(EditMode || (EditMode = {}));
|
|
520
687
|
|
|
521
|
-
var _path$
|
|
522
|
-
function _extends$
|
|
688
|
+
var _path$M;
|
|
689
|
+
function _extends$P() { _extends$P = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
|
|
523
690
|
var SvgCheck12 = function SvgCheck12(props, ref) {
|
|
524
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
691
|
+
return /*#__PURE__*/React.createElement("svg", _extends$P({
|
|
525
692
|
width: 12,
|
|
526
693
|
height: 12,
|
|
527
694
|
viewBox: "0 0 12 12",
|
|
528
695
|
xmlns: "http://www.w3.org/2000/svg",
|
|
529
696
|
ref: ref
|
|
530
|
-
}, props), _path$
|
|
697
|
+
}, props), _path$M || (_path$M = /*#__PURE__*/React.createElement("path", {
|
|
531
698
|
fillRule: "evenodd",
|
|
532
699
|
d: "M9.491 3.449 10.51 4.55 5.663 9.024 2.487 6.047l1.026-1.094L5.67 6.975z"
|
|
533
700
|
})));
|
|
534
701
|
};
|
|
535
|
-
var ForwardRef$
|
|
702
|
+
var ForwardRef$P = /*#__PURE__*/forwardRef(SvgCheck12);
|
|
536
703
|
|
|
537
|
-
var _path$
|
|
538
|
-
function _extends$
|
|
704
|
+
var _path$L;
|
|
705
|
+
function _extends$O() { _extends$O = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
|
|
539
706
|
var SvgCheck18 = function SvgCheck18(props, ref) {
|
|
540
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
707
|
+
return /*#__PURE__*/React.createElement("svg", _extends$O({
|
|
541
708
|
width: 18,
|
|
542
709
|
height: 18,
|
|
543
710
|
viewBox: "0 0 18 18",
|
|
544
711
|
xmlns: "http://www.w3.org/2000/svg",
|
|
545
712
|
ref: ref
|
|
546
|
-
}, props), _path$
|
|
713
|
+
}, props), _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
|
|
547
714
|
fillRule: "evenodd",
|
|
548
715
|
d: "m14.247 4.341 1.506 1.318-7.704 8.804-4.756-4.756 1.414-1.414 3.244 3.243z"
|
|
549
716
|
})));
|
|
550
717
|
};
|
|
551
|
-
var ForwardRef$
|
|
718
|
+
var ForwardRef$O = /*#__PURE__*/forwardRef(SvgCheck18);
|
|
552
719
|
|
|
553
|
-
var _path$
|
|
554
|
-
function _extends$
|
|
720
|
+
var _path$K;
|
|
721
|
+
function _extends$N() { _extends$N = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$N.apply(this, arguments); }
|
|
555
722
|
var SvgPartlySelect12 = function SvgPartlySelect12(props, ref) {
|
|
556
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
723
|
+
return /*#__PURE__*/React.createElement("svg", _extends$N({
|
|
557
724
|
width: 12,
|
|
558
725
|
height: 12,
|
|
559
726
|
viewBox: "0 0 12 12",
|
|
560
727
|
xmlns: "http://www.w3.org/2000/svg",
|
|
561
728
|
ref: ref
|
|
562
|
-
}, props), _path$
|
|
729
|
+
}, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
563
730
|
fillRule: "evenodd",
|
|
564
731
|
d: "M9 5v2H3V5z"
|
|
565
732
|
})));
|
|
566
733
|
};
|
|
567
|
-
var ForwardRef$
|
|
734
|
+
var ForwardRef$N = /*#__PURE__*/forwardRef(SvgPartlySelect12);
|
|
568
735
|
|
|
569
|
-
var _path$
|
|
570
|
-
function _extends$
|
|
736
|
+
var _path$J;
|
|
737
|
+
function _extends$M() { _extends$M = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$M.apply(this, arguments); }
|
|
571
738
|
var SvgPartlySelect18 = function SvgPartlySelect18(props, ref) {
|
|
572
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
739
|
+
return /*#__PURE__*/React.createElement("svg", _extends$M({
|
|
573
740
|
width: 18,
|
|
574
741
|
height: 18,
|
|
575
742
|
viewBox: "0 0 18 18",
|
|
576
743
|
xmlns: "http://www.w3.org/2000/svg",
|
|
577
744
|
ref: ref
|
|
578
|
-
}, props), _path$
|
|
745
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
579
746
|
fillRule: "evenodd",
|
|
580
747
|
d: "M14 8v2H4V8z"
|
|
581
748
|
})));
|
|
582
749
|
};
|
|
583
|
-
var ForwardRef$
|
|
750
|
+
var ForwardRef$M = /*#__PURE__*/forwardRef(SvgPartlySelect18);
|
|
584
751
|
|
|
585
|
-
var css$
|
|
752
|
+
var css$1b = {"root":"baA0Wz","size-18":"hiLHlQ","size-12":"_0NnqIh","mode-cell":"hUTZ5y","size18":"hiLHlQ","size12":"_0NnqIh","modeCell":"hUTZ5y"};
|
|
586
753
|
|
|
587
754
|
function applyCheckboxMods(mods) {
|
|
588
755
|
return [
|
|
589
|
-
css$
|
|
756
|
+
css$1b.root, css$1b['size-' + (mods.size || '18')], css$1b['mode-' + (mods.mode || 'form')],
|
|
590
757
|
];
|
|
591
758
|
}
|
|
592
759
|
const applyUUICheckboxProps = (props) => ({
|
|
593
|
-
icon: props.size === '12' ? ForwardRef$
|
|
594
|
-
indeterminateIcon: props.size === '12' ? ForwardRef$
|
|
760
|
+
icon: props.size === '12' ? ForwardRef$P : ForwardRef$O,
|
|
761
|
+
indeterminateIcon: props.size === '12' ? ForwardRef$N : ForwardRef$M,
|
|
595
762
|
});
|
|
596
763
|
const Checkbox = withMods(Checkbox$1, applyCheckboxMods, applyUUICheckboxProps);
|
|
597
764
|
|
|
598
|
-
var css$
|
|
765
|
+
var css$1a = {"root":"_4hMA0v","size-18":"H7DUm-","size-12":"CtuRyE","size18":"H7DUm-","size12":"CtuRyE"};
|
|
599
766
|
|
|
600
767
|
var _circle;
|
|
601
|
-
function _extends$
|
|
768
|
+
function _extends$L() { _extends$L = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$L.apply(this, arguments); }
|
|
602
769
|
var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
603
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
770
|
+
return /*#__PURE__*/React.createElement("svg", _extends$L({
|
|
604
771
|
width: 18,
|
|
605
772
|
height: 18,
|
|
606
773
|
viewBox: "0 0 18 18",
|
|
@@ -612,18 +779,18 @@ var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
|
612
779
|
r: 6
|
|
613
780
|
})));
|
|
614
781
|
};
|
|
615
|
-
var ForwardRef$
|
|
782
|
+
var ForwardRef$L = /*#__PURE__*/forwardRef(SvgRadioPoint);
|
|
616
783
|
|
|
617
784
|
function applyRadioInputMods(mods) {
|
|
618
|
-
return [css$
|
|
785
|
+
return [css$1a.root, css$1a['size-' + (mods.size || '18')]];
|
|
619
786
|
}
|
|
620
|
-
const RadioInput = withMods(RadioInput$1, applyRadioInputMods, () => ({ icon: ForwardRef$
|
|
787
|
+
const RadioInput = withMods(RadioInput$1, applyRadioInputMods, () => ({ icon: ForwardRef$L }));
|
|
621
788
|
|
|
622
|
-
var css$
|
|
789
|
+
var css$19 = {"root":"VIVWeQ","size-12":"WS-uRX","size-18":"HtuPUi","size-24":"s91x8j","size12":"WS-uRX","size18":"HtuPUi","size24":"s91x8j"};
|
|
623
790
|
|
|
624
791
|
function applySwitchMods(mods) {
|
|
625
792
|
return [
|
|
626
|
-
'switch-vars', css$
|
|
793
|
+
'switch-vars', css$19.root, css$19['size-' + (mods.size || '18')],
|
|
627
794
|
];
|
|
628
795
|
}
|
|
629
796
|
const Switch = withMods(Switch$1, applySwitchMods);
|
|
@@ -672,27 +839,27 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
672
839
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
673
840
|
};
|
|
674
841
|
|
|
675
|
-
var textInputCss = {"root":"
|
|
842
|
+
var textInputCss = {"root":"slUBds","mode-form":"UHDI6n","mode-inline":"arzjEf","mode-cell":"-RznVL","size-24":"_8uJHzA","size-30":"_1WE5Xa","size-36":"UKT-u-","size-42":"SStKiT","size-48":"EsV6QA","modeForm":"UHDI6n","modeInline":"arzjEf","modeCell":"-RznVL","size24":"_8uJHzA","size30":"_1WE5Xa","size36":"UKT-u-","size42":"SStKiT","size48":"EsV6QA"};
|
|
676
843
|
|
|
677
|
-
const defaultSize$
|
|
678
|
-
const defaultMode$
|
|
844
|
+
const defaultSize$9 = '36';
|
|
845
|
+
const defaultMode$5 = EditMode.FORM;
|
|
679
846
|
function applyTextInputMods(mods) {
|
|
680
847
|
return [
|
|
681
848
|
textInputCss.root,
|
|
682
|
-
textInputCss['size-' + (mods.size || defaultSize$
|
|
683
|
-
textInputCss['mode-' + (mods.mode || defaultMode$
|
|
849
|
+
textInputCss['size-' + (mods.size || defaultSize$9)],
|
|
850
|
+
textInputCss['mode-' + (mods.mode || defaultMode$5)],
|
|
684
851
|
];
|
|
685
852
|
}
|
|
686
853
|
const TextInput = withMods(TextInput$1, applyTextInputMods, (props) => ({
|
|
687
|
-
acceptIcon: systemIcons[props.size || defaultSize$
|
|
688
|
-
cancelIcon: systemIcons[props.size || defaultSize$
|
|
689
|
-
dropdownIcon: systemIcons[props.size || defaultSize$
|
|
854
|
+
acceptIcon: systemIcons[props.size || defaultSize$9].accept,
|
|
855
|
+
cancelIcon: systemIcons[props.size || defaultSize$9].clear,
|
|
856
|
+
dropdownIcon: systemIcons[props.size || defaultSize$9].foldingArrow,
|
|
690
857
|
}));
|
|
691
858
|
const SearchInput = React__default.forwardRef((props, ref) => {
|
|
692
859
|
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
693
860
|
const textInputProps = __rest(props, []);
|
|
694
861
|
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
695
|
-
return (React__default.createElement(IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => (React__default.createElement(TextInput, Object.assign({ icon: systemIcons[props.size || defaultSize$
|
|
862
|
+
return (React__default.createElement(IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => (React__default.createElement(TextInput, Object.assign({ icon: systemIcons[props.size || defaultSize$9].search, onCancel: !!props.value
|
|
696
863
|
// In a lot of places, it is required to check if a clicked element is a part of some other element.
|
|
697
864
|
// Usually, those are global click event handlers. To allow that logic to work correctly, it is necessary
|
|
698
865
|
// to execute the `disappearing` of the cross (setState execution) after the event will pass through all the handlers.
|
|
@@ -701,148 +868,146 @@ const SearchInput = React__default.forwardRef((props, ref) => {
|
|
|
701
868
|
: undefined, type: "search", inputMode: "search", ref: ref }, textInputProps, iEditable))) })));
|
|
702
869
|
});
|
|
703
870
|
|
|
704
|
-
var css$
|
|
871
|
+
var css$18 = {"root":"-X-Q7f","mode-block":"D-I42-","mode-inline":"UoGiMh","padding-0":"TNWXdT","padding-6":"A9n-64","padding-12":"yIv3jm","padding-18":"SItbyr","modeBlock":"D-I42-","modeInline":"UoGiMh","padding0":"TNWXdT","padding6":"A9n-64","padding12":"yIv3jm","padding18":"SItbyr"};
|
|
705
872
|
|
|
706
873
|
function applyAccordionMods(mods) {
|
|
707
874
|
return [
|
|
708
|
-
css$
|
|
875
|
+
css$18.root, css$18['mode-' + (mods.mode || 'block')], mods.padding && css$18['padding-' + mods.padding],
|
|
709
876
|
];
|
|
710
877
|
}
|
|
711
878
|
const Accordion = withMods(Accordion$1, applyAccordionMods, (mods) => ({
|
|
712
879
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
|
|
713
880
|
}));
|
|
714
881
|
|
|
715
|
-
var css$
|
|
882
|
+
var css$17 = {"root":"C3NXQZ"};
|
|
716
883
|
|
|
717
|
-
const ControlGroup = withMods(ControlGroup$1, () => [css$
|
|
884
|
+
const ControlGroup = withMods(ControlGroup$1, () => [css$17.root]);
|
|
718
885
|
|
|
719
|
-
var css
|
|
886
|
+
var css$16 = {"root":"_7ca-Ly","border-bottom":"_9KsWn-","top-shadow":"-oulnc","size-24":"mfFQ3a","size-30":"wREiMJ","size-36":"CGRGmy","size-42":"GjjwCh","size-48":"VqUOS5","padding-6":"y02lUT","padding-12":"vtypkA","padding-18":"h7jOCo","padding-24":"HBf3Lo","margin-24":"zXe0U0","margin-12":"JqoxCt","vPadding-12":"Gwg-bG","vPadding-18":"_0nuDXM","vPadding-24":"_7WJi29","vPadding-36":"arWoNk","vPadding-48":"AzL3Zs","spacing-6":"GJilJA","spacing-12":"VOexu-","spacing-18":"_3frBj5","borderBottom":"_9KsWn-","topShadow":"-oulnc","size24":"mfFQ3a","size30":"wREiMJ","size36":"CGRGmy","size42":"GjjwCh","size48":"VqUOS5","padding6":"y02lUT","padding12":"vtypkA","padding18":"h7jOCo","padding24":"HBf3Lo","margin24":"zXe0U0","margin12":"JqoxCt","vPadding12":"Gwg-bG","vPadding18":"_0nuDXM","vPadding24":"_7WJi29","vPadding36":"arWoNk","vPadding48":"AzL3Zs","spacing6":"GJilJA","spacing12":"VOexu-","spacing18":"_3frBj5"};
|
|
720
887
|
|
|
721
|
-
const FlexCell = withMods(FlexCell$1, () => [css
|
|
888
|
+
const FlexCell = withMods(FlexCell$1, () => [css$16.flexCell]);
|
|
722
889
|
|
|
723
890
|
const FlexRow = withMods(FlexRow$1, (props) => {
|
|
724
891
|
return [
|
|
725
|
-
css
|
|
892
|
+
css$16.root, props.size !== null && css$16['size-' + (props.size || '36')], props.padding && css$16['padding-' + props.padding], props.vPadding && css$16['vPadding-' + props.vPadding], props.margin && css$16['margin-' + props.margin], props.topShadow && css$16.topShadow, props.borderBottom && css$16.borderBottom, props.spacing && css$16['spacing-' + props.spacing],
|
|
726
893
|
];
|
|
727
894
|
});
|
|
728
895
|
|
|
729
|
-
var css$
|
|
896
|
+
var css$15 = {"root":"sjWL23","margin-24":"efp-Af","padding-12":"gws-Rx","padding-24":"pa0dcm","shadow":"dGv-Sn","margin24":"efp-Af","padding12":"gws-Rx","padding24":"pa0dcm"};
|
|
730
897
|
|
|
731
898
|
const Panel = withMods(VPanel, (props) => [
|
|
732
|
-
'uui-panel', css$
|
|
899
|
+
'uui-panel', css$15.root, props.shadow && css$15.shadow, props.margin && css$15['margin-' + props.margin],
|
|
733
900
|
]);
|
|
734
901
|
|
|
735
|
-
var _path$
|
|
736
|
-
function _extends$
|
|
902
|
+
var _path$I;
|
|
903
|
+
function _extends$K() { _extends$K = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$K.apply(this, arguments); }
|
|
737
904
|
var SvgNotificationCheckCircleFill24 = function SvgNotificationCheckCircleFill24(props, ref) {
|
|
738
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
905
|
+
return /*#__PURE__*/React.createElement("svg", _extends$K({
|
|
739
906
|
xmlns: "http://www.w3.org/2000/svg",
|
|
740
907
|
width: 24,
|
|
741
908
|
height: 24,
|
|
742
909
|
viewBox: "0 0 24 24",
|
|
743
910
|
ref: ref
|
|
744
|
-
}, props), _path$
|
|
911
|
+
}, props), _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
745
912
|
fillRule: "evenodd",
|
|
746
913
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
747
914
|
})));
|
|
748
915
|
};
|
|
749
|
-
var ForwardRef$
|
|
916
|
+
var ForwardRef$K = /*#__PURE__*/forwardRef(SvgNotificationCheckCircleFill24);
|
|
750
917
|
|
|
751
|
-
var _path$
|
|
752
|
-
function _extends$
|
|
918
|
+
var _path$H;
|
|
919
|
+
function _extends$J() { _extends$J = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$J.apply(this, arguments); }
|
|
753
920
|
var SvgNotificationWarningFill24 = function SvgNotificationWarningFill24(props, ref) {
|
|
754
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
921
|
+
return /*#__PURE__*/React.createElement("svg", _extends$J({
|
|
755
922
|
xmlns: "http://www.w3.org/2000/svg",
|
|
756
923
|
width: 24,
|
|
757
924
|
height: 24,
|
|
758
925
|
viewBox: "0 0 24 24",
|
|
759
926
|
ref: ref
|
|
760
|
-
}, props), _path$
|
|
927
|
+
}, props), _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
|
|
761
928
|
fillRule: "evenodd",
|
|
762
929
|
d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
|
|
763
930
|
})));
|
|
764
931
|
};
|
|
765
|
-
var ForwardRef$
|
|
932
|
+
var ForwardRef$J = /*#__PURE__*/forwardRef(SvgNotificationWarningFill24);
|
|
766
933
|
|
|
767
|
-
var _path$
|
|
768
|
-
function _extends$
|
|
934
|
+
var _path$G;
|
|
935
|
+
function _extends$I() { _extends$I = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
|
|
769
936
|
var SvgNotificationErrorFill24 = function SvgNotificationErrorFill24(props, ref) {
|
|
770
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
937
|
+
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
771
938
|
xmlns: "http://www.w3.org/2000/svg",
|
|
772
939
|
width: 24,
|
|
773
940
|
height: 24,
|
|
774
941
|
viewBox: "0 0 24 24",
|
|
775
942
|
ref: ref
|
|
776
|
-
}, props), _path$
|
|
943
|
+
}, props), _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
777
944
|
fillRule: "evenodd",
|
|
778
945
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
|
|
779
946
|
})));
|
|
780
947
|
};
|
|
781
|
-
var ForwardRef$
|
|
948
|
+
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgNotificationErrorFill24);
|
|
782
949
|
|
|
783
|
-
var _path$
|
|
784
|
-
function _extends$
|
|
950
|
+
var _path$F;
|
|
951
|
+
function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
|
|
785
952
|
var SvgNotificationHelpFill24 = function SvgNotificationHelpFill24(props, ref) {
|
|
786
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
953
|
+
return /*#__PURE__*/React.createElement("svg", _extends$H({
|
|
787
954
|
xmlns: "http://www.w3.org/2000/svg",
|
|
788
955
|
width: 24,
|
|
789
956
|
height: 24,
|
|
790
957
|
viewBox: "0 0 24 24",
|
|
791
958
|
ref: ref
|
|
792
|
-
}, props), _path$
|
|
959
|
+
}, props), _path$F || (_path$F = /*#__PURE__*/React.createElement("path", {
|
|
793
960
|
fillRule: "evenodd",
|
|
794
961
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"
|
|
795
962
|
})));
|
|
796
963
|
};
|
|
797
|
-
var ForwardRef$
|
|
964
|
+
var ForwardRef$H = /*#__PURE__*/forwardRef(SvgNotificationHelpFill24);
|
|
798
965
|
|
|
799
|
-
var _path$
|
|
800
|
-
function _extends$
|
|
966
|
+
var _path$E;
|
|
967
|
+
function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
|
|
801
968
|
var SvgNavigationClose24$1 = function SvgNavigationClose24(props, ref) {
|
|
802
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
969
|
+
return /*#__PURE__*/React.createElement("svg", _extends$G({
|
|
803
970
|
xmlns: "http://www.w3.org/2000/svg",
|
|
804
971
|
width: 24,
|
|
805
972
|
height: 24,
|
|
806
973
|
viewBox: "0 0 24 24",
|
|
807
974
|
ref: ref
|
|
808
|
-
}, props), _path$
|
|
975
|
+
}, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
|
|
809
976
|
fillRule: "evenodd",
|
|
810
977
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
811
978
|
})));
|
|
812
979
|
};
|
|
813
|
-
var ForwardRef$
|
|
980
|
+
var ForwardRef$G = /*#__PURE__*/forwardRef(SvgNavigationClose24$1);
|
|
814
981
|
|
|
815
|
-
var css$
|
|
982
|
+
var css$14 = {"root":"kYZwRS","icon-wrapper":"vpV-T-","alert-wrapper":"zpfsSG","size-48":"xZvwu3","size-36":"_2hahC2","action-wrapper":"A6fRpa","action-icon":"pG8FcU","action-link":"NodnNt","close-icon":"_4qAY1G","main-path":"-hhMYh","content":"_8-v5x4","iconWrapper":"vpV-T-","alertWrapper":"zpfsSG","size48":"xZvwu3","size36":"_2hahC2","actionWrapper":"A6fRpa","actionIcon":"pG8FcU","actionLink":"NodnNt","closeIcon":"_4qAY1G","mainPath":"-hhMYh"};
|
|
816
983
|
|
|
817
|
-
const Alert = React.forwardRef((props, ref) => (React.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx(css$
|
|
818
|
-
React.createElement("div", { className: css$
|
|
819
|
-
props.icon && (React.createElement("div", { className: css$
|
|
820
|
-
React.createElement(IconContainer, { icon: props.icon, cx: css$
|
|
821
|
-
React.createElement("div", { className: css$
|
|
984
|
+
const Alert = React.forwardRef((props, ref) => (React.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx(css$14.alertWrapper, `alert-${props.color || 'default'}`, css$14.root, props.cx, (props.size === '36' ? css$14.size36 : css$14.size48)) }, props.rawProps),
|
|
985
|
+
React.createElement("div", { className: css$14.mainPath },
|
|
986
|
+
props.icon && (React.createElement("div", { className: css$14.iconWrapper },
|
|
987
|
+
React.createElement(IconContainer, { icon: props.icon, cx: css$14.actionIcon }))),
|
|
988
|
+
React.createElement("div", { className: css$14.content },
|
|
822
989
|
props.children,
|
|
823
|
-
props.actions && (React.createElement("div", { className: css$
|
|
824
|
-
props.onClose && React.createElement(IconButton, { icon: ForwardRef$
|
|
825
|
-
const WarningAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
826
|
-
const SuccessAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
827
|
-
const HintAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
828
|
-
const ErrorAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
return React.createElement(Dropdown$1, Object.assign({}, this.props));
|
|
833
|
-
}
|
|
990
|
+
props.actions && (React.createElement("div", { className: css$14.actionWrapper }, props.actions.map((action) => (React.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$14.actionLink, size: (props === null || props === void 0 ? void 0 : props.size) === '36' ? '24' : '30' })))))),
|
|
991
|
+
props.onClose && React.createElement(IconButton, { icon: ForwardRef$G, color: "default", onClick: props.onClose, cx: css$14.closeIcon })))));
|
|
992
|
+
const WarningAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$J, color: "warning", ref: ref }, props)));
|
|
993
|
+
const SuccessAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$K, color: "success", ref: ref }, props)));
|
|
994
|
+
const HintAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$H, color: "info", ref: ref }, props)));
|
|
995
|
+
const ErrorAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$I, color: "error", ref: ref }, props)));
|
|
996
|
+
|
|
997
|
+
function Dropdown(props) {
|
|
998
|
+
return React.createElement(Dropdown$1, Object.assign({}, props));
|
|
834
999
|
}
|
|
835
1000
|
|
|
836
|
-
var css$
|
|
1001
|
+
var css$13 = {"root":"JsYEG6"};
|
|
837
1002
|
|
|
838
1003
|
function applyDropdownContainerMods(mods) {
|
|
839
1004
|
return [
|
|
840
|
-
css$
|
|
1005
|
+
css$13.root, mods.vPadding && `vPadding-${mods.vPadding}`, mods.padding && `padding-${mods.padding}`,
|
|
841
1006
|
];
|
|
842
1007
|
}
|
|
843
1008
|
const DropdownContainer = withMods(DropdownContainer$1, applyDropdownContainerMods);
|
|
844
1009
|
|
|
845
|
-
var css$
|
|
1010
|
+
var css$12 = {"menuRoot":"HSAfTU","bodyRoot":"_-3ktfd","submenuRootItem":"CUtbSR","iconAfter":"GieBi2","iconCheck":"_3TgRS9","splitterRoot":"vgjPzd","splitter":"rYP1DH","headerRoot":"g-sb-u","itemRoot":"_3XpNAE","icon":"QDl-ES","link":"ssSji6"};
|
|
846
1011
|
|
|
847
1012
|
const icons = systemIcons['36'];
|
|
848
1013
|
var IDropdownControlKeys;
|
|
@@ -881,10 +1046,13 @@ function DropdownMenuContainer(props) {
|
|
|
881
1046
|
props.onClose();
|
|
882
1047
|
}
|
|
883
1048
|
};
|
|
884
|
-
return (React__default.createElement(FocusLock, { as: "menu", className: css$
|
|
885
|
-
React__default.createElement(DropdownContainer$1, Object.assign({}, props, { rawProps: { tabIndex: -1 } }))));
|
|
1049
|
+
return (React__default.createElement(FocusLock, { as: "menu", className: css$12.menuRoot, returnFocus: true, autoFocus: false, ref: menuRef, lockProps: { onKeyDown: handleArrowKeys, tabIndex: -1 } },
|
|
1050
|
+
React__default.createElement(DropdownContainer$1, Object.assign({}, props, { rawProps: Object.assign(Object.assign({}, props.rawProps), { tabIndex: -1 }) }))));
|
|
886
1051
|
}
|
|
887
|
-
const DropdownMenuBody = withMods(DropdownMenuContainer, () => [css$
|
|
1052
|
+
const DropdownMenuBody = withMods(DropdownMenuContainer, () => [css$12.bodyRoot], (props) => {
|
|
1053
|
+
const dropdownRawProps = props.minWidth ? Object.assign(Object.assign({}, props.rawProps), { style: { minWidth: `${props.minWidth}px` } }) : null;
|
|
1054
|
+
return (Object.assign(Object.assign({}, props), { rawProps: dropdownRawProps || props.rawProps }));
|
|
1055
|
+
});
|
|
888
1056
|
const DropdownMenuButton = React__default.forwardRef((props, ref) => {
|
|
889
1057
|
const context = useContext(UuiContext);
|
|
890
1058
|
const { icon, iconPosition, onIconClick, caption, isDisabled, isSelected, isActive, link, href, onClick, toggleDropdownOpening, isDropdown, isOpen, target, } = props;
|
|
@@ -905,32 +1073,32 @@ const DropdownMenuButton = React__default.forwardRef((props, ref) => {
|
|
|
905
1073
|
const getMenuButtonContent = () => {
|
|
906
1074
|
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
907
1075
|
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
908
|
-
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'info' : 'default', onClick: onIconClick, cx: cx$1(css$
|
|
1076
|
+
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'info' : 'default', onClick: onIconClick, cx: cx$1(css$12.icon, iconPosition === 'right' ? css$12.iconAfter : css$12.iconBefore) }));
|
|
909
1077
|
return (React__default.createElement(React__default.Fragment, null,
|
|
910
1078
|
isIconBefore && iconElement,
|
|
911
|
-
React__default.createElement(Text$1, { cx: css$
|
|
1079
|
+
React__default.createElement(Text$1, { cx: css$12.caption }, caption),
|
|
912
1080
|
isIconAfter && (React__default.createElement(React__default.Fragment, null,
|
|
913
1081
|
React__default.createElement(FlexSpacer, null),
|
|
914
1082
|
iconElement))));
|
|
915
1083
|
};
|
|
916
1084
|
const isAnchor = Boolean(link || href);
|
|
917
|
-
const itemClassNames = cx$1(props.cx, css$
|
|
918
|
-
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$
|
|
1085
|
+
const itemClassNames = cx$1(props.cx, css$12.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened);
|
|
1086
|
+
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$12.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isDisabled: isDisabled, forwardedRef: ref, target: target }, getMenuButtonContent())) : (React__default.createElement(FlexRow$1, { rawProps: {
|
|
919
1087
|
tabIndex: isDisabled ? -1 : 0,
|
|
920
1088
|
role: 'menuitem',
|
|
921
1089
|
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
922
1090
|
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
923
1091
|
getMenuButtonContent(),
|
|
924
|
-
isSelected && React__default.createElement(IconContainer, { icon: icons.accept, cx: css$
|
|
1092
|
+
isSelected && React__default.createElement(IconContainer, { icon: icons.accept, cx: css$12.selectedCheckmark })));
|
|
925
1093
|
});
|
|
926
1094
|
DropdownMenuButton.displayName = 'DropdownMenuButton';
|
|
927
1095
|
function DropdownMenuSplitter(props) {
|
|
928
|
-
return (React__default.createElement("div", { className: cx$1(props.cx, css$
|
|
929
|
-
React__default.createElement("hr", { className: css$
|
|
1096
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$12.splitterRoot) },
|
|
1097
|
+
React__default.createElement("hr", { className: css$12.splitter })));
|
|
930
1098
|
}
|
|
931
1099
|
function DropdownMenuHeader(props) {
|
|
932
|
-
return (React__default.createElement("div", { className: cx$1(props.cx, css$
|
|
933
|
-
React__default.createElement("span", { className: css$
|
|
1100
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$12.headerRoot) },
|
|
1101
|
+
React__default.createElement("span", { className: css$12.header }, props.caption)));
|
|
934
1102
|
}
|
|
935
1103
|
function DropdownSubMenu(props) {
|
|
936
1104
|
const subMenuModifiers = [
|
|
@@ -950,7 +1118,7 @@ function DropdownSubMenu(props) {
|
|
|
950
1118
|
];
|
|
951
1119
|
return (React__default.createElement(Dropdown$1, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: "right-start", modifiers: subMenuModifiers, renderBody: (dropdownProps) => React__default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps)), renderTarget: (_a) => {
|
|
952
1120
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
953
|
-
return (React__default.createElement(DropdownMenuButton, Object.assign({ cx: cx$1(css$
|
|
1121
|
+
return (React__default.createElement(DropdownMenuButton, Object.assign({ cx: cx$1(css$12.submenuRootItem), icon: icons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props, targetProps)));
|
|
954
1122
|
} }));
|
|
955
1123
|
}
|
|
956
1124
|
function DropdownMenuSwitchButton(props) {
|
|
@@ -967,16 +1135,16 @@ function DropdownMenuSwitchButton(props) {
|
|
|
967
1135
|
onHandleValueChange(!isSelected);
|
|
968
1136
|
}
|
|
969
1137
|
};
|
|
970
|
-
return (React__default.createElement(FlexRow$1, { cx: cx$1(props.cx, css$
|
|
971
|
-
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$
|
|
972
|
-
React__default.createElement(Text$1, { cx: css$
|
|
1138
|
+
return (React__default.createElement(FlexRow$1, { cx: cx$1(props.cx, css$12.itemRoot, isDisabled && uuiMod.disabled), onClick: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
1139
|
+
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$12.iconBefore }),
|
|
1140
|
+
React__default.createElement(Text$1, { cx: css$12.caption }, caption),
|
|
973
1141
|
React__default.createElement(FlexSpacer, null),
|
|
974
1142
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
975
1143
|
}
|
|
976
1144
|
|
|
977
|
-
var css$
|
|
1145
|
+
var css$11 = {"root":"zwZPGx"};
|
|
978
1146
|
|
|
979
|
-
var css$
|
|
1147
|
+
var css$10 = {"line-height-12":"ni57Lf","line-height-18":"OKAXVF","line-height-24":"X56Fq1","line-height-30":"iguoae","font-size-10":"MBBlV9","font-size-12":"X5ywlk","font-size-14":"Uj8gPI","font-size-16":"O8clvg","font-size-18":"zaLxMj","font-size-24":"e-NP4l","v-padding-2":"b8zuNm","v-padding-3":"EEvOeD","v-padding-5":"U8Zpo2","v-padding-6":"wAKImI","v-padding-8":"_8AGks2","v-padding-9":"nkV7Jb","v-padding-11":"DrXT7C","v-padding-12":"Rjqv66","v-padding-14":"EznPYs","v-padding-15":"IHV3J-","v-padding-17":"IdHeYU","v-padding-18":"v-ToBK","v-padding-23":"neQIsZ","v-padding-24":"vGpKKb","lineHeight12":"ni57Lf","lineHeight18":"OKAXVF","lineHeight24":"X56Fq1","lineHeight30":"iguoae","fontSize10":"MBBlV9","fontSize12":"X5ywlk","fontSize14":"Uj8gPI","fontSize16":"O8clvg","fontSize18":"zaLxMj","fontSize24":"e-NP4l","vPadding2":"b8zuNm","vPadding3":"EEvOeD","vPadding5":"U8Zpo2","vPadding6":"wAKImI","vPadding8":"_8AGks2","vPadding9":"nkV7Jb","vPadding11":"DrXT7C","vPadding12":"Rjqv66","vPadding14":"EznPYs","vPadding15":"IHV3J-","vPadding17":"IdHeYU","vPadding18":"v-ToBK","vPadding23":"neQIsZ","vPadding24":"vGpKKb"};
|
|
980
1148
|
|
|
981
1149
|
const defaultTextSettings = {
|
|
982
1150
|
18: { lineHeight: 12, fontSize: 10 },
|
|
@@ -989,7 +1157,7 @@ const defaultTextSettings = {
|
|
|
989
1157
|
};
|
|
990
1158
|
function getTextClasses(props, border) {
|
|
991
1159
|
if (props.size === 'none') {
|
|
992
|
-
return [css$
|
|
1160
|
+
return [css$10['line-height-' + props.lineHeight], css$10['font-size-' + props.fontSize]];
|
|
993
1161
|
}
|
|
994
1162
|
const setting = {
|
|
995
1163
|
size: props.size,
|
|
@@ -998,7 +1166,7 @@ function getTextClasses(props, border) {
|
|
|
998
1166
|
};
|
|
999
1167
|
const vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
1000
1168
|
return [
|
|
1001
|
-
css$
|
|
1169
|
+
css$10['line-height-' + setting.lineHeight], css$10['font-size-' + setting.fontSize], css$10['v-padding-' + vPadding],
|
|
1002
1170
|
];
|
|
1003
1171
|
}
|
|
1004
1172
|
|
|
@@ -1011,12 +1179,12 @@ function applyTextMods(mods) {
|
|
|
1011
1179
|
return [
|
|
1012
1180
|
`uui-font-${mods.font || 'regular'}`,
|
|
1013
1181
|
`uui-text-${mods.color || 'primary'}`,
|
|
1014
|
-
css$
|
|
1182
|
+
css$11.root,
|
|
1015
1183
|
].concat(textClasses);
|
|
1016
1184
|
}
|
|
1017
1185
|
const Text = withMods(Text$1, applyTextMods);
|
|
1018
1186
|
|
|
1019
|
-
var css
|
|
1187
|
+
var css$$ = {"container":"iG1OfX","loading-word":"HIfL66","animated-loading":"wUUw4e","skeleton_loading":"_3EKg7P","loadingWord":"HIfL66","animatedLoading":"wUUw4e","skeletonLoading":"_3EKg7P"};
|
|
1020
1188
|
|
|
1021
1189
|
const TextPlaceholder = (props) => {
|
|
1022
1190
|
const pattern = ' ';
|
|
@@ -1028,35 +1196,35 @@ const TextPlaceholder = (props) => {
|
|
|
1028
1196
|
}
|
|
1029
1197
|
return words;
|
|
1030
1198
|
}, [props.wordsCount]);
|
|
1031
|
-
return (React.createElement("div", Object.assign({ "aria-busy": true, className: css
|
|
1032
|
-
props.cx, css
|
|
1199
|
+
return (React.createElement("div", Object.assign({ "aria-busy": true, className: css$$.container }, props.rawProps), text.map((it, index) => (React.createElement("span", { key: index, className: cx([
|
|
1200
|
+
props.cx, css$$.loadingWord, !props.isNotAnimated && css$$.animatedLoading,
|
|
1033
1201
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
1034
1202
|
};
|
|
1035
1203
|
|
|
1036
|
-
var style = {"typography-16":"
|
|
1204
|
+
var style = {"typography-16":"Qdaj0q","typography-14":"chm54T","typography-12":"PF6KKb","typography-uui":"_1nitLC","typography16":"Qdaj0q","typography14":"chm54T","typography12":"PF6KKb","typographyUui":"_1nitLC"};
|
|
1037
1205
|
|
|
1038
1206
|
const RichTextView = withMods(RichTextView$1, (mods) => [style.typographyUui, style['typography-' + (mods.size || '14')]]);
|
|
1039
1207
|
|
|
1040
|
-
var css$
|
|
1208
|
+
var css$_ = {"modal-blocker":"aW0rqf","animateModalBlocker":"dGOTvr","modal":"XsznXQ","modal-footer":"yRTRMA","border-top":"Qd2p01","modal-header":"Rx8Vt6","modalBlocker":"aW0rqf","modalFooter":"yRTRMA","borderTop":"Qd2p01","modalHeader":"Rx8Vt6"};
|
|
1041
1209
|
|
|
1042
|
-
const ModalBlocker = withMods(ModalBlocker$1, () => [css$
|
|
1043
|
-
const ModalWindow = withMods(ModalWindow$1, () => [css$
|
|
1210
|
+
const ModalBlocker = withMods(ModalBlocker$1, () => [css$_.modalBlocker]);
|
|
1211
|
+
const ModalWindow = withMods(ModalWindow$1, () => [css$_.modal], (props) => ({
|
|
1044
1212
|
style: Object.assign(Object.assign({}, props.style), { width: `${props.width || 420}px`, height: props.height ? `${props.height}px` : 'auto' }),
|
|
1045
1213
|
}));
|
|
1046
1214
|
class ModalHeader extends React.Component {
|
|
1047
1215
|
render() {
|
|
1048
|
-
return (React.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "12", borderBottom: this.props.borderBottom, cx: [css$
|
|
1216
|
+
return (React.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "12", borderBottom: this.props.borderBottom, cx: [css$_.modalHeader, this.props.cx], spacing: "12", rawProps: this.props.rawProps },
|
|
1049
1217
|
this.props.title && (React.createElement(Text, { size: "48", fontSize: "18", font: "semibold" }, this.props.title)),
|
|
1050
1218
|
this.props.children,
|
|
1051
1219
|
this.props.onClose && React.createElement(FlexSpacer, null),
|
|
1052
1220
|
this.props.onClose && (React.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
1053
|
-
React.createElement(IconButton, { icon: ForwardRef$
|
|
1221
|
+
React.createElement(IconButton, { icon: ForwardRef$G, onClick: this.props.onClose })))));
|
|
1054
1222
|
}
|
|
1055
1223
|
}
|
|
1056
1224
|
class ModalFooter extends React.Component {
|
|
1057
1225
|
render() {
|
|
1058
1226
|
return (React.createElement(FlexRow, { spacing: this.props.spacing || '12', cx: [
|
|
1059
|
-
css$
|
|
1227
|
+
css$_.modalFooter, this.props.borderTop && css$_.borderTop, this.props.cx,
|
|
1060
1228
|
], padding: this.props.padding || '24', vPadding: this.props.vPadding || '24', rawProps: this.props.rawProps }, this.props.children));
|
|
1061
1229
|
}
|
|
1062
1230
|
}
|
|
@@ -1142,25 +1310,31 @@ const i18n = Object.assign(Object.assign({}, i18n$1), { dataPickerBody: {
|
|
|
1142
1310
|
}, confirmationModal: {
|
|
1143
1311
|
discardButton: 'Discard',
|
|
1144
1312
|
saveButton: 'Save',
|
|
1313
|
+
}, fileUpload: {
|
|
1314
|
+
labelStart: 'Drop files to attach or',
|
|
1315
|
+
browse: 'browse',
|
|
1316
|
+
labelEnd: 'your local files',
|
|
1317
|
+
}, fileCard: {
|
|
1318
|
+
fileSizeProgress: ' of ',
|
|
1145
1319
|
} });
|
|
1146
1320
|
|
|
1147
|
-
var _path$
|
|
1148
|
-
function _extends$
|
|
1321
|
+
var _path$D;
|
|
1322
|
+
function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
|
|
1149
1323
|
var SvgCross = function SvgCross(props, ref) {
|
|
1150
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1324
|
+
return /*#__PURE__*/React.createElement("svg", _extends$F({
|
|
1151
1325
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1152
1326
|
width: 24,
|
|
1153
1327
|
height: 24,
|
|
1154
1328
|
viewBox: "0 0 24 24",
|
|
1155
1329
|
ref: ref
|
|
1156
|
-
}, props), _path$
|
|
1330
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
1157
1331
|
fillRule: "evenodd",
|
|
1158
1332
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
1159
1333
|
})));
|
|
1160
1334
|
};
|
|
1161
|
-
var ForwardRef$
|
|
1335
|
+
var ForwardRef$F = /*#__PURE__*/forwardRef(SvgCross);
|
|
1162
1336
|
|
|
1163
|
-
var css$
|
|
1337
|
+
var css$Z = {"root":"rpGnfP","icon-wrapper":"r4DgYr","action-wrapper":"gAQvA1","action-link":"uZeR-j","close-icon":"_19x-BM","main-path":"_8LQdhP","content":"z-2e1V","clear-button":"nIyLZr","close-wrapper":"kkwwXm","iconWrapper":"r4DgYr","actionWrapper":"gAQvA1","actionLink":"uZeR-j","closeIcon":"_19x-BM","mainPath":"_8LQdhP","clearButton":"nIyLZr","closeWrapper":"kkwwXm"};
|
|
1164
1338
|
|
|
1165
1339
|
const NotificationCard = React__default.forwardRef((props, ref) => {
|
|
1166
1340
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -1175,34 +1349,34 @@ const NotificationCard = React__default.forwardRef((props, ref) => {
|
|
|
1175
1349
|
(_b = notificationCardNode.current) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', props.refreshTimer);
|
|
1176
1350
|
};
|
|
1177
1351
|
}, []);
|
|
1178
|
-
return (React__default.createElement("div", Object.assign({ role: "alert", className: cx(props.color && `notification-card-${props.color}`, css$
|
|
1179
|
-
React__default.createElement("div", { className: css$
|
|
1180
|
-
props.icon && (React__default.createElement("div", { className: css$
|
|
1181
|
-
React__default.createElement(IconContainer, { icon: props.icon, cx: css$
|
|
1182
|
-
React__default.createElement("div", { className: css$
|
|
1352
|
+
return (React__default.createElement("div", Object.assign({ role: "alert", className: cx(props.color && `notification-card-${props.color}`, css$Z.root, props.cx), ref: notificationCardNode }, props.rawProps),
|
|
1353
|
+
React__default.createElement("div", { className: css$Z.mainPath },
|
|
1354
|
+
props.icon && (React__default.createElement("div", { className: css$Z.iconWrapper },
|
|
1355
|
+
React__default.createElement(IconContainer, { icon: props.icon, cx: css$Z.actionIcon }))),
|
|
1356
|
+
React__default.createElement("div", { className: css$Z.content },
|
|
1183
1357
|
props.children,
|
|
1184
|
-
props.actions && (React__default.createElement("div", { className: css$
|
|
1185
|
-
props.onClose && (React__default.createElement("div", { className: css$
|
|
1186
|
-
React__default.createElement(IconButton, { icon: ForwardRef$
|
|
1358
|
+
props.actions && (React__default.createElement("div", { className: css$Z.actionWrapper }, props.actions.map((action) => (React__default.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$Z.actionLink, size: "36", rawProps: action.rawProps })))))),
|
|
1359
|
+
props.onClose && (React__default.createElement("div", { className: css$Z.closeWrapper },
|
|
1360
|
+
React__default.createElement(IconButton, { icon: ForwardRef$F, color: "default", onClick: props.onClose, cx: css$Z.closeIcon }))))));
|
|
1187
1361
|
});
|
|
1188
|
-
const WarningNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1189
|
-
const SuccessNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1190
|
-
const HintNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1191
|
-
const ErrorNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
1362
|
+
const WarningNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$J, color: "warning" }, props, { ref: ref, cx: props.cx }))));
|
|
1363
|
+
const SuccessNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$K, color: "success" }, props, { ref: ref, cx: props.cx }))));
|
|
1364
|
+
const HintNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$H, color: "info" }, props, { ref: ref, cx: props.cx }))));
|
|
1365
|
+
const ErrorNotification = React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$I, color: "error" }, props, { ref: ref, cx: props.cx }))));
|
|
1192
1366
|
class ClearNotification extends React__default.Component {
|
|
1193
1367
|
render() {
|
|
1194
|
-
return (React__default.createElement("div", { className: cx(css$
|
|
1368
|
+
return (React__default.createElement("div", { className: cx(css$Z.notificationWrapper, css$Z.clearButton) },
|
|
1195
1369
|
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => this.context.uuiNotifications.clearAll() })));
|
|
1196
1370
|
}
|
|
1197
1371
|
}
|
|
1198
1372
|
ClearNotification.contextType = UuiContext;
|
|
1199
1373
|
|
|
1200
|
-
var css$
|
|
1374
|
+
var css$Y = {"root":"XQwwjX"};
|
|
1201
1375
|
|
|
1202
1376
|
function applyTooltipMods(mods) {
|
|
1203
1377
|
return [
|
|
1204
1378
|
`tooltip-${mods.color || 'default'}`,
|
|
1205
|
-
css$
|
|
1379
|
+
css$Y.root,
|
|
1206
1380
|
];
|
|
1207
1381
|
}
|
|
1208
1382
|
const Tooltip = withMods(Tooltip$1, applyTooltipMods);
|
|
@@ -1224,20 +1398,20 @@ class ConfirmationModal extends React.Component {
|
|
|
1224
1398
|
}
|
|
1225
1399
|
}
|
|
1226
1400
|
|
|
1227
|
-
var css$
|
|
1401
|
+
var css$X = {"root":"hnQiDB","size-24":"BSBZYf","size-30":"kNgPYC","size-36":"khsr2J","size-42":"I1zp45","size-48":"_2Mpbqo","size24":"BSBZYf","size30":"kNgPYC","size36":"khsr2J","size42":"I1zp45","size48":"_2Mpbqo"};
|
|
1228
1402
|
|
|
1229
|
-
const defaultSize$
|
|
1403
|
+
const defaultSize$8 = '36';
|
|
1230
1404
|
function applyLabeledInputMods(mods) {
|
|
1231
|
-
return [css$
|
|
1405
|
+
return [css$X.root, css$X['size-' + (mods.size || defaultSize$8)]];
|
|
1232
1406
|
}
|
|
1233
1407
|
const LabeledInput = withMods(LabeledInput$1, applyLabeledInputMods, (props) => ({
|
|
1234
1408
|
Tooltip,
|
|
1235
|
-
infoIcon: systemIcons[props.size || defaultSize$
|
|
1409
|
+
infoIcon: systemIcons[props.size || defaultSize$8].help,
|
|
1236
1410
|
}));
|
|
1237
1411
|
|
|
1238
|
-
var css$
|
|
1412
|
+
var css$W = {"root":"dxHTdg"};
|
|
1239
1413
|
|
|
1240
|
-
const RadioGroup = withMods(RadioGroup$1, () => [css$
|
|
1414
|
+
const RadioGroup = withMods(RadioGroup$1, () => [css$W.root], () => ({ RadioInput }));
|
|
1241
1415
|
|
|
1242
1416
|
function applyScrollBarsMods() {
|
|
1243
1417
|
return [
|
|
@@ -1248,52 +1422,52 @@ const ScrollBars = withMods(ScrollBars$1, applyScrollBarsMods);
|
|
|
1248
1422
|
|
|
1249
1423
|
const VirtualList = VirtualList$1;
|
|
1250
1424
|
|
|
1251
|
-
var css$
|
|
1425
|
+
var css$V = {"root":"SvYA1O"};
|
|
1252
1426
|
|
|
1253
|
-
var css$
|
|
1427
|
+
var css$U = {"root":"cDGW7J","uui-spinner":"rvG-Sp","uuiSpinner":"rvG-Sp"};
|
|
1254
1428
|
|
|
1255
1429
|
function applySpinnerMods() {
|
|
1256
|
-
return [css$
|
|
1430
|
+
return [css$U.root];
|
|
1257
1431
|
}
|
|
1258
1432
|
const Spinner = withMods(Spinner$1, applySpinnerMods);
|
|
1259
1433
|
|
|
1260
|
-
const Blocker = withMods(Blocker$1, () => [css$
|
|
1434
|
+
const Blocker = withMods(Blocker$1, () => [css$V.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
1261
1435
|
|
|
1262
|
-
var css$
|
|
1436
|
+
var css$T = {"root":"-B-Xr8"};
|
|
1263
1437
|
|
|
1264
|
-
const CheckboxGroup = withMods(CheckboxGroup$1, () => [css$
|
|
1438
|
+
const CheckboxGroup = withMods(CheckboxGroup$1, () => [css$T.root], () => ({ CheckboxInput: Checkbox }));
|
|
1265
1439
|
|
|
1266
1440
|
function MultiSwitchComponent(props, ref) {
|
|
1267
1441
|
return (React.createElement(ControlGroup, { ref: ref, rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'tablist' }) }, props.items.map((item, index) => (React.createElement(Button, Object.assign({}, props, item, { isDisabled: props.isDisabled, key: index + '-' + item.id, onClick: () => props.onValueChange(item.id), mode: props.value === item.id ? 'solid' : 'outline', color: props.color === 'secondary' && props.value === item.id ? 'primary' : props.color || 'primary', size: props.size, rawProps: { 'aria-current': props.value === item.id, role: 'tab' } }))))));
|
|
1268
1442
|
}
|
|
1269
1443
|
const MultiSwitch = React.forwardRef(MultiSwitchComponent);
|
|
1270
1444
|
|
|
1271
|
-
var css$
|
|
1445
|
+
var css$S = {"root":"U8iw3K","size-24":"oVJifS","size-30":"uO4zgx","size-36":"VcaOox","size-42":"Rpn9NB","size-48":"muWu8a","mode-form":"bRR9Oh","mode-cell":"CNh9Ev","size24":"oVJifS","size30":"uO4zgx","size36":"VcaOox","size42":"Rpn9NB","size48":"muWu8a","modeForm":"bRR9Oh","modeCell":"CNh9Ev"};
|
|
1272
1446
|
|
|
1273
|
-
const defaultSize$
|
|
1274
|
-
const defaultMode$
|
|
1447
|
+
const defaultSize$7 = '36';
|
|
1448
|
+
const defaultMode$4 = EditMode.FORM;
|
|
1275
1449
|
function applyNumericInputMods(mods) {
|
|
1276
1450
|
return [
|
|
1277
|
-
textInputCss.root, css$
|
|
1451
|
+
textInputCss.root, css$S.root, css$S['size-' + (mods.size || defaultSize$7)], textInputCss['size-' + (mods.size || defaultSize$7)], textInputCss['mode-' + (mods.mode || defaultMode$4)],
|
|
1278
1452
|
];
|
|
1279
1453
|
}
|
|
1280
1454
|
const NumericInput = withMods(NumericInput$1, applyNumericInputMods, (props) => {
|
|
1281
1455
|
var _a, _b;
|
|
1282
1456
|
return ({
|
|
1283
|
-
upIcon: systemIcons[props.size || defaultSize$
|
|
1284
|
-
downIcon: systemIcons[props.size || defaultSize$
|
|
1457
|
+
upIcon: systemIcons[props.size || defaultSize$7].foldingArrow,
|
|
1458
|
+
downIcon: systemIcons[props.size || defaultSize$7].foldingArrow,
|
|
1285
1459
|
align: (_a = props.align) !== null && _a !== void 0 ? _a : (props.mode === 'cell' ? 'right' : 'left'),
|
|
1286
1460
|
disableArrows: (_b = props.disableArrows) !== null && _b !== void 0 ? _b : props.mode === 'cell',
|
|
1287
1461
|
});
|
|
1288
1462
|
});
|
|
1289
1463
|
|
|
1290
|
-
var css$
|
|
1464
|
+
var css$R = {"root":"kXYEPr","mode-form":"fLJC6H","mode-cell":"lMQ2mu","mode-inline":"VHhy-f","size-24":"h9zsJB","size-30":"rUsP1s","size-36":"g4-X-X","size-42":"fskKPB","size-48":"DiULaA","modeForm":"fLJC6H","modeCell":"lMQ2mu","modeInline":"VHhy-f","size24":"h9zsJB","size30":"rUsP1s","size36":"g4-X-X","size42":"fskKPB","size48":"DiULaA"};
|
|
1291
1465
|
|
|
1292
|
-
const defaultSize$
|
|
1293
|
-
const defaultMode$
|
|
1466
|
+
const defaultSize$6 = '36';
|
|
1467
|
+
const defaultMode$3 = EditMode.FORM;
|
|
1294
1468
|
function applyTextAreaMods(mods) {
|
|
1295
1469
|
return [
|
|
1296
|
-
css$
|
|
1470
|
+
css$R.root, css$R['size-' + (mods.size || defaultSize$6)], css$R['mode-' + (mods.mode || defaultMode$3)],
|
|
1297
1471
|
];
|
|
1298
1472
|
}
|
|
1299
1473
|
const TextArea = withMods(TextArea$1, applyTextAreaMods, (props) => ({
|
|
@@ -1301,41 +1475,73 @@ const TextArea = withMods(TextArea$1, applyTextAreaMods, (props) => ({
|
|
|
1301
1475
|
maxLength: props.mode === EditMode.CELL ? undefined : props.maxLength,
|
|
1302
1476
|
}));
|
|
1303
1477
|
|
|
1304
|
-
var css$
|
|
1478
|
+
var css$Q = {"root":"zUdkJF","icon":"agign7","date-input":"t4kTxW","dateInput":"t4kTxW"};
|
|
1305
1479
|
|
|
1306
|
-
|
|
1307
|
-
|
|
1480
|
+
const TimePickerBody = withMods(TimePickerBody$1, () => [css$Q.root], () => ({ addIcon: ForwardRef$1c, subtractIcon: ForwardRef$1c }));
|
|
1481
|
+
|
|
1482
|
+
dayjs.extend(customParseFormat);
|
|
1483
|
+
const defaultMode$2 = EditMode.FORM;
|
|
1484
|
+
class TimePicker extends BaseTimePicker {
|
|
1485
|
+
constructor() {
|
|
1486
|
+
super(...arguments);
|
|
1487
|
+
this.renderInput = (props) => {
|
|
1488
|
+
var _a;
|
|
1489
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1490
|
+
if (this.props.size === '48') {
|
|
1491
|
+
devLogger.warnAboutDeprecatedPropValue({
|
|
1492
|
+
component: 'TimePicker',
|
|
1493
|
+
propName: 'size',
|
|
1494
|
+
propValue: this.props.size,
|
|
1495
|
+
propValueUseInstead: '42',
|
|
1496
|
+
condition: () => ['48'].indexOf(this.props.size) !== -1,
|
|
1497
|
+
});
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
return (React__default.createElement(TextInput, Object.assign({}, props, { onClick: null, size: this.props.size || '36', isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, isInvalid: this.props.isInvalid, cx: [css$Q.dateInput, this.props.inputCx], value: this.state.value, onValueChange: this.handleInputChange, onCancel: this.onClear, onFocus: this.handleFocus, onBlur: this.handleBlur, isDropdown: false, placeholder: this.props.placeholder ? this.props.placeholder : this.getFormat(), mode: this.props.mode || defaultMode$2, rawProps: (_a = this.props.rawProps) === null || _a === void 0 ? void 0 : _a.input })));
|
|
1501
|
+
};
|
|
1502
|
+
this.renderBody = (props) => {
|
|
1503
|
+
var _a;
|
|
1504
|
+
return (!this.props.isDisabled && !this.props.isReadonly && (React__default.createElement(DropdownContainer, Object.assign({}, props),
|
|
1505
|
+
React__default.createElement(TimePickerBody, Object.assign({}, this.props, { value: this.props.value !== null ? this.props.value : { hours: null, minutes: null }, rawProps: (_a = this.props.rawProps) === null || _a === void 0 ? void 0 : _a.body, cx: this.props.bodyCx })))));
|
|
1506
|
+
};
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
var css$P = {"container":"CVsFmG"};
|
|
1511
|
+
|
|
1512
|
+
var _path$C;
|
|
1513
|
+
function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
|
|
1308
1514
|
var SvgNavigationChevronLeft18 = function SvgNavigationChevronLeft18(props, ref) {
|
|
1309
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1515
|
+
return /*#__PURE__*/React.createElement("svg", _extends$E({
|
|
1310
1516
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1311
1517
|
width: 18,
|
|
1312
1518
|
height: 18,
|
|
1313
1519
|
viewBox: "0 0 18 18",
|
|
1314
1520
|
ref: ref
|
|
1315
|
-
}, props), _path$
|
|
1521
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React.createElement("path", {
|
|
1316
1522
|
fillRule: "evenodd",
|
|
1317
1523
|
d: "M11.557 5.558 10.5 4.5 6 9l4.5 4.5 1.057-1.057L8.123 9l3.434-3.442z",
|
|
1318
1524
|
clipRule: "evenodd"
|
|
1319
1525
|
})));
|
|
1320
1526
|
};
|
|
1321
|
-
var ForwardRef$
|
|
1527
|
+
var ForwardRef$E = /*#__PURE__*/forwardRef(SvgNavigationChevronLeft18);
|
|
1322
1528
|
|
|
1323
|
-
var _path$
|
|
1324
|
-
function _extends$
|
|
1529
|
+
var _path$B;
|
|
1530
|
+
function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
|
|
1325
1531
|
var SvgNavigationChevronRight18 = function SvgNavigationChevronRight18(props, ref) {
|
|
1326
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1532
|
+
return /*#__PURE__*/React.createElement("svg", _extends$D({
|
|
1327
1533
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1328
1534
|
width: 18,
|
|
1329
1535
|
height: 18,
|
|
1330
1536
|
viewBox: "0 0 18 18",
|
|
1331
1537
|
ref: ref
|
|
1332
|
-
}, props), _path$
|
|
1538
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
|
|
1333
1539
|
fillRule: "evenodd",
|
|
1334
1540
|
d: "M7.5 4.5 6.442 5.558 9.877 9l-3.435 3.443L7.5 13.5 12 9 7.5 4.5z",
|
|
1335
1541
|
clipRule: "evenodd"
|
|
1336
1542
|
})));
|
|
1337
1543
|
};
|
|
1338
|
-
var ForwardRef$
|
|
1544
|
+
var ForwardRef$D = /*#__PURE__*/forwardRef(SvgNavigationChevronRight18);
|
|
1339
1545
|
|
|
1340
1546
|
const uuiHeader = {
|
|
1341
1547
|
container: 'uui-datepickerheader-container',
|
|
@@ -1409,17 +1615,17 @@ function DatePickerHeader(props) {
|
|
|
1409
1615
|
var _a, _b, _c;
|
|
1410
1616
|
return `${((_a = props.value) === null || _a === void 0 ? void 0 : _a.view) !== 'MONTH_SELECTION' ? dayjs.months()[(_b = props.value) === null || _b === void 0 ? void 0 : _b.displayedDate.month()] : ''} ${(_c = props.value) === null || _c === void 0 ? void 0 : _c.displayedDate.year()}`;
|
|
1411
1617
|
}, [(_a = props.value) === null || _a === void 0 ? void 0 : _a.view, (_b = props.value) === null || _b === void 0 ? void 0 : _b.displayedDate]);
|
|
1412
|
-
return (React.createElement("div", { className: cx(css$
|
|
1618
|
+
return (React.createElement("div", { className: cx(css$P.container, uuiHeader.container, props.cx) },
|
|
1413
1619
|
React.createElement("header", { className: uuiHeader.header },
|
|
1414
|
-
React.createElement(Button, { icon: ForwardRef$
|
|
1620
|
+
React.createElement(Button, { icon: ForwardRef$E, color: "secondary", mode: "ghost", cx: uuiHeader.navIconLeft, onClick: () => onLeftNavigationArrow() }),
|
|
1415
1621
|
React.createElement(Button, { caption: title, mode: "ghost", cx: uuiHeader.navTitle, onClick: () => onCaptionClick(props.value.view) }),
|
|
1416
|
-
React.createElement(Button, { icon: ForwardRef$
|
|
1622
|
+
React.createElement(Button, { icon: ForwardRef$D, color: "secondary", mode: "ghost", cx: uuiHeader.navIconRight, onClick: () => onRightNavigationArrow() }))));
|
|
1417
1623
|
}
|
|
1418
1624
|
|
|
1419
|
-
var css$
|
|
1625
|
+
var css$O = {"root":"_1rVzHM"};
|
|
1420
1626
|
|
|
1421
1627
|
function applyDateSelectionMods() {
|
|
1422
|
-
return [css$
|
|
1628
|
+
return [css$O.root];
|
|
1423
1629
|
}
|
|
1424
1630
|
const Calendar = withMods(Calendar$1, applyDateSelectionMods);
|
|
1425
1631
|
|
|
@@ -1486,14 +1692,14 @@ class DatePicker extends BaseDatePicker {
|
|
|
1486
1692
|
}
|
|
1487
1693
|
}
|
|
1488
1694
|
|
|
1489
|
-
var css$
|
|
1695
|
+
var css$N = {"root":"S5Fe-D"};
|
|
1490
1696
|
|
|
1491
1697
|
function applyCalendarPresetsMods() {
|
|
1492
|
-
return [css$
|
|
1698
|
+
return [css$N.root];
|
|
1493
1699
|
}
|
|
1494
1700
|
const CalendarPresets = withMods(CalendarPresets$1, applyCalendarPresetsMods, () => ({}));
|
|
1495
1701
|
|
|
1496
|
-
var css$
|
|
1702
|
+
var css$M = {"root":"vgnT35","container":"_29eBA1","day-selection":"_74vqZj","from-picker":"LvdvgA","to-picker":"z-8JRJ","bodes-wrapper":"_2CJiuD","blocker":"JncIpE","daySelection":"_74vqZj","fromPicker":"LvdvgA","toPicker":"z-8JRJ","bodesWrapper":"_2CJiuD"};
|
|
1497
1703
|
|
|
1498
1704
|
dayjs.extend(isoWeek);
|
|
1499
1705
|
function weekCount(displayedDate) {
|
|
@@ -1590,16 +1796,16 @@ class RangeDatePickerBody extends React.Component {
|
|
|
1590
1796
|
};
|
|
1591
1797
|
this.renderDatePicker = () => {
|
|
1592
1798
|
var _a, _b;
|
|
1593
|
-
return (React.createElement(FlexRow, { cx: [((_a = this.props.value) === null || _a === void 0 ? void 0 : _a.view) === 'DAY_SELECTION' && css$
|
|
1799
|
+
return (React.createElement(FlexRow, { cx: [((_a = this.props.value) === null || _a === void 0 ? void 0 : _a.view) === 'DAY_SELECTION' && css$M.daySelection, css$M.container], alignItems: "top" },
|
|
1594
1800
|
React.createElement(FlexCell, { width: "auto" },
|
|
1595
1801
|
React.createElement(FlexRow, null,
|
|
1596
|
-
React.createElement(FlexRow, { cx: css$
|
|
1597
|
-
React.createElement(DatePickerBody, { cx: cx$1(css$
|
|
1598
|
-
React.createElement(DatePickerBody, { cx: cx$1(css$
|
|
1802
|
+
React.createElement(FlexRow, { cx: css$M.bodesWrapper, alignItems: "top" },
|
|
1803
|
+
React.createElement(DatePickerBody, { cx: cx$1(css$M.fromPicker), setSelectedDate: (nv) => this.setSelectedDate(nv), value: this.getFromValue(), setDisplayedDateAndView: (displayedDate, view) => this.setDisplayedDateAndView(displayedDate, view, 'from'), getDayCX: this.getDayCX, filter: this.props.filter, renderDay: this.props.renderDay, isHoliday: this.props.isHoliday }),
|
|
1804
|
+
React.createElement(DatePickerBody, { cx: cx$1(css$M.toPicker), setSelectedDate: (nv) => this.setSelectedDate(nv), value: this.getToValue(), setDisplayedDateAndView: (displayedDate, view) => this.setDisplayedDateAndView(displayedDate, view, 'to'), getDayCX: this.getDayCX, filter: this.props.filter, renderDay: this.props.renderDay, isHoliday: this.props.isHoliday }),
|
|
1599
1805
|
((_b = this.props.value) === null || _b === void 0 ? void 0 : _b.view) !== 'DAY_SELECTION' && (React.createElement("div", { style: {
|
|
1600
1806
|
left: this.state.activePart === 'from' && '50%',
|
|
1601
1807
|
right: this.state.activePart === 'to' && '50%',
|
|
1602
|
-
}, className: css$
|
|
1808
|
+
}, className: css$M.blocker }))),
|
|
1603
1809
|
this.props.presets && this.renderPresets()),
|
|
1604
1810
|
this.props.renderFooter && this.props.renderFooter())));
|
|
1605
1811
|
};
|
|
@@ -1650,11 +1856,11 @@ class RangeDatePickerBody extends React.Component {
|
|
|
1650
1856
|
});
|
|
1651
1857
|
}
|
|
1652
1858
|
render() {
|
|
1653
|
-
return (React.createElement("div", Object.assign({ className: cx$1(css$
|
|
1859
|
+
return (React.createElement("div", Object.assign({ className: cx$1(css$M.root, uuiDatePickerBodyBase.container, this.props.cx) }, this.props.rawProps), this.renderDatePicker()));
|
|
1654
1860
|
}
|
|
1655
1861
|
}
|
|
1656
1862
|
|
|
1657
|
-
var css$
|
|
1863
|
+
var css$L = {"dropdown-container":"P8hvx7","container":"g-rgzG","button-group":"b4GmUr","date-input":"_2-2M9Y","size-24":"QRGYz9","size-30":"e-W-m3","size-36":"rEeNQJ","size-42":"bA52OF","size-48":"e8L-h-","date-input-group":"tqVphe","separator":"-qvoWt","mode-form":"zypaqY","mode-cell":"JOr0-p","dropdownContainer":"P8hvx7","buttonGroup":"b4GmUr","dateInput":"_2-2M9Y","size24":"QRGYz9","size30":"e-W-m3","size36":"rEeNQJ","size42":"bA52OF","size48":"e8L-h-","dateInputGroup":"tqVphe","modeForm":"zypaqY","modeCell":"JOr0-p"};
|
|
1658
1864
|
|
|
1659
1865
|
const defaultValue = { from: null, to: null };
|
|
1660
1866
|
class RangeDatePicker extends BaseRangeDatePicker {
|
|
@@ -1673,35 +1879,35 @@ class RangeDatePicker extends BaseRangeDatePicker {
|
|
|
1673
1879
|
});
|
|
1674
1880
|
}
|
|
1675
1881
|
}
|
|
1676
|
-
return (React.createElement("div", { className: cx(this.props.inputCx, css$
|
|
1677
|
-
React.createElement(TextInput, { icon: systemIcons[this.props.size || '36'].calendar, cx: cx(css$
|
|
1678
|
-
React.createElement("div", { className: css$
|
|
1679
|
-
React.createElement(TextInput, { cx: cx(css$
|
|
1882
|
+
return (React.createElement("div", { className: cx(this.props.inputCx, css$L.dateInputGroup, this.props.isDisabled && uuiMod.disabled, this.props.isReadonly && uuiMod.readonly, this.props.isInvalid && uuiMod.invalid, this.state.inFocus && uuiMod.focus), onClick: !this.props.isDisabled && props.onClick, onBlur: this.handleWrapperBlur, ref: props.ref },
|
|
1883
|
+
React.createElement(TextInput, { icon: systemIcons[this.props.size || '36'].calendar, cx: cx(css$L.dateInput, css$L['size-' + (this.props.size || 36)], this.state.inFocus === 'from' && uuiMod.focus), size: this.props.size || '36', placeholder: this.props.getPlaceholder ? this.props.getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: this.state.inputValue.from, onValueChange: this.getChangeHandler('from'), isInvalid: this.props.isInvalid, isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, onFocus: (event) => this.handleFocus(event, 'from'), onBlur: (event) => this.handleBlur(event, 'from'), isDropdown: false, rawProps: (_a = this.props.rawProps) === null || _a === void 0 ? void 0 : _a.from }),
|
|
1884
|
+
React.createElement("div", { className: css$L.separator }),
|
|
1885
|
+
React.createElement(TextInput, { cx: cx(css$L.dateInput, css$L['size-' + (this.props.size || 36)], this.state.inFocus === 'to' && uuiMod.focus), placeholder: this.props.getPlaceholder ? this.props.getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: this.props.size || '36', value: this.state.inputValue.to, onCancel: this.props.disableClear ? null : this.state.inputValue.from && this.state.inputValue.to && this.handleCancel, onValueChange: this.getChangeHandler('to'), isInvalid: this.props.isInvalid, isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, onFocus: (e) => this.handleFocus(e, 'to'), onBlur: (e) => this.handleBlur(e, 'to'), isDropdown: false, rawProps: (_b = this.props.rawProps) === null || _b === void 0 ? void 0 : _b.to })));
|
|
1680
1886
|
};
|
|
1681
1887
|
}
|
|
1682
1888
|
renderBody(props) {
|
|
1683
1889
|
var _a;
|
|
1684
|
-
return (React.createElement(DropdownContainer, Object.assign({}, props, { cx: cx(css$
|
|
1890
|
+
return (React.createElement(DropdownContainer, Object.assign({}, props, { cx: cx(css$L.dropdownContainer) }),
|
|
1685
1891
|
React.createElement(FlexRow, null,
|
|
1686
1892
|
React.createElement(RangeDatePickerBody, { cx: cx(this.props.bodyCx), value: this.getValue(), onValueChange: this.onRangeChange, filter: this.props.filter, changeIsOpen: this.toggleOpening, presets: this.props.presets, focusPart: this.state.inFocus, renderDay: this.props.renderDay, renderFooter: this.props.renderFooter && (() => this.props.renderFooter(this.props.value || defaultValue)), isHoliday: this.props.isHoliday, rawProps: (_a = this.props.rawProps) === null || _a === void 0 ? void 0 : _a.body }))));
|
|
1687
1893
|
}
|
|
1688
1894
|
}
|
|
1689
1895
|
|
|
1690
|
-
var css$
|
|
1896
|
+
var css$K = {"blocker":"yjIUuA","marker":"trtrnO","top":"zdHyhf","bottom":"Aj4N3E","left":"c1bjoW","right":"Oynlxu","inside":"Q3ai4v"};
|
|
1691
1897
|
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
this.props.enableBlocker && React.createElement("div", { className: css$E.blocker }),
|
|
1898
|
+
function DropMarker(props) {
|
|
1899
|
+
return props.isDndInProgress
|
|
1900
|
+
? (React.createElement(React.Fragment, null,
|
|
1901
|
+
props.enableBlocker && React.createElement("div", { className: css$K.blocker }),
|
|
1697
1902
|
React.createElement("div", { className: cx([
|
|
1698
|
-
css$
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1903
|
+
css$K.marker,
|
|
1904
|
+
css$K[props.position],
|
|
1905
|
+
props === null || props === void 0 ? void 0 : props.cx,
|
|
1906
|
+
]) })))
|
|
1907
|
+
: null;
|
|
1702
1908
|
}
|
|
1703
1909
|
|
|
1704
|
-
var css$
|
|
1910
|
+
var css$J = {"body":"kdmBdv","modal":"_6H5O3-","search-wrapper":"GILTWW","checkbox":"UdfrGY","no-found-size-24":"ss9d1z","no-found-size-30":"FWqJss","no-found-size-36":"OTZTdB","no-found-size-42":"A3LN9Y","searchWrapper":"GILTWW","noFoundSize24":"ss9d1z","noFoundSize30":"FWqJss","noFoundSize36":"OTZTdB","noFoundSize42":"A3LN9Y"};
|
|
1705
1911
|
|
|
1706
1912
|
class DataPickerBody extends PickerBodyBase {
|
|
1707
1913
|
constructor() {
|
|
@@ -1713,16 +1919,16 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
1713
1919
|
if (this.props.renderNotFound) {
|
|
1714
1920
|
return this.props.renderNotFound();
|
|
1715
1921
|
}
|
|
1716
|
-
return (React__default.createElement(FlexCell$1, { cx: css$
|
|
1922
|
+
return (React__default.createElement(FlexCell$1, { cx: css$J[`no-found-size-${this.props.searchSize || 36}`], grow: 1, textAlign: "center" },
|
|
1717
1923
|
React__default.createElement(Text, { size: this.props.searchSize || '36' }, i18n.dataPickerBody.noRecordsMessage)));
|
|
1718
1924
|
}
|
|
1719
1925
|
render() {
|
|
1720
1926
|
const searchSize = isMobile() ? '48' : this.props.searchSize || '36';
|
|
1721
1927
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1722
|
-
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$
|
|
1928
|
+
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$J.searchWrapper },
|
|
1723
1929
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
1724
1930
|
React__default.createElement(SearchInput, Object.assign({ ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize }))))),
|
|
1725
|
-
React__default.createElement(FlexRow, { key: "body", cx: cx$1(css$
|
|
1931
|
+
React__default.createElement(FlexRow, { key: "body", cx: cx$1(css$J.body, css$J[this.props.editMode], css$J[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight } } }, this.props.rowsCount > 0 ? (React__default.createElement(VirtualList, Object.assign({}, this.lens.toProps(), { rows: this.props.rows, role: "listbox", rawProps: this.props.rawProps, rowsCount: this.props.rowsCount }))) : (this.renderNotFound()))));
|
|
1726
1932
|
}
|
|
1727
1933
|
}
|
|
1728
1934
|
|
|
@@ -1756,37 +1962,37 @@ function DataPickerFooterImpl(props) {
|
|
|
1756
1962
|
}
|
|
1757
1963
|
const DataPickerFooter = React__default.memo(DataPickerFooterImpl);
|
|
1758
1964
|
|
|
1759
|
-
var css$
|
|
1965
|
+
var css$I = {"header":"vn-nHs","close":"OMq2PW"};
|
|
1760
1966
|
|
|
1761
|
-
var _path$
|
|
1762
|
-
function _extends$
|
|
1967
|
+
var _path$A;
|
|
1968
|
+
function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
|
|
1763
1969
|
var SvgNavigationClose24 = function SvgNavigationClose24(props, ref) {
|
|
1764
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1970
|
+
return /*#__PURE__*/React.createElement("svg", _extends$C({
|
|
1765
1971
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1766
1972
|
width: 24,
|
|
1767
1973
|
height: 24,
|
|
1768
1974
|
viewBox: "0 0 24 24",
|
|
1769
1975
|
ref: ref
|
|
1770
|
-
}, props), _path$
|
|
1976
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
1771
1977
|
fillRule: "evenodd",
|
|
1772
1978
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z",
|
|
1773
1979
|
clipRule: "evenodd"
|
|
1774
1980
|
})));
|
|
1775
1981
|
};
|
|
1776
|
-
var ForwardRef$
|
|
1982
|
+
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgNavigationClose24);
|
|
1777
1983
|
|
|
1778
1984
|
const DataPickerHeaderImpl = (props) => {
|
|
1779
1985
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1780
|
-
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$
|
|
1986
|
+
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$I.header },
|
|
1781
1987
|
React__default.createElement(Text, { size: "48", font: "semibold" }, title),
|
|
1782
|
-
React__default.createElement(IconButton, { icon: ForwardRef$
|
|
1988
|
+
React__default.createElement(IconButton, { icon: ForwardRef$C, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$I.close })));
|
|
1783
1989
|
};
|
|
1784
1990
|
const DataPickerHeader = React__default.memo(DataPickerHeaderImpl);
|
|
1785
1991
|
|
|
1786
1992
|
var _defs$1, _use;
|
|
1787
|
-
function _extends$
|
|
1993
|
+
function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
|
|
1788
1994
|
var SvgTreeFoldingArrow = function SvgTreeFoldingArrow(props, ref) {
|
|
1789
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
1995
|
+
return /*#__PURE__*/React.createElement("svg", _extends$B({
|
|
1790
1996
|
width: 18,
|
|
1791
1997
|
height: 18,
|
|
1792
1998
|
viewBox: "0 0 18 18",
|
|
@@ -1804,19 +2010,19 @@ var SvgTreeFoldingArrow = function SvgTreeFoldingArrow(props, ref) {
|
|
|
1804
2010
|
fillRule: "evenodd"
|
|
1805
2011
|
})));
|
|
1806
2012
|
};
|
|
1807
|
-
var ForwardRef$
|
|
2013
|
+
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgTreeFoldingArrow);
|
|
1808
2014
|
|
|
1809
|
-
var css$
|
|
2015
|
+
var css$H = {"cell":"LRUyLU","wrapper":"L64u-x","align-widgets-top":"kto44L","size-24":"jNfOwt","folding-arrow":"wly04y","size-30":"ioPNlr","size-36":"_3zFe4p","size-42":"r-3jor","size-48":"bqWV5K","size-60":"V1rsmP","align-widgets-center":"PkBqPA","padding-12":"EfPQH-","padding-24":"ptW8dD","padding-left-12":"_5KAgZv","padding-left-24":"fqGCFt","padding-right-24":"_8yKMp8","drag-handle":"muvtVr","checkbox":"r9WPQG","indent":"xytGRh","folding-arrow-12":"eLfIsA","folding-arrow-18":"SEDGj1","icon-container":"wf6npx","alignWidgetsTop":"kto44L","size24":"jNfOwt","foldingArrow":"wly04y","size30":"ioPNlr","size36":"_3zFe4p","size42":"r-3jor","size48":"bqWV5K","size60":"V1rsmP","alignWidgetsCenter":"PkBqPA","padding12":"EfPQH-","padding24":"ptW8dD","paddingLeft12":"_5KAgZv","paddingLeft24":"fqGCFt","paddingRight24":"_8yKMp8","dragHandle":"muvtVr","foldingArrow12":"eLfIsA","foldingArrow18":"SEDGj1","iconContainer":"wf6npx"};
|
|
1810
2016
|
|
|
1811
2017
|
function DataTableRowAddons(props) {
|
|
1812
2018
|
var _a, _b;
|
|
1813
2019
|
const row = props.rowProps;
|
|
1814
2020
|
const additionalItemSize = +props.size < 30 ? '12' : '18';
|
|
1815
2021
|
return (React.createElement(React.Fragment, null,
|
|
1816
|
-
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React.createElement(DragHandle, { key: "dh", cx: css$
|
|
1817
|
-
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React.createElement(Checkbox, { key: "cb", cx: css$
|
|
1818
|
-
row.indent > 0 && (React.createElement("div", { key: "fold", className: css$
|
|
1819
|
-
css$
|
|
2022
|
+
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React.createElement(DragHandle, { key: "dh", cx: css$H.dragHandle }),
|
|
2023
|
+
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React.createElement(Checkbox, { key: "cb", cx: css$H.checkbox, tabIndex: props.tabIndex, size: additionalItemSize, value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => { var _a; return (_a = row.onCheck) === null || _a === void 0 ? void 0 : _a.call(row, row); }, isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
2024
|
+
row.indent > 0 && (React.createElement("div", { key: "fold", className: css$H.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable && (React.createElement(IconContainer, { key: "icon", icon: ForwardRef$B, cx: [
|
|
2025
|
+
css$H.foldingArrow, css$H[`folding-arrow-${additionalItemSize}`], uuiMarkers.clickable, css$H.iconContainer,
|
|
1820
2026
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1821
2027
|
}
|
|
1822
2028
|
function DataTableCell(props) {
|
|
@@ -1834,18 +2040,18 @@ function DataTableCell(props) {
|
|
|
1834
2040
|
props.cx = [
|
|
1835
2041
|
'data-table-cell',
|
|
1836
2042
|
props.cx,
|
|
1837
|
-
css$
|
|
1838
|
-
css$
|
|
1839
|
-
css$
|
|
1840
|
-
props.isFirstColumn && css$
|
|
1841
|
-
props.isLastColumn && css$
|
|
1842
|
-
css$
|
|
2043
|
+
css$H.cell,
|
|
2044
|
+
css$H['size-' + (props.size || '36')],
|
|
2045
|
+
css$H[`padding-${props.padding || (isEditable && !props.rowProps.isLoading && '0') || '12'}`],
|
|
2046
|
+
props.isFirstColumn && css$H[`padding-left-${props.padding || (isEditable && !props.rowProps.isLoading && '12') || '24'}`],
|
|
2047
|
+
props.isLastColumn && css$H['padding-right-24'],
|
|
2048
|
+
css$H[`align-widgets-${props.alignActions || 'top'}`],
|
|
1843
2049
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
1844
2050
|
];
|
|
1845
2051
|
return React.createElement(DataTableCell$1, Object.assign({}, props));
|
|
1846
2052
|
}
|
|
1847
2053
|
|
|
1848
|
-
var css$
|
|
2054
|
+
var css$G = {"root":"S40yph","size-24":"_5pj1iP","size-30":"usSUJj","size-36":"O0TPr6","size-48":"rsdNNq","size-60":"YkEOBb","size24":"_5pj1iP","size30":"usSUJj","size36":"O0TPr6","size48":"rsdNNq","size60":"YkEOBb"};
|
|
1849
2055
|
|
|
1850
2056
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
1851
2057
|
// 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.
|
|
@@ -1857,137 +2063,137 @@ const renderDropMarkers = (props) => React.createElement(DropMarker, Object.assi
|
|
|
1857
2063
|
const propsMods = { renderCell, renderDropMarkers };
|
|
1858
2064
|
const DataTableRow = withMods(DataTableRow$1, ({ borderBottom = true, size }) => {
|
|
1859
2065
|
return [
|
|
1860
|
-
css$
|
|
2066
|
+
css$G.root, borderBottom && 'uui-dt-row-border', css$G['size-' + (size || '36')],
|
|
1861
2067
|
];
|
|
1862
2068
|
}, () => propsMods);
|
|
1863
2069
|
|
|
1864
|
-
var css$
|
|
2070
|
+
var css$F = {"header-cell":"rlOCKc","config-icon":"B7I0Fe","headerCell":"rlOCKc","configIcon":"B7I0Fe"};
|
|
1865
2071
|
|
|
1866
|
-
var _path$
|
|
1867
|
-
function _extends$
|
|
2072
|
+
var _path$z;
|
|
2073
|
+
function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
|
|
1868
2074
|
var SvgActionSettings18 = function SvgActionSettings18(props, ref) {
|
|
1869
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2075
|
+
return /*#__PURE__*/React.createElement("svg", _extends$A({
|
|
1870
2076
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1871
2077
|
width: 18,
|
|
1872
2078
|
height: 18,
|
|
1873
2079
|
viewBox: "0 0 18 18",
|
|
1874
2080
|
ref: ref
|
|
1875
|
-
}, props), _path$
|
|
2081
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React.createElement("path", {
|
|
1876
2082
|
fillRule: "evenodd",
|
|
1877
2083
|
d: "M3 9.093a6.083 6.083 0 0 1 0-.186L1.55 7.271a1 1 0 0 1-.118-1.163l1.28-2.216a1 1 0 0 1 1.066-.48l2.14.439a3.81 3.81 0 0 1 .163-.094l.691-2.073A1 1 0 0 1 7.721 1h2.558a1 1 0 0 1 .949.684l.69 2.073c.056.03.11.061.163.094l2.141-.439a1 1 0 0 1 1.067.48l1.279 2.216a1 1 0 0 1-.118 1.163L15 8.907a5.72 5.72 0 0 1 0 .186l1.45 1.636a1 1 0 0 1 .118 1.163l-1.28 2.216a1 1 0 0 1-1.066.48l-2.14-.438a6.215 6.215 0 0 1-.163.093l-.691 2.073a1 1 0 0 1-.949.684H7.721a1 1 0 0 1-.949-.684l-.69-2.073a6.105 6.105 0 0 1-.163-.094l-2.141.439a1 1 0 0 1-1.067-.48l-1.279-2.216a1 1 0 0 1 .118-1.163L3 9.093zM9 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",
|
|
1878
2084
|
clipRule: "evenodd"
|
|
1879
2085
|
})));
|
|
1880
2086
|
};
|
|
1881
|
-
var ForwardRef$
|
|
2087
|
+
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgActionSettings18);
|
|
1882
2088
|
|
|
1883
|
-
const DataTableHeaderRow = withMods(DataTableHeaderRow$1, (
|
|
2089
|
+
const DataTableHeaderRow = withMods(DataTableHeaderRow$1, () => [css$F.root], (mods) => ({
|
|
1884
2090
|
renderCell: (props) => React.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key })),
|
|
1885
|
-
renderConfigButton: () => React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$
|
|
2091
|
+
renderConfigButton: () => React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$F.configIcon, color: "default", icon: ForwardRef$A }),
|
|
1886
2092
|
}));
|
|
1887
2093
|
|
|
1888
|
-
var css$
|
|
2094
|
+
var css$E = {"cell":"DF-Vsz","sort-icon":"l4IOvb","dropdown-icon":"PWI4uz","infoIcon":"DD45AD","resizable":"ZUiCk0","size-24":"SEb7MX","size-30":"PYODSm","size-36":"ntfb-w","size-42":"jNJ6w5","size-48":"Qf1PqB","padding-left-24":"_8KrTNj","padding-right-24":"MimAfu","caption":"vGtIVj","checkbox":"_6vDzvE","icon":"sIkwLb","icon-cell":"_8aWUyJ","align-right":"gWhw4c","align-center":"tm0EBf","tooltip-wrapper":"P5CsnT","cell-tooltip":"Qnbu-P","upper-case":"hESSRh","font-size-14":"hz8RvU","resize-mark":"brEAnP","draggable":"I2yo9H","ghost":"yCoBOI","is-dragged-out":"sybWkA","dnd-marker-left":"DLabjo","dnd-marker-right":"Cz5-3v","cell-tooltip-wrapper":"-FME4L","cell-tooltip-text":"OVpd1a","sortIcon":"l4IOvb","dropdownIcon":"PWI4uz","size24":"SEb7MX","size30":"PYODSm","size36":"ntfb-w","size42":"jNJ6w5","size48":"Qf1PqB","paddingLeft24":"_8KrTNj","paddingRight24":"MimAfu","iconCell":"_8aWUyJ","alignRight":"gWhw4c","alignCenter":"tm0EBf","tooltipWrapper":"P5CsnT","cellTooltip":"Qnbu-P","upperCase":"hESSRh","fontSize14":"hz8RvU","resizeMark":"brEAnP","isDraggedOut":"sybWkA","dndMarkerLeft":"DLabjo","dndMarkerRight":"Cz5-3v","cellTooltipWrapper":"-FME4L","cellTooltipText":"OVpd1a"};
|
|
1889
2095
|
|
|
1890
|
-
var _path$
|
|
1891
|
-
function _extends$
|
|
2096
|
+
var _path$y;
|
|
2097
|
+
function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
|
|
1892
2098
|
var SvgTableSwap18 = function SvgTableSwap18(props, ref) {
|
|
1893
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2099
|
+
return /*#__PURE__*/React.createElement("svg", _extends$z({
|
|
1894
2100
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1895
2101
|
width: 18,
|
|
1896
2102
|
height: 18,
|
|
1897
2103
|
viewBox: "0 0 18 18",
|
|
1898
2104
|
ref: ref
|
|
1899
|
-
}, props), _path$
|
|
2105
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
|
|
1900
2106
|
fillRule: "evenodd",
|
|
1901
2107
|
d: "M6 1 2 5h3v7h2V5h3L6 1zm7 12V6h-2v7H8l4 4 4-4h-3z",
|
|
1902
2108
|
clipRule: "evenodd"
|
|
1903
2109
|
})));
|
|
1904
2110
|
};
|
|
1905
|
-
var ForwardRef$
|
|
2111
|
+
var ForwardRef$z = /*#__PURE__*/forwardRef(SvgTableSwap18);
|
|
1906
2112
|
|
|
1907
|
-
var _path$
|
|
1908
|
-
function _extends$
|
|
2113
|
+
var _path$x;
|
|
2114
|
+
function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
|
|
1909
2115
|
var SvgTableSortAsc18 = function SvgTableSortAsc18(props, ref) {
|
|
1910
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2116
|
+
return /*#__PURE__*/React.createElement("svg", _extends$y({
|
|
1911
2117
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1912
2118
|
width: 18,
|
|
1913
2119
|
height: 18,
|
|
1914
2120
|
viewBox: "0 0 18 18",
|
|
1915
2121
|
ref: ref
|
|
1916
|
-
}, props), _path$
|
|
2122
|
+
}, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
|
|
1917
2123
|
fillRule: "evenodd",
|
|
1918
2124
|
d: "M10 6v10H8V6H5l4-4 4 4h-3z",
|
|
1919
2125
|
clipRule: "evenodd"
|
|
1920
2126
|
})));
|
|
1921
2127
|
};
|
|
1922
|
-
var ForwardRef$
|
|
2128
|
+
var ForwardRef$y = /*#__PURE__*/forwardRef(SvgTableSortAsc18);
|
|
1923
2129
|
|
|
1924
|
-
var _path$
|
|
1925
|
-
function _extends$
|
|
2130
|
+
var _path$w;
|
|
2131
|
+
function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
|
|
1926
2132
|
var SvgTableSortDesc18 = function SvgTableSortDesc18(props, ref) {
|
|
1927
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2133
|
+
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
1928
2134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1929
2135
|
width: 18,
|
|
1930
2136
|
height: 18,
|
|
1931
2137
|
viewBox: "0 0 18 18",
|
|
1932
2138
|
ref: ref
|
|
1933
|
-
}, props), _path$
|
|
2139
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
1934
2140
|
fillRule: "evenodd",
|
|
1935
2141
|
d: "M10 12V2H8v10H5l4 4 4-4h-3z",
|
|
1936
2142
|
clipRule: "evenodd"
|
|
1937
2143
|
})));
|
|
1938
2144
|
};
|
|
1939
|
-
var ForwardRef$
|
|
2145
|
+
var ForwardRef$x = /*#__PURE__*/forwardRef(SvgTableSortDesc18);
|
|
1940
2146
|
|
|
1941
|
-
var _path$
|
|
1942
|
-
function _extends$
|
|
2147
|
+
var _path$v;
|
|
2148
|
+
function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
|
|
1943
2149
|
var SvgContentFiltration18 = function SvgContentFiltration18(props, ref) {
|
|
1944
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2150
|
+
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
1945
2151
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1946
2152
|
width: 18,
|
|
1947
2153
|
height: 18,
|
|
1948
2154
|
viewBox: "0 0 18 18",
|
|
1949
2155
|
ref: ref
|
|
1950
|
-
}, props), _path$
|
|
2156
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
1951
2157
|
fillRule: "evenodd",
|
|
1952
2158
|
d: "m8 14 2 2v-5H8v3zM2 3v2h14V3H2zm6 8h2l6-6H2l6 6z",
|
|
1953
2159
|
clipRule: "evenodd"
|
|
1954
2160
|
})));
|
|
1955
2161
|
};
|
|
1956
|
-
var ForwardRef$
|
|
2162
|
+
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgContentFiltration18);
|
|
1957
2163
|
|
|
1958
|
-
var _path$
|
|
1959
|
-
function _extends$
|
|
2164
|
+
var _path$u;
|
|
2165
|
+
function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
1960
2166
|
var SvgNavigationChevronDown18 = function SvgNavigationChevronDown18(props, ref) {
|
|
1961
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2167
|
+
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
1962
2168
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1963
2169
|
width: 18,
|
|
1964
2170
|
height: 18,
|
|
1965
2171
|
viewBox: "0 0 18 18",
|
|
1966
2172
|
ref: ref
|
|
1967
|
-
}, props), _path$
|
|
2173
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
1968
2174
|
fillRule: "evenodd",
|
|
1969
2175
|
d: "M12.443 6.442 9 9.877 5.558 6.442 4.5 7.5 9 12l4.5-4.5-1.057-1.058z",
|
|
1970
2176
|
clipRule: "evenodd"
|
|
1971
2177
|
})));
|
|
1972
2178
|
};
|
|
1973
|
-
var ForwardRef$
|
|
2179
|
+
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgNavigationChevronDown18);
|
|
1974
2180
|
|
|
1975
|
-
var _path$
|
|
1976
|
-
function _extends$
|
|
2181
|
+
var _path$t;
|
|
2182
|
+
function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
|
|
1977
2183
|
var SvgNavigationChevronUp18 = function SvgNavigationChevronUp18(props, ref) {
|
|
1978
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2184
|
+
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
1979
2185
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1980
2186
|
width: 18,
|
|
1981
2187
|
height: 18,
|
|
1982
2188
|
viewBox: "0 0 18 18",
|
|
1983
2189
|
ref: ref
|
|
1984
|
-
}, props), _path$
|
|
2190
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
1985
2191
|
fillRule: "evenodd",
|
|
1986
2192
|
d: "m9 6-4.5 4.5 1.058 1.057L9 8.123l3.443 3.434L13.5 10.5 9 6z",
|
|
1987
2193
|
clipRule: "evenodd"
|
|
1988
2194
|
})));
|
|
1989
2195
|
};
|
|
1990
|
-
var ForwardRef$
|
|
2196
|
+
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgNavigationChevronUp18);
|
|
1991
2197
|
|
|
1992
2198
|
class DataTableHeaderCell extends React.Component {
|
|
1993
2199
|
constructor() {
|
|
@@ -1997,29 +2203,29 @@ class DataTableHeaderCell extends React.Component {
|
|
|
1997
2203
|
};
|
|
1998
2204
|
this.getTextStyle = () => {
|
|
1999
2205
|
if (this.props.textCase === 'upper')
|
|
2000
|
-
return css$
|
|
2001
|
-
return css$
|
|
2206
|
+
return css$E.upperCase;
|
|
2207
|
+
return css$E['font-size-14'];
|
|
2002
2208
|
};
|
|
2003
|
-
this.getTooltipContent = () => (React.createElement("div", { className: css$
|
|
2004
|
-
React.createElement(Text, { fontSize: "14", color: "contrast", font: "semibold", cx: css$
|
|
2005
|
-
this.props.column.info && React.createElement(Text, { fontSize: "12", color: "contrast", cx: css$
|
|
2209
|
+
this.getTooltipContent = () => (React.createElement("div", { className: css$E.cellTooltipWrapper },
|
|
2210
|
+
React.createElement(Text, { fontSize: "14", color: "contrast", font: "semibold", cx: css$E.cellTooltipText }, this.props.column.caption),
|
|
2211
|
+
this.props.column.info && React.createElement(Text, { fontSize: "12", color: "contrast", cx: css$E.cellTooltipText }, this.props.column.info)));
|
|
2006
2212
|
this.getColumnCaption = () => {
|
|
2007
|
-
return (React.createElement("div", { className: css$
|
|
2008
|
-
React.createElement("div", { className: cx$1(css$
|
|
2009
|
-
React.createElement(Tooltip, { placement: "top", color: "contrast", renderContent: this.getTooltipContent, cx: css$
|
|
2010
|
-
React.createElement(Text, { key: "text", lineHeight: "30", fontSize: "14", size: "30", cx: cx$1(css$
|
|
2011
|
-
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$
|
|
2012
|
-
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$
|
|
2013
|
-
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$
|
|
2213
|
+
return (React.createElement("div", { className: css$E.tooltipWrapper },
|
|
2214
|
+
React.createElement("div", { className: cx$1(css$E.iconCell, css$E['align-' + this.props.column.textAlign], uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
2215
|
+
React.createElement(Tooltip, { placement: "top", color: "contrast", renderContent: this.getTooltipContent, cx: css$E.cellTooltip, openDelay: 600 },
|
|
2216
|
+
React.createElement(Text, { key: "text", lineHeight: "30", fontSize: "14", size: "30", cx: cx$1(css$E.caption, this.getTextStyle(), uuiDataTableHeaderCell.uuiTableHeaderCaption) }, this.props.column.caption)),
|
|
2217
|
+
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$E.icon, css$E.sortIcon, this.props.sortDirection && css$E.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'default' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$x : this.props.sortDirection === 'asc' ? ForwardRef$y : ForwardRef$z })),
|
|
2218
|
+
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$E.icon, !this.props.sortDirection && css$E.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "default", icon: ForwardRef$w })),
|
|
2219
|
+
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$E.icon, css$E.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$u : ForwardRef$v })))));
|
|
2014
2220
|
};
|
|
2015
2221
|
this.renderHeaderCheckbox = () => this.props.selectAll
|
|
2016
|
-
&& this.props.isFirstColumn && (React.createElement(Checkbox, Object.assign({ size: +this.props.size < 36 ? '12' : '18' }, this.props.selectAll, { cx: cx$1(css$
|
|
2017
|
-
this.renderResizeMark = (props) => React.createElement("div", { onMouseDown: props.onResizeStart, className: cx$1(css$
|
|
2222
|
+
&& this.props.isFirstColumn && (React.createElement(Checkbox, Object.assign({ size: +this.props.size < 36 ? '12' : '18' }, this.props.selectAll, { cx: cx$1(css$E.checkbox, uuiDataTableHeaderCell.uuiTableHeaderCheckbox) })));
|
|
2223
|
+
this.renderResizeMark = (props) => React.createElement("div", { onMouseDown: props.onResizeStart, className: cx$1(css$E.resizeMark, uuiMarkers.draggable) });
|
|
2018
2224
|
this.renderCellContent = (props, dropdownProps) => (React.createElement(FlexCell, Object.assign({}, this.props.column, { minWidth: this.props.column.width, ref: (ref) => {
|
|
2019
2225
|
var _a;
|
|
2020
2226
|
props.ref(ref);
|
|
2021
2227
|
(_a = dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.ref) === null || _a === void 0 ? void 0 : _a.call(dropdownProps, ref);
|
|
2022
|
-
}, cx: cx$1(uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiMarkers.clickable, css$
|
|
2228
|
+
}, cx: cx$1(uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiMarkers.clickable, css$E.cell, css$E['size-' + (this.props.size || '36')], this.props.isFirstColumn && css$E['padding-left-24'], this.props.isLastColumn && css$E['padding-right-24'], this.props.column.cx, this.props.allowColumnsResizing && css$E.resizable, props.isDraggable && css$E.draggable, props.isDragGhost && css$E.ghost, props.isDraggedOut && css$E.isDraggedOut, props.isDndInProgress && css$E['dnd-marker-' + props.position]), onClick: !this.props.column.renderFilter ? props.toggleSort : dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.onClick, rawProps: Object.assign({ role: 'columnheader', 'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none' }, props.eventHandlers) }),
|
|
2023
2229
|
this.renderHeaderCheckbox(),
|
|
2024
2230
|
this.getColumnCaption(),
|
|
2025
2231
|
this.props.allowColumnsResizing && this.renderResizeMark(props)));
|
|
@@ -2056,10 +2262,10 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
2056
2262
|
return columns;
|
|
2057
2263
|
};
|
|
2058
2264
|
|
|
2059
|
-
var _path$
|
|
2060
|
-
function _extends$
|
|
2265
|
+
var _path$s, _path2$1, _path3, _path4, _path5, _path6, _g$1, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _defs;
|
|
2266
|
+
function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
|
|
2061
2267
|
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
2062
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2268
|
+
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
2063
2269
|
width: 232,
|
|
2064
2270
|
height: 180,
|
|
2065
2271
|
viewBox: "0 0 232 180",
|
|
@@ -2068,7 +2274,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
2068
2274
|
ref: ref
|
|
2069
2275
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
2070
2276
|
clipPath: "url(#a)"
|
|
2071
|
-
}, _path$
|
|
2277
|
+
}, _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
2072
2278
|
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",
|
|
2073
2279
|
fill: "#F5F6FA"
|
|
2074
2280
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -2194,9 +2400,9 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
2194
2400
|
d: "M0 0h230.897v180H0z"
|
|
2195
2401
|
})))));
|
|
2196
2402
|
};
|
|
2197
|
-
var ForwardRef$
|
|
2403
|
+
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
2198
2404
|
|
|
2199
|
-
var css$
|
|
2405
|
+
var css$D = {"sticky-header":"vFzD-l","listContainer":"nZrRM-","table":"kADCE-","no-results":"KCdr2X","no-results-icon":"eMnr02","no-results-title":"_0cZiHG","stickyHeader":"vFzD-l","noResults":"KCdr2X","noResultsIcon":"eMnr02","noResultsTitle":"_0cZiHG"};
|
|
2200
2406
|
|
|
2201
2407
|
function DataTable(props) {
|
|
2202
2408
|
var _a;
|
|
@@ -2210,9 +2416,9 @@ function DataTable(props) {
|
|
|
2210
2416
|
const renderedRows = rows.map((row) => (props.renderRow || renderRow)(Object.assign(Object.assign({}, row), { columns })));
|
|
2211
2417
|
const renderNoResultsBlock = React.useCallback(() => {
|
|
2212
2418
|
var _a;
|
|
2213
|
-
return (React.createElement("div", { className: css$
|
|
2214
|
-
React.createElement(IconContainer, { cx: css$
|
|
2215
|
-
React.createElement(Text, { cx: css$
|
|
2419
|
+
return (React.createElement("div", { className: css$D.noResults }, props.renderNoResultsBlock ? ((_a = props.renderNoResultsBlock) === null || _a === void 0 ? void 0 : _a.call(props)) : (React.createElement(React.Fragment, null,
|
|
2420
|
+
React.createElement(IconContainer, { cx: css$D.noResultsIcon, icon: ForwardRef$t }),
|
|
2421
|
+
React.createElement(Text, { cx: css$D.noResultsTitle, fontSize: "24", lineHeight: "30", color: "primary", font: "semibold" }, i18n.tables.noResultsBlock.title),
|
|
2216
2422
|
React.createElement(Text, { fontSize: "16", lineHeight: "24", font: "regular", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
2217
2423
|
}, [props.renderNoResultsBlock]);
|
|
2218
2424
|
const onConfigurationButtonClick = React.useCallback(() => {
|
|
@@ -2229,107 +2435,107 @@ function DataTable(props) {
|
|
|
2229
2435
|
props.columns, config, defaultConfig, props.value, props.onValueChange, props.renderColumnsConfigurationModal,
|
|
2230
2436
|
]);
|
|
2231
2437
|
const renderRowsContainer = React.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows, }) => (React.createElement(React.Fragment, null,
|
|
2232
|
-
React.createElement("div", { className: css$
|
|
2438
|
+
React.createElement("div", { className: css$D.stickyHeader },
|
|
2233
2439
|
React.createElement(DataTableHeaderRow, { columns: columns, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.size, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, value: props.value, onValueChange: props.onValueChange }),
|
|
2234
2440
|
React.createElement("div", { className: cx$1(uuiScrollShadows.top, {
|
|
2235
2441
|
[uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
2236
2442
|
}) })),
|
|
2237
|
-
props.exactRowsCount !== 0 ? (React.createElement("div", { className: css$
|
|
2443
|
+
props.exactRowsCount !== 0 ? (React.createElement("div", { className: css$D.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
2238
2444
|
React.createElement("div", { ref: listContainerRef, role: "rowgroup", style: { marginTop: offsetY }, children: renderedRows }))) : (renderNoResultsBlock === null || renderNoResultsBlock === void 0 ? void 0 : renderNoResultsBlock()))), [
|
|
2239
2445
|
props, columns, rows, renderNoResultsBlock, onConfigurationButtonClick,
|
|
2240
2446
|
]);
|
|
2241
2447
|
return (React.createElement(DataTableSelectionProvider, { onCopy: props.onCopy, rows: rows, columns: columns },
|
|
2242
|
-
React.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rows: renderedRows, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: cx$1(css$
|
|
2448
|
+
React.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rows: renderedRows, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: cx$1(css$D.table), rawProps: {
|
|
2243
2449
|
role: 'table',
|
|
2244
2450
|
'aria-colcount': columns.length,
|
|
2245
2451
|
'aria-rowcount': props.rowsCount,
|
|
2246
2452
|
} })));
|
|
2247
2453
|
}
|
|
2248
2454
|
|
|
2249
|
-
var styles$1 = {"main-panel":"
|
|
2455
|
+
var styles$1 = {"main-panel":"F3PNdW","group-title":"ih8r1t","group-title-text":"_4KbiKh","group-title-badge":"l3tzL8","group-items":"K5pUMA","no-data":"PYJ-FM","h-divider":"UGBbqc","search-area":"XMkpLh","mainPanel":"F3PNdW","groupTitle":"ih8r1t","groupTitleText":"_4KbiKh","groupTitleBadge":"l3tzL8","groupItems":"K5pUMA","noData":"PYJ-FM","hDivider":"UGBbqc","searchArea":"XMkpLh"};
|
|
2250
2456
|
|
|
2251
|
-
var _path$
|
|
2252
|
-
function _extends$
|
|
2457
|
+
var _path$r;
|
|
2458
|
+
function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
|
|
2253
2459
|
var SvgNavigationMoreVert18 = function SvgNavigationMoreVert18(props, ref) {
|
|
2254
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2460
|
+
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
2255
2461
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2256
2462
|
width: 18,
|
|
2257
2463
|
height: 18,
|
|
2258
2464
|
viewBox: "0 0 18 18",
|
|
2259
2465
|
ref: ref
|
|
2260
|
-
}, props), _path$
|
|
2466
|
+
}, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
2261
2467
|
fillRule: "evenodd",
|
|
2262
2468
|
d: "M9 6c.825 0 1.5-.675 1.5-1.5S9.825 3 9 3s-1.5.675-1.5 1.5S8.175 6 9 6zm0 1.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5 1.5-.675 1.5-1.5S9.825 7.5 9 7.5zM9 12c-.825 0-1.5.675-1.5 1.5S8.175 15 9 15s1.5-.675 1.5-1.5S9.825 12 9 12z",
|
|
2263
2469
|
clipRule: "evenodd"
|
|
2264
2470
|
})));
|
|
2265
2471
|
};
|
|
2266
|
-
var ForwardRef$
|
|
2472
|
+
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgNavigationMoreVert18);
|
|
2267
2473
|
|
|
2268
|
-
var _path$
|
|
2269
|
-
function _extends$
|
|
2474
|
+
var _path$q;
|
|
2475
|
+
function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
|
|
2270
2476
|
var SvgActionUpdate18 = function SvgActionUpdate18(props, ref) {
|
|
2271
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2477
|
+
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
2272
2478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2273
2479
|
width: 18,
|
|
2274
2480
|
height: 18,
|
|
2275
2481
|
viewBox: "0 0 18 18",
|
|
2276
2482
|
ref: ref
|
|
2277
|
-
}, props), _path$
|
|
2483
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React.createElement("path", {
|
|
2278
2484
|
fillRule: "evenodd",
|
|
2279
2485
|
d: "M8.007 2A7.004 7.004 0 0 0 1 9a7.004 7.004 0 0 0 11.732 5.16l-1.497-1.347A4.999 4.999 0 0 1 3 9c0-2.763 2.237-5 5-5 2.762 0 5 2.237 5 5h2c0-3.864-3.129-7-6.993-7zM11 9l3 3 3-3h-6z",
|
|
2280
2486
|
clipRule: "evenodd"
|
|
2281
2487
|
})));
|
|
2282
2488
|
};
|
|
2283
|
-
var ForwardRef$
|
|
2489
|
+
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgActionUpdate18);
|
|
2284
2490
|
|
|
2285
|
-
var _path$
|
|
2286
|
-
function _extends$
|
|
2491
|
+
var _path$p;
|
|
2492
|
+
function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
|
|
2287
2493
|
var SvgActionLockFill18 = function SvgActionLockFill18(props, ref) {
|
|
2288
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2494
|
+
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
2289
2495
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2290
2496
|
width: 18,
|
|
2291
2497
|
height: 18,
|
|
2292
2498
|
viewBox: "0 0 18 18",
|
|
2293
2499
|
ref: ref
|
|
2294
|
-
}, props), _path$
|
|
2500
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React.createElement("path", {
|
|
2295
2501
|
fillRule: "evenodd",
|
|
2296
2502
|
d: "M5 7V5a4 4 0 1 1 8 0v2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2zm2 0h4V5a2 2 0 1 0-4 0v2zm2 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",
|
|
2297
2503
|
clipRule: "evenodd"
|
|
2298
2504
|
})));
|
|
2299
2505
|
};
|
|
2300
|
-
var ForwardRef$
|
|
2506
|
+
var ForwardRef$q = /*#__PURE__*/forwardRef(SvgActionLockFill18);
|
|
2301
2507
|
|
|
2302
|
-
var _path$
|
|
2303
|
-
function _extends$
|
|
2508
|
+
var _path$o;
|
|
2509
|
+
function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
|
|
2304
2510
|
var SvgActionPinOn18 = function SvgActionPinOn18(props, ref) {
|
|
2305
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2511
|
+
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
2306
2512
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2307
2513
|
width: 18,
|
|
2308
2514
|
height: 18,
|
|
2309
2515
|
viewBox: "0 0 18 18",
|
|
2310
2516
|
ref: ref
|
|
2311
|
-
}, props), _path$
|
|
2517
|
+
}, props), _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
2312
2518
|
fillRule: "evenodd",
|
|
2313
2519
|
d: "M12 9V3h1V2H5v1h1v6l-2 1v1h4v5h2v-5h4v-1l-2-1z",
|
|
2314
2520
|
clipRule: "evenodd"
|
|
2315
2521
|
})));
|
|
2316
2522
|
};
|
|
2317
|
-
var ForwardRef$
|
|
2523
|
+
var ForwardRef$p = /*#__PURE__*/forwardRef(SvgActionPinOn18);
|
|
2318
2524
|
|
|
2319
|
-
var _path$
|
|
2320
|
-
function _extends$
|
|
2525
|
+
var _path$n;
|
|
2526
|
+
function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
|
|
2321
2527
|
var SvgActionPinOff18 = function SvgActionPinOff18(props, ref) {
|
|
2322
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2528
|
+
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
2323
2529
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2324
2530
|
width: 18,
|
|
2325
2531
|
height: 18,
|
|
2326
2532
|
viewBox: "0 0 18 18",
|
|
2327
2533
|
ref: ref
|
|
2328
|
-
}, props), _path$
|
|
2534
|
+
}, props), _path$n || (_path$n = /*#__PURE__*/React.createElement("path", {
|
|
2329
2535
|
d: "M6 4.586 12.414 11H14v-1l-2-1V3h1V2H5v1h1v1.586zM10 16v-4.586l3.743 3.743.707-.707L3.136 3.136l-.707.707L6 7.414V9l-2 1v1h4v5h2z"
|
|
2330
2536
|
})));
|
|
2331
2537
|
};
|
|
2332
|
-
var ForwardRef$
|
|
2538
|
+
var ForwardRef$o = /*#__PURE__*/forwardRef(SvgActionPinOff18);
|
|
2333
2539
|
|
|
2334
2540
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
2335
2541
|
function PinIconButton(props) {
|
|
@@ -2344,12 +2550,12 @@ function PinIconButton(props) {
|
|
|
2344
2550
|
}, [isPinned, isPinnedAlways]);
|
|
2345
2551
|
const pinIcon = useMemo(() => {
|
|
2346
2552
|
if (isPinnedAlways) {
|
|
2347
|
-
return ForwardRef$
|
|
2553
|
+
return ForwardRef$q;
|
|
2348
2554
|
}
|
|
2349
2555
|
if (isPinned) {
|
|
2350
|
-
return isHovered ? ForwardRef$
|
|
2556
|
+
return isHovered ? ForwardRef$o : ForwardRef$p;
|
|
2351
2557
|
}
|
|
2352
|
-
return ForwardRef$
|
|
2558
|
+
return ForwardRef$p;
|
|
2353
2559
|
}, [
|
|
2354
2560
|
isPinnedAlways, isHovered, isPinned,
|
|
2355
2561
|
]);
|
|
@@ -2359,7 +2565,7 @@ function PinIconButton(props) {
|
|
|
2359
2565
|
React.createElement(IconButton, { icon: pinIcon, onClick: pinClickHandler, isDisabled: isPinnedAlways, color: isPinned ? 'info' : undefined }))));
|
|
2360
2566
|
}
|
|
2361
2567
|
|
|
2362
|
-
var styles = {"row-wrapper":"
|
|
2568
|
+
var styles = {"row-wrapper":"_65bIkl","not-pinned":"JGNbxn","pin-icon-button":"nEzEDM","drag-handle":"hNKRL6","dnd-disabled":"LdmK4o","rowWrapper":"_65bIkl","notPinned":"JGNbxn","pinIconButton":"nEzEDM","dragHandle":"hNKRL6","dndDisabled":"LdmK4o"};
|
|
2363
2569
|
|
|
2364
2570
|
const ColumnRow = React.memo(function ColumnRow(props) {
|
|
2365
2571
|
const { column } = props;
|
|
@@ -2430,7 +2636,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
2430
2636
|
React.createElement(SearchInput, { size: "30", value: searchValue, onValueChange: setSearchValue, placeholder: i18n$1.searchPlaceholder }),
|
|
2431
2637
|
React.createElement(Dropdown, { closeOnTargetClick: true, renderBody: () => (React.createElement(Panel, { shadow: true },
|
|
2432
2638
|
React.createElement(DropdownMenuButton, { caption: i18n$1.clearAllButton, onClick: uncheckAll }),
|
|
2433
|
-
React.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => React.createElement(Button, Object.assign({}, props, { mode: "none", icon: ForwardRef$
|
|
2639
|
+
React.createElement(DropdownMenuButton, { caption: i18n$1.selectAllButton, onClick: checkAll }))), renderTarget: (props) => React.createElement(Button, Object.assign({}, props, { mode: "none", icon: ForwardRef$s, size: "30", color: "secondary", isDropdown: false })) })),
|
|
2434
2640
|
React.createElement(Panel, { cx: styles$1.mainPanel },
|
|
2435
2641
|
React.createElement(ScrollBars, null,
|
|
2436
2642
|
renderVisible(),
|
|
@@ -2439,22 +2645,22 @@ function ColumnsConfigurationModal(props) {
|
|
|
2439
2645
|
React.createElement(Text, { fontSize: "24", lineHeight: "30", color: "primary", font: "semibold" }, i18n$1.noResultsFound.text),
|
|
2440
2646
|
React.createElement(Text, { fontSize: "16", lineHeight: "24", font: "regular", color: "primary" }, i18n$1.noResultsFound.subText))))),
|
|
2441
2647
|
React.createElement(ModalFooter, { borderTop: true },
|
|
2442
|
-
React.createElement(LinkButton, { icon: ForwardRef$
|
|
2648
|
+
React.createElement(LinkButton, { icon: ForwardRef$r, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
2443
2649
|
React.createElement(FlexSpacer, null),
|
|
2444
2650
|
React.createElement(Button, { mode: "none", color: "secondary", caption: i18n$1.cancelButton, onClick: close }),
|
|
2445
2651
|
noVisibleColumns ? (React.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
2446
2652
|
}
|
|
2447
2653
|
|
|
2448
|
-
var css$
|
|
2654
|
+
var css$C = {"panel":"gUwBYI"};
|
|
2449
2655
|
|
|
2450
|
-
var css$
|
|
2656
|
+
var css$B = {"sorting-panel-container":"UFNhPW","sort-active":"nA1ZnC","sortingPanelContainer":"UFNhPW","sortActive":"nA1ZnC"};
|
|
2451
2657
|
|
|
2452
2658
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
2453
2659
|
const sortAsc = useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
2454
2660
|
const sortDesc = useCallback(() => onSort(sortDirection === 'desc' ? undefined : 'desc'), [onSort]);
|
|
2455
|
-
return (React__default.createElement(FlexCell, { cx: css$
|
|
2456
|
-
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: ForwardRef$
|
|
2457
|
-
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: ForwardRef$
|
|
2661
|
+
return (React__default.createElement(FlexCell, { cx: css$B.sortingPanelContainer },
|
|
2662
|
+
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'asc', caption: i18n.pickerFilterHeader.sortAscending, icon: ForwardRef$y, onClick: sortAsc }),
|
|
2663
|
+
React__default.createElement(DropdownMenuButton, { isActive: sortDirection === 'desc', caption: i18n.pickerFilterHeader.sortDescending, icon: ForwardRef$x, onClick: sortDesc })));
|
|
2458
2664
|
};
|
|
2459
2665
|
const SortingPanel = React__default.memo(SortingPanelImpl);
|
|
2460
2666
|
|
|
@@ -2469,63 +2675,63 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
2469
2675
|
width: isMobile() ? document.documentElement.clientWidth : undefined,
|
|
2470
2676
|
}), []);
|
|
2471
2677
|
const closeDropdown = useCallback(() => props.onOpenChange(false), [props.onOpenChange]);
|
|
2472
|
-
return (React__default.createElement(Dropdown$1, { renderTarget: props.renderTarget, renderBody: (dropdownProps) => (React__default.createElement(Panel, { style: style, shadow: true, cx: css$
|
|
2678
|
+
return (React__default.createElement(Dropdown$1, { renderTarget: props.renderTarget, renderBody: (dropdownProps) => (React__default.createElement(Panel, { style: style, shadow: true, cx: css$C.panel },
|
|
2473
2679
|
React__default.createElement(MobileDropdownWrapper, { title: props.title, close: closeDropdown },
|
|
2474
2680
|
props.isSortable && React__default.createElement(SortingPanel, { sortDirection: props.sortDirection, onSort: props.onSort }),
|
|
2475
2681
|
props.renderFilter(dropdownProps)))), modifiers: popperModifiers, value: props.isOpen, onValueChange: props.onOpenChange }));
|
|
2476
2682
|
};
|
|
2477
2683
|
const ColumnHeaderDropdown = React__default.memo(ColumnHeaderDropdownImpl);
|
|
2478
2684
|
|
|
2479
|
-
var _path$
|
|
2480
|
-
function _extends$
|
|
2685
|
+
var _path$m;
|
|
2686
|
+
function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
|
|
2481
2687
|
var SvgNotificationDone24 = function SvgNotificationDone24(props, ref) {
|
|
2482
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2688
|
+
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
2483
2689
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2484
2690
|
width: 24,
|
|
2485
2691
|
height: 24,
|
|
2486
2692
|
viewBox: "0 0 24 24",
|
|
2487
2693
|
ref: ref
|
|
2488
|
-
}, props), _path$
|
|
2694
|
+
}, props), _path$m || (_path$m = /*#__PURE__*/React.createElement("path", {
|
|
2489
2695
|
fillRule: "evenodd",
|
|
2490
2696
|
d: "m9.727 16.075-4.295-4.388L4 13.149 9.727 19 22 6.463 20.568 5 9.728 16.075z",
|
|
2491
2697
|
clipRule: "evenodd"
|
|
2492
2698
|
})));
|
|
2493
2699
|
};
|
|
2494
|
-
var ForwardRef$
|
|
2700
|
+
var ForwardRef$n = /*#__PURE__*/forwardRef(SvgNotificationDone24);
|
|
2495
2701
|
|
|
2496
|
-
var _path$
|
|
2497
|
-
function _extends$
|
|
2702
|
+
var _path$l;
|
|
2703
|
+
function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
|
|
2498
2704
|
var SvgNotificationDone18 = function SvgNotificationDone18(props, ref) {
|
|
2499
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2705
|
+
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
2500
2706
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2501
2707
|
width: 18,
|
|
2502
2708
|
height: 18,
|
|
2503
2709
|
viewBox: "0 0 18 18",
|
|
2504
2710
|
ref: ref
|
|
2505
|
-
}, props), _path$
|
|
2711
|
+
}, props), _path$l || (_path$l = /*#__PURE__*/React.createElement("path", {
|
|
2506
2712
|
fillRule: "evenodd",
|
|
2507
2713
|
d: "M7.136 11.91 4.034 8.776 3 9.821 7.136 14 16 5.045 14.966 4l-7.83 7.91z",
|
|
2508
2714
|
clipRule: "evenodd"
|
|
2509
2715
|
})));
|
|
2510
2716
|
};
|
|
2511
|
-
var ForwardRef$
|
|
2717
|
+
var ForwardRef$m = /*#__PURE__*/forwardRef(SvgNotificationDone18);
|
|
2512
2718
|
|
|
2513
|
-
var _path$
|
|
2514
|
-
function _extends$
|
|
2719
|
+
var _path$k;
|
|
2720
|
+
function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
|
|
2515
2721
|
var SvgNotificationDone12 = function SvgNotificationDone12(props, ref) {
|
|
2516
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2722
|
+
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
2517
2723
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2518
2724
|
width: 12,
|
|
2519
2725
|
height: 12,
|
|
2520
2726
|
viewBox: "0 0 12 12",
|
|
2521
2727
|
ref: ref
|
|
2522
|
-
}, props), _path$
|
|
2728
|
+
}, props), _path$k || (_path$k = /*#__PURE__*/React.createElement("path", {
|
|
2523
2729
|
d: "M11 3.6 9.462 2 4.846 6.8 2.538 4.4 1 6l3.846 4L11 3.6z"
|
|
2524
2730
|
})));
|
|
2525
2731
|
};
|
|
2526
|
-
var ForwardRef$
|
|
2732
|
+
var ForwardRef$l = /*#__PURE__*/forwardRef(SvgNotificationDone12);
|
|
2527
2733
|
|
|
2528
|
-
var css$
|
|
2734
|
+
var css$A = {"render-item":"_56ou4X","icon-wrapper":"Re5fdX","picker-row":"MhcFu0","icon-default":"MnTBQq","icon-primary":"F6B77G","renderItem":"_56ou4X","iconWrapper":"Re5fdX","pickerRow":"MhcFu0","iconDefault":"MnTBQq","iconPrimary":"F6B77G"};
|
|
2529
2735
|
|
|
2530
2736
|
class DataPickerRow extends React.Component {
|
|
2531
2737
|
constructor() {
|
|
@@ -2533,37 +2739,37 @@ class DataPickerRow extends React.Component {
|
|
|
2533
2739
|
this.getIcon = (size) => {
|
|
2534
2740
|
switch (size) {
|
|
2535
2741
|
case '24':
|
|
2536
|
-
return ForwardRef$
|
|
2742
|
+
return ForwardRef$l;
|
|
2537
2743
|
case '30':
|
|
2538
|
-
return ForwardRef$
|
|
2744
|
+
return ForwardRef$m;
|
|
2539
2745
|
case '36':
|
|
2540
|
-
return ForwardRef$
|
|
2746
|
+
return ForwardRef$m;
|
|
2541
2747
|
case '42':
|
|
2542
|
-
return ForwardRef$
|
|
2748
|
+
return ForwardRef$n;
|
|
2543
2749
|
default:
|
|
2544
|
-
return ForwardRef$
|
|
2750
|
+
return ForwardRef$m;
|
|
2545
2751
|
}
|
|
2546
2752
|
};
|
|
2547
2753
|
this.column = {
|
|
2548
2754
|
key: 'name',
|
|
2549
2755
|
grow: 1,
|
|
2550
2756
|
width: 0,
|
|
2551
|
-
render: (item, rowProps) => (React.createElement("div", { key: rowProps.id, className: css$
|
|
2757
|
+
render: (item, rowProps) => (React.createElement("div", { key: rowProps.id, className: css$A.renderItem },
|
|
2552
2758
|
this.props.renderItem(item, rowProps),
|
|
2553
2759
|
React.createElement(FlexSpacer, null),
|
|
2554
|
-
(rowProps.isChildrenSelected || rowProps.isSelected) && (React.createElement("div", { className: css$
|
|
2555
|
-
React.createElement(IconContainer, { icon: this.getIcon(this.props.size), cx: rowProps.isChildrenSelected ? css$
|
|
2760
|
+
(rowProps.isChildrenSelected || rowProps.isSelected) && (React.createElement("div", { className: css$A.iconWrapper },
|
|
2761
|
+
React.createElement(IconContainer, { icon: this.getIcon(this.props.size), cx: rowProps.isChildrenSelected ? css$A.iconDefault : css$A.iconPrimary }))))),
|
|
2556
2762
|
};
|
|
2557
2763
|
this.renderContent = () => {
|
|
2558
2764
|
return (React.createElement(DataTableCell, { key: "name", size: this.props.size || '36', padding: this.props.padding || '24', isFirstColumn: true, isLastColumn: false, tabIndex: -1, column: this.column, rowProps: this.props, alignActions: this.props.alignActions || 'top' }));
|
|
2559
2765
|
};
|
|
2560
2766
|
}
|
|
2561
2767
|
render() {
|
|
2562
|
-
return React.createElement(DataPickerRow$1, Object.assign({}, this.props, { cx: [css$
|
|
2768
|
+
return React.createElement(DataPickerRow$1, Object.assign({}, this.props, { cx: [css$A.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
2563
2769
|
}
|
|
2564
2770
|
}
|
|
2565
2771
|
|
|
2566
|
-
var css$
|
|
2772
|
+
var css$z = {"done":"EHimj8"};
|
|
2567
2773
|
|
|
2568
2774
|
const MobileDropdownWrapper = (props) => {
|
|
2569
2775
|
const isVisible = isMobile();
|
|
@@ -2571,22 +2777,22 @@ const MobileDropdownWrapper = (props) => {
|
|
|
2571
2777
|
return (React__default.createElement(React__default.Fragment, null,
|
|
2572
2778
|
isVisible && React__default.createElement(DataPickerHeader, { title: props.title, close: props.close }),
|
|
2573
2779
|
props.children,
|
|
2574
|
-
isVisible && React__default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$
|
|
2780
|
+
isVisible && React__default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$z.done, size: "48" })));
|
|
2575
2781
|
};
|
|
2576
2782
|
|
|
2577
|
-
var css$
|
|
2783
|
+
var css$y = {"sub-header-wrapper":"JMiMXn","switch":"RPpi5V","no-found-modal-container":"K5hYpI","no-found-modal-container-icon":"DU1y-5","no-found-modal-container-text":"RmyHHB","subHeaderWrapper":"JMiMXn","$switch$":"RPpi5V","noFoundModalContainer":"K5hYpI","noFoundModalContainerIcon":"DU1y-5","noFoundModalContainerText":"RmyHHB"};
|
|
2578
2784
|
|
|
2579
|
-
var _path$
|
|
2580
|
-
function _extends$
|
|
2785
|
+
var _path$j, _path2;
|
|
2786
|
+
function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
|
|
2581
2787
|
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
2582
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2788
|
+
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
2583
2789
|
width: 66,
|
|
2584
2790
|
height: 67,
|
|
2585
2791
|
viewBox: "0 0 66 67",
|
|
2586
2792
|
fill: "none",
|
|
2587
2793
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2588
2794
|
ref: ref
|
|
2589
|
-
}, props), _path$
|
|
2795
|
+
}, props), _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
2590
2796
|
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",
|
|
2591
2797
|
fill: "#EBEDF5"
|
|
2592
2798
|
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -2596,16 +2802,16 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
2596
2802
|
fill: "#6C6F80"
|
|
2597
2803
|
})));
|
|
2598
2804
|
};
|
|
2599
|
-
var ForwardRef$
|
|
2805
|
+
var ForwardRef$k = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
2600
2806
|
|
|
2601
2807
|
class PickerModalImpl extends PickerModalBase {
|
|
2602
2808
|
constructor() {
|
|
2603
2809
|
super(...arguments);
|
|
2604
2810
|
this.renderNotFound = () => {
|
|
2605
|
-
return this.props.renderNotFound ? (this.props.renderNotFound({ search: this.state.dataSourceState.search, onClose: () => this.props.success(null) })) : (React.createElement("div", { className: css$
|
|
2606
|
-
React.createElement(IconContainer, { cx: css$
|
|
2607
|
-
React.createElement(Text, { cx: css$
|
|
2608
|
-
React.createElement(Text, { cx: css$
|
|
2811
|
+
return this.props.renderNotFound ? (this.props.renderNotFound({ search: this.state.dataSourceState.search, onClose: () => this.props.success(null) })) : (React.createElement("div", { className: css$y.noFoundModalContainer },
|
|
2812
|
+
React.createElement(IconContainer, { cx: css$y.noFoundModalContainerIcon, icon: ForwardRef$k }),
|
|
2813
|
+
React.createElement(Text, { cx: css$y.noFoundModalContainerText, font: "semibold", fontSize: "16", lineHeight: "24", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsMessage),
|
|
2814
|
+
React.createElement(Text, { cx: css$y.noFoundModalContainerText, fontSize: "12", lineHeight: "18", font: "regular", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
2609
2815
|
};
|
|
2610
2816
|
}
|
|
2611
2817
|
renderRow(rowProps) {
|
|
@@ -2627,7 +2833,7 @@ class PickerModalImpl extends PickerModalBase {
|
|
|
2627
2833
|
return (React.createElement(ModalBlocker, Object.assign({}, this.props),
|
|
2628
2834
|
React.createElement(ModalWindow, { width: 600, height: 700 },
|
|
2629
2835
|
React.createElement(ModalHeader, { title: this.props.caption || i18n.pickerModal.headerTitle, onClose: () => this.props.abort() }),
|
|
2630
|
-
React.createElement(FlexCell, { cx: css$
|
|
2836
|
+
React.createElement(FlexCell, { cx: css$y.subHeaderWrapper },
|
|
2631
2837
|
React.createElement(FlexRow, { vPadding: "24" },
|
|
2632
2838
|
React.createElement(SearchInput, Object.assign({}, this.lens.prop('dataSourceState').prop('search').toProps(), { onKeyDown: (e) => handleDataSourceKeyboard({
|
|
2633
2839
|
value: this.getDataSourceState(),
|
|
@@ -2636,7 +2842,7 @@ class PickerModalImpl extends PickerModalBase {
|
|
|
2636
2842
|
rows: dataRows,
|
|
2637
2843
|
editMode: 'modal',
|
|
2638
2844
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder }))),
|
|
2639
|
-
!this.isSingleSelect() && (React.createElement(Switch, Object.assign({ cx: css$
|
|
2845
|
+
!this.isSingleSelect() && (React.createElement(Switch, Object.assign({ cx: css$y.switch, size: "18" }, this.stateLens.prop('showSelected').toProps(), { isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" }))),
|
|
2640
2846
|
this.props.renderFilter && React.createElement(FlexCell, { grow: 2 }, this.props.renderFilter(this.lens.prop('dataSourceState').prop('filter').toProps()))),
|
|
2641
2847
|
React.createElement(DataPickerBody, Object.assign({}, this.getListProps(), { value: this.getDataSourceState(), onValueChange: this.handleDataSourceValueChange, search: this.lens.prop('dataSourceState').prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: this.renderNotFound, editMode: "modal" })),
|
|
2642
2848
|
React.createElement(ModalFooter, { padding: "24", vPadding: "24" }, this.props.renderFooter ? this.props.renderFooter(this.getFooterProps()) : this.renderFooter()))));
|
|
@@ -2653,15 +2859,13 @@ class PickerModal extends React.Component {
|
|
|
2653
2859
|
}
|
|
2654
2860
|
}
|
|
2655
2861
|
|
|
2656
|
-
|
|
2862
|
+
var css$x = {"root":"z4Dbyq"};
|
|
2657
2863
|
|
|
2658
|
-
|
|
2864
|
+
const AvatarStack = withMods(AvatarStack$1, () => [css$x.root]);
|
|
2659
2865
|
|
|
2660
|
-
|
|
2866
|
+
var css$w = {"root":"_1FBEfc","size-18":"t-IUle","fill-transparent":"f36amx","size-24":"c9iy7G","size-30":"GbOmEC","size-36":"ZnULvM","size-42":"KMj-pL","size-48":"XjSM2L","fill-solid":"QI6Bun","fill-semitransparent":"EjXYjy","size18":"t-IUle","fillTransparent":"f36amx","size24":"c9iy7G","size30":"GbOmEC","size36":"ZnULvM","size42":"KMj-pL","size48":"XjSM2L","fillSolid":"QI6Bun","fillSemitransparent":"EjXYjy"};
|
|
2661
2867
|
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
const defaultSize$4 = '36';
|
|
2868
|
+
const defaultSize$5 = '36';
|
|
2665
2869
|
const mapSize$1 = {
|
|
2666
2870
|
48: '48',
|
|
2667
2871
|
42: '48',
|
|
@@ -2672,18 +2876,18 @@ const mapSize$1 = {
|
|
|
2672
2876
|
};
|
|
2673
2877
|
function applyBadgeMods(mods) {
|
|
2674
2878
|
return [
|
|
2675
|
-
css$
|
|
2879
|
+
css$w.root, buttonCss.root, css$w['size-' + (mods.size || defaultSize$5)], css$w['fill-' + (mods.fill || 'solid')], mods.color && `badge-${mods.color}`,
|
|
2676
2880
|
];
|
|
2677
2881
|
}
|
|
2678
2882
|
const Badge = withMods(Button$1, applyBadgeMods, (props) => ({
|
|
2679
|
-
dropdownIcon: systemIcons[(props.size && mapSize$1[props.size]) || defaultSize$
|
|
2680
|
-
clearIcon: systemIcons[(props.size && mapSize$1[props.size]) || defaultSize$
|
|
2883
|
+
dropdownIcon: systemIcons[(props.size && mapSize$1[props.size]) || defaultSize$5].foldingArrow,
|
|
2884
|
+
clearIcon: systemIcons[(props.size && mapSize$1[props.size]) || defaultSize$5].clear,
|
|
2681
2885
|
countPosition: 'left',
|
|
2682
2886
|
}));
|
|
2683
2887
|
|
|
2684
|
-
var css$
|
|
2888
|
+
var css$v = {"root":"_6HuxB7","size-18":"DS8ggE","size-24":"-Fnhxw","size-30":"yOOCMO","size-36":"icvkNq","size-42":"Zh6WvR","size-48":"zZ4jPz","size18":"DS8ggE","size24":"-Fnhxw","size30":"yOOCMO","size36":"icvkNq","size42":"Zh6WvR","size48":"zZ4jPz"};
|
|
2685
2889
|
|
|
2686
|
-
const defaultSize$
|
|
2890
|
+
const defaultSize$4 = '36';
|
|
2687
2891
|
const mapSize = {
|
|
2688
2892
|
48: '48',
|
|
2689
2893
|
42: '48',
|
|
@@ -2693,80 +2897,107 @@ const mapSize = {
|
|
|
2693
2897
|
18: '18',
|
|
2694
2898
|
};
|
|
2695
2899
|
function applyTagMods(mods) {
|
|
2696
|
-
return [css$
|
|
2900
|
+
return [css$v['size-' + (mods.size || defaultSize$4)], css$v.root];
|
|
2697
2901
|
}
|
|
2698
2902
|
const Tag = withMods(Button$1, applyTagMods, (props) => ({
|
|
2699
|
-
dropdownIcon: systemIcons[mapSize[props.size] || defaultSize$
|
|
2700
|
-
clearIcon: systemIcons[mapSize[props.size] || defaultSize$
|
|
2903
|
+
dropdownIcon: systemIcons[mapSize[props.size] || defaultSize$4].foldingArrow,
|
|
2904
|
+
clearIcon: systemIcons[mapSize[props.size] || defaultSize$4].clear,
|
|
2701
2905
|
}));
|
|
2702
2906
|
|
|
2703
|
-
var css$
|
|
2907
|
+
var css$u = {"root":"Mpnawn","spacer":"hojYcI","mode-ghost":"_5NHMxE","size-24":"HZvvRi","size-30":"o-ZWuo","navigation-size-24":"B4z-Of","navigation-size-30":"zgm7Cn","modeGhost":"_5NHMxE","size24":"HZvvRi","size30":"o-ZWuo","navigationSize24":"B4z-Of","navigationSize30":"zgm7Cn"};
|
|
2704
2908
|
|
|
2705
|
-
var _path$
|
|
2706
|
-
function _extends$
|
|
2909
|
+
var _path$i;
|
|
2910
|
+
function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
|
|
2707
2911
|
var SvgNavigationChevronLeft12 = function SvgNavigationChevronLeft12(props, ref) {
|
|
2708
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2912
|
+
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
2709
2913
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2710
2914
|
width: 12,
|
|
2711
2915
|
height: 12,
|
|
2712
2916
|
viewBox: "0 0 12 12",
|
|
2713
2917
|
ref: ref
|
|
2714
|
-
}, props), _path$
|
|
2918
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
|
|
2715
2919
|
fillRule: "evenodd",
|
|
2716
2920
|
d: "M7.705 3.705 7 3 4 6l3 3 .705-.705L5.415 6l2.29-2.295z",
|
|
2717
2921
|
clipRule: "evenodd"
|
|
2718
2922
|
})));
|
|
2719
2923
|
};
|
|
2720
|
-
var ForwardRef$
|
|
2924
|
+
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgNavigationChevronLeft12);
|
|
2721
2925
|
|
|
2722
|
-
var _path$
|
|
2723
|
-
function _extends$
|
|
2926
|
+
var _path$h;
|
|
2927
|
+
function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
|
|
2724
2928
|
var SvgNavigationChevronRight12 = function SvgNavigationChevronRight12(props, ref) {
|
|
2725
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
2929
|
+
return /*#__PURE__*/React.createElement("svg", _extends$i({
|
|
2726
2930
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2727
2931
|
width: 12,
|
|
2728
2932
|
height: 12,
|
|
2729
2933
|
viewBox: "0 0 12 12",
|
|
2730
2934
|
ref: ref
|
|
2731
|
-
}, props), _path$
|
|
2935
|
+
}, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
|
|
2732
2936
|
fillRule: "evenodd",
|
|
2733
2937
|
d: "m5 3-.705.705L6.585 6l-2.29 2.295L5 9l3-3-3-3z",
|
|
2734
2938
|
clipRule: "evenodd"
|
|
2735
2939
|
})));
|
|
2736
2940
|
};
|
|
2737
|
-
var ForwardRef$
|
|
2941
|
+
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgNavigationChevronRight12);
|
|
2738
2942
|
|
|
2739
2943
|
function Paginator(props) {
|
|
2740
2944
|
const renderPaginator = (params) => {
|
|
2741
2945
|
var _a, _b;
|
|
2742
|
-
return (React__default.createElement("nav", Object.assign({ role: "navigation", className: css$
|
|
2743
|
-
React__default.createElement(Button, { cx: css$
|
|
2946
|
+
return (React__default.createElement("nav", Object.assign({ role: "navigation", className: css$u.root }, params.rawProps),
|
|
2947
|
+
React__default.createElement(Button, { cx: css$u[`navigation-size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$E : ForwardRef$j, onClick: params.goToPrev, isDisabled: params.isFirst, mode: "outline", color: "secondary" }),
|
|
2744
2948
|
params.pages.map((page, index) => {
|
|
2745
2949
|
var _a, _b;
|
|
2746
2950
|
if (page.type === 'spacer') {
|
|
2747
|
-
return (React__default.createElement(Button, { cx: cx(css$
|
|
2951
|
+
return (React__default.createElement(Button, { cx: cx(css$u[`size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], css$u.spacer), size: params.size, key: `${index}_spacer`, caption: "...", mode: "ghost", color: "secondary", tabIndex: -1 }));
|
|
2748
2952
|
}
|
|
2749
2953
|
else {
|
|
2750
|
-
return (React__default.createElement(Button, { cx: cx(css$
|
|
2954
|
+
return (React__default.createElement(Button, { cx: cx(css$u[`size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], css$u[`mode-${!page.isActive && 'ghost'}`]), size: params.size, key: page.pageNumber, caption: page.pageNumber, onClick: () => { var _a; return (_a = page.onClick) === null || _a === void 0 ? void 0 : _a.call(page); }, rawProps: { 'aria-current': page.isActive }, mode: (page.isActive && 'outline') || 'ghost', color: "primary" }));
|
|
2751
2955
|
}
|
|
2752
2956
|
}),
|
|
2753
|
-
React__default.createElement(Button, { cx: css$
|
|
2957
|
+
React__default.createElement(Button, { cx: css$u[`navigation-size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$D : ForwardRef$i, onClick: params.goToNext, isDisabled: params.isLast, mode: "outline", color: "secondary" })));
|
|
2754
2958
|
};
|
|
2755
2959
|
return React__default.createElement(Paginator$1, Object.assign({}, props, { render: renderPaginator }));
|
|
2756
2960
|
}
|
|
2757
2961
|
|
|
2962
|
+
var css$t = {"root":"t6WzSC","bar":"ulp-n5","progressBar-indeterminate":"MPKS7f","size-12":"_7D-K6l","size-18":"VWcgP3","size-24":"liF52i","progressBarIndeterminate":"MPKS7f","size12":"_7D-K6l","size18":"VWcgP3","size24":"liF52i"};
|
|
2963
|
+
|
|
2964
|
+
const IndeterminateBar = React.forwardRef((props, ref) => {
|
|
2965
|
+
return (React.createElement("div", { ref: ref, className: cx(props.cx, css$t.root, css$t[`size-${props.size || 12}`]) },
|
|
2966
|
+
React.createElement("div", { className: cx(css$t.bar) })));
|
|
2967
|
+
});
|
|
2968
|
+
|
|
2969
|
+
var css$s = {"root":"zUlI3h","striped":"h2rHhO","animate-stripes":"DzdN2w","size-12":"-sUknj","size-18":"_16Qq1-","size-24":"y16li0","animateStripes":"DzdN2w","size12":"-sUknj","size18":"_16Qq1-","size24":"y16li0"};
|
|
2970
|
+
|
|
2971
|
+
const defaultSize$3 = '12';
|
|
2972
|
+
function applyProgressBarMods(mods) {
|
|
2973
|
+
const size = mods.size || defaultSize$3;
|
|
2974
|
+
return [
|
|
2975
|
+
css$s.root, css$s[`size-${size}`], mods.striped && css$s.striped,
|
|
2976
|
+
];
|
|
2977
|
+
}
|
|
2978
|
+
const ProgressBar = withMods(ProgressBar$1, applyProgressBarMods, (props) => ({
|
|
2979
|
+
hideLabel: props.hideLabel || props.striped,
|
|
2980
|
+
}));
|
|
2981
|
+
|
|
2982
|
+
var css$r = {"root":"Vi6Ju1"};
|
|
2983
|
+
|
|
2984
|
+
const IndicatorBar = React.forwardRef((props, ref) => {
|
|
2985
|
+
const { progress } = props;
|
|
2986
|
+
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$r.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$r.root, props.cx) }));
|
|
2987
|
+
});
|
|
2988
|
+
|
|
2758
2989
|
const MAX_ITEMS = 100;
|
|
2759
2990
|
const getMaxItems = (maxItems) => maxItems || maxItems === 0 ? maxItems : MAX_ITEMS;
|
|
2760
2991
|
|
|
2761
|
-
var css$
|
|
2992
|
+
var css$q = {"root":"qQ7FKw","mode-form":"zr5wm3","mode-cell":"etnhg2","mode-inline":"TvzUCi","size-24":"affBl8","size-30":"MqRln3","size-36":"IM-Eoj","size-42":"zmeU03","size-48":"Hrsxyt","modeForm":"zr5wm3","modeCell":"etnhg2","modeInline":"TvzUCi","size24":"affBl8","size30":"MqRln3","size36":"IM-Eoj","size42":"zmeU03","size48":"Hrsxyt"};
|
|
2762
2993
|
|
|
2763
2994
|
const defaultSize$2 = '36';
|
|
2764
2995
|
const defaultMode = EditMode.FORM;
|
|
2765
2996
|
function applyPickerTogglerMods(mods) {
|
|
2766
2997
|
return [
|
|
2767
|
-
css$
|
|
2768
|
-
css$
|
|
2769
|
-
css$
|
|
2998
|
+
css$q.root,
|
|
2999
|
+
css$q['size-' + (mods.size || defaultSize$2)],
|
|
3000
|
+
css$q['mode-' + (mods.mode || defaultMode)],
|
|
2770
3001
|
];
|
|
2771
3002
|
}
|
|
2772
3003
|
function PickerTogglerComponent(props, ref) {
|
|
@@ -2808,9 +3039,9 @@ function PickerTogglerComponent(props, ref) {
|
|
|
2808
3039
|
}
|
|
2809
3040
|
const PickerToggler = React.forwardRef(PickerTogglerComponent);
|
|
2810
3041
|
|
|
2811
|
-
var css$
|
|
3042
|
+
var css$p = {"root":"-zvg1U","multiline-vertical-padding-24":"Mrj-92","multiline-vertical-padding-30":"plUjft","multiline-vertical-padding-36":"Gl9iaP","multiline-vertical-padding-42":"Y7Xu7a","multiline-vertical-padding-48":"Wg99y2","text":"r2RRzX","multilineVerticalPadding24":"Mrj-92","multilineVerticalPadding30":"plUjft","multilineVerticalPadding36":"Gl9iaP","multilineVerticalPadding42":"Y7Xu7a","multilineVerticalPadding48":"Wg99y2"};
|
|
2812
3043
|
|
|
2813
|
-
var css$
|
|
3044
|
+
var css$o = {"highlighted-text":"HiwlPt","highlightedText":"HiwlPt"};
|
|
2814
3045
|
|
|
2815
3046
|
const mergeHighlightRanges = (ranges) => {
|
|
2816
3047
|
const mergedRanges = [];
|
|
@@ -2864,7 +3095,7 @@ const getHighlightRanges = (str, search) => {
|
|
|
2864
3095
|
};
|
|
2865
3096
|
const getDecoratedText = (str, ranges) => ranges.map((range, index) => {
|
|
2866
3097
|
const rangeStr = str.substring(range.from, range.to);
|
|
2867
|
-
return (React__default.createElement("span", Object.assign({ key: `${rangeStr}-${index}` }, (range.isHighlighted ? { className: css$
|
|
3098
|
+
return (React__default.createElement("span", Object.assign({ key: `${rangeStr}-${index}` }, (range.isHighlighted ? { className: css$o.highlightedText } : {})), rangeStr));
|
|
2868
3099
|
});
|
|
2869
3100
|
const getHighlightedSearchMatches = (str, search) => {
|
|
2870
3101
|
if (!search || !str) {
|
|
@@ -2893,32 +3124,32 @@ class PickerItem extends React.Component {
|
|
|
2893
3124
|
const { search } = (_a = this.props.dataSourceState) !== null && _a !== void 0 ? _a : {};
|
|
2894
3125
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(this.props.title, search) : this.props.title;
|
|
2895
3126
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(this.props.subtitle, search) : this.props.subtitle;
|
|
2896
|
-
return (React.createElement(FlexCell, { width: "auto", cx: css$
|
|
2897
|
-
React.createElement(FlexRow, { size: itemSize, cx: isMultiline && css$
|
|
3127
|
+
return (React.createElement(FlexCell, { width: "auto", cx: css$p.root },
|
|
3128
|
+
React.createElement(FlexRow, { size: itemSize, cx: isMultiline && css$p[`multiline-vertical-padding-${itemSize}`], spacing: "12" },
|
|
2898
3129
|
avatarUrl && React.createElement(Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
|
|
2899
3130
|
icon && React.createElement(IconContainer, { icon: icon }),
|
|
2900
3131
|
React.createElement(FlexCell, { width: "auto" },
|
|
2901
|
-
title && (React.createElement(Text, { size: itemSize, cx: css$
|
|
2902
|
-
subtitle && (React.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$
|
|
3132
|
+
title && (React.createElement(Text, { size: itemSize, cx: css$p.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React.createElement(TextPlaceholder, { wordsCount: 2 }) : title)),
|
|
3133
|
+
subtitle && (React.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$p.text }, isLoading ? React.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
2903
3134
|
}
|
|
2904
3135
|
}
|
|
2905
3136
|
PickerItem.defaultProps = {
|
|
2906
3137
|
highlightSearchMatches: true,
|
|
2907
3138
|
};
|
|
2908
3139
|
|
|
2909
|
-
var css$
|
|
3140
|
+
var css$n = {"panel":"FT2NtQ","footer-wrapper":"L4gtXD","footer-size-24":"x3AzbF","footer-size-30":"tACjUC","footer-size-36":"_0tMFf4","footer-size-42":"O2K2ZN","footer-size-48":"ClAiY1","footerWrapper":"L4gtXD","footerSize24":"x3AzbF","footerSize30":"tACjUC","footerSize36":"_0tMFf4","footerSize42":"O2K2ZN","footerSize48":"ClAiY1"};
|
|
2910
3141
|
|
|
2911
3142
|
const pickerHeight$1 = 300;
|
|
2912
3143
|
const pickerWidth$1 = 360;
|
|
2913
3144
|
class PickerInput extends PickerInputBase {
|
|
2914
3145
|
constructor() {
|
|
2915
3146
|
super(...arguments);
|
|
2916
|
-
this.renderItem = (item, rowProps) => {
|
|
3147
|
+
this.renderItem = (item, rowProps, dataSourceState) => {
|
|
2917
3148
|
var _a;
|
|
2918
|
-
return (React__default.createElement(PickerItem, Object.assign({ title: this.getName(item), size: this.getRowSize(), dataSourceState:
|
|
3149
|
+
return (React__default.createElement(PickerItem, Object.assign({ title: this.getName(item), size: this.getRowSize(), dataSourceState: dataSourceState, highlightSearchMatches: (_a = this.props.highlightSearchMatches) !== null && _a !== void 0 ? _a : true }, rowProps)));
|
|
2919
3150
|
};
|
|
2920
|
-
this.renderRow = (rowProps) => {
|
|
2921
|
-
return this.props.renderRow ? (this.props.renderRow(rowProps,
|
|
3151
|
+
this.renderRow = (rowProps, dataSourceState) => {
|
|
3152
|
+
return this.props.renderRow ? (this.props.renderRow(rowProps, dataSourceState)) : (React__default.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, borderBottom: "none", size: this.getRowSize(), padding: this.props.editMode === 'modal' ? '24' : '12', renderItem: (item, itemProps) => this.renderItem(item, itemProps, dataSourceState) })));
|
|
2922
3153
|
};
|
|
2923
3154
|
}
|
|
2924
3155
|
toggleModalOpening() {
|
|
@@ -2954,11 +3185,11 @@ class PickerInput extends PickerInputBase {
|
|
|
2954
3185
|
return (React__default.createElement(IEditableDebouncer, { value: targetProps.value, onValueChange: this.handleTogglerSearchChange, render: (editableProps) => renderTarget(Object.assign(Object.assign(Object.assign({}, this.getTogglerMods()), targetProps), editableProps)) }));
|
|
2955
3186
|
}
|
|
2956
3187
|
renderBody(props, rows) {
|
|
2957
|
-
const renderedDataRows = rows.map((row) => this.renderRow(row));
|
|
3188
|
+
const renderedDataRows = rows.map((row) => this.renderRow(row, this.state.dataSourceState));
|
|
2958
3189
|
const maxHeight = isMobile() ? document.documentElement.clientHeight : this.props.dropdownHeight || pickerHeight$1;
|
|
2959
3190
|
const minBodyWidth = isMobile() ? document.documentElement.clientWidth : this.props.minBodyWidth || pickerWidth$1;
|
|
2960
3191
|
return (React__default.createElement(Panel, { style: { width: props.togglerWidth > minBodyWidth ? props.togglerWidth : minBodyWidth }, rawProps: { tabIndex: -1 }, cx: [
|
|
2961
|
-
css$
|
|
3192
|
+
css$n.panel, uuiMarkers.lockFocus, this.props.bodyCx,
|
|
2962
3193
|
] },
|
|
2963
3194
|
React__default.createElement(MobileDropdownWrapper, { title: this.props.entityName, close: () => {
|
|
2964
3195
|
this.returnFocusToInput();
|
|
@@ -2974,7 +3205,7 @@ class PickerInput extends PickerInputBase {
|
|
|
2974
3205
|
}
|
|
2975
3206
|
}
|
|
2976
3207
|
|
|
2977
|
-
var css$
|
|
3208
|
+
var css$m = {"row":"G7YTz-"};
|
|
2978
3209
|
|
|
2979
3210
|
class PickerListItem extends React__default.Component {
|
|
2980
3211
|
render() {
|
|
@@ -2992,7 +3223,7 @@ class PickerListItem extends React__default.Component {
|
|
|
2992
3223
|
else {
|
|
2993
3224
|
component = (React__default.createElement(RadioInput, { label: label, value: this.props.isSelected, isDisabled: this.props.isLoading || !this.props.isSelectable || this.props.isDisabled, onValueChange: () => this.props.onSelect(this.props) }));
|
|
2994
3225
|
}
|
|
2995
|
-
return React__default.createElement("div", { className: css$
|
|
3226
|
+
return React__default.createElement("div", { className: css$m.row }, component);
|
|
2996
3227
|
}
|
|
2997
3228
|
}
|
|
2998
3229
|
|
|
@@ -3035,7 +3266,7 @@ class PickerList extends PickerListBase {
|
|
|
3035
3266
|
}
|
|
3036
3267
|
PickerList.contextType = UuiContext;
|
|
3037
3268
|
|
|
3038
|
-
var css$
|
|
3269
|
+
var css$l = {"root":"c2cy1v","title-wrapper":"kBoro-","title":"rfO--J","text-wrapper":"_85-yoK","selection":"tK92h7","postfix":"kVA3p9","selected":"bcbN0k","titleWrapper":"kBoro-","textWrapper":"_85-yoK"};
|
|
3039
3270
|
|
|
3040
3271
|
const defaultSize = '36';
|
|
3041
3272
|
const FilterPanelItemToggler = React.forwardRef((props, ref) => {
|
|
@@ -3047,18 +3278,18 @@ const FilterPanelItemToggler = React.forwardRef((props, ref) => {
|
|
|
3047
3278
|
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
3048
3279
|
};
|
|
3049
3280
|
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}${props.selection ? ':' : ''}`;
|
|
3050
|
-
const getSelectionText = () => props.selection.map((i, index) => (React.createElement(React.Fragment,
|
|
3051
|
-
React.createElement(Text, {
|
|
3281
|
+
const getSelectionText = () => props.selection.map((i, index) => (React.createElement(React.Fragment, { key: `${i}${index}` },
|
|
3282
|
+
React.createElement(Text, { color: "brand", size: props.size, cx: css$l.selection }, i),
|
|
3052
3283
|
(props.postfix || index !== props.selection.length - 1) && React.createElement("span", null, ",\u00A0"))));
|
|
3053
3284
|
return (React.createElement(FlexRow$1, Object.assign({}, props, { rawProps: {
|
|
3054
3285
|
style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` },
|
|
3055
3286
|
role: 'button',
|
|
3056
|
-
}, cx: cx(css$
|
|
3057
|
-
React.createElement(FlexRow$1, { cx: css$
|
|
3058
|
-
React.createElement(Text, { size: props.size, cx: css$
|
|
3059
|
-
props.selection && (React.createElement("div", { className: css$
|
|
3287
|
+
}, cx: cx(css$l.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, ['size-' + (props.size || defaultSize)], props.cx), onClick: togglerPickerOpened, ref: ref }),
|
|
3288
|
+
React.createElement(FlexRow$1, { cx: css$l.titleWrapper },
|
|
3289
|
+
React.createElement(Text, { size: props.size, cx: css$l.title }, getTitle),
|
|
3290
|
+
props.selection && (React.createElement("div", { className: css$l.textWrapper },
|
|
3060
3291
|
getSelectionText(),
|
|
3061
|
-
props.postfix && (React.createElement(Text, { color: "brand", size: props.size, cx: css$
|
|
3292
|
+
props.postfix && (React.createElement(Text, { color: "brand", size: props.size, cx: css$l.postfix }, props.postfix))))),
|
|
3062
3293
|
!props.isDisabled && React.createElement(IconContainer, { icon: systemIcons[props.size || defaultSize].foldingArrow, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
3063
3294
|
});
|
|
3064
3295
|
|
|
@@ -3087,8 +3318,8 @@ class FilterPickerBody extends PickerInputBase {
|
|
|
3087
3318
|
shouldShowBody() {
|
|
3088
3319
|
return this.props.isOpen;
|
|
3089
3320
|
}
|
|
3090
|
-
toggleModalOpening(
|
|
3091
|
-
renderTarget(
|
|
3321
|
+
toggleModalOpening() { }
|
|
3322
|
+
renderTarget() {
|
|
3092
3323
|
return React.createElement("div", null);
|
|
3093
3324
|
}
|
|
3094
3325
|
renderBody(props, rows) {
|
|
@@ -3138,7 +3369,7 @@ class FilterDatePickerBody extends BaseDatePicker {
|
|
|
3138
3369
|
}
|
|
3139
3370
|
}
|
|
3140
3371
|
|
|
3141
|
-
var css$
|
|
3372
|
+
var css$k = {"date-input":"lNWbGU","size-24":"VjyrWh","size-30":"Z4-Jjm","size-36":"Qaim8R","size-42":"_5rwbck","size-48":"_62rB7g","date-input-group":"jTYQnC","separator":"M9g5Yl","mode-form":"mByNg-","mode-cell":"p5qr-K","dateInput":"lNWbGU","size24":"VjyrWh","size30":"Z4-Jjm","size36":"Qaim8R","size42":"_5rwbck","size48":"_62rB7g","dateInputGroup":"jTYQnC","modeForm":"mByNg-","modeCell":"p5qr-K"};
|
|
3142
3373
|
|
|
3143
3374
|
class FilterRangeDatePickerBody extends BaseRangeDatePicker {
|
|
3144
3375
|
constructor() {
|
|
@@ -3158,10 +3389,10 @@ class FilterRangeDatePickerBody extends BaseRangeDatePicker {
|
|
|
3158
3389
|
React.createElement(RangeDatePickerBody, { value: this.getValue(), onValueChange: this.onRangeChange, filter: this.props.filter, focusPart: this.state.inFocus, changeIsOpen: this.changeIsOpen, presets: this.props.presets })),
|
|
3159
3390
|
React.createElement(FlexCell, { alignSelf: "stretch" },
|
|
3160
3391
|
React.createElement(FlexRow, { padding: "24", vPadding: "12" },
|
|
3161
|
-
React.createElement("div", { className: cx(css$
|
|
3162
|
-
React.createElement(TextInput, { icon: systemIcons['30'].calendar, cx: cx(css$
|
|
3163
|
-
React.createElement("div", { className: css$
|
|
3164
|
-
React.createElement(TextInput, { cx: cx(css$
|
|
3392
|
+
React.createElement("div", { className: cx(css$k.dateInputGroup, this.state.inFocus && uuiMod.focus) },
|
|
3393
|
+
React.createElement(TextInput, { icon: systemIcons['30'].calendar, cx: cx(css$k.dateInput, css$k['size-30'], this.state.inFocus === 'from' && uuiMod.focus), size: "30", placeholder: i18n.rangeDatePicker.pickerPlaceholderFrom, value: this.state.inputValue.from, onValueChange: this.getChangeHandler('from'), onFocus: (event) => this.handleFocus(event, 'from'), onBlur: (event) => this.handleBlur(event, 'from') }),
|
|
3394
|
+
React.createElement("div", { className: css$k.separator }),
|
|
3395
|
+
React.createElement(TextInput, { cx: cx(css$k.dateInput, css$k['size-30'], this.state.inFocus === 'to' && uuiMod.focus), placeholder: i18n.rangeDatePicker.pickerPlaceholderTo, size: "30", value: this.state.inputValue.to, onCancel: this.state.inputValue.from && this.state.inputValue.to && this.handleCancel, onValueChange: this.getChangeHandler('to'), onFocus: (event) => this.handleFocus(event, 'to'), onBlur: (event) => this.handleBlur(event, 'to') })),
|
|
3165
3396
|
React.createElement(FlexSpacer, null),
|
|
3166
3397
|
React.createElement(LinkButton, { isDisabled: !this.state.inputValue.from && !this.state.inputValue.to, caption: i18n.pickerModal.clearAllButton, onClick: this.handleCancel })))));
|
|
3167
3398
|
}
|
|
@@ -3170,7 +3401,7 @@ class FilterRangeDatePickerBody extends BaseRangeDatePicker {
|
|
|
3170
3401
|
}
|
|
3171
3402
|
}
|
|
3172
3403
|
|
|
3173
|
-
var css$
|
|
3404
|
+
var css$j = {"container":"pQ20ri"};
|
|
3174
3405
|
|
|
3175
3406
|
function FilterNumericBody(props) {
|
|
3176
3407
|
var _a, _b;
|
|
@@ -3214,7 +3445,7 @@ function FilterNumericBody(props) {
|
|
|
3214
3445
|
if (isInRangePredicate) {
|
|
3215
3446
|
const value = props.value;
|
|
3216
3447
|
return (React__default.createElement("div", null,
|
|
3217
|
-
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", spacing: "12", borderBottom: true, cx: css$
|
|
3448
|
+
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", spacing: "12", borderBottom: true, cx: css$j.container },
|
|
3218
3449
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
3219
3450
|
React__default.createElement(NumericInput, { value: (_a = value === null || value === void 0 ? void 0 : value.from) !== null && _a !== void 0 ? _a : null, onValueChange: rangeValueHandler('from'), size: "36", placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
3220
3451
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
@@ -3222,7 +3453,7 @@ function FilterNumericBody(props) {
|
|
|
3222
3453
|
renderFooter()));
|
|
3223
3454
|
}
|
|
3224
3455
|
return (React__default.createElement("div", null,
|
|
3225
|
-
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", borderBottom: true, cx: css$
|
|
3456
|
+
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", borderBottom: true, cx: css$j.container },
|
|
3226
3457
|
React__default.createElement(FlexCell, { width: 130 },
|
|
3227
3458
|
React__default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, size: "36", placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
3228
3459
|
renderFooter()));
|
|
@@ -3243,23 +3474,23 @@ function FilterItemBody(props) {
|
|
|
3243
3474
|
}
|
|
3244
3475
|
}
|
|
3245
3476
|
|
|
3246
|
-
var _path$
|
|
3247
|
-
function _extends$
|
|
3477
|
+
var _path$g;
|
|
3478
|
+
function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
|
|
3248
3479
|
var SvgActionDeleteforever12 = function SvgActionDeleteforever12(props, ref) {
|
|
3249
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3480
|
+
return /*#__PURE__*/React.createElement("svg", _extends$h({
|
|
3250
3481
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3251
3482
|
width: 12,
|
|
3252
3483
|
height: 12,
|
|
3253
3484
|
viewBox: "0 0 18 18",
|
|
3254
3485
|
ref: ref
|
|
3255
|
-
}, props), _path$
|
|
3486
|
+
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
3256
3487
|
fillRule: "evenodd",
|
|
3257
3488
|
d: "M14 6v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6h10zm-3-4 1 1h3v2H3V3h3l1-1h4zm-.24 12.1L9 12.36 7.24 14.1l-1.16-1.16 1.74-1.76-1.78-1.8 1.2-1.18L9 10l1.76-1.8 1.18 1.18-1.76 1.8 1.76 1.76-1.18 1.16z"
|
|
3258
3489
|
})));
|
|
3259
3490
|
};
|
|
3260
|
-
var ForwardRef$
|
|
3491
|
+
var ForwardRef$h = /*#__PURE__*/forwardRef(SvgActionDeleteforever12);
|
|
3261
3492
|
|
|
3262
|
-
var css$
|
|
3493
|
+
var css$i = {"header":"_6pBAif","removeButton":"hboOJO","with-search":"_21QAp0","panel":"_5HB-ra","withSearch":"_21QAp0"};
|
|
3263
3494
|
|
|
3264
3495
|
function FiltersToolbarItemImpl(props) {
|
|
3265
3496
|
const { maxCount = 2 } = props;
|
|
@@ -3335,14 +3566,14 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3335
3566
|
};
|
|
3336
3567
|
const renderHeader = (hideTitle) => {
|
|
3337
3568
|
var _a;
|
|
3338
|
-
return (React__default.createElement("div", { className: cx(css$
|
|
3569
|
+
return (React__default.createElement("div", { className: cx(css$i.header, isPickersType && ((_a = props.showSearch) !== null && _a !== void 0 ? _a : css$i.withSearch)) },
|
|
3339
3570
|
props.predicates ? (React__default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size: "24" })) : (!hideTitle && (React__default.createElement(Text, { color: "secondary", size: "24", fontSize: "14" }, props.title))),
|
|
3340
|
-
!(props === null || props === void 0 ? void 0 : props.isAlwaysVisible) && (React__default.createElement(LinkButton, { cx: css$
|
|
3571
|
+
!(props === null || props === void 0 ? void 0 : props.isAlwaysVisible) && (React__default.createElement(LinkButton, { cx: css$i.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$h }))));
|
|
3341
3572
|
};
|
|
3342
3573
|
const renderBody = (dropdownProps) => {
|
|
3343
3574
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
3344
3575
|
return (React__default.createElement(DropdownContainer, Object.assign({}, dropdownProps),
|
|
3345
|
-
React__default.createElement(Panel, { cx: css$
|
|
3576
|
+
React__default.createElement(Panel, { cx: css$i.panel }, isPickersType ? (React__default.createElement(MobileDropdownWrapper, { title: props.title, close: () => isOpenChange(false) },
|
|
3346
3577
|
renderHeader(hideHeaderTitle),
|
|
3347
3578
|
React__default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))) : (React__default.createElement(React__default.Fragment, null,
|
|
3348
3579
|
renderHeader(hideHeaderTitle),
|
|
@@ -3421,20 +3652,20 @@ function FiltersToolbarItemImpl(props) {
|
|
|
3421
3652
|
}
|
|
3422
3653
|
const FiltersPanelItem = React__default.memo(FiltersToolbarItemImpl);
|
|
3423
3654
|
|
|
3424
|
-
var _path$
|
|
3425
|
-
function _extends$
|
|
3655
|
+
var _path$f;
|
|
3656
|
+
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
3426
3657
|
var SvgActionAdd18 = function SvgActionAdd18(props, ref) {
|
|
3427
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3658
|
+
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
3428
3659
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3429
3660
|
width: 18,
|
|
3430
3661
|
height: 18,
|
|
3431
3662
|
viewBox: "0 0 18 18",
|
|
3432
3663
|
ref: ref
|
|
3433
|
-
}, props), _path$
|
|
3664
|
+
}, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
|
|
3434
3665
|
d: "M10 2H8v6H2v2h6v6h2v-6h6V8h-6V2z"
|
|
3435
3666
|
})));
|
|
3436
3667
|
};
|
|
3437
|
-
var ForwardRef$
|
|
3668
|
+
var ForwardRef$g = /*#__PURE__*/forwardRef(SvgActionAdd18);
|
|
3438
3669
|
|
|
3439
3670
|
const normalizeFilterWithPredicates = (filter) => {
|
|
3440
3671
|
if (!filter) {
|
|
@@ -3486,12 +3717,15 @@ function FiltersToolbarImpl(props) {
|
|
|
3486
3717
|
const newConfig = {};
|
|
3487
3718
|
const newFilter = {};
|
|
3488
3719
|
const sortedOrders = tableState.filtersConfig && sortBy(tableState.filtersConfig, (f) => f === null || f === void 0 ? void 0 : f.order);
|
|
3489
|
-
let
|
|
3720
|
+
let lastItemOrder = (sortedOrders === null || sortedOrders === void 0 ? void 0 : sortedOrders.length) ? (_a = sortedOrders[sortedOrders.length - 1]) === null || _a === void 0 ? void 0 : _a.order : null;
|
|
3490
3721
|
updatedFilters.forEach((filter) => {
|
|
3491
3722
|
var _a, _b;
|
|
3492
|
-
|
|
3493
|
-
order
|
|
3494
|
-
|
|
3723
|
+
let order = (_b = (_a = tableState === null || tableState === void 0 ? void 0 : tableState.filtersConfig) === null || _a === void 0 ? void 0 : _a[filter === null || filter === void 0 ? void 0 : filter.field]) === null || _b === void 0 ? void 0 : _b.order;
|
|
3724
|
+
if (!order) {
|
|
3725
|
+
order = getOrderBetween(lastItemOrder, null);
|
|
3726
|
+
lastItemOrder = order;
|
|
3727
|
+
}
|
|
3728
|
+
newConfig[filter.field] = { isVisible: true, order: order };
|
|
3495
3729
|
// Remove unselected filters from filter object
|
|
3496
3730
|
if (tableState.filter) {
|
|
3497
3731
|
newFilter[filter.field] = tableState.filter[filter.field];
|
|
@@ -3522,7 +3756,7 @@ function FiltersToolbarImpl(props) {
|
|
|
3522
3756
|
}, [filters, tableState.filtersConfig]);
|
|
3523
3757
|
const renderAddFilterToggler = useCallback((togglerProps) => {
|
|
3524
3758
|
var _a;
|
|
3525
|
-
return (React__default.createElement(Button, { size: (_a = props.size) !== null && _a !== void 0 ? _a : '36', onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$
|
|
3759
|
+
return (React__default.createElement(Button, { size: (_a = props.size) !== null && _a !== void 0 ? _a : '36', onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$g, iconPosition: "left", mode: "ghost", color: "primary" }));
|
|
3526
3760
|
}, []);
|
|
3527
3761
|
const getRowOptions = useCallback((item) => ({
|
|
3528
3762
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -3543,115 +3777,115 @@ function FiltersToolbarImpl(props) {
|
|
|
3543
3777
|
React__default.createElement(FiltersPanelItem, Object.assign({}, f, { value: (_a = tableState.filter) === null || _a === void 0 ? void 0 : _a[f.field], onValueChange: handleFilterChange, key: f.field, autoFocus: newFilterId === f.field, removeFilter: removeFilter, size: props.size }))));
|
|
3544
3778
|
}),
|
|
3545
3779
|
!isAllFiltersAlwaysVisible && (React__default.createElement(PickerInput, { dataSource: dataSource, value: selectedFilters, onValueChange: onFiltersChange, selectionMode: "multi", valueType: "entity", key: newFilterId, renderRow: (props) => (React__default.createElement(DataPickerRow, Object.assign({}, props, { padding: "12", key: props.key, onCheck: (row) => {
|
|
3546
|
-
props.onCheck(row);
|
|
3780
|
+
props.onCheck && props.onCheck(row);
|
|
3547
3781
|
!row.isChecked && setNewFilterId(row.value.field);
|
|
3548
3782
|
}, renderItem: (item, rowProps) => React__default.createElement(PickerItem, Object.assign({}, rowProps, { title: item.title })) }))), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: props.size }))));
|
|
3549
3783
|
}
|
|
3550
3784
|
const FiltersPanel = React__default.memo(FiltersToolbarImpl);
|
|
3551
3785
|
|
|
3552
|
-
var css$
|
|
3786
|
+
var css$h = {"divider":"IPfn-9","dropdownDeleteIcon":"ZxuLG3","presetsWrapper":"el2heb","addPresetContainer":"tOi9F8","dropContainer":"-B6u8a"};
|
|
3553
3787
|
|
|
3554
|
-
var css$
|
|
3788
|
+
var css$g = {"preset-dropdown-panel":"Y0Hc-T","delete-row":"-f9ec-","delete-button":"_1NmOzC","targetOpen":"FlxGib","presetDropdownPanel":"Y0Hc-T","deleteRow":"-f9ec-","deleteButton":"_1NmOzC"};
|
|
3555
3789
|
|
|
3556
|
-
var _path$
|
|
3557
|
-
function _extends$
|
|
3790
|
+
var _path$e;
|
|
3791
|
+
function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
|
|
3558
3792
|
var SvgSaveOutline18 = function SvgSaveOutline18(props, ref) {
|
|
3559
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3793
|
+
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
3560
3794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3561
3795
|
width: 18,
|
|
3562
3796
|
height: 18,
|
|
3563
3797
|
viewBox: "0 0 18 18",
|
|
3564
3798
|
ref: ref
|
|
3565
|
-
}, props), _path$
|
|
3799
|
+
}, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
|
|
3566
3800
|
d: "M12.75 2.25h-9a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5c.825 0 1.5-.675 1.5-1.5v-9l-3-3zm1.5 12H3.75V3.75h8.377l2.123 2.122v8.378zM9 9a2.247 2.247 0 0 0-2.25 2.25A2.247 2.247 0 0 0 9 13.5a2.247 2.247 0 0 0 2.25-2.25A2.247 2.247 0 0 0 9 9zM4.5 4.5h6.75v3H4.5v-3z"
|
|
3567
3801
|
})));
|
|
3568
3802
|
};
|
|
3569
|
-
var ForwardRef$
|
|
3803
|
+
var ForwardRef$f = /*#__PURE__*/forwardRef(SvgSaveOutline18);
|
|
3570
3804
|
|
|
3571
|
-
var _path$
|
|
3572
|
-
function _extends$
|
|
3805
|
+
var _path$d;
|
|
3806
|
+
function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
|
|
3573
3807
|
var SvgContentEditUndo18 = function SvgContentEditUndo18(props, ref) {
|
|
3574
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3808
|
+
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
3575
3809
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3576
3810
|
width: 18,
|
|
3577
3811
|
height: 18,
|
|
3578
3812
|
viewBox: "0 0 18 18",
|
|
3579
3813
|
ref: ref
|
|
3580
|
-
}, props), _path$
|
|
3814
|
+
}, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
|
|
3581
3815
|
fillRule: "evenodd",
|
|
3582
3816
|
d: "M9.375 6A7.848 7.848 0 0 0 4.2 7.95l-2.7-2.7V12h6.75L5.535 9.285a5.965 5.965 0 0 1 3.84-1.41 6.009 6.009 0 0 1 5.7 4.125l1.777-.585C15.81 8.273 12.862 6 9.375 6z",
|
|
3583
3817
|
clipRule: "evenodd"
|
|
3584
3818
|
})));
|
|
3585
3819
|
};
|
|
3586
|
-
var ForwardRef$
|
|
3820
|
+
var ForwardRef$e = /*#__PURE__*/forwardRef(SvgContentEditUndo18);
|
|
3587
3821
|
|
|
3588
|
-
var _path$
|
|
3589
|
-
function _extends$
|
|
3822
|
+
var _path$c;
|
|
3823
|
+
function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
|
|
3590
3824
|
var SvgActionCopyContent18 = function SvgActionCopyContent18(props, ref) {
|
|
3591
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3825
|
+
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
3592
3826
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3593
3827
|
width: 18,
|
|
3594
3828
|
height: 18,
|
|
3595
3829
|
viewBox: "0 0 18 18",
|
|
3596
3830
|
ref: ref
|
|
3597
|
-
}, props), _path$
|
|
3831
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
|
|
3598
3832
|
fillRule: "evenodd",
|
|
3599
3833
|
d: "M3 1h8v2H3v8H1V3a2 2 0 0 1 2-2zm2 6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7zm10 8H7V7h8v8z",
|
|
3600
3834
|
clipRule: "evenodd"
|
|
3601
3835
|
})));
|
|
3602
3836
|
};
|
|
3603
|
-
var ForwardRef$
|
|
3837
|
+
var ForwardRef$d = /*#__PURE__*/forwardRef(SvgActionCopyContent18);
|
|
3604
3838
|
|
|
3605
|
-
var _path$
|
|
3606
|
-
function _extends$
|
|
3839
|
+
var _path$b;
|
|
3840
|
+
function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
3607
3841
|
var SvgContentEdit18 = function SvgContentEdit18(props, ref) {
|
|
3608
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3842
|
+
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
3609
3843
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3610
3844
|
width: 18,
|
|
3611
3845
|
height: 18,
|
|
3612
3846
|
viewBox: "0 0 18 18",
|
|
3613
3847
|
ref: ref
|
|
3614
|
-
}, props), _path$
|
|
3848
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
|
|
3615
3849
|
fillRule: "evenodd",
|
|
3616
3850
|
d: "M2.25 12.94v2.812h2.813l8.294-8.295-2.812-2.813L2.25 12.94zm13.283-7.658a.747.747 0 0 0 0-1.058L13.777 2.47a.747.747 0 0 0-1.058 0l-1.373 1.373 2.813 2.812 1.373-1.372z",
|
|
3617
3851
|
clipRule: "evenodd"
|
|
3618
3852
|
})));
|
|
3619
3853
|
};
|
|
3620
|
-
var ForwardRef$
|
|
3854
|
+
var ForwardRef$c = /*#__PURE__*/forwardRef(SvgContentEdit18);
|
|
3621
3855
|
|
|
3622
|
-
var _path$
|
|
3623
|
-
function _extends$
|
|
3856
|
+
var _path$a;
|
|
3857
|
+
function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
3624
3858
|
var SvgContentLink18 = function SvgContentLink18(props, ref) {
|
|
3625
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3859
|
+
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
3626
3860
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3627
3861
|
width: 18,
|
|
3628
3862
|
height: 18,
|
|
3629
3863
|
viewBox: "0 0 18 18",
|
|
3630
3864
|
ref: ref
|
|
3631
|
-
}, props), _path$
|
|
3865
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
3632
3866
|
fillRule: "evenodd",
|
|
3633
3867
|
d: "M7.943 10.057a.73.73 0 0 1 0 1.066.756.756 0 0 1-1.065 0 3.753 3.753 0 0 1 0-5.303l2.655-2.655a3.753 3.753 0 0 1 5.302 0 3.753 3.753 0 0 1 0 5.302l-1.118 1.118a5.18 5.18 0 0 0-.3-1.815l.353-.36a2.236 2.236 0 0 0 0-3.18 2.236 2.236 0 0 0-3.18 0L7.943 6.877a2.236 2.236 0 0 0 0 3.18zm2.114-3.18a.756.756 0 0 1 1.066 0 3.753 3.753 0 0 1 0 5.303l-2.655 2.655a3.753 3.753 0 0 1-5.303 0 3.753 3.753 0 0 1 0-5.303l1.118-1.117a5.25 5.25 0 0 0 .3 1.823l-.353.352a2.236 2.236 0 0 0 0 3.18 2.236 2.236 0 0 0 3.18 0l2.647-2.647a2.236 2.236 0 0 0 0-3.18.73.73 0 0 1 0-1.066z",
|
|
3634
3868
|
clipRule: "evenodd"
|
|
3635
3869
|
})));
|
|
3636
3870
|
};
|
|
3637
|
-
var ForwardRef$
|
|
3871
|
+
var ForwardRef$b = /*#__PURE__*/forwardRef(SvgContentLink18);
|
|
3638
3872
|
|
|
3639
|
-
var _path$
|
|
3640
|
-
function _extends$
|
|
3873
|
+
var _path$9;
|
|
3874
|
+
function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
3641
3875
|
var SvgActionDeleteforever18 = function SvgActionDeleteforever18(props, ref) {
|
|
3642
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3876
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
3643
3877
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3644
3878
|
width: 18,
|
|
3645
3879
|
height: 18,
|
|
3646
3880
|
viewBox: "0 0 18 18",
|
|
3647
3881
|
ref: ref
|
|
3648
|
-
}, props), _path$
|
|
3882
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
3649
3883
|
fillRule: "evenodd",
|
|
3650
3884
|
d: "M7 2h4l1 1h3v2H3V3h3l1-1zM4 6h10v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6zm6.76 8.1L9 12.36 7.24 14.1l-1.16-1.16 1.74-1.76-1.78-1.8 1.2-1.18L9 10l1.76-1.8 1.18 1.18-1.76 1.8 1.76 1.76-1.18 1.16z",
|
|
3651
3885
|
clipRule: "evenodd"
|
|
3652
3886
|
})));
|
|
3653
3887
|
};
|
|
3654
|
-
var ForwardRef$
|
|
3888
|
+
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgActionDeleteforever18);
|
|
3655
3889
|
|
|
3656
3890
|
function PresetActionsDropdown(props) {
|
|
3657
3891
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -3688,30 +3922,30 @@ function PresetActionsDropdown(props) {
|
|
|
3688
3922
|
]);
|
|
3689
3923
|
const renderBody = () => {
|
|
3690
3924
|
const isReadonlyPreset = props.preset.isReadonly;
|
|
3691
|
-
return (React__default.createElement(Panel, { shadow: true, cx: css$
|
|
3925
|
+
return (React__default.createElement(Panel, { shadow: true, cx: css$g.presetDropdownPanel },
|
|
3692
3926
|
props.activePresetId === props.preset.id && props.hasPresetChanged(props.preset) && (React__default.createElement(React__default.Fragment, null,
|
|
3693
3927
|
!isReadonlyPreset && (React__default.createElement(FlexRow, { key: `${props.preset.id}-save-in-current` },
|
|
3694
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3928
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$r, caption: "Save in current", onClick: saveInCurrentHandler }))),
|
|
3695
3929
|
React__default.createElement(FlexRow, { key: `${props.preset.id}-save-as-new` },
|
|
3696
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3930
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$f, caption: "Save as new", onClick: props.addPreset })),
|
|
3697
3931
|
React__default.createElement(FlexRow, { key: `${props.preset.id}-discard`, borderBottom: true },
|
|
3698
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3932
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$e, caption: "Discard all changes", onClick: discardAllChangesHandler })))),
|
|
3699
3933
|
props.preset.id === props.activePresetId && !isReadonlyPreset && (React__default.createElement(FlexRow, { key: `${props.preset.id}-rename` },
|
|
3700
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3934
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$c, caption: "Rename", onClick: props.renamePreset }))),
|
|
3701
3935
|
React__default.createElement(FlexRow, { key: `${props.preset.id}-duplicate` },
|
|
3702
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3936
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$d, caption: "Duplicate", onClick: duplicateHandler })),
|
|
3703
3937
|
React__default.createElement(FlexRow, { borderBottom: true, key: `${props.preset.id}-copyLink` },
|
|
3704
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3705
|
-
!isReadonlyPreset && (React__default.createElement(FlexRow, { key: `${props.preset.id}-delete`, cx: css$
|
|
3706
|
-
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3938
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$b, caption: "Copy Link", onClick: copyUrlToClipboard })),
|
|
3939
|
+
!isReadonlyPreset && (React__default.createElement(FlexRow, { key: `${props.preset.id}-delete`, cx: css$g.deleteRow },
|
|
3940
|
+
React__default.createElement(DropdownMenuButton, { icon: ForwardRef$a, caption: "Delete", cx: css$g.deleteButton, onClick: deleteHandler })))));
|
|
3707
3941
|
};
|
|
3708
3942
|
const renderTarget = useCallback((dropdownProps) => {
|
|
3709
|
-
return (React__default.createElement(IconButton, Object.assign({ cx: dropdownProps.isOpen && css$
|
|
3943
|
+
return (React__default.createElement(IconButton, Object.assign({ cx: dropdownProps.isOpen && css$g.targetOpen, color: props.preset.id === props.activePresetId ? 'info' : 'default' }, dropdownProps, { icon: ForwardRef$s })));
|
|
3710
3944
|
}, []);
|
|
3711
3945
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3712
3946
|
}
|
|
3713
3947
|
|
|
3714
|
-
var css$
|
|
3948
|
+
var css$f = {"preset-input-cell":"lcD93R","preset-input":"gpVVel","presetInputCell":"lcD93R","presetInput":"gpVVel"};
|
|
3715
3949
|
|
|
3716
3950
|
function PresetInput(props) {
|
|
3717
3951
|
var _a;
|
|
@@ -3732,11 +3966,11 @@ function PresetInput(props) {
|
|
|
3732
3966
|
}
|
|
3733
3967
|
props.onCancel();
|
|
3734
3968
|
}, [presetCaption.length, props.onCancel]);
|
|
3735
|
-
return (React__default.createElement(FlexCell, { cx: css$
|
|
3736
|
-
React__default.createElement(TextInput, { cx: css$
|
|
3969
|
+
return (React__default.createElement(FlexCell, { cx: css$f.presetInputCell, minWidth: 180 },
|
|
3970
|
+
React__default.createElement(TextInput, { cx: css$f.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50 })));
|
|
3737
3971
|
}
|
|
3738
3972
|
|
|
3739
|
-
var css$
|
|
3973
|
+
var css$e = {"preset":"HI94V9","activePreset":"QjOQF8"};
|
|
3740
3974
|
|
|
3741
3975
|
function Preset(props) {
|
|
3742
3976
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -3754,23 +3988,23 @@ function Preset(props) {
|
|
|
3754
3988
|
return props.updatePreset(newPreset);
|
|
3755
3989
|
}, [props.preset]);
|
|
3756
3990
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
3757
|
-
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$
|
|
3991
|
+
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$e.preset, isPresetActive && css$e.activePreset], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: () => React__default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3758
3992
|
}
|
|
3759
3993
|
|
|
3760
|
-
var _path$
|
|
3761
|
-
function _extends$
|
|
3994
|
+
var _path$8;
|
|
3995
|
+
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
3762
3996
|
var SvgContentPlusBold18 = function SvgContentPlusBold18(props, ref) {
|
|
3763
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
3997
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
3764
3998
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3765
3999
|
width: 18,
|
|
3766
4000
|
height: 18,
|
|
3767
4001
|
viewBox: "0 0 18 18",
|
|
3768
4002
|
ref: ref
|
|
3769
|
-
}, props), _path$
|
|
4003
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
3770
4004
|
d: "M10.5 3h-3v4.5H3v3h4.5V15h3v-4.5H15v-3h-4.5V3z"
|
|
3771
4005
|
})));
|
|
3772
4006
|
};
|
|
3773
|
-
var ForwardRef$
|
|
4007
|
+
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgContentPlusBold18);
|
|
3774
4008
|
|
|
3775
4009
|
function PresetsPanel(props) {
|
|
3776
4010
|
const [isAddingPreset, setIsAddingPreset] = useState(false);
|
|
@@ -3785,16 +4019,16 @@ function PresetsPanel(props) {
|
|
|
3785
4019
|
return React__default.createElement(Preset, Object.assign({ key: preset.id, preset: preset, addPreset: setAddingPreset }, presetApi));
|
|
3786
4020
|
};
|
|
3787
4021
|
const renderAddPresetButton = useCallback(() => {
|
|
3788
|
-
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$
|
|
4022
|
+
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$h.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$9, iconPosition: "left", mode: "ghost", color: "primary" })) : (React__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
3789
4023
|
}, [isAddingPreset]);
|
|
3790
4024
|
const onPresetDropdownSelect = (preset) => {
|
|
3791
4025
|
props.choosePreset(preset.preset);
|
|
3792
4026
|
};
|
|
3793
4027
|
const renderMoreButtonDropdown = (item, hiddenItems) => {
|
|
3794
4028
|
return (React__default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__default.createElement(FlexRow, null,
|
|
3795
|
-
React__default.createElement("div", { className: css$
|
|
3796
|
-
React__default.createElement(Button, Object.assign({ mode: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: () => (React__default.createElement(DropdownContainer, { cx: cx$1(css$
|
|
3797
|
-
React__default.createElement(ScrollBars$1, null, hiddenItems.map((hiddenItem) => (React__default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$
|
|
4029
|
+
React__default.createElement("div", { className: css$h.divider }),
|
|
4030
|
+
React__default.createElement(Button, Object.assign({ mode: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: () => (React__default.createElement(DropdownContainer, { cx: cx$1(css$h.dropContainer), width: 230 },
|
|
4031
|
+
React__default.createElement(ScrollBars$1, null, hiddenItems.map((hiddenItem) => (React__default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$a, iconPosition: "right", cx: css$h.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
3798
4032
|
};
|
|
3799
4033
|
const getPresetPriority = (preset, index) => {
|
|
3800
4034
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -3812,7 +4046,7 @@ function PresetsPanel(props) {
|
|
|
3812
4046
|
];
|
|
3813
4047
|
};
|
|
3814
4048
|
return (React__default.createElement(FlexCell, { grow: 1, minWidth: 310, rawProps: props.rawProps },
|
|
3815
|
-
React__default.createElement(FlexRow, { size: null, spacing: "12", cx: css$
|
|
4049
|
+
React__default.createElement(FlexRow, { size: null, spacing: "12", cx: css$h.presetsWrapper },
|
|
3816
4050
|
React__default.createElement(AdaptivePanel, { items: getPanelItems() }))));
|
|
3817
4051
|
}
|
|
3818
4052
|
|
|
@@ -3824,53 +4058,53 @@ const defaultPredicates = {
|
|
|
3824
4058
|
rangeDatePicker: [{ predicate: 'inRange', name: 'In Range', isDefault: true }, { predicate: 'notInRange', name: 'Not in Range' }],
|
|
3825
4059
|
};
|
|
3826
4060
|
|
|
3827
|
-
var css$
|
|
4061
|
+
var css$d = {"root":"gIPtez"};
|
|
3828
4062
|
|
|
3829
|
-
var css$
|
|
4063
|
+
var css$c = {"root":"yd2SbJ","burger-content":"rVcvLb","burgerContent":"rVcvLb"};
|
|
3830
4064
|
|
|
3831
|
-
var _path$
|
|
3832
|
-
function _extends$
|
|
4065
|
+
var _path$7;
|
|
4066
|
+
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
3833
4067
|
var SvgBurger = function SvgBurger(props, ref) {
|
|
3834
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4068
|
+
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
3835
4069
|
width: 60,
|
|
3836
4070
|
height: 60,
|
|
3837
4071
|
viewBox: "0 0 24 24",
|
|
3838
4072
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3839
4073
|
ref: ref
|
|
3840
|
-
}, props), _path$
|
|
4074
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
3841
4075
|
d: "M8 9.2h8v.8H8zM8 14h6v.8H8zm0-2.4h8v.8H8z"
|
|
3842
4076
|
})));
|
|
3843
4077
|
};
|
|
3844
|
-
var ForwardRef$
|
|
4078
|
+
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgBurger);
|
|
3845
4079
|
|
|
3846
|
-
var _path$
|
|
3847
|
-
function _extends$
|
|
4080
|
+
var _path$6;
|
|
4081
|
+
function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
3848
4082
|
var SvgBurgerClose = function SvgBurgerClose(props, ref) {
|
|
3849
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4083
|
+
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
3850
4084
|
width: 60,
|
|
3851
4085
|
height: 60,
|
|
3852
4086
|
viewBox: "0 0 60 60",
|
|
3853
4087
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3854
4088
|
ref: ref
|
|
3855
|
-
}, props), _path$
|
|
4089
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
3856
4090
|
d: "M38.543 20 40 21.457 31.456 30 40 38.543 38.543 40 30 31.456 21.457 40 20 38.543 28.543 30 20 21.457 21.457 20 30 28.543 38.543 20Z"
|
|
3857
4091
|
})));
|
|
3858
4092
|
};
|
|
3859
|
-
var ForwardRef$
|
|
4093
|
+
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgBurgerClose);
|
|
3860
4094
|
|
|
3861
4095
|
function applyBurgerMods() {
|
|
3862
|
-
return [css$
|
|
4096
|
+
return [css$c.root];
|
|
3863
4097
|
}
|
|
3864
4098
|
const Burger = withMods(Burger$1, applyBurgerMods, () => ({
|
|
3865
|
-
burgerIcon: ForwardRef$
|
|
3866
|
-
crossIcon: ForwardRef$
|
|
3867
|
-
burgerContentCx: css$
|
|
4099
|
+
burgerIcon: ForwardRef$8,
|
|
4100
|
+
crossIcon: ForwardRef$7,
|
|
4101
|
+
burgerContentCx: css$c.burgerContent,
|
|
3868
4102
|
}));
|
|
3869
4103
|
|
|
3870
|
-
var _g, _path$
|
|
3871
|
-
function _extends$
|
|
4104
|
+
var _g, _path$5;
|
|
4105
|
+
function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
3872
4106
|
var SvgTriangle = function SvgTriangle(props, ref) {
|
|
3873
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4107
|
+
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
3874
4108
|
width: 12,
|
|
3875
4109
|
height: 24,
|
|
3876
4110
|
viewBox: "0 0 12 24",
|
|
@@ -3887,21 +4121,21 @@ var SvgTriangle = function SvgTriangle(props, ref) {
|
|
|
3887
4121
|
cx: 12,
|
|
3888
4122
|
cy: 302.65,
|
|
3889
4123
|
r: 18
|
|
3890
|
-
}))), _path$
|
|
4124
|
+
}))), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
3891
4125
|
d: "m5 14-4-4h8z"
|
|
3892
4126
|
})));
|
|
3893
4127
|
};
|
|
3894
|
-
var ForwardRef$
|
|
4128
|
+
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgTriangle);
|
|
3895
4129
|
|
|
3896
|
-
var css$
|
|
4130
|
+
var css$b = {"root":"Mv0r1d","button-primary":"keuKOs","button-secondary":"P-WHea","hasIcon":"lvQy56","dropdown":"CmXs-J","buttonPrimary":"keuKOs","buttonSecondary":"P-WHea"};
|
|
3897
4131
|
|
|
3898
4132
|
const BurgerButton = withMods(Button$1, (props) => [
|
|
3899
|
-
css$
|
|
3900
|
-
], () => ({ dropdownIcon: ForwardRef$
|
|
4133
|
+
css$b.root, css$b['button-' + (props.type || 'primary')], css$b['indent-' + (props.indentLevel || 0)], props.isDropdown && css$b.dropdown, props.icon && css$b.hasIcon,
|
|
4134
|
+
], () => ({ dropdownIcon: ForwardRef$6, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
3901
4135
|
|
|
3902
|
-
function _extends$
|
|
4136
|
+
function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
|
|
3903
4137
|
var SvgMenuInputCancel = function SvgMenuInputCancel(props, ref) {
|
|
3904
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4138
|
+
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
3905
4139
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3906
4140
|
width: 18,
|
|
3907
4141
|
height: 24,
|
|
@@ -3943,48 +4177,48 @@ var SvgMenuInputCancel = function SvgMenuInputCancel(props, ref) {
|
|
|
3943
4177
|
transform: "matrix(3.77953 0 0 3.77953 -369 -648.52)"
|
|
3944
4178
|
})));
|
|
3945
4179
|
};
|
|
3946
|
-
var ForwardRef$
|
|
4180
|
+
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgMenuInputCancel);
|
|
3947
4181
|
|
|
3948
|
-
var css$
|
|
4182
|
+
var css$a = {"search-input":"QGDn6F","searchInput":"QGDn6F"};
|
|
3949
4183
|
|
|
3950
4184
|
function BurgerSearch(props) {
|
|
3951
|
-
return (React.createElement(TextInput$1, { cx: css$
|
|
4185
|
+
return (React.createElement(TextInput$1, { cx: css$a.searchInput, iconPosition: "left", icon: ForwardRef$16, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$5, autoFocus: true }));
|
|
3952
4186
|
}
|
|
3953
4187
|
|
|
3954
|
-
var css$
|
|
4188
|
+
var css$9 = {"group-header":"qbGYe-","group-name":"FsBdAN","line":"_8XQPVz","groupHeader":"qbGYe-","groupName":"FsBdAN"};
|
|
3955
4189
|
|
|
3956
4190
|
function BurgerGroupHeader(props) {
|
|
3957
|
-
return (React.createElement("div", { className: css$
|
|
3958
|
-
React.createElement("hr", { className: css$
|
|
3959
|
-
React.createElement("span", { className: css$
|
|
4191
|
+
return (React.createElement("div", { className: css$9.groupHeader },
|
|
4192
|
+
React.createElement("hr", { className: css$9.line }),
|
|
4193
|
+
React.createElement("span", { className: css$9.groupName }, props.caption)));
|
|
3960
4194
|
}
|
|
3961
4195
|
|
|
3962
|
-
var css$
|
|
4196
|
+
var css$8 = {"root":"E4xLyU","type-primary":"tyk2y8","type-secondary":"s5MHGc","typePrimary":"tyk2y8","typeSecondary":"s5MHGc"};
|
|
3963
4197
|
|
|
3964
|
-
var _path$
|
|
3965
|
-
function _extends$
|
|
4198
|
+
var _path$4;
|
|
4199
|
+
function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
3966
4200
|
var SvgChevronDown24 = function SvgChevronDown24(props, ref) {
|
|
3967
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
4201
|
+
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
3968
4202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3969
4203
|
width: 24,
|
|
3970
4204
|
height: 24,
|
|
3971
4205
|
viewBox: "0 0 24 24",
|
|
3972
4206
|
ref: ref
|
|
3973
|
-
}, props), _path$
|
|
4207
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
3974
4208
|
fillRule: "evenodd",
|
|
3975
4209
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
3976
4210
|
})));
|
|
3977
4211
|
};
|
|
3978
|
-
var ForwardRef$
|
|
4212
|
+
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgChevronDown24);
|
|
3979
4213
|
|
|
3980
|
-
const MainMenuButton = withMods(Button$1, (mods) => [css$
|
|
4214
|
+
const MainMenuButton = withMods(Button$1, (mods) => [css$8.root, css$8['type-' + (mods.type || 'primary')]], () => ({ dropdownIcon: ForwardRef$4, role: 'menuitem' }));
|
|
3981
4215
|
|
|
3982
|
-
var css$
|
|
4216
|
+
var css$7 = {"dropdown-body":"_6NH12l","dropdownBody":"_6NH12l"};
|
|
3983
4217
|
|
|
3984
4218
|
class MainMenuDropdown extends React.Component {
|
|
3985
4219
|
render() {
|
|
3986
4220
|
return (React.createElement(Dropdown$1, { renderTarget: (props) => (React.createElement(MainMenuButton, Object.assign({ caption: this.props.caption }, props, { rawProps: this.props.rawProps, isLinkActive: this.props.isLinkActive, isDropdown: true }))), renderBody: (props) => {
|
|
3987
|
-
return (React.createElement("div", { className: cx(css$
|
|
4221
|
+
return (React.createElement("div", { className: cx(css$7.dropdownBody) }, this.props.renderBody
|
|
3988
4222
|
? this.props.renderBody(Object.assign({}, props))
|
|
3989
4223
|
: React.Children.map(this.props.children, (item) => {
|
|
3990
4224
|
if (!item)
|
|
@@ -4001,52 +4235,52 @@ class MainMenuDropdown extends React.Component {
|
|
|
4001
4235
|
}
|
|
4002
4236
|
|
|
4003
4237
|
function applyMainMenuMods() {
|
|
4004
|
-
return [css$
|
|
4238
|
+
return [css$d.root];
|
|
4005
4239
|
}
|
|
4006
4240
|
const MainMenu = withMods(MainMenu$1, applyMainMenuMods, () => ({
|
|
4007
4241
|
Burger,
|
|
4008
4242
|
MainMenuDropdown,
|
|
4009
4243
|
}));
|
|
4010
4244
|
|
|
4011
|
-
var _path;
|
|
4012
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4245
|
+
var _path$3;
|
|
4246
|
+
function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
4013
4247
|
var SvgGlobalMenu = function SvgGlobalMenu(props, ref) {
|
|
4014
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
4248
|
+
return /*#__PURE__*/React.createElement("svg", _extends$3({
|
|
4015
4249
|
width: 60,
|
|
4016
4250
|
height: 60,
|
|
4017
4251
|
viewBox: "0 0 24 24",
|
|
4018
4252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4019
4253
|
ref: ref
|
|
4020
|
-
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
4254
|
+
}, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
|
|
4021
4255
|
className: "cls-2",
|
|
4022
4256
|
d: "M12 11.2a.8.8 0 1 1-.8.8.8.8 0 0 1 .8-.8zm3.2 0a.8.8 0 1 1-.8.8.802.802 0 0 1 .8-.8zm-6.4 0a.8.8 0 1 1-.8.8.8.8 0 0 1 .8-.8zM12 7.6a.8.8 0 1 1-.8.8.8.8 0 0 1 .8-.8zm3.2 0a.8.8 0 1 1-.8.8.802.802 0 0 1 .8-.8zm-6.4 0a.8.8 0 1 1-.8.8.8.8 0 0 1 .8-.8zm3.2 7.2a.8.8 0 1 1-.8.8.8.8 0 0 1 .8-.8zm3.2 0a.8.8 0 1 1-.8.8.802.802 0 0 1 .8-.8zm-6.4 0a.8.8 0 1 1-.8.8.8.8 0 0 1 .8-.8z"
|
|
4023
4257
|
})));
|
|
4024
4258
|
};
|
|
4025
|
-
var ForwardRef = /*#__PURE__*/forwardRef(SvgGlobalMenu);
|
|
4259
|
+
var ForwardRef$3 = /*#__PURE__*/forwardRef(SvgGlobalMenu);
|
|
4026
4260
|
|
|
4027
|
-
var css$
|
|
4261
|
+
var css$6 = {"global-menu-btn":"ChI1fJ","globalMenuIcon":"BZO4dh","globalMenuBtn":"ChI1fJ"};
|
|
4028
4262
|
|
|
4029
|
-
const GlobalMenu = React.forwardRef((props, ref) => (React.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx(css$
|
|
4030
|
-
React.createElement(IconContainer, { icon: ForwardRef, cx: css$
|
|
4263
|
+
const GlobalMenu = React.forwardRef((props, ref) => (React.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx(css$6.globalMenuBtn, props.cx) }, props.rawProps),
|
|
4264
|
+
React.createElement(IconContainer, { icon: ForwardRef$3, cx: css$6.globalMenuIcon }))));
|
|
4031
4265
|
|
|
4032
|
-
var css$
|
|
4266
|
+
var css$5 = {"container":"ccuCSB","open":"lJvtgj"};
|
|
4033
4267
|
|
|
4034
|
-
const MainMenuAvatar = React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$
|
|
4035
|
-
React.createElement(Avatar
|
|
4268
|
+
const MainMenuAvatar = React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$5.container, props.isDropdown && css$5.dropdown, props.isOpen && css$5.open, props.onClick && uuiMarkers.clickable, props.cx), onClick: props.onClick },
|
|
4269
|
+
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
4036
4270
|
props.icon && React.createElement(IconContainer, { icon: props.icon }),
|
|
4037
4271
|
props.isDropdown && (React.createElement("div", null,
|
|
4038
|
-
React.createElement(IconContainer, { icon: ForwardRef$
|
|
4272
|
+
React.createElement(IconContainer, { icon: ForwardRef$1c, flipY: props.isOpen }))))));
|
|
4039
4273
|
|
|
4040
|
-
var css$
|
|
4274
|
+
var css$4 = {"search-input":"DSs6ii","searchInput":"DSs6ii"};
|
|
4041
4275
|
|
|
4042
4276
|
const MainMenuSearch = React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4043
4277
|
var _a;
|
|
4044
|
-
return (React.createElement(TextInput$1, Object.assign({ iconPosition: "left", icon: ForwardRef$
|
|
4278
|
+
return (React.createElement(TextInput$1, Object.assign({ iconPosition: "left", icon: ForwardRef$16, cancelIcon: ((_a = props.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && ForwardRef$5 }, props, iEditable, { ref: ref, cx: cx$1(css$4.searchInput, props.cx) }, props.rawProps)));
|
|
4045
4279
|
} }))));
|
|
4046
4280
|
|
|
4047
|
-
var css = {"container":"
|
|
4281
|
+
var css$3 = {"container":"_4LQfTc"};
|
|
4048
4282
|
|
|
4049
|
-
const MainMenuIcon = React.forwardRef((props, ref) => (React.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: cx$1(props.cx, css.container) }, props))));
|
|
4283
|
+
const MainMenuIcon = React.forwardRef((props, ref) => (React.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: cx$1(props.cx, css$3.container) }, props))));
|
|
4050
4284
|
|
|
4051
4285
|
const Anchor = Anchor$1;
|
|
4052
4286
|
|
|
@@ -4087,5 +4321,166 @@ function useForm(props) {
|
|
|
4087
4321
|
return useForm$1(Object.assign({ beforeLeave, loadUnsavedChanges }, props));
|
|
4088
4322
|
}
|
|
4089
4323
|
|
|
4090
|
-
|
|
4324
|
+
var _path$2;
|
|
4325
|
+
function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
4326
|
+
var SvgShape = function SvgShape(props, ref) {
|
|
4327
|
+
return /*#__PURE__*/React.createElement("svg", _extends$2({
|
|
4328
|
+
width: 24,
|
|
4329
|
+
height: 16,
|
|
4330
|
+
viewBox: "0 0 24 16",
|
|
4331
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4332
|
+
ref: ref
|
|
4333
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
|
|
4334
|
+
fillRule: "evenodd",
|
|
4335
|
+
d: "M14 9v4h-4V9H7l5-5 5 5m2.35-2.97A7.49 7.49 0 0 0 12 0C9.11 0 6.6 1.64 5.35 4.03A6.004 6.004 0 0 0 6 16h13a5 5 0 0 0 5-5c0-2.64-2.05-4.78-4.65-4.97Z"
|
|
4336
|
+
})));
|
|
4337
|
+
};
|
|
4338
|
+
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgShape);
|
|
4339
|
+
|
|
4340
|
+
var css$2 = {"root":"_2pCCt-","drop-start":"_0XBGTR","drop-over":"peenec","link":"zRIV9q","drop-area":"iyyNCh","icon-blue":"TgQueo","dropStart":"_0XBGTR","dropOver":"peenec","dropArea":"iyyNCh","iconBlue":"TgQueo"};
|
|
4341
|
+
|
|
4342
|
+
class DropSpot extends React.Component {
|
|
4343
|
+
constructor() {
|
|
4344
|
+
super(...arguments);
|
|
4345
|
+
this.renderAttachmentArea = (props) => {
|
|
4346
|
+
return (React.createElement("div", Object.assign({ className: cx$1(css$2.root, this.props.cx, props.isDragStart && css$2.dropStart, props.isDraggingOver && css$2.dropOver) }, this.props.rawProps),
|
|
4347
|
+
React.createElement("div", Object.assign({}, props.eventHandlers, { className: css$2.dropArea }),
|
|
4348
|
+
React.createElement(FlexRow, { size: "24" },
|
|
4349
|
+
React.createElement(IconContainer, { icon: ForwardRef$2, cx: css$2.iconBlue }),
|
|
4350
|
+
React.createElement(Text, { lineHeight: "24", size: "24", fontSize: "14" },
|
|
4351
|
+
' ',
|
|
4352
|
+
i18n.fileUpload.labelStart,
|
|
4353
|
+
' '),
|
|
4354
|
+
React.createElement(UploadFileToggler, { onFilesAdded: this.props.onUploadFiles, render: (props) => (React.createElement(RichTextView, null,
|
|
4355
|
+
React.createElement(Anchor, Object.assign({}, props, { cx: css$2.link }), i18n.fileUpload.browse))), accept: this.props.accept, single: this.props.single })),
|
|
4356
|
+
this.props.infoText && (React.createElement(Text, { lineHeight: "24", size: "24", fontSize: "14", color: "secondary" }, this.props.infoText)))));
|
|
4357
|
+
};
|
|
4358
|
+
}
|
|
4359
|
+
render() {
|
|
4360
|
+
return React.createElement(DropSpot$1, { render: this.renderAttachmentArea, onFilesDropped: this.props.onUploadFiles });
|
|
4361
|
+
}
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
var css$1 = {"file-card-wrapper":"bE97s2","file-name":"ASYPzV","error-card-wrapper":"z5inuX","default-color":"dHKLtd","doc-color":"dnlzBX","xls-color":"C0PI3u","pdf-color":"_6AUSsu","movie-color":"H5gdtM","img-color":"zJT9cj","drop-start":"G5n9ns","error-block":"HuDnuX","icons-block":"DfFKra","fileCardWrapper":"bE97s2","fileName":"ASYPzV","errorCardWrapper":"z5inuX","defaultColor":"dHKLtd","docColor":"dnlzBX","xlsColor":"C0PI3u","pdfColor":"_6AUSsu","movieColor":"H5gdtM","imgColor":"zJT9cj","dropStart":"G5n9ns","errorBlock":"HuDnuX","iconsBlock":"DfFKra"};
|
|
4365
|
+
|
|
4366
|
+
var css = {"root":"pT9Xbm"};
|
|
4367
|
+
|
|
4368
|
+
const SvgCircleProgress = React.forwardRef((props, ref) => {
|
|
4369
|
+
const outsetRadius = props.size / 2 - 1;
|
|
4370
|
+
const insetRadius = props.size / 2 - 3;
|
|
4371
|
+
const circumference = insetRadius * Math.PI;
|
|
4372
|
+
return (React.createElement("svg", Object.assign({ className: css.root, width: props.size, height: props.size, ref: ref }, props.rawProps),
|
|
4373
|
+
React.createElement("circle", { stroke: "#ACAFBF", strokeDasharray: circumference, strokeDashoffset: circumference - (props.progress / 100) * circumference, strokeWidth: insetRadius, fill: "transparent", r: insetRadius / 2, cx: props.size / 2, cy: props.size / 2 }),
|
|
4374
|
+
React.createElement("circle", { stroke: "#ACAFBF", strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
4375
|
+
});
|
|
4376
|
+
|
|
4377
|
+
var _path$1;
|
|
4378
|
+
function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
|
4379
|
+
var SvgNavigationClose18 = function SvgNavigationClose18(props, ref) {
|
|
4380
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1({
|
|
4381
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4382
|
+
width: 18,
|
|
4383
|
+
height: 18,
|
|
4384
|
+
viewBox: "0 0 18 18",
|
|
4385
|
+
ref: ref
|
|
4386
|
+
}, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
|
|
4387
|
+
fillRule: "evenodd",
|
|
4388
|
+
d: "M14.25 4.808 13.193 3.75 9 7.942 4.808 3.75 3.75 4.808 7.942 9 3.75 13.193l1.058 1.057L9 10.057l4.193 4.193 1.057-1.057L10.057 9l4.193-4.192z",
|
|
4389
|
+
clipRule: "evenodd"
|
|
4390
|
+
})));
|
|
4391
|
+
};
|
|
4392
|
+
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationClose18);
|
|
4393
|
+
|
|
4394
|
+
var _path;
|
|
4395
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4396
|
+
var SvgNotificationErrorFill10 = function SvgNotificationErrorFill10(props, ref) {
|
|
4397
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
4398
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4399
|
+
width: 12,
|
|
4400
|
+
height: 12,
|
|
4401
|
+
viewBox: "0 0 24 24",
|
|
4402
|
+
ref: ref
|
|
4403
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
4404
|
+
fillRule: "evenodd",
|
|
4405
|
+
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
|
|
4406
|
+
})));
|
|
4407
|
+
};
|
|
4408
|
+
var ForwardRef = /*#__PURE__*/forwardRef(SvgNotificationErrorFill10);
|
|
4409
|
+
|
|
4410
|
+
const FileCard = React.forwardRef((props, ref) => {
|
|
4411
|
+
const [isLoadingShow, setIsLoadingShow] = React.useState(true);
|
|
4412
|
+
const { file } = props;
|
|
4413
|
+
const getIcon = (extension) => {
|
|
4414
|
+
switch (extension) {
|
|
4415
|
+
case 'doc':
|
|
4416
|
+
case 'docx':
|
|
4417
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.docIcon, cx: css$1.docColor });
|
|
4418
|
+
case 'xls':
|
|
4419
|
+
case 'xlsx':
|
|
4420
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.exelIcon, cx: css$1.xlsColor });
|
|
4421
|
+
case 'pdf':
|
|
4422
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.pdfIcon, cx: css$1.pdfColor });
|
|
4423
|
+
case 'gif':
|
|
4424
|
+
case 'jpg':
|
|
4425
|
+
case 'jpeg':
|
|
4426
|
+
case 'svg':
|
|
4427
|
+
case 'png':
|
|
4428
|
+
case 'webp':
|
|
4429
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.imgIcon, cx: css$1.imgColor });
|
|
4430
|
+
case 'avi':
|
|
4431
|
+
case 'mov':
|
|
4432
|
+
case 'mp4':
|
|
4433
|
+
case 'wmw':
|
|
4434
|
+
case 'mkv':
|
|
4435
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.videoIcon, cx: css$1.movieColor });
|
|
4436
|
+
case 'csv':
|
|
4437
|
+
case 'xml':
|
|
4438
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.tableIcon, cx: css$1.defaultColor });
|
|
4439
|
+
case 'rtf':
|
|
4440
|
+
case 'txt':
|
|
4441
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.textIcon, cx: css$1.defaultColor });
|
|
4442
|
+
case 'eml':
|
|
4443
|
+
case 'emlx':
|
|
4444
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.mailIcon, cx: css$1.defaultColor });
|
|
4445
|
+
default:
|
|
4446
|
+
return React.createElement(IconContainer, { size: 24, icon: fileIcons.fileIcon, cx: css$1.defaultColor });
|
|
4447
|
+
}
|
|
4448
|
+
};
|
|
4449
|
+
const { cx: componentCx, width, file: { progress, size, name, extension, error, abortXHR, }, onClick, } = props;
|
|
4450
|
+
const fileExtension = extension || (name === null || name === void 0 ? void 0 : name.split('.').pop());
|
|
4451
|
+
const fileName = name === null || name === void 0 ? void 0 : name.split('.').slice(0, -1).join('');
|
|
4452
|
+
const isLoading = progress < 100;
|
|
4453
|
+
const isCrossShow = ((!isLoadingShow && isLoading) || !isLoading) && onClick;
|
|
4454
|
+
const mouseLeaveHandler = (e) => {
|
|
4455
|
+
e.stopPropagation();
|
|
4456
|
+
setIsLoadingShow(() => true);
|
|
4457
|
+
};
|
|
4458
|
+
const mouseEnterHandler = (e) => {
|
|
4459
|
+
e.stopPropagation();
|
|
4460
|
+
setIsLoadingShow(() => false);
|
|
4461
|
+
};
|
|
4462
|
+
const renderErrorContent = () => (React.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
4463
|
+
React.createElement("div", { className: css$1.errorBlock },
|
|
4464
|
+
React.createElement(ForwardRef, null),
|
|
4465
|
+
"Upload failed")));
|
|
4466
|
+
const renderSuccessfulContent = () => (React.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: "secondary" },
|
|
4467
|
+
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
4468
|
+
isLoading && formatBytes((size / 100) * progress, 2, false) + i18n.fileCard.fileSizeProgress,
|
|
4469
|
+
formatBytes(size)));
|
|
4470
|
+
const removeHandler = () => {
|
|
4471
|
+
progress && progress < 100 && abortXHR();
|
|
4472
|
+
onClick();
|
|
4473
|
+
};
|
|
4474
|
+
return (React.createElement(FlexCell, { ref: ref, cx: cx$1(css$1.fileCardWrapper, (isLoading || (error === null || error === void 0 ? void 0 : error.isError)) && uuiMod.loading, componentCx, (error === null || error === void 0 ? void 0 : error.isError) && css$1.errorCardWrapper), minWidth: width, width: !width ? '100%' : undefined },
|
|
4475
|
+
React.createElement(FlexRow, { cx: css$1.fileCardRow, size: "36", alignItems: "top", spacing: "6" },
|
|
4476
|
+
fileExtension && getIcon(fileExtension),
|
|
4477
|
+
React.createElement(FlexCell, { width: "100%" },
|
|
4478
|
+
React.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: progress < 100 ? 'secondary' : 'primary', cx: css$1.fileName }, fileName),
|
|
4479
|
+
(error === null || error === void 0 ? void 0 : error.isError) ? renderErrorContent() : renderSuccessfulContent()),
|
|
4480
|
+
React.createElement("div", { className: cx$1(css$1.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
4481
|
+
isLoadingShow && isLoading && React.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
4482
|
+
isCrossShow && React.createElement(IconButton, { icon: ForwardRef$1, onClick: removeHandler })))));
|
|
4483
|
+
});
|
|
4484
|
+
|
|
4485
|
+
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, DataPickerBody, DataPickerFooter, DataPickerHeader, DataPickerRow, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, EditMode, ErrorAlert, ErrorNotification, FileCard, FilterItemBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, MobileDropdownWrapper, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerModalImpl, PickerToggler, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RichTextView, ScrollBars, SearchInput, Spinner, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, allButtonColors, allButtonModes, allButtonSemanticColors, allEpamBadgeSemanticColors, allFillStyles, allFontStyles, allIconColors, allLinkButtonColors, allRowSizes, allSemanticColors, allSizes, allTextSizes, applyBadgeMods, applyButtonMods, applyCheckboxMods, applyDateSelectionMods, applyNumericInputMods, applyProgressBarMods, applySpinnerMods, applySwitchMods, applyTagMods, applyTextAreaMods, applyTextInputMods, defaultPredicates, getHighlightRanges, getHighlightedSearchMatches, getTextClasses, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, useColumnsWithFilters, useForm, uuiDatePickerBody, weekCount };
|
|
4091
4486
|
//# sourceMappingURL=index.esm.js.map
|