@epam/uui 6.0.0-beta.0 → 6.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/inputs.scss +4 -4
- package/components/buttons/Button.d.ts +1 -1
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts +2 -2
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/buttons/TabButton.d.ts +2 -2
- package/components/buttons/TabButton.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts +21 -2
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/DatePickerBody.d.ts +2 -2
- package/components/datePickers/DatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts +20 -3
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +18 -6
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts +4 -8
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/datePickers/helpers.d.ts +1 -1
- package/components/datePickers/helpers.d.ts.map +1 -1
- package/components/datePickers/index.d.ts +0 -1
- package/components/datePickers/index.d.ts.map +1 -1
- package/components/datePickers/types.d.ts +5 -136
- package/components/datePickers/types.d.ts.map +1 -1
- package/components/fileUpload/FileCard.d.ts +2 -2
- package/components/fileUpload/FileCard.d.ts.map +1 -1
- package/components/fileUpload/SvgCircleProgress.d.ts +2 -2
- package/components/fileUpload/SvgCircleProgress.d.ts.map +1 -1
- package/components/filters/FilterNumericBody.d.ts.map +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts +5 -4
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FilterRangeDatePickerBody.d.ts +1 -1
- package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +2 -2
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/filters/FiltersPanelItem.d.ts.map +1 -1
- package/components/filters/PresetPanel/Preset.d.ts +1 -1
- package/components/filters/PresetPanel/Preset.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +1 -1
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
- package/components/filters/constants.d.ts +4 -0
- package/components/filters/constants.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +3 -3
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts +1 -1
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextInput.d.ts +2 -2
- package/components/inputs/TextInput.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePicker.d.ts +3 -2
- package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/FlexItems/Panel.d.ts +1 -1
- package/components/layout/VirtualList.d.ts +3 -2
- package/components/layout/VirtualList.d.ts.map +1 -1
- package/components/navigation/Anchor.d.ts +1 -1
- package/components/navigation/Anchor.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/BurgerButton.d.ts +1 -1
- package/components/navigation/MainMenu/GlobalMenu.d.ts +2 -2
- package/components/navigation/MainMenu/GlobalMenu.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts +2 -2
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuButton.d.ts +7 -2
- package/components/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuIcon.d.ts +8 -2
- package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuSearch.d.ts +2 -2
- package/components/navigation/MainMenu/MainMenuSearch.d.ts.map +1 -1
- package/components/overlays/Alert.d.ts +6 -6
- package/components/overlays/Alert.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts +2 -2
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/NotificationCard.d.ts +7 -7
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/overlays/Tooltip.d.ts +4 -1
- package/components/overlays/Tooltip.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +1 -2
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +1 -0
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +6 -3
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +4 -1
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +1 -1
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts +2 -2
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts +2 -2
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/widgets/Badge.d.ts +2 -2
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +2 -2
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/IndeterminateBar.d.ts +2 -2
- package/components/widgets/IndeterminateBar.d.ts.map +1 -1
- package/components/widgets/IndicatorBar.d.ts +2 -2
- package/components/widgets/IndicatorBar.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts +16 -3
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/components/widgets/Tag.d.ts +1 -1
- package/components/widgets/Tag.d.ts.map +1 -1
- package/i18n.d.ts +1 -0
- package/i18n.d.ts.map +1 -1
- package/index.esm.js +1333 -1329
- package/index.esm.js.map +1 -1
- package/index.js +1331 -1325
- package/index.js.map +1 -1
- package/package.json +7 -8
- package/settings.d.ts +40 -4
- package/settings.d.ts.map +1 -1
- package/stats.html +19 -1
- package/styles.css +1702 -1616
- package/styles.css.map +1 -1
package/index.esm.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as uuiComponents from '@epam/uui-components';
|
|
2
|
-
import { Spinner as Spinner$1, Clickable, IconContainer, RadioInput as RadioInput$1, TextInput as TextInput$1, ControlGroup as ControlGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Dropdown as Dropdown$1, Anchor as Anchor$1, FlexSpacer, Text as Text$1, FlexCell as FlexCell$1, VPanel, ScrollBars as ScrollBars$1, Blocker as Blocker$1, ModalBlocker as ModalBlocker$1, ModalWindow as ModalWindow$1, Snackbar as Snackbar$1,
|
|
2
|
+
import { Spinner as Spinner$1, Clickable, IconContainer, RadioInput as RadioInput$1, TextInput as TextInput$1, ControlGroup as ControlGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Dropdown as Dropdown$1, InputAddon as InputAddon$1, Slider as Slider$1, Anchor as Anchor$1, FlexSpacer, Text as Text$1, FlexCell as FlexCell$1, VPanel, ScrollBars as ScrollBars$1, Blocker as Blocker$1, ModalBlocker as ModalBlocker$1, ModalWindow as ModalWindow$1, Snackbar as Snackbar$1, Calendar as Calendar$1, YearSelection, MonthSelection, Day, uuiDaySelection, AvatarStack as AvatarStack$1, Paginator as Paginator$1, DragHandle, Avatar, usePickerModal, handleDataSourceKeyboard, PickerToggler as PickerToggler$1, usePickerInput, usePickerList, DataTableCell as DataTableCell$1, DataTableRow as DataTableRow$1, DataTableCellContainer, DataTableHeaderCell as DataTableHeaderCell$1, DataTableHeaderRow as DataTableHeaderRow$1, useShowSelected, usePickerApi, AdaptivePanel, useColumnsConfiguration, Accordion as Accordion$1, DataTableSelectionProvider, DataTableFocusProvider, Burger as Burger$1, Button as Button$1, DropSpot as DropSpot$1, UploadFileToggler, ErrorCatch } from '@epam/uui-components';
|
|
3
3
|
export { Avatar, DataTableCellContainer, FlexSpacer, IconContainer } from '@epam/uui-components';
|
|
4
|
-
import { withMods, devLogger, uuiElement, cx as cx$1, uuiMarkers, IEditableDebouncer, UuiContext, uuiMod, getDir, isEventTargetInsideClickable, directionMode, useVirtualList, useScrollShadows, isMobile, i18n as i18n$1, useUuiContext,
|
|
4
|
+
import { withMods, devLogger, uuiElement, cx as cx$1, uuiMarkers, IEditableDebouncer, isFocusReceiverInsideFocusLock, UuiContext, uuiMod, getDir, isEventTargetInsideClickable, directionMode, useVirtualList, useScrollShadows, isMobile, i18n as i18n$1, useUuiContext, usePrevious, mobilePositioning, uuiDataTableHeaderCell, uuiDataTableHeaderGroupCell, useForceUpdate, getSeparatedValue, useArrayDataSource, orderBy, getOrderBetween, DndActor, uuiDndState, useColumnsConfig, uuiScrollShadows, Form as Form$1, useForm as useForm$1, formatBytes, useUuiError } from '@epam/uui-core';
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import React__default, { forwardRef,
|
|
6
|
+
import React__default, { forwardRef, useState, useEffect, useContext, useRef, useReducer, useMemo, useImperativeHandle, useCallback, Fragment } from 'react';
|
|
7
7
|
import cx from 'classnames';
|
|
8
|
+
import { offset } from '@floating-ui/react';
|
|
8
9
|
import dayjs from 'dayjs';
|
|
9
10
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
10
11
|
import isSameOrAfter from 'dayjs/plugin/isSameOrAfter';
|
|
@@ -17,24 +18,9 @@ import isoWeek from 'dayjs/plugin/isoWeek.js';
|
|
|
17
18
|
import isEqual from 'react-fast-compare';
|
|
18
19
|
import FocusLock, { MoveFocusInside } from 'react-focus-lock';
|
|
19
20
|
|
|
20
|
-
var _path$R;
|
|
21
|
-
function _extends$R() { return _extends$R = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$R.apply(null, arguments); }
|
|
22
|
-
var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
23
|
-
return /*#__PURE__*/React.createElement("svg", _extends$R({
|
|
24
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
-
width: 24,
|
|
26
|
-
height: 24,
|
|
27
|
-
viewBox: "0 0 24 24",
|
|
28
|
-
ref: ref
|
|
29
|
-
}, props), _path$R || (_path$R = /*#__PURE__*/React.createElement("path", {
|
|
30
|
-
d: "M6.4 19 5 17.6l5.6-5.6L5 6.4 6.4 5l5.6 5.6L17.6 5 19 6.4 13.4 12l5.6 5.6-1.4 1.4-5.6-5.6L6.4 19z"
|
|
31
|
-
})));
|
|
32
|
-
};
|
|
33
|
-
var ForwardRef$R = /*#__PURE__*/forwardRef(SvgNavigationCloseOutline);
|
|
34
|
-
|
|
35
21
|
var _path$Q;
|
|
36
22
|
function _extends$Q() { return _extends$Q = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$Q.apply(null, arguments); }
|
|
37
|
-
var
|
|
23
|
+
var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
38
24
|
return /*#__PURE__*/React.createElement("svg", _extends$Q({
|
|
39
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
40
26
|
width: 24,
|
|
@@ -42,14 +28,14 @@ var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(p
|
|
|
42
28
|
viewBox: "0 0 24 24",
|
|
43
29
|
ref: ref
|
|
44
30
|
}, props), _path$Q || (_path$Q = /*#__PURE__*/React.createElement("path", {
|
|
45
|
-
d: "
|
|
31
|
+
d: "M6.4 19 5 17.6l5.6-5.6L5 6.4 6.4 5l5.6 5.6L17.6 5 19 6.4 13.4 12l5.6 5.6-1.4 1.4-5.6-5.6L6.4 19z"
|
|
46
32
|
})));
|
|
47
33
|
};
|
|
48
|
-
var ForwardRef$Q = /*#__PURE__*/forwardRef(
|
|
34
|
+
var ForwardRef$Q = /*#__PURE__*/forwardRef(SvgNavigationCloseOutline);
|
|
49
35
|
|
|
50
36
|
var _path$P;
|
|
51
37
|
function _extends$P() { return _extends$P = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$P.apply(null, arguments); }
|
|
52
|
-
var
|
|
38
|
+
var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(props, ref) {
|
|
53
39
|
return /*#__PURE__*/React.createElement("svg", _extends$P({
|
|
54
40
|
xmlns: "http://www.w3.org/2000/svg",
|
|
55
41
|
width: 24,
|
|
@@ -57,14 +43,14 @@ var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref)
|
|
|
57
43
|
viewBox: "0 0 24 24",
|
|
58
44
|
ref: ref
|
|
59
45
|
}, props), _path$P || (_path$P = /*#__PURE__*/React.createElement("path", {
|
|
60
|
-
d: "
|
|
46
|
+
d: "M5.414 8.086 4 9.5l8 8 8-8-1.414-1.414L12 14.672 5.414 8.086z"
|
|
61
47
|
})));
|
|
62
48
|
};
|
|
63
|
-
var ForwardRef$P = /*#__PURE__*/forwardRef(
|
|
49
|
+
var ForwardRef$P = /*#__PURE__*/forwardRef(SvgNavigationChevronDownOutline);
|
|
64
50
|
|
|
65
51
|
var _path$O;
|
|
66
52
|
function _extends$O() { return _extends$O = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$O.apply(null, arguments); }
|
|
67
|
-
var
|
|
53
|
+
var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref) {
|
|
68
54
|
return /*#__PURE__*/React.createElement("svg", _extends$O({
|
|
69
55
|
xmlns: "http://www.w3.org/2000/svg",
|
|
70
56
|
width: 24,
|
|
@@ -72,14 +58,14 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
72
58
|
viewBox: "0 0 24 24",
|
|
73
59
|
ref: ref
|
|
74
60
|
}, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
|
|
75
|
-
d: "
|
|
61
|
+
d: "m20.503 7.4-1.778-1.78-9.175 9.176-4.275-4.275L3.496 12.3l6.054 6.053L20.503 7.4z"
|
|
76
62
|
})));
|
|
77
63
|
};
|
|
78
|
-
var ForwardRef$O = /*#__PURE__*/forwardRef(
|
|
64
|
+
var ForwardRef$O = /*#__PURE__*/forwardRef(SvgNotificationDoneOutline);
|
|
79
65
|
|
|
80
66
|
var _path$N;
|
|
81
67
|
function _extends$N() { return _extends$N = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$N.apply(null, arguments); }
|
|
82
|
-
var
|
|
68
|
+
var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
83
69
|
return /*#__PURE__*/React.createElement("svg", _extends$N({
|
|
84
70
|
xmlns: "http://www.w3.org/2000/svg",
|
|
85
71
|
width: 24,
|
|
@@ -87,16 +73,14 @@ var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
|
87
73
|
viewBox: "0 0 24 24",
|
|
88
74
|
ref: ref
|
|
89
75
|
}, props), _path$N || (_path$N = /*#__PURE__*/React.createElement("path", {
|
|
90
|
-
|
|
91
|
-
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",
|
|
92
|
-
clipRule: "evenodd"
|
|
76
|
+
d: "M19 10.5H5v3h14v-3z"
|
|
93
77
|
})));
|
|
94
78
|
};
|
|
95
|
-
var ForwardRef$N = /*#__PURE__*/forwardRef(
|
|
79
|
+
var ForwardRef$N = /*#__PURE__*/forwardRef(SvgContentMinusOutline);
|
|
96
80
|
|
|
97
81
|
var _path$M;
|
|
98
82
|
function _extends$M() { return _extends$M = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$M.apply(null, arguments); }
|
|
99
|
-
var
|
|
83
|
+
var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
100
84
|
return /*#__PURE__*/React.createElement("svg", _extends$M({
|
|
101
85
|
xmlns: "http://www.w3.org/2000/svg",
|
|
102
86
|
width: 24,
|
|
@@ -104,14 +88,16 @@ var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
|
104
88
|
viewBox: "0 0 24 24",
|
|
105
89
|
ref: ref
|
|
106
90
|
}, props), _path$M || (_path$M = /*#__PURE__*/React.createElement("path", {
|
|
107
|
-
|
|
91
|
+
fillRule: "evenodd",
|
|
92
|
+
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",
|
|
93
|
+
clipRule: "evenodd"
|
|
108
94
|
})));
|
|
109
95
|
};
|
|
110
|
-
var ForwardRef$M = /*#__PURE__*/forwardRef(
|
|
96
|
+
var ForwardRef$M = /*#__PURE__*/forwardRef(SvgActionSearchOutline);
|
|
111
97
|
|
|
112
98
|
var _path$L;
|
|
113
99
|
function _extends$L() { return _extends$L = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$L.apply(null, arguments); }
|
|
114
|
-
var
|
|
100
|
+
var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
115
101
|
return /*#__PURE__*/React.createElement("svg", _extends$L({
|
|
116
102
|
xmlns: "http://www.w3.org/2000/svg",
|
|
117
103
|
width: 24,
|
|
@@ -119,14 +105,14 @@ var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref)
|
|
|
119
105
|
viewBox: "0 0 24 24",
|
|
120
106
|
ref: ref
|
|
121
107
|
}, props), _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
|
|
122
|
-
d: "
|
|
108
|
+
d: "M5 22a1.93 1.93 0 0 1-1.413-.587A1.928 1.928 0 0 1 3 20V6c0-.55.196-1.02.587-1.412A1.927 1.927 0 0 1 5 4h1V2h2v2h8V2h2v2h1c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412v14a1.93 1.93 0 0 1-.587 1.413A1.928 1.928 0 0 1 19 22H5zm0-2h14V10H5v10z"
|
|
123
109
|
})));
|
|
124
110
|
};
|
|
125
|
-
var ForwardRef$L = /*#__PURE__*/forwardRef(
|
|
111
|
+
var ForwardRef$L = /*#__PURE__*/forwardRef(SvgActionCalendarFill);
|
|
126
112
|
|
|
127
113
|
var _path$K;
|
|
128
114
|
function _extends$K() { return _extends$K = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$K.apply(null, arguments); }
|
|
129
|
-
var
|
|
115
|
+
var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref) {
|
|
130
116
|
return /*#__PURE__*/React.createElement("svg", _extends$K({
|
|
131
117
|
xmlns: "http://www.w3.org/2000/svg",
|
|
132
118
|
width: 24,
|
|
@@ -134,15 +120,30 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
134
120
|
viewBox: "0 0 24 24",
|
|
135
121
|
ref: ref
|
|
136
122
|
}, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
137
|
-
d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12
|
|
123
|
+
d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20z"
|
|
138
124
|
})));
|
|
139
125
|
};
|
|
140
|
-
var ForwardRef$K = /*#__PURE__*/forwardRef(
|
|
126
|
+
var ForwardRef$K = /*#__PURE__*/forwardRef(SvgNotificationInfoOutline);
|
|
141
127
|
|
|
142
|
-
var _path$J
|
|
128
|
+
var _path$J;
|
|
143
129
|
function _extends$J() { return _extends$J = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$J.apply(null, arguments); }
|
|
144
|
-
var
|
|
130
|
+
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
145
131
|
return /*#__PURE__*/React.createElement("svg", _extends$J({
|
|
132
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
133
|
+
width: 24,
|
|
134
|
+
height: 24,
|
|
135
|
+
viewBox: "0 0 24 24",
|
|
136
|
+
ref: ref
|
|
137
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
138
|
+
d: "M11 17h2v-6h-2v6zm1-8a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 8c0 .283.096.52.288.712A.965.965 0 0 0 12 9zm0 13a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
139
|
+
})));
|
|
140
|
+
};
|
|
141
|
+
var ForwardRef$J = /*#__PURE__*/forwardRef(SvgNotificationInfoFill);
|
|
142
|
+
|
|
143
|
+
var _path$I, _path2$5, _path3, _path4, _path5, _path6, _g, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _defs;
|
|
144
|
+
function _extends$I() { return _extends$I = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$I.apply(null, arguments); }
|
|
145
|
+
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
146
|
+
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
146
147
|
width: 232,
|
|
147
148
|
height: 180,
|
|
148
149
|
viewBox: "0 0 232 180",
|
|
@@ -150,8 +151,8 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
150
151
|
xmlns: "http://www.w3.org/2000/svg",
|
|
151
152
|
ref: ref
|
|
152
153
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
153
|
-
clipPath: "url(#
|
|
154
|
-
}, _path$
|
|
154
|
+
clipPath: "url(#vlifuwbwm1riwzq89_a)"
|
|
155
|
+
}, _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
155
156
|
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",
|
|
156
157
|
fill: "#F5F6FA"
|
|
157
158
|
})), _path2$5 || (_path2$5 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -171,7 +172,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
171
172
|
d: "M86.786 22.982c-2.55 0-4.965 2.07-4.965 4.552V120.6c0 2.484 2.4 4.572 4.965 4.572h88.101c2.582 0 4.986-2.089 4.986-4.572V27.534c0-2.464-2.418-4.552-4.986-4.552h-88.1Zm-5.793 4.552c0-3.022 2.874-5.38 5.793-5.38h88.101c2.935 0 5.814 2.374 5.814 5.38V120.6c0 3.021-2.86 5.4-5.814 5.4h-88.1c-2.94 0-5.794-2.381-5.794-5.4V27.534Z",
|
|
172
173
|
fill: "#1D1E26"
|
|
173
174
|
})), /*#__PURE__*/React.createElement("mask", {
|
|
174
|
-
id: "
|
|
175
|
+
id: "vlifuwynnbkdxm6mq_b",
|
|
175
176
|
style: {
|
|
176
177
|
maskType: "alpha"
|
|
177
178
|
},
|
|
@@ -184,7 +185,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
184
185
|
d: "M174.887 125.586h-88.1c-2.752 0-5.38-2.234-5.38-4.986V27.534c0-2.752 2.644-4.966 5.38-4.966h88.1c2.752 0 5.4 2.23 5.4 4.966V120.6c0 2.752-2.632 4.986-5.4 4.986Z",
|
|
185
186
|
fill: "#9BDEFF"
|
|
186
187
|
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
187
|
-
mask: "url(#
|
|
188
|
+
mask: "url(#vlifuwynnbkdxm6mq_b)",
|
|
188
189
|
fillRule: "evenodd",
|
|
189
190
|
clipRule: "evenodd"
|
|
190
191
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -270,33 +271,18 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
270
271
|
d: "M24.73 96.184a.414.414 0 0 1 .581.06l48.646 59.751a.413.413 0 1 1-.642.523L24.67 96.766a.414.414 0 0 1 .06-.582Z",
|
|
271
272
|
fill: "#fff"
|
|
272
273
|
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
273
|
-
id: "
|
|
274
|
+
id: "vlifuwbwm1riwzq89_a"
|
|
274
275
|
}, /*#__PURE__*/React.createElement("path", {
|
|
275
276
|
fill: "#fff",
|
|
276
277
|
transform: "translate(.552)",
|
|
277
278
|
d: "M0 0h230.897v180H0z"
|
|
278
279
|
})))));
|
|
279
280
|
};
|
|
280
|
-
var ForwardRef$
|
|
281
|
-
|
|
282
|
-
var _path$I;
|
|
283
|
-
function _extends$I() { return _extends$I = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$I.apply(null, arguments); }
|
|
284
|
-
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
285
|
-
return /*#__PURE__*/React.createElement("svg", _extends$I({
|
|
286
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
287
|
-
width: 24,
|
|
288
|
-
height: 24,
|
|
289
|
-
viewBox: "0 0 24 24",
|
|
290
|
-
ref: ref
|
|
291
|
-
}, props), _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
292
|
-
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
293
|
-
})));
|
|
294
|
-
};
|
|
295
|
-
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgTableSortAscOutline);
|
|
281
|
+
var ForwardRef$I = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
296
282
|
|
|
297
283
|
var _path$H;
|
|
298
284
|
function _extends$H() { return _extends$H = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$H.apply(null, arguments); }
|
|
299
|
-
var
|
|
285
|
+
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
300
286
|
return /*#__PURE__*/React.createElement("svg", _extends$H({
|
|
301
287
|
xmlns: "http://www.w3.org/2000/svg",
|
|
302
288
|
width: 24,
|
|
@@ -304,14 +290,14 @@ var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
|
304
290
|
viewBox: "0 0 24 24",
|
|
305
291
|
ref: ref
|
|
306
292
|
}, props), _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
|
|
307
|
-
d: "
|
|
293
|
+
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
308
294
|
})));
|
|
309
295
|
};
|
|
310
|
-
var ForwardRef$H = /*#__PURE__*/forwardRef(
|
|
296
|
+
var ForwardRef$H = /*#__PURE__*/forwardRef(SvgTableSortAscOutline);
|
|
311
297
|
|
|
312
298
|
var _path$G;
|
|
313
299
|
function _extends$G() { return _extends$G = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$G.apply(null, arguments); }
|
|
314
|
-
var
|
|
300
|
+
var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
315
301
|
return /*#__PURE__*/React.createElement("svg", _extends$G({
|
|
316
302
|
xmlns: "http://www.w3.org/2000/svg",
|
|
317
303
|
width: 24,
|
|
@@ -319,14 +305,14 @@ var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props
|
|
|
319
305
|
viewBox: "0 0 24 24",
|
|
320
306
|
ref: ref
|
|
321
307
|
}, props), _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
322
|
-
d: "
|
|
308
|
+
d: "M13 3v14.175l1.6-1.575L16 17l-4 4-4-4 1.4-1.4 1.6 1.575V3h2z"
|
|
323
309
|
})));
|
|
324
310
|
};
|
|
325
|
-
var ForwardRef$G = /*#__PURE__*/forwardRef(
|
|
311
|
+
var ForwardRef$G = /*#__PURE__*/forwardRef(SvgTableSortDescOutline);
|
|
326
312
|
|
|
327
313
|
var _path$F;
|
|
328
314
|
function _extends$F() { return _extends$F = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$F.apply(null, arguments); }
|
|
329
|
-
var
|
|
315
|
+
var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props, ref) {
|
|
330
316
|
return /*#__PURE__*/React.createElement("svg", _extends$F({
|
|
331
317
|
xmlns: "http://www.w3.org/2000/svg",
|
|
332
318
|
width: 24,
|
|
@@ -334,16 +320,14 @@ var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props,
|
|
|
334
320
|
viewBox: "0 0 24 24",
|
|
335
321
|
ref: ref
|
|
336
322
|
}, props), _path$F || (_path$F = /*#__PURE__*/React.createElement("path", {
|
|
337
|
-
|
|
338
|
-
d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
|
|
339
|
-
clipRule: "evenodd"
|
|
323
|
+
d: "M9 20c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 7 18c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 9 16c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.021-.587 1.413A1.928 1.928 0 0 1 9 20zm6 0c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 13 18c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 15 16c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.021-.587 1.413A1.928 1.928 0 0 1 15 20zm-6-6c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 7 12c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 9 10c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.02-.587 1.412A1.927 1.927 0 0 1 9 14zm6 0c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 13 12c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 15 10c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413s-.196 1.02-.587 1.412A1.927 1.927 0 0 1 15 14zM9 8c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 7 6c0-.55.196-1.02.588-1.412A1.923 1.923 0 0 1 9 4c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412 0 .55-.196 1.02-.587 1.412A1.927 1.927 0 0 1 9 8zm6 0c-.55 0-1.02-.196-1.412-.588A1.923 1.923 0 0 1 13 6c0-.55.196-1.02.588-1.412A1.923 1.923 0 0 1 15 4c.55 0 1.021.196 1.413.588.391.391.587.862.587 1.412 0 .55-.196 1.02-.587 1.412A1.927 1.927 0 0 1 15 8z"
|
|
340
324
|
})));
|
|
341
325
|
};
|
|
342
|
-
var ForwardRef$F = /*#__PURE__*/forwardRef(
|
|
326
|
+
var ForwardRef$F = /*#__PURE__*/forwardRef(SvgActionDragIndicatorOutline);
|
|
343
327
|
|
|
344
328
|
var _path$E;
|
|
345
329
|
function _extends$E() { return _extends$E = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$E.apply(null, arguments); }
|
|
346
|
-
var
|
|
330
|
+
var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props, ref) {
|
|
347
331
|
return /*#__PURE__*/React.createElement("svg", _extends$E({
|
|
348
332
|
xmlns: "http://www.w3.org/2000/svg",
|
|
349
333
|
width: 24,
|
|
@@ -351,14 +335,16 @@ var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, re
|
|
|
351
335
|
viewBox: "0 0 24 24",
|
|
352
336
|
ref: ref
|
|
353
337
|
}, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
|
|
354
|
-
|
|
338
|
+
fillRule: "evenodd",
|
|
339
|
+
d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
|
|
340
|
+
clipRule: "evenodd"
|
|
355
341
|
})));
|
|
356
342
|
};
|
|
357
|
-
var ForwardRef$E = /*#__PURE__*/forwardRef(
|
|
343
|
+
var ForwardRef$E = /*#__PURE__*/forwardRef(SvgNavigationMoreVertOutline);
|
|
358
344
|
|
|
359
345
|
var _path$D;
|
|
360
346
|
function _extends$D() { return _extends$D = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$D.apply(null, arguments); }
|
|
361
|
-
var
|
|
347
|
+
var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, ref) {
|
|
362
348
|
return /*#__PURE__*/React.createElement("svg", _extends$D({
|
|
363
349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
364
350
|
width: 24,
|
|
@@ -366,16 +352,14 @@ var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
|
366
352
|
viewBox: "0 0 24 24",
|
|
367
353
|
ref: ref
|
|
368
354
|
}, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
|
|
369
|
-
|
|
370
|
-
d: "M12 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM7 9V7a5 5 0 0 1 10 0v2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V11a2 2 0 0 1 2-2h1zm2 0h6V7a3 3 0 1 0-6 0v2z",
|
|
371
|
-
clipRule: "evenodd"
|
|
355
|
+
d: "M12 20c-2.233 0-4.125-.775-5.675-2.325C4.775 16.125 4 14.233 4 12c0-2.233.775-4.125 2.325-5.675C7.875 4.775 9.767 4 12 4c1.15 0 2.25.238 3.3.713A7.617 7.617 0 0 1 18 6.75V4h2v7h-7V9h4.2a5.837 5.837 0 0 0-2.187-2.2A5.93 5.93 0 0 0 12 6c-1.667 0-3.083.583-4.25 1.75C6.583 8.917 6 10.333 6 12c0 1.667.583 3.083 1.75 4.25C8.917 17.417 10.333 18 12 18a5.863 5.863 0 0 0 3.475-1.1A5.81 5.81 0 0 0 17.65 14h2.1c-.467 1.767-1.417 3.208-2.85 4.325S13.833 20 12 20z"
|
|
372
356
|
})));
|
|
373
357
|
};
|
|
374
|
-
var ForwardRef$D = /*#__PURE__*/forwardRef(
|
|
358
|
+
var ForwardRef$D = /*#__PURE__*/forwardRef(SvgNavigationRefreshOutline);
|
|
375
359
|
|
|
376
|
-
var _path$C
|
|
360
|
+
var _path$C;
|
|
377
361
|
function _extends$C() { return _extends$C = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$C.apply(null, arguments); }
|
|
378
|
-
var
|
|
362
|
+
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
379
363
|
return /*#__PURE__*/React.createElement("svg", _extends$C({
|
|
380
364
|
xmlns: "http://www.w3.org/2000/svg",
|
|
381
365
|
width: 24,
|
|
@@ -383,18 +367,16 @@ var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, re
|
|
|
383
367
|
viewBox: "0 0 24 24",
|
|
384
368
|
ref: ref
|
|
385
369
|
}, props), _path$C || (_path$C = /*#__PURE__*/React.createElement("path", {
|
|
386
|
-
d: "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z"
|
|
387
|
-
})), _path2$4 || (_path2$4 = /*#__PURE__*/React.createElement("path", {
|
|
388
370
|
fillRule: "evenodd",
|
|
389
|
-
d: "
|
|
371
|
+
d: "M12 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM7 9V7a5 5 0 0 1 10 0v2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V11a2 2 0 0 1 2-2h1zm2 0h6V7a3 3 0 1 0-6 0v2z",
|
|
390
372
|
clipRule: "evenodd"
|
|
391
373
|
})));
|
|
392
374
|
};
|
|
393
|
-
var ForwardRef$C = /*#__PURE__*/forwardRef(
|
|
375
|
+
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgActionLockFill);
|
|
394
376
|
|
|
395
|
-
var _path$B, _path2$
|
|
377
|
+
var _path$B, _path2$4;
|
|
396
378
|
function _extends$B() { return _extends$B = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$B.apply(null, arguments); }
|
|
397
|
-
var
|
|
379
|
+
var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, ref) {
|
|
398
380
|
return /*#__PURE__*/React.createElement("svg", _extends$B({
|
|
399
381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
400
382
|
width: 24,
|
|
@@ -402,18 +384,18 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
402
384
|
viewBox: "0 0 24 24",
|
|
403
385
|
ref: ref
|
|
404
386
|
}, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
|
|
405
|
-
d: "
|
|
406
|
-
})), _path2$
|
|
387
|
+
d: "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z"
|
|
388
|
+
})), _path2$4 || (_path2$4 = /*#__PURE__*/React.createElement("path", {
|
|
407
389
|
fillRule: "evenodd",
|
|
408
|
-
d: "
|
|
390
|
+
d: "M13 21V3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6zm2-16h4v14h-4V5z",
|
|
409
391
|
clipRule: "evenodd"
|
|
410
392
|
})));
|
|
411
393
|
};
|
|
412
|
-
var ForwardRef$B = /*#__PURE__*/forwardRef(
|
|
394
|
+
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgTableGroupColumnLeftFill);
|
|
413
395
|
|
|
414
|
-
var _path$A;
|
|
396
|
+
var _path$A, _path2$3;
|
|
415
397
|
function _extends$A() { return _extends$A = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$A.apply(null, arguments); }
|
|
416
|
-
var
|
|
398
|
+
var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props, ref) {
|
|
417
399
|
return /*#__PURE__*/React.createElement("svg", _extends$A({
|
|
418
400
|
xmlns: "http://www.w3.org/2000/svg",
|
|
419
401
|
width: 24,
|
|
@@ -421,14 +403,18 @@ var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
|
421
403
|
viewBox: "0 0 24 24",
|
|
422
404
|
ref: ref
|
|
423
405
|
}, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
424
|
-
d: "
|
|
406
|
+
d: "M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6V3z"
|
|
407
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React.createElement("path", {
|
|
408
|
+
fillRule: "evenodd",
|
|
409
|
+
d: "M9 5H5v14h4V5zM5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z",
|
|
410
|
+
clipRule: "evenodd"
|
|
425
411
|
})));
|
|
426
412
|
};
|
|
427
|
-
var ForwardRef$A = /*#__PURE__*/forwardRef(
|
|
413
|
+
var ForwardRef$A = /*#__PURE__*/forwardRef(SvgTableGroupColumnRightFill);
|
|
428
414
|
|
|
429
415
|
var _path$z;
|
|
430
416
|
function _extends$z() { return _extends$z = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$z.apply(null, arguments); }
|
|
431
|
-
var
|
|
417
|
+
var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
432
418
|
return /*#__PURE__*/React.createElement("svg", _extends$z({
|
|
433
419
|
xmlns: "http://www.w3.org/2000/svg",
|
|
434
420
|
width: 24,
|
|
@@ -436,14 +422,14 @@ var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
|
436
422
|
viewBox: "0 0 24 24",
|
|
437
423
|
ref: ref
|
|
438
424
|
}, props), _path$z || (_path$z = /*#__PURE__*/React.createElement("path", {
|
|
439
|
-
d: "
|
|
425
|
+
d: "M7 6.825V20h2V6.825L10.6 8.4 12 7 8 3 4 7l1.4 1.4L7 6.825zm10 10.35V4h-2v13.175L13.4 15.6 12 17l4 4 4-4-1.4-1.4-1.6 1.575z"
|
|
440
426
|
})));
|
|
441
427
|
};
|
|
442
|
-
var ForwardRef$z = /*#__PURE__*/forwardRef(
|
|
428
|
+
var ForwardRef$z = /*#__PURE__*/forwardRef(SvgTableSwapOutline);
|
|
443
429
|
|
|
444
430
|
var _path$y;
|
|
445
431
|
function _extends$y() { return _extends$y = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$y.apply(null, arguments); }
|
|
446
|
-
var
|
|
432
|
+
var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
447
433
|
return /*#__PURE__*/React.createElement("svg", _extends$y({
|
|
448
434
|
xmlns: "http://www.w3.org/2000/svg",
|
|
449
435
|
width: 24,
|
|
@@ -451,14 +437,14 @@ var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props
|
|
|
451
437
|
viewBox: "0 0 24 24",
|
|
452
438
|
ref: ref
|
|
453
439
|
}, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
|
|
454
|
-
d: "
|
|
440
|
+
d: "M14 13v8l-4-2v-6L2.95 4h18.1L14 13z"
|
|
455
441
|
})));
|
|
456
442
|
};
|
|
457
|
-
var ForwardRef$y = /*#__PURE__*/forwardRef(
|
|
443
|
+
var ForwardRef$y = /*#__PURE__*/forwardRef(SvgContentFiltrationFill);
|
|
458
444
|
|
|
459
445
|
var _path$x;
|
|
460
446
|
function _extends$x() { return _extends$x = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$x.apply(null, arguments); }
|
|
461
|
-
var
|
|
447
|
+
var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props, ref) {
|
|
462
448
|
return /*#__PURE__*/React.createElement("svg", _extends$x({
|
|
463
449
|
xmlns: "http://www.w3.org/2000/svg",
|
|
464
450
|
width: 24,
|
|
@@ -466,14 +452,14 @@ var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(p
|
|
|
466
452
|
viewBox: "0 0 24 24",
|
|
467
453
|
ref: ref
|
|
468
454
|
}, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
|
|
469
|
-
d: "
|
|
455
|
+
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
470
456
|
})));
|
|
471
457
|
};
|
|
472
|
-
var ForwardRef$x = /*#__PURE__*/forwardRef(
|
|
458
|
+
var ForwardRef$x = /*#__PURE__*/forwardRef(SvgNavigationChevronUpOutline);
|
|
473
459
|
|
|
474
460
|
var _path$w;
|
|
475
461
|
function _extends$w() { return _extends$w = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$w.apply(null, arguments); }
|
|
476
|
-
var
|
|
462
|
+
var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(props, ref) {
|
|
477
463
|
return /*#__PURE__*/React.createElement("svg", _extends$w({
|
|
478
464
|
xmlns: "http://www.w3.org/2000/svg",
|
|
479
465
|
width: 24,
|
|
@@ -481,14 +467,14 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
481
467
|
viewBox: "0 0 24 24",
|
|
482
468
|
ref: ref
|
|
483
469
|
}, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
484
|
-
d: "
|
|
470
|
+
d: "M16.5 4.414 15.086 3 12 6.086 8.914 3 7.5 4.414l4.5 4.5 4.5-4.5zM9 13v-2h6v2H9zm6.086 8 1.414-1.414-4.5-4.5-4.5 4.5L8.914 21 12 17.914 15.086 21z"
|
|
485
471
|
})));
|
|
486
472
|
};
|
|
487
|
-
var ForwardRef$w = /*#__PURE__*/forwardRef(
|
|
473
|
+
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgNavigationCollapseAllOutline);
|
|
488
474
|
|
|
489
475
|
var _path$v;
|
|
490
476
|
function _extends$v() { return _extends$v = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$v.apply(null, arguments); }
|
|
491
|
-
var
|
|
477
|
+
var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props, ref) {
|
|
492
478
|
return /*#__PURE__*/React.createElement("svg", _extends$v({
|
|
493
479
|
xmlns: "http://www.w3.org/2000/svg",
|
|
494
480
|
width: 24,
|
|
@@ -496,14 +482,14 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
496
482
|
viewBox: "0 0 24 24",
|
|
497
483
|
ref: ref
|
|
498
484
|
}, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
499
|
-
d: "
|
|
485
|
+
d: "m16.5 7.5-1.414 1.414L12 5.828 8.914 8.914 7.5 7.5 12 3l4.5 4.5zM9 13v-2h6v2H9zm6.086 2.086L16.5 16.5 12 21l-4.5-4.5 1.414-1.414L12 18.17l3.086-3.085z"
|
|
500
486
|
})));
|
|
501
487
|
};
|
|
502
|
-
var ForwardRef$v = /*#__PURE__*/forwardRef(
|
|
488
|
+
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgNavigationExpandAllOutline);
|
|
503
489
|
|
|
504
490
|
var _path$u;
|
|
505
491
|
function _extends$u() { return _extends$u = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$u.apply(null, arguments); }
|
|
506
|
-
var
|
|
492
|
+
var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
507
493
|
return /*#__PURE__*/React.createElement("svg", _extends$u({
|
|
508
494
|
xmlns: "http://www.w3.org/2000/svg",
|
|
509
495
|
width: 24,
|
|
@@ -511,14 +497,14 @@ var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(p
|
|
|
511
497
|
viewBox: "0 0 24 24",
|
|
512
498
|
ref: ref
|
|
513
499
|
}, props), _path$u || (_path$u = /*#__PURE__*/React.createElement("path", {
|
|
514
|
-
d: "
|
|
500
|
+
d: "m9.25 22-.4-3.2a3.771 3.771 0 0 1-.612-.3 8.194 8.194 0 0 1-.563-.375L4.7 19.375l-2.75-4.75 2.575-1.95a2.39 2.39 0 0 1-.025-.338v-.675c0-.108.009-.22.025-.337L1.95 9.375l2.75-4.75 2.975 1.25c.184-.133.375-.258.575-.375.2-.117.4-.217.6-.3l.4-3.2h5.5l.4 3.2c.217.083.421.183.613.3.191.117.379.242.562.375l2.975-1.25 2.75 4.75-2.575 1.95c.017.117.025.229.025.337v.675c0 .109-.017.221-.05.338l2.575 1.95-2.75 4.75-2.95-1.25a6.826 6.826 0 0 1-.575.375c-.2.117-.4.217-.6.3l-.4 3.2h-5.5zm2.8-6.5c.967 0 1.792-.342 2.475-1.025A3.372 3.372 0 0 0 15.55 12c0-.967-.341-1.792-1.025-2.475A3.372 3.372 0 0 0 12.05 8.5c-.983 0-1.813.342-2.488 1.025A3.394 3.394 0 0 0 8.55 12c0 .967.338 1.792 1.012 2.475.676.683 1.505 1.025 2.488 1.025z"
|
|
515
501
|
})));
|
|
516
502
|
};
|
|
517
|
-
var ForwardRef$u = /*#__PURE__*/forwardRef(
|
|
503
|
+
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgActionSettingsFill);
|
|
518
504
|
|
|
519
505
|
var _path$t;
|
|
520
506
|
function _extends$t() { return _extends$t = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$t.apply(null, arguments); }
|
|
521
|
-
var
|
|
507
|
+
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
522
508
|
return /*#__PURE__*/React.createElement("svg", _extends$t({
|
|
523
509
|
xmlns: "http://www.w3.org/2000/svg",
|
|
524
510
|
width: 24,
|
|
@@ -526,14 +512,14 @@ var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline
|
|
|
526
512
|
viewBox: "0 0 24 24",
|
|
527
513
|
ref: ref
|
|
528
514
|
}, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
|
|
529
|
-
d: "
|
|
515
|
+
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
530
516
|
})));
|
|
531
517
|
};
|
|
532
|
-
var ForwardRef$t = /*#__PURE__*/forwardRef(
|
|
518
|
+
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgNavigationChevronLeftOutline);
|
|
533
519
|
|
|
534
520
|
var _path$s;
|
|
535
521
|
function _extends$s() { return _extends$s = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$s.apply(null, arguments); }
|
|
536
|
-
var
|
|
522
|
+
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
537
523
|
return /*#__PURE__*/React.createElement("svg", _extends$s({
|
|
538
524
|
xmlns: "http://www.w3.org/2000/svg",
|
|
539
525
|
width: 24,
|
|
@@ -541,14 +527,14 @@ var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
|
541
527
|
viewBox: "0 0 24 24",
|
|
542
528
|
ref: ref
|
|
543
529
|
}, props), _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
544
|
-
d: "
|
|
530
|
+
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
545
531
|
})));
|
|
546
532
|
};
|
|
547
|
-
var ForwardRef$s = /*#__PURE__*/forwardRef(
|
|
533
|
+
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgNavigationChevronRightOutline);
|
|
548
534
|
|
|
549
535
|
var _path$r;
|
|
550
536
|
function _extends$r() { return _extends$r = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$r.apply(null, arguments); }
|
|
551
|
-
var
|
|
537
|
+
var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
552
538
|
return /*#__PURE__*/React.createElement("svg", _extends$r({
|
|
553
539
|
xmlns: "http://www.w3.org/2000/svg",
|
|
554
540
|
width: 24,
|
|
@@ -556,14 +542,14 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
556
542
|
viewBox: "0 0 24 24",
|
|
557
543
|
ref: ref
|
|
558
544
|
}, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
559
|
-
d: "
|
|
545
|
+
d: "M13.286 3h-2.572v7.714H3v2.572h7.714V21h2.572v-7.714H21v-2.572h-7.714V3z"
|
|
560
546
|
})));
|
|
561
547
|
};
|
|
562
|
-
var ForwardRef$r = /*#__PURE__*/forwardRef(
|
|
548
|
+
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgActionAddOutline);
|
|
563
549
|
|
|
564
550
|
var _path$q;
|
|
565
551
|
function _extends$q() { return _extends$q = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$q.apply(null, arguments); }
|
|
566
|
-
var
|
|
552
|
+
var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
567
553
|
return /*#__PURE__*/React.createElement("svg", _extends$q({
|
|
568
554
|
xmlns: "http://www.w3.org/2000/svg",
|
|
569
555
|
width: 24,
|
|
@@ -571,14 +557,14 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
571
557
|
viewBox: "0 0 24 24",
|
|
572
558
|
ref: ref
|
|
573
559
|
}, props), _path$q || (_path$q = /*#__PURE__*/React.createElement("path", {
|
|
574
|
-
d: "
|
|
560
|
+
d: "m2 12 3.077-3.2 4.615 4.8L18.923 4 22 7.2 9.692 20 2 12z"
|
|
575
561
|
})));
|
|
576
562
|
};
|
|
577
|
-
var ForwardRef$q = /*#__PURE__*/forwardRef(
|
|
563
|
+
var ForwardRef$q = /*#__PURE__*/forwardRef(SvgNotificationDoneFill);
|
|
578
564
|
|
|
579
565
|
var _path$p;
|
|
580
566
|
function _extends$p() { return _extends$p = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$p.apply(null, arguments); }
|
|
581
|
-
var
|
|
567
|
+
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
582
568
|
return /*#__PURE__*/React.createElement("svg", _extends$p({
|
|
583
569
|
xmlns: "http://www.w3.org/2000/svg",
|
|
584
570
|
width: 24,
|
|
@@ -586,14 +572,14 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
586
572
|
viewBox: "0 0 24 24",
|
|
587
573
|
ref: ref
|
|
588
574
|
}, props), _path$p || (_path$p = /*#__PURE__*/React.createElement("path", {
|
|
589
|
-
d: "
|
|
575
|
+
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
590
576
|
})));
|
|
591
577
|
};
|
|
592
|
-
var ForwardRef$p = /*#__PURE__*/forwardRef(
|
|
578
|
+
var ForwardRef$p = /*#__PURE__*/forwardRef(SvgRadioDotFill);
|
|
593
579
|
|
|
594
580
|
var _path$o;
|
|
595
581
|
function _extends$o() { return _extends$o = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$o.apply(null, arguments); }
|
|
596
|
-
var
|
|
582
|
+
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
597
583
|
return /*#__PURE__*/React.createElement("svg", _extends$o({
|
|
598
584
|
xmlns: "http://www.w3.org/2000/svg",
|
|
599
585
|
width: 24,
|
|
@@ -601,14 +587,14 @@ var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
|
601
587
|
viewBox: "0 0 24 24",
|
|
602
588
|
ref: ref
|
|
603
589
|
}, props), _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
604
|
-
d: "
|
|
590
|
+
d: "M11.95 18c.35 0 .646-.121.888-.363.241-.241.362-.537.362-.887s-.12-.646-.362-.887a1.208 1.208 0 0 0-.888-.363c-.35 0-.646.121-.888.363a1.206 1.206 0 0 0-.362.887c0 .35.12.646.362.887.242.242.538.363.888.363zm-.9-3.85h1.85c0-.55.063-.983.188-1.3.125-.317.479-.75 1.062-1.3a7.483 7.483 0 0 0 1.025-1.238c.25-.391.375-.862.375-1.412 0-.933-.342-1.65-1.025-2.15-.683-.5-1.492-.75-2.425-.75-.95 0-1.72.25-2.312.75-.592.5-1.005 1.1-1.238 1.8l1.65.65c.083-.3.271-.625.563-.975.291-.35.737-.525 1.337-.525.533 0 .933.146 1.2.437.267.292.4.613.4.963 0 .333-.1.646-.3.937-.2.292-.45.563-.75.813-.733.65-1.183 1.142-1.35 1.475-.167.333-.25.942-.25 1.825zM12 22a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
605
591
|
})));
|
|
606
592
|
};
|
|
607
|
-
var ForwardRef$o = /*#__PURE__*/forwardRef(
|
|
593
|
+
var ForwardRef$o = /*#__PURE__*/forwardRef(SvgNotificationHelpFill);
|
|
608
594
|
|
|
609
595
|
var _path$n;
|
|
610
596
|
function _extends$n() { return _extends$n = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$n.apply(null, arguments); }
|
|
611
|
-
var
|
|
597
|
+
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
612
598
|
return /*#__PURE__*/React.createElement("svg", _extends$n({
|
|
613
599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
614
600
|
width: 24,
|
|
@@ -616,14 +602,14 @@ var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref)
|
|
|
616
602
|
viewBox: "0 0 24 24",
|
|
617
603
|
ref: ref
|
|
618
604
|
}, props), _path$n || (_path$n = /*#__PURE__*/React.createElement("path", {
|
|
619
|
-
d: "
|
|
605
|
+
d: "m10.6 16.6 7.05-7.05-1.4-1.4-5.65 5.65-2.85-2.85-1.4 1.4 4.25 4.25zM12 22a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
620
606
|
})));
|
|
621
607
|
};
|
|
622
|
-
var ForwardRef$n = /*#__PURE__*/forwardRef(
|
|
608
|
+
var ForwardRef$n = /*#__PURE__*/forwardRef(SvgNotificationCheckFill);
|
|
623
609
|
|
|
624
610
|
var _path$m;
|
|
625
611
|
function _extends$m() { return _extends$m = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$m.apply(null, arguments); }
|
|
626
|
-
var
|
|
612
|
+
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
627
613
|
return /*#__PURE__*/React.createElement("svg", _extends$m({
|
|
628
614
|
xmlns: "http://www.w3.org/2000/svg",
|
|
629
615
|
width: 24,
|
|
@@ -631,14 +617,14 @@ var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
|
631
617
|
viewBox: "0 0 24 24",
|
|
632
618
|
ref: ref
|
|
633
619
|
}, props), _path$m || (_path$m = /*#__PURE__*/React.createElement("path", {
|
|
634
|
-
d: "
|
|
620
|
+
d: "M1 21 12 2l11 19H1zm11-3a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 17a.967.967 0 0 0-.287-.712A.968.968 0 0 0 12 16a.965.965 0 0 0-.712.288A.965.965 0 0 0 11 17c0 .283.096.52.288.712A.965.965 0 0 0 12 18zm-1-3h2v-5h-2v5z"
|
|
635
621
|
})));
|
|
636
622
|
};
|
|
637
|
-
var ForwardRef$m = /*#__PURE__*/forwardRef(
|
|
623
|
+
var ForwardRef$m = /*#__PURE__*/forwardRef(SvgNotificationWarningFill);
|
|
638
624
|
|
|
639
625
|
var _path$l;
|
|
640
626
|
function _extends$l() { return _extends$l = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$l.apply(null, arguments); }
|
|
641
|
-
var
|
|
627
|
+
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
642
628
|
return /*#__PURE__*/React.createElement("svg", _extends$l({
|
|
643
629
|
xmlns: "http://www.w3.org/2000/svg",
|
|
644
630
|
width: 24,
|
|
@@ -646,16 +632,14 @@ var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
|
646
632
|
viewBox: "0 0 24 24",
|
|
647
633
|
ref: ref
|
|
648
634
|
}, props), _path$l || (_path$l = /*#__PURE__*/React.createElement("path", {
|
|
649
|
-
|
|
650
|
-
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",
|
|
651
|
-
clipRule: "evenodd"
|
|
635
|
+
d: "M12 17a.968.968 0 0 0 .713-.288A.967.967 0 0 0 13 16a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 15a.967.967 0 0 0-.712.287A.968.968 0 0 0 11 16c0 .283.096.52.288.712A.965.965 0 0 0 12 17zm-1-4h2V7h-2v6zm1 9a9.733 9.733 0 0 1-3.9-.788 10.092 10.092 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.733 9.733 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.092 10.092 0 0 1 2.137-3.175c.9-.9 1.958-1.613 3.175-2.138A9.743 9.743 0 0 1 12 2a9.74 9.74 0 0 1 3.9.787 10.105 10.105 0 0 1 3.175 2.138c.9.9 1.612 1.958 2.137 3.175A9.733 9.733 0 0 1 22 12a9.733 9.733 0 0 1-.788 3.9 10.092 10.092 0 0 1-2.137 3.175c-.9.9-1.958 1.612-3.175 2.137A9.733 9.733 0 0 1 12 22z"
|
|
652
636
|
})));
|
|
653
637
|
};
|
|
654
|
-
var ForwardRef$l = /*#__PURE__*/forwardRef(
|
|
638
|
+
var ForwardRef$l = /*#__PURE__*/forwardRef(SvgNotificationErrorFill);
|
|
655
639
|
|
|
656
640
|
var _path$k;
|
|
657
641
|
function _extends$k() { return _extends$k = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$k.apply(null, arguments); }
|
|
658
|
-
var
|
|
642
|
+
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
659
643
|
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
660
644
|
xmlns: "http://www.w3.org/2000/svg",
|
|
661
645
|
width: 24,
|
|
@@ -663,16 +647,14 @@ var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
|
663
647
|
viewBox: "0 0 24 24",
|
|
664
648
|
ref: ref
|
|
665
649
|
}, props), _path$k || (_path$k = /*#__PURE__*/React.createElement("path", {
|
|
666
|
-
|
|
667
|
-
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",
|
|
668
|
-
clipRule: "evenodd"
|
|
650
|
+
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
669
651
|
})));
|
|
670
652
|
};
|
|
671
|
-
var ForwardRef$k = /*#__PURE__*/forwardRef(
|
|
653
|
+
var ForwardRef$k = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
672
654
|
|
|
673
|
-
var _path$j;
|
|
655
|
+
var _path$j, _path2$2;
|
|
674
656
|
function _extends$j() { return _extends$j = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$j.apply(null, arguments); }
|
|
675
|
-
var
|
|
657
|
+
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
676
658
|
return /*#__PURE__*/React.createElement("svg", _extends$j({
|
|
677
659
|
xmlns: "http://www.w3.org/2000/svg",
|
|
678
660
|
width: 24,
|
|
@@ -680,16 +662,16 @@ var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
|
680
662
|
viewBox: "0 0 24 24",
|
|
681
663
|
ref: ref
|
|
682
664
|
}, props), _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
665
|
+
d: "M12 4.93A5 5 0 0 1 19.07 12l-1.06 1.06c.12-.85.022-1.725-.295-2.534a3 3 0 0 0-4.302-4.182l-2.828 2.828a3 3 0 0 0-.07 4.17l.07.073-1.415 1.414a5 5 0 0 1 0-7.071L12 4.929z"
|
|
666
|
+
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
667
|
+
d: "m4.93 12 .989-.99a5.018 5.018 0 0 0 .297 2.54 3 3 0 0 0 4.37 4.107l2.829-2.828a3 3 0 0 0-.828-4.83l1.464-1.463a5 5 0 0 1 .778 7.707L12 19.071a5 5 0 0 1-7.07-7.07z"
|
|
686
668
|
})));
|
|
687
669
|
};
|
|
688
|
-
var ForwardRef$j = /*#__PURE__*/forwardRef(
|
|
670
|
+
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
689
671
|
|
|
690
672
|
var _path$i;
|
|
691
673
|
function _extends$i() { return _extends$i = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$i.apply(null, arguments); }
|
|
692
|
-
var
|
|
674
|
+
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
693
675
|
return /*#__PURE__*/React.createElement("svg", _extends$i({
|
|
694
676
|
xmlns: "http://www.w3.org/2000/svg",
|
|
695
677
|
width: 24,
|
|
@@ -697,16 +679,14 @@ var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
|
697
679
|
viewBox: "0 0 24 24",
|
|
698
680
|
ref: ref
|
|
699
681
|
}, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
|
|
700
|
-
|
|
701
|
-
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",
|
|
702
|
-
clipRule: "evenodd"
|
|
682
|
+
d: "m19.3 8.925-4.25-4.2 1.4-1.4a1.92 1.92 0 0 1 1.413-.575 1.92 1.92 0 0 1 1.412.575l1.4 1.4c.383.383.583.846.6 1.388a1.806 1.806 0 0 1-.55 1.387L19.3 8.925zM17.85 10.4 7.25 21H3v-4.25l10.6-10.6 4.25 4.25z"
|
|
703
683
|
})));
|
|
704
684
|
};
|
|
705
|
-
var ForwardRef$i = /*#__PURE__*/forwardRef(
|
|
685
|
+
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgContentEditFill);
|
|
706
686
|
|
|
707
|
-
var _path$h
|
|
687
|
+
var _path$h;
|
|
708
688
|
function _extends$h() { return _extends$h = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$h.apply(null, arguments); }
|
|
709
|
-
var
|
|
689
|
+
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
710
690
|
return /*#__PURE__*/React.createElement("svg", _extends$h({
|
|
711
691
|
xmlns: "http://www.w3.org/2000/svg",
|
|
712
692
|
width: 24,
|
|
@@ -714,18 +694,16 @@ var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
|
714
694
|
viewBox: "0 0 24 24",
|
|
715
695
|
ref: ref
|
|
716
696
|
}, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
|
|
717
|
-
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
718
|
-
})), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
|
|
719
697
|
fillRule: "evenodd",
|
|
720
|
-
d: "
|
|
698
|
+
d: "M19 19H9V9h10M9 7a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H9zm5-4H5a2 2 0 0 0-2 2v9h2V5h9V3z",
|
|
721
699
|
clipRule: "evenodd"
|
|
722
700
|
})));
|
|
723
701
|
};
|
|
724
|
-
var ForwardRef$h = /*#__PURE__*/forwardRef(
|
|
702
|
+
var ForwardRef$h = /*#__PURE__*/forwardRef(SvgActionCopyContentOutline);
|
|
725
703
|
|
|
726
704
|
var _path$g;
|
|
727
705
|
function _extends$g() { return _extends$g = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$g.apply(null, arguments); }
|
|
728
|
-
var
|
|
706
|
+
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
729
707
|
return /*#__PURE__*/React.createElement("svg", _extends$g({
|
|
730
708
|
xmlns: "http://www.w3.org/2000/svg",
|
|
731
709
|
width: 24,
|
|
@@ -733,16 +711,14 @@ var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
|
733
711
|
viewBox: "0 0 24 24",
|
|
734
712
|
ref: ref
|
|
735
713
|
}, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
|
|
736
|
-
|
|
737
|
-
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",
|
|
738
|
-
clipRule: "evenodd"
|
|
714
|
+
d: "M22.5 15a8.71 8.71 0 0 0-.712-3.513 9.158 9.158 0 0 0-1.926-2.85 9.152 9.152 0 0 0-2.85-1.925A8.709 8.709 0 0 0 13.5 6a8.71 8.71 0 0 0-3.513.712 9.167 9.167 0 0 0-2.85 1.925 9.154 9.154 0 0 0-1.924 2.85A8.705 8.705 0 0 0 4.5 15v.15L2.95 13.6 1.5 15l4 4 4-4-1.45-1.4-1.55 1.55V15c0-1.95.679-3.604 2.037-4.962C9.896 8.679 11.55 8 13.5 8c1.95 0 3.604.68 4.962 2.038C19.821 11.396 20.5 13.05 20.5 15h2z"
|
|
739
715
|
})));
|
|
740
716
|
};
|
|
741
|
-
var ForwardRef$g = /*#__PURE__*/forwardRef(
|
|
717
|
+
var ForwardRef$g = /*#__PURE__*/forwardRef(SvgContentEditUndoOutline);
|
|
742
718
|
|
|
743
719
|
var _path$f;
|
|
744
720
|
function _extends$f() { return _extends$f = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$f.apply(null, arguments); }
|
|
745
|
-
var
|
|
721
|
+
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
746
722
|
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
|
747
723
|
xmlns: "http://www.w3.org/2000/svg",
|
|
748
724
|
width: 24,
|
|
@@ -750,16 +726,14 @@ var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
|
750
726
|
viewBox: "0 0 24 24",
|
|
751
727
|
ref: ref
|
|
752
728
|
}, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
|
|
753
|
-
|
|
754
|
-
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",
|
|
755
|
-
clipRule: "evenodd"
|
|
729
|
+
d: "M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6V6z"
|
|
756
730
|
})));
|
|
757
731
|
};
|
|
758
|
-
var ForwardRef$f = /*#__PURE__*/forwardRef(
|
|
732
|
+
var ForwardRef$f = /*#__PURE__*/forwardRef(SvgActionSaveOutline);
|
|
759
733
|
|
|
760
734
|
var _path$e;
|
|
761
735
|
function _extends$e() { return _extends$e = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$e.apply(null, arguments); }
|
|
762
|
-
var
|
|
736
|
+
var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
763
737
|
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
|
764
738
|
xmlns: "http://www.w3.org/2000/svg",
|
|
765
739
|
width: 24,
|
|
@@ -768,15 +742,15 @@ var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
|
768
742
|
ref: ref
|
|
769
743
|
}, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
|
|
770
744
|
fillRule: "evenodd",
|
|
771
|
-
d: "
|
|
745
|
+
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",
|
|
772
746
|
clipRule: "evenodd"
|
|
773
747
|
})));
|
|
774
748
|
};
|
|
775
|
-
var ForwardRef$e = /*#__PURE__*/forwardRef(
|
|
749
|
+
var ForwardRef$e = /*#__PURE__*/forwardRef(SvgFileFileWordFill);
|
|
776
750
|
|
|
777
751
|
var _path$d;
|
|
778
752
|
function _extends$d() { return _extends$d = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$d.apply(null, arguments); }
|
|
779
|
-
var
|
|
753
|
+
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
780
754
|
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
|
781
755
|
xmlns: "http://www.w3.org/2000/svg",
|
|
782
756
|
width: 24,
|
|
@@ -784,57 +758,178 @@ var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
|
784
758
|
viewBox: "0 0 24 24",
|
|
785
759
|
ref: ref
|
|
786
760
|
}, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
|
|
787
|
-
|
|
761
|
+
fillRule: "evenodd",
|
|
762
|
+
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",
|
|
763
|
+
clipRule: "evenodd"
|
|
788
764
|
})));
|
|
789
765
|
};
|
|
790
|
-
var ForwardRef$d = /*#__PURE__*/forwardRef(
|
|
766
|
+
var ForwardRef$d = /*#__PURE__*/forwardRef(SvgFileFileExcelFill);
|
|
791
767
|
|
|
792
768
|
var _path$c;
|
|
793
769
|
function _extends$c() { return _extends$c = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$c.apply(null, arguments); }
|
|
794
|
-
var
|
|
770
|
+
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
795
771
|
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
|
772
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
796
773
|
width: 24,
|
|
797
774
|
height: 24,
|
|
798
775
|
viewBox: "0 0 24 24",
|
|
799
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
800
776
|
ref: ref
|
|
801
777
|
}, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
|
|
802
778
|
fillRule: "evenodd",
|
|
803
|
-
d: "
|
|
779
|
+
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",
|
|
780
|
+
clipRule: "evenodd"
|
|
804
781
|
})));
|
|
805
782
|
};
|
|
806
|
-
var ForwardRef$c = /*#__PURE__*/forwardRef(
|
|
783
|
+
var ForwardRef$c = /*#__PURE__*/forwardRef(SvgFileFilePdfFill);
|
|
807
784
|
|
|
808
|
-
var _path$b
|
|
785
|
+
var _path$b;
|
|
809
786
|
function _extends$b() { return _extends$b = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$b.apply(null, arguments); }
|
|
810
|
-
var
|
|
787
|
+
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
811
788
|
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
|
812
|
-
width: 66,
|
|
813
|
-
height: 67,
|
|
814
|
-
viewBox: "0 0 66 67",
|
|
815
|
-
fill: "none",
|
|
816
789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
790
|
+
width: 24,
|
|
791
|
+
height: 24,
|
|
792
|
+
viewBox: "0 0 24 24",
|
|
817
793
|
ref: ref
|
|
818
794
|
}, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
|
|
819
|
-
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",
|
|
820
|
-
fill: "#EBEDF5"
|
|
821
|
-
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
822
795
|
fillRule: "evenodd",
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
fill: "#6C6F80"
|
|
796
|
+
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",
|
|
797
|
+
clipRule: "evenodd"
|
|
826
798
|
})));
|
|
827
799
|
};
|
|
828
|
-
var ForwardRef$b = /*#__PURE__*/forwardRef(
|
|
829
|
-
|
|
830
|
-
var
|
|
831
|
-
|
|
832
|
-
function
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
800
|
+
var ForwardRef$b = /*#__PURE__*/forwardRef(SvgFileFileImageFill);
|
|
801
|
+
|
|
802
|
+
var _path$a, _path2$1;
|
|
803
|
+
function _extends$a() { return _extends$a = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$a.apply(null, arguments); }
|
|
804
|
+
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
805
|
+
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
806
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
807
|
+
width: 24,
|
|
808
|
+
height: 24,
|
|
809
|
+
viewBox: "0 0 24 24",
|
|
810
|
+
ref: ref
|
|
811
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
812
|
+
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
813
|
+
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
814
|
+
fillRule: "evenodd",
|
|
815
|
+
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",
|
|
816
|
+
clipRule: "evenodd"
|
|
817
|
+
})));
|
|
818
|
+
};
|
|
819
|
+
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgFileFileVideoFill);
|
|
820
|
+
|
|
821
|
+
var _path$9;
|
|
822
|
+
function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
|
|
823
|
+
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
824
|
+
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
825
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
826
|
+
width: 24,
|
|
827
|
+
height: 24,
|
|
828
|
+
viewBox: "0 0 24 24",
|
|
829
|
+
ref: ref
|
|
830
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
831
|
+
fillRule: "evenodd",
|
|
832
|
+
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",
|
|
833
|
+
clipRule: "evenodd"
|
|
834
|
+
})));
|
|
835
|
+
};
|
|
836
|
+
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgFileFileTableFill);
|
|
837
|
+
|
|
838
|
+
var _path$8;
|
|
839
|
+
function _extends$8() { return _extends$8 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$8.apply(null, arguments); }
|
|
840
|
+
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
841
|
+
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
842
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
843
|
+
width: 24,
|
|
844
|
+
height: 24,
|
|
845
|
+
viewBox: "0 0 24 24",
|
|
846
|
+
ref: ref
|
|
847
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
848
|
+
fillRule: "evenodd",
|
|
849
|
+
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",
|
|
850
|
+
clipRule: "evenodd"
|
|
851
|
+
})));
|
|
852
|
+
};
|
|
853
|
+
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgFileFileTextFill);
|
|
854
|
+
|
|
855
|
+
var _path$7;
|
|
856
|
+
function _extends$7() { return _extends$7 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$7.apply(null, arguments); }
|
|
857
|
+
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
858
|
+
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
859
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
860
|
+
width: 24,
|
|
861
|
+
height: 24,
|
|
862
|
+
viewBox: "0 0 24 24",
|
|
863
|
+
ref: ref
|
|
864
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
865
|
+
fillRule: "evenodd",
|
|
866
|
+
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",
|
|
867
|
+
clipRule: "evenodd"
|
|
868
|
+
})));
|
|
869
|
+
};
|
|
870
|
+
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgFileFileEmlFill);
|
|
871
|
+
|
|
872
|
+
var _path$6;
|
|
873
|
+
function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
|
|
874
|
+
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
875
|
+
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
876
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
877
|
+
width: 24,
|
|
878
|
+
height: 24,
|
|
879
|
+
viewBox: "0 0 24 24",
|
|
880
|
+
ref: ref
|
|
881
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
882
|
+
d: "M6 22c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 4 20V4c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 6 2h8l6 6v12a1.93 1.93 0 0 1-.587 1.413A1.928 1.928 0 0 1 18 22H6zm7-13h5l-5-5v5z"
|
|
883
|
+
})));
|
|
884
|
+
};
|
|
885
|
+
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgFileFileFill);
|
|
886
|
+
|
|
887
|
+
var _path$5;
|
|
888
|
+
function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
|
|
889
|
+
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
890
|
+
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
891
|
+
width: 24,
|
|
892
|
+
height: 24,
|
|
893
|
+
viewBox: "0 0 24 24",
|
|
894
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
895
|
+
ref: ref
|
|
896
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
897
|
+
fillRule: "evenodd",
|
|
898
|
+
d: "M8.917 8.268 12.01 2l3.093 6.268 6.917 1.005-5.005 4.878 1.182 6.889-6.187-3.252-6.186 3.252 1.181-6.889L2 9.273z"
|
|
899
|
+
})));
|
|
900
|
+
};
|
|
901
|
+
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgStarFilled);
|
|
902
|
+
|
|
903
|
+
var _path$4, _path2;
|
|
904
|
+
function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
|
|
905
|
+
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
906
|
+
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
907
|
+
width: 66,
|
|
908
|
+
height: 67,
|
|
909
|
+
viewBox: "0 0 66 67",
|
|
910
|
+
fill: "none",
|
|
911
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
912
|
+
ref: ref
|
|
913
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
914
|
+
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",
|
|
915
|
+
fill: "#EBEDF5"
|
|
916
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
917
|
+
fillRule: "evenodd",
|
|
918
|
+
clipRule: "evenodd",
|
|
919
|
+
d: "m42.31 40.335 7.165 7.165L47 49.975l-7.165-7.165a13.94 13.94 0 0 1-8.585 2.94c-7.732 0-14-6.268-14-14s6.268-14 14-14 14 6.268 14 14a13.94 13.94 0 0 1-2.94 8.585ZM31.25 42.25c5.799 0 10.5-4.701 10.5-10.5s-4.701-10.5-10.5-10.5-10.5 4.701-10.5 10.5 4.701 10.5 10.5 10.5Z",
|
|
920
|
+
fill: "#6C6F80"
|
|
921
|
+
})));
|
|
922
|
+
};
|
|
923
|
+
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
924
|
+
|
|
925
|
+
var css$1w = {"root":"SiDwij","uui-spinner":"t1XTB1","uuiSpinner":"t1XTB1"};
|
|
926
|
+
|
|
927
|
+
function applySpinnerMods() {
|
|
928
|
+
return [css$1w.root, 'uui-spinner'];
|
|
929
|
+
}
|
|
930
|
+
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
931
|
+
|
|
932
|
+
var css$1v = {"root":"lVWf5x","loading-word":"AEPYY8","loadingWord":"AEPYY8","animated-loading":"jLywOz","animatedLoading":"jLywOz","skeleton_loading":"-C5Kli","skeletonLoading":"-C5Kli"};
|
|
838
933
|
|
|
839
934
|
const TextPlaceholder = (props) => {
|
|
840
935
|
const pattern = ' ';
|
|
@@ -846,23 +941,50 @@ const TextPlaceholder = (props) => {
|
|
|
846
941
|
}
|
|
847
942
|
return words;
|
|
848
943
|
}, [props.wordsCount]);
|
|
849
|
-
return (React.createElement("div", { "aria-busy": true, className: cx(css$
|
|
850
|
-
props.cx, css$
|
|
944
|
+
return (React.createElement("div", { "aria-busy": true, className: cx(css$1v.root, 'uui-text-placeholder'), ...props.rawProps }, text.map((it, index) => (React.createElement("span", { key: index, className: cx([
|
|
945
|
+
props.cx, css$1v.loadingWord, !props.isNotAnimated && css$1v.animatedLoading,
|
|
851
946
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
852
947
|
};
|
|
853
948
|
|
|
949
|
+
var css$1u = {"root":"N3i5SS","line-height":"UQybtx","lineHeight":"UQybtx","font-size":"_6gz14O","fontSize":"_6gz14O"};
|
|
950
|
+
|
|
951
|
+
function applyTextMods(mods) {
|
|
952
|
+
return [
|
|
953
|
+
css$1u.root,
|
|
954
|
+
'uui-text',
|
|
955
|
+
`uui-size-${mods.size || settings.text.sizes.default}`,
|
|
956
|
+
(mods.size !== 'none' || mods.lineHeight) && css$1u.lineHeight,
|
|
957
|
+
(mods.size !== 'none' || mods.fontSize) && css$1u.fontSize,
|
|
958
|
+
`uui-color-${mods.color || 'primary'}`,
|
|
959
|
+
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
960
|
+
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
961
|
+
'uui-typography-inline',
|
|
962
|
+
];
|
|
963
|
+
}
|
|
964
|
+
const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props) => {
|
|
965
|
+
const style = props?.rawProps?.style || {};
|
|
966
|
+
props.fontSize && (style['--uui-text-font-size'] = `${props.fontSize}px`);
|
|
967
|
+
props.lineHeight && (style['--uui-text-line-height'] = `${props.lineHeight}px`);
|
|
968
|
+
return {
|
|
969
|
+
rawProps: {
|
|
970
|
+
...props?.rawProps,
|
|
971
|
+
style: style,
|
|
972
|
+
},
|
|
973
|
+
};
|
|
974
|
+
});
|
|
975
|
+
|
|
854
976
|
const accordionSettings = {
|
|
855
977
|
icons: {
|
|
856
|
-
dropdownIcon: ForwardRef$
|
|
978
|
+
dropdownIcon: ForwardRef$P,
|
|
857
979
|
},
|
|
858
980
|
};
|
|
859
981
|
const alertSettings = {
|
|
860
982
|
icons: {
|
|
861
|
-
closeIcon: ForwardRef$
|
|
862
|
-
infoIcon: ForwardRef$
|
|
863
|
-
successIcon: ForwardRef$
|
|
864
|
-
warningIcon: ForwardRef$
|
|
865
|
-
errorIcon: ForwardRef$
|
|
983
|
+
closeIcon: ForwardRef$Q,
|
|
984
|
+
infoIcon: ForwardRef$J,
|
|
985
|
+
successIcon: ForwardRef$n,
|
|
986
|
+
warningIcon: ForwardRef$m,
|
|
987
|
+
errorIcon: ForwardRef$l,
|
|
866
988
|
},
|
|
867
989
|
sizes: {
|
|
868
990
|
default: '48',
|
|
@@ -874,7 +996,7 @@ const alertSettings = {
|
|
|
874
996
|
};
|
|
875
997
|
const badgeSettings = {
|
|
876
998
|
icons: {
|
|
877
|
-
dropdownIcon: ForwardRef$
|
|
999
|
+
dropdownIcon: ForwardRef$P,
|
|
878
1000
|
},
|
|
879
1001
|
sizes: {
|
|
880
1002
|
default: '36',
|
|
@@ -890,8 +1012,8 @@ const badgeSettings = {
|
|
|
890
1012
|
};
|
|
891
1013
|
const buttonSettings = {
|
|
892
1014
|
icons: {
|
|
893
|
-
clearIcon: ForwardRef$
|
|
894
|
-
dropdownIcon: ForwardRef$
|
|
1015
|
+
clearIcon: ForwardRef$Q,
|
|
1016
|
+
dropdownIcon: ForwardRef$P,
|
|
895
1017
|
},
|
|
896
1018
|
sizes: {
|
|
897
1019
|
default: '36',
|
|
@@ -899,8 +1021,8 @@ const buttonSettings = {
|
|
|
899
1021
|
};
|
|
900
1022
|
const checkboxSettings = {
|
|
901
1023
|
icons: {
|
|
902
|
-
checkIcon: ForwardRef$
|
|
903
|
-
indeterminateIcon: ForwardRef$
|
|
1024
|
+
checkIcon: ForwardRef$O,
|
|
1025
|
+
indeterminateIcon: ForwardRef$N,
|
|
904
1026
|
},
|
|
905
1027
|
sizes: {
|
|
906
1028
|
default: '18',
|
|
@@ -912,32 +1034,33 @@ const countIndicatorSettings = {
|
|
|
912
1034
|
},
|
|
913
1035
|
};
|
|
914
1036
|
const dataTableSettings = {
|
|
915
|
-
renderPlaceholder: () => React__default.createElement(
|
|
1037
|
+
renderPlaceholder: (props) => React__default.createElement(Text, { size: props.rowSize },
|
|
1038
|
+
React__default.createElement(TextPlaceholder, null)),
|
|
916
1039
|
icons: {
|
|
917
|
-
emptyTable: ForwardRef$
|
|
1040
|
+
emptyTable: ForwardRef$I,
|
|
918
1041
|
header: {
|
|
919
|
-
configIcon: ForwardRef$
|
|
920
|
-
ascSortIcon: ForwardRef$
|
|
921
|
-
descSortIcon: ForwardRef$
|
|
922
|
-
defaultSortIcon: ForwardRef$
|
|
923
|
-
filterIcon: ForwardRef$
|
|
924
|
-
dropdownIcon: ForwardRef$
|
|
925
|
-
openedDropdownIcon: ForwardRef$
|
|
926
|
-
foldIcon: ForwardRef$
|
|
927
|
-
unfoldIcon: ForwardRef$
|
|
1042
|
+
configIcon: ForwardRef$u,
|
|
1043
|
+
ascSortIcon: ForwardRef$H,
|
|
1044
|
+
descSortIcon: ForwardRef$G,
|
|
1045
|
+
defaultSortIcon: ForwardRef$z,
|
|
1046
|
+
filterIcon: ForwardRef$y,
|
|
1047
|
+
dropdownIcon: ForwardRef$P,
|
|
1048
|
+
openedDropdownIcon: ForwardRef$x,
|
|
1049
|
+
foldIcon: ForwardRef$w,
|
|
1050
|
+
unfoldIcon: ForwardRef$v,
|
|
928
1051
|
},
|
|
929
1052
|
body: {
|
|
930
|
-
foldingIcon: ForwardRef$
|
|
1053
|
+
foldingIcon: ForwardRef$P,
|
|
931
1054
|
},
|
|
932
1055
|
columnsConfigurationModal: {
|
|
933
|
-
dragIndicator: ForwardRef$
|
|
934
|
-
lockIcon: ForwardRef$
|
|
935
|
-
pinLeftIcon: ForwardRef$
|
|
936
|
-
pinRightIcon: ForwardRef$
|
|
937
|
-
collapsedIcon: ForwardRef$
|
|
938
|
-
expandedIcon: ForwardRef$
|
|
939
|
-
menuIcon: ForwardRef$
|
|
940
|
-
resetIcon: ForwardRef$
|
|
1056
|
+
dragIndicator: ForwardRef$F,
|
|
1057
|
+
lockIcon: ForwardRef$C,
|
|
1058
|
+
pinLeftIcon: ForwardRef$B,
|
|
1059
|
+
pinRightIcon: ForwardRef$A,
|
|
1060
|
+
collapsedIcon: ForwardRef$s,
|
|
1061
|
+
expandedIcon: ForwardRef$P,
|
|
1062
|
+
menuIcon: ForwardRef$E,
|
|
1063
|
+
resetIcon: ForwardRef$D,
|
|
941
1064
|
},
|
|
942
1065
|
},
|
|
943
1066
|
sizes: {
|
|
@@ -994,18 +1117,18 @@ const dataTableSettings = {
|
|
|
994
1117
|
};
|
|
995
1118
|
const dropdownMenuSettings = {
|
|
996
1119
|
icons: {
|
|
997
|
-
acceptIcon: ForwardRef$
|
|
998
|
-
dropdownIcon: ForwardRef$
|
|
1120
|
+
acceptIcon: ForwardRef$O,
|
|
1121
|
+
dropdownIcon: ForwardRef$P,
|
|
999
1122
|
},
|
|
1000
1123
|
};
|
|
1001
1124
|
const datePickerSettings = {
|
|
1002
1125
|
icons: {
|
|
1003
1126
|
body: {
|
|
1004
|
-
prevIcon: ForwardRef$
|
|
1005
|
-
nextIcon: ForwardRef$
|
|
1127
|
+
prevIcon: ForwardRef$t,
|
|
1128
|
+
nextIcon: ForwardRef$s,
|
|
1006
1129
|
},
|
|
1007
1130
|
input: {
|
|
1008
|
-
calendarIcon: ForwardRef$
|
|
1131
|
+
calendarIcon: ForwardRef$L,
|
|
1009
1132
|
},
|
|
1010
1133
|
},
|
|
1011
1134
|
sizes: {
|
|
@@ -1015,17 +1138,17 @@ const datePickerSettings = {
|
|
|
1015
1138
|
};
|
|
1016
1139
|
const fileCardSettings = {
|
|
1017
1140
|
icons: {
|
|
1018
|
-
docIcon: ForwardRef$
|
|
1019
|
-
exelIcon: ForwardRef$
|
|
1020
|
-
pdfIcon: ForwardRef$
|
|
1021
|
-
imgIcon: ForwardRef$
|
|
1022
|
-
videoIcon: ForwardRef$
|
|
1023
|
-
tableIcon: ForwardRef$
|
|
1024
|
-
textIcon: ForwardRef$
|
|
1025
|
-
mailIcon: ForwardRef$
|
|
1026
|
-
fileIcon: ForwardRef$
|
|
1027
|
-
closeIcon: ForwardRef$
|
|
1028
|
-
errorIcon: ForwardRef$
|
|
1141
|
+
docIcon: ForwardRef$e,
|
|
1142
|
+
exelIcon: ForwardRef$d,
|
|
1143
|
+
pdfIcon: ForwardRef$c,
|
|
1144
|
+
imgIcon: ForwardRef$b,
|
|
1145
|
+
videoIcon: ForwardRef$a,
|
|
1146
|
+
tableIcon: ForwardRef$9,
|
|
1147
|
+
textIcon: ForwardRef$8,
|
|
1148
|
+
mailIcon: ForwardRef$7,
|
|
1149
|
+
fileIcon: ForwardRef$6,
|
|
1150
|
+
closeIcon: ForwardRef$Q,
|
|
1151
|
+
errorIcon: ForwardRef$l,
|
|
1029
1152
|
},
|
|
1030
1153
|
};
|
|
1031
1154
|
const flexRowSettings = {
|
|
@@ -1034,23 +1157,31 @@ const flexRowSettings = {
|
|
|
1034
1157
|
},
|
|
1035
1158
|
};
|
|
1036
1159
|
const filtersPanelSettings = {
|
|
1160
|
+
renderPlaceholder: () => React__default.createElement(TextPlaceholder, null),
|
|
1037
1161
|
icons: {
|
|
1038
|
-
addFilterIcon: ForwardRef$
|
|
1039
|
-
itemDropdownIcon: ForwardRef$
|
|
1162
|
+
addFilterIcon: ForwardRef$r,
|
|
1163
|
+
itemDropdownIcon: ForwardRef$P,
|
|
1164
|
+
pickerBodyRemoveIcon: ForwardRef$k,
|
|
1040
1165
|
},
|
|
1041
1166
|
sizes: {
|
|
1042
1167
|
default: '36',
|
|
1168
|
+
footerLinkButton: '36',
|
|
1169
|
+
mobileFooterLinkButton: '48',
|
|
1170
|
+
pickerBodyMultiSwitch: '24',
|
|
1171
|
+
pickerBodyLinkButton: '24',
|
|
1172
|
+
pickerBodyMinWidth: 360,
|
|
1173
|
+
rangeDatePickerInput: '30',
|
|
1043
1174
|
},
|
|
1044
1175
|
};
|
|
1045
1176
|
const iconButtonSettings = {
|
|
1046
1177
|
icons: {
|
|
1047
|
-
dropdownIcon: ForwardRef$
|
|
1178
|
+
dropdownIcon: ForwardRef$P,
|
|
1048
1179
|
},
|
|
1049
1180
|
};
|
|
1050
1181
|
const labeledInputSettings = {
|
|
1051
1182
|
icons: {
|
|
1052
|
-
infoIcon: ForwardRef$
|
|
1053
|
-
fillInfoIcon: ForwardRef$
|
|
1183
|
+
infoIcon: ForwardRef$K,
|
|
1184
|
+
fillInfoIcon: ForwardRef$J,
|
|
1054
1185
|
},
|
|
1055
1186
|
sizes: {
|
|
1056
1187
|
default: '36',
|
|
@@ -1058,7 +1189,7 @@ const labeledInputSettings = {
|
|
|
1058
1189
|
};
|
|
1059
1190
|
const linkButtonSettings = {
|
|
1060
1191
|
icons: {
|
|
1061
|
-
dropdownIcon: ForwardRef$
|
|
1192
|
+
dropdownIcon: ForwardRef$P,
|
|
1062
1193
|
},
|
|
1063
1194
|
sizes: {
|
|
1064
1195
|
default: '36',
|
|
@@ -1067,24 +1198,25 @@ const linkButtonSettings = {
|
|
|
1067
1198
|
};
|
|
1068
1199
|
const modalSettings = {
|
|
1069
1200
|
icons: {
|
|
1070
|
-
closeIcon: ForwardRef$
|
|
1201
|
+
closeIcon: ForwardRef$Q,
|
|
1071
1202
|
},
|
|
1072
1203
|
};
|
|
1073
1204
|
const notificationCardSettings = {
|
|
1074
1205
|
icons: {
|
|
1075
|
-
closeIcon: ForwardRef$
|
|
1076
|
-
hintIcon: ForwardRef$
|
|
1077
|
-
successIcon: ForwardRef$
|
|
1078
|
-
warningIcon: ForwardRef$
|
|
1079
|
-
errorIcon: ForwardRef$
|
|
1206
|
+
closeIcon: ForwardRef$Q,
|
|
1207
|
+
hintIcon: ForwardRef$o,
|
|
1208
|
+
successIcon: ForwardRef$n,
|
|
1209
|
+
warningIcon: ForwardRef$m,
|
|
1210
|
+
errorIcon: ForwardRef$l,
|
|
1080
1211
|
},
|
|
1081
1212
|
sizes: {
|
|
1082
1213
|
action: '30',
|
|
1214
|
+
icon: 24,
|
|
1083
1215
|
},
|
|
1084
1216
|
};
|
|
1085
1217
|
const numericInputSettings = {
|
|
1086
1218
|
icons: {
|
|
1087
|
-
arrowIcon: ForwardRef$
|
|
1219
|
+
arrowIcon: ForwardRef$P,
|
|
1088
1220
|
},
|
|
1089
1221
|
sizes: {
|
|
1090
1222
|
default: '36',
|
|
@@ -1092,24 +1224,25 @@ const numericInputSettings = {
|
|
|
1092
1224
|
};
|
|
1093
1225
|
const paginatorSettings = {
|
|
1094
1226
|
icons: {
|
|
1095
|
-
leftArrowIcon: ForwardRef$
|
|
1096
|
-
rightArrowIcon: ForwardRef$
|
|
1227
|
+
leftArrowIcon: ForwardRef$t,
|
|
1228
|
+
rightArrowIcon: ForwardRef$s,
|
|
1097
1229
|
},
|
|
1098
1230
|
sizes: {
|
|
1099
|
-
default: '
|
|
1231
|
+
default: '30',
|
|
1100
1232
|
},
|
|
1101
1233
|
};
|
|
1102
1234
|
const pickerInputSettings = {
|
|
1103
|
-
renderPlaceholder: () => React__default.createElement(
|
|
1235
|
+
renderPlaceholder: (props) => React__default.createElement(Text, { size: props.rowSize },
|
|
1236
|
+
React__default.createElement(TextPlaceholder, null)),
|
|
1104
1237
|
icons: {
|
|
1105
1238
|
toggler: {
|
|
1106
|
-
clearIcon: ForwardRef$
|
|
1107
|
-
dropdownIcon: ForwardRef$
|
|
1239
|
+
clearIcon: ForwardRef$Q,
|
|
1240
|
+
dropdownIcon: ForwardRef$P,
|
|
1108
1241
|
},
|
|
1109
1242
|
body: {
|
|
1110
|
-
selectIcon: (size) => size < '30' ? ForwardRef$
|
|
1111
|
-
pickerBodyMobileHeaderCloseIcon: ForwardRef$
|
|
1112
|
-
modalNotFoundSearchIcon: ForwardRef$
|
|
1243
|
+
selectIcon: (size) => size < '30' ? ForwardRef$q : ForwardRef$O,
|
|
1244
|
+
pickerBodyMobileHeaderCloseIcon: ForwardRef$Q,
|
|
1245
|
+
modalNotFoundSearchIcon: ForwardRef$4,
|
|
1113
1246
|
},
|
|
1114
1247
|
},
|
|
1115
1248
|
sizes: {
|
|
@@ -1166,12 +1299,32 @@ const pickerInputSettings = {
|
|
|
1166
1299
|
mobileFooterLinkButton: '48',
|
|
1167
1300
|
mobileRow: '48',
|
|
1168
1301
|
mobileSearchInput: '48',
|
|
1302
|
+
getSearchSize: ({ pickerSize }) => {
|
|
1303
|
+
return pickerSize;
|
|
1304
|
+
},
|
|
1169
1305
|
},
|
|
1170
1306
|
},
|
|
1171
1307
|
};
|
|
1308
|
+
const presetsPanelSettings = {
|
|
1309
|
+
icons: {
|
|
1310
|
+
addIcon: ForwardRef$r,
|
|
1311
|
+
copyIcon: ForwardRef$h,
|
|
1312
|
+
copyLinkIcon: ForwardRef$j,
|
|
1313
|
+
deleteIcon: ForwardRef$k,
|
|
1314
|
+
discardChangesIcon: ForwardRef$g,
|
|
1315
|
+
menuIcon: ForwardRef$E,
|
|
1316
|
+
renameIcon: ForwardRef$i,
|
|
1317
|
+
saveAsNewIcon: ForwardRef$f,
|
|
1318
|
+
saveInCurrentIcon: ForwardRef$D,
|
|
1319
|
+
},
|
|
1320
|
+
sizes: {
|
|
1321
|
+
tabButton: '60',
|
|
1322
|
+
dropdownTargetIconButton: '18',
|
|
1323
|
+
},
|
|
1324
|
+
};
|
|
1172
1325
|
const radioInputSettings = {
|
|
1173
1326
|
icons: {
|
|
1174
|
-
dotIcon: ForwardRef$
|
|
1327
|
+
dotIcon: ForwardRef$p,
|
|
1175
1328
|
},
|
|
1176
1329
|
sizes: {
|
|
1177
1330
|
default: '18',
|
|
@@ -1180,7 +1333,7 @@ const radioInputSettings = {
|
|
|
1180
1333
|
const rangeDatePickerSettings = {
|
|
1181
1334
|
icons: {
|
|
1182
1335
|
input: {
|
|
1183
|
-
calendarIcon: ForwardRef$
|
|
1336
|
+
calendarIcon: ForwardRef$L,
|
|
1184
1337
|
},
|
|
1185
1338
|
},
|
|
1186
1339
|
sizes: {
|
|
@@ -1190,8 +1343,8 @@ const rangeDatePickerSettings = {
|
|
|
1190
1343
|
};
|
|
1191
1344
|
const ratingSettings = {
|
|
1192
1345
|
icons: {
|
|
1193
|
-
filledRatingIcon: ForwardRef$
|
|
1194
|
-
emptyRatingIcon: ForwardRef$
|
|
1346
|
+
filledRatingIcon: ForwardRef$5,
|
|
1347
|
+
emptyRatingIcon: ForwardRef$5,
|
|
1195
1348
|
},
|
|
1196
1349
|
sizes: {
|
|
1197
1350
|
default: 18,
|
|
@@ -1214,8 +1367,8 @@ const switchSettings = {
|
|
|
1214
1367
|
};
|
|
1215
1368
|
const tabButtonSettings = {
|
|
1216
1369
|
icons: {
|
|
1217
|
-
clearIcon: ForwardRef$
|
|
1218
|
-
dropdownIcon: ForwardRef$
|
|
1370
|
+
clearIcon: ForwardRef$Q,
|
|
1371
|
+
dropdownIcon: ForwardRef$P,
|
|
1219
1372
|
},
|
|
1220
1373
|
sizes: {
|
|
1221
1374
|
default: '48',
|
|
@@ -1228,8 +1381,8 @@ const tabButtonSettings = {
|
|
|
1228
1381
|
};
|
|
1229
1382
|
const tagSettings = {
|
|
1230
1383
|
icons: {
|
|
1231
|
-
clearIcon: ForwardRef$
|
|
1232
|
-
dropdownIcon: ForwardRef$
|
|
1384
|
+
clearIcon: ForwardRef$Q,
|
|
1385
|
+
dropdownIcon: ForwardRef$P,
|
|
1233
1386
|
},
|
|
1234
1387
|
sizes: {
|
|
1235
1388
|
default: '36',
|
|
@@ -1255,10 +1408,10 @@ const textAreaSettings = {
|
|
|
1255
1408
|
};
|
|
1256
1409
|
const textInputSettings = {
|
|
1257
1410
|
icons: {
|
|
1258
|
-
acceptIcon: ForwardRef$
|
|
1259
|
-
clearIcon: ForwardRef$
|
|
1260
|
-
dropdownIcon: ForwardRef$
|
|
1261
|
-
searchIcon: ForwardRef$
|
|
1411
|
+
acceptIcon: ForwardRef$O,
|
|
1412
|
+
clearIcon: ForwardRef$Q,
|
|
1413
|
+
dropdownIcon: ForwardRef$P,
|
|
1414
|
+
searchIcon: ForwardRef$M,
|
|
1262
1415
|
},
|
|
1263
1416
|
sizes: {
|
|
1264
1417
|
default: '36',
|
|
@@ -1289,6 +1442,7 @@ const settings = {
|
|
|
1289
1442
|
numericInput: numericInputSettings,
|
|
1290
1443
|
paginator: paginatorSettings,
|
|
1291
1444
|
pickerInput: pickerInputSettings,
|
|
1445
|
+
presetsPanel: presetsPanelSettings,
|
|
1292
1446
|
radioInput: radioInputSettings,
|
|
1293
1447
|
rangeDatePicker: rangeDatePickerSettings,
|
|
1294
1448
|
rating: ratingSettings,
|
|
@@ -1302,11 +1456,11 @@ const settings = {
|
|
|
1302
1456
|
textInput: textInputSettings,
|
|
1303
1457
|
};
|
|
1304
1458
|
|
|
1305
|
-
var css$
|
|
1459
|
+
var css$1t = {"root":"_8LENSy"};
|
|
1306
1460
|
|
|
1307
1461
|
function applyButtonMods(mods) {
|
|
1308
1462
|
return [
|
|
1309
|
-
css$
|
|
1463
|
+
css$1t.root,
|
|
1310
1464
|
'uui-button',
|
|
1311
1465
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
1312
1466
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -1320,10 +1474,10 @@ const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, ()
|
|
|
1320
1474
|
};
|
|
1321
1475
|
});
|
|
1322
1476
|
|
|
1323
|
-
var css$
|
|
1477
|
+
var css$1s = {"root":"ZmDoB4"};
|
|
1324
1478
|
|
|
1325
1479
|
function applyIconButtonMods(props) {
|
|
1326
|
-
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$
|
|
1480
|
+
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1s.root];
|
|
1327
1481
|
}
|
|
1328
1482
|
const IconButton = /* @__PURE__ */withMods(uuiComponents.IconButton, applyIconButtonMods, (props) => {
|
|
1329
1483
|
const isDeprecated = ['info', 'success', 'error', 'warning'].includes(props.color);
|
|
@@ -1357,10 +1511,10 @@ function getIconClass(props) {
|
|
|
1357
1511
|
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'];
|
|
1358
1512
|
}
|
|
1359
1513
|
|
|
1360
|
-
var css$
|
|
1514
|
+
var css$1r = {"root":"FbfXCu"};
|
|
1361
1515
|
|
|
1362
1516
|
const DEFAULT_COLOR = 'primary';
|
|
1363
|
-
|
|
1517
|
+
const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1364
1518
|
if (process.env.NODE_ENV !== "production" && props.color === 'contrast') {
|
|
1365
1519
|
devLogger.warnAboutDeprecatedPropValue({
|
|
1366
1520
|
component: 'LinkButton',
|
|
@@ -1372,7 +1526,7 @@ function LinkButton(props) {
|
|
|
1372
1526
|
}
|
|
1373
1527
|
const rootStyles = [
|
|
1374
1528
|
'uui-link_button',
|
|
1375
|
-
css$
|
|
1529
|
+
css$1r.root,
|
|
1376
1530
|
`uui-size-${props.size || settings.linkButton.sizes.default}`,
|
|
1377
1531
|
...getIconClass(props),
|
|
1378
1532
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
@@ -1380,30 +1534,30 @@ function LinkButton(props) {
|
|
|
1380
1534
|
];
|
|
1381
1535
|
const captionStyles = cx(uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || settings.linkButton.weight}`);
|
|
1382
1536
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.linkButton.icons.dropdownIcon;
|
|
1383
|
-
return (React.createElement(Clickable, { ...props, type: "button", cx: rootStyles, ref:
|
|
1537
|
+
return (React.createElement(Clickable, { ...props, type: "button", cx: rootStyles, ref: ref },
|
|
1384
1538
|
props.icon && props.iconPosition !== 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1385
1539
|
props.caption && (React.createElement("div", { className: captionStyles }, props.caption)),
|
|
1386
1540
|
props.icon && props.iconPosition === 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1387
1541
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1388
|
-
}
|
|
1542
|
+
});
|
|
1389
1543
|
|
|
1390
|
-
var css$
|
|
1544
|
+
var css$1q = {"root":"XP5xNz"};
|
|
1391
1545
|
|
|
1392
|
-
|
|
1393
|
-
return (React__default.createElement("div", { ref:
|
|
1394
|
-
css$
|
|
1546
|
+
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1547
|
+
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
1548
|
+
css$1q.root,
|
|
1395
1549
|
'uui-count_indicator',
|
|
1396
1550
|
`uui-size-${props.size || settings.countIndicator.sizes.default}`,
|
|
1397
1551
|
props.color && `uui-color-${props.color}`,
|
|
1398
1552
|
props.cx,
|
|
1399
1553
|
]) }, props.caption));
|
|
1400
|
-
}
|
|
1554
|
+
});
|
|
1401
1555
|
|
|
1402
|
-
var css$
|
|
1556
|
+
var css$1p = {"root":"ePPnR9","withNotify":"_8n19K1"};
|
|
1403
1557
|
|
|
1404
|
-
|
|
1558
|
+
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1405
1559
|
const styles = [
|
|
1406
|
-
css$
|
|
1560
|
+
css$1p.root,
|
|
1407
1561
|
'uui-tab-button',
|
|
1408
1562
|
`uui-size-${props.size || settings.tabButton.sizes.default}`,
|
|
1409
1563
|
...getIconClass(props),
|
|
@@ -1416,31 +1570,31 @@ function TabButton(props) {
|
|
|
1416
1570
|
'aria-haspopup': props.isDropdown,
|
|
1417
1571
|
'aria-expanded': props.isOpen,
|
|
1418
1572
|
...props.rawProps,
|
|
1419
|
-
}, cx: styles, ref:
|
|
1573
|
+
}, cx: styles, ref: ref },
|
|
1420
1574
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1421
1575
|
(props.caption || props.withNotify) && (React__default.createElement("div", { className: cx$1(uuiElement.caption) },
|
|
1422
1576
|
props.caption,
|
|
1423
|
-
props.withNotify && React__default.createElement("div", { className: css$
|
|
1577
|
+
props.withNotify && React__default.createElement("div", { className: css$1p.withNotify }))),
|
|
1424
1578
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1425
1579
|
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: "neutral", size: settings.tabButton.sizes.countIndicatorMap[props.size || settings.tabButton.sizes.default], caption: props.count })),
|
|
1426
1580
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1427
1581
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1428
|
-
}
|
|
1582
|
+
});
|
|
1429
1583
|
|
|
1430
|
-
var css$
|
|
1584
|
+
var css$1o = {"root":"_7d35eV"};
|
|
1431
1585
|
|
|
1432
1586
|
function applyVerticalTabButtonMods() {
|
|
1433
|
-
return [css$
|
|
1587
|
+
return [css$1o.root, 'uui-vertical-tab-button'];
|
|
1434
1588
|
}
|
|
1435
1589
|
const VerticalTabButton = /* @__PURE__ */withMods(TabButton, applyVerticalTabButtonMods);
|
|
1436
1590
|
|
|
1437
|
-
var css$
|
|
1591
|
+
var css$1n = {"root":"_0REWSO"};
|
|
1438
1592
|
|
|
1439
1593
|
function applyCheckboxMods(mods) {
|
|
1440
1594
|
return [
|
|
1441
|
-
css$
|
|
1595
|
+
css$1n.root,
|
|
1442
1596
|
`uui-size-${mods.size || settings.checkbox.sizes.default}`,
|
|
1443
|
-
|
|
1597
|
+
'uui-control-mode-' + (mods.mode || 'form'),
|
|
1444
1598
|
'uui-color-primary',
|
|
1445
1599
|
];
|
|
1446
1600
|
}
|
|
@@ -1452,11 +1606,11 @@ const applyUUICheckboxProps = (props) => {
|
|
|
1452
1606
|
};
|
|
1453
1607
|
const Checkbox = /* @__PURE__ */withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1454
1608
|
|
|
1455
|
-
var css$
|
|
1609
|
+
var css$1m = {"root":"CEt6HW"};
|
|
1456
1610
|
|
|
1457
1611
|
function applyRadioInputMods(mods) {
|
|
1458
1612
|
return [
|
|
1459
|
-
css$
|
|
1613
|
+
css$1m.root,
|
|
1460
1614
|
`uui-size-${mods.size || settings.radioInput.sizes.default}`,
|
|
1461
1615
|
'uui-radio-input-container',
|
|
1462
1616
|
'uui-color-primary',
|
|
@@ -1464,11 +1618,11 @@ function applyRadioInputMods(mods) {
|
|
|
1464
1618
|
}
|
|
1465
1619
|
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
1466
1620
|
|
|
1467
|
-
var css$
|
|
1621
|
+
var css$1l = {"root":"XY8Itq"};
|
|
1468
1622
|
|
|
1469
1623
|
function applySwitchMods(mods) {
|
|
1470
1624
|
return [
|
|
1471
|
-
css$
|
|
1625
|
+
css$1l.root,
|
|
1472
1626
|
`uui-size-${mods.size || settings.switch.sizes.default}`,
|
|
1473
1627
|
'uui-color-primary',
|
|
1474
1628
|
];
|
|
@@ -1488,14 +1642,14 @@ var EditMode;
|
|
|
1488
1642
|
EditMode["INLINE"] = "inline";
|
|
1489
1643
|
})(EditMode || (EditMode = {}));
|
|
1490
1644
|
|
|
1491
|
-
var textInputCss = {"root":"
|
|
1645
|
+
var textInputCss = {"root":"Z7YD0x"};
|
|
1492
1646
|
|
|
1493
1647
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1494
1648
|
function applyTextInputMods(mods) {
|
|
1495
1649
|
return [
|
|
1496
1650
|
textInputCss.root,
|
|
1497
1651
|
`uui-size-${mods.size || settings.textInput.sizes.default}`,
|
|
1498
|
-
|
|
1652
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$3),
|
|
1499
1653
|
];
|
|
1500
1654
|
}
|
|
1501
1655
|
const TextInput = /* @__PURE__ */withMods(TextInput$1, applyTextInputMods, () => ({
|
|
@@ -1503,42 +1657,41 @@ const TextInput = /* @__PURE__ */withMods(TextInput$1, applyTextInputMods, () =>
|
|
|
1503
1657
|
cancelIcon: settings.textInput.icons.clearIcon,
|
|
1504
1658
|
dropdownIcon: settings.textInput.icons.dropdownIcon,
|
|
1505
1659
|
}));
|
|
1506
|
-
const SearchInput = (props) => {
|
|
1660
|
+
const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1507
1661
|
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
1508
1662
|
const { ...textInputProps } = props;
|
|
1509
1663
|
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
1510
1664
|
return (React__default.createElement(IEditableDebouncer, { ...props, render: (iEditable) => {
|
|
1511
1665
|
const defaultOnCancel = () => iEditable.onValueChange('');
|
|
1512
|
-
return (React__default.createElement(TextInput, { icon: settings.textInput.icons.searchIcon, onCancel: props.onCancel ?? defaultOnCancel, type: "search", inputMode: "search", ref:
|
|
1666
|
+
return (React__default.createElement(TextInput, { icon: settings.textInput.icons.searchIcon, onCancel: props.onCancel ?? defaultOnCancel, type: "search", inputMode: "search", ref: ref, ...textInputProps, ...iEditable }));
|
|
1513
1667
|
} }));
|
|
1514
|
-
};
|
|
1668
|
+
});
|
|
1515
1669
|
|
|
1516
|
-
var css$
|
|
1670
|
+
var css$1k = {"root":"_14bZNm"};
|
|
1517
1671
|
|
|
1518
|
-
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$
|
|
1672
|
+
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1k.root, 'uui-control-group']);
|
|
1519
1673
|
|
|
1520
|
-
function MultiSwitchComponent(props) {
|
|
1521
|
-
|
|
1522
|
-
return (React.createElement(ControlGroup, { ref: props.ref, rawProps: {
|
|
1674
|
+
function MultiSwitchComponent(props, ref) {
|
|
1675
|
+
return (React.createElement(ControlGroup, { ref: ref, rawProps: {
|
|
1523
1676
|
...props.rawProps,
|
|
1524
1677
|
role: 'tablist',
|
|
1525
1678
|
'aria-invalid': props.isInvalid,
|
|
1526
1679
|
'aria-required': props.isRequired,
|
|
1527
1680
|
'aria-disabled': props.isDisabled,
|
|
1528
1681
|
'aria-readonly': props.isReadonly,
|
|
1529
|
-
} }, props.items.map((item, index) => (React.createElement(Button, { ...
|
|
1682
|
+
} }, props.items.map((item, index) => (React.createElement(Button, { ...props, ...item, isDisabled: props.isDisabled, key: index + '-' + item.id, onClick: !props.isReadonly && (() => props.onValueChange(item.id)), fill: props.value === item.id ? 'solid' : 'outline', color: props.color, size: props.size, rawProps: { 'aria-current': props.value === item.id, role: 'tab' } })))));
|
|
1530
1683
|
}
|
|
1531
|
-
const MultiSwitch = MultiSwitchComponent;
|
|
1684
|
+
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
1532
1685
|
|
|
1533
|
-
var css$
|
|
1686
|
+
var css$1j = {"root":"PJL-Lx"};
|
|
1534
1687
|
|
|
1535
1688
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1536
1689
|
function applyNumericInputMods(mods) {
|
|
1537
1690
|
return [
|
|
1538
1691
|
textInputCss.root,
|
|
1539
|
-
css$
|
|
1692
|
+
css$1j.root,
|
|
1540
1693
|
`uui-size-${mods.size || settings.numericInput.sizes.default}`,
|
|
1541
|
-
|
|
1694
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$2),
|
|
1542
1695
|
];
|
|
1543
1696
|
}
|
|
1544
1697
|
const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMods, (props) => {
|
|
@@ -1550,15 +1703,15 @@ const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMo
|
|
|
1550
1703
|
};
|
|
1551
1704
|
});
|
|
1552
1705
|
|
|
1553
|
-
var css$
|
|
1706
|
+
var css$1i = {"root":"WHoHoY"};
|
|
1554
1707
|
|
|
1555
1708
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1556
1709
|
function applyTextAreaMods(mods) {
|
|
1557
1710
|
return [
|
|
1558
|
-
css$
|
|
1711
|
+
css$1i.root,
|
|
1559
1712
|
'uui-textarea',
|
|
1560
1713
|
'uui-size-' + (mods.size || settings.textArea.sizes.default),
|
|
1561
|
-
|
|
1714
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$1),
|
|
1562
1715
|
];
|
|
1563
1716
|
}
|
|
1564
1717
|
const TextArea = /* @__PURE__ */withMods(TextArea$1, applyTextAreaMods, (props) => {
|
|
@@ -1591,244 +1744,228 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1591
1744
|
};
|
|
1592
1745
|
}
|
|
1593
1746
|
|
|
1594
|
-
var css$
|
|
1595
|
-
|
|
1596
|
-
function Alert(props) {
|
|
1597
|
-
return (React.createElement("div", { role: "alert", ref: props.ref, className: cx('uui-alert', css$1j.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
1598
|
-
React.createElement("div", { className: css$1j.mainPath },
|
|
1599
|
-
React.createElement("div", { className: css$1j.contentWrapper },
|
|
1600
|
-
props.icon && (React.createElement("div", { className: css$1j.iconWrapper },
|
|
1601
|
-
React.createElement(IconContainer, { icon: props.icon, cx: css$1j.icon }))),
|
|
1602
|
-
React.createElement("div", { className: css$1j.content },
|
|
1603
|
-
props.children,
|
|
1604
|
-
props.actions && (React.createElement("div", { className: css$1j.actionWrapper }, props.actions.map((action) => (React.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1j.actionLink, size: settings.alert.sizes.actionMap[props.size || settings.alert.sizes.default] }))))))),
|
|
1605
|
-
props.onClose && React.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$1j.closeIcon }))));
|
|
1606
|
-
}
|
|
1607
|
-
function WarningAlert(props) {
|
|
1608
|
-
return React.createElement(Alert, { icon: settings.alert.icons.warningIcon, color: "warning", ...props });
|
|
1609
|
-
}
|
|
1610
|
-
function SuccessAlert(props) {
|
|
1611
|
-
return React.createElement(Alert, { icon: settings.alert.icons.successIcon, color: "success", ...props });
|
|
1612
|
-
}
|
|
1613
|
-
function HintAlert(props) {
|
|
1614
|
-
return React.createElement(Alert, { icon: settings.alert.icons.infoIcon, color: "info", ...props });
|
|
1615
|
-
}
|
|
1616
|
-
function ErrorAlert(props) {
|
|
1617
|
-
return React.createElement(Alert, { icon: settings.alert.icons.errorIcon, color: "error", ...props });
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
1621
|
-
|
|
1622
|
-
var css$1i = {"root":"jwQC8a"};
|
|
1747
|
+
var css$1h = {"root":"cHa1UC"};
|
|
1623
1748
|
|
|
1624
1749
|
function applyDropdownContainerMods(mods) {
|
|
1625
1750
|
return [
|
|
1626
|
-
css$
|
|
1751
|
+
css$1h.root,
|
|
1627
1752
|
mods.vPadding && `vPadding-${mods.vPadding}`,
|
|
1628
1753
|
mods.padding && `padding-${mods.padding}`,
|
|
1629
1754
|
];
|
|
1630
1755
|
}
|
|
1631
1756
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
1632
1757
|
|
|
1633
|
-
var css$
|
|
1758
|
+
var css$1g = {"root":"sDzWEC","timepicker-input":"mW1GJK","timepickerInput":"mW1GJK","ltr-always":"w6j8aG","ltrAlways":"w6j8aG"};
|
|
1634
1759
|
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
const
|
|
1647
|
-
const
|
|
1648
|
-
const
|
|
1649
|
-
|
|
1650
|
-
setFocused(nextFocusedIndex);
|
|
1651
|
-
menuItems[nextFocusedIndex].focus();
|
|
1652
|
-
}
|
|
1653
|
-
};
|
|
1654
|
-
const handleArrowKeys = (e) => {
|
|
1655
|
-
const lastMenuItemsIndex = menuItems.length - 1;
|
|
1656
|
-
if (e.key === IDropdownControlKeys.UP_ARROW) {
|
|
1657
|
-
changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
|
|
1658
|
-
e.preventDefault();
|
|
1659
|
-
}
|
|
1660
|
-
else if (e.key === IDropdownControlKeys.DOWN_ARROW) {
|
|
1661
|
-
changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
|
|
1662
|
-
e.preventDefault();
|
|
1663
|
-
}
|
|
1664
|
-
else if (e.key === props.closeOnKey && props.onClose) {
|
|
1665
|
-
e.stopPropagation();
|
|
1666
|
-
props.onClose();
|
|
1667
|
-
}
|
|
1760
|
+
const uuiTimePicker = {
|
|
1761
|
+
container: 'uui-timepicker-container',
|
|
1762
|
+
iconUp: 'uui-timepicker-icon-up',
|
|
1763
|
+
iconDown: 'uui-timepicker-icon-down',
|
|
1764
|
+
input: 'uui-timepicker-input',
|
|
1765
|
+
elementContainer: 'uui-timepicker-item',
|
|
1766
|
+
};
|
|
1767
|
+
const MIN_MINUTES = 0;
|
|
1768
|
+
const MAX_MINUTES = 59;
|
|
1769
|
+
const FORMAT_12H = 12;
|
|
1770
|
+
function TimePickerBody(props) {
|
|
1771
|
+
const MIN_HOURS = props.format === FORMAT_12H ? 1 : 0;
|
|
1772
|
+
const MAX_HOURS = props.format || FORMAT_12H;
|
|
1773
|
+
const setValue = (newTime) => {
|
|
1774
|
+
props.onValueChange({ hours: newTime.hour(), minutes: newTime.minute() });
|
|
1668
1775
|
};
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
const DropdownMenuBody = /* @__PURE__ */withMods(DropdownMenuContainer, () => ['uui-dropdownMenu-body'], (props) => {
|
|
1672
|
-
return ({ closeOnKey: IDropdownControlKeys.ESCAPE, ...props });
|
|
1673
|
-
});
|
|
1674
|
-
function DropdownMenuButton(props) {
|
|
1675
|
-
const context = useContext(UuiContext);
|
|
1676
|
-
const { icon, iconPosition, onIconClick, caption, isDisabled, isSelected, isActive, link, href, onClick, toggleDropdownOpening, isDropdown, isOpen, target, } = props;
|
|
1677
|
-
const handleClick = (event) => {
|
|
1678
|
-
if (isDisabled || !onClick)
|
|
1679
|
-
return;
|
|
1680
|
-
!isEventTargetInsideClickable(event) && onClick(event);
|
|
1681
|
-
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1776
|
+
const onHoursChange = (newHours) => {
|
|
1777
|
+
setValue(uuiDayjs.dayjs().set(props.value).hour(newHours));
|
|
1682
1778
|
};
|
|
1683
|
-
const
|
|
1684
|
-
|
|
1685
|
-
toggleDropdownOpening(true);
|
|
1686
|
-
}
|
|
1687
|
-
else if (event.key === IDropdownControlKeys.ENTER && onClick) {
|
|
1688
|
-
onClick(event);
|
|
1689
|
-
// Fix bug when click event is triggered after Enter key.
|
|
1690
|
-
// Tricky case when modal window is opened from dropdown menu and click on modal header cross is triggered, that leads to modal close.
|
|
1691
|
-
// https://github.com/epam/UUI/issues/2754
|
|
1692
|
-
event.preventDefault();
|
|
1693
|
-
}
|
|
1779
|
+
const onMinutesChange = (newMinutes) => {
|
|
1780
|
+
setValue(uuiDayjs.dayjs().set(props.value).minute(newMinutes));
|
|
1694
1781
|
};
|
|
1695
|
-
const
|
|
1696
|
-
|
|
1697
|
-
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
1698
|
-
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: cx$1(css$1h.icon, iconPosition === 'right' ? css$1h.iconAfter : css$1h.iconBefore) }));
|
|
1699
|
-
return (React__default.createElement(React__default.Fragment, null,
|
|
1700
|
-
isIconBefore && iconElement,
|
|
1701
|
-
React__default.createElement(Text$1, { cx: props.indent && css$1h.indent }, caption),
|
|
1702
|
-
isIconAfter && (React__default.createElement(React__default.Fragment, null,
|
|
1703
|
-
React__default.createElement(FlexSpacer, null),
|
|
1704
|
-
iconElement))));
|
|
1782
|
+
const onTimeTypeChange = () => {
|
|
1783
|
+
setValue(uuiDayjs.dayjs().set(props.value).add(12, 'h'));
|
|
1705
1784
|
};
|
|
1706
|
-
const
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
}
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
},
|
|
1736
|
-
},
|
|
1737
|
-
},
|
|
1738
|
-
];
|
|
1739
|
-
const isRtl = getDir() === 'rtl';
|
|
1740
|
-
return (React__default.createElement(Dropdown$1, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', modifiers: subMenuModifiers, renderBody: (dropdownProps) => !props.isDisabled && (React__default.createElement(DropdownMenuBody, { closeOnKey: IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__default.createElement(DropdownMenuButton, { cx: cx$1(isRtl ? css$1h.submenuRootItemRtl : css$1h.submenuRootItem), icon: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
1785
|
+
const handleMinutesUpClick = () => {
|
|
1786
|
+
const minutesStep = props.minutesStep || 5;
|
|
1787
|
+
const value = uuiDayjs.dayjs().set(props.value);
|
|
1788
|
+
const minutesToAdd = minutesStep - (value.minute() % minutesStep);
|
|
1789
|
+
onMinutesChange(value.add(minutesToAdd, 'm').minute());
|
|
1790
|
+
};
|
|
1791
|
+
const handleMinutesDownClick = () => {
|
|
1792
|
+
const minutesStep = props.minutesStep || 5;
|
|
1793
|
+
const value = uuiDayjs.dayjs().set(props.value);
|
|
1794
|
+
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
1795
|
+
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
1796
|
+
};
|
|
1797
|
+
return (React.createElement("div", { className: cx$1(css$1g.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef, ...props.rawProps },
|
|
1798
|
+
React.createElement("div", { className: css$1g.ltrAlways },
|
|
1799
|
+
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1800
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
|
|
1801
|
+
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
1802
|
+
.set(props.value)
|
|
1803
|
+
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
1804
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
|
|
1805
|
+
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1806
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: handleMinutesUpClick }),
|
|
1807
|
+
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
1808
|
+
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: handleMinutesDownClick }))),
|
|
1809
|
+
MAX_HOURS === FORMAT_12H && (React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1810
|
+
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: onTimeTypeChange }),
|
|
1811
|
+
React.createElement(TextInput$1, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
1812
|
+
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
1813
|
+
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: onTimeTypeChange })))));
|
|
1741
1814
|
}
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1815
|
+
|
|
1816
|
+
const getMeridian = (newValue, format) => {
|
|
1817
|
+
if (format === 'hh:mm A') {
|
|
1818
|
+
if (newValue.toLowerCase().includes('p') && newValue.toLowerCase().includes('a')) {
|
|
1819
|
+
return newValue.toLowerCase().indexOf('p') < newValue.toLowerCase().indexOf('a') ? 'PM' : 'AM';
|
|
1820
|
+
}
|
|
1821
|
+
return newValue.toLowerCase().includes('p') ? 'PM' : 'AM';
|
|
1822
|
+
}
|
|
1823
|
+
return false;
|
|
1824
|
+
};
|
|
1825
|
+
const parseTimeNumbers = (value, separator) => {
|
|
1826
|
+
let hours, minutes;
|
|
1827
|
+
const timeNumbers = value.replace(/\D/gi, '');
|
|
1828
|
+
switch (separator) {
|
|
1829
|
+
case 0:
|
|
1830
|
+
hours = 0;
|
|
1831
|
+
minutes = parseInt(timeNumbers.trim().slice(0, 2));
|
|
1832
|
+
break;
|
|
1833
|
+
case 1:
|
|
1834
|
+
hours = parseInt(timeNumbers.slice(0, 1));
|
|
1835
|
+
minutes = parseInt(timeNumbers.slice(1, 3));
|
|
1836
|
+
break;
|
|
1837
|
+
default:
|
|
1838
|
+
hours = parseInt(timeNumbers.slice(0, 2));
|
|
1839
|
+
minutes = parseInt(timeNumbers.slice(2, 4));
|
|
1840
|
+
}
|
|
1841
|
+
return { hours, minutes };
|
|
1842
|
+
};
|
|
1843
|
+
const formatTime = (hours, minutes, meridian, format) => {
|
|
1844
|
+
const normalizeHours = (h) => Number.isNaN(h) ? '00' : h.toString().padStart(2, '0');
|
|
1845
|
+
const normalizeMinutes = (m) => Number.isNaN(m) ? '00' : m.toString().padStart(2, '0');
|
|
1846
|
+
if (meridian && normalizeHours(hours) === '00' && normalizeMinutes(minutes) === '00') {
|
|
1847
|
+
return '';
|
|
1848
|
+
}
|
|
1849
|
+
let hoursResult = Number.parseInt(normalizeHours(hours));
|
|
1850
|
+
let meridianResult = meridian;
|
|
1851
|
+
if ((format === 'hh:mm A') && hoursResult > 12) {
|
|
1852
|
+
hoursResult -= 12;
|
|
1853
|
+
meridianResult = 'PM';
|
|
1854
|
+
}
|
|
1855
|
+
if ((format === 'hh:mm A') && hoursResult === 0) {
|
|
1856
|
+
hoursResult = 12;
|
|
1857
|
+
}
|
|
1858
|
+
const time = `${normalizeHours(hoursResult)}:${normalizeMinutes(minutes)}`;
|
|
1859
|
+
return meridianResult ? time.concat(` ${meridianResult}`) : time;
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
const DEFAULT_MODE = EditMode.FORM;
|
|
1863
|
+
const valueToTimeString = (value, format) => {
|
|
1864
|
+
if (value === null)
|
|
1865
|
+
return null;
|
|
1866
|
+
return uuiDayjs.dayjs()
|
|
1867
|
+
.set(value)
|
|
1868
|
+
.format(format === 24 ? 'HH:mm' : 'hh:mm A');
|
|
1869
|
+
};
|
|
1870
|
+
function TimePickerComponent(props, ref) {
|
|
1871
|
+
const [state, setState] = useState({
|
|
1872
|
+
isOpen: false,
|
|
1873
|
+
value: valueToTimeString(props.value, props.format),
|
|
1874
|
+
inputValue: valueToTimeString(props.value, props.format),
|
|
1875
|
+
});
|
|
1876
|
+
useEffect(() => {
|
|
1877
|
+
if (valueToTimeString(props.value, props.format) !== state.value) {
|
|
1878
|
+
const stringValue = valueToTimeString(props.value, props.format);
|
|
1879
|
+
setState((prevState) => ({
|
|
1880
|
+
...prevState,
|
|
1881
|
+
value: stringValue,
|
|
1882
|
+
inputValue: stringValue,
|
|
1883
|
+
}));
|
|
1884
|
+
}
|
|
1885
|
+
}, [props.value, props.format]);
|
|
1886
|
+
const getFormat = () => props.format === 24 ? 'HH:mm' : 'hh:mm A';
|
|
1887
|
+
const isTimeValid = (newValue) => uuiDayjs.dayjs(newValue, getFormat(), true).isValid();
|
|
1888
|
+
const formatStringTimeToObject = (stringTime) => {
|
|
1889
|
+
if (stringTime) {
|
|
1890
|
+
const value = uuiDayjs.dayjs(stringTime, getFormat(), true);
|
|
1891
|
+
return { hours: value.hour(), minutes: value.minute() };
|
|
1892
|
+
}
|
|
1893
|
+
return { hours: null, minutes: null };
|
|
1750
1894
|
};
|
|
1751
|
-
const
|
|
1752
|
-
|
|
1753
|
-
|
|
1895
|
+
const onClear = () => {
|
|
1896
|
+
props.onValueChange(null);
|
|
1897
|
+
};
|
|
1898
|
+
const onToggle = (value) => {
|
|
1899
|
+
setState((prevState) => ({ ...prevState, isOpen: value }));
|
|
1900
|
+
};
|
|
1901
|
+
const saveTime = (newTime) => {
|
|
1902
|
+
setState((prevState) => ({ ...prevState, inputValue: newTime }));
|
|
1903
|
+
props.onValueChange(formatStringTimeToObject(newTime));
|
|
1904
|
+
};
|
|
1905
|
+
const getTimeFromInputValue = (newValue) => {
|
|
1906
|
+
const trimmedNewValue = newValue.trimStart();
|
|
1907
|
+
const separator = trimmedNewValue.search(/\D/);
|
|
1908
|
+
const meridian = getMeridian(trimmedNewValue, getFormat());
|
|
1909
|
+
const { hours, minutes } = parseTimeNumbers(trimmedNewValue, separator);
|
|
1910
|
+
return formatTime(hours, minutes, meridian, getFormat());
|
|
1911
|
+
};
|
|
1912
|
+
const handleBodyValueChange = (newValue) => {
|
|
1913
|
+
const inputValue = valueToTimeString(newValue, props.format);
|
|
1914
|
+
saveTime(inputValue);
|
|
1915
|
+
};
|
|
1916
|
+
const handleFocus = (e) => {
|
|
1917
|
+
onToggle(true);
|
|
1918
|
+
props.onFocus?.(e);
|
|
1919
|
+
};
|
|
1920
|
+
const handleInputChange = (newValue) => {
|
|
1921
|
+
setState((prevState) => ({ ...prevState, inputValue: newValue }));
|
|
1922
|
+
if (newValue) {
|
|
1923
|
+
const result = getTimeFromInputValue(newValue);
|
|
1924
|
+
if (isTimeValid(result)) {
|
|
1925
|
+
setState((prevState) => ({ ...prevState, value: result }));
|
|
1926
|
+
}
|
|
1754
1927
|
}
|
|
1755
1928
|
};
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1929
|
+
const handleBlur = (e) => {
|
|
1930
|
+
if (isFocusReceiverInsideFocusLock(e))
|
|
1931
|
+
return;
|
|
1932
|
+
onToggle(false);
|
|
1933
|
+
props.onBlur?.(e);
|
|
1934
|
+
if (state.value === '' || state.inputValue === '') {
|
|
1935
|
+
props.onValueChange(null);
|
|
1936
|
+
setState((prevState) => ({ ...prevState, value: null, inputValue: null }));
|
|
1937
|
+
}
|
|
1938
|
+
state.value && state.inputValue && saveTime(state.value);
|
|
1939
|
+
};
|
|
1940
|
+
const renderInput = (inputProps) => {
|
|
1941
|
+
return (React__default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$1g.root, css$1g.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input }));
|
|
1942
|
+
};
|
|
1943
|
+
const renderBody = (bodyProps) => {
|
|
1944
|
+
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
1945
|
+
return (!props.isDisabled && !props.isReadonly && (React__default.createElement(DropdownContainer, { ...bodyProps, focusLock: false },
|
|
1946
|
+
React__default.createElement(TimePickerBody, { ...timePickerBodyProps, onValueChange: handleBodyValueChange, value: formatStringTimeToObject(state.value), rawProps: props.rawProps?.body, cx: props.bodyCx }))));
|
|
1947
|
+
};
|
|
1948
|
+
return (React__default.createElement(Dropdown$1, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, middleware: [offset(6)], ref: ref }));
|
|
1761
1949
|
}
|
|
1950
|
+
const TimePicker = /* @__PURE__ */React__default.forwardRef(TimePickerComponent);
|
|
1762
1951
|
|
|
1763
|
-
var css$
|
|
1952
|
+
var css$1f = {"root":"ndk9mV"};
|
|
1764
1953
|
|
|
1765
|
-
function
|
|
1954
|
+
function applyInputAddonMods() {
|
|
1766
1955
|
return [
|
|
1767
|
-
css$
|
|
1768
|
-
css$1g[`mode-${mods.mode || 'block'}`],
|
|
1769
|
-
mods.padding && css$1g['padding-' + mods.padding],
|
|
1956
|
+
css$1f.root,
|
|
1770
1957
|
];
|
|
1771
1958
|
}
|
|
1772
|
-
const
|
|
1773
|
-
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
1774
|
-
}));
|
|
1775
|
-
|
|
1776
|
-
var css$1f = {"root":"JM65gt","align-items":"_8N-gf1","alignItems":"_8N-gf1","justify-content":"FzlziJ","justifyContent":"FzlziJ","border-top":"G-Jrm2","borderTop":"G-Jrm2","border-bottom":"fvLekY","borderBottom":"fvLekY","top-shadow":"Da78j2","topShadow":"Da78j2","padding":"QdPLyi","margin":"cBfAR0","vPadding":"jZ0Sxz","column-gap":"jfHu3S","columnGap":"jfHu3S","row-gap":"D--o7K","rowGap":"D--o7K","spacing":"kl4fPc"};
|
|
1777
|
-
|
|
1778
|
-
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1f.flexCell]);
|
|
1779
|
-
|
|
1780
|
-
const FlexRow = (props) => {
|
|
1781
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1782
|
-
if (props.spacing) {
|
|
1783
|
-
devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
|
-
const classNames = cx$1([
|
|
1787
|
-
css$1f.root,
|
|
1788
|
-
'uui-flex-row',
|
|
1789
|
-
props.onClick && uuiMarkers.clickable,
|
|
1790
|
-
props.cx,
|
|
1791
|
-
props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
|
|
1792
|
-
props.alignItems && css$1f.alignItems,
|
|
1793
|
-
props.justifyContent && css$1f.justifyContent,
|
|
1794
|
-
props.padding && css$1f.padding,
|
|
1795
|
-
props.vPadding && css$1f.vPadding,
|
|
1796
|
-
props.margin && css$1f.margin,
|
|
1797
|
-
props.topShadow && css$1f.topShadow,
|
|
1798
|
-
props.borderBottom && css$1f.borderBottom,
|
|
1799
|
-
props.borderTop && css$1f.borderTop,
|
|
1800
|
-
props.columnGap && css$1f.columnGap,
|
|
1801
|
-
props.rowGap && css$1f.rowGap,
|
|
1802
|
-
props.spacing && css$1f.spacing,
|
|
1803
|
-
props.background && `uui-flex-row-bg-${props.background}`,
|
|
1804
|
-
]);
|
|
1805
|
-
const style = {
|
|
1806
|
-
...(props.alignItems && { '--uui-flex-row-align-items': props.alignItems }),
|
|
1807
|
-
...(props.justifyContent && { '--uui-flex-row-justify-content': props.justifyContent }),
|
|
1808
|
-
...(props.columnGap && { '--uui-flex-row-column-gap': `${props.columnGap}px` }),
|
|
1809
|
-
...(props.rowGap && { '--uui-flex-row-row-gap': `${props.rowGap}px` }),
|
|
1810
|
-
...(props.padding && { '--uui-flex-row-padding': `${props.padding}px` }),
|
|
1811
|
-
...(props.vPadding && { '--uui-flex-row-v-padding': `${props.vPadding}px` }),
|
|
1812
|
-
...(props.margin && { '--uui-flex-row-margin': `${props.margin}px` }),
|
|
1813
|
-
...(props.spacing && { '--uui-flex-row-spacing': `${props.spacing}px` }),
|
|
1814
|
-
};
|
|
1815
|
-
return (React__default.createElement("div", { ref: props.ref, onClick: props.onClick ? (e) => !isEventTargetInsideClickable(e) && props.onClick(e) : undefined, className: classNames, ...props.rawProps, style: {
|
|
1816
|
-
...style,
|
|
1817
|
-
...props.rawProps?.style,
|
|
1818
|
-
} }, props.children));
|
|
1819
|
-
};
|
|
1959
|
+
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
1820
1960
|
|
|
1821
|
-
var css$1e = {"root":"
|
|
1961
|
+
var css$1e = {"root":"hiFkv-"};
|
|
1822
1962
|
|
|
1823
|
-
|
|
1824
|
-
'uui-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
props.margin && css$1e['margin-' + props.margin],
|
|
1828
|
-
props.background && css$1e[`uui-${props.background}`],
|
|
1829
|
-
]);
|
|
1963
|
+
function applySliderMods() {
|
|
1964
|
+
return [css$1e.root, 'uui-color-neutral'];
|
|
1965
|
+
}
|
|
1966
|
+
const Slider = /* @__PURE__ */withMods(Slider$1, applySliderMods);
|
|
1830
1967
|
|
|
1831
|
-
var css$1d = {"root":"
|
|
1968
|
+
var css$1d = {"root":"_1-Vbnk"};
|
|
1832
1969
|
|
|
1833
1970
|
function applyTooltipMods(mods) {
|
|
1834
1971
|
return [
|
|
@@ -1838,54 +1975,286 @@ function applyTooltipMods(mods) {
|
|
|
1838
1975
|
}
|
|
1839
1976
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1840
1977
|
|
|
1841
|
-
var css$1c = {"root":"
|
|
1978
|
+
var css$1c = {"root":"en2wWB","tooltip":"DW1IUb"};
|
|
1842
1979
|
|
|
1843
|
-
function
|
|
1980
|
+
function applyRatingMods(mods) {
|
|
1844
1981
|
return [
|
|
1845
|
-
'uui-labeled-input',
|
|
1846
1982
|
css$1c.root,
|
|
1847
|
-
|
|
1983
|
+
`uui-size-${mods.size || settings.rating.sizes.default}`,
|
|
1848
1984
|
];
|
|
1849
1985
|
}
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
}
|
|
1856
|
-
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
1986
|
+
const Rating = /* @__PURE__ */withMods(uuiComponents.Rating, applyRatingMods, (props) => ({
|
|
1987
|
+
filledStarIcon: props.icon || settings.rating.icons.filledRatingIcon,
|
|
1988
|
+
emptyStarIcon: props.icon || settings.rating.icons.emptyRatingIcon,
|
|
1989
|
+
Tooltip,
|
|
1990
|
+
}));
|
|
1857
1991
|
|
|
1858
|
-
var css$1b = {"root":"
|
|
1992
|
+
var css$1b = {"root":"K7R5Zc","main-path":"_10J0b-","mainPath":"_10J0b-","content-wrapper":"d3PC5b","contentWrapper":"d3PC5b","content":"FExR8H","action-wrapper":"l-yDvs","actionWrapper":"l-yDvs","icon-wrapper":"_0180sV","iconWrapper":"_0180sV","icon":"jbrwDx","close-icon":"IfWR6i","closeIcon":"IfWR6i"};
|
|
1859
1993
|
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1994
|
+
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", { role: "alert", ref: ref, className: cx('uui-alert', css$1b.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
1995
|
+
React.createElement("div", { className: css$1b.mainPath },
|
|
1996
|
+
React.createElement("div", { className: css$1b.contentWrapper },
|
|
1997
|
+
props.icon && (React.createElement("div", { className: css$1b.iconWrapper },
|
|
1998
|
+
React.createElement(IconContainer, { icon: props.icon, cx: css$1b.icon }))),
|
|
1999
|
+
React.createElement("div", { className: css$1b.content },
|
|
2000
|
+
props.children,
|
|
2001
|
+
props.actions && (React.createElement("div", { className: css$1b.actionWrapper }, props.actions.map((action) => (React.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$1b.actionLink, size: settings.alert.sizes.actionMap[props.size || settings.alert.sizes.default] }))))))),
|
|
2002
|
+
props.onClose && React.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$1b.closeIcon })))));
|
|
2003
|
+
const WarningAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.warningIcon, color: "warning", ref: ref, ...props }));
|
|
2004
|
+
const SuccessAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.successIcon, color: "success", ref: ref, ...props }));
|
|
2005
|
+
const HintAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.infoIcon, color: "info", ref: ref, ...props }));
|
|
2006
|
+
const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createElement(Alert, { icon: settings.alert.icons.errorIcon, color: "error", ref: ref, ...props }));
|
|
2007
|
+
|
|
2008
|
+
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
2009
|
+
|
|
2010
|
+
var css$1a = {"submenu-root-item-rtl":"r0k0Oq","submenuRootItemRtl":"r0k0Oq","icon-after":"QaD199","iconAfter":"QaD199","submenu-root-item":"A0CTBY","submenuRootItem":"A0CTBY","icon-check":"lwXpEc","iconCheck":"lwXpEc","splitter-root":"VErtwX","splitterRoot":"VErtwX","splitter":"CsAeWy","header-root":"emnFhA","headerRoot":"emnFhA","item-root":"CQS3QM","itemRoot":"CQS3QM","icon":"_2XLx-E","link":"uIMVqS","indent":"f59C--","selected-mark":"zpoL9q","selectedMark":"zpoL9q"};
|
|
2011
|
+
|
|
2012
|
+
var IDropdownControlKeys;
|
|
2013
|
+
(function (IDropdownControlKeys) {
|
|
2014
|
+
IDropdownControlKeys["ENTER"] = "Enter";
|
|
2015
|
+
IDropdownControlKeys["ESCAPE"] = "Escape";
|
|
2016
|
+
IDropdownControlKeys["LEFT_ARROW"] = "ArrowLeft";
|
|
2017
|
+
IDropdownControlKeys["RIGHT_ARROW"] = "ArrowRight";
|
|
2018
|
+
IDropdownControlKeys["UP_ARROW"] = "ArrowUp";
|
|
2019
|
+
IDropdownControlKeys["DOWN_ARROW"] = "ArrowDown";
|
|
2020
|
+
})(IDropdownControlKeys || (IDropdownControlKeys = {}));
|
|
2021
|
+
function DropdownMenuContainer(props) {
|
|
2022
|
+
const menuRef = useRef(null);
|
|
2023
|
+
const [currentlyFocused, setFocused] = useState(0);
|
|
2024
|
+
const menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll(`[role="menuitem"]:not(.${uuiMod.disabled})`)) : [];
|
|
2025
|
+
const changeFocus = (nextFocusedIndex) => {
|
|
2026
|
+
if (menuItems.length > 0) {
|
|
2027
|
+
setFocused(nextFocusedIndex);
|
|
2028
|
+
menuItems[nextFocusedIndex].focus();
|
|
2029
|
+
}
|
|
2030
|
+
};
|
|
2031
|
+
const handleArrowKeys = (e) => {
|
|
2032
|
+
const lastMenuItemsIndex = menuItems.length - 1;
|
|
2033
|
+
if (e.key === IDropdownControlKeys.UP_ARROW) {
|
|
2034
|
+
changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
|
|
2035
|
+
e.preventDefault();
|
|
2036
|
+
}
|
|
2037
|
+
else if (e.key === IDropdownControlKeys.DOWN_ARROW) {
|
|
2038
|
+
changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
|
|
2039
|
+
e.preventDefault();
|
|
2040
|
+
}
|
|
2041
|
+
else if (e.key === props.closeOnKey && props.onClose) {
|
|
2042
|
+
e.stopPropagation();
|
|
2043
|
+
props.onClose();
|
|
2044
|
+
}
|
|
2045
|
+
};
|
|
2046
|
+
return (React__default.createElement(DropdownContainer, { ...props, rawProps: { ...props.rawProps, role: 'menu' }, ref: menuRef, width: props.minWidth, lockProps: { onKeyDown: handleArrowKeys }, cx: [props.cx] }));
|
|
2047
|
+
}
|
|
2048
|
+
const DropdownMenuBody = /* @__PURE__ */withMods(DropdownMenuContainer, () => ['uui-dropdownMenu-body'], (props) => {
|
|
2049
|
+
return ({ closeOnKey: IDropdownControlKeys.ESCAPE, ...props });
|
|
2050
|
+
});
|
|
2051
|
+
const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
2052
|
+
const context = useContext(UuiContext);
|
|
2053
|
+
const { icon, iconPosition, onIconClick, caption, isDisabled, isSelected, isActive, link, href, onClick, toggleDropdownOpening, isDropdown, isOpen, target, } = props;
|
|
2054
|
+
const handleClick = (event) => {
|
|
2055
|
+
if (isDisabled || !onClick)
|
|
2056
|
+
return;
|
|
2057
|
+
!isEventTargetInsideClickable(event) && onClick(event);
|
|
2058
|
+
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
2059
|
+
};
|
|
2060
|
+
const handleOpenDropdown = (event) => {
|
|
2061
|
+
if (event.key === IDropdownControlKeys.RIGHT_ARROW && isDropdown) {
|
|
2062
|
+
toggleDropdownOpening(true);
|
|
2063
|
+
}
|
|
2064
|
+
else if (event.key === IDropdownControlKeys.ENTER && onClick) {
|
|
2065
|
+
onClick(event);
|
|
2066
|
+
// Fix bug when click event is triggered after Enter key.
|
|
2067
|
+
// Tricky case when modal window is opened from dropdown menu and click on modal header cross is triggered, that leads to modal close.
|
|
2068
|
+
// https://github.com/epam/UUI/issues/2754
|
|
2069
|
+
event.preventDefault();
|
|
2070
|
+
}
|
|
2071
|
+
};
|
|
2072
|
+
const getMenuButtonContent = () => {
|
|
2073
|
+
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
2074
|
+
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
2075
|
+
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: cx$1(css$1a.icon, iconPosition === 'right' ? css$1a.iconAfter : css$1a.iconBefore) }));
|
|
2076
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
2077
|
+
isIconBefore && iconElement,
|
|
2078
|
+
React__default.createElement(Text$1, { cx: props.indent && css$1a.indent }, caption),
|
|
2079
|
+
isIconAfter && (React__default.createElement(React__default.Fragment, null,
|
|
2080
|
+
React__default.createElement(FlexSpacer, null),
|
|
2081
|
+
iconElement))));
|
|
2082
|
+
};
|
|
2083
|
+
const isAnchor = Boolean(link || href);
|
|
2084
|
+
const itemClassNames = cx$1(props.cx, css$1a.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened, (!isDisabled && onClick) && uuiMarkers.clickable);
|
|
2085
|
+
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$1a.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__default.createElement("div", { tabIndex: isDisabled ? -1 : 0, role: "menuitem", onKeyDown: isDisabled ? null : handleOpenDropdown, className: itemClassNames, onClick: handleClick, ref: ref },
|
|
2086
|
+
getMenuButtonContent(),
|
|
2087
|
+
isSelected && (React__default.createElement(React__default.Fragment, null,
|
|
2088
|
+
React__default.createElement(FlexSpacer, null),
|
|
2089
|
+
React__default.createElement(IconContainer, { icon: settings.dropdownMenu.icons.acceptIcon, cx: css$1a.selectedMark })))));
|
|
2090
|
+
});
|
|
2091
|
+
function DropdownMenuSplitter(props) {
|
|
2092
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$1a.splitterRoot) },
|
|
2093
|
+
React__default.createElement("hr", { className: css$1a.splitter })));
|
|
2094
|
+
}
|
|
2095
|
+
function DropdownMenuHeader(props) {
|
|
2096
|
+
return (React__default.createElement("div", { className: cx$1('uui-dropdown-menu-header', props.cx, css$1a.headerRoot) },
|
|
2097
|
+
React__default.createElement("span", { className: css$1a.header }, props.caption)));
|
|
2098
|
+
}
|
|
2099
|
+
function DropdownSubMenu(props) {
|
|
2100
|
+
const subMenuMiddleware = [
|
|
2101
|
+
offset(({ placement }) => {
|
|
2102
|
+
if (placement === 'right-start'
|
|
2103
|
+
|| placement === 'left-start') {
|
|
2104
|
+
return { crossAxis: -6, mainAxis: 0 };
|
|
2105
|
+
}
|
|
2106
|
+
else {
|
|
2107
|
+
return { crossAxis: 6, mainAxis: 0 };
|
|
2108
|
+
}
|
|
2109
|
+
}),
|
|
2110
|
+
];
|
|
2111
|
+
const isRtl = getDir() === 'rtl';
|
|
2112
|
+
return (React__default.createElement(Dropdown$1, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', middleware: subMenuMiddleware, renderBody: (dropdownProps) => !props.isDisabled && (React__default.createElement(DropdownMenuBody, { closeOnKey: IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__default.createElement(DropdownMenuButton, { cx: cx$1(isRtl ? css$1a.submenuRootItemRtl : css$1a.submenuRootItem), icon: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
2113
|
+
}
|
|
2114
|
+
function DropdownMenuSwitchButton(props) {
|
|
2115
|
+
const context = useContext(UuiContext);
|
|
2116
|
+
const { icon, caption, isDisabled, isSelected, onValueChange, } = props;
|
|
2117
|
+
const onHandleValueChange = (value) => {
|
|
2118
|
+
if (isDisabled || !onValueChange)
|
|
2119
|
+
return;
|
|
2120
|
+
onValueChange(value);
|
|
2121
|
+
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
2122
|
+
};
|
|
2123
|
+
const handleKeySelect = (e) => {
|
|
2124
|
+
if (e.key === IDropdownControlKeys.ENTER) {
|
|
2125
|
+
onHandleValueChange(!isSelected);
|
|
2126
|
+
}
|
|
2127
|
+
};
|
|
2128
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$1a.itemRoot, isDisabled && uuiMod.disabled, (!isDisabled || onValueChange) && uuiMarkers.clickable), onClick: () => onHandleValueChange(!isSelected), role: "menuitem", onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 },
|
|
2129
|
+
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$1a.iconBefore }),
|
|
2130
|
+
React__default.createElement(Text$1, null, caption),
|
|
2131
|
+
React__default.createElement(FlexSpacer, null),
|
|
2132
|
+
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
var css$19 = {"root":"pBc3vk","mode-block":"_1Thyg1","modeBlock":"_1Thyg1","mode-inline":"yxldBv","modeInline":"yxldBv","padding-0":"vlbyeC","padding0":"vlbyeC","padding-6":"iHq1th","padding6":"iHq1th","padding-12":"_9qUnou","padding12":"_9qUnou","padding-18":"HrCPXF","padding18":"HrCPXF"};
|
|
2136
|
+
|
|
2137
|
+
function applyAccordionMods(mods) {
|
|
2138
|
+
return [
|
|
2139
|
+
css$19.root,
|
|
2140
|
+
css$19[`mode-${mods.mode || 'block'}`],
|
|
2141
|
+
mods.padding && css$19['padding-' + mods.padding],
|
|
2142
|
+
];
|
|
2143
|
+
}
|
|
2144
|
+
const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordionMods, (mods) => ({
|
|
2145
|
+
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
2146
|
+
}));
|
|
2147
|
+
|
|
2148
|
+
var css$18 = {"root":"qzAX7q","align-items":"usw-vI","alignItems":"usw-vI","justify-content":"Tur3gE","justifyContent":"Tur3gE","border-top":"n51xB1","borderTop":"n51xB1","border-bottom":"iODUie","borderBottom":"iODUie","top-shadow":"O90dMr","topShadow":"O90dMr","padding":"C-318h","margin":"-ZExPF","vPadding":"ufWCBK","column-gap":"deWxSp","columnGap":"deWxSp","row-gap":"QWci7Z","rowGap":"QWci7Z","spacing":"mRwlqA"};
|
|
2149
|
+
|
|
2150
|
+
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$18.flexCell]);
|
|
2151
|
+
|
|
2152
|
+
const FlexRow = /* @__PURE__ */forwardRef((props, ref) => {
|
|
2153
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2154
|
+
if (props.spacing) {
|
|
2155
|
+
devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
const classNames = cx$1([
|
|
2159
|
+
css$18.root,
|
|
2160
|
+
'uui-flex-row',
|
|
2161
|
+
props.onClick && uuiMarkers.clickable,
|
|
2162
|
+
props.cx,
|
|
2163
|
+
props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
|
|
2164
|
+
props.alignItems && css$18.alignItems,
|
|
2165
|
+
props.justifyContent && css$18.justifyContent,
|
|
2166
|
+
props.padding && css$18.padding,
|
|
2167
|
+
props.vPadding && css$18.vPadding,
|
|
2168
|
+
props.margin && css$18.margin,
|
|
2169
|
+
props.topShadow && css$18.topShadow,
|
|
2170
|
+
props.borderBottom && css$18.borderBottom,
|
|
2171
|
+
props.borderTop && css$18.borderTop,
|
|
2172
|
+
props.columnGap && css$18.columnGap,
|
|
2173
|
+
props.rowGap && css$18.rowGap,
|
|
2174
|
+
props.spacing && css$18.spacing,
|
|
2175
|
+
props.background && `uui-flex-row-bg-${props.background}`,
|
|
2176
|
+
]);
|
|
2177
|
+
let alignItemsValue = props.alignItems;
|
|
2178
|
+
if (alignItemsValue === 'top') {
|
|
2179
|
+
alignItemsValue = 'flex-start';
|
|
2180
|
+
}
|
|
2181
|
+
else if (alignItemsValue === 'bottom') {
|
|
2182
|
+
alignItemsValue = 'flex-end';
|
|
2183
|
+
}
|
|
2184
|
+
const style = {
|
|
2185
|
+
...(props.alignItems && { '--uui-flex-row-align-items': alignItemsValue }),
|
|
2186
|
+
...(props.justifyContent && { '--uui-flex-row-justify-content': props.justifyContent }),
|
|
2187
|
+
...(props.columnGap && { '--uui-flex-row-column-gap': `${props.columnGap}px` }),
|
|
2188
|
+
...(props.rowGap && { '--uui-flex-row-row-gap': `${props.rowGap}px` }),
|
|
2189
|
+
...(props.padding && { '--uui-flex-row-padding': `${props.padding}px` }),
|
|
2190
|
+
...(props.vPadding && { '--uui-flex-row-v-padding': `${props.vPadding}px` }),
|
|
2191
|
+
...(props.margin && { '--uui-flex-row-margin': `${props.margin}px` }),
|
|
2192
|
+
...(props.spacing && { '--uui-flex-row-spacing': `${props.spacing}px` }),
|
|
2193
|
+
};
|
|
2194
|
+
return (React__default.createElement("div", { ref: ref, onClick: props.onClick ? (e) => !isEventTargetInsideClickable(e) && props.onClick(e) : undefined, className: classNames, ...props.rawProps, style: {
|
|
2195
|
+
...style,
|
|
2196
|
+
...props.rawProps?.style,
|
|
2197
|
+
} }, props.children));
|
|
2198
|
+
});
|
|
2199
|
+
|
|
2200
|
+
var css$17 = {"root":"NHrSMd","margin-24":"lWA3Ll","margin24":"lWA3Ll","padding-12":"NzWAwY","padding12":"NzWAwY","padding-24":"le5WWy","padding24":"le5WWy","shadow":"_7j5dvN","uui-surface-main":"a6cPFq","uuiSurfaceMain":"a6cPFq"};
|
|
2201
|
+
|
|
2202
|
+
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
2203
|
+
'uui-panel',
|
|
2204
|
+
css$17.root,
|
|
2205
|
+
props.shadow && css$17.shadow,
|
|
2206
|
+
props.margin && css$17['margin-' + props.margin],
|
|
2207
|
+
props.background && css$17[`uui-${props.background}`],
|
|
2208
|
+
]);
|
|
2209
|
+
|
|
2210
|
+
var css$16 = {"root":"sPPeqc"};
|
|
2211
|
+
|
|
2212
|
+
function applyLabeledInputMods(mods) {
|
|
2213
|
+
return [
|
|
2214
|
+
'uui-labeled-input',
|
|
2215
|
+
css$16.root,
|
|
2216
|
+
'uui-size-' + (mods.size || settings.labeledInput.sizes.default),
|
|
2217
|
+
];
|
|
2218
|
+
}
|
|
2219
|
+
function applyLabeledInputProps(props) {
|
|
2220
|
+
return ({
|
|
2221
|
+
Tooltip: props.Tooltip || Tooltip,
|
|
2222
|
+
infoIcon: props.infoIcon || props.size <= '30' ? settings.labeledInput.icons.fillInfoIcon : settings.labeledInput.icons.infoIcon,
|
|
2223
|
+
});
|
|
2224
|
+
}
|
|
2225
|
+
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
2226
|
+
|
|
2227
|
+
var css$15 = {"root":"_4FZeuM"};
|
|
2228
|
+
|
|
2229
|
+
function RadioGroup(props) {
|
|
2230
|
+
const direction = props.direction || 'vertical';
|
|
2231
|
+
const handleChange = (newVal) => {
|
|
2232
|
+
if (newVal !== props.value) {
|
|
2233
|
+
props.onValueChange(newVal);
|
|
2234
|
+
}
|
|
1866
2235
|
};
|
|
1867
|
-
return (React.createElement("fieldset", { ref: props.forwardedRef, className: cx$1(css$
|
|
2236
|
+
return (React.createElement("fieldset", { ref: props.forwardedRef, className: cx$1(css$15.root, directionMode[direction], props.cx), onFocus: props.onFocus, onBlur: props.onBlur, ...props.rawProps }, props.items.map((i) => {
|
|
1868
2237
|
const { id, name, renderName, ...restItemProps } = i;
|
|
1869
2238
|
return (React.createElement(RadioInput, { name: props.name, renderLabel: i.renderName ? i.renderName : () => i.name, value: props.value === i.id, onValueChange: () => handleChange(i.id), isDisabled: props.isDisabled || i.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, isRequired: props.isRequired, key: i.id.toString(), size: props.size || i.size, ...restItemProps }));
|
|
1870
2239
|
})));
|
|
1871
2240
|
}
|
|
1872
2241
|
|
|
1873
|
-
var css$
|
|
2242
|
+
var css$14 = {"root":"Q1AGp-"};
|
|
1874
2243
|
|
|
1875
2244
|
function applyScrollBarsMods() {
|
|
1876
2245
|
return [
|
|
1877
|
-
css$
|
|
2246
|
+
css$14.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1878
2247
|
];
|
|
1879
2248
|
}
|
|
1880
2249
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
1881
2250
|
|
|
1882
|
-
var css$
|
|
2251
|
+
var css$13 = {"scroll-container":"TQIrWm","scrollContainer":"TQIrWm","list-container":"DDnpE7","listContainer":"DDnpE7"};
|
|
1883
2252
|
|
|
1884
|
-
var css$
|
|
2253
|
+
var css$12 = {"root":"DOEfus"};
|
|
1885
2254
|
|
|
1886
|
-
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$
|
|
2255
|
+
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$12.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
|
|
1887
2256
|
|
|
1888
|
-
|
|
2257
|
+
const VirtualList = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1889
2258
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = useVirtualList({
|
|
1890
2259
|
value: props.value,
|
|
1891
2260
|
onValueChange: props.onValueChange,
|
|
@@ -1893,11 +2262,11 @@ function VirtualList(props) {
|
|
|
1893
2262
|
rowsCount: props.rowsCount,
|
|
1894
2263
|
rowsSelector: props.rowsSelector,
|
|
1895
2264
|
});
|
|
1896
|
-
React.useImperativeHandle(
|
|
2265
|
+
React.useImperativeHandle(ref, () => scrollContainerRef.current, [scrollContainerRef.current]);
|
|
1897
2266
|
const scrollShadows = useScrollShadows({ root: scrollContainerRef.current });
|
|
1898
2267
|
const renderRows = () => props.renderRows?.({
|
|
1899
2268
|
listContainerRef, estimatedHeight, offsetY, scrollShadows,
|
|
1900
|
-
}) || (React.createElement("div", { className: css$
|
|
2269
|
+
}) || (React.createElement("div", { className: css$13.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
1901
2270
|
React.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
|
|
1902
2271
|
const renderView = ({ style }) => (React.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps }));
|
|
1903
2272
|
const scrollBarsRef = React.useCallback((scrollbars) => {
|
|
@@ -1905,14 +2274,14 @@ function VirtualList(props) {
|
|
|
1905
2274
|
return;
|
|
1906
2275
|
scrollContainerRef.current = scrollbars.container.firstChild;
|
|
1907
2276
|
}, []);
|
|
1908
|
-
return (React.createElement(ScrollBars, { cx: cx$1(css$
|
|
2277
|
+
return (React.createElement(ScrollBars, { cx: cx$1(css$13.scrollContainer, props.cx, {
|
|
1909
2278
|
[uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
|
|
1910
2279
|
[uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
|
|
1911
2280
|
[uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
|
|
1912
2281
|
[uuiMarkers.scrolledBottom]: scrollShadows.verticalBottom,
|
|
1913
2282
|
}), onScroll: handleScroll, renderView: renderView, ref: scrollBarsRef }, renderRows()));
|
|
1914
|
-
}
|
|
1915
|
-
|
|
2283
|
+
});
|
|
2284
|
+
const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1916
2285
|
return (React.createElement(React.Fragment, null,
|
|
1917
2286
|
React.createElement("div", { ...props.rawProps, style: {
|
|
1918
2287
|
...props.style,
|
|
@@ -1923,11 +2292,11 @@ function VirtualListView(props) {
|
|
|
1923
2292
|
overflow: props.isLoading ? 'hidden' : 'scroll',
|
|
1924
2293
|
marginRight: props.isLoading ? 0 : props.style.marginRight,
|
|
1925
2294
|
marginBottom: props.isLoading ? 0 : props.style.marginBottom,
|
|
1926
|
-
}, ref:
|
|
2295
|
+
}, ref: ref }, props.children),
|
|
1927
2296
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1928
|
-
}
|
|
2297
|
+
});
|
|
1929
2298
|
|
|
1930
|
-
var css$
|
|
2299
|
+
var css$11 = {"root":"MJCYgL"};
|
|
1931
2300
|
|
|
1932
2301
|
function CheckboxGroup(props) {
|
|
1933
2302
|
const currentValue = props.value || [];
|
|
@@ -1943,16 +2312,16 @@ function CheckboxGroup(props) {
|
|
|
1943
2312
|
}
|
|
1944
2313
|
props.onValueChange(newSelection);
|
|
1945
2314
|
};
|
|
1946
|
-
return (React.createElement("fieldset", { ref: props.forwardedRef, className: cx$1(css$
|
|
2315
|
+
return (React.createElement("fieldset", { ref: props.forwardedRef, className: cx$1(css$11.root, directionMode[direction], props.cx), ...props.rawProps }, props.items.map((i) => {
|
|
1947
2316
|
const { id, name, renderName, ...restItemProps } = i;
|
|
1948
2317
|
return (React.createElement(Checkbox, { renderLabel: i.renderName ? i.renderName : () => i.name, value: currentValue.indexOf(i.id) !== -1, onValueChange: (selected) => handleChange(selected, i.id), isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, isRequired: props.isRequired, key: i.id.toString(), size: props.size || i.size, ...restItemProps }));
|
|
1949
2318
|
})));
|
|
1950
2319
|
}
|
|
1951
2320
|
|
|
1952
|
-
var css$
|
|
2321
|
+
var css$10 = {"root":"_8y7aYU","modal-blocker":"nqsQXf","modalBlocker":"nqsQXf","animateModalBlocker":"ZgpQBn","modal":"vVk7xY","modal-footer":"-nuw5-","modalFooter":"-nuw5-","border-top":"opcJlX","borderTop":"opcJlX","modal-header":"Ghi9Fk","modalHeader":"Ghi9Fk","border-bottom":"mzS2As","borderBottom":"mzS2As"};
|
|
1953
2322
|
|
|
1954
|
-
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$
|
|
1955
|
-
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$
|
|
2323
|
+
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$10.modalBlocker]);
|
|
2324
|
+
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$10.root, css$10.modal], (props) => {
|
|
1956
2325
|
const width = props.width;
|
|
1957
2326
|
const height = props.height || 'auto';
|
|
1958
2327
|
const maxHeight = isMobile() ? 'var(--uui-modals-mobile-max-height)' : (props.maxHeight || 'var(--uui-modals-max-height)');
|
|
@@ -1966,7 +2335,7 @@ const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$16.root, c
|
|
|
1966
2335
|
};
|
|
1967
2336
|
});
|
|
1968
2337
|
function ModalHeader(props) {
|
|
1969
|
-
return (React__default.createElement("div", { className: cx(css$
|
|
2338
|
+
return (React__default.createElement("div", { className: cx(css$10.root, css$10.modalHeader, 'uui-modal-header', props.borderBottom && css$10.borderBottom, props.cx), ...props.rawProps, style: {
|
|
1970
2339
|
...props.rawProps?.style,
|
|
1971
2340
|
} },
|
|
1972
2341
|
props.title && (React__default.createElement("div", { className: cx('uui-modal-title', 'uui-typography') }, props.title)),
|
|
@@ -1976,7 +2345,7 @@ function ModalHeader(props) {
|
|
|
1976
2345
|
React__default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: settings.modal.icons.closeIcon, onClick: props.onClose })))));
|
|
1977
2346
|
}
|
|
1978
2347
|
function ModalFooter(props) {
|
|
1979
|
-
return (React__default.createElement("div", { className: cx(css$
|
|
2348
|
+
return (React__default.createElement("div", { className: cx(css$10.root, css$10.modalFooter, 'uui-modal-footer', props.borderTop && css$10.borderTop, props.cx), ...props.rawProps, style: {
|
|
1980
2349
|
...props.rawProps?.style,
|
|
1981
2350
|
} }, props.children));
|
|
1982
2351
|
}
|
|
@@ -2019,8 +2388,8 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2019
2388
|
},
|
|
2020
2389
|
},
|
|
2021
2390
|
rangeDatePicker: {
|
|
2022
|
-
pickerPlaceholderFrom: 'From
|
|
2023
|
-
pickerPlaceholderTo: 'To
|
|
2391
|
+
pickerPlaceholderFrom: 'From',
|
|
2392
|
+
pickerPlaceholderTo: 'To',
|
|
2024
2393
|
},
|
|
2025
2394
|
tables: {
|
|
2026
2395
|
noResultsBlock: {
|
|
@@ -2072,6 +2441,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2072
2441
|
emptyPickerPlaceholder: 'Select period',
|
|
2073
2442
|
emptyPlaceholderFrom: 'Select From',
|
|
2074
2443
|
emptyPlaceholderTo: 'Select To',
|
|
2444
|
+
clearCaption: 'CLEAR',
|
|
2075
2445
|
},
|
|
2076
2446
|
pickerInput: {
|
|
2077
2447
|
itemsPlaceholder: 'items',
|
|
@@ -2120,332 +2490,101 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2120
2490
|
'auth-lost': {
|
|
2121
2491
|
title: 'Your session has expired.',
|
|
2122
2492
|
subtitle: 'Attempting to log you in.',
|
|
2123
|
-
},
|
|
2124
|
-
'connection-lost': {
|
|
2125
|
-
title: 'Network connection down',
|
|
2126
|
-
subtitle: 'Please check your network connection.',
|
|
2127
|
-
},
|
|
2128
|
-
maintenance: {
|
|
2129
|
-
title: 'Server maintenance',
|
|
2130
|
-
subtitle: 'We apologize for the inconvenience. Our site is currently under maintenance. Will come back as soon as possible.',
|
|
2131
|
-
},
|
|
2132
|
-
'server-overload': {
|
|
2133
|
-
title: 'Server overloaded',
|
|
2134
|
-
subtitle: 'We are trying to recover. Please wait.',
|
|
2135
|
-
},
|
|
2136
|
-
},
|
|
2137
|
-
supportMessage: undefined,
|
|
2138
|
-
},
|
|
2139
|
-
});
|
|
2140
|
-
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2141
|
-
|
|
2142
|
-
var css$15 = {"root":"LWd33D","icon-wrapper":"_7410h6","iconWrapper":"_7410h6","action-wrapper":"KePmij","actionWrapper":"KePmij","action-link":"kSCKcP","actionLink":"kSCKcP","close-icon":"_81pEY-","closeIcon":"_81pEY-","main-path":"m7cPrZ","mainPath":"m7cPrZ","content":"R3Yufl","close-wrapper":"_2GVdxe","closeWrapper":"_2GVdxe","notification-wrapper":"Dkus1N","notificationWrapper":"Dkus1N","clear-button":"T73uyD","clearButton":"T73uyD"};
|
|
2143
|
-
|
|
2144
|
-
function NotificationCard(props) {
|
|
2145
|
-
const notificationCardNode = React__default.useRef(null);
|
|
2146
|
-
React__default.useImperativeHandle(props.ref, () => notificationCardNode.current, [notificationCardNode.current]);
|
|
2147
|
-
React__default.useLayoutEffect(() => {
|
|
2148
|
-
notificationCardNode.current?.addEventListener('mouseenter', props.clearTimer);
|
|
2149
|
-
notificationCardNode.current?.addEventListener('mouseleave', props.refreshTimer);
|
|
2150
|
-
return () => {
|
|
2151
|
-
notificationCardNode.current?.removeEventListener('mouseenter', props.clearTimer);
|
|
2152
|
-
notificationCardNode.current?.removeEventListener('mouseleave', props.refreshTimer);
|
|
2153
|
-
};
|
|
2154
|
-
}, []);
|
|
2155
|
-
return (React__default.createElement("div", { role: "alert", className: cx('uui-notification_card', props.color && `uui-color-${props.color}`, css$15.root, props.cx), ref: notificationCardNode, ...props.rawProps },
|
|
2156
|
-
React__default.createElement("div", { className: css$15.mainPath },
|
|
2157
|
-
props.icon && (React__default.createElement("div", { className: css$15.iconWrapper },
|
|
2158
|
-
React__default.createElement(IconContainer, { size: 24, icon: props.icon }))),
|
|
2159
|
-
React__default.createElement("div", { className: css$15.content },
|
|
2160
|
-
props.children,
|
|
2161
|
-
props.actions && (React__default.createElement("div", { className: css$15.actionWrapper }, props.actions.map((action) => (React__default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$15.actionLink, size: settings.notificationCard.sizes.action, rawProps: action.rawProps })))))),
|
|
2162
|
-
props.onClose && (React__default.createElement("div", { className: css$15.closeWrapper },
|
|
2163
|
-
React__default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$15.closeIcon }))))));
|
|
2164
|
-
}
|
|
2165
|
-
function WarningNotification(props) {
|
|
2166
|
-
return React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.warningIcon, color: "warning", ...props });
|
|
2167
|
-
}
|
|
2168
|
-
function SuccessNotification(props) {
|
|
2169
|
-
return React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.successIcon, color: "success", ...props });
|
|
2170
|
-
}
|
|
2171
|
-
function HintNotification(props) {
|
|
2172
|
-
return React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.hintIcon, color: "info", ...props });
|
|
2173
|
-
}
|
|
2174
|
-
function ErrorNotification(props) {
|
|
2175
|
-
return React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.errorIcon, color: "error", ...props });
|
|
2176
|
-
}
|
|
2177
|
-
function ClearNotification() {
|
|
2178
|
-
const uuiCtx = useUuiContext();
|
|
2179
|
-
return (React__default.createElement("div", { className: cx(css$15.notificationWrapper, css$15.clearButton) },
|
|
2180
|
-
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
var css$14 = {"footer":"HBtgYa"};
|
|
2184
|
-
|
|
2185
|
-
class ConfirmationModal extends React.Component {
|
|
2186
|
-
render() {
|
|
2187
|
-
let bodyContent;
|
|
2188
|
-
if (this.props.bodyContent) {
|
|
2189
|
-
bodyContent = React.createElement(Panel, { background: "surface-main", margin: "24" }, this.props.bodyContent);
|
|
2190
|
-
}
|
|
2191
|
-
return (React.createElement(ModalBlocker, { ...this.props },
|
|
2192
|
-
React.createElement(ModalWindow, { width: 420 },
|
|
2193
|
-
React.createElement(ModalHeader, { borderBottom: true, title: this.props.caption, onClose: () => this.props.abort() }),
|
|
2194
|
-
React.createElement(ScrollBars, null, bodyContent),
|
|
2195
|
-
React.createElement(ModalFooter, { cx: css$14.footer },
|
|
2196
|
-
this.props.hideCancelButton || (React.createElement(Button, { caption: i18n.form.modals.discardButton, onClick: () => this.props.success(false), fill: "outline", color: "secondary" })),
|
|
2197
|
-
React.createElement(Button, { caption: i18n.form.modals.saveButton, onClick: () => this.props.success(true), color: "primary" })))));
|
|
2198
|
-
}
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
function Snackbar(props) {
|
|
2202
|
-
const uuiCtx = useUuiContext();
|
|
2203
|
-
const forceUpdate = useReliableForceUpdate();
|
|
2204
|
-
useEffect(() => uuiCtx.uuiNotifications.subscribe(() => forceUpdate()), []);
|
|
2205
|
-
let items = uuiCtx.uuiNotifications.getNotifications().slice().reverse();
|
|
2206
|
-
// add button for clear notification list
|
|
2207
|
-
if (items.length > 1) {
|
|
2208
|
-
const clearOperation = {
|
|
2209
|
-
component: ClearNotification,
|
|
2210
|
-
props: { id: 111555, key: 'clearNotification' },
|
|
2211
|
-
config: { position: items[0].config.position, duration: 'forever' },
|
|
2212
|
-
};
|
|
2213
|
-
items = [clearOperation].concat(items);
|
|
2214
|
-
}
|
|
2215
|
-
return React.createElement(Snackbar$1, { forwardedRef: props.forwardedRef, notifications: items });
|
|
2216
|
-
}
|
|
2217
|
-
/**
|
|
2218
|
-
* https://legacy.reactjs.org/docs/hooks-faq.html#is-there-something-like-forceupdate
|
|
2219
|
-
*/
|
|
2220
|
-
function useReliableForceUpdate() {
|
|
2221
|
-
const red = useReducer((x) => x + 1, 0);
|
|
2222
|
-
return red[1];
|
|
2223
|
-
}
|
|
2224
|
-
|
|
2225
|
-
var css$13 = {"root":"RBLD5u","timepicker-input":"_5umJxG","timepickerInput":"_5umJxG","ltr-always":"D1xa9a","ltrAlways":"D1xa9a"};
|
|
2226
|
-
|
|
2227
|
-
const uuiTimePicker = {
|
|
2228
|
-
container: 'uui-timepicker-container',
|
|
2229
|
-
iconUp: 'uui-timepicker-icon-up',
|
|
2230
|
-
iconDown: 'uui-timepicker-icon-down',
|
|
2231
|
-
input: 'uui-timepicker-input',
|
|
2232
|
-
elementContainer: 'uui-timepicker-item',
|
|
2233
|
-
};
|
|
2234
|
-
const MIN_MINUTES = 0;
|
|
2235
|
-
const MAX_MINUTES = 59;
|
|
2236
|
-
const FORMAT_12H = 12;
|
|
2237
|
-
function TimePickerBody(props) {
|
|
2238
|
-
const MIN_HOURS = props.format === FORMAT_12H ? 1 : 0;
|
|
2239
|
-
const MAX_HOURS = props.format || FORMAT_12H;
|
|
2240
|
-
const setValue = (newTime) => {
|
|
2241
|
-
props.onValueChange({ hours: newTime.hour(), minutes: newTime.minute() });
|
|
2242
|
-
};
|
|
2243
|
-
const onHoursChange = (newHours) => {
|
|
2244
|
-
setValue(uuiDayjs.dayjs().set(props.value).hour(newHours));
|
|
2245
|
-
};
|
|
2246
|
-
const onMinutesChange = (newMinutes) => {
|
|
2247
|
-
setValue(uuiDayjs.dayjs().set(props.value).minute(newMinutes));
|
|
2248
|
-
};
|
|
2249
|
-
const onTimeTypeChange = () => {
|
|
2250
|
-
setValue(uuiDayjs.dayjs().set(props.value).add(12, 'h'));
|
|
2251
|
-
};
|
|
2252
|
-
const handleMinutesUpClick = () => {
|
|
2253
|
-
const minutesStep = props.minutesStep || 5;
|
|
2254
|
-
const value = uuiDayjs.dayjs().set(props.value);
|
|
2255
|
-
const minutesToAdd = minutesStep - (value.minute() % minutesStep);
|
|
2256
|
-
onMinutesChange(value.add(minutesToAdd, 'm').minute());
|
|
2257
|
-
};
|
|
2258
|
-
const handleMinutesDownClick = () => {
|
|
2259
|
-
const minutesStep = props.minutesStep || 5;
|
|
2260
|
-
const value = uuiDayjs.dayjs().set(props.value);
|
|
2261
|
-
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
2262
|
-
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
2263
|
-
};
|
|
2264
|
-
return (React.createElement("div", { className: cx$1(css$13.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef, ...props.rawProps },
|
|
2265
|
-
React.createElement("div", { className: css$13.ltrAlways },
|
|
2266
|
-
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2267
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
|
|
2268
|
-
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
2269
|
-
.set(props.value)
|
|
2270
|
-
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
2271
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
|
|
2272
|
-
React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2273
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: handleMinutesUpClick }),
|
|
2274
|
-
React.createElement(NumericInput$1, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
2275
|
-
React.createElement(IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: handleMinutesDownClick }))),
|
|
2276
|
-
MAX_HOURS === FORMAT_12H && (React.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2277
|
-
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: onTimeTypeChange }),
|
|
2278
|
-
React.createElement(TextInput$1, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
2279
|
-
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
2280
|
-
React.createElement(IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: onTimeTypeChange })))));
|
|
2281
|
-
}
|
|
2282
|
-
|
|
2283
|
-
const getMeridian = (newValue, format) => {
|
|
2284
|
-
if (format === 'hh:mm A') {
|
|
2285
|
-
if (newValue.toLowerCase().includes('p') && newValue.toLowerCase().includes('a')) {
|
|
2286
|
-
return newValue.toLowerCase().indexOf('p') < newValue.toLowerCase().indexOf('a') ? 'PM' : 'AM';
|
|
2287
|
-
}
|
|
2288
|
-
return newValue.toLowerCase().includes('p') ? 'PM' : 'AM';
|
|
2289
|
-
}
|
|
2290
|
-
return false;
|
|
2291
|
-
};
|
|
2292
|
-
const parseTimeNumbers = (value, separator) => {
|
|
2293
|
-
let hours, minutes;
|
|
2294
|
-
const timeNumbers = value.replace(/\D/gi, '');
|
|
2295
|
-
switch (separator) {
|
|
2296
|
-
case 0:
|
|
2297
|
-
hours = 0;
|
|
2298
|
-
minutes = parseInt(timeNumbers.trim().slice(0, 2));
|
|
2299
|
-
break;
|
|
2300
|
-
case 1:
|
|
2301
|
-
hours = parseInt(timeNumbers.slice(0, 1));
|
|
2302
|
-
minutes = parseInt(timeNumbers.slice(1, 3));
|
|
2303
|
-
break;
|
|
2304
|
-
default:
|
|
2305
|
-
hours = parseInt(timeNumbers.slice(0, 2));
|
|
2306
|
-
minutes = parseInt(timeNumbers.slice(2, 4));
|
|
2307
|
-
}
|
|
2308
|
-
return { hours, minutes };
|
|
2309
|
-
};
|
|
2310
|
-
const formatTime = (hours, minutes, meridian, format) => {
|
|
2311
|
-
const normalizeHours = (h) => Number.isNaN(h) ? '00' : h.toString().padStart(2, '0');
|
|
2312
|
-
const normalizeMinutes = (m) => Number.isNaN(m) ? '00' : m.toString().padStart(2, '0');
|
|
2313
|
-
if (meridian && normalizeHours(hours) === '00' && normalizeMinutes(minutes) === '00') {
|
|
2314
|
-
return '';
|
|
2315
|
-
}
|
|
2316
|
-
let hoursResult = Number.parseInt(normalizeHours(hours));
|
|
2317
|
-
let meridianResult = meridian;
|
|
2318
|
-
if ((format === 'hh:mm A') && hoursResult > 12) {
|
|
2319
|
-
hoursResult -= 12;
|
|
2320
|
-
meridianResult = 'PM';
|
|
2321
|
-
}
|
|
2322
|
-
if ((format === 'hh:mm A') && hoursResult === 0) {
|
|
2323
|
-
hoursResult = 12;
|
|
2324
|
-
}
|
|
2325
|
-
const time = `${normalizeHours(hoursResult)}:${normalizeMinutes(minutes)}`;
|
|
2326
|
-
return meridianResult ? time.concat(` ${meridianResult}`) : time;
|
|
2327
|
-
};
|
|
2328
|
-
|
|
2329
|
-
const DEFAULT_MODE = EditMode.FORM;
|
|
2330
|
-
const valueToTimeString = (value, format) => {
|
|
2331
|
-
if (value === null)
|
|
2332
|
-
return null;
|
|
2333
|
-
return uuiDayjs.dayjs()
|
|
2334
|
-
.set(value)
|
|
2335
|
-
.format(format === 24 ? 'HH:mm' : 'hh:mm A');
|
|
2336
|
-
};
|
|
2337
|
-
function TimePicker(props) {
|
|
2338
|
-
const [state, setState] = useState({
|
|
2339
|
-
isOpen: false,
|
|
2340
|
-
value: valueToTimeString(props.value, props.format),
|
|
2341
|
-
inputValue: valueToTimeString(props.value, props.format),
|
|
2342
|
-
});
|
|
2343
|
-
useEffect(() => {
|
|
2344
|
-
if (valueToTimeString(props.value, props.format) !== state.value) {
|
|
2345
|
-
const stringValue = valueToTimeString(props.value, props.format);
|
|
2346
|
-
setState((prevState) => ({
|
|
2347
|
-
...prevState,
|
|
2348
|
-
value: stringValue,
|
|
2349
|
-
inputValue: stringValue,
|
|
2350
|
-
}));
|
|
2351
|
-
}
|
|
2352
|
-
}, [props.value, props.format]);
|
|
2353
|
-
const getFormat = () => props.format === 24 ? 'HH:mm' : 'hh:mm A';
|
|
2354
|
-
const isTimeValid = (newValue) => uuiDayjs.dayjs(newValue, getFormat(), true).isValid();
|
|
2355
|
-
const formatStringTimeToObject = (stringTime) => {
|
|
2356
|
-
if (stringTime) {
|
|
2357
|
-
const value = uuiDayjs.dayjs(stringTime, getFormat(), true);
|
|
2358
|
-
return { hours: value.hour(), minutes: value.minute() };
|
|
2359
|
-
}
|
|
2360
|
-
return { hours: null, minutes: null };
|
|
2361
|
-
};
|
|
2362
|
-
const onClear = () => {
|
|
2363
|
-
props.onValueChange(null);
|
|
2364
|
-
};
|
|
2365
|
-
const onToggle = (value) => {
|
|
2366
|
-
setState((prevState) => ({ ...prevState, isOpen: value }));
|
|
2367
|
-
};
|
|
2368
|
-
const saveTime = (newTime) => {
|
|
2369
|
-
setState((prevState) => ({ ...prevState, inputValue: newTime }));
|
|
2370
|
-
props.onValueChange(formatStringTimeToObject(newTime));
|
|
2371
|
-
};
|
|
2372
|
-
const getTimeFromInputValue = (newValue) => {
|
|
2373
|
-
const trimmedNewValue = newValue.trimStart();
|
|
2374
|
-
const separator = trimmedNewValue.search(/\D/);
|
|
2375
|
-
const meridian = getMeridian(trimmedNewValue, getFormat());
|
|
2376
|
-
const { hours, minutes } = parseTimeNumbers(trimmedNewValue, separator);
|
|
2377
|
-
return formatTime(hours, minutes, meridian, getFormat());
|
|
2378
|
-
};
|
|
2379
|
-
const handleBodyValueChange = (newValue) => {
|
|
2380
|
-
const inputValue = valueToTimeString(newValue, props.format);
|
|
2381
|
-
saveTime(inputValue);
|
|
2382
|
-
};
|
|
2383
|
-
const handleFocus = (e) => {
|
|
2384
|
-
onToggle(true);
|
|
2385
|
-
props.onFocus?.(e);
|
|
2386
|
-
};
|
|
2387
|
-
const handleInputChange = (newValue) => {
|
|
2388
|
-
setState((prevState) => ({ ...prevState, inputValue: newValue }));
|
|
2389
|
-
if (newValue) {
|
|
2390
|
-
const result = getTimeFromInputValue(newValue);
|
|
2391
|
-
if (isTimeValid(result)) {
|
|
2392
|
-
setState((prevState) => ({ ...prevState, value: result }));
|
|
2393
|
-
}
|
|
2394
|
-
}
|
|
2395
|
-
};
|
|
2396
|
-
const handleBlur = (e) => {
|
|
2397
|
-
if (isFocusReceiverInsideFocusLock(e))
|
|
2398
|
-
return;
|
|
2399
|
-
onToggle(false);
|
|
2400
|
-
props.onBlur?.(e);
|
|
2401
|
-
if (state.value === '' || state.inputValue === '') {
|
|
2402
|
-
props.onValueChange(null);
|
|
2403
|
-
setState((prevState) => ({ ...prevState, value: null, inputValue: null }));
|
|
2404
|
-
}
|
|
2405
|
-
state.value && state.inputValue && saveTime(state.value);
|
|
2406
|
-
};
|
|
2407
|
-
const renderInput = (inputProps) => {
|
|
2408
|
-
return (React__default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$13.root, css$13.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input }));
|
|
2409
|
-
};
|
|
2410
|
-
const renderBody = (bodyProps) => {
|
|
2411
|
-
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
2412
|
-
return (!props.isDisabled && !props.isReadonly && (React__default.createElement(DropdownContainer, { ...bodyProps, focusLock: false },
|
|
2413
|
-
React__default.createElement(TimePickerBody, { ...timePickerBodyProps, onValueChange: handleBodyValueChange, value: formatStringTimeToObject(state.value), rawProps: props.rawProps?.body, cx: props.bodyCx }))));
|
|
2414
|
-
};
|
|
2415
|
-
return (React__default.createElement(Dropdown, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, modifiers: [{ name: 'offset', options: { offset: [0, 6] } }], forwardedRef: props.forwardedRef }));
|
|
2416
|
-
}
|
|
2493
|
+
},
|
|
2494
|
+
'connection-lost': {
|
|
2495
|
+
title: 'Network connection down',
|
|
2496
|
+
subtitle: 'Please check your network connection.',
|
|
2497
|
+
},
|
|
2498
|
+
maintenance: {
|
|
2499
|
+
title: 'Server maintenance',
|
|
2500
|
+
subtitle: 'We apologize for the inconvenience. Our site is currently under maintenance. Will come back as soon as possible.',
|
|
2501
|
+
},
|
|
2502
|
+
'server-overload': {
|
|
2503
|
+
title: 'Server overloaded',
|
|
2504
|
+
subtitle: 'We are trying to recover. Please wait.',
|
|
2505
|
+
},
|
|
2506
|
+
},
|
|
2507
|
+
supportMessage: undefined,
|
|
2508
|
+
},
|
|
2509
|
+
});
|
|
2510
|
+
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2417
2511
|
|
|
2418
|
-
var css
|
|
2512
|
+
var css$$ = {"root":"_9kT86f","icon-wrapper":"KY7aE6","iconWrapper":"KY7aE6","action-wrapper":"Mjnaui","actionWrapper":"Mjnaui","close-icon":"NCaWlf","closeIcon":"NCaWlf","main-path":"XN7JPH","mainPath":"XN7JPH","content":"FN9pB6","close-wrapper":"CueH3o","closeWrapper":"CueH3o","clear-notifications":"bpTfWq","clearNotifications":"bpTfWq"};
|
|
2419
2513
|
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2514
|
+
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
2515
|
+
const notificationCardNode = React__default.useRef(null);
|
|
2516
|
+
React__default.useImperativeHandle(ref, () => notificationCardNode.current, [notificationCardNode.current]);
|
|
2517
|
+
React__default.useLayoutEffect(() => {
|
|
2518
|
+
notificationCardNode.current?.addEventListener('mouseenter', props.clearTimer);
|
|
2519
|
+
notificationCardNode.current?.addEventListener('mouseleave', props.refreshTimer);
|
|
2520
|
+
return () => {
|
|
2521
|
+
notificationCardNode.current?.removeEventListener('mouseenter', props.clearTimer);
|
|
2522
|
+
notificationCardNode.current?.removeEventListener('mouseleave', props.refreshTimer);
|
|
2523
|
+
};
|
|
2524
|
+
}, []);
|
|
2525
|
+
return (React__default.createElement("div", { role: "alert", className: cx('uui-notification_card', props.color && `uui-color-${props.color}`, css$$.root, props.cx), ref: notificationCardNode, ...props.rawProps },
|
|
2526
|
+
React__default.createElement("div", { className: css$$.mainPath },
|
|
2527
|
+
props.icon && (React__default.createElement("div", { className: css$$.iconWrapper },
|
|
2528
|
+
React__default.createElement(IconContainer, { size: settings.notificationCard.sizes.icon, icon: props.icon }))),
|
|
2529
|
+
React__default.createElement("div", { className: css$$.content },
|
|
2530
|
+
props.children,
|
|
2531
|
+
props.actions && (React__default.createElement("div", { className: css$$.actionWrapper }, props.actions.map((action) => (React__default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$$.actionLink, size: settings.notificationCard.sizes.action, rawProps: action.rawProps })))))),
|
|
2532
|
+
props.onClose && (React__default.createElement("div", { className: cx(css$$.closeWrapper, 'uui-notification_card-close_icon') },
|
|
2533
|
+
React__default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$$.closeIcon }))))));
|
|
2534
|
+
});
|
|
2535
|
+
const WarningNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.warningIcon, color: "warning", ...props, ref: ref, cx: props.cx })));
|
|
2536
|
+
const SuccessNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.successIcon, color: "success", ...props, ref: ref, cx: props.cx })));
|
|
2537
|
+
const HintNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.hintIcon, color: "info", ...props, ref: ref, cx: props.cx })));
|
|
2538
|
+
const ErrorNotification = /* @__PURE__ */React__default.forwardRef((props, ref) => (React__default.createElement(NotificationCard, { icon: settings.notificationCard.icons.errorIcon, color: "error", ...props, ref: ref, cx: props.cx })));
|
|
2539
|
+
function ClearNotification() {
|
|
2540
|
+
const uuiCtx = useUuiContext();
|
|
2541
|
+
return (React__default.createElement("div", { className: cx(css$$.clearNotifications, 'uui-clear-notifications') },
|
|
2542
|
+
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2424
2543
|
}
|
|
2425
|
-
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
2426
2544
|
|
|
2427
|
-
var css$
|
|
2545
|
+
var css$_ = {"footer":"MvzBXK"};
|
|
2428
2546
|
|
|
2429
|
-
|
|
2430
|
-
|
|
2547
|
+
class ConfirmationModal extends React.Component {
|
|
2548
|
+
render() {
|
|
2549
|
+
let bodyContent;
|
|
2550
|
+
if (this.props.bodyContent) {
|
|
2551
|
+
bodyContent = React.createElement(Panel, { background: "surface-main", margin: "24" }, this.props.bodyContent);
|
|
2552
|
+
}
|
|
2553
|
+
return (React.createElement(ModalBlocker, { ...this.props },
|
|
2554
|
+
React.createElement(ModalWindow, { width: 420 },
|
|
2555
|
+
React.createElement(ModalHeader, { borderBottom: true, title: this.props.caption, onClose: () => this.props.abort() }),
|
|
2556
|
+
React.createElement(ScrollBars, null, bodyContent),
|
|
2557
|
+
React.createElement(ModalFooter, { cx: css$_.footer },
|
|
2558
|
+
this.props.hideCancelButton || (React.createElement(Button, { caption: i18n.form.modals.discardButton, onClick: () => this.props.success(false), fill: "outline", color: "secondary" })),
|
|
2559
|
+
React.createElement(Button, { caption: i18n.form.modals.saveButton, onClick: () => this.props.success(true), color: "primary" })))));
|
|
2560
|
+
}
|
|
2431
2561
|
}
|
|
2432
|
-
const Slider = /* @__PURE__ */withMods(Slider$1, applySliderMods);
|
|
2433
|
-
|
|
2434
|
-
var css$10 = {"root":"hTytAz","tooltip":"_18y6p7"};
|
|
2435
2562
|
|
|
2436
|
-
function
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2563
|
+
function Snackbar(props) {
|
|
2564
|
+
const uuiCtx = useUuiContext();
|
|
2565
|
+
const forceUpdate = useReliableForceUpdate();
|
|
2566
|
+
useEffect(() => uuiCtx.uuiNotifications.subscribe(() => forceUpdate()), []);
|
|
2567
|
+
let items = uuiCtx.uuiNotifications.getNotifications().slice().reverse();
|
|
2568
|
+
// add button for clear notification list
|
|
2569
|
+
if (items.length > 1) {
|
|
2570
|
+
const clearOperation = {
|
|
2571
|
+
component: ClearNotification,
|
|
2572
|
+
props: { id: 111555, key: 'clearNotification' },
|
|
2573
|
+
config: { position: items[0].config.position, duration: 'forever' },
|
|
2574
|
+
};
|
|
2575
|
+
items = [clearOperation].concat(items);
|
|
2576
|
+
}
|
|
2577
|
+
return React.createElement(Snackbar$1, { forwardedRef: props.forwardedRef, notifications: items });
|
|
2578
|
+
}
|
|
2579
|
+
/**
|
|
2580
|
+
* https://legacy.reactjs.org/docs/hooks-faq.html#is-there-something-like-forceupdate
|
|
2581
|
+
*/
|
|
2582
|
+
function useReliableForceUpdate() {
|
|
2583
|
+
const red = useReducer((x) => x + 1, 0);
|
|
2584
|
+
return red[1];
|
|
2441
2585
|
}
|
|
2442
|
-
const Rating = /* @__PURE__ */withMods(uuiComponents.Rating, applyRatingMods, (props) => ({
|
|
2443
|
-
filledStarIcon: props.icon || settings.rating.icons.filledRatingIcon,
|
|
2444
|
-
emptyStarIcon: props.icon || settings.rating.icons.emptyRatingIcon,
|
|
2445
|
-
Tooltip,
|
|
2446
|
-
}));
|
|
2447
2586
|
|
|
2448
|
-
var css
|
|
2587
|
+
var css$Z = {"root":"R-HcNd","container":"UT0xT3"};
|
|
2449
2588
|
|
|
2450
2589
|
const defaultFormat = 'MMM D, YYYY';
|
|
2451
2590
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2478,7 +2617,7 @@ const getMonthOnOpen = (selectedDate, focus) => {
|
|
|
2478
2617
|
};
|
|
2479
2618
|
const isValidDate = (input, format, filter) => {
|
|
2480
2619
|
const parsedDate = uuiDayjs.dayjs(input, supportedDateFormats(format), true);
|
|
2481
|
-
return parsedDate.isValid()
|
|
2620
|
+
return filter ? parsedDate.isValid() && filter(parsedDate) : parsedDate.isValid();
|
|
2482
2621
|
};
|
|
2483
2622
|
const isValidRange = (range) => {
|
|
2484
2623
|
const from = uuiDayjs.dayjs(range.from);
|
|
@@ -2649,26 +2788,27 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2649
2788
|
}, [view, month]);
|
|
2650
2789
|
const disablePrev = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getPrevYearsList(month));
|
|
2651
2790
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2652
|
-
return (React.createElement("div", { className: cx(css
|
|
2791
|
+
return (React.createElement("div", { className: cx(css$Z.root, uuiHeader.container, cx) },
|
|
2653
2792
|
React.createElement("header", { className: uuiHeader.headerNav },
|
|
2654
2793
|
React.createElement(Button, { icon: navIconLeft || settings.datePicker.icons.body.prevIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2655
2794
|
React.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2656
2795
|
React.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2657
2796
|
}
|
|
2658
2797
|
|
|
2659
|
-
var css$
|
|
2798
|
+
var css$Y = {"root":"_8Y9OQe"};
|
|
2660
2799
|
|
|
2661
2800
|
function applyDateSelectionMods() {
|
|
2662
|
-
return [css$
|
|
2801
|
+
return [css$Y.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2663
2802
|
}
|
|
2664
2803
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2665
2804
|
|
|
2666
|
-
var css$
|
|
2805
|
+
var css$X = {"root":"sDsW55"};
|
|
2667
2806
|
|
|
2668
2807
|
const uuiDatePickerBody = {
|
|
2669
2808
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
2670
2809
|
};
|
|
2671
|
-
|
|
2810
|
+
const DatePickerBody = /* @__PURE__ */forwardRef(DatePickerBodyComp);
|
|
2811
|
+
function DatePickerBodyComp(props, ref) {
|
|
2672
2812
|
const { value, onValueChange } = props;
|
|
2673
2813
|
const [month, setMonth] = useState(getNewMonth(value));
|
|
2674
2814
|
const [view, setView] = useState('DAY_SELECTION');
|
|
@@ -2677,10 +2817,11 @@ function DatePickerBody(props) {
|
|
|
2677
2817
|
setMonth(getNewMonth(value));
|
|
2678
2818
|
setView('DAY_SELECTION');
|
|
2679
2819
|
}, [value, setMonth]);
|
|
2680
|
-
return (React__default.createElement(StatelessDatePickerBody, { ref:
|
|
2820
|
+
return (React__default.createElement(StatelessDatePickerBody, { ref: ref, ...props, month: month, view: view, onValueChange: onValueChange, onMonthChange: (m) => setMonth(m), onViewChange: (v) => setView(v) }));
|
|
2681
2821
|
}
|
|
2682
|
-
|
|
2683
|
-
|
|
2822
|
+
const StatelessDatePickerBody = /* @__PURE__ */forwardRef(StatelessDatePickerBodyComp);
|
|
2823
|
+
function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter, rawProps, value, month, view, onValueChange, onMonthChange, onViewChange, isDisabled, }, ref) {
|
|
2824
|
+
const selectedDate = useMemo(() => uuiDayjs.dayjs(value), [value]);
|
|
2684
2825
|
const onMonthClick = (newDate) => {
|
|
2685
2826
|
onMonthChange(newDate);
|
|
2686
2827
|
onViewChange('DAY_SELECTION');
|
|
@@ -2705,7 +2846,7 @@ function StatelessDatePickerBody({ renderDay, isHoliday, cx: classes, filter, ra
|
|
|
2705
2846
|
}
|
|
2706
2847
|
};
|
|
2707
2848
|
return (React__default.createElement("div", { ref: ref, className: cx$1(uuiDatePickerBodyBase.container, `uui-size-${settings.datePicker.sizes.body}`, classes), ...rawProps },
|
|
2708
|
-
React__default.createElement("div", { className: cx$1(css$
|
|
2849
|
+
React__default.createElement("div", { className: cx$1(css$X.root, uuiDatePickerBody.wrapper) },
|
|
2709
2850
|
React__default.createElement(DatePickerHeader, { value: {
|
|
2710
2851
|
view,
|
|
2711
2852
|
month,
|
|
@@ -2717,11 +2858,7 @@ function StatelessDatePickerBody({ renderDay, isHoliday, cx: classes, filter, ra
|
|
|
2717
2858
|
}
|
|
2718
2859
|
|
|
2719
2860
|
const defaultMode$1 = EditMode.FORM;
|
|
2720
|
-
|
|
2721
|
-
name: 'offset',
|
|
2722
|
-
options: { offset: [0, 6] },
|
|
2723
|
-
}];
|
|
2724
|
-
function DatePicker(props) {
|
|
2861
|
+
function DatePickerComponent(props, ref) {
|
|
2725
2862
|
const { format = defaultFormat, value, size = settings.datePicker.sizes.input } = props;
|
|
2726
2863
|
const context = useUuiContext();
|
|
2727
2864
|
const [inputValue, setInputValue] = useState(toCustomDateFormat(value, format));
|
|
@@ -2750,8 +2887,9 @@ function DatePicker(props) {
|
|
|
2750
2887
|
onValueChange(toValueDateFormat(inputValue, format));
|
|
2751
2888
|
}
|
|
2752
2889
|
else {
|
|
2753
|
-
|
|
2754
|
-
|
|
2890
|
+
const newValue = props.preventEmpty ? value : null;
|
|
2891
|
+
setInputValue(toCustomDateFormat(newValue, format));
|
|
2892
|
+
onValueChange(newValue);
|
|
2755
2893
|
}
|
|
2756
2894
|
};
|
|
2757
2895
|
const onInputKeyDown = (e) => {
|
|
@@ -2761,7 +2899,7 @@ function DatePicker(props) {
|
|
|
2761
2899
|
}
|
|
2762
2900
|
};
|
|
2763
2901
|
const renderInput = (renderProps) => {
|
|
2764
|
-
const allowClear = !props.disableClear && !!inputValue;
|
|
2902
|
+
const allowClear = !props.disableClear && !!inputValue && !props.preventEmpty;
|
|
2765
2903
|
return (React__default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && uuiMod.focus), icon: props.mode !== EditMode.CELL ? settings.datePicker.icons.input.calendarIcon : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: size, value: inputValue || undefined, onValueChange: (v) => {
|
|
2766
2904
|
setInputValue(v || '');
|
|
2767
2905
|
}, onCancel: allowClear ? () => {
|
|
@@ -2772,23 +2910,22 @@ function DatePicker(props) {
|
|
|
2772
2910
|
props.onFocus?.(e);
|
|
2773
2911
|
}, onKeyDown: onInputKeyDown, onBlur: onBlur, mode: props.mode || defaultMode$1, rawProps: props.rawProps?.input, id: props.id }));
|
|
2774
2912
|
};
|
|
2775
|
-
const renderBody = (renderProps) => {
|
|
2913
|
+
const renderBody = useMemo(() => (renderProps) => {
|
|
2776
2914
|
return (React__default.createElement(DropdownContainer, { ...renderProps },
|
|
2777
2915
|
React__default.createElement(DatePickerBody, { value: value, onValueChange: onBodyValueChange, cx: cx$1(props.bodyCx), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay, rawProps: props.rawProps?.body }),
|
|
2778
2916
|
props.renderFooter?.()));
|
|
2779
|
-
};
|
|
2780
|
-
return (React__default.createElement(Dropdown$1, { value: isBodyOpen,
|
|
2917
|
+
}, [value, onBodyValueChange]);
|
|
2918
|
+
return (React__default.createElement(Dropdown$1, { value: isBodyOpen, middleware: [offset(6)], placement: props.placement, ref: ref, onValueChange: (v) => {
|
|
2781
2919
|
setBodyIsOpen(v);
|
|
2782
2920
|
}, renderTarget: (renderProps) => {
|
|
2783
2921
|
return props.renderTarget?.(renderProps) || renderInput(renderProps);
|
|
2784
|
-
}, renderBody:
|
|
2785
|
-
return renderBody(renderProps);
|
|
2786
|
-
} }));
|
|
2922
|
+
}, renderBody: renderBody }));
|
|
2787
2923
|
}
|
|
2924
|
+
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
2788
2925
|
|
|
2789
|
-
var css$
|
|
2926
|
+
var css$W = {"date-input":"K9r-wX","dateInput":"K9r-wX","root":"o-TCjR","separator":"q8bNWT"};
|
|
2790
2927
|
|
|
2791
|
-
|
|
2928
|
+
const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, preventEmptyFromDate, preventEmptyToDate, id, cx: classes, }, ref) => {
|
|
2792
2929
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
2793
2930
|
useEffect(() => {
|
|
2794
2931
|
setInputValue(toCustomDateRangeFormat(value, format));
|
|
@@ -2804,19 +2941,29 @@ function RangeDatePickerInput({ isDisabled, isInvalid, isReadonly, size, disable
|
|
|
2804
2941
|
};
|
|
2805
2942
|
const handleBlur = (event, inputType) => {
|
|
2806
2943
|
onBlurInput?.(event, inputType);
|
|
2944
|
+
const canBeEmpty = {
|
|
2945
|
+
from: !preventEmptyFromDate,
|
|
2946
|
+
to: !preventEmptyToDate,
|
|
2947
|
+
};
|
|
2807
2948
|
const selectedDate = toValueDateRangeFormat(inputValue, format);
|
|
2808
|
-
|
|
2949
|
+
// If new value is null and input can't be empty, set the value to the last selected value
|
|
2950
|
+
if (selectedDate[inputType] === null && !canBeEmpty[inputType]) {
|
|
2951
|
+
selectedDate[inputType] = value[inputType];
|
|
2952
|
+
}
|
|
2953
|
+
const isDateDisabled = filter?.(uuiDayjs.dayjs(selectedDate[inputType])) === false;
|
|
2954
|
+
if (isValidRange(selectedDate) && !isDateDisabled) {
|
|
2809
2955
|
setInputValue(toCustomDateRangeFormat(selectedDate, format));
|
|
2810
2956
|
onValueChange(selectedDate);
|
|
2811
2957
|
}
|
|
2812
2958
|
else {
|
|
2959
|
+
const newValue = !canBeEmpty[inputType] ? value[inputType] : null;
|
|
2813
2960
|
setInputValue({
|
|
2814
2961
|
...inputValue,
|
|
2815
|
-
[inputType]:
|
|
2962
|
+
[inputType]: newValue,
|
|
2816
2963
|
});
|
|
2817
2964
|
onValueChange({
|
|
2818
2965
|
...selectedDate,
|
|
2819
|
-
[inputType]:
|
|
2966
|
+
[inputType]: newValue,
|
|
2820
2967
|
});
|
|
2821
2968
|
}
|
|
2822
2969
|
};
|
|
@@ -2826,18 +2973,23 @@ function RangeDatePickerInput({ isDisabled, isInvalid, isReadonly, size, disable
|
|
|
2826
2973
|
e.preventDefault();
|
|
2827
2974
|
}
|
|
2828
2975
|
};
|
|
2829
|
-
const
|
|
2976
|
+
const onClear = () => {
|
|
2977
|
+
const newValue = {
|
|
2978
|
+
from: preventEmptyFromDate ? value.from : null,
|
|
2979
|
+
to: preventEmptyToDate ? value.to : null,
|
|
2980
|
+
};
|
|
2981
|
+
onValueChange(newValue);
|
|
2982
|
+
};
|
|
2983
|
+
const clearAllowed = !disableClear && !(preventEmptyFromDate && preventEmptyToDate) && inputValue.from && inputValue.to;
|
|
2830
2984
|
return (
|
|
2831
2985
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
2832
|
-
React__default.createElement("div", { ref: ref, className: cx$1(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$
|
|
2833
|
-
React__default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: cx$1(css$
|
|
2834
|
-
React__default.createElement("div", { className: css$
|
|
2835
|
-
React__default.createElement(TextInput, { cx: cx$1(css$
|
|
2836
|
-
|
|
2837
|
-
} : undefined, onValueChange: (v) => onInputChange(v || '', 'to'), onFocus: (e) => handleFocus(e, 'to'), onBlur: (e) => handleBlur(e, 'to'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.to, onClick: onClick, onKeyDown: onInputKeyDown })));
|
|
2838
|
-
}
|
|
2986
|
+
React__default.createElement("div", { ref: ref, className: cx$1(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$W.root, isDisabled && uuiMod.disabled, isReadonly && uuiMod.readonly, isInvalid && uuiMod.invalid, inFocus && uuiMod.focus), onKeyDown: onKeyDown },
|
|
2987
|
+
React__default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: cx$1(css$W.dateInput, inFocus === 'from' && uuiMod.focus), size: size || settings.rangeDatePicker.sizes.default, placeholder: getPlaceholder ? getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: inputValue.from || undefined, onValueChange: (v) => onInputChange(v || '', 'from'), onFocus: (event) => handleFocus(event, 'from'), onBlur: (event) => handleBlur(event, 'from'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.from, onClick: onClick, onKeyDown: onInputKeyDown, id: id }),
|
|
2988
|
+
React__default.createElement("div", { className: css$W.separator }),
|
|
2989
|
+
React__default.createElement(TextInput, { cx: cx$1(css$W.dateInput, inFocus === 'to' && uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.rangeDatePicker.sizes.default, value: inputValue.to || undefined, onCancel: clearAllowed ? onClear : undefined, onValueChange: (v) => onInputChange(v || '', 'to'), onFocus: (e) => handleFocus(e, 'to'), onBlur: (e) => handleBlur(e, 'to'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.to, onClick: onClick, onKeyDown: onInputKeyDown })));
|
|
2990
|
+
});
|
|
2839
2991
|
|
|
2840
|
-
var css$
|
|
2992
|
+
var css$V = {"root":"A4B-Mg"};
|
|
2841
2993
|
|
|
2842
2994
|
const uuiPresets = {
|
|
2843
2995
|
container: 'uui-presets-container',
|
|
@@ -2852,12 +3004,12 @@ const getPresets = (presets) => {
|
|
|
2852
3004
|
})).sort((a, b) => a.order - b.order);
|
|
2853
3005
|
};
|
|
2854
3006
|
function CalendarPresets(props) {
|
|
2855
|
-
return (React.createElement("div", { ref: props.forwardedRef, className: cx$1(uuiPresets.container, css$
|
|
3007
|
+
return (React.createElement("div", { ref: props.forwardedRef, className: cx$1(uuiPresets.container, css$V.root, props.cx), ...props.rawProps },
|
|
2856
3008
|
React.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
2857
3009
|
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
2858
3010
|
}
|
|
2859
3011
|
|
|
2860
|
-
var css$
|
|
3012
|
+
var css$U = {"root":"_7zrH-q","container":"tEq1JO","day-selection":"cwbB5v","daySelection":"cwbB5v","from-picker":"_4phH1F","fromPicker":"_4phH1F","to-picker":"KNGWbN","toPicker":"KNGWbN","bodes-wrapper":"Fle-xd","bodesWrapper":"Fle-xd","blocker":"OL8E2L"};
|
|
2861
3013
|
|
|
2862
3014
|
const uuiRangeDatePickerBody = {
|
|
2863
3015
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -2931,7 +3083,8 @@ const rangeDatePickerPresets = {
|
|
|
2931
3083
|
}),
|
|
2932
3084
|
},
|
|
2933
3085
|
};
|
|
2934
|
-
|
|
3086
|
+
const RangeDatePickerBody = /* @__PURE__ */forwardRef(RangeDatePickerBodyComp);
|
|
3087
|
+
function RangeDatePickerBodyComp(props, ref) {
|
|
2935
3088
|
const { value: _value, filter } = props;
|
|
2936
3089
|
const { selectedDate: _selectedDate, inFocus, } = _value;
|
|
2937
3090
|
const selectedDate = _selectedDate || defaultRangeValue; // also handles null in comparison to default value
|
|
@@ -2997,21 +3150,21 @@ function RangeDatePickerBody(props) {
|
|
|
2997
3150
|
});
|
|
2998
3151
|
}, presets: presets })));
|
|
2999
3152
|
};
|
|
3000
|
-
return (React__default.createElement("div", { ref:
|
|
3001
|
-
React__default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$
|
|
3153
|
+
return (React__default.createElement("div", { ref: ref, className: cx(css$U.root, uuiDatePickerBodyBase.container, props.cx), ...props.rawProps },
|
|
3154
|
+
React__default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$U.daySelection, css$U.container], alignItems: "top" },
|
|
3002
3155
|
React__default.createElement(FlexCell, { width: "auto" },
|
|
3003
3156
|
React__default.createElement(FlexRow, null,
|
|
3004
|
-
React__default.createElement(FlexRow, { cx: css$
|
|
3005
|
-
React__default.createElement(StatelessDatePickerBody, { key: "date-picker-body-left", cx: cx
|
|
3157
|
+
React__default.createElement(FlexRow, { cx: css$U.bodesWrapper, alignItems: "top" },
|
|
3158
|
+
React__default.createElement(StatelessDatePickerBody, { key: "date-picker-body-left", cx: cx(css$U.fromPicker), ...from, onValueChange: (v) => onBodyValueChange(v, 'from'), onMonthChange: (m) => {
|
|
3006
3159
|
setMonth(m);
|
|
3007
3160
|
}, onViewChange: (v) => setView(v), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay || renderDay, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'to' }),
|
|
3008
|
-
React__default.createElement(StatelessDatePickerBody, { key: "date-picker-body-right", cx: cx
|
|
3161
|
+
React__default.createElement(StatelessDatePickerBody, { key: "date-picker-body-right", cx: cx(css$U.toPicker), ...to, onValueChange: (v) => onBodyValueChange(v, 'to'), onMonthChange: (m) => {
|
|
3009
3162
|
setMonth(m.subtract(1, 'month'));
|
|
3010
3163
|
}, onViewChange: (v) => setView(v), filter: props.filter, renderDay: props.renderDay || renderDay, isHoliday: props.isHoliday, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'from' }),
|
|
3011
3164
|
view !== 'DAY_SELECTION' && (React__default.createElement("div", { style: {
|
|
3012
3165
|
left: activeMonth === 'from' ? '50%' : undefined,
|
|
3013
3166
|
right: activeMonth === 'to' ? '50%' : undefined,
|
|
3014
|
-
}, className: css$
|
|
3167
|
+
}, className: css$U.blocker }))),
|
|
3015
3168
|
props.presets && renderPresets(props.presets)),
|
|
3016
3169
|
props.renderFooter && props.renderFooter()))));
|
|
3017
3170
|
}
|
|
@@ -3028,22 +3181,19 @@ const getDayCX = (day, selectedDate) => {
|
|
|
3028
3181
|
&& fromValue !== toValue;
|
|
3029
3182
|
const isFirst = dayValue === fromValue;
|
|
3030
3183
|
const isLast = dayValue === toValue;
|
|
3031
|
-
return [cx
|
|
3184
|
+
return [cx(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiDaySelection.selectedDay)];
|
|
3032
3185
|
};
|
|
3033
3186
|
|
|
3034
|
-
var css$
|
|
3187
|
+
var css$T = {"dropdown-container":"I0pZsA","dropdownContainer":"I0pZsA"};
|
|
3035
3188
|
|
|
3036
|
-
|
|
3037
|
-
name: 'offset',
|
|
3038
|
-
options: { offset: [0, 6] },
|
|
3039
|
-
}];
|
|
3040
|
-
function RangeDatePicker(props) {
|
|
3189
|
+
function RangeDatePickerComponent(props, ref) {
|
|
3041
3190
|
const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
|
|
3042
3191
|
const value = _value || defaultRangeValue; // also handles null in comparison to default value
|
|
3043
3192
|
const context = useUuiContext();
|
|
3044
3193
|
const [isOpen, setIsOpen] = useState(false);
|
|
3045
3194
|
const [inFocus, setInFocus] = useState(null);
|
|
3046
3195
|
const targetRef = React__default.useRef(null);
|
|
3196
|
+
useImperativeHandle(ref, () => targetRef.current);
|
|
3047
3197
|
const onValueChange = (newValue) => {
|
|
3048
3198
|
const fromChanged = value?.from !== newValue?.from;
|
|
3049
3199
|
const toChanged = value?.to !== newValue?.to;
|
|
@@ -3060,7 +3210,10 @@ function RangeDatePicker(props) {
|
|
|
3060
3210
|
props.onOpenChange?.(newIsOpen);
|
|
3061
3211
|
if (!inFocus && newIsOpen) {
|
|
3062
3212
|
setInFocus('from');
|
|
3063
|
-
targetRef.current
|
|
3213
|
+
if (targetRef.current) {
|
|
3214
|
+
const inputElement = targetRef.current.querySelector('.uui-input');
|
|
3215
|
+
inputElement?.focus();
|
|
3216
|
+
}
|
|
3064
3217
|
}
|
|
3065
3218
|
};
|
|
3066
3219
|
const onBodyValueChange = (newValue) => {
|
|
@@ -3075,7 +3228,7 @@ function RangeDatePicker(props) {
|
|
|
3075
3228
|
}
|
|
3076
3229
|
};
|
|
3077
3230
|
const renderBody = (renderProps) => {
|
|
3078
|
-
return (React__default.createElement(DropdownContainer, { ...renderProps, cx: cx(css$
|
|
3231
|
+
return (React__default.createElement(DropdownContainer, { ...renderProps, cx: cx(css$T.dropdownContainer), shards: [targetRef], returnFocus: true },
|
|
3079
3232
|
React__default.createElement(FlexRow, null,
|
|
3080
3233
|
React__default.createElement(RangeDatePickerBody, { cx: cx(props.bodyCx), value: {
|
|
3081
3234
|
selectedDate: _value,
|
|
@@ -3091,105 +3244,79 @@ function RangeDatePicker(props) {
|
|
|
3091
3244
|
}
|
|
3092
3245
|
};
|
|
3093
3246
|
return (React__default.createElement(Dropdown$1, { renderTarget: (renderProps) => {
|
|
3094
|
-
return props.renderTarget?.(renderProps) || (React__default.createElement(RangeDatePickerInput, { id: props.id, ref: (node) => { renderProps.ref(node); targetRef.current = node; }, cx: props.inputCx, onClick: () => renderProps.toggleDropdownOpening(true), isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadonly: props.isReadonly, size: size, getPlaceholder: props.getPlaceholder, disableClear: props.disableClear, rawProps: props.rawProps, inFocus: inFocus, value: value, format: format, onValueChange: onValueChange, onFocusInput: (e, type) => {
|
|
3247
|
+
return props.renderTarget?.(renderProps) || (React__default.createElement(RangeDatePickerInput, { id: props.id, ref: (node) => { renderProps.ref(node); targetRef.current = node; }, cx: props.inputCx, onClick: () => renderProps.toggleDropdownOpening(true), isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadonly: props.isReadonly, size: size, getPlaceholder: props.getPlaceholder, disableClear: props.disableClear, rawProps: props.rawProps, inFocus: inFocus, value: value, format: format, filter: props.filter, onValueChange: onValueChange, onFocusInput: (e, type) => {
|
|
3095
3248
|
props.onFocus?.(e, type);
|
|
3096
3249
|
setInFocus(type);
|
|
3097
|
-
}, onBlurInput: (e, type) => { props.onBlur?.(e, type); !isOpen && setInFocus(null); }, onKeyDown: handleEscape }));
|
|
3098
|
-
}, renderBody: (renderProps) => renderBody(renderProps), onValueChange: (v) => onOpenChange(v), value: isOpen,
|
|
3250
|
+
}, onBlurInput: (e, type) => { props.onBlur?.(e, type); !isOpen && setInFocus(null); }, onKeyDown: handleEscape, preventEmptyFromDate: props.preventEmptyFromDate, preventEmptyToDate: props.preventEmptyToDate }));
|
|
3251
|
+
}, renderBody: (renderProps) => renderBody(renderProps), onValueChange: (v) => onOpenChange(v), value: isOpen, middleware: [offset(6)], placement: props.placement, ref: ref }));
|
|
3099
3252
|
}
|
|
3253
|
+
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
3100
3254
|
|
|
3101
|
-
var css$
|
|
3255
|
+
var css$S = {"root":"EFl2tP","blocker":"S2868f","marker":"BCbh7c","top":"PD2ecb","bottom":"RJQErR","left":"Qa0l1r","right":"_0aNpGJ","inside":"W-sqv5"};
|
|
3102
3256
|
|
|
3103
3257
|
function DropMarker(props) {
|
|
3104
3258
|
return props.isDndInProgress
|
|
3105
3259
|
? (React.createElement(React.Fragment, null,
|
|
3106
|
-
props.enableBlocker && React.createElement("div", { className: css$
|
|
3260
|
+
props.enableBlocker && React.createElement("div", { className: css$S.blocker }),
|
|
3107
3261
|
React.createElement("div", { className: cx([
|
|
3108
|
-
css$
|
|
3109
|
-
css$
|
|
3110
|
-
css$
|
|
3262
|
+
css$S.root,
|
|
3263
|
+
css$S.marker,
|
|
3264
|
+
css$S[props.position],
|
|
3111
3265
|
props?.cx,
|
|
3112
3266
|
]) })))
|
|
3113
3267
|
: null;
|
|
3114
3268
|
}
|
|
3115
3269
|
|
|
3116
|
-
var css$T = {"root":"_6TpRRQ","line-height":"bFyoXD","lineHeight":"bFyoXD","font-size":"VQiYxl","fontSize":"VQiYxl"};
|
|
3117
|
-
|
|
3118
|
-
function applyTextMods(mods) {
|
|
3119
|
-
return [
|
|
3120
|
-
css$T.root,
|
|
3121
|
-
'uui-text',
|
|
3122
|
-
`uui-size-${mods.size || settings.text.sizes.default}`,
|
|
3123
|
-
(mods.size !== 'none' || mods.lineHeight) && css$T.lineHeight,
|
|
3124
|
-
(mods.size !== 'none' || mods.fontSize) && css$T.fontSize,
|
|
3125
|
-
`uui-color-${mods.color || 'primary'}`,
|
|
3126
|
-
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
3127
|
-
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
3128
|
-
'uui-typography-inline',
|
|
3129
|
-
];
|
|
3130
|
-
}
|
|
3131
|
-
const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props) => {
|
|
3132
|
-
const style = props?.rawProps?.style || {};
|
|
3133
|
-
props.fontSize && (style['--uui-text-font-size'] = `${props.fontSize}px`);
|
|
3134
|
-
props.lineHeight && (style['--uui-text-line-height'] = `${props.lineHeight}px`);
|
|
3135
|
-
return {
|
|
3136
|
-
rawProps: {
|
|
3137
|
-
...props?.rawProps,
|
|
3138
|
-
style: style,
|
|
3139
|
-
},
|
|
3140
|
-
};
|
|
3141
|
-
});
|
|
3142
|
-
|
|
3143
3270
|
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
3144
3271
|
|
|
3145
|
-
var css$
|
|
3272
|
+
var css$R = {"search-wrapper":"wW24bF","searchWrapper":"wW24bF","no-data":"vemIPi","noData":"vemIPi"};
|
|
3146
3273
|
|
|
3147
|
-
var css$
|
|
3274
|
+
var css$Q = {"picker-row":"ph-Tnk","pickerRow":"ph-Tnk","align-widgets-top":"JdeWZz","alignWidgetsTop":"JdeWZz","row-content":"V6Nie4","rowContent":"V6Nie4","align-widgets-center":"Wc1LQz","alignWidgetsCenter":"Wc1LQz","icon-container":"_1gb2yf","iconContainer":"_1gb2yf","content-wrapper":"jYV0Un","contentWrapper":"jYV0Un","icon-wrapper":"ScKFht","iconWrapper":"ScKFht","icon-default":"Cm-RyN","iconDefault":"Cm-RyN","selected-mark":"_4vBGYx","selectedMark":"_4vBGYx"};
|
|
3148
3275
|
|
|
3149
|
-
var css$
|
|
3276
|
+
var css$P = {"root":"iU2qDg"};
|
|
3150
3277
|
|
|
3151
|
-
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$
|
|
3278
|
+
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$P.root]);
|
|
3152
3279
|
|
|
3153
|
-
var css$
|
|
3280
|
+
var css$O = {"root":"_2cvYP6"};
|
|
3154
3281
|
|
|
3155
3282
|
const DEFAULT_FILL = 'solid';
|
|
3156
3283
|
function applyBadgeMods(mods) {
|
|
3157
3284
|
return [
|
|
3158
3285
|
'uui-badge',
|
|
3159
|
-
css$
|
|
3286
|
+
css$O.root,
|
|
3160
3287
|
`uui-size-${mods.size || settings.badge.sizes.default}`,
|
|
3161
3288
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
3162
3289
|
`uui-color-${mods.color || 'info'}`,
|
|
3163
3290
|
];
|
|
3164
3291
|
}
|
|
3165
|
-
const Badge = (props) => {
|
|
3292
|
+
const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
3166
3293
|
const styles = [applyBadgeMods(props), props.cx];
|
|
3167
3294
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.badge.icons.dropdownIcon;
|
|
3168
3295
|
return (React__default.createElement(Clickable, { ...props, rawProps: {
|
|
3169
3296
|
'aria-haspopup': props.isDropdown,
|
|
3170
3297
|
'aria-expanded': props.isOpen,
|
|
3171
3298
|
...props.rawProps,
|
|
3172
|
-
}, cx: styles, ref:
|
|
3299
|
+
}, cx: styles, ref: ref },
|
|
3173
3300
|
(props.indicator && props.fill === 'outline') && (React__default.createElement("div", { className: "uui-indicator" })),
|
|
3174
3301
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3175
3302
|
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
3176
3303
|
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.sizes.countIndicatorMap[props.size || settings.badge.sizes.default], caption: props.count })),
|
|
3177
3304
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3178
3305
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
3179
|
-
};
|
|
3306
|
+
});
|
|
3180
3307
|
|
|
3181
|
-
var css$
|
|
3308
|
+
var css$N = {"root":"-BejNM"};
|
|
3182
3309
|
|
|
3183
3310
|
function applyTagMods(props) {
|
|
3184
3311
|
return [
|
|
3185
|
-
css$
|
|
3312
|
+
css$N.root,
|
|
3186
3313
|
`uui-size-${props.size || settings.tag.sizes.default}`,
|
|
3187
3314
|
`uui-color-${props.color || 'neutral'}`,
|
|
3188
3315
|
`uui-fill-${props.fill || 'solid'}`,
|
|
3189
3316
|
'uui-tag',
|
|
3190
3317
|
];
|
|
3191
3318
|
}
|
|
3192
|
-
|
|
3319
|
+
const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
3193
3320
|
const styles = [applyTagMods(props), props.cx];
|
|
3194
3321
|
const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
|
|
3195
3322
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
|
|
@@ -3197,66 +3324,66 @@ function Tag(props) {
|
|
|
3197
3324
|
'aria-haspopup': props.isDropdown,
|
|
3198
3325
|
'aria-expanded': props.isOpen,
|
|
3199
3326
|
...props.rawProps,
|
|
3200
|
-
}, cx: styles, ref:
|
|
3327
|
+
}, cx: styles, ref: ref },
|
|
3201
3328
|
props.icon && props.iconPosition !== 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3202
3329
|
props.caption && (React__default.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
3203
3330
|
props.count !== undefined && props.count !== null && (React__default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.tag.sizes.countIndicatorMap[(props.size || settings.tag.sizes.default)], caption: props.count })),
|
|
3204
3331
|
props.icon && props.iconPosition === 'right' && (React__default.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3205
3332
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
3206
3333
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
3207
|
-
}
|
|
3334
|
+
});
|
|
3208
3335
|
|
|
3209
|
-
var css$
|
|
3336
|
+
var css$M = {"root":"v0x1PE","page":"-KGl2H","spacer":"JLZcFN","mode-ghost":"ZvwFdI","modeGhost":"ZvwFdI"};
|
|
3210
3337
|
|
|
3211
3338
|
function Paginator(props) {
|
|
3212
|
-
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$
|
|
3339
|
+
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$M.root, 'uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
|
|
3213
3340
|
React__default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.leftArrowIcon, onClick: params.goToPrev, isDisabled: params.isFirst || props.isDisabled, fill: "outline", color: "secondary" }),
|
|
3214
3341
|
params.pages.map((page, index) => {
|
|
3215
3342
|
if (page.type === 'spacer') {
|
|
3216
|
-
return (React__default.createElement(Button, { cx: cx(css$
|
|
3343
|
+
return (React__default.createElement(Button, { cx: cx(css$M.spacer, css$M.page), size: props.size || settings.paginator.sizes.default, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1, isDisabled: props.isDisabled }));
|
|
3217
3344
|
}
|
|
3218
3345
|
else {
|
|
3219
|
-
return (React__default.createElement(Button, { cx: cx(css$
|
|
3346
|
+
return (React__default.createElement(Button, { cx: cx(css$M[`mode-${!page.isActive && 'ghost'}`], css$M.page), size: props.size || settings.paginator.sizes.default, key: page.pageNumber, caption: page.pageNumber, onClick: () => page.onClick?.(), rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary", isDisabled: props.isDisabled }));
|
|
3220
3347
|
}
|
|
3221
3348
|
}),
|
|
3222
3349
|
React__default.createElement(Button, { size: props.size || settings.paginator.sizes.default, icon: settings.paginator.icons.rightArrowIcon, onClick: params.goToNext, isDisabled: params.isLast || props.isDisabled, fill: "outline", color: "secondary" })));
|
|
3223
3350
|
return React__default.createElement(Paginator$1, { ...props, render: renderPaginator });
|
|
3224
3351
|
}
|
|
3225
3352
|
|
|
3226
|
-
var css$
|
|
3353
|
+
var css$L = {"root":"KDgvT9","progress-bar":"jY5cL3","progressBar":"jY5cL3","progressBar-indeterminate":"jvNQCr","progressBarIndeterminate":"jvNQCr","size-12":"VjJatc","size12":"VjJatc","size-18":"qSXxAc","size18":"qSXxAc","size-24":"A7bvGO","size24":"A7bvGO"};
|
|
3227
3354
|
|
|
3228
|
-
const IndeterminateBar = (props) => {
|
|
3229
|
-
return (React.createElement("div", { ref:
|
|
3230
|
-
React.createElement("div", { className: cx(css$
|
|
3231
|
-
};
|
|
3355
|
+
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3356
|
+
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$L.root, css$L[`size-${props.size || 12}`]) },
|
|
3357
|
+
React.createElement("div", { className: cx(css$L.progressBar) })));
|
|
3358
|
+
});
|
|
3232
3359
|
|
|
3233
|
-
var css$
|
|
3360
|
+
var css$K = {"root":"PW0Hyx","striped":"_1wG27k","animate-stripes":"_8mL9-h","animateStripes":"_8mL9-h","size-12":"g4Eni6","size12":"g4Eni6","size-18":"C--JCG","size18":"C--JCG","size-24":"lHNKhW","size24":"lHNKhW"};
|
|
3234
3361
|
|
|
3235
3362
|
const DEFAULT_SIZE = '12';
|
|
3236
3363
|
function applyProgressBarMods(mods) {
|
|
3237
3364
|
const size = mods.size || DEFAULT_SIZE;
|
|
3238
3365
|
return [
|
|
3239
|
-
css$
|
|
3240
|
-
css$
|
|
3241
|
-
mods.striped && css$
|
|
3366
|
+
css$K.root,
|
|
3367
|
+
css$K[`size-${size}`],
|
|
3368
|
+
mods.striped && css$K.striped,
|
|
3242
3369
|
];
|
|
3243
3370
|
}
|
|
3244
3371
|
const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProgressBarMods, (props) => ({
|
|
3245
3372
|
hideLabel: props.hideLabel || props.striped,
|
|
3246
3373
|
}));
|
|
3247
3374
|
|
|
3248
|
-
var css$
|
|
3375
|
+
var css$J = {"root":"qip-tp"};
|
|
3249
3376
|
|
|
3250
|
-
const IndicatorBar = (props) => {
|
|
3377
|
+
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3251
3378
|
const { progress } = props;
|
|
3252
|
-
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref:
|
|
3253
|
-
};
|
|
3379
|
+
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$J.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$J.root, props.cx) }));
|
|
3380
|
+
});
|
|
3254
3381
|
|
|
3255
|
-
var css$
|
|
3382
|
+
var css$I = {"root":"ZQxRrL"};
|
|
3256
3383
|
|
|
3257
|
-
|
|
3258
|
-
return (React__default.createElement("div", { ref:
|
|
3259
|
-
css$
|
|
3384
|
+
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
3385
|
+
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
3386
|
+
css$I.root,
|
|
3260
3387
|
`uui-size-${props.size || settings.statusIndicator.sizes.default}`,
|
|
3261
3388
|
'uui-status_indicator',
|
|
3262
3389
|
`uui-color-${props.color || 'neutral'}`,
|
|
@@ -3265,9 +3392,9 @@ function StatusIndicator(props) {
|
|
|
3265
3392
|
]) },
|
|
3266
3393
|
React__default.createElement("div", { className: "uui-status_indicator-dot" }),
|
|
3267
3394
|
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
3268
|
-
}
|
|
3395
|
+
});
|
|
3269
3396
|
|
|
3270
|
-
var css$
|
|
3397
|
+
var css$H = {"drag-handle":"wf0uUl","dragHandle":"wf0uUl","icon-container":"wsHObI","iconContainer":"wsHObI"};
|
|
3271
3398
|
|
|
3272
3399
|
function DataRowAddons(props) {
|
|
3273
3400
|
const row = props.rowProps;
|
|
@@ -3278,13 +3405,13 @@ function DataRowAddons(props) {
|
|
|
3278
3405
|
return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
|
|
3279
3406
|
};
|
|
3280
3407
|
return (React__default.createElement(React__default.Fragment, null,
|
|
3281
|
-
row.dnd?.srcData && React__default.createElement(DragHandle, { key: "dh", cx: css$
|
|
3408
|
+
row.dnd?.srcData && React__default.createElement(DragHandle, { key: "dh", cx: css$H.dragHandle, rawProps: { ...props.eventHandlers } }),
|
|
3282
3409
|
row?.checkbox?.isVisible && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.dataTable.sizes.body.checkboxMap[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
3283
3410
|
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: cx('uui-dr_addons-indent', `uui-size-${props.size || settings.dataTable.sizes.body.row}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__default.createElement(IconContainer, { rawProps: {
|
|
3284
3411
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
3285
3412
|
role: 'button',
|
|
3286
3413
|
}, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
|
|
3287
|
-
uuiElement.foldingArrow, uuiMarkers.clickable, css$
|
|
3414
|
+
uuiElement.foldingArrow, uuiMarkers.clickable, css$H.iconContainer,
|
|
3288
3415
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
|
|
3289
3416
|
}
|
|
3290
3417
|
|
|
@@ -3353,7 +3480,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3353
3480
|
return getDecoratedText(str, ranges);
|
|
3354
3481
|
};
|
|
3355
3482
|
|
|
3356
|
-
var css$
|
|
3483
|
+
var css$G = {"root":"_5clk7-","column-gap":"_8c7vgV","columnGap":"_8c7vgV","title":"kvoauu","subtitle":"_2zapjq","disabled":"rkxrPP","multiline":"DQqhKN"};
|
|
3357
3484
|
|
|
3358
3485
|
function PickerItem(props) {
|
|
3359
3486
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
@@ -3362,13 +3489,13 @@ function PickerItem(props) {
|
|
|
3362
3489
|
const { search } = props.dataSourceState ?? {};
|
|
3363
3490
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
3364
3491
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(props.subtitle, search) : props.subtitle;
|
|
3365
|
-
return (React.createElement(FlexCell, { width: "auto", cx: [css$
|
|
3366
|
-
React.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$
|
|
3492
|
+
return (React.createElement(FlexCell, { width: "auto", cx: [css$G.root, 'uui-picker_input-item', 'uui-typography', props.cx] },
|
|
3493
|
+
React.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$G.multiline, css$G.columnGap], rawProps: { style: { '--uui-picker_item-vertical-padding': `${settings.pickerInput.sizes.body.itemVerticalPaddingMap[itemSize]}px` } } },
|
|
3367
3494
|
avatarUrl && (React.createElement(Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline) })),
|
|
3368
3495
|
icon && React.createElement(IconContainer, { icon: icon }),
|
|
3369
3496
|
React.createElement(FlexCell, { width: "auto" },
|
|
3370
|
-
title && (React.createElement("div", { className: cx(css$
|
|
3371
|
-
subtitle && (React.createElement("div", { className: cx(css$
|
|
3497
|
+
title && (React.createElement("div", { className: cx(css$G.title, isDisabled && css$G.disabled, `uui-size-${itemSize}`) }, title)),
|
|
3498
|
+
subtitle && (React.createElement("div", { className: cx(css$G.subtitle, isDisabled && css$G.disabled, `uui-size-${itemSize}`) }, subtitle))))));
|
|
3372
3499
|
}
|
|
3373
3500
|
function getAvatarSize(size, isMultiline) {
|
|
3374
3501
|
return settings.pickerInput.sizes.body[isMultiline ? 'itemAvatarMultilineMap' : 'itemAvatarMap'][size];
|
|
@@ -3404,7 +3531,7 @@ function DataPickerRow(props) {
|
|
|
3404
3531
|
const renderContent = () => {
|
|
3405
3532
|
let content;
|
|
3406
3533
|
if (props.isLoading) {
|
|
3407
|
-
content =
|
|
3534
|
+
content = settings.pickerInput.renderPlaceholder({ rowSize: props.size });
|
|
3408
3535
|
}
|
|
3409
3536
|
else if (props.isUnknown) {
|
|
3410
3537
|
content = (React.createElement(Text, { size: props.size }, "Unknown"));
|
|
@@ -3416,19 +3543,19 @@ function DataPickerRow(props) {
|
|
|
3416
3543
|
content = (React.createElement(React.Fragment, null,
|
|
3417
3544
|
renderRowItem(props.value, props),
|
|
3418
3545
|
React.createElement(FlexSpacer, null),
|
|
3419
|
-
(props.isChildrenSelected || props.isSelected) && (React.createElement("div", { className: cx$1(css$
|
|
3420
|
-
React.createElement(IconContainer, { size: settings.pickerInput.sizes.body.selectIconMap[props.size], icon: SelectIcon, cx: props.isChildrenSelected ? css$
|
|
3546
|
+
(props.isChildrenSelected || props.isSelected) && (React.createElement("div", { className: cx$1(css$Q.iconWrapper, 'uui-picker_input-row-select_icon', uuiMod.selected) },
|
|
3547
|
+
React.createElement(IconContainer, { size: settings.pickerInput.sizes.body.selectIconMap[props.size], icon: SelectIcon, cx: props.isChildrenSelected ? css$Q.iconDefault : css$Q.selectedMark, rawProps: { 'aria-label': props.isChildrenSelected
|
|
3421
3548
|
? 'Child is selected'
|
|
3422
3549
|
: 'Selected' } })))));
|
|
3423
3550
|
}
|
|
3424
|
-
return (React.createElement(FlexCell, { grow: 1, width: 0, minWidth: 0, cx: css$
|
|
3551
|
+
return (React.createElement(FlexCell, { grow: 1, width: 0, minWidth: 0, cx: css$Q.rowContent },
|
|
3425
3552
|
React.createElement(DataRowAddons, { size: props.size, rowProps: props, tabIndex: -1 }),
|
|
3426
|
-
React.createElement("div", { className: css$
|
|
3553
|
+
React.createElement("div", { className: css$Q.contentWrapper }, content)));
|
|
3427
3554
|
};
|
|
3428
3555
|
const clickHandler = props.onClick || props.onSelect || props.onFold || props.onCheck;
|
|
3429
3556
|
return (
|
|
3430
3557
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
3431
|
-
React.createElement("div", { onClick: clickHandler && ((e) => !isEventTargetInsideClickable(e) && clickHandler(props)), role: "option", "aria-busy": props.isLoading, "aria-posinset": props.index + 1, "aria-checked": props.checkbox?.isVisible ? props.isChecked : null, "aria-selected": props.isSelectable ? props.isSelected : null, ref: rowNode, className: cx$1(css$
|
|
3558
|
+
React.createElement("div", { onClick: clickHandler && ((e) => !isEventTargetInsideClickable(e) && clickHandler(props)), role: "option", "aria-busy": props.isLoading, "aria-posinset": props.index + 1, "aria-checked": props.checkbox?.isVisible ? props.isChecked : null, "aria-selected": props.isSelectable ? props.isSelected : null, ref: rowNode, className: cx$1(css$Q.pickerRow, 'uui-picker_input-row', props.size && `uui-size-${props.size || settings.pickerInput.sizes.body.row}`, css$Q[`align-widgets-${props.alignActions || 'top'}`], clickHandler && props.isFocused && uuiMod.focus, clickHandler && uuiMarkers.clickable, props.cx), style: props.padding && {
|
|
3432
3559
|
'--uui-data_picker-horizontal-padding': `${props.padding}px`,
|
|
3433
3560
|
}, ...props.rawProps }, renderContent()));
|
|
3434
3561
|
}
|
|
@@ -3456,7 +3583,7 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
|
|
|
3456
3583
|
});
|
|
3457
3584
|
}
|
|
3458
3585
|
if (props.minCharsToSearch && search.length < props.minCharsToSearch) {
|
|
3459
|
-
return (React__default.createElement(FlexCell$1, { cx: css$
|
|
3586
|
+
return (React__default.createElement(FlexCell$1, { cx: css$R.noData, grow: 1, textAlign: "center" },
|
|
3460
3587
|
React__default.createElement(Text, { size: props.searchSize }, i18n.dataPickerBody.typeSearchToLoadMessage)));
|
|
3461
3588
|
}
|
|
3462
3589
|
if (props.rows.length === 0) {
|
|
@@ -3469,7 +3596,7 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
|
|
|
3469
3596
|
search: search,
|
|
3470
3597
|
});
|
|
3471
3598
|
}
|
|
3472
|
-
return (React__default.createElement(FlexCell$1, { cx: css$
|
|
3599
|
+
return (React__default.createElement(FlexCell$1, { cx: css$R.noData, grow: 1, textAlign: "center" },
|
|
3473
3600
|
React__default.createElement(Text, { size: props.searchSize }, i18n.dataPickerBody.noRecordsMessage)));
|
|
3474
3601
|
}
|
|
3475
3602
|
};
|
|
@@ -3483,10 +3610,12 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
|
|
|
3483
3610
|
const pickerRowProps = { ...row, getName: props.getName };
|
|
3484
3611
|
return props.renderRow ? (props.renderRow(pickerRowProps, dsState)) : (React__default.createElement(DataPickerRow, { ...pickerRowProps, key: row.rowKey, size: getRowSize(), flattenSearchResults: props.flattenSearchResults, highlightSearchMatches: highlightSearchMatches, dataSourceState: dsState, getName: props.getName }));
|
|
3485
3612
|
};
|
|
3486
|
-
const searchSize = isMobile()
|
|
3613
|
+
const searchSize = isMobile()
|
|
3614
|
+
? settings.pickerInput.sizes.body.mobileSearchInput
|
|
3615
|
+
: settings.pickerInput.sizes.body.getSearchSize({ pickerSize: props.searchSize });
|
|
3487
3616
|
const renderedDataRows = useMemo(() => props.rows.map((row) => renderRow(row, props.value)), [props.rows, props.value]);
|
|
3488
3617
|
return (React__default.createElement(React__default.Fragment, null,
|
|
3489
|
-
showSearch && (React__default.createElement("div", { key: "search", className: cx$1(css$
|
|
3618
|
+
showSearch && (React__default.createElement("div", { key: "search", className: cx$1(css$R.searchWrapper, 'uui-picker_input-body-search') },
|
|
3490
3619
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
3491
3620
|
React__default.createElement(MoveFocusInside, null,
|
|
3492
3621
|
React__default.createElement(SearchInput, { placeholder: i18n.dataPickerBody.searchPlaceholder, value: props.value.search, onValueChange: (newVal) => props.onValueChange({ ...props.value, search: newVal }), onKeyDown: searchKeyDown, size: searchSize, debounceDelay: props.searchDebounceDelay, rawProps: { dir: 'auto' } }))))),
|
|
@@ -3500,8 +3629,6 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
|
|
|
3500
3629
|
}, rowsCount: props.rowsCount, isLoading: props.isReloading })))));
|
|
3501
3630
|
}
|
|
3502
3631
|
|
|
3503
|
-
var css$G = {"footer":"IlTacl"};
|
|
3504
|
-
|
|
3505
3632
|
function DataPickerFooterImpl(props) {
|
|
3506
3633
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
3507
3634
|
const size = isMobile() ? settings.pickerInput.sizes.body.mobileFooterLinkButton : props.size;
|
|
@@ -3514,7 +3641,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3514
3641
|
const isSearching = search?.length;
|
|
3515
3642
|
const hideFooter = (rowsCount === 0 && !hasSelection) || isSearching || (isSinglePicker && props.disableClear);
|
|
3516
3643
|
const showClear = !props.disableClear && (isSinglePicker ? true : (!view.selectAll || hasSelection));
|
|
3517
|
-
return !hideFooter && (React__default.createElement(FlexRow, { cx:
|
|
3644
|
+
return !hideFooter && (React__default.createElement(FlexRow, { cx: cx('uui-picker_input-footer', props.cx) },
|
|
3518
3645
|
!isSinglePicker && !isSearchTooShort && ( // Show this switch only for multi mode and when some rows rendered
|
|
3519
3646
|
React__default.createElement(Switch, { size: settings.pickerInput.sizes.body.footerSwitchMap[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
3520
3647
|
React__default.createElement(FlexSpacer, null),
|
|
@@ -3526,7 +3653,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3526
3653
|
}
|
|
3527
3654
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
3528
3655
|
|
|
3529
|
-
var css$F = {"header":"
|
|
3656
|
+
var css$F = {"header":"CoTrsQ","title":"LoZUUN","close":"Rp1PVS"};
|
|
3530
3657
|
|
|
3531
3658
|
const DataPickerMobileHeaderImpl = (props) => {
|
|
3532
3659
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -3536,7 +3663,7 @@ const DataPickerMobileHeaderImpl = (props) => {
|
|
|
3536
3663
|
};
|
|
3537
3664
|
const DataPickerMobileHeader = /* @__PURE__ */React__default.memo(DataPickerMobileHeaderImpl);
|
|
3538
3665
|
|
|
3539
|
-
var css$E = {"done":"
|
|
3666
|
+
var css$E = {"done":"_0olI-v","container":"vH8fXl"};
|
|
3540
3667
|
|
|
3541
3668
|
const PickerBodyMobileView = (props) => {
|
|
3542
3669
|
const isMobileView = isMobile();
|
|
@@ -3548,7 +3675,7 @@ const PickerBodyMobileView = (props) => {
|
|
|
3548
3675
|
isMobileView && (React__default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
|
|
3549
3676
|
};
|
|
3550
3677
|
|
|
3551
|
-
var css$D = {"sub-header-wrapper":"
|
|
3678
|
+
var css$D = {"sub-header-wrapper":"putGg2","subHeaderWrapper":"putGg2","switch":"DpqHPK","no-found-modal-container":"Urq1n-","noFoundModalContainer":"Urq1n-","no-found-modal-container-icon":"Pn2YnK","noFoundModalContainerIcon":"Pn2YnK","no-found-modal-container-text":"pY8Owy","noFoundModalContainerText":"pY8Owy","body":"pfG-iV"};
|
|
3552
3679
|
|
|
3553
3680
|
function PickerModal(props) {
|
|
3554
3681
|
const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = usePickerModal(props);
|
|
@@ -3590,9 +3717,9 @@ function PickerModal(props) {
|
|
|
3590
3717
|
React__default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3591
3718
|
}
|
|
3592
3719
|
|
|
3593
|
-
var css$C = {"tooltip":"
|
|
3720
|
+
var css$C = {"tooltip":"MqpeVj"};
|
|
3594
3721
|
|
|
3595
|
-
|
|
3722
|
+
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3596
3723
|
const tagProps = {
|
|
3597
3724
|
...props,
|
|
3598
3725
|
tabIndex: -1,
|
|
@@ -3602,14 +3729,14 @@ function PickerTogglerTag(props) {
|
|
|
3602
3729
|
if (props.isCollapsed) {
|
|
3603
3730
|
const collapsedRows = props.collapsedRows.map((row) => props.getName(row.value)).join(', ');
|
|
3604
3731
|
return (React.createElement(Tooltip, { key: "selected", content: collapsedRows, closeDelay: 150, closeOnMouseLeave: "boundary", cx: css$C.tooltip },
|
|
3605
|
-
React.createElement(Tag, { ref:
|
|
3732
|
+
React.createElement(Tag, { ref: ref, rawProps: { role: 'option' }, ...tagProps })));
|
|
3606
3733
|
}
|
|
3607
3734
|
else {
|
|
3608
|
-
return React.createElement(Tag, { ref:
|
|
3735
|
+
return React.createElement(Tag, { ref: ref, rawProps: { role: 'option' }, ...tagProps });
|
|
3609
3736
|
}
|
|
3610
|
-
}
|
|
3737
|
+
});
|
|
3611
3738
|
|
|
3612
|
-
var css$B = {"root":"
|
|
3739
|
+
var css$B = {"root":"gVs2WV"};
|
|
3613
3740
|
|
|
3614
3741
|
const defaultMode = EditMode.FORM;
|
|
3615
3742
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3617,10 +3744,10 @@ function applyPickerTogglerMods(mods) {
|
|
|
3617
3744
|
css$B.root,
|
|
3618
3745
|
'uui-picker_toggler',
|
|
3619
3746
|
`uui-size-${mods.size || settings.pickerInput.sizes.toggler.default}`,
|
|
3620
|
-
|
|
3747
|
+
'uui-control-mode-' + (mods.mode || defaultMode),
|
|
3621
3748
|
];
|
|
3622
3749
|
}
|
|
3623
|
-
function
|
|
3750
|
+
function PickerTogglerComponent(props, ref) {
|
|
3624
3751
|
const renderItem = (itemProps) => {
|
|
3625
3752
|
const itemPropsWithSize = { ...itemProps, size: props.size || settings.pickerInput.sizes.toggler.tag };
|
|
3626
3753
|
if (!!props.renderItem) {
|
|
@@ -3628,17 +3755,13 @@ function PickerToggler(props) {
|
|
|
3628
3755
|
}
|
|
3629
3756
|
return (React.createElement(PickerTogglerTag, { ...itemPropsWithSize, key: itemProps.isCollapsed ? 'collapsed_tag' : itemProps.rowProps?.id, getName: props.getName }));
|
|
3630
3757
|
};
|
|
3631
|
-
return (React.createElement(PickerToggler$1, { ...props, ref:
|
|
3758
|
+
return (React.createElement(PickerToggler$1, { ...props, ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon: settings.pickerInput.icons.toggler.clearIcon, dropdownIcon: settings.pickerInput.icons.toggler.dropdownIcon }));
|
|
3632
3759
|
}
|
|
3760
|
+
const PickerToggler = /* @__PURE__ */React.forwardRef(PickerTogglerComponent);
|
|
3633
3761
|
|
|
3634
|
-
function
|
|
3762
|
+
function PickerInputComponent(props, ref) {
|
|
3635
3763
|
const context = useContext(UuiContext);
|
|
3636
|
-
const
|
|
3637
|
-
{
|
|
3638
|
-
name: 'offset',
|
|
3639
|
-
options: { offset: [0, 6] },
|
|
3640
|
-
}, mobilePopperModifier,
|
|
3641
|
-
], []);
|
|
3764
|
+
const middleware = useMemo(() => [offset(6), mobilePositioning], []);
|
|
3642
3765
|
const toggleModalOpening = () => {
|
|
3643
3766
|
const { renderFooter, rawProps, ...restProps } = props;
|
|
3644
3767
|
context.uuiModals
|
|
@@ -3649,13 +3772,13 @@ function PickerInput(props) {
|
|
|
3649
3772
|
.catch(() => { });
|
|
3650
3773
|
};
|
|
3651
3774
|
const { view, getName, getPlaceholder, handleSelectionValueChange, getTogglerProps, getRows, handleTogglerSearchChange, toggleBodyOpening, dataSourceState, handleDataSourceValueChange, getFooterProps, getListProps, shouldShowBody, getSearchPosition, closePickerBody, openPickerBody, handlePickerInputKeyboard, } = usePickerInput({ ...props, toggleModalOpening });
|
|
3652
|
-
const
|
|
3653
|
-
useImperativeHandle(
|
|
3654
|
-
if (
|
|
3655
|
-
|
|
3656
|
-
|
|
3775
|
+
const togglerRef = useRef(null);
|
|
3776
|
+
useImperativeHandle(ref, () => {
|
|
3777
|
+
if (togglerRef.current) {
|
|
3778
|
+
togglerRef.current.closePickerBody = closePickerBody;
|
|
3779
|
+
togglerRef.current.openPickerBody = openPickerBody;
|
|
3657
3780
|
}
|
|
3658
|
-
return
|
|
3781
|
+
return togglerRef.current;
|
|
3659
3782
|
}, [closePickerBody, openPickerBody]);
|
|
3660
3783
|
const getTogglerMods = () => {
|
|
3661
3784
|
return {
|
|
@@ -3691,10 +3814,11 @@ function PickerInput(props) {
|
|
|
3691
3814
|
return (React__default.createElement(Dropdown, { renderTarget: (dropdownProps) => {
|
|
3692
3815
|
const targetProps = getTogglerProps();
|
|
3693
3816
|
return renderTarget({ ...dropdownProps, ...targetProps, renderItem });
|
|
3694
|
-
}, renderBody: (bodyProps) => renderBody(bodyProps), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement,
|
|
3817
|
+
}, renderBody: (bodyProps) => renderBody(bodyProps), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement, middleware: middleware, closeBodyOnTogglerHidden: !isMobile(), portalTarget: props.portalTarget, ref: togglerRef }));
|
|
3695
3818
|
}
|
|
3819
|
+
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
3696
3820
|
|
|
3697
|
-
var css$A = {"row":"
|
|
3821
|
+
var css$A = {"row":"_4aZ5Q6"};
|
|
3698
3822
|
|
|
3699
3823
|
function PickerListRow(props) {
|
|
3700
3824
|
let label;
|
|
@@ -3714,7 +3838,7 @@ function PickerListRow(props) {
|
|
|
3714
3838
|
return (React__default.createElement("div", { role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1, ...(props.checkbox?.isVisible && { 'aria-checked': props.isChecked }), className: css$A.row }, component));
|
|
3715
3839
|
}
|
|
3716
3840
|
|
|
3717
|
-
var css$z = {"root":"
|
|
3841
|
+
var css$z = {"root":"Dqkaar"};
|
|
3718
3842
|
|
|
3719
3843
|
function PickerList(props) {
|
|
3720
3844
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = usePickerList(props);
|
|
@@ -3749,7 +3873,7 @@ function PickerList(props) {
|
|
|
3749
3873
|
}, selectedRows)));
|
|
3750
3874
|
}
|
|
3751
3875
|
|
|
3752
|
-
var css$y = {"root":"
|
|
3876
|
+
var css$y = {"root":"w0YLHc","wrapper":"N9mo4j","align-widgets-top":"pMlDT9","alignWidgetsTop":"pMlDT9","align-widgets-center":"ahCztK","alignWidgetsCenter":"ahCztK"};
|
|
3753
3877
|
|
|
3754
3878
|
function DataTableCell(initialProps) {
|
|
3755
3879
|
const props = { ...initialProps };
|
|
@@ -3757,7 +3881,7 @@ function DataTableCell(initialProps) {
|
|
|
3757
3881
|
props.addons = React.createElement(DataRowAddons, { size: props.size, ...props });
|
|
3758
3882
|
}
|
|
3759
3883
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3760
|
-
|| (() =>
|
|
3884
|
+
|| (() => settings.dataTable.renderPlaceholder({ rowSize: props.size }));
|
|
3761
3885
|
props.renderUnknown = props.renderUnknown
|
|
3762
3886
|
|| (() => (React.createElement(Text, { key: "t", size: props.size }, "Unknown")));
|
|
3763
3887
|
props.renderTooltip = (tooltipProps) => React.createElement(Tooltip, { color: "critical", ...tooltipProps });
|
|
@@ -3789,6 +3913,8 @@ function DataTableCell(initialProps) {
|
|
|
3789
3913
|
props.isLastColumn && 'uui-dt-last-column',
|
|
3790
3914
|
css$y[`align-widgets-${props.alignActions || 'top'}`],
|
|
3791
3915
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
3916
|
+
props.isDisabled && uuiMod.disabled,
|
|
3917
|
+
props.isReadonly && uuiMod.readonly,
|
|
3792
3918
|
];
|
|
3793
3919
|
props.style = {
|
|
3794
3920
|
'--uui-dt-cell-padding-start': getLeftPadding(),
|
|
@@ -3797,7 +3923,7 @@ function DataTableCell(initialProps) {
|
|
|
3797
3923
|
return React.createElement(DataTableCell$1, { ...props });
|
|
3798
3924
|
}
|
|
3799
3925
|
|
|
3800
|
-
var css$x = {"root":"
|
|
3926
|
+
var css$x = {"root":"_7uu2RI"};
|
|
3801
3927
|
|
|
3802
3928
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3803
3929
|
// 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.
|
|
@@ -3813,7 +3939,7 @@ const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = t
|
|
|
3813
3939
|
];
|
|
3814
3940
|
}, () => propsMods);
|
|
3815
3941
|
|
|
3816
|
-
var css$w = {"sorting-panel-container":"
|
|
3942
|
+
var css$w = {"sorting-panel-container":"lXTyk2","sortingPanelContainer":"lXTyk2"};
|
|
3817
3943
|
|
|
3818
3944
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3819
3945
|
const sortAsc = useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
@@ -3825,20 +3951,15 @@ const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
|
3825
3951
|
const SortingPanel = /* @__PURE__ */React__default.memo(SortingPanelImpl);
|
|
3826
3952
|
|
|
3827
3953
|
const ColumnHeaderDropdownImpl = (props) => {
|
|
3828
|
-
const
|
|
3829
|
-
{
|
|
3830
|
-
name: 'offset',
|
|
3831
|
-
options: { offset: [0, 1] },
|
|
3832
|
-
}, mobilePopperModifier,
|
|
3833
|
-
], []);
|
|
3954
|
+
const middleware = useMemo(() => [offset(1), mobilePositioning], []);
|
|
3834
3955
|
const closeDropdown = useCallback(() => props.onOpenChange(false), [props.onOpenChange]);
|
|
3835
3956
|
return (React__default.createElement(Dropdown$1, { renderTarget: props.renderTarget, renderBody: (dropdownProps) => (React__default.createElement(PickerBodyMobileView, { width: 280, maxWidth: "auto", title: props.title, onClose: closeDropdown },
|
|
3836
3957
|
props.isSortable && React__default.createElement(SortingPanel, { sortDirection: props.sortDirection, onSort: props.onSort }),
|
|
3837
|
-
props.renderFilter(dropdownProps))),
|
|
3958
|
+
props.renderFilter(dropdownProps))), middleware: middleware, value: props.isOpen, onValueChange: props.onOpenChange }));
|
|
3838
3959
|
};
|
|
3839
3960
|
const ColumnHeaderDropdown = /* @__PURE__ */React__default.memo(ColumnHeaderDropdownImpl);
|
|
3840
3961
|
|
|
3841
|
-
var css$v = {"root":"
|
|
3962
|
+
var css$v = {"root":"blR14a","caption-wrapper":"UWKNt2","captionWrapper":"UWKNt2","sort-icon":"eVzyro","sortIcon":"eVzyro","dropdown-icon":"_0O910j","dropdownIcon":"_0O910j","infoIcon":"_2e2WdD","resizable":"ULEG4f","align-right":"fNefHQ","alignRight":"fNefHQ","align-center":"_7Mq-ZV","alignCenter":"_7Mq-ZV","caption":"ie8Nh-","truncate":"ZkYraJ","upper-case":"ygqbzg","upperCase":"ygqbzg","checkbox":"y08EhT","icon":"Qh6w20","fold-all-icon":"imtxLr","foldAllIcon":"imtxLr","cell-tooltip":"z2tjQk","cellTooltip":"z2tjQk","resizing-marker":"_0ic6yA","resizingMarker":"_0ic6yA","pinned-right":"y6On4E","pinnedRight":"y6On4E","draggable":"OgQLLM","ghost":"JmWl-S","is-dragged-out":"XyC4F6","isDraggedOut":"XyC4F6","dnd-marker-left":"gZI1c2","dndMarkerLeft":"gZI1c2","dnd-marker-right":"vpIovy","dndMarkerRight":"vpIovy","cell-tooltip-wrapper":"FCuZCc","cellTooltipWrapper":"FCuZCc","cell-tooltip-text":"ar1wXh","cellTooltipText":"ar1wXh","tooltip-caption":"OP8Ep4","tooltipCaption":"OP8Ep4","tooltip-info":"VVDsMV","tooltipInfo":"VVDsMV"};
|
|
3842
3963
|
|
|
3843
3964
|
class DataTableHeaderCell extends React.Component {
|
|
3844
3965
|
constructor() {
|
|
@@ -3859,7 +3980,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3859
3980
|
this.props.size >= '48' && css$v.truncate,
|
|
3860
3981
|
]);
|
|
3861
3982
|
return (React.createElement("div", { className: cx$1(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3862
|
-
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: css$v.cellTooltip, openDelay: 600 },
|
|
3983
|
+
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: [css$v.cellTooltip, 'uui-dt-header-tooltip'], openDelay: 600 },
|
|
3863
3984
|
React.createElement("div", { key: "text", className: captionCx }, this.props.column.caption)),
|
|
3864
3985
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: settings.dataTable.icons.header[this.props.sortDirection === 'desc' ? 'descSortIcon' : this.props.sortDirection === 'asc' ? 'ascSortIcon' : 'defaultSortIcon'] })),
|
|
3865
3986
|
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: settings.dataTable.icons.header.filterIcon })),
|
|
@@ -3932,7 +4053,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3932
4053
|
}
|
|
3933
4054
|
}
|
|
3934
4055
|
|
|
3935
|
-
var css$u = {"root":"
|
|
4056
|
+
var css$u = {"root":"Ret80r","caption-wrapper":"dU9rtG","captionWrapper":"dU9rtG","align-center":"HY6tTD","alignCenter":"HY6tTD","caption":"JG6w-b","truncate":"_4jIb-U","upper-case":"MGeb5d","upperCase":"MGeb5d","group-cell-tooltip":"mYQ9AY","groupCellTooltip":"mYQ9AY","group-cell-tooltip-wrapper":"J5pksx","groupCellTooltipWrapper":"J5pksx","group-cell-tooltip-text":"lC9Qju","groupCellTooltipText":"lC9Qju","tooltip-caption":"-L0uEZ","tooltipCaption":"-L0uEZ","tooltip-info":"jVrWXU","tooltipInfo":"jVrWXU"};
|
|
3936
4057
|
|
|
3937
4058
|
class DataTableHeaderGroupCell extends React.Component {
|
|
3938
4059
|
constructor() {
|
|
@@ -3972,7 +4093,7 @@ class DataTableHeaderGroupCell extends React.Component {
|
|
|
3972
4093
|
}
|
|
3973
4094
|
}
|
|
3974
4095
|
|
|
3975
|
-
var css$t = {"root":"
|
|
4096
|
+
var css$t = {"root":"JNrSYx"};
|
|
3976
4097
|
|
|
3977
4098
|
const DataTableHeaderRow = /* @__PURE__ */withMods(DataTableHeaderRow$1, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
3978
4099
|
renderCell: (props) => (React.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
@@ -3984,10 +4105,14 @@ const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
|
3984
4105
|
const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
3985
4106
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
3986
4107
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
4108
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_TITLE = 'uui-filters-panel-item-toggler-title';
|
|
4109
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler-selection';
|
|
4110
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
|
|
4111
|
+
const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
|
|
3987
4112
|
|
|
3988
|
-
var css$s = {"root":"
|
|
4113
|
+
var css$s = {"root":"IlOdsU","title-wrapper":"_0WpInB","titleWrapper":"_0WpInB","title":"YtmH-J","text-wrapper":"EGr-nx","textWrapper":"EGr-nx","selection":"_4IkKgj","postfix":"VSZAiC","selected":"fdfzxC"};
|
|
3989
4114
|
|
|
3990
|
-
|
|
4115
|
+
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3991
4116
|
const togglerPickerOpened = (e) => {
|
|
3992
4117
|
if (props.isDisabled)
|
|
3993
4118
|
return;
|
|
@@ -4008,16 +4133,16 @@ function FilterPanelItemToggler(props) {
|
|
|
4008
4133
|
};
|
|
4009
4134
|
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}${props.selection ? ':' : ''}`;
|
|
4010
4135
|
const getSelectionText = () => props.selection.map((i, index) => (React.createElement(React.Fragment, { key: `${i}${index}` },
|
|
4011
|
-
React.createElement(
|
|
4136
|
+
React.createElement("div", { className: cx(css$s.selection, UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION) }, i),
|
|
4012
4137
|
(props.postfix || index !== props.selection.length - 1) && React.createElement("span", null, ",\u00A0"))));
|
|
4013
|
-
return (React.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `uui-size-${props.size || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref:
|
|
4138
|
+
return (React.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, props.selection?.length > 0 && uuiMarkers.hasValue, `uui-size-${props.size || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
4014
4139
|
React.createElement("div", { className: css$s.titleWrapper },
|
|
4015
|
-
React.createElement(
|
|
4140
|
+
React.createElement("div", { className: cx(css$s.title, UUI_FILTERS_PANEL_ITEM_TOGGLER_TITLE) }, getTitle),
|
|
4016
4141
|
props.selection && (React.createElement("div", { className: css$s.textWrapper },
|
|
4017
4142
|
getSelectionText(),
|
|
4018
|
-
props.postfix && (React.createElement(
|
|
4143
|
+
props.postfix && (React.createElement("div", { className: cx(css$s.postfix, UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX) }, props.postfix))))),
|
|
4019
4144
|
!props.isDisabled && React.createElement(IconContainer, { icon: settings.filtersPanel.icons.itemDropdownIcon, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
4020
|
-
}
|
|
4145
|
+
});
|
|
4021
4146
|
|
|
4022
4147
|
const pickerHeight = 300;
|
|
4023
4148
|
function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
@@ -4053,7 +4178,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4053
4178
|
};
|
|
4054
4179
|
return props.renderFooter
|
|
4055
4180
|
? props.renderFooter(footerProps)
|
|
4056
|
-
: React.createElement(DataPickerFooter, { ...footerProps, size: settings.pickerInput.sizes.body.row });
|
|
4181
|
+
: React.createElement(DataPickerFooter, { ...footerProps, cx: UUI_FILTERS_PANEL_BODY_FOOTER, size: settings.pickerInput.sizes.body.row });
|
|
4057
4182
|
};
|
|
4058
4183
|
const renderBody = () => {
|
|
4059
4184
|
const rows = view.getVisibleRows();
|
|
@@ -4136,6 +4261,14 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4136
4261
|
onOpenChange(false);
|
|
4137
4262
|
}
|
|
4138
4263
|
};
|
|
4264
|
+
const onClear = () => {
|
|
4265
|
+
const newValue = {
|
|
4266
|
+
from: props.preventEmptyFromDate ? value.from : null,
|
|
4267
|
+
to: props.preventEmptyToDate ? value.to : null,
|
|
4268
|
+
};
|
|
4269
|
+
onValueChange(newValue);
|
|
4270
|
+
};
|
|
4271
|
+
const shouldShowClearButton = !props.preventEmptyToDate || !props.preventEmptyFromDate;
|
|
4139
4272
|
return (React__default.createElement(Fragment, null,
|
|
4140
4273
|
React__default.createElement(FlexRow, { borderBottom: true },
|
|
4141
4274
|
React__default.createElement(RangeDatePickerBody, { value: {
|
|
@@ -4144,17 +4277,17 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4144
4277
|
}, onValueChange: onBodyValueChange, filter: props.filter, presets: props.presets })),
|
|
4145
4278
|
React__default.createElement(FlexCell, { alignSelf: "stretch" },
|
|
4146
4279
|
React__default.createElement(FlexRow, { padding: "24", vPadding: "12" },
|
|
4147
|
-
React__default.createElement(RangeDatePickerInput, { size:
|
|
4280
|
+
React__default.createElement(RangeDatePickerInput, { size: settings.filtersPanel.sizes.rangeDatePickerInput, disableClear: props.disableClear, inFocus: inFocus, format: format, value: value, onValueChange: onValueChange, onFocusInput: (event, inputType) => {
|
|
4148
4281
|
if (props.onFocus) {
|
|
4149
4282
|
props.onFocus(event, inputType);
|
|
4150
4283
|
}
|
|
4151
4284
|
setInFocus(inputType);
|
|
4152
|
-
}, onBlurInput: props.onBlur }),
|
|
4285
|
+
}, onBlurInput: props.onBlur, preventEmptyFromDate: props.preventEmptyFromDate, preventEmptyToDate: props.preventEmptyToDate }),
|
|
4153
4286
|
React__default.createElement(FlexSpacer, null),
|
|
4154
|
-
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.
|
|
4287
|
+
shouldShowClearButton && (React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.filterToolbar.rangeDatePicker.clearCaption, onClick: onClear }))))));
|
|
4155
4288
|
}
|
|
4156
4289
|
|
|
4157
|
-
var css$r = {"container":"
|
|
4290
|
+
var css$r = {"container":"_0qFfUH"};
|
|
4158
4291
|
|
|
4159
4292
|
function FilterNumericBody(props) {
|
|
4160
4293
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -4183,7 +4316,6 @@ function FilterNumericBody(props) {
|
|
|
4183
4316
|
}
|
|
4184
4317
|
};
|
|
4185
4318
|
const renderFooter = () => {
|
|
4186
|
-
const size = isMobile() ? '48' : '36';
|
|
4187
4319
|
const clearSelection = () => {
|
|
4188
4320
|
if (isInRangePredicate) {
|
|
4189
4321
|
props.onValueChange({
|
|
@@ -4199,22 +4331,22 @@ function FilterNumericBody(props) {
|
|
|
4199
4331
|
return (React__default.createElement(FlexRow, { padding: "12" },
|
|
4200
4332
|
React__default.createElement(FlexSpacer, null),
|
|
4201
4333
|
React__default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
4202
|
-
React__default.createElement(LinkButton, { isDisabled: isClearDisabled, size:
|
|
4334
|
+
React__default.createElement(LinkButton, { isDisabled: isClearDisabled, size: settings.filtersPanel.sizes[isMobile() ? 'mobileFooterLinkButton' : 'footerLinkButton'], caption: i18n.pickerInput.clearSelectionButtonSingle, onClick: clearSelection }))));
|
|
4203
4335
|
};
|
|
4204
4336
|
if (isInRangePredicate) {
|
|
4205
4337
|
const value = props.value;
|
|
4206
4338
|
return (React__default.createElement("div", null,
|
|
4207
|
-
React__default.createElement(FlexRow, { padding: "12", alignItems: "center",
|
|
4339
|
+
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", columnGap: "12", borderBottom: true, cx: css$r.container },
|
|
4208
4340
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
4209
|
-
React__default.createElement(NumericInput, { value: value?.from ?? null, onValueChange: rangeValueHandler('from'), placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
4341
|
+
React__default.createElement(NumericInput, { size: settings.filtersPanel.sizes.default, value: value?.from ?? null, onValueChange: rangeValueHandler('from'), placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
4210
4342
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
4211
|
-
React__default.createElement(NumericInput, { value: value?.to ?? null, onValueChange: rangeValueHandler('to'), placeholder: "Max", formatOptions: { maximumFractionDigits: 2 }, isInvalid: isWrongRange(value?.from, value?.to) }))),
|
|
4343
|
+
React__default.createElement(NumericInput, { size: settings.filtersPanel.sizes.default, value: value?.to ?? null, onValueChange: rangeValueHandler('to'), placeholder: "Max", formatOptions: { maximumFractionDigits: 2 }, isInvalid: isWrongRange(value?.from, value?.to) }))),
|
|
4212
4344
|
renderFooter()));
|
|
4213
4345
|
}
|
|
4214
4346
|
return (React__default.createElement("div", null,
|
|
4215
4347
|
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", borderBottom: true, cx: css$r.container },
|
|
4216
4348
|
React__default.createElement(FlexCell, { width: 130 },
|
|
4217
|
-
React__default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
4349
|
+
React__default.createElement(NumericInput, { size: settings.filtersPanel.sizes.default, value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
4218
4350
|
renderFooter()));
|
|
4219
4351
|
}
|
|
4220
4352
|
|
|
@@ -4235,22 +4367,7 @@ function FilterItemBody(props) {
|
|
|
4235
4367
|
}
|
|
4236
4368
|
}
|
|
4237
4369
|
|
|
4238
|
-
var
|
|
4239
|
-
function _extends$a() { return _extends$a = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$a.apply(null, arguments); }
|
|
4240
|
-
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
4241
|
-
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
|
4242
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4243
|
-
width: 24,
|
|
4244
|
-
height: 24,
|
|
4245
|
-
viewBox: "0 0 24 24",
|
|
4246
|
-
ref: ref
|
|
4247
|
-
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
|
|
4248
|
-
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
4249
|
-
})));
|
|
4250
|
-
};
|
|
4251
|
-
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
4252
|
-
|
|
4253
|
-
var css$q = {"header":"jtnc4A","removeButton":"ybDfYZ","with-search":"QvmbLe","withSearch":"QvmbLe"};
|
|
4370
|
+
var css$q = {"body":"UfX2fW","header":"VeCo-C","title":"vvlWCH","removeButton":"SKT6MG","with-search":"_8ul4sa","withSearch":"_8ul4sa"};
|
|
4254
4371
|
|
|
4255
4372
|
function useView(props, value) {
|
|
4256
4373
|
const forceUpdate = useForceUpdate();
|
|
@@ -4271,25 +4388,16 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4271
4388
|
const { maxCount = 2 } = props;
|
|
4272
4389
|
const isPickersType = props?.type === 'multiPicker' || props?.type === 'singlePicker';
|
|
4273
4390
|
const isMobileScreen = isMobile();
|
|
4274
|
-
const
|
|
4275
|
-
const
|
|
4276
|
-
{
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
},
|
|
4391
|
+
const floatingMiddleware = useMemo(() => {
|
|
4392
|
+
const middleware = [
|
|
4393
|
+
offset(() => {
|
|
4394
|
+
return isPickersType && isMobileScreen ? 0 : 6;
|
|
4395
|
+
}),
|
|
4280
4396
|
];
|
|
4281
4397
|
if (isPickersType && isMobileScreen) {
|
|
4282
|
-
|
|
4283
|
-
name: 'resetTransform',
|
|
4284
|
-
enabled: true,
|
|
4285
|
-
phase: 'beforeWrite',
|
|
4286
|
-
requires: ['computeStyles'],
|
|
4287
|
-
fn: ({ state }) => {
|
|
4288
|
-
state.styles.popper.transform = '';
|
|
4289
|
-
},
|
|
4290
|
-
});
|
|
4398
|
+
middleware.push(mobilePositioning);
|
|
4291
4399
|
}
|
|
4292
|
-
return
|
|
4400
|
+
return middleware;
|
|
4293
4401
|
}, [isPickersType]);
|
|
4294
4402
|
const getDefaultPredicate = () => {
|
|
4295
4403
|
if (!props.predicates) {
|
|
@@ -4338,13 +4446,13 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4338
4446
|
setPredicate(val);
|
|
4339
4447
|
};
|
|
4340
4448
|
const renderHeader = (hideTitle) => (React__default.createElement("div", { className: cx(css$q.header, isPickersType && (props.showSearch ?? css$q.withSearch)) },
|
|
4341
|
-
props.predicates ? (React__default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size:
|
|
4342
|
-
!props?.isAlwaysVisible && (React__default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size:
|
|
4449
|
+
props.predicates ? (React__default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size: settings.filtersPanel.sizes.pickerBodyMultiSwitch })) : (!hideTitle && (React__default.createElement("div", { className: css$q.title }, props.title))),
|
|
4450
|
+
!props?.isAlwaysVisible && (React__default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: settings.filtersPanel.sizes.pickerBodyLinkButton, icon: settings.filtersPanel.icons.pickerBodyRemoveIcon }))));
|
|
4343
4451
|
const renderBody = (dropdownProps) => {
|
|
4344
4452
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
4345
|
-
return isPickersType ? (React__default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width:
|
|
4453
|
+
return isPickersType ? (React__default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: [css$q.body, UUI_FILTERS_PANEL_ITEM_BODY], title: props.title, width: settings.filtersPanel.sizes.pickerBodyMinWidth, onClose: () => isOpenChange(false) },
|
|
4346
4454
|
renderHeader(hideHeaderTitle),
|
|
4347
|
-
React__default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange }))) : (React__default.createElement(DropdownContainer, { cx: UUI_FILTERS_PANEL_ITEM_BODY, ...dropdownProps },
|
|
4455
|
+
React__default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange }))) : (React__default.createElement(DropdownContainer, { cx: [css$q.body, UUI_FILTERS_PANEL_ITEM_BODY], ...dropdownProps },
|
|
4348
4456
|
renderHeader(hideHeaderTitle),
|
|
4349
4457
|
React__default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })));
|
|
4350
4458
|
};
|
|
@@ -4353,7 +4461,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4353
4461
|
};
|
|
4354
4462
|
const getPickerItemName = (item, config) => {
|
|
4355
4463
|
if (item.isLoading) {
|
|
4356
|
-
return
|
|
4464
|
+
return settings.filtersPanel.renderPlaceholder();
|
|
4357
4465
|
}
|
|
4358
4466
|
if (item.isUnknown) {
|
|
4359
4467
|
return 'Unknown';
|
|
@@ -4424,7 +4532,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4424
4532
|
return props.type === 'datePicker' || props.type === 'rangeDatePicker' ? null : 300;
|
|
4425
4533
|
};
|
|
4426
4534
|
const renderTarget = (dropdownProps) => (React__default.createElement(FilterPanelItemToggler, { ...dropdownProps, ...getTogglerValue(), title: props.title, predicateName: props.value ? predicateName : null, maxWidth: getTogglerWidth(), size: props.size }));
|
|
4427
|
-
return (React__default.createElement(Dropdown$1, { renderTarget: renderTarget, renderBody: renderBody, closeBodyOnTogglerHidden: !isMobile(), value: isOpen, onValueChange: isOpenChange,
|
|
4535
|
+
return (React__default.createElement(Dropdown$1, { renderTarget: renderTarget, renderBody: renderBody, closeBodyOnTogglerHidden: !isMobile(), value: isOpen, onValueChange: isOpenChange, middleware: floatingMiddleware }));
|
|
4428
4536
|
}
|
|
4429
4537
|
const FiltersPanelItem = /* @__PURE__ */React__default.memo(FiltersToolbarItemImpl);
|
|
4430
4538
|
|
|
@@ -4556,88 +4664,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4556
4664
|
}
|
|
4557
4665
|
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
4558
4666
|
|
|
4559
|
-
var css$p = {"
|
|
4560
|
-
|
|
4561
|
-
var _path$9;
|
|
4562
|
-
function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
|
|
4563
|
-
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
4564
|
-
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
4565
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4566
|
-
width: 24,
|
|
4567
|
-
height: 24,
|
|
4568
|
-
viewBox: "0 0 24 24",
|
|
4569
|
-
ref: ref
|
|
4570
|
-
}, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
|
|
4571
|
-
d: "M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6V6z"
|
|
4572
|
-
})));
|
|
4573
|
-
};
|
|
4574
|
-
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgActionSaveOutline);
|
|
4575
|
-
|
|
4576
|
-
var _path$8;
|
|
4577
|
-
function _extends$8() { return _extends$8 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$8.apply(null, arguments); }
|
|
4578
|
-
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
4579
|
-
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
4580
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4581
|
-
width: 24,
|
|
4582
|
-
height: 24,
|
|
4583
|
-
viewBox: "0 0 24 24",
|
|
4584
|
-
ref: ref
|
|
4585
|
-
}, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
4586
|
-
d: "M22.5 15a8.71 8.71 0 0 0-.712-3.513 9.158 9.158 0 0 0-1.926-2.85 9.152 9.152 0 0 0-2.85-1.925A8.709 8.709 0 0 0 13.5 6a8.71 8.71 0 0 0-3.513.712 9.167 9.167 0 0 0-2.85 1.925 9.154 9.154 0 0 0-1.924 2.85A8.705 8.705 0 0 0 4.5 15v.15L2.95 13.6 1.5 15l4 4 4-4-1.45-1.4-1.55 1.55V15c0-1.95.679-3.604 2.037-4.962C9.896 8.679 11.55 8 13.5 8c1.95 0 3.604.68 4.962 2.038C19.821 11.396 20.5 13.05 20.5 15h2z"
|
|
4587
|
-
})));
|
|
4588
|
-
};
|
|
4589
|
-
var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgContentEditUndoOutline);
|
|
4590
|
-
|
|
4591
|
-
var _path$7;
|
|
4592
|
-
function _extends$7() { return _extends$7 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$7.apply(null, arguments); }
|
|
4593
|
-
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
4594
|
-
return /*#__PURE__*/React.createElement("svg", _extends$7({
|
|
4595
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4596
|
-
width: 24,
|
|
4597
|
-
height: 24,
|
|
4598
|
-
viewBox: "0 0 24 24",
|
|
4599
|
-
ref: ref
|
|
4600
|
-
}, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
|
|
4601
|
-
fillRule: "evenodd",
|
|
4602
|
-
d: "M19 19H9V9h10M9 7a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H9zm5-4H5a2 2 0 0 0-2 2v9h2V5h9V3z",
|
|
4603
|
-
clipRule: "evenodd"
|
|
4604
|
-
})));
|
|
4605
|
-
};
|
|
4606
|
-
var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgActionCopyContentOutline);
|
|
4607
|
-
|
|
4608
|
-
var _path$6;
|
|
4609
|
-
function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
|
|
4610
|
-
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
4611
|
-
return /*#__PURE__*/React.createElement("svg", _extends$6({
|
|
4612
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4613
|
-
width: 24,
|
|
4614
|
-
height: 24,
|
|
4615
|
-
viewBox: "0 0 24 24",
|
|
4616
|
-
ref: ref
|
|
4617
|
-
}, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
|
|
4618
|
-
d: "m19.3 8.925-4.25-4.2 1.4-1.4a1.92 1.92 0 0 1 1.413-.575 1.92 1.92 0 0 1 1.412.575l1.4 1.4c.383.383.583.846.6 1.388a1.806 1.806 0 0 1-.55 1.387L19.3 8.925zM17.85 10.4 7.25 21H3v-4.25l10.6-10.6 4.25 4.25z"
|
|
4619
|
-
})));
|
|
4620
|
-
};
|
|
4621
|
-
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgContentEditFill);
|
|
4622
|
-
|
|
4623
|
-
var _path$5, _path2;
|
|
4624
|
-
function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
|
|
4625
|
-
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
4626
|
-
return /*#__PURE__*/React.createElement("svg", _extends$5({
|
|
4627
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4628
|
-
width: 24,
|
|
4629
|
-
height: 24,
|
|
4630
|
-
viewBox: "0 0 24 24",
|
|
4631
|
-
ref: ref
|
|
4632
|
-
}, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
|
|
4633
|
-
d: "M12 4.93A5 5 0 0 1 19.07 12l-1.06 1.06c.12-.85.022-1.725-.295-2.534a3 3 0 0 0-4.302-4.182l-2.828 2.828a3 3 0 0 0-.07 4.17l.07.073-1.415 1.414a5 5 0 0 1 0-7.071L12 4.929z"
|
|
4634
|
-
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
4635
|
-
d: "m4.93 12 .989-.99a5.018 5.018 0 0 0 .297 2.54 3 3 0 0 0 4.37 4.107l2.829-2.828a3 3 0 0 0-.828-4.83l1.464-1.463a5 5 0 0 1 .778 7.707L12 19.071a5 5 0 0 1-7.07-7.07z"
|
|
4636
|
-
})));
|
|
4637
|
-
};
|
|
4638
|
-
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
4639
|
-
|
|
4640
|
-
var css$o = {"delete-button":"jT0xBT","deleteButton":"jT0xBT","tab-button":"wil-YJ","tabButton":"wil-YJ","targetOpen":"Z3tbgq"};
|
|
4667
|
+
var css$p = {"delete-button":"_5piS-W","deleteButton":"_5piS-W","tab-button":"o1VTxC","tabButton":"o1VTxC","targetOpen":"c7JgKl"};
|
|
4641
4668
|
|
|
4642
4669
|
function PresetActionsDropdown(props) {
|
|
4643
4670
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -4662,7 +4689,7 @@ function PresetActionsDropdown(props) {
|
|
|
4662
4689
|
const successNotificationHandler = useCallback((text) => {
|
|
4663
4690
|
uuiNotifications
|
|
4664
4691
|
.show((props) => (React__default.createElement(SuccessNotification, { ...props },
|
|
4665
|
-
React__default.createElement(
|
|
4692
|
+
React__default.createElement("div", { className: "uui-presets-panel-notification-text" }, text))), { duration: 3 })
|
|
4666
4693
|
.catch(() => null);
|
|
4667
4694
|
}, []);
|
|
4668
4695
|
const saveInCurrentHandler = useCallback(() => {
|
|
@@ -4685,32 +4712,32 @@ function PresetActionsDropdown(props) {
|
|
|
4685
4712
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4686
4713
|
return (React__default.createElement(DropdownMenuBody, { ...dropdownProps },
|
|
4687
4714
|
isPresetChanged && (React__default.createElement(React__default.Fragment, null,
|
|
4688
|
-
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon:
|
|
4689
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon:
|
|
4715
|
+
!isReadonlyPreset && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: settings.presetsPanel.icons.saveInCurrentIcon, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4716
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: settings.presetsPanel.icons.saveAsNewIcon, caption: "Save as new",
|
|
4690
4717
|
// We add setTimeout to call addPreset after dropdown will be closed, since dropdown has focus lock, and it broke autofocus on add new preset input
|
|
4691
4718
|
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4692
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon:
|
|
4719
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: settings.presetsPanel.icons.discardChangesIcon, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4693
4720
|
React__default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4694
|
-
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon:
|
|
4695
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon:
|
|
4696
|
-
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon:
|
|
4721
|
+
isRenameAvailable && (React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: settings.presetsPanel.icons.renameIcon, caption: "Rename", onClick: props.renamePreset })),
|
|
4722
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: settings.presetsPanel.icons.copyIcon, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4723
|
+
React__default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: settings.presetsPanel.icons.copyLinkIcon, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4697
4724
|
!isReadonlyPreset && (React__default.createElement(React__default.Fragment, null,
|
|
4698
4725
|
React__default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
4699
|
-
React__default.createElement(DropdownMenuButton, { icon:
|
|
4726
|
+
React__default.createElement(DropdownMenuButton, { icon: settings.presetsPanel.icons.deleteIcon, caption: "Delete", cx: css$p.deleteButton, onClick: deleteHandler })))));
|
|
4700
4727
|
};
|
|
4701
4728
|
const renderTarget = useCallback((dropdownProps) => {
|
|
4702
|
-
return (React__default.createElement(IconButton, { cx: [css$
|
|
4729
|
+
return (React__default.createElement(IconButton, { cx: [css$p.tabButton, dropdownProps.isOpen && css$p.targetOpen], color: props.preset.id === props.activePresetId ? 'primary' : 'neutral', ...dropdownProps, icon: settings.presetsPanel.icons.menuIcon, size: settings.presetsPanel.sizes.dropdownTargetIconButton }));
|
|
4703
4730
|
}, []);
|
|
4704
|
-
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end",
|
|
4731
|
+
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", middleware: [offset(22)] }));
|
|
4705
4732
|
}
|
|
4706
4733
|
|
|
4707
|
-
var css$n = {"preset-input-cell":"I8DifD","presetInputCell":"I8DifD","preset-input":"_9Eu-d9","presetInput":"_9Eu-d9"};
|
|
4708
|
-
|
|
4709
4734
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4710
4735
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
4711
4736
|
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
4712
4737
|
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
4713
4738
|
|
|
4739
|
+
var css$o = {"preset-input-cell":"_9XC2X5","presetInputCell":"_9XC2X5","preset-input":"mT-JsJ","presetInput":"mT-JsJ"};
|
|
4740
|
+
|
|
4714
4741
|
function PresetInput(props) {
|
|
4715
4742
|
const [presetCaption, setPresetCaption] = useState(props.preset?.name || '');
|
|
4716
4743
|
const [readonly, setReadonly] = useState(false);
|
|
@@ -4732,11 +4759,11 @@ function PresetInput(props) {
|
|
|
4732
4759
|
}
|
|
4733
4760
|
props.onCancel();
|
|
4734
4761
|
}, [presetCaption.length, props.onCancel]);
|
|
4735
|
-
return (React__default.createElement(FlexCell, { cx: [css$
|
|
4736
|
-
React__default.createElement(TextInput, { cx: css$
|
|
4762
|
+
return (React__default.createElement(FlexCell, { cx: [css$o.presetInputCell, UUI_PRESETS_PANEL_INPUT], minWidth: 180 },
|
|
4763
|
+
React__default.createElement(TextInput, { cx: css$o.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4737
4764
|
}
|
|
4738
4765
|
|
|
4739
|
-
var css$
|
|
4766
|
+
var css$n = {"preset":"na7niD","activePreset":"VpN7X9"};
|
|
4740
4767
|
|
|
4741
4768
|
function Preset(props) {
|
|
4742
4769
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -4758,25 +4785,10 @@ function Preset(props) {
|
|
|
4758
4785
|
}, [props.preset]);
|
|
4759
4786
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
4760
4787
|
const PresetActionsDropdownComponent = useCallback(() => React__default.createElement(PresetActionsDropdown, { renamePreset: setPresetForRename, ...props }), [props.preset, props.tableState, props.activePresetId]);
|
|
4761
|
-
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$
|
|
4788
|
+
return (React__default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$n.preset, isPresetActive && css$n.activePreset, UUI_PRESETS_PANEL_PRESET], size: settings.presetsPanel.sizes.tabButton, withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: PresetActionsDropdownComponent, iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
4762
4789
|
}
|
|
4763
4790
|
|
|
4764
|
-
var
|
|
4765
|
-
function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
|
|
4766
|
-
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
4767
|
-
return /*#__PURE__*/React.createElement("svg", _extends$4({
|
|
4768
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4769
|
-
width: 24,
|
|
4770
|
-
height: 24,
|
|
4771
|
-
viewBox: "0 0 24 24",
|
|
4772
|
-
ref: ref
|
|
4773
|
-
}, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
4774
|
-
fillRule: "evenodd",
|
|
4775
|
-
d: "M7 21c-1.1 0-2-.9-2-2V8h14v11c0 1.1-.9 2-2 2H7zm8-17h5v2H4V4h5V3h6v1zM9.4 18.5l2.6-2.6 2.6 2.6 1.4-1.4-2.6-2.6 2.6-2.6-1.4-1.4-2.6 2.6-2.6-2.6L8 11.9l2.6 2.6L8 17.1l1.4 1.4z",
|
|
4776
|
-
clipRule: "evenodd"
|
|
4777
|
-
})));
|
|
4778
|
-
};
|
|
4779
|
-
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgActionDeleteForeverFill);
|
|
4791
|
+
var css$m = {"divider":"hhTCSW","dropdownDeleteIcon":"OGbQH6","presetsWrapper":"-o4DaD","addPresetContainer":"xCxUbi","dropContainer":"nTbx1-"};
|
|
4780
4792
|
|
|
4781
4793
|
function PresetsPanel(props) {
|
|
4782
4794
|
const [isAddingPreset, setIsAddingPreset] = useState(false);
|
|
@@ -4791,16 +4803,16 @@ function PresetsPanel(props) {
|
|
|
4791
4803
|
return React__default.createElement(Preset, { key: preset.id, preset: preset, addPreset: setAddingPreset, ...presetApi });
|
|
4792
4804
|
};
|
|
4793
4805
|
const renderAddPresetButton = useCallback(() => {
|
|
4794
|
-
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$
|
|
4806
|
+
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$m.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { cx: UUI_PRESETS_PANEL_ADD_BUTTON, onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: settings.presetsPanel.icons.addIcon, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
4795
4807
|
}, [isAddingPreset]);
|
|
4796
4808
|
const onPresetDropdownSelect = (preset) => {
|
|
4797
4809
|
props.choosePreset(preset.preset);
|
|
4798
4810
|
};
|
|
4799
4811
|
const renderMoreButtonDropdown = (item, hiddenItems) => {
|
|
4800
4812
|
return (React__default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__default.createElement(FlexRow, null,
|
|
4801
|
-
React__default.createElement("div", { className: css$
|
|
4813
|
+
React__default.createElement("div", { className: css$m.divider }),
|
|
4802
4814
|
React__default.createElement(Button, { cx: UUI_PRESETS_PANEL_MORE_BUTTON, fill: "ghost", color: "secondary", caption: `${hiddenItems?.length || ''} more`, ...props }))), renderBody: (propsBody) => (React__default.createElement(DropdownMenuBody, { minWidth: 230, maxHeight: 300, ...propsBody },
|
|
4803
|
-
React__default.createElement(ScrollBars, null, hiddenItems.map((hiddenItem) => (React__default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly &&
|
|
4815
|
+
React__default.createElement(ScrollBars, null, hiddenItems.map((hiddenItem) => (React__default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && settings.presetsPanel.icons.deleteIcon, iconPosition: "right", cx: css$m.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
4804
4816
|
};
|
|
4805
4817
|
const getPresetPriority = (preset, index) => {
|
|
4806
4818
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -4821,7 +4833,7 @@ function PresetsPanel(props) {
|
|
|
4821
4833
|
];
|
|
4822
4834
|
};
|
|
4823
4835
|
return (React__default.createElement(FlexCell, { grow: 1, minWidth: 310, rawProps: props.rawProps },
|
|
4824
|
-
React__default.createElement(FlexRow, { size: null, columnGap: "12", cx: css$
|
|
4836
|
+
React__default.createElement(FlexRow, { size: null, columnGap: "12", cx: css$m.presetsWrapper },
|
|
4825
4837
|
React__default.createElement(AdaptivePanel, { items: getPanelItems() }))));
|
|
4826
4838
|
}
|
|
4827
4839
|
|
|
@@ -4862,7 +4874,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4862
4874
|
return columns;
|
|
4863
4875
|
};
|
|
4864
4876
|
|
|
4865
|
-
var css$l = {"unpin-icon":"
|
|
4877
|
+
var css$l = {"unpin-icon":"spGrdr","unpinIcon":"spGrdr","pin-toggler-icon":"mWbb4u","pinTogglerIcon":"mWbb4u"};
|
|
4866
4878
|
|
|
4867
4879
|
function PinIconButton(props) {
|
|
4868
4880
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4904,7 +4916,7 @@ function getUnpinIcon(params) {
|
|
|
4904
4916
|
}
|
|
4905
4917
|
}
|
|
4906
4918
|
|
|
4907
|
-
var css$k = {"row-wrapper":"
|
|
4919
|
+
var css$k = {"row-wrapper":"Y6GQrp","rowWrapper":"Y6GQrp","pin-icon-button":"HSNTqO","pinIconButton":"HSNTqO","not-pinned":"aOr-u7","notPinned":"aOr-u7","checkbox":"bK0E1R","drag-handle":"_5r6zVv","dragHandle":"_5r6zVv","dnd-disabled":"eBl9bz","dndDisabled":"eBl9bz"};
|
|
4908
4920
|
|
|
4909
4921
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4910
4922
|
const { column } = props;
|
|
@@ -4927,7 +4939,7 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
4927
4939
|
return (React.createElement(DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4928
4940
|
});
|
|
4929
4941
|
|
|
4930
|
-
var css$j = {"root":"
|
|
4942
|
+
var css$j = {"root":"xataFf","main-panel":"-YQfx-","mainPanel":"-YQfx-","group":"iUoph5","group-title":"_2FDZx4","groupTitle":"_2FDZx4","group-items":"AKJlRW","groupItems":"AKJlRW","no-data":"hhNf6D","noData":"hhNf6D","no-data-title":"_8vFZoU","noDataTitle":"_8vFZoU","no-data-sub-title":"odWT4e","noDataSubTitle":"odWT4e","h-divider":"XOqUL7","hDivider":"XOqUL7","search-area":"V2Yc7i","searchArea":"V2Yc7i","subgroup-accordion":"RzKH4y","subgroupAccordion":"RzKH4y","subgroup":"pYTiqn","subgroup-title":"_2oCAmd","subgroupTitle":"_2oCAmd"};
|
|
4931
4943
|
|
|
4932
4944
|
const renderGroupTitle = (title, amount) => (React.createElement(FlexRow, { cx: css$j.group },
|
|
4933
4945
|
React.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
@@ -5029,7 +5041,7 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
5029
5041
|
return [children, rest];
|
|
5030
5042
|
};
|
|
5031
5043
|
|
|
5032
|
-
var css$i = {"listContainer":"
|
|
5044
|
+
var css$i = {"listContainer":"zF45Cj","header":"AWVmp9","group":"dOOkh7","stickyHeader":"xgFN1H"};
|
|
5033
5045
|
|
|
5034
5046
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
5035
5047
|
const rowRef = useRef(undefined);
|
|
@@ -5064,12 +5076,12 @@ function DataRowsGroups({ rows, renderRow, top = 1, }) {
|
|
|
5064
5076
|
}
|
|
5065
5077
|
|
|
5066
5078
|
function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, renderRow, headerRef, }) {
|
|
5067
|
-
return (React__default.createElement("div", { className: css$i.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
5079
|
+
return (React__default.createElement("div", { className: cx(css$i.listContainer, 'uui-dt-data_row_container'), style: { minHeight: `${estimatedHeight}px` } },
|
|
5068
5080
|
React__default.createElement("div", { ref: listContainerRef, role: "rowgroup", style: { marginTop: offsetY } },
|
|
5069
5081
|
React__default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
5070
5082
|
}
|
|
5071
5083
|
|
|
5072
|
-
var css$h = {"root":"
|
|
5084
|
+
var css$h = {"root":"CL9lgY","sticky-header":"_3tChDf","stickyHeader":"_3tChDf","no-results":"nrLNCR","noResults":"nrLNCR","icon":"_8tK-Qb","title":"Jnow9B"};
|
|
5073
5085
|
|
|
5074
5086
|
function DataTable(props) {
|
|
5075
5087
|
const { uuiModals } = useUuiContext();
|
|
@@ -5101,7 +5113,7 @@ function DataTable(props) {
|
|
|
5101
5113
|
props.columns, config, defaultConfig, props.value, props.onValueChange, props.renderColumnsConfigurationModal,
|
|
5102
5114
|
]);
|
|
5103
5115
|
const renderRowsContainer = React.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows }) => (React.createElement(React.Fragment, null,
|
|
5104
|
-
React.createElement("div", { className: css$h.stickyHeader, ref: headerRef },
|
|
5116
|
+
React.createElement("div", { className: cx$1(css$h.stickyHeader, 'uui-dt-sticky_header'), ref: headerRef },
|
|
5105
5117
|
React.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.sizes.header.row, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, showFoldAll: props.showFoldAll, value: { ...props.value, columnsConfig: config }, onValueChange: props.onValueChange, columnsGap: props.columnsGap }),
|
|
5106
5118
|
React.createElement("div", { className: cx$1(uuiScrollShadows.top, {
|
|
5107
5119
|
[uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
@@ -5111,16 +5123,16 @@ function DataTable(props) {
|
|
|
5111
5123
|
]);
|
|
5112
5124
|
return (React.createElement(DataTableSelectionProvider, { onCopy: props.onCopy, rows: rows, columns: columns },
|
|
5113
5125
|
React.createElement(DataTableFocusProvider, { dataTableFocusManager: props.dataTableFocusManager },
|
|
5114
|
-
React.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: cx$1(css$h.root, 'uui-dt-vars'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
5126
|
+
React.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: cx$1(css$h.root, 'uui-dt-vars', 'uui-data_table'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
5115
5127
|
role: 'table',
|
|
5116
5128
|
'aria-colcount': columns.length,
|
|
5117
5129
|
'aria-rowcount': props.rowsCount,
|
|
5118
5130
|
} }))));
|
|
5119
5131
|
}
|
|
5120
5132
|
|
|
5121
|
-
var css$g = {"root":"-
|
|
5133
|
+
var css$g = {"root":"l-EV-b"};
|
|
5122
5134
|
|
|
5123
|
-
var css$f = {"root":"
|
|
5135
|
+
var css$f = {"root":"l3LRw5","burger-content":"j0-doR","burgerContent":"j0-doR"};
|
|
5124
5136
|
|
|
5125
5137
|
var _path$3;
|
|
5126
5138
|
function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
|
|
@@ -5142,7 +5154,7 @@ function applyBurgerMods() {
|
|
|
5142
5154
|
}
|
|
5143
5155
|
const Burger = /* @__PURE__ */withMods(Burger$1, applyBurgerMods, () => ({
|
|
5144
5156
|
burgerIcon: ForwardRef$3,
|
|
5145
|
-
crossIcon: ForwardRef$
|
|
5157
|
+
crossIcon: ForwardRef$Q,
|
|
5146
5158
|
burgerContentCx: css$f.burgerContent,
|
|
5147
5159
|
}));
|
|
5148
5160
|
|
|
@@ -5163,7 +5175,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5163
5175
|
};
|
|
5164
5176
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
5165
5177
|
|
|
5166
|
-
var css$e = {"root":"
|
|
5178
|
+
var css$e = {"root":"Rv63zU","button-primary":"PULQCJ","buttonPrimary":"PULQCJ","button-secondary":"ZD9LEn","buttonSecondary":"ZD9LEn","hasIcon":"U6KSnK","dropdown":"_1DZGpG"};
|
|
5167
5179
|
|
|
5168
5180
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
5169
5181
|
css$e.root,
|
|
@@ -5174,13 +5186,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
5174
5186
|
props.icon && css$e.hasIcon,
|
|
5175
5187
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5176
5188
|
|
|
5177
|
-
var css$d = {"search-input":"
|
|
5189
|
+
var css$d = {"search-input":"giIzJO","searchInput":"giIzJO"};
|
|
5178
5190
|
|
|
5179
5191
|
function BurgerSearch(props) {
|
|
5180
|
-
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
5192
|
+
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$M, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$Q }));
|
|
5181
5193
|
}
|
|
5182
5194
|
|
|
5183
|
-
var css$c = {"root":"
|
|
5195
|
+
var css$c = {"root":"lxnaoj","group-header":"TmxKjP","groupHeader":"TmxKjP","group-name":"z4MQaq","groupName":"z4MQaq","line":"_9tGE8M"};
|
|
5184
5196
|
|
|
5185
5197
|
function BurgerGroupHeader(props) {
|
|
5186
5198
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5188,9 +5200,9 @@ function BurgerGroupHeader(props) {
|
|
|
5188
5200
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5189
5201
|
}
|
|
5190
5202
|
|
|
5191
|
-
var css$b = {"root":"
|
|
5203
|
+
var css$b = {"root":"WGhZPs","type-primary":"sB8dG0","typePrimary":"sB8dG0","type-secondary":"_14-GLL","typeSecondary":"_14-GLL"};
|
|
5192
5204
|
|
|
5193
|
-
|
|
5205
|
+
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5194
5206
|
const { type, ...clickableProps } = props;
|
|
5195
5207
|
return (React.createElement(Clickable, { ...clickableProps, rawProps: {
|
|
5196
5208
|
'aria-expanded': props.isOpen,
|
|
@@ -5202,15 +5214,15 @@ function MainMenuButton(props) {
|
|
|
5202
5214
|
css$b.root,
|
|
5203
5215
|
css$b['type-' + (type || 'primary')],
|
|
5204
5216
|
props.cx,
|
|
5205
|
-
], ref:
|
|
5217
|
+
], ref: ref },
|
|
5206
5218
|
props.icon && props.iconPosition !== 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: props.onIconClick })),
|
|
5207
5219
|
props.caption && (React.createElement("div", { className: uuiElement.caption }, props.caption)),
|
|
5208
5220
|
props.count !== undefined && props.count !== null && (React.createElement(CountIndicator, { caption: props.count, color: "neutral", size: "18" })),
|
|
5209
5221
|
props.icon && props.iconPosition === 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: props.onIconClick })),
|
|
5210
|
-
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$
|
|
5211
|
-
}
|
|
5222
|
+
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
5223
|
+
});
|
|
5212
5224
|
|
|
5213
|
-
var css$a = {"dropdown-body":"
|
|
5225
|
+
var css$a = {"dropdown-body":"bYW6ao","dropdownBody":"bYW6ao"};
|
|
5214
5226
|
|
|
5215
5227
|
class MainMenuDropdown extends React.Component {
|
|
5216
5228
|
render() {
|
|
@@ -5268,36 +5280,28 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5268
5280
|
};
|
|
5269
5281
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5270
5282
|
|
|
5271
|
-
var css$9 = {"global-menu-btn":"
|
|
5283
|
+
var css$9 = {"global-menu-btn":"iVkfb3","globalMenuBtn":"iVkfb3","global-menu-icon":"CZ-nKp","globalMenuIcon":"CZ-nKp"};
|
|
5272
5284
|
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon })));
|
|
5276
|
-
}
|
|
5285
|
+
const GlobalMenu = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, id: "global_menu_toggle", className: cx(css$9.globalMenuBtn, props.cx), ...props.rawProps },
|
|
5286
|
+
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5277
5287
|
|
|
5278
|
-
var css$8 = {"container":"
|
|
5288
|
+
var css$8 = {"container":"JP-iks","open":"gqQUCO","folding-arrow":"Fc0XYM","foldingArrow":"Fc0XYM"};
|
|
5279
5289
|
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
React.createElement(IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow })))));
|
|
5286
|
-
}
|
|
5290
|
+
const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiMarkers.clickable, props.cx), onClick: props.onClick, ...props.rawProps },
|
|
5291
|
+
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
5292
|
+
props.icon && React.createElement(IconContainer, { icon: props.icon }),
|
|
5293
|
+
props.isDropdown && (React.createElement("div", null,
|
|
5294
|
+
React.createElement(IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5287
5295
|
|
|
5288
|
-
var css$7 = {"search-input":"
|
|
5296
|
+
var css$7 = {"search-input":"kUXl-U","searchInput":"kUXl-U"};
|
|
5289
5297
|
|
|
5290
|
-
|
|
5291
|
-
return (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$N, cancelIcon: props.value?.length > 0 && ForwardRef$R, ...props, ...iEditable, ref: props.ref, cx: cx$1(css$7.searchInput, props.cx), ...props.rawProps })) }));
|
|
5292
|
-
}
|
|
5298
|
+
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$M, cancelIcon: props.value?.length > 0 && ForwardRef$Q, ...props, ...iEditable, ref: ref, cx: cx$1(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5293
5299
|
|
|
5294
|
-
var css$6 = {"container":"
|
|
5300
|
+
var css$6 = {"container":"_3lKd49"};
|
|
5295
5301
|
|
|
5296
|
-
|
|
5297
|
-
return (React.createElement(IconButton, { ref: props.ref, icon: props.icon, cx: cx$1(props.cx, css$6.container), ...props }));
|
|
5298
|
-
}
|
|
5302
|
+
const MainMenuIcon = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IconButton, { ref: ref, icon: props.icon, cx: cx$1(props.cx, css$6.container), ...props })));
|
|
5299
5303
|
|
|
5300
|
-
var css$5 = {"root":"
|
|
5304
|
+
var css$5 = {"root":"Rvrtkj"};
|
|
5301
5305
|
|
|
5302
5306
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
5303
5307
|
|
|
@@ -5355,7 +5359,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5355
5359
|
};
|
|
5356
5360
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
5357
5361
|
|
|
5358
|
-
var css$4 = {"root":"
|
|
5362
|
+
var css$4 = {"root":"_5CBXTl","drop-start":"ZitunC","dropStart":"ZitunC","drop-over":"xFax5g","dropOver":"xFax5g","link":"v9wA44","drop-area":"_6gNV-W","dropArea":"_6gNV-W","drop-caption":"LNN-p2","dropCaption":"LNN-p2","icon-blue":"fkOQ8m","iconBlue":"fkOQ8m"};
|
|
5359
5363
|
|
|
5360
5364
|
function DropSpot(props) {
|
|
5361
5365
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5373,20 +5377,20 @@ function DropSpot(props) {
|
|
|
5373
5377
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5374
5378
|
}
|
|
5375
5379
|
|
|
5376
|
-
var css$3 = {"root":"
|
|
5380
|
+
var css$3 = {"root":"_9-K4Gx"};
|
|
5377
5381
|
|
|
5378
|
-
|
|
5382
|
+
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5379
5383
|
const outsetRadius = props.size / 2 - 1;
|
|
5380
5384
|
const insetRadius = props.size / 2 - 3;
|
|
5381
5385
|
const circumference = insetRadius * Math.PI;
|
|
5382
|
-
return (React.createElement("svg", { className: css$3.root, width: props.size, height: props.size, ref:
|
|
5386
|
+
return (React.createElement("svg", { className: css$3.root, width: props.size, height: props.size, ref: ref, ...props.rawProps },
|
|
5383
5387
|
React.createElement("circle", { strokeDasharray: circumference, strokeDashoffset: circumference - (props.progress / 100) * circumference, strokeWidth: insetRadius, fill: "transparent", r: insetRadius / 2, cx: props.size / 2, cy: props.size / 2 }),
|
|
5384
5388
|
React.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5385
|
-
}
|
|
5389
|
+
});
|
|
5386
5390
|
|
|
5387
|
-
var css$2 = {"root":"
|
|
5391
|
+
var css$2 = {"root":"_8vcatu","file-name":"Kj13w0","fileName":"Kj13w0","default-color":"Lon-pc","defaultColor":"Lon-pc","doc-color":"gecK0l","docColor":"gecK0l","xls-color":"kiyU4n","xlsColor":"kiyU4n","pdf-color":"fZWICA","pdfColor":"fZWICA","movie-color":"Bf4qeT","movieColor":"Bf4qeT","img-color":"w0LcUE","imgColor":"w0LcUE","mov-color":"dhEypE","movColor":"dhEypE","error-block":"_689jrf","errorBlock":"_689jrf","icons-block":"_9cRtzy","iconsBlock":"_9cRtzy"};
|
|
5388
5392
|
|
|
5389
|
-
|
|
5393
|
+
const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5390
5394
|
const [isLoadingShow, setIsLoadingShow] = React.useState(true);
|
|
5391
5395
|
const { file } = props;
|
|
5392
5396
|
const getIcon = (extension) => {
|
|
@@ -5450,7 +5454,7 @@ function FileCard(props) {
|
|
|
5450
5454
|
progress && progress < 100 && abortXHR();
|
|
5451
5455
|
onClick();
|
|
5452
5456
|
};
|
|
5453
|
-
return (React.createElement(FlexCell, { ref:
|
|
5457
|
+
return (React.createElement(FlexCell, { ref: ref, cx: cx$1(css$2.root, 'uui-file_card', (isLoading || error?.isError) && uuiMod.loading, componentCx, error?.isError && uuiMod.error), minWidth: width, width: !width ? '100%' : undefined },
|
|
5454
5458
|
React.createElement(FlexRow, { alignItems: "top", columnGap: "6" },
|
|
5455
5459
|
fileExtension && getIcon(fileExtension),
|
|
5456
5460
|
React.createElement(FlexCell, { width: "100%" },
|
|
@@ -5459,7 +5463,7 @@ function FileCard(props) {
|
|
|
5459
5463
|
React.createElement("div", { className: cx$1(css$2.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5460
5464
|
isLoadingShow && isLoading && React.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
5461
5465
|
isCrossShow && React.createElement(IconButton, { icon: settings.fileCard.icons.closeIcon, onClick: removeHandler })))));
|
|
5462
|
-
}
|
|
5466
|
+
});
|
|
5463
5467
|
|
|
5464
5468
|
const getRecoveryMessageConfig = () => ({
|
|
5465
5469
|
'auth-lost': i18n.errorHandler.recoveryMessageConfig['auth-lost'],
|
|
@@ -5503,7 +5507,7 @@ const getErrorPageConfig = () => ({
|
|
|
5503
5507
|
},
|
|
5504
5508
|
});
|
|
5505
5509
|
|
|
5506
|
-
var css$1 = {"container":"
|
|
5510
|
+
var css$1 = {"container":"Up4yb5"};
|
|
5507
5511
|
|
|
5508
5512
|
const ErrorPage = (props) => {
|
|
5509
5513
|
const isMobileScreen = isMobile();
|
|
@@ -5515,7 +5519,7 @@ const ErrorPage = (props) => {
|
|
|
5515
5519
|
props?.supportLink && React__default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5516
5520
|
};
|
|
5517
5521
|
|
|
5518
|
-
var css = {"recovery-spinner":"
|
|
5522
|
+
var css = {"recovery-spinner":"YwUdq1","recoverySpinner":"YwUdq1","recovery-message":"QNGZyM","recoveryMessage":"QNGZyM","modal-blocker":"SzODoB","modalBlocker":"SzODoB","modalFadeIn":"lPUhWx"};
|
|
5519
5523
|
|
|
5520
5524
|
function ErrorHandler(props) {
|
|
5521
5525
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|
|
@@ -5566,5 +5570,5 @@ function ErrorHandler(props) {
|
|
|
5566
5570
|
errorType === 'recovery' && renderRecoveryBlocker(errorInfo)));
|
|
5567
5571
|
}
|
|
5568
5572
|
|
|
5569
|
-
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerMobileHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FilterPickerBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerBodyMobileView, PickerInput, PickerItem, PickerList, PickerListRow, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, Rating, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, settings, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5573
|
+
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerMobileHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FilterPickerBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerBodyMobileView, PickerInput, PickerItem, PickerList, PickerListRow, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, Rating, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, TimePickerComponent, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, settings, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5570
5574
|
//# sourceMappingURL=index.esm.js.map
|