jpf 4.2.18 → 5.0.6
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/controls/codeMirror/Editor/Editor.d.ts +19 -0
- package/dist/controls/codeMirror/Editor/Editor.js +151 -0
- package/dist/controls/codeMirror/Editor/Editor.js.map +1 -0
- package/dist/controls/codeMirror/index.d.ts +1 -2
- package/dist/controls/codeMirror/index.js +1 -2
- package/dist/controls/codeMirror/index.js.map +1 -1
- package/dist/controls/custom/FileSelector/FileSelector.d.ts +18 -18
- package/dist/controls/custom/FileSelector/FileSelector.js +47 -46
- package/dist/controls/custom/FileSelector/FileSelector.js.map +1 -1
- package/dist/controls/custom/LabeledControl/LabeledControl.d.ts +15 -15
- package/dist/controls/custom/LabeledControl/LabeledControl.js +31 -36
- package/dist/controls/custom/LabeledControl/LabeledControl.js.map +1 -1
- package/dist/controls/custom/ListItem/ListItem.d.ts +37 -36
- package/dist/controls/custom/ListItem/ListItem.js +62 -62
- package/dist/controls/custom/ListItem/ListItem.js.map +1 -1
- package/dist/controls/custom/index.d.ts +3 -3
- package/dist/controls/custom/index.js +3 -3
- package/dist/controls/html/Button/Button.d.ts +16 -16
- package/dist/controls/html/Button/Button.js +47 -50
- package/dist/controls/html/Button/Button.js.map +1 -1
- package/dist/controls/html/Div/Div.d.ts +14 -14
- package/dist/controls/html/Div/Div.js +23 -24
- package/dist/controls/html/Div/Div.js.map +1 -1
- package/dist/controls/html/Image/Image.d.ts +16 -16
- package/dist/controls/html/Image/Image.js +29 -28
- package/dist/controls/html/Image/Image.js.map +1 -1
- package/dist/controls/html/Input/Input.d.ts +34 -34
- package/dist/controls/html/Input/Input.js +166 -170
- package/dist/controls/html/Input/Input.js.map +1 -1
- package/dist/controls/html/Select/Select.d.ts +30 -30
- package/dist/controls/html/Select/Select.js +109 -110
- package/dist/controls/html/Select/Select.js.map +1 -1
- package/dist/controls/html/Span/Span.d.ts +11 -11
- package/dist/controls/html/Span/Span.js +22 -22
- package/dist/controls/html/Span/Span.js.map +1 -1
- package/dist/controls/html/index.d.ts +6 -6
- package/dist/controls/html/index.js +6 -6
- package/dist/controls/index.d.ts +14 -14
- package/dist/controls/index.js +14 -14
- package/dist/controls/index.js.map +1 -1
- package/dist/controls/{jsonViewAwesome → jsonViewerAwesome}/index.d.ts +1 -1
- package/dist/controls/{jsonViewAwesome → jsonViewerAwesome}/index.js +1 -1
- package/dist/controls/jsonViewerAwesome/index.js.map +1 -0
- package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.d.ts +28 -0
- package/dist/controls/{jsonViewAwesome → jsonViewerAwesome}/jsonFormatter/JsonFormatter.js +65 -65
- package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.js.map +1 -0
- package/dist/controls/kendo/Chart/Chart.d.ts +19 -19
- package/dist/controls/kendo/Chart/Chart.js +62 -62
- package/dist/controls/kendo/Chart/Chart.js.map +1 -1
- package/dist/controls/kendo/Culture/Culture.d.ts +1 -1
- package/dist/controls/kendo/Culture/Culture.js +25 -25
- package/dist/controls/kendo/Culture/Culture.js.map +1 -1
- package/dist/controls/kendo/DataSource/DataSource.d.ts +4 -4
- package/dist/controls/kendo/DataSource/DataSource.js +1 -1
- package/dist/controls/kendo/Editor/Editor.d.ts +14 -19
- package/dist/controls/kendo/Editor/Editor.js +94 -104
- package/dist/controls/kendo/Editor/Editor.js.map +1 -1
- package/dist/controls/kendo/Grid/Grid.d.ts +54 -54
- package/dist/controls/kendo/Grid/Grid.js +201 -218
- package/dist/controls/kendo/Grid/Grid.js.map +1 -1
- package/dist/controls/kendo/Menu/Menu.d.ts +15 -15
- package/dist/controls/kendo/Menu/Menu.js +90 -90
- package/dist/controls/kendo/Menu/Menu.js.map +1 -1
- package/dist/controls/kendo/ObservableObject/ObservableObject.d.ts +0 -5
- package/dist/controls/kendo/ObservableObject/ObservableObject.js +0 -34
- package/dist/controls/kendo/ObservableObject/ObservableObject.js.map +1 -1
- package/dist/controls/kendo/Treeview/Treeview.d.ts +17 -0
- package/dist/controls/kendo/{Tree/Tree.js → Treeview/Treeview.js} +107 -107
- package/dist/controls/kendo/Treeview/Treeview.js.map +1 -0
- package/dist/controls/kendo/Window/Window.d.ts +14 -0
- package/dist/controls/kendo/{Dialog/Dialog.js → Window/Window.js} +49 -49
- package/dist/controls/kendo/Window/Window.js.map +1 -0
- package/dist/controls/kendo/index.d.ts +8 -9
- package/dist/controls/kendo/index.js +8 -9
- package/dist/controls/kendo/index.js.map +1 -1
- package/dist/controls/leaflet/LabelControl/LabelControl.d.ts +12 -12
- package/dist/controls/leaflet/LabelControl/LabelControl.js +33 -33
- package/dist/controls/leaflet/LabelControl/LabelControl.js.map +1 -1
- package/dist/controls/leaflet/Map/Map.d.ts +45 -45
- package/dist/controls/leaflet/Map/Map.js +116 -115
- package/dist/controls/leaflet/Map/Map.js.map +1 -1
- package/dist/controls/leaflet/OpenStreetMapTileLayer/OpenStreetMapTileLayer.d.ts +8 -8
- package/dist/controls/leaflet/OpenStreetMapTileLayer/OpenStreetMapTileLayer.js +13 -13
- package/dist/controls/leaflet/OpenStreetMapTileLayer/OpenStreetMapTileLayer.js.map +1 -1
- package/dist/controls/leaflet/PointerEvent/PointerEvent.d.ts +2 -2
- package/dist/controls/leaflet/PointerEvent/PointerEvent.js +7 -7
- package/dist/controls/leaflet/PointerEvent/PointerEvent.js.map +1 -1
- package/dist/controls/leaflet/index.d.ts +4 -4
- package/dist/controls/leaflet/index.js +4 -4
- package/dist/controls/svg/Circle/Circle.d.ts +12 -12
- package/dist/controls/svg/Circle/Circle.js +20 -20
- package/dist/controls/svg/Circle/Circle.js.map +1 -1
- package/dist/controls/svg/Ellipse/Ellipse.d.ts +13 -13
- package/dist/controls/svg/Ellipse/Ellipse.js +21 -21
- package/dist/controls/svg/Ellipse/Ellipse.js.map +1 -1
- package/dist/controls/svg/ForeignObject/ForeignObject.d.ts +15 -14
- package/dist/controls/svg/ForeignObject/ForeignObject.js +21 -22
- package/dist/controls/svg/ForeignObject/ForeignObject.js.map +1 -1
- package/dist/controls/svg/Group/Group.d.ts +15 -14
- package/dist/controls/svg/Group/Group.js +21 -22
- package/dist/controls/svg/Group/Group.js.map +1 -1
- package/dist/controls/svg/Line/Line.d.ts +13 -13
- package/dist/controls/svg/Line/Line.js +21 -21
- package/dist/controls/svg/Line/Line.js.map +1 -1
- package/dist/controls/svg/Pattern/Pattern.d.ts +22 -22
- package/dist/controls/svg/Pattern/Pattern.js +22 -23
- package/dist/controls/svg/Pattern/Pattern.js.map +1 -1
- package/dist/controls/svg/Polygon/Polygon.d.ts +11 -11
- package/dist/controls/svg/Polygon/Polygon.js +20 -20
- package/dist/controls/svg/Polygon/Polygon.js.map +1 -1
- package/dist/controls/svg/Polyline/Polyline.d.ts +11 -11
- package/dist/controls/svg/Polyline/Polyline.js +19 -19
- package/dist/controls/svg/Polyline/Polyline.js.map +1 -1
- package/dist/controls/svg/Rectangle/Rectangle.d.ts +13 -13
- package/dist/controls/svg/Rectangle/Rectangle.js +21 -21
- package/dist/controls/svg/Rectangle/Rectangle.js.map +1 -1
- package/dist/controls/svg/Svg/Svg.d.ts +17 -17
- package/dist/controls/svg/Svg/Svg.js +23 -24
- package/dist/controls/svg/Svg/Svg.js.map +1 -1
- package/dist/controls/svg/Text/Text.d.ts +14 -14
- package/dist/controls/svg/Text/Text.js +22 -22
- package/dist/controls/svg/Text/Text.js.map +1 -1
- package/dist/controls/svg/Title/Title.d.ts +10 -10
- package/dist/controls/svg/Title/Title.js +16 -16
- package/dist/controls/svg/Title/Title.js.map +1 -1
- package/dist/controls/svg/index.d.ts +13 -13
- package/dist/controls/svg/index.js +13 -13
- package/dist/controls/svg/svg.d.ts +6 -6
- package/dist/controls/svg/svg.js +12 -12
- package/dist/controls/svg/svg.js.map +1 -1
- package/dist/framework/attributes.d.ts +90 -90
- package/dist/framework/attributes.js +1 -1
- package/dist/framework/{View.d.ts → element.d.ts} +61 -62
- package/dist/framework/{View.js → element.js} +157 -150
- package/dist/framework/element.js.map +1 -0
- package/dist/framework/event.d.ts +80 -80
- package/dist/framework/event.js +25 -25
- package/dist/framework/event.js.map +1 -1
- package/dist/framework/observable.d.ts +37 -12
- package/dist/framework/observable.js +66 -58
- package/dist/framework/observable.js.map +1 -1
- package/dist/framework/properties.d.ts +40 -0
- package/dist/framework/{ViewModel.js → properties.js} +303 -312
- package/dist/framework/properties.js.map +1 -0
- package/dist/framework/root.d.ts +9 -0
- package/dist/framework/root.js +38 -0
- package/dist/framework/root.js.map +1 -0
- package/dist/framework/style.d.ts +657 -658
- package/dist/framework/style.js +146 -153
- package/dist/framework/style.js.map +1 -1
- package/dist/framework/types.d.ts +87 -87
- package/dist/framework/types.js +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/utilities/blob/blob.d.ts +1 -1
- package/dist/utilities/blob/blob.js +17 -17
- package/dist/utilities/blob/blob.js.map +1 -1
- package/dist/utilities/contextMenu/contextMenu.d.ts +2 -0
- package/dist/utilities/contextMenu/contextMenu.js +11 -0
- package/dist/utilities/contextMenu/contextMenu.js.map +1 -0
- package/dist/utilities/cookie/cookie.d.ts +3 -3
- package/dist/utilities/cookie/cookie.js +26 -26
- package/dist/utilities/cookie/cookie.js.map +1 -1
- package/dist/utilities/dataReaderTable/dataReaderTable.d.ts +9 -9
- package/dist/utilities/dataReaderTable/dataReaderTable.js +23 -23
- package/dist/utilities/dataReaderTable/dataReaderTable.js.map +1 -1
- package/dist/utilities/fetch/fetch.d.ts +7 -8
- package/dist/utilities/fetch/fetch.js +139 -137
- package/dist/utilities/fetch/fetch.js.map +1 -1
- package/dist/utilities/float/float.d.ts +1 -1
- package/dist/utilities/float/float.js +3 -3
- package/dist/utilities/formData/formData.d.ts +1 -1
- package/dist/utilities/formData/formData.js +11 -11
- package/dist/utilities/formData/formData.js.map +1 -1
- package/dist/utilities/formatting/formatting.d.ts +4 -0
- package/dist/utilities/formatting/formatting.js +26 -0
- package/dist/utilities/formatting/formatting.js.map +1 -0
- package/dist/utilities/htmlElement/htmlElement.d.ts +1 -1
- package/dist/utilities/htmlElement/htmlElement.js +16 -16
- package/dist/utilities/htmlElement/htmlElement.js.map +1 -1
- package/dist/utilities/image/image.d.ts +1 -1
- package/dist/utilities/image/image.js +1 -1
- package/dist/utilities/index.d.ts +40 -36
- package/dist/utilities/index.js +40 -36
- package/dist/utilities/index.js.map +1 -1
- package/dist/utilities/integer/integer.d.ts +3 -3
- package/dist/utilities/integer/integer.js +27 -27
- package/dist/utilities/integer/integer.js.map +1 -1
- package/dist/utilities/key/key.d.ts +2 -2
- package/dist/utilities/key/key.js +6 -6
- package/dist/utilities/navigator/navigator.d.ts +1 -1
- package/dist/utilities/navigator/navigator.js +8 -8
- package/dist/utilities/navigator/navigator.js.map +1 -1
- package/dist/utilities/notification/notification.d.ts +5 -5
- package/dist/utilities/notification/notification.js +66 -66
- package/dist/utilities/notification/notification.js.map +1 -1
- package/dist/utilities/querystring/querystring.d.ts +6 -6
- package/dist/utilities/querystring/querystring.js +53 -53
- package/dist/utilities/querystring/querystring.js.map +1 -1
- package/dist/utilities/router/router.d.ts +19 -19
- package/dist/utilities/router/router.js +80 -80
- package/dist/utilities/router/router.js.map +1 -1
- package/dist/utilities/stylesheet/stylesheet.d.ts +2 -2
- package/dist/utilities/stylesheet/stylesheet.js +47 -47
- package/dist/utilities/stylesheet/stylesheet.js.map +1 -1
- package/dist/utilities/uniqueId/uniqueId.d.ts +1 -1
- package/dist/utilities/uniqueId/uniqueId.js +4 -4
- package/dist/{framework → utilities/userAgent}/userAgent.d.ts +31 -31
- package/dist/{framework → utilities/userAgent}/userAgent.js +46 -46
- package/dist/utilities/userAgent/userAgent.js.map +1 -0
- package/dist/utilities/webSocket/webSocket.d.ts +1 -1
- package/dist/utilities/webSocket/webSocket.js +54 -54
- package/dist/utilities/webSocket/webSocket.js.map +1 -1
- package/package.json +18 -14
- package/src/controls/codeMirror/Editor/Editor.ts +207 -0
- package/src/controls/codeMirror/index.ts +1 -2
- package/src/controls/custom/FileSelector/FileSelector.ts +30 -28
- package/src/controls/custom/LabeledControl/LabeledControl.ts +32 -36
- package/src/controls/custom/ListItem/ListItem.ts +36 -36
- package/src/controls/html/Button/Button.ts +36 -29
- package/src/controls/html/Div/Div.ts +20 -21
- package/src/controls/html/Image/Image.ts +22 -20
- package/src/controls/html/Input/Input.ts +59 -61
- package/src/controls/html/Select/Select.ts +37 -39
- package/src/controls/html/Span/Span.ts +14 -14
- package/src/controls/index.ts +2 -2
- package/src/controls/{jsonViewAwesome → jsonViewerAwesome}/jsonFormatter/JsonFormatter.ts +23 -23
- package/src/controls/kendo/Chart/Chart.ts +34 -34
- package/src/controls/kendo/DataSource/DataSource.ts +1 -1
- package/src/controls/kendo/Editor/Editor.ts +58 -68
- package/src/controls/kendo/Grid/Grid.ts +77 -80
- package/src/controls/kendo/Menu/Menu.ts +22 -22
- package/src/controls/kendo/ObservableObject/ObservableObject.ts +45 -45
- package/src/controls/kendo/{Tree/Tree.ts → Treeview/Treeview.ts} +15 -15
- package/src/controls/kendo/{Dialog/Dialog.ts → Window/Window.ts} +21 -19
- package/src/controls/kendo/index.ts +3 -3
- package/src/controls/leaflet/LabelControl/LabelControl.ts +10 -10
- package/src/controls/leaflet/Map/Map.ts +41 -38
- package/src/controls/leaflet/OpenStreetMapTileLayer/OpenStreetMapTileLayer.ts +3 -3
- package/src/controls/svg/Circle/Circle.ts +14 -14
- package/src/controls/svg/Ellipse/Ellipse.ts +15 -15
- package/src/controls/svg/ForeignObject/ForeignObject.ts +19 -20
- package/src/controls/svg/Group/Group.ts +19 -19
- package/src/controls/svg/Line/Line.ts +15 -15
- package/src/controls/svg/Pattern/Pattern.ts +25 -25
- package/src/controls/svg/Polygon/Polygon.ts +13 -13
- package/src/controls/svg/Polyline/Polyline.ts +13 -13
- package/src/controls/svg/Rectangle/Rectangle.ts +15 -15
- package/src/controls/svg/Svg/Svg.ts +19 -19
- package/src/controls/svg/Text/Text.ts +16 -16
- package/src/controls/svg/Title/Title.ts +12 -12
- package/src/controls/svg/svg.ts +4 -4
- package/src/framework/attributes.ts +46 -46
- package/src/framework/{View.ts → element.ts} +52 -39
- package/src/framework/event.ts +7 -7
- package/src/framework/observable.ts +94 -60
- package/src/framework/properties.ts +393 -0
- package/src/framework/root.ts +45 -0
- package/src/framework/style.ts +330 -340
- package/src/index.ts +4 -4
- package/src/utilities/contextMenu/contextMenu.ts +16 -0
- package/src/utilities/fetch/fetch.ts +16 -14
- package/src/utilities/formatting/formatting.ts +29 -0
- package/src/utilities/index.ts +7 -3
- package/src/utilities/router/router.ts +3 -3
- package/dist/controls/codeMirror/HtmlEditor/HtmlEditor.d.ts +0 -16
- package/dist/controls/codeMirror/HtmlEditor/HtmlEditor.js +0 -120
- package/dist/controls/codeMirror/HtmlEditor/HtmlEditor.js.map +0 -1
- package/dist/controls/codeMirror/JsonEditor/JsonEditor.d.ts +0 -16
- package/dist/controls/codeMirror/JsonEditor/JsonEditor.js +0 -104
- package/dist/controls/codeMirror/JsonEditor/JsonEditor.js.map +0 -1
- package/dist/controls/jsonViewAwesome/index.js.map +0 -1
- package/dist/controls/jsonViewAwesome/jsonFormatter/JsonFormatter.d.ts +0 -28
- package/dist/controls/jsonViewAwesome/jsonFormatter/JsonFormatter.js.map +0 -1
- package/dist/controls/kendo/Dialog/Dialog.d.ts +0 -14
- package/dist/controls/kendo/Dialog/Dialog.js.map +0 -1
- package/dist/controls/kendo/Tree/Tree.d.ts +0 -17
- package/dist/controls/kendo/Tree/Tree.js.map +0 -1
- package/dist/framework/View.js.map +0 -1
- package/dist/framework/ViewModel.d.ts +0 -42
- package/dist/framework/ViewModel.js.map +0 -1
- package/dist/framework/userAgent.js.map +0 -1
- package/dist/utilities/html/html.d.ts +0 -1
- package/dist/utilities/html/html.js +0 -8
- package/dist/utilities/html/html.js.map +0 -1
- package/src/controls/codeMirror/HtmlEditor/HtmlEditor.ts +0 -153
- package/src/controls/codeMirror/JsonEditor/JsonEditor.ts +0 -136
- package/src/framework/ViewModel.ts +0 -528
- package/src/utilities/html/html.ts +0 -8
- /package/src/controls/{jsonViewAwesome → jsonViewerAwesome}/index.ts +0 -0
- /package/src/{framework → utilities/userAgent}/userAgent.ts +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { extendProperties } from "../../../framework/
|
|
3
|
-
export class
|
|
4
|
-
constructor(properties) {
|
|
5
|
-
super({
|
|
6
|
-
tagName: "circle",
|
|
7
|
-
properties: extendProperties({
|
|
8
|
-
|
|
9
|
-
attributes: {
|
|
10
|
-
cx: properties.cx,
|
|
11
|
-
cy: properties.cy,
|
|
12
|
-
r: properties.r
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export function
|
|
19
|
-
return new
|
|
20
|
-
}
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { extendProperties } from "../../../framework/properties";
|
|
3
|
+
export class CircleElement extends Element {
|
|
4
|
+
constructor(properties) {
|
|
5
|
+
super({
|
|
6
|
+
tagName: "circle",
|
|
7
|
+
properties: extendProperties(properties, {
|
|
8
|
+
elementType: "Circle",
|
|
9
|
+
attributes: {
|
|
10
|
+
cx: properties.cx,
|
|
11
|
+
cy: properties.cy,
|
|
12
|
+
r: properties.r
|
|
13
|
+
}
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export function createCircle(properties) {
|
|
19
|
+
return new CircleElement(properties);
|
|
20
|
+
}
|
|
21
21
|
//# sourceMappingURL=Circle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Circle.js","sourceRoot":"","sources":["../../../../src/controls/svg/Circle/Circle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Circle.js","sourceRoot":"","sources":["../../../../src/controls/svg/Circle/Circle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAe,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAS7E,MAAM,OAAO,aAAc,SAAQ,OAA0B;IACzD,YAAY,UAA6B;QACrC,KAAK,CACD;YACI,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE;oBACR,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,CAAC,EAAE,UAAU,CAAC,CAAC;iBAClB;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,YAAY,CAAC,UAA6B;IACtD,OAAO,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC;AACzC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
5
|
-
cx: number | string |
|
|
6
|
-
cy: number | string |
|
|
7
|
-
rx: number | string |
|
|
8
|
-
ry: number | string |
|
|
9
|
-
}
|
|
10
|
-
export declare class
|
|
11
|
-
constructor(properties:
|
|
12
|
-
}
|
|
13
|
-
export declare function
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { IProperties } from "../../../framework/properties";
|
|
3
|
+
import { ISubscribable } from "../../../framework/observable";
|
|
4
|
+
export interface IEllipseProperties extends IProperties {
|
|
5
|
+
cx: number | string | ISubscribable<number | string>;
|
|
6
|
+
cy: number | string | ISubscribable<number | string>;
|
|
7
|
+
rx: number | string | ISubscribable<number | string>;
|
|
8
|
+
ry: number | string | ISubscribable<number | string>;
|
|
9
|
+
}
|
|
10
|
+
export declare class EllipseElement extends Element<IEllipseProperties> {
|
|
11
|
+
constructor(properties: IEllipseProperties);
|
|
12
|
+
}
|
|
13
|
+
export declare function createEllipse(properties: IEllipseProperties): EllipseElement;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { extendProperties } from "../../../framework/
|
|
3
|
-
export class
|
|
4
|
-
constructor(properties) {
|
|
5
|
-
super({
|
|
6
|
-
tagName: "ellipse",
|
|
7
|
-
properties: extendProperties({
|
|
8
|
-
|
|
9
|
-
attributes: {
|
|
10
|
-
cx: properties.cx,
|
|
11
|
-
cy: properties.cy,
|
|
12
|
-
rx: properties.rx,
|
|
13
|
-
ry: properties.ry
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export function
|
|
20
|
-
return new
|
|
21
|
-
}
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { extendProperties } from "../../../framework/properties";
|
|
3
|
+
export class EllipseElement extends Element {
|
|
4
|
+
constructor(properties) {
|
|
5
|
+
super({
|
|
6
|
+
tagName: "ellipse",
|
|
7
|
+
properties: extendProperties(properties, {
|
|
8
|
+
elementType: "Ellipse",
|
|
9
|
+
attributes: {
|
|
10
|
+
cx: properties.cx,
|
|
11
|
+
cy: properties.cy,
|
|
12
|
+
rx: properties.rx,
|
|
13
|
+
ry: properties.ry
|
|
14
|
+
}
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export function createEllipse(properties) {
|
|
20
|
+
return new EllipseElement(properties);
|
|
21
|
+
}
|
|
22
22
|
//# sourceMappingURL=Ellipse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ellipse.js","sourceRoot":"","sources":["../../../../src/controls/svg/Ellipse/Ellipse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Ellipse.js","sourceRoot":"","sources":["../../../../src/controls/svg/Ellipse/Ellipse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAe,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAU7E,MAAM,OAAO,cAAe,SAAQ,OAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,SAAS;gBACtB,UAAU,EAAE;oBACR,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;iBACpB;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
5
|
-
height?: number | string |
|
|
6
|
-
width?: number | string |
|
|
7
|
-
x?: number | string |
|
|
8
|
-
y?: number | string |
|
|
9
|
-
children?: Array<
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
constructor(properties:
|
|
13
|
-
}
|
|
14
|
-
export declare function
|
|
1
|
+
import { Element, IElement } from "../../../framework/element";
|
|
2
|
+
import { IProperties } from "../../../framework/properties";
|
|
3
|
+
import { ISubscribable } from "../../../framework/observable";
|
|
4
|
+
export interface IForeignObjectProperties extends IProperties {
|
|
5
|
+
height?: number | string | ISubscribable<number | string>;
|
|
6
|
+
width?: number | string | ISubscribable<number | string>;
|
|
7
|
+
x?: number | string | ISubscribable<number | string>;
|
|
8
|
+
y?: number | string | ISubscribable<number | string>;
|
|
9
|
+
children?: Array<IElement> | ISubscribable<Array<IElement>>;
|
|
10
|
+
}
|
|
11
|
+
declare class ForeignObjectElement extends Element<IForeignObjectProperties> {
|
|
12
|
+
constructor(properties: IForeignObjectProperties);
|
|
13
|
+
}
|
|
14
|
+
export declare function createForeignObject(properties: IForeignObjectProperties): ForeignObjectElement;
|
|
15
|
+
export {};
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { extendProperties } from "../../../framework/
|
|
3
|
-
|
|
4
|
-
constructor(properties) {
|
|
5
|
-
super({
|
|
6
|
-
tagName: "foreignObject",
|
|
7
|
-
properties: extendProperties({
|
|
8
|
-
|
|
9
|
-
attributes: {
|
|
10
|
-
height: properties.height,
|
|
11
|
-
width: properties.width,
|
|
12
|
-
x: properties.x,
|
|
13
|
-
y: properties.y
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { extendProperties } from "../../../framework/properties";
|
|
3
|
+
class ForeignObjectElement extends Element {
|
|
4
|
+
constructor(properties) {
|
|
5
|
+
super({
|
|
6
|
+
tagName: "foreignObject",
|
|
7
|
+
properties: extendProperties(properties, {
|
|
8
|
+
elementType: "ForeignObject",
|
|
9
|
+
attributes: {
|
|
10
|
+
height: properties.height,
|
|
11
|
+
width: properties.width,
|
|
12
|
+
x: properties.x,
|
|
13
|
+
y: properties.y
|
|
14
|
+
}
|
|
15
|
+
})
|
|
16
|
+
}, properties.children);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export function createForeignObject(properties) {
|
|
20
|
+
return new ForeignObjectElement(properties);
|
|
21
|
+
}
|
|
23
22
|
//# sourceMappingURL=ForeignObject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForeignObject.js","sourceRoot":"","sources":["../../../../src/controls/svg/ForeignObject/ForeignObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ForeignObject.js","sourceRoot":"","sources":["../../../../src/controls/svg/ForeignObject/ForeignObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAY,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAU9E,MAAM,oBAAqB,SAAQ,OAAiC;IAChE,YAAY,UAAoC;QAC5C,KAAK,CACD;YACI,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,eAAe;gBAC5B,UAAU,EAAE;oBACR,MAAM,EAAE,UAAU,CAAC,MAAM;oBACzB,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,CAAC,EAAE,UAAU,CAAC,CAAC;iBAClB;aACJ,CACJ;SACJ,EACD,UAAU,CAAC,QAAQ,CACtB,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,mBAAmB,CAAC,UAAoC;IACpE,OAAO,IAAI,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
5
|
-
x1?: number | string |
|
|
6
|
-
x2?: number | string |
|
|
7
|
-
y1?: number | string |
|
|
8
|
-
y2?: number | string |
|
|
9
|
-
children?: Array<
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
constructor(properties:
|
|
13
|
-
}
|
|
14
|
-
export declare function
|
|
1
|
+
import { Element, IElement } from "../../../framework/element";
|
|
2
|
+
import { IProperties } from "../../../framework/properties";
|
|
3
|
+
import { ISubscribable } from "../../../framework/observable";
|
|
4
|
+
export interface IGroupProperties extends IProperties {
|
|
5
|
+
x1?: number | string | ISubscribable<number | string>;
|
|
6
|
+
x2?: number | string | ISubscribable<number | string>;
|
|
7
|
+
y1?: number | string | ISubscribable<number | string>;
|
|
8
|
+
y2?: number | string | ISubscribable<number | string>;
|
|
9
|
+
children?: Array<IElement> | ISubscribable<Array<IElement>>;
|
|
10
|
+
}
|
|
11
|
+
declare class GroupElement extends Element<IGroupProperties> {
|
|
12
|
+
constructor(properties: IGroupProperties);
|
|
13
|
+
}
|
|
14
|
+
export declare function createGroup(properties: IGroupProperties): GroupElement;
|
|
15
|
+
export {};
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { extendProperties } from "../../../framework/
|
|
3
|
-
|
|
4
|
-
constructor(properties) {
|
|
5
|
-
super({
|
|
6
|
-
tagName: "g",
|
|
7
|
-
properties: extendProperties({
|
|
8
|
-
|
|
9
|
-
attributes: {
|
|
10
|
-
x1: properties.x1,
|
|
11
|
-
x2: properties.x2,
|
|
12
|
-
y1: properties.y1,
|
|
13
|
-
y2: properties.y2
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { extendProperties } from "../../../framework/properties";
|
|
3
|
+
class GroupElement extends Element {
|
|
4
|
+
constructor(properties) {
|
|
5
|
+
super({
|
|
6
|
+
tagName: "g",
|
|
7
|
+
properties: extendProperties(properties, {
|
|
8
|
+
elementType: "Group",
|
|
9
|
+
attributes: {
|
|
10
|
+
x1: properties.x1,
|
|
11
|
+
x2: properties.x2,
|
|
12
|
+
y1: properties.y1,
|
|
13
|
+
y2: properties.y2
|
|
14
|
+
}
|
|
15
|
+
})
|
|
16
|
+
}, properties.children);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export function createGroup(properties) {
|
|
20
|
+
return new GroupElement(properties);
|
|
21
|
+
}
|
|
23
22
|
//# sourceMappingURL=Group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/controls/svg/Group/Group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/controls/svg/Group/Group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAY,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAW9E,MAAM,YAAa,SAAQ,OAAyB;IAChD,YAAY,UAA4B;QACpC,KAAK,CACD;YACI,OAAO,EAAE,GAAG;YACZ,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,OAAO;gBACpB,UAAU,EAAE;oBACR,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;iBACpB;aACJ,CACJ;SACJ,EACD,UAAU,CAAC,QAAQ,CACtB,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,WAAW,CAAC,UAA4B;IACpD,OAAO,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
5
|
-
x1: number | string |
|
|
6
|
-
x2: number | string |
|
|
7
|
-
y1: number | string |
|
|
8
|
-
y2: number | string |
|
|
9
|
-
}
|
|
10
|
-
export declare class
|
|
11
|
-
constructor(properties:
|
|
12
|
-
}
|
|
13
|
-
export declare function
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { IProperties } from "../../../framework/properties";
|
|
3
|
+
import { ISubscribable } from "../../../framework/observable";
|
|
4
|
+
export interface ILineProperties extends IProperties {
|
|
5
|
+
x1: number | string | ISubscribable<number | string>;
|
|
6
|
+
x2: number | string | ISubscribable<number | string>;
|
|
7
|
+
y1: number | string | ISubscribable<number | string>;
|
|
8
|
+
y2: number | string | ISubscribable<number | string>;
|
|
9
|
+
}
|
|
10
|
+
export declare class LineElement extends Element<ILineProperties> {
|
|
11
|
+
constructor(properties: ILineProperties);
|
|
12
|
+
}
|
|
13
|
+
export declare function createLine(properties: ILineProperties): LineElement;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { extendProperties } from "../../../framework/
|
|
3
|
-
export class
|
|
4
|
-
constructor(properties) {
|
|
5
|
-
super({
|
|
6
|
-
tagName: "line",
|
|
7
|
-
properties: extendProperties({
|
|
8
|
-
|
|
9
|
-
attributes: {
|
|
10
|
-
x1: properties.x1,
|
|
11
|
-
x2: properties.x2,
|
|
12
|
-
y1: properties.y1,
|
|
13
|
-
y2: properties.y2
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export function
|
|
20
|
-
return new
|
|
21
|
-
}
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { extendProperties } from "../../../framework/properties";
|
|
3
|
+
export class LineElement extends Element {
|
|
4
|
+
constructor(properties) {
|
|
5
|
+
super({
|
|
6
|
+
tagName: "line",
|
|
7
|
+
properties: extendProperties(properties, {
|
|
8
|
+
elementType: "Line",
|
|
9
|
+
attributes: {
|
|
10
|
+
x1: properties.x1,
|
|
11
|
+
x2: properties.x2,
|
|
12
|
+
y1: properties.y1,
|
|
13
|
+
y2: properties.y2
|
|
14
|
+
}
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export function createLine(properties) {
|
|
20
|
+
return new LineElement(properties);
|
|
21
|
+
}
|
|
22
22
|
//# sourceMappingURL=Line.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.js","sourceRoot":"","sources":["../../../../src/controls/svg/Line/Line.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Line.js","sourceRoot":"","sources":["../../../../src/controls/svg/Line/Line.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAU9E,MAAM,OAAO,WAAY,SAAQ,OAAwB;IACrD,YAAY,UAA2B;QACnC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,MAAM;gBACnB,UAAU,EAAE;oBACR,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;iBACpB;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,UAAU,CAAC,UAA2B;IAClD,OAAO,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { PatternUnits } from "../../../framework/types";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
export interface
|
|
12
|
-
id: string;
|
|
13
|
-
width: number | string |
|
|
14
|
-
height: number | string |
|
|
15
|
-
patternUnits: PatternUnits |
|
|
16
|
-
patternTransform: string |
|
|
17
|
-
pattern:
|
|
18
|
-
}
|
|
19
|
-
export declare class
|
|
20
|
-
constructor(properties:
|
|
21
|
-
}
|
|
22
|
-
export declare function
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { IProperties } from "../../../framework/properties";
|
|
3
|
+
import { ISubscribable } from "../../../framework/observable";
|
|
4
|
+
import { PatternUnits } from "../../../framework/types";
|
|
5
|
+
import { CircleElement } from "../Circle/Circle";
|
|
6
|
+
import { EllipseElement } from "../Ellipse/Ellipse";
|
|
7
|
+
import { LineElement } from "../Line/Line";
|
|
8
|
+
import { PolygonElement } from "../Polygon/Polygon";
|
|
9
|
+
import { PolylineElement } from "../Polyline/Polyline";
|
|
10
|
+
import { TextElement } from "../Text/Text";
|
|
11
|
+
export interface IPatternProperties extends IProperties {
|
|
12
|
+
id: string;
|
|
13
|
+
width: number | string | ISubscribable<number | string>;
|
|
14
|
+
height: number | string | ISubscribable<number | string>;
|
|
15
|
+
patternUnits: PatternUnits | ISubscribable<PatternUnits>;
|
|
16
|
+
patternTransform: string | ISubscribable<string>;
|
|
17
|
+
pattern: CircleElement | EllipseElement | LineElement | PolygonElement | PolylineElement | TextElement;
|
|
18
|
+
}
|
|
19
|
+
export declare class PatternElement extends Element<IPatternProperties> {
|
|
20
|
+
constructor(properties: IPatternProperties);
|
|
21
|
+
}
|
|
22
|
+
export declare function createPattern(properties: IPatternProperties): PatternElement;
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { extendProperties } from "../../../framework/
|
|
3
|
-
export class
|
|
4
|
-
constructor(properties) {
|
|
5
|
-
super({
|
|
6
|
-
tagName: "pattern",
|
|
7
|
-
properties: extendProperties({
|
|
8
|
-
|
|
9
|
-
attributes: {
|
|
10
|
-
id: properties.id,
|
|
11
|
-
width: properties.width,
|
|
12
|
-
height: properties.height,
|
|
13
|
-
patternUnits: properties.patternUnits,
|
|
14
|
-
patternTransform: properties.patternTransform
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { extendProperties } from "../../../framework/properties";
|
|
3
|
+
export class PatternElement extends Element {
|
|
4
|
+
constructor(properties) {
|
|
5
|
+
super({
|
|
6
|
+
tagName: "pattern",
|
|
7
|
+
properties: extendProperties(properties, {
|
|
8
|
+
elementType: "Pattern",
|
|
9
|
+
attributes: {
|
|
10
|
+
id: properties.id,
|
|
11
|
+
width: properties.width,
|
|
12
|
+
height: properties.height,
|
|
13
|
+
patternUnits: properties.patternUnits,
|
|
14
|
+
patternTransform: properties.patternTransform
|
|
15
|
+
}
|
|
16
|
+
})
|
|
17
|
+
}, [properties.pattern]);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export function createPattern(properties) {
|
|
21
|
+
return new PatternElement(properties);
|
|
22
|
+
}
|
|
24
23
|
//# sourceMappingURL=Pattern.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pattern.js","sourceRoot":"","sources":["../../../../src/controls/svg/Pattern/Pattern.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Pattern.js","sourceRoot":"","sources":["../../../../src/controls/svg/Pattern/Pattern.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAqB9E,MAAM,OAAO,cAAe,SAAQ,OAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,SAAS;gBACtB,UAAU,EAAE;oBACR,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,MAAM,EAAE,UAAU,CAAC,MAAM;oBACzB,YAAY,EAAE,UAAU,CAAC,YAAY;oBACrC,gBAAgB,EAAE,UAAU,CAAC,gBAAgB;iBAChD;aACJ,CACJ;SACJ,EACD,CAAC,UAAU,CAAC,OAAO,CAAC,CACvB,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { SvgPoint } from "../svg";
|
|
5
|
-
export interface
|
|
6
|
-
points: Array<SvgPoint> |
|
|
7
|
-
}
|
|
8
|
-
export declare class
|
|
9
|
-
constructor(properties:
|
|
10
|
-
}
|
|
11
|
-
export declare function
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { IProperties } from "../../../framework/properties";
|
|
3
|
+
import { ISubscribable } from "../../../framework/observable";
|
|
4
|
+
import { ISvgPoint as SvgPoint } from "../svg";
|
|
5
|
+
export interface IPolygonProperties extends IProperties {
|
|
6
|
+
points: Array<SvgPoint> | ISubscribable<Array<SvgPoint>>;
|
|
7
|
+
}
|
|
8
|
+
export declare class PolygonElement extends Element<IPolygonProperties> {
|
|
9
|
+
constructor(properties: IPolygonProperties);
|
|
10
|
+
}
|
|
11
|
+
export declare function createPolygon(properties: IPolygonProperties): PolygonElement;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { extendProperties } from "../../../framework/
|
|
3
|
-
import { unwrap } from "
|
|
4
|
-
import { serializePoints as getPoints } from "../svg";
|
|
5
|
-
export class
|
|
6
|
-
constructor(properties) {
|
|
7
|
-
super({
|
|
8
|
-
tagName: "polygon",
|
|
9
|
-
properties: extendProperties({
|
|
10
|
-
|
|
11
|
-
attributes: {
|
|
12
|
-
points: getPoints(unwrap(properties.points))
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export function
|
|
19
|
-
return new
|
|
20
|
-
}
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { extendProperties } from "../../../framework/properties";
|
|
3
|
+
import { unwrap } from "../../../framework/observable";
|
|
4
|
+
import { serializePoints as getPoints } from "../svg";
|
|
5
|
+
export class PolygonElement extends Element {
|
|
6
|
+
constructor(properties) {
|
|
7
|
+
super({
|
|
8
|
+
tagName: "polygon",
|
|
9
|
+
properties: extendProperties(properties, {
|
|
10
|
+
elementType: "Polygon",
|
|
11
|
+
attributes: {
|
|
12
|
+
points: getPoints(unwrap(properties.points))
|
|
13
|
+
}
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export function createPolygon(properties) {
|
|
19
|
+
return new PolygonElement(properties);
|
|
20
|
+
}
|
|
21
21
|
//# sourceMappingURL=Polygon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Polygon.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polygon/Polygon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Polygon.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polygon/Polygon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAiB,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAyB,eAAe,IAAI,SAAS,EAAE,MAAM,QAAQ,CAAC;AAM7E,MAAM,OAAO,cAAe,SAAQ,OAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,SAAS;gBACtB,UAAU,EAAE;oBACR,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;iBAC/C;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { SvgPoint } from "../svg";
|
|
5
|
-
export interface
|
|
6
|
-
points: Array<SvgPoint> |
|
|
7
|
-
}
|
|
8
|
-
export declare class
|
|
9
|
-
constructor(properties:
|
|
10
|
-
}
|
|
11
|
-
export declare function
|
|
1
|
+
import { Element } from "../../../framework/element";
|
|
2
|
+
import { IProperties } from "../../../framework/properties";
|
|
3
|
+
import { ISubscribable } from "../../../framework/observable";
|
|
4
|
+
import { ISvgPoint as SvgPoint } from "../svg";
|
|
5
|
+
export interface IPolylineProperties extends IProperties {
|
|
6
|
+
points: Array<SvgPoint> | ISubscribable<Array<SvgPoint>>;
|
|
7
|
+
}
|
|
8
|
+
export declare class PolylineElement extends Element<IPolylineProperties> {
|
|
9
|
+
constructor(properties: IPolylineProperties);
|
|
10
|
+
}
|
|
11
|
+
export declare function createPolyline(properties: IPolylineProperties): PolylineElement;
|