@hpcc-js/layout 2.51.0 → 3.1.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/dist/index.js +581 -5128
- package/dist/index.js.map +7 -1
- package/package.json +34 -37
- package/src/AbsoluteSurface.ts +17 -8
- package/src/Accordion.ts +18 -8
- package/src/Border.ts +45 -26
- package/src/Cell.ts +18 -13
- package/src/ChartPanel.ts +10 -10
- package/src/Grid.ts +1 -1
- package/src/HorizontalList.ts +1 -1
- package/src/Layered.ts +7 -3
- package/src/Legend.ts +1 -1
- package/src/Popup.ts +23 -12
- package/src/Surface.ts +52 -5
- package/src/Tabbed.ts +19 -12
- package/src/Toolbar.ts +107 -82
- package/src/VerticalList.ts +1 -1
- package/src/__package__.ts +2 -2
- package/src/index.ts +19 -19
- package/types/AbsoluteSurface.d.ts +16 -29
- package/types/Accordion.d.ts +16 -29
- package/types/Border.d.ts +36 -69
- package/types/Border2.d.ts +0 -1
- package/types/Carousel.d.ts +0 -1
- package/types/Cell.d.ts +17 -39
- package/types/ChartPanel.d.ts +8 -9
- package/types/FlexGrid.d.ts +0 -1
- package/types/Grid.d.ts +1 -2
- package/types/HorizontalList.d.ts +1 -2
- package/types/Layered.d.ts +6 -9
- package/types/Legend.d.ts +1 -2
- package/types/Modal.d.ts +0 -1
- package/types/Popup.d.ts +21 -38
- package/types/Surface.d.ts +42 -75
- package/types/Tabbed.d.ts +15 -30
- package/types/Toolbar.d.ts +32 -5
- package/types/VerticalList.d.ts +1 -2
- package/types/__package__.d.ts +2 -3
- package/types/index.d.ts +19 -20
- package/dist/index.es6.js +0 -5104
- package/dist/index.es6.js.map +0 -1
- package/dist/index.min.js +0 -2
- package/dist/index.min.js.map +0 -1
- package/types/AbsoluteSurface.d.ts.map +0 -1
- package/types/Accordion.d.ts.map +0 -1
- package/types/Border.d.ts.map +0 -1
- package/types/Border2.d.ts.map +0 -1
- package/types/Carousel.d.ts.map +0 -1
- package/types/Cell.d.ts.map +0 -1
- package/types/ChartPanel.d.ts.map +0 -1
- package/types/FlexGrid.d.ts.map +0 -1
- package/types/Grid.d.ts.map +0 -1
- package/types/HorizontalList.d.ts.map +0 -1
- package/types/Layered.d.ts.map +0 -1
- package/types/Legend.d.ts.map +0 -1
- package/types/Modal.d.ts.map +0 -1
- package/types/Popup.d.ts.map +0 -1
- package/types/Surface.d.ts.map +0 -1
- package/types/Tabbed.d.ts.map +0 -1
- package/types/Toolbar.d.ts.map +0 -1
- package/types/VerticalList.d.ts.map +0 -1
- package/types/__package__.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types-3.4/AbsoluteSurface.d.ts +0 -37
- package/types-3.4/Accordion.d.ts +0 -45
- package/types-3.4/Border.d.ts +0 -114
- package/types-3.4/Border2.d.ts +0 -102
- package/types-3.4/Carousel.d.ts +0 -21
- package/types-3.4/Cell.d.ts +0 -50
- package/types-3.4/ChartPanel.d.ts +0 -129
- package/types-3.4/FlexGrid.d.ts +0 -44
- package/types-3.4/Grid.d.ts +0 -93
- package/types-3.4/HorizontalList.d.ts +0 -9
- package/types-3.4/Layered.d.ts +0 -29
- package/types-3.4/Legend.d.ts +0 -78
- package/types-3.4/Modal.d.ts +0 -65
- package/types-3.4/Popup.d.ts +0 -49
- package/types-3.4/Surface.d.ts +0 -89
- package/types-3.4/Tabbed.d.ts +0 -46
- package/types-3.4/Toolbar.d.ts +0 -7
- package/types-3.4/VerticalList.d.ts +0 -9
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/index.d.ts +0 -20
package/types/Popup.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLWidget } from "@hpcc-js/common";
|
|
1
|
+
import { HTMLWidget, Widget } from "@hpcc-js/common";
|
|
2
2
|
export declare class Popup extends HTMLWidget {
|
|
3
3
|
_surfaceButtons: any;
|
|
4
4
|
_originalPosition: any;
|
|
@@ -9,41 +9,24 @@ export declare class Popup extends HTMLWidget {
|
|
|
9
9
|
postUpdate(domNode: any, element: any): void;
|
|
10
10
|
exit(domNode: any, element: any): void;
|
|
11
11
|
click(obj: any): void;
|
|
12
|
-
popupState: {
|
|
13
|
-
(): boolean;
|
|
14
|
-
(_: boolean): Popup;
|
|
15
|
-
};
|
|
16
|
-
shrinkWrap: {
|
|
17
|
-
(): boolean;
|
|
18
|
-
(_: boolean): Popup;
|
|
19
|
-
};
|
|
20
|
-
centerPopup: {
|
|
21
|
-
(): string;
|
|
22
|
-
(_: string): Popup;
|
|
23
|
-
};
|
|
24
|
-
top: {
|
|
25
|
-
(): number;
|
|
26
|
-
(_: number): Popup;
|
|
27
|
-
};
|
|
28
|
-
bottom: {
|
|
29
|
-
(): number;
|
|
30
|
-
(_: number): Popup;
|
|
31
|
-
};
|
|
32
|
-
left: {
|
|
33
|
-
(): number;
|
|
34
|
-
(_: number): Popup;
|
|
35
|
-
};
|
|
36
|
-
right: {
|
|
37
|
-
(): number;
|
|
38
|
-
(_: number): Popup;
|
|
39
|
-
};
|
|
40
|
-
position: {
|
|
41
|
-
(): string;
|
|
42
|
-
(_: string): Popup;
|
|
43
|
-
};
|
|
44
|
-
widget: {
|
|
45
|
-
(): any;
|
|
46
|
-
(_: any): Popup;
|
|
47
|
-
};
|
|
48
12
|
}
|
|
49
|
-
|
|
13
|
+
export interface Popup {
|
|
14
|
+
popupState(): boolean;
|
|
15
|
+
popupState(_: boolean): this;
|
|
16
|
+
shrinkWrap(): boolean;
|
|
17
|
+
shrinkWrap(_: boolean): this;
|
|
18
|
+
centerPopup(): "none" | "container" | "window";
|
|
19
|
+
centerPopup(_: "none" | "container" | "window"): this;
|
|
20
|
+
top(): number;
|
|
21
|
+
top(_: number): this;
|
|
22
|
+
bottom(): number;
|
|
23
|
+
bottom(_: number): this;
|
|
24
|
+
left(): number;
|
|
25
|
+
left(_: number): this;
|
|
26
|
+
right(): number;
|
|
27
|
+
right(_: number): this;
|
|
28
|
+
position(): string;
|
|
29
|
+
position(_: string): this;
|
|
30
|
+
widget(): Widget;
|
|
31
|
+
widget(_: Widget): this;
|
|
32
|
+
}
|
package/types/Surface.d.ts
CHANGED
|
@@ -10,80 +10,47 @@ export declare class Surface extends HTMLWidget {
|
|
|
10
10
|
enter(domNode: any, element: any): void;
|
|
11
11
|
update(domNode: any, element2: any): void;
|
|
12
12
|
exit(domNode: any, element: any): void;
|
|
13
|
-
title: {
|
|
14
|
-
(): string;
|
|
15
|
-
(_: string): Surface;
|
|
16
|
-
};
|
|
17
|
-
altText: {
|
|
18
|
-
(): string;
|
|
19
|
-
(_: string): Surface;
|
|
20
|
-
};
|
|
21
|
-
altText_exists: () => boolean;
|
|
22
|
-
surfaceTitlePadding: {
|
|
23
|
-
(): number;
|
|
24
|
-
(_: number): Surface;
|
|
25
|
-
};
|
|
26
|
-
surfaceTitlePadding_exists: () => boolean;
|
|
27
|
-
surfaceTitleFontSize: {
|
|
28
|
-
(): number;
|
|
29
|
-
(_: number): Surface;
|
|
30
|
-
};
|
|
31
|
-
surfaceTitleFontSize_exists: () => boolean;
|
|
32
|
-
surfaceTitleFontColor: {
|
|
33
|
-
(): string;
|
|
34
|
-
(_: string): Surface;
|
|
35
|
-
};
|
|
36
|
-
surfaceTitleFontFamily: {
|
|
37
|
-
(): string;
|
|
38
|
-
(_: string): Surface;
|
|
39
|
-
};
|
|
40
|
-
surfaceTitleFontBold: {
|
|
41
|
-
(): boolean;
|
|
42
|
-
(_: boolean): Surface;
|
|
43
|
-
};
|
|
44
|
-
surfaceTitleBackgroundColor: {
|
|
45
|
-
(): string;
|
|
46
|
-
(_: string): Surface;
|
|
47
|
-
};
|
|
48
|
-
surfaceTitleAlignment: {
|
|
49
|
-
(): string;
|
|
50
|
-
(_: string): Surface;
|
|
51
|
-
};
|
|
52
|
-
surfaceShadow: {
|
|
53
|
-
(): boolean;
|
|
54
|
-
(_: boolean): Surface;
|
|
55
|
-
};
|
|
56
|
-
surfacePadding: {
|
|
57
|
-
(): string;
|
|
58
|
-
(_: string): Surface;
|
|
59
|
-
};
|
|
60
|
-
surfacePadding_exists: () => boolean;
|
|
61
|
-
surfaceBackgroundColor: {
|
|
62
|
-
(): string;
|
|
63
|
-
(_: string): Surface;
|
|
64
|
-
};
|
|
65
|
-
surfaceBorderWidth: {
|
|
66
|
-
(): number;
|
|
67
|
-
(_: number): Surface;
|
|
68
|
-
};
|
|
69
|
-
surfaceBorderWidth_exists: () => boolean;
|
|
70
|
-
surfaceBorderColor: {
|
|
71
|
-
(): string;
|
|
72
|
-
(_: string): Surface;
|
|
73
|
-
};
|
|
74
|
-
surfaceBorderRadius: {
|
|
75
|
-
(): number;
|
|
76
|
-
(_: number): Surface;
|
|
77
|
-
};
|
|
78
|
-
surfaceBorderRadius_exists: () => boolean;
|
|
79
|
-
buttonAnnotations: {
|
|
80
|
-
(): any[];
|
|
81
|
-
(_: any[]): Surface;
|
|
82
|
-
};
|
|
83
|
-
widget: {
|
|
84
|
-
(): Widget;
|
|
85
|
-
(_: Widget): Surface;
|
|
86
|
-
};
|
|
87
13
|
click(obj: any): void;
|
|
88
14
|
}
|
|
89
|
-
|
|
15
|
+
export interface Surface {
|
|
16
|
+
title(): string;
|
|
17
|
+
title(_: string): this;
|
|
18
|
+
altText(): string;
|
|
19
|
+
altText(_: string): this;
|
|
20
|
+
altText_exists(): boolean;
|
|
21
|
+
surfaceTitlePadding(): number;
|
|
22
|
+
surfaceTitlePadding(_: number): this;
|
|
23
|
+
surfaceTitlePadding_exists(): boolean;
|
|
24
|
+
surfaceTitleFontSize(): number;
|
|
25
|
+
surfaceTitleFontSize(_: number): this;
|
|
26
|
+
surfaceTitleFontSize_exists(): boolean;
|
|
27
|
+
surfaceTitleFontColor(): string;
|
|
28
|
+
surfaceTitleFontColor(_: string): this;
|
|
29
|
+
surfaceTitleFontFamily(): string;
|
|
30
|
+
surfaceTitleFontFamily(_: string): this;
|
|
31
|
+
surfaceTitleFontBold(): boolean;
|
|
32
|
+
surfaceTitleFontBold(_: boolean): this;
|
|
33
|
+
surfaceTitleBackgroundColor(): string;
|
|
34
|
+
surfaceTitleBackgroundColor(_: string): this;
|
|
35
|
+
surfaceTitleAlignment(): string;
|
|
36
|
+
surfaceTitleAlignment(_: string): this;
|
|
37
|
+
surfaceShadow(): boolean;
|
|
38
|
+
surfaceShadow(_: boolean): this;
|
|
39
|
+
surfacePadding(): string;
|
|
40
|
+
surfacePadding(_: string): this;
|
|
41
|
+
surfacePadding_exists(): boolean;
|
|
42
|
+
surfaceBackgroundColor(): string;
|
|
43
|
+
surfaceBackgroundColor(_: string): this;
|
|
44
|
+
surfaceBorderWidth(): number;
|
|
45
|
+
surfaceBorderWidth(_: number): this;
|
|
46
|
+
surfaceBorderWidth_exists(): boolean;
|
|
47
|
+
surfaceBorderColor(): string;
|
|
48
|
+
surfaceBorderColor(_: string): this;
|
|
49
|
+
surfaceBorderRadius(): number;
|
|
50
|
+
surfaceBorderRadius(_: number): this;
|
|
51
|
+
surfaceBorderRadius_exists(): boolean;
|
|
52
|
+
buttonAnnotations(): any[];
|
|
53
|
+
buttonAnnotations(_: any[]): this;
|
|
54
|
+
widget(): Widget;
|
|
55
|
+
widget(_: Widget): this;
|
|
56
|
+
}
|
package/types/Tabbed.d.ts
CHANGED
|
@@ -13,34 +13,19 @@ export declare class Tabbed extends HTMLWidget {
|
|
|
13
13
|
enter(domNode: any, element: any): void;
|
|
14
14
|
update(domNode: any, element: any): void;
|
|
15
15
|
click(widget: any, column: any, idx: any): void;
|
|
16
|
-
showTabs: {
|
|
17
|
-
(): boolean;
|
|
18
|
-
(_: boolean): Tabbed;
|
|
19
|
-
};
|
|
20
|
-
surfacePadding: {
|
|
21
|
-
(): number;
|
|
22
|
-
(_: number): Tabbed;
|
|
23
|
-
};
|
|
24
|
-
surfacePadding_default: {
|
|
25
|
-
(): number;
|
|
26
|
-
(_: number): Tabbed;
|
|
27
|
-
};
|
|
28
|
-
surfacePadding_exists: () => boolean;
|
|
29
|
-
activeTabIdx: {
|
|
30
|
-
(): number;
|
|
31
|
-
(_: number): Tabbed;
|
|
32
|
-
};
|
|
33
|
-
labels: {
|
|
34
|
-
(): string[];
|
|
35
|
-
(_: string[]): Tabbed;
|
|
36
|
-
};
|
|
37
|
-
tabLocation: {
|
|
38
|
-
(): string;
|
|
39
|
-
(_: string): Tabbed;
|
|
40
|
-
};
|
|
41
|
-
widgets: {
|
|
42
|
-
(): any[];
|
|
43
|
-
(_: any[]): Tabbed;
|
|
44
|
-
};
|
|
45
16
|
}
|
|
46
|
-
|
|
17
|
+
export interface Tabbed {
|
|
18
|
+
showTabs(): boolean;
|
|
19
|
+
showTabs(_: boolean): this;
|
|
20
|
+
surfacePadding(): number;
|
|
21
|
+
surfacePadding(_: number): this;
|
|
22
|
+
surfacePadding_exists(): boolean;
|
|
23
|
+
activeTabIdx(): number;
|
|
24
|
+
activeTabIdx(_: number): this;
|
|
25
|
+
labels(): string[];
|
|
26
|
+
labels(_: string[]): this;
|
|
27
|
+
tabLocation(): "top" | "bottom";
|
|
28
|
+
tabLocation(_: "top" | "bottom"): this;
|
|
29
|
+
widgets(): any[];
|
|
30
|
+
widgets(_: any[]): this;
|
|
31
|
+
}
|
package/types/Toolbar.d.ts
CHANGED
|
@@ -1,7 +1,34 @@
|
|
|
1
|
+
import { HTMLWidget, Widget } from "@hpcc-js/common";
|
|
1
2
|
import "../src/Toolbar.css";
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
export declare class Toolbar extends HTMLWidget {
|
|
4
|
+
constructor();
|
|
5
|
+
enter(domNode: any, element: any): void;
|
|
6
|
+
update(domNode: any, element: any): void;
|
|
7
|
+
render(callback?: (w: Widget) => void): this;
|
|
8
|
+
exit(domNode: any, element: any): void;
|
|
9
|
+
}
|
|
10
|
+
export interface Toolbar {
|
|
11
|
+
title(): string;
|
|
12
|
+
title(_: string): this;
|
|
13
|
+
fontSize(): number;
|
|
14
|
+
fontSize(_: number): this;
|
|
15
|
+
fontSize_exists(): boolean;
|
|
16
|
+
fontColor(): string;
|
|
17
|
+
fontColor(_: string): this;
|
|
18
|
+
fontColor_exists(): boolean;
|
|
19
|
+
fontFamily(): string;
|
|
20
|
+
fontFamily(_: string): this;
|
|
21
|
+
fontFamily_exists(): boolean;
|
|
22
|
+
fontBold(): boolean;
|
|
23
|
+
fontBold(_: boolean): this;
|
|
24
|
+
fontBold_exists(): boolean;
|
|
25
|
+
backgroundColor(): string;
|
|
26
|
+
backgroundColor(_: string): this;
|
|
27
|
+
backgroundColor_exists(): boolean;
|
|
28
|
+
responsive(): boolean;
|
|
29
|
+
responsive(_: boolean): this;
|
|
30
|
+
widgets(): any[];
|
|
31
|
+
widgets(_: any[]): this;
|
|
32
|
+
widgetClasses(): string[];
|
|
33
|
+
widgetClasses(_: string[]): this;
|
|
5
34
|
}
|
|
6
|
-
export { Toolbar };
|
|
7
|
-
//# sourceMappingURL=Toolbar.d.ts.map
|
package/types/VerticalList.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FlexGrid } from "./FlexGrid";
|
|
1
|
+
import { FlexGrid } from "./FlexGrid.ts";
|
|
2
2
|
export declare class VerticalList extends FlexGrid {
|
|
3
3
|
constructor();
|
|
4
4
|
}
|
|
@@ -6,4 +6,3 @@ export interface VerticalList {
|
|
|
6
6
|
orientation_default(_: "horizontal" | "vertical"): any;
|
|
7
7
|
flexWrap_default(_: "nowrap" | "wrap" | "wrap-reverse"): any;
|
|
8
8
|
}
|
|
9
|
-
//# sourceMappingURL=VerticalList.d.ts.map
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/layout";
|
|
2
|
-
export declare const PKG_VERSION = "
|
|
3
|
-
export declare const BUILD_VERSION = "2.
|
|
4
|
-
//# sourceMappingURL=__package__.d.ts.map
|
|
2
|
+
export declare const PKG_VERSION = "3.1.0";
|
|
3
|
+
export declare const BUILD_VERSION = "3.2.0";
|
package/types/index.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
export * from "./__package__";
|
|
2
|
-
export * from "./AbsoluteSurface";
|
|
3
|
-
export * from "./Accordion";
|
|
4
|
-
export * from "./Border";
|
|
5
|
-
export * from "./Border2";
|
|
6
|
-
export * from "./Carousel";
|
|
7
|
-
export * from "./Cell";
|
|
8
|
-
export * from "./ChartPanel";
|
|
9
|
-
export * from "./FlexGrid";
|
|
10
|
-
export * from "./Grid";
|
|
11
|
-
export * from "./HorizontalList";
|
|
12
|
-
export * from "./Layered";
|
|
13
|
-
export * from "./Legend";
|
|
14
|
-
export * from "./Modal";
|
|
15
|
-
export * from "./Popup";
|
|
16
|
-
export * from "./Surface";
|
|
17
|
-
export * from "./Tabbed";
|
|
18
|
-
export * from "./Toolbar";
|
|
19
|
-
export * from "./VerticalList";
|
|
20
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export * from "./__package__.ts";
|
|
2
|
+
export * from "./AbsoluteSurface.ts";
|
|
3
|
+
export * from "./Accordion.ts";
|
|
4
|
+
export * from "./Border.ts";
|
|
5
|
+
export * from "./Border2.ts";
|
|
6
|
+
export * from "./Carousel.ts";
|
|
7
|
+
export * from "./Cell.ts";
|
|
8
|
+
export * from "./ChartPanel.ts";
|
|
9
|
+
export * from "./FlexGrid.ts";
|
|
10
|
+
export * from "./Grid.ts";
|
|
11
|
+
export * from "./HorizontalList.ts";
|
|
12
|
+
export * from "./Layered.ts";
|
|
13
|
+
export * from "./Legend.ts";
|
|
14
|
+
export * from "./Modal.ts";
|
|
15
|
+
export * from "./Popup.ts";
|
|
16
|
+
export * from "./Surface.ts";
|
|
17
|
+
export * from "./Tabbed.ts";
|
|
18
|
+
export * from "./Toolbar.ts";
|
|
19
|
+
export * from "./VerticalList.ts";
|