@hpcc-js/common 2.66.1 → 2.68.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.
Files changed (97) hide show
  1. package/LICENSE +43 -43
  2. package/README.md +59 -59
  3. package/dist/index.es6.js +6583 -6578
  4. package/dist/index.es6.js.map +1 -1
  5. package/dist/index.js +6583 -6578
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.min.js +1 -1
  8. package/dist/index.min.js.map +1 -1
  9. package/package.json +4 -4
  10. package/src/CanvasWidget.ts +31 -31
  11. package/src/Class.ts +67 -67
  12. package/src/Database.ts +856 -856
  13. package/src/Entity.ts +235 -235
  14. package/src/EntityCard.ts +66 -66
  15. package/src/EntityPin.ts +103 -103
  16. package/src/EntityRect.css +15 -15
  17. package/src/EntityRect.ts +236 -236
  18. package/src/EntityVertex.ts +86 -86
  19. package/src/FAChar.css +2 -2
  20. package/src/FAChar.ts +82 -82
  21. package/src/HTMLWidget.ts +191 -191
  22. package/src/IList.ts +4 -4
  23. package/src/IMenu.ts +5 -5
  24. package/src/Icon.css +9 -9
  25. package/src/Icon.ts +164 -164
  26. package/src/Image.ts +95 -95
  27. package/src/List.css +13 -13
  28. package/src/List.ts +99 -99
  29. package/src/Menu.css +23 -23
  30. package/src/Menu.ts +134 -138
  31. package/src/Palette.ts +341 -341
  32. package/src/Platform.ts +125 -125
  33. package/src/ProgressBar.ts +105 -105
  34. package/src/PropertyExt.ts +793 -793
  35. package/src/ResizeSurface.css +39 -39
  36. package/src/ResizeSurface.ts +221 -221
  37. package/src/SVGWidget.ts +567 -567
  38. package/src/SVGZoomWidget.css +12 -12
  39. package/src/SVGZoomWidget.ts +416 -416
  40. package/src/Shape.css +3 -3
  41. package/src/Shape.ts +186 -186
  42. package/src/Surface.css +35 -35
  43. package/src/Surface.ts +349 -350
  44. package/src/Text.css +4 -4
  45. package/src/Text.ts +131 -131
  46. package/src/TextBox.css +4 -4
  47. package/src/TextBox.ts +168 -168
  48. package/src/TitleBar.css +99 -99
  49. package/src/TitleBar.ts +401 -401
  50. package/src/Transition.ts +45 -45
  51. package/src/Utility.ts +832 -820
  52. package/src/Widget.css +8 -8
  53. package/src/Widget.ts +712 -712
  54. package/src/WidgetArray.ts +13 -13
  55. package/src/__package__.ts +2 -2
  56. package/src/index.ts +55 -55
  57. package/types/CanvasWidget.d.ts +8 -8
  58. package/types/Class.d.ts +12 -12
  59. package/types/Database.d.ts +136 -136
  60. package/types/Entity.d.ts +88 -88
  61. package/types/EntityCard.d.ts +13 -13
  62. package/types/EntityPin.d.ts +22 -22
  63. package/types/EntityRect.d.ts +45 -45
  64. package/types/EntityVertex.d.ts +30 -30
  65. package/types/FAChar.d.ts +29 -29
  66. package/types/HTMLWidget.d.ts +27 -27
  67. package/types/HTMLWidget.d.ts.map +1 -1
  68. package/types/IList.d.ts +4 -4
  69. package/types/IMenu.d.ts +5 -5
  70. package/types/Icon.d.ts +62 -62
  71. package/types/Image.d.ts +33 -33
  72. package/types/List.d.ts +15 -15
  73. package/types/Menu.d.ts +28 -28
  74. package/types/Menu.d.ts.map +1 -1
  75. package/types/Palette.d.ts +19 -19
  76. package/types/Platform.d.ts +5 -5
  77. package/types/ProgressBar.d.ts +21 -21
  78. package/types/PropertyExt.d.ts +114 -114
  79. package/types/ResizeSurface.d.ts +23 -23
  80. package/types/SVGWidget.d.ts +77 -77
  81. package/types/SVGZoomWidget.d.ts +68 -68
  82. package/types/Shape.d.ts +34 -34
  83. package/types/Surface.d.ts +69 -69
  84. package/types/Surface.d.ts.map +1 -1
  85. package/types/Text.d.ts +37 -37
  86. package/types/TextBox.d.ts +76 -76
  87. package/types/TitleBar.d.ts +117 -117
  88. package/types/Transition.d.ts +11 -11
  89. package/types/Utility.d.ts +102 -100
  90. package/types/Utility.d.ts.map +1 -1
  91. package/types/Widget.d.ts +149 -149
  92. package/types/WidgetArray.d.ts +6 -6
  93. package/types/__package__.d.ts +3 -3
  94. package/types/index.d.ts +52 -52
  95. package/types-3.4/HTMLWidget.d.ts +2 -2
  96. package/types-3.4/Utility.d.ts +4 -2
  97. package/types-3.4/__package__.d.ts +2 -2
