@hpcc-js/common 2.73.0 → 3.2.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.
Files changed (143) hide show
  1. package/dist/index.js +294 -15311
  2. package/dist/index.js.map +7 -1
  3. package/package.json +31 -36
  4. package/src/CanvasWidget.ts +1 -1
  5. package/src/Class.ts +5 -0
  6. package/src/Database.ts +10 -6
  7. package/src/Entity.ts +5 -5
  8. package/src/EntityCard.ts +1 -1
  9. package/src/EntityPin.ts +1 -1
  10. package/src/EntityRect.ts +54 -36
  11. package/src/EntityVertex.ts +2 -2
  12. package/src/FAChar.ts +14 -7
  13. package/src/HTMLWidget.ts +1 -1
  14. package/src/Icon.ts +27 -15
  15. package/src/Image.ts +16 -7
  16. package/src/List.ts +8 -5
  17. package/src/Menu.ts +11 -6
  18. package/src/Palette.ts +6 -6
  19. package/src/ProgressBar.ts +28 -18
  20. package/src/PropertyExt.ts +7 -30
  21. package/src/ResizeSurface.ts +6 -2
  22. package/src/SVGWidget.ts +6 -8
  23. package/src/SVGZoomWidget.ts +4 -3
  24. package/src/Shape.ts +1 -1
  25. package/src/Surface.ts +32 -17
  26. package/src/Text.ts +1 -1
  27. package/src/TextBox.ts +34 -19
  28. package/src/TitleBar.ts +3 -3
  29. package/src/Transition.ts +3 -3
  30. package/src/Utility.ts +3 -3
  31. package/src/Widget.ts +11 -10
  32. package/src/WidgetArray.ts +7 -5
  33. package/src/__package__.ts +2 -2
  34. package/src/index.ts +32 -32
  35. package/types/CanvasWidget.d.ts +1 -2
  36. package/types/Class.d.ts +2 -1
  37. package/types/Database.d.ts +9 -18
  38. package/types/Entity.d.ts +5 -6
  39. package/types/EntityCard.d.ts +1 -2
  40. package/types/EntityPin.d.ts +1 -2
  41. package/types/EntityRect.d.ts +35 -20
  42. package/types/EntityVertex.d.ts +2 -3
  43. package/types/FAChar.d.ts +11 -18
  44. package/types/HTMLWidget.d.ts +1 -2
  45. package/types/IList.d.ts +0 -1
  46. package/types/IMenu.d.ts +0 -1
  47. package/types/Icon.d.ts +23 -40
  48. package/types/Image.d.ts +15 -26
  49. package/types/List.d.ts +6 -7
  50. package/types/Menu.d.ts +10 -13
  51. package/types/Palette.d.ts +0 -1
  52. package/types/Platform.d.ts +0 -1
  53. package/types/ProgressBar.d.ts +19 -10
  54. package/types/PropertyExt.d.ts +1 -13
  55. package/types/ResizeSurface.d.ts +5 -6
  56. package/types/SVGWidget.d.ts +2 -4
  57. package/types/SVGZoomWidget.d.ts +2 -3
  58. package/types/Shape.d.ts +1 -2
  59. package/types/Surface.d.ts +27 -50
  60. package/types/Text.d.ts +1 -2
  61. package/types/TextBox.d.ts +32 -57
  62. package/types/TitleBar.d.ts +2 -3
  63. package/types/Transition.d.ts +3 -4
  64. package/types/Utility.d.ts +3 -4
  65. package/types/Widget.d.ts +6 -6
  66. package/types/WidgetArray.d.ts +5 -4
  67. package/types/__package__.d.ts +2 -3
  68. package/types/index.d.ts +32 -33
  69. package/dist/index.es6.js +0 -15067
  70. package/dist/index.es6.js.map +0 -1
  71. package/dist/index.min.js +0 -2
  72. package/dist/index.min.js.map +0 -1
  73. package/font-awesome/css/font-awesome.css +0 -2337
  74. package/font-awesome/css/font-awesome.css.map +0 -7
  75. package/font-awesome/css/font-awesome.min.css +0 -4
  76. package/types/CanvasWidget.d.ts.map +0 -1
  77. package/types/Class.d.ts.map +0 -1
  78. package/types/Database.d.ts.map +0 -1
  79. package/types/Entity.d.ts.map +0 -1
  80. package/types/EntityCard.d.ts.map +0 -1
  81. package/types/EntityPin.d.ts.map +0 -1
  82. package/types/EntityRect.d.ts.map +0 -1
  83. package/types/EntityVertex.d.ts.map +0 -1
  84. package/types/FAChar.d.ts.map +0 -1
  85. package/types/HTMLWidget.d.ts.map +0 -1
  86. package/types/IList.d.ts.map +0 -1
  87. package/types/IMenu.d.ts.map +0 -1
  88. package/types/Icon.d.ts.map +0 -1
  89. package/types/Image.d.ts.map +0 -1
  90. package/types/List.d.ts.map +0 -1
  91. package/types/Menu.d.ts.map +0 -1
  92. package/types/Palette.d.ts.map +0 -1
  93. package/types/Platform.d.ts.map +0 -1
  94. package/types/ProgressBar.d.ts.map +0 -1
  95. package/types/PropertyExt.d.ts.map +0 -1
  96. package/types/ResizeSurface.d.ts.map +0 -1
  97. package/types/SVGWidget.d.ts.map +0 -1
  98. package/types/SVGZoomWidget.d.ts.map +0 -1
  99. package/types/Shape.d.ts.map +0 -1
  100. package/types/Surface.d.ts.map +0 -1
  101. package/types/Text.d.ts.map +0 -1
  102. package/types/TextBox.d.ts.map +0 -1
  103. package/types/TitleBar.d.ts.map +0 -1
  104. package/types/Transition.d.ts.map +0 -1
  105. package/types/Utility.d.ts.map +0 -1
  106. package/types/Widget.d.ts.map +0 -1
  107. package/types/WidgetArray.d.ts.map +0 -1
  108. package/types/__package__.d.ts.map +0 -1
  109. package/types/index.d.ts.map +0 -1
  110. package/types-3.4/CanvasWidget.d.ts +0 -9
  111. package/types-3.4/Class.d.ts +0 -13
  112. package/types-3.4/Database.d.ts +0 -137
  113. package/types-3.4/Entity.d.ts +0 -89
  114. package/types-3.4/EntityCard.d.ts +0 -14
  115. package/types-3.4/EntityPin.d.ts +0 -23
  116. package/types-3.4/EntityRect.d.ts +0 -46
  117. package/types-3.4/EntityVertex.d.ts +0 -31
  118. package/types-3.4/FAChar.d.ts +0 -30
  119. package/types-3.4/HTMLWidget.d.ts +0 -28
  120. package/types-3.4/IList.d.ts +0 -5
  121. package/types-3.4/IMenu.d.ts +0 -6
  122. package/types-3.4/Icon.d.ts +0 -63
  123. package/types-3.4/Image.d.ts +0 -34
  124. package/types-3.4/List.d.ts +0 -16
  125. package/types-3.4/Menu.d.ts +0 -29
  126. package/types-3.4/Palette.d.ts +0 -20
  127. package/types-3.4/Platform.d.ts +0 -6
  128. package/types-3.4/ProgressBar.d.ts +0 -22
  129. package/types-3.4/PropertyExt.d.ts +0 -115
  130. package/types-3.4/ResizeSurface.d.ts +0 -24
  131. package/types-3.4/SVGWidget.d.ts +0 -78
  132. package/types-3.4/SVGZoomWidget.d.ts +0 -74
  133. package/types-3.4/Shape.d.ts +0 -35
  134. package/types-3.4/Surface.d.ts +0 -70
  135. package/types-3.4/Text.d.ts +0 -38
  136. package/types-3.4/TextBox.d.ts +0 -77
  137. package/types-3.4/TitleBar.d.ts +0 -118
  138. package/types-3.4/Transition.d.ts +0 -12
  139. package/types-3.4/Utility.d.ts +0 -103
  140. package/types-3.4/Widget.d.ts +0 -154
  141. package/types-3.4/WidgetArray.d.ts +0 -7
  142. package/types-3.4/__package__.d.ts +0 -4
  143. package/types-3.4/index.d.ts +0 -53
