synos-helena 21.13.1-beta.1 → 21.14.0-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/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 +16 -12
- 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/CHANGELOG.md +0 -751
package/lib/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
// ../antd/lib/checkbox
|
|
9
9
|
// ../react-syntax-highlighter
|
|
10
10
|
// ../antd/lib/collapse
|
|
11
|
+
// ../HLCollapse
|
|
11
12
|
// util/constants
|
|
12
13
|
// HLInput
|
|
13
14
|
// ../antd/lib/config-provider/SizeContext
|
|
@@ -45,6 +46,7 @@ import { SyntaxHighlighterProps } from 'react-syntax-highlighter';
|
|
|
45
46
|
import { CollapseProps } from 'antd/lib/collapse';
|
|
46
47
|
import { CollapsePanelProps } from 'antd/lib/collapse';
|
|
47
48
|
import React from 'react';
|
|
49
|
+
import { HLCollapsePropTypes } from 'HLCollapse';
|
|
48
50
|
import { DATE_TIME, DATE } from 'src/util/constants';
|
|
49
51
|
import { HLInputPropTypes } from 'src/HLInput';
|
|
50
52
|
import { SizeType } from 'antd/lib/config-provider/SizeContext';
|
|
@@ -167,13 +169,13 @@ export type PanelPropTypes = CollapsePanelProps;
|
|
|
167
169
|
export const Panel: React.FC<PanelPropTypes>;
|
|
168
170
|
|
|
169
171
|
|
|
170
|
-
export
|
|
171
|
-
attributes: string
|
|
172
|
+
export type HLCollapseInfoPanelPropTypes = HLCollapsePropTypes & {
|
|
173
|
+
attributes: Array<{ [key: string]: any } | string>;
|
|
172
174
|
object: any;
|
|
173
175
|
title: React.ReactNode;
|
|
174
176
|
columns?: number;
|
|
175
177
|
isOpen?: boolean;
|
|
176
|
-
}
|
|
178
|
+
};
|
|
177
179
|
|
|
178
180
|
export const HLCollapseInfoPanel: React.FC<HLCollapseInfoPanelPropTypes>;
|
|
179
181
|
|
|
@@ -363,6 +365,7 @@ export interface HLFromToProps<L, R, T> {
|
|
|
363
365
|
onDisassociate: (to?: T | T[]) => void;
|
|
364
366
|
disabledAssociate?: (fromL?: L | L[], fromR?: R | R[], customL?: string, customR?: string) => boolean;
|
|
365
367
|
disabledDisassociate?: (to?: T | T[]) => boolean;
|
|
368
|
+
permissions?: any;
|
|
366
369
|
}
|
|
367
370
|
|
|
368
371
|
export type HLFromToPanelTypes<P> = {
|
|
@@ -671,7 +674,7 @@ export type HLSideMenuItem = {
|
|
|
671
674
|
subpages?: string[];
|
|
672
675
|
insideMenu?: boolean;
|
|
673
676
|
links?: HLSideMenuItem[];
|
|
674
|
-
|
|
677
|
+
resourceId?: string;
|
|
675
678
|
showOnWelcomePage?: boolean;
|
|
676
679
|
description?: string;
|
|
677
680
|
undeveloped?: boolean;
|
|
@@ -683,8 +686,8 @@ export interface HLSideMenuPropTypes {
|
|
|
683
686
|
subMenus: HLSideMenuItem[];
|
|
684
687
|
changeOpenKeys: (unknown) => unknown;
|
|
685
688
|
onOpenChange: (unknown) => unknown;
|
|
686
|
-
generateLink: (unknown, unknown, unknown) => any;
|
|
687
|
-
|
|
689
|
+
generateLink: (unknown, unknown, unknown, unknown) => any;
|
|
690
|
+
allowsAccessByResourceId: (unknown) => unknown;
|
|
688
691
|
changeCollapsedState: (unknown) => unknown;
|
|
689
692
|
openKeys: any[];
|
|
690
693
|
baseboardLogoPath?: string;
|
|
@@ -960,13 +963,13 @@ export type HLCollapsePropTypes = CollapseProps;
|
|
|
960
963
|
export const HLCollapse: React.FC<HLCollapsePropTypes> & { Panel: typeof Panel };
|
|
961
964
|
|
|
962
965
|
|
|
963
|
-
export
|
|
964
|
-
attributes: string
|
|
966
|
+
export type HLCollapseInfoPanelPropTypes = HLCollapsePropTypes & {
|
|
967
|
+
attributes: Array<{ [key: string]: any } | string>;
|
|
965
968
|
object: any;
|
|
966
969
|
title: React.ReactNode;
|
|
967
970
|
columns?: number;
|
|
968
971
|
isOpen?: boolean;
|
|
969
|
-
}
|
|
972
|
+
};
|
|
970
973
|
|
|
971
974
|
export const HLCollapseInfoPanel: React.FC<HLCollapseInfoPanelPropTypes>;
|
|
972
975
|
|
|
@@ -1083,6 +1086,7 @@ export interface HLFromToProps<L, R, T> {
|
|
|
1083
1086
|
onDisassociate: (to?: T | T[]) => void;
|
|
1084
1087
|
disabledAssociate?: (fromL?: L | L[], fromR?: R | R[], customL?: string, customR?: string) => boolean;
|
|
1085
1088
|
disabledDisassociate?: (to?: T | T[]) => boolean;
|
|
1089
|
+
permissions?: any;
|
|
1086
1090
|
}
|
|
1087
1091
|
|
|
1088
1092
|
export type HLFromToPanelTypes<P> = {
|
|
@@ -1265,7 +1269,7 @@ export type HLSideMenuItem = {
|
|
|
1265
1269
|
subpages?: string[];
|
|
1266
1270
|
insideMenu?: boolean;
|
|
1267
1271
|
links?: HLSideMenuItem[];
|
|
1268
|
-
|
|
1272
|
+
resourceId?: string;
|
|
1269
1273
|
showOnWelcomePage?: boolean;
|
|
1270
1274
|
description?: string;
|
|
1271
1275
|
undeveloped?: boolean;
|
|
@@ -1277,8 +1281,8 @@ export interface HLSideMenuPropTypes {
|
|
|
1277
1281
|
subMenus: HLSideMenuItem[];
|
|
1278
1282
|
changeOpenKeys: (unknown) => unknown;
|
|
1279
1283
|
onOpenChange: (unknown) => unknown;
|
|
1280
|
-
generateLink: (unknown, unknown, unknown) => any;
|
|
1281
|
-
|
|
1284
|
+
generateLink: (unknown, unknown, unknown, unknown) => any;
|
|
1285
|
+
allowsAccessByResourceId: (unknown) => unknown;
|
|
1282
1286
|
changeCollapsedState: (unknown) => unknown;
|
|
1283
1287
|
openKeys: any[];
|
|
1284
1288
|
baseboardLogoPath?: string;
|