@@ -1,23 +1,23 @@
1
- import { Entity } from "./Entity";
2
- export declare class EntityPin extends Entity {
3
- protected _element_textbox: any;
4
- constructor();
5
- enter(domNode: any, element: any): void;
6
- update(domNode: any, element: any): void;
7
- calcHeight(): any;
8
- calcBackgroundBBox(is_hovering: any, title_bbox: any, icon_bbox: any, desc_bbox: any, _anno_h: any): {
9
- width: number;
10
- height: any;
11
- };
12
- }
13
- export interface EntityPin {
14
- titleOnlyShowOnHover(): boolean;
15
- titleOnlyShowOnHover(_: boolean): this;
16
- iconOnlyShowOnHover(): boolean;
17
- iconOnlyShowOnHover(_: boolean): this;
18
- descriptionOnlyShowOnHover(): boolean;
19
- descriptionOnlyShowOnHover(_: boolean): this;
20
- annotationOnlyShowOnHover(): boolean;
21
- annotationOnlyShowOnHover(_: boolean): this;
22
- }
1
+ import { Entity } from "./Entity";
2
+ export declare class EntityPin extends Entity {
3
+ protected _element_textbox: any;
4
+ constructor();
5
+ enter(domNode: any, element: any): void;
6
+ update(domNode: any, element: any): void;
7
+ calcHeight(): any;
8
+ calcBackgroundBBox(is_hovering: any, title_bbox: any, icon_bbox: any, desc_bbox: any, _anno_h: any): {
9
+ width: number;
10
+ height: any;
11
+ };
12
+ }
13
+ export interface EntityPin {
14
+ titleOnlyShowOnHover(): boolean;
15
+ titleOnlyShowOnHover(_: boolean): this;
16
+ iconOnlyShowOnHover(): boolean;
17
+ iconOnlyShowOnHover(_: boolean): this;
18
+ descriptionOnlyShowOnHover(): boolean;
19
+ descriptionOnlyShowOnHover(_: boolean): this;
20
+ annotationOnlyShowOnHover(): boolean;
21
+ annotationOnlyShowOnHover(_: boolean): this;
22
+ }
23
23
  //# sourceMappingURL=EntityPin.d.ts.map
