@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.
Files changed (142) hide show
  1. package/dist/index.css +2 -0
  2. package/dist/index.css.map +7 -0
  3. package/dist/index.js +30 -15317
  4. package/dist/index.js.map +7 -1
  5. package/package.json +28 -34
  6. package/src/CanvasWidget.ts +1 -1
  7. package/src/Class.ts +5 -0
  8. package/src/Database.ts +10 -6
  9. package/src/Entity.ts +5 -5
  10. package/src/EntityCard.ts +1 -1
  11. package/src/EntityPin.ts +1 -1
  12. package/src/EntityRect.ts +54 -36
  13. package/src/EntityVertex.ts +2 -2
  14. package/src/FAChar.ts +14 -7
  15. package/src/HTMLWidget.ts +1 -1
  16. package/src/Icon.ts +27 -15
  17. package/src/Image.ts +16 -7
  18. package/src/List.ts +9 -4
  19. package/src/Menu.ts +11 -6
  20. package/src/ProgressBar.ts +28 -18
  21. package/src/PropertyExt.ts +1 -24
  22. package/src/ResizeSurface.ts +6 -2
  23. package/src/SVGWidget.ts +5 -7
  24. package/src/SVGZoomWidget.ts +3 -3
  25. package/src/Shape.ts +1 -1
  26. package/src/Surface.ts +32 -17
  27. package/src/Text.ts +1 -1
  28. package/src/TextBox.ts +34 -19
  29. package/src/TitleBar.ts +3 -3
  30. package/src/Widget.ts +7 -8
  31. package/src/WidgetArray.ts +7 -5
  32. package/src/__package__.ts +2 -2
  33. package/src/index.ts +32 -32
  34. package/types/CanvasWidget.d.ts +1 -2
  35. package/types/Class.d.ts +2 -1
  36. package/types/Database.d.ts +9 -18
  37. package/types/Entity.d.ts +5 -6
  38. package/types/EntityCard.d.ts +1 -2
  39. package/types/EntityPin.d.ts +1 -2
  40. package/types/EntityRect.d.ts +35 -20
  41. package/types/EntityVertex.d.ts +2 -3
  42. package/types/FAChar.d.ts +11 -18
  43. package/types/HTMLWidget.d.ts +1 -2
  44. package/types/IList.d.ts +0 -1
  45. package/types/IMenu.d.ts +0 -1
  46. package/types/Icon.d.ts +23 -40
  47. package/types/Image.d.ts +15 -26
  48. package/types/List.d.ts +6 -7
  49. package/types/Menu.d.ts +10 -13
  50. package/types/Palette.d.ts +0 -1
  51. package/types/Platform.d.ts +0 -1
  52. package/types/ProgressBar.d.ts +19 -10
  53. package/types/PropertyExt.d.ts +1 -13
  54. package/types/ResizeSurface.d.ts +5 -6
  55. package/types/SVGWidget.d.ts +1 -3
  56. package/types/SVGZoomWidget.d.ts +2 -3
  57. package/types/Shape.d.ts +1 -2
  58. package/types/Surface.d.ts +27 -50
  59. package/types/Text.d.ts +1 -2
  60. package/types/TextBox.d.ts +32 -57
  61. package/types/TitleBar.d.ts +2 -3
  62. package/types/Transition.d.ts +0 -1
  63. package/types/Utility.d.ts +0 -1
  64. package/types/Widget.d.ts +4 -5
  65. package/types/WidgetArray.d.ts +5 -4
  66. package/types/__package__.d.ts +2 -3
  67. package/types/index.d.ts +32 -33
  68. package/dist/index.es6.js +0 -15071
  69. package/dist/index.es6.js.map +0 -1
  70. package/dist/index.min.js +0 -2
  71. package/dist/index.min.js.map +0 -1
  72. package/font-awesome/css/font-awesome.css +0 -2337
  73. package/font-awesome/css/font-awesome.css.map +0 -7
  74. package/font-awesome/css/font-awesome.min.css +0 -4
  75. package/types/CanvasWidget.d.ts.map +0 -1
  76. package/types/Class.d.ts.map +0 -1
  77. package/types/Database.d.ts.map +0 -1
  78. package/types/Entity.d.ts.map +0 -1
  79. package/types/EntityCard.d.ts.map +0 -1
  80. package/types/EntityPin.d.ts.map +0 -1
  81. package/types/EntityRect.d.ts.map +0 -1
  82. package/types/EntityVertex.d.ts.map +0 -1
  83. package/types/FAChar.d.ts.map +0 -1
  84. package/types/HTMLWidget.d.ts.map +0 -1
  85. package/types/IList.d.ts.map +0 -1
  86. package/types/IMenu.d.ts.map +0 -1
  87. package/types/Icon.d.ts.map +0 -1
  88. package/types/Image.d.ts.map +0 -1
  89. package/types/List.d.ts.map +0 -1
  90. package/types/Menu.d.ts.map +0 -1
  91. package/types/Palette.d.ts.map +0 -1
  92. package/types/Platform.d.ts.map +0 -1
  93. package/types/ProgressBar.d.ts.map +0 -1
  94. package/types/PropertyExt.d.ts.map +0 -1
  95. package/types/ResizeSurface.d.ts.map +0 -1
  96. package/types/SVGWidget.d.ts.map +0 -1
  97. package/types/SVGZoomWidget.d.ts.map +0 -1
  98. package/types/Shape.d.ts.map +0 -1
  99. package/types/Surface.d.ts.map +0 -1
  100. package/types/Text.d.ts.map +0 -1
  101. package/types/TextBox.d.ts.map +0 -1
  102. package/types/TitleBar.d.ts.map +0 -1
  103. package/types/Transition.d.ts.map +0 -1
  104. package/types/Utility.d.ts.map +0 -1
  105. package/types/Widget.d.ts.map +0 -1
  106. package/types/WidgetArray.d.ts.map +0 -1
  107. package/types/__package__.d.ts.map +0 -1
  108. package/types/index.d.ts.map +0 -1
  109. package/types-3.4/CanvasWidget.d.ts +0 -9
  110. package/types-3.4/Class.d.ts +0 -13
  111. package/types-3.4/Database.d.ts +0 -137
  112. package/types-3.4/Entity.d.ts +0 -89
  113. package/types-3.4/EntityCard.d.ts +0 -14
  114. package/types-3.4/EntityPin.d.ts +0 -23
  115. package/types-3.4/EntityRect.d.ts +0 -46
  116. package/types-3.4/EntityVertex.d.ts +0 -31
  117. package/types-3.4/FAChar.d.ts +0 -30
  118. package/types-3.4/HTMLWidget.d.ts +0 -28
  119. package/types-3.4/IList.d.ts +0 -5
  120. package/types-3.4/IMenu.d.ts +0 -6
  121. package/types-3.4/Icon.d.ts +0 -63
  122. package/types-3.4/Image.d.ts +0 -34
  123. package/types-3.4/List.d.ts +0 -16
  124. package/types-3.4/Menu.d.ts +0 -29
  125. package/types-3.4/Palette.d.ts +0 -20
  126. package/types-3.4/Platform.d.ts +0 -6
  127. package/types-3.4/ProgressBar.d.ts +0 -22
  128. package/types-3.4/PropertyExt.d.ts +0 -115
  129. package/types-3.4/ResizeSurface.d.ts +0 -24
  130. package/types-3.4/SVGWidget.d.ts +0 -78
  131. package/types-3.4/SVGZoomWidget.d.ts +0 -74
  132. package/types-3.4/Shape.d.ts +0 -35
  133. package/types-3.4/Surface.d.ts +0 -70
  134. package/types-3.4/Text.d.ts +0 -38
  135. package/types-3.4/TextBox.d.ts +0 -77
  136. package/types-3.4/TitleBar.d.ts +0 -118
  137. package/types-3.4/Transition.d.ts +0 -12
  138. package/types-3.4/Utility.d.ts +0 -103
  139. package/types-3.4/Widget.d.ts +0 -154
  140. package/types-3.4/WidgetArray.d.ts +0 -7
  141. package/types-3.4/__package__.d.ts +0 -4
  142. package/types-3.4/index.d.ts +0 -53
@@ -1,89 +0,0 @@
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
- //# sourceMappingURL=Entity.d.ts.map
@@ -1,14 +0,0 @@
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
- //# sourceMappingURL=EntityCard.d.ts.map
@@ -1,23 +0,0 @@
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
- //# sourceMappingURL=EntityPin.d.ts.map
@@ -1,46 +0,0 @@
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
- //# sourceMappingURL=EntityRect.d.ts.map
@@ -1,31 +0,0 @@
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
- //# sourceMappingURL=EntityVertex.d.ts.map