package/types/Icon.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { SVGWidget } from "./SVGWidget";
1
+ import { SVGWidget } from "./SVGWidget.ts";
2
2
  import "../src/Icon.css";
3
3
  export declare class Icon extends SVGWidget {
4
4
  protected _shapeWidget: any;
@@ -21,43 +21,26 @@ export declare class Icon extends SVGWidget {
21
21
  _prevHash: any;
22
22
  update(domNode: any, element: any): void;
23
23
  exit(domNode: any, element: any): void;
24
- shape: {
25
- (): string;
26
- (_: string): Icon;
27
- };
28
- faChar: {
29
- (): string;
30
- (_: string): Icon;
31
- };
32
- imageUrl: {
33
- (): string;
34
- (_: string): Icon;
35
- };
36
- image_colorFill: {
37
- (): string;
38
- (_: string): Icon;
39
- };
40
- image_colorFill_exists: () => boolean;
41
- tooltip: {
42
- (): string;
43
- (_: string): Icon;
44
- };
45
- diameter: {
46
- (): number;
47
- (_: number): Icon;
48
- };
49
- paddingPercent: {
50
- (): number;
51
- (_: number): Icon;
52
- };
53
- shape_colorFill: {
54
- (): string;
55
- (_: string): Icon;
56
- };
57
- shape_colorFill_exists: () => boolean;
58
- shape_colorStroke: {
59
- (): string;
60
- (_: string): Icon;
61
- };
62
24
  }
63
- //# sourceMappingURL=Icon.d.ts.map
25
+ export interface Icon {
26
+ shape(): string;
27
+ shape(_: string): this;
28
+ faChar(): string;
29
+ faChar(_: string): this;
30
+ imageUrl(): string;
31
+ imageUrl(_: string): this;
32
+ image_colorFill(): string;
33
+ image_colorFill(_: string): this;
34
+ image_colorFill_exists(): boolean;
35
+ tooltip(): string;
36
+ tooltip(_: string): this;
37
+ diameter(): number;
38
+ diameter(_: number): this;
39
+ paddingPercent(): number;
40
+ paddingPercent(_: number): this;
41
+ shape_colorFill(): string;
42
+ shape_colorFill(_: string): this;
43
+ shape_colorFill_exists(): boolean;
44
+ shape_colorStroke(): string;
45
+ shape_colorStroke(_: string): this;
46
+ }
package/types/Image.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { HTMLWidget } from "./HTMLWidget";
1
+ import { HTMLWidget } from "./HTMLWidget.ts";
2
2
  export declare class Image extends HTMLWidget {
3
3
  private _imgElement;
4
4
  constructor();
@@ -6,29 +6,18 @@ export declare class Image extends HTMLWidget {
6
6
  update(domNode: any, element: any): void;
7
7
  styleImageElement(): void;
8
8
  exit(domNode: any, element: any): void;
9
- source: {
10
- (): string;
11
- (_: string): Image;
12
- };
13
- sizing: {
14
- (): string;
15
- (_: string): Image;
16
- };
17
- customWidth: {
18
- (): string;
19
- (_: string): Image;
20
- };
21
- customHeight: {
22
- (): string;
23
- (_: string): Image;
24
- };
25
- lockAspectRatio: {
26
- (): boolean;
27
- (_: boolean): Image;
28
- };
29
- alignment: {
30
- (): string;
31
- (_: string): Image;
32
- };
33
9
  }
34
- //# sourceMappingURL=Image.d.ts.map
10
+ export interface Image {
11
+ source(): string;
12
+ source(_: string): this;
13
+ sizing(): "actual" | "fit" | "custom";
14
+ sizing(_: "actual" | "fit" | "custom"): this;
15
+ customWidth(): string;
16
+ customWidth(_: string): this;
17
+ customHeight(): string;
18
+ customHeight(_: string): this;
19
+ lockAspectRatio(): boolean;
20
+ lockAspectRatio(_: boolean): this;
21
+ alignment(): "center" | "origin";
22
+ alignment(_: "center" | "origin"): this;
23
+ }
package/types/List.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { IList } from "./IList";
2
- import { SVGWidget } from "./SVGWidget";
1
+ import { IList } from "./IList.ts";
2
+ import { SVGWidget } from "./SVGWidget.ts";
3
3
  import "../src/List.css";
4
4
  export declare class List extends SVGWidget implements IList {
5
5
  protected _listWidgets: any;
@@ -8,9 +8,8 @@ export declare class List extends SVGWidget implements IList {
8
8
  exit(domNode: any, element: any): void;
9
9
  click(d: any): void;
10
10
  dblclick(d: any): void;
11
- anchor: {
12
- (): string;
13
- (_: string): List;
14
- };
15
11
  }
16
- //# sourceMappingURL=List.d.ts.map
12
+ export interface List {
13
+ anchor(): "" | "start" | "middle" | "end";
14
+ anchor(_: "" | "start" | "middle" | "end"): this;
15
+ }
package/types/Menu.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Icon } from "./Icon";
2
- import { IMenu } from "./IMenu";
3
- import { List } from "./List";
4
- import { SVGWidget } from "./SVGWidget";
1
+ import { Icon } from "./Icon.ts";
2
+ import { IMenu } from "./IMenu.ts";
3
+ import { List } from "./List.ts";
4
+ import { SVGWidget } from "./SVGWidget.ts";
5
5
  import "../src/Menu.css";
6
6
  export declare class Menu extends SVGWidget implements IMenu {
7
7
  protected _icon: Icon;
@@ -17,13 +17,10 @@ export declare class Menu extends SVGWidget implements IMenu {
17
17
  click(d: any): void;
18
18
  preShowMenu(): void;
19
19
  postHideMenu(): void;
20
- faChar: {
21
- (): string;
22
- (_: string): Menu;
23
- };
24
- paddingPercent: {
25
- (): number;
26
- (_: number): Menu;
27
- };
28
20
  }
29
- //# sourceMappingURL=Menu.d.ts.map
21
+ export interface Menu {
22
+ faChar(): string;
23
+ faChar(_: string): this;
24
+ paddingPercent(): number;
25
+ paddingPercent(_: number): this;
26
+ }
@@ -17,4 +17,3 @@ export declare function test(ordinalDivID: any, brewerDivID: any, customDivID: a
17
17
  export declare const ordinal: typeof fetchOrdinalItem;
18
18
  export declare const rainbow: typeof fetchRainbowItem;
19
19
  export declare function textColor(backgroundColor: string): string;
20
- //# sourceMappingURL=Palette.d.ts.map
@@ -3,4 +3,3 @@ export declare const ieVersion: number;
3
3
  export declare const isIE: boolean;
4
4
  export declare const svgMarkerGlitch: boolean;
5
5
  export declare function getScrollbarWidth(): any;
6
- //# sourceMappingURL=Platform.d.ts.map
@@ -1,13 +1,5 @@
1
- import { PropertyExt, publish } from "./PropertyExt";
1
+ import { PropertyExt } from "./PropertyExt.ts";
2
2
  export declare class ProgressBar extends PropertyExt {
3
- halfLife: publish<this, number>;
4
- decay: publish<this, number>;
5
- size: publish<this, number>;
6
- color: publish<this, string>;
7
- blurBar: publish<this, boolean>;
8
- blurSize: publish<this, number>;
9
- blurColor: publish<this, string>;
10
- blurOpacity: publish<this, number>;
11
3
  protected _elementID: string;
12
4
  protected _running: boolean;
13
5
  protected _style: any;
@@ -19,4 +11,21 @@ export declare class ProgressBar extends PropertyExt {
19
11
  exit(_domNode: any, _element: any): void;
20
12
  protected updateProgress(halflife: number, perc: number): void;
21
13
  }
22
- //# sourceMappingURL=ProgressBar.d.ts.map
14
+ export interface ProgressBar {
15
+ halfLife(): number;
16
+ halfLife(_: number): this;
17
+ decay(): number;
18
+ decay(_: number): this;
19
+ size(): number;
20
+ size(_: number): this;
21
+ color(): string;
22
+ color(_: string): this;
23
+ blurBar(): boolean;
24
+ blurBar(_: boolean): this;
25
+ blurSize(): number;
26
+ blurSize(_: number): this;
27
+ blurColor(): string;
28
+ blurColor(_: string): this;
29
+ blurOpacity(): number;
30
+ blurOpacity(_: number): this;
31
+ }
@@ -1,4 +1,4 @@
1
- import { Class } from "./Class";
1
+ import { Class } from "./Class.ts";
2
2
  export interface IAutoExpand extends PropertyExt {
3
3
  owner(): PropertyExt;
4
4
  owner(_: PropertyExt): this;
@@ -100,16 +100,4 @@ export declare class PropertyExt extends Class {
100
100
  hashSum(ignore?: string[], more?: {}): string;
101
101
  on(eventID: any, func: any, stopPropagation?: boolean): this;
102
102
  }
103
- export declare function publish(defaultValue: any, type?: PublishTypes, description?: string, set?: string[] | (() => string[] | Array<{
104
- value: string;
105
- text: string;
106
- }>) | IPublishExt, ext?: IPublishExt): (target: any, key: string) => void;
107
- export type publish<T, U> = {
108
- (_: U): T;
109
- (): U;
110
- };
111
- export declare function publishProxy(proxy: string, method?: string, defaultValue?: any, ext?: {
112
- reset?: boolean;
113
- }): (target: any, key: string) => void;
114
103
  export {};
115
- //# sourceMappingURL=PropertyExt.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Surface } from "./Surface";
1
+ import { Surface } from "./Surface.ts";
2
2
  import "../src/ResizeSurface.css";
3
3
  export declare class ResizeSurface extends Surface {
4
4
  protected handleWidth: any;
@@ -16,9 +16,8 @@ export declare class ResizeSurface extends Surface {
16
16
  move(_: any): any;
17
17
  update(domNode: any, element: any): void;
18
18
  updateHandles(_domNode: any, _element: any): void;
19
- allowResize: {
20
- (): boolean;
21
- (_: boolean): ResizeSurface;
22
- };
23
19
  }
24
- //# sourceMappingURL=ResizeSurface.d.ts.map
20
+ export interface ResizeSurface {
21
+ allowResize(): boolean;
22
+ allowResize(_: boolean): this;
23
+ }
@@ -1,4 +1,4 @@
1
- import { ISize, Widget } from "./Widget";
1
+ import { ISize, Widget } from "./Widget.ts";
2
2
  type Point = {
3
3
  x: number;
4
4
  y: number;
@@ -21,7 +21,6 @@ export declare class SVGGlowFilter {
21
21
  }
22
22
  export declare class SVGWidget extends Widget {
23
23
  static _class: string;
24
- _tag: any;
25
24
  protected _boundingBox: any;
26
25
  protected transition: any;
27
26
  protected _drawStartPos: "center" | "origin";
@@ -29,7 +28,7 @@ export declare class SVGWidget extends Widget {
29
28
  protected _parentRelativeDiv: any;
30
29
  protected _parentOverlay: any;
31
30
  constructor();
32
- move(_: any, transitionDuration?: any): this;
31
+ move(_?: any, transitionDuration?: any): this;
33
32
  _enableOverflow: boolean;
34
33
  enableOverflow(): boolean;
35
34
  enableOverflow(_: boolean): this;
@@ -75,4 +74,3 @@ export interface SVGWidget {
75
74
  selectionGlowColor(_: string): this;
76
75
  }
77
76
  export {};
78
- //# sourceMappingURL=SVGWidget.d.ts.map
@@ -1,5 +1,5 @@
1
- import { SVGWidget } from "./SVGWidget";
2
- import { IconBar, ToggleButton } from "./TitleBar";
1
+ import { SVGWidget } from "./SVGWidget.ts";
2
+ import { IconBar, ToggleButton } from "./TitleBar.ts";
3
3
  import "../src/SVGZoomWidget.css";
4
4
  export type MouseMode = "zoom" | "marqueeSelection";
5
5
  export declare class SVGZoomWidget extends SVGWidget {
@@ -71,4 +71,3 @@ export interface SVGZoomWidget {
71
71
  mouseMode(_: MouseMode): this;
72
72
  mouseMode(): MouseMode;
73
73
  }
74
- //# sourceMappingURL=SVGZoomWidget.d.ts.map
package/types/Shape.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { SVGWidget } from "./SVGWidget";
1
+ import { SVGWidget } from "./SVGWidget.ts";
2
2
  import "../src/Shape.css";
3
3
  export declare class Shape extends SVGWidget {
4
4
  protected _tooltipElement: any;
@@ -32,4 +32,3 @@ export interface Shape {
32
32
  tooltip(): string;
33
33
  tooltip(_: string): this;
34
34
  }
35
- //# sourceMappingURL=Shape.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import "d3-transition";
2
- import { SVGWidget } from "./SVGWidget";
2
+ import { SVGWidget } from "./SVGWidget.ts";
3
3
  import "../src/Surface.css";
4
4
  export declare class Surface extends SVGWidget {
5
5
  _origMenuParam: any;
@@ -18,53 +18,30 @@ export declare class Surface extends SVGWidget {
18
18
  exit(domNode: any, element: any): void;
19
19
  intersection(pointA: any, pointB: any): any;
20
20
  click(d: any): void;
21
- showTitle: {
22
- (): boolean;
23
- (_: boolean): Surface;
24
- };
25
- title: {
26
- (): string;
27
- (_: string): Surface;
28
- };
29
- titleFontSize: {
30
- (): string;
31
- (_: string): Surface;
32
- };
33
- showIcon: {
34
- (): boolean;
35
- (_: boolean): Surface;
36
- };
37
- icon_faChar: {
38
- (): string;
39
- (_: string): Surface;
40
- };
41
- icon_shape: {
42
- (): string;
43
- (_: string): Surface;
44
- };
45
- content: {
46
- (): any;
47
- (_: any): Surface;
48
- };
49
- buttonAnnotations: {
50
- (): any[];
51
- (_: any[]): Surface;
52
- };
53
- buttonGutter: {
54
- (): number;
55
- (_: number): Surface;
56
- };
57
- showContent: {
58
- (): boolean;
59
- (_: boolean): Surface;
60
- };
61
- menu: {
62
- (): any[];
63
- (_: any[]): Surface;
64
- };
65
- menuPadding: {
66
- (): number;
67
- (_: number): Surface;
68
- };
69
21
  }
70
- //# sourceMappingURL=Surface.d.ts.map
22
+ export interface Surface {
23
+ showTitle(): boolean;
24
+ showTitle(_: boolean): this;
25
+ title(): string;
26
+ title(_: string): this;
27
+ titleFontSize(): string;
28
+ titleFontSize(_: string): this;
29
+ showIcon(): boolean;
30
+ showIcon(_: boolean): this;
31
+ icon_faChar(): string;
32
+ icon_faChar(_: string): this;
33
+ icon_shape(): string;
34
+ icon_shape(_: string): this;
35
+ content(): any;
36
+ content(_: any): this;
37
+ buttonAnnotations(): any[];
38
+ buttonAnnotations(_: any[]): this;
39
+ buttonGutter(): number;
40
+ buttonGutter(_: number): this;
41
+ showContent(): boolean;
42
+ showContent(_: boolean): this;
43
+ menu(): any[];
44
+ menu(_: any[]): this;
45
+ menuPadding(): number;
46
+ menuPadding(_: number): this;
47
+ }
package/types/Text.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { SVGWidget } from "./SVGWidget";
1
+ import { SVGWidget } from "./SVGWidget.ts";
2
2
  import "../src/Text.css";
3
3
  export declare class Text extends SVGWidget {
4
4
  private _textElement;
@@ -35,4 +35,3 @@ export interface Text {
35
35
  rotation(): number;
36
36
  rotation(_: number): Text;
37
37
  }
38
- //# sourceMappingURL=Text.d.ts.map
@@ -1,7 +1,7 @@
1
- import { Shape } from "./Shape";
2
- import { SVGWidget } from "./SVGWidget";
3
- import { Text } from "./Text";
4
- import { ISize } from "./Widget";
1
+ import { Shape } from "./Shape.ts";
2
+ import { SVGWidget } from "./SVGWidget.ts";
3
+ import { Text } from "./Text.ts";
4
+ import { ISize } from "./Widget.ts";
5
5
  import "../src/TextBox.css";
6
6
  export declare class TextBox extends SVGWidget {
7
7
  protected _shape: Shape;
@@ -21,57 +21,32 @@ export declare class TextBox extends SVGWidget {
21
21
  exit(domNode: any, element: any): void;
22
22
  click(): void;
23
23
  dblclick(): void;
24
- text: {
25
- (): string;
26
- (_: string): TextBox;
27
- };
28
- fontSize: {
29
- (): number;
30
- (_: number): TextBox;
31
- };
32
- shape_colorFill: {
33
- (): string;
34
- (_: string): TextBox;
35
- };
36
- shape_colorStroke: {
37
- (): string;
38
- (_: string): TextBox;
39
- };
40
- text_colorFill: {
41
- (): string;
42
- (_: string): TextBox;
43
- };
44
- text_fontFamily: {
45
- (): string;
46
- (_: string): TextBox;
47
- };
48
- paddingLeft: {
49
- (): number;
50
- (_: number): TextBox;
51
- };
52
- paddingRight: {
53
- (): number;
54
- (_: number): TextBox;
55
- };
56
- paddingTop: {
57
- (): number;
58
- (_: number): TextBox;
59
- };
60
- paddingBottom: {
61
- (): number;
62
- (_: number): TextBox;
63
- };
64
- anchor: {
65
- (): "start" | "middle" | "end";
66
- (_: "start" | "middle" | "end"): TextBox;
67
- };
68
- fixedSize: {
69
- (): ISize;
70
- (_: ISize): TextBox;
71
- };
72
- tooltip: {
73
- (): string;
74
- (_: string): TextBox;
75
- };
76
24
  }
77
- //# sourceMappingURL=TextBox.d.ts.map
25
+ export interface TextBox {
26
+ text(): string;
27
+ text(_: string): this;
28
+ fontSize(): number;
29
+ fontSize(_: number): this;
30
+ shape_colorFill(): string;
31
+ shape_colorFill(_: string): this;
32
+ shape_colorStroke(): string;
33
+ shape_colorStroke(_: string): this;
34
+ text_colorFill(): string;
35
+ text_colorFill(_: string): this;
36
+ text_fontFamily(): string;
37
+ text_fontFamily(_: string): this;
38
+ paddingLeft(): number;
39
+ paddingLeft(_: number): this;
40
+ paddingRight(): number;
41
+ paddingRight(_: number): this;
42
+ paddingTop(): number;
43
+ paddingTop(_: number): this;
44
+ paddingBottom(): number;
45
+ paddingBottom(_: number): this;
46
+ anchor(): "start" | "middle" | "end";
47
+ anchor(_: "start" | "middle" | "end"): this;
48
+ fixedSize(): ISize;
49
+ fixedSize(_: ISize): this;
50
+ tooltip(): string;
51
+ tooltip(_: string): this;
52
+ }
@@ -1,5 +1,5 @@
1
- import { HTMLWidget } from "./HTMLWidget";
2
- import { Widget } from "./Widget";
1
+ import { HTMLWidget } from "./HTMLWidget.ts";
2
+ import { Widget } from "./Widget.ts";
3
3
  import "../src/TitleBar.css";
4
4
  export declare class Button extends HTMLWidget {
5
5
  private _enabled;
@@ -115,4 +115,3 @@ export interface TitleBar {
115
115
  descriptionFontSize(): number;
116
116
  descriptionFontSize(_: number): this;
117
117
  }
118
- //# sourceMappingURL=TitleBar.d.ts.map
@@ -4,9 +4,8 @@ export declare class Transition {
4
4
  protected _delay: any;
5
5
  protected _ease: any;
6
6
  constructor(widget: any);
7
- duration(_: any): any;
8
- delay(_: any): any;
9
- ease(_: any): any;
7
+ duration(_?: any): any;
8
+ delay(_?: any): any;
9
+ ease(_?: any): any;
10
10
  apply(selection: any): any;
11
11
  }
12
- //# sourceMappingURL=Transition.d.ts.map
@@ -28,14 +28,14 @@ export declare class SimpleSelection extends SelectionBase {
28
28
  _widgetElement: any;
29
29
  widgetElement(_?: any): any;
30
30
  _skipBringToTop: any;
31
- skipBringToTop(_: any): any;
31
+ skipBringToTop(_?: any): any;
32
32
  _initialSelection: (d: any) => boolean;
33
33
  enter(elements: any): void;
34
34
  click(domNode: any): boolean;
35
35
  mouseOver(domNode: any): void;
36
36
  mouseOut(domNode: any): void;
37
37
  selected(domNode: any): boolean;
38
- selection(_: any): string[] | this;
38
+ selection(_?: any): string[] | this;
39
39
  selection2(): any[];
40
40
  selection2(isSelected: (d: any) => boolean): this;
41
41
  }
@@ -46,7 +46,7 @@ export declare function faChar(key: string, defChar?: string): string;
46
46
  export declare function faCode(key: string): number;
47
47
  export declare function removeHTMLFromString(str: string, div?: HTMLDivElement): string;
48
48
  export declare function templateFields(tpl: string): string[];
49
- export declare function template(tpl: string, _args: any): string;
49
+ export declare function template(tpl?: string, _args?: any): string;
50
50
  export declare function naturalSort(data: any, order: any, idx: any, sortCaseSensitive: any): any;
51
51
  export declare function multiSort(data: any, sortBy: any): any;
52
52
  export declare const Selection: typeof SelectionBag;
@@ -100,4 +100,3 @@ export type TextRect = {
100
100
  };
101
101
  export declare function textRect(text: string, fontName?: string, fontSize?: number, bold?: boolean): Readonly<TextRect>;
102
102
  export declare function safeRaise(domNode: Element): void;
103
- //# sourceMappingURL=Utility.d.ts.map
package/types/Widget.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import "d3-transition";
2
- import { Field, Grid } from "./Database";
3
- import { PropertyExt } from "./PropertyExt";
4
- import { TextRect, TextSize } from "./Utility";
2
+ import { Field, Grid } from "./Database.ts";
3
+ import { PropertyExt } from "./PropertyExt.ts";
4
+ import { TextRect, TextSize } from "./Utility.ts";
5
5
  import "../src/Widget.css";
6
+ export { Field };
6
7
  export type IPrimative = boolean | number | string | object;
7
8
  export type IFieldType = "boolean" | "number" | "string" | "dataset" | "object" | "any";
8
9
  export interface InputField {
@@ -34,7 +35,7 @@ export interface DataMetaT {
34
35
  sum?: number;
35
36
  }
36
37
  export declare abstract class Widget extends PropertyExt {
37
- _idSeed: string;
38
+ static _idSeed: string;
38
39
  protected _tag: string;
39
40
  protected _isRootNode: boolean;
40
41
  protected _db: Grid;
@@ -86,7 +87,7 @@ export declare abstract class Widget extends PropertyExt {
86
87
  height(_: any): this;
87
88
  resize(size?: ISize, delta?: ISize): this;
88
89
  scale(): number;
89
- scale(_: any): Widget;
90
+ scale(_: any): this;
90
91
  visible(): boolean;
91
92
  visible(_: any): this;
92
93
  display(): boolean;
@@ -151,4 +152,3 @@ export interface Widget {
151
152
  [classID: string]: boolean;
152
153
  }): this;
153
154
  }
154
- //# sourceMappingURL=Widget.d.ts.map
@@ -1,7 +1,8 @@
1
- import { publish } from "./PropertyExt";
2
- import { Widget } from "./Widget";
1
+ import { Widget } from "./Widget.ts";
3
2
  export declare class WidgetArray extends Widget {
4
- content: publish<this, Widget[]>;
5
3
  constructor();
6
4
  }
7
- //# sourceMappingURL=WidgetArray.d.ts.map
5
+ export interface WidgetArray {
6
+ content(): Widget[];
7
+ content(_: Widget[]): this;
8
+ }
@@ -1,4 +1,3 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/common";
2
- export declare const PKG_VERSION = "2.73.0";
3
- export declare const BUILD_VERSION = "2.107.0";
4
- //# sourceMappingURL=__package__.d.ts.map
2
+ export declare const PKG_VERSION = "3.2.0";
3
+ export declare const BUILD_VERSION = "3.2.0";