@@ -1,46 +1,46 @@
1
- import { Entity } from "./Entity";
2
- import { HTMLWidget } from "./HTMLWidget";
3
- import { publish } from "./PropertyExt";
4
- import { InputField } from "./Widget";
5
- import "../src/EntityRect.css";
6
- export declare class EntityRect extends Entity {
7
- protected _element_textbox: any;
8
- constructor();
9
- enter(domNode: any, element: any): void;
10
- update(domNode: any, element: any): void;
11
- render(callback?: (w: EntityRect) => void): this;
12
- }
13
- export interface EntityRect {
14
- fixedWidth(): number;
15
- fixedWidth(_: number): this;
16
- fixedHeight(): number;
17
- fixedHeight(_: number): this;
18
- }
19
- export declare class EntityRectList extends HTMLWidget {
20
- 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
- private _enityRectLocal;
37
- constructor();
38
- entityRectData(): any;
39
- enter(domNode: any, element: any): void;
40
- update(domNode: any, element: any): void;
41
- exit(domNode: any, element: any): void;
42
- click(row: any, column: any, selected: any): void;
43
- dblclick(row: any, column: any, selected: any): void;
44
- _selection: any;
45
- }
1
+ import { Entity } from "./Entity";
2
+ import { HTMLWidget } from "./HTMLWidget";
3
+ import { publish } from "./PropertyExt";
4
+ import { InputField } from "./Widget";
5
+ import "../src/EntityRect.css";
6
+ export declare class EntityRect extends Entity {
7
+ protected _element_textbox: any;
8
+ constructor();
9
+ enter(domNode: any, element: any): void;
10
+ update(domNode: any, element: any): void;
11
+ render(callback?: (w: EntityRect) => void): this;
12
+ }
13
+ export interface EntityRect {
14
+ fixedWidth(): number;
15
+ fixedWidth(_: number): this;
16
+ fixedHeight(): number;
17
+ fixedHeight(_: number): this;
18
+ }
19
+ export declare class EntityRectList extends HTMLWidget {
20
+ 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
+ private _enityRectLocal;
37
+ constructor();
38
+ entityRectData(): any;
39
+ enter(domNode: any, element: any): void;
40
+ update(domNode: any, element: any): void;
41
+ exit(domNode: any, element: any): void;
42
+ click(row: any, column: any, selected: any): void;
43
+ dblclick(row: any, column: any, selected: any): void;
44
+ _selection: any;
45
+ }
46
46
  //# sourceMappingURL=EntityRect.d.ts.map
@@ -1,31 +1,31 @@
1
- import { Entity } from "./Entity";
2
- import { TextBox } from "./TextBox";
3
- export declare class EntityVertex extends Entity {
4
- protected _textbox_widget: TextBox;
5
- protected _element_textbox: any;
6
- constructor();
7
- enter(domNode: any, element: any): void;
8
- update(): void;
9
- exit(domNode: any, element: any): void;
10
- }
11
- export interface EntityVertex {
12
- iconAnchor(): string;
13
- iconAnchor(_: string): this;
14
- iconColorFill(): string;
15
- iconColorFill(_: string): this;
16
- iconColorStroke(): string;
17
- iconColorStroke(_: string): this;
18
- shape_colorStroke(): string;
19
- shape_colorStroke(_: string): this;
20
- shape_colorFill(): string;
21
- shape_colorFill(_: string): this;
22
- text_colorFill(): string;
23
- text_colorFill(_: string): this;
24
- textboxColorStroke(): string;
25
- textboxColorStroke(_: string): this;
26
- textboxColorFill(): string;
27
- textboxColorFill(_: string): this;
28
- textboxFontColor(): string;
29
- textboxFontColor(_: string): this;
30
- }
1
+ import { Entity } from "./Entity";
2
+ import { TextBox } from "./TextBox";
3
+ export declare class EntityVertex extends Entity {
4
+ protected _textbox_widget: TextBox;
5
+ protected _element_textbox: any;
6
+ constructor();
7
+ enter(domNode: any, element: any): void;
8
+ update(): void;
9
+ exit(domNode: any, element: any): void;
10
+ }
11
+ export interface EntityVertex {
12
+ iconAnchor(): string;
13
+ iconAnchor(_: string): this;
14
+ iconColorFill(): string;
15
+ iconColorFill(_: string): this;
16
+ iconColorStroke(): string;
17
+ iconColorStroke(_: string): this;
18
+ shape_colorStroke(): string;
19
+ shape_colorStroke(_: string): this;
20
+ shape_colorFill(): string;
21
+ shape_colorFill(_: string): this;
22
+ text_colorFill(): string;
23
+ text_colorFill(_: string): this;
24
+ textboxColorStroke(): string;
25
+ textboxColorStroke(_: string): this;
26
+ textboxColorFill(): string;
27
+ textboxColorFill(_: string): this;
28
+ textboxFontColor(): string;
29
+ textboxFontColor(_: string): this;
30
+ }
31
31
  //# sourceMappingURL=EntityVertex.d.ts.map
