@epam/uui 5.13.2-rc.0 → 5.13.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/datePickers/CalendarPresets.d.ts.map +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +12 -13
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/timePicker/types.d.ts +1 -0
- package/components/inputs/timePicker/types.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts +16 -7
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +1 -0
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +15 -8
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts.map +1 -1
- package/components/pickers/PickerBodyMobileView.d.ts +24 -3
- package/components/pickers/PickerBodyMobileView.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +4 -1
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +5 -1
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/tables/DataTable.d.ts +5 -1
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +3 -3
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderGroupCell.d.ts +2 -4
- package/components/tables/DataTableHeaderGroupCell.d.ts.map +1 -1
- package/components/tables/types.d.ts +3 -3
- package/components/tables/types.d.ts.map +1 -1
- package/components/types.d.ts +1 -0
- package/components/types.d.ts.map +1 -1
- package/index.esm.js +295 -391
- package/index.esm.js.map +1 -1
- package/index.js +292 -389
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts +20 -93
- package/settings.d.ts.map +1 -1
- package/stats.html +19 -1
- package/styles.css +1145 -1043
- package/styles.css.map +1 -1
package/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as uuiComponents from '@epam/uui-components';
|
|
2
|
-
import { Clickable, IconContainer, RadioInput as RadioInput$1, TextInput as TextInput$1, ControlGroup as ControlGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Dropdown as Dropdown$1, Anchor as Anchor$1,
|
|
2
|
+
import { Clickable, IconContainer, RadioInput as RadioInput$1, TextInput as TextInput$1, ControlGroup as ControlGroup$1, NumericInput as NumericInput$1, TextArea as TextArea$1, Dropdown as Dropdown$1, Anchor as Anchor$1, FlexSpacer, Text as Text$1, FlexCell as FlexCell$1, VPanel, ScrollBars as ScrollBars$1, AvatarStack as AvatarStack$1, Spinner as Spinner$1, Paginator as Paginator$1, DragHandle, Blocker as Blocker$1, ModalBlocker as ModalBlocker$1, ModalWindow as ModalWindow$1, Snackbar as Snackbar$1, InputAddon as InputAddon$1, Slider as Slider$1, Calendar as Calendar$1, YearSelection, MonthSelection, Day, uuiDaySelection, PickerBodyBase, DataPickerRow as DataPickerRow$1, Avatar, usePickerModal, handleDataSourceKeyboard, PickerToggler as PickerToggler$1, usePickerInput, usePickerList, DataTableCell as DataTableCell$1, DataTableRow as DataTableRow$1, DataTableCellContainer, DataTableHeaderCell as DataTableHeaderCell$1, DataTableHeaderRow as DataTableHeaderRow$1, AdaptivePanel, useColumnsConfiguration, Accordion as Accordion$1, DataTableSelectionProvider, DataTableFocusProvider, Burger as Burger$1, Button as Button$1, DropSpot as DropSpot$1, UploadFileToggler, ErrorCatch } from '@epam/uui-components';
|
|
3
3
|
export { Avatar, DataTableCellContainer, FlexSpacer, IconContainer } from '@epam/uui-components';
|
|
4
|
-
import { withMods, devLogger, uuiElement, cx as cx$1, uuiMarkers, IEditableDebouncer, UuiContext, uuiMod, getDir, directionMode, useVirtualList, useScrollShadows, isMobile, i18n as i18n$1, useUuiContext, isFocusReceiverInsideFocusLock, Lens, mobilePopperModifier, uuiDataTableHeaderCell, uuiDataTableHeaderGroupCell, usePrevious, useForceUpdate, getSeparatedValue, useArrayDataSource, orderBy, getOrderBetween, DndActor, uuiDndState, useColumnsConfig, uuiScrollShadows, Form as Form$1, useForm as useForm$1, formatBytes, useUuiError } from '@epam/uui-core';
|
|
4
|
+
import { withMods, devLogger, uuiElement, cx as cx$1, uuiMarkers, IEditableDebouncer, UuiContext, uuiMod, getDir, isEventTargetInsideClickable, directionMode, useVirtualList, useScrollShadows, isMobile, i18n as i18n$1, useUuiContext, isFocusReceiverInsideFocusLock, Lens, mobilePopperModifier, uuiDataTableHeaderCell, uuiDataTableHeaderGroupCell, usePrevious, useForceUpdate, getSeparatedValue, useArrayDataSource, orderBy, getOrderBetween, DndActor, uuiDndState, useColumnsConfig, uuiScrollShadows, Form as Form$1, useForm as useForm$1, formatBytes, useUuiError } from '@epam/uui-core';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { forwardRef, useContext, useRef, useState, useEffect, useReducer, useImperativeHandle, useCallback, useMemo, Fragment } from 'react';
|
|
7
7
|
import cx from 'classnames';
|
|
@@ -149,7 +149,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
149
149
|
xmlns: "http://www.w3.org/2000/svg",
|
|
150
150
|
ref: ref
|
|
151
151
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
152
|
-
clipPath: "url(#
|
|
152
|
+
clipPath: "url(#7iyl3cwgzxp868o8h_a)"
|
|
153
153
|
}, _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
154
154
|
d: "M150.585 1.535C49.483-11.495 27.481 61.805 45.725 97.481c10.581 20.69-39.64 70.792 17.744 81.468 27.538 5.123 36-13.341 62.433-10.655 35.4 3.6 148.167-4.73 88.349-78.915-31.713-39.335 1.026-79.506-63.666-87.844Z",
|
|
155
155
|
fill: "#F5F6FA"
|
|
@@ -170,7 +170,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
170
170
|
d: "M86.786 22.982c-2.55 0-4.965 2.07-4.965 4.552V120.6c0 2.484 2.4 4.572 4.965 4.572h88.101c2.582 0 4.986-2.089 4.986-4.572V27.534c0-2.464-2.418-4.552-4.986-4.552h-88.1Zm-5.793 4.552c0-3.022 2.874-5.38 5.793-5.38h88.101c2.935 0 5.814 2.374 5.814 5.38V120.6c0 3.021-2.86 5.4-5.814 5.4h-88.1c-2.94 0-5.794-2.381-5.794-5.4V27.534Z",
|
|
171
171
|
fill: "#1D1E26"
|
|
172
172
|
})), /*#__PURE__*/React.createElement("mask", {
|
|
173
|
-
id: "
|
|
173
|
+
id: "7iyl3cyil2nzap39m_b",
|
|
174
174
|
style: {
|
|
175
175
|
maskType: "alpha"
|
|
176
176
|
},
|
|
@@ -183,7 +183,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
183
183
|
d: "M174.887 125.586h-88.1c-2.752 0-5.38-2.234-5.38-4.986V27.534c0-2.752 2.644-4.966 5.38-4.966h88.1c2.752 0 5.4 2.23 5.4 4.966V120.6c0 2.752-2.632 4.986-5.4 4.986Z",
|
|
184
184
|
fill: "#9BDEFF"
|
|
185
185
|
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
186
|
-
mask: "url(#
|
|
186
|
+
mask: "url(#7iyl3cyil2nzap39m_b)",
|
|
187
187
|
fillRule: "evenodd",
|
|
188
188
|
clipRule: "evenodd"
|
|
189
189
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -269,7 +269,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
269
269
|
d: "M24.73 96.184a.414.414 0 0 1 .581.06l48.646 59.751a.413.413 0 1 1-.642.523L24.67 96.766a.414.414 0 0 1 .06-.582Z",
|
|
270
270
|
fill: "#fff"
|
|
271
271
|
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
272
|
-
id: "
|
|
272
|
+
id: "7iyl3cwgzxp868o8h_a"
|
|
273
273
|
}, /*#__PURE__*/React.createElement("path", {
|
|
274
274
|
fill: "#fff",
|
|
275
275
|
transform: "translate(.552)",
|
|
@@ -826,32 +826,12 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
826
826
|
};
|
|
827
827
|
var ForwardRef$b = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
828
828
|
|
|
829
|
-
const fileIcons = {
|
|
830
|
-
docIcon: ForwardRef$l,
|
|
831
|
-
exelIcon: ForwardRef$k,
|
|
832
|
-
pdfIcon: ForwardRef$j,
|
|
833
|
-
imgIcon: ForwardRef$i,
|
|
834
|
-
videoIcon: ForwardRef$h,
|
|
835
|
-
tableIcon: ForwardRef$g,
|
|
836
|
-
textIcon: ForwardRef$f,
|
|
837
|
-
mailIcon: ForwardRef$e,
|
|
838
|
-
fileIcon: ForwardRef$d,
|
|
839
|
-
closeIcon: ForwardRef$R,
|
|
840
|
-
errorIcon: ForwardRef$m,
|
|
841
|
-
};
|
|
842
829
|
const accordionSettings = {
|
|
843
830
|
icons: {
|
|
844
831
|
dropdownIcon: ForwardRef$Q,
|
|
845
832
|
},
|
|
846
833
|
};
|
|
847
834
|
const alertSettings = {
|
|
848
|
-
sizes: {
|
|
849
|
-
default: '48',
|
|
850
|
-
actionMap: {
|
|
851
|
-
36: '24',
|
|
852
|
-
48: '30',
|
|
853
|
-
},
|
|
854
|
-
},
|
|
855
835
|
icons: {
|
|
856
836
|
closeIcon: ForwardRef$R,
|
|
857
837
|
infoIcon: ForwardRef$K,
|
|
@@ -859,6 +839,13 @@ const alertSettings = {
|
|
|
859
839
|
warningIcon: ForwardRef$n,
|
|
860
840
|
errorIcon: ForwardRef$m,
|
|
861
841
|
},
|
|
842
|
+
sizes: {
|
|
843
|
+
default: '48',
|
|
844
|
+
actionMap: {
|
|
845
|
+
36: '24',
|
|
846
|
+
48: '30',
|
|
847
|
+
},
|
|
848
|
+
},
|
|
862
849
|
};
|
|
863
850
|
const badgeSettings = {
|
|
864
851
|
icons: {
|
|
@@ -913,6 +900,9 @@ const dataTableSettings = {
|
|
|
913
900
|
foldIcon: ForwardRef$x,
|
|
914
901
|
unfoldIcon: ForwardRef$w,
|
|
915
902
|
},
|
|
903
|
+
body: {
|
|
904
|
+
foldingIcon: ForwardRef$Q,
|
|
905
|
+
},
|
|
916
906
|
columnsConfigurationModal: {
|
|
917
907
|
dragIndicator: ForwardRef$G,
|
|
918
908
|
lockIcon: ForwardRef$D,
|
|
@@ -926,54 +916,53 @@ const dataTableSettings = {
|
|
|
926
916
|
},
|
|
927
917
|
sizes: {
|
|
928
918
|
header: {
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
defaultResizeMarker: '12',
|
|
932
|
-
defaultCellPadding: '12',
|
|
933
|
-
defaultCellPaddingEdge: '24',
|
|
934
|
-
defaultGroupCell: '36',
|
|
935
|
-
defaultGroupCellPadding: '12',
|
|
936
|
-
defaultGroupCellPaddingEdge: '24',
|
|
937
|
-
cellCheckboxMap: {
|
|
919
|
+
row: '36',
|
|
920
|
+
iconMap: {
|
|
938
921
|
36: '18',
|
|
939
922
|
48: '18',
|
|
940
923
|
60: '18',
|
|
941
924
|
},
|
|
942
|
-
|
|
925
|
+
},
|
|
926
|
+
body: {
|
|
927
|
+
row: '36',
|
|
928
|
+
checkboxMap: {
|
|
929
|
+
24: '12',
|
|
930
|
+
30: '18',
|
|
943
931
|
36: '18',
|
|
932
|
+
42: '18',
|
|
944
933
|
48: '18',
|
|
945
934
|
60: '18',
|
|
946
935
|
},
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
936
|
+
iconMap: {
|
|
937
|
+
24: '12',
|
|
938
|
+
30: '18',
|
|
939
|
+
36: '18',
|
|
940
|
+
42: '24',
|
|
941
|
+
48: '24',
|
|
942
|
+
60: '24',
|
|
943
|
+
},
|
|
944
|
+
indentUnitMap: {
|
|
945
|
+
24: 6,
|
|
946
|
+
30: 12,
|
|
947
|
+
36: 12,
|
|
948
|
+
42: 24,
|
|
949
|
+
48: 24,
|
|
950
|
+
60: 24,
|
|
951
|
+
},
|
|
952
|
+
indentWidthMap: {
|
|
953
|
+
24: 12,
|
|
954
|
+
30: 18,
|
|
955
|
+
36: 18,
|
|
956
|
+
42: 24,
|
|
957
|
+
48: 24,
|
|
958
|
+
60: 24,
|
|
968
959
|
},
|
|
969
960
|
},
|
|
970
961
|
columnsConfigurationModal: {
|
|
971
962
|
columnRow: '30',
|
|
972
963
|
countIndicator: '18',
|
|
973
|
-
subgroupIcon: '18',
|
|
974
964
|
menuButton: '30',
|
|
975
965
|
searchInput: '30',
|
|
976
|
-
width: 560,
|
|
977
966
|
},
|
|
978
967
|
},
|
|
979
968
|
};
|
|
@@ -994,7 +983,8 @@ const datePickerSettings = {
|
|
|
994
983
|
},
|
|
995
984
|
},
|
|
996
985
|
sizes: {
|
|
997
|
-
|
|
986
|
+
body: '36',
|
|
987
|
+
input: '36',
|
|
998
988
|
},
|
|
999
989
|
};
|
|
1000
990
|
const fileCardSettings = {
|
|
@@ -1024,14 +1014,6 @@ const filtersPanelSettings = {
|
|
|
1024
1014
|
},
|
|
1025
1015
|
sizes: {
|
|
1026
1016
|
default: '36',
|
|
1027
|
-
pickerInput: {
|
|
1028
|
-
body: {
|
|
1029
|
-
searchInput: '36',
|
|
1030
|
-
row: '36',
|
|
1031
|
-
rowItem: '36',
|
|
1032
|
-
footer: '36',
|
|
1033
|
-
},
|
|
1034
|
-
},
|
|
1035
1017
|
},
|
|
1036
1018
|
};
|
|
1037
1019
|
const iconButtonSettings = {
|
|
@@ -1054,22 +1036,13 @@ const linkButtonSettings = {
|
|
|
1054
1036
|
},
|
|
1055
1037
|
sizes: {
|
|
1056
1038
|
default: '36',
|
|
1057
|
-
defaultWeight: 'semibold',
|
|
1058
1039
|
},
|
|
1040
|
+
weight: 'semibold',
|
|
1059
1041
|
};
|
|
1060
1042
|
const modalSettings = {
|
|
1061
1043
|
icons: {
|
|
1062
1044
|
closeIcon: ForwardRef$R,
|
|
1063
1045
|
},
|
|
1064
|
-
sizes: {
|
|
1065
|
-
defaultWidth: 420,
|
|
1066
|
-
defaultMaxHeight: '80dvh',
|
|
1067
|
-
defaultMobileMaxHeight: '100dvh',
|
|
1068
|
-
defaultHeaderPadding: '24',
|
|
1069
|
-
defaultFooterColumnGap: '12',
|
|
1070
|
-
defaultFooterPadding: '24',
|
|
1071
|
-
defaultFooterVPadding: '24',
|
|
1072
|
-
},
|
|
1073
1046
|
};
|
|
1074
1047
|
const notificationCardSettings = {
|
|
1075
1048
|
icons: {
|
|
@@ -1107,8 +1080,7 @@ const pickerInputSettings = {
|
|
|
1107
1080
|
dropdownIcon: ForwardRef$Q,
|
|
1108
1081
|
},
|
|
1109
1082
|
body: {
|
|
1110
|
-
selectIcon: ForwardRef$P,
|
|
1111
|
-
boldSelectIcon: ForwardRef$r,
|
|
1083
|
+
selectIcon: (size) => size < '30' ? ForwardRef$r : ForwardRef$P,
|
|
1112
1084
|
pickerBodyMobileHeaderCloseIcon: ForwardRef$R,
|
|
1113
1085
|
modalNotFoundSearchIcon: ForwardRef$b,
|
|
1114
1086
|
},
|
|
@@ -1116,7 +1088,7 @@ const pickerInputSettings = {
|
|
|
1116
1088
|
sizes: {
|
|
1117
1089
|
toggler: {
|
|
1118
1090
|
default: '36',
|
|
1119
|
-
|
|
1091
|
+
tag: '36',
|
|
1120
1092
|
tagMap: {
|
|
1121
1093
|
24: '18',
|
|
1122
1094
|
30: '18',
|
|
@@ -1129,8 +1101,7 @@ const pickerInputSettings = {
|
|
|
1129
1101
|
maxHeight: 300,
|
|
1130
1102
|
minWidth: 360,
|
|
1131
1103
|
padding: '12',
|
|
1132
|
-
|
|
1133
|
-
defaultItem: '36',
|
|
1104
|
+
row: '36',
|
|
1134
1105
|
itemAvatarMap: {
|
|
1135
1106
|
24: '18',
|
|
1136
1107
|
30: '24',
|
|
@@ -1152,25 +1123,13 @@ const pickerInputSettings = {
|
|
|
1152
1123
|
42: '6',
|
|
1153
1124
|
48: '9',
|
|
1154
1125
|
},
|
|
1155
|
-
|
|
1156
|
-
24: true,
|
|
1157
|
-
},
|
|
1158
|
-
cellTextMap: {
|
|
1159
|
-
24: '24',
|
|
1160
|
-
30: '30',
|
|
1161
|
-
36: '36',
|
|
1162
|
-
42: '42',
|
|
1163
|
-
48: '48',
|
|
1164
|
-
},
|
|
1165
|
-
cellIconMap: {
|
|
1126
|
+
selectIconMap: {
|
|
1166
1127
|
24: '12',
|
|
1167
1128
|
30: '18',
|
|
1168
1129
|
36: '18',
|
|
1169
1130
|
42: '24',
|
|
1170
1131
|
48: '24',
|
|
1171
1132
|
},
|
|
1172
|
-
cellPadding: '24',
|
|
1173
|
-
defaultFooter: '36',
|
|
1174
1133
|
footerSwitchMap: {
|
|
1175
1134
|
24: '12',
|
|
1176
1135
|
30: '18',
|
|
@@ -1178,12 +1137,9 @@ const pickerInputSettings = {
|
|
|
1178
1137
|
42: '24',
|
|
1179
1138
|
48: '24',
|
|
1180
1139
|
},
|
|
1181
|
-
mobileHeaderTitleSize: '48',
|
|
1182
1140
|
mobileFooterLinkButton: '48',
|
|
1183
1141
|
mobileRow: '48',
|
|
1184
1142
|
mobileSearchInput: '48',
|
|
1185
|
-
modalRow: '36',
|
|
1186
|
-
modalPadding: '24',
|
|
1187
1143
|
},
|
|
1188
1144
|
},
|
|
1189
1145
|
};
|
|
@@ -1203,6 +1159,7 @@ const rangeDatePickerSettings = {
|
|
|
1203
1159
|
},
|
|
1204
1160
|
sizes: {
|
|
1205
1161
|
default: '36',
|
|
1162
|
+
preset: '24',
|
|
1206
1163
|
},
|
|
1207
1164
|
};
|
|
1208
1165
|
const ratingSettings = {
|
|
@@ -1219,48 +1176,6 @@ const richTextViewSettings = {
|
|
|
1219
1176
|
default: '14',
|
|
1220
1177
|
},
|
|
1221
1178
|
};
|
|
1222
|
-
const rowAddonsSettings = {
|
|
1223
|
-
icons: {
|
|
1224
|
-
foldingIcon: ForwardRef$Q,
|
|
1225
|
-
},
|
|
1226
|
-
sizes: {
|
|
1227
|
-
defaultIcon: '18',
|
|
1228
|
-
defaultIndentUnit: 24,
|
|
1229
|
-
defaultIndentWidth: 18,
|
|
1230
|
-
checkboxMap: {
|
|
1231
|
-
24: '12',
|
|
1232
|
-
30: '18',
|
|
1233
|
-
36: '18',
|
|
1234
|
-
42: '18',
|
|
1235
|
-
48: '18',
|
|
1236
|
-
60: '18',
|
|
1237
|
-
},
|
|
1238
|
-
iconMap: {
|
|
1239
|
-
24: '12',
|
|
1240
|
-
30: '18',
|
|
1241
|
-
36: '18',
|
|
1242
|
-
42: '24',
|
|
1243
|
-
48: '24',
|
|
1244
|
-
60: '24',
|
|
1245
|
-
},
|
|
1246
|
-
indentUnitMap: {
|
|
1247
|
-
24: 6,
|
|
1248
|
-
30: 12,
|
|
1249
|
-
36: 12,
|
|
1250
|
-
42: 24,
|
|
1251
|
-
48: 24,
|
|
1252
|
-
60: 24,
|
|
1253
|
-
},
|
|
1254
|
-
indentWidthMap: {
|
|
1255
|
-
24: 12,
|
|
1256
|
-
30: 18,
|
|
1257
|
-
36: 18,
|
|
1258
|
-
42: 24,
|
|
1259
|
-
48: 24,
|
|
1260
|
-
60: 24,
|
|
1261
|
-
},
|
|
1262
|
-
},
|
|
1263
|
-
};
|
|
1264
1179
|
const statusIndicatorSettings = {
|
|
1265
1180
|
sizes: {
|
|
1266
1181
|
default: '24',
|
|
@@ -1348,7 +1263,6 @@ const settings = {
|
|
|
1348
1263
|
rangeDatePicker: rangeDatePickerSettings,
|
|
1349
1264
|
rating: ratingSettings,
|
|
1350
1265
|
richTextView: richTextViewSettings,
|
|
1351
|
-
rowAddons: rowAddonsSettings,
|
|
1352
1266
|
statusIndicator: statusIndicatorSettings,
|
|
1353
1267
|
switch: switchSettings,
|
|
1354
1268
|
tabButton: tabButtonSettings,
|
|
@@ -1358,7 +1272,7 @@ const settings = {
|
|
|
1358
1272
|
textInput: textInputSettings,
|
|
1359
1273
|
};
|
|
1360
1274
|
|
|
1361
|
-
var css$1y = {"root":"
|
|
1275
|
+
var css$1y = {"root":"RXQhYs"};
|
|
1362
1276
|
|
|
1363
1277
|
function applyButtonMods(mods) {
|
|
1364
1278
|
return [
|
|
@@ -1376,7 +1290,7 @@ const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, ()
|
|
|
1376
1290
|
};
|
|
1377
1291
|
});
|
|
1378
1292
|
|
|
1379
|
-
var css$1x = {"root":"
|
|
1293
|
+
var css$1x = {"root":"woHPv3"};
|
|
1380
1294
|
|
|
1381
1295
|
function applyIconButtonMods(props) {
|
|
1382
1296
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1x.root];
|
|
@@ -1413,7 +1327,7 @@ function getIconClass(props) {
|
|
|
1413
1327
|
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'];
|
|
1414
1328
|
}
|
|
1415
1329
|
|
|
1416
|
-
var css$1w = {"root":"
|
|
1330
|
+
var css$1w = {"root":"ZTC43J"};
|
|
1417
1331
|
|
|
1418
1332
|
const DEFAULT_COLOR = 'primary';
|
|
1419
1333
|
const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
@@ -1434,7 +1348,7 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1434
1348
|
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
1435
1349
|
props.cx,
|
|
1436
1350
|
];
|
|
1437
|
-
const captionStyles = cx(uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || settings.linkButton.
|
|
1351
|
+
const captionStyles = cx(uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || settings.linkButton.weight}`);
|
|
1438
1352
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : settings.linkButton.icons.dropdownIcon;
|
|
1439
1353
|
return (React.createElement(Clickable, { ...props, type: "button", cx: rootStyles, ref: ref },
|
|
1440
1354
|
props.icon && props.iconPosition !== 'right' && (React.createElement(IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
@@ -1443,7 +1357,7 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1443
1357
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1444
1358
|
});
|
|
1445
1359
|
|
|
1446
|
-
var css$1v = {"root":"
|
|
1360
|
+
var css$1v = {"root":"_1frMjM"};
|
|
1447
1361
|
|
|
1448
1362
|
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1449
1363
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
@@ -1455,7 +1369,7 @@ const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1455
1369
|
]) }, props.caption));
|
|
1456
1370
|
});
|
|
1457
1371
|
|
|
1458
|
-
var css$1u = {"root":"
|
|
1372
|
+
var css$1u = {"root":"_1VahVv","withNotify":"_8kfEZv"};
|
|
1459
1373
|
|
|
1460
1374
|
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1461
1375
|
const styles = [
|
|
@@ -1483,14 +1397,14 @@ const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1483
1397
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1484
1398
|
});
|
|
1485
1399
|
|
|
1486
|
-
var css$1t = {"root":"
|
|
1400
|
+
var css$1t = {"root":"IUef9N"};
|
|
1487
1401
|
|
|
1488
1402
|
function applyVerticalTabButtonMods() {
|
|
1489
1403
|
return [css$1t.root, 'uui-vertical-tab-button'];
|
|
1490
1404
|
}
|
|
1491
1405
|
const VerticalTabButton = /* @__PURE__ */withMods(TabButton, applyVerticalTabButtonMods);
|
|
1492
1406
|
|
|
1493
|
-
var css$1s = {"root":"
|
|
1407
|
+
var css$1s = {"root":"Bp2UHf","mode-cell":"_1Uqtfw","modeCell":"_1Uqtfw"};
|
|
1494
1408
|
|
|
1495
1409
|
function applyCheckboxMods(mods) {
|
|
1496
1410
|
return [
|
|
@@ -1508,7 +1422,7 @@ const applyUUICheckboxProps = (props) => {
|
|
|
1508
1422
|
};
|
|
1509
1423
|
const Checkbox = /* @__PURE__ */withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1510
1424
|
|
|
1511
|
-
var css$1r = {"root":"
|
|
1425
|
+
var css$1r = {"root":"_-5DmoE"};
|
|
1512
1426
|
|
|
1513
1427
|
function applyRadioInputMods(mods) {
|
|
1514
1428
|
return [
|
|
@@ -1520,7 +1434,7 @@ function applyRadioInputMods(mods) {
|
|
|
1520
1434
|
}
|
|
1521
1435
|
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
1522
1436
|
|
|
1523
|
-
var css$1q = {"root":"
|
|
1437
|
+
var css$1q = {"root":"AjuVtG"};
|
|
1524
1438
|
|
|
1525
1439
|
function applySwitchMods(mods) {
|
|
1526
1440
|
return [
|
|
@@ -1544,7 +1458,7 @@ var EditMode;
|
|
|
1544
1458
|
EditMode["INLINE"] = "inline";
|
|
1545
1459
|
})(EditMode || (EditMode = {}));
|
|
1546
1460
|
|
|
1547
|
-
var textInputCss = {"root":"
|
|
1461
|
+
var textInputCss = {"root":"TTfjgk","mode-form":"Qk2o3L","modeForm":"Qk2o3L","mode-inline":"dm1GgI","modeInline":"dm1GgI","mode-cell":"Fl6bK4","modeCell":"Fl6bK4"};
|
|
1548
1462
|
|
|
1549
1463
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1550
1464
|
function applyTextInputMods(mods) {
|
|
@@ -1569,7 +1483,7 @@ const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1569
1483
|
} }));
|
|
1570
1484
|
});
|
|
1571
1485
|
|
|
1572
|
-
var css$1p = {"root":"
|
|
1486
|
+
var css$1p = {"root":"ZwTYx-"};
|
|
1573
1487
|
|
|
1574
1488
|
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1p.root, 'uui-control-group']);
|
|
1575
1489
|
|
|
@@ -1585,7 +1499,7 @@ function MultiSwitchComponent(props, ref) {
|
|
|
1585
1499
|
}
|
|
1586
1500
|
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
1587
1501
|
|
|
1588
|
-
var css$1o = {"root":"
|
|
1502
|
+
var css$1o = {"root":"xoKFNg","mode-form":"_1cPmVG","modeForm":"_1cPmVG","mode-cell":"w5ilFU","modeCell":"w5ilFU"};
|
|
1589
1503
|
|
|
1590
1504
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1591
1505
|
function applyNumericInputMods(mods) {
|
|
@@ -1605,7 +1519,7 @@ const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMo
|
|
|
1605
1519
|
};
|
|
1606
1520
|
});
|
|
1607
1521
|
|
|
1608
|
-
var css$1n = {"root":"
|
|
1522
|
+
var css$1n = {"root":"jPjqE0","mode-form":"LIym9b","modeForm":"LIym9b","mode-cell":"P-JaPM","modeCell":"P-JaPM","mode-inline":"a2Oscb","modeInline":"a2Oscb"};
|
|
1609
1523
|
|
|
1610
1524
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1611
1525
|
function applyTextAreaMods(mods) {
|
|
@@ -1646,7 +1560,7 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1646
1560
|
};
|
|
1647
1561
|
}
|
|
1648
1562
|
|
|
1649
|
-
var css$1m = {"root":"
|
|
1563
|
+
var css$1m = {"root":"ECudEW","main-path":"DlNW0B","mainPath":"DlNW0B","content-wrapper":"FPYnTZ","contentWrapper":"FPYnTZ","content":"kobPhA","action-wrapper":"hcEtUS","actionWrapper":"hcEtUS","icon-wrapper":"U11IQC","iconWrapper":"U11IQC","icon":"_40URZK","close-icon":"QuRrST","closeIcon":"QuRrST"};
|
|
1650
1564
|
|
|
1651
1565
|
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", { role: "alert", ref: ref, className: cx('uui-alert', css$1m.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
1652
1566
|
React.createElement("div", { className: css$1m.mainPath },
|
|
@@ -1664,7 +1578,7 @@ const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createE
|
|
|
1664
1578
|
|
|
1665
1579
|
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
1666
1580
|
|
|
1667
|
-
var css$1l = {"root":"
|
|
1581
|
+
var css$1l = {"root":"CZcvSG"};
|
|
1668
1582
|
|
|
1669
1583
|
function applyDropdownContainerMods(mods) {
|
|
1670
1584
|
return [
|
|
@@ -1675,7 +1589,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1675
1589
|
}
|
|
1676
1590
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
1677
1591
|
|
|
1678
|
-
var css$1k = {"submenu-root-item-rtl":"
|
|
1592
|
+
var css$1k = {"submenu-root-item-rtl":"ui-EyN","submenuRootItemRtl":"ui-EyN","icon-after":"udGQs2","iconAfter":"udGQs2","submenu-root-item":"hjiEZ1","submenuRootItem":"hjiEZ1","icon-check":"UjWDqA","iconCheck":"UjWDqA","splitter-root":"XQTxvz","splitterRoot":"XQTxvz","splitter":"TOPnX4","header-root":"LkLeGU","headerRoot":"LkLeGU","item-root":"THqDab","itemRoot":"THqDab","icon":"ya3pbi","link":"SwUT5A","indent":"cKzxGp","selected-mark":"_3XpN6G","selectedMark":"_3XpN6G"};
|
|
1679
1593
|
|
|
1680
1594
|
var IDropdownControlKeys;
|
|
1681
1595
|
(function (IDropdownControlKeys) {
|
|
@@ -1722,7 +1636,7 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1722
1636
|
const handleClick = (event) => {
|
|
1723
1637
|
if (isDisabled || !onClick)
|
|
1724
1638
|
return;
|
|
1725
|
-
onClick(event);
|
|
1639
|
+
!isEventTargetInsideClickable(event) && onClick(event);
|
|
1726
1640
|
context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
|
|
1727
1641
|
};
|
|
1728
1642
|
const handleOpenDropdown = (event) => {
|
|
@@ -1749,12 +1663,8 @@ const DropdownMenuButton = /* @__PURE__ */React__default.forwardRef((props, ref)
|
|
|
1749
1663
|
iconElement))));
|
|
1750
1664
|
};
|
|
1751
1665
|
const isAnchor = Boolean(link || href);
|
|
1752
|
-
const itemClassNames = cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened);
|
|
1753
|
-
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$1k.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__default.createElement(
|
|
1754
|
-
tabIndex: isDisabled ? -1 : 0,
|
|
1755
|
-
role: 'menuitem',
|
|
1756
|
-
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
1757
|
-
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
1666
|
+
const itemClassNames = cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened, (!isDisabled && onClick) && uuiMarkers.clickable);
|
|
1667
|
+
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$1k.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, target: target }, getMenuButtonContent())) : (React__default.createElement("div", { tabIndex: isDisabled ? -1 : 0, role: "menuitem", onKeyDown: isDisabled ? null : handleOpenDropdown, className: itemClassNames, onClick: handleClick, ref: ref },
|
|
1758
1668
|
getMenuButtonContent(),
|
|
1759
1669
|
isSelected && (React__default.createElement(React__default.Fragment, null,
|
|
1760
1670
|
React__default.createElement(FlexSpacer, null),
|
|
@@ -1802,14 +1712,14 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1802
1712
|
onHandleValueChange(!isSelected);
|
|
1803
1713
|
}
|
|
1804
1714
|
};
|
|
1805
|
-
return (React__default.createElement(
|
|
1715
|
+
return (React__default.createElement("div", { className: cx$1(props.cx, css$1k.itemRoot, isDisabled && uuiMod.disabled, (!isDisabled || onValueChange) && uuiMarkers.clickable), onClick: () => onHandleValueChange(!isSelected), role: "menuitem", onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 },
|
|
1806
1716
|
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$1k.iconBefore }),
|
|
1807
1717
|
React__default.createElement(Text$1, null, caption),
|
|
1808
1718
|
React__default.createElement(FlexSpacer, null),
|
|
1809
1719
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1810
1720
|
}
|
|
1811
1721
|
|
|
1812
|
-
var css$1j = {"root":"
|
|
1722
|
+
var css$1j = {"root":"_3131M7","mode-block":"Ywu26i","modeBlock":"Ywu26i","mode-inline":"_9JcrPO","modeInline":"_9JcrPO","padding-0":"_9hrhzr","padding0":"_9hrhzr","padding-6":"lfXkkY","padding6":"lfXkkY","padding-12":"Dv6x4U","padding12":"Dv6x4U","padding-18":"ZH9YIu","padding18":"ZH9YIu"};
|
|
1813
1723
|
|
|
1814
1724
|
function applyAccordionMods(mods) {
|
|
1815
1725
|
return [
|
|
@@ -1822,31 +1732,52 @@ const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordio
|
|
|
1822
1732
|
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
1823
1733
|
}));
|
|
1824
1734
|
|
|
1825
|
-
var css$1i = {"root":"
|
|
1735
|
+
var css$1i = {"root":"ffZ20N","align-items":"bCkRwS","alignItems":"bCkRwS","justify-content":"Hq1Sgc","justifyContent":"Hq1Sgc","border-top":"RM3135","borderTop":"RM3135","border-bottom":"U6UsgT","borderBottom":"U6UsgT","top-shadow":"kOa8dh","topShadow":"kOa8dh","padding":"G1JmsP","margin":"l7a1LW","vPadding":"zhL16N","column-gap":"OwjWXm","columnGap":"OwjWXm","row-gap":"LHmp2K","rowGap":"LHmp2K","spacing-6":"UQtxZt","spacing6":"UQtxZt","spacing-12":"Ok5Ksq","spacing12":"Ok5Ksq","spacing-18":"_2QT6CJ","spacing18":"_2QT6CJ","uui-surface-main":"xKVdX7","uuiSurfaceMain":"xKVdX7"};
|
|
1826
1736
|
|
|
1827
1737
|
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1i.flexCell]);
|
|
1828
1738
|
|
|
1829
|
-
const FlexRow = /* @__PURE__ */
|
|
1739
|
+
const FlexRow = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1830
1740
|
if (process.env.NODE_ENV !== "production") {
|
|
1831
1741
|
if (props.spacing) {
|
|
1832
1742
|
devLogger.warn('[FlexRow]: The `spacing` property is deprecated and will be removed in future versions. Please use `columnGap` instead.');
|
|
1833
1743
|
}
|
|
1834
1744
|
}
|
|
1835
|
-
|
|
1745
|
+
const classNames = cx$1([
|
|
1836
1746
|
css$1i.root,
|
|
1747
|
+
'uui-flex-row',
|
|
1748
|
+
props.onClick && uuiMarkers.clickable,
|
|
1749
|
+
props.cx,
|
|
1837
1750
|
props.size !== null && 'uui-size-' + (props.size || settings.flexRow.sizes.default),
|
|
1838
|
-
props.
|
|
1839
|
-
props.
|
|
1840
|
-
props.
|
|
1751
|
+
props.alignItems && css$1i.alignItems,
|
|
1752
|
+
props.justifyContent && css$1i.justifyContent,
|
|
1753
|
+
props.padding && css$1i.padding,
|
|
1754
|
+
props.vPadding && css$1i.vPadding,
|
|
1755
|
+
props.margin && css$1i.margin,
|
|
1841
1756
|
props.topShadow && css$1i.topShadow,
|
|
1842
1757
|
props.borderBottom && css$1i.borderBottom,
|
|
1843
1758
|
props.borderTop && css$1i.borderTop,
|
|
1759
|
+
props.columnGap && css$1i.columnGap,
|
|
1760
|
+
props.rowGap && css$1i.rowGap,
|
|
1844
1761
|
props.spacing && css$1i['spacing-' + props.spacing],
|
|
1845
1762
|
props.background && css$1i[`uui-${props.background}`],
|
|
1846
|
-
];
|
|
1763
|
+
]);
|
|
1764
|
+
const style = {
|
|
1765
|
+
...(props.alignItems && { '--uui-flex-row-align-items': props.alignItems }),
|
|
1766
|
+
...(props.justifyContent && { '--uui-flex-row-justify-content': props.justifyContent }),
|
|
1767
|
+
...(props.columnGap && { '--uui-flex-row-column-gap': `${props.columnGap}px` }),
|
|
1768
|
+
...(props.rowGap && { '--uui-flex-row-row-gap': `${props.rowGap}px` }),
|
|
1769
|
+
...(props.padding && { '--uui-flex-row-padding': `${props.padding}px` }),
|
|
1770
|
+
...(props.vPadding && { '--uui-flex-row-v-padding': `${props.vPadding}px` }),
|
|
1771
|
+
...(props.margin && { '--uui-flex-row-margin': `${props.margin}px` }),
|
|
1772
|
+
...(props.spacing && { '--uui-flex-row-spacing': `${props.spacing}px` }),
|
|
1773
|
+
};
|
|
1774
|
+
return (React__default.createElement("div", { ref: ref, onClick: props.onClick ? (e) => !isEventTargetInsideClickable(e) && props.onClick(e) : undefined, className: classNames, ...props.rawProps, style: {
|
|
1775
|
+
...style,
|
|
1776
|
+
...props.rawProps?.style,
|
|
1777
|
+
} }, props.children));
|
|
1847
1778
|
});
|
|
1848
1779
|
|
|
1849
|
-
var css$1h = {"root":"
|
|
1780
|
+
var css$1h = {"root":"iQNfWC","margin-24":"Qxkdz-","margin24":"Qxkdz-","padding-12":"Jb6NWH","padding12":"Jb6NWH","padding-24":"x9Bc-Q","padding24":"x9Bc-Q","shadow":"SV6nO9","uui-surface-main":"zKARob","uuiSurfaceMain":"zKARob"};
|
|
1850
1781
|
|
|
1851
1782
|
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
1852
1783
|
'uui-panel',
|
|
@@ -1856,7 +1787,7 @@ const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
|
1856
1787
|
props.background && css$1h[`uui-${props.background}`],
|
|
1857
1788
|
]);
|
|
1858
1789
|
|
|
1859
|
-
var css$1g = {"root":"
|
|
1790
|
+
var css$1g = {"root":"H2dbpX"};
|
|
1860
1791
|
|
|
1861
1792
|
function applyTooltipMods(mods) {
|
|
1862
1793
|
return [
|
|
@@ -1866,7 +1797,7 @@ function applyTooltipMods(mods) {
|
|
|
1866
1797
|
}
|
|
1867
1798
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1868
1799
|
|
|
1869
|
-
var css$1f = {"root":"
|
|
1800
|
+
var css$1f = {"root":"k-D3Zk"};
|
|
1870
1801
|
|
|
1871
1802
|
function applyLabeledInputMods(mods) {
|
|
1872
1803
|
return [
|
|
@@ -1883,7 +1814,7 @@ function applyLabeledInputProps(props) {
|
|
|
1883
1814
|
}
|
|
1884
1815
|
const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
1885
1816
|
|
|
1886
|
-
var css$1e = {"root":"
|
|
1817
|
+
var css$1e = {"root":"Mx3kFA"};
|
|
1887
1818
|
|
|
1888
1819
|
function RadioGroup(props) {
|
|
1889
1820
|
const direction = props.direction || 'vertical';
|
|
@@ -1898,7 +1829,7 @@ function RadioGroup(props) {
|
|
|
1898
1829
|
})));
|
|
1899
1830
|
}
|
|
1900
1831
|
|
|
1901
|
-
var css$1d = {"root":"
|
|
1832
|
+
var css$1d = {"root":"W9MadD"};
|
|
1902
1833
|
|
|
1903
1834
|
function applyScrollBarsMods() {
|
|
1904
1835
|
return [
|
|
@@ -1907,13 +1838,13 @@ function applyScrollBarsMods() {
|
|
|
1907
1838
|
}
|
|
1908
1839
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
1909
1840
|
|
|
1910
|
-
var css$1c = {"scroll-container":"
|
|
1841
|
+
var css$1c = {"scroll-container":"r5ymgV","scrollContainer":"r5ymgV","list-container":"vL7G2y","listContainer":"vL7G2y"};
|
|
1911
1842
|
|
|
1912
|
-
var css$1b = {"root":"
|
|
1843
|
+
var css$1b = {"root":"eaMei5"};
|
|
1913
1844
|
|
|
1914
1845
|
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$1b.root]);
|
|
1915
1846
|
|
|
1916
|
-
var css$1a = {"root":"
|
|
1847
|
+
var css$1a = {"root":"QXWo5S"};
|
|
1917
1848
|
|
|
1918
1849
|
const DEFAULT_FILL = 'solid';
|
|
1919
1850
|
function applyBadgeMods(mods) {
|
|
@@ -1941,7 +1872,7 @@ const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1941
1872
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1942
1873
|
});
|
|
1943
1874
|
|
|
1944
|
-
var css$19 = {"root":"
|
|
1875
|
+
var css$19 = {"root":"_4g5FnY"};
|
|
1945
1876
|
|
|
1946
1877
|
function applyTagMods(props) {
|
|
1947
1878
|
return [
|
|
@@ -1969,14 +1900,14 @@ const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1969
1900
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1970
1901
|
});
|
|
1971
1902
|
|
|
1972
|
-
var css$18 = {"root":"
|
|
1903
|
+
var css$18 = {"root":"m3Q71r","uui-spinner":"YQGQbP","uuiSpinner":"YQGQbP"};
|
|
1973
1904
|
|
|
1974
1905
|
function applySpinnerMods() {
|
|
1975
1906
|
return [css$18.root, 'uui-spinner'];
|
|
1976
1907
|
}
|
|
1977
1908
|
const Spinner = /* @__PURE__ */withMods(Spinner$1, applySpinnerMods);
|
|
1978
1909
|
|
|
1979
|
-
var css$17 = {"root":"
|
|
1910
|
+
var css$17 = {"root":"QHjscC","page":"i166cN","spacer":"u4UqQ0","mode-ghost":"-Anqsg","modeGhost":"-Anqsg"};
|
|
1980
1911
|
|
|
1981
1912
|
function Paginator(props) {
|
|
1982
1913
|
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
|
|
@@ -1993,14 +1924,14 @@ function Paginator(props) {
|
|
|
1993
1924
|
return React__default.createElement(Paginator$1, { ...props, render: renderPaginator });
|
|
1994
1925
|
}
|
|
1995
1926
|
|
|
1996
|
-
var css$16 = {"root":"
|
|
1927
|
+
var css$16 = {"root":"BDU2eY","progress-bar":"hOToff","progressBar":"hOToff","progressBar-indeterminate":"sPfRR7","progressBarIndeterminate":"sPfRR7","size-12":"t7OHC3","size12":"t7OHC3","size-18":"bvnal8","size18":"bvnal8","size-24":"TrVxth","size24":"TrVxth"};
|
|
1997
1928
|
|
|
1998
1929
|
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1999
1930
|
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$16.root, css$16[`size-${props.size || 12}`]) },
|
|
2000
1931
|
React.createElement("div", { className: cx(css$16.progressBar) })));
|
|
2001
1932
|
});
|
|
2002
1933
|
|
|
2003
|
-
var css$15 = {"root":"
|
|
1934
|
+
var css$15 = {"root":"dqdMXf","striped":"yGqFBD","animate-stripes":"VxZzCk","animateStripes":"VxZzCk","size-12":"lyDISV","size12":"lyDISV","size-18":"RAYBZS","size18":"RAYBZS","size-24":"isJe0O","size24":"isJe0O"};
|
|
2004
1935
|
|
|
2005
1936
|
const DEFAULT_SIZE = '12';
|
|
2006
1937
|
function applyProgressBarMods(mods) {
|
|
@@ -2015,14 +1946,14 @@ const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProg
|
|
|
2015
1946
|
hideLabel: props.hideLabel || props.striped,
|
|
2016
1947
|
}));
|
|
2017
1948
|
|
|
2018
|
-
var css$14 = {"root":"
|
|
1949
|
+
var css$14 = {"root":"_9QHUEc"};
|
|
2019
1950
|
|
|
2020
1951
|
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
2021
1952
|
const { progress } = props;
|
|
2022
1953
|
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$14.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$14.root, props.cx) }));
|
|
2023
1954
|
});
|
|
2024
1955
|
|
|
2025
|
-
var css$13 = {"root":"
|
|
1956
|
+
var css$13 = {"root":"RhPrcv"};
|
|
2026
1957
|
|
|
2027
1958
|
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
2028
1959
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
@@ -2037,28 +1968,28 @@ const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
2037
1968
|
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
2038
1969
|
});
|
|
2039
1970
|
|
|
2040
|
-
var css$12 = {"drag-handle":"
|
|
1971
|
+
var css$12 = {"drag-handle":"wXEeDT","dragHandle":"wXEeDT","icon-container":"W-9nPm","iconContainer":"W-9nPm"};
|
|
2041
1972
|
|
|
2042
1973
|
function DataRowAddons(props) {
|
|
2043
1974
|
const row = props.rowProps;
|
|
2044
1975
|
const getIndent = () => {
|
|
2045
|
-
return (row.indent - 1) *
|
|
1976
|
+
return (row.indent - 1) * settings.dataTable.sizes.body.indentUnitMap[props.size || settings.dataTable.sizes.body.row];
|
|
2046
1977
|
};
|
|
2047
1978
|
const getWidth = () => {
|
|
2048
|
-
return settings.
|
|
1979
|
+
return settings.dataTable.sizes.body.indentWidthMap[props.size || settings.dataTable.sizes.body.row];
|
|
2049
1980
|
};
|
|
2050
1981
|
return (React__default.createElement(React__default.Fragment, null,
|
|
2051
1982
|
row.dnd?.srcData && React__default.createElement(DragHandle, { key: "dh", cx: css$12.dragHandle, rawProps: { ...props.eventHandlers } }),
|
|
2052
|
-
row?.checkbox?.isVisible && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.
|
|
1983
|
+
row?.checkbox?.isVisible && (React__default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.dataTable.sizes.body.checkboxMap[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
2053
1984
|
row.indent > 0 && (React__default.createElement("div", { key: "fold", className: cx('uui-dr_addons-indent', `uui-size-${props.size}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__default.createElement(IconContainer, { rawProps: {
|
|
2054
1985
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
2055
1986
|
role: 'button',
|
|
2056
|
-
}, key: "icon", icon: settings.
|
|
1987
|
+
}, key: "icon", icon: settings.dataTable.icons.body.foldingIcon, cx: [
|
|
2057
1988
|
uuiElement.foldingArrow, uuiMarkers.clickable, css$12.iconContainer,
|
|
2058
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.
|
|
1989
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.dataTable.sizes.body.iconMap[props.size || settings.dataTable.sizes.body.row] }))))));
|
|
2059
1990
|
}
|
|
2060
1991
|
|
|
2061
|
-
var css$11 = {"root":"
|
|
1992
|
+
var css$11 = {"root":"Mms63k"};
|
|
2062
1993
|
|
|
2063
1994
|
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$11.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
2064
1995
|
|
|
@@ -2104,7 +2035,7 @@ const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2104
2035
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
2105
2036
|
});
|
|
2106
2037
|
|
|
2107
|
-
var css$10 = {"root":"
|
|
2038
|
+
var css$10 = {"root":"W1mzAl"};
|
|
2108
2039
|
|
|
2109
2040
|
function CheckboxGroup(props) {
|
|
2110
2041
|
const currentValue = props.value || [];
|
|
@@ -2126,13 +2057,13 @@ function CheckboxGroup(props) {
|
|
|
2126
2057
|
})));
|
|
2127
2058
|
}
|
|
2128
2059
|
|
|
2129
|
-
var css$$ = {"root":"
|
|
2060
|
+
var css$$ = {"root":"GRkPdT","modal-blocker":"Dn6N0O","modalBlocker":"Dn6N0O","animateModalBlocker":"b-0qN-","modal":"OOTMbW","modal-footer":"Ar97Yc","modalFooter":"Ar97Yc","border-top":"EH-yIV","borderTop":"EH-yIV","modal-header":"EmrRnf","modalHeader":"EmrRnf","border-bottom":"vib-sC","borderBottom":"vib-sC"};
|
|
2130
2061
|
|
|
2131
2062
|
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$$.modalBlocker]);
|
|
2132
2063
|
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, css$$.modal], (props) => {
|
|
2133
|
-
const width = props.width
|
|
2064
|
+
const width = props.width;
|
|
2134
2065
|
const height = props.height || 'auto';
|
|
2135
|
-
const maxHeight = isMobile() ?
|
|
2066
|
+
const maxHeight = isMobile() ? 'var(--uui-modals-mobile-max-height)' : (props.maxHeight || 'var(--uui-modals-max-height)');
|
|
2136
2067
|
return {
|
|
2137
2068
|
style: {
|
|
2138
2069
|
...props.style,
|
|
@@ -2142,24 +2073,20 @@ const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, cs
|
|
|
2142
2073
|
},
|
|
2143
2074
|
};
|
|
2144
2075
|
});
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2076
|
+
function ModalHeader(props) {
|
|
2077
|
+
return (React__default.createElement("div", { className: cx(css$$.root, css$$.modalHeader, 'uui-modal-header', props.borderBottom && css$$.borderBottom, props.cx), ...props.rawProps, style: {
|
|
2078
|
+
...props.rawProps?.style,
|
|
2079
|
+
} },
|
|
2080
|
+
props.title && (React__default.createElement("div", { className: cx('uui-modal-title', 'uui-typography') }, props.title)),
|
|
2081
|
+
props.children,
|
|
2082
|
+
props.onClose && React__default.createElement(FlexSpacer, null),
|
|
2083
|
+
props.onClose && (React__default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
2084
|
+
React__default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: settings.modal.icons.closeIcon, onClick: props.onClose })))));
|
|
2154
2085
|
}
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
css$$.modalFooter,
|
|
2160
|
-
this.props.cx,
|
|
2161
|
-
], borderTop: this.props.borderTop, padding: this.props.padding || settings.modal.sizes.defaultFooterPadding, vPadding: this.props.vPadding || settings.modal.sizes.defaultFooterVPadding, rawProps: this.props.rawProps }, this.props.children));
|
|
2162
|
-
}
|
|
2086
|
+
function ModalFooter(props) {
|
|
2087
|
+
return (React__default.createElement("div", { className: cx(css$$.root, css$$.modalFooter, 'uui-modal-footer', props.borderTop && css$$.borderTop, props.cx), ...props.rawProps, style: {
|
|
2088
|
+
...props.rawProps?.style,
|
|
2089
|
+
} }, props.children));
|
|
2163
2090
|
}
|
|
2164
2091
|
|
|
2165
2092
|
const TREE_SHAKEABLE_INIT = () => ({
|
|
@@ -2320,7 +2247,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2320
2247
|
});
|
|
2321
2248
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2322
2249
|
|
|
2323
|
-
var css$_ = {"root":"
|
|
2250
|
+
var css$_ = {"root":"_7N5KwP","icon-wrapper":"yCygaA","iconWrapper":"yCygaA","action-wrapper":"_2lQY38","actionWrapper":"_2lQY38","action-link":"_5NAquj","actionLink":"_5NAquj","close-icon":"wxwEAy","closeIcon":"wxwEAy","main-path":"fR2Tsm","mainPath":"fR2Tsm","content":"yAkzZT","close-wrapper":"_7HeorE","closeWrapper":"_7HeorE","notification-wrapper":"Ikr3nk","notificationWrapper":"Ikr3nk","clear-button":"A39vAF","clearButton":"A39vAF"};
|
|
2324
2251
|
|
|
2325
2252
|
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
2326
2253
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -2353,7 +2280,7 @@ function ClearNotification() {
|
|
|
2353
2280
|
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2354
2281
|
}
|
|
2355
2282
|
|
|
2356
|
-
var css$Z = {"footer":"
|
|
2283
|
+
var css$Z = {"footer":"UKxrTp"};
|
|
2357
2284
|
|
|
2358
2285
|
class ConfirmationModal extends React.Component {
|
|
2359
2286
|
render() {
|
|
@@ -2395,7 +2322,7 @@ function useReliableForceUpdate() {
|
|
|
2395
2322
|
return red[1];
|
|
2396
2323
|
}
|
|
2397
2324
|
|
|
2398
|
-
var css$Y = {"root":"
|
|
2325
|
+
var css$Y = {"root":"_8qbP70","timepicker-input":"_8iI9Xz","timepickerInput":"_8iI9Xz","ltr-always":"GoqxMW","ltrAlways":"GoqxMW"};
|
|
2399
2326
|
|
|
2400
2327
|
const uuiTimePicker = {
|
|
2401
2328
|
container: 'uui-timepicker-container',
|
|
@@ -2578,7 +2505,7 @@ function TimePicker(props) {
|
|
|
2578
2505
|
state.value && state.inputValue && saveTime(state.value);
|
|
2579
2506
|
};
|
|
2580
2507
|
const renderInput = (inputProps) => {
|
|
2581
|
-
return (React__default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size
|
|
2508
|
+
return (React__default.createElement(TextInput, { ...inputProps, onClick: null, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$Y.root, css$Y.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input }));
|
|
2582
2509
|
};
|
|
2583
2510
|
const renderBody = (bodyProps) => {
|
|
2584
2511
|
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
@@ -2588,7 +2515,7 @@ function TimePicker(props) {
|
|
|
2588
2515
|
return (React__default.createElement(Dropdown, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, modifiers: [{ name: 'offset', options: { offset: [0, 6] } }], forwardedRef: props.forwardedRef }));
|
|
2589
2516
|
}
|
|
2590
2517
|
|
|
2591
|
-
var css$X = {"root":"
|
|
2518
|
+
var css$X = {"root":"_0EvB8b"};
|
|
2592
2519
|
|
|
2593
2520
|
function applyInputAddonMods() {
|
|
2594
2521
|
return [
|
|
@@ -2597,14 +2524,14 @@ function applyInputAddonMods() {
|
|
|
2597
2524
|
}
|
|
2598
2525
|
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
2599
2526
|
|
|
2600
|
-
var css$W = {"root":"
|
|
2527
|
+
var css$W = {"root":"_1p7ere"};
|
|
2601
2528
|
|
|
2602
2529
|
function applySliderMods() {
|
|
2603
2530
|
return [css$W.root, 'uui-color-neutral'];
|
|
2604
2531
|
}
|
|
2605
2532
|
const Slider = /* @__PURE__ */withMods(Slider$1, applySliderMods);
|
|
2606
2533
|
|
|
2607
|
-
var css$V = {"root":"
|
|
2534
|
+
var css$V = {"root":"nRNd81","tooltip":"_8FGpYj"};
|
|
2608
2535
|
|
|
2609
2536
|
function applyRatingMods(mods) {
|
|
2610
2537
|
return [
|
|
@@ -2618,7 +2545,7 @@ const Rating = /* @__PURE__ */withMods(uuiComponents.Rating, applyRatingMods, (p
|
|
|
2618
2545
|
Tooltip,
|
|
2619
2546
|
}));
|
|
2620
2547
|
|
|
2621
|
-
var css$U = {"root":"
|
|
2548
|
+
var css$U = {"root":"-VD0hh","container":"_34S4zn"};
|
|
2622
2549
|
|
|
2623
2550
|
const defaultFormat = 'MMM D, YYYY';
|
|
2624
2551
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2829,14 +2756,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2829
2756
|
React.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2830
2757
|
}
|
|
2831
2758
|
|
|
2832
|
-
var css$T = {"root":"
|
|
2759
|
+
var css$T = {"root":"z6vmNs"};
|
|
2833
2760
|
|
|
2834
2761
|
function applyDateSelectionMods() {
|
|
2835
|
-
return [css$T.root, `uui-size-${settings.datePicker.sizes.
|
|
2762
|
+
return [css$T.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2836
2763
|
}
|
|
2837
2764
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2838
2765
|
|
|
2839
|
-
var css$S = {"root":"
|
|
2766
|
+
var css$S = {"root":"PPpSD-"};
|
|
2840
2767
|
|
|
2841
2768
|
const uuiDatePickerBody = {
|
|
2842
2769
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2879,7 +2806,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2879
2806
|
return (React__default.createElement(Calendar, { value: selectedDate, month: month, onValueChange: onDayClick, filter: filter, renderDay: renderDay, isHoliday: isHoliday, isDisabled: isDisabled }));
|
|
2880
2807
|
}
|
|
2881
2808
|
};
|
|
2882
|
-
return (React__default.createElement("div", { ref: ref, className: cx$1(uuiDatePickerBodyBase.container, `uui-size-${settings.datePicker.sizes.
|
|
2809
|
+
return (React__default.createElement("div", { ref: ref, className: cx$1(uuiDatePickerBodyBase.container, `uui-size-${settings.datePicker.sizes.body}`, classes), ...rawProps },
|
|
2883
2810
|
React__default.createElement("div", { className: cx$1(css$S.root, uuiDatePickerBody.wrapper) },
|
|
2884
2811
|
React__default.createElement(DatePickerHeader, { value: {
|
|
2885
2812
|
view,
|
|
@@ -2897,7 +2824,7 @@ const modifiers$1 = [{
|
|
|
2897
2824
|
options: { offset: [0, 6] },
|
|
2898
2825
|
}];
|
|
2899
2826
|
function DatePickerComponent(props, ref) {
|
|
2900
|
-
const { format = defaultFormat, value, size = settings.datePicker.sizes.
|
|
2827
|
+
const { format = defaultFormat, value, size = settings.datePicker.sizes.input } = props;
|
|
2901
2828
|
const context = useUuiContext();
|
|
2902
2829
|
const [inputValue, setInputValue] = useState(toCustomDateFormat(value, format));
|
|
2903
2830
|
const [isBodyOpen, setBodyIsOpen] = useState(false);
|
|
@@ -2962,7 +2889,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2962
2889
|
}
|
|
2963
2890
|
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
2964
2891
|
|
|
2965
|
-
var css$R = {"date-input":"
|
|
2892
|
+
var css$R = {"date-input":"KWy5Nx","dateInput":"KWy5Nx","root":"fVggm-","separator":"_-4EA4L","mode-form":"-HscNy","modeForm":"-HscNy","mode-cell":"_97hdBQ","modeCell":"_97hdBQ"};
|
|
2966
2893
|
|
|
2967
2894
|
const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, }, ref) => {
|
|
2968
2895
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
@@ -3013,7 +2940,7 @@ const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid,
|
|
|
3013
2940
|
} : 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 })));
|
|
3014
2941
|
});
|
|
3015
2942
|
|
|
3016
|
-
var css$Q = {"root":"
|
|
2943
|
+
var css$Q = {"root":"bP7mL2"};
|
|
3017
2944
|
|
|
3018
2945
|
const uuiPresets = {
|
|
3019
2946
|
container: 'uui-presets-container',
|
|
@@ -3030,10 +2957,10 @@ const getPresets = (presets) => {
|
|
|
3030
2957
|
function CalendarPresets(props) {
|
|
3031
2958
|
return (React.createElement("div", { ref: props.forwardedRef, className: cx$1(uuiPresets.container, css$Q.root, props.cx), ...props.rawProps },
|
|
3032
2959
|
React.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
3033
|
-
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size:
|
|
2960
|
+
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
3034
2961
|
}
|
|
3035
2962
|
|
|
3036
|
-
var css$P = {"root":"
|
|
2963
|
+
var css$P = {"root":"jGbeTV","container":"ss46Jz","day-selection":"tUz2eZ","daySelection":"tUz2eZ","from-picker":"odWWTO","fromPicker":"odWWTO","to-picker":"ntFt-0","toPicker":"ntFt-0","bodes-wrapper":"cJUS8X","bodesWrapper":"cJUS8X","blocker":"OQEZcA"};
|
|
3037
2964
|
|
|
3038
2965
|
const uuiRangeDatePickerBody = {
|
|
3039
2966
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3208,7 +3135,7 @@ const getDayCX = (day, selectedDate) => {
|
|
|
3208
3135
|
return [cx$1(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiDaySelection.selectedDay)];
|
|
3209
3136
|
};
|
|
3210
3137
|
|
|
3211
|
-
var css$O = {"dropdown-container":"
|
|
3138
|
+
var css$O = {"dropdown-container":"fse70v","dropdownContainer":"fse70v"};
|
|
3212
3139
|
|
|
3213
3140
|
const modifiers = [{
|
|
3214
3141
|
name: 'offset',
|
|
@@ -3276,7 +3203,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3276
3203
|
}
|
|
3277
3204
|
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
3278
3205
|
|
|
3279
|
-
var css$N = {"root":"
|
|
3206
|
+
var css$N = {"root":"fcgGKr","blocker":"LYayiw","marker":"G9kt3a","top":"e9ZTvp","bottom":"yFKRaN","left":"_767gzT","right":"tahKuC","inside":"_1SbJ5P"};
|
|
3280
3207
|
|
|
3281
3208
|
function DropMarker(props) {
|
|
3282
3209
|
return props.isDndInProgress
|
|
@@ -3291,7 +3218,7 @@ function DropMarker(props) {
|
|
|
3291
3218
|
: null;
|
|
3292
3219
|
}
|
|
3293
3220
|
|
|
3294
|
-
var css$M = {"root":"
|
|
3221
|
+
var css$M = {"root":"bVIUSn","line-height":"PiBSoi","lineHeight":"PiBSoi","font-size":"TJ-U2T","fontSize":"TJ-U2T"};
|
|
3295
3222
|
|
|
3296
3223
|
function applyTextMods(mods) {
|
|
3297
3224
|
return [
|
|
@@ -3318,7 +3245,7 @@ const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props)
|
|
|
3318
3245
|
};
|
|
3319
3246
|
});
|
|
3320
3247
|
|
|
3321
|
-
var css$L = {"root":"
|
|
3248
|
+
var css$L = {"root":"WQ5Q7s","loading-word":"q5IqY3","loadingWord":"q5IqY3","animated-loading":"_0EMt40","animatedLoading":"_0EMt40","skeleton_loading":"kjLWZu","skeletonLoading":"kjLWZu"};
|
|
3322
3249
|
|
|
3323
3250
|
const TextPlaceholder = (props) => {
|
|
3324
3251
|
const pattern = ' ';
|
|
@@ -3337,7 +3264,7 @@ const TextPlaceholder = (props) => {
|
|
|
3337
3264
|
|
|
3338
3265
|
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
3339
3266
|
|
|
3340
|
-
var css$K = {"modal":"
|
|
3267
|
+
var css$K = {"modal":"arlA04","search-wrapper":"xgAUF4","searchWrapper":"xgAUF4","no-data":"-bZWnM","noData":"-bZWnM","type-search-to-load-size-24":"F4k1w2","typeSearchToLoadSize24":"F4k1w2"};
|
|
3341
3268
|
|
|
3342
3269
|
class DataPickerBody extends PickerBodyBase {
|
|
3343
3270
|
constructor() {
|
|
@@ -3378,7 +3305,7 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
3378
3305
|
render() {
|
|
3379
3306
|
const searchSize = this.getSearchSize();
|
|
3380
3307
|
return (React__default.createElement(React__default.Fragment, null,
|
|
3381
|
-
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$K.searchWrapper },
|
|
3308
|
+
this.showSearch() && (React__default.createElement("div", { key: "search", className: cx$1(css$K.searchWrapper, 'uui-picker_input-body-search') },
|
|
3382
3309
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
3383
3310
|
React__default.createElement(SearchInput, { ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder, ...this.searchLens.toProps(), onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay, rawProps: { dir: 'auto' } })))),
|
|
3384
3311
|
React__default.createElement(FlexRow, { key: "body", cx: cx$1('uui-picker_input-body', css$K[this.props.editMode], css$K[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight, maxWidth: this.props.maxWidth } } }, this.props.rows.length === 0 && this.props.value.topIndex === 0
|
|
@@ -3388,7 +3315,7 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
3388
3315
|
}
|
|
3389
3316
|
}
|
|
3390
3317
|
|
|
3391
|
-
var css$J = {"footer":"
|
|
3318
|
+
var css$J = {"footer":"wPqX4O"};
|
|
3392
3319
|
|
|
3393
3320
|
function DataPickerFooterImpl(props) {
|
|
3394
3321
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
@@ -3414,17 +3341,17 @@ function DataPickerFooterImpl(props) {
|
|
|
3414
3341
|
}
|
|
3415
3342
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
3416
3343
|
|
|
3417
|
-
var css$I = {"header":"
|
|
3344
|
+
var css$I = {"header":"tB-Mcy","title":"KQr7OH","close":"Q3MCTf"};
|
|
3418
3345
|
|
|
3419
3346
|
const DataPickerHeaderImpl = (props) => {
|
|
3420
3347
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
3421
|
-
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$I.header },
|
|
3422
|
-
React__default.createElement(
|
|
3348
|
+
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: [css$I.header, 'uui-picker_input-body-header'] },
|
|
3349
|
+
React__default.createElement("div", { className: css$I.title }, title),
|
|
3423
3350
|
React__default.createElement(IconButton, { icon: settings.pickerInput.icons.body.pickerBodyMobileHeaderCloseIcon, onClick: () => props.close?.(), cx: css$I.close })));
|
|
3424
3351
|
};
|
|
3425
3352
|
const DataPickerHeader = /* @__PURE__ */React__default.memo(DataPickerHeaderImpl);
|
|
3426
3353
|
|
|
3427
|
-
var css$H = {"root":"
|
|
3354
|
+
var css$H = {"root":"HhcgUX","align-widgets-top":"hK-9oZ","alignWidgetsTop":"hK-9oZ","align-widgets-center":"JXYBxf","alignWidgetsCenter":"JXYBxf","icon-container":"qOnYvL","iconContainer":"qOnYvL","loading-cell":"ib9OA2","loadingCell":"ib9OA2","content-wrapper":"xpyHIX","contentWrapper":"xpyHIX","render-item":"UYZW4D","renderItem":"UYZW4D","icon-wrapper":"_5K3S-K","iconWrapper":"_5K3S-K","icon-default":"_5itHyi","iconDefault":"_5itHyi","selected-mark":"uMkwgi","selectedMark":"uMkwgi"};
|
|
3428
3355
|
|
|
3429
3356
|
function DataPickerCell(props) {
|
|
3430
3357
|
const ref = React.useRef();
|
|
@@ -3432,21 +3359,21 @@ function DataPickerCell(props) {
|
|
|
3432
3359
|
if (props.rowProps.isLoading) {
|
|
3433
3360
|
content = (
|
|
3434
3361
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
3435
|
-
React.createElement(Text, { key: "t", size:
|
|
3362
|
+
React.createElement(Text, { key: "t", size: props.size, cx: css$H.loadingCell },
|
|
3436
3363
|
React.createElement(TextPlaceholder, null)));
|
|
3437
3364
|
}
|
|
3438
3365
|
else if (props.rowProps.isUnknown) {
|
|
3439
|
-
content = (React.createElement(Text, { key: "t", size:
|
|
3366
|
+
content = (React.createElement(Text, { key: "t", size: props.size }, "Unknown"));
|
|
3440
3367
|
}
|
|
3441
3368
|
else {
|
|
3442
|
-
const SelectIcon = settings.pickerInput.
|
|
3443
|
-
? settings.pickerInput.icons.body.
|
|
3444
|
-
: settings.pickerInput.icons.body.selectIcon;
|
|
3369
|
+
const SelectIcon = (typeof settings.pickerInput.icons.body.selectIcon === 'function'
|
|
3370
|
+
? settings.pickerInput.icons.body.selectIcon(props.size)
|
|
3371
|
+
: settings.pickerInput.icons.body.selectIcon);
|
|
3445
3372
|
content = (React.createElement("div", { key: `${props.rowProps.id}`, className: css$H.renderItem },
|
|
3446
3373
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
3447
3374
|
React.createElement(FlexSpacer, null),
|
|
3448
|
-
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React.createElement("div", { className: cx$1(css$H.iconWrapper, uuiMod.selected) },
|
|
3449
|
-
React.createElement(IconContainer, { size: settings.pickerInput.sizes.body.
|
|
3375
|
+
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React.createElement("div", { className: cx$1(css$H.iconWrapper, 'uui-picker_input-cell-select_icon', uuiMod.selected) },
|
|
3376
|
+
React.createElement(IconContainer, { size: settings.pickerInput.sizes.body.selectIconMap[props.size], icon: SelectIcon, cx: props.rowProps.isChildrenSelected ? css$H.iconDefault : css$H.selectedMark, rawProps: { 'aria-label': props.rowProps.isChildrenSelected
|
|
3450
3377
|
? 'Child is selected'
|
|
3451
3378
|
: 'Selected' } })))));
|
|
3452
3379
|
}
|
|
@@ -3454,31 +3381,32 @@ function DataPickerCell(props) {
|
|
|
3454
3381
|
return (React.createElement(FlexCell, { ref: ref, grow: 1, width: 0, minWidth: 0, rawProps: { role: 'cell' }, cx: [
|
|
3455
3382
|
css$H.root,
|
|
3456
3383
|
props.cx,
|
|
3384
|
+
'uui-picker_input-cell',
|
|
3457
3385
|
'data-picker-cell',
|
|
3458
3386
|
props.size && `uui-size-${props.size}`,
|
|
3459
3387
|
css$H[`align-widgets-${props.alignActions || 'top'}`],
|
|
3460
3388
|
], style: props.padding && {
|
|
3461
|
-
'--uui-
|
|
3389
|
+
'--uui-data_picker-horizontal-padding': `${props.padding}px`,
|
|
3462
3390
|
} },
|
|
3463
3391
|
React.createElement(DataRowAddons, { size: props.size, ...props, tabIndex: -1 }),
|
|
3464
3392
|
getWrappedContent()));
|
|
3465
3393
|
}
|
|
3466
3394
|
|
|
3467
|
-
var css$G = {"picker-row":"
|
|
3395
|
+
var css$G = {"picker-row":"xRksz9","pickerRow":"xRksz9"};
|
|
3468
3396
|
|
|
3469
3397
|
class DataPickerRow extends React.Component {
|
|
3470
3398
|
constructor() {
|
|
3471
3399
|
super(...arguments);
|
|
3472
3400
|
this.renderContent = () => {
|
|
3473
|
-
return (React.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.pickerInput.sizes.body.
|
|
3401
|
+
return (React.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.pickerInput.sizes.body.row, padding: this.props.padding, rowProps: this.props, alignActions: this.props.alignActions || 'top', renderItem: this.props.renderItem }));
|
|
3474
3402
|
};
|
|
3475
3403
|
}
|
|
3476
3404
|
render() {
|
|
3477
|
-
return (React.createElement(DataPickerRow$1, { ...this.props, cx: [css$G.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
3405
|
+
return (React.createElement(DataPickerRow$1, { ...this.props, cx: [css$G.pickerRow, 'uui-picker_input-row', this.props.cx], renderContent: this.renderContent }));
|
|
3478
3406
|
}
|
|
3479
3407
|
}
|
|
3480
3408
|
|
|
3481
|
-
var css$F = {"done":"
|
|
3409
|
+
var css$F = {"done":"Hp6d9O","container":"W4n9iR"};
|
|
3482
3410
|
|
|
3483
3411
|
const PickerBodyMobileView = (props) => {
|
|
3484
3412
|
const isMobileView = isMobile();
|
|
@@ -3555,28 +3483,28 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3555
3483
|
return getDecoratedText(str, ranges);
|
|
3556
3484
|
};
|
|
3557
3485
|
|
|
3558
|
-
var css$E = {"root":"
|
|
3486
|
+
var css$E = {"root":"rCIvMT","column-gap":"ILldhK","columnGap":"ILldhK","title":"magf6q","subtitle":"_17ltOR","disabled":"AofeyH","multiline":"U314R-"};
|
|
3559
3487
|
|
|
3560
3488
|
function PickerItem(props) {
|
|
3561
|
-
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon,
|
|
3562
|
-
const itemSize = size || settings.pickerInput.sizes.body.
|
|
3489
|
+
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
3490
|
+
const itemSize = size || settings.pickerInput.sizes.body.row;
|
|
3563
3491
|
const isMultiline = !!(props.title && props.subtitle);
|
|
3564
3492
|
const { search } = props.dataSourceState ?? {};
|
|
3565
3493
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
3566
3494
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(props.subtitle, search) : props.subtitle;
|
|
3567
|
-
return (React.createElement(FlexCell, { width: "auto", cx: [css$E.root, 'uui-typography', cx] },
|
|
3495
|
+
return (React.createElement(FlexCell, { width: "auto", cx: [css$E.root, 'uui-picker_input-item', 'uui-typography', props.cx] },
|
|
3568
3496
|
React.createElement(FlexRow, { size: itemSize, cx: [isMultiline && css$E.multiline, css$E.columnGap], rawProps: { style: { '--uui-picker_item-vertical-padding': `${settings.pickerInput.sizes.body.itemVerticalPaddingMap[itemSize]}px` } } },
|
|
3569
3497
|
avatarUrl && (React.createElement(Avatar, { isLoading: isLoading, img: avatarUrl, size: getAvatarSize(itemSize, isMultiline) })),
|
|
3570
3498
|
icon && React.createElement(IconContainer, { icon: icon }),
|
|
3571
3499
|
React.createElement(FlexCell, { width: "auto" },
|
|
3572
|
-
title && (React.createElement(
|
|
3573
|
-
subtitle && (React.createElement(
|
|
3500
|
+
title && (React.createElement("div", { className: cx(css$E.title, isDisabled && css$E.disabled, `uui-size-${itemSize}`) }, title)),
|
|
3501
|
+
subtitle && (React.createElement("div", { className: cx(css$E.subtitle, isDisabled && css$E.disabled, `uui-size-${itemSize}`) }, subtitle))))));
|
|
3574
3502
|
}
|
|
3575
3503
|
function getAvatarSize(size, isMultiline) {
|
|
3576
3504
|
return settings.pickerInput.sizes.body[isMultiline ? 'itemAvatarMultilineMap' : 'itemAvatarMap'][size];
|
|
3577
3505
|
}
|
|
3578
3506
|
|
|
3579
|
-
var css$D = {"sub-header-wrapper":"
|
|
3507
|
+
var css$D = {"sub-header-wrapper":"P3mvgh","subHeaderWrapper":"P3mvgh","switch":"Qqybbp","no-found-modal-container":"e14vwO","noFoundModalContainer":"e14vwO","no-found-modal-container-icon":"Fvl7ZH","noFoundModalContainerIcon":"Fvl7ZH","no-found-modal-container-text":"NrgMHA","noFoundModalContainerText":"NrgMHA"};
|
|
3580
3508
|
|
|
3581
3509
|
function PickerModal(props) {
|
|
3582
3510
|
const { view, selection, dataSourceStateLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = usePickerModal(props);
|
|
@@ -3590,10 +3518,10 @@ function PickerModal(props) {
|
|
|
3590
3518
|
};
|
|
3591
3519
|
const renderItem = (item, rowProps, dsState) => {
|
|
3592
3520
|
const { flattenSearchResults } = view.getConfig();
|
|
3593
|
-
return (React__default.createElement(PickerItem, { title: getName(item),
|
|
3521
|
+
return (React__default.createElement(PickerItem, { title: getName(item), dataSourceState: dsState, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3594
3522
|
};
|
|
3595
3523
|
const renderRow = (rowProps) => {
|
|
3596
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, padding: "24",
|
|
3524
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, padding: "24", renderItem: (item, itemProps) => renderItem(item, itemProps, dataSourceState) }));
|
|
3597
3525
|
};
|
|
3598
3526
|
const renderFooter = () => {
|
|
3599
3527
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
@@ -3608,8 +3536,8 @@ function PickerModal(props) {
|
|
|
3608
3536
|
const renderNotFound = () => {
|
|
3609
3537
|
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__default.createElement("div", { className: css$D.noFoundModalContainer },
|
|
3610
3538
|
React__default.createElement(IconContainer, { cx: css$D.noFoundModalContainerIcon, icon: settings.pickerInput.icons.body.modalNotFoundSearchIcon }),
|
|
3611
|
-
React__default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontWeight: "600", fontSize: "16", lineHeight: "24", color: "primary"
|
|
3612
|
-
React__default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary"
|
|
3539
|
+
React__default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontWeight: "600", fontSize: "16", lineHeight: "24", color: "primary" }, i18n.dataPickerBody.noRecordsMessage),
|
|
3540
|
+
React__default.createElement(Text, { cx: css$D.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
3613
3541
|
};
|
|
3614
3542
|
const dataRows = getRows();
|
|
3615
3543
|
const rows = dataRows.map((row) => renderRow(row));
|
|
@@ -3625,13 +3553,13 @@ function PickerModal(props) {
|
|
|
3625
3553
|
rows: dataRows,
|
|
3626
3554
|
searchPosition: 'body',
|
|
3627
3555
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder, rawProps: { dir: 'auto' } })),
|
|
3628
|
-
!isSingleSelect() && (React__default.createElement(Switch, { cx: css$D.switch, size:
|
|
3556
|
+
!isSingleSelect() && (React__default.createElement(Switch, { cx: css$D.switch, size: settings.pickerInput.sizes.body.footerSwitchMap[settings.pickerInput.sizes.body.row], ...getFooterProps().showSelected, isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" })),
|
|
3629
3557
|
props.renderFilter && React__default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
3630
3558
|
React__default.createElement(DataPickerBody, { ...getListProps(), value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" }),
|
|
3631
|
-
React__default.createElement(ModalFooter,
|
|
3559
|
+
React__default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3632
3560
|
}
|
|
3633
3561
|
|
|
3634
|
-
var css$C = {"tooltip":"
|
|
3562
|
+
var css$C = {"tooltip":"W13Z6-"};
|
|
3635
3563
|
|
|
3636
3564
|
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3637
3565
|
const tagProps = {
|
|
@@ -3650,7 +3578,7 @@ const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3650
3578
|
}
|
|
3651
3579
|
});
|
|
3652
3580
|
|
|
3653
|
-
var css$B = {"root":"
|
|
3581
|
+
var css$B = {"root":"rCoQlF","mode-form":"K6TUt-","modeForm":"K6TUt-","mode-cell":"NUa-OE","modeCell":"NUa-OE","mode-inline":"_2x-uYn","modeInline":"_2x-uYn"};
|
|
3654
3582
|
|
|
3655
3583
|
const defaultMode = EditMode.FORM;
|
|
3656
3584
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3663,7 +3591,7 @@ function applyPickerTogglerMods(mods) {
|
|
|
3663
3591
|
}
|
|
3664
3592
|
function PickerTogglerComponent(props, ref) {
|
|
3665
3593
|
const renderItem = (itemProps) => {
|
|
3666
|
-
const itemPropsWithSize = { ...itemProps, size: props.size || settings.pickerInput.sizes.toggler.
|
|
3594
|
+
const itemPropsWithSize = { ...itemProps, size: props.size || settings.pickerInput.sizes.toggler.tag };
|
|
3667
3595
|
if (!!props.renderItem) {
|
|
3668
3596
|
return props.renderItem(itemPropsWithSize);
|
|
3669
3597
|
}
|
|
@@ -3711,15 +3639,13 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3711
3639
|
const footerProps = getFooterProps();
|
|
3712
3640
|
return props.renderFooter
|
|
3713
3641
|
? props.renderFooter(footerProps)
|
|
3714
|
-
: React__default.createElement(DataPickerFooter, { ...footerProps, size: props.size || settings.pickerInput.sizes.body.
|
|
3642
|
+
: React__default.createElement(DataPickerFooter, { ...footerProps, size: props.size || settings.pickerInput.sizes.body.row });
|
|
3715
3643
|
};
|
|
3716
3644
|
const getRowSize = () => {
|
|
3717
3645
|
if (isMobile()) {
|
|
3718
3646
|
return settings.pickerInput.sizes.body.mobileRow;
|
|
3719
3647
|
}
|
|
3720
|
-
return props.
|
|
3721
|
-
? settings.pickerInput.sizes.body.modalRow
|
|
3722
|
-
: (props.size || settings.pickerInput.sizes.body.defaultRow);
|
|
3648
|
+
return props.size || settings.pickerInput.sizes.body.row;
|
|
3723
3649
|
};
|
|
3724
3650
|
const getSubtitle = ({ path }, { search }) => {
|
|
3725
3651
|
if (!search)
|
|
@@ -3734,13 +3660,13 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3734
3660
|
return (React__default.createElement(PickerItem, { title: getName(item), size: getRowSize(), dataSourceState: dsState, highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), ...rowProps }));
|
|
3735
3661
|
};
|
|
3736
3662
|
const renderRow = (rowProps, dsState) => {
|
|
3737
|
-
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding: props.editMode === '
|
|
3663
|
+
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__default.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: getRowSize(), padding: props.editMode === 'dropdown' ? settings.pickerInput.sizes.body.padding : undefined, renderItem: (item, itemProps) => renderRowItem(item, itemProps, dsState) }));
|
|
3738
3664
|
};
|
|
3739
3665
|
const renderBody = (bodyProps, rows) => {
|
|
3740
3666
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
3741
3667
|
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.pickerInput.sizes.body.maxHeight;
|
|
3742
3668
|
const minBodyWidth = props.minBodyWidth || settings.pickerInput.sizes.body.minWidth;
|
|
3743
|
-
return (React__default.createElement(PickerBodyMobileView, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx], onKeyDown: bodyProps.onKeyDown, width: bodyProps.togglerWidth > minBodyWidth ? bodyProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
|
|
3669
|
+
return (React__default.createElement(PickerBodyMobileView, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx, 'uui-picker_input-body-wrapper'], onKeyDown: bodyProps.onKeyDown, width: bodyProps.togglerWidth > minBodyWidth ? bodyProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
|
|
3744
3670
|
React__default.createElement(DataPickerBody, { ...bodyProps, rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode }),
|
|
3745
3671
|
renderFooter()));
|
|
3746
3672
|
};
|
|
@@ -3753,7 +3679,7 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3753
3679
|
}
|
|
3754
3680
|
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
3755
3681
|
|
|
3756
|
-
var css$A = {"row":"
|
|
3682
|
+
var css$A = {"row":"mDnKOK"};
|
|
3757
3683
|
|
|
3758
3684
|
function PickerListItem(props) {
|
|
3759
3685
|
let label;
|
|
@@ -3773,7 +3699,7 @@ function PickerListItem(props) {
|
|
|
3773
3699
|
return (React__default.createElement("div", { role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1, ...(props.checkbox?.isVisible && { 'aria-checked': props.isChecked }), className: css$A.row }, component));
|
|
3774
3700
|
}
|
|
3775
3701
|
|
|
3776
|
-
var css$z = {"root":"
|
|
3702
|
+
var css$z = {"root":"A7Wa-A"};
|
|
3777
3703
|
|
|
3778
3704
|
function PickerList(props) {
|
|
3779
3705
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = usePickerList(props);
|
|
@@ -3808,7 +3734,7 @@ function PickerList(props) {
|
|
|
3808
3734
|
}, selectedRows)));
|
|
3809
3735
|
}
|
|
3810
3736
|
|
|
3811
|
-
var css$y = {"root":"
|
|
3737
|
+
var css$y = {"root":"_1XdjbN","wrapper":"qzABZz","align-widgets-top":"_1Dc-ud","alignWidgetsTop":"_1Dc-ud","align-widgets-center":"ARkF0y","alignWidgetsCenter":"ARkF0y"};
|
|
3812
3738
|
|
|
3813
3739
|
function DataTableCell(initialProps) {
|
|
3814
3740
|
const props = { ...initialProps };
|
|
@@ -3816,48 +3742,48 @@ function DataTableCell(initialProps) {
|
|
|
3816
3742
|
props.addons = React.createElement(DataRowAddons, { size: props.size, ...props });
|
|
3817
3743
|
}
|
|
3818
3744
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3819
|
-
|| (() => (React.createElement(Text, { key: "t", size:
|
|
3745
|
+
|| (() => (React.createElement(Text, { key: "t", size: props.size },
|
|
3820
3746
|
React.createElement(TextPlaceholder, { isNotAnimated: true }))));
|
|
3821
3747
|
props.renderUnknown = props.renderUnknown
|
|
3822
|
-
|| (() => (React.createElement(Text, { key: "t", size:
|
|
3748
|
+
|| (() => (React.createElement(Text, { key: "t", size: props.size }, "Unknown")));
|
|
3823
3749
|
props.renderTooltip = (tooltipProps) => React.createElement(Tooltip, { color: "critical", ...tooltipProps });
|
|
3824
3750
|
const isEditable = !!props.onValueChange;
|
|
3825
3751
|
const getLeftPadding = () => {
|
|
3826
3752
|
const { rowProps: { isLoading }, columnsGap, isFirstColumn } = props;
|
|
3827
3753
|
if (isFirstColumn && isEditable && !isLoading)
|
|
3828
|
-
return
|
|
3754
|
+
return 'var(--uui-dt-cell-padding)';
|
|
3829
3755
|
if (isEditable && !isLoading)
|
|
3830
|
-
return '
|
|
3756
|
+
return '0px';
|
|
3831
3757
|
if (columnsGap)
|
|
3832
|
-
return isFirstColumn ? columnsGap : +columnsGap / 2
|
|
3833
|
-
return isFirstColumn ?
|
|
3758
|
+
return isFirstColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3759
|
+
return `var(--uui-dt-cell-padding${isFirstColumn ? '-edge' : ''})`;
|
|
3834
3760
|
};
|
|
3835
3761
|
const getRightPadding = () => {
|
|
3836
3762
|
const { rowProps: { isLoading }, columnsGap, isLastColumn } = props;
|
|
3837
3763
|
if (isEditable && !isLoading)
|
|
3838
|
-
return '
|
|
3764
|
+
return '0px';
|
|
3839
3765
|
if (columnsGap)
|
|
3840
|
-
return isLastColumn ? columnsGap : +columnsGap / 2
|
|
3841
|
-
return isLastColumn ?
|
|
3766
|
+
return isLastColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3767
|
+
return `var(--uui-dt-cell-padding${isLastColumn ? '-edge' : ''})`;
|
|
3842
3768
|
};
|
|
3843
3769
|
props.cx = [
|
|
3844
3770
|
'data-table-cell',
|
|
3845
3771
|
css$y.root,
|
|
3846
3772
|
props.cx,
|
|
3847
|
-
'uui-size-' + (props.size || settings.dataTable.sizes.body.
|
|
3773
|
+
'uui-size-' + (props.size || settings.dataTable.sizes.body.row),
|
|
3848
3774
|
props.isFirstColumn && 'uui-dt-first-column',
|
|
3849
3775
|
props.isLastColumn && 'uui-dt-last-column',
|
|
3850
3776
|
css$y[`align-widgets-${props.alignActions || 'top'}`],
|
|
3851
3777
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
3852
3778
|
];
|
|
3853
3779
|
props.style = {
|
|
3854
|
-
'--uui-dt-cell-padding-start':
|
|
3855
|
-
'--uui-dt-cell-padding-end':
|
|
3780
|
+
'--uui-dt-cell-padding-start': getLeftPadding(),
|
|
3781
|
+
'--uui-dt-cell-padding-end': getRightPadding(),
|
|
3856
3782
|
};
|
|
3857
3783
|
return React.createElement(DataTableCell$1, { ...props });
|
|
3858
3784
|
}
|
|
3859
3785
|
|
|
3860
|
-
var css$x = {"root":"
|
|
3786
|
+
var css$x = {"root":"u8eQGK"};
|
|
3861
3787
|
|
|
3862
3788
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3863
3789
|
// 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.
|
|
@@ -3869,11 +3795,11 @@ const renderDropMarkers = ({ ref, ...props }) => React.createElement(DropMarker,
|
|
|
3869
3795
|
const propsMods = { renderCell, renderDropMarkers };
|
|
3870
3796
|
const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = true, size }) => {
|
|
3871
3797
|
return [
|
|
3872
|
-
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.dataTable.sizes.body.
|
|
3798
|
+
css$x.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', `uui-size-${size || settings.dataTable.sizes.body.row}`,
|
|
3873
3799
|
];
|
|
3874
3800
|
}, () => propsMods);
|
|
3875
3801
|
|
|
3876
|
-
var css$w = {"sorting-panel-container":"
|
|
3802
|
+
var css$w = {"sorting-panel-container":"C87L3Z","sortingPanelContainer":"C87L3Z"};
|
|
3877
3803
|
|
|
3878
3804
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3879
3805
|
const sortAsc = useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
@@ -3898,7 +3824,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3898
3824
|
};
|
|
3899
3825
|
const ColumnHeaderDropdown = /* @__PURE__ */React__default.memo(ColumnHeaderDropdownImpl);
|
|
3900
3826
|
|
|
3901
|
-
var css$v = {"root":"
|
|
3827
|
+
var css$v = {"root":"nNFVjv","caption-wrapper":"npggj0","captionWrapper":"npggj0","sort-icon":"GUsQeW","sortIcon":"GUsQeW","dropdown-icon":"DJqWZt","dropdownIcon":"DJqWZt","infoIcon":"_2lxre3","resizable":"D0sOqj","align-right":"T69CmV","alignRight":"T69CmV","align-center":"_2wpxL-","alignCenter":"_2wpxL-","caption":"_53eWUr","truncate":"fOr1cr","upper-case":"-f1SyF","upperCase":"-f1SyF","checkbox":"kjRHKF","icon":"xFUjYH","fold-all-icon":"Kv11HJ","foldAllIcon":"Kv11HJ","cell-tooltip":"_6J-M-f","cellTooltip":"_6J-M-f","resizing-marker":"SlqAyw","resizingMarker":"SlqAyw","pinned-right":"pVdQnj","pinnedRight":"pVdQnj","draggable":"Uu4dPC","ghost":"A9Vqiq","is-dragged-out":"SbCP43","isDraggedOut":"SbCP43","dnd-marker-left":"_2Kato0","dndMarkerLeft":"_2Kato0","dnd-marker-right":"mpFa3g","dndMarkerRight":"mpFa3g","cell-tooltip-wrapper":"R17D1Q","cellTooltipWrapper":"R17D1Q","cell-tooltip-text":"_4Rswgk","cellTooltipText":"_4Rswgk","tooltip-caption":"_3Atr3M","tooltipCaption":"_3Atr3M","tooltip-info":"ZLOO7Q","tooltipInfo":"ZLOO7Q"};
|
|
3902
3828
|
|
|
3903
3829
|
class DataTableHeaderCell extends React.Component {
|
|
3904
3830
|
constructor() {
|
|
@@ -3911,22 +3837,23 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3911
3837
|
column.info && (React.createElement(Text, { cx: [css$v.cellTooltipText, css$v.tooltipInfo] }, column.info))));
|
|
3912
3838
|
this.getColumnCaption = () => {
|
|
3913
3839
|
const renderTooltip = this.props.column.renderTooltip || this.getTooltipContent;
|
|
3914
|
-
const captionCx = [
|
|
3840
|
+
const captionCx = cx$1([
|
|
3915
3841
|
css$v.caption,
|
|
3916
3842
|
this.props.textCase === 'upper' && css$v.upperCase,
|
|
3917
3843
|
uuiDataTableHeaderCell.uuiTableHeaderCaption,
|
|
3844
|
+
'uui-typography-inline',
|
|
3918
3845
|
this.props.size >= '48' && css$v.truncate,
|
|
3919
|
-
];
|
|
3846
|
+
]);
|
|
3920
3847
|
return (React.createElement("div", { className: cx$1(css$v.captionWrapper, css$v['align-' + this.props.column.textAlign], uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3921
3848
|
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.column), cx: css$v.cellTooltip, openDelay: 600 },
|
|
3922
|
-
React.createElement(
|
|
3849
|
+
React.createElement("div", { key: "text", className: captionCx }, this.props.column.caption)),
|
|
3923
3850
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$v.icon, css$v.sortIcon, this.props.sortDirection && css$v.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: settings.dataTable.icons.header[this.props.sortDirection === 'desc' ? 'descSortIcon' : this.props.sortDirection === 'asc' ? 'ascSortIcon' : 'defaultSortIcon'] })),
|
|
3924
3851
|
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$v.icon, !this.props.sortDirection && css$v.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: settings.dataTable.icons.header.filterIcon })),
|
|
3925
3852
|
this.props.column.renderFilter && (React.createElement(IconButton, { key: "dropdown", cx: cx$1(css$v.icon, css$v.dropdownIcon, uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: settings.dataTable.icons.header[this.state.isDropdownOpen ? 'openedDropdownIcon' : 'dropdownIcon'] }))));
|
|
3926
3853
|
};
|
|
3927
3854
|
this.renderHeaderCheckbox = () => {
|
|
3928
3855
|
if (this.props.selectAll && this.props.isFirstColumn) {
|
|
3929
|
-
return (React.createElement(Checkbox, { size: settings.dataTable.sizes.
|
|
3856
|
+
return (React.createElement(Checkbox, { size: settings.dataTable.sizes.body.checkboxMap[this.props.size], ...this.props.selectAll, cx: cx$1(css$v.checkbox, uuiDataTableHeaderCell.uuiTableHeaderCheckbox) }));
|
|
3930
3857
|
}
|
|
3931
3858
|
};
|
|
3932
3859
|
this.renderFoldAllIcon = () => {
|
|
@@ -3946,32 +3873,32 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3946
3873
|
this.getLeftPadding = () => {
|
|
3947
3874
|
const { columnsGap, isFirstColumn } = this.props;
|
|
3948
3875
|
if (columnsGap)
|
|
3949
|
-
return isFirstColumn ? columnsGap : +columnsGap / 2
|
|
3950
|
-
return isFirstColumn ?
|
|
3876
|
+
return isFirstColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3877
|
+
return `var(--uui-dt-header-cell-padding${isFirstColumn ? '-edge' : ''})`;
|
|
3951
3878
|
};
|
|
3952
3879
|
this.getRightPadding = () => {
|
|
3953
3880
|
const { columnsGap, isLastColumn } = this.props;
|
|
3954
3881
|
if (columnsGap)
|
|
3955
|
-
return isLastColumn ? columnsGap : +columnsGap / 2
|
|
3956
|
-
return isLastColumn ?
|
|
3882
|
+
return isLastColumn ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3883
|
+
return `var(--uui-dt-header-cell-padding${isLastColumn ? '-edge' : ''})`;
|
|
3957
3884
|
};
|
|
3958
3885
|
this.getResizingMarkerWidth = () => {
|
|
3959
3886
|
const { columnsGap } = this.props;
|
|
3960
|
-
return columnsGap ? +columnsGap / 2 :
|
|
3887
|
+
return columnsGap ? `${+columnsGap / 2}px` : 'var(--uui-resize-marker-width)';
|
|
3961
3888
|
};
|
|
3962
3889
|
this.renderCellContent = (props, dropdownProps) => {
|
|
3963
3890
|
const isResizable = this.props.column.allowResizing ?? this.props.allowColumnsResizing;
|
|
3964
3891
|
const onClickEvent = !props.isResizing && (!this.props.column.renderFilter ? props.toggleSort : dropdownProps?.onClick);
|
|
3965
3892
|
const computeStyles = {
|
|
3966
|
-
'--uui-dt-header-cell-icon-size': `${settings.dataTable.sizes.header.
|
|
3967
|
-
'--uui-dt-header-cell-padding-start':
|
|
3968
|
-
'--uui-dt-header-cell-padding-end':
|
|
3969
|
-
'--uui-dt-header-cell-resizing-marker-width':
|
|
3893
|
+
'--uui-dt-header-cell-icon-size': `${settings.dataTable.sizes.header.iconMap[this.props.size || settings.dataTable.sizes.header.row]}px`,
|
|
3894
|
+
'--uui-dt-header-cell-padding-start': this.getLeftPadding(),
|
|
3895
|
+
'--uui-dt-header-cell-padding-end': this.getRightPadding(),
|
|
3896
|
+
'--uui-dt-header-cell-resizing-marker-width': this.getResizingMarkerWidth(),
|
|
3970
3897
|
};
|
|
3971
3898
|
return (React.createElement(DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
3972
3899
|
props.ref(ref);
|
|
3973
3900
|
dropdownProps?.ref?.(ref);
|
|
3974
|
-
}, cx: cx$1(uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiMarkers.clickable, css$v.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.
|
|
3901
|
+
}, cx: cx$1(uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiMarkers.clickable, css$v.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.row}`, this.props.isFirstColumn && 'uui-dt-header-first-column', this.props.isLastColumn && 'uui-dt-header-last-column', this.props.column.fix && css$v['pinned-' + this.props.column.fix], isResizable && css$v.resizable, props.isDraggable && css$v.draggable, props.isDragGhost && css$v.ghost, props.isDraggedOut && css$v.isDraggedOut, props.isDndInProgress && css$v['dnd-marker-' + props.position]), onClick: onClickEvent, rawProps: {
|
|
3975
3902
|
role: 'columnheader',
|
|
3976
3903
|
'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none',
|
|
3977
3904
|
...props.eventHandlers,
|
|
@@ -3991,7 +3918,7 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3991
3918
|
}
|
|
3992
3919
|
}
|
|
3993
3920
|
|
|
3994
|
-
var css$u = {"root":"
|
|
3921
|
+
var css$u = {"root":"nnmUsE","caption-wrapper":"NWIalo","captionWrapper":"NWIalo","align-center":"UH7NoV","alignCenter":"UH7NoV","caption":"yYFm7f","truncate":"Q2DOnW","upper-case":"X2Dsm3","upperCase":"X2Dsm3","group-cell-tooltip":"v66jw-","groupCellTooltip":"v66jw-","group-cell-tooltip-wrapper":"_9vdvGJ","groupCellTooltipWrapper":"_9vdvGJ","group-cell-tooltip-text":"jFcg5i","groupCellTooltipText":"jFcg5i","tooltip-caption":"Xp-SPL","tooltipCaption":"Xp-SPL","tooltip-info":"_8B8Zji","tooltipInfo":"_8B8Zji"};
|
|
3995
3922
|
|
|
3996
3923
|
class DataTableHeaderGroupCell extends React.Component {
|
|
3997
3924
|
constructor() {
|
|
@@ -4001,39 +3928,22 @@ class DataTableHeaderGroupCell extends React.Component {
|
|
|
4001
3928
|
column.info && (React.createElement(Text, { cx: [css$u.groupCellTooltipText, css$u.tooltipInfo] }, column.info))));
|
|
4002
3929
|
this.getColumnCaption = () => {
|
|
4003
3930
|
const renderTooltip = this.props.group.renderTooltip || this.getTooltipContent;
|
|
4004
|
-
const captionCx =
|
|
4005
|
-
css$u.caption,
|
|
4006
|
-
this.props.textCase === 'upper' && css$u.upperCase,
|
|
4007
|
-
uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaption,
|
|
4008
|
-
this.props.size >= '48' && css$u.truncate,
|
|
4009
|
-
];
|
|
3931
|
+
const captionCx = cx$1(css$u.caption, this.props.textCase === 'upper' && css$u.upperCase, uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaption, 'uui-typography-inline', this.props.size >= '48' && css$u.truncate);
|
|
4010
3932
|
return (React.createElement("div", { className: cx$1(css$u.captionWrapper, css$u['align-' + this.props.group.textAlign], uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCaptionWrapper) },
|
|
4011
3933
|
React.createElement(Tooltip, { placement: "top", color: "inverted", content: renderTooltip(this.props.group), cx: css$u.groupCellTooltip, openDelay: 600 },
|
|
4012
|
-
React.createElement(
|
|
3934
|
+
React.createElement("div", { key: "text", className: captionCx }, this.props.group.caption))));
|
|
4013
3935
|
};
|
|
4014
3936
|
this.getLeftPadding = () => {
|
|
4015
3937
|
const { columnsGap, isFirstCell } = this.props;
|
|
4016
3938
|
if (columnsGap)
|
|
4017
|
-
return isFirstCell ? columnsGap : +columnsGap / 2
|
|
4018
|
-
return isFirstCell ?
|
|
3939
|
+
return isFirstCell ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3940
|
+
return `var(--uui-dt-header-group-cell-padding${isFirstCell ? '-edge' : ''})`;
|
|
4019
3941
|
};
|
|
4020
3942
|
this.getRightPadding = () => {
|
|
4021
3943
|
const { columnsGap, isLastCell } = this.props;
|
|
4022
3944
|
if (columnsGap)
|
|
4023
|
-
return isLastCell ? columnsGap : +columnsGap / 2
|
|
4024
|
-
return isLastCell ?
|
|
4025
|
-
};
|
|
4026
|
-
this.renderCellContent = (props) => {
|
|
4027
|
-
const computeStyles = {
|
|
4028
|
-
'--uui-dt-header-group-cell-padding-start': `${this.getLeftPadding()}px`,
|
|
4029
|
-
'--uui-dt-header-group-cell-padding-end': `${this.getRightPadding()}px`,
|
|
4030
|
-
};
|
|
4031
|
-
return (React.createElement(DataTableCellContainer, { column: this.props.group, ref: (ref) => {
|
|
4032
|
-
props.ref(ref);
|
|
4033
|
-
}, cx: cx$1(uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$u.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.defaultGroupCell}`, this.props.isFirstCell && 'uui-dt-header-first-column', this.props.isLastCell && 'uui-dt-header-last-column'), rawProps: {
|
|
4034
|
-
role: 'columnheader',
|
|
4035
|
-
...props.eventHandlers,
|
|
4036
|
-
}, style: computeStyles }, this.getColumnCaption()));
|
|
3945
|
+
return isLastCell ? `${columnsGap}px` : `${+columnsGap / 2}px`;
|
|
3946
|
+
return `var(--uui-dt-header-group-cell-padding${isLastCell ? '-edge' : ''})`;
|
|
4037
3947
|
};
|
|
4038
3948
|
}
|
|
4039
3949
|
render() {
|
|
@@ -4041,19 +3951,19 @@ class DataTableHeaderGroupCell extends React.Component {
|
|
|
4041
3951
|
return this.props.group.renderHeaderCell(this.props);
|
|
4042
3952
|
}
|
|
4043
3953
|
const computeStyles = {
|
|
4044
|
-
'--uui-dt-header-group-cell-padding-start':
|
|
4045
|
-
'--uui-dt-header-group-cell-padding-end':
|
|
3954
|
+
'--uui-dt-header-group-cell-padding-start': this.getLeftPadding(),
|
|
3955
|
+
'--uui-dt-header-group-cell-padding-end': this.getRightPadding(),
|
|
4046
3956
|
};
|
|
4047
|
-
return (React.createElement(DataTableCellContainer, { column: this.props.group, cx: cx$1(uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$u.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.
|
|
3957
|
+
return (React.createElement(DataTableCellContainer, { column: this.props.group, cx: cx$1(uuiDataTableHeaderGroupCell.uuiTableHeaderGroupCell, css$u.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.row}`, this.props.isFirstCell && 'uui-dt-header-first-column', this.props.isLastCell && 'uui-dt-header-last-column'), rawProps: { role: 'columnheader' }, style: computeStyles }, this.getColumnCaption()));
|
|
4048
3958
|
}
|
|
4049
3959
|
}
|
|
4050
3960
|
|
|
4051
|
-
var css$t = {"root":"
|
|
3961
|
+
var css$t = {"root":"C98oWG"};
|
|
4052
3962
|
|
|
4053
3963
|
const DataTableHeaderRow = /* @__PURE__ */withMods(DataTableHeaderRow$1, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
4054
3964
|
renderCell: (props) => (React.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
4055
3965
|
renderGroupCell: (props) => (React.createElement(DataTableHeaderGroupCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.key, columnsGap: mods.columnsGap })),
|
|
4056
|
-
renderConfigButton: () => (React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.dataTable.sizes.header.
|
|
3966
|
+
renderConfigButton: () => (React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: ['config-icon', `uui-size-${settings.dataTable.sizes.header.iconMap[mods.size || settings.dataTable.sizes.header.row]}`], color: "neutral", icon: settings.dataTable.icons.header.configIcon })),
|
|
4057
3967
|
}));
|
|
4058
3968
|
|
|
4059
3969
|
const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
@@ -4061,15 +3971,14 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
4061
3971
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
4062
3972
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
4063
3973
|
|
|
4064
|
-
var css$s = {"root":"
|
|
3974
|
+
var css$s = {"root":"NYRimP","title-wrapper":"ySAYFb","titleWrapper":"ySAYFb","title":"cZP9sj","text-wrapper":"_5PBzw7","textWrapper":"_5PBzw7","selection":"_7LpIPy","postfix":"_9hXPWM","selected":"_-2c0e0"};
|
|
4065
3975
|
|
|
4066
|
-
const defaultSize = '36';
|
|
4067
3976
|
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
4068
3977
|
const togglerPickerOpened = (e) => {
|
|
4069
3978
|
if (props.isDisabled)
|
|
4070
3979
|
return;
|
|
4071
3980
|
e.preventDefault();
|
|
4072
|
-
props.onClick?.();
|
|
3981
|
+
!isEventTargetInsideClickable(e) && props.onClick?.();
|
|
4073
3982
|
};
|
|
4074
3983
|
const onKeyDownHandler = (e) => {
|
|
4075
3984
|
if (props.isDisabled)
|
|
@@ -4087,13 +3996,8 @@ const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
4087
3996
|
const getSelectionText = () => props.selection.map((i, index) => (React.createElement(React.Fragment, { key: `${i}${index}` },
|
|
4088
3997
|
React.createElement(Text, { color: "primary", size: props.size, cx: css$s.selection }, i),
|
|
4089
3998
|
(props.postfix || index !== props.selection.length - 1) && React.createElement("span", null, ",\u00A0"))));
|
|
4090
|
-
return (React.createElement(
|
|
4091
|
-
|
|
4092
|
-
role: 'button',
|
|
4093
|
-
tabIndex: props.isDisabled ? -1 : 0,
|
|
4094
|
-
onKeyDown: onKeyDownHandler,
|
|
4095
|
-
}, cx: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `uui-size-${props.size || defaultSize}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
4096
|
-
React.createElement(FlexRow$1, { cx: css$s.titleWrapper },
|
|
3999
|
+
return (React.createElement("div", { style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` }, role: "button", tabIndex: props.isDisabled ? -1 : 0, onKeyDown: onKeyDownHandler, className: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `uui-size-${props.size || settings.pickerInput.sizes.toggler.default}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
4000
|
+
React.createElement("div", { className: css$s.titleWrapper },
|
|
4097
4001
|
React.createElement(Text, { size: props.size, cx: css$s.title }, getTitle),
|
|
4098
4002
|
props.selection && (React.createElement("div", { className: css$s.textWrapper },
|
|
4099
4003
|
getSelectionText(),
|
|
@@ -4125,7 +4029,7 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4125
4029
|
};
|
|
4126
4030
|
const renderItem = (item, rowProps, dsState) => {
|
|
4127
4031
|
const { flattenSearchResults } = view.getConfig();
|
|
4128
|
-
return (React.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.
|
|
4032
|
+
return (React.createElement(PickerItem, { title: getName(item), highlightSearchMatches: highlightSearchMatches, ...(flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), dataSourceState: dsState, size: settings.pickerInput.sizes.body.row, ...rowProps }));
|
|
4129
4033
|
};
|
|
4130
4034
|
const onSelect = (row) => {
|
|
4131
4035
|
handleDataSourceValueChange((currentDataSourceState) => ({ ...currentDataSourceState, search: '', selectedId: row.id }));
|
|
@@ -4134,20 +4038,20 @@ function FilterPickerBody({ highlightSearchMatches = true, ...restProps }) {
|
|
|
4134
4038
|
if (rowProps.isSelectable && isSingleSelect() && props.editMode !== 'modal') {
|
|
4135
4039
|
rowProps.onSelect = onSelect;
|
|
4136
4040
|
}
|
|
4137
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.
|
|
4041
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React.createElement(DataPickerRow, { ...rowProps, key: rowProps.rowKey, size: settings.pickerInput.sizes.body.row, padding: "12", renderItem: (item, itemProps) => renderItem(item, itemProps, dsState) }));
|
|
4138
4042
|
};
|
|
4139
4043
|
const renderFooter = () => {
|
|
4140
4044
|
const footerProps = getFooterProps();
|
|
4141
4045
|
return props.renderFooter
|
|
4142
4046
|
? props.renderFooter(footerProps)
|
|
4143
|
-
: React.createElement(DataPickerFooter, { ...footerProps, size: settings.
|
|
4047
|
+
: React.createElement(DataPickerFooter, { ...footerProps, size: settings.pickerInput.sizes.body.row });
|
|
4144
4048
|
};
|
|
4145
4049
|
const renderBody = (bodyProps, rows) => {
|
|
4146
4050
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
4147
4051
|
const maxHeight = isMobile() ? document.documentElement.clientHeight : props.maxBodyHeight || pickerHeight;
|
|
4148
4052
|
const maxWidth = isMobile() ? undefined : 360;
|
|
4149
4053
|
return (React.createElement(React.Fragment, null,
|
|
4150
|
-
React.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.
|
|
4054
|
+
React.createElement(DataPickerBody, { ...bodyProps, selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.pickerInput.sizes.body.row, editMode: "dropdown" }),
|
|
4151
4055
|
renderFooter()));
|
|
4152
4056
|
};
|
|
4153
4057
|
const rows = getRows();
|
|
@@ -4235,7 +4139,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4235
4139
|
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
4236
4140
|
}
|
|
4237
4141
|
|
|
4238
|
-
var css$r = {"container":"
|
|
4142
|
+
var css$r = {"container":"LYED6-"};
|
|
4239
4143
|
|
|
4240
4144
|
function FilterNumericBody(props) {
|
|
4241
4145
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -4331,7 +4235,7 @@ var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
|
4331
4235
|
};
|
|
4332
4236
|
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
4333
4237
|
|
|
4334
|
-
var css$q = {"header":"
|
|
4238
|
+
var css$q = {"header":"_8mXhHb","removeButton":"fZWPWN","with-search":"lNmlG0","withSearch":"lNmlG0"};
|
|
4335
4239
|
|
|
4336
4240
|
function useView(props, value) {
|
|
4337
4241
|
const forceUpdate = useForceUpdate();
|
|
@@ -4637,7 +4541,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4637
4541
|
}
|
|
4638
4542
|
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
4639
4543
|
|
|
4640
|
-
var css$p = {"divider":"
|
|
4544
|
+
var css$p = {"divider":"lBbzQ8","dropdownDeleteIcon":"E5oIkk","presetsWrapper":"V6NsQW","addPresetContainer":"_503g45","dropContainer":"BV2WsR"};
|
|
4641
4545
|
|
|
4642
4546
|
var _path$9;
|
|
4643
4547
|
function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
|
|
@@ -4718,7 +4622,7 @@ var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
|
4718
4622
|
};
|
|
4719
4623
|
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
4720
4624
|
|
|
4721
|
-
var css$o = {"delete-button":"
|
|
4625
|
+
var css$o = {"delete-button":"xZYW9E","deleteButton":"xZYW9E","tab-button":"hVsgXZ","tabButton":"hVsgXZ","targetOpen":"q1eNVX"};
|
|
4722
4626
|
|
|
4723
4627
|
function PresetActionsDropdown(props) {
|
|
4724
4628
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -4785,7 +4689,7 @@ function PresetActionsDropdown(props) {
|
|
|
4785
4689
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4786
4690
|
}
|
|
4787
4691
|
|
|
4788
|
-
var css$n = {"preset-input-cell":"
|
|
4692
|
+
var css$n = {"preset-input-cell":"w-ePv9","presetInputCell":"w-ePv9","preset-input":"AeWdDT","presetInput":"AeWdDT"};
|
|
4789
4693
|
|
|
4790
4694
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4791
4695
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -4817,7 +4721,7 @@ function PresetInput(props) {
|
|
|
4817
4721
|
React__default.createElement(TextInput, { cx: css$n.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4818
4722
|
}
|
|
4819
4723
|
|
|
4820
|
-
var css$m = {"preset":"
|
|
4724
|
+
var css$m = {"preset":"G6Iay0","activePreset":"gJKgZt"};
|
|
4821
4725
|
|
|
4822
4726
|
function Preset(props) {
|
|
4823
4727
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -4943,7 +4847,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4943
4847
|
return columns;
|
|
4944
4848
|
};
|
|
4945
4849
|
|
|
4946
|
-
var css$l = {"unpin-icon":"
|
|
4850
|
+
var css$l = {"unpin-icon":"IrmUQG","unpinIcon":"IrmUQG","pin-toggler-icon":"nmshk7","pinTogglerIcon":"nmshk7"};
|
|
4947
4851
|
|
|
4948
4852
|
function PinIconButton(props) {
|
|
4949
4853
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4985,7 +4889,7 @@ function getUnpinIcon(params) {
|
|
|
4985
4889
|
}
|
|
4986
4890
|
}
|
|
4987
4891
|
|
|
4988
|
-
var css$k = {"row-wrapper":"
|
|
4892
|
+
var css$k = {"row-wrapper":"_1rj5tZ","rowWrapper":"_1rj5tZ","pin-icon-button":"YodOs9","pinIconButton":"YodOs9","not-pinned":"RqM0Rf","notPinned":"RqM0Rf","checkbox":"z6YCxf","drag-handle":"W8UDFx","dragHandle":"W8UDFx","dnd-disabled":"ikrVB6","dndDisabled":"ikrVB6"};
|
|
4989
4893
|
|
|
4990
4894
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4991
4895
|
const { column } = props;
|
|
@@ -5008,7 +4912,7 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
5008
4912
|
return (React.createElement(DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
5009
4913
|
});
|
|
5010
4914
|
|
|
5011
|
-
var css$j = {"root":"
|
|
4915
|
+
var css$j = {"root":"kVvcH5","main-panel":"qLv3jz","mainPanel":"qLv3jz","group":"yErj-z","group-title":"bW8MDX","groupTitle":"bW8MDX","group-items":"IS-Re2","groupItems":"IS-Re2","no-data":"_2-IT-t","noData":"_2-IT-t","no-data-title":"vjzuPi","noDataTitle":"vjzuPi","no-data-sub-title":"sRjdAU","noDataSubTitle":"sRjdAU","h-divider":"_3INRzj","hDivider":"_3INRzj","search-area":"vDbecE","searchArea":"vDbecE","subgroup-accordion":"l38dBE","subgroupAccordion":"l38dBE","subgroup":"cA6uH-","subgroup-title":"wksQ0I","subgroupTitle":"wksQ0I"};
|
|
5012
4916
|
|
|
5013
4917
|
const renderGroupTitle = (title, amount) => (React.createElement(FlexRow, { cx: css$j.group },
|
|
5014
4918
|
React.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
@@ -5057,7 +4961,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
5057
4961
|
};
|
|
5058
4962
|
const applyButton = React.createElement(Button, { caption: i18n$1.applyButton, isDisabled: !hasAnySelectedColumns, color: "primary", onClick: apply });
|
|
5059
4963
|
return (React.createElement(ModalBlocker, { ...modalProps },
|
|
5060
|
-
React.createElement(ModalWindow, { cx: css$j.root, height: "95dvh", maxHeight: "95dvh"
|
|
4964
|
+
React.createElement(ModalWindow, { cx: [css$j.root, 'uui-columns-config-modal'], height: "95dvh", maxHeight: "95dvh" },
|
|
5061
4965
|
React.createElement(ModalHeader, { title: i18n$1.configureColumnsTitle, onClose: close }),
|
|
5062
4966
|
React.createElement(FlexRow, { borderBottom: true, cx: css$j.searchArea },
|
|
5063
4967
|
React.createElement(SearchInput, { size: settings.dataTable.sizes.columnsConfigurationModal.searchInput, value: searchValue, onValueChange: setSearchValue, placeholder: i18n$1.searchPlaceholder }),
|
|
@@ -5087,7 +4991,7 @@ function SubGroup(props) {
|
|
|
5087
4991
|
const renderTitle = (isOpened) => {
|
|
5088
4992
|
const toggleIcon = settings.dataTable.icons.columnsConfigurationModal[isOpened ? 'expandedIcon' : 'collapsedIcon'];
|
|
5089
4993
|
return (React.createElement(FlexRow, { cx: cx$1(css$j.subgroup) },
|
|
5090
|
-
React.createElement(IconContainer, {
|
|
4994
|
+
React.createElement(IconContainer, { icon: toggleIcon }),
|
|
5091
4995
|
React.createElement(Text, { size: "none", color: "tertiary", cx: css$j.subgroupTitle }, title)));
|
|
5092
4996
|
};
|
|
5093
4997
|
return (React.createElement(Accordion$1, { value: isExpanded, onValueChange: setIsExpanded, renderTitle: renderTitle, cx: css$j.subgroupAccordion }, content));
|
|
@@ -5110,7 +5014,7 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
5110
5014
|
return [children, rest];
|
|
5111
5015
|
};
|
|
5112
5016
|
|
|
5113
|
-
var css$i = {"listContainer":"
|
|
5017
|
+
var css$i = {"listContainer":"KJP3gv","header":"VfM8gG","group":"zTB6i5","stickyHeader":"a61iPD"};
|
|
5114
5018
|
|
|
5115
5019
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
5116
5020
|
const rowRef = useRef();
|
|
@@ -5150,7 +5054,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
5150
5054
|
React__default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
5151
5055
|
}
|
|
5152
5056
|
|
|
5153
|
-
var css$h = {"root":"
|
|
5057
|
+
var css$h = {"root":"_6E9HFf","sticky-header":"_9ubGQc","stickyHeader":"_9ubGQc","no-results":"grgolE","noResults":"grgolE","icon":"_2uZhhK","title":"NV1qei"};
|
|
5154
5058
|
|
|
5155
5059
|
function DataTable(props) {
|
|
5156
5060
|
const { uuiModals } = useUuiContext();
|
|
@@ -5158,7 +5062,7 @@ function DataTable(props) {
|
|
|
5158
5062
|
const columnsWithFilters = useColumnsWithFilters(props.columns, props.filters);
|
|
5159
5063
|
const { columns, config, defaultConfig } = useColumnsConfig(columnsWithFilters, props.value?.columnsConfig);
|
|
5160
5064
|
const defaultRenderRow = React.useCallback((rowProps) => {
|
|
5161
|
-
return (React.createElement(DataTableRow, { size: props.size || settings.dataTable.sizes.body.
|
|
5065
|
+
return (React.createElement(DataTableRow, { size: props.size || settings.dataTable.sizes.body.row, columnsGap: props.columnsGap, borderBottom: props.border, ...rowProps, key: rowProps.rowKey, cx: css$h.cell }));
|
|
5162
5066
|
}, []);
|
|
5163
5067
|
const renderRow = (row) => (props.renderRow ?? defaultRenderRow)({ ...row, columns });
|
|
5164
5068
|
const rows = props.getRows?.() ?? props.rows ?? [];
|
|
@@ -5183,7 +5087,7 @@ function DataTable(props) {
|
|
|
5183
5087
|
]);
|
|
5184
5088
|
const renderRowsContainer = React.useCallback(({ listContainerRef, estimatedHeight, offsetY, scrollShadows }) => (React.createElement(React.Fragment, null,
|
|
5185
5089
|
React.createElement("div", { className: css$h.stickyHeader, ref: headerRef },
|
|
5186
|
-
React.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.sizes.header.
|
|
5090
|
+
React.createElement(DataTableHeaderRow, { columns: columns, columnGroups: props.columnGroups, onConfigButtonClick: props.showColumnsConfig && onConfigurationButtonClick, selectAll: props.selectAll, size: props.headerSize || settings.dataTable.sizes.header.row, textCase: props.headerTextCase, allowColumnsReordering: props.allowColumnsReordering, allowColumnsResizing: props.allowColumnsResizing, showFoldAll: props.showFoldAll, value: { ...props.value, columnsConfig: config }, onValueChange: props.onValueChange, columnsGap: props.columnsGap }),
|
|
5187
5091
|
React.createElement("div", { className: cx$1(uuiScrollShadows.top, {
|
|
5188
5092
|
[uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
5189
5093
|
}) })),
|
|
@@ -5199,9 +5103,9 @@ function DataTable(props) {
|
|
|
5199
5103
|
} }))));
|
|
5200
5104
|
}
|
|
5201
5105
|
|
|
5202
|
-
var css$g = {"root":"
|
|
5106
|
+
var css$g = {"root":"eyuIWs"};
|
|
5203
5107
|
|
|
5204
|
-
var css$f = {"root":"
|
|
5108
|
+
var css$f = {"root":"_5s9s3y","burger-content":"rhUFAS","burgerContent":"rhUFAS"};
|
|
5205
5109
|
|
|
5206
5110
|
var _path$3;
|
|
5207
5111
|
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); }
|
|
@@ -5244,7 +5148,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5244
5148
|
};
|
|
5245
5149
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
5246
5150
|
|
|
5247
|
-
var css$e = {"root":"
|
|
5151
|
+
var css$e = {"root":"X58g1v","button-primary":"d-6JeT","buttonPrimary":"d-6JeT","button-secondary":"-oJcZ6","buttonSecondary":"-oJcZ6","hasIcon":"i66-xf","dropdown":"tjmIEw"};
|
|
5248
5152
|
|
|
5249
5153
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
5250
5154
|
css$e.root,
|
|
@@ -5255,13 +5159,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
5255
5159
|
props.icon && css$e.hasIcon,
|
|
5256
5160
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5257
5161
|
|
|
5258
|
-
var css$d = {"search-input":"
|
|
5162
|
+
var css$d = {"search-input":"GOtX43","searchInput":"GOtX43"};
|
|
5259
5163
|
|
|
5260
5164
|
function BurgerSearch(props) {
|
|
5261
5165
|
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$N, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$R }));
|
|
5262
5166
|
}
|
|
5263
5167
|
|
|
5264
|
-
var css$c = {"root":"
|
|
5168
|
+
var css$c = {"root":"_04H4yf","group-header":"UVFmhV","groupHeader":"UVFmhV","group-name":"Y--4xz","groupName":"Y--4xz","line":"Q89LRX"};
|
|
5265
5169
|
|
|
5266
5170
|
function BurgerGroupHeader(props) {
|
|
5267
5171
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5269,7 +5173,7 @@ function BurgerGroupHeader(props) {
|
|
|
5269
5173
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5270
5174
|
}
|
|
5271
5175
|
|
|
5272
|
-
var css$b = {"root":"
|
|
5176
|
+
var css$b = {"root":"_3Pd-XE","type-primary":"_6tR5d9","typePrimary":"_6tR5d9","type-secondary":"LG9fZp","typeSecondary":"LG9fZp"};
|
|
5273
5177
|
|
|
5274
5178
|
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5275
5179
|
const { type, ...clickableProps } = props;
|
|
@@ -5291,7 +5195,7 @@ const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5291
5195
|
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$Q, flipY: props.isOpen }))));
|
|
5292
5196
|
});
|
|
5293
5197
|
|
|
5294
|
-
var css$a = {"dropdown-body":"
|
|
5198
|
+
var css$a = {"dropdown-body":"WcWjiR","dropdownBody":"WcWjiR"};
|
|
5295
5199
|
|
|
5296
5200
|
class MainMenuDropdown extends React.Component {
|
|
5297
5201
|
render() {
|
|
@@ -5349,12 +5253,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5349
5253
|
};
|
|
5350
5254
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5351
5255
|
|
|
5352
|
-
var css$9 = {"global-menu-btn":"
|
|
5256
|
+
var css$9 = {"global-menu-btn":"lLYBJD","globalMenuBtn":"lLYBJD","global-menu-icon":"Ldpuo0","globalMenuIcon":"Ldpuo0"};
|
|
5353
5257
|
|
|
5354
5258
|
const GlobalMenu = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, id: "global_menu_toggle", className: cx(css$9.globalMenuBtn, props.cx), ...props.rawProps },
|
|
5355
5259
|
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5356
5260
|
|
|
5357
|
-
var css$8 = {"container":"
|
|
5261
|
+
var css$8 = {"container":"zabDar","open":"Wz1fKA","folding-arrow":"qsOfLC","foldingArrow":"qsOfLC"};
|
|
5358
5262
|
|
|
5359
5263
|
const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiMarkers.clickable, props.cx), onClick: props.onClick, ...props.rawProps },
|
|
5360
5264
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5362,15 +5266,15 @@ const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.cr
|
|
|
5362
5266
|
props.isDropdown && (React.createElement("div", null,
|
|
5363
5267
|
React.createElement(IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5364
5268
|
|
|
5365
|
-
var css$7 = {"search-input":"
|
|
5269
|
+
var css$7 = {"search-input":"JoH-wf","searchInput":"JoH-wf"};
|
|
5366
5270
|
|
|
5367
5271
|
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$N, cancelIcon: props.value?.length > 0 && ForwardRef$R, ...props, ...iEditable, ref: ref, cx: cx$1(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5368
5272
|
|
|
5369
|
-
var css$6 = {"container":"
|
|
5273
|
+
var css$6 = {"container":"_6zb1UE"};
|
|
5370
5274
|
|
|
5371
5275
|
const MainMenuIcon = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IconButton, { ref: ref, icon: props.icon, cx: cx$1(props.cx, css$6.container), ...props })));
|
|
5372
5276
|
|
|
5373
|
-
var css$5 = {"root":"
|
|
5277
|
+
var css$5 = {"root":"BW6Dfu"};
|
|
5374
5278
|
|
|
5375
5279
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
5376
5280
|
|
|
@@ -5428,7 +5332,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5428
5332
|
};
|
|
5429
5333
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
5430
5334
|
|
|
5431
|
-
var css$4 = {"root":"
|
|
5335
|
+
var css$4 = {"root":"rceAX-","drop-start":"LUqc6A","dropStart":"LUqc6A","drop-over":"OQGg54","dropOver":"OQGg54","link":"_5IhcO0","drop-area":"GqhtNH","dropArea":"GqhtNH","drop-caption":"NWLsrW","dropCaption":"NWLsrW","icon-blue":"kZsHiK","iconBlue":"kZsHiK"};
|
|
5432
5336
|
|
|
5433
5337
|
function DropSpot(props) {
|
|
5434
5338
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5446,7 +5350,7 @@ function DropSpot(props) {
|
|
|
5446
5350
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5447
5351
|
}
|
|
5448
5352
|
|
|
5449
|
-
var css$3 = {"root":"
|
|
5353
|
+
var css$3 = {"root":"FsGteO"};
|
|
5450
5354
|
|
|
5451
5355
|
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5452
5356
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5457,7 +5361,7 @@ const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5457
5361
|
React.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5458
5362
|
});
|
|
5459
5363
|
|
|
5460
|
-
var css$2 = {"root":"
|
|
5364
|
+
var css$2 = {"root":"e9aoDJ","file-name":"wwWw79","fileName":"wwWw79","default-color":"pqs8p3","defaultColor":"pqs8p3","doc-color":"zULxOB","docColor":"zULxOB","xls-color":"fCe9BZ","xlsColor":"fCe9BZ","pdf-color":"HU72eK","pdfColor":"HU72eK","movie-color":"vjy2z5","movieColor":"vjy2z5","img-color":"va3grO","imgColor":"va3grO","mov-color":"_1XyXJY","movColor":"_1XyXJY","error-block":"lFDyRF","errorBlock":"lFDyRF","icons-block":"DG9-Pt","iconsBlock":"DG9-Pt"};
|
|
5461
5365
|
|
|
5462
5366
|
const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5463
5367
|
const [isLoadingShow, setIsLoadingShow] = React.useState(true);
|
|
@@ -5515,7 +5419,7 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5515
5419
|
React.createElement("div", { className: css$2.errorBlock },
|
|
5516
5420
|
React.createElement(IconContainer, { icon: settings.fileCard.icons.errorIcon, size: 12 }),
|
|
5517
5421
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5518
|
-
const renderSuccessfulContent = () => (React.createElement(Text, { size: "
|
|
5422
|
+
const renderSuccessfulContent = () => (React.createElement(Text, { size: "none", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5519
5423
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
5520
5424
|
isLoading && formatBytes((size / 100) * progress, 2, false) + i18n.fileCard.fileSizeProgress,
|
|
5521
5425
|
formatBytes(size)));
|
|
@@ -5527,7 +5431,7 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5527
5431
|
React.createElement(FlexRow, { alignItems: "top", columnGap: "6" },
|
|
5528
5432
|
fileExtension && getIcon(fileExtension),
|
|
5529
5433
|
React.createElement(FlexCell, { width: "100%" },
|
|
5530
|
-
React.createElement(Text, { size: "
|
|
5434
|
+
React.createElement(Text, { size: "none", fontSize: "14", lineHeight: "18", color: (progress < 100 || error?.isError) ? 'tertiary' : 'primary', cx: css$2.fileName }, fileName),
|
|
5531
5435
|
error?.isError ? renderErrorContent() : renderSuccessfulContent()),
|
|
5532
5436
|
React.createElement("div", { className: cx$1(css$2.iconsBlock), onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler },
|
|
5533
5437
|
isLoadingShow && isLoading && React.createElement(SvgCircleProgress, { progress: progress, size: 18 }),
|
|
@@ -5576,7 +5480,7 @@ const getErrorPageConfig = () => ({
|
|
|
5576
5480
|
},
|
|
5577
5481
|
});
|
|
5578
5482
|
|
|
5579
|
-
var css$1 = {"container":"
|
|
5483
|
+
var css$1 = {"container":"xLxjz3"};
|
|
5580
5484
|
|
|
5581
5485
|
const ErrorPage = (props) => {
|
|
5582
5486
|
const isMobileScreen = isMobile();
|
|
@@ -5588,7 +5492,7 @@ const ErrorPage = (props) => {
|
|
|
5588
5492
|
props?.supportLink && React__default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5589
5493
|
};
|
|
5590
5494
|
|
|
5591
|
-
var css = {"recovery-spinner":"
|
|
5495
|
+
var css = {"recovery-spinner":"Bw4cMJ","recoverySpinner":"Bw4cMJ","recovery-message":"YL7Wdk","recoveryMessage":"YL7Wdk","modal-blocker":"_4F3Xr-","modalBlocker":"_4F3Xr-","modalFadeIn":"rbUe28"};
|
|
5592
5496
|
|
|
5593
5497
|
function ErrorHandler(props) {
|
|
5594
5498
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|
|
@@ -5639,5 +5543,5 @@ function ErrorHandler(props) {
|
|
|
5639
5543
|
errorType === 'recovery' && renderRecoveryBlocker(errorInfo)));
|
|
5640
5544
|
}
|
|
5641
5545
|
|
|
5642
|
-
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerCell, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FilterPickerBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerBodyMobileView, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, Rating, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates,
|
|
5546
|
+
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerCell, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowAddons, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DatePickerComponent, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, ErrorAlert, ErrorHandler, ErrorNotification, ErrorPage, FileCard, FilterItemBody, FilterPickerBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerBodyMobileView, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PickerTogglerTag, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RangeDatePickerInput, Rating, RichTextView, ScrollBars, SearchInput, Slider, Snackbar, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, TimePickerBody, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, applyDateSelectionMods, defaultPredicates, getErrorPageConfig, getHighlightRanges, getHighlightedSearchMatches, getRecoveryMessageConfig, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, settings, useColumnsWithFilters, useForm, uuiDatePickerBody, uuiRangeDatePickerBody, uuiTimePicker };
|
|
5643
5547
|
//# sourceMappingURL=index.esm.js.map
|