@antscorp/antsomi-ui 1.3.5-beta.885 → 1.3.5-beta.887
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/es/components/icons/ErrorIcon.d.ts +3 -0
- package/es/components/icons/ErrorIcon.js +7 -0
- package/es/components/icons/LazyIcon/LazyIcon.d.ts +10 -9
- package/es/components/icons/LazyIcon/LazyIcon.js +10 -9
- package/es/components/icons/index.d.ts +10 -9
- package/es/components/icons/index.js +10 -9
- package/es/components/molecules/MatchAnySelect/MatchesAnySelect.js +46 -21
- package/es/components/molecules/MatchAnySelect/types.d.ts +7 -1
- package/es/components/organism/AccountSharing/AccountSharing.js +8 -2
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { useIcon } from './hooks/useIcon';
|
|
4
|
+
export const ErrorIcon = forwardRef((props, ref) => {
|
|
5
|
+
const { width, height } = useIcon(props);
|
|
6
|
+
return (_jsxs("svg", { viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, ref: ref, width: width, height: height, children: [_jsx("circle", { cx: "8", cy: "9", r: "8", fill: "#F44336" }), _jsx("path", { d: "M7 13C7 12.8022 7.05865 12.6089 7.16853 12.4444C7.27841 12.28 7.43459 12.1518 7.61732 12.0761C7.80004 12.0004 8.00111 11.9806 8.19509 12.0192C8.38907 12.0578 8.56725 12.153 8.70711 12.2929C8.84696 12.4327 8.9422 12.6109 8.98079 12.8049C9.01937 12.9989 8.99957 13.2 8.92388 13.3827C8.84819 13.5654 8.72002 13.7216 8.55557 13.8315C8.39112 13.9414 8.19778 14 8 14C7.73478 14 7.48043 13.8946 7.29289 13.7071C7.10536 13.5196 7 13.2652 7 13ZM7 10V6C7 5.73478 7.10536 5.48043 7.29289 5.29289C7.48043 5.10536 7.73478 5 8 5C8.26522 5 8.51957 5.10536 8.70711 5.29289C8.89464 5.48043 9 5.73478 9 6V10C9 10.2652 8.89464 10.5196 8.70711 10.7071C8.51957 10.8946 8.26522 11 8 11C7.73478 11 7.48043 10.8946 7.29289 10.7071C7.10536 10.5196 7 10.2652 7 10Z", fill: "white" })] }));
|
|
7
|
+
});
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
export declare const LazyIcon: {
|
|
3
3
|
AccountCircleIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
4
4
|
AccountCircleOutlineIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
5
|
+
Accounts30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
5
6
|
AccountSharing30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
6
7
|
AccountSharingIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
7
8
|
AccountTreeIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
8
|
-
Accounts30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
9
9
|
AddChartIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
10
10
|
AddFolderIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
11
11
|
AddIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -54,7 +54,6 @@ export declare const LazyIcon: {
|
|
|
54
54
|
ChatConversationCommentAddCommentIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
55
55
|
ChatMentionIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
56
56
|
ChatUnreadIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
57
|
-
CheckSlimIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
58
57
|
CheckboxChecked5RadiusIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
59
58
|
CheckboxCheckedIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
60
59
|
CheckboxIndeterminate5RadiusIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -62,6 +61,7 @@ export declare const LazyIcon: {
|
|
|
62
61
|
CheckboxUnchecked5RadiusIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
63
62
|
CheckboxUncheckedIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
64
63
|
ChecklistRtlIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
64
|
+
CheckSlimIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
65
65
|
CircleAddElementIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
66
66
|
CircleNotificationsIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
67
67
|
CloseIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -96,15 +96,15 @@ export declare const LazyIcon: {
|
|
|
96
96
|
DataDestinationIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
97
97
|
DataEncryption30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
98
98
|
DataEncryptionIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
99
|
+
Dataflows30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
99
100
|
DataIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
100
101
|
DataRefreshIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
101
102
|
DataSchema30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
102
103
|
DataSource30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
103
|
-
DataView30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
104
|
-
DataViewIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
105
|
-
Dataflows30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
106
104
|
DatasourceIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
107
105
|
DatasourceSegment30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
106
|
+
DataView30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
107
|
+
DataViewIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
108
108
|
DecreaseDecimalIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
109
109
|
DeleteRemoveTrashIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
110
110
|
DeliveryLogIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -142,6 +142,7 @@ export declare const LazyIcon: {
|
|
|
142
142
|
EmojiRamenDiningIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
143
143
|
EmojiReactionIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
144
144
|
EmojiSmileIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
145
|
+
ErrorIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
145
146
|
EventAttribute30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
146
147
|
EventAttributeIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
147
148
|
EventIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -178,13 +179,13 @@ export declare const LazyIcon: {
|
|
|
178
179
|
ForwardIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
179
180
|
FreeDrawIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
180
181
|
FullReviewIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
181
|
-
GPTIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
182
182
|
GalleryTemplateIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
183
183
|
GeneralSettingIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
184
184
|
GeneralSettings30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
185
185
|
GenerateAutoWizardIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
186
186
|
Geofence30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
187
187
|
GetInsightIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
188
|
+
GPTIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
188
189
|
GridViewIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
189
190
|
GroupIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
190
191
|
GroupLayerIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -248,8 +249,8 @@ export declare const LazyIcon: {
|
|
|
248
249
|
NodeViewIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
249
250
|
NoteNewIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
250
251
|
NotificationIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
251
|
-
NotificationSettingIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
252
252
|
NotificationsActiveIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
253
|
+
NotificationSettingIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
253
254
|
OpenNewTabIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
254
255
|
OpenUrlIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
255
256
|
OrchestrationIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -300,7 +301,6 @@ export declare const LazyIcon: {
|
|
|
300
301
|
ResumeIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
301
302
|
RightExpandIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
302
303
|
Role30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
303
|
-
SQLWorkspace30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
304
304
|
SaveAsIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
305
305
|
SaveIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
306
306
|
ScheduleEmailDeliveryIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -323,6 +323,7 @@ export declare const LazyIcon: {
|
|
|
323
323
|
SlideGroupIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
324
324
|
Sort1Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
325
325
|
SortIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
326
|
+
SQLWorkspace30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
326
327
|
SqlWorkspaceIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
327
328
|
StatisticIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
328
329
|
StickerIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
@@ -370,9 +371,9 @@ export declare const LazyIcon: {
|
|
|
370
371
|
VisitorInformationIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
371
372
|
WarningIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
372
373
|
WebAssetIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
374
|
+
WebhookIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
373
375
|
WebIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
374
376
|
WebPersonalizationIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
375
|
-
WebhookIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
376
377
|
WidgetIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
377
378
|
WritingAIAssitantIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
|
|
378
379
|
};
|
|
@@ -2,10 +2,10 @@ import { lazy } from 'react';
|
|
|
2
2
|
export const LazyIcon = {
|
|
3
3
|
AccountCircleIcon: lazy(() => import('../AccountCircleIcon').then(m => ({ default: m.AccountCircleIcon }))),
|
|
4
4
|
AccountCircleOutlineIcon: lazy(() => import('../AccountCircleOutlineIcon').then(m => ({ default: m.AccountCircleOutlineIcon }))),
|
|
5
|
+
Accounts30Icon: lazy(() => import('../Accounts30Icon').then(m => ({ default: m.Accounts30Icon }))),
|
|
5
6
|
AccountSharing30Icon: lazy(() => import('../AccountSharing30Icon').then(m => ({ default: m.AccountSharing30Icon }))),
|
|
6
7
|
AccountSharingIcon: lazy(() => import('../AccountSharingIcon').then(m => ({ default: m.AccountSharingIcon }))),
|
|
7
8
|
AccountTreeIcon: lazy(() => import('../AccountTreeIcon').then(m => ({ default: m.AccountTreeIcon }))),
|
|
8
|
-
Accounts30Icon: lazy(() => import('../Accounts30Icon').then(m => ({ default: m.Accounts30Icon }))),
|
|
9
9
|
AddChartIcon: lazy(() => import('../AddChartIcon').then(m => ({ default: m.AddChartIcon }))),
|
|
10
10
|
AddFolderIcon: lazy(() => import('../AddFolderIcon').then(m => ({ default: m.AddFolderIcon }))),
|
|
11
11
|
AddIcon: lazy(() => import('../AddIcon').then(m => ({ default: m.AddIcon }))),
|
|
@@ -56,7 +56,6 @@ export const LazyIcon = {
|
|
|
56
56
|
}))),
|
|
57
57
|
ChatMentionIcon: lazy(() => import('../ChatMentionIcon').then(m => ({ default: m.ChatMentionIcon }))),
|
|
58
58
|
ChatUnreadIcon: lazy(() => import('../ChatUnreadIcon').then(m => ({ default: m.ChatUnreadIcon }))),
|
|
59
|
-
CheckSlimIcon: lazy(() => import('../CheckSlimIcon').then(m => ({ default: m.CheckSlimIcon }))),
|
|
60
59
|
CheckboxChecked5RadiusIcon: lazy(() => import('../CheckboxChecked5RadiusIcon').then(m => ({ default: m.CheckboxChecked5RadiusIcon }))),
|
|
61
60
|
CheckboxCheckedIcon: lazy(() => import('../CheckboxCheckedIcon').then(m => ({ default: m.CheckboxCheckedIcon }))),
|
|
62
61
|
CheckboxIndeterminate5RadiusIcon: lazy(() => import('../CheckboxIndeterminate5RadiusIcon').then(m => ({
|
|
@@ -68,6 +67,7 @@ export const LazyIcon = {
|
|
|
68
67
|
}))),
|
|
69
68
|
CheckboxUncheckedIcon: lazy(() => import('../CheckboxUncheckedIcon').then(m => ({ default: m.CheckboxUncheckedIcon }))),
|
|
70
69
|
ChecklistRtlIcon: lazy(() => import('../ChecklistRtlIcon').then(m => ({ default: m.ChecklistRtlIcon }))),
|
|
70
|
+
CheckSlimIcon: lazy(() => import('../CheckSlimIcon').then(m => ({ default: m.CheckSlimIcon }))),
|
|
71
71
|
CircleAddElementIcon: lazy(() => import('../CircleAddElementIcon').then(m => ({ default: m.CircleAddElementIcon }))),
|
|
72
72
|
CircleNotificationsIcon: lazy(() => import('../CircleNotificationsIcon').then(m => ({ default: m.CircleNotificationsIcon }))),
|
|
73
73
|
CloseIcon: lazy(() => import('../CloseIcon').then(m => ({ default: m.CloseIcon }))),
|
|
@@ -102,15 +102,15 @@ export const LazyIcon = {
|
|
|
102
102
|
DataDestinationIcon: lazy(() => import('../DataDestinationIcon').then(m => ({ default: m.DataDestinationIcon }))),
|
|
103
103
|
DataEncryption30Icon: lazy(() => import('../DataEncryption30Icon').then(m => ({ default: m.DataEncryption30Icon }))),
|
|
104
104
|
DataEncryptionIcon: lazy(() => import('../DataEncryptionIcon').then(m => ({ default: m.DataEncryptionIcon }))),
|
|
105
|
+
Dataflows30Icon: lazy(() => import('../Dataflows30Icon').then(m => ({ default: m.Dataflows30Icon }))),
|
|
105
106
|
DataIcon: lazy(() => import('../DataIcon').then(m => ({ default: m.DataIcon }))),
|
|
106
107
|
DataRefreshIcon: lazy(() => import('../DataRefreshIcon').then(m => ({ default: m.DataRefreshIcon }))),
|
|
107
108
|
DataSchema30Icon: lazy(() => import('../DataSchema30Icon').then(m => ({ default: m.DataSchema30Icon }))),
|
|
108
109
|
DataSource30Icon: lazy(() => import('../DataSource30Icon').then(m => ({ default: m.DataSource30Icon }))),
|
|
109
|
-
DataView30Icon: lazy(() => import('../DataView30Icon').then(m => ({ default: m.DataView30Icon }))),
|
|
110
|
-
DataViewIcon: lazy(() => import('../DataViewIcon').then(m => ({ default: m.DataViewIcon }))),
|
|
111
|
-
Dataflows30Icon: lazy(() => import('../Dataflows30Icon').then(m => ({ default: m.Dataflows30Icon }))),
|
|
112
110
|
DatasourceIcon: lazy(() => import('../DatasourceIcon').then(m => ({ default: m.DatasourceIcon }))),
|
|
113
111
|
DatasourceSegment30Icon: lazy(() => import('../DatasourceSegment30Icon').then(m => ({ default: m.DatasourceSegment30Icon }))),
|
|
112
|
+
DataView30Icon: lazy(() => import('../DataView30Icon').then(m => ({ default: m.DataView30Icon }))),
|
|
113
|
+
DataViewIcon: lazy(() => import('../DataViewIcon').then(m => ({ default: m.DataViewIcon }))),
|
|
114
114
|
DecreaseDecimalIcon: lazy(() => import('../DecreaseDecimalIcon').then(m => ({ default: m.DecreaseDecimalIcon }))),
|
|
115
115
|
DeleteRemoveTrashIcon: lazy(() => import('../DeleteRemoveTrashIcon').then(m => ({ default: m.DeleteRemoveTrashIcon }))),
|
|
116
116
|
DeliveryLogIcon: lazy(() => import('../DeliveryLogIcon').then(m => ({ default: m.DeliveryLogIcon }))),
|
|
@@ -148,6 +148,7 @@ export const LazyIcon = {
|
|
|
148
148
|
EmojiRamenDiningIcon: lazy(() => import('../EmojiRamenDiningIcon').then(m => ({ default: m.EmojiRamenDiningIcon }))),
|
|
149
149
|
EmojiReactionIcon: lazy(() => import('../EmojiReactionIcon').then(m => ({ default: m.EmojiReactionIcon }))),
|
|
150
150
|
EmojiSmileIcon: lazy(() => import('../EmojiSmileIcon').then(m => ({ default: m.EmojiSmileIcon }))),
|
|
151
|
+
ErrorIcon: lazy(() => import('../ErrorIcon').then(m => ({ default: m.ErrorIcon }))),
|
|
151
152
|
EventAttribute30Icon: lazy(() => import('../EventAttribute30Icon').then(m => ({ default: m.EventAttribute30Icon }))),
|
|
152
153
|
EventAttributeIcon: lazy(() => import('../EventAttributeIcon').then(m => ({ default: m.EventAttributeIcon }))),
|
|
153
154
|
EventIcon: lazy(() => import('../EventIcon').then(m => ({ default: m.EventIcon }))),
|
|
@@ -184,13 +185,13 @@ export const LazyIcon = {
|
|
|
184
185
|
ForwardIcon: lazy(() => import('../ForwardIcon').then(m => ({ default: m.ForwardIcon }))),
|
|
185
186
|
FreeDrawIcon: lazy(() => import('../FreeDrawIcon').then(m => ({ default: m.FreeDrawIcon }))),
|
|
186
187
|
FullReviewIcon: lazy(() => import('../FullReviewIcon').then(m => ({ default: m.FullReviewIcon }))),
|
|
187
|
-
GPTIcon: lazy(() => import('../GPTIcon').then(m => ({ default: m.GPTIcon }))),
|
|
188
188
|
GalleryTemplateIcon: lazy(() => import('../GalleryTemplateIcon').then(m => ({ default: m.GalleryTemplateIcon }))),
|
|
189
189
|
GeneralSettingIcon: lazy(() => import('../GeneralSettingIcon').then(m => ({ default: m.GeneralSettingIcon }))),
|
|
190
190
|
GeneralSettings30Icon: lazy(() => import('../GeneralSettings30Icon').then(m => ({ default: m.GeneralSettings30Icon }))),
|
|
191
191
|
GenerateAutoWizardIcon: lazy(() => import('../GenerateAutoWizardIcon').then(m => ({ default: m.GenerateAutoWizardIcon }))),
|
|
192
192
|
Geofence30Icon: lazy(() => import('../Geofence30Icon').then(m => ({ default: m.Geofence30Icon }))),
|
|
193
193
|
GetInsightIcon: lazy(() => import('../GetInsightIcon').then(m => ({ default: m.GetInsightIcon }))),
|
|
194
|
+
GPTIcon: lazy(() => import('../GPTIcon').then(m => ({ default: m.GPTIcon }))),
|
|
194
195
|
GridViewIcon: lazy(() => import('../GridViewIcon').then(m => ({ default: m.GridViewIcon }))),
|
|
195
196
|
GroupIcon: lazy(() => import('../GroupIcon').then(m => ({ default: m.GroupIcon }))),
|
|
196
197
|
GroupLayerIcon: lazy(() => import('../GroupLayerIcon').then(m => ({ default: m.GroupLayerIcon }))),
|
|
@@ -252,8 +253,8 @@ export const LazyIcon = {
|
|
|
252
253
|
NodeViewIcon: lazy(() => import('../NodeViewIcon').then(m => ({ default: m.NodeViewIcon }))),
|
|
253
254
|
NoteNewIcon: lazy(() => import('../NoteNewIcon').then(m => ({ default: m.NoteNewIcon }))),
|
|
254
255
|
NotificationIcon: lazy(() => import('../NotificationIcon').then(m => ({ default: m.NotificationIcon }))),
|
|
255
|
-
NotificationSettingIcon: lazy(() => import('../NotificationSettingIcon').then(m => ({ default: m.NotificationSettingIcon }))),
|
|
256
256
|
NotificationsActiveIcon: lazy(() => import('../NotificationsActiveIcon').then(m => ({ default: m.NotificationsActiveIcon }))),
|
|
257
|
+
NotificationSettingIcon: lazy(() => import('../NotificationSettingIcon').then(m => ({ default: m.NotificationSettingIcon }))),
|
|
257
258
|
OpenNewTabIcon: lazy(() => import('../OpenNewTabIcon').then(m => ({ default: m.OpenNewTabIcon }))),
|
|
258
259
|
OpenUrlIcon: lazy(() => import('../OpenUrlIcon').then(m => ({ default: m.OpenUrlIcon }))),
|
|
259
260
|
OrchestrationIcon: lazy(() => import('../OrchestrationIcon').then(m => ({ default: m.OrchestrationIcon }))),
|
|
@@ -306,7 +307,6 @@ export const LazyIcon = {
|
|
|
306
307
|
ResumeIcon: lazy(() => import('../ResumeIcon').then(m => ({ default: m.ResumeIcon }))),
|
|
307
308
|
RightExpandIcon: lazy(() => import('../RightExpandIcon').then(m => ({ default: m.RightExpandIcon }))),
|
|
308
309
|
Role30Icon: lazy(() => import('../Role30Icon').then(m => ({ default: m.Role30Icon }))),
|
|
309
|
-
SQLWorkspace30Icon: lazy(() => import('../SQLWorkspace30Icon').then(m => ({ default: m.SQLWorkspace30Icon }))),
|
|
310
310
|
SaveAsIcon: lazy(() => import('../SaveAsIcon').then(m => ({ default: m.SaveAsIcon }))),
|
|
311
311
|
SaveIcon: lazy(() => import('../SaveIcon').then(m => ({ default: m.SaveIcon }))),
|
|
312
312
|
ScheduleEmailDeliveryIcon: lazy(() => import('../ScheduleEmailDeliveryIcon').then(m => ({ default: m.ScheduleEmailDeliveryIcon }))),
|
|
@@ -329,6 +329,7 @@ export const LazyIcon = {
|
|
|
329
329
|
SlideGroupIcon: lazy(() => import('../SlideGroupIcon').then(m => ({ default: m.SlideGroupIcon }))),
|
|
330
330
|
Sort1Icon: lazy(() => import('../Sort1Icon').then(m => ({ default: m.Sort1Icon }))),
|
|
331
331
|
SortIcon: lazy(() => import('../SortIcon').then(m => ({ default: m.SortIcon }))),
|
|
332
|
+
SQLWorkspace30Icon: lazy(() => import('../SQLWorkspace30Icon').then(m => ({ default: m.SQLWorkspace30Icon }))),
|
|
332
333
|
SqlWorkspaceIcon: lazy(() => import('../SqlWorkspaceIcon').then(m => ({ default: m.SqlWorkspaceIcon }))),
|
|
333
334
|
StatisticIcon: lazy(() => import('../StatisticIcon').then(m => ({ default: m.StatisticIcon }))),
|
|
334
335
|
StickerIcon: lazy(() => import('../StickerIcon').then(m => ({ default: m.StickerIcon }))),
|
|
@@ -376,9 +377,9 @@ export const LazyIcon = {
|
|
|
376
377
|
VisitorInformationIcon: lazy(() => import('../VisitorInformationIcon').then(m => ({ default: m.VisitorInformationIcon }))),
|
|
377
378
|
WarningIcon: lazy(() => import('../WarningIcon').then(m => ({ default: m.WarningIcon }))),
|
|
378
379
|
WebAssetIcon: lazy(() => import('../WebAssetIcon').then(m => ({ default: m.WebAssetIcon }))),
|
|
380
|
+
WebhookIcon: lazy(() => import('../WebhookIcon').then(m => ({ default: m.WebhookIcon }))),
|
|
379
381
|
WebIcon: lazy(() => import('../WebIcon').then(m => ({ default: m.WebIcon }))),
|
|
380
382
|
WebPersonalizationIcon: lazy(() => import('../WebPersonalizationIcon').then(m => ({ default: m.WebPersonalizationIcon }))),
|
|
381
|
-
WebhookIcon: lazy(() => import('../WebhookIcon').then(m => ({ default: m.WebhookIcon }))),
|
|
382
383
|
WidgetIcon: lazy(() => import('../WidgetIcon').then(m => ({ default: m.WidgetIcon }))),
|
|
383
384
|
WritingAIAssitantIcon: lazy(() => import('../WritingAIAssitantIcon').then(m => ({ default: m.WritingAIAssitantIcon }))),
|
|
384
385
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { AccountCircleIcon } from './AccountCircleIcon';
|
|
2
2
|
export { AccountCircleOutlineIcon } from './AccountCircleOutlineIcon';
|
|
3
|
+
export { Accounts30Icon } from './Accounts30Icon';
|
|
3
4
|
export { AccountSharing30Icon } from './AccountSharing30Icon';
|
|
4
5
|
export { AccountSharingIcon } from './AccountSharingIcon';
|
|
5
6
|
export { AccountTreeIcon } from './AccountTreeIcon';
|
|
6
|
-
export { Accounts30Icon } from './Accounts30Icon';
|
|
7
7
|
export { AddChartIcon } from './AddChartIcon';
|
|
8
8
|
export { AddFolderIcon } from './AddFolderIcon';
|
|
9
9
|
export { AddIcon } from './AddIcon';
|
|
@@ -52,7 +52,6 @@ export { ChatBubbleOutlineIcon } from './ChatBubbleOutlineIcon';
|
|
|
52
52
|
export { ChatConversationCommentAddCommentIcon } from './ChatConversationCommentAddCommentIcon';
|
|
53
53
|
export { ChatMentionIcon } from './ChatMentionIcon';
|
|
54
54
|
export { ChatUnreadIcon } from './ChatUnreadIcon';
|
|
55
|
-
export { CheckSlimIcon } from './CheckSlimIcon';
|
|
56
55
|
export { CheckboxChecked5RadiusIcon } from './CheckboxChecked5RadiusIcon';
|
|
57
56
|
export { CheckboxCheckedIcon } from './CheckboxCheckedIcon';
|
|
58
57
|
export { CheckboxIndeterminate5RadiusIcon } from './CheckboxIndeterminate5RadiusIcon';
|
|
@@ -60,6 +59,7 @@ export { CheckboxIndeterminateIcon } from './CheckboxIndeterminateIcon';
|
|
|
60
59
|
export { CheckboxUnchecked5RadiusIcon } from './CheckboxUnchecked5RadiusIcon';
|
|
61
60
|
export { CheckboxUncheckedIcon } from './CheckboxUncheckedIcon';
|
|
62
61
|
export { ChecklistRtlIcon } from './ChecklistRtlIcon';
|
|
62
|
+
export { CheckSlimIcon } from './CheckSlimIcon';
|
|
63
63
|
export { CircleAddElementIcon } from './CircleAddElementIcon';
|
|
64
64
|
export { CircleNotificationsIcon } from './CircleNotificationsIcon';
|
|
65
65
|
export { CloseIcon } from './CloseIcon';
|
|
@@ -94,15 +94,15 @@ export { DataDestination30Icon } from './DataDestination30Icon';
|
|
|
94
94
|
export { DataDestinationIcon } from './DataDestinationIcon';
|
|
95
95
|
export { DataEncryption30Icon } from './DataEncryption30Icon';
|
|
96
96
|
export { DataEncryptionIcon } from './DataEncryptionIcon';
|
|
97
|
+
export { Dataflows30Icon } from './Dataflows30Icon';
|
|
97
98
|
export { DataIcon } from './DataIcon';
|
|
98
99
|
export { DataRefreshIcon } from './DataRefreshIcon';
|
|
99
100
|
export { DataSchema30Icon } from './DataSchema30Icon';
|
|
100
101
|
export { DataSource30Icon } from './DataSource30Icon';
|
|
101
|
-
export { DataView30Icon } from './DataView30Icon';
|
|
102
|
-
export { DataViewIcon } from './DataViewIcon';
|
|
103
|
-
export { Dataflows30Icon } from './Dataflows30Icon';
|
|
104
102
|
export { DatasourceIcon } from './DatasourceIcon';
|
|
105
103
|
export { DatasourceSegment30Icon } from './DatasourceSegment30Icon';
|
|
104
|
+
export { DataView30Icon } from './DataView30Icon';
|
|
105
|
+
export { DataViewIcon } from './DataViewIcon';
|
|
106
106
|
export { DecreaseDecimalIcon } from './DecreaseDecimalIcon';
|
|
107
107
|
export { DeleteRemoveTrashIcon } from './DeleteRemoveTrashIcon';
|
|
108
108
|
export { DeliveryLogIcon } from './DeliveryLogIcon';
|
|
@@ -140,6 +140,7 @@ export { EmojiPetFootIcon } from './EmojiPetFootIcon';
|
|
|
140
140
|
export { EmojiRamenDiningIcon } from './EmojiRamenDiningIcon';
|
|
141
141
|
export { EmojiReactionIcon } from './EmojiReactionIcon';
|
|
142
142
|
export { EmojiSmileIcon } from './EmojiSmileIcon';
|
|
143
|
+
export { ErrorIcon } from './ErrorIcon';
|
|
143
144
|
export { EventAttribute30Icon } from './EventAttribute30Icon';
|
|
144
145
|
export { EventAttributeIcon } from './EventAttributeIcon';
|
|
145
146
|
export { EventIcon } from './EventIcon';
|
|
@@ -176,13 +177,13 @@ export { Form30Icon } from './Form30Icon';
|
|
|
176
177
|
export { ForwardIcon } from './ForwardIcon';
|
|
177
178
|
export { FreeDrawIcon } from './FreeDrawIcon';
|
|
178
179
|
export { FullReviewIcon } from './FullReviewIcon';
|
|
179
|
-
export { GPTIcon } from './GPTIcon';
|
|
180
180
|
export { GalleryTemplateIcon } from './GalleryTemplateIcon';
|
|
181
181
|
export { GeneralSettingIcon } from './GeneralSettingIcon';
|
|
182
182
|
export { GeneralSettings30Icon } from './GeneralSettings30Icon';
|
|
183
183
|
export { GenerateAutoWizardIcon } from './GenerateAutoWizardIcon';
|
|
184
184
|
export { Geofence30Icon } from './Geofence30Icon';
|
|
185
185
|
export { GetInsightIcon } from './GetInsightIcon';
|
|
186
|
+
export { GPTIcon } from './GPTIcon';
|
|
186
187
|
export { GridViewIcon } from './GridViewIcon';
|
|
187
188
|
export { GroupIcon } from './GroupIcon';
|
|
188
189
|
export { GroupLayerIcon } from './GroupLayerIcon';
|
|
@@ -244,8 +245,8 @@ export { MuteIcon } from './MuteIcon';
|
|
|
244
245
|
export { NodeViewIcon } from './NodeViewIcon';
|
|
245
246
|
export { NoteNewIcon } from './NoteNewIcon';
|
|
246
247
|
export { NotificationIcon } from './NotificationIcon';
|
|
247
|
-
export { NotificationSettingIcon } from './NotificationSettingIcon';
|
|
248
248
|
export { NotificationsActiveIcon } from './NotificationsActiveIcon';
|
|
249
|
+
export { NotificationSettingIcon } from './NotificationSettingIcon';
|
|
249
250
|
export { OpenNewTabIcon } from './OpenNewTabIcon';
|
|
250
251
|
export { OpenUrlIcon } from './OpenUrlIcon';
|
|
251
252
|
export { OrchestrationIcon } from './OrchestrationIcon';
|
|
@@ -296,7 +297,6 @@ export { RestoreDefaultIcon } from './RestoreDefaultIcon';
|
|
|
296
297
|
export { ResumeIcon } from './ResumeIcon';
|
|
297
298
|
export { RightExpandIcon } from './RightExpandIcon';
|
|
298
299
|
export { Role30Icon } from './Role30Icon';
|
|
299
|
-
export { SQLWorkspace30Icon } from './SQLWorkspace30Icon';
|
|
300
300
|
export { SaveAsIcon } from './SaveAsIcon';
|
|
301
301
|
export { SaveIcon } from './SaveIcon';
|
|
302
302
|
export { ScheduleEmailDeliveryIcon } from './ScheduleEmailDeliveryIcon';
|
|
@@ -319,6 +319,7 @@ export { SignatureIcon } from './SignatureIcon';
|
|
|
319
319
|
export { SlideGroupIcon } from './SlideGroupIcon';
|
|
320
320
|
export { Sort1Icon } from './Sort1Icon';
|
|
321
321
|
export { SortIcon } from './SortIcon';
|
|
322
|
+
export { SQLWorkspace30Icon } from './SQLWorkspace30Icon';
|
|
322
323
|
export { SqlWorkspaceIcon } from './SqlWorkspaceIcon';
|
|
323
324
|
export { StatisticIcon } from './StatisticIcon';
|
|
324
325
|
export { StickerIcon } from './StickerIcon';
|
|
@@ -366,8 +367,8 @@ export { VisitorIcon } from './VisitorIcon';
|
|
|
366
367
|
export { VisitorInformationIcon } from './VisitorInformationIcon';
|
|
367
368
|
export { WarningIcon } from './WarningIcon';
|
|
368
369
|
export { WebAssetIcon } from './WebAssetIcon';
|
|
370
|
+
export { WebhookIcon } from './WebhookIcon';
|
|
369
371
|
export { WebIcon } from './WebIcon';
|
|
370
372
|
export { WebPersonalizationIcon } from './WebPersonalizationIcon';
|
|
371
|
-
export { WebhookIcon } from './WebhookIcon';
|
|
372
373
|
export { WidgetIcon } from './WidgetIcon';
|
|
373
374
|
export { WritingAIAssitantIcon } from './WritingAIAssitantIcon';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { AccountCircleIcon } from './AccountCircleIcon';
|
|
2
2
|
export { AccountCircleOutlineIcon } from './AccountCircleOutlineIcon';
|
|
3
|
+
export { Accounts30Icon } from './Accounts30Icon';
|
|
3
4
|
export { AccountSharing30Icon } from './AccountSharing30Icon';
|
|
4
5
|
export { AccountSharingIcon } from './AccountSharingIcon';
|
|
5
6
|
export { AccountTreeIcon } from './AccountTreeIcon';
|
|
6
|
-
export { Accounts30Icon } from './Accounts30Icon';
|
|
7
7
|
export { AddChartIcon } from './AddChartIcon';
|
|
8
8
|
export { AddFolderIcon } from './AddFolderIcon';
|
|
9
9
|
export { AddIcon } from './AddIcon';
|
|
@@ -52,7 +52,6 @@ export { ChatBubbleOutlineIcon } from './ChatBubbleOutlineIcon';
|
|
|
52
52
|
export { ChatConversationCommentAddCommentIcon } from './ChatConversationCommentAddCommentIcon';
|
|
53
53
|
export { ChatMentionIcon } from './ChatMentionIcon';
|
|
54
54
|
export { ChatUnreadIcon } from './ChatUnreadIcon';
|
|
55
|
-
export { CheckSlimIcon } from './CheckSlimIcon';
|
|
56
55
|
export { CheckboxChecked5RadiusIcon } from './CheckboxChecked5RadiusIcon';
|
|
57
56
|
export { CheckboxCheckedIcon } from './CheckboxCheckedIcon';
|
|
58
57
|
export { CheckboxIndeterminate5RadiusIcon } from './CheckboxIndeterminate5RadiusIcon';
|
|
@@ -60,6 +59,7 @@ export { CheckboxIndeterminateIcon } from './CheckboxIndeterminateIcon';
|
|
|
60
59
|
export { CheckboxUnchecked5RadiusIcon } from './CheckboxUnchecked5RadiusIcon';
|
|
61
60
|
export { CheckboxUncheckedIcon } from './CheckboxUncheckedIcon';
|
|
62
61
|
export { ChecklistRtlIcon } from './ChecklistRtlIcon';
|
|
62
|
+
export { CheckSlimIcon } from './CheckSlimIcon';
|
|
63
63
|
export { CircleAddElementIcon } from './CircleAddElementIcon';
|
|
64
64
|
export { CircleNotificationsIcon } from './CircleNotificationsIcon';
|
|
65
65
|
export { CloseIcon } from './CloseIcon';
|
|
@@ -94,15 +94,15 @@ export { DataDestination30Icon } from './DataDestination30Icon';
|
|
|
94
94
|
export { DataDestinationIcon } from './DataDestinationIcon';
|
|
95
95
|
export { DataEncryption30Icon } from './DataEncryption30Icon';
|
|
96
96
|
export { DataEncryptionIcon } from './DataEncryptionIcon';
|
|
97
|
+
export { Dataflows30Icon } from './Dataflows30Icon';
|
|
97
98
|
export { DataIcon } from './DataIcon';
|
|
98
99
|
export { DataRefreshIcon } from './DataRefreshIcon';
|
|
99
100
|
export { DataSchema30Icon } from './DataSchema30Icon';
|
|
100
101
|
export { DataSource30Icon } from './DataSource30Icon';
|
|
101
|
-
export { DataView30Icon } from './DataView30Icon';
|
|
102
|
-
export { DataViewIcon } from './DataViewIcon';
|
|
103
|
-
export { Dataflows30Icon } from './Dataflows30Icon';
|
|
104
102
|
export { DatasourceIcon } from './DatasourceIcon';
|
|
105
103
|
export { DatasourceSegment30Icon } from './DatasourceSegment30Icon';
|
|
104
|
+
export { DataView30Icon } from './DataView30Icon';
|
|
105
|
+
export { DataViewIcon } from './DataViewIcon';
|
|
106
106
|
export { DecreaseDecimalIcon } from './DecreaseDecimalIcon';
|
|
107
107
|
export { DeleteRemoveTrashIcon } from './DeleteRemoveTrashIcon';
|
|
108
108
|
export { DeliveryLogIcon } from './DeliveryLogIcon';
|
|
@@ -140,6 +140,7 @@ export { EmojiPetFootIcon } from './EmojiPetFootIcon';
|
|
|
140
140
|
export { EmojiRamenDiningIcon } from './EmojiRamenDiningIcon';
|
|
141
141
|
export { EmojiReactionIcon } from './EmojiReactionIcon';
|
|
142
142
|
export { EmojiSmileIcon } from './EmojiSmileIcon';
|
|
143
|
+
export { ErrorIcon } from './ErrorIcon';
|
|
143
144
|
export { EventAttribute30Icon } from './EventAttribute30Icon';
|
|
144
145
|
export { EventAttributeIcon } from './EventAttributeIcon';
|
|
145
146
|
export { EventIcon } from './EventIcon';
|
|
@@ -176,13 +177,13 @@ export { Form30Icon } from './Form30Icon';
|
|
|
176
177
|
export { ForwardIcon } from './ForwardIcon';
|
|
177
178
|
export { FreeDrawIcon } from './FreeDrawIcon';
|
|
178
179
|
export { FullReviewIcon } from './FullReviewIcon';
|
|
179
|
-
export { GPTIcon } from './GPTIcon';
|
|
180
180
|
export { GalleryTemplateIcon } from './GalleryTemplateIcon';
|
|
181
181
|
export { GeneralSettingIcon } from './GeneralSettingIcon';
|
|
182
182
|
export { GeneralSettings30Icon } from './GeneralSettings30Icon';
|
|
183
183
|
export { GenerateAutoWizardIcon } from './GenerateAutoWizardIcon';
|
|
184
184
|
export { Geofence30Icon } from './Geofence30Icon';
|
|
185
185
|
export { GetInsightIcon } from './GetInsightIcon';
|
|
186
|
+
export { GPTIcon } from './GPTIcon';
|
|
186
187
|
export { GridViewIcon } from './GridViewIcon';
|
|
187
188
|
export { GroupIcon } from './GroupIcon';
|
|
188
189
|
export { GroupLayerIcon } from './GroupLayerIcon';
|
|
@@ -244,8 +245,8 @@ export { MuteIcon } from './MuteIcon';
|
|
|
244
245
|
export { NodeViewIcon } from './NodeViewIcon';
|
|
245
246
|
export { NoteNewIcon } from './NoteNewIcon';
|
|
246
247
|
export { NotificationIcon } from './NotificationIcon';
|
|
247
|
-
export { NotificationSettingIcon } from './NotificationSettingIcon';
|
|
248
248
|
export { NotificationsActiveIcon } from './NotificationsActiveIcon';
|
|
249
|
+
export { NotificationSettingIcon } from './NotificationSettingIcon';
|
|
249
250
|
export { OpenNewTabIcon } from './OpenNewTabIcon';
|
|
250
251
|
export { OpenUrlIcon } from './OpenUrlIcon';
|
|
251
252
|
export { OrchestrationIcon } from './OrchestrationIcon';
|
|
@@ -296,7 +297,6 @@ export { RestoreDefaultIcon } from './RestoreDefaultIcon';
|
|
|
296
297
|
export { ResumeIcon } from './ResumeIcon';
|
|
297
298
|
export { RightExpandIcon } from './RightExpandIcon';
|
|
298
299
|
export { Role30Icon } from './Role30Icon';
|
|
299
|
-
export { SQLWorkspace30Icon } from './SQLWorkspace30Icon';
|
|
300
300
|
export { SaveAsIcon } from './SaveAsIcon';
|
|
301
301
|
export { SaveIcon } from './SaveIcon';
|
|
302
302
|
export { ScheduleEmailDeliveryIcon } from './ScheduleEmailDeliveryIcon';
|
|
@@ -319,6 +319,7 @@ export { SignatureIcon } from './SignatureIcon';
|
|
|
319
319
|
export { SlideGroupIcon } from './SlideGroupIcon';
|
|
320
320
|
export { Sort1Icon } from './Sort1Icon';
|
|
321
321
|
export { SortIcon } from './SortIcon';
|
|
322
|
+
export { SQLWorkspace30Icon } from './SQLWorkspace30Icon';
|
|
322
323
|
export { SqlWorkspaceIcon } from './SqlWorkspaceIcon';
|
|
323
324
|
export { StatisticIcon } from './StatisticIcon';
|
|
324
325
|
export { StickerIcon } from './StickerIcon';
|
|
@@ -366,8 +367,8 @@ export { VisitorIcon } from './VisitorIcon';
|
|
|
366
367
|
export { VisitorInformationIcon } from './VisitorInformationIcon';
|
|
367
368
|
export { WarningIcon } from './WarningIcon';
|
|
368
369
|
export { WebAssetIcon } from './WebAssetIcon';
|
|
370
|
+
export { WebhookIcon } from './WebhookIcon';
|
|
369
371
|
export { WebIcon } from './WebIcon';
|
|
370
372
|
export { WebPersonalizationIcon } from './WebPersonalizationIcon';
|
|
371
|
-
export { WebhookIcon } from './WebhookIcon';
|
|
372
373
|
export { WidgetIcon } from './WidgetIcon';
|
|
373
374
|
export { WritingAIAssitantIcon } from './WritingAIAssitantIcon';
|
|
@@ -25,7 +25,8 @@ import { useDeepCompareEffect, useDeepCompareMemo, useIntersectionObserver, } fr
|
|
|
25
25
|
import { flatTree, recursiveFindParents, recursiveSearchItems, } from '@antscorp/antsomi-ui/es/utils';
|
|
26
26
|
import { getSelectedTreeData } from './utils';
|
|
27
27
|
// Icons
|
|
28
|
-
import { DataIcon, LongerIcon, WarningIcon } from '../../icons';
|
|
28
|
+
import { DataIcon, ErrorIcon, LongerIcon, WarningIcon } from '../../icons';
|
|
29
|
+
import { translate, translations as translationsLocale } from '@antscorp/antsomi-locales';
|
|
29
30
|
const initialState = {
|
|
30
31
|
isOpenPopover: false,
|
|
31
32
|
searchValue: '',
|
|
@@ -42,9 +43,11 @@ const { t } = i18nInstance;
|
|
|
42
43
|
const { Text } = Typography;
|
|
43
44
|
export function MatchesAny(props) {
|
|
44
45
|
// Props
|
|
45
|
-
const { objectName, loading = false, showExtendValue = true, selectedItems: selectedItemsProp, items, groupSelectProps, renderExtraValues, customItemRenders, listEmptyProps, selectedListEmptyProps, selectedTreeData: selectedTreeDataProp, searchValue = '', isExternalSearch, onApply = () => { }, onCancel = () => { }, onLoadMore = () => { }, onChangeSearch, ...restOfProps } = props;
|
|
46
|
+
const { maxSelectedItem, maxLengthEachItem = 200, objectName, loading = false, showExtendValue = true, selectedItems: selectedItemsProp, items, groupSelectProps, renderExtraValues, customItemRenders, listEmptyProps, selectedListEmptyProps, selectedTreeData: selectedTreeDataProp, searchValue = '', isExternalSearch, onApply = () => { }, onCancel = () => { }, onLoadMore = () => { }, onChangeSearch, ...restOfProps } = props;
|
|
46
47
|
// State
|
|
47
48
|
const [state, setState] = useState(matchesAnyInitialState);
|
|
49
|
+
const [maxItemsError, setMaxItemsError] = useState(false);
|
|
50
|
+
const [itemOverMaxLength, setItemOverMaxLength] = useState(false);
|
|
48
51
|
// Variables
|
|
49
52
|
const { selectedItems, selectedTreeData, isShowLoadMoreEl, expandedKeys, selectedExpandedKeys } = state;
|
|
50
53
|
const { icon: listEmptyIcon = _jsx(LongerIcon, {}), description: listEmptyDescription = (_jsx("div", { dangerouslySetInnerHTML: { __html: t(translations.matchesAnySelect.noData) } })), ...restListEmptyProps } = listEmptyProps || {};
|
|
@@ -142,27 +145,47 @@ export function MatchesAny(props) {
|
|
|
142
145
|
*
|
|
143
146
|
*/
|
|
144
147
|
const onRemoveItem = (item) => {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
setState(prev => {
|
|
149
|
+
const newSelectedItems = prev.selectedItems?.filter(selectedItem => {
|
|
150
|
+
if (item.children) {
|
|
151
|
+
const flattenChild = flatTree(item.children, 'children');
|
|
152
|
+
return (selectedItem.key !== item.key &&
|
|
153
|
+
!flattenChild?.some(item => item.key === selectedItem.key));
|
|
154
|
+
}
|
|
155
|
+
return selectedItem.key !== item.key;
|
|
156
|
+
});
|
|
157
|
+
const newSelectedTreeData = getSelectedTreeData(items || [], newSelectedItems || [], selectedTreeData || []);
|
|
158
|
+
return {
|
|
159
|
+
...prev,
|
|
160
|
+
selectedItems: newSelectedItems,
|
|
161
|
+
selectedTreeData: newSelectedTreeData,
|
|
162
|
+
};
|
|
152
163
|
});
|
|
153
|
-
const newSelectedTreeData = getSelectedTreeData(items || [], newSelectedItems || [], selectedTreeData || []);
|
|
154
|
-
setState(prev => ({
|
|
155
|
-
...prev,
|
|
156
|
-
selectedItems: newSelectedItems,
|
|
157
|
-
selectedTreeData: newSelectedTreeData,
|
|
158
|
-
}));
|
|
159
164
|
};
|
|
160
165
|
const onRemoveAll = () => {
|
|
161
166
|
setState(prev => ({ ...prev, selectedItems: [], selectedTreeData: [] }));
|
|
162
167
|
};
|
|
163
168
|
const onClickApply = () => {
|
|
169
|
+
const isOverMaxSelected = maxSelectedItem && selectedItems && selectedItems.length > maxSelectedItem;
|
|
170
|
+
const isSomeTextTooLong = selectedItems && selectedItems.some(item => item.title.split(' ').length > maxLengthEachItem);
|
|
171
|
+
if (isOverMaxSelected) {
|
|
172
|
+
setMaxItemsError(true);
|
|
173
|
+
}
|
|
174
|
+
if (isSomeTextTooLong) {
|
|
175
|
+
setItemOverMaxLength(true);
|
|
176
|
+
}
|
|
177
|
+
if (isOverMaxSelected || isSomeTextTooLong)
|
|
178
|
+
return;
|
|
164
179
|
onApply(selectedItems || [], selectedTreeData || []);
|
|
165
180
|
};
|
|
181
|
+
const handleClickRemoveInvalid = () => {
|
|
182
|
+
selectedItems?.forEach(item => {
|
|
183
|
+
if (item.title.split(' ').length > maxLengthEachItem) {
|
|
184
|
+
onRemoveItem(item);
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
setItemOverMaxLength(false);
|
|
188
|
+
};
|
|
166
189
|
const renderItemError = useCallback((item) => {
|
|
167
190
|
if (customItemRenders?.error) {
|
|
168
191
|
return customItemRenders?.error(item);
|
|
@@ -177,7 +200,9 @@ export function MatchesAny(props) {
|
|
|
177
200
|
? typeof extraValue.render === 'function'
|
|
178
201
|
? extraValue.render(item)
|
|
179
202
|
: extraValue.render
|
|
180
|
-
: item[extraValue.key] }) }, `${extraValue.key}`))) }))] }), _jsxs(Flex, { align: "center", gap: 10, children: [mode === 'select' && renderItemError(item),
|
|
203
|
+
: item[extraValue.key] }) }, `${extraValue.key}`))) }))] }), _jsxs(Flex, { align: "center", gap: 10, children: [mode === 'select' && renderItemError(item), mode === 'select' &&
|
|
204
|
+
item.title?.toString().length &&
|
|
205
|
+
item.title?.toString().split(' ').length > maxLengthEachItem && (_jsx(ErrorIcon, { size: 16 })), isExtendValue && (_jsx(Icon, { type: "icon-ants-empty-flag", size: 20, color: globalToken?.colorPrimary })), _jsx(ActionButton, { className: "select-button", align: "center", justify: "center", onClick: () => {
|
|
181
206
|
// Call onSelectItem function if provided
|
|
182
207
|
if (onSelectItem) {
|
|
183
208
|
onSelectItem(item);
|
|
@@ -187,7 +212,7 @@ export function MatchesAny(props) {
|
|
|
187
212
|
onRemoveItem(item);
|
|
188
213
|
}
|
|
189
214
|
}, children: _jsx(Icon, { type: `icon-ants-${onSelectItem ? 'double-arrow-up' : 'remove-slim'}`, size: 11 }) })] })] }));
|
|
190
|
-
}, [customItemRenders, renderExtraValues, renderItemError]);
|
|
215
|
+
}, [customItemRenders, renderExtraValues, maxLengthEachItem, renderItemError]);
|
|
191
216
|
// Memos
|
|
192
217
|
const { treeData } = useDeepCompareMemo(() => {
|
|
193
218
|
const { results, matchedParents } = recursiveSearchItems({
|
|
@@ -312,7 +337,7 @@ export function MatchesAny(props) {
|
|
|
312
337
|
*/
|
|
313
338
|
!loading &&
|
|
314
339
|
(!!searchValue && !listEmptyProps ? (_jsx(EmptyData, { showIcon: false, description: t(translations.global.noResultsMatchesKeyWord).toString() })) : (_jsx(EmptyData, { icon: listEmptyIcon, showIcon: !!listEmptyIcon, description: listEmptyDescription, ...restListEmptyProps })))) })] })] }));
|
|
315
|
-
const renderSelectedList = () => (_jsxs("div", { className: "matches-any__section", children: [_jsxs(Flex, { className: "matches-any__header", justify: "space-between", children: [_jsx(Text, { strong: true, children: `${t(translations.global.selected)} (${selectedItems?.length || 0})` }), _jsx(TextButton, { disabled: isDisableRemoveAll, onClick: onRemoveAll, children: t(translations.global.removeAll).toString() })] }), _jsx("div", { className: "matches-any__body", children: !selectedItems?.length && !loading ? (_jsx(EmptyData, { icon: selectedListEmptyIcon, description: selectedListEmptyDescription, ...restSelectedListEmptyProps })) : (_jsx(StyledTree, { defaultExpandAll: true, expandedKeys: selectedExpandedKeys, selectable: false, treeData: selectedTreeData, titleRender: item => renderItemNodeTitle({
|
|
340
|
+
const renderSelectedList = () => (_jsxs("div", { className: "matches-any__section", children: [_jsxs(Flex, { className: "matches-any__header", justify: "space-between", children: [_jsx(Text, { strong: true, children: `${t(translations.global.selected)} (${selectedItems?.length || 0}${maxSelectedItem && maxSelectedItem > 0 ? `/${maxSelectedItem}` : ''})` }), _jsx(TextButton, { disabled: isDisableRemoveAll, onClick: onRemoveAll, children: t(translations.global.removeAll).toString() })] }), _jsx("div", { className: "matches-any__body", children: !selectedItems?.length && !loading ? (_jsx(EmptyData, { icon: selectedListEmptyIcon, description: selectedListEmptyDescription, ...restSelectedListEmptyProps })) : (_jsx(StyledTree, { defaultExpandAll: true, expandedKeys: selectedExpandedKeys, selectable: false, treeData: selectedTreeData, titleRender: item => renderItemNodeTitle({
|
|
316
341
|
item: item,
|
|
317
342
|
mode: 'select',
|
|
318
343
|
onRemoveItem,
|
|
@@ -345,10 +370,10 @@ export function MatchesAny(props) {
|
|
|
345
370
|
}));
|
|
346
371
|
}
|
|
347
372
|
};
|
|
348
|
-
return (_jsx(ConfigProvider, { theme: MATCHES_ANY_THEME, children: _jsxs(MatchesAnyWrapper, { ...restOfProps, vertical: true, justify: "space-between", children: [_jsxs(Flex, { style: { width: '100%', height: '100%' }, children: [renderSelectList(), renderSelectedList()] }), _jsxs(Flex, { className: "matches-any__footer", align: "center", justify: "space-between", children: [_jsxs(Flex, { align: "center", gap: 10, children: [_jsx(Button, { type: "primary", disabled: isDisableApply, onClick: onClickApply, children: t(translations.apply.title).toString() }), _jsx(Button, { onClick: () => onCancel(), children: t(translations.cancel.title).toString() })] }), showExtendValue && (_jsx(ExtendValuePopup, { getPopupContainer: trigger => trigger.parentElement || document.body, onApply: onApplyExtendValue, children: _jsx(Button, { icon: _jsx(Icon, { type: "icon-ants-empty-flag" }), children: t(translations.extendValue.title).toString() }) }))] })] }) }));
|
|
373
|
+
return (_jsx(ConfigProvider, { theme: MATCHES_ANY_THEME, children: _jsxs(MatchesAnyWrapper, { ...restOfProps, vertical: true, justify: "space-between", children: [_jsxs(Flex, { style: { width: '100%', height: '100%' }, children: [renderSelectList(), renderSelectedList()] }), _jsxs(Flex, { className: "matches-any__footer", align: "center", justify: "space-between", children: [_jsxs(Flex, { align: "center", gap: 10, children: [_jsx(Button, { type: "primary", disabled: isDisableApply, onClick: onClickApply, children: t(translations.apply.title).toString() }), _jsx(Button, { onClick: () => onCancel(), children: t(translations.cancel.title).toString() }), (maxItemsError || itemOverMaxLength) && (_jsxs(_Fragment, { children: [_jsx(Typography, { style: { color: globalToken?.colorError }, children: translate(translationsLocale._OPERATOR_MATCH_ANY_EX_VALUE_LIMIT) }), itemOverMaxLength && (_jsx(Button, { type: "text", onClick: handleClickRemoveInvalid, children: "Remove invalid" }))] }))] }), showExtendValue && (_jsx(ExtendValuePopup, { getPopupContainer: trigger => trigger.parentElement || document.body, onApply: onApplyExtendValue, children: _jsx(Button, { icon: _jsx(Icon, { type: "icon-ants-empty-flag" }), children: t(translations.extendValue.title).toString() }) }))] })] }) }));
|
|
349
374
|
}
|
|
350
375
|
export function MatchesAnySelect(props) {
|
|
351
|
-
const { placeholder = 'Select an item', dropdownStyle, objectName, selectedItems, items, loading, popupClassName, groupSelectProps, renderExtraValues, customItemRenders, popoverProps, listEmptyProps, selectedListEmptyProps, selectedTreeData, error, onChangeSearch, onChange = () => { }, onLoadMore, ...restProps } = props;
|
|
376
|
+
const { maxSelectedItem, maxLengthEachItem = 200, placeholder = 'Select an item', dropdownStyle, objectName, selectedItems, items, loading, popupClassName, groupSelectProps, renderExtraValues, customItemRenders, popoverProps, listEmptyProps, selectedListEmptyProps, selectedTreeData, error, onChangeSearch, onChange = () => { }, onLoadMore, ...restProps } = props;
|
|
352
377
|
// State
|
|
353
378
|
const [state, setState] = useState(initialState);
|
|
354
379
|
// Variables
|
|
@@ -365,7 +390,7 @@ export function MatchesAnySelect(props) {
|
|
|
365
390
|
onChange(selectedItems, selectedTreeData);
|
|
366
391
|
setState(prev => ({ ...prev, isOpenPopover: false }));
|
|
367
392
|
};
|
|
368
|
-
return (_jsx(Popover, { open: isOpenPopover, arrow: false, placement: "bottomLeft", content: _jsx(MatchesAny, { isExternalSearch: !!onChangeSearch, searchValue: state.searchValue, className: popupClassName, items: items, selectedItems: selectedItems, loading: loading, objectName: objectName, groupSelectProps: groupSelectProps, renderExtraValues: renderExtraValues, customItemRenders: customItemRenders, listEmptyProps: listEmptyProps, selectedListEmptyProps: selectedListEmptyProps, selectedTreeData: selectedTreeData, onChangeSearch: searchValue => {
|
|
393
|
+
return (_jsx(Popover, { open: isOpenPopover, arrow: false, placement: "bottomLeft", content: _jsx(MatchesAny, { maxSelectedItem: maxSelectedItem, maxLengthEachItem: maxLengthEachItem, isExternalSearch: !!onChangeSearch, searchValue: state.searchValue, className: popupClassName, items: items, selectedItems: selectedItems, loading: loading, objectName: objectName, groupSelectProps: groupSelectProps, renderExtraValues: renderExtraValues, customItemRenders: customItemRenders, listEmptyProps: listEmptyProps, selectedListEmptyProps: selectedListEmptyProps, selectedTreeData: selectedTreeData, onChangeSearch: searchValue => {
|
|
369
394
|
setState(prev => ({ ...prev, searchValue }));
|
|
370
395
|
if (onChangeSearch)
|
|
371
396
|
onChangeSearch(searchValue);
|
|
@@ -28,6 +28,12 @@ export type CustomItemRenders<TItem> = {
|
|
|
28
28
|
error?: (item: MatchesAnyItem<TItem>) => ReactNode;
|
|
29
29
|
};
|
|
30
30
|
export interface MatchesAnySelectProps<TItem = any> extends Omit<SelectProps, 'onChange'> {
|
|
31
|
+
/** Maximum item can select from items list */
|
|
32
|
+
maxSelectedItem?: number;
|
|
33
|
+
/** Max character of each item selected
|
|
34
|
+
* @default 200
|
|
35
|
+
*/
|
|
36
|
+
maxLengthEachItem?: number;
|
|
31
37
|
/** The name of object to be displayed in Popover */
|
|
32
38
|
objectName?: string;
|
|
33
39
|
/** Indicates whether show the extend value button */
|
|
@@ -61,7 +67,7 @@ export interface MatchesAnySelectProps<TItem = any> extends Omit<SelectProps, 'o
|
|
|
61
67
|
/** Callback function that is called when the user scroll */
|
|
62
68
|
onLoadMore?: () => void;
|
|
63
69
|
}
|
|
64
|
-
export interface MatchesAnyProps<TItem = any> extends Omit<FlexProps, 'children'>, Pick<MatchesAnySelectProps<TItem>, 'objectName' | 'loading' | 'showExtendValue' | 'items' | 'selectedItems' | 'onLoadMore' | 'groupSelectProps' | 'onChangeSearch' | 'renderExtraValues' | 'customItemRenders' | 'listEmptyProps' | 'selectedListEmptyProps' | 'selectedTreeData' | 'searchValue'> {
|
|
70
|
+
export interface MatchesAnyProps<TItem = any> extends Omit<FlexProps, 'children'>, Pick<MatchesAnySelectProps<TItem>, 'objectName' | 'loading' | 'showExtendValue' | 'items' | 'selectedItems' | 'onLoadMore' | 'groupSelectProps' | 'onChangeSearch' | 'renderExtraValues' | 'customItemRenders' | 'listEmptyProps' | 'selectedListEmptyProps' | 'selectedTreeData' | 'searchValue' | 'maxSelectedItem' | 'maxLengthEachItem'> {
|
|
65
71
|
/** Indicates handle search out of component */
|
|
66
72
|
isExternalSearch?: boolean;
|
|
67
73
|
/**
|
|
@@ -166,9 +166,15 @@ export const AccountSharing = props => {
|
|
|
166
166
|
}
|
|
167
167
|
const arrMenus = buildListAppMenus(data, userId);
|
|
168
168
|
if (!arrMenus.some(url => convertedHomePage.includes(url))) {
|
|
169
|
+
const targetEnv = {
|
|
170
|
+
33167: 'sandbox',
|
|
171
|
+
564888929: 'staging',
|
|
172
|
+
}[+newNetworkId] ||
|
|
173
|
+
env ||
|
|
174
|
+
'development';
|
|
169
175
|
// Redirect to recommendation
|
|
170
|
-
if (
|
|
171
|
-
window.location.assign(`${CDP_ROUTE[
|
|
176
|
+
if (targetEnv !== ENV.DEV) {
|
|
177
|
+
window.location.assign(`${CDP_ROUTE[targetEnv]}/gen2/${newNetworkId}/dashboard/recommendation`);
|
|
172
178
|
return;
|
|
173
179
|
}
|
|
174
180
|
// return redirectFirstMenu(data, userId);
|