package/types/FAChar.d.ts CHANGED
@@ -1,30 +1,30 @@
1
- import { SVGWidget } from "./SVGWidget";
2
- import "../src/FAChar.css";
3
- export declare class FAChar extends SVGWidget {
4
- protected _text: any;
5
- constructor();
6
- enter(domNode: any, element: any): void;
7
- calcChar(): string;
8
- update(domNode: any, element: any): void;
9
- exit(domNode: any, element: any): void;
10
- click(): void;
11
- dblclick(): void;
12
- char: {
13
- (): string;
14
- (_: string): FAChar;
15
- };
16
- fontSize: {
17
- (): number;
18
- (_: number): FAChar;
19
- };
20
- text_colorFill: {
21
- (): string;
22
- (_: string): FAChar;
23
- };
24
- text_fontFamily: {
25
- (): string;
26
- (_: string): FAChar;
27
- };
28
- }
29
- export declare const fontAwsesomeStyle: string;
1
+ import { SVGWidget } from "./SVGWidget";
2
+ import "../src/FAChar.css";
3
+ export declare class FAChar extends SVGWidget {
4
+ protected _text: any;
5
+ constructor();
6
+ enter(domNode: any, element: any): void;
7
+ calcChar(): string;
8
+ update(domNode: any, element: any): void;
9
+ exit(domNode: any, element: any): void;
10
+ click(): void;
11
+ dblclick(): void;
12
+ char: {
13
+ (): string;
14
+ (_: string): FAChar;
15
+ };
16
+ fontSize: {
17
+ (): number;
18
+ (_: number): FAChar;
19
+ };
20
+ text_colorFill: {
21
+ (): string;
22
+ (_: string): FAChar;
23
+ };
24
+ text_fontFamily: {
25
+ (): string;
26
+ (_: string): FAChar;
27
+ };
28
+ }
29
+ export declare const fontAwsesomeStyle: string;
30
30
  //# sourceMappingURL=FAChar.d.ts.map
