@epam/uui 6.0.0-beta.0 → 6.0.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 +48 -3
- 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 +68 -3
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +5 -6
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts +4 -7
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/datePickers/index.d.ts +1 -1
- package/components/datePickers/index.d.ts.map +1 -1
- package/components/datePickers/types.d.ts +9 -109
- 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 +1 -1
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/filters/FiltersPanelItem.d.ts.map +1 -1
- package/components/filters/PresetPanel/Preset.d.ts +1 -1
- package/components/filters/PresetPanel/Preset.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +1 -1
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
- package/components/filters/constants.d.ts +4 -0
- package/components/filters/constants.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +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/index.esm.js +1308 -1328
- package/index.esm.js.map +1 -1
- package/index.js +1306 -1324
- 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 +1 -1
- package/styles.css +1702 -1616
- package/styles.css.map +1 -1
package/index.js
CHANGED
|
@@ -4,6 +4,7 @@ var uuiComponents = require('@epam/uui-components');
|
|
|
4
4
|
var uuiCore = require('@epam/uui-core');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var cx = require('classnames');
|
|
7
|
+
var react = require('@floating-ui/react');
|
|
7
8
|
var dayjs = require('dayjs');
|
|
8
9
|
var isSameOrBefore = require('dayjs/plugin/isSameOrBefore');
|
|
9
10
|
var isSameOrAfter = require('dayjs/plugin/isSameOrAfter');
|
|
@@ -51,24 +52,9 @@ var isoWeek__default = /*#__PURE__*/_interopDefault(isoWeek);
|
|
|
51
52
|
var isEqual__default = /*#__PURE__*/_interopDefault(isEqual);
|
|
52
53
|
var FocusLock__default = /*#__PURE__*/_interopDefault(FocusLock);
|
|
53
54
|
|
|
54
|
-
var _path$R;
|
|
55
|
-
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); }
|
|
56
|
-
var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
57
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$R({
|
|
58
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
59
|
-
width: 24,
|
|
60
|
-
height: 24,
|
|
61
|
-
viewBox: "0 0 24 24",
|
|
62
|
-
ref: ref
|
|
63
|
-
}, props), _path$R || (_path$R = /*#__PURE__*/React__namespace.createElement("path", {
|
|
64
|
-
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"
|
|
65
|
-
})));
|
|
66
|
-
};
|
|
67
|
-
var ForwardRef$R = /*#__PURE__*/React.forwardRef(SvgNavigationCloseOutline);
|
|
68
|
-
|
|
69
55
|
var _path$Q;
|
|
70
56
|
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); }
|
|
71
|
-
var
|
|
57
|
+
var SvgNavigationCloseOutline = function SvgNavigationCloseOutline(props, ref) {
|
|
72
58
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$Q({
|
|
73
59
|
xmlns: "http://www.w3.org/2000/svg",
|
|
74
60
|
width: 24,
|
|
@@ -76,14 +62,14 @@ var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(p
|
|
|
76
62
|
viewBox: "0 0 24 24",
|
|
77
63
|
ref: ref
|
|
78
64
|
}, props), _path$Q || (_path$Q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
79
|
-
d: "
|
|
65
|
+
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"
|
|
80
66
|
})));
|
|
81
67
|
};
|
|
82
|
-
var ForwardRef$Q = /*#__PURE__*/React.forwardRef(
|
|
68
|
+
var ForwardRef$Q = /*#__PURE__*/React.forwardRef(SvgNavigationCloseOutline);
|
|
83
69
|
|
|
84
70
|
var _path$P;
|
|
85
71
|
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); }
|
|
86
|
-
var
|
|
72
|
+
var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(props, ref) {
|
|
87
73
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$P({
|
|
88
74
|
xmlns: "http://www.w3.org/2000/svg",
|
|
89
75
|
width: 24,
|
|
@@ -91,14 +77,14 @@ var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref)
|
|
|
91
77
|
viewBox: "0 0 24 24",
|
|
92
78
|
ref: ref
|
|
93
79
|
}, props), _path$P || (_path$P = /*#__PURE__*/React__namespace.createElement("path", {
|
|
94
|
-
d: "
|
|
80
|
+
d: "M5.414 8.086 4 9.5l8 8 8-8-1.414-1.414L12 14.672 5.414 8.086z"
|
|
95
81
|
})));
|
|
96
82
|
};
|
|
97
|
-
var ForwardRef$P = /*#__PURE__*/React.forwardRef(
|
|
83
|
+
var ForwardRef$P = /*#__PURE__*/React.forwardRef(SvgNavigationChevronDownOutline);
|
|
98
84
|
|
|
99
85
|
var _path$O;
|
|
100
86
|
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); }
|
|
101
|
-
var
|
|
87
|
+
var SvgNotificationDoneOutline = function SvgNotificationDoneOutline(props, ref) {
|
|
102
88
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$O({
|
|
103
89
|
xmlns: "http://www.w3.org/2000/svg",
|
|
104
90
|
width: 24,
|
|
@@ -106,14 +92,14 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
106
92
|
viewBox: "0 0 24 24",
|
|
107
93
|
ref: ref
|
|
108
94
|
}, props), _path$O || (_path$O = /*#__PURE__*/React__namespace.createElement("path", {
|
|
109
|
-
d: "
|
|
95
|
+
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"
|
|
110
96
|
})));
|
|
111
97
|
};
|
|
112
|
-
var ForwardRef$O = /*#__PURE__*/React.forwardRef(
|
|
98
|
+
var ForwardRef$O = /*#__PURE__*/React.forwardRef(SvgNotificationDoneOutline);
|
|
113
99
|
|
|
114
100
|
var _path$N;
|
|
115
101
|
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); }
|
|
116
|
-
var
|
|
102
|
+
var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
117
103
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
|
|
118
104
|
xmlns: "http://www.w3.org/2000/svg",
|
|
119
105
|
width: 24,
|
|
@@ -121,16 +107,14 @@ var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
|
121
107
|
viewBox: "0 0 24 24",
|
|
122
108
|
ref: ref
|
|
123
109
|
}, props), _path$N || (_path$N = /*#__PURE__*/React__namespace.createElement("path", {
|
|
124
|
-
|
|
125
|
-
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",
|
|
126
|
-
clipRule: "evenodd"
|
|
110
|
+
d: "M19 10.5H5v3h14v-3z"
|
|
127
111
|
})));
|
|
128
112
|
};
|
|
129
|
-
var ForwardRef$N = /*#__PURE__*/React.forwardRef(
|
|
113
|
+
var ForwardRef$N = /*#__PURE__*/React.forwardRef(SvgContentMinusOutline);
|
|
130
114
|
|
|
131
115
|
var _path$M;
|
|
132
116
|
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); }
|
|
133
|
-
var
|
|
117
|
+
var SvgActionSearchOutline = function SvgActionSearchOutline(props, ref) {
|
|
134
118
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$M({
|
|
135
119
|
xmlns: "http://www.w3.org/2000/svg",
|
|
136
120
|
width: 24,
|
|
@@ -138,14 +122,16 @@ var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
|
138
122
|
viewBox: "0 0 24 24",
|
|
139
123
|
ref: ref
|
|
140
124
|
}, props), _path$M || (_path$M = /*#__PURE__*/React__namespace.createElement("path", {
|
|
141
|
-
|
|
125
|
+
fillRule: "evenodd",
|
|
126
|
+
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",
|
|
127
|
+
clipRule: "evenodd"
|
|
142
128
|
})));
|
|
143
129
|
};
|
|
144
|
-
var ForwardRef$M = /*#__PURE__*/React.forwardRef(
|
|
130
|
+
var ForwardRef$M = /*#__PURE__*/React.forwardRef(SvgActionSearchOutline);
|
|
145
131
|
|
|
146
132
|
var _path$L;
|
|
147
133
|
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); }
|
|
148
|
-
var
|
|
134
|
+
var SvgActionCalendarFill = function SvgActionCalendarFill(props, ref) {
|
|
149
135
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$L({
|
|
150
136
|
xmlns: "http://www.w3.org/2000/svg",
|
|
151
137
|
width: 24,
|
|
@@ -153,14 +139,14 @@ var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref)
|
|
|
153
139
|
viewBox: "0 0 24 24",
|
|
154
140
|
ref: ref
|
|
155
141
|
}, props), _path$L || (_path$L = /*#__PURE__*/React__namespace.createElement("path", {
|
|
156
|
-
d: "
|
|
142
|
+
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"
|
|
157
143
|
})));
|
|
158
144
|
};
|
|
159
|
-
var ForwardRef$L = /*#__PURE__*/React.forwardRef(
|
|
145
|
+
var ForwardRef$L = /*#__PURE__*/React.forwardRef(SvgActionCalendarFill);
|
|
160
146
|
|
|
161
147
|
var _path$K;
|
|
162
148
|
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); }
|
|
163
|
-
var
|
|
149
|
+
var SvgNotificationInfoOutline = function SvgNotificationInfoOutline(props, ref) {
|
|
164
150
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
|
|
165
151
|
xmlns: "http://www.w3.org/2000/svg",
|
|
166
152
|
width: 24,
|
|
@@ -168,15 +154,30 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
168
154
|
viewBox: "0 0 24 24",
|
|
169
155
|
ref: ref
|
|
170
156
|
}, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
|
|
171
|
-
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
|
|
157
|
+
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"
|
|
172
158
|
})));
|
|
173
159
|
};
|
|
174
|
-
var ForwardRef$K = /*#__PURE__*/React.forwardRef(
|
|
160
|
+
var ForwardRef$K = /*#__PURE__*/React.forwardRef(SvgNotificationInfoOutline);
|
|
175
161
|
|
|
176
|
-
var _path$J
|
|
162
|
+
var _path$J;
|
|
177
163
|
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); }
|
|
178
|
-
var
|
|
164
|
+
var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
179
165
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$J({
|
|
166
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
167
|
+
width: 24,
|
|
168
|
+
height: 24,
|
|
169
|
+
viewBox: "0 0 24 24",
|
|
170
|
+
ref: ref
|
|
171
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React__namespace.createElement("path", {
|
|
172
|
+
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"
|
|
173
|
+
})));
|
|
174
|
+
};
|
|
175
|
+
var ForwardRef$J = /*#__PURE__*/React.forwardRef(SvgNotificationInfoFill);
|
|
176
|
+
|
|
177
|
+
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;
|
|
178
|
+
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); }
|
|
179
|
+
var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
180
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
180
181
|
width: 232,
|
|
181
182
|
height: 180,
|
|
182
183
|
viewBox: "0 0 232 180",
|
|
@@ -184,8 +185,8 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
184
185
|
xmlns: "http://www.w3.org/2000/svg",
|
|
185
186
|
ref: ref
|
|
186
187
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
187
|
-
clipPath: "url(#
|
|
188
|
-
}, _path$
|
|
188
|
+
clipPath: "url(#txfob38xw8cwpktwv_a)"
|
|
189
|
+
}, _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
189
190
|
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",
|
|
190
191
|
fill: "#F5F6FA"
|
|
191
192
|
})), _path2$5 || (_path2$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -205,7 +206,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
205
206
|
d: "M86.786 22.982c-2.55 0-4.965 2.07-4.965 4.552V120.6c0 2.484 2.4 4.572 4.965 4.572h88.101c2.582 0 4.986-2.089 4.986-4.572V27.534c0-2.464-2.418-4.552-4.986-4.552h-88.1Zm-5.793 4.552c0-3.022 2.874-5.38 5.793-5.38h88.101c2.935 0 5.814 2.374 5.814 5.38V120.6c0 3.021-2.86 5.4-5.814 5.4h-88.1c-2.94 0-5.794-2.381-5.794-5.4V27.534Z",
|
|
206
207
|
fill: "#1D1E26"
|
|
207
208
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
208
|
-
id: "
|
|
209
|
+
id: "txfob35m68v1v8fjk_b",
|
|
209
210
|
style: {
|
|
210
211
|
maskType: "alpha"
|
|
211
212
|
},
|
|
@@ -218,7 +219,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
218
219
|
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",
|
|
219
220
|
fill: "#9BDEFF"
|
|
220
221
|
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
221
|
-
mask: "url(#
|
|
222
|
+
mask: "url(#txfob35m68v1v8fjk_b)",
|
|
222
223
|
fillRule: "evenodd",
|
|
223
224
|
clipRule: "evenodd"
|
|
224
225
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -304,33 +305,18 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
304
305
|
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",
|
|
305
306
|
fill: "#fff"
|
|
306
307
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
307
|
-
id: "
|
|
308
|
+
id: "txfob38xw8cwpktwv_a"
|
|
308
309
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
309
310
|
fill: "#fff",
|
|
310
311
|
transform: "translate(.552)",
|
|
311
312
|
d: "M0 0h230.897v180H0z"
|
|
312
313
|
})))));
|
|
313
314
|
};
|
|
314
|
-
var ForwardRef$
|
|
315
|
-
|
|
316
|
-
var _path$I;
|
|
317
|
-
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); }
|
|
318
|
-
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
319
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
320
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
321
|
-
width: 24,
|
|
322
|
-
height: 24,
|
|
323
|
-
viewBox: "0 0 24 24",
|
|
324
|
-
ref: ref
|
|
325
|
-
}, props), _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
326
|
-
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
327
|
-
})));
|
|
328
|
-
};
|
|
329
|
-
var ForwardRef$I = /*#__PURE__*/React.forwardRef(SvgTableSortAscOutline);
|
|
315
|
+
var ForwardRef$I = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
330
316
|
|
|
331
317
|
var _path$H;
|
|
332
318
|
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); }
|
|
333
|
-
var
|
|
319
|
+
var SvgTableSortAscOutline = function SvgTableSortAscOutline(props, ref) {
|
|
334
320
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
335
321
|
xmlns: "http://www.w3.org/2000/svg",
|
|
336
322
|
width: 24,
|
|
@@ -338,14 +324,14 @@ var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
|
338
324
|
viewBox: "0 0 24 24",
|
|
339
325
|
ref: ref
|
|
340
326
|
}, props), _path$H || (_path$H = /*#__PURE__*/React__namespace.createElement("path", {
|
|
341
|
-
d: "
|
|
327
|
+
d: "M11 21V6.825L9.4 8.4 8 7l4-4 4 4-1.4 1.4L13 6.825V21h-2z"
|
|
342
328
|
})));
|
|
343
329
|
};
|
|
344
|
-
var ForwardRef$H = /*#__PURE__*/React.forwardRef(
|
|
330
|
+
var ForwardRef$H = /*#__PURE__*/React.forwardRef(SvgTableSortAscOutline);
|
|
345
331
|
|
|
346
332
|
var _path$G;
|
|
347
333
|
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); }
|
|
348
|
-
var
|
|
334
|
+
var SvgTableSortDescOutline = function SvgTableSortDescOutline(props, ref) {
|
|
349
335
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
350
336
|
xmlns: "http://www.w3.org/2000/svg",
|
|
351
337
|
width: 24,
|
|
@@ -353,14 +339,14 @@ var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props
|
|
|
353
339
|
viewBox: "0 0 24 24",
|
|
354
340
|
ref: ref
|
|
355
341
|
}, props), _path$G || (_path$G = /*#__PURE__*/React__namespace.createElement("path", {
|
|
356
|
-
d: "
|
|
342
|
+
d: "M13 3v14.175l1.6-1.575L16 17l-4 4-4-4 1.4-1.4 1.6 1.575V3h2z"
|
|
357
343
|
})));
|
|
358
344
|
};
|
|
359
|
-
var ForwardRef$G = /*#__PURE__*/React.forwardRef(
|
|
345
|
+
var ForwardRef$G = /*#__PURE__*/React.forwardRef(SvgTableSortDescOutline);
|
|
360
346
|
|
|
361
347
|
var _path$F;
|
|
362
348
|
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); }
|
|
363
|
-
var
|
|
349
|
+
var SvgActionDragIndicatorOutline = function SvgActionDragIndicatorOutline(props, ref) {
|
|
364
350
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
365
351
|
xmlns: "http://www.w3.org/2000/svg",
|
|
366
352
|
width: 24,
|
|
@@ -368,16 +354,14 @@ var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props,
|
|
|
368
354
|
viewBox: "0 0 24 24",
|
|
369
355
|
ref: ref
|
|
370
356
|
}, props), _path$F || (_path$F = /*#__PURE__*/React__namespace.createElement("path", {
|
|
371
|
-
|
|
372
|
-
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",
|
|
373
|
-
clipRule: "evenodd"
|
|
357
|
+
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"
|
|
374
358
|
})));
|
|
375
359
|
};
|
|
376
|
-
var ForwardRef$F = /*#__PURE__*/React.forwardRef(
|
|
360
|
+
var ForwardRef$F = /*#__PURE__*/React.forwardRef(SvgActionDragIndicatorOutline);
|
|
377
361
|
|
|
378
362
|
var _path$E;
|
|
379
363
|
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); }
|
|
380
|
-
var
|
|
364
|
+
var SvgNavigationMoreVertOutline = function SvgNavigationMoreVertOutline(props, ref) {
|
|
381
365
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
382
366
|
xmlns: "http://www.w3.org/2000/svg",
|
|
383
367
|
width: 24,
|
|
@@ -385,14 +369,16 @@ var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, re
|
|
|
385
369
|
viewBox: "0 0 24 24",
|
|
386
370
|
ref: ref
|
|
387
371
|
}, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
|
|
388
|
-
|
|
372
|
+
fillRule: "evenodd",
|
|
373
|
+
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",
|
|
374
|
+
clipRule: "evenodd"
|
|
389
375
|
})));
|
|
390
376
|
};
|
|
391
|
-
var ForwardRef$E = /*#__PURE__*/React.forwardRef(
|
|
377
|
+
var ForwardRef$E = /*#__PURE__*/React.forwardRef(SvgNavigationMoreVertOutline);
|
|
392
378
|
|
|
393
379
|
var _path$D;
|
|
394
380
|
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); }
|
|
395
|
-
var
|
|
381
|
+
var SvgNavigationRefreshOutline = function SvgNavigationRefreshOutline(props, ref) {
|
|
396
382
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
397
383
|
xmlns: "http://www.w3.org/2000/svg",
|
|
398
384
|
width: 24,
|
|
@@ -400,16 +386,14 @@ var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
|
400
386
|
viewBox: "0 0 24 24",
|
|
401
387
|
ref: ref
|
|
402
388
|
}, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
403
|
-
|
|
404
|
-
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",
|
|
405
|
-
clipRule: "evenodd"
|
|
389
|
+
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"
|
|
406
390
|
})));
|
|
407
391
|
};
|
|
408
|
-
var ForwardRef$D = /*#__PURE__*/React.forwardRef(
|
|
392
|
+
var ForwardRef$D = /*#__PURE__*/React.forwardRef(SvgNavigationRefreshOutline);
|
|
409
393
|
|
|
410
|
-
var _path$C
|
|
394
|
+
var _path$C;
|
|
411
395
|
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); }
|
|
412
|
-
var
|
|
396
|
+
var SvgActionLockFill = function SvgActionLockFill(props, ref) {
|
|
413
397
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
414
398
|
xmlns: "http://www.w3.org/2000/svg",
|
|
415
399
|
width: 24,
|
|
@@ -417,18 +401,16 @@ var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, re
|
|
|
417
401
|
viewBox: "0 0 24 24",
|
|
418
402
|
ref: ref
|
|
419
403
|
}, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
|
|
420
|
-
d: "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z"
|
|
421
|
-
})), _path2$4 || (_path2$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
422
404
|
fillRule: "evenodd",
|
|
423
|
-
d: "
|
|
405
|
+
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",
|
|
424
406
|
clipRule: "evenodd"
|
|
425
407
|
})));
|
|
426
408
|
};
|
|
427
|
-
var ForwardRef$C = /*#__PURE__*/React.forwardRef(
|
|
409
|
+
var ForwardRef$C = /*#__PURE__*/React.forwardRef(SvgActionLockFill);
|
|
428
410
|
|
|
429
|
-
var _path$B, _path2$
|
|
411
|
+
var _path$B, _path2$4;
|
|
430
412
|
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); }
|
|
431
|
-
var
|
|
413
|
+
var SvgTableGroupColumnLeftFill = function SvgTableGroupColumnLeftFill(props, ref) {
|
|
432
414
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
433
415
|
xmlns: "http://www.w3.org/2000/svg",
|
|
434
416
|
width: 24,
|
|
@@ -436,18 +418,18 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
436
418
|
viewBox: "0 0 24 24",
|
|
437
419
|
ref: ref
|
|
438
420
|
}, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
|
|
439
|
-
d: "
|
|
440
|
-
})), _path2$
|
|
421
|
+
d: "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z"
|
|
422
|
+
})), _path2$4 || (_path2$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
441
423
|
fillRule: "evenodd",
|
|
442
|
-
d: "
|
|
424
|
+
d: "M13 21V3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6zm2-16h4v14h-4V5z",
|
|
443
425
|
clipRule: "evenodd"
|
|
444
426
|
})));
|
|
445
427
|
};
|
|
446
|
-
var ForwardRef$B = /*#__PURE__*/React.forwardRef(
|
|
428
|
+
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnLeftFill);
|
|
447
429
|
|
|
448
|
-
var _path$A;
|
|
430
|
+
var _path$A, _path2$3;
|
|
449
431
|
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); }
|
|
450
|
-
var
|
|
432
|
+
var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props, ref) {
|
|
451
433
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
452
434
|
xmlns: "http://www.w3.org/2000/svg",
|
|
453
435
|
width: 24,
|
|
@@ -455,14 +437,18 @@ var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
|
455
437
|
viewBox: "0 0 24 24",
|
|
456
438
|
ref: ref
|
|
457
439
|
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
458
|
-
d: "
|
|
440
|
+
d: "M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6V3z"
|
|
441
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
442
|
+
fillRule: "evenodd",
|
|
443
|
+
d: "M9 5H5v14h4V5zM5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6V3H5z",
|
|
444
|
+
clipRule: "evenodd"
|
|
459
445
|
})));
|
|
460
446
|
};
|
|
461
|
-
var ForwardRef$A = /*#__PURE__*/React.forwardRef(
|
|
447
|
+
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnRightFill);
|
|
462
448
|
|
|
463
449
|
var _path$z;
|
|
464
450
|
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); }
|
|
465
|
-
var
|
|
451
|
+
var SvgTableSwapOutline = function SvgTableSwapOutline(props, ref) {
|
|
466
452
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
467
453
|
xmlns: "http://www.w3.org/2000/svg",
|
|
468
454
|
width: 24,
|
|
@@ -470,14 +456,14 @@ var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
|
470
456
|
viewBox: "0 0 24 24",
|
|
471
457
|
ref: ref
|
|
472
458
|
}, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
473
|
-
d: "
|
|
459
|
+
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"
|
|
474
460
|
})));
|
|
475
461
|
};
|
|
476
|
-
var ForwardRef$z = /*#__PURE__*/React.forwardRef(
|
|
462
|
+
var ForwardRef$z = /*#__PURE__*/React.forwardRef(SvgTableSwapOutline);
|
|
477
463
|
|
|
478
464
|
var _path$y;
|
|
479
465
|
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); }
|
|
480
|
-
var
|
|
466
|
+
var SvgContentFiltrationFill = function SvgContentFiltrationFill(props, ref) {
|
|
481
467
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
482
468
|
xmlns: "http://www.w3.org/2000/svg",
|
|
483
469
|
width: 24,
|
|
@@ -485,14 +471,14 @@ var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props
|
|
|
485
471
|
viewBox: "0 0 24 24",
|
|
486
472
|
ref: ref
|
|
487
473
|
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
488
|
-
d: "
|
|
474
|
+
d: "M14 13v8l-4-2v-6L2.95 4h18.1L14 13z"
|
|
489
475
|
})));
|
|
490
476
|
};
|
|
491
|
-
var ForwardRef$y = /*#__PURE__*/React.forwardRef(
|
|
477
|
+
var ForwardRef$y = /*#__PURE__*/React.forwardRef(SvgContentFiltrationFill);
|
|
492
478
|
|
|
493
479
|
var _path$x;
|
|
494
480
|
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); }
|
|
495
|
-
var
|
|
481
|
+
var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props, ref) {
|
|
496
482
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
497
483
|
xmlns: "http://www.w3.org/2000/svg",
|
|
498
484
|
width: 24,
|
|
@@ -500,14 +486,14 @@ var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(p
|
|
|
500
486
|
viewBox: "0 0 24 24",
|
|
501
487
|
ref: ref
|
|
502
488
|
}, props), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
503
|
-
d: "
|
|
489
|
+
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
504
490
|
})));
|
|
505
491
|
};
|
|
506
|
-
var ForwardRef$x = /*#__PURE__*/React.forwardRef(
|
|
492
|
+
var ForwardRef$x = /*#__PURE__*/React.forwardRef(SvgNavigationChevronUpOutline);
|
|
507
493
|
|
|
508
494
|
var _path$w;
|
|
509
495
|
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); }
|
|
510
|
-
var
|
|
496
|
+
var SvgNavigationCollapseAllOutline = function SvgNavigationCollapseAllOutline(props, ref) {
|
|
511
497
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
512
498
|
xmlns: "http://www.w3.org/2000/svg",
|
|
513
499
|
width: 24,
|
|
@@ -515,14 +501,14 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
515
501
|
viewBox: "0 0 24 24",
|
|
516
502
|
ref: ref
|
|
517
503
|
}, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
518
|
-
d: "
|
|
504
|
+
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"
|
|
519
505
|
})));
|
|
520
506
|
};
|
|
521
|
-
var ForwardRef$w = /*#__PURE__*/React.forwardRef(
|
|
507
|
+
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNavigationCollapseAllOutline);
|
|
522
508
|
|
|
523
509
|
var _path$v;
|
|
524
510
|
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); }
|
|
525
|
-
var
|
|
511
|
+
var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props, ref) {
|
|
526
512
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
527
513
|
xmlns: "http://www.w3.org/2000/svg",
|
|
528
514
|
width: 24,
|
|
@@ -530,14 +516,14 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
530
516
|
viewBox: "0 0 24 24",
|
|
531
517
|
ref: ref
|
|
532
518
|
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
533
|
-
d: "
|
|
519
|
+
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"
|
|
534
520
|
})));
|
|
535
521
|
};
|
|
536
|
-
var ForwardRef$v = /*#__PURE__*/React.forwardRef(
|
|
522
|
+
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgNavigationExpandAllOutline);
|
|
537
523
|
|
|
538
524
|
var _path$u;
|
|
539
525
|
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); }
|
|
540
|
-
var
|
|
526
|
+
var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
541
527
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
542
528
|
xmlns: "http://www.w3.org/2000/svg",
|
|
543
529
|
width: 24,
|
|
@@ -545,14 +531,14 @@ var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(p
|
|
|
545
531
|
viewBox: "0 0 24 24",
|
|
546
532
|
ref: ref
|
|
547
533
|
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
548
|
-
d: "
|
|
534
|
+
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"
|
|
549
535
|
})));
|
|
550
536
|
};
|
|
551
|
-
var ForwardRef$u = /*#__PURE__*/React.forwardRef(
|
|
537
|
+
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgActionSettingsFill);
|
|
552
538
|
|
|
553
539
|
var _path$t;
|
|
554
540
|
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); }
|
|
555
|
-
var
|
|
541
|
+
var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(props, ref) {
|
|
556
542
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
557
543
|
xmlns: "http://www.w3.org/2000/svg",
|
|
558
544
|
width: 24,
|
|
@@ -560,14 +546,14 @@ var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline
|
|
|
560
546
|
viewBox: "0 0 24 24",
|
|
561
547
|
ref: ref
|
|
562
548
|
}, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
563
|
-
d: "
|
|
549
|
+
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
564
550
|
})));
|
|
565
551
|
};
|
|
566
|
-
var ForwardRef$t = /*#__PURE__*/React.forwardRef(
|
|
552
|
+
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeftOutline);
|
|
567
553
|
|
|
568
554
|
var _path$s;
|
|
569
555
|
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); }
|
|
570
|
-
var
|
|
556
|
+
var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline(props, ref) {
|
|
571
557
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
572
558
|
xmlns: "http://www.w3.org/2000/svg",
|
|
573
559
|
width: 24,
|
|
@@ -575,14 +561,14 @@ var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
|
575
561
|
viewBox: "0 0 24 24",
|
|
576
562
|
ref: ref
|
|
577
563
|
}, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
578
|
-
d: "
|
|
564
|
+
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
579
565
|
})));
|
|
580
566
|
};
|
|
581
|
-
var ForwardRef$s = /*#__PURE__*/React.forwardRef(
|
|
567
|
+
var ForwardRef$s = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRightOutline);
|
|
582
568
|
|
|
583
569
|
var _path$r;
|
|
584
570
|
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); }
|
|
585
|
-
var
|
|
571
|
+
var SvgActionAddOutline = function SvgActionAddOutline(props, ref) {
|
|
586
572
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
587
573
|
xmlns: "http://www.w3.org/2000/svg",
|
|
588
574
|
width: 24,
|
|
@@ -590,14 +576,14 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
590
576
|
viewBox: "0 0 24 24",
|
|
591
577
|
ref: ref
|
|
592
578
|
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
593
|
-
d: "
|
|
579
|
+
d: "M13.286 3h-2.572v7.714H3v2.572h7.714V21h2.572v-7.714H21v-2.572h-7.714V3z"
|
|
594
580
|
})));
|
|
595
581
|
};
|
|
596
|
-
var ForwardRef$r = /*#__PURE__*/React.forwardRef(
|
|
582
|
+
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgActionAddOutline);
|
|
597
583
|
|
|
598
584
|
var _path$q;
|
|
599
585
|
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); }
|
|
600
|
-
var
|
|
586
|
+
var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
601
587
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
602
588
|
xmlns: "http://www.w3.org/2000/svg",
|
|
603
589
|
width: 24,
|
|
@@ -605,14 +591,14 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
605
591
|
viewBox: "0 0 24 24",
|
|
606
592
|
ref: ref
|
|
607
593
|
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
608
|
-
d: "
|
|
594
|
+
d: "m2 12 3.077-3.2 4.615 4.8L18.923 4 22 7.2 9.692 20 2 12z"
|
|
609
595
|
})));
|
|
610
596
|
};
|
|
611
|
-
var ForwardRef$q = /*#__PURE__*/React.forwardRef(
|
|
597
|
+
var ForwardRef$q = /*#__PURE__*/React.forwardRef(SvgNotificationDoneFill);
|
|
612
598
|
|
|
613
599
|
var _path$p;
|
|
614
600
|
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); }
|
|
615
|
-
var
|
|
601
|
+
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
616
602
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
617
603
|
xmlns: "http://www.w3.org/2000/svg",
|
|
618
604
|
width: 24,
|
|
@@ -620,14 +606,14 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
620
606
|
viewBox: "0 0 24 24",
|
|
621
607
|
ref: ref
|
|
622
608
|
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
623
|
-
d: "
|
|
609
|
+
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
624
610
|
})));
|
|
625
611
|
};
|
|
626
|
-
var ForwardRef$p = /*#__PURE__*/React.forwardRef(
|
|
612
|
+
var ForwardRef$p = /*#__PURE__*/React.forwardRef(SvgRadioDotFill);
|
|
627
613
|
|
|
628
614
|
var _path$o;
|
|
629
615
|
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); }
|
|
630
|
-
var
|
|
616
|
+
var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
631
617
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
632
618
|
xmlns: "http://www.w3.org/2000/svg",
|
|
633
619
|
width: 24,
|
|
@@ -635,14 +621,14 @@ var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
|
635
621
|
viewBox: "0 0 24 24",
|
|
636
622
|
ref: ref
|
|
637
623
|
}, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
|
|
638
|
-
d: "
|
|
624
|
+
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"
|
|
639
625
|
})));
|
|
640
626
|
};
|
|
641
|
-
var ForwardRef$o = /*#__PURE__*/React.forwardRef(
|
|
627
|
+
var ForwardRef$o = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill);
|
|
642
628
|
|
|
643
629
|
var _path$n;
|
|
644
630
|
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); }
|
|
645
|
-
var
|
|
631
|
+
var SvgNotificationCheckFill = function SvgNotificationCheckFill(props, ref) {
|
|
646
632
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
647
633
|
xmlns: "http://www.w3.org/2000/svg",
|
|
648
634
|
width: 24,
|
|
@@ -650,14 +636,14 @@ var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref)
|
|
|
650
636
|
viewBox: "0 0 24 24",
|
|
651
637
|
ref: ref
|
|
652
638
|
}, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
|
|
653
|
-
d: "
|
|
639
|
+
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"
|
|
654
640
|
})));
|
|
655
641
|
};
|
|
656
|
-
var ForwardRef$n = /*#__PURE__*/React.forwardRef(
|
|
642
|
+
var ForwardRef$n = /*#__PURE__*/React.forwardRef(SvgNotificationCheckFill);
|
|
657
643
|
|
|
658
644
|
var _path$m;
|
|
659
645
|
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); }
|
|
660
|
-
var
|
|
646
|
+
var SvgNotificationWarningFill = function SvgNotificationWarningFill(props, ref) {
|
|
661
647
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
662
648
|
xmlns: "http://www.w3.org/2000/svg",
|
|
663
649
|
width: 24,
|
|
@@ -665,14 +651,14 @@ var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
|
665
651
|
viewBox: "0 0 24 24",
|
|
666
652
|
ref: ref
|
|
667
653
|
}, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
|
|
668
|
-
d: "
|
|
654
|
+
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"
|
|
669
655
|
})));
|
|
670
656
|
};
|
|
671
|
-
var ForwardRef$m = /*#__PURE__*/React.forwardRef(
|
|
657
|
+
var ForwardRef$m = /*#__PURE__*/React.forwardRef(SvgNotificationWarningFill);
|
|
672
658
|
|
|
673
659
|
var _path$l;
|
|
674
660
|
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); }
|
|
675
|
-
var
|
|
661
|
+
var SvgNotificationErrorFill = function SvgNotificationErrorFill(props, ref) {
|
|
676
662
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
677
663
|
xmlns: "http://www.w3.org/2000/svg",
|
|
678
664
|
width: 24,
|
|
@@ -680,16 +666,14 @@ var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
|
680
666
|
viewBox: "0 0 24 24",
|
|
681
667
|
ref: ref
|
|
682
668
|
}, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
|
|
683
|
-
|
|
684
|
-
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",
|
|
685
|
-
clipRule: "evenodd"
|
|
669
|
+
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"
|
|
686
670
|
})));
|
|
687
671
|
};
|
|
688
|
-
var ForwardRef$l = /*#__PURE__*/React.forwardRef(
|
|
672
|
+
var ForwardRef$l = /*#__PURE__*/React.forwardRef(SvgNotificationErrorFill);
|
|
689
673
|
|
|
690
674
|
var _path$k;
|
|
691
675
|
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); }
|
|
692
|
-
var
|
|
676
|
+
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
693
677
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
694
678
|
xmlns: "http://www.w3.org/2000/svg",
|
|
695
679
|
width: 24,
|
|
@@ -697,16 +681,14 @@ var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
|
697
681
|
viewBox: "0 0 24 24",
|
|
698
682
|
ref: ref
|
|
699
683
|
}, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
|
|
700
|
-
|
|
701
|
-
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",
|
|
702
|
-
clipRule: "evenodd"
|
|
684
|
+
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
703
685
|
})));
|
|
704
686
|
};
|
|
705
|
-
var ForwardRef$k = /*#__PURE__*/React.forwardRef(
|
|
687
|
+
var ForwardRef$k = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
706
688
|
|
|
707
|
-
var _path$j;
|
|
689
|
+
var _path$j, _path2$2;
|
|
708
690
|
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); }
|
|
709
|
-
var
|
|
691
|
+
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
710
692
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
711
693
|
xmlns: "http://www.w3.org/2000/svg",
|
|
712
694
|
width: 24,
|
|
@@ -714,16 +696,16 @@ var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
|
714
696
|
viewBox: "0 0 24 24",
|
|
715
697
|
ref: ref
|
|
716
698
|
}, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
699
|
+
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"
|
|
700
|
+
})), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
701
|
+
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"
|
|
720
702
|
})));
|
|
721
703
|
};
|
|
722
|
-
var ForwardRef$j = /*#__PURE__*/React.forwardRef(
|
|
704
|
+
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgContentLinkOutline);
|
|
723
705
|
|
|
724
706
|
var _path$i;
|
|
725
707
|
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); }
|
|
726
|
-
var
|
|
708
|
+
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
727
709
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
728
710
|
xmlns: "http://www.w3.org/2000/svg",
|
|
729
711
|
width: 24,
|
|
@@ -731,16 +713,14 @@ var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
|
731
713
|
viewBox: "0 0 24 24",
|
|
732
714
|
ref: ref
|
|
733
715
|
}, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
734
|
-
|
|
735
|
-
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",
|
|
736
|
-
clipRule: "evenodd"
|
|
716
|
+
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"
|
|
737
717
|
})));
|
|
738
718
|
};
|
|
739
|
-
var ForwardRef$i = /*#__PURE__*/React.forwardRef(
|
|
719
|
+
var ForwardRef$i = /*#__PURE__*/React.forwardRef(SvgContentEditFill);
|
|
740
720
|
|
|
741
|
-
var _path$h
|
|
721
|
+
var _path$h;
|
|
742
722
|
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); }
|
|
743
|
-
var
|
|
723
|
+
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
744
724
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
745
725
|
xmlns: "http://www.w3.org/2000/svg",
|
|
746
726
|
width: 24,
|
|
@@ -748,18 +728,16 @@ var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
|
748
728
|
viewBox: "0 0 24 24",
|
|
749
729
|
ref: ref
|
|
750
730
|
}, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
|
|
751
|
-
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
752
|
-
})), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
753
731
|
fillRule: "evenodd",
|
|
754
|
-
d: "
|
|
732
|
+
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",
|
|
755
733
|
clipRule: "evenodd"
|
|
756
734
|
})));
|
|
757
735
|
};
|
|
758
|
-
var ForwardRef$h = /*#__PURE__*/React.forwardRef(
|
|
736
|
+
var ForwardRef$h = /*#__PURE__*/React.forwardRef(SvgActionCopyContentOutline);
|
|
759
737
|
|
|
760
738
|
var _path$g;
|
|
761
739
|
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); }
|
|
762
|
-
var
|
|
740
|
+
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
763
741
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
764
742
|
xmlns: "http://www.w3.org/2000/svg",
|
|
765
743
|
width: 24,
|
|
@@ -767,16 +745,14 @@ var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
|
767
745
|
viewBox: "0 0 24 24",
|
|
768
746
|
ref: ref
|
|
769
747
|
}, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
770
|
-
|
|
771
|
-
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",
|
|
772
|
-
clipRule: "evenodd"
|
|
748
|
+
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"
|
|
773
749
|
})));
|
|
774
750
|
};
|
|
775
|
-
var ForwardRef$g = /*#__PURE__*/React.forwardRef(
|
|
751
|
+
var ForwardRef$g = /*#__PURE__*/React.forwardRef(SvgContentEditUndoOutline);
|
|
776
752
|
|
|
777
753
|
var _path$f;
|
|
778
754
|
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); }
|
|
779
|
-
var
|
|
755
|
+
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
780
756
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
781
757
|
xmlns: "http://www.w3.org/2000/svg",
|
|
782
758
|
width: 24,
|
|
@@ -784,16 +760,14 @@ var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
|
784
760
|
viewBox: "0 0 24 24",
|
|
785
761
|
ref: ref
|
|
786
762
|
}, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
787
|
-
|
|
788
|
-
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",
|
|
789
|
-
clipRule: "evenodd"
|
|
763
|
+
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"
|
|
790
764
|
})));
|
|
791
765
|
};
|
|
792
|
-
var ForwardRef$f = /*#__PURE__*/React.forwardRef(
|
|
766
|
+
var ForwardRef$f = /*#__PURE__*/React.forwardRef(SvgActionSaveOutline);
|
|
793
767
|
|
|
794
768
|
var _path$e;
|
|
795
769
|
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); }
|
|
796
|
-
var
|
|
770
|
+
var SvgFileFileWordFill = function SvgFileFileWordFill(props, ref) {
|
|
797
771
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
798
772
|
xmlns: "http://www.w3.org/2000/svg",
|
|
799
773
|
width: 24,
|
|
@@ -802,15 +776,15 @@ var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
|
802
776
|
ref: ref
|
|
803
777
|
}, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
804
778
|
fillRule: "evenodd",
|
|
805
|
-
d: "
|
|
779
|
+
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",
|
|
806
780
|
clipRule: "evenodd"
|
|
807
781
|
})));
|
|
808
782
|
};
|
|
809
|
-
var ForwardRef$e = /*#__PURE__*/React.forwardRef(
|
|
783
|
+
var ForwardRef$e = /*#__PURE__*/React.forwardRef(SvgFileFileWordFill);
|
|
810
784
|
|
|
811
785
|
var _path$d;
|
|
812
786
|
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); }
|
|
813
|
-
var
|
|
787
|
+
var SvgFileFileExcelFill = function SvgFileFileExcelFill(props, ref) {
|
|
814
788
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
815
789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
816
790
|
width: 24,
|
|
@@ -818,57 +792,178 @@ var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
|
818
792
|
viewBox: "0 0 24 24",
|
|
819
793
|
ref: ref
|
|
820
794
|
}, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
821
|
-
|
|
795
|
+
fillRule: "evenodd",
|
|
796
|
+
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",
|
|
797
|
+
clipRule: "evenodd"
|
|
822
798
|
})));
|
|
823
799
|
};
|
|
824
|
-
var ForwardRef$d = /*#__PURE__*/React.forwardRef(
|
|
800
|
+
var ForwardRef$d = /*#__PURE__*/React.forwardRef(SvgFileFileExcelFill);
|
|
825
801
|
|
|
826
802
|
var _path$c;
|
|
827
803
|
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); }
|
|
828
|
-
var
|
|
804
|
+
var SvgFileFilePdfFill = function SvgFileFilePdfFill(props, ref) {
|
|
829
805
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
806
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
830
807
|
width: 24,
|
|
831
808
|
height: 24,
|
|
832
809
|
viewBox: "0 0 24 24",
|
|
833
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
834
810
|
ref: ref
|
|
835
811
|
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
836
812
|
fillRule: "evenodd",
|
|
837
|
-
d: "
|
|
813
|
+
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",
|
|
814
|
+
clipRule: "evenodd"
|
|
838
815
|
})));
|
|
839
816
|
};
|
|
840
|
-
var ForwardRef$c = /*#__PURE__*/React.forwardRef(
|
|
817
|
+
var ForwardRef$c = /*#__PURE__*/React.forwardRef(SvgFileFilePdfFill);
|
|
841
818
|
|
|
842
|
-
var _path$b
|
|
819
|
+
var _path$b;
|
|
843
820
|
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); }
|
|
844
|
-
var
|
|
821
|
+
var SvgFileFileImageFill = function SvgFileFileImageFill(props, ref) {
|
|
845
822
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
846
|
-
width: 66,
|
|
847
|
-
height: 67,
|
|
848
|
-
viewBox: "0 0 66 67",
|
|
849
|
-
fill: "none",
|
|
850
823
|
xmlns: "http://www.w3.org/2000/svg",
|
|
824
|
+
width: 24,
|
|
825
|
+
height: 24,
|
|
826
|
+
viewBox: "0 0 24 24",
|
|
851
827
|
ref: ref
|
|
852
828
|
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
853
|
-
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",
|
|
854
|
-
fill: "#EBEDF5"
|
|
855
|
-
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
856
829
|
fillRule: "evenodd",
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
fill: "#6C6F80"
|
|
830
|
+
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",
|
|
831
|
+
clipRule: "evenodd"
|
|
860
832
|
})));
|
|
861
833
|
};
|
|
862
|
-
var ForwardRef$b = /*#__PURE__*/React.forwardRef(
|
|
863
|
-
|
|
864
|
-
var
|
|
865
|
-
|
|
866
|
-
function
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
834
|
+
var ForwardRef$b = /*#__PURE__*/React.forwardRef(SvgFileFileImageFill);
|
|
835
|
+
|
|
836
|
+
var _path$a, _path2$1;
|
|
837
|
+
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); }
|
|
838
|
+
var SvgFileFileVideoFill = function SvgFileFileVideoFill(props, ref) {
|
|
839
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
840
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
841
|
+
width: 24,
|
|
842
|
+
height: 24,
|
|
843
|
+
viewBox: "0 0 24 24",
|
|
844
|
+
ref: ref
|
|
845
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
846
|
+
d: "M14.992 14 9.5 17.138v-6.276L14.992 14z"
|
|
847
|
+
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
848
|
+
fillRule: "evenodd",
|
|
849
|
+
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",
|
|
850
|
+
clipRule: "evenodd"
|
|
851
|
+
})));
|
|
852
|
+
};
|
|
853
|
+
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgFileFileVideoFill);
|
|
854
|
+
|
|
855
|
+
var _path$9;
|
|
856
|
+
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); }
|
|
857
|
+
var SvgFileFileTableFill = function SvgFileFileTableFill(props, ref) {
|
|
858
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
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$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
865
|
+
fillRule: "evenodd",
|
|
866
|
+
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",
|
|
867
|
+
clipRule: "evenodd"
|
|
868
|
+
})));
|
|
869
|
+
};
|
|
870
|
+
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgFileFileTableFill);
|
|
871
|
+
|
|
872
|
+
var _path$8;
|
|
873
|
+
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); }
|
|
874
|
+
var SvgFileFileTextFill = function SvgFileFileTextFill(props, ref) {
|
|
875
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
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$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
882
|
+
fillRule: "evenodd",
|
|
883
|
+
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",
|
|
884
|
+
clipRule: "evenodd"
|
|
885
|
+
})));
|
|
886
|
+
};
|
|
887
|
+
var ForwardRef$8 = /*#__PURE__*/React.forwardRef(SvgFileFileTextFill);
|
|
888
|
+
|
|
889
|
+
var _path$7;
|
|
890
|
+
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); }
|
|
891
|
+
var SvgFileFileEmlFill = function SvgFileFileEmlFill(props, ref) {
|
|
892
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
893
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
894
|
+
width: 24,
|
|
895
|
+
height: 24,
|
|
896
|
+
viewBox: "0 0 24 24",
|
|
897
|
+
ref: ref
|
|
898
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
899
|
+
fillRule: "evenodd",
|
|
900
|
+
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",
|
|
901
|
+
clipRule: "evenodd"
|
|
902
|
+
})));
|
|
903
|
+
};
|
|
904
|
+
var ForwardRef$7 = /*#__PURE__*/React.forwardRef(SvgFileFileEmlFill);
|
|
905
|
+
|
|
906
|
+
var _path$6;
|
|
907
|
+
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); }
|
|
908
|
+
var SvgFileFileFill = function SvgFileFileFill(props, ref) {
|
|
909
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
910
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
911
|
+
width: 24,
|
|
912
|
+
height: 24,
|
|
913
|
+
viewBox: "0 0 24 24",
|
|
914
|
+
ref: ref
|
|
915
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
916
|
+
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"
|
|
917
|
+
})));
|
|
918
|
+
};
|
|
919
|
+
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgFileFileFill);
|
|
920
|
+
|
|
921
|
+
var _path$5;
|
|
922
|
+
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); }
|
|
923
|
+
var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
924
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
925
|
+
width: 24,
|
|
926
|
+
height: 24,
|
|
927
|
+
viewBox: "0 0 24 24",
|
|
928
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
929
|
+
ref: ref
|
|
930
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
931
|
+
fillRule: "evenodd",
|
|
932
|
+
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"
|
|
933
|
+
})));
|
|
934
|
+
};
|
|
935
|
+
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgStarFilled);
|
|
936
|
+
|
|
937
|
+
var _path$4, _path2;
|
|
938
|
+
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); }
|
|
939
|
+
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
940
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
941
|
+
width: 66,
|
|
942
|
+
height: 67,
|
|
943
|
+
viewBox: "0 0 66 67",
|
|
944
|
+
fill: "none",
|
|
945
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
946
|
+
ref: ref
|
|
947
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
948
|
+
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",
|
|
949
|
+
fill: "#EBEDF5"
|
|
950
|
+
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
951
|
+
fillRule: "evenodd",
|
|
952
|
+
clipRule: "evenodd",
|
|
953
|
+
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",
|
|
954
|
+
fill: "#6C6F80"
|
|
955
|
+
})));
|
|
956
|
+
};
|
|
957
|
+
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
958
|
+
|
|
959
|
+
var css$1w = {"root":"KrlGIY","uui-spinner":"_1yVbMT","uuiSpinner":"_1yVbMT"};
|
|
960
|
+
|
|
961
|
+
function applySpinnerMods() {
|
|
962
|
+
return [css$1w.root, 'uui-spinner'];
|
|
963
|
+
}
|
|
964
|
+
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
965
|
+
|
|
966
|
+
var css$1v = {"root":"bGD-GQ","loading-word":"N6nWnh","loadingWord":"N6nWnh","animated-loading":"Xhd6bU","animatedLoading":"Xhd6bU","skeleton_loading":"_5qKpS8","skeletonLoading":"_5qKpS8"};
|
|
872
967
|
|
|
873
968
|
const TextPlaceholder = (props) => {
|
|
874
969
|
const pattern = ' ';
|
|
@@ -880,23 +975,50 @@ const TextPlaceholder = (props) => {
|
|
|
880
975
|
}
|
|
881
976
|
return words;
|
|
882
977
|
}, [props.wordsCount]);
|
|
883
|
-
return (React__namespace.createElement("div", { "aria-busy": true, className: cx__default.default(css$
|
|
884
|
-
props.cx, css$
|
|
978
|
+
return (React__namespace.createElement("div", { "aria-busy": true, className: cx__default.default(css$1v.root, 'uui-text-placeholder'), ...props.rawProps }, text.map((it, index) => (React__namespace.createElement("span", { key: index, className: cx__default.default([
|
|
979
|
+
props.cx, css$1v.loadingWord, !props.isNotAnimated && css$1v.animatedLoading,
|
|
885
980
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
886
981
|
};
|
|
887
982
|
|
|
983
|
+
var css$1u = {"root":"gFX4Wt","line-height":"qfPSAi","lineHeight":"qfPSAi","font-size":"v7CQxB","fontSize":"v7CQxB"};
|
|
984
|
+
|
|
985
|
+
function applyTextMods(mods) {
|
|
986
|
+
return [
|
|
987
|
+
css$1u.root,
|
|
988
|
+
'uui-text',
|
|
989
|
+
`uui-size-${mods.size || settings.text.sizes.default}`,
|
|
990
|
+
(mods.size !== 'none' || mods.lineHeight) && css$1u.lineHeight,
|
|
991
|
+
(mods.size !== 'none' || mods.fontSize) && css$1u.fontSize,
|
|
992
|
+
`uui-color-${mods.color || 'primary'}`,
|
|
993
|
+
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
994
|
+
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
995
|
+
'uui-typography-inline',
|
|
996
|
+
];
|
|
997
|
+
}
|
|
998
|
+
const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, applyTextMods, (props) => {
|
|
999
|
+
const style = props?.rawProps?.style || {};
|
|
1000
|
+
props.fontSize && (style['--uui-text-font-size'] = `${props.fontSize}px`);
|
|
1001
|
+
props.lineHeight && (style['--uui-text-line-height'] = `${props.lineHeight}px`);
|
|
1002
|
+
return {
|
|
1003
|
+
rawProps: {
|
|
1004
|
+
...props?.rawProps,
|
|
1005
|
+
style: style,
|
|
1006
|
+
},
|
|
1007
|
+
};
|
|
1008
|
+
});
|
|
1009
|
+
|
|
888
1010
|
const accordionSettings = {
|
|
889
1011
|
icons: {
|
|
890
|
-
dropdownIcon: ForwardRef$
|
|
1012
|
+
dropdownIcon: ForwardRef$P,
|
|
891
1013
|
},
|
|
892
1014
|
};
|
|
893
1015
|
const alertSettings = {
|
|
894
1016
|
icons: {
|
|
895
|
-
closeIcon: ForwardRef$
|
|
896
|
-
infoIcon: ForwardRef$
|
|
897
|
-
successIcon: ForwardRef$
|
|
898
|
-
warningIcon: ForwardRef$
|
|
899
|
-
errorIcon: ForwardRef$
|
|
1017
|
+
closeIcon: ForwardRef$Q,
|
|
1018
|
+
infoIcon: ForwardRef$J,
|
|
1019
|
+
successIcon: ForwardRef$n,
|
|
1020
|
+
warningIcon: ForwardRef$m,
|
|
1021
|
+
errorIcon: ForwardRef$l,
|
|
900
1022
|
},
|
|
901
1023
|
sizes: {
|
|
902
1024
|
default: '48',
|
|
@@ -908,7 +1030,7 @@ const alertSettings = {
|
|
|
908
1030
|
};
|
|
909
1031
|
const badgeSettings = {
|
|
910
1032
|
icons: {
|
|
911
|
-
dropdownIcon: ForwardRef$
|
|
1033
|
+
dropdownIcon: ForwardRef$P,
|
|
912
1034
|
},
|
|
913
1035
|
sizes: {
|
|
914
1036
|
default: '36',
|
|
@@ -924,8 +1046,8 @@ const badgeSettings = {
|
|
|
924
1046
|
};
|
|
925
1047
|
const buttonSettings = {
|
|
926
1048
|
icons: {
|
|
927
|
-
clearIcon: ForwardRef$
|
|
928
|
-
dropdownIcon: ForwardRef$
|
|
1049
|
+
clearIcon: ForwardRef$Q,
|
|
1050
|
+
dropdownIcon: ForwardRef$P,
|
|
929
1051
|
},
|
|
930
1052
|
sizes: {
|
|
931
1053
|
default: '36',
|
|
@@ -933,8 +1055,8 @@ const buttonSettings = {
|
|
|
933
1055
|
};
|
|
934
1056
|
const checkboxSettings = {
|
|
935
1057
|
icons: {
|
|
936
|
-
checkIcon: ForwardRef$
|
|
937
|
-
indeterminateIcon: ForwardRef$
|
|
1058
|
+
checkIcon: ForwardRef$O,
|
|
1059
|
+
indeterminateIcon: ForwardRef$N,
|
|
938
1060
|
},
|
|
939
1061
|
sizes: {
|
|
940
1062
|
default: '18',
|
|
@@ -946,32 +1068,33 @@ const countIndicatorSettings = {
|
|
|
946
1068
|
},
|
|
947
1069
|
};
|
|
948
1070
|
const dataTableSettings = {
|
|
949
|
-
renderPlaceholder: () => React__namespace.default.createElement(
|
|
1071
|
+
renderPlaceholder: (props) => React__namespace.default.createElement(Text, { size: props.rowSize },
|
|
1072
|
+
React__namespace.default.createElement(TextPlaceholder, null)),
|
|
950
1073
|
icons: {
|
|
951
|
-
emptyTable: ForwardRef$
|
|
1074
|
+
emptyTable: ForwardRef$I,
|
|
952
1075
|
header: {
|
|
953
|
-
configIcon: ForwardRef$
|
|
954
|
-
ascSortIcon: ForwardRef$
|
|
955
|
-
descSortIcon: ForwardRef$
|
|
956
|
-
defaultSortIcon: ForwardRef$
|
|
957
|
-
filterIcon: ForwardRef$
|
|
958
|
-
dropdownIcon: ForwardRef$
|
|
959
|
-
openedDropdownIcon: ForwardRef$
|
|
960
|
-
foldIcon: ForwardRef$
|
|
961
|
-
unfoldIcon: ForwardRef$
|
|
1076
|
+
configIcon: ForwardRef$u,
|
|
1077
|
+
ascSortIcon: ForwardRef$H,
|
|
1078
|
+
descSortIcon: ForwardRef$G,
|
|
1079
|
+
defaultSortIcon: ForwardRef$z,
|
|
1080
|
+
filterIcon: ForwardRef$y,
|
|
1081
|
+
dropdownIcon: ForwardRef$P,
|
|
1082
|
+
openedDropdownIcon: ForwardRef$x,
|
|
1083
|
+
foldIcon: ForwardRef$w,
|
|
1084
|
+
unfoldIcon: ForwardRef$v,
|
|
962
1085
|
},
|
|
963
1086
|
body: {
|
|
964
|
-
foldingIcon: ForwardRef$
|
|
1087
|
+
foldingIcon: ForwardRef$P,
|
|
965
1088
|
},
|
|
966
1089
|
columnsConfigurationModal: {
|
|
967
|
-
dragIndicator: ForwardRef$
|
|
968
|
-
lockIcon: ForwardRef$
|
|
969
|
-
pinLeftIcon: ForwardRef$
|
|
970
|
-
pinRightIcon: ForwardRef$
|
|
971
|
-
collapsedIcon: ForwardRef$
|
|
972
|
-
expandedIcon: ForwardRef$
|
|
973
|
-
menuIcon: ForwardRef$
|
|
974
|
-
resetIcon: ForwardRef$
|
|
1090
|
+
dragIndicator: ForwardRef$F,
|
|
1091
|
+
lockIcon: ForwardRef$C,
|
|
1092
|
+
pinLeftIcon: ForwardRef$B,
|
|
1093
|
+
pinRightIcon: ForwardRef$A,
|
|
1094
|
+
collapsedIcon: ForwardRef$s,
|
|
1095
|
+
expandedIcon: ForwardRef$P,
|
|
1096
|
+
menuIcon: ForwardRef$E,
|
|
1097
|
+
resetIcon: ForwardRef$D,
|
|
975
1098
|
},
|
|
976
1099
|
},
|
|
977
1100
|
sizes: {
|
|
@@ -1028,18 +1151,18 @@ const dataTableSettings = {
|
|
|
1028
1151
|
};
|
|
1029
1152
|
const dropdownMenuSettings = {
|
|
1030
1153
|
icons: {
|
|
1031
|
-
acceptIcon: ForwardRef$
|
|
1032
|
-
dropdownIcon: ForwardRef$
|
|
1154
|
+
acceptIcon: ForwardRef$O,
|
|
1155
|
+
dropdownIcon: ForwardRef$P,
|
|
1033
1156
|
},
|
|
1034
1157
|
};
|
|
1035
1158
|
const datePickerSettings = {
|
|
1036
1159
|
icons: {
|
|
1037
1160
|
body: {
|
|
1038
|
-
prevIcon: ForwardRef$
|
|
1039
|
-
nextIcon: ForwardRef$
|
|
1161
|
+
prevIcon: ForwardRef$t,
|
|
1162
|
+
nextIcon: ForwardRef$s,
|
|
1040
1163
|
},
|
|
1041
1164
|
input: {
|
|
1042
|
-
calendarIcon: ForwardRef$
|
|
1165
|
+
calendarIcon: ForwardRef$L,
|
|
1043
1166
|
},
|
|
1044
1167
|
},
|
|
1045
1168
|
sizes: {
|
|
@@ -1049,17 +1172,17 @@ const datePickerSettings = {
|
|
|
1049
1172
|
};
|
|
1050
1173
|
const fileCardSettings = {
|
|
1051
1174
|
icons: {
|
|
1052
|
-
docIcon: ForwardRef$
|
|
1053
|
-
exelIcon: ForwardRef$
|
|
1054
|
-
pdfIcon: ForwardRef$
|
|
1055
|
-
imgIcon: ForwardRef$
|
|
1056
|
-
videoIcon: ForwardRef$
|
|
1057
|
-
tableIcon: ForwardRef$
|
|
1058
|
-
textIcon: ForwardRef$
|
|
1059
|
-
mailIcon: ForwardRef$
|
|
1060
|
-
fileIcon: ForwardRef$
|
|
1061
|
-
closeIcon: ForwardRef$
|
|
1062
|
-
errorIcon: ForwardRef$
|
|
1175
|
+
docIcon: ForwardRef$e,
|
|
1176
|
+
exelIcon: ForwardRef$d,
|
|
1177
|
+
pdfIcon: ForwardRef$c,
|
|
1178
|
+
imgIcon: ForwardRef$b,
|
|
1179
|
+
videoIcon: ForwardRef$a,
|
|
1180
|
+
tableIcon: ForwardRef$9,
|
|
1181
|
+
textIcon: ForwardRef$8,
|
|
1182
|
+
mailIcon: ForwardRef$7,
|
|
1183
|
+
fileIcon: ForwardRef$6,
|
|
1184
|
+
closeIcon: ForwardRef$Q,
|
|
1185
|
+
errorIcon: ForwardRef$l,
|
|
1063
1186
|
},
|
|
1064
1187
|
};
|
|
1065
1188
|
const flexRowSettings = {
|
|
@@ -1068,23 +1191,31 @@ const flexRowSettings = {
|
|
|
1068
1191
|
},
|
|
1069
1192
|
};
|
|
1070
1193
|
const filtersPanelSettings = {
|
|
1194
|
+
renderPlaceholder: () => React__namespace.default.createElement(TextPlaceholder, null),
|
|
1071
1195
|
icons: {
|
|
1072
|
-
addFilterIcon: ForwardRef$
|
|
1073
|
-
itemDropdownIcon: ForwardRef$
|
|
1196
|
+
addFilterIcon: ForwardRef$r,
|
|
1197
|
+
itemDropdownIcon: ForwardRef$P,
|
|
1198
|
+
pickerBodyRemoveIcon: ForwardRef$k,
|
|
1074
1199
|
},
|
|
1075
1200
|
sizes: {
|
|
1076
1201
|
default: '36',
|
|
1202
|
+
footerLinkButton: '36',
|
|
1203
|
+
mobileFooterLinkButton: '48',
|
|
1204
|
+
pickerBodyMultiSwitch: '24',
|
|
1205
|
+
pickerBodyLinkButton: '24',
|
|
1206
|
+
pickerBodyMinWidth: 360,
|
|
1207
|
+
rangeDatePickerInput: '30',
|
|
1077
1208
|
},
|
|
1078
1209
|
};
|
|
1079
1210
|
const iconButtonSettings = {
|
|
1080
1211
|
icons: {
|
|
1081
|
-
dropdownIcon: ForwardRef$
|
|
1212
|
+
dropdownIcon: ForwardRef$P,
|
|
1082
1213
|
},
|
|
1083
1214
|
};
|
|
1084
1215
|
const labeledInputSettings = {
|
|
1085
1216
|
icons: {
|
|
1086
|
-
infoIcon: ForwardRef$
|
|
1087
|
-
fillInfoIcon: ForwardRef$
|
|
1217
|
+
infoIcon: ForwardRef$K,
|
|
1218
|
+
fillInfoIcon: ForwardRef$J,
|
|
1088
1219
|
},
|
|
1089
1220
|
sizes: {
|
|
1090
1221
|
default: '36',
|
|
@@ -1092,7 +1223,7 @@ const labeledInputSettings = {
|
|
|
1092
1223
|
};
|
|
1093
1224
|
const linkButtonSettings = {
|
|
1094
1225
|
icons: {
|
|
1095
|
-
dropdownIcon: ForwardRef$
|
|
1226
|
+
dropdownIcon: ForwardRef$P,
|
|
1096
1227
|
},
|
|
1097
1228
|
sizes: {
|
|
1098
1229
|
default: '36',
|
|
@@ -1101,24 +1232,25 @@ const linkButtonSettings = {
|
|
|
1101
1232
|
};
|
|
1102
1233
|
const modalSettings = {
|
|
1103
1234
|
icons: {
|
|
1104
|
-
closeIcon: ForwardRef$
|
|
1235
|
+
closeIcon: ForwardRef$Q,
|
|
1105
1236
|
},
|
|
1106
1237
|
};
|
|
1107
1238
|
const notificationCardSettings = {
|
|
1108
1239
|
icons: {
|
|
1109
|
-
closeIcon: ForwardRef$
|
|
1110
|
-
hintIcon: ForwardRef$
|
|
1111
|
-
successIcon: ForwardRef$
|
|
1112
|
-
warningIcon: ForwardRef$
|
|
1113
|
-
errorIcon: ForwardRef$
|
|
1240
|
+
closeIcon: ForwardRef$Q,
|
|
1241
|
+
hintIcon: ForwardRef$o,
|
|
1242
|
+
successIcon: ForwardRef$n,
|
|
1243
|
+
warningIcon: ForwardRef$m,
|
|
1244
|
+
errorIcon: ForwardRef$l,
|
|
1114
1245
|
},
|
|
1115
1246
|
sizes: {
|
|
1116
1247
|
action: '30',
|
|
1248
|
+
icon: 24,
|
|
1117
1249
|
},
|
|
1118
1250
|
};
|
|
1119
1251
|
const numericInputSettings = {
|
|
1120
1252
|
icons: {
|
|
1121
|
-
arrowIcon: ForwardRef$
|
|
1253
|
+
arrowIcon: ForwardRef$P,
|
|
1122
1254
|
},
|
|
1123
1255
|
sizes: {
|
|
1124
1256
|
default: '36',
|
|
@@ -1126,24 +1258,25 @@ const numericInputSettings = {
|
|
|
1126
1258
|
};
|
|
1127
1259
|
const paginatorSettings = {
|
|
1128
1260
|
icons: {
|
|
1129
|
-
leftArrowIcon: ForwardRef$
|
|
1130
|
-
rightArrowIcon: ForwardRef$
|
|
1261
|
+
leftArrowIcon: ForwardRef$t,
|
|
1262
|
+
rightArrowIcon: ForwardRef$s,
|
|
1131
1263
|
},
|
|
1132
1264
|
sizes: {
|
|
1133
|
-
default: '
|
|
1265
|
+
default: '30',
|
|
1134
1266
|
},
|
|
1135
1267
|
};
|
|
1136
1268
|
const pickerInputSettings = {
|
|
1137
|
-
renderPlaceholder: () => React__namespace.default.createElement(
|
|
1269
|
+
renderPlaceholder: (props) => React__namespace.default.createElement(Text, { size: props.rowSize },
|
|
1270
|
+
React__namespace.default.createElement(TextPlaceholder, null)),
|
|
1138
1271
|
icons: {
|
|
1139
1272
|
toggler: {
|
|
1140
|
-
clearIcon: ForwardRef$
|
|
1141
|
-
dropdownIcon: ForwardRef$
|
|
1273
|
+
clearIcon: ForwardRef$Q,
|
|
1274
|
+
dropdownIcon: ForwardRef$P,
|
|
1142
1275
|
},
|
|
1143
1276
|
body: {
|
|
1144
|
-
selectIcon: (size) => size < '30' ? ForwardRef$
|
|
1145
|
-
pickerBodyMobileHeaderCloseIcon: ForwardRef$
|
|
1146
|
-
modalNotFoundSearchIcon: ForwardRef$
|
|
1277
|
+
selectIcon: (size) => size < '30' ? ForwardRef$q : ForwardRef$O,
|
|
1278
|
+
pickerBodyMobileHeaderCloseIcon: ForwardRef$Q,
|
|
1279
|
+
modalNotFoundSearchIcon: ForwardRef$4,
|
|
1147
1280
|
},
|
|
1148
1281
|
},
|
|
1149
1282
|
sizes: {
|
|
@@ -1200,12 +1333,32 @@ const pickerInputSettings = {
|
|
|
1200
1333
|
mobileFooterLinkButton: '48',
|
|
1201
1334
|
mobileRow: '48',
|
|
1202
1335
|
mobileSearchInput: '48',
|
|
1336
|
+
getSearchSize: ({ pickerSize }) => {
|
|
1337
|
+
return pickerSize;
|
|
1338
|
+
},
|
|
1203
1339
|
},
|
|
1204
1340
|
},
|
|
1205
1341
|
};
|
|
1342
|
+
const presetsPanelSettings = {
|
|
1343
|
+
icons: {
|
|
1344
|
+
addIcon: ForwardRef$r,
|
|
1345
|
+
copyIcon: ForwardRef$h,
|
|
1346
|
+
copyLinkIcon: ForwardRef$j,
|
|
1347
|
+
deleteIcon: ForwardRef$k,
|
|
1348
|
+
discardChangesIcon: ForwardRef$g,
|
|
1349
|
+
menuIcon: ForwardRef$E,
|
|
1350
|
+
renameIcon: ForwardRef$i,
|
|
1351
|
+
saveAsNewIcon: ForwardRef$f,
|
|
1352
|
+
saveInCurrentIcon: ForwardRef$D,
|
|
1353
|
+
},
|
|
1354
|
+
sizes: {
|
|
1355
|
+
tabButton: '60',
|
|
1356
|
+
dropdownTargetIconButton: '18',
|
|
1357
|
+
},
|
|
1358
|
+
};
|
|
1206
1359
|
const radioInputSettings = {
|
|
1207
1360
|
icons: {
|
|
1208
|
-
dotIcon: ForwardRef$
|
|
1361
|
+
dotIcon: ForwardRef$p,
|
|
1209
1362
|
},
|
|
1210
1363
|
sizes: {
|
|
1211
1364
|
default: '18',
|
|
@@ -1214,7 +1367,7 @@ const radioInputSettings = {
|
|
|
1214
1367
|
const rangeDatePickerSettings = {
|
|
1215
1368
|
icons: {
|
|
1216
1369
|
input: {
|
|
1217
|
-
calendarIcon: ForwardRef$
|
|
1370
|
+
calendarIcon: ForwardRef$L,
|
|
1218
1371
|
},
|
|
1219
1372
|
},
|
|
1220
1373
|
sizes: {
|
|
@@ -1224,8 +1377,8 @@ const rangeDatePickerSettings = {
|
|
|
1224
1377
|
};
|
|
1225
1378
|
const ratingSettings = {
|
|
1226
1379
|
icons: {
|
|
1227
|
-
filledRatingIcon: ForwardRef$
|
|
1228
|
-
emptyRatingIcon: ForwardRef$
|
|
1380
|
+
filledRatingIcon: ForwardRef$5,
|
|
1381
|
+
emptyRatingIcon: ForwardRef$5,
|
|
1229
1382
|
},
|
|
1230
1383
|
sizes: {
|
|
1231
1384
|
default: 18,
|
|
@@ -1248,8 +1401,8 @@ const switchSettings = {
|
|
|
1248
1401
|
};
|
|
1249
1402
|
const tabButtonSettings = {
|
|
1250
1403
|
icons: {
|
|
1251
|
-
clearIcon: ForwardRef$
|
|
1252
|
-
dropdownIcon: ForwardRef$
|
|
1404
|
+
clearIcon: ForwardRef$Q,
|
|
1405
|
+
dropdownIcon: ForwardRef$P,
|
|
1253
1406
|
},
|
|
1254
1407
|
sizes: {
|
|
1255
1408
|
default: '48',
|
|
@@ -1262,8 +1415,8 @@ const tabButtonSettings = {
|
|
|
1262
1415
|
};
|
|
1263
1416
|
const tagSettings = {
|
|
1264
1417
|
icons: {
|
|
1265
|
-
clearIcon: ForwardRef$
|
|
1266
|
-
dropdownIcon: ForwardRef$
|
|
1418
|
+
clearIcon: ForwardRef$Q,
|
|
1419
|
+
dropdownIcon: ForwardRef$P,
|
|
1267
1420
|
},
|
|
1268
1421
|
sizes: {
|
|
1269
1422
|
default: '36',
|
|
@@ -1289,10 +1442,10 @@ const textAreaSettings = {
|
|
|
1289
1442
|
};
|
|
1290
1443
|
const textInputSettings = {
|
|
1291
1444
|
icons: {
|
|
1292
|
-
acceptIcon: ForwardRef$
|
|
1293
|
-
clearIcon: ForwardRef$
|
|
1294
|
-
dropdownIcon: ForwardRef$
|
|
1295
|
-
searchIcon: ForwardRef$
|
|
1445
|
+
acceptIcon: ForwardRef$O,
|
|
1446
|
+
clearIcon: ForwardRef$Q,
|
|
1447
|
+
dropdownIcon: ForwardRef$P,
|
|
1448
|
+
searchIcon: ForwardRef$M,
|
|
1296
1449
|
},
|
|
1297
1450
|
sizes: {
|
|
1298
1451
|
default: '36',
|
|
@@ -1323,6 +1476,7 @@ const settings = {
|
|
|
1323
1476
|
numericInput: numericInputSettings,
|
|
1324
1477
|
paginator: paginatorSettings,
|
|
1325
1478
|
pickerInput: pickerInputSettings,
|
|
1479
|
+
presetsPanel: presetsPanelSettings,
|
|
1326
1480
|
radioInput: radioInputSettings,
|
|
1327
1481
|
rangeDatePicker: rangeDatePickerSettings,
|
|
1328
1482
|
rating: ratingSettings,
|
|
@@ -1336,11 +1490,11 @@ const settings = {
|
|
|
1336
1490
|
textInput: textInputSettings,
|
|
1337
1491
|
};
|
|
1338
1492
|
|
|
1339
|
-
var css$
|
|
1493
|
+
var css$1t = {"root":"sNVX-Q"};
|
|
1340
1494
|
|
|
1341
1495
|
function applyButtonMods(mods) {
|
|
1342
1496
|
return [
|
|
1343
|
-
css$
|
|
1497
|
+
css$1t.root,
|
|
1344
1498
|
'uui-button',
|
|
1345
1499
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
1346
1500
|
`uui-color-${mods.color || 'primary'}`,
|
|
@@ -1354,10 +1508,10 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
|
|
|
1354
1508
|
};
|
|
1355
1509
|
});
|
|
1356
1510
|
|
|
1357
|
-
var css$
|
|
1511
|
+
var css$1s = {"root":"snx1hd"};
|
|
1358
1512
|
|
|
1359
1513
|
function applyIconButtonMods(props) {
|
|
1360
|
-
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$
|
|
1514
|
+
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1s.root];
|
|
1361
1515
|
}
|
|
1362
1516
|
const IconButton = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.IconButton, applyIconButtonMods, (props) => {
|
|
1363
1517
|
const isDeprecated = ['info', 'success', 'error', 'warning'].includes(props.color);
|
|
@@ -1391,10 +1545,10 @@ function getIconClass(props) {
|
|
|
1391
1545
|
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'];
|
|
1392
1546
|
}
|
|
1393
1547
|
|
|
1394
|
-
var css$
|
|
1548
|
+
var css$1r = {"root":"vujsVT"};
|
|
1395
1549
|
|
|
1396
1550
|
const DEFAULT_COLOR = 'primary';
|
|
1397
|
-
|
|
1551
|
+
const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1398
1552
|
if (process.env.NODE_ENV !== "production" && props.color === 'contrast') {
|
|
1399
1553
|
uuiCore.devLogger.warnAboutDeprecatedPropValue({
|
|
1400
1554
|
component: 'LinkButton',
|
|
@@ -1406,7 +1560,7 @@ function LinkButton(props) {
|
|
|
1406
1560
|
}
|
|
1407
1561
|
const rootStyles = [
|
|
1408
1562
|
'uui-link_button',
|
|
1409
|
-
css$
|
|
1563
|
+
css$1r.root,
|
|
1410
1564
|
`uui-size-${props.size || settings.linkButton.sizes.default}`,
|
|
1411
1565
|
...getIconClass(props),
|
|
1412
1566
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
@@ -1414,30 +1568,30 @@ function LinkButton(props) {
|
|
|
1414
1568
|
];
|
|
1415
1569
|
const captionStyles = cx__default.default(uuiCore.uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || settings.linkButton.weight}`);
|
|
1416
1570
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.linkButton.icons.dropdownIcon;
|
|
1417
|
-
return (React__namespace.createElement(uuiComponents.Clickable, { ...props, type: "button", cx: rootStyles, ref:
|
|
1571
|
+
return (React__namespace.createElement(uuiComponents.Clickable, { ...props, type: "button", cx: rootStyles, ref: ref },
|
|
1418
1572
|
props.icon && props.iconPosition !== 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1419
1573
|
props.caption && (React__namespace.createElement("div", { className: captionStyles }, props.caption)),
|
|
1420
1574
|
props.icon && props.iconPosition === 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1421
1575
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1422
|
-
}
|
|
1576
|
+
});
|
|
1423
1577
|
|
|
1424
|
-
var css$
|
|
1578
|
+
var css$1q = {"root":"_7naoX7"};
|
|
1425
1579
|
|
|
1426
|
-
|
|
1427
|
-
return (React__namespace.default.createElement("div", { ref:
|
|
1428
|
-
css$
|
|
1580
|
+
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1581
|
+
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
1582
|
+
css$1q.root,
|
|
1429
1583
|
'uui-count_indicator',
|
|
1430
1584
|
`uui-size-${props.size || settings.countIndicator.sizes.default}`,
|
|
1431
1585
|
props.color && `uui-color-${props.color}`,
|
|
1432
1586
|
props.cx,
|
|
1433
1587
|
]) }, props.caption));
|
|
1434
|
-
}
|
|
1588
|
+
});
|
|
1435
1589
|
|
|
1436
|
-
var css$
|
|
1590
|
+
var css$1p = {"root":"bSDKiN","withNotify":"pf2JLA"};
|
|
1437
1591
|
|
|
1438
|
-
|
|
1592
|
+
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1439
1593
|
const styles = [
|
|
1440
|
-
css$
|
|
1594
|
+
css$1p.root,
|
|
1441
1595
|
'uui-tab-button',
|
|
1442
1596
|
`uui-size-${props.size || settings.tabButton.sizes.default}`,
|
|
1443
1597
|
...getIconClass(props),
|
|
@@ -1450,31 +1604,31 @@ function TabButton(props) {
|
|
|
1450
1604
|
'aria-haspopup': props.isDropdown,
|
|
1451
1605
|
'aria-expanded': props.isOpen,
|
|
1452
1606
|
...props.rawProps,
|
|
1453
|
-
}, cx: styles, ref:
|
|
1607
|
+
}, cx: styles, ref: ref },
|
|
1454
1608
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1455
1609
|
(props.caption || props.withNotify) && (React__namespace.default.createElement("div", { className: uuiCore.cx(uuiCore.uuiElement.caption) },
|
|
1456
1610
|
props.caption,
|
|
1457
|
-
props.withNotify && React__namespace.default.createElement("div", { className: css$
|
|
1611
|
+
props.withNotify && React__namespace.default.createElement("div", { className: css$1p.withNotify }))),
|
|
1458
1612
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1459
1613
|
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: "neutral", size: settings.tabButton.sizes.countIndicatorMap[props.size || settings.tabButton.sizes.default], caption: props.count })),
|
|
1460
1614
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1461
1615
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1462
|
-
}
|
|
1616
|
+
});
|
|
1463
1617
|
|
|
1464
|
-
var css$
|
|
1618
|
+
var css$1o = {"root":"_6ZqbsU"};
|
|
1465
1619
|
|
|
1466
1620
|
function applyVerticalTabButtonMods() {
|
|
1467
|
-
return [css$
|
|
1621
|
+
return [css$1o.root, 'uui-vertical-tab-button'];
|
|
1468
1622
|
}
|
|
1469
1623
|
const VerticalTabButton = /* @__PURE__ */uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
|
|
1470
1624
|
|
|
1471
|
-
var css$
|
|
1625
|
+
var css$1n = {"root":"L96JmR"};
|
|
1472
1626
|
|
|
1473
1627
|
function applyCheckboxMods(mods) {
|
|
1474
1628
|
return [
|
|
1475
|
-
css$
|
|
1629
|
+
css$1n.root,
|
|
1476
1630
|
`uui-size-${mods.size || settings.checkbox.sizes.default}`,
|
|
1477
|
-
|
|
1631
|
+
'uui-control-mode-' + (mods.mode || 'form'),
|
|
1478
1632
|
'uui-color-primary',
|
|
1479
1633
|
];
|
|
1480
1634
|
}
|
|
@@ -1486,11 +1640,11 @@ const applyUUICheckboxProps = (props) => {
|
|
|
1486
1640
|
};
|
|
1487
1641
|
const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1488
1642
|
|
|
1489
|
-
var css$
|
|
1643
|
+
var css$1m = {"root":"xZ0xea"};
|
|
1490
1644
|
|
|
1491
1645
|
function applyRadioInputMods(mods) {
|
|
1492
1646
|
return [
|
|
1493
|
-
css$
|
|
1647
|
+
css$1m.root,
|
|
1494
1648
|
`uui-size-${mods.size || settings.radioInput.sizes.default}`,
|
|
1495
1649
|
'uui-radio-input-container',
|
|
1496
1650
|
'uui-color-primary',
|
|
@@ -1498,11 +1652,11 @@ function applyRadioInputMods(mods) {
|
|
|
1498
1652
|
}
|
|
1499
1653
|
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
1500
1654
|
|
|
1501
|
-
var css$
|
|
1655
|
+
var css$1l = {"root":"_2nI57L"};
|
|
1502
1656
|
|
|
1503
1657
|
function applySwitchMods(mods) {
|
|
1504
1658
|
return [
|
|
1505
|
-
css$
|
|
1659
|
+
css$1l.root,
|
|
1506
1660
|
`uui-size-${mods.size || settings.switch.sizes.default}`,
|
|
1507
1661
|
'uui-color-primary',
|
|
1508
1662
|
];
|
|
@@ -1522,14 +1676,14 @@ var EditMode;
|
|
|
1522
1676
|
EditMode["INLINE"] = "inline";
|
|
1523
1677
|
})(EditMode || (EditMode = {}));
|
|
1524
1678
|
|
|
1525
|
-
var textInputCss = {"root":"
|
|
1679
|
+
var textInputCss = {"root":"_1ExOjk"};
|
|
1526
1680
|
|
|
1527
1681
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1528
1682
|
function applyTextInputMods(mods) {
|
|
1529
1683
|
return [
|
|
1530
1684
|
textInputCss.root,
|
|
1531
1685
|
`uui-size-${mods.size || settings.textInput.sizes.default}`,
|
|
1532
|
-
|
|
1686
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$3),
|
|
1533
1687
|
];
|
|
1534
1688
|
}
|
|
1535
1689
|
const TextInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.TextInput, applyTextInputMods, () => ({
|
|
@@ -1537,42 +1691,41 @@ const TextInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.TextInput, apply
|
|
|
1537
1691
|
cancelIcon: settings.textInput.icons.clearIcon,
|
|
1538
1692
|
dropdownIcon: settings.textInput.icons.dropdownIcon,
|
|
1539
1693
|
}));
|
|
1540
|
-
const SearchInput = (props) => {
|
|
1694
|
+
const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1541
1695
|
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
1542
1696
|
const { ...textInputProps } = props;
|
|
1543
1697
|
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
1544
1698
|
return (React__namespace.default.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => {
|
|
1545
1699
|
const defaultOnCancel = () => iEditable.onValueChange('');
|
|
1546
|
-
return (React__namespace.default.createElement(TextInput, { icon: settings.textInput.icons.searchIcon, onCancel: props.onCancel ?? defaultOnCancel, type: "search", inputMode: "search", ref:
|
|
1700
|
+
return (React__namespace.default.createElement(TextInput, { icon: settings.textInput.icons.searchIcon, onCancel: props.onCancel ?? defaultOnCancel, type: "search", inputMode: "search", ref: ref, ...textInputProps, ...iEditable }));
|
|
1547
1701
|
} }));
|
|
1548
|
-
};
|
|
1702
|
+
});
|
|
1549
1703
|
|
|
1550
|
-
var css$
|
|
1704
|
+
var css$1k = {"root":"LTYAUq"};
|
|
1551
1705
|
|
|
1552
|
-
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$
|
|
1706
|
+
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1k.root, 'uui-control-group']);
|
|
1553
1707
|
|
|
1554
|
-
function MultiSwitchComponent(props) {
|
|
1555
|
-
|
|
1556
|
-
return (React__namespace.createElement(ControlGroup, { ref: props.ref, rawProps: {
|
|
1708
|
+
function MultiSwitchComponent(props, ref) {
|
|
1709
|
+
return (React__namespace.createElement(ControlGroup, { ref: ref, rawProps: {
|
|
1557
1710
|
...props.rawProps,
|
|
1558
1711
|
role: 'tablist',
|
|
1559
1712
|
'aria-invalid': props.isInvalid,
|
|
1560
1713
|
'aria-required': props.isRequired,
|
|
1561
1714
|
'aria-disabled': props.isDisabled,
|
|
1562
1715
|
'aria-readonly': props.isReadonly,
|
|
1563
|
-
} }, props.items.map((item, index) => (React__namespace.createElement(Button, { ...
|
|
1716
|
+
} }, props.items.map((item, index) => (React__namespace.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' } })))));
|
|
1564
1717
|
}
|
|
1565
|
-
const MultiSwitch = MultiSwitchComponent;
|
|
1718
|
+
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
1566
1719
|
|
|
1567
|
-
var css$
|
|
1720
|
+
var css$1j = {"root":"Y9szTH"};
|
|
1568
1721
|
|
|
1569
1722
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1570
1723
|
function applyNumericInputMods(mods) {
|
|
1571
1724
|
return [
|
|
1572
1725
|
textInputCss.root,
|
|
1573
|
-
css$
|
|
1726
|
+
css$1j.root,
|
|
1574
1727
|
`uui-size-${mods.size || settings.numericInput.sizes.default}`,
|
|
1575
|
-
|
|
1728
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$2),
|
|
1576
1729
|
];
|
|
1577
1730
|
}
|
|
1578
1731
|
const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput, applyNumericInputMods, (props) => {
|
|
@@ -1584,15 +1737,15 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
|
|
|
1584
1737
|
};
|
|
1585
1738
|
});
|
|
1586
1739
|
|
|
1587
|
-
var css$
|
|
1740
|
+
var css$1i = {"root":"agv5YV"};
|
|
1588
1741
|
|
|
1589
1742
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1590
1743
|
function applyTextAreaMods(mods) {
|
|
1591
1744
|
return [
|
|
1592
|
-
css$
|
|
1745
|
+
css$1i.root,
|
|
1593
1746
|
'uui-textarea',
|
|
1594
1747
|
'uui-size-' + (mods.size || settings.textArea.sizes.default),
|
|
1595
|
-
|
|
1748
|
+
'uui-control-mode-' + (mods.mode || DEFAULT_MODE$1),
|
|
1596
1749
|
];
|
|
1597
1750
|
}
|
|
1598
1751
|
const TextArea = /* @__PURE__ */uuiCore.withMods(uuiComponents.TextArea, applyTextAreaMods, (props) => {
|
|
@@ -1625,244 +1778,228 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1625
1778
|
};
|
|
1626
1779
|
}
|
|
1627
1780
|
|
|
1628
|
-
var css$
|
|
1629
|
-
|
|
1630
|
-
function Alert(props) {
|
|
1631
|
-
return (React__namespace.createElement("div", { role: "alert", ref: props.ref, className: cx__default.default('uui-alert', css$1j.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
1632
|
-
React__namespace.createElement("div", { className: css$1j.mainPath },
|
|
1633
|
-
React__namespace.createElement("div", { className: css$1j.contentWrapper },
|
|
1634
|
-
props.icon && (React__namespace.createElement("div", { className: css$1j.iconWrapper },
|
|
1635
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$1j.icon }))),
|
|
1636
|
-
React__namespace.createElement("div", { className: css$1j.content },
|
|
1637
|
-
props.children,
|
|
1638
|
-
props.actions && (React__namespace.createElement("div", { className: css$1j.actionWrapper }, props.actions.map((action) => (React__namespace.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] }))))))),
|
|
1639
|
-
props.onClose && React__namespace.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$1j.closeIcon }))));
|
|
1640
|
-
}
|
|
1641
|
-
function WarningAlert(props) {
|
|
1642
|
-
return React__namespace.createElement(Alert, { icon: settings.alert.icons.warningIcon, color: "warning", ...props });
|
|
1643
|
-
}
|
|
1644
|
-
function SuccessAlert(props) {
|
|
1645
|
-
return React__namespace.createElement(Alert, { icon: settings.alert.icons.successIcon, color: "success", ...props });
|
|
1646
|
-
}
|
|
1647
|
-
function HintAlert(props) {
|
|
1648
|
-
return React__namespace.createElement(Alert, { icon: settings.alert.icons.infoIcon, color: "info", ...props });
|
|
1649
|
-
}
|
|
1650
|
-
function ErrorAlert(props) {
|
|
1651
|
-
return React__namespace.createElement(Alert, { icon: settings.alert.icons.errorIcon, color: "error", ...props });
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
1655
|
-
|
|
1656
|
-
var css$1i = {"root":"jwQC8a"};
|
|
1781
|
+
var css$1h = {"root":"Z1r3vI"};
|
|
1657
1782
|
|
|
1658
1783
|
function applyDropdownContainerMods(mods) {
|
|
1659
1784
|
return [
|
|
1660
|
-
css$
|
|
1785
|
+
css$1h.root,
|
|
1661
1786
|
mods.vPadding && `vPadding-${mods.vPadding}`,
|
|
1662
1787
|
mods.padding && `padding-${mods.padding}`,
|
|
1663
1788
|
];
|
|
1664
1789
|
}
|
|
1665
1790
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
1666
1791
|
|
|
1667
|
-
var css$
|
|
1792
|
+
var css$1g = {"root":"dcDMzu","timepicker-input":"tOz3ku","timepickerInput":"tOz3ku","ltr-always":"btn2Yu","ltrAlways":"btn2Yu"};
|
|
1668
1793
|
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
const
|
|
1681
|
-
const
|
|
1682
|
-
const
|
|
1683
|
-
|
|
1684
|
-
setFocused(nextFocusedIndex);
|
|
1685
|
-
menuItems[nextFocusedIndex].focus();
|
|
1686
|
-
}
|
|
1687
|
-
};
|
|
1688
|
-
const handleArrowKeys = (e) => {
|
|
1689
|
-
const lastMenuItemsIndex = menuItems.length - 1;
|
|
1690
|
-
if (e.key === exports.IDropdownControlKeys.UP_ARROW) {
|
|
1691
|
-
changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
|
|
1692
|
-
e.preventDefault();
|
|
1693
|
-
}
|
|
1694
|
-
else if (e.key === exports.IDropdownControlKeys.DOWN_ARROW) {
|
|
1695
|
-
changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
|
|
1696
|
-
e.preventDefault();
|
|
1697
|
-
}
|
|
1698
|
-
else if (e.key === props.closeOnKey && props.onClose) {
|
|
1699
|
-
e.stopPropagation();
|
|
1700
|
-
props.onClose();
|
|
1701
|
-
}
|
|
1794
|
+
const uuiTimePicker = {
|
|
1795
|
+
container: 'uui-timepicker-container',
|
|
1796
|
+
iconUp: 'uui-timepicker-icon-up',
|
|
1797
|
+
iconDown: 'uui-timepicker-icon-down',
|
|
1798
|
+
input: 'uui-timepicker-input',
|
|
1799
|
+
elementContainer: 'uui-timepicker-item',
|
|
1800
|
+
};
|
|
1801
|
+
const MIN_MINUTES = 0;
|
|
1802
|
+
const MAX_MINUTES = 59;
|
|
1803
|
+
const FORMAT_12H = 12;
|
|
1804
|
+
function TimePickerBody(props) {
|
|
1805
|
+
const MIN_HOURS = props.format === FORMAT_12H ? 1 : 0;
|
|
1806
|
+
const MAX_HOURS = props.format || FORMAT_12H;
|
|
1807
|
+
const setValue = (newTime) => {
|
|
1808
|
+
props.onValueChange({ hours: newTime.hour(), minutes: newTime.minute() });
|
|
1702
1809
|
};
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
const DropdownMenuBody = /* @__PURE__ */uuiCore.withMods(DropdownMenuContainer, () => ['uui-dropdownMenu-body'], (props) => {
|
|
1706
|
-
return ({ closeOnKey: exports.IDropdownControlKeys.ESCAPE, ...props });
|
|
1707
|
-
});
|
|
1708
|
-
function DropdownMenuButton(props) {
|
|
1709
|
-
const context = React.useContext(uuiCore.UuiContext);
|
|
1710
|
-
const { icon, iconPosition, onIconClick, caption, isDisabled, isSelected, isActive, link, href, onClick, toggleDropdownOpening, isDropdown, isOpen, target, } = props;
|
|
1711
|
-
const handleClick = (event) => {
|
|
1712
|
-
if (isDisabled || !onClick)
|
|
1713
|
-
return;
|
|
1714
|
-
!uuiCore.isEventTargetInsideClickable(event) && onClick(event);
|
|
1715
|
-
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1810
|
+
const onHoursChange = (newHours) => {
|
|
1811
|
+
setValue(uuiDayjs.dayjs().set(props.value).hour(newHours));
|
|
1716
1812
|
};
|
|
1717
|
-
const
|
|
1718
|
-
|
|
1719
|
-
toggleDropdownOpening(true);
|
|
1720
|
-
}
|
|
1721
|
-
else if (event.key === exports.IDropdownControlKeys.ENTER && onClick) {
|
|
1722
|
-
onClick(event);
|
|
1723
|
-
// Fix bug when click event is triggered after Enter key.
|
|
1724
|
-
// Tricky case when modal window is opened from dropdown menu and click on modal header cross is triggered, that leads to modal close.
|
|
1725
|
-
// https://github.com/epam/UUI/issues/2754
|
|
1726
|
-
event.preventDefault();
|
|
1727
|
-
}
|
|
1813
|
+
const onMinutesChange = (newMinutes) => {
|
|
1814
|
+
setValue(uuiDayjs.dayjs().set(props.value).minute(newMinutes));
|
|
1728
1815
|
};
|
|
1729
|
-
const
|
|
1730
|
-
|
|
1731
|
-
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
1732
|
-
const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$1h.icon, iconPosition === 'right' ? css$1h.iconAfter : css$1h.iconBefore) }));
|
|
1733
|
-
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1734
|
-
isIconBefore && iconElement,
|
|
1735
|
-
React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$1h.indent }, caption),
|
|
1736
|
-
isIconAfter && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1737
|
-
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1738
|
-
iconElement))));
|
|
1816
|
+
const onTimeTypeChange = () => {
|
|
1817
|
+
setValue(uuiDayjs.dayjs().set(props.value).add(12, 'h'));
|
|
1739
1818
|
};
|
|
1740
|
-
const
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
},
|
|
1770
|
-
},
|
|
1771
|
-
},
|
|
1772
|
-
];
|
|
1773
|
-
const isRtl = uuiCore.getDir() === 'rtl';
|
|
1774
|
-
return (React__namespace.default.createElement(uuiComponents.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', modifiers: subMenuModifiers, renderBody: (dropdownProps) => !props.isDisabled && (React__namespace.default.createElement(DropdownMenuBody, { closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__namespace.default.createElement(DropdownMenuButton, { cx: uuiCore.cx(isRtl ? css$1h.submenuRootItemRtl : css$1h.submenuRootItem), icon: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
1819
|
+
const handleMinutesUpClick = () => {
|
|
1820
|
+
const minutesStep = props.minutesStep || 5;
|
|
1821
|
+
const value = uuiDayjs.dayjs().set(props.value);
|
|
1822
|
+
const minutesToAdd = minutesStep - (value.minute() % minutesStep);
|
|
1823
|
+
onMinutesChange(value.add(minutesToAdd, 'm').minute());
|
|
1824
|
+
};
|
|
1825
|
+
const handleMinutesDownClick = () => {
|
|
1826
|
+
const minutesStep = props.minutesStep || 5;
|
|
1827
|
+
const value = uuiDayjs.dayjs().set(props.value);
|
|
1828
|
+
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
1829
|
+
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
1830
|
+
};
|
|
1831
|
+
return (React__namespace.createElement("div", { className: uuiCore.cx(css$1g.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef, ...props.rawProps },
|
|
1832
|
+
React__namespace.createElement("div", { className: css$1g.ltrAlways },
|
|
1833
|
+
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1834
|
+
React__namespace.createElement(uuiComponents.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()) }),
|
|
1835
|
+
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
1836
|
+
.set(props.value)
|
|
1837
|
+
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
1838
|
+
React__namespace.createElement(uuiComponents.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()) })),
|
|
1839
|
+
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1840
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: handleMinutesUpClick }),
|
|
1841
|
+
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
1842
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: handleMinutesDownClick }))),
|
|
1843
|
+
MAX_HOURS === FORMAT_12H && (React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
1844
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: onTimeTypeChange }),
|
|
1845
|
+
React__namespace.createElement(uuiComponents.TextInput, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
1846
|
+
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
1847
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: onTimeTypeChange })))));
|
|
1775
1848
|
}
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1849
|
+
|
|
1850
|
+
const getMeridian = (newValue, format) => {
|
|
1851
|
+
if (format === 'hh:mm A') {
|
|
1852
|
+
if (newValue.toLowerCase().includes('p') && newValue.toLowerCase().includes('a')) {
|
|
1853
|
+
return newValue.toLowerCase().indexOf('p') < newValue.toLowerCase().indexOf('a') ? 'PM' : 'AM';
|
|
1854
|
+
}
|
|
1855
|
+
return newValue.toLowerCase().includes('p') ? 'PM' : 'AM';
|
|
1856
|
+
}
|
|
1857
|
+
return false;
|
|
1858
|
+
};
|
|
1859
|
+
const parseTimeNumbers = (value, separator) => {
|
|
1860
|
+
let hours, minutes;
|
|
1861
|
+
const timeNumbers = value.replace(/\D/gi, '');
|
|
1862
|
+
switch (separator) {
|
|
1863
|
+
case 0:
|
|
1864
|
+
hours = 0;
|
|
1865
|
+
minutes = parseInt(timeNumbers.trim().slice(0, 2));
|
|
1866
|
+
break;
|
|
1867
|
+
case 1:
|
|
1868
|
+
hours = parseInt(timeNumbers.slice(0, 1));
|
|
1869
|
+
minutes = parseInt(timeNumbers.slice(1, 3));
|
|
1870
|
+
break;
|
|
1871
|
+
default:
|
|
1872
|
+
hours = parseInt(timeNumbers.slice(0, 2));
|
|
1873
|
+
minutes = parseInt(timeNumbers.slice(2, 4));
|
|
1874
|
+
}
|
|
1875
|
+
return { hours, minutes };
|
|
1876
|
+
};
|
|
1877
|
+
const formatTime = (hours, minutes, meridian, format) => {
|
|
1878
|
+
const normalizeHours = (h) => Number.isNaN(h) ? '00' : h.toString().padStart(2, '0');
|
|
1879
|
+
const normalizeMinutes = (m) => Number.isNaN(m) ? '00' : m.toString().padStart(2, '0');
|
|
1880
|
+
if (meridian && normalizeHours(hours) === '00' && normalizeMinutes(minutes) === '00') {
|
|
1881
|
+
return '';
|
|
1882
|
+
}
|
|
1883
|
+
let hoursResult = Number.parseInt(normalizeHours(hours));
|
|
1884
|
+
let meridianResult = meridian;
|
|
1885
|
+
if ((format === 'hh:mm A') && hoursResult > 12) {
|
|
1886
|
+
hoursResult -= 12;
|
|
1887
|
+
meridianResult = 'PM';
|
|
1888
|
+
}
|
|
1889
|
+
if ((format === 'hh:mm A') && hoursResult === 0) {
|
|
1890
|
+
hoursResult = 12;
|
|
1891
|
+
}
|
|
1892
|
+
const time = `${normalizeHours(hoursResult)}:${normalizeMinutes(minutes)}`;
|
|
1893
|
+
return meridianResult ? time.concat(` ${meridianResult}`) : time;
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
const DEFAULT_MODE = EditMode.FORM;
|
|
1897
|
+
const valueToTimeString = (value, format) => {
|
|
1898
|
+
if (value === null)
|
|
1899
|
+
return null;
|
|
1900
|
+
return uuiDayjs.dayjs()
|
|
1901
|
+
.set(value)
|
|
1902
|
+
.format(format === 24 ? 'HH:mm' : 'hh:mm A');
|
|
1903
|
+
};
|
|
1904
|
+
function TimePickerComponent(props, ref) {
|
|
1905
|
+
const [state, setState] = React.useState({
|
|
1906
|
+
isOpen: false,
|
|
1907
|
+
value: valueToTimeString(props.value, props.format),
|
|
1908
|
+
inputValue: valueToTimeString(props.value, props.format),
|
|
1909
|
+
});
|
|
1910
|
+
React.useEffect(() => {
|
|
1911
|
+
if (valueToTimeString(props.value, props.format) !== state.value) {
|
|
1912
|
+
const stringValue = valueToTimeString(props.value, props.format);
|
|
1913
|
+
setState((prevState) => ({
|
|
1914
|
+
...prevState,
|
|
1915
|
+
value: stringValue,
|
|
1916
|
+
inputValue: stringValue,
|
|
1917
|
+
}));
|
|
1918
|
+
}
|
|
1919
|
+
}, [props.value, props.format]);
|
|
1920
|
+
const getFormat = () => props.format === 24 ? 'HH:mm' : 'hh:mm A';
|
|
1921
|
+
const isTimeValid = (newValue) => uuiDayjs.dayjs(newValue, getFormat(), true).isValid();
|
|
1922
|
+
const formatStringTimeToObject = (stringTime) => {
|
|
1923
|
+
if (stringTime) {
|
|
1924
|
+
const value = uuiDayjs.dayjs(stringTime, getFormat(), true);
|
|
1925
|
+
return { hours: value.hour(), minutes: value.minute() };
|
|
1926
|
+
}
|
|
1927
|
+
return { hours: null, minutes: null };
|
|
1784
1928
|
};
|
|
1785
|
-
const
|
|
1786
|
-
|
|
1787
|
-
|
|
1929
|
+
const onClear = () => {
|
|
1930
|
+
props.onValueChange(null);
|
|
1931
|
+
};
|
|
1932
|
+
const onToggle = (value) => {
|
|
1933
|
+
setState((prevState) => ({ ...prevState, isOpen: value }));
|
|
1934
|
+
};
|
|
1935
|
+
const saveTime = (newTime) => {
|
|
1936
|
+
setState((prevState) => ({ ...prevState, inputValue: newTime }));
|
|
1937
|
+
props.onValueChange(formatStringTimeToObject(newTime));
|
|
1938
|
+
};
|
|
1939
|
+
const getTimeFromInputValue = (newValue) => {
|
|
1940
|
+
const trimmedNewValue = newValue.trimStart();
|
|
1941
|
+
const separator = trimmedNewValue.search(/\D/);
|
|
1942
|
+
const meridian = getMeridian(trimmedNewValue, getFormat());
|
|
1943
|
+
const { hours, minutes } = parseTimeNumbers(trimmedNewValue, separator);
|
|
1944
|
+
return formatTime(hours, minutes, meridian, getFormat());
|
|
1945
|
+
};
|
|
1946
|
+
const handleBodyValueChange = (newValue) => {
|
|
1947
|
+
const inputValue = valueToTimeString(newValue, props.format);
|
|
1948
|
+
saveTime(inputValue);
|
|
1949
|
+
};
|
|
1950
|
+
const handleFocus = (e) => {
|
|
1951
|
+
onToggle(true);
|
|
1952
|
+
props.onFocus?.(e);
|
|
1953
|
+
};
|
|
1954
|
+
const handleInputChange = (newValue) => {
|
|
1955
|
+
setState((prevState) => ({ ...prevState, inputValue: newValue }));
|
|
1956
|
+
if (newValue) {
|
|
1957
|
+
const result = getTimeFromInputValue(newValue);
|
|
1958
|
+
if (isTimeValid(result)) {
|
|
1959
|
+
setState((prevState) => ({ ...prevState, value: result }));
|
|
1960
|
+
}
|
|
1788
1961
|
}
|
|
1789
1962
|
};
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1963
|
+
const handleBlur = (e) => {
|
|
1964
|
+
if (uuiCore.isFocusReceiverInsideFocusLock(e))
|
|
1965
|
+
return;
|
|
1966
|
+
onToggle(false);
|
|
1967
|
+
props.onBlur?.(e);
|
|
1968
|
+
if (state.value === '' || state.inputValue === '') {
|
|
1969
|
+
props.onValueChange(null);
|
|
1970
|
+
setState((prevState) => ({ ...prevState, value: null, inputValue: null }));
|
|
1971
|
+
}
|
|
1972
|
+
state.value && state.inputValue && saveTime(state.value);
|
|
1973
|
+
};
|
|
1974
|
+
const renderInput = (inputProps) => {
|
|
1975
|
+
return (React__namespace.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 }));
|
|
1976
|
+
};
|
|
1977
|
+
const renderBody = (bodyProps) => {
|
|
1978
|
+
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
1979
|
+
return (!props.isDisabled && !props.isReadonly && (React__namespace.default.createElement(DropdownContainer, { ...bodyProps, focusLock: false },
|
|
1980
|
+
React__namespace.default.createElement(TimePickerBody, { ...timePickerBodyProps, onValueChange: handleBodyValueChange, value: formatStringTimeToObject(state.value), rawProps: props.rawProps?.body, cx: props.bodyCx }))));
|
|
1981
|
+
};
|
|
1982
|
+
return (React__namespace.default.createElement(uuiComponents.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, middleware: [react.offset(6)], ref: ref }));
|
|
1795
1983
|
}
|
|
1984
|
+
const TimePicker = /* @__PURE__ */React__namespace.default.forwardRef(TimePickerComponent);
|
|
1796
1985
|
|
|
1797
|
-
var css$
|
|
1986
|
+
var css$1f = {"root":"-Qs-hw"};
|
|
1798
1987
|
|
|
1799
|
-
function
|
|
1988
|
+
function applyInputAddonMods() {
|
|
1800
1989
|
return [
|
|
1801
|
-
css$
|
|
1802
|
-
css$1g[`mode-${mods.mode || 'block'}`],
|
|
1803
|
-
mods.padding && css$1g['padding-' + mods.padding],
|
|
1990
|
+
css$1f.root,
|
|
1804
1991
|
];
|
|
1805
1992
|
}
|
|
1806
|
-
const
|
|
1807
|
-
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
1808
|
-
}));
|
|
1809
|
-
|
|
1810
|
-
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"};
|
|
1811
|
-
|
|
1812
|
-
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$1f.flexCell]);
|
|
1813
|
-
|
|
1814
|
-
const FlexRow = (props) => {
|
|
1815
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1816
|
-
if (props.spacing) {
|
|
1817
|
-
uuiCore.devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
const classNames = uuiCore.cx([
|
|
1821
|
-
css$1f.root,
|
|
1822
|
-
'uui-flex-row',
|
|
1823
|
-
props.onClick && uuiCore.uuiMarkers.clickable,
|
|
1824
|
-
props.cx,
|
|
1825
|
-
props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
|
|
1826
|
-
props.alignItems && css$1f.alignItems,
|
|
1827
|
-
props.justifyContent && css$1f.justifyContent,
|
|
1828
|
-
props.padding && css$1f.padding,
|
|
1829
|
-
props.vPadding && css$1f.vPadding,
|
|
1830
|
-
props.margin && css$1f.margin,
|
|
1831
|
-
props.topShadow && css$1f.topShadow,
|
|
1832
|
-
props.borderBottom && css$1f.borderBottom,
|
|
1833
|
-
props.borderTop && css$1f.borderTop,
|
|
1834
|
-
props.columnGap && css$1f.columnGap,
|
|
1835
|
-
props.rowGap && css$1f.rowGap,
|
|
1836
|
-
props.spacing && css$1f.spacing,
|
|
1837
|
-
props.background && `uui-flex-row-bg-${props.background}`,
|
|
1838
|
-
]);
|
|
1839
|
-
const style = {
|
|
1840
|
-
...(props.alignItems && { '--uui-flex-row-align-items': props.alignItems }),
|
|
1841
|
-
...(props.justifyContent && { '--uui-flex-row-justify-content': props.justifyContent }),
|
|
1842
|
-
...(props.columnGap && { '--uui-flex-row-column-gap': `${props.columnGap}px` }),
|
|
1843
|
-
...(props.rowGap && { '--uui-flex-row-row-gap': `${props.rowGap}px` }),
|
|
1844
|
-
...(props.padding && { '--uui-flex-row-padding': `${props.padding}px` }),
|
|
1845
|
-
...(props.vPadding && { '--uui-flex-row-v-padding': `${props.vPadding}px` }),
|
|
1846
|
-
...(props.margin && { '--uui-flex-row-margin': `${props.margin}px` }),
|
|
1847
|
-
...(props.spacing && { '--uui-flex-row-spacing': `${props.spacing}px` }),
|
|
1848
|
-
};
|
|
1849
|
-
return (React__namespace.default.createElement("div", { ref: props.ref, onClick: props.onClick ? (e) => !uuiCore.isEventTargetInsideClickable(e) && props.onClick(e) : undefined, className: classNames, ...props.rawProps, style: {
|
|
1850
|
-
...style,
|
|
1851
|
-
...props.rawProps?.style,
|
|
1852
|
-
} }, props.children));
|
|
1853
|
-
};
|
|
1993
|
+
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
1854
1994
|
|
|
1855
|
-
var css$1e = {"root":"
|
|
1995
|
+
var css$1e = {"root":"wzwGIX"};
|
|
1856
1996
|
|
|
1857
|
-
|
|
1858
|
-
'uui-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
props.margin && css$1e['margin-' + props.margin],
|
|
1862
|
-
props.background && css$1e[`uui-${props.background}`],
|
|
1863
|
-
]);
|
|
1997
|
+
function applySliderMods() {
|
|
1998
|
+
return [css$1e.root, 'uui-color-neutral'];
|
|
1999
|
+
}
|
|
2000
|
+
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
1864
2001
|
|
|
1865
|
-
var css$1d = {"root":"
|
|
2002
|
+
var css$1d = {"root":"Q6V5UZ"};
|
|
1866
2003
|
|
|
1867
2004
|
function applyTooltipMods(mods) {
|
|
1868
2005
|
return [
|
|
@@ -1872,54 +2009,286 @@ function applyTooltipMods(mods) {
|
|
|
1872
2009
|
}
|
|
1873
2010
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
1874
2011
|
|
|
1875
|
-
var css$1c = {"root":"
|
|
2012
|
+
var css$1c = {"root":"RNE4V1","tooltip":"KV2D7y"};
|
|
1876
2013
|
|
|
1877
|
-
function
|
|
2014
|
+
function applyRatingMods(mods) {
|
|
1878
2015
|
return [
|
|
1879
|
-
'uui-labeled-input',
|
|
1880
2016
|
css$1c.root,
|
|
1881
|
-
|
|
2017
|
+
`uui-size-${mods.size || settings.rating.sizes.default}`,
|
|
1882
2018
|
];
|
|
1883
2019
|
}
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
}
|
|
1890
|
-
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
2020
|
+
const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating, applyRatingMods, (props) => ({
|
|
2021
|
+
filledStarIcon: props.icon || settings.rating.icons.filledRatingIcon,
|
|
2022
|
+
emptyStarIcon: props.icon || settings.rating.icons.emptyRatingIcon,
|
|
2023
|
+
Tooltip,
|
|
2024
|
+
}));
|
|
1891
2025
|
|
|
1892
|
-
var css$1b = {"root":"
|
|
2026
|
+
var css$1b = {"root":"cAdztP","main-path":"DlQzC6","mainPath":"DlQzC6","content-wrapper":"dJ98Is","contentWrapper":"dJ98Is","content":"PciAFj","action-wrapper":"_25jmXl","actionWrapper":"_25jmXl","icon-wrapper":"_3iAoc0","iconWrapper":"_3iAoc0","icon":"fgyh5z","close-icon":"I-25O0","closeIcon":"I-25O0"};
|
|
1893
2027
|
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
2028
|
+
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$1b.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
2029
|
+
React__namespace.createElement("div", { className: css$1b.mainPath },
|
|
2030
|
+
React__namespace.createElement("div", { className: css$1b.contentWrapper },
|
|
2031
|
+
props.icon && (React__namespace.createElement("div", { className: css$1b.iconWrapper },
|
|
2032
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$1b.icon }))),
|
|
2033
|
+
React__namespace.createElement("div", { className: css$1b.content },
|
|
2034
|
+
props.children,
|
|
2035
|
+
props.actions && (React__namespace.createElement("div", { className: css$1b.actionWrapper }, props.actions.map((action) => (React__namespace.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] }))))))),
|
|
2036
|
+
props.onClose && React__namespace.createElement(IconButton, { icon: settings.alert.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$1b.closeIcon })))));
|
|
2037
|
+
const WarningAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.warningIcon, color: "warning", ref: ref, ...props }));
|
|
2038
|
+
const SuccessAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.successIcon, color: "success", ref: ref, ...props }));
|
|
2039
|
+
const HintAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.infoIcon, color: "info", ref: ref, ...props }));
|
|
2040
|
+
const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, { icon: settings.alert.icons.errorIcon, color: "error", ref: ref, ...props }));
|
|
2041
|
+
|
|
2042
|
+
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
2043
|
+
|
|
2044
|
+
var css$1a = {"submenu-root-item-rtl":"aRvO-8","submenuRootItemRtl":"aRvO-8","icon-after":"_06yT1L","iconAfter":"_06yT1L","submenu-root-item":"E0hRcl","submenuRootItem":"E0hRcl","icon-check":"EzSb-v","iconCheck":"EzSb-v","splitter-root":"_139keK","splitterRoot":"_139keK","splitter":"_1nTqcA","header-root":"G4nPex","headerRoot":"G4nPex","item-root":"W-agQv","itemRoot":"W-agQv","icon":"i1F7Pz","link":"w3Q-Pk","indent":"rDwhrG","selected-mark":"RV0K5R","selectedMark":"RV0K5R"};
|
|
2045
|
+
|
|
2046
|
+
exports.IDropdownControlKeys = void 0;
|
|
2047
|
+
(function (IDropdownControlKeys) {
|
|
2048
|
+
IDropdownControlKeys["ENTER"] = "Enter";
|
|
2049
|
+
IDropdownControlKeys["ESCAPE"] = "Escape";
|
|
2050
|
+
IDropdownControlKeys["LEFT_ARROW"] = "ArrowLeft";
|
|
2051
|
+
IDropdownControlKeys["RIGHT_ARROW"] = "ArrowRight";
|
|
2052
|
+
IDropdownControlKeys["UP_ARROW"] = "ArrowUp";
|
|
2053
|
+
IDropdownControlKeys["DOWN_ARROW"] = "ArrowDown";
|
|
2054
|
+
})(exports.IDropdownControlKeys || (exports.IDropdownControlKeys = {}));
|
|
2055
|
+
function DropdownMenuContainer(props) {
|
|
2056
|
+
const menuRef = React.useRef(null);
|
|
2057
|
+
const [currentlyFocused, setFocused] = React.useState(0);
|
|
2058
|
+
const menuItems = menuRef.current ? Array.from(menuRef.current.querySelectorAll(`[role="menuitem"]:not(.${uuiCore.uuiMod.disabled})`)) : [];
|
|
2059
|
+
const changeFocus = (nextFocusedIndex) => {
|
|
2060
|
+
if (menuItems.length > 0) {
|
|
2061
|
+
setFocused(nextFocusedIndex);
|
|
2062
|
+
menuItems[nextFocusedIndex].focus();
|
|
2063
|
+
}
|
|
1900
2064
|
};
|
|
1901
|
-
|
|
2065
|
+
const handleArrowKeys = (e) => {
|
|
2066
|
+
const lastMenuItemsIndex = menuItems.length - 1;
|
|
2067
|
+
if (e.key === exports.IDropdownControlKeys.UP_ARROW) {
|
|
2068
|
+
changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
|
|
2069
|
+
e.preventDefault();
|
|
2070
|
+
}
|
|
2071
|
+
else if (e.key === exports.IDropdownControlKeys.DOWN_ARROW) {
|
|
2072
|
+
changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
|
|
2073
|
+
e.preventDefault();
|
|
2074
|
+
}
|
|
2075
|
+
else if (e.key === props.closeOnKey && props.onClose) {
|
|
2076
|
+
e.stopPropagation();
|
|
2077
|
+
props.onClose();
|
|
2078
|
+
}
|
|
2079
|
+
};
|
|
2080
|
+
return (React__namespace.default.createElement(DropdownContainer, { ...props, rawProps: { ...props.rawProps, role: 'menu' }, ref: menuRef, width: props.minWidth, lockProps: { onKeyDown: handleArrowKeys }, cx: [props.cx] }));
|
|
2081
|
+
}
|
|
2082
|
+
const DropdownMenuBody = /* @__PURE__ */uuiCore.withMods(DropdownMenuContainer, () => ['uui-dropdownMenu-body'], (props) => {
|
|
2083
|
+
return ({ closeOnKey: exports.IDropdownControlKeys.ESCAPE, ...props });
|
|
2084
|
+
});
|
|
2085
|
+
const DropdownMenuButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
2086
|
+
const context = React.useContext(uuiCore.UuiContext);
|
|
2087
|
+
const { icon, iconPosition, onIconClick, caption, isDisabled, isSelected, isActive, link, href, onClick, toggleDropdownOpening, isDropdown, isOpen, target, } = props;
|
|
2088
|
+
const handleClick = (event) => {
|
|
2089
|
+
if (isDisabled || !onClick)
|
|
2090
|
+
return;
|
|
2091
|
+
!uuiCore.isEventTargetInsideClickable(event) && onClick(event);
|
|
2092
|
+
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
2093
|
+
};
|
|
2094
|
+
const handleOpenDropdown = (event) => {
|
|
2095
|
+
if (event.key === exports.IDropdownControlKeys.RIGHT_ARROW && isDropdown) {
|
|
2096
|
+
toggleDropdownOpening(true);
|
|
2097
|
+
}
|
|
2098
|
+
else if (event.key === exports.IDropdownControlKeys.ENTER && onClick) {
|
|
2099
|
+
onClick(event);
|
|
2100
|
+
// Fix bug when click event is triggered after Enter key.
|
|
2101
|
+
// Tricky case when modal window is opened from dropdown menu and click on modal header cross is triggered, that leads to modal close.
|
|
2102
|
+
// https://github.com/epam/UUI/issues/2754
|
|
2103
|
+
event.preventDefault();
|
|
2104
|
+
}
|
|
2105
|
+
};
|
|
2106
|
+
const getMenuButtonContent = () => {
|
|
2107
|
+
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
2108
|
+
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
2109
|
+
const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'primary' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$1a.icon, iconPosition === 'right' ? css$1a.iconAfter : css$1a.iconBefore) }));
|
|
2110
|
+
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2111
|
+
isIconBefore && iconElement,
|
|
2112
|
+
React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$1a.indent }, caption),
|
|
2113
|
+
isIconAfter && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2114
|
+
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
2115
|
+
iconElement))));
|
|
2116
|
+
};
|
|
2117
|
+
const isAnchor = Boolean(link || href);
|
|
2118
|
+
const itemClassNames = uuiCore.cx(props.cx, css$1a.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened, (!isDisabled && onClick) && uuiCore.uuiMarkers.clickable);
|
|
2119
|
+
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(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__namespace.default.createElement("div", { tabIndex: isDisabled ? -1 : 0, role: "menuitem", onKeyDown: isDisabled ? null : handleOpenDropdown, className: itemClassNames, onClick: handleClick, ref: ref },
|
|
2120
|
+
getMenuButtonContent(),
|
|
2121
|
+
isSelected && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2122
|
+
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
2123
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { icon: settings.dropdownMenu.icons.acceptIcon, cx: css$1a.selectedMark })))));
|
|
2124
|
+
});
|
|
2125
|
+
function DropdownMenuSplitter(props) {
|
|
2126
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$1a.splitterRoot) },
|
|
2127
|
+
React__namespace.default.createElement("hr", { className: css$1a.splitter })));
|
|
2128
|
+
}
|
|
2129
|
+
function DropdownMenuHeader(props) {
|
|
2130
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', props.cx, css$1a.headerRoot) },
|
|
2131
|
+
React__namespace.default.createElement("span", { className: css$1a.header }, props.caption)));
|
|
2132
|
+
}
|
|
2133
|
+
function DropdownSubMenu(props) {
|
|
2134
|
+
const subMenuMiddleware = [
|
|
2135
|
+
react.offset(({ placement }) => {
|
|
2136
|
+
if (placement === 'right-start'
|
|
2137
|
+
|| placement === 'left-start') {
|
|
2138
|
+
return { crossAxis: -6, mainAxis: 0 };
|
|
2139
|
+
}
|
|
2140
|
+
else {
|
|
2141
|
+
return { crossAxis: 6, mainAxis: 0 };
|
|
2142
|
+
}
|
|
2143
|
+
}),
|
|
2144
|
+
];
|
|
2145
|
+
const isRtl = uuiCore.getDir() === 'rtl';
|
|
2146
|
+
return (React__namespace.default.createElement(uuiComponents.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: isRtl ? 'left-start' : 'right-start', middleware: subMenuMiddleware, renderBody: (dropdownProps) => !props.isDisabled && (React__namespace.default.createElement(DropdownMenuBody, { closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW, ...props, ...dropdownProps })), renderTarget: ({ toggleDropdownOpening, ...targetProps }) => (React__namespace.default.createElement(DropdownMenuButton, { cx: uuiCore.cx(isRtl ? css$1a.submenuRootItemRtl : css$1a.submenuRootItem), icon: settings.dropdownMenu.icons.dropdownIcon, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening, ...props, ...targetProps })) }));
|
|
2147
|
+
}
|
|
2148
|
+
function DropdownMenuSwitchButton(props) {
|
|
2149
|
+
const context = React.useContext(uuiCore.UuiContext);
|
|
2150
|
+
const { icon, caption, isDisabled, isSelected, onValueChange, } = props;
|
|
2151
|
+
const onHandleValueChange = (value) => {
|
|
2152
|
+
if (isDisabled || !onValueChange)
|
|
2153
|
+
return;
|
|
2154
|
+
onValueChange(value);
|
|
2155
|
+
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
2156
|
+
};
|
|
2157
|
+
const handleKeySelect = (e) => {
|
|
2158
|
+
if (e.key === exports.IDropdownControlKeys.ENTER) {
|
|
2159
|
+
onHandleValueChange(!isSelected);
|
|
2160
|
+
}
|
|
2161
|
+
};
|
|
2162
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx(props.cx, css$1a.itemRoot, isDisabled && uuiCore.uuiMod.disabled, (!isDisabled || onValueChange) && uuiCore.uuiMarkers.clickable), onClick: () => onHandleValueChange(!isSelected), role: "menuitem", onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 },
|
|
2163
|
+
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$1a.iconBefore }),
|
|
2164
|
+
React__namespace.default.createElement(uuiComponents.Text, null, caption),
|
|
2165
|
+
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
2166
|
+
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
var css$19 = {"root":"CCc9gw","mode-block":"Bkcc-G","modeBlock":"Bkcc-G","mode-inline":"Jtl12P","modeInline":"Jtl12P","padding-0":"zSG8Il","padding0":"zSG8Il","padding-6":"_2d1u8h","padding6":"_2d1u8h","padding-12":"neXdbO","padding12":"neXdbO","padding-18":"Tn-3Zn","padding18":"Tn-3Zn"};
|
|
2170
|
+
|
|
2171
|
+
function applyAccordionMods(mods) {
|
|
2172
|
+
return [
|
|
2173
|
+
css$19.root,
|
|
2174
|
+
css$19[`mode-${mods.mode || 'block'}`],
|
|
2175
|
+
mods.padding && css$19['padding-' + mods.padding],
|
|
2176
|
+
];
|
|
2177
|
+
}
|
|
2178
|
+
const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accordion, applyAccordionMods, (mods) => ({
|
|
2179
|
+
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
2180
|
+
}));
|
|
2181
|
+
|
|
2182
|
+
var css$18 = {"root":"cRWxDA","align-items":"IvAmIC","alignItems":"IvAmIC","justify-content":"kMSo7G","justifyContent":"kMSo7G","border-top":"_26cBkD","borderTop":"_26cBkD","border-bottom":"Li5WNL","borderBottom":"Li5WNL","top-shadow":"sySsda","topShadow":"sySsda","padding":"O-dMSH","margin":"P9winJ","vPadding":"NKEcmF","column-gap":"NHY-ph","columnGap":"NHY-ph","row-gap":"C-prDe","rowGap":"C-prDe","spacing":"DBMTTU"};
|
|
2183
|
+
|
|
2184
|
+
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$18.flexCell]);
|
|
2185
|
+
|
|
2186
|
+
const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
2187
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2188
|
+
if (props.spacing) {
|
|
2189
|
+
uuiCore.devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
const classNames = uuiCore.cx([
|
|
2193
|
+
css$18.root,
|
|
2194
|
+
'uui-flex-row',
|
|
2195
|
+
props.onClick && uuiCore.uuiMarkers.clickable,
|
|
2196
|
+
props.cx,
|
|
2197
|
+
props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
|
|
2198
|
+
props.alignItems && css$18.alignItems,
|
|
2199
|
+
props.justifyContent && css$18.justifyContent,
|
|
2200
|
+
props.padding && css$18.padding,
|
|
2201
|
+
props.vPadding && css$18.vPadding,
|
|
2202
|
+
props.margin && css$18.margin,
|
|
2203
|
+
props.topShadow && css$18.topShadow,
|
|
2204
|
+
props.borderBottom && css$18.borderBottom,
|
|
2205
|
+
props.borderTop && css$18.borderTop,
|
|
2206
|
+
props.columnGap && css$18.columnGap,
|
|
2207
|
+
props.rowGap && css$18.rowGap,
|
|
2208
|
+
props.spacing && css$18.spacing,
|
|
2209
|
+
props.background && `uui-flex-row-bg-${props.background}`,
|
|
2210
|
+
]);
|
|
2211
|
+
let alignItemsValue = props.alignItems;
|
|
2212
|
+
if (alignItemsValue === 'top') {
|
|
2213
|
+
alignItemsValue = 'flex-start';
|
|
2214
|
+
}
|
|
2215
|
+
else if (alignItemsValue === 'bottom') {
|
|
2216
|
+
alignItemsValue = 'flex-end';
|
|
2217
|
+
}
|
|
2218
|
+
const style = {
|
|
2219
|
+
...(props.alignItems && { '--uui-flex-row-align-items': alignItemsValue }),
|
|
2220
|
+
...(props.justifyContent && { '--uui-flex-row-justify-content': props.justifyContent }),
|
|
2221
|
+
...(props.columnGap && { '--uui-flex-row-column-gap': `${props.columnGap}px` }),
|
|
2222
|
+
...(props.rowGap && { '--uui-flex-row-row-gap': `${props.rowGap}px` }),
|
|
2223
|
+
...(props.padding && { '--uui-flex-row-padding': `${props.padding}px` }),
|
|
2224
|
+
...(props.vPadding && { '--uui-flex-row-v-padding': `${props.vPadding}px` }),
|
|
2225
|
+
...(props.margin && { '--uui-flex-row-margin': `${props.margin}px` }),
|
|
2226
|
+
...(props.spacing && { '--uui-flex-row-spacing': `${props.spacing}px` }),
|
|
2227
|
+
};
|
|
2228
|
+
return (React__namespace.default.createElement("div", { ref: ref, onClick: props.onClick ? (e) => !uuiCore.isEventTargetInsideClickable(e) && props.onClick(e) : undefined, className: classNames, ...props.rawProps, style: {
|
|
2229
|
+
...style,
|
|
2230
|
+
...props.rawProps?.style,
|
|
2231
|
+
} }, props.children));
|
|
2232
|
+
});
|
|
2233
|
+
|
|
2234
|
+
var css$17 = {"root":"QDCD1o","margin-24":"SCtP5-","margin24":"SCtP5-","padding-12":"JxH4qP","padding12":"JxH4qP","padding-24":"O7dv0D","padding24":"O7dv0D","shadow":"VWQI14","uui-surface-main":"-ZVzRB","uuiSurfaceMain":"-ZVzRB"};
|
|
2235
|
+
|
|
2236
|
+
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
2237
|
+
'uui-panel',
|
|
2238
|
+
css$17.root,
|
|
2239
|
+
props.shadow && css$17.shadow,
|
|
2240
|
+
props.margin && css$17['margin-' + props.margin],
|
|
2241
|
+
props.background && css$17[`uui-${props.background}`],
|
|
2242
|
+
]);
|
|
2243
|
+
|
|
2244
|
+
var css$16 = {"root":"wDmY08"};
|
|
2245
|
+
|
|
2246
|
+
function applyLabeledInputMods(mods) {
|
|
2247
|
+
return [
|
|
2248
|
+
'uui-labeled-input',
|
|
2249
|
+
css$16.root,
|
|
2250
|
+
'uui-size-' + (mods.size || settings.labeledInput.sizes.default),
|
|
2251
|
+
];
|
|
2252
|
+
}
|
|
2253
|
+
function applyLabeledInputProps(props) {
|
|
2254
|
+
return ({
|
|
2255
|
+
Tooltip: props.Tooltip || Tooltip,
|
|
2256
|
+
infoIcon: props.infoIcon || props.size <= '30' ? settings.labeledInput.icons.fillInfoIcon : settings.labeledInput.icons.infoIcon,
|
|
2257
|
+
});
|
|
2258
|
+
}
|
|
2259
|
+
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
2260
|
+
|
|
2261
|
+
var css$15 = {"root":"niE-g9"};
|
|
2262
|
+
|
|
2263
|
+
function RadioGroup(props) {
|
|
2264
|
+
const direction = props.direction || 'vertical';
|
|
2265
|
+
const handleChange = (newVal) => {
|
|
2266
|
+
if (newVal !== props.value) {
|
|
2267
|
+
props.onValueChange(newVal);
|
|
2268
|
+
}
|
|
2269
|
+
};
|
|
2270
|
+
return (React__namespace.createElement("fieldset", { ref: props.forwardedRef, className: uuiCore.cx(css$15.root, uuiCore.directionMode[direction], props.cx), onFocus: props.onFocus, onBlur: props.onBlur, ...props.rawProps }, props.items.map((i) => {
|
|
1902
2271
|
const { id, name, renderName, ...restItemProps } = i;
|
|
1903
2272
|
return (React__namespace.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 }));
|
|
1904
2273
|
})));
|
|
1905
2274
|
}
|
|
1906
2275
|
|
|
1907
|
-
var css$
|
|
2276
|
+
var css$14 = {"root":"ntqwkx"};
|
|
1908
2277
|
|
|
1909
2278
|
function applyScrollBarsMods() {
|
|
1910
2279
|
return [
|
|
1911
|
-
css$
|
|
2280
|
+
css$14.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1912
2281
|
];
|
|
1913
2282
|
}
|
|
1914
2283
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
1915
2284
|
|
|
1916
|
-
var css$
|
|
2285
|
+
var css$13 = {"scroll-container":"_-9Y7E0","scrollContainer":"_-9Y7E0","list-container":"fy0GML","listContainer":"fy0GML"};
|
|
1917
2286
|
|
|
1918
|
-
var css$
|
|
2287
|
+
var css$12 = {"root":"_1FYUlF"};
|
|
1919
2288
|
|
|
1920
|
-
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$
|
|
2289
|
+
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$12.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
|
|
1921
2290
|
|
|
1922
|
-
|
|
2291
|
+
const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1923
2292
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
|
|
1924
2293
|
value: props.value,
|
|
1925
2294
|
onValueChange: props.onValueChange,
|
|
@@ -1927,11 +2296,11 @@ function VirtualList(props) {
|
|
|
1927
2296
|
rowsCount: props.rowsCount,
|
|
1928
2297
|
rowsSelector: props.rowsSelector,
|
|
1929
2298
|
});
|
|
1930
|
-
React__namespace.useImperativeHandle(
|
|
2299
|
+
React__namespace.useImperativeHandle(ref, () => scrollContainerRef.current, [scrollContainerRef.current]);
|
|
1931
2300
|
const scrollShadows = uuiCore.useScrollShadows({ root: scrollContainerRef.current });
|
|
1932
2301
|
const renderRows = () => props.renderRows?.({
|
|
1933
2302
|
listContainerRef, estimatedHeight, offsetY, scrollShadows,
|
|
1934
|
-
}) || (React__namespace.createElement("div", { className: css$
|
|
2303
|
+
}) || (React__namespace.createElement("div", { className: css$13.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
1935
2304
|
React__namespace.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
|
|
1936
2305
|
const renderView = ({ style }) => (React__namespace.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps }));
|
|
1937
2306
|
const scrollBarsRef = React__namespace.useCallback((scrollbars) => {
|
|
@@ -1939,14 +2308,14 @@ function VirtualList(props) {
|
|
|
1939
2308
|
return;
|
|
1940
2309
|
scrollContainerRef.current = scrollbars.container.firstChild;
|
|
1941
2310
|
}, []);
|
|
1942
|
-
return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$
|
|
2311
|
+
return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$13.scrollContainer, props.cx, {
|
|
1943
2312
|
[uuiCore.uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
|
|
1944
2313
|
[uuiCore.uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
|
|
1945
2314
|
[uuiCore.uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
|
|
1946
2315
|
[uuiCore.uuiMarkers.scrolledBottom]: scrollShadows.verticalBottom,
|
|
1947
2316
|
}), onScroll: handleScroll, renderView: renderView, ref: scrollBarsRef }, renderRows()));
|
|
1948
|
-
}
|
|
1949
|
-
|
|
2317
|
+
});
|
|
2318
|
+
const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1950
2319
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
1951
2320
|
React__namespace.createElement("div", { ...props.rawProps, style: {
|
|
1952
2321
|
...props.style,
|
|
@@ -1957,11 +2326,11 @@ function VirtualListView(props) {
|
|
|
1957
2326
|
overflow: props.isLoading ? 'hidden' : 'scroll',
|
|
1958
2327
|
marginRight: props.isLoading ? 0 : props.style.marginRight,
|
|
1959
2328
|
marginBottom: props.isLoading ? 0 : props.style.marginBottom,
|
|
1960
|
-
}, ref:
|
|
2329
|
+
}, ref: ref }, props.children),
|
|
1961
2330
|
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1962
|
-
}
|
|
2331
|
+
});
|
|
1963
2332
|
|
|
1964
|
-
var css$
|
|
2333
|
+
var css$11 = {"root":"j-cpN0"};
|
|
1965
2334
|
|
|
1966
2335
|
function CheckboxGroup(props) {
|
|
1967
2336
|
const currentValue = props.value || [];
|
|
@@ -1977,16 +2346,16 @@ function CheckboxGroup(props) {
|
|
|
1977
2346
|
}
|
|
1978
2347
|
props.onValueChange(newSelection);
|
|
1979
2348
|
};
|
|
1980
|
-
return (React__namespace.createElement("fieldset", { ref: props.forwardedRef, className: uuiCore.cx(css$
|
|
2349
|
+
return (React__namespace.createElement("fieldset", { ref: props.forwardedRef, className: uuiCore.cx(css$11.root, uuiCore.directionMode[direction], props.cx), ...props.rawProps }, props.items.map((i) => {
|
|
1981
2350
|
const { id, name, renderName, ...restItemProps } = i;
|
|
1982
2351
|
return (React__namespace.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 }));
|
|
1983
2352
|
})));
|
|
1984
2353
|
}
|
|
1985
2354
|
|
|
1986
|
-
var css$
|
|
2355
|
+
var css$10 = {"root":"i8gqnK","modal-blocker":"Jcpes1","modalBlocker":"Jcpes1","animateModalBlocker":"F0WKM3","modal":"o1Glc3","modal-footer":"_7XJSuQ","modalFooter":"_7XJSuQ","border-top":"Dc9N9a","borderTop":"Dc9N9a","modal-header":"lcl6hl","modalHeader":"lcl6hl","border-bottom":"Z89dC1","borderBottom":"Z89dC1"};
|
|
1987
2356
|
|
|
1988
|
-
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$
|
|
1989
|
-
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$
|
|
2357
|
+
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$10.modalBlocker]);
|
|
2358
|
+
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$10.root, css$10.modal], (props) => {
|
|
1990
2359
|
const width = props.width;
|
|
1991
2360
|
const height = props.height || 'auto';
|
|
1992
2361
|
const maxHeight = uuiCore.isMobile() ? 'var(--uui-modals-mobile-max-height)' : (props.maxHeight || 'var(--uui-modals-max-height)');
|
|
@@ -2000,7 +2369,7 @@ const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, (
|
|
|
2000
2369
|
};
|
|
2001
2370
|
});
|
|
2002
2371
|
function ModalHeader(props) {
|
|
2003
|
-
return (React__namespace.default.createElement("div", { className: cx__default.default(css$
|
|
2372
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$10.root, css$10.modalHeader, 'uui-modal-header', props.borderBottom && css$10.borderBottom, props.cx), ...props.rawProps, style: {
|
|
2004
2373
|
...props.rawProps?.style,
|
|
2005
2374
|
} },
|
|
2006
2375
|
props.title && (React__namespace.default.createElement("div", { className: cx__default.default('uui-modal-title', 'uui-typography') }, props.title)),
|
|
@@ -2010,7 +2379,7 @@ function ModalHeader(props) {
|
|
|
2010
2379
|
React__namespace.default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: settings.modal.icons.closeIcon, onClick: props.onClose })))));
|
|
2011
2380
|
}
|
|
2012
2381
|
function ModalFooter(props) {
|
|
2013
|
-
return (React__namespace.default.createElement("div", { className: cx__default.default(css$
|
|
2382
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$10.root, css$10.modalFooter, 'uui-modal-footer', props.borderTop && css$10.borderTop, props.cx), ...props.rawProps, style: {
|
|
2014
2383
|
...props.rawProps?.style,
|
|
2015
2384
|
} }, props.children));
|
|
2016
2385
|
}
|
|
@@ -2053,8 +2422,8 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2053
2422
|
},
|
|
2054
2423
|
},
|
|
2055
2424
|
rangeDatePicker: {
|
|
2056
|
-
pickerPlaceholderFrom: 'From
|
|
2057
|
-
pickerPlaceholderTo: 'To
|
|
2425
|
+
pickerPlaceholderFrom: 'From',
|
|
2426
|
+
pickerPlaceholderTo: 'To',
|
|
2058
2427
|
},
|
|
2059
2428
|
tables: {
|
|
2060
2429
|
noResultsBlock: {
|
|
@@ -2144,342 +2513,111 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2144
2513
|
serviceUnavailable: {
|
|
2145
2514
|
title: 'The page request was canceled, because it took too long to complete',
|
|
2146
2515
|
subtitle: 'Sorry for the inconvenience, we’ll get it fixed.',
|
|
2147
|
-
},
|
|
2148
|
-
default: {
|
|
2149
|
-
title: 'Something went wrong',
|
|
2150
|
-
subtitle: 'Sorry for the inconvenience, we’ll get it fixed.',
|
|
2151
|
-
},
|
|
2152
|
-
},
|
|
2153
|
-
recoveryMessageConfig: {
|
|
2154
|
-
'auth-lost': {
|
|
2155
|
-
title: 'Your session has expired.',
|
|
2156
|
-
subtitle: 'Attempting to log you in.',
|
|
2157
|
-
},
|
|
2158
|
-
'connection-lost': {
|
|
2159
|
-
title: 'Network connection down',
|
|
2160
|
-
subtitle: 'Please check your network connection.',
|
|
2161
|
-
},
|
|
2162
|
-
maintenance: {
|
|
2163
|
-
title: 'Server maintenance',
|
|
2164
|
-
subtitle: 'We apologize for the inconvenience. Our site is currently under maintenance. Will come back as soon as possible.',
|
|
2165
|
-
},
|
|
2166
|
-
'server-overload': {
|
|
2167
|
-
title: 'Server overloaded',
|
|
2168
|
-
subtitle: 'We are trying to recover. Please wait.',
|
|
2169
|
-
},
|
|
2170
|
-
},
|
|
2171
|
-
supportMessage: undefined,
|
|
2172
|
-
},
|
|
2173
|
-
});
|
|
2174
|
-
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2175
|
-
|
|
2176
|
-
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"};
|
|
2177
|
-
|
|
2178
|
-
function NotificationCard(props) {
|
|
2179
|
-
const notificationCardNode = React__namespace.default.useRef(null);
|
|
2180
|
-
React__namespace.default.useImperativeHandle(props.ref, () => notificationCardNode.current, [notificationCardNode.current]);
|
|
2181
|
-
React__namespace.default.useLayoutEffect(() => {
|
|
2182
|
-
notificationCardNode.current?.addEventListener('mouseenter', props.clearTimer);
|
|
2183
|
-
notificationCardNode.current?.addEventListener('mouseleave', props.refreshTimer);
|
|
2184
|
-
return () => {
|
|
2185
|
-
notificationCardNode.current?.removeEventListener('mouseenter', props.clearTimer);
|
|
2186
|
-
notificationCardNode.current?.removeEventListener('mouseleave', props.refreshTimer);
|
|
2187
|
-
};
|
|
2188
|
-
}, []);
|
|
2189
|
-
return (React__namespace.default.createElement("div", { role: "alert", className: cx__default.default('uui-notification_card', props.color && `uui-color-${props.color}`, css$15.root, props.cx), ref: notificationCardNode, ...props.rawProps },
|
|
2190
|
-
React__namespace.default.createElement("div", { className: css$15.mainPath },
|
|
2191
|
-
props.icon && (React__namespace.default.createElement("div", { className: css$15.iconWrapper },
|
|
2192
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { size: 24, icon: props.icon }))),
|
|
2193
|
-
React__namespace.default.createElement("div", { className: css$15.content },
|
|
2194
|
-
props.children,
|
|
2195
|
-
props.actions && (React__namespace.default.createElement("div", { className: css$15.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$15.actionLink, size: settings.notificationCard.sizes.action, rawProps: action.rawProps })))))),
|
|
2196
|
-
props.onClose && (React__namespace.default.createElement("div", { className: css$15.closeWrapper },
|
|
2197
|
-
React__namespace.default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$15.closeIcon }))))));
|
|
2198
|
-
}
|
|
2199
|
-
function WarningNotification(props) {
|
|
2200
|
-
return React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.warningIcon, color: "warning", ...props });
|
|
2201
|
-
}
|
|
2202
|
-
function SuccessNotification(props) {
|
|
2203
|
-
return React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.successIcon, color: "success", ...props });
|
|
2204
|
-
}
|
|
2205
|
-
function HintNotification(props) {
|
|
2206
|
-
return React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.hintIcon, color: "info", ...props });
|
|
2207
|
-
}
|
|
2208
|
-
function ErrorNotification(props) {
|
|
2209
|
-
return React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.errorIcon, color: "error", ...props });
|
|
2210
|
-
}
|
|
2211
|
-
function ClearNotification() {
|
|
2212
|
-
const uuiCtx = uuiCore.useUuiContext();
|
|
2213
|
-
return (React__namespace.default.createElement("div", { className: cx__default.default(css$15.notificationWrapper, css$15.clearButton) },
|
|
2214
|
-
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
|
-
var css$14 = {"footer":"HBtgYa"};
|
|
2218
|
-
|
|
2219
|
-
class ConfirmationModal extends React__namespace.Component {
|
|
2220
|
-
render() {
|
|
2221
|
-
let bodyContent;
|
|
2222
|
-
if (this.props.bodyContent) {
|
|
2223
|
-
bodyContent = React__namespace.createElement(Panel, { background: "surface-main", margin: "24" }, this.props.bodyContent);
|
|
2224
|
-
}
|
|
2225
|
-
return (React__namespace.createElement(ModalBlocker, { ...this.props },
|
|
2226
|
-
React__namespace.createElement(ModalWindow, { width: 420 },
|
|
2227
|
-
React__namespace.createElement(ModalHeader, { borderBottom: true, title: this.props.caption, onClose: () => this.props.abort() }),
|
|
2228
|
-
React__namespace.createElement(ScrollBars, null, bodyContent),
|
|
2229
|
-
React__namespace.createElement(ModalFooter, { cx: css$14.footer },
|
|
2230
|
-
this.props.hideCancelButton || (React__namespace.createElement(Button, { caption: i18n.form.modals.discardButton, onClick: () => this.props.success(false), fill: "outline", color: "secondary" })),
|
|
2231
|
-
React__namespace.createElement(Button, { caption: i18n.form.modals.saveButton, onClick: () => this.props.success(true), color: "primary" })))));
|
|
2232
|
-
}
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2235
|
-
function Snackbar(props) {
|
|
2236
|
-
const uuiCtx = uuiCore.useUuiContext();
|
|
2237
|
-
const forceUpdate = useReliableForceUpdate();
|
|
2238
|
-
React.useEffect(() => uuiCtx.uuiNotifications.subscribe(() => forceUpdate()), []);
|
|
2239
|
-
let items = uuiCtx.uuiNotifications.getNotifications().slice().reverse();
|
|
2240
|
-
// add button for clear notification list
|
|
2241
|
-
if (items.length > 1) {
|
|
2242
|
-
const clearOperation = {
|
|
2243
|
-
component: ClearNotification,
|
|
2244
|
-
props: { id: 111555, key: 'clearNotification' },
|
|
2245
|
-
config: { position: items[0].config.position, duration: 'forever' },
|
|
2246
|
-
};
|
|
2247
|
-
items = [clearOperation].concat(items);
|
|
2248
|
-
}
|
|
2249
|
-
return React__namespace.createElement(uuiComponents.Snackbar, { forwardedRef: props.forwardedRef, notifications: items });
|
|
2250
|
-
}
|
|
2251
|
-
/**
|
|
2252
|
-
* https://legacy.reactjs.org/docs/hooks-faq.html#is-there-something-like-forceupdate
|
|
2253
|
-
*/
|
|
2254
|
-
function useReliableForceUpdate() {
|
|
2255
|
-
const red = React.useReducer((x) => x + 1, 0);
|
|
2256
|
-
return red[1];
|
|
2257
|
-
}
|
|
2258
|
-
|
|
2259
|
-
var css$13 = {"root":"RBLD5u","timepicker-input":"_5umJxG","timepickerInput":"_5umJxG","ltr-always":"D1xa9a","ltrAlways":"D1xa9a"};
|
|
2260
|
-
|
|
2261
|
-
const uuiTimePicker = {
|
|
2262
|
-
container: 'uui-timepicker-container',
|
|
2263
|
-
iconUp: 'uui-timepicker-icon-up',
|
|
2264
|
-
iconDown: 'uui-timepicker-icon-down',
|
|
2265
|
-
input: 'uui-timepicker-input',
|
|
2266
|
-
elementContainer: 'uui-timepicker-item',
|
|
2267
|
-
};
|
|
2268
|
-
const MIN_MINUTES = 0;
|
|
2269
|
-
const MAX_MINUTES = 59;
|
|
2270
|
-
const FORMAT_12H = 12;
|
|
2271
|
-
function TimePickerBody(props) {
|
|
2272
|
-
const MIN_HOURS = props.format === FORMAT_12H ? 1 : 0;
|
|
2273
|
-
const MAX_HOURS = props.format || FORMAT_12H;
|
|
2274
|
-
const setValue = (newTime) => {
|
|
2275
|
-
props.onValueChange({ hours: newTime.hour(), minutes: newTime.minute() });
|
|
2276
|
-
};
|
|
2277
|
-
const onHoursChange = (newHours) => {
|
|
2278
|
-
setValue(uuiDayjs.dayjs().set(props.value).hour(newHours));
|
|
2279
|
-
};
|
|
2280
|
-
const onMinutesChange = (newMinutes) => {
|
|
2281
|
-
setValue(uuiDayjs.dayjs().set(props.value).minute(newMinutes));
|
|
2282
|
-
};
|
|
2283
|
-
const onTimeTypeChange = () => {
|
|
2284
|
-
setValue(uuiDayjs.dayjs().set(props.value).add(12, 'h'));
|
|
2285
|
-
};
|
|
2286
|
-
const handleMinutesUpClick = () => {
|
|
2287
|
-
const minutesStep = props.minutesStep || 5;
|
|
2288
|
-
const value = uuiDayjs.dayjs().set(props.value);
|
|
2289
|
-
const minutesToAdd = minutesStep - (value.minute() % minutesStep);
|
|
2290
|
-
onMinutesChange(value.add(minutesToAdd, 'm').minute());
|
|
2291
|
-
};
|
|
2292
|
-
const handleMinutesDownClick = () => {
|
|
2293
|
-
const minutesStep = props.minutesStep || 5;
|
|
2294
|
-
const value = uuiDayjs.dayjs().set(props.value);
|
|
2295
|
-
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
2296
|
-
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
2297
|
-
};
|
|
2298
|
-
return (React__namespace.createElement("div", { className: uuiCore.cx(css$13.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef, ...props.rawProps },
|
|
2299
|
-
React__namespace.createElement("div", { className: css$13.ltrAlways },
|
|
2300
|
-
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2301
|
-
React__namespace.createElement(uuiComponents.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()) }),
|
|
2302
|
-
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
2303
|
-
.set(props.value)
|
|
2304
|
-
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
2305
|
-
React__namespace.createElement(uuiComponents.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()) })),
|
|
2306
|
-
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2307
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: handleMinutesUpClick }),
|
|
2308
|
-
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
2309
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: handleMinutesDownClick }))),
|
|
2310
|
-
MAX_HOURS === FORMAT_12H && (React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
2311
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$Q, onClick: onTimeTypeChange }),
|
|
2312
|
-
React__namespace.createElement(uuiComponents.TextInput, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
2313
|
-
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
2314
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$Q, onClick: onTimeTypeChange })))));
|
|
2315
|
-
}
|
|
2316
|
-
|
|
2317
|
-
const getMeridian = (newValue, format) => {
|
|
2318
|
-
if (format === 'hh:mm A') {
|
|
2319
|
-
if (newValue.toLowerCase().includes('p') && newValue.toLowerCase().includes('a')) {
|
|
2320
|
-
return newValue.toLowerCase().indexOf('p') < newValue.toLowerCase().indexOf('a') ? 'PM' : 'AM';
|
|
2321
|
-
}
|
|
2322
|
-
return newValue.toLowerCase().includes('p') ? 'PM' : 'AM';
|
|
2323
|
-
}
|
|
2324
|
-
return false;
|
|
2325
|
-
};
|
|
2326
|
-
const parseTimeNumbers = (value, separator) => {
|
|
2327
|
-
let hours, minutes;
|
|
2328
|
-
const timeNumbers = value.replace(/\D/gi, '');
|
|
2329
|
-
switch (separator) {
|
|
2330
|
-
case 0:
|
|
2331
|
-
hours = 0;
|
|
2332
|
-
minutes = parseInt(timeNumbers.trim().slice(0, 2));
|
|
2333
|
-
break;
|
|
2334
|
-
case 1:
|
|
2335
|
-
hours = parseInt(timeNumbers.slice(0, 1));
|
|
2336
|
-
minutes = parseInt(timeNumbers.slice(1, 3));
|
|
2337
|
-
break;
|
|
2338
|
-
default:
|
|
2339
|
-
hours = parseInt(timeNumbers.slice(0, 2));
|
|
2340
|
-
minutes = parseInt(timeNumbers.slice(2, 4));
|
|
2341
|
-
}
|
|
2342
|
-
return { hours, minutes };
|
|
2343
|
-
};
|
|
2344
|
-
const formatTime = (hours, minutes, meridian, format) => {
|
|
2345
|
-
const normalizeHours = (h) => Number.isNaN(h) ? '00' : h.toString().padStart(2, '0');
|
|
2346
|
-
const normalizeMinutes = (m) => Number.isNaN(m) ? '00' : m.toString().padStart(2, '0');
|
|
2347
|
-
if (meridian && normalizeHours(hours) === '00' && normalizeMinutes(minutes) === '00') {
|
|
2348
|
-
return '';
|
|
2349
|
-
}
|
|
2350
|
-
let hoursResult = Number.parseInt(normalizeHours(hours));
|
|
2351
|
-
let meridianResult = meridian;
|
|
2352
|
-
if ((format === 'hh:mm A') && hoursResult > 12) {
|
|
2353
|
-
hoursResult -= 12;
|
|
2354
|
-
meridianResult = 'PM';
|
|
2355
|
-
}
|
|
2356
|
-
if ((format === 'hh:mm A') && hoursResult === 0) {
|
|
2357
|
-
hoursResult = 12;
|
|
2358
|
-
}
|
|
2359
|
-
const time = `${normalizeHours(hoursResult)}:${normalizeMinutes(minutes)}`;
|
|
2360
|
-
return meridianResult ? time.concat(` ${meridianResult}`) : time;
|
|
2361
|
-
};
|
|
2362
|
-
|
|
2363
|
-
const DEFAULT_MODE = EditMode.FORM;
|
|
2364
|
-
const valueToTimeString = (value, format) => {
|
|
2365
|
-
if (value === null)
|
|
2366
|
-
return null;
|
|
2367
|
-
return uuiDayjs.dayjs()
|
|
2368
|
-
.set(value)
|
|
2369
|
-
.format(format === 24 ? 'HH:mm' : 'hh:mm A');
|
|
2370
|
-
};
|
|
2371
|
-
function TimePicker(props) {
|
|
2372
|
-
const [state, setState] = React.useState({
|
|
2373
|
-
isOpen: false,
|
|
2374
|
-
value: valueToTimeString(props.value, props.format),
|
|
2375
|
-
inputValue: valueToTimeString(props.value, props.format),
|
|
2376
|
-
});
|
|
2377
|
-
React.useEffect(() => {
|
|
2378
|
-
if (valueToTimeString(props.value, props.format) !== state.value) {
|
|
2379
|
-
const stringValue = valueToTimeString(props.value, props.format);
|
|
2380
|
-
setState((prevState) => ({
|
|
2381
|
-
...prevState,
|
|
2382
|
-
value: stringValue,
|
|
2383
|
-
inputValue: stringValue,
|
|
2384
|
-
}));
|
|
2385
|
-
}
|
|
2386
|
-
}, [props.value, props.format]);
|
|
2387
|
-
const getFormat = () => props.format === 24 ? 'HH:mm' : 'hh:mm A';
|
|
2388
|
-
const isTimeValid = (newValue) => uuiDayjs.dayjs(newValue, getFormat(), true).isValid();
|
|
2389
|
-
const formatStringTimeToObject = (stringTime) => {
|
|
2390
|
-
if (stringTime) {
|
|
2391
|
-
const value = uuiDayjs.dayjs(stringTime, getFormat(), true);
|
|
2392
|
-
return { hours: value.hour(), minutes: value.minute() };
|
|
2393
|
-
}
|
|
2394
|
-
return { hours: null, minutes: null };
|
|
2395
|
-
};
|
|
2396
|
-
const onClear = () => {
|
|
2397
|
-
props.onValueChange(null);
|
|
2398
|
-
};
|
|
2399
|
-
const onToggle = (value) => {
|
|
2400
|
-
setState((prevState) => ({ ...prevState, isOpen: value }));
|
|
2401
|
-
};
|
|
2402
|
-
const saveTime = (newTime) => {
|
|
2403
|
-
setState((prevState) => ({ ...prevState, inputValue: newTime }));
|
|
2404
|
-
props.onValueChange(formatStringTimeToObject(newTime));
|
|
2405
|
-
};
|
|
2406
|
-
const getTimeFromInputValue = (newValue) => {
|
|
2407
|
-
const trimmedNewValue = newValue.trimStart();
|
|
2408
|
-
const separator = trimmedNewValue.search(/\D/);
|
|
2409
|
-
const meridian = getMeridian(trimmedNewValue, getFormat());
|
|
2410
|
-
const { hours, minutes } = parseTimeNumbers(trimmedNewValue, separator);
|
|
2411
|
-
return formatTime(hours, minutes, meridian, getFormat());
|
|
2412
|
-
};
|
|
2413
|
-
const handleBodyValueChange = (newValue) => {
|
|
2414
|
-
const inputValue = valueToTimeString(newValue, props.format);
|
|
2415
|
-
saveTime(inputValue);
|
|
2416
|
-
};
|
|
2417
|
-
const handleFocus = (e) => {
|
|
2418
|
-
onToggle(true);
|
|
2419
|
-
props.onFocus?.(e);
|
|
2420
|
-
};
|
|
2421
|
-
const handleInputChange = (newValue) => {
|
|
2422
|
-
setState((prevState) => ({ ...prevState, inputValue: newValue }));
|
|
2423
|
-
if (newValue) {
|
|
2424
|
-
const result = getTimeFromInputValue(newValue);
|
|
2425
|
-
if (isTimeValid(result)) {
|
|
2426
|
-
setState((prevState) => ({ ...prevState, value: result }));
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
};
|
|
2430
|
-
const handleBlur = (e) => {
|
|
2431
|
-
if (uuiCore.isFocusReceiverInsideFocusLock(e))
|
|
2432
|
-
return;
|
|
2433
|
-
onToggle(false);
|
|
2434
|
-
props.onBlur?.(e);
|
|
2435
|
-
if (state.value === '' || state.inputValue === '') {
|
|
2436
|
-
props.onValueChange(null);
|
|
2437
|
-
setState((prevState) => ({ ...prevState, value: null, inputValue: null }));
|
|
2438
|
-
}
|
|
2439
|
-
state.value && state.inputValue && saveTime(state.value);
|
|
2440
|
-
};
|
|
2441
|
-
const renderInput = (inputProps) => {
|
|
2442
|
-
return (React__namespace.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 }));
|
|
2443
|
-
};
|
|
2444
|
-
const renderBody = (bodyProps) => {
|
|
2445
|
-
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
2446
|
-
return (!props.isDisabled && !props.isReadonly && (React__namespace.default.createElement(DropdownContainer, { ...bodyProps, focusLock: false },
|
|
2447
|
-
React__namespace.default.createElement(TimePickerBody, { ...timePickerBodyProps, onValueChange: handleBodyValueChange, value: formatStringTimeToObject(state.value), rawProps: props.rawProps?.body, cx: props.bodyCx }))));
|
|
2448
|
-
};
|
|
2449
|
-
return (React__namespace.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 }));
|
|
2450
|
-
}
|
|
2516
|
+
},
|
|
2517
|
+
default: {
|
|
2518
|
+
title: 'Something went wrong',
|
|
2519
|
+
subtitle: 'Sorry for the inconvenience, we’ll get it fixed.',
|
|
2520
|
+
},
|
|
2521
|
+
},
|
|
2522
|
+
recoveryMessageConfig: {
|
|
2523
|
+
'auth-lost': {
|
|
2524
|
+
title: 'Your session has expired.',
|
|
2525
|
+
subtitle: 'Attempting to log you in.',
|
|
2526
|
+
},
|
|
2527
|
+
'connection-lost': {
|
|
2528
|
+
title: 'Network connection down',
|
|
2529
|
+
subtitle: 'Please check your network connection.',
|
|
2530
|
+
},
|
|
2531
|
+
maintenance: {
|
|
2532
|
+
title: 'Server maintenance',
|
|
2533
|
+
subtitle: 'We apologize for the inconvenience. Our site is currently under maintenance. Will come back as soon as possible.',
|
|
2534
|
+
},
|
|
2535
|
+
'server-overload': {
|
|
2536
|
+
title: 'Server overloaded',
|
|
2537
|
+
subtitle: 'We are trying to recover. Please wait.',
|
|
2538
|
+
},
|
|
2539
|
+
},
|
|
2540
|
+
supportMessage: undefined,
|
|
2541
|
+
},
|
|
2542
|
+
});
|
|
2543
|
+
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2451
2544
|
|
|
2452
|
-
var css
|
|
2545
|
+
var css$$ = {"root":"fSxkn0","icon-wrapper":"UenU7z","iconWrapper":"UenU7z","action-wrapper":"EHEDgo","actionWrapper":"EHEDgo","close-icon":"c-aiaH","closeIcon":"c-aiaH","main-path":"F-S0NE","mainPath":"F-S0NE","content":"VMj878","close-wrapper":"-xR7xI","closeWrapper":"-xR7xI","clear-notifications":"u2DFRz","clearNotifications":"u2DFRz"};
|
|
2453
2546
|
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2547
|
+
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
2548
|
+
const notificationCardNode = React__namespace.default.useRef(null);
|
|
2549
|
+
React__namespace.default.useImperativeHandle(ref, () => notificationCardNode.current, [notificationCardNode.current]);
|
|
2550
|
+
React__namespace.default.useLayoutEffect(() => {
|
|
2551
|
+
notificationCardNode.current?.addEventListener('mouseenter', props.clearTimer);
|
|
2552
|
+
notificationCardNode.current?.addEventListener('mouseleave', props.refreshTimer);
|
|
2553
|
+
return () => {
|
|
2554
|
+
notificationCardNode.current?.removeEventListener('mouseenter', props.clearTimer);
|
|
2555
|
+
notificationCardNode.current?.removeEventListener('mouseleave', props.refreshTimer);
|
|
2556
|
+
};
|
|
2557
|
+
}, []);
|
|
2558
|
+
return (React__namespace.default.createElement("div", { role: "alert", className: cx__default.default('uui-notification_card', props.color && `uui-color-${props.color}`, css$$.root, props.cx), ref: notificationCardNode, ...props.rawProps },
|
|
2559
|
+
React__namespace.default.createElement("div", { className: css$$.mainPath },
|
|
2560
|
+
props.icon && (React__namespace.default.createElement("div", { className: css$$.iconWrapper },
|
|
2561
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { size: settings.notificationCard.sizes.icon, icon: props.icon }))),
|
|
2562
|
+
React__namespace.default.createElement("div", { className: css$$.content },
|
|
2563
|
+
props.children,
|
|
2564
|
+
props.actions && (React__namespace.default.createElement("div", { className: css$$.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { key: action.name, caption: action.name, onClick: action.action, cx: css$$.actionLink, size: settings.notificationCard.sizes.action, rawProps: action.rawProps })))))),
|
|
2565
|
+
props.onClose && (React__namespace.default.createElement("div", { className: cx__default.default(css$$.closeWrapper, 'uui-notification_card-close_icon') },
|
|
2566
|
+
React__namespace.default.createElement(IconButton, { icon: settings.notificationCard.icons.closeIcon, color: "neutral", onClick: props.onClose, cx: css$$.closeIcon }))))));
|
|
2567
|
+
});
|
|
2568
|
+
const WarningNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.warningIcon, color: "warning", ...props, ref: ref, cx: props.cx })));
|
|
2569
|
+
const SuccessNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.successIcon, color: "success", ...props, ref: ref, cx: props.cx })));
|
|
2570
|
+
const HintNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.hintIcon, color: "info", ...props, ref: ref, cx: props.cx })));
|
|
2571
|
+
const ErrorNotification = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, { icon: settings.notificationCard.icons.errorIcon, color: "error", ...props, ref: ref, cx: props.cx })));
|
|
2572
|
+
function ClearNotification() {
|
|
2573
|
+
const uuiCtx = uuiCore.useUuiContext();
|
|
2574
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$$.clearNotifications, 'uui-clear-notifications') },
|
|
2575
|
+
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2458
2576
|
}
|
|
2459
|
-
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
2460
2577
|
|
|
2461
|
-
var css$
|
|
2578
|
+
var css$_ = {"footer":"gCFkrn"};
|
|
2462
2579
|
|
|
2463
|
-
|
|
2464
|
-
|
|
2580
|
+
class ConfirmationModal extends React__namespace.Component {
|
|
2581
|
+
render() {
|
|
2582
|
+
let bodyContent;
|
|
2583
|
+
if (this.props.bodyContent) {
|
|
2584
|
+
bodyContent = React__namespace.createElement(Panel, { background: "surface-main", margin: "24" }, this.props.bodyContent);
|
|
2585
|
+
}
|
|
2586
|
+
return (React__namespace.createElement(ModalBlocker, { ...this.props },
|
|
2587
|
+
React__namespace.createElement(ModalWindow, { width: 420 },
|
|
2588
|
+
React__namespace.createElement(ModalHeader, { borderBottom: true, title: this.props.caption, onClose: () => this.props.abort() }),
|
|
2589
|
+
React__namespace.createElement(ScrollBars, null, bodyContent),
|
|
2590
|
+
React__namespace.createElement(ModalFooter, { cx: css$_.footer },
|
|
2591
|
+
this.props.hideCancelButton || (React__namespace.createElement(Button, { caption: i18n.form.modals.discardButton, onClick: () => this.props.success(false), fill: "outline", color: "secondary" })),
|
|
2592
|
+
React__namespace.createElement(Button, { caption: i18n.form.modals.saveButton, onClick: () => this.props.success(true), color: "primary" })))));
|
|
2593
|
+
}
|
|
2465
2594
|
}
|
|
2466
|
-
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
2467
|
-
|
|
2468
|
-
var css$10 = {"root":"hTytAz","tooltip":"_18y6p7"};
|
|
2469
2595
|
|
|
2470
|
-
function
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2596
|
+
function Snackbar(props) {
|
|
2597
|
+
const uuiCtx = uuiCore.useUuiContext();
|
|
2598
|
+
const forceUpdate = useReliableForceUpdate();
|
|
2599
|
+
React.useEffect(() => uuiCtx.uuiNotifications.subscribe(() => forceUpdate()), []);
|
|
2600
|
+
let items = uuiCtx.uuiNotifications.getNotifications().slice().reverse();
|
|
2601
|
+
// add button for clear notification list
|
|
2602
|
+
if (items.length > 1) {
|
|
2603
|
+
const clearOperation = {
|
|
2604
|
+
component: ClearNotification,
|
|
2605
|
+
props: { id: 111555, key: 'clearNotification' },
|
|
2606
|
+
config: { position: items[0].config.position, duration: 'forever' },
|
|
2607
|
+
};
|
|
2608
|
+
items = [clearOperation].concat(items);
|
|
2609
|
+
}
|
|
2610
|
+
return React__namespace.createElement(uuiComponents.Snackbar, { forwardedRef: props.forwardedRef, notifications: items });
|
|
2611
|
+
}
|
|
2612
|
+
/**
|
|
2613
|
+
* https://legacy.reactjs.org/docs/hooks-faq.html#is-there-something-like-forceupdate
|
|
2614
|
+
*/
|
|
2615
|
+
function useReliableForceUpdate() {
|
|
2616
|
+
const red = React.useReducer((x) => x + 1, 0);
|
|
2617
|
+
return red[1];
|
|
2475
2618
|
}
|
|
2476
|
-
const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating, applyRatingMods, (props) => ({
|
|
2477
|
-
filledStarIcon: props.icon || settings.rating.icons.filledRatingIcon,
|
|
2478
|
-
emptyStarIcon: props.icon || settings.rating.icons.emptyRatingIcon,
|
|
2479
|
-
Tooltip,
|
|
2480
|
-
}));
|
|
2481
2619
|
|
|
2482
|
-
var css
|
|
2620
|
+
var css$Z = {"root":"X-RGW3","container":"_48v7X-"};
|
|
2483
2621
|
|
|
2484
2622
|
const defaultFormat = 'MMM D, YYYY';
|
|
2485
2623
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2512,7 +2650,7 @@ const getMonthOnOpen = (selectedDate, focus) => {
|
|
|
2512
2650
|
};
|
|
2513
2651
|
const isValidDate = (input, format, filter) => {
|
|
2514
2652
|
const parsedDate = uuiDayjs.dayjs(input, supportedDateFormats(format), true);
|
|
2515
|
-
return parsedDate.isValid()
|
|
2653
|
+
return filter ? parsedDate.isValid() && filter(parsedDate) : parsedDate.isValid();
|
|
2516
2654
|
};
|
|
2517
2655
|
const isValidRange = (range) => {
|
|
2518
2656
|
const from = uuiDayjs.dayjs(range.from);
|
|
@@ -2683,26 +2821,27 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2683
2821
|
}, [view, month]);
|
|
2684
2822
|
const disablePrev = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getPrevYearsList(month));
|
|
2685
2823
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2686
|
-
return (React__namespace.createElement("div", { className: cx__default.default(css
|
|
2824
|
+
return (React__namespace.createElement("div", { className: cx__default.default(css$Z.root, uuiHeader.container, cx__default.default) },
|
|
2687
2825
|
React__namespace.createElement("header", { className: uuiHeader.headerNav },
|
|
2688
2826
|
React__namespace.createElement(Button, { icon: navIconLeft || settings.datePicker.icons.body.prevIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2689
2827
|
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2690
2828
|
React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2691
2829
|
}
|
|
2692
2830
|
|
|
2693
|
-
var css$
|
|
2831
|
+
var css$Y = {"root":"_4IHPMT"};
|
|
2694
2832
|
|
|
2695
2833
|
function applyDateSelectionMods() {
|
|
2696
|
-
return [css$
|
|
2834
|
+
return [css$Y.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2697
2835
|
}
|
|
2698
2836
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2699
2837
|
|
|
2700
|
-
var css$
|
|
2838
|
+
var css$X = {"root":"_23lowj"};
|
|
2701
2839
|
|
|
2702
2840
|
const uuiDatePickerBody = {
|
|
2703
2841
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
2704
2842
|
};
|
|
2705
|
-
|
|
2843
|
+
const DatePickerBody = /* @__PURE__ */React.forwardRef(DatePickerBodyComp);
|
|
2844
|
+
function DatePickerBodyComp(props, ref) {
|
|
2706
2845
|
const { value, onValueChange } = props;
|
|
2707
2846
|
const [month, setMonth] = React.useState(getNewMonth(value));
|
|
2708
2847
|
const [view, setView] = React.useState('DAY_SELECTION');
|
|
@@ -2711,10 +2850,11 @@ function DatePickerBody(props) {
|
|
|
2711
2850
|
setMonth(getNewMonth(value));
|
|
2712
2851
|
setView('DAY_SELECTION');
|
|
2713
2852
|
}, [value, setMonth]);
|
|
2714
|
-
return (React__namespace.default.createElement(StatelessDatePickerBody, { ref:
|
|
2853
|
+
return (React__namespace.default.createElement(StatelessDatePickerBody, { ref: ref, ...props, month: month, view: view, onValueChange: onValueChange, onMonthChange: (m) => setMonth(m), onViewChange: (v) => setView(v) }));
|
|
2715
2854
|
}
|
|
2716
|
-
|
|
2717
|
-
|
|
2855
|
+
const StatelessDatePickerBody = /* @__PURE__ */React.forwardRef(StatelessDatePickerBodyComp);
|
|
2856
|
+
function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter, rawProps, value, month, view, onValueChange, onMonthChange, onViewChange, isDisabled, }, ref) {
|
|
2857
|
+
const selectedDate = React.useMemo(() => uuiDayjs.dayjs(value), [value]);
|
|
2718
2858
|
const onMonthClick = (newDate) => {
|
|
2719
2859
|
onMonthChange(newDate);
|
|
2720
2860
|
onViewChange('DAY_SELECTION');
|
|
@@ -2739,7 +2879,7 @@ function StatelessDatePickerBody({ renderDay, isHoliday, cx: classes, filter, ra
|
|
|
2739
2879
|
}
|
|
2740
2880
|
};
|
|
2741
2881
|
return (React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, `uui-size-${settings.datePicker.sizes.body}`, classes), ...rawProps },
|
|
2742
|
-
React__namespace.default.createElement("div", { className: uuiCore.cx(css$
|
|
2882
|
+
React__namespace.default.createElement("div", { className: uuiCore.cx(css$X.root, uuiDatePickerBody.wrapper) },
|
|
2743
2883
|
React__namespace.default.createElement(DatePickerHeader, { value: {
|
|
2744
2884
|
view,
|
|
2745
2885
|
month,
|
|
@@ -2751,11 +2891,7 @@ function StatelessDatePickerBody({ renderDay, isHoliday, cx: classes, filter, ra
|
|
|
2751
2891
|
}
|
|
2752
2892
|
|
|
2753
2893
|
const defaultMode$1 = EditMode.FORM;
|
|
2754
|
-
|
|
2755
|
-
name: 'offset',
|
|
2756
|
-
options: { offset: [0, 6] },
|
|
2757
|
-
}];
|
|
2758
|
-
function DatePicker(props) {
|
|
2894
|
+
function DatePickerComponent(props, ref) {
|
|
2759
2895
|
const { format = defaultFormat, value, size = settings.datePicker.sizes.input } = props;
|
|
2760
2896
|
const context = uuiCore.useUuiContext();
|
|
2761
2897
|
const [inputValue, setInputValue] = React.useState(toCustomDateFormat(value, format));
|
|
@@ -2806,23 +2942,22 @@ function DatePicker(props) {
|
|
|
2806
2942
|
props.onFocus?.(e);
|
|
2807
2943
|
}, onKeyDown: onInputKeyDown, onBlur: onBlur, mode: props.mode || defaultMode$1, rawProps: props.rawProps?.input, id: props.id }));
|
|
2808
2944
|
};
|
|
2809
|
-
const renderBody = (renderProps) => {
|
|
2945
|
+
const renderBody = React.useMemo(() => (renderProps) => {
|
|
2810
2946
|
return (React__namespace.default.createElement(DropdownContainer, { ...renderProps },
|
|
2811
2947
|
React__namespace.default.createElement(DatePickerBody, { value: value, onValueChange: onBodyValueChange, cx: uuiCore.cx(props.bodyCx), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay, rawProps: props.rawProps?.body }),
|
|
2812
2948
|
props.renderFooter?.()));
|
|
2813
|
-
};
|
|
2814
|
-
return (React__namespace.default.createElement(uuiComponents.Dropdown, { value: isBodyOpen,
|
|
2949
|
+
}, [value, onBodyValueChange]);
|
|
2950
|
+
return (React__namespace.default.createElement(uuiComponents.Dropdown, { value: isBodyOpen, middleware: [react.offset(6)], placement: props.placement, ref: ref, onValueChange: (v) => {
|
|
2815
2951
|
setBodyIsOpen(v);
|
|
2816
2952
|
}, renderTarget: (renderProps) => {
|
|
2817
2953
|
return props.renderTarget?.(renderProps) || renderInput(renderProps);
|
|
2818
|
-
}, renderBody:
|
|
2819
|
-
return renderBody(renderProps);
|
|
2820
|
-
} }));
|
|
2954
|
+
}, renderBody: renderBody }));
|
|
2821
2955
|
}
|
|
2956
|
+
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
2822
2957
|
|
|
2823
|
-
var css$
|
|
2958
|
+
var css$W = {"date-input":"Q8q0Ss","dateInput":"Q8q0Ss","root":"mvH4f-","separator":"Uq3HWm"};
|
|
2824
2959
|
|
|
2825
|
-
|
|
2960
|
+
const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, }, ref) => {
|
|
2826
2961
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
2827
2962
|
React.useEffect(() => {
|
|
2828
2963
|
setInputValue(toCustomDateRangeFormat(value, format));
|
|
@@ -2839,7 +2974,8 @@ function RangeDatePickerInput({ isDisabled, isInvalid, isReadonly, size, disable
|
|
|
2839
2974
|
const handleBlur = (event, inputType) => {
|
|
2840
2975
|
onBlurInput?.(event, inputType);
|
|
2841
2976
|
const selectedDate = toValueDateRangeFormat(inputValue, format);
|
|
2842
|
-
|
|
2977
|
+
const isDateDisabled = filter?.(uuiDayjs.dayjs(selectedDate[inputType])) === false;
|
|
2978
|
+
if (isValidRange(selectedDate) && !isDateDisabled) {
|
|
2843
2979
|
setInputValue(toCustomDateRangeFormat(selectedDate, format));
|
|
2844
2980
|
onValueChange(selectedDate);
|
|
2845
2981
|
}
|
|
@@ -2863,15 +2999,15 @@ function RangeDatePickerInput({ isDisabled, isInvalid, isReadonly, size, disable
|
|
|
2863
2999
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2864
3000
|
return (
|
|
2865
3001
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
2866
|
-
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$
|
|
2867
|
-
React__namespace.default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: uuiCore.cx(css$
|
|
2868
|
-
React__namespace.default.createElement("div", { className: css$
|
|
2869
|
-
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$
|
|
3002
|
+
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$W.root, isDisabled && uuiCore.uuiMod.disabled, isReadonly && uuiCore.uuiMod.readonly, isInvalid && uuiCore.uuiMod.invalid, inFocus && uuiCore.uuiMod.focus), onKeyDown: onKeyDown },
|
|
3003
|
+
React__namespace.default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: uuiCore.cx(css$W.dateInput, inFocus === 'from' && uuiCore.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 }),
|
|
3004
|
+
React__namespace.default.createElement("div", { className: css$W.separator }),
|
|
3005
|
+
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$W.dateInput, inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.rangeDatePicker.sizes.default, value: inputValue.to || undefined, onCancel: clearAllowed ? () => {
|
|
2870
3006
|
onValueChange(defaultRangeValue);
|
|
2871
3007
|
} : 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 })));
|
|
2872
|
-
}
|
|
3008
|
+
});
|
|
2873
3009
|
|
|
2874
|
-
var css$
|
|
3010
|
+
var css$V = {"root":"GtXyEC"};
|
|
2875
3011
|
|
|
2876
3012
|
const uuiPresets = {
|
|
2877
3013
|
container: 'uui-presets-container',
|
|
@@ -2886,12 +3022,12 @@ const getPresets = (presets) => {
|
|
|
2886
3022
|
})).sort((a, b) => a.order - b.order);
|
|
2887
3023
|
};
|
|
2888
3024
|
function CalendarPresets(props) {
|
|
2889
|
-
return (React__namespace.createElement("div", { ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$
|
|
3025
|
+
return (React__namespace.createElement("div", { ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$V.root, props.cx), ...props.rawProps },
|
|
2890
3026
|
React__namespace.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
2891
3027
|
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
2892
3028
|
}
|
|
2893
3029
|
|
|
2894
|
-
var css$
|
|
3030
|
+
var css$U = {"root":"jZwb3R","container":"e1r54U","day-selection":"APIBxI","daySelection":"APIBxI","from-picker":"F8WuqH","fromPicker":"F8WuqH","to-picker":"lu3NDE","toPicker":"lu3NDE","bodes-wrapper":"_3aSDER","bodesWrapper":"_3aSDER","blocker":"mQ2qog"};
|
|
2895
3031
|
|
|
2896
3032
|
const uuiRangeDatePickerBody = {
|
|
2897
3033
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -2965,7 +3101,8 @@ const rangeDatePickerPresets = {
|
|
|
2965
3101
|
}),
|
|
2966
3102
|
},
|
|
2967
3103
|
};
|
|
2968
|
-
|
|
3104
|
+
const RangeDatePickerBody = /* @__PURE__ */React.forwardRef(RangeDatePickerBodyComp);
|
|
3105
|
+
function RangeDatePickerBodyComp(props, ref) {
|
|
2969
3106
|
const { value: _value, filter } = props;
|
|
2970
3107
|
const { selectedDate: _selectedDate, inFocus, } = _value;
|
|
2971
3108
|
const selectedDate = _selectedDate || defaultRangeValue; // also handles null in comparison to default value
|
|
@@ -3031,21 +3168,21 @@ function RangeDatePickerBody(props) {
|
|
|
3031
3168
|
});
|
|
3032
3169
|
}, presets: presets })));
|
|
3033
3170
|
};
|
|
3034
|
-
return (React__namespace.default.createElement("div", { ref:
|
|
3035
|
-
React__namespace.default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$
|
|
3171
|
+
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default(css$U.root, uuiDatePickerBodyBase.container, props.cx), ...props.rawProps },
|
|
3172
|
+
React__namespace.default.createElement(FlexRow, { cx: [view === 'DAY_SELECTION' && css$U.daySelection, css$U.container], alignItems: "top" },
|
|
3036
3173
|
React__namespace.default.createElement(FlexCell, { width: "auto" },
|
|
3037
3174
|
React__namespace.default.createElement(FlexRow, null,
|
|
3038
|
-
React__namespace.default.createElement(FlexRow, { cx: css$
|
|
3039
|
-
React__namespace.default.createElement(StatelessDatePickerBody, { key: "date-picker-body-left", cx:
|
|
3175
|
+
React__namespace.default.createElement(FlexRow, { cx: css$U.bodesWrapper, alignItems: "top" },
|
|
3176
|
+
React__namespace.default.createElement(StatelessDatePickerBody, { key: "date-picker-body-left", cx: cx__default.default(css$U.fromPicker), ...from, onValueChange: (v) => onBodyValueChange(v, 'from'), onMonthChange: (m) => {
|
|
3040
3177
|
setMonth(m);
|
|
3041
3178
|
}, onViewChange: (v) => setView(v), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay || renderDay, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'to' }),
|
|
3042
|
-
React__namespace.default.createElement(StatelessDatePickerBody, { key: "date-picker-body-right", cx:
|
|
3179
|
+
React__namespace.default.createElement(StatelessDatePickerBody, { key: "date-picker-body-right", cx: cx__default.default(css$U.toPicker), ...to, onValueChange: (v) => onBodyValueChange(v, 'to'), onMonthChange: (m) => {
|
|
3043
3180
|
setMonth(m.subtract(1, 'month'));
|
|
3044
3181
|
}, onViewChange: (v) => setView(v), filter: props.filter, renderDay: props.renderDay || renderDay, isHoliday: props.isHoliday, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'from' }),
|
|
3045
3182
|
view !== 'DAY_SELECTION' && (React__namespace.default.createElement("div", { style: {
|
|
3046
3183
|
left: activeMonth === 'from' ? '50%' : undefined,
|
|
3047
3184
|
right: activeMonth === 'to' ? '50%' : undefined,
|
|
3048
|
-
}, className: css$
|
|
3185
|
+
}, className: css$U.blocker }))),
|
|
3049
3186
|
props.presets && renderPresets(props.presets)),
|
|
3050
3187
|
props.renderFooter && props.renderFooter()))));
|
|
3051
3188
|
}
|
|
@@ -3062,22 +3199,19 @@ const getDayCX = (day, selectedDate) => {
|
|
|
3062
3199
|
&& fromValue !== toValue;
|
|
3063
3200
|
const isFirst = dayValue === fromValue;
|
|
3064
3201
|
const isLast = dayValue === toValue;
|
|
3065
|
-
return [
|
|
3202
|
+
return [cx__default.default(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiComponents.uuiDaySelection.selectedDay)];
|
|
3066
3203
|
};
|
|
3067
3204
|
|
|
3068
|
-
var css$
|
|
3205
|
+
var css$T = {"dropdown-container":"gzoUNo","dropdownContainer":"gzoUNo"};
|
|
3069
3206
|
|
|
3070
|
-
|
|
3071
|
-
name: 'offset',
|
|
3072
|
-
options: { offset: [0, 6] },
|
|
3073
|
-
}];
|
|
3074
|
-
function RangeDatePicker(props) {
|
|
3207
|
+
function RangeDatePickerComponent(props, ref) {
|
|
3075
3208
|
const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
|
|
3076
3209
|
const value = _value || defaultRangeValue; // also handles null in comparison to default value
|
|
3077
3210
|
const context = uuiCore.useUuiContext();
|
|
3078
3211
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
3079
3212
|
const [inFocus, setInFocus] = React.useState(null);
|
|
3080
3213
|
const targetRef = React__namespace.default.useRef(null);
|
|
3214
|
+
React.useImperativeHandle(ref, () => targetRef.current);
|
|
3081
3215
|
const onValueChange = (newValue) => {
|
|
3082
3216
|
const fromChanged = value?.from !== newValue?.from;
|
|
3083
3217
|
const toChanged = value?.to !== newValue?.to;
|
|
@@ -3094,7 +3228,10 @@ function RangeDatePicker(props) {
|
|
|
3094
3228
|
props.onOpenChange?.(newIsOpen);
|
|
3095
3229
|
if (!inFocus && newIsOpen) {
|
|
3096
3230
|
setInFocus('from');
|
|
3097
|
-
targetRef.current
|
|
3231
|
+
if (targetRef.current) {
|
|
3232
|
+
const inputElement = targetRef.current.querySelector('.uui-input');
|
|
3233
|
+
inputElement?.focus();
|
|
3234
|
+
}
|
|
3098
3235
|
}
|
|
3099
3236
|
};
|
|
3100
3237
|
const onBodyValueChange = (newValue) => {
|
|
@@ -3109,7 +3246,7 @@ function RangeDatePicker(props) {
|
|
|
3109
3246
|
}
|
|
3110
3247
|
};
|
|
3111
3248
|
const renderBody = (renderProps) => {
|
|
3112
|
-
return (React__namespace.default.createElement(DropdownContainer, { ...renderProps, cx: cx__default.default(css$
|
|
3249
|
+
return (React__namespace.default.createElement(DropdownContainer, { ...renderProps, cx: cx__default.default(css$T.dropdownContainer), shards: [targetRef], returnFocus: true },
|
|
3113
3250
|
React__namespace.default.createElement(FlexRow, null,
|
|
3114
3251
|
React__namespace.default.createElement(RangeDatePickerBody, { cx: cx__default.default(props.bodyCx), value: {
|
|
3115
3252
|
selectedDate: _value,
|
|
@@ -3125,105 +3262,79 @@ function RangeDatePicker(props) {
|
|
|
3125
3262
|
}
|
|
3126
3263
|
};
|
|
3127
3264
|
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: (renderProps) => {
|
|
3128
|
-
return props.renderTarget?.(renderProps) || (React__namespace.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) => {
|
|
3265
|
+
return props.renderTarget?.(renderProps) || (React__namespace.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) => {
|
|
3129
3266
|
props.onFocus?.(e, type);
|
|
3130
3267
|
setInFocus(type);
|
|
3131
3268
|
}, onBlurInput: (e, type) => { props.onBlur?.(e, type); !isOpen && setInFocus(null); }, onKeyDown: handleEscape }));
|
|
3132
|
-
}, renderBody: (renderProps) => renderBody(renderProps), onValueChange: (v) => onOpenChange(v), value: isOpen,
|
|
3269
|
+
}, renderBody: (renderProps) => renderBody(renderProps), onValueChange: (v) => onOpenChange(v), value: isOpen, middleware: [react.offset(6)], placement: props.placement, ref: ref }));
|
|
3133
3270
|
}
|
|
3271
|
+
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
3134
3272
|
|
|
3135
|
-
var css$
|
|
3273
|
+
var css$S = {"root":"_4c7JOn","blocker":"JAb23-","marker":"pJfFTh","top":"Z2P4Zo","bottom":"sN7Hx-","left":"Iwg-dq","right":"D-MBtZ","inside":"XY1--j"};
|
|
3136
3274
|
|
|
3137
3275
|
function DropMarker(props) {
|
|
3138
3276
|
return props.isDndInProgress
|
|
3139
3277
|
? (React__namespace.createElement(React__namespace.Fragment, null,
|
|
3140
|
-
props.enableBlocker && React__namespace.createElement("div", { className: css$
|
|
3278
|
+
props.enableBlocker && React__namespace.createElement("div", { className: css$S.blocker }),
|
|
3141
3279
|
React__namespace.createElement("div", { className: cx__default.default([
|
|
3142
|
-
css$
|
|
3143
|
-
css$
|
|
3144
|
-
css$
|
|
3280
|
+
css$S.root,
|
|
3281
|
+
css$S.marker,
|
|
3282
|
+
css$S[props.position],
|
|
3145
3283
|
props?.cx,
|
|
3146
3284
|
]) })))
|
|
3147
3285
|
: null;
|
|
3148
3286
|
}
|
|
3149
3287
|
|
|
3150
|
-
var css$T = {"root":"_6TpRRQ","line-height":"bFyoXD","lineHeight":"bFyoXD","font-size":"VQiYxl","fontSize":"VQiYxl"};
|
|
3151
|
-
|
|
3152
|
-
function applyTextMods(mods) {
|
|
3153
|
-
return [
|
|
3154
|
-
css$T.root,
|
|
3155
|
-
'uui-text',
|
|
3156
|
-
`uui-size-${mods.size || settings.text.sizes.default}`,
|
|
3157
|
-
(mods.size !== 'none' || mods.lineHeight) && css$T.lineHeight,
|
|
3158
|
-
(mods.size !== 'none' || mods.fontSize) && css$T.fontSize,
|
|
3159
|
-
`uui-color-${mods.color || 'primary'}`,
|
|
3160
|
-
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
3161
|
-
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
3162
|
-
'uui-typography-inline',
|
|
3163
|
-
];
|
|
3164
|
-
}
|
|
3165
|
-
const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, applyTextMods, (props) => {
|
|
3166
|
-
const style = props?.rawProps?.style || {};
|
|
3167
|
-
props.fontSize && (style['--uui-text-font-size'] = `${props.fontSize}px`);
|
|
3168
|
-
props.lineHeight && (style['--uui-text-line-height'] = `${props.lineHeight}px`);
|
|
3169
|
-
return {
|
|
3170
|
-
rawProps: {
|
|
3171
|
-
...props?.rawProps,
|
|
3172
|
-
style: style,
|
|
3173
|
-
},
|
|
3174
|
-
};
|
|
3175
|
-
});
|
|
3176
|
-
|
|
3177
3288
|
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
3178
3289
|
|
|
3179
|
-
var css$
|
|
3290
|
+
var css$R = {"search-wrapper":"_6j47Bn","searchWrapper":"_6j47Bn","no-data":"_6P5Rga","noData":"_6P5Rga"};
|
|
3180
3291
|
|
|
3181
|
-
var css$
|
|
3292
|
+
var css$Q = {"picker-row":"eHNJHq","pickerRow":"eHNJHq","align-widgets-top":"_0Q2a8U","alignWidgetsTop":"_0Q2a8U","row-content":"i2lfPW","rowContent":"i2lfPW","align-widgets-center":"cP9WJW","alignWidgetsCenter":"cP9WJW","icon-container":"RQJpkz","iconContainer":"RQJpkz","content-wrapper":"F3DQyn","contentWrapper":"F3DQyn","icon-wrapper":"_0UUWIU","iconWrapper":"_0UUWIU","icon-default":"BGtMG0","iconDefault":"BGtMG0","selected-mark":"_33CGdB","selectedMark":"_33CGdB"};
|
|
3182
3293
|
|
|
3183
|
-
var css$
|
|
3294
|
+
var css$P = {"root":"ahmsHl"};
|
|
3184
3295
|
|
|
3185
|
-
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$
|
|
3296
|
+
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$P.root]);
|
|
3186
3297
|
|
|
3187
|
-
var css$
|
|
3298
|
+
var css$O = {"root":"_2F1ZHd"};
|
|
3188
3299
|
|
|
3189
3300
|
const DEFAULT_FILL = 'solid';
|
|
3190
3301
|
function applyBadgeMods(mods) {
|
|
3191
3302
|
return [
|
|
3192
3303
|
'uui-badge',
|
|
3193
|
-
css$
|
|
3304
|
+
css$O.root,
|
|
3194
3305
|
`uui-size-${mods.size || settings.badge.sizes.default}`,
|
|
3195
3306
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
3196
3307
|
`uui-color-${mods.color || 'info'}`,
|
|
3197
3308
|
];
|
|
3198
3309
|
}
|
|
3199
|
-
const Badge = (props) => {
|
|
3310
|
+
const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
3200
3311
|
const styles = [applyBadgeMods(props), props.cx];
|
|
3201
3312
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.badge.icons.dropdownIcon;
|
|
3202
3313
|
return (React__namespace.default.createElement(uuiComponents.Clickable, { ...props, rawProps: {
|
|
3203
3314
|
'aria-haspopup': props.isDropdown,
|
|
3204
3315
|
'aria-expanded': props.isOpen,
|
|
3205
3316
|
...props.rawProps,
|
|
3206
|
-
}, cx: styles, ref:
|
|
3317
|
+
}, cx: styles, ref: ref },
|
|
3207
3318
|
(props.indicator && props.fill === 'outline') && (React__namespace.default.createElement("div", { className: "uui-indicator" })),
|
|
3208
3319
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3209
3320
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
3210
3321
|
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.badge.sizes.countIndicatorMap[props.size || settings.badge.sizes.default], caption: props.count })),
|
|
3211
3322
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3212
3323
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
3213
|
-
};
|
|
3324
|
+
});
|
|
3214
3325
|
|
|
3215
|
-
var css$
|
|
3326
|
+
var css$N = {"root":"_6qjKPt"};
|
|
3216
3327
|
|
|
3217
3328
|
function applyTagMods(props) {
|
|
3218
3329
|
return [
|
|
3219
|
-
css$
|
|
3330
|
+
css$N.root,
|
|
3220
3331
|
`uui-size-${props.size || settings.tag.sizes.default}`,
|
|
3221
3332
|
`uui-color-${props.color || 'neutral'}`,
|
|
3222
3333
|
`uui-fill-${props.fill || 'solid'}`,
|
|
3223
3334
|
'uui-tag',
|
|
3224
3335
|
];
|
|
3225
3336
|
}
|
|
3226
|
-
|
|
3337
|
+
const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
3227
3338
|
const styles = [applyTagMods(props), props.cx];
|
|
3228
3339
|
const ClearIcon = props.clearIcon ? props.clearIcon : settings.tag.icons.clearIcon;
|
|
3229
3340
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.tag.icons.dropdownIcon;
|
|
@@ -3231,66 +3342,66 @@ function Tag(props) {
|
|
|
3231
3342
|
'aria-haspopup': props.isDropdown,
|
|
3232
3343
|
'aria-expanded': props.isOpen,
|
|
3233
3344
|
...props.rawProps,
|
|
3234
|
-
}, cx: styles, ref:
|
|
3345
|
+
}, cx: styles, ref: ref },
|
|
3235
3346
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3236
3347
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
3237
3348
|
props.count !== undefined && props.count !== null && (React__namespace.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 })),
|
|
3238
3349
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
3239
3350
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
3240
3351
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
3241
|
-
}
|
|
3352
|
+
});
|
|
3242
3353
|
|
|
3243
|
-
var css$
|
|
3354
|
+
var css$M = {"root":"_3W7nxe","page":"mV4I9O","spacer":"jsXJ2f","mode-ghost":"_9y3rMJ","modeGhost":"_9y3rMJ"};
|
|
3244
3355
|
|
|
3245
3356
|
function Paginator(props) {
|
|
3246
|
-
const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default(css$
|
|
3357
|
+
const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default(css$M.root, 'uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
|
|
3247
3358
|
React__namespace.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" }),
|
|
3248
3359
|
params.pages.map((page, index) => {
|
|
3249
3360
|
if (page.type === 'spacer') {
|
|
3250
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$
|
|
3361
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(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 }));
|
|
3251
3362
|
}
|
|
3252
3363
|
else {
|
|
3253
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$
|
|
3364
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(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 }));
|
|
3254
3365
|
}
|
|
3255
3366
|
}),
|
|
3256
3367
|
React__namespace.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" })));
|
|
3257
3368
|
return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
|
|
3258
3369
|
}
|
|
3259
3370
|
|
|
3260
|
-
var css$
|
|
3371
|
+
var css$L = {"root":"KPJEdf","progress-bar":"FNKr6C","progressBar":"FNKr6C","progressBar-indeterminate":"Qutt6-","progressBarIndeterminate":"Qutt6-","size-12":"GhXq6g","size12":"GhXq6g","size-18":"_0i56mG","size18":"_0i56mG","size-24":"zxuSDK","size24":"zxuSDK"};
|
|
3261
3372
|
|
|
3262
|
-
const IndeterminateBar = (props) => {
|
|
3263
|
-
return (React__namespace.createElement("div", { ref:
|
|
3264
|
-
React__namespace.createElement("div", { className: cx__default.default(css$
|
|
3265
|
-
};
|
|
3373
|
+
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3374
|
+
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$L.root, css$L[`size-${props.size || 12}`]) },
|
|
3375
|
+
React__namespace.createElement("div", { className: cx__default.default(css$L.progressBar) })));
|
|
3376
|
+
});
|
|
3266
3377
|
|
|
3267
|
-
var css$
|
|
3378
|
+
var css$K = {"root":"tMBqIl","striped":"g4xn20","animate-stripes":"ehJluS","animateStripes":"ehJluS","size-12":"f6KT8d","size12":"f6KT8d","size-18":"cIpi4Z","size18":"cIpi4Z","size-24":"_72D0n9","size24":"_72D0n9"};
|
|
3268
3379
|
|
|
3269
3380
|
const DEFAULT_SIZE = '12';
|
|
3270
3381
|
function applyProgressBarMods(mods) {
|
|
3271
3382
|
const size = mods.size || DEFAULT_SIZE;
|
|
3272
3383
|
return [
|
|
3273
|
-
css$
|
|
3274
|
-
css$
|
|
3275
|
-
mods.striped && css$
|
|
3384
|
+
css$K.root,
|
|
3385
|
+
css$K[`size-${size}`],
|
|
3386
|
+
mods.striped && css$K.striped,
|
|
3276
3387
|
];
|
|
3277
3388
|
}
|
|
3278
3389
|
const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.ProgressBar, applyProgressBarMods, (props) => ({
|
|
3279
3390
|
hideLabel: props.hideLabel || props.striped,
|
|
3280
3391
|
}));
|
|
3281
3392
|
|
|
3282
|
-
var css$
|
|
3393
|
+
var css$J = {"root":"OnHsTk"};
|
|
3283
3394
|
|
|
3284
|
-
const IndicatorBar = (props) => {
|
|
3395
|
+
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3285
3396
|
const { progress } = props;
|
|
3286
|
-
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref:
|
|
3287
|
-
};
|
|
3397
|
+
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$J.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$J.root, props.cx) }));
|
|
3398
|
+
});
|
|
3288
3399
|
|
|
3289
|
-
var css$
|
|
3400
|
+
var css$I = {"root":"vD2hUv"};
|
|
3290
3401
|
|
|
3291
|
-
|
|
3292
|
-
return (React__namespace.default.createElement("div", { ref:
|
|
3293
|
-
css$
|
|
3402
|
+
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3403
|
+
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
3404
|
+
css$I.root,
|
|
3294
3405
|
`uui-size-${props.size || settings.statusIndicator.sizes.default}`,
|
|
3295
3406
|
'uui-status_indicator',
|
|
3296
3407
|
`uui-color-${props.color || 'neutral'}`,
|
|
@@ -3299,9 +3410,9 @@ function StatusIndicator(props) {
|
|
|
3299
3410
|
]) },
|
|
3300
3411
|
React__namespace.default.createElement("div", { className: "uui-status_indicator-dot" }),
|
|
3301
3412
|
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
3302
|
-
}
|
|
3413
|
+
});
|
|
3303
3414
|
|
|
3304
|
-
var css$
|
|
3415
|
+
var css$H = {"drag-handle":"PfxNaP","dragHandle":"PfxNaP","icon-container":"iaRpBx","iconContainer":"iaRpBx"};
|
|
3305
3416
|
|
|
3306
3417
|
function DataRowAddons(props) {
|
|
3307
3418
|
const row = props.rowProps;
|
|
@@ -3312,13 +3423,13 @@ function DataRowAddons(props) {
|
|
|
3312
3423
|
return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
|
|
3313
3424
|
};
|
|
3314
3425
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
3315
|
-
row.dnd?.srcData && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$
|
|
3426
|
+
row.dnd?.srcData && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$H.dragHandle, rawProps: { ...props.eventHandlers } }),
|
|
3316
3427
|
row?.checkbox?.isVisible && (React__namespace.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 })),
|
|
3317
3428
|
row.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className: cx__default.default('uui-dr_addons-indent', `uui-size-${props.size || settings.dataTable.sizes.body.row}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__namespace.default.createElement(uuiComponents.IconContainer, { rawProps: {
|
|
3318
3429
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
3319
3430
|
role: 'button',
|
|
3320
3431
|
}, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
|
|
3321
|
-
uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$
|
|
3432
|
+
uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$H.iconContainer,
|
|
3322
3433
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
|
|
3323
3434
|
}
|
|
3324
3435
|
|
|
@@ -3387,7 +3498,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3387
3498
|
return getDecoratedText(str, ranges);
|
|
3388
3499
|
};
|
|
3389
3500
|
|
|
3390
|
-
var css$
|
|
3501
|
+
var css$G = {"root":"Hm6nb8","column-gap":"AMFarF","columnGap":"AMFarF","title":"VczrFK","subtitle":"_3TAmU7","disabled":"_0fzdOH","multiline":"-Lm1NM"};
|
|
3391
3502
|
|
|
3392
3503
|
function PickerItem(props) {
|
|
3393
3504
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
@@ -3396,13 +3507,13 @@ function PickerItem(props) {
|
|
|
3396
3507
|
const { search } = props.dataSourceState ?? {};
|
|
3397
3508
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
3398
3509
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(props.subtitle, search) : props.subtitle;
|
|
3399
|
-
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$
|
|
3400
|
-
React__namespace.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$
|
|
3510
|
+
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$G.root, 'uui-picker_input-item', 'uui-typography', props.cx] },
|
|
3511
|
+
React__namespace.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` } } },
|
|
3401
3512
|
avatarUrl && (React__namespace.createElement(uuiComponents.Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline) })),
|
|
3402
3513
|
icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: icon }),
|
|
3403
3514
|
React__namespace.createElement(FlexCell, { width: "auto" },
|
|
3404
|
-
title && (React__namespace.createElement("div", { className: cx__default.default(css$
|
|
3405
|
-
subtitle && (React__namespace.createElement("div", { className: cx__default.default(css$
|
|
3515
|
+
title && (React__namespace.createElement("div", { className: cx__default.default(css$G.title, isDisabled && css$G.disabled, `uui-size-${itemSize}`) }, title)),
|
|
3516
|
+
subtitle && (React__namespace.createElement("div", { className: cx__default.default(css$G.subtitle, isDisabled && css$G.disabled, `uui-size-${itemSize}`) }, subtitle))))));
|
|
3406
3517
|
}
|
|
3407
3518
|
function getAvatarSize(size, isMultiline) {
|
|
3408
3519
|
return settings.pickerInput.sizes.body[isMultiline ? 'itemAvatarMultilineMap' : 'itemAvatarMap'][size];
|
|
@@ -3438,7 +3549,7 @@ function DataPickerRow(props) {
|
|
|
3438
3549
|
const renderContent = () => {
|
|
3439
3550
|
let content;
|
|
3440
3551
|
if (props.isLoading) {
|
|
3441
|
-
content =
|
|
3552
|
+
content = settings.pickerInput.renderPlaceholder({ rowSize: props.size });
|
|
3442
3553
|
}
|
|
3443
3554
|
else if (props.isUnknown) {
|
|
3444
3555
|
content = (React__namespace.createElement(Text, { size: props.size }, "Unknown"));
|
|
@@ -3450,19 +3561,19 @@ function DataPickerRow(props) {
|
|
|
3450
3561
|
content = (React__namespace.createElement(React__namespace.Fragment, null,
|
|
3451
3562
|
renderRowItem(props.value, props),
|
|
3452
3563
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
3453
|
-
(props.isChildrenSelected || props.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$
|
|
3454
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: settings.pickerInput.sizes.body.selectIconMap[props.size], icon: SelectIcon, cx: props.isChildrenSelected ? css$
|
|
3564
|
+
(props.isChildrenSelected || props.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$Q.iconWrapper, 'uui-picker_input-row-select_icon', uuiCore.uuiMod.selected) },
|
|
3565
|
+
React__namespace.createElement(uuiComponents.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
|
|
3455
3566
|
? 'Child is selected'
|
|
3456
3567
|
: 'Selected' } })))));
|
|
3457
3568
|
}
|
|
3458
|
-
return (React__namespace.createElement(FlexCell, { grow: 1, width: 0, minWidth: 0, cx: css$
|
|
3569
|
+
return (React__namespace.createElement(FlexCell, { grow: 1, width: 0, minWidth: 0, cx: css$Q.rowContent },
|
|
3459
3570
|
React__namespace.createElement(DataRowAddons, { size: props.size, rowProps: props, tabIndex: -1 }),
|
|
3460
|
-
React__namespace.createElement("div", { className: css$
|
|
3571
|
+
React__namespace.createElement("div", { className: css$Q.contentWrapper }, content)));
|
|
3461
3572
|
};
|
|
3462
3573
|
const clickHandler = props.onClick || props.onSelect || props.onFold || props.onCheck;
|
|
3463
3574
|
return (
|
|
3464
3575
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
3465
|
-
React__namespace.createElement("div", { onClick: clickHandler && ((e) => !uuiCore.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: uuiCore.cx(css$
|
|
3576
|
+
React__namespace.createElement("div", { onClick: clickHandler && ((e) => !uuiCore.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: uuiCore.cx(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 && uuiCore.uuiMod.focus, clickHandler && uuiCore.uuiMarkers.clickable, props.cx), style: props.padding && {
|
|
3466
3577
|
'--uui-data_picker-horizontal-padding': `${props.padding}px`,
|
|
3467
3578
|
}, ...props.rawProps }, renderContent()));
|
|
3468
3579
|
}
|
|
@@ -3490,7 +3601,7 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
|
|
|
3490
3601
|
});
|
|
3491
3602
|
}
|
|
3492
3603
|
if (props.minCharsToSearch && search.length < props.minCharsToSearch) {
|
|
3493
|
-
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$
|
|
3604
|
+
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$R.noData, grow: 1, textAlign: "center" },
|
|
3494
3605
|
React__namespace.default.createElement(Text, { size: props.searchSize }, i18n.dataPickerBody.typeSearchToLoadMessage)));
|
|
3495
3606
|
}
|
|
3496
3607
|
if (props.rows.length === 0) {
|
|
@@ -3503,7 +3614,7 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
|
|
|
3503
3614
|
search: search,
|
|
3504
3615
|
});
|
|
3505
3616
|
}
|
|
3506
|
-
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$
|
|
3617
|
+
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$R.noData, grow: 1, textAlign: "center" },
|
|
3507
3618
|
React__namespace.default.createElement(Text, { size: props.searchSize }, i18n.dataPickerBody.noRecordsMessage)));
|
|
3508
3619
|
}
|
|
3509
3620
|
};
|
|
@@ -3517,10 +3628,12 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
|
|
|
3517
3628
|
const pickerRowProps = { ...row, getName: props.getName };
|
|
3518
3629
|
return props.renderRow ? (props.renderRow(pickerRowProps, dsState)) : (React__namespace.default.createElement(DataPickerRow, { ...pickerRowProps, key: row.rowKey, size: getRowSize(), flattenSearchResults: props.flattenSearchResults, highlightSearchMatches: highlightSearchMatches, dataSourceState: dsState, getName: props.getName }));
|
|
3519
3630
|
};
|
|
3520
|
-
const searchSize = uuiCore.isMobile()
|
|
3631
|
+
const searchSize = uuiCore.isMobile()
|
|
3632
|
+
? settings.pickerInput.sizes.body.mobileSearchInput
|
|
3633
|
+
: settings.pickerInput.sizes.body.getSearchSize({ pickerSize: props.searchSize });
|
|
3521
3634
|
const renderedDataRows = React.useMemo(() => props.rows.map((row) => renderRow(row, props.value)), [props.rows, props.value]);
|
|
3522
3635
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
3523
|
-
showSearch && (React__namespace.default.createElement("div", { key: "search", className: uuiCore.cx(css$
|
|
3636
|
+
showSearch && (React__namespace.default.createElement("div", { key: "search", className: uuiCore.cx(css$R.searchWrapper, 'uui-picker_input-body-search') },
|
|
3524
3637
|
React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
|
|
3525
3638
|
React__namespace.default.createElement(FocusLock.MoveFocusInside, null,
|
|
3526
3639
|
React__namespace.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' } }))))),
|
|
@@ -3534,8 +3647,6 @@ function DataPickerBody({ highlightSearchMatches = true, ...props }) {
|
|
|
3534
3647
|
}, rowsCount: props.rowsCount, isLoading: props.isReloading })))));
|
|
3535
3648
|
}
|
|
3536
3649
|
|
|
3537
|
-
var css$G = {"footer":"IlTacl"};
|
|
3538
|
-
|
|
3539
3650
|
function DataPickerFooterImpl(props) {
|
|
3540
3651
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
3541
3652
|
const size = uuiCore.isMobile() ? settings.pickerInput.sizes.body.mobileFooterLinkButton : props.size;
|
|
@@ -3548,7 +3659,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3548
3659
|
const isSearching = search?.length;
|
|
3549
3660
|
const hideFooter = (rowsCount === 0 && !hasSelection) || isSearching || (isSinglePicker && props.disableClear);
|
|
3550
3661
|
const showClear = !props.disableClear && (isSinglePicker ? true : (!view.selectAll || hasSelection));
|
|
3551
|
-
return !hideFooter && (React__namespace.default.createElement(FlexRow, { cx:
|
|
3662
|
+
return !hideFooter && (React__namespace.default.createElement(FlexRow, { cx: cx__default.default('uui-picker_input-footer', props.cx) },
|
|
3552
3663
|
!isSinglePicker && !isSearchTooShort && ( // Show this switch only for multi mode and when some rows rendered
|
|
3553
3664
|
React__namespace.default.createElement(Switch, { size: settings.pickerInput.sizes.body.footerSwitchMap[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
3554
3665
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
@@ -3560,7 +3671,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3560
3671
|
}
|
|
3561
3672
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
3562
3673
|
|
|
3563
|
-
var css$F = {"header":"
|
|
3674
|
+
var css$F = {"header":"f7-dx0","title":"yrX23S","close":"RUm097"};
|
|
3564
3675
|
|
|
3565
3676
|
const DataPickerMobileHeaderImpl = (props) => {
|
|
3566
3677
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -3570,7 +3681,7 @@ const DataPickerMobileHeaderImpl = (props) => {
|
|
|
3570
3681
|
};
|
|
3571
3682
|
const DataPickerMobileHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerMobileHeaderImpl);
|
|
3572
3683
|
|
|
3573
|
-
var css$E = {"done":"
|
|
3684
|
+
var css$E = {"done":"_9FEu8H","container":"_50sIrr"};
|
|
3574
3685
|
|
|
3575
3686
|
const PickerBodyMobileView = (props) => {
|
|
3576
3687
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -3582,7 +3693,7 @@ const PickerBodyMobileView = (props) => {
|
|
|
3582
3693
|
isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
|
|
3583
3694
|
};
|
|
3584
3695
|
|
|
3585
|
-
var css$D = {"sub-header-wrapper":"
|
|
3696
|
+
var css$D = {"sub-header-wrapper":"LDCtsP","subHeaderWrapper":"LDCtsP","switch":"QBWeKc","no-found-modal-container":"_14uFKy","noFoundModalContainer":"_14uFKy","no-found-modal-container-icon":"U4lMME","noFoundModalContainerIcon":"U4lMME","no-found-modal-container-text":"HdHqvp","noFoundModalContainerText":"HdHqvp","body":"fLG-ly"};
|
|
3586
3697
|
|
|
3587
3698
|
function PickerModal(props) {
|
|
3588
3699
|
const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
@@ -3624,9 +3735,9 @@ function PickerModal(props) {
|
|
|
3624
3735
|
React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3625
3736
|
}
|
|
3626
3737
|
|
|
3627
|
-
var css$C = {"tooltip":"
|
|
3738
|
+
var css$C = {"tooltip":"_8UzCOz"};
|
|
3628
3739
|
|
|
3629
|
-
|
|
3740
|
+
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3630
3741
|
const tagProps = {
|
|
3631
3742
|
...props,
|
|
3632
3743
|
tabIndex: -1,
|
|
@@ -3636,14 +3747,14 @@ function PickerTogglerTag(props) {
|
|
|
3636
3747
|
if (props.isCollapsed) {
|
|
3637
3748
|
const collapsedRows = props.collapsedRows.map((row) => props.getName(row.value)).join(', ');
|
|
3638
3749
|
return (React__namespace.createElement(Tooltip, { key: "selected", content: collapsedRows, closeDelay: 150, closeOnMouseLeave: "boundary", cx: css$C.tooltip },
|
|
3639
|
-
React__namespace.createElement(Tag, { ref:
|
|
3750
|
+
React__namespace.createElement(Tag, { ref: ref, rawProps: { role: 'option' }, ...tagProps })));
|
|
3640
3751
|
}
|
|
3641
3752
|
else {
|
|
3642
|
-
return React__namespace.createElement(Tag, { ref:
|
|
3753
|
+
return React__namespace.createElement(Tag, { ref: ref, rawProps: { role: 'option' }, ...tagProps });
|
|
3643
3754
|
}
|
|
3644
|
-
}
|
|
3755
|
+
});
|
|
3645
3756
|
|
|
3646
|
-
var css$B = {"root":"
|
|
3757
|
+
var css$B = {"root":"vCucHI"};
|
|
3647
3758
|
|
|
3648
3759
|
const defaultMode = EditMode.FORM;
|
|
3649
3760
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3651,10 +3762,10 @@ function applyPickerTogglerMods(mods) {
|
|
|
3651
3762
|
css$B.root,
|
|
3652
3763
|
'uui-picker_toggler',
|
|
3653
3764
|
`uui-size-${mods.size || settings.pickerInput.sizes.toggler.default}`,
|
|
3654
|
-
|
|
3765
|
+
'uui-control-mode-' + (mods.mode || defaultMode),
|
|
3655
3766
|
];
|
|
3656
3767
|
}
|
|
3657
|
-
function
|
|
3768
|
+
function PickerTogglerComponent(props, ref) {
|
|
3658
3769
|
const renderItem = (itemProps) => {
|
|
3659
3770
|
const itemPropsWithSize = { ...itemProps, size: props.size || settings.pickerInput.sizes.toggler.tag };
|
|
3660
3771
|
if (!!props.renderItem) {
|
|
@@ -3662,17 +3773,13 @@ function PickerToggler(props) {
|
|
|
3662
3773
|
}
|
|
3663
3774
|
return (React__namespace.createElement(PickerTogglerTag, { ...itemPropsWithSize, key: itemProps.isCollapsed ? 'collapsed_tag' : itemProps.rowProps?.id, getName: props.getName }));
|
|
3664
3775
|
};
|
|
3665
|
-
return (React__namespace.createElement(uuiComponents.PickerToggler, { ...props, ref:
|
|
3776
|
+
return (React__namespace.createElement(uuiComponents.PickerToggler, { ...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 }));
|
|
3666
3777
|
}
|
|
3778
|
+
const PickerToggler = /* @__PURE__ */React__namespace.forwardRef(PickerTogglerComponent);
|
|
3667
3779
|
|
|
3668
|
-
function
|
|
3780
|
+
function PickerInputComponent(props, ref) {
|
|
3669
3781
|
const context = React.useContext(uuiCore.UuiContext);
|
|
3670
|
-
const
|
|
3671
|
-
{
|
|
3672
|
-
name: 'offset',
|
|
3673
|
-
options: { offset: [0, 6] },
|
|
3674
|
-
}, uuiCore.mobilePopperModifier,
|
|
3675
|
-
], []);
|
|
3782
|
+
const middleware = React.useMemo(() => [react.offset(6), uuiCore.mobilePositioning], []);
|
|
3676
3783
|
const toggleModalOpening = () => {
|
|
3677
3784
|
const { renderFooter, rawProps, ...restProps } = props;
|
|
3678
3785
|
context.uuiModals
|
|
@@ -3683,13 +3790,13 @@ function PickerInput(props) {
|
|
|
3683
3790
|
.catch(() => { });
|
|
3684
3791
|
};
|
|
3685
3792
|
const { view, getName, getPlaceholder, handleSelectionValueChange, getTogglerProps, getRows, handleTogglerSearchChange, toggleBodyOpening, dataSourceState, handleDataSourceValueChange, getFooterProps, getListProps, shouldShowBody, getSearchPosition, closePickerBody, openPickerBody, handlePickerInputKeyboard, } = uuiComponents.usePickerInput({ ...props, toggleModalOpening });
|
|
3686
|
-
const
|
|
3687
|
-
React.useImperativeHandle(
|
|
3688
|
-
if (
|
|
3689
|
-
|
|
3690
|
-
|
|
3793
|
+
const togglerRef = React.useRef(null);
|
|
3794
|
+
React.useImperativeHandle(ref, () => {
|
|
3795
|
+
if (togglerRef.current) {
|
|
3796
|
+
togglerRef.current.closePickerBody = closePickerBody;
|
|
3797
|
+
togglerRef.current.openPickerBody = openPickerBody;
|
|
3691
3798
|
}
|
|
3692
|
-
return
|
|
3799
|
+
return togglerRef.current;
|
|
3693
3800
|
}, [closePickerBody, openPickerBody]);
|
|
3694
3801
|
const getTogglerMods = () => {
|
|
3695
3802
|
return {
|
|
@@ -3725,10 +3832,11 @@ function PickerInput(props) {
|
|
|
3725
3832
|
return (React__namespace.default.createElement(Dropdown, { renderTarget: (dropdownProps) => {
|
|
3726
3833
|
const targetProps = getTogglerProps();
|
|
3727
3834
|
return renderTarget({ ...dropdownProps, ...targetProps, renderItem });
|
|
3728
|
-
}, renderBody: (bodyProps) => renderBody(bodyProps), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement,
|
|
3835
|
+
}, renderBody: (bodyProps) => renderBody(bodyProps), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement, middleware: middleware, closeBodyOnTogglerHidden: !uuiCore.isMobile(), portalTarget: props.portalTarget, ref: togglerRef }));
|
|
3729
3836
|
}
|
|
3837
|
+
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
3730
3838
|
|
|
3731
|
-
var css$A = {"row":"
|
|
3839
|
+
var css$A = {"row":"M-bQcH"};
|
|
3732
3840
|
|
|
3733
3841
|
function PickerListRow(props) {
|
|
3734
3842
|
let label;
|
|
@@ -3748,7 +3856,7 @@ function PickerListRow(props) {
|
|
|
3748
3856
|
return (React__namespace.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));
|
|
3749
3857
|
}
|
|
3750
3858
|
|
|
3751
|
-
var css$z = {"root":"
|
|
3859
|
+
var css$z = {"root":"WaE1B8"};
|
|
3752
3860
|
|
|
3753
3861
|
function PickerList(props) {
|
|
3754
3862
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -3783,7 +3891,7 @@ function PickerList(props) {
|
|
|
3783
3891
|
}, selectedRows)));
|
|
3784
3892
|
}
|
|
3785
3893
|
|
|
3786
|
-
var css$y = {"root":"
|
|
3894
|
+
var css$y = {"root":"zMzt-0","wrapper":"U25qgs","align-widgets-top":"uxTf-f","alignWidgetsTop":"uxTf-f","align-widgets-center":"ycZxKt","alignWidgetsCenter":"ycZxKt"};
|
|
3787
3895
|
|
|
3788
3896
|
function DataTableCell(initialProps) {
|
|
3789
3897
|
const props = { ...initialProps };
|
|
@@ -3791,7 +3899,7 @@ function DataTableCell(initialProps) {
|
|
|
3791
3899
|
props.addons = React__namespace.createElement(DataRowAddons, { size: props.size, ...props });
|
|
3792
3900
|
}
|
|
3793
3901
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3794
|
-
|| (() =>
|
|
3902
|
+
|| (() => settings.dataTable.renderPlaceholder({ rowSize: props.size }));
|
|
3795
3903
|
props.renderUnknown = props.renderUnknown
|
|
3796
3904
|
|| (() => (React__namespace.createElement(Text, { key: "t", size: props.size }, "Unknown")));
|
|
3797
3905
|
props.renderTooltip = (tooltipProps) => React__namespace.createElement(Tooltip, { color: "critical", ...tooltipProps });
|
|
@@ -3823,6 +3931,8 @@ function DataTableCell(initialProps) {
|
|
|
3823
3931
|
props.isLastColumn && 'uui-dt-last-column',
|
|
3824
3932
|
css$y[`align-widgets-${props.alignActions || 'top'}`],
|
|
3825
3933
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
3934
|
+
props.isDisabled && uuiCore.uuiMod.disabled,
|
|
3935
|
+
props.isReadonly && uuiCore.uuiMod.readonly,
|
|
3826
3936
|
];
|
|
3827
3937
|
props.style = {
|
|
3828
3938
|
'--uui-dt-cell-padding-start': getLeftPadding(),
|
|
@@ -3831,7 +3941,7 @@ function DataTableCell(initialProps) {
|
|
|
3831
3941
|
return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
|
|
3832
3942
|
}
|
|
3833
3943
|
|
|
3834
|
-
var css$x = {"root":"
|
|
3944
|
+
var css$x = {"root":"pejHwc"};
|
|
3835
3945
|
|
|
3836
3946
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3837
3947
|
// 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.
|
|
@@ -3847,7 +3957,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
3847
3957
|
];
|
|
3848
3958
|
}, () => propsMods);
|
|
3849
3959
|
|
|
3850
|
-
var css$w = {"sorting-panel-container":"
|
|
3960
|
+
var css$w = {"sorting-panel-container":"rfUNKD","sortingPanelContainer":"rfUNKD"};
|
|
3851
3961
|
|
|
3852
3962
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3853
3963
|
const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
@@ -3859,20 +3969,15 @@ const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
|
3859
3969
|
const SortingPanel = /* @__PURE__ */React__namespace.default.memo(SortingPanelImpl);
|
|
3860
3970
|
|
|
3861
3971
|
const ColumnHeaderDropdownImpl = (props) => {
|
|
3862
|
-
const
|
|
3863
|
-
{
|
|
3864
|
-
name: 'offset',
|
|
3865
|
-
options: { offset: [0, 1] },
|
|
3866
|
-
}, uuiCore.mobilePopperModifier,
|
|
3867
|
-
], []);
|
|
3972
|
+
const middleware = React.useMemo(() => [react.offset(1), uuiCore.mobilePositioning], []);
|
|
3868
3973
|
const closeDropdown = React.useCallback(() => props.onOpenChange(false), [props.onOpenChange]);
|
|
3869
3974
|
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: props.renderTarget, renderBody: (dropdownProps) => (React__namespace.default.createElement(PickerBodyMobileView, { width: 280, maxWidth: "auto", title: props.title, onClose: closeDropdown },
|
|
3870
3975
|
props.isSortable && React__namespace.default.createElement(SortingPanel, { sortDirection: props.sortDirection, onSort: props.onSort }),
|
|
3871
|
-
props.renderFilter(dropdownProps))),
|
|
3976
|
+
props.renderFilter(dropdownProps))), middleware: middleware, value: props.isOpen, onValueChange: props.onOpenChange }));
|
|
3872
3977
|
};
|
|
3873
3978
|
const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
3874
3979
|
|
|
3875
|
-
var css$v = {"root":"
|
|
3980
|
+
var css$v = {"root":"SE6cDe","caption-wrapper":"JRp0yv","captionWrapper":"JRp0yv","sort-icon":"T10qBu","sortIcon":"T10qBu","dropdown-icon":"ncfjoy","dropdownIcon":"ncfjoy","infoIcon":"ERMqpZ","resizable":"_17Iedm","align-right":"NAFMFq","alignRight":"NAFMFq","align-center":"TSZBq8","alignCenter":"TSZBq8","caption":"ParSzD","truncate":"_6QJV1w","upper-case":"WS1muv","upperCase":"WS1muv","checkbox":"ywh4mN","icon":"Ef6xCz","fold-all-icon":"FUMrwm","foldAllIcon":"FUMrwm","cell-tooltip":"WygTQS","cellTooltip":"WygTQS","resizing-marker":"xyis9k","resizingMarker":"xyis9k","pinned-right":"lTLc9m","pinnedRight":"lTLc9m","draggable":"nKiHfH","ghost":"TWWail","is-dragged-out":"XA3zlw","isDraggedOut":"XA3zlw","dnd-marker-left":"sueTk3","dndMarkerLeft":"sueTk3","dnd-marker-right":"MxDW-E","dndMarkerRight":"MxDW-E","cell-tooltip-wrapper":"nvrbCu","cellTooltipWrapper":"nvrbCu","cell-tooltip-text":"TU9NSt","cellTooltipText":"TU9NSt","tooltip-caption":"-MGBu2","tooltipCaption":"-MGBu2","tooltip-info":"YMWYES","tooltipInfo":"YMWYES"};
|
|
3876
3981
|
|
|
3877
3982
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
3878
3983
|
constructor() {
|
|
@@ -3893,7 +3998,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3893
3998
|
this.props.size >= '48' && css$v.truncate,
|
|
3894
3999
|
]);
|
|
3895
4000
|
return (React__namespace.createElement("div", { className: uuiCore.cx(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3896
|
-
React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: css$v.cellTooltip, openDelay: 600 },
|
|
4001
|
+
React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: [css$v.cellTooltip, 'uui-dt-header-tooltip'], openDelay: 600 },
|
|
3897
4002
|
React__namespace.createElement("div", { key: "text", className: captionCx }, this.props.column.caption)),
|
|
3898
4003
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: settings.dataTable.icons.header[this.props.sortDirection === 'desc' ? 'descSortIcon' : this.props.sortDirection === 'asc' ? 'ascSortIcon' : 'defaultSortIcon'] })),
|
|
3899
4004
|
this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: settings.dataTable.icons.header.filterIcon })),
|
|
@@ -3966,7 +4071,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3966
4071
|
}
|
|
3967
4072
|
}
|
|
3968
4073
|
|
|
3969
|
-
var css$u = {"root":"
|
|
4074
|
+
var css$u = {"root":"_4OHIEr","caption-wrapper":"p7FEdW","captionWrapper":"p7FEdW","align-center":"P2i7HJ","alignCenter":"P2i7HJ","caption":"bbJBrt","truncate":"KnAWxt","upper-case":"yl-sBs","upperCase":"yl-sBs","group-cell-tooltip":"KR5tKk","groupCellTooltip":"KR5tKk","group-cell-tooltip-wrapper":"sPV0jU","groupCellTooltipWrapper":"sPV0jU","group-cell-tooltip-text":"LTRjMZ","groupCellTooltipText":"LTRjMZ","tooltip-caption":"UX6YmQ","tooltipCaption":"UX6YmQ","tooltip-info":"f4hIiQ","tooltipInfo":"f4hIiQ"};
|
|
3970
4075
|
|
|
3971
4076
|
class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
3972
4077
|
constructor() {
|
|
@@ -4006,7 +4111,7 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
|
4006
4111
|
}
|
|
4007
4112
|
}
|
|
4008
4113
|
|
|
4009
|
-
var css$t = {"root":"
|
|
4114
|
+
var css$t = {"root":"_8NLfUR"};
|
|
4010
4115
|
|
|
4011
4116
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
4012
4117
|
renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
@@ -4018,10 +4123,14 @@ const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
|
4018
4123
|
const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
4019
4124
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
4020
4125
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
4126
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_TITLE = 'uui-filters-panel-item-toggler-title';
|
|
4127
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler-selection';
|
|
4128
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
|
|
4129
|
+
const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
|
|
4021
4130
|
|
|
4022
|
-
var css$s = {"root":"
|
|
4131
|
+
var css$s = {"root":"VD8Kme","title-wrapper":"zGDT-0","titleWrapper":"zGDT-0","title":"gXsDSb","text-wrapper":"_21-5gF","textWrapper":"_21-5gF","selection":"JlCpMV","postfix":"HefdF6","selected":"_2n0VU5"};
|
|
4023
4132
|
|
|
4024
|
-
|
|
4133
|
+
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4025
4134
|
const togglerPickerOpened = (e) => {
|
|
4026
4135
|
if (props.isDisabled)
|
|
4027
4136
|
return;
|
|
@@ -4042,16 +4151,16 @@ function FilterPanelItemToggler(props) {
|
|
|
4042
4151
|
};
|
|
4043
4152
|
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}${props.selection ? ':' : ''}`;
|
|
4044
4153
|
const getSelectionText = () => props.selection.map((i, index) => (React__namespace.createElement(React__namespace.Fragment, { key: `${i}${index}` },
|
|
4045
|
-
React__namespace.createElement(
|
|
4154
|
+
React__namespace.createElement("div", { className: cx__default.default(css$s.selection, UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION) }, i),
|
|
4046
4155
|
(props.postfix || index !== props.selection.length - 1) && React__namespace.createElement("span", null, ",\u00A0"))));
|
|
4047
|
-
return (React__namespace.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: cx__default.default(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiCore.uuiElement.inputBox, uuiCore.uuiMarkers.clickable, props.isOpen && uuiCore.uuiMod.opened, `uui-size-${props.size || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref:
|
|
4156
|
+
return (React__namespace.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: cx__default.default(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiCore.uuiElement.inputBox, uuiCore.uuiMarkers.clickable, props.isOpen && uuiCore.uuiMod.opened, props.selection?.length > 0 && uuiCore.uuiMarkers.hasValue, `uui-size-${props.size || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
4048
4157
|
React__namespace.createElement("div", { className: css$s.titleWrapper },
|
|
4049
|
-
React__namespace.createElement(
|
|
4158
|
+
React__namespace.createElement("div", { className: cx__default.default(css$s.title, UUI_FILTERS_PANEL_ITEM_TOGGLER_TITLE) }, getTitle),
|
|
4050
4159
|
props.selection && (React__namespace.createElement("div", { className: css$s.textWrapper },
|
|
4051
4160
|
getSelectionText(),
|
|
4052
|
-
props.postfix && (React__namespace.createElement(
|
|
4161
|
+
props.postfix && (React__namespace.createElement("div", { className: cx__default.default(css$s.postfix, UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX) }, props.postfix))))),
|
|
4053
4162
|
!props.isDisabled && React__namespace.createElement(uuiComponents.IconContainer, { icon: settings.filtersPanel.icons.itemDropdownIcon, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
4054
|
-
}
|
|
4163
|
+
});
|
|
4055
4164
|
|
|
4056
4165
|
const pickerHeight = 300;
|
|
4057
4166
|
function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
@@ -4087,7 +4196,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4087
4196
|
};
|
|
4088
4197
|
return props.renderFooter
|
|
4089
4198
|
? props.renderFooter(footerProps)
|
|
4090
|
-
: React__namespace.createElement(DataPickerFooter, { ...footerProps, size: settings.pickerInput.sizes.body.row });
|
|
4199
|
+
: React__namespace.createElement(DataPickerFooter, { ...footerProps, cx: UUI_FILTERS_PANEL_BODY_FOOTER, size: settings.pickerInput.sizes.body.row });
|
|
4091
4200
|
};
|
|
4092
4201
|
const renderBody = () => {
|
|
4093
4202
|
const rows = view.getVisibleRows();
|
|
@@ -4178,7 +4287,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4178
4287
|
}, onValueChange: onBodyValueChange, filter: props.filter, presets: props.presets })),
|
|
4179
4288
|
React__namespace.default.createElement(FlexCell, { alignSelf: "stretch" },
|
|
4180
4289
|
React__namespace.default.createElement(FlexRow, { padding: "24", vPadding: "12" },
|
|
4181
|
-
React__namespace.default.createElement(RangeDatePickerInput, { size:
|
|
4290
|
+
React__namespace.default.createElement(RangeDatePickerInput, { size: settings.filtersPanel.sizes.rangeDatePickerInput, disableClear: props.disableClear, inFocus: inFocus, format: format, value: value, onValueChange: onValueChange, onFocusInput: (event, inputType) => {
|
|
4182
4291
|
if (props.onFocus) {
|
|
4183
4292
|
props.onFocus(event, inputType);
|
|
4184
4293
|
}
|
|
@@ -4188,7 +4297,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4188
4297
|
React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
4189
4298
|
}
|
|
4190
4299
|
|
|
4191
|
-
var css$r = {"container":"
|
|
4300
|
+
var css$r = {"container":"mJGwgK"};
|
|
4192
4301
|
|
|
4193
4302
|
function FilterNumericBody(props) {
|
|
4194
4303
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -4217,7 +4326,6 @@ function FilterNumericBody(props) {
|
|
|
4217
4326
|
}
|
|
4218
4327
|
};
|
|
4219
4328
|
const renderFooter = () => {
|
|
4220
|
-
const size = uuiCore.isMobile() ? '48' : '36';
|
|
4221
4329
|
const clearSelection = () => {
|
|
4222
4330
|
if (isInRangePredicate) {
|
|
4223
4331
|
props.onValueChange({
|
|
@@ -4233,22 +4341,22 @@ function FilterNumericBody(props) {
|
|
|
4233
4341
|
return (React__namespace.default.createElement(FlexRow, { padding: "12" },
|
|
4234
4342
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
4235
4343
|
React__namespace.default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
4236
|
-
React__namespace.default.createElement(LinkButton, { isDisabled: isClearDisabled, size:
|
|
4344
|
+
React__namespace.default.createElement(LinkButton, { isDisabled: isClearDisabled, size: settings.filtersPanel.sizes[uuiCore.isMobile() ? 'mobileFooterLinkButton' : 'footerLinkButton'], caption: i18n.pickerInput.clearSelectionButtonSingle, onClick: clearSelection }))));
|
|
4237
4345
|
};
|
|
4238
4346
|
if (isInRangePredicate) {
|
|
4239
4347
|
const value = props.value;
|
|
4240
4348
|
return (React__namespace.default.createElement("div", null,
|
|
4241
|
-
React__namespace.default.createElement(FlexRow, { padding: "12", alignItems: "center",
|
|
4349
|
+
React__namespace.default.createElement(FlexRow, { padding: "12", alignItems: "center", columnGap: "12", borderBottom: true, cx: css$r.container },
|
|
4242
4350
|
React__namespace.default.createElement(FlexCell, { width: "100%" },
|
|
4243
|
-
React__namespace.default.createElement(NumericInput, { value: value?.from ?? null, onValueChange: rangeValueHandler('from'), placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
4351
|
+
React__namespace.default.createElement(NumericInput, { size: settings.filtersPanel.sizes.default, value: value?.from ?? null, onValueChange: rangeValueHandler('from'), placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
4244
4352
|
React__namespace.default.createElement(FlexCell, { width: "100%" },
|
|
4245
|
-
React__namespace.default.createElement(NumericInput, { value: value?.to ?? null, onValueChange: rangeValueHandler('to'), placeholder: "Max", formatOptions: { maximumFractionDigits: 2 }, isInvalid: isWrongRange(value?.from, value?.to) }))),
|
|
4353
|
+
React__namespace.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) }))),
|
|
4246
4354
|
renderFooter()));
|
|
4247
4355
|
}
|
|
4248
4356
|
return (React__namespace.default.createElement("div", null,
|
|
4249
4357
|
React__namespace.default.createElement(FlexRow, { padding: "12", alignItems: "center", borderBottom: true, cx: css$r.container },
|
|
4250
4358
|
React__namespace.default.createElement(FlexCell, { width: 130 },
|
|
4251
|
-
React__namespace.default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
4359
|
+
React__namespace.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 } }))),
|
|
4252
4360
|
renderFooter()));
|
|
4253
4361
|
}
|
|
4254
4362
|
|
|
@@ -4269,22 +4377,7 @@ function FilterItemBody(props) {
|
|
|
4269
4377
|
}
|
|
4270
4378
|
}
|
|
4271
4379
|
|
|
4272
|
-
var
|
|
4273
|
-
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); }
|
|
4274
|
-
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
4275
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
4276
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4277
|
-
width: 24,
|
|
4278
|
-
height: 24,
|
|
4279
|
-
viewBox: "0 0 24 24",
|
|
4280
|
-
ref: ref
|
|
4281
|
-
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4282
|
-
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
4283
|
-
})));
|
|
4284
|
-
};
|
|
4285
|
-
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
4286
|
-
|
|
4287
|
-
var css$q = {"header":"jtnc4A","removeButton":"ybDfYZ","with-search":"QvmbLe","withSearch":"QvmbLe"};
|
|
4380
|
+
var css$q = {"body":"DyMDKq","header":"W5bcyn","title":"ZWfTNb","removeButton":"_5wGPK5","with-search":"DwSdtq","withSearch":"DwSdtq"};
|
|
4288
4381
|
|
|
4289
4382
|
function useView(props, value) {
|
|
4290
4383
|
const forceUpdate = uuiCore.useForceUpdate();
|
|
@@ -4305,25 +4398,16 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4305
4398
|
const { maxCount = 2 } = props;
|
|
4306
4399
|
const isPickersType = props?.type === 'multiPicker' || props?.type === 'singlePicker';
|
|
4307
4400
|
const isMobileScreen = uuiCore.isMobile();
|
|
4308
|
-
const
|
|
4309
|
-
const
|
|
4310
|
-
{
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
},
|
|
4401
|
+
const floatingMiddleware = React.useMemo(() => {
|
|
4402
|
+
const middleware = [
|
|
4403
|
+
react.offset(() => {
|
|
4404
|
+
return isPickersType && isMobileScreen ? 0 : 6;
|
|
4405
|
+
}),
|
|
4314
4406
|
];
|
|
4315
4407
|
if (isPickersType && isMobileScreen) {
|
|
4316
|
-
|
|
4317
|
-
name: 'resetTransform',
|
|
4318
|
-
enabled: true,
|
|
4319
|
-
phase: 'beforeWrite',
|
|
4320
|
-
requires: ['computeStyles'],
|
|
4321
|
-
fn: ({ state }) => {
|
|
4322
|
-
state.styles.popper.transform = '';
|
|
4323
|
-
},
|
|
4324
|
-
});
|
|
4408
|
+
middleware.push(uuiCore.mobilePositioning);
|
|
4325
4409
|
}
|
|
4326
|
-
return
|
|
4410
|
+
return middleware;
|
|
4327
4411
|
}, [isPickersType]);
|
|
4328
4412
|
const getDefaultPredicate = () => {
|
|
4329
4413
|
if (!props.predicates) {
|
|
@@ -4372,13 +4456,13 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4372
4456
|
setPredicate(val);
|
|
4373
4457
|
};
|
|
4374
4458
|
const renderHeader = (hideTitle) => (React__namespace.default.createElement("div", { className: cx__default.default(css$q.header, isPickersType && (props.showSearch ?? css$q.withSearch)) },
|
|
4375
|
-
props.predicates ? (React__namespace.default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size:
|
|
4376
|
-
!props?.isAlwaysVisible && (React__namespace.default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size:
|
|
4459
|
+
props.predicates ? (React__namespace.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__namespace.default.createElement("div", { className: css$q.title }, props.title))),
|
|
4460
|
+
!props?.isAlwaysVisible && (React__namespace.default.createElement(LinkButton, { cx: css$q.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: settings.filtersPanel.sizes.pickerBodyLinkButton, icon: settings.filtersPanel.icons.pickerBodyRemoveIcon }))));
|
|
4377
4461
|
const renderBody = (dropdownProps) => {
|
|
4378
4462
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
4379
|
-
return isPickersType ? (React__namespace.default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width:
|
|
4463
|
+
return isPickersType ? (React__namespace.default.createElement(PickerBodyMobileView, { ...dropdownProps, cx: [css$q.body, UUI_FILTERS_PANEL_ITEM_BODY], title: props.title, width: settings.filtersPanel.sizes.pickerBodyMinWidth, onClose: () => isOpenChange(false) },
|
|
4380
4464
|
renderHeader(hideHeaderTitle),
|
|
4381
|
-
React__namespace.default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange }))) : (React__namespace.default.createElement(DropdownContainer, { cx: UUI_FILTERS_PANEL_ITEM_BODY, ...dropdownProps },
|
|
4465
|
+
React__namespace.default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange }))) : (React__namespace.default.createElement(DropdownContainer, { cx: [css$q.body, UUI_FILTERS_PANEL_ITEM_BODY], ...dropdownProps },
|
|
4382
4466
|
renderHeader(hideHeaderTitle),
|
|
4383
4467
|
React__namespace.default.createElement(FilterItemBody, { ...props, ...dropdownProps, selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })));
|
|
4384
4468
|
};
|
|
@@ -4387,7 +4471,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4387
4471
|
};
|
|
4388
4472
|
const getPickerItemName = (item, config) => {
|
|
4389
4473
|
if (item.isLoading) {
|
|
4390
|
-
return
|
|
4474
|
+
return settings.filtersPanel.renderPlaceholder();
|
|
4391
4475
|
}
|
|
4392
4476
|
if (item.isUnknown) {
|
|
4393
4477
|
return 'Unknown';
|
|
@@ -4458,7 +4542,7 @@ function FiltersToolbarItemImpl(props) {
|
|
|
4458
4542
|
return props.type === 'datePicker' || props.type === 'rangeDatePicker' ? null : 300;
|
|
4459
4543
|
};
|
|
4460
4544
|
const renderTarget = (dropdownProps) => (React__namespace.default.createElement(FilterPanelItemToggler, { ...dropdownProps, ...getTogglerValue(), title: props.title, predicateName: props.value ? predicateName : null, maxWidth: getTogglerWidth(), size: props.size }));
|
|
4461
|
-
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: renderTarget, renderBody: renderBody, closeBodyOnTogglerHidden: !uuiCore.isMobile(), value: isOpen, onValueChange: isOpenChange,
|
|
4545
|
+
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: renderTarget, renderBody: renderBody, closeBodyOnTogglerHidden: !uuiCore.isMobile(), value: isOpen, onValueChange: isOpenChange, middleware: floatingMiddleware }));
|
|
4462
4546
|
}
|
|
4463
4547
|
const FiltersPanelItem = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarItemImpl);
|
|
4464
4548
|
|
|
@@ -4590,88 +4674,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4590
4674
|
}
|
|
4591
4675
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
4592
4676
|
|
|
4593
|
-
var css$p = {"
|
|
4594
|
-
|
|
4595
|
-
var _path$9;
|
|
4596
|
-
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); }
|
|
4597
|
-
var SvgActionSaveOutline = function SvgActionSaveOutline(props, ref) {
|
|
4598
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
4599
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4600
|
-
width: 24,
|
|
4601
|
-
height: 24,
|
|
4602
|
-
viewBox: "0 0 24 24",
|
|
4603
|
-
ref: ref
|
|
4604
|
-
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4605
|
-
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"
|
|
4606
|
-
})));
|
|
4607
|
-
};
|
|
4608
|
-
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgActionSaveOutline);
|
|
4609
|
-
|
|
4610
|
-
var _path$8;
|
|
4611
|
-
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); }
|
|
4612
|
-
var SvgContentEditUndoOutline = function SvgContentEditUndoOutline(props, ref) {
|
|
4613
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
4614
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4615
|
-
width: 24,
|
|
4616
|
-
height: 24,
|
|
4617
|
-
viewBox: "0 0 24 24",
|
|
4618
|
-
ref: ref
|
|
4619
|
-
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4620
|
-
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"
|
|
4621
|
-
})));
|
|
4622
|
-
};
|
|
4623
|
-
var ForwardRef$8 = /*#__PURE__*/React.forwardRef(SvgContentEditUndoOutline);
|
|
4624
|
-
|
|
4625
|
-
var _path$7;
|
|
4626
|
-
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); }
|
|
4627
|
-
var SvgActionCopyContentOutline = function SvgActionCopyContentOutline(props, ref) {
|
|
4628
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
4629
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4630
|
-
width: 24,
|
|
4631
|
-
height: 24,
|
|
4632
|
-
viewBox: "0 0 24 24",
|
|
4633
|
-
ref: ref
|
|
4634
|
-
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4635
|
-
fillRule: "evenodd",
|
|
4636
|
-
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",
|
|
4637
|
-
clipRule: "evenodd"
|
|
4638
|
-
})));
|
|
4639
|
-
};
|
|
4640
|
-
var ForwardRef$7 = /*#__PURE__*/React.forwardRef(SvgActionCopyContentOutline);
|
|
4641
|
-
|
|
4642
|
-
var _path$6;
|
|
4643
|
-
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); }
|
|
4644
|
-
var SvgContentEditFill = function SvgContentEditFill(props, ref) {
|
|
4645
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
4646
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4647
|
-
width: 24,
|
|
4648
|
-
height: 24,
|
|
4649
|
-
viewBox: "0 0 24 24",
|
|
4650
|
-
ref: ref
|
|
4651
|
-
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4652
|
-
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"
|
|
4653
|
-
})));
|
|
4654
|
-
};
|
|
4655
|
-
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgContentEditFill);
|
|
4656
|
-
|
|
4657
|
-
var _path$5, _path2;
|
|
4658
|
-
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); }
|
|
4659
|
-
var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
4660
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
4661
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4662
|
-
width: 24,
|
|
4663
|
-
height: 24,
|
|
4664
|
-
viewBox: "0 0 24 24",
|
|
4665
|
-
ref: ref
|
|
4666
|
-
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4667
|
-
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"
|
|
4668
|
-
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4669
|
-
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"
|
|
4670
|
-
})));
|
|
4671
|
-
};
|
|
4672
|
-
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgContentLinkOutline);
|
|
4673
|
-
|
|
4674
|
-
var css$o = {"delete-button":"jT0xBT","deleteButton":"jT0xBT","tab-button":"wil-YJ","tabButton":"wil-YJ","targetOpen":"Z3tbgq"};
|
|
4677
|
+
var css$p = {"delete-button":"Om--Ji","deleteButton":"Om--Ji","tab-button":"SsB9JS","tabButton":"SsB9JS","targetOpen":"HqHuXA"};
|
|
4675
4678
|
|
|
4676
4679
|
function PresetActionsDropdown(props) {
|
|
4677
4680
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -4696,7 +4699,7 @@ function PresetActionsDropdown(props) {
|
|
|
4696
4699
|
const successNotificationHandler = React.useCallback((text) => {
|
|
4697
4700
|
uuiNotifications
|
|
4698
4701
|
.show((props) => (React__namespace.default.createElement(SuccessNotification, { ...props },
|
|
4699
|
-
React__namespace.default.createElement(
|
|
4702
|
+
React__namespace.default.createElement("div", { className: "uui-presets-panel-notification-text" }, text))), { duration: 3 })
|
|
4700
4703
|
.catch(() => null);
|
|
4701
4704
|
}, []);
|
|
4702
4705
|
const saveInCurrentHandler = React.useCallback(() => {
|
|
@@ -4719,32 +4722,32 @@ function PresetActionsDropdown(props) {
|
|
|
4719
4722
|
const isRenameAvailable = props.preset.id === props.activePresetId && !isReadonlyPreset;
|
|
4720
4723
|
return (React__namespace.default.createElement(DropdownMenuBody, { ...dropdownProps },
|
|
4721
4724
|
isPresetChanged && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
4722
|
-
!isReadonlyPreset && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon:
|
|
4723
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon:
|
|
4725
|
+
!isReadonlyPreset && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-in-current`, icon: settings.presetsPanel.icons.saveInCurrentIcon, caption: "Save in current", onClick: () => { dropdownProps.onClose(); saveInCurrentHandler(); } })),
|
|
4726
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-save-as-new`, icon: settings.presetsPanel.icons.saveAsNewIcon, caption: "Save as new",
|
|
4724
4727
|
// 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
|
|
4725
4728
|
onClick: () => { dropdownProps.onClose(); setTimeout(() => props.addPreset(), 0); } }),
|
|
4726
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon:
|
|
4729
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-discard`, icon: settings.presetsPanel.icons.discardChangesIcon, caption: "Discard all changes", onClick: () => { dropdownProps.onClose(); discardAllChangesHandler(); } }),
|
|
4727
4730
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "discard-splitter" }))),
|
|
4728
|
-
isRenameAvailable && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon:
|
|
4729
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon:
|
|
4730
|
-
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon:
|
|
4731
|
+
isRenameAvailable && (React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-rename`, icon: settings.presetsPanel.icons.renameIcon, caption: "Rename", onClick: props.renamePreset })),
|
|
4732
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-duplicate`, icon: settings.presetsPanel.icons.copyIcon, caption: "Duplicate", onClick: () => { dropdownProps.onClose(); duplicateHandler(); } }),
|
|
4733
|
+
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: settings.presetsPanel.icons.copyLinkIcon, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
4731
4734
|
!isReadonlyPreset && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
4732
4735
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
4733
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon:
|
|
4736
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: settings.presetsPanel.icons.deleteIcon, caption: "Delete", cx: css$p.deleteButton, onClick: deleteHandler })))));
|
|
4734
4737
|
};
|
|
4735
4738
|
const renderTarget = React.useCallback((dropdownProps) => {
|
|
4736
|
-
return (React__namespace.default.createElement(IconButton, { cx: [css$
|
|
4739
|
+
return (React__namespace.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 }));
|
|
4737
4740
|
}, []);
|
|
4738
|
-
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end",
|
|
4741
|
+
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", middleware: [react.offset(22)] }));
|
|
4739
4742
|
}
|
|
4740
4743
|
|
|
4741
|
-
var css$n = {"preset-input-cell":"I8DifD","presetInputCell":"I8DifD","preset-input":"_9Eu-d9","presetInput":"_9Eu-d9"};
|
|
4742
|
-
|
|
4743
4744
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4744
4745
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
4745
4746
|
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
4746
4747
|
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
4747
4748
|
|
|
4749
|
+
var css$o = {"preset-input-cell":"LqTEj-","presetInputCell":"LqTEj-","preset-input":"IEY9d8","presetInput":"IEY9d8"};
|
|
4750
|
+
|
|
4748
4751
|
function PresetInput(props) {
|
|
4749
4752
|
const [presetCaption, setPresetCaption] = React.useState(props.preset?.name || '');
|
|
4750
4753
|
const [readonly, setReadonly] = React.useState(false);
|
|
@@ -4766,11 +4769,11 @@ function PresetInput(props) {
|
|
|
4766
4769
|
}
|
|
4767
4770
|
props.onCancel();
|
|
4768
4771
|
}, [presetCaption.length, props.onCancel]);
|
|
4769
|
-
return (React__namespace.default.createElement(FlexCell, { cx: [css$
|
|
4770
|
-
React__namespace.default.createElement(TextInput, { cx: css$
|
|
4772
|
+
return (React__namespace.default.createElement(FlexCell, { cx: [css$o.presetInputCell, UUI_PRESETS_PANEL_INPUT], minWidth: 180 },
|
|
4773
|
+
React__namespace.default.createElement(TextInput, { cx: css$o.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4771
4774
|
}
|
|
4772
4775
|
|
|
4773
|
-
var css$
|
|
4776
|
+
var css$n = {"preset":"dSgbDC","activePreset":"_0hJTxx"};
|
|
4774
4777
|
|
|
4775
4778
|
function Preset(props) {
|
|
4776
4779
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -4792,25 +4795,10 @@ function Preset(props) {
|
|
|
4792
4795
|
}, [props.preset]);
|
|
4793
4796
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
4794
4797
|
const PresetActionsDropdownComponent = React.useCallback(() => React__namespace.default.createElement(PresetActionsDropdown, { renamePreset: setPresetForRename, ...props }), [props.preset, props.tableState, props.activePresetId]);
|
|
4795
|
-
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$
|
|
4798
|
+
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.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 }))));
|
|
4796
4799
|
}
|
|
4797
4800
|
|
|
4798
|
-
var
|
|
4799
|
-
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); }
|
|
4800
|
-
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
4801
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
4802
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4803
|
-
width: 24,
|
|
4804
|
-
height: 24,
|
|
4805
|
-
viewBox: "0 0 24 24",
|
|
4806
|
-
ref: ref
|
|
4807
|
-
}, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4808
|
-
fillRule: "evenodd",
|
|
4809
|
-
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",
|
|
4810
|
-
clipRule: "evenodd"
|
|
4811
|
-
})));
|
|
4812
|
-
};
|
|
4813
|
-
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgActionDeleteForeverFill);
|
|
4801
|
+
var css$m = {"divider":"fttSWb","dropdownDeleteIcon":"zZJv4Y","presetsWrapper":"GZEBGn","addPresetContainer":"Nmm76C","dropContainer":"q4aU6h"};
|
|
4814
4802
|
|
|
4815
4803
|
function PresetsPanel(props) {
|
|
4816
4804
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
@@ -4825,16 +4813,16 @@ function PresetsPanel(props) {
|
|
|
4825
4813
|
return React__namespace.default.createElement(Preset, { key: preset.id, preset: preset, addPreset: setAddingPreset, ...presetApi });
|
|
4826
4814
|
};
|
|
4827
4815
|
const renderAddPresetButton = React.useCallback(() => {
|
|
4828
|
-
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$
|
|
4816
|
+
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$m.addPresetContainer }, !isAddingPreset ? (React__namespace.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__namespace.default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
4829
4817
|
}, [isAddingPreset]);
|
|
4830
4818
|
const onPresetDropdownSelect = (preset) => {
|
|
4831
4819
|
props.choosePreset(preset.preset);
|
|
4832
4820
|
};
|
|
4833
4821
|
const renderMoreButtonDropdown = (item, hiddenItems) => {
|
|
4834
4822
|
return (React__namespace.default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__namespace.default.createElement(FlexRow, null,
|
|
4835
|
-
React__namespace.default.createElement("div", { className: css$
|
|
4823
|
+
React__namespace.default.createElement("div", { className: css$m.divider }),
|
|
4836
4824
|
React__namespace.default.createElement(Button, { cx: UUI_PRESETS_PANEL_MORE_BUTTON, fill: "ghost", color: "secondary", caption: `${hiddenItems?.length || ''} more`, ...props }))), renderBody: (propsBody) => (React__namespace.default.createElement(DropdownMenuBody, { minWidth: 230, maxHeight: 300, ...propsBody },
|
|
4837
|
-
React__namespace.default.createElement(ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly &&
|
|
4825
|
+
React__namespace.default.createElement(ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.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)) })))))) }));
|
|
4838
4826
|
};
|
|
4839
4827
|
const getPresetPriority = (preset, index) => {
|
|
4840
4828
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -4855,7 +4843,7 @@ function PresetsPanel(props) {
|
|
|
4855
4843
|
];
|
|
4856
4844
|
};
|
|
4857
4845
|
return (React__namespace.default.createElement(FlexCell, { grow: 1, minWidth: 310, rawProps: props.rawProps },
|
|
4858
|
-
React__namespace.default.createElement(FlexRow, { size: null, columnGap: "12", cx: css$
|
|
4846
|
+
React__namespace.default.createElement(FlexRow, { size: null, columnGap: "12", cx: css$m.presetsWrapper },
|
|
4859
4847
|
React__namespace.default.createElement(uuiComponents.AdaptivePanel, { items: getPanelItems() }))));
|
|
4860
4848
|
}
|
|
4861
4849
|
|
|
@@ -4896,7 +4884,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4896
4884
|
return columns;
|
|
4897
4885
|
};
|
|
4898
4886
|
|
|
4899
|
-
var css$l = {"unpin-icon":"
|
|
4887
|
+
var css$l = {"unpin-icon":"szd22F","unpinIcon":"szd22F","pin-toggler-icon":"XPRJIi","pinTogglerIcon":"XPRJIi"};
|
|
4900
4888
|
|
|
4901
4889
|
function PinIconButton(props) {
|
|
4902
4890
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4938,7 +4926,7 @@ function getUnpinIcon(params) {
|
|
|
4938
4926
|
}
|
|
4939
4927
|
}
|
|
4940
4928
|
|
|
4941
|
-
var css$k = {"row-wrapper":"
|
|
4929
|
+
var css$k = {"row-wrapper":"mIBZo3","rowWrapper":"mIBZo3","pin-icon-button":"ThZEuU","pinIconButton":"ThZEuU","not-pinned":"deHVzI","notPinned":"deHVzI","checkbox":"xSuFSR","drag-handle":"Kso0bU","dragHandle":"Kso0bU","dnd-disabled":"RfInx3","dndDisabled":"RfInx3"};
|
|
4942
4930
|
|
|
4943
4931
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4944
4932
|
const { column } = props;
|
|
@@ -4961,7 +4949,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4961
4949
|
return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4962
4950
|
});
|
|
4963
4951
|
|
|
4964
|
-
var css$j = {"root":"
|
|
4952
|
+
var css$j = {"root":"tUbGSg","main-panel":"MSKPOC","mainPanel":"MSKPOC","group":"x7xTZ7","group-title":"w-7cin","groupTitle":"w-7cin","group-items":"HM4qF3","groupItems":"HM4qF3","no-data":"mI5lov","noData":"mI5lov","no-data-title":"JJV3zu","noDataTitle":"JJV3zu","no-data-sub-title":"MiGrzM","noDataSubTitle":"MiGrzM","h-divider":"cChCeQ","hDivider":"cChCeQ","search-area":"_4UNdmg","searchArea":"_4UNdmg","subgroup-accordion":"Mn6vO-","subgroupAccordion":"Mn6vO-","subgroup":"U1V7Wz","subgroup-title":"uYprup","subgroupTitle":"uYprup"};
|
|
4965
4953
|
|
|
4966
4954
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$j.group },
|
|
4967
4955
|
React__namespace.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
@@ -5063,7 +5051,7 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
5063
5051
|
return [children, rest];
|
|
5064
5052
|
};
|
|
5065
5053
|
|
|
5066
|
-
var css$i = {"listContainer":"
|
|
5054
|
+
var css$i = {"listContainer":"ywXG8F","header":"-O-kKZ","group":"IKQmwO","stickyHeader":"fUTAt0"};
|
|
5067
5055
|
|
|
5068
5056
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
5069
5057
|
const rowRef = React.useRef(undefined);
|
|
@@ -5098,12 +5086,12 @@ function DataRowsGroups({ rows, renderRow, top = 1, }) {
|
|
|
5098
5086
|
}
|
|
5099
5087
|
|
|
5100
5088
|
function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, renderRow, headerRef, }) {
|
|
5101
|
-
return (React__namespace.default.createElement("div", { className: css$i.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
5089
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$i.listContainer, 'uui-dt-data_row_container'), style: { minHeight: `${estimatedHeight}px` } },
|
|
5102
5090
|
React__namespace.default.createElement("div", { ref: listContainerRef, role: "rowgroup", style: { marginTop: offsetY } },
|
|
5103
5091
|
React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
5104
5092
|
}
|
|
5105
5093
|
|
|
5106
|
-
var css$h = {"root":"
|
|
5094
|
+
var css$h = {"root":"bcdGKb","sticky-header":"_4Q-Hy-","stickyHeader":"_4Q-Hy-","no-results":"Eg-Wh-","noResults":"Eg-Wh-","icon":"L8ubRp","title":"gqN8dw"};
|
|
5107
5095
|
|
|
5108
5096
|
function DataTable(props) {
|
|
5109
5097
|
const { uuiModals } = uuiCore.useUuiContext();
|
|
@@ -5135,7 +5123,7 @@ function DataTable(props) {
|
|
|
5135
5123
|
props.columns, config, defaultConfig, props.value, props.onValueChange, props.renderColumnsConfigurationModal,
|
|
5136
5124
|
]);
|
|
5137
5125
|
const renderRowsContainer = React__namespace.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows }) => (React__namespace.createElement(React__namespace.Fragment, null,
|
|
5138
|
-
React__namespace.createElement("div", { className: css$h.stickyHeader, ref: headerRef },
|
|
5126
|
+
React__namespace.createElement("div", { className: uuiCore.cx(css$h.stickyHeader, 'uui-dt-sticky_header'), ref: headerRef },
|
|
5139
5127
|
React__namespace.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 }),
|
|
5140
5128
|
React__namespace.createElement("div", { className: uuiCore.cx(uuiCore.uuiScrollShadows.top, {
|
|
5141
5129
|
[uuiCore.uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
@@ -5145,16 +5133,16 @@ function DataTable(props) {
|
|
|
5145
5133
|
]);
|
|
5146
5134
|
return (React__namespace.createElement(uuiComponents.DataTableSelectionProvider, { onCopy: props.onCopy, rows: rows, columns: columns },
|
|
5147
5135
|
React__namespace.createElement(uuiComponents.DataTableFocusProvider, { dataTableFocusManager: props.dataTableFocusManager },
|
|
5148
|
-
React__namespace.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: uuiCore.cx(css$h.root, 'uui-dt-vars'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
5136
|
+
React__namespace.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: uuiCore.cx(css$h.root, 'uui-dt-vars', 'uui-data_table'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
5149
5137
|
role: 'table',
|
|
5150
5138
|
'aria-colcount': columns.length,
|
|
5151
5139
|
'aria-rowcount': props.rowsCount,
|
|
5152
5140
|
} }))));
|
|
5153
5141
|
}
|
|
5154
5142
|
|
|
5155
|
-
var css$g = {"root":"
|
|
5143
|
+
var css$g = {"root":"aAtnur"};
|
|
5156
5144
|
|
|
5157
|
-
var css$f = {"root":"
|
|
5145
|
+
var css$f = {"root":"_1EY-8s","burger-content":"_4VU5Cn","burgerContent":"_4VU5Cn"};
|
|
5158
5146
|
|
|
5159
5147
|
var _path$3;
|
|
5160
5148
|
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); }
|
|
@@ -5176,7 +5164,7 @@ function applyBurgerMods() {
|
|
|
5176
5164
|
}
|
|
5177
5165
|
const Burger = /* @__PURE__ */uuiCore.withMods(uuiComponents.Burger, applyBurgerMods, () => ({
|
|
5178
5166
|
burgerIcon: ForwardRef$3,
|
|
5179
|
-
crossIcon: ForwardRef$
|
|
5167
|
+
crossIcon: ForwardRef$Q,
|
|
5180
5168
|
burgerContentCx: css$f.burgerContent,
|
|
5181
5169
|
}));
|
|
5182
5170
|
|
|
@@ -5197,7 +5185,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5197
5185
|
};
|
|
5198
5186
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
5199
5187
|
|
|
5200
|
-
var css$e = {"root":"
|
|
5188
|
+
var css$e = {"root":"gWtc0k","button-primary":"SKsQ2h","buttonPrimary":"SKsQ2h","button-secondary":"_3rTI7P","buttonSecondary":"_3rTI7P","hasIcon":"h7l049","dropdown":"zRDQzy"};
|
|
5201
5189
|
|
|
5202
5190
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
5203
5191
|
css$e.root,
|
|
@@ -5208,13 +5196,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
5208
5196
|
props.icon && css$e.hasIcon,
|
|
5209
5197
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5210
5198
|
|
|
5211
|
-
var css$d = {"search-input":"
|
|
5199
|
+
var css$d = {"search-input":"-Ty7sl","searchInput":"-Ty7sl"};
|
|
5212
5200
|
|
|
5213
5201
|
function BurgerSearch(props) {
|
|
5214
|
-
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$
|
|
5202
|
+
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(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 }));
|
|
5215
5203
|
}
|
|
5216
5204
|
|
|
5217
|
-
var css$c = {"root":"
|
|
5205
|
+
var css$c = {"root":"rCzT9s","group-header":"L4-RfE","groupHeader":"L4-RfE","group-name":"bb6DZS","groupName":"bb6DZS","line":"szPD8C"};
|
|
5218
5206
|
|
|
5219
5207
|
function BurgerGroupHeader(props) {
|
|
5220
5208
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5222,9 +5210,9 @@ function BurgerGroupHeader(props) {
|
|
|
5222
5210
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5223
5211
|
}
|
|
5224
5212
|
|
|
5225
|
-
var css$b = {"root":"
|
|
5213
|
+
var css$b = {"root":"CfcaXT","type-primary":"_4P0wBR","typePrimary":"_4P0wBR","type-secondary":"viH5vB","typeSecondary":"viH5vB"};
|
|
5226
5214
|
|
|
5227
|
-
|
|
5215
|
+
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5228
5216
|
const { type, ...clickableProps } = props;
|
|
5229
5217
|
return (React__namespace.createElement(uuiComponents.Clickable, { ...clickableProps, rawProps: {
|
|
5230
5218
|
'aria-expanded': props.isOpen,
|
|
@@ -5236,15 +5224,15 @@ function MainMenuButton(props) {
|
|
|
5236
5224
|
css$b.root,
|
|
5237
5225
|
css$b['type-' + (type || 'primary')],
|
|
5238
5226
|
props.cx,
|
|
5239
|
-
], ref:
|
|
5227
|
+
], ref: ref },
|
|
5240
5228
|
props.icon && props.iconPosition !== 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: props.onIconClick })),
|
|
5241
5229
|
props.caption && (React__namespace.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
5242
5230
|
props.count !== undefined && props.count !== null && (React__namespace.createElement(CountIndicator, { caption: props.count, color: "neutral", size: "18" })),
|
|
5243
5231
|
props.icon && props.iconPosition === 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: props.onIconClick })),
|
|
5244
|
-
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$
|
|
5245
|
-
}
|
|
5232
|
+
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
5233
|
+
});
|
|
5246
5234
|
|
|
5247
|
-
var css$a = {"dropdown-body":"
|
|
5235
|
+
var css$a = {"dropdown-body":"wNcr-b","dropdownBody":"wNcr-b"};
|
|
5248
5236
|
|
|
5249
5237
|
class MainMenuDropdown extends React__namespace.Component {
|
|
5250
5238
|
render() {
|
|
@@ -5302,36 +5290,28 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5302
5290
|
};
|
|
5303
5291
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5304
5292
|
|
|
5305
|
-
var css$9 = {"global-menu-btn":"
|
|
5293
|
+
var css$9 = {"global-menu-btn":"SDnwCK","globalMenuBtn":"SDnwCK","global-menu-icon":"_2W0mJg","globalMenuIcon":"_2W0mJg"};
|
|
5306
5294
|
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon })));
|
|
5310
|
-
}
|
|
5295
|
+
const GlobalMenu = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, id: "global_menu_toggle", className: cx__default.default(css$9.globalMenuBtn, props.cx), ...props.rawProps },
|
|
5296
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5311
5297
|
|
|
5312
|
-
var css$8 = {"container":"
|
|
5298
|
+
var css$8 = {"container":"gLCJ9b","open":"Dr96sB","folding-arrow":"IB-JXS","foldingArrow":"IB-JXS"};
|
|
5313
5299
|
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow })))));
|
|
5320
|
-
}
|
|
5300
|
+
const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, className: cx__default.default(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiCore.uuiMarkers.clickable, props.cx), onClick: props.onClick, ...props.rawProps },
|
|
5301
|
+
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
5302
|
+
props.icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon }),
|
|
5303
|
+
props.isDropdown && (React__namespace.createElement("div", null,
|
|
5304
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5321
5305
|
|
|
5322
|
-
var css$7 = {"search-input":"
|
|
5306
|
+
var css$7 = {"search-input":"h3CY4g","searchInput":"h3CY4g"};
|
|
5323
5307
|
|
|
5324
|
-
|
|
5325
|
-
return (React__namespace.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => (React__namespace.createElement(uuiComponents.TextInput, { iconPosition: "left", icon: ForwardRef$N, cancelIcon: props.value?.length > 0 && ForwardRef$R, ...props, ...iEditable, ref: props.ref, cx: uuiCore.cx(css$7.searchInput, props.cx), ...props.rawProps })) }));
|
|
5326
|
-
}
|
|
5308
|
+
const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => (React__namespace.createElement(uuiComponents.TextInput, { iconPosition: "left", icon: ForwardRef$M, cancelIcon: props.value?.length > 0 && ForwardRef$Q, ...props, ...iEditable, ref: ref, cx: uuiCore.cx(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5327
5309
|
|
|
5328
|
-
var css$6 = {"container":"
|
|
5310
|
+
var css$6 = {"container":"I8laSB"};
|
|
5329
5311
|
|
|
5330
|
-
|
|
5331
|
-
return (React__namespace.createElement(IconButton, { ref: props.ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$6.container), ...props }));
|
|
5332
|
-
}
|
|
5312
|
+
const MainMenuIcon = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(IconButton, { ref: ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$6.container), ...props })));
|
|
5333
5313
|
|
|
5334
|
-
var css$5 = {"root":"
|
|
5314
|
+
var css$5 = {"root":"biJGVR"};
|
|
5335
5315
|
|
|
5336
5316
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
5337
5317
|
|
|
@@ -5389,7 +5369,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5389
5369
|
};
|
|
5390
5370
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5391
5371
|
|
|
5392
|
-
var css$4 = {"root":"
|
|
5372
|
+
var css$4 = {"root":"yyIM8S","drop-start":"znu7gG","dropStart":"znu7gG","drop-over":"gMAXRt","dropOver":"gMAXRt","link":"ThKjW0","drop-area":"_7BdsEH","dropArea":"_7BdsEH","drop-caption":"iY-HO6","dropCaption":"iY-HO6","icon-blue":"kpmwIX","iconBlue":"kpmwIX"};
|
|
5393
5373
|
|
|
5394
5374
|
function DropSpot(props) {
|
|
5395
5375
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5407,20 +5387,20 @@ function DropSpot(props) {
|
|
|
5407
5387
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5408
5388
|
}
|
|
5409
5389
|
|
|
5410
|
-
var css$3 = {"root":"
|
|
5390
|
+
var css$3 = {"root":"_9qEHiJ"};
|
|
5411
5391
|
|
|
5412
|
-
|
|
5392
|
+
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5413
5393
|
const outsetRadius = props.size / 2 - 1;
|
|
5414
5394
|
const insetRadius = props.size / 2 - 3;
|
|
5415
5395
|
const circumference = insetRadius * Math.PI;
|
|
5416
|
-
return (React__namespace.createElement("svg", { className: css$3.root, width: props.size, height: props.size, ref:
|
|
5396
|
+
return (React__namespace.createElement("svg", { className: css$3.root, width: props.size, height: props.size, ref: ref, ...props.rawProps },
|
|
5417
5397
|
React__namespace.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 }),
|
|
5418
5398
|
React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5419
|
-
}
|
|
5399
|
+
});
|
|
5420
5400
|
|
|
5421
|
-
var css$2 = {"root":"
|
|
5401
|
+
var css$2 = {"root":"B2IEnw","file-name":"OzjFmA","fileName":"OzjFmA","default-color":"H0d0YN","defaultColor":"H0d0YN","doc-color":"Xuvp8z","docColor":"Xuvp8z","xls-color":"MCSCxt","xlsColor":"MCSCxt","pdf-color":"uYYi9I","pdfColor":"uYYi9I","movie-color":"TE5jHY","movieColor":"TE5jHY","img-color":"VO-oP9","imgColor":"VO-oP9","mov-color":"DghY2P","movColor":"DghY2P","error-block":"zsxxGf","errorBlock":"zsxxGf","icons-block":"QFWQwD","iconsBlock":"QFWQwD"};
|
|
5422
5402
|
|
|
5423
|
-
|
|
5403
|
+
const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5424
5404
|
const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
|
|
5425
5405
|
const { file } = props;
|
|
5426
5406
|
const getIcon = (extension) => {
|
|
@@ -5484,7 +5464,7 @@ function FileCard(props) {
|
|
|
5484
5464
|
progress && progress < 100 && abortXHR();
|
|
5485
5465
|
onClick();
|
|
5486
5466
|
};
|
|
5487
|
-
return (React__namespace.createElement(FlexCell, { ref:
|
|
5467
|
+
return (React__namespace.createElement(FlexCell, { ref: ref, cx: uuiCore.cx(css$2.root, 'uui-file_card', (isLoading || error?.isError) && uuiCore.uuiMod.loading, componentCx, error?.isError && uuiCore.uuiMod.error), minWidth: width, width: !width ? '100%' : undefined },
|
|
5488
5468
|
React__namespace.createElement(FlexRow, { alignItems: "top", columnGap: "6" },
|
|
5489
5469
|
fileExtension && getIcon(fileExtension),
|
|
5490
5470
|
React__namespace.createElement(FlexCell, { width: "100%" },
|
|
@@ -5493,7 +5473,7 @@ function FileCard(props) {
|
|
|
5493
5473
|
React__namespace.createElement("div", { className: uuiCore.cx(css$2.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5494
5474
|
isLoadingShow && isLoading && React__namespace.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
5495
5475
|
isCrossShow && React__namespace.createElement(IconButton, { icon: settings.fileCard.icons.closeIcon, onClick: removeHandler })))));
|
|
5496
|
-
}
|
|
5476
|
+
});
|
|
5497
5477
|
|
|
5498
5478
|
const getRecoveryMessageConfig = () => ({
|
|
5499
5479
|
'auth-lost': i18n.errorHandler.recoveryMessageConfig['auth-lost'],
|
|
@@ -5537,7 +5517,7 @@ const getErrorPageConfig = () => ({
|
|
|
5537
5517
|
},
|
|
5538
5518
|
});
|
|
5539
5519
|
|
|
5540
|
-
var css$1 = {"container":"
|
|
5520
|
+
var css$1 = {"container":"Wu9rDe"};
|
|
5541
5521
|
|
|
5542
5522
|
const ErrorPage = (props) => {
|
|
5543
5523
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5549,7 +5529,7 @@ const ErrorPage = (props) => {
|
|
|
5549
5529
|
props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5550
5530
|
};
|
|
5551
5531
|
|
|
5552
|
-
var css = {"recovery-spinner":"
|
|
5532
|
+
var css = {"recovery-spinner":"vCz217","recoverySpinner":"vCz217","recovery-message":"gUalvZ","recoveryMessage":"gUalvZ","modal-blocker":"uohsvF","modalBlocker":"uohsvF","modalFadeIn":"Nm27Kc"};
|
|
5553
5533
|
|
|
5554
5534
|
function ErrorHandler(props) {
|
|
5555
5535
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|
|
@@ -5649,6 +5629,7 @@ exports.DataTableHeaderRow = DataTableHeaderRow;
|
|
|
5649
5629
|
exports.DataTableRow = DataTableRow;
|
|
5650
5630
|
exports.DatePicker = DatePicker;
|
|
5651
5631
|
exports.DatePickerBody = DatePickerBody;
|
|
5632
|
+
exports.DatePickerComponent = DatePickerComponent;
|
|
5652
5633
|
exports.DropMarker = DropMarker;
|
|
5653
5634
|
exports.DropSpot = DropSpot;
|
|
5654
5635
|
exports.Dropdown = Dropdown;
|
|
@@ -5729,6 +5710,7 @@ exports.TextInput = TextInput;
|
|
|
5729
5710
|
exports.TextPlaceholder = TextPlaceholder;
|
|
5730
5711
|
exports.TimePicker = TimePicker;
|
|
5731
5712
|
exports.TimePickerBody = TimePickerBody;
|
|
5713
|
+
exports.TimePickerComponent = TimePickerComponent;
|
|
5732
5714
|
exports.Tooltip = Tooltip;
|
|
5733
5715
|
exports.VerticalTabButton = VerticalTabButton;
|
|
5734
5716
|
exports.VirtualList = VirtualList;
|