@hpcc-js/common 2.72.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.css +2 -0
- package/dist/index.css.map +7 -0
- package/dist/index.js +30 -15317
- package/dist/index.js.map +7 -1
- package/package.json +28 -34
- package/src/CanvasWidget.ts +1 -1
- package/src/Class.ts +5 -0
- package/src/Database.ts +10 -6
- package/src/Entity.ts +5 -5
- package/src/EntityCard.ts +1 -1
- package/src/EntityPin.ts +1 -1
- package/src/EntityRect.ts +54 -36
- package/src/EntityVertex.ts +2 -2
- package/src/FAChar.ts +14 -7
- package/src/HTMLWidget.ts +1 -1
- package/src/Icon.ts +27 -15
- package/src/Image.ts +16 -7
- package/src/List.ts +9 -4
- package/src/Menu.ts +11 -6
- package/src/ProgressBar.ts +28 -18
- package/src/PropertyExt.ts +1 -24
- package/src/ResizeSurface.ts +6 -2
- package/src/SVGWidget.ts +5 -7
- package/src/SVGZoomWidget.ts +3 -3
- package/src/Shape.ts +1 -1
- package/src/Surface.ts +32 -17
- package/src/Text.ts +1 -1
- package/src/TextBox.ts +34 -19
- package/src/TitleBar.ts +3 -3
- package/src/Widget.ts +7 -8
- package/src/WidgetArray.ts +7 -5
- package/src/__package__.ts +2 -2
- package/src/index.ts +32 -32
- package/types/CanvasWidget.d.ts +1 -2
- package/types/Class.d.ts +2 -1
- package/types/Database.d.ts +9 -18
- package/types/Entity.d.ts +5 -6
- package/types/EntityCard.d.ts +1 -2
- package/types/EntityPin.d.ts +1 -2
- package/types/EntityRect.d.ts +35 -20
- package/types/EntityVertex.d.ts +2 -3
- package/types/FAChar.d.ts +11 -18
- package/types/HTMLWidget.d.ts +1 -2
- package/types/IList.d.ts +0 -1
- package/types/IMenu.d.ts +0 -1
- package/types/Icon.d.ts +23 -40
- package/types/Image.d.ts +15 -26
- package/types/List.d.ts +6 -7
- package/types/Menu.d.ts +10 -13
- package/types/Palette.d.ts +0 -1
- package/types/Platform.d.ts +0 -1
- package/types/ProgressBar.d.ts +19 -10
- package/types/PropertyExt.d.ts +1 -13
- package/types/ResizeSurface.d.ts +5 -6
- package/types/SVGWidget.d.ts +1 -3
- package/types/SVGZoomWidget.d.ts +2 -3
- package/types/Shape.d.ts +1 -2
- package/types/Surface.d.ts +27 -50
- package/types/Text.d.ts +1 -2
- package/types/TextBox.d.ts +32 -57
- package/types/TitleBar.d.ts +2 -3
- package/types/Transition.d.ts +0 -1
- package/types/Utility.d.ts +0 -1
- package/types/Widget.d.ts +4 -5
- package/types/WidgetArray.d.ts +5 -4
- package/types/__package__.d.ts +2 -3
- package/types/index.d.ts +32 -33
- package/dist/index.es6.js +0 -15071
- package/dist/index.es6.js.map +0 -1
- package/dist/index.min.js +0 -2
- package/dist/index.min.js.map +0 -1
- package/font-awesome/css/font-awesome.css +0 -2337
- package/font-awesome/css/font-awesome.css.map +0 -7
- package/font-awesome/css/font-awesome.min.css +0 -4
- package/types/CanvasWidget.d.ts.map +0 -1
- package/types/Class.d.ts.map +0 -1
- package/types/Database.d.ts.map +0 -1
- package/types/Entity.d.ts.map +0 -1
- package/types/EntityCard.d.ts.map +0 -1
- package/types/EntityPin.d.ts.map +0 -1
- package/types/EntityRect.d.ts.map +0 -1
- package/types/EntityVertex.d.ts.map +0 -1
- package/types/FAChar.d.ts.map +0 -1
- package/types/HTMLWidget.d.ts.map +0 -1
- package/types/IList.d.ts.map +0 -1
- package/types/IMenu.d.ts.map +0 -1
- package/types/Icon.d.ts.map +0 -1
- package/types/Image.d.ts.map +0 -1
- package/types/List.d.ts.map +0 -1
- package/types/Menu.d.ts.map +0 -1
- package/types/Palette.d.ts.map +0 -1
- package/types/Platform.d.ts.map +0 -1
- package/types/ProgressBar.d.ts.map +0 -1
- package/types/PropertyExt.d.ts.map +0 -1
- package/types/ResizeSurface.d.ts.map +0 -1
- package/types/SVGWidget.d.ts.map +0 -1
- package/types/SVGZoomWidget.d.ts.map +0 -1
- package/types/Shape.d.ts.map +0 -1
- package/types/Surface.d.ts.map +0 -1
- package/types/Text.d.ts.map +0 -1
- package/types/TextBox.d.ts.map +0 -1
- package/types/TitleBar.d.ts.map +0 -1
- package/types/Transition.d.ts.map +0 -1
- package/types/Utility.d.ts.map +0 -1
- package/types/Widget.d.ts.map +0 -1
- package/types/WidgetArray.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/CanvasWidget.d.ts +0 -9
- package/types-3.4/Class.d.ts +0 -13
- package/types-3.4/Database.d.ts +0 -137
- package/types-3.4/Entity.d.ts +0 -89
- package/types-3.4/EntityCard.d.ts +0 -14
- package/types-3.4/EntityPin.d.ts +0 -23
- package/types-3.4/EntityRect.d.ts +0 -46
- package/types-3.4/EntityVertex.d.ts +0 -31
- package/types-3.4/FAChar.d.ts +0 -30
- package/types-3.4/HTMLWidget.d.ts +0 -28
- package/types-3.4/IList.d.ts +0 -5
- package/types-3.4/IMenu.d.ts +0 -6
- package/types-3.4/Icon.d.ts +0 -63
- package/types-3.4/Image.d.ts +0 -34
- package/types-3.4/List.d.ts +0 -16
- package/types-3.4/Menu.d.ts +0 -29
- package/types-3.4/Palette.d.ts +0 -20
- package/types-3.4/Platform.d.ts +0 -6
- package/types-3.4/ProgressBar.d.ts +0 -22
- package/types-3.4/PropertyExt.d.ts +0 -115
- package/types-3.4/ResizeSurface.d.ts +0 -24
- package/types-3.4/SVGWidget.d.ts +0 -78
- package/types-3.4/SVGZoomWidget.d.ts +0 -74
- package/types-3.4/Shape.d.ts +0 -35
- package/types-3.4/Surface.d.ts +0 -70
- package/types-3.4/Text.d.ts +0 -38
- package/types-3.4/TextBox.d.ts +0 -77
- package/types-3.4/TitleBar.d.ts +0 -118
- package/types-3.4/Transition.d.ts +0 -12
- package/types-3.4/Utility.d.ts +0 -103
- package/types-3.4/Widget.d.ts +0 -154
- package/types-3.4/WidgetArray.d.ts +0 -7
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/index.d.ts +0 -53
package/src/Shape.ts
CHANGED
package/src/Surface.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { select as d3Select } from "d3-selection";
|
|
2
2
|
import "d3-transition";
|
|
3
|
-
import { Icon } from "./Icon";
|
|
4
|
-
import { Menu } from "./Menu";
|
|
5
|
-
import { Shape } from "./Shape";
|
|
6
|
-
import { SVGWidget } from "./SVGWidget";
|
|
7
|
-
import { Text } from "./Text";
|
|
3
|
+
import { Icon } from "./Icon.ts";
|
|
4
|
+
import { Menu } from "./Menu.ts";
|
|
5
|
+
import { Shape } from "./Shape.ts";
|
|
6
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
7
|
+
import { Text } from "./Text.ts";
|
|
8
8
|
|
|
9
9
|
import "../src/Surface.css";
|
|
10
10
|
|
|
@@ -296,21 +296,36 @@ export class Surface extends SVGWidget {
|
|
|
296
296
|
click(d) {
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
showTitle: { (): boolean; (_: boolean): Surface; };
|
|
300
|
-
title: { (): string; (_: string): Surface; };
|
|
301
|
-
titleFontSize: { (): string; (_: string): Surface; };
|
|
302
|
-
showIcon: { (): boolean; (_: boolean): Surface; };
|
|
303
|
-
icon_faChar: { (): string; (_: string): Surface; };
|
|
304
|
-
icon_shape: { (): string; (_: string): Surface; };
|
|
305
|
-
content: { (): any; (_: any): Surface; };
|
|
306
|
-
buttonAnnotations: { (): any[]; (_: any[]): Surface; };
|
|
307
|
-
buttonGutter: { (): number; (_: number): Surface; };
|
|
308
|
-
showContent: { (): boolean; (_: boolean): Surface; };
|
|
309
|
-
menu: { (): any[]; (_: any[]): Surface; };
|
|
310
|
-
menuPadding: { (): number; (_: number): Surface; };
|
|
311
299
|
}
|
|
312
300
|
Surface.prototype._class += " common_Surface";
|
|
313
301
|
|
|
302
|
+
export interface Surface {
|
|
303
|
+
showTitle(): boolean;
|
|
304
|
+
showTitle(_: boolean): this;
|
|
305
|
+
title(): string;
|
|
306
|
+
title(_: string): this;
|
|
307
|
+
titleFontSize(): string;
|
|
308
|
+
titleFontSize(_: string): this;
|
|
309
|
+
showIcon(): boolean;
|
|
310
|
+
showIcon(_: boolean): this;
|
|
311
|
+
icon_faChar(): string;
|
|
312
|
+
icon_faChar(_: string): this;
|
|
313
|
+
icon_shape(): string;
|
|
314
|
+
icon_shape(_: string): this;
|
|
315
|
+
content(): any;
|
|
316
|
+
content(_: any): this;
|
|
317
|
+
buttonAnnotations(): any[];
|
|
318
|
+
buttonAnnotations(_: any[]): this;
|
|
319
|
+
buttonGutter(): number;
|
|
320
|
+
buttonGutter(_: number): this;
|
|
321
|
+
showContent(): boolean;
|
|
322
|
+
showContent(_: boolean): this;
|
|
323
|
+
menu(): any[];
|
|
324
|
+
menu(_: any[]): this;
|
|
325
|
+
menuPadding(): number;
|
|
326
|
+
menuPadding(_: number): this;
|
|
327
|
+
}
|
|
328
|
+
|
|
314
329
|
Surface.prototype.publish("showTitle", true, "boolean", "Show Title", null, { tags: ["Basic"] });
|
|
315
330
|
Surface.prototype.publish("title", "", "string", "Title", null, { tags: ["Basic"] });
|
|
316
331
|
Surface.prototype.publishProxy("titleFontSize", "_textWidget", "fontSize");
|
package/src/Text.ts
CHANGED
package/src/TextBox.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { textColor } from "./Palette";
|
|
2
|
-
import { Shape } from "./Shape";
|
|
3
|
-
import { SVGWidget } from "./SVGWidget";
|
|
4
|
-
import { Text } from "./Text";
|
|
5
|
-
import { ISize } from "./Widget";
|
|
1
|
+
import { textColor } from "./Palette.ts";
|
|
2
|
+
import { Shape } from "./Shape.ts";
|
|
3
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
4
|
+
import { Text } from "./Text.ts";
|
|
5
|
+
import { ISize } from "./Widget.ts";
|
|
6
6
|
|
|
7
7
|
import "../src/TextBox.css";
|
|
8
8
|
|
|
@@ -135,23 +135,38 @@ export class TextBox extends SVGWidget {
|
|
|
135
135
|
|
|
136
136
|
dblclick() {
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
text: { (): string; (_: string): TextBox; };
|
|
140
|
-
fontSize: { (): number; (_: number): TextBox; };
|
|
141
|
-
shape_colorFill: { (): string; (_: string): TextBox; };
|
|
142
|
-
shape_colorStroke: { (): string; (_: string): TextBox; };
|
|
143
|
-
text_colorFill: { (): string; (_: string): TextBox; };
|
|
144
|
-
text_fontFamily: { (): string; (_: string): TextBox; };
|
|
145
|
-
paddingLeft: { (): number; (_: number): TextBox; };
|
|
146
|
-
paddingRight: { (): number; (_: number): TextBox; };
|
|
147
|
-
paddingTop: { (): number; (_: number): TextBox; };
|
|
148
|
-
paddingBottom: { (): number; (_: number): TextBox; };
|
|
149
|
-
anchor: { (): "start" | "middle" | "end"; (_: "start" | "middle" | "end"): TextBox; };
|
|
150
|
-
fixedSize: { (): ISize; (_: ISize): TextBox; };
|
|
151
|
-
tooltip: { (): string; (_: string): TextBox; };
|
|
152
138
|
}
|
|
153
139
|
TextBox.prototype._class += " common_TextBox";
|
|
154
140
|
|
|
141
|
+
export interface TextBox {
|
|
142
|
+
text(): string;
|
|
143
|
+
text(_: string): this;
|
|
144
|
+
fontSize(): number;
|
|
145
|
+
fontSize(_: number): this;
|
|
146
|
+
shape_colorFill(): string;
|
|
147
|
+
shape_colorFill(_: string): this;
|
|
148
|
+
shape_colorStroke(): string;
|
|
149
|
+
shape_colorStroke(_: string): this;
|
|
150
|
+
text_colorFill(): string;
|
|
151
|
+
text_colorFill(_: string): this;
|
|
152
|
+
text_fontFamily(): string;
|
|
153
|
+
text_fontFamily(_: string): this;
|
|
154
|
+
paddingLeft(): number;
|
|
155
|
+
paddingLeft(_: number): this;
|
|
156
|
+
paddingRight(): number;
|
|
157
|
+
paddingRight(_: number): this;
|
|
158
|
+
paddingTop(): number;
|
|
159
|
+
paddingTop(_: number): this;
|
|
160
|
+
paddingBottom(): number;
|
|
161
|
+
paddingBottom(_: number): this;
|
|
162
|
+
anchor(): "start" | "middle" | "end";
|
|
163
|
+
anchor(_: "start" | "middle" | "end"): this;
|
|
164
|
+
fixedSize(): ISize;
|
|
165
|
+
fixedSize(_: ISize): this;
|
|
166
|
+
tooltip(): string;
|
|
167
|
+
tooltip(_: string): this;
|
|
168
|
+
}
|
|
169
|
+
|
|
155
170
|
TextBox.prototype.publishProxy("text", "_text");
|
|
156
171
|
TextBox.prototype.publishProxy("fontSize", "_text", "fontSize");
|
|
157
172
|
TextBox.prototype.publishProxy("shape_colorStroke", "_shape", "colorStroke");
|
package/src/TitleBar.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { event as d3Event } from "d3-selection";
|
|
2
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
3
|
-
import { fa5Class } from "./Utility";
|
|
4
|
-
import { Widget } from "./Widget";
|
|
2
|
+
import { HTMLWidget } from "./HTMLWidget.ts";
|
|
3
|
+
import { fa5Class } from "./Utility.ts";
|
|
4
|
+
import { Widget } from "./Widget.ts";
|
|
5
5
|
|
|
6
6
|
import "../src/TitleBar.css";
|
|
7
7
|
|
package/src/Widget.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { select as d3Select } from "d3-selection";
|
|
2
2
|
import "d3-transition";
|
|
3
|
-
import { Field, Grid } from "./Database";
|
|
4
|
-
import { } from "./Platform";
|
|
5
|
-
import { PropertyExt } from "./PropertyExt";
|
|
6
|
-
import { debounce, textRect, TextRect, textSize, TextSize } from "./Utility";
|
|
3
|
+
import { Field, Grid } from "./Database.ts";
|
|
4
|
+
import { } from "./Platform.ts";
|
|
5
|
+
import { PropertyExt } from "./PropertyExt.ts";
|
|
6
|
+
import { debounce, textRect, TextRect, textSize, TextSize } from "./Utility.ts";
|
|
7
7
|
|
|
8
8
|
import "../src/Widget.css";
|
|
9
9
|
|
|
@@ -44,7 +44,7 @@ export interface DataMetaT {
|
|
|
44
44
|
|
|
45
45
|
let widgetID = 0;
|
|
46
46
|
export abstract class Widget extends PropertyExt {
|
|
47
|
-
_idSeed: string;
|
|
47
|
+
static _idSeed: string;
|
|
48
48
|
|
|
49
49
|
protected _tag: string;
|
|
50
50
|
protected _isRootNode: boolean = true;
|
|
@@ -70,8 +70,7 @@ export abstract class Widget extends PropertyExt {
|
|
|
70
70
|
|
|
71
71
|
constructor() {
|
|
72
72
|
super();
|
|
73
|
-
this.
|
|
74
|
-
this._id = this._idSeed + widgetID++;
|
|
73
|
+
this._id = Widget._idSeed + widgetID++;
|
|
75
74
|
|
|
76
75
|
this._db = new Grid();
|
|
77
76
|
this._pos = { x: 0, y: 0 };
|
|
@@ -714,7 +713,7 @@ export interface Widget {
|
|
|
714
713
|
classed(_: { [classID: string]: boolean }): this;
|
|
715
714
|
}
|
|
716
715
|
|
|
717
|
-
Widget.
|
|
716
|
+
Widget._idSeed = "_w";
|
|
718
717
|
|
|
719
718
|
Widget.prototype.publishProxy("fields", "_db", "fields");
|
|
720
719
|
Widget.prototype.publish("classed", {}, "object", "HTML Classes", null, { tags: ["Private"] });
|
package/src/WidgetArray.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Widget } from "./Widget";
|
|
1
|
+
import { Widget } from "./Widget.ts";
|
|
3
2
|
|
|
4
3
|
export class WidgetArray extends Widget {
|
|
5
4
|
|
|
6
|
-
@publish([], "widgetArray", "Widget Array")
|
|
7
|
-
content: publish<this, Widget[]>;
|
|
8
|
-
|
|
9
5
|
constructor() {
|
|
10
6
|
super();
|
|
11
7
|
}
|
|
12
8
|
}
|
|
13
9
|
WidgetArray.prototype._class += " common_WidgetArray";
|
|
10
|
+
|
|
11
|
+
export interface WidgetArray {
|
|
12
|
+
content(): Widget[];
|
|
13
|
+
content(_: Widget[]): this;
|
|
14
|
+
}
|
|
15
|
+
WidgetArray.prototype.publish("content", [], "widgetArray", "Widget Array");
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/common";
|
|
2
|
-
export const PKG_VERSION = "
|
|
3
|
-
export const BUILD_VERSION = "2.
|
|
2
|
+
export const PKG_VERSION = "3.1.0";
|
|
3
|
+
export const BUILD_VERSION = "2.107.0";
|
package/src/index.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export * from "./__package__";
|
|
2
|
-
export * from "./CanvasWidget";
|
|
3
|
-
export * from "./Class";
|
|
4
|
-
import * as Database from "./Database";
|
|
1
|
+
export * from "./__package__.ts";
|
|
2
|
+
export * from "./CanvasWidget.ts";
|
|
3
|
+
export * from "./Class.ts";
|
|
4
|
+
import * as Database from "./Database.ts";
|
|
5
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";
|
|
6
|
+
export * from "./Entity.ts";
|
|
7
|
+
export * from "./EntityCard.ts";
|
|
8
|
+
export * from "./EntityPin.ts";
|
|
9
|
+
export * from "./EntityRect.ts";
|
|
10
|
+
export * from "./EntityVertex.ts";
|
|
11
|
+
export * from "./FAChar.ts";
|
|
12
|
+
export * from "./HTMLWidget.ts";
|
|
13
|
+
export * from "./Icon.ts";
|
|
14
|
+
export * from "./IList.ts";
|
|
15
|
+
export * from "./Image.ts";
|
|
16
|
+
export * from "./IMenu.ts";
|
|
17
|
+
export * from "./List.ts";
|
|
18
|
+
export * from "./Menu.ts";
|
|
19
|
+
import * as Palette from "./Palette.ts";
|
|
20
20
|
export { Palette };
|
|
21
|
-
import * as Platform from "./Platform";
|
|
21
|
+
import * as Platform from "./Platform.ts";
|
|
22
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";
|
|
23
|
+
export * from "./ProgressBar.ts";
|
|
24
|
+
export * from "./PropertyExt.ts";
|
|
25
|
+
export * from "./ResizeSurface.ts";
|
|
26
|
+
export * from "./Shape.ts";
|
|
27
|
+
export * from "./Surface.ts";
|
|
28
|
+
export * from "./SVGWidget.ts";
|
|
29
|
+
export * from "./SVGZoomWidget.ts";
|
|
30
|
+
export * from "./Text.ts";
|
|
31
|
+
export * from "./TextBox.ts";
|
|
32
|
+
export * from "./TitleBar.ts";
|
|
33
|
+
import * as Utility from "./Utility.ts";
|
|
34
34
|
export { Utility };
|
|
35
|
-
export * from "./Widget";
|
|
36
|
-
export * from "./WidgetArray";
|
|
35
|
+
export * from "./Widget.ts";
|
|
36
|
+
export * from "./WidgetArray.ts";
|
|
37
37
|
|
|
38
38
|
export * from "d3-array";
|
|
39
39
|
export * from "d3-brush";
|
package/types/CanvasWidget.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
1
|
+
import { HTMLWidget } from "./HTMLWidget.ts";
|
|
2
2
|
export declare class CanvasWidget extends HTMLWidget {
|
|
3
3
|
_ctx: CanvasRenderingContext2D;
|
|
4
4
|
constructor();
|
|
@@ -6,4 +6,3 @@ export declare class CanvasWidget extends HTMLWidget {
|
|
|
6
6
|
resetContext(): void;
|
|
7
7
|
click(d: any, c: any): void;
|
|
8
8
|
}
|
|
9
|
-
//# sourceMappingURL=CanvasWidget.d.ts.map
|
package/types/Class.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ClassMeta } from "@hpcc-js/util";
|
|
2
2
|
export declare class Class {
|
|
3
|
+
static _class: string;
|
|
3
4
|
_class: string;
|
|
5
|
+
constructor();
|
|
4
6
|
class(): string;
|
|
5
7
|
class(_: string): this;
|
|
6
8
|
classID(): string;
|
|
@@ -10,4 +12,3 @@ export declare class Class {
|
|
|
10
12
|
overrideMethod<M extends keyof this>(methodID: M, newMethod: this[M]): this;
|
|
11
13
|
cssTag(id: string): string;
|
|
12
14
|
}
|
|
13
|
-
//# sourceMappingURL=Class.d.ts.map
|
package/types/Database.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropertyExt } from "./PropertyExt";
|
|
1
|
+
import { PropertyExt } from "./PropertyExt.ts";
|
|
2
2
|
export interface INestedColumn {
|
|
3
3
|
label: string;
|
|
4
4
|
columns: Array<string | INestedColumn>;
|
|
@@ -22,26 +22,18 @@ export declare class Field extends PropertyExt {
|
|
|
22
22
|
formatter(format: any): any;
|
|
23
23
|
children(): Field[];
|
|
24
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
25
|
}
|
|
42
26
|
export interface Field {
|
|
27
|
+
label(): string;
|
|
28
|
+
label(_: string): this;
|
|
29
|
+
label_default(): string;
|
|
30
|
+
label_default(_: string): this;
|
|
43
31
|
type(): FieldType;
|
|
44
32
|
type(_: FieldType): this;
|
|
33
|
+
mask(): string;
|
|
34
|
+
mask(_: string): this;
|
|
35
|
+
format(): string;
|
|
36
|
+
format(_: string): this;
|
|
45
37
|
}
|
|
46
38
|
export declare class Grid extends PropertyExt {
|
|
47
39
|
_dataChecksum: boolean;
|
|
@@ -134,4 +126,3 @@ export declare class RollupView extends LegacyView {
|
|
|
134
126
|
_walkData(entries: any, prevRow?: any[]): any[];
|
|
135
127
|
data(opts: any): any[];
|
|
136
128
|
}
|
|
137
|
-
//# sourceMappingURL=Database.d.ts.map
|
package/types/Entity.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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";
|
|
1
|
+
import { Icon } from "./Icon.ts";
|
|
2
|
+
import { Shape } from "./Shape.ts";
|
|
3
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
4
|
+
import { Text } from "./Text.ts";
|
|
5
|
+
import { BBox, Widget } from "./Widget.ts";
|
|
6
6
|
export interface IAnnotation {
|
|
7
7
|
faChar: string;
|
|
8
8
|
tooltip?: string;
|
|
@@ -86,4 +86,3 @@ export interface Entity {
|
|
|
86
86
|
backgroundColorStroke(): string;
|
|
87
87
|
backgroundColorStroke(_: string): this;
|
|
88
88
|
}
|
|
89
|
-
//# sourceMappingURL=Entity.d.ts.map
|
package/types/EntityCard.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
1
|
+
import { Entity } from "./Entity.ts";
|
|
2
2
|
export declare class EntityCard extends Entity {
|
|
3
3
|
protected _element_textbox: any;
|
|
4
4
|
constructor();
|
|
@@ -11,4 +11,3 @@ export interface EntityCard {
|
|
|
11
11
|
fixedHeight(): number;
|
|
12
12
|
fixedHeight(_: number): this;
|
|
13
13
|
}
|
|
14
|
-
//# sourceMappingURL=EntityCard.d.ts.map
|
package/types/EntityPin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
1
|
+
import { Entity } from "./Entity.ts";
|
|
2
2
|
export declare class EntityPin extends Entity {
|
|
3
3
|
protected _element_textbox: any;
|
|
4
4
|
constructor();
|
|
@@ -20,4 +20,3 @@ export interface EntityPin {
|
|
|
20
20
|
annotationOnlyShowOnHover(): boolean;
|
|
21
21
|
annotationOnlyShowOnHover(_: boolean): this;
|
|
22
22
|
}
|
|
23
|
-
//# sourceMappingURL=EntityPin.d.ts.map
|
package/types/EntityRect.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
2
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
3
|
-
import {
|
|
4
|
-
import { InputField } from "./Widget";
|
|
1
|
+
import { Entity } from "./Entity.ts";
|
|
2
|
+
import { HTMLWidget } from "./HTMLWidget.ts";
|
|
3
|
+
import { InputField } from "./Widget.ts";
|
|
5
4
|
import "../src/EntityRect.css";
|
|
6
5
|
export declare class EntityRect extends Entity {
|
|
7
6
|
protected _element_textbox: any;
|
|
@@ -18,21 +17,6 @@ export interface EntityRect {
|
|
|
18
17
|
}
|
|
19
18
|
export declare class EntityRectList extends HTMLWidget {
|
|
20
19
|
static __inputs: InputField[];
|
|
21
|
-
fixedHeight: publish<this, number>;
|
|
22
|
-
backgroundColor: publish<this, string>;
|
|
23
|
-
backgroundColorColumn: publish<this, string>;
|
|
24
|
-
borderColor: publish<this, string>;
|
|
25
|
-
borderColorColumn: publish<this, string>;
|
|
26
|
-
icon: publish<this, string>;
|
|
27
|
-
iconColumn: publish<this, string>;
|
|
28
|
-
iconColor: publish<this, string>;
|
|
29
|
-
iconColorColumn: publish<this, string>;
|
|
30
|
-
titleColumn: publish<this, string>;
|
|
31
|
-
titleColor: publish<this, string>;
|
|
32
|
-
titleColorColumn: publish<this, string>;
|
|
33
|
-
descriptionColumn: publish<this, string>;
|
|
34
|
-
descriptionColor: publish<this, string>;
|
|
35
|
-
descriptionColorColumn: publish<this, string>;
|
|
36
20
|
private _enityRectLocal;
|
|
37
21
|
constructor();
|
|
38
22
|
entityRectData(): any;
|
|
@@ -43,4 +27,35 @@ export declare class EntityRectList extends HTMLWidget {
|
|
|
43
27
|
dblclick(row: any, column: any, selected: any): void;
|
|
44
28
|
_selection: any;
|
|
45
29
|
}
|
|
46
|
-
|
|
30
|
+
export interface EntityRectList {
|
|
31
|
+
fixedHeight(): number;
|
|
32
|
+
fixedHeight(_: number): this;
|
|
33
|
+
backgroundColor(): string;
|
|
34
|
+
backgroundColor(_: string): this;
|
|
35
|
+
backgroundColorColumn(): string;
|
|
36
|
+
backgroundColorColumn(_: string): this;
|
|
37
|
+
borderColor(): string;
|
|
38
|
+
borderColor(_: string): this;
|
|
39
|
+
borderColorColumn(): string;
|
|
40
|
+
borderColorColumn(_: string): this;
|
|
41
|
+
icon(): string;
|
|
42
|
+
icon(_: string): this;
|
|
43
|
+
iconColumn(): string;
|
|
44
|
+
iconColumn(_: string): this;
|
|
45
|
+
iconColor(): string;
|
|
46
|
+
iconColor(_: string): this;
|
|
47
|
+
iconColorColumn(): string;
|
|
48
|
+
iconColorColumn(_: string): this;
|
|
49
|
+
titleColumn(): string;
|
|
50
|
+
titleColumn(_: string): this;
|
|
51
|
+
titleColor(): string;
|
|
52
|
+
titleColor(_: string): this;
|
|
53
|
+
titleColorColumn(): string;
|
|
54
|
+
titleColorColumn(_: string): this;
|
|
55
|
+
descriptionColumn(): string;
|
|
56
|
+
descriptionColumn(_: string): this;
|
|
57
|
+
descriptionColor(): string;
|
|
58
|
+
descriptionColor(_: string): this;
|
|
59
|
+
descriptionColorColumn(): string;
|
|
60
|
+
descriptionColorColumn(_: string): this;
|
|
61
|
+
}
|
package/types/EntityVertex.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
2
|
-
import { TextBox } from "./TextBox";
|
|
1
|
+
import { Entity } from "./Entity.ts";
|
|
2
|
+
import { TextBox } from "./TextBox.ts";
|
|
3
3
|
export declare class EntityVertex extends Entity {
|
|
4
4
|
protected _textbox_widget: TextBox;
|
|
5
5
|
protected _element_textbox: any;
|
|
@@ -28,4 +28,3 @@ export interface EntityVertex {
|
|
|
28
28
|
textboxFontColor(): string;
|
|
29
29
|
textboxFontColor(_: string): this;
|
|
30
30
|
}
|
|
31
|
-
//# sourceMappingURL=EntityVertex.d.ts.map
|