@@ -1,28 +1,28 @@
1
- import { Widget } from "./Widget";
2
- export declare class HTMLWidget extends Widget {
3
- private observer;
4
- protected _drawStartPos: "origin" | "center";
5
- protected _boundingBox: any;
6
- constructor();
7
- calcFrameWidth(element: any): number;
8
- calcWidth(element: any): number;
9
- calcFrameHeight(element: any): number;
10
- calcHeight(element: any): number;
11
- hasHScroll(element: any): boolean;
12
- hasVScroll(element: any): boolean;
13
- clientWidth(): number;
14
- clientHeight(): number;
15
- getBBox(refresh?: boolean, round?: boolean): {
16
- x: number;
17
- y: number;
18
- width: number;
19
- height: number;
20
- };
21
- reposition(pos?: any): this;
22
- resize(size?: any): this;
23
- target(): null | HTMLElement | SVGElement;
24
- target(_: null | string | HTMLElement | SVGElement): this;
25
- postUpdate(domNode: any, element: any): void;
26
- exit(domNode?: any, element?: any): void;
27
- }
1
+ import { Widget } from "./Widget";
2
+ export declare class HTMLWidget extends Widget {
3
+ private observer;
4
+ protected _drawStartPos: "origin" | "center";
5
+ protected _boundingBox: any;
6
+ constructor();
7
+ calcFrameWidth(element: any): number;
8
+ calcWidth(element: any): number;
9
+ calcFrameHeight(element: any): number;
10
+ calcHeight(element: any): number;
11
+ hasHScroll(element?: any): boolean;
12
+ hasVScroll(element?: any): boolean;
13
+ clientWidth(): number;
14
+ clientHeight(): number;
15
+ getBBox(refresh?: boolean, round?: boolean): {
16
+ x: number;
17
+ y: number;
18
+ width: number;
19
+ height: number;
20
+ };
21
+ reposition(pos?: any): this;
22
+ resize(size?: any): this;
23
+ target(): null | HTMLElement | SVGElement;
24
+ target(_: null | string | HTMLElement | SVGElement): this;
25
+ postUpdate(domNode: any, element: any): void;
26
+ exit(domNode?: any, element?: any): void;
27
+ }
28
28
  //# sourceMappingURL=HTMLWidget.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HTMLWidget.d.ts","sourceRoot":"","sources":["../src/HTMLWidget.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,qBAAa,UAAW,SAAQ,MAAM;IAElC,OAAO,CAAC,QAAQ,CAAC;IACjB,SAAS,CAAC,aAAa,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC7C,SAAS,CAAC,YAAY,MAAC;;IAUvB,cAAc,CAAC,OAAO,KAAA;IAWtB,SAAS,CAAC,OAAO,KAAA;IAIjB,eAAe,CAAC,OAAO,KAAA;IAWvB,UAAU,CAAC,OAAO,KAAA;IAIlB,UAAU,CAAC,OAAO,KAAA;IAKlB,UAAU,CAAC,OAAO,KAAA;IAKlB,WAAW;IAIX,YAAY;IAIZ,OAAO,CAAC,OAAO,UAAQ,EAAE,KAAK,UAAQ;;;;;;IA6BtC,UAAU,CAAC,GAAG,CAAC,KAAA;IAWf,MAAM,CAAC,IAAI,CAAC,KAAA;IAYZ,MAAM,IAAI,IAAI,GAAG,WAAW,GAAG,UAAU;IACzC,MAAM,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI;IA0CzD,UAAU,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAmB3B,IAAI,CAAC,OAAO,CAAC,KAAA,EAAE,OAAO,CAAC,KAAA;CAU1B"}
