@hpcc-js/common 2.62.0 → 2.66.1
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/LICENSE +43 -43
- package/README.md +59 -59
- package/dist/index.es6.js +6607 -6607
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +6607 -6607
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +23 -39
- package/src/CanvasWidget.ts +31 -31
- package/src/Class.ts +67 -67
- package/src/Database.ts +856 -856
- package/src/Entity.ts +235 -235
- package/src/EntityCard.ts +66 -66
- package/src/EntityPin.ts +103 -103
- package/src/EntityRect.css +15 -15
- package/src/EntityRect.ts +236 -236
- package/src/EntityVertex.ts +86 -86
- package/src/FAChar.css +2 -2
- package/src/FAChar.ts +82 -82
- package/src/HTMLWidget.ts +191 -191
- package/src/IList.ts +4 -4
- package/src/IMenu.ts +5 -5
- package/src/Icon.css +9 -9
- package/src/Icon.ts +164 -164
- package/src/Image.ts +95 -95
- package/src/List.css +13 -13
- package/src/List.ts +99 -99
- package/src/Menu.css +23 -23
- package/src/Menu.ts +138 -138
- package/src/Palette.ts +341 -341
- package/src/Platform.ts +125 -125
- package/src/ProgressBar.ts +105 -105
- package/src/PropertyExt.ts +793 -793
- package/src/ResizeSurface.css +39 -39
- package/src/ResizeSurface.ts +221 -221
- package/src/SVGWidget.ts +567 -567
- package/src/SVGZoomWidget.css +12 -12
- package/src/SVGZoomWidget.ts +416 -416
- package/src/Shape.css +3 -3
- package/src/Shape.ts +186 -186
- package/src/Surface.css +35 -35
- package/src/Surface.ts +350 -350
- package/src/Text.css +4 -4
- package/src/Text.ts +131 -131
- package/src/TextBox.css +4 -4
- package/src/TextBox.ts +168 -168
- package/src/TitleBar.css +99 -99
- package/src/TitleBar.ts +401 -401
- package/src/Transition.ts +45 -45
- package/src/Utility.ts +820 -820
- package/src/Widget.css +8 -8
- package/src/Widget.ts +712 -712
- package/src/WidgetArray.ts +13 -13
- package/src/__package__.ts +2 -2
- package/src/index.ts +55 -55
- package/types/CanvasWidget.d.ts +8 -8
- package/types/Class.d.ts +12 -12
- package/types/Database.d.ts +136 -136
- package/types/Entity.d.ts +88 -88
- package/types/EntityCard.d.ts +13 -13
- package/types/EntityPin.d.ts +22 -22
- package/types/EntityRect.d.ts +45 -45
- package/types/EntityVertex.d.ts +30 -30
- package/types/FAChar.d.ts +29 -29
- package/types/HTMLWidget.d.ts +27 -27
- package/types/IList.d.ts +4 -4
- package/types/IMenu.d.ts +5 -5
- package/types/Icon.d.ts +62 -62
- package/types/Image.d.ts +33 -33
- package/types/List.d.ts +15 -15
- package/types/Menu.d.ts +28 -28
- package/types/Palette.d.ts +19 -19
- package/types/Platform.d.ts +5 -5
- package/types/ProgressBar.d.ts +21 -21
- package/types/PropertyExt.d.ts +114 -114
- package/types/ResizeSurface.d.ts +23 -23
- package/types/SVGWidget.d.ts +77 -77
- package/types/SVGZoomWidget.d.ts +68 -68
- package/types/Shape.d.ts +34 -34
- package/types/Surface.d.ts +69 -69
- package/types/Text.d.ts +37 -37
- package/types/TextBox.d.ts +76 -76
- package/types/TitleBar.d.ts +117 -117
- package/types/Transition.d.ts +11 -11
- package/types/Utility.d.ts +100 -100
- package/types/Widget.d.ts +149 -149
- package/types/WidgetArray.d.ts +6 -6
- package/types/__package__.d.ts +3 -3
- package/types/__package__.d.ts.map +1 -1
- package/types/index.d.ts +52 -52
- package/types-3.4/__package__.d.ts +2 -2
package/src/WidgetArray.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { publish } from "./PropertyExt";
|
|
2
|
-
import { Widget } from "./Widget";
|
|
3
|
-
|
|
4
|
-
export class WidgetArray extends Widget {
|
|
5
|
-
|
|
6
|
-
@publish([], "widgetArray", "Widget Array")
|
|
7
|
-
content: publish<this, Widget[]>;
|
|
8
|
-
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
WidgetArray.prototype._class += " common_WidgetArray";
|
|
1
|
+
import { publish } from "./PropertyExt";
|
|
2
|
+
import { Widget } from "./Widget";
|
|
3
|
+
|
|
4
|
+
export class WidgetArray extends Widget {
|
|
5
|
+
|
|
6
|
+
@publish([], "widgetArray", "Widget Array")
|
|
7
|
+
content: publish<this, Widget[]>;
|
|
8
|
+
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
WidgetArray.prototype._class += " common_WidgetArray";
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/common";
|
|
2
|
-
export const PKG_VERSION = "2.
|
|
3
|
-
export const BUILD_VERSION = "2.
|
|
2
|
+
export const PKG_VERSION = "2.66.1";
|
|
3
|
+
export const BUILD_VERSION = "2.102.2";
|
package/src/index.ts
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
export * from "./__package__";
|
|
2
|
-
export * from "./CanvasWidget";
|
|
3
|
-
export * from "./Class";
|
|
4
|
-
import * as Database from "./Database";
|
|
5
|
-
export { Database };
|
|
6
|
-
export * from "./Entity";
|
|
7
|
-
export * from "./EntityCard";
|
|
8
|
-
export * from "./EntityPin";
|
|
9
|
-
export * from "./EntityRect";
|
|
10
|
-
export * from "./EntityVertex";
|
|
11
|
-
export * from "./FAChar";
|
|
12
|
-
export * from "./HTMLWidget";
|
|
13
|
-
export * from "./Icon";
|
|
14
|
-
export * from "./IList";
|
|
15
|
-
export * from "./Image";
|
|
16
|
-
export * from "./IMenu";
|
|
17
|
-
export * from "./List";
|
|
18
|
-
export * from "./Menu";
|
|
19
|
-
import * as Palette from "./Palette";
|
|
20
|
-
export { Palette };
|
|
21
|
-
import * as Platform from "./Platform";
|
|
22
|
-
export { Platform };
|
|
23
|
-
export * from "./ProgressBar";
|
|
24
|
-
export * from "./PropertyExt";
|
|
25
|
-
export * from "./ResizeSurface";
|
|
26
|
-
export * from "./Shape";
|
|
27
|
-
export * from "./Surface";
|
|
28
|
-
export * from "./SVGWidget";
|
|
29
|
-
export * from "./SVGZoomWidget";
|
|
30
|
-
export * from "./Text";
|
|
31
|
-
export * from "./TextBox";
|
|
32
|
-
export * from "./TitleBar";
|
|
33
|
-
import * as Utility from "./Utility";
|
|
34
|
-
export { Utility };
|
|
35
|
-
export * from "./Widget";
|
|
36
|
-
export * from "./WidgetArray";
|
|
37
|
-
|
|
38
|
-
export * from "d3-array";
|
|
39
|
-
export * from "d3-brush";
|
|
40
|
-
export * from "d3-collection";
|
|
41
|
-
export * from "d3-color";
|
|
42
|
-
export * from "d3-dispatch";
|
|
43
|
-
export * from "d3-drag";
|
|
44
|
-
export * from "d3-dsv";
|
|
45
|
-
export * from "d3-ease";
|
|
46
|
-
export * from "d3-format";
|
|
47
|
-
export * from "d3-interpolate";
|
|
48
|
-
export * from "d3-scale";
|
|
49
|
-
export * from "d3-selection";
|
|
50
|
-
export * from "d3-time-format";
|
|
51
|
-
export * from "d3-transition";
|
|
52
|
-
export * from "d3-zoom";
|
|
53
|
-
|
|
54
|
-
import { event as _d3Event } from "d3-selection";
|
|
55
|
-
export const d3Event = () => _d3Event;
|
|
1
|
+
export * from "./__package__";
|
|
2
|
+
export * from "./CanvasWidget";
|
|
3
|
+
export * from "./Class";
|
|
4
|
+
import * as Database from "./Database";
|
|
5
|
+
export { Database };
|
|
6
|
+
export * from "./Entity";
|
|
7
|
+
export * from "./EntityCard";
|
|
8
|
+
export * from "./EntityPin";
|
|
9
|
+
export * from "./EntityRect";
|
|
10
|
+
export * from "./EntityVertex";
|
|
11
|
+
export * from "./FAChar";
|
|
12
|
+
export * from "./HTMLWidget";
|
|
13
|
+
export * from "./Icon";
|
|
14
|
+
export * from "./IList";
|
|
15
|
+
export * from "./Image";
|
|
16
|
+
export * from "./IMenu";
|
|
17
|
+
export * from "./List";
|
|
18
|
+
export * from "./Menu";
|
|
19
|
+
import * as Palette from "./Palette";
|
|
20
|
+
export { Palette };
|
|
21
|
+
import * as Platform from "./Platform";
|
|
22
|
+
export { Platform };
|
|
23
|
+
export * from "./ProgressBar";
|
|
24
|
+
export * from "./PropertyExt";
|
|
25
|
+
export * from "./ResizeSurface";
|
|
26
|
+
export * from "./Shape";
|
|
27
|
+
export * from "./Surface";
|
|
28
|
+
export * from "./SVGWidget";
|
|
29
|
+
export * from "./SVGZoomWidget";
|
|
30
|
+
export * from "./Text";
|
|
31
|
+
export * from "./TextBox";
|
|
32
|
+
export * from "./TitleBar";
|
|
33
|
+
import * as Utility from "./Utility";
|
|
34
|
+
export { Utility };
|
|
35
|
+
export * from "./Widget";
|
|
36
|
+
export * from "./WidgetArray";
|
|
37
|
+
|
|
38
|
+
export * from "d3-array";
|
|
39
|
+
export * from "d3-brush";
|
|
40
|
+
export * from "d3-collection";
|
|
41
|
+
export * from "d3-color";
|
|
42
|
+
export * from "d3-dispatch";
|
|
43
|
+
export * from "d3-drag";
|
|
44
|
+
export * from "d3-dsv";
|
|
45
|
+
export * from "d3-ease";
|
|
46
|
+
export * from "d3-format";
|
|
47
|
+
export * from "d3-interpolate";
|
|
48
|
+
export * from "d3-scale";
|
|
49
|
+
export * from "d3-selection";
|
|
50
|
+
export * from "d3-time-format";
|
|
51
|
+
export * from "d3-transition";
|
|
52
|
+
export * from "d3-zoom";
|
|
53
|
+
|
|
54
|
+
import { event as _d3Event } from "d3-selection";
|
|
55
|
+
export const d3Event = () => _d3Event;
|
package/types/CanvasWidget.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
2
|
-
export declare class CanvasWidget extends HTMLWidget {
|
|
3
|
-
_ctx: CanvasRenderingContext2D;
|
|
4
|
-
constructor();
|
|
5
|
-
resize(size: any): this;
|
|
6
|
-
resetContext(): void;
|
|
7
|
-
click(d: any, c: any): void;
|
|
8
|
-
}
|
|
1
|
+
import { HTMLWidget } from "./HTMLWidget";
|
|
2
|
+
export declare class CanvasWidget extends HTMLWidget {
|
|
3
|
+
_ctx: CanvasRenderingContext2D;
|
|
4
|
+
constructor();
|
|
5
|
+
resize(size: any): this;
|
|
6
|
+
resetContext(): void;
|
|
7
|
+
click(d: any, c: any): void;
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=CanvasWidget.d.ts.map
|
package/types/Class.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ClassMeta } from "@hpcc-js/util";
|
|
2
|
-
export declare class Class {
|
|
3
|
-
_class: string;
|
|
4
|
-
class(): string;
|
|
5
|
-
class(_: string): this;
|
|
6
|
-
classID(): string;
|
|
7
|
-
classMeta(): ClassMeta;
|
|
8
|
-
implements(source: any): void;
|
|
9
|
-
mixin(mixinClass: any): void;
|
|
10
|
-
overrideMethod<M extends keyof this>(methodID: M, newMethod: this[M]): this;
|
|
11
|
-
cssTag(id: string): string;
|
|
12
|
-
}
|
|
1
|
+
import { ClassMeta } from "@hpcc-js/util";
|
|
2
|
+
export declare class Class {
|
|
3
|
+
_class: string;
|
|
4
|
+
class(): string;
|
|
5
|
+
class(_: string): this;
|
|
6
|
+
classID(): string;
|
|
7
|
+
classMeta(): ClassMeta;
|
|
8
|
+
implements(source: any): void;
|
|
9
|
+
mixin(mixinClass: any): void;
|
|
10
|
+
overrideMethod<M extends keyof this>(methodID: M, newMethod: this[M]): this;
|
|
11
|
+
cssTag(id: string): string;
|
|
12
|
+
}
|
|
13
13
|
//# sourceMappingURL=Class.d.ts.map
|
package/types/Database.d.ts
CHANGED
|
@@ -1,137 +1,137 @@
|
|
|
1
|
-
import { PropertyExt } from "./PropertyExt";
|
|
2
|
-
export interface INestedColumn {
|
|
3
|
-
label: string;
|
|
4
|
-
columns: Array<string | INestedColumn>;
|
|
5
|
-
}
|
|
6
|
-
export declare type FieldType = "string" | "number" | "boolean" | "date" | "time" | "hidden" | "nested";
|
|
7
|
-
export declare class Field extends PropertyExt {
|
|
8
|
-
private _owner;
|
|
9
|
-
idx: number;
|
|
10
|
-
protected _children: Field[];
|
|
11
|
-
constructor(id?: any);
|
|
12
|
-
owner(): Grid;
|
|
13
|
-
owner(_: Grid): this;
|
|
14
|
-
valid(): boolean;
|
|
15
|
-
checksum(): string;
|
|
16
|
-
typeTransformer(_: any): any;
|
|
17
|
-
maskTransformer(_: any): any;
|
|
18
|
-
formatTransformer(_: any): any;
|
|
19
|
-
parse(_: any): any;
|
|
20
|
-
transform(_: any): any;
|
|
21
|
-
clone(): Field;
|
|
22
|
-
formatter(format: any): any;
|
|
23
|
-
children(): Field[];
|
|
24
|
-
children(_: Array<string | INestedColumn | Field>, asDefault?: boolean): this;
|
|
25
|
-
label_default: {
|
|
26
|
-
(): string;
|
|
27
|
-
(x: string): Field;
|
|
28
|
-
};
|
|
29
|
-
label: {
|
|
30
|
-
(): string;
|
|
31
|
-
(x: string): Field;
|
|
32
|
-
};
|
|
33
|
-
mask: {
|
|
34
|
-
(): string;
|
|
35
|
-
(x: string): Field;
|
|
36
|
-
};
|
|
37
|
-
format: {
|
|
38
|
-
(): string;
|
|
39
|
-
(x: string): Field;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
export interface Field {
|
|
43
|
-
type(): FieldType;
|
|
44
|
-
type(_: FieldType): this;
|
|
45
|
-
}
|
|
46
|
-
export declare class Grid extends PropertyExt {
|
|
47
|
-
_dataChecksum: boolean;
|
|
48
|
-
_dataVersion: number;
|
|
49
|
-
private _data;
|
|
50
|
-
private _dataChecksums;
|
|
51
|
-
constructor(dataChecksum?: any);
|
|
52
|
-
clear(): this;
|
|
53
|
-
resetColumns(): void;
|
|
54
|
-
legacyColumns(_?: any, asDefault?: any): any | Grid;
|
|
55
|
-
legacyData(_?: any, _clone?: any): any;
|
|
56
|
-
schema(): void;
|
|
57
|
-
field(idx: any): Field;
|
|
58
|
-
fieldByLabel(_: any, ignoreCase?: any): Field;
|
|
59
|
-
data(_?: any, clone?: any): any | Grid;
|
|
60
|
-
parsedData(): any[];
|
|
61
|
-
formattedData(): any[][];
|
|
62
|
-
fieldsChecksum(): string;
|
|
63
|
-
dataChecksum(): string;
|
|
64
|
-
checksum(): string;
|
|
65
|
-
private _dataCalcChecksum;
|
|
66
|
-
row(row?: any, _?: any, asDefault?: any): any | Grid;
|
|
67
|
-
rows(_?: any): any | Grid;
|
|
68
|
-
column(col: any, _?: any): any | Grid;
|
|
69
|
-
columnData(col: any, _: any): any | Grid;
|
|
70
|
-
columns(_?: any): any | Grid;
|
|
71
|
-
cell(row: any, col: any, _: any): any;
|
|
72
|
-
grid(_?: any): any;
|
|
73
|
-
hipieMappings(columns: any, missingDataString: any): any[];
|
|
74
|
-
legacyView(): LegacyView;
|
|
75
|
-
nestView(columnIndicies: any): RollupView;
|
|
76
|
-
rollupView(columnIndicies: any, rollupFunc?: any): RollupView;
|
|
77
|
-
aggregateView(columnIndicies: any, aggrType: any, aggrColumn: any, aggrDeltaColumn?: string): RollupView;
|
|
78
|
-
private _nest;
|
|
79
|
-
nest(columnIndicies: any): {
|
|
80
|
-
key: string;
|
|
81
|
-
values: any;
|
|
82
|
-
value: undefined;
|
|
83
|
-
}[];
|
|
84
|
-
rollup(columnIndicies: any, rollup: any): {
|
|
85
|
-
key: string;
|
|
86
|
-
values: any;
|
|
87
|
-
value: undefined;
|
|
88
|
-
}[];
|
|
89
|
-
length(): number;
|
|
90
|
-
width(): number;
|
|
91
|
-
pivot(): this;
|
|
92
|
-
clone(deep: any): any;
|
|
93
|
-
filter(filter: any): any;
|
|
94
|
-
analyse(columns: any): any[];
|
|
95
|
-
jsonObj(_?: any): any | Grid;
|
|
96
|
-
json(_: string | object): this;
|
|
97
|
-
json(): string;
|
|
98
|
-
csv(_: any): this;
|
|
99
|
-
csv(): string;
|
|
100
|
-
tsv(_: any): this;
|
|
101
|
-
tsv(): string;
|
|
102
|
-
}
|
|
103
|
-
export interface Grid {
|
|
104
|
-
fields(): Field[];
|
|
105
|
-
fields(_: Field[], clone?: boolean): this;
|
|
106
|
-
}
|
|
107
|
-
export declare class LegacyView {
|
|
108
|
-
_grid: any;
|
|
109
|
-
_parsedData: any;
|
|
110
|
-
_parsedDataChecksum: any;
|
|
111
|
-
_formattedData: any;
|
|
112
|
-
_formattedDataChecksum: any;
|
|
113
|
-
constructor(grid: any);
|
|
114
|
-
checksum(): any;
|
|
115
|
-
fields(): any;
|
|
116
|
-
grid(): any;
|
|
117
|
-
columns(_?: any): any;
|
|
118
|
-
rawData(_?: any): any;
|
|
119
|
-
formattedData(): any;
|
|
120
|
-
parsedData(): any;
|
|
121
|
-
protected _whichData(opts?: any): any;
|
|
122
|
-
data(_: any): any;
|
|
123
|
-
}
|
|
124
|
-
export declare class RollupView extends LegacyView {
|
|
125
|
-
_columnIndicies: any;
|
|
126
|
-
_rollup: any;
|
|
127
|
-
_nestChecksum: any;
|
|
128
|
-
_nest: any;
|
|
129
|
-
constructor(grid: any, columns: any, rollup?: any);
|
|
130
|
-
nest(): any;
|
|
131
|
-
entries(opts?: any): any;
|
|
132
|
-
map(opts: any): any;
|
|
133
|
-
d3Map(opts: any): any;
|
|
134
|
-
_walkData(entries: any, prevRow?: any[]): any[];
|
|
135
|
-
data(opts: any): any[];
|
|
136
|
-
}
|
|
1
|
+
import { PropertyExt } from "./PropertyExt";
|
|
2
|
+
export interface INestedColumn {
|
|
3
|
+
label: string;
|
|
4
|
+
columns: Array<string | INestedColumn>;
|
|
5
|
+
}
|
|
6
|
+
export declare type FieldType = "string" | "number" | "boolean" | "date" | "time" | "hidden" | "nested";
|
|
7
|
+
export declare class Field extends PropertyExt {
|
|
8
|
+
private _owner;
|
|
9
|
+
idx: number;
|
|
10
|
+
protected _children: Field[];
|
|
11
|
+
constructor(id?: any);
|
|
12
|
+
owner(): Grid;
|
|
13
|
+
owner(_: Grid): this;
|
|
14
|
+
valid(): boolean;
|
|
15
|
+
checksum(): string;
|
|
16
|
+
typeTransformer(_: any): any;
|
|
17
|
+
maskTransformer(_: any): any;
|
|
18
|
+
formatTransformer(_: any): any;
|
|
19
|
+
parse(_: any): any;
|
|
20
|
+
transform(_: any): any;
|
|
21
|
+
clone(): Field;
|
|
22
|
+
formatter(format: any): any;
|
|
23
|
+
children(): Field[];
|
|
24
|
+
children(_: Array<string | INestedColumn | Field>, asDefault?: boolean): this;
|
|
25
|
+
label_default: {
|
|
26
|
+
(): string;
|
|
27
|
+
(x: string): Field;
|
|
28
|
+
};
|
|
29
|
+
label: {
|
|
30
|
+
(): string;
|
|
31
|
+
(x: string): Field;
|
|
32
|
+
};
|
|
33
|
+
mask: {
|
|
34
|
+
(): string;
|
|
35
|
+
(x: string): Field;
|
|
36
|
+
};
|
|
37
|
+
format: {
|
|
38
|
+
(): string;
|
|
39
|
+
(x: string): Field;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export interface Field {
|
|
43
|
+
type(): FieldType;
|
|
44
|
+
type(_: FieldType): this;
|
|
45
|
+
}
|
|
46
|
+
export declare class Grid extends PropertyExt {
|
|
47
|
+
_dataChecksum: boolean;
|
|
48
|
+
_dataVersion: number;
|
|
49
|
+
private _data;
|
|
50
|
+
private _dataChecksums;
|
|
51
|
+
constructor(dataChecksum?: any);
|
|
52
|
+
clear(): this;
|
|
53
|
+
resetColumns(): void;
|
|
54
|
+
legacyColumns(_?: any, asDefault?: any): any | Grid;
|
|
55
|
+
legacyData(_?: any, _clone?: any): any;
|
|
56
|
+
schema(): void;
|
|
57
|
+
field(idx: any): Field;
|
|
58
|
+
fieldByLabel(_: any, ignoreCase?: any): Field;
|
|
59
|
+
data(_?: any, clone?: any): any | Grid;
|
|
60
|
+
parsedData(): any[];
|
|
61
|
+
formattedData(): any[][];
|
|
62
|
+
fieldsChecksum(): string;
|
|
63
|
+
dataChecksum(): string;
|
|
64
|
+
checksum(): string;
|
|
65
|
+
private _dataCalcChecksum;
|
|
66
|
+
row(row?: any, _?: any, asDefault?: any): any | Grid;
|
|
67
|
+
rows(_?: any): any | Grid;
|
|
68
|
+
column(col: any, _?: any): any | Grid;
|
|
69
|
+
columnData(col: any, _: any): any | Grid;
|
|
70
|
+
columns(_?: any): any | Grid;
|
|
71
|
+
cell(row: any, col: any, _: any): any;
|
|
72
|
+
grid(_?: any): any;
|
|
73
|
+
hipieMappings(columns: any, missingDataString: any): any[];
|
|
74
|
+
legacyView(): LegacyView;
|
|
75
|
+
nestView(columnIndicies: any): RollupView;
|
|
76
|
+
rollupView(columnIndicies: any, rollupFunc?: any): RollupView;
|
|
77
|
+
aggregateView(columnIndicies: any, aggrType: any, aggrColumn: any, aggrDeltaColumn?: string): RollupView;
|
|
78
|
+
private _nest;
|
|
79
|
+
nest(columnIndicies: any): {
|
|
80
|
+
key: string;
|
|
81
|
+
values: any;
|
|
82
|
+
value: undefined;
|
|
83
|
+
}[];
|
|
84
|
+
rollup(columnIndicies: any, rollup: any): {
|
|
85
|
+
key: string;
|
|
86
|
+
values: any;
|
|
87
|
+
value: undefined;
|
|
88
|
+
}[];
|
|
89
|
+
length(): number;
|
|
90
|
+
width(): number;
|
|
91
|
+
pivot(): this;
|
|
92
|
+
clone(deep: any): any;
|
|
93
|
+
filter(filter: any): any;
|
|
94
|
+
analyse(columns: any): any[];
|
|
95
|
+
jsonObj(_?: any): any | Grid;
|
|
96
|
+
json(_: string | object): this;
|
|
97
|
+
json(): string;
|
|
98
|
+
csv(_: any): this;
|
|
99
|
+
csv(): string;
|
|
100
|
+
tsv(_: any): this;
|
|
101
|
+
tsv(): string;
|
|
102
|
+
}
|
|
103
|
+
export interface Grid {
|
|
104
|
+
fields(): Field[];
|
|
105
|
+
fields(_: Field[], clone?: boolean): this;
|
|
106
|
+
}
|
|
107
|
+
export declare class LegacyView {
|
|
108
|
+
_grid: any;
|
|
109
|
+
_parsedData: any;
|
|
110
|
+
_parsedDataChecksum: any;
|
|
111
|
+
_formattedData: any;
|
|
112
|
+
_formattedDataChecksum: any;
|
|
113
|
+
constructor(grid: any);
|
|
114
|
+
checksum(): any;
|
|
115
|
+
fields(): any;
|
|
116
|
+
grid(): any;
|
|
117
|
+
columns(_?: any): any;
|
|
118
|
+
rawData(_?: any): any;
|
|
119
|
+
formattedData(): any;
|
|
120
|
+
parsedData(): any;
|
|
121
|
+
protected _whichData(opts?: any): any;
|
|
122
|
+
data(_: any): any;
|
|
123
|
+
}
|
|
124
|
+
export declare class RollupView extends LegacyView {
|
|
125
|
+
_columnIndicies: any;
|
|
126
|
+
_rollup: any;
|
|
127
|
+
_nestChecksum: any;
|
|
128
|
+
_nest: any;
|
|
129
|
+
constructor(grid: any, columns: any, rollup?: any);
|
|
130
|
+
nest(): any;
|
|
131
|
+
entries(opts?: any): any;
|
|
132
|
+
map(opts: any): any;
|
|
133
|
+
d3Map(opts: any): any;
|
|
134
|
+
_walkData(entries: any, prevRow?: any[]): any[];
|
|
135
|
+
data(opts: any): any[];
|
|
136
|
+
}
|
|
137
137
|
//# sourceMappingURL=Database.d.ts.map
|
package/types/Entity.d.ts
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import { Icon } from "./Icon";
|
|
2
|
-
import { Shape } from "./Shape";
|
|
3
|
-
import { SVGWidget } from "./SVGWidget";
|
|
4
|
-
import { Text } from "./Text";
|
|
5
|
-
import { BBox, Widget } from "./Widget";
|
|
6
|
-
export interface IAnnotation {
|
|
7
|
-
faChar: string;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
shape_colorFill?: string;
|
|
10
|
-
shape_colorStroke?: string;
|
|
11
|
-
image_colorFill?: string;
|
|
12
|
-
shape?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare class Entity extends SVGWidget {
|
|
15
|
-
protected _icon_widget: Icon;
|
|
16
|
-
protected _background_widget: Shape;
|
|
17
|
-
protected _title_widget: Text;
|
|
18
|
-
protected _desc_widget: Text;
|
|
19
|
-
protected _annotation_widgets: {
|
|
20
|
-
[idx: number]: {
|
|
21
|
-
widget: SVGWidget;
|
|
22
|
-
bbox: BBox;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
protected _element_anno: any;
|
|
26
|
-
protected _element_background: any;
|
|
27
|
-
protected _element_desc: any;
|
|
28
|
-
protected _element_icon: any;
|
|
29
|
-
protected _element_title: any;
|
|
30
|
-
private _annotationLocal;
|
|
31
|
-
constructor();
|
|
32
|
-
getAnnotationsBBox(): BBox;
|
|
33
|
-
enter(domNode: any, element: any): void;
|
|
34
|
-
update(domNode: any, element: any): void;
|
|
35
|
-
exit(domNode: any, element: any): void;
|
|
36
|
-
moveAnnotations(x_offset: number, y_offset: number): void;
|
|
37
|
-
render(callback?: (w: Widget) => void): this;
|
|
38
|
-
}
|
|
39
|
-
export interface Entity {
|
|
40
|
-
arrowHeight(): number;
|
|
41
|
-
arrowHeight(_: number): this;
|
|
42
|
-
arrowWidth(): number;
|
|
43
|
-
arrowWidth(_: number): this;
|
|
44
|
-
cornerRadius(): number;
|
|
45
|
-
cornerRadius(_: number): this;
|
|
46
|
-
padding(): number;
|
|
47
|
-
padding(_: number): this;
|
|
48
|
-
paddingPercent(): number;
|
|
49
|
-
paddingPercent(_: number): this;
|
|
50
|
-
annotationIcons(): IAnnotation[];
|
|
51
|
-
annotationIcons(_: IAnnotation[]): this;
|
|
52
|
-
annotationDiameter(): number;
|
|
53
|
-
annotationDiameter(_: number): this;
|
|
54
|
-
annotationSpacing(): number;
|
|
55
|
-
annotationSpacing(_: number): this;
|
|
56
|
-
annotationPaddingPercent(): number;
|
|
57
|
-
annotationPaddingPercent(_: number): this;
|
|
58
|
-
icon(): string;
|
|
59
|
-
icon(_: string): this;
|
|
60
|
-
iconColor(): string;
|
|
61
|
-
iconColor(_: string): this;
|
|
62
|
-
iconDiameter(): number;
|
|
63
|
-
iconDiameter(_: number): this;
|
|
64
|
-
iconPaddingPercent(): number;
|
|
65
|
-
iconPaddingPercent(_: number): this;
|
|
66
|
-
description(): string;
|
|
67
|
-
description(_: string): this;
|
|
68
|
-
descriptionColor(): string;
|
|
69
|
-
descriptionColor(_: string): this;
|
|
70
|
-
descriptionFontFamily(): string;
|
|
71
|
-
descriptionFontFamily(_: string): this;
|
|
72
|
-
descriptionFontSize(): number;
|
|
73
|
-
descriptionFontSize(_: number): this;
|
|
74
|
-
title(): string;
|
|
75
|
-
title(_: string): this;
|
|
76
|
-
titleColor(): string;
|
|
77
|
-
titleColor(_: string): this;
|
|
78
|
-
titleFontFamily(): string;
|
|
79
|
-
titleFontFamily(_: string): this;
|
|
80
|
-
titleFontSize(): number;
|
|
81
|
-
titleFontSize(_: number): this;
|
|
82
|
-
backgroundShape(): string;
|
|
83
|
-
backgroundShape(_: string): this;
|
|
84
|
-
backgroundColorFill(): string;
|
|
85
|
-
backgroundColorFill(_: string): this;
|
|
86
|
-
backgroundColorStroke(): string;
|
|
87
|
-
backgroundColorStroke(_: string): this;
|
|
88
|
-
}
|
|
1
|
+
import { Icon } from "./Icon";
|
|
2
|
+
import { Shape } from "./Shape";
|
|
3
|
+
import { SVGWidget } from "./SVGWidget";
|
|
4
|
+
import { Text } from "./Text";
|
|
5
|
+
import { BBox, Widget } from "./Widget";
|
|
6
|
+
export interface IAnnotation {
|
|
7
|
+
faChar: string;
|
|
8
|
+
tooltip?: string;
|
|
9
|
+
shape_colorFill?: string;
|
|
10
|
+
shape_colorStroke?: string;
|
|
11
|
+
image_colorFill?: string;
|
|
12
|
+
shape?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class Entity extends SVGWidget {
|
|
15
|
+
protected _icon_widget: Icon;
|
|
16
|
+
protected _background_widget: Shape;
|
|
17
|
+
protected _title_widget: Text;
|
|
18
|
+
protected _desc_widget: Text;
|
|
19
|
+
protected _annotation_widgets: {
|
|
20
|
+
[idx: number]: {
|
|
21
|
+
widget: SVGWidget;
|
|
22
|
+
bbox: BBox;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
protected _element_anno: any;
|
|
26
|
+
protected _element_background: any;
|
|
27
|
+
protected _element_desc: any;
|
|
28
|
+
protected _element_icon: any;
|
|
29
|
+
protected _element_title: any;
|
|
30
|
+
private _annotationLocal;
|
|
31
|
+
constructor();
|
|
32
|
+
getAnnotationsBBox(): BBox;
|
|
33
|
+
enter(domNode: any, element: any): void;
|
|
34
|
+
update(domNode: any, element: any): void;
|
|
35
|
+
exit(domNode: any, element: any): void;
|
|
36
|
+
moveAnnotations(x_offset: number, y_offset: number): void;
|
|
37
|
+
render(callback?: (w: Widget) => void): this;
|
|
38
|
+
}
|
|
39
|
+
export interface Entity {
|
|
40
|
+
arrowHeight(): number;
|
|
41
|
+
arrowHeight(_: number): this;
|
|
42
|
+
arrowWidth(): number;
|
|
43
|
+
arrowWidth(_: number): this;
|
|
44
|
+
cornerRadius(): number;
|
|
45
|
+
cornerRadius(_: number): this;
|
|
46
|
+
padding(): number;
|
|
47
|
+
padding(_: number): this;
|
|
48
|
+
paddingPercent(): number;
|
|
49
|
+
paddingPercent(_: number): this;
|
|
50
|
+
annotationIcons(): IAnnotation[];
|
|
51
|
+
annotationIcons(_: IAnnotation[]): this;
|
|
52
|
+
annotationDiameter(): number;
|
|
53
|
+
annotationDiameter(_: number): this;
|
|
54
|
+
annotationSpacing(): number;
|
|
55
|
+
annotationSpacing(_: number): this;
|
|
56
|
+
annotationPaddingPercent(): number;
|
|
57
|
+
annotationPaddingPercent(_: number): this;
|
|
58
|
+
icon(): string;
|
|
59
|
+
icon(_: string): this;
|
|
60
|
+
iconColor(): string;
|
|
61
|
+
iconColor(_: string): this;
|
|
62
|
+
iconDiameter(): number;
|
|
63
|
+
iconDiameter(_: number): this;
|
|
64
|
+
iconPaddingPercent(): number;
|
|
65
|
+
iconPaddingPercent(_: number): this;
|
|
66
|
+
description(): string;
|
|
67
|
+
description(_: string): this;
|
|
68
|
+
descriptionColor(): string;
|
|
69
|
+
descriptionColor(_: string): this;
|
|
70
|
+
descriptionFontFamily(): string;
|
|
71
|
+
descriptionFontFamily(_: string): this;
|
|
72
|
+
descriptionFontSize(): number;
|
|
73
|
+
descriptionFontSize(_: number): this;
|
|
74
|
+
title(): string;
|
|
75
|
+
title(_: string): this;
|
|
76
|
+
titleColor(): string;
|
|
77
|
+
titleColor(_: string): this;
|
|
78
|
+
titleFontFamily(): string;
|
|
79
|
+
titleFontFamily(_: string): this;
|
|
80
|
+
titleFontSize(): number;
|
|
81
|
+
titleFontSize(_: number): this;
|
|
82
|
+
backgroundShape(): string;
|
|
83
|
+
backgroundShape(_: string): this;
|
|
84
|
+
backgroundColorFill(): string;
|
|
85
|
+
backgroundColorFill(_: string): this;
|
|
86
|
+
backgroundColorStroke(): string;
|
|
87
|
+
backgroundColorStroke(_: string): this;
|
|
88
|
+
}
|
|
89
89
|
//# sourceMappingURL=Entity.d.ts.map
|
package/types/EntityCard.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
2
|
-
export declare class EntityCard extends Entity {
|
|
3
|
-
protected _element_textbox: any;
|
|
4
|
-
constructor();
|
|
5
|
-
enter(domNode: any, element: any): void;
|
|
6
|
-
update(): void;
|
|
7
|
-
}
|
|
8
|
-
export interface EntityCard {
|
|
9
|
-
fixedWidth(): number;
|
|
10
|
-
fixedWidth(_: number): this;
|
|
11
|
-
fixedHeight(): number;
|
|
12
|
-
fixedHeight(_: number): this;
|
|
13
|
-
}
|
|
1
|
+
import { Entity } from "./Entity";
|
|
2
|
+
export declare class EntityCard extends Entity {
|
|
3
|
+
protected _element_textbox: any;
|
|
4
|
+
constructor();
|
|
5
|
+
enter(domNode: any, element: any): void;
|
|
6
|
+
update(): void;
|
|
7
|
+
}
|
|
8
|
+
export interface EntityCard {
|
|
9
|
+
fixedWidth(): number;
|
|
10
|
+
fixedWidth(_: number): this;
|
|
11
|
+
fixedHeight(): number;
|
|
12
|
+
fixedHeight(_: number): this;
|
|
13
|
+
}
|
|
14
14
|
//# sourceMappingURL=EntityCard.d.ts.map
|