synos-helena 21.13.1-beta.3 → 21.14.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/CHANGELOG.md +17 -1
- package/lib/dark.css +2 -0
- package/lib/dark.css.map +1 -0
- package/lib/dark.js +2 -61
- package/lib/dark.js.map +1 -0
- package/lib/helena.css +2 -0
- package/lib/helena.css.map +1 -0
- package/lib/helena.js +2 -61
- package/lib/helena.js.map +1 -0
- package/lib/index.css +2 -0
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +18 -16
- package/lib/index.js +3 -34398
- package/lib/index.js.LICENSE.txt +70 -0
- package/lib/index.js.map +1 -0
- package/lib/light.css +2 -0
- package/lib/light.css.map +1 -0
- package/lib/light.js +2 -61
- package/lib/light.js.map +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export interface HLCardPropTypes {
|
|
|
119
119
|
extra?: string | React.ReactNode;
|
|
120
120
|
loading?: boolean;
|
|
121
121
|
size?: 'default' | 'small';
|
|
122
|
-
type?: 'inner' | 'button';
|
|
122
|
+
type?: 'inner' | 'button' | 'hover';
|
|
123
123
|
cover?: React.ReactNode;
|
|
124
124
|
actions?: React.ReactNode[];
|
|
125
125
|
tabList?: CardTabListType[];
|
|
@@ -169,13 +169,13 @@ export type PanelPropTypes = CollapsePanelProps;
|
|
|
169
169
|
export const Panel: React.FC<PanelPropTypes>;
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
export
|
|
172
|
+
export type HLCollapseInfoPanelPropTypes = HLCollapsePropTypes & {
|
|
173
173
|
attributes: Array<{ [key: string]: any } | string>;
|
|
174
174
|
object: any;
|
|
175
175
|
title: React.ReactNode;
|
|
176
176
|
columns?: number;
|
|
177
177
|
isOpen?: boolean;
|
|
178
|
-
}
|
|
178
|
+
};
|
|
179
179
|
|
|
180
180
|
export const HLCollapseInfoPanel: React.FC<HLCollapseInfoPanelPropTypes>;
|
|
181
181
|
|
|
@@ -365,6 +365,7 @@ export interface HLFromToProps<L, R, T> {
|
|
|
365
365
|
onDisassociate: (to?: T | T[]) => void;
|
|
366
366
|
disabledAssociate?: (fromL?: L | L[], fromR?: R | R[], customL?: string, customR?: string) => boolean;
|
|
367
367
|
disabledDisassociate?: (to?: T | T[]) => boolean;
|
|
368
|
+
permissions?: PermissionsType;
|
|
368
369
|
}
|
|
369
370
|
|
|
370
371
|
export type HLFromToPanelTypes<P> = {
|
|
@@ -584,9 +585,9 @@ interface ContextInfo {
|
|
|
584
585
|
}
|
|
585
586
|
|
|
586
587
|
interface Path {
|
|
587
|
-
link
|
|
588
|
+
link?: string;
|
|
588
589
|
title: string;
|
|
589
|
-
icon
|
|
590
|
+
icon?: string;
|
|
590
591
|
}
|
|
591
592
|
|
|
592
593
|
interface BreadcrumbPath {
|
|
@@ -673,7 +674,7 @@ export type HLSideMenuItem = {
|
|
|
673
674
|
subpages?: string[];
|
|
674
675
|
insideMenu?: boolean;
|
|
675
676
|
links?: HLSideMenuItem[];
|
|
676
|
-
|
|
677
|
+
resourceId?: string;
|
|
677
678
|
showOnWelcomePage?: boolean;
|
|
678
679
|
description?: string;
|
|
679
680
|
undeveloped?: boolean;
|
|
@@ -685,8 +686,8 @@ export interface HLSideMenuPropTypes {
|
|
|
685
686
|
subMenus: HLSideMenuItem[];
|
|
686
687
|
changeOpenKeys: (unknown) => unknown;
|
|
687
688
|
onOpenChange: (unknown) => unknown;
|
|
688
|
-
generateLink: (unknown, unknown, unknown) => any;
|
|
689
|
-
|
|
689
|
+
generateLink: (unknown, unknown, unknown, unknown) => any;
|
|
690
|
+
allowsAccessByResourceId: (unknown) => unknown;
|
|
690
691
|
changeCollapsedState: (unknown) => unknown;
|
|
691
692
|
openKeys: any[];
|
|
692
693
|
baseboardLogoPath?: string;
|
|
@@ -917,7 +918,7 @@ export interface HLCardPropTypes {
|
|
|
917
918
|
extra?: string | React.ReactNode;
|
|
918
919
|
loading?: boolean;
|
|
919
920
|
size?: 'default' | 'small';
|
|
920
|
-
type?: 'inner' | 'button';
|
|
921
|
+
type?: 'inner' | 'button' | 'hover';
|
|
921
922
|
cover?: React.ReactNode;
|
|
922
923
|
actions?: React.ReactNode[];
|
|
923
924
|
tabList?: CardTabListType[];
|
|
@@ -962,13 +963,13 @@ export type HLCollapsePropTypes = CollapseProps;
|
|
|
962
963
|
export const HLCollapse: React.FC<HLCollapsePropTypes> & { Panel: typeof Panel };
|
|
963
964
|
|
|
964
965
|
|
|
965
|
-
export
|
|
966
|
+
export type HLCollapseInfoPanelPropTypes = HLCollapsePropTypes & {
|
|
966
967
|
attributes: Array<{ [key: string]: any } | string>;
|
|
967
968
|
object: any;
|
|
968
969
|
title: React.ReactNode;
|
|
969
970
|
columns?: number;
|
|
970
971
|
isOpen?: boolean;
|
|
971
|
-
}
|
|
972
|
+
};
|
|
972
973
|
|
|
973
974
|
export const HLCollapseInfoPanel: React.FC<HLCollapseInfoPanelPropTypes>;
|
|
974
975
|
|
|
@@ -1085,6 +1086,7 @@ export interface HLFromToProps<L, R, T> {
|
|
|
1085
1086
|
onDisassociate: (to?: T | T[]) => void;
|
|
1086
1087
|
disabledAssociate?: (fromL?: L | L[], fromR?: R | R[], customL?: string, customR?: string) => boolean;
|
|
1087
1088
|
disabledDisassociate?: (to?: T | T[]) => boolean;
|
|
1089
|
+
permissions?: PermissionsType;
|
|
1088
1090
|
}
|
|
1089
1091
|
|
|
1090
1092
|
export type HLFromToPanelTypes<P> = {
|
|
@@ -1178,9 +1180,9 @@ interface ContextInfo {
|
|
|
1178
1180
|
}
|
|
1179
1181
|
|
|
1180
1182
|
interface Path {
|
|
1181
|
-
link
|
|
1183
|
+
link?: string;
|
|
1182
1184
|
title: string;
|
|
1183
|
-
icon
|
|
1185
|
+
icon?: string;
|
|
1184
1186
|
}
|
|
1185
1187
|
|
|
1186
1188
|
interface BreadcrumbPath {
|
|
@@ -1267,7 +1269,7 @@ export type HLSideMenuItem = {
|
|
|
1267
1269
|
subpages?: string[];
|
|
1268
1270
|
insideMenu?: boolean;
|
|
1269
1271
|
links?: HLSideMenuItem[];
|
|
1270
|
-
|
|
1272
|
+
resourceId?: string;
|
|
1271
1273
|
showOnWelcomePage?: boolean;
|
|
1272
1274
|
description?: string;
|
|
1273
1275
|
undeveloped?: boolean;
|
|
@@ -1279,8 +1281,8 @@ export interface HLSideMenuPropTypes {
|
|
|
1279
1281
|
subMenus: HLSideMenuItem[];
|
|
1280
1282
|
changeOpenKeys: (unknown) => unknown;
|
|
1281
1283
|
onOpenChange: (unknown) => unknown;
|
|
1282
|
-
generateLink: (unknown, unknown, unknown) => any;
|
|
1283
|
-
|
|
1284
|
+
generateLink: (unknown, unknown, unknown, unknown) => any;
|
|
1285
|
+
allowsAccessByResourceId: (unknown) => unknown;
|
|
1284
1286
|
changeCollapsedState: (unknown) => unknown;
|
|
1285
1287
|
openKeys: any[];
|
|
1286
1288
|
baseboardLogoPath?: string;
|