1
+ {"version":3,"file":"HTMLWidget.d.ts","sourceRoot":"","sources":["../src/HTMLWidget.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,qBAAa,UAAW,SAAQ,MAAM;IAElC,OAAO,CAAC,QAAQ,CAAC;IACjB,SAAS,CAAC,aAAa,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC7C,SAAS,CAAC,YAAY,MAAC;;IAUvB,cAAc,CAAC,OAAO,KAAA;IAWtB,SAAS,CAAC,OAAO,KAAA;IAIjB,eAAe,CAAC,OAAO,KAAA;IAWvB,UAAU,CAAC,OAAO,KAAA;IAIlB,UAAU,CAAC,OAAO,CAAC,KAAA;IAKnB,UAAU,CAAC,OAAO,CAAC,KAAA;IAKnB,WAAW;IAIX,YAAY;IAIZ,OAAO,CAAC,OAAO,UAAQ,EAAE,KAAK,UAAQ;;;;;;IA6BtC,UAAU,CAAC,GAAG,CAAC,KAAA;IAWf,MAAM,CAAC,IAAI,CAAC,KAAA;IAYZ,MAAM,IAAI,IAAI,GAAG,WAAW,GAAG,UAAU;IACzC,MAAM,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI;IA0CzD,UAAU,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAmB3B,IAAI,CAAC,OAAO,CAAC,KAAA,EAAE,OAAO,CAAC,KAAA;CAU1B"}
package/types/IList.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export interface IList {
2
- click(d: any): any;
3
- dblclick(d: any): any;
4
- }
1
+ export interface IList {
2
+ click(d: any): any;
3
+ dblclick(d: any): any;
4
+ }
5
5
  //# sourceMappingURL=IList.d.ts.map
package/types/IMenu.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export interface IMenu {
2
- click(d: any): any;
3
- preShowMenu(d: any): any;
4
- postHideMenu(d: any): any;
5
- }
1
+ export interface IMenu {
2
+ click(d: any): any;
3
+ preShowMenu(d: any): any;
4
+ postHideMenu(d: any): any;
5
+ }
6
6
  //# sourceMappingURL=IMenu.d.ts.map
package/types/Icon.d.ts CHANGED
@@ -1,63 +1,63 @@
1
- import { SVGWidget } from "./SVGWidget";
2
- import "../src/Icon.css";
3
- export declare class Icon extends SVGWidget {
4
- protected _shapeWidget: any;
5
- protected _faChar: any;
6
- protected _defs: any;
7
- protected _root: any;
8
- protected _tooltipElement: any;
9
- constructor();
10
- getBBox(refresh?: boolean, round?: boolean): {
11
- x: number;
12
- y: number;
13
- width: number;
14
- height: number;
15
- };
16
- contains(point: any): any;
17
- intersection(pointA: any, pointB: any): any;
18
- enter(domNode: any, element: any): void;
19
- click(_domNode: any): void;
20
- dblclick(_domNode: any): void;
21
- _prevHash: any;
22
- update(domNode: any, element: any): void;
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
- }
1
+ import { SVGWidget } from "./SVGWidget";
2
+ import "../src/Icon.css";
3
+ export declare class Icon extends SVGWidget {
4
+ protected _shapeWidget: any;
5
+ protected _faChar: any;
6
+ protected _defs: any;
7
+ protected _root: any;
8
+ protected _tooltipElement: any;
9
+ constructor();
10
+ getBBox(refresh?: boolean, round?: boolean): {
11
+ x: number;
12
+ y: number;
13
+ width: number;
14
+ height: number;
15
+ };
16
+ contains(point: any): any;
17
+ intersection(pointA: any, pointB: any): any;
18
+ enter(domNode: any, element: any): void;
19
+ click(_domNode: any): void;
20
+ dblclick(_domNode: any): void;
21
+ _prevHash: any;
22
+ update(domNode: any, element: any): void;
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
+ }
63
63
  //# sourceMappingURL=Icon.d.ts.map
package/types/Image.d.ts CHANGED
@@ -1,34 +1,34 @@
1
- import { HTMLWidget } from "./HTMLWidget";
2
- export declare class Image extends HTMLWidget {
3
- private _imgElement;
4
- constructor();
5
- enter(domNode: any, element: any): void;
6
- update(domNode: any, element: any): void;
7
- styleImageElement(): void;
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
- }
1
+ import { HTMLWidget } from "./HTMLWidget";
2
+ export declare class Image extends HTMLWidget {
3
+ private _imgElement;
4
+ constructor();
5
+ enter(domNode: any, element: any): void;
6
+ update(domNode: any, element: any): void;
7
+ styleImageElement(): void;
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
+ }
34
34
  //# sourceMappingURL=Image.d.ts.map
package/types/List.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import { IList } from "./IList";
2
- import { SVGWidget } from "./SVGWidget";
3
- import "../src/List.css";
4
- export declare class List extends SVGWidget implements IList {
5
- protected _listWidgets: any;
6
- constructor();
7
- update(domNode: any, element: any): void;
8
- exit(domNode: any, element: any): void;
9
- click(d: any): void;
10
- dblclick(d: any): void;
11
- anchor: {
12
- (): string;
13
- (_: string): List;
14
- };
15
- }
1
+ import { IList } from "./IList";
2
+ import { SVGWidget } from "./SVGWidget";
3
+ import "../src/List.css";
4
+ export declare class List extends SVGWidget implements IList {
5
+ protected _listWidgets: any;
6
+ constructor();
7
+ update(domNode: any, element: any): void;
8
+ exit(domNode: any, element: any): void;
9
+ click(d: any): void;
10
+ dblclick(d: any): void;
11
+ anchor: {
12
+ (): string;
13
+ (_: string): List;
14
+ };
15
+ }
16
16
  //# sourceMappingURL=List.d.ts.map
package/types/Menu.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- import { Icon } from "./Icon";
2
- import { IMenu } from "./IMenu";
3
- import { List } from "./List";
4
- import { SVGWidget } from "./SVGWidget";
5
- import "../src/Menu.css";
6
- export declare class Menu extends SVGWidget implements IMenu {
7
- protected _icon: Icon;
8
- protected _list: List;
9
- protected _open: any;
10
- constructor();
11
- toggleMenu(): void;
12
- showMenu(): void;
13
- hideMenu(): void;
14
- enter(domNode: any, element: any): void;
15
- update(domNode: any, element: any): void;
16
- exit(domNode: any, element: any): void;
17
- click(d: any): void;
18
- preShowMenu(): void;
19
- postHideMenu(): void;
20
- faChar: {
21
- (): string;
22
- (_: string): Menu;
23
- };
24
- paddingPercent: {
25
- (): number;
26
- (_: number): Menu;
27
- };
28
- }
1
+ import { Icon } from "./Icon";
2
+ import { IMenu } from "./IMenu";
3
+ import { List } from "./List";
4
+ import { SVGWidget } from "./SVGWidget";
5
+ import "../src/Menu.css";
6
+ export declare class Menu extends SVGWidget implements IMenu {
7
+ protected _icon: Icon;
8
+ protected _list: List;
9
+ protected _open: any;
10
+ constructor();
11
+ toggleMenu(): void;
12
+ showMenu(): void;
13
+ hideMenu(): void;
14
+ enter(domNode: any, element: any): void;
15
+ update(domNode: any, element: any): void;
16
+ exit(domNode: any, element: any): void;
17
+ click(d: any): void;
18
+ preShowMenu(): void;
19
+ postHideMenu(): void;
20
+ faChar: {
21
+ (): string;
22
+ (_: string): Menu;
23
+ };
24
+ paddingPercent: {
25
+ (): number;
26
+ (_: number): Menu;
27
+ };
28
+ }
29
29
  //# sourceMappingURL=Menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../src/Menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,iBAAiB,CAAC;AAEzB,qBAAa,IAAK,SAAQ,SAAU,YAAW,KAAK;IAChD,SAAS,CAAC,KAAK,OAA6D;IAC5E,SAAS,CAAC,KAAK,OAAc;IAC7B,SAAS,CAAC,KAAK,MAAC;;IAchB,UAAU;IAQV,QAAQ;IA4BR,QAAQ;IAYR,KAAK,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAsBtB,MAAM,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAavB,IAAI,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAarB,KAAK,CAAC,CAAC,KAAA;IAGP,WAAW;IAGX,YAAY;IAIZ,MAAM,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAAE,CAAC;IAC3C,cAAc,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAAE,CAAC;CACtD"}
1
+ {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../src/Menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,iBAAiB,CAAC;AAEzB,qBAAa,IAAK,SAAQ,SAAU,YAAW,KAAK;IAChD,SAAS,CAAC,KAAK,OAA6D;IAC5E,SAAS,CAAC,KAAK,OAAc;IAC7B,SAAS,CAAC,KAAK,MAAC;;IAchB,UAAU;IAQV,QAAQ;IA2BR,QAAQ;IAYR,KAAK,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAsBtB,MAAM,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAavB,IAAI,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAarB,KAAK,CAAC,CAAC,KAAA;IAEP,WAAW;IAEX,YAAY;IAGZ,MAAM,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAAE,CAAC;IAC3C,cAAc,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAAE,CAAC;CACtD"}