@hpcc-js/other 2.16.2 → 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 +785 -6346
- package/dist/index.js.map +7 -1
- package/package.json +31 -34
- package/src/Audio.ts +6 -3
- package/src/AutoCompleteText.ts +22 -14
- package/src/CalendarHeatMap.ts +24 -17
- package/src/ESP.ts +1 -1
- package/src/HeatMap.ts +41 -26
- package/src/Html.ts +11 -7
- package/src/IconList.ts +1 -1
- package/src/Legend.ts +16 -9
- package/src/MorphText.ts +16 -9
- package/src/NestedTable.ts +1 -1
- package/src/Opportunity.ts +32 -20
- package/src/Paginator.ts +21 -13
- package/src/PropertyEditor.ts +28 -16
- package/src/RadioCheckbox.ts +18 -11
- package/src/Select.ts +24 -14
- package/src/Table.ts +109 -60
- package/src/ThemeEditor.ts +40 -26
- package/src/__package__.ts +2 -2
- package/src/index.ts +21 -21
- package/types/Audio.d.ts +6 -7
- package/types/AutoCompleteText.d.ts +20 -31
- package/types/CalendarHeatMap.d.ts +20 -33
- package/types/Comms.d.ts +0 -1
- package/types/ESP.d.ts +0 -1
- package/types/HPCCBadge.d.ts +0 -1
- package/types/HeatMap.d.ts +39 -62
- package/types/Html.d.ts +10 -16
- package/types/IconList.d.ts +0 -1
- package/types/Legend.d.ts +16 -23
- package/types/MorphText.d.ts +14 -18
- package/types/NestedTable.d.ts +1 -2
- package/types/Opportunity.d.ts +29 -47
- package/types/Paginator.d.ts +20 -31
- package/types/Persist.d.ts +0 -1
- package/types/PropertyEditor.d.ts +22 -38
- package/types/RadioCheckbox.d.ts +17 -26
- package/types/Select.d.ts +23 -36
- package/types/Table.d.ts +96 -187
- package/types/ThemeEditor.d.ts +38 -61
- package/types/__package__.d.ts +2 -3
- package/types/index.d.ts +21 -22
- package/dist/index.es6.js +0 -6313
- 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/Audio.d.ts.map +0 -1
- package/types/AutoCompleteText.d.ts.map +0 -1
- package/types/CalendarHeatMap.d.ts.map +0 -1
- package/types/Comms.d.ts.map +0 -1
- package/types/ESP.d.ts.map +0 -1
- package/types/HPCCBadge.d.ts.map +0 -1
- package/types/HeatMap.d.ts.map +0 -1
- package/types/Html.d.ts.map +0 -1
- package/types/IconList.d.ts.map +0 -1
- package/types/Legend.d.ts.map +0 -1
- package/types/MorphText.d.ts.map +0 -1
- package/types/NestedTable.d.ts.map +0 -1
- package/types/Opportunity.d.ts.map +0 -1
- package/types/Paginator.d.ts.map +0 -1
- package/types/Persist.d.ts.map +0 -1
- package/types/PropertyEditor.d.ts.map +0 -1
- package/types/RadioCheckbox.d.ts.map +0 -1
- package/types/Select.d.ts.map +0 -1
- package/types/Table.d.ts.map +0 -1
- package/types/ThemeEditor.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/Audio.d.ts +0 -19
- package/types-3.4/AutoCompleteText.d.ts +0 -46
- package/types-3.4/CalendarHeatMap.d.ts +0 -61
- package/types-3.4/Comms.d.ts +0 -112
- package/types-3.4/ESP.d.ts +0 -9
- package/types-3.4/HPCCBadge.d.ts +0 -30
- package/types-3.4/HeatMap.d.ts +0 -72
- package/types-3.4/Html.d.ts +0 -23
- package/types-3.4/IconList.d.ts +0 -26
- package/types-3.4/Legend.d.ts +0 -40
- package/types-3.4/MorphText.d.ts +0 -28
- package/types-3.4/NestedTable.d.ts +0 -5
- package/types-3.4/Opportunity.d.ts +0 -99
- package/types-3.4/Paginator.d.ts +0 -45
- package/types-3.4/Persist.d.ts +0 -10
- package/types-3.4/PropertyEditor.d.ts +0 -85
- package/types-3.4/RadioCheckbox.d.ts +0 -40
- package/types-3.4/Select.d.ts +0 -49
- package/types-3.4/Table.d.ts +0 -257
- package/types-3.4/ThemeEditor.d.ts +0 -97
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/index.d.ts +0 -24
package/types/Legend.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Palette } from "@hpcc-js/common";
|
|
2
|
-
import { Table } from "./Table";
|
|
2
|
+
import { Table } from "./Table.ts";
|
|
3
3
|
import "../src/Legend.css";
|
|
4
4
|
export declare class Legend extends Table {
|
|
5
5
|
_targetWidget: any;
|
|
@@ -9,32 +9,25 @@ export declare class Legend extends Table {
|
|
|
9
9
|
targetWidget(): any;
|
|
10
10
|
targetWidget(_: any): this;
|
|
11
11
|
getWidget(): any;
|
|
12
|
-
getPalette(): Palette.
|
|
12
|
+
getPalette(): Palette.RainbowPaletteFunc | Palette.OrdinalPaletteFunc;
|
|
13
13
|
enter(domNode: any, element: any): void;
|
|
14
14
|
update(domNode: any, element: any): void;
|
|
15
15
|
exit(domNode: any, element: any): void;
|
|
16
16
|
onClick(rowData: any, rowIdx: any): void;
|
|
17
17
|
onDblClick(rowData: any, rowIdx: any): void;
|
|
18
18
|
onMouseOver(rowData: any, rowIdx: any): void;
|
|
19
|
-
dataFamily: {
|
|
20
|
-
(): string;
|
|
21
|
-
(_: string): Legend;
|
|
22
|
-
};
|
|
23
|
-
dataFamily_exists: () => boolean;
|
|
24
|
-
orientation: {
|
|
25
|
-
(): string;
|
|
26
|
-
(_: string): Legend;
|
|
27
|
-
};
|
|
28
|
-
orientation_exists: () => boolean;
|
|
29
|
-
rainbowFormat: {
|
|
30
|
-
(): string;
|
|
31
|
-
(_: string): Legend;
|
|
32
|
-
};
|
|
33
|
-
rainbowFormat_exists: () => boolean;
|
|
34
|
-
rainbowBins: {
|
|
35
|
-
(): number;
|
|
36
|
-
(_: number): Legend;
|
|
37
|
-
};
|
|
38
|
-
rainbowBins_exists: () => boolean;
|
|
39
19
|
}
|
|
40
|
-
|
|
20
|
+
export interface Legend {
|
|
21
|
+
dataFamily(): string;
|
|
22
|
+
dataFamily(_: string): this;
|
|
23
|
+
dataFamily_exists(): boolean;
|
|
24
|
+
orientation(): string;
|
|
25
|
+
orientation(_: string): this;
|
|
26
|
+
orientation_exists(): boolean;
|
|
27
|
+
rainbowFormat(): string;
|
|
28
|
+
rainbowFormat(_: string): this;
|
|
29
|
+
rainbowFormat_exists(): boolean;
|
|
30
|
+
rainbowBins(): number;
|
|
31
|
+
rainbowBins(_: number): this;
|
|
32
|
+
rainbowBins_exists(): boolean;
|
|
33
|
+
}
|
package/types/MorphText.d.ts
CHANGED
|
@@ -7,22 +7,18 @@ export declare class MorphText extends SVGWidget {
|
|
|
7
7
|
enter(domNode: any, element: any): void;
|
|
8
8
|
dateTime(): string;
|
|
9
9
|
update(domNode: any, element: any): void;
|
|
10
|
-
anchor: {
|
|
11
|
-
(): string;
|
|
12
|
-
(_: string): MorphText;
|
|
13
|
-
};
|
|
14
|
-
anchor_exists: () => boolean;
|
|
15
|
-
fontSize: {
|
|
16
|
-
(): number;
|
|
17
|
-
(_: number): MorphText;
|
|
18
|
-
};
|
|
19
|
-
fontSize_exists: () => boolean;
|
|
20
|
-
reverse: {
|
|
21
|
-
(): boolean;
|
|
22
|
-
(_: boolean): MorphText;
|
|
23
|
-
};
|
|
24
|
-
reverse_exists: () => boolean;
|
|
25
|
-
text: (_?: string) => MorphText | this;
|
|
26
|
-
text_exists: () => boolean;
|
|
27
10
|
}
|
|
28
|
-
|
|
11
|
+
export interface MorphText {
|
|
12
|
+
anchor(): string;
|
|
13
|
+
anchor(_: string): this;
|
|
14
|
+
anchor_exists(): boolean;
|
|
15
|
+
fontSize(): number;
|
|
16
|
+
fontSize(_: number): this;
|
|
17
|
+
fontSize_exists(): boolean;
|
|
18
|
+
reverse(): boolean;
|
|
19
|
+
reverse(_: boolean): this;
|
|
20
|
+
reverse_exists(): boolean;
|
|
21
|
+
text(): string;
|
|
22
|
+
text(_: string): this;
|
|
23
|
+
text_exists(): boolean;
|
|
24
|
+
}
|
package/types/NestedTable.d.ts
CHANGED
package/types/Opportunity.d.ts
CHANGED
|
@@ -49,51 +49,33 @@ export declare class Opportunity extends SVGWidget {
|
|
|
49
49
|
update(domNode: any, element: any): void;
|
|
50
50
|
exit(domNode: any, element: any): void;
|
|
51
51
|
getIds(): string[];
|
|
52
|
-
previousGroup: {
|
|
53
|
-
(): string;
|
|
54
|
-
(_: string): Opportunity;
|
|
55
|
-
};
|
|
56
|
-
previousGroup_exists: () => boolean;
|
|
57
|
-
currentGroup: {
|
|
58
|
-
(): string;
|
|
59
|
-
(_: string): Opportunity;
|
|
60
|
-
};
|
|
61
|
-
currentGroup_exists: () => boolean;
|
|
62
|
-
opportunityId: {
|
|
63
|
-
(): string;
|
|
64
|
-
(_: string): Opportunity;
|
|
65
|
-
};
|
|
66
|
-
opportunityId_exists: () => boolean;
|
|
67
|
-
url: {
|
|
68
|
-
(): string;
|
|
69
|
-
(_: string): Opportunity;
|
|
70
|
-
};
|
|
71
|
-
url_exists: () => boolean;
|
|
72
|
-
width_exists: () => boolean;
|
|
73
|
-
addColumn: {
|
|
74
|
-
(): string;
|
|
75
|
-
(_: string): Opportunity;
|
|
76
|
-
};
|
|
77
|
-
addColumn_exists: () => boolean;
|
|
78
|
-
removeColumn: {
|
|
79
|
-
(): string;
|
|
80
|
-
(_: string): Opportunity;
|
|
81
|
-
};
|
|
82
|
-
removeColumn_exists: () => boolean;
|
|
83
|
-
headerLabels: {
|
|
84
|
-
(): any[];
|
|
85
|
-
(_: any[]): Opportunity;
|
|
86
|
-
};
|
|
87
|
-
headerLabels_exists: () => boolean;
|
|
88
|
-
mouseHover: {
|
|
89
|
-
(): any[];
|
|
90
|
-
(_: any[]): Opportunity;
|
|
91
|
-
};
|
|
92
|
-
mouseHover_exists: () => boolean;
|
|
93
|
-
columnData: {
|
|
94
|
-
(): any[];
|
|
95
|
-
(_: any[]): Opportunity;
|
|
96
|
-
};
|
|
97
|
-
columnData_exists: () => boolean;
|
|
98
52
|
}
|
|
99
|
-
|
|
53
|
+
export interface Opportunity {
|
|
54
|
+
previousGroup(): string;
|
|
55
|
+
previousGroup(_: string): this;
|
|
56
|
+
previousGroup_exists(): boolean;
|
|
57
|
+
currentGroup(): string;
|
|
58
|
+
currentGroup(_: string): this;
|
|
59
|
+
currentGroup_exists(): boolean;
|
|
60
|
+
opportunityId(): string;
|
|
61
|
+
opportunityId(_: string): this;
|
|
62
|
+
opportunityId_exists(): boolean;
|
|
63
|
+
url(): string;
|
|
64
|
+
url(_: string): this;
|
|
65
|
+
url_exists(): boolean;
|
|
66
|
+
addColumn(): string;
|
|
67
|
+
addColumn(_: string): this;
|
|
68
|
+
addColumn_exists(): boolean;
|
|
69
|
+
removeColumn(): string;
|
|
70
|
+
removeColumn(_: string): this;
|
|
71
|
+
removeColumn_exists(): boolean;
|
|
72
|
+
headerLabels(): any[];
|
|
73
|
+
headerLabels(_: any[]): this;
|
|
74
|
+
headerLabels_exists(): boolean;
|
|
75
|
+
mouseHover(): any[];
|
|
76
|
+
mouseHover(_: any[]): this;
|
|
77
|
+
mouseHover_exists(): boolean;
|
|
78
|
+
columnData(): any[];
|
|
79
|
+
columnData(_: any[]): this;
|
|
80
|
+
columnData_exists(): boolean;
|
|
81
|
+
}
|
package/types/Paginator.d.ts
CHANGED
|
@@ -11,35 +11,24 @@ export declare class Paginator extends HTMLWidget {
|
|
|
11
11
|
enter(domNode: any, element: any): void;
|
|
12
12
|
update(domNode: any, element: any): void;
|
|
13
13
|
exit(domNode: any, element: any): void;
|
|
14
|
-
itemsPerPage: {
|
|
15
|
-
(): number;
|
|
16
|
-
(_: number): Paginator;
|
|
17
|
-
};
|
|
18
|
-
itemsPerPage_exists: () => boolean;
|
|
19
|
-
numItems: {
|
|
20
|
-
(): number;
|
|
21
|
-
(_: number): Paginator;
|
|
22
|
-
};
|
|
23
|
-
numItems_exists: () => boolean;
|
|
24
|
-
pageNumber: {
|
|
25
|
-
(): number;
|
|
26
|
-
(_: number): Paginator;
|
|
27
|
-
};
|
|
28
|
-
pageNumber_exists: () => boolean;
|
|
29
|
-
adjacentPages: {
|
|
30
|
-
(): number;
|
|
31
|
-
(_: number): Paginator;
|
|
32
|
-
};
|
|
33
|
-
adjacentPages_exists: () => boolean;
|
|
34
|
-
bottom: {
|
|
35
|
-
(): number;
|
|
36
|
-
(_: number): Paginator;
|
|
37
|
-
};
|
|
38
|
-
bottom_exists: () => boolean;
|
|
39
|
-
right: {
|
|
40
|
-
(): number;
|
|
41
|
-
(_: number): Paginator;
|
|
42
|
-
};
|
|
43
|
-
right_exists: () => boolean;
|
|
44
14
|
}
|
|
45
|
-
|
|
15
|
+
export interface Paginator {
|
|
16
|
+
itemsPerPage(): number;
|
|
17
|
+
itemsPerPage(_: number): this;
|
|
18
|
+
itemsPerPage_exists(): boolean;
|
|
19
|
+
numItems(): number;
|
|
20
|
+
numItems(_: number): this;
|
|
21
|
+
numItems_exists(): boolean;
|
|
22
|
+
pageNumber(): number;
|
|
23
|
+
pageNumber(_: number): this;
|
|
24
|
+
pageNumber_exists(): boolean;
|
|
25
|
+
adjacentPages(): number;
|
|
26
|
+
adjacentPages(_: number): this;
|
|
27
|
+
adjacentPages_exists(): boolean;
|
|
28
|
+
bottom(): number;
|
|
29
|
+
bottom(_: number): this;
|
|
30
|
+
bottom_exists(): boolean;
|
|
31
|
+
right(): number;
|
|
32
|
+
right(_: number): this;
|
|
33
|
+
right_exists(): boolean;
|
|
34
|
+
}
|
package/types/Persist.d.ts
CHANGED
|
@@ -7,4 +7,3 @@ export declare function removeTheme(widget2: any, callback: any): void;
|
|
|
7
7
|
export declare function applyTheme(widget2: any, themeObj: any, callback: any): void;
|
|
8
8
|
export declare function serializeToObject(widget: any, filter?: any, includeData?: any, includeState?: any): any;
|
|
9
9
|
export declare function serialize(widget: any, filter?: any, includeData?: any, includeState?: any): string;
|
|
10
|
-
//# sourceMappingURL=Persist.d.ts.map
|
|
@@ -44,42 +44,26 @@ export declare class PropertyEditor extends HTMLWidget {
|
|
|
44
44
|
setProperty(widget: any, id: any, value: any): void;
|
|
45
45
|
enterInputs(widget: any, cell: any, param: any): void;
|
|
46
46
|
updateInputs(widget: any, param: any): void;
|
|
47
|
-
showFields: {
|
|
48
|
-
(): boolean;
|
|
49
|
-
(_: boolean): PropertyEditor;
|
|
50
|
-
};
|
|
51
|
-
showData: {
|
|
52
|
-
(): boolean;
|
|
53
|
-
(_: boolean): PropertyEditor;
|
|
54
|
-
};
|
|
55
|
-
sorting: {
|
|
56
|
-
(): string;
|
|
57
|
-
(_: string): PropertyEditor;
|
|
58
|
-
};
|
|
59
|
-
sorting_options: () => string[];
|
|
60
|
-
hideNonWidgets: {
|
|
61
|
-
(): boolean;
|
|
62
|
-
(_: boolean): PropertyEditor;
|
|
63
|
-
};
|
|
64
|
-
label: {
|
|
65
|
-
(): string;
|
|
66
|
-
(_: string): PropertyEditor;
|
|
67
|
-
};
|
|
68
|
-
filterTags: {
|
|
69
|
-
(): string;
|
|
70
|
-
(_: string): PropertyEditor;
|
|
71
|
-
};
|
|
72
|
-
excludeTags: {
|
|
73
|
-
(): string[];
|
|
74
|
-
(_: string[]): PropertyEditor;
|
|
75
|
-
};
|
|
76
|
-
excludeParams: {
|
|
77
|
-
(): string[];
|
|
78
|
-
(_: string[]): PropertyEditor;
|
|
79
|
-
};
|
|
80
|
-
widget: {
|
|
81
|
-
(): PropertyExt;
|
|
82
|
-
(_: PropertyExt): PropertyEditor;
|
|
83
|
-
};
|
|
84
47
|
}
|
|
85
|
-
|
|
48
|
+
export interface PropertyEditor {
|
|
49
|
+
showFields(): boolean;
|
|
50
|
+
showFields(_: boolean): this;
|
|
51
|
+
showData(): boolean;
|
|
52
|
+
showData(_: boolean): this;
|
|
53
|
+
sorting(): string;
|
|
54
|
+
sorting(_: string): this;
|
|
55
|
+
sorting_options(): string[];
|
|
56
|
+
sorting_options(_: string[]): this;
|
|
57
|
+
hideNonWidgets(): boolean;
|
|
58
|
+
hideNonWidgets(_: boolean): this;
|
|
59
|
+
label(): string;
|
|
60
|
+
label(_: string): this;
|
|
61
|
+
filterTags(): string;
|
|
62
|
+
filterTags(_: string): this;
|
|
63
|
+
excludeTags(): string[];
|
|
64
|
+
excludeTags(_: string[]): this;
|
|
65
|
+
excludeParams(): string[];
|
|
66
|
+
excludeParams(_: string[]): this;
|
|
67
|
+
widget(): PropertyExt;
|
|
68
|
+
widget(_: PropertyExt): this;
|
|
69
|
+
}
|
package/types/RadioCheckbox.d.ts
CHANGED
|
@@ -11,30 +11,21 @@ export declare class RadioCheckbox extends HTMLWidget {
|
|
|
11
11
|
exit(domNode: any, element: any): void;
|
|
12
12
|
handleClick(): void;
|
|
13
13
|
click(row: any, column: any, selected: any): void;
|
|
14
|
-
label: {
|
|
15
|
-
(): string;
|
|
16
|
-
(_: string): RadioCheckbox;
|
|
17
|
-
};
|
|
18
|
-
label_exists: () => boolean;
|
|
19
|
-
valueColumn: {
|
|
20
|
-
(): string;
|
|
21
|
-
(_: string): RadioCheckbox;
|
|
22
|
-
};
|
|
23
|
-
valueColumn_exists: () => boolean;
|
|
24
|
-
textColumn: {
|
|
25
|
-
(): string;
|
|
26
|
-
(_: string): RadioCheckbox;
|
|
27
|
-
};
|
|
28
|
-
textColumn_exists: () => boolean;
|
|
29
|
-
sort: {
|
|
30
|
-
(): string;
|
|
31
|
-
(_: string): RadioCheckbox;
|
|
32
|
-
};
|
|
33
|
-
sort_exists: () => boolean;
|
|
34
|
-
multiple: {
|
|
35
|
-
(): boolean;
|
|
36
|
-
(_: boolean): RadioCheckbox;
|
|
37
|
-
};
|
|
38
|
-
multiple_exists: () => boolean;
|
|
39
14
|
}
|
|
40
|
-
|
|
15
|
+
export interface RadioCheckbox {
|
|
16
|
+
label(): string;
|
|
17
|
+
label(_: string): this;
|
|
18
|
+
label_exists(): boolean;
|
|
19
|
+
valueColumn(): string;
|
|
20
|
+
valueColumn(_: string): this;
|
|
21
|
+
valueColumn_exists(): boolean;
|
|
22
|
+
textColumn(): string;
|
|
23
|
+
textColumn(_: string): this;
|
|
24
|
+
textColumn_exists(): boolean;
|
|
25
|
+
sort(): string;
|
|
26
|
+
sort(_: string): this;
|
|
27
|
+
sort_exists: any;
|
|
28
|
+
multiple(): boolean;
|
|
29
|
+
multiple(_: boolean): this;
|
|
30
|
+
multiple_exists(): boolean;
|
|
31
|
+
}
|
package/types/Select.d.ts
CHANGED
|
@@ -10,40 +10,27 @@ export declare class Select extends HTMLWidget {
|
|
|
10
10
|
update(domNode: any, element: any): void;
|
|
11
11
|
exit(domNode: any, element: any): void;
|
|
12
12
|
click(row: any, column: any, selected: any): void;
|
|
13
|
-
label: {
|
|
14
|
-
(): string;
|
|
15
|
-
(_: string): Select;
|
|
16
|
-
};
|
|
17
|
-
label_exists: () => boolean;
|
|
18
|
-
valueColumn: {
|
|
19
|
-
(): string;
|
|
20
|
-
(_: string): Select;
|
|
21
|
-
};
|
|
22
|
-
valueColumn_exists: () => boolean;
|
|
23
|
-
textColumn: {
|
|
24
|
-
(): string;
|
|
25
|
-
(_: string): Select;
|
|
26
|
-
};
|
|
27
|
-
textColumn_exists: () => boolean;
|
|
28
|
-
optional: {
|
|
29
|
-
(): boolean;
|
|
30
|
-
(_: boolean): Select;
|
|
31
|
-
};
|
|
32
|
-
optional_exists: () => boolean;
|
|
33
|
-
sort: {
|
|
34
|
-
(): string;
|
|
35
|
-
(_: string): Select;
|
|
36
|
-
};
|
|
37
|
-
sort_exists: () => boolean;
|
|
38
|
-
multiple: {
|
|
39
|
-
(): boolean;
|
|
40
|
-
(_: boolean): Select;
|
|
41
|
-
};
|
|
42
|
-
multiple_exists: () => boolean;
|
|
43
|
-
selectSize: {
|
|
44
|
-
(): number;
|
|
45
|
-
(_: number): Select;
|
|
46
|
-
};
|
|
47
|
-
selectSize_exists: () => boolean;
|
|
48
13
|
}
|
|
49
|
-
|
|
14
|
+
export interface Select {
|
|
15
|
+
label(): string;
|
|
16
|
+
label(_: string): this;
|
|
17
|
+
label_exists(): boolean;
|
|
18
|
+
valueColumn(): string;
|
|
19
|
+
valueColumn(_: string): this;
|
|
20
|
+
valueColumn_exists(): boolean;
|
|
21
|
+
textColumn(): string;
|
|
22
|
+
textColumn(_: string): this;
|
|
23
|
+
textColumn_exists(): boolean;
|
|
24
|
+
optional(): boolean;
|
|
25
|
+
optional(_: boolean): this;
|
|
26
|
+
optional_exists(): boolean;
|
|
27
|
+
sort(): string;
|
|
28
|
+
sort(_: string): this;
|
|
29
|
+
sort_exists(): boolean;
|
|
30
|
+
multiple(): boolean;
|
|
31
|
+
multiple(_: boolean): this;
|
|
32
|
+
multiple_exists(): boolean;
|
|
33
|
+
selectSize(): number;
|
|
34
|
+
selectSize(_: number): this;
|
|
35
|
+
selectSize_exists(): boolean;
|
|
36
|
+
}
|
package/types/Table.d.ts
CHANGED
|
@@ -67,191 +67,100 @@ export declare class Table extends HTMLWidget {
|
|
|
67
67
|
click(row: any, column: any, selected: any): void;
|
|
68
68
|
dblclick(row: any, column: any, selected: any): void;
|
|
69
69
|
headerClick(column: any, idx: any): void;
|
|
70
|
-
renderHtmlDataCells: {
|
|
71
|
-
(): boolean;
|
|
72
|
-
(_: boolean): Table;
|
|
73
|
-
};
|
|
74
|
-
pagination: {
|
|
75
|
-
(): boolean;
|
|
76
|
-
(_: boolean): Table;
|
|
77
|
-
};
|
|
78
|
-
paginationLimit: {
|
|
79
|
-
(): any;
|
|
80
|
-
(_: any): Table;
|
|
81
|
-
};
|
|
82
|
-
itemsPerPage: {
|
|
83
|
-
(): any;
|
|
84
|
-
(_: any): Table;
|
|
85
|
-
};
|
|
86
|
-
pageNumber: {
|
|
87
|
-
(): number;
|
|
88
|
-
(_: number): Table;
|
|
89
|
-
};
|
|
90
|
-
adjacentPages: {
|
|
91
|
-
(): number;
|
|
92
|
-
(_: number): Table;
|
|
93
|
-
};
|
|
94
|
-
topN: {
|
|
95
|
-
(): number;
|
|
96
|
-
(_: number): Table;
|
|
97
|
-
};
|
|
98
|
-
pivot: {
|
|
99
|
-
(): boolean;
|
|
100
|
-
(_: boolean): Table;
|
|
101
|
-
};
|
|
102
|
-
showHeader: {
|
|
103
|
-
(): boolean;
|
|
104
|
-
(_: boolean): Table;
|
|
105
|
-
};
|
|
106
|
-
fixedHeader: {
|
|
107
|
-
(): boolean;
|
|
108
|
-
(_: boolean): Table;
|
|
109
|
-
};
|
|
110
|
-
fixedColumn: {
|
|
111
|
-
(): boolean;
|
|
112
|
-
(_: boolean): Table;
|
|
113
|
-
};
|
|
114
|
-
multiSelect: {
|
|
115
|
-
(): boolean;
|
|
116
|
-
(_: boolean): Table;
|
|
117
|
-
};
|
|
118
|
-
fixedSize: {
|
|
119
|
-
(): boolean;
|
|
120
|
-
(_: boolean): Table;
|
|
121
|
-
};
|
|
122
|
-
hideEmptyColumns: {
|
|
123
|
-
(): boolean;
|
|
124
|
-
(_: boolean): Table;
|
|
125
|
-
};
|
|
126
|
-
theadFontSize: {
|
|
127
|
-
(): string;
|
|
128
|
-
(_: string): Table;
|
|
129
|
-
};
|
|
130
|
-
tbodyFontSize: {
|
|
131
|
-
(): string;
|
|
132
|
-
(_: string): Table;
|
|
133
|
-
};
|
|
134
|
-
tfootFontSize: {
|
|
135
|
-
(): string;
|
|
136
|
-
(_: string): Table;
|
|
137
|
-
};
|
|
138
|
-
theadFontColor: {
|
|
139
|
-
(): string;
|
|
140
|
-
(_: string): Table;
|
|
141
|
-
};
|
|
142
|
-
tbodyFontColor: {
|
|
143
|
-
(): string;
|
|
144
|
-
(_: string): Table;
|
|
145
|
-
};
|
|
146
|
-
tfootFontColor: {
|
|
147
|
-
(): string;
|
|
148
|
-
(_: string): Table;
|
|
149
|
-
};
|
|
150
|
-
theadFontFamily: {
|
|
151
|
-
(): string;
|
|
152
|
-
(_: string): Table;
|
|
153
|
-
};
|
|
154
|
-
tbodyFontFamily: {
|
|
155
|
-
(): string;
|
|
156
|
-
(_: string): Table;
|
|
157
|
-
};
|
|
158
|
-
tfootFontFamily: {
|
|
159
|
-
(): string;
|
|
160
|
-
(_: string): Table;
|
|
161
|
-
};
|
|
162
|
-
theadCellBorderColor: {
|
|
163
|
-
(): string;
|
|
164
|
-
(_: string): Table;
|
|
165
|
-
};
|
|
166
|
-
tfootCellBorderColor: {
|
|
167
|
-
(): string;
|
|
168
|
-
(_: string): Table;
|
|
169
|
-
};
|
|
170
|
-
theadRowBackgroundColor: {
|
|
171
|
-
(): string;
|
|
172
|
-
(_: string): Table;
|
|
173
|
-
};
|
|
174
|
-
tfootRowBackgroundColor: {
|
|
175
|
-
(): string;
|
|
176
|
-
(_: string): Table;
|
|
177
|
-
};
|
|
178
|
-
tbodyCellBorderColor: {
|
|
179
|
-
(): string;
|
|
180
|
-
(_: string): Table;
|
|
181
|
-
};
|
|
182
|
-
tbodyRowBackgroundColor: {
|
|
183
|
-
(): string;
|
|
184
|
-
(_: string): Table;
|
|
185
|
-
};
|
|
186
|
-
tbodyFirstColFontColor: {
|
|
187
|
-
(): string;
|
|
188
|
-
(_: string): Table;
|
|
189
|
-
};
|
|
190
|
-
tbodyFirstColBackgroundColor: {
|
|
191
|
-
(): string;
|
|
192
|
-
(_: string): Table;
|
|
193
|
-
};
|
|
194
|
-
tbodyHoverRowFontColor: {
|
|
195
|
-
(): string;
|
|
196
|
-
(_: string): Table;
|
|
197
|
-
};
|
|
198
|
-
tbodyHoverRowBackgroundColor: {
|
|
199
|
-
(): string;
|
|
200
|
-
(_: string): Table;
|
|
201
|
-
};
|
|
202
|
-
tbodySelectedRowFontColor: {
|
|
203
|
-
(): string;
|
|
204
|
-
(_: string): Table;
|
|
205
|
-
};
|
|
206
|
-
tbodySelectedRowBackgroundColor: {
|
|
207
|
-
(): string;
|
|
208
|
-
(_: string): Table;
|
|
209
|
-
};
|
|
210
|
-
tableZebraColor: {
|
|
211
|
-
(): string;
|
|
212
|
-
(_: string): Table;
|
|
213
|
-
};
|
|
214
|
-
tableZebraColor_exists: () => boolean;
|
|
215
|
-
totalledColumns: {
|
|
216
|
-
(): any[];
|
|
217
|
-
(_: any[]): Table;
|
|
218
|
-
};
|
|
219
|
-
totalledLabel: {
|
|
220
|
-
(): string;
|
|
221
|
-
(_: string): Table;
|
|
222
|
-
};
|
|
223
|
-
hiddenColumns: {
|
|
224
|
-
(): any[];
|
|
225
|
-
(_: any[]): Table;
|
|
226
|
-
};
|
|
227
|
-
stringAlign: {
|
|
228
|
-
(): string;
|
|
229
|
-
(_: string): Table;
|
|
230
|
-
};
|
|
231
|
-
numberAlign: {
|
|
232
|
-
(): string;
|
|
233
|
-
(_: string): Table;
|
|
234
|
-
};
|
|
235
|
-
verticalAlign: {
|
|
236
|
-
(): string;
|
|
237
|
-
(_: string): Table;
|
|
238
|
-
};
|
|
239
|
-
minWidgetWidth: {
|
|
240
|
-
(): number;
|
|
241
|
-
(_: number): Table;
|
|
242
|
-
};
|
|
243
|
-
minWidgetHeight: {
|
|
244
|
-
(): number;
|
|
245
|
-
(_: number): Table;
|
|
246
|
-
};
|
|
247
|
-
sortByFieldIndex: {
|
|
248
|
-
(): number;
|
|
249
|
-
(_: number): Table;
|
|
250
|
-
};
|
|
251
|
-
sortByFieldIndex_exists: () => boolean;
|
|
252
|
-
descending: {
|
|
253
|
-
(): boolean;
|
|
254
|
-
(_: boolean): Table;
|
|
255
|
-
};
|
|
256
70
|
}
|
|
257
|
-
|
|
71
|
+
export interface Table {
|
|
72
|
+
renderHtmlDataCells(): boolean;
|
|
73
|
+
renderHtmlDataCells(_: boolean): this;
|
|
74
|
+
pagination(): boolean;
|
|
75
|
+
pagination(_: boolean): this;
|
|
76
|
+
paginationLimit(): any;
|
|
77
|
+
paginationLimit(_: any): this;
|
|
78
|
+
itemsPerPage(): any;
|
|
79
|
+
itemsPerPage(_: any): this;
|
|
80
|
+
pageNumber(): number;
|
|
81
|
+
pageNumber(_: number): this;
|
|
82
|
+
adjacentPages(): number;
|
|
83
|
+
adjacentPages(_: number): this;
|
|
84
|
+
topN(): number;
|
|
85
|
+
topN(_: number): this;
|
|
86
|
+
pivot(): boolean;
|
|
87
|
+
pivot(_: boolean): this;
|
|
88
|
+
showHeader(): boolean;
|
|
89
|
+
showHeader(_: boolean): this;
|
|
90
|
+
fixedHeader(): boolean;
|
|
91
|
+
fixedHeader(_: boolean): this;
|
|
92
|
+
fixedColumn(): boolean;
|
|
93
|
+
fixedColumn(_: boolean): this;
|
|
94
|
+
multiSelect(): boolean;
|
|
95
|
+
multiSelect(_: boolean): this;
|
|
96
|
+
fixedSize(): boolean;
|
|
97
|
+
fixedSize(_: boolean): this;
|
|
98
|
+
hideEmptyColumns(): boolean;
|
|
99
|
+
hideEmptyColumns(_: boolean): this;
|
|
100
|
+
theadFontSize(): string;
|
|
101
|
+
theadFontSize(_: string): this;
|
|
102
|
+
tbodyFontSize(): string;
|
|
103
|
+
tbodyFontSize(_: string): this;
|
|
104
|
+
tfootFontSize(): string;
|
|
105
|
+
tfootFontSize(_: string): this;
|
|
106
|
+
theadFontColor(): string;
|
|
107
|
+
theadFontColor(_: string): this;
|
|
108
|
+
tbodyFontColor(): string;
|
|
109
|
+
tbodyFontColor(_: string): this;
|
|
110
|
+
tfootFontColor(): string;
|
|
111
|
+
tfootFontColor(_: string): this;
|
|
112
|
+
theadFontFamily(): string;
|
|
113
|
+
theadFontFamily(_: string): this;
|
|
114
|
+
tbodyFontFamily(): string;
|
|
115
|
+
tbodyFontFamily(_: string): this;
|
|
116
|
+
tfootFontFamily(): string;
|
|
117
|
+
tfootFontFamily(_: string): this;
|
|
118
|
+
theadCellBorderColor(): string;
|
|
119
|
+
theadCellBorderColor(_: string): this;
|
|
120
|
+
tfootCellBorderColor(): string;
|
|
121
|
+
tfootCellBorderColor(_: string): this;
|
|
122
|
+
theadRowBackgroundColor(): string;
|
|
123
|
+
theadRowBackgroundColor(_: string): this;
|
|
124
|
+
tfootRowBackgroundColor(): string;
|
|
125
|
+
tfootRowBackgroundColor(_: string): this;
|
|
126
|
+
tbodyCellBorderColor(): string;
|
|
127
|
+
tbodyCellBorderColor(_: string): this;
|
|
128
|
+
tbodyRowBackgroundColor(): string;
|
|
129
|
+
tbodyRowBackgroundColor(_: string): this;
|
|
130
|
+
tbodyFirstColFontColor(): string;
|
|
131
|
+
tbodyFirstColFontColor(_: string): this;
|
|
132
|
+
tbodyFirstColBackgroundColor(): string;
|
|
133
|
+
tbodyFirstColBackgroundColor(_: string): this;
|
|
134
|
+
tbodyHoverRowFontColor(): string;
|
|
135
|
+
tbodyHoverRowFontColor(_: string): this;
|
|
136
|
+
tbodyHoverRowBackgroundColor(): string;
|
|
137
|
+
tbodyHoverRowBackgroundColor(_: string): this;
|
|
138
|
+
tbodySelectedRowFontColor(): string;
|
|
139
|
+
tbodySelectedRowFontColor(_: string): this;
|
|
140
|
+
tbodySelectedRowBackgroundColor(): string;
|
|
141
|
+
tbodySelectedRowBackgroundColor(_: string): this;
|
|
142
|
+
tableZebraColor(): string;
|
|
143
|
+
tableZebraColor(_: string): this;
|
|
144
|
+
tableZebraColor_exists(): boolean;
|
|
145
|
+
totalledColumns(): any[];
|
|
146
|
+
totalledColumns(_: any[]): this;
|
|
147
|
+
totalledLabel(): string;
|
|
148
|
+
totalledLabel(_: string): this;
|
|
149
|
+
hiddenColumns(): any[];
|
|
150
|
+
hiddenColumns(_: any[]): this;
|
|
151
|
+
stringAlign(): string;
|
|
152
|
+
stringAlign(_: string): this;
|
|
153
|
+
numberAlign(): string;
|
|
154
|
+
numberAlign(_: string): this;
|
|
155
|
+
verticalAlign(): string;
|
|
156
|
+
verticalAlign(_: string): this;
|
|
157
|
+
minWidgetWidth(): number;
|
|
158
|
+
minWidgetWidth(_: number): this;
|
|
159
|
+
minWidgetHeight(): number;
|
|
160
|
+
minWidgetHeight(_: number): this;
|
|
161
|
+
sortByFieldIndex(): number;
|
|
162
|
+
sortByFieldIndex(_: number): this;
|
|
163
|
+
sortByFieldIndex_exists(): boolean;
|
|
164
|
+
descending(): boolean;
|
|
165
|
+
descending(_: boolean): this;
|
|
166
|
+
}
|