jpf 5.0.90 → 5.0.91
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.js +1 -2
- package/dist/controls/codeMirror/Editor/Editor.js.map +1 -1
- package/dist/controls/custom/FileSelector/FileSelector.js +1 -2
- package/dist/controls/custom/FileSelector/FileSelector.js.map +1 -1
- package/dist/controls/custom/LabeledControl/LabeledControl.js +2 -3
- package/dist/controls/custom/LabeledControl/LabeledControl.js.map +1 -1
- package/dist/controls/custom/ListItem/ListItem.js +1 -2
- package/dist/controls/custom/ListItem/ListItem.js.map +1 -1
- package/dist/controls/html/Button/Button.js +1 -2
- package/dist/controls/html/Button/Button.js.map +1 -1
- package/dist/controls/html/Div/Div.js +1 -2
- package/dist/controls/html/Div/Div.js.map +1 -1
- package/dist/controls/html/Image/Image.js +1 -2
- package/dist/controls/html/Image/Image.js.map +1 -1
- package/dist/controls/html/Input/Input.js +1 -2
- package/dist/controls/html/Input/Input.js.map +1 -1
- package/dist/controls/html/Select/Select.js +1 -2
- package/dist/controls/html/Select/Select.js.map +1 -1
- package/dist/controls/html/Span/Span.js +1 -2
- package/dist/controls/html/Span/Span.js.map +1 -1
- package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.js +1 -2
- package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.js.map +1 -1
- package/dist/controls/kendo/Chart/Chart.js +1 -2
- package/dist/controls/kendo/Chart/Chart.js.map +1 -1
- package/dist/controls/kendo/Editor/Editor.js +1 -1
- package/dist/controls/kendo/Editor/Editor.js.map +1 -1
- package/dist/controls/kendo/Grid/Grid.js +1 -2
- package/dist/controls/kendo/Grid/Grid.js.map +1 -1
- package/dist/controls/kendo/Menu/Menu.js +1 -2
- package/dist/controls/kendo/Menu/Menu.js.map +1 -1
- package/dist/controls/kendo/Treeview/Treeview.js +1 -2
- package/dist/controls/kendo/Treeview/Treeview.js.map +1 -1
- package/dist/controls/leaflet/Map/Map.js +1 -2
- package/dist/controls/leaflet/Map/Map.js.map +1 -1
- package/dist/controls/svg/Circle/Circle.js +1 -2
- package/dist/controls/svg/Circle/Circle.js.map +1 -1
- package/dist/controls/svg/Ellipse/Ellipse.js +1 -2
- package/dist/controls/svg/Ellipse/Ellipse.js.map +1 -1
- package/dist/controls/svg/ForeignObject/ForeignObject.js +1 -2
- package/dist/controls/svg/ForeignObject/ForeignObject.js.map +1 -1
- package/dist/controls/svg/Group/Group.js +1 -2
- package/dist/controls/svg/Group/Group.js.map +1 -1
- package/dist/controls/svg/Line/Line.js +1 -2
- package/dist/controls/svg/Line/Line.js.map +1 -1
- package/dist/controls/svg/Pattern/Pattern.js +1 -2
- package/dist/controls/svg/Pattern/Pattern.js.map +1 -1
- package/dist/controls/svg/Polygon/Polygon.js +1 -3
- package/dist/controls/svg/Polygon/Polygon.js.map +1 -1
- package/dist/controls/svg/Polyline/Polyline.js +1 -2
- package/dist/controls/svg/Polyline/Polyline.js.map +1 -1
- package/dist/controls/svg/Rectangle/Rectangle.js +1 -2
- package/dist/controls/svg/Rectangle/Rectangle.js.map +1 -1
- package/dist/controls/svg/Svg/Svg.js +1 -2
- package/dist/controls/svg/Svg/Svg.js.map +1 -1
- package/dist/controls/svg/Text/Text.js +1 -2
- package/dist/controls/svg/Text/Text.js.map +1 -1
- package/dist/controls/svg/Title/Title.js +1 -2
- package/dist/controls/svg/Title/Title.js.map +1 -1
- package/dist/utilities/object/object.d.ts +0 -1
- package/dist/utilities/object/object.js +0 -18
- package/dist/utilities/object/object.js.map +1 -1
- package/package.json +1 -1
- package/src/controls/codeMirror/Editor/Editor.ts +1 -2
- package/src/controls/custom/FileSelector/FileSelector.ts +1 -2
- package/src/controls/custom/LabeledControl/LabeledControl.ts +2 -3
- package/src/controls/custom/ListItem/ListItem.ts +1 -2
- package/src/controls/html/Button/Button.ts +1 -2
- package/src/controls/html/Div/Div.ts +1 -2
- package/src/controls/html/Image/Image.ts +1 -2
- package/src/controls/html/Input/Input.ts +1 -2
- package/src/controls/html/Select/Select.ts +1 -2
- package/src/controls/html/Span/Span.ts +1 -2
- package/src/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.ts +1 -2
- package/src/controls/kendo/Chart/Chart.ts +1 -2
- package/src/controls/kendo/Editor/Editor.ts +1 -1
- package/src/controls/kendo/Grid/Grid.ts +1 -2
- package/src/controls/kendo/Menu/Menu.ts +1 -2
- package/src/controls/kendo/Treeview/Treeview.ts +1 -2
- package/src/controls/leaflet/Map/Map.ts +1 -2
- package/src/controls/svg/Circle/Circle.ts +1 -2
- package/src/controls/svg/Ellipse/Ellipse.ts +1 -2
- package/src/controls/svg/ForeignObject/ForeignObject.ts +1 -2
- package/src/controls/svg/Group/Group.ts +1 -2
- package/src/controls/svg/Line/Line.ts +1 -2
- package/src/controls/svg/Pattern/Pattern.ts +1 -3
- package/src/controls/svg/Polygon/Polygon.ts +1 -2
- package/src/controls/svg/Polyline/Polyline.ts +1 -2
- package/src/controls/svg/Rectangle/Rectangle.ts +1 -2
- package/src/controls/svg/Svg/Svg.ts +1 -2
- package/src/controls/svg/Text/Text.ts +1 -2
- package/src/controls/svg/Title/Title.ts +1 -2
- package/src/utilities/object/object.ts +0 -21
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CircleElement = void 0;
|
|
4
4
|
exports.createCircle = createCircle;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const object_1 = require("../../../utilities/object/object");
|
|
7
6
|
class CircleElement extends element_1.Element {
|
|
8
7
|
constructor(properties) {
|
|
9
8
|
super({
|
|
@@ -11,7 +10,7 @@ class CircleElement extends element_1.Element {
|
|
|
11
10
|
properties: (0, element_1.extendProperties)({
|
|
12
11
|
target: properties,
|
|
13
12
|
preserveExisting: {
|
|
14
|
-
elementType:
|
|
13
|
+
elementType: "CircleElement",
|
|
15
14
|
attributes: {
|
|
16
15
|
cx: properties.cx,
|
|
17
16
|
cy: properties.cy,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Circle.js","sourceRoot":"","sources":["../../../../src/controls/svg/Circle/Circle.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Circle.js","sourceRoot":"","sources":["../../../../src/controls/svg/Circle/Circle.ts"],"names":[],"mappings":";;;AAgCA,oCAEC;AAlCD,wDAA2F;AAS3F,MAAa,aAAc,SAAQ,iBAA0B;IACzD,YAAY,UAA6B;QACrC,KAAK,CACD;YACI,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,eAAe;oBAC5B,UAAU,EAAE;wBACR,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,CAAC,EAAE,UAAU,CAAC,CAAC;qBAClB;iBACJ;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AArBD,sCAqBC;AAED,SAAgB,YAAY,CAAC,UAA6B;IACtD,OAAO,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC;AACzC,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EllipseElement = void 0;
|
|
4
4
|
exports.createEllipse = createEllipse;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const object_1 = require("../../../utilities/object/object");
|
|
7
6
|
class EllipseElement extends element_1.Element {
|
|
8
7
|
constructor(properties) {
|
|
9
8
|
super({
|
|
@@ -11,7 +10,7 @@ class EllipseElement extends element_1.Element {
|
|
|
11
10
|
properties: (0, element_1.extendProperties)({
|
|
12
11
|
target: properties,
|
|
13
12
|
preserveExisting: {
|
|
14
|
-
elementType:
|
|
13
|
+
elementType: "EllipseElement",
|
|
15
14
|
attributes: {
|
|
16
15
|
cx: properties.cx,
|
|
17
16
|
cy: properties.cy,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ellipse.js","sourceRoot":"","sources":["../../../../src/controls/svg/Ellipse/Ellipse.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Ellipse.js","sourceRoot":"","sources":["../../../../src/controls/svg/Ellipse/Ellipse.ts"],"names":[],"mappings":";;;AAkCA,sCAEC;AApCD,wDAA2F;AAU3F,MAAa,cAAe,SAAQ,iBAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,gBAAgB;oBAC7B,UAAU,EAAE;wBACR,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;qBACpB;iBACJ;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAtBD,wCAsBC;AAED,SAAgB,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createForeignObject = createForeignObject;
|
|
4
4
|
const element_1 = require("../../../framework/element");
|
|
5
|
-
const object_1 = require("../../../utilities/object/object");
|
|
6
5
|
class ForeignObjectElement extends element_1.Element {
|
|
7
6
|
constructor(properties) {
|
|
8
7
|
super({
|
|
@@ -10,7 +9,7 @@ class ForeignObjectElement extends element_1.Element {
|
|
|
10
9
|
properties: (0, element_1.extendProperties)({
|
|
11
10
|
target: properties,
|
|
12
11
|
preserveExisting: {
|
|
13
|
-
elementType:
|
|
12
|
+
elementType: "ForeignObjectElement",
|
|
14
13
|
attributes: {
|
|
15
14
|
height: properties.height,
|
|
16
15
|
width: properties.width,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForeignObject.js","sourceRoot":"","sources":["../../../../src/controls/svg/ForeignObject/ForeignObject.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ForeignObject.js","sourceRoot":"","sources":["../../../../src/controls/svg/ForeignObject/ForeignObject.ts"],"names":[],"mappings":";;AAmCA,kDAEC;AArCD,wDAAqG;AAUrG,MAAM,oBAAqB,SAAQ,iBAAiC;IAChE,YAAY,UAAoC;QAC5C,KAAK,CACD;YACI,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,sBAAsB;oBACnC,UAAU,EAAE;wBACR,MAAM,EAAE,UAAU,CAAC,MAAM;wBACzB,KAAK,EAAE,UAAU,CAAC,KAAK;wBACvB,CAAC,EAAE,UAAU,CAAC,CAAC;wBACf,CAAC,EAAE,UAAU,CAAC,CAAC;qBAClB;iBACJ;aACJ,CACJ;SACJ,EACD,UAAU,CAAC,QAAQ,CACtB,CAAC;IACN,CAAC;CACJ;AAED,SAAgB,mBAAmB,CAAC,UAAoC;IACpE,OAAO,IAAI,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createGroup = createGroup;
|
|
4
4
|
const element_1 = require("../../../framework/element");
|
|
5
|
-
const object_1 = require("../../../utilities/object/object");
|
|
6
5
|
class GroupElement extends element_1.Element {
|
|
7
6
|
constructor(properties) {
|
|
8
7
|
super({
|
|
@@ -10,7 +9,7 @@ class GroupElement extends element_1.Element {
|
|
|
10
9
|
properties: (0, element_1.extendProperties)({
|
|
11
10
|
target: properties,
|
|
12
11
|
preserveExisting: {
|
|
13
|
-
elementType:
|
|
12
|
+
elementType: "GroupElement",
|
|
14
13
|
attributes: {
|
|
15
14
|
x1: properties.x1,
|
|
16
15
|
x2: properties.x2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/controls/svg/Group/Group.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/controls/svg/Group/Group.ts"],"names":[],"mappings":";;AAoCA,kCAEC;AAtCD,wDAAqG;AAWrG,MAAM,YAAa,SAAQ,iBAAyB;IAChD,YAAY,UAA4B;QACpC,KAAK,CACD;YACI,OAAO,EAAE,GAAG;YACZ,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,cAAc;oBAC3B,UAAU,EAAE;wBACR,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;qBACpB;iBACJ;aACJ,CACJ;SACJ,EACD,UAAU,CAAC,QAAQ,CACtB,CAAC;IACN,CAAC;CACJ;AAED,SAAgB,WAAW,CAAC,UAA4B;IACpD,OAAO,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LineElement = void 0;
|
|
4
4
|
exports.createLine = createLine;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const object_1 = require("../../../utilities/object/object");
|
|
7
6
|
class LineElement extends element_1.Element {
|
|
8
7
|
constructor(properties) {
|
|
9
8
|
super({
|
|
@@ -11,7 +10,7 @@ class LineElement extends element_1.Element {
|
|
|
11
10
|
properties: (0, element_1.extendProperties)({
|
|
12
11
|
target: properties,
|
|
13
12
|
preserveExisting: {
|
|
14
|
-
elementType:
|
|
13
|
+
elementType: "LineElement",
|
|
15
14
|
attributes: {
|
|
16
15
|
x1: properties.x1,
|
|
17
16
|
x2: properties.x2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.js","sourceRoot":"","sources":["../../../../src/controls/svg/Line/Line.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Line.js","sourceRoot":"","sources":["../../../../src/controls/svg/Line/Line.ts"],"names":[],"mappings":";;;AAkCA,gCAEC;AApCD,wDAA2F;AAU3F,MAAa,WAAY,SAAQ,iBAAwB;IACrD,YAAY,UAA2B;QACnC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,aAAa;oBAC1B,UAAU,EAAE;wBACR,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;qBACpB;iBACJ;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAtBD,kCAsBC;AAED,SAAgB,UAAU,CAAC,UAA2B;IAClD,OAAO,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PatternElement = void 0;
|
|
4
4
|
exports.createPattern = createPattern;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const object_1 = require("../../../utilities/object/object");
|
|
7
6
|
class PatternElement extends element_1.Element {
|
|
8
7
|
constructor(properties) {
|
|
9
8
|
super({
|
|
@@ -11,7 +10,7 @@ class PatternElement extends element_1.Element {
|
|
|
11
10
|
properties: (0, element_1.extendProperties)({
|
|
12
11
|
target: properties,
|
|
13
12
|
preserveExisting: {
|
|
14
|
-
elementType:
|
|
13
|
+
elementType: "PatternElement",
|
|
15
14
|
attributes: {
|
|
16
15
|
id: properties.id,
|
|
17
16
|
width: properties.width,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pattern.js","sourceRoot":"","sources":["../../../../src/controls/svg/Pattern/Pattern.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Pattern.js","sourceRoot":"","sources":["../../../../src/controls/svg/Pattern/Pattern.ts"],"names":[],"mappings":";;;AA6CA,sCAEC;AA/CD,wDAA2F;AAmB3F,MAAa,cAAe,SAAQ,iBAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,gBAAgB;oBAC7B,UAAU,EAAE;wBACR,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,KAAK,EAAE,UAAU,CAAC,KAAK;wBACvB,MAAM,EAAE,UAAU,CAAC,MAAM;wBACzB,YAAY,EAAE,UAAU,CAAC,YAAY;wBACrC,gBAAgB,EAAE,UAAU,CAAC,gBAAgB;qBAChD;iBACJ;aACJ,CACJ;SACJ,EACD,CAAC,UAAU,CAAC,OAAO,CAAC,CACvB,CAAC;IACN,CAAC;CACJ;AAxBD,wCAwBC;AAED,SAAgB,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -4,8 +4,6 @@ exports.PolygonElement = void 0;
|
|
|
4
4
|
exports.createPolygon = createPolygon;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
6
|
const observable_1 = require("../../../framework/observable");
|
|
7
|
-
const object_1 = require("../../../utilities/object/object");
|
|
8
|
-
const Polyline_1 = require("../Polyline/Polyline");
|
|
9
7
|
const svg_1 = require("../svg");
|
|
10
8
|
class PolygonElement extends element_1.Element {
|
|
11
9
|
constructor(properties) {
|
|
@@ -14,7 +12,7 @@ class PolygonElement extends element_1.Element {
|
|
|
14
12
|
properties: (0, element_1.extendProperties)({
|
|
15
13
|
target: properties,
|
|
16
14
|
preserveExisting: {
|
|
17
|
-
elementType:
|
|
15
|
+
elementType: "PolylineElement",
|
|
18
16
|
attributes: {
|
|
19
17
|
points: (0, svg_1.serializePoints)(observable_1.observable.unwrap(properties.points))
|
|
20
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Polygon.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polygon/Polygon.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Polygon.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polygon/Polygon.ts"],"names":[],"mappings":";;;AA8BA,sCAEC;AAhCD,wDAA2F;AAC3F,8DAA0E;AAE1E,gCAAoD;AAMpD,MAAa,cAAe,SAAQ,iBAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,iBAAiB;oBAC9B,UAAU,EAAE;wBACR,MAAM,EAAE,IAAA,qBAAe,EAAC,uBAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;qBAChE;iBACJ;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAnBD,wCAmBC;AAED,SAAgB,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -4,7 +4,6 @@ exports.PolylineElement = void 0;
|
|
|
4
4
|
exports.createPolyline = createPolyline;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
6
|
const svg_1 = require("../svg");
|
|
7
|
-
const object_1 = require("../../../utilities/object/object");
|
|
8
7
|
class PolylineElement extends element_1.Element {
|
|
9
8
|
constructor(properties) {
|
|
10
9
|
super({
|
|
@@ -12,7 +11,7 @@ class PolylineElement extends element_1.Element {
|
|
|
12
11
|
properties: (0, element_1.extendProperties)({
|
|
13
12
|
target: properties,
|
|
14
13
|
preserveExisting: {
|
|
15
|
-
elementType:
|
|
14
|
+
elementType: "PolylineElement",
|
|
16
15
|
attributes: {
|
|
17
16
|
points: (0, svg_1.serializePoints)(properties.points)
|
|
18
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Polyline.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polyline/Polyline.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Polyline.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polyline/Polyline.ts"],"names":[],"mappings":";;;AA6BA,wCAEC;AA/BD,wDAA2F;AAC3F,gCAAoD;AAOpD,MAAa,eAAgB,SAAQ,iBAA4B;IAC7D,YAAY,UAA+B;QACvC,KAAK,CACD;YACI,OAAO,EAAE,UAAU;YACnB,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,iBAAiB;oBAC9B,UAAU,EAAE;wBACR,MAAM,EAAE,IAAA,qBAAe,EAAC,UAAU,CAAC,MAAM,CAAC;qBAC7C;iBACJ;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAnBD,0CAmBC;AAED,SAAgB,cAAc,CAAC,UAA+B;IAC1D,OAAO,IAAI,eAAe,CAAC,UAAU,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RectangleElement = void 0;
|
|
4
4
|
exports.createRectangle = createRectangle;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const object_1 = require("../../../utilities/object/object");
|
|
7
6
|
class RectangleElement extends element_1.Element {
|
|
8
7
|
constructor(properties) {
|
|
9
8
|
super({
|
|
@@ -11,7 +10,7 @@ class RectangleElement extends element_1.Element {
|
|
|
11
10
|
properties: (0, element_1.extendProperties)({
|
|
12
11
|
target: properties,
|
|
13
12
|
preserveExisting: {
|
|
14
|
-
elementType:
|
|
13
|
+
elementType: "RectangleElement",
|
|
15
14
|
attributes: {
|
|
16
15
|
x: properties.x,
|
|
17
16
|
y: properties.y,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rectangle.js","sourceRoot":"","sources":["../../../../src/controls/svg/Rectangle/Rectangle.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Rectangle.js","sourceRoot":"","sources":["../../../../src/controls/svg/Rectangle/Rectangle.ts"],"names":[],"mappings":";;;AAkCA,0CAEC;AApCD,wDAA2F;AAU3F,MAAa,gBAAiB,SAAQ,iBAA6B;IAC/D,YAAY,UAAgC;QACxC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,kBAAkB;oBAC/B,UAAU,EAAE;wBACR,CAAC,EAAE,UAAU,CAAC,CAAC;wBACf,CAAC,EAAE,UAAU,CAAC,CAAC;wBACf,KAAK,EAAE,UAAU,CAAC,KAAK;wBACvB,MAAM,EAAE,UAAU,CAAC,MAAM;qBAC5B;iBACJ;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAtBD,4CAsBC;AAED,SAAgB,eAAe,CAAC,UAAgC;IAC5D,OAAO,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAC5C,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SvgElement = void 0;
|
|
4
4
|
exports.createSvg = createSvg;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const object_1 = require("../../../utilities/object/object");
|
|
7
6
|
class SvgElement extends element_1.Element {
|
|
8
7
|
constructor(properties) {
|
|
9
8
|
super({
|
|
@@ -11,7 +10,7 @@ class SvgElement extends element_1.Element {
|
|
|
11
10
|
properties: (0, element_1.extendProperties)({
|
|
12
11
|
target: properties,
|
|
13
12
|
preserveExisting: {
|
|
14
|
-
elementType:
|
|
13
|
+
elementType: "SvgElement",
|
|
15
14
|
attributes: {
|
|
16
15
|
x: properties.x,
|
|
17
16
|
y: properties.y,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Svg.js","sourceRoot":"","sources":["../../../../src/controls/svg/Svg/Svg.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Svg.js","sourceRoot":"","sources":["../../../../src/controls/svg/Svg/Svg.ts"],"names":[],"mappings":";;;AAyCA,8BAEC;AA3CD,wDAAqG;AAcrG,MAAa,UAAW,SAAQ,iBAAuB;IACnD,YAAY,UAA0B;QAClC,KAAK,CACD;YACI,OAAO,EAAE,KAAK;YACd,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,YAAY;oBACzB,UAAU,EAAE;wBACR,CAAC,EAAE,UAAU,CAAC,CAAC;wBACf,CAAC,EAAE,UAAU,CAAC,CAAC;wBACf,MAAM,EAAE,UAAU,CAAC,MAAM;wBACzB,KAAK,EAAE,UAAU,CAAC,KAAK;wBACvB,OAAO,EAAE,UAAU,CAAC,OAAO;wBAC3B,mBAAmB,EAAE,UAAU,CAAC,mBAAmB;qBACtD;iBACJ;aACJ,CACJ;SACJ,EACD,UAAU,CAAC,QAAQ,CACtB,CAAC;IACN,CAAC;CACJ;AAzBD,gCAyBC;AAED,SAAgB,SAAS,CAAC,UAA0B;IAChD,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,CAAC;AACtC,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TextElement = void 0;
|
|
4
4
|
exports.createText = createText;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const object_1 = require("../../../utilities/object/object");
|
|
7
6
|
class TextElement extends element_1.Element {
|
|
8
7
|
constructor(properties) {
|
|
9
8
|
super({
|
|
@@ -11,7 +10,7 @@ class TextElement extends element_1.Element {
|
|
|
11
10
|
properties: (0, element_1.extendProperties)({
|
|
12
11
|
target: properties,
|
|
13
12
|
preserveExisting: {
|
|
14
|
-
elementType:
|
|
13
|
+
elementType: "TextElement",
|
|
15
14
|
attributes: {
|
|
16
15
|
x: properties.x,
|
|
17
16
|
y: properties.y,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../src/controls/svg/Text/Text.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../src/controls/svg/Text/Text.ts"],"names":[],"mappings":";;;AAoCA,gCAEC;AAtCD,wDAA2F;AAW3F,MAAa,WAAY,SAAQ,iBAAwB;IACrD,YAAY,UAA2B;QACnC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,aAAa;oBAC1B,UAAU,EAAE;wBACR,CAAC,EAAE,UAAU,CAAC,CAAC;wBACf,CAAC,EAAE,UAAU,CAAC,CAAC;wBACf,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,MAAM,EAAE,UAAU,CAAC,MAAM;qBAC5B;iBACJ;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAvBD,kCAuBC;AAED,SAAgB,UAAU,CAAC,UAA2B;IAClD,OAAO,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TitleElement = void 0;
|
|
4
4
|
exports.createTitle = createTitle;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const object_1 = require("../../../utilities/object/object");
|
|
7
6
|
class TitleElement extends element_1.Element {
|
|
8
7
|
constructor(properties) {
|
|
9
8
|
super({
|
|
@@ -11,7 +10,7 @@ class TitleElement extends element_1.Element {
|
|
|
11
10
|
properties: (0, element_1.extendProperties)({
|
|
12
11
|
target: properties,
|
|
13
12
|
preserveExisting: {
|
|
14
|
-
elementType:
|
|
13
|
+
elementType: "TitleElement",
|
|
15
14
|
textContent: properties.title
|
|
16
15
|
}
|
|
17
16
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../src/controls/svg/Title/Title.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../src/controls/svg/Title/Title.ts"],"names":[],"mappings":";;;AA0BA,kCAEC;AA5BD,wDAA2F;AAO3F,MAAa,YAAa,SAAQ,iBAAyB;IACvD,YAAY,UAA4B;QACpC,KAAK,CACD;YACI,OAAO,EAAE,OAAO;YAChB,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,cAAc;oBAC3B,WAAW,EAAE,UAAU,CAAC,KAAK;iBAChC;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAjBD,oCAiBC;AAED,SAAgB,WAAW,CAAC,UAA4B;IACpD,OAAO,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC"}
|
|
@@ -3,4 +3,3 @@ export interface IWebSocketMessageHandler {
|
|
|
3
3
|
}
|
|
4
4
|
export declare function handleWebSocketMessage(context: object, message: unknown): void;
|
|
5
5
|
export declare function executeHandlerOnContext(context: object, handler: (context: any) => void, alreadyProcessedContexts?: Set<object>): void;
|
|
6
|
-
export declare function typeName(typeOrInstance: Function | object): string;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.handleWebSocketMessage = handleWebSocketMessage;
|
|
4
4
|
exports.executeHandlerOnContext = executeHandlerOnContext;
|
|
5
|
-
exports.typeName = typeName;
|
|
6
5
|
const observable_js_1 = require("../../framework/observable.js");
|
|
7
6
|
function handleWebSocketMessage(context, message) {
|
|
8
7
|
executeHandlerOnContext(context, (context) => {
|
|
@@ -45,21 +44,4 @@ function executeHandlerOnContext(context, handler, alreadyProcessedContexts) {
|
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
|
-
function typeName(typeOrInstance) {
|
|
49
|
-
let name;
|
|
50
|
-
if (typeOrInstance instanceof Function) {
|
|
51
|
-
if (typeOrInstance.prototype && typeOrInstance.prototype.constructor) {
|
|
52
|
-
name = typeOrInstance.prototype.constructor.name;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
if (typeOrInstance.constructor) {
|
|
57
|
-
name = typeOrInstance.constructor.name;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
if (name) {
|
|
61
|
-
name = name.replace(/^_*/, "");
|
|
62
|
-
}
|
|
63
|
-
return name;
|
|
64
|
-
}
|
|
65
47
|
//# sourceMappingURL=object.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object.js","sourceRoot":"","sources":["../../../src/utilities/object/object.ts"],"names":[],"mappings":";;AAKA,wDAWC;AACD,0DAsCC;
|
|
1
|
+
{"version":3,"file":"object.js","sourceRoot":"","sources":["../../../src/utilities/object/object.ts"],"names":[],"mappings":";;AAKA,wDAWC;AACD,0DAsCC;AAvDD,iEAA2D;AAK3D,SAAgB,sBAAsB,CAAC,OAAe,EAAE,OAAgB;IACpE,uBAAuB,CACnB,OAAO,EACP,CAAC,OAAO,EAAE,EAAE;QACR,MAAM,uBAAuB,GAAG,OAAmC,CAAC;QACpE,IAAI,uBAAuB,CAAC,sBAAsB,IAAI,OAAO,uBAAuB,CAAC,sBAAsB,KAAK,UAAU,EAAE,CAAC;YAEzH,uBAAuB,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;QAC5D,CAAC;IACL,CAAC,CACJ,CAAC;AACN,CAAC;AACD,SAAgB,uBAAuB,CAAC,OAAe,EAAE,OAA0B,EAAE,wBAAsC;IACvH,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAC5B,wBAAwB,GAAG,IAAI,GAAG,EAAE,CAAC;IACzC,CAAC;IAED,IAAI,CAAC,OAAO,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,wBAAwB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACnF,OAAO;IACX,CAAC;IAGD,wBAAwB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAGtC,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QACzB,KAAK,MAAM,UAAU,IAAI,OAAyB,EAAE,CAAC;YACjD,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;gBACjC,uBAAuB,CAAC,UAAU,EAAE,OAAO,EAAE,wBAAwB,CAAC,CAAC;YAC3E,CAAC;QACL,CAAC;IACL,CAAC;SAAM,CAAC;QACJ,IAAI,0BAAU,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;YACrC,MAAM,SAAS,GAAG,0BAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;YAC7C,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE,CAAC;gBAChC,uBAAuB,CAAC,SAAS,EAAE,OAAO,EAAE,wBAAwB,CAAC,CAAC;YAC1E,CAAC;QACL,CAAC;aAAM,CAAC;YAEJ,OAAO,CAAC,OAAO,CAAC,CAAC;YAGjB,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;gBACrC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;gBAC9B,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;oBAC3C,uBAAuB,CAAC,QAAQ,EAAE,OAAO,EAAE,wBAAwB,CAAC,CAAC;gBACzE,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -13,7 +13,6 @@ import { foldAll } from "@codemirror/language";
|
|
|
13
13
|
import { createButton } from "../../html/Button/Button";
|
|
14
14
|
import { formatHtml, formatCss, formatJson, formatJavascript } from "../../../utilities/formatting/formatting";
|
|
15
15
|
import { createDiv } from "../../html/Div/Div";
|
|
16
|
-
import { typeName } from "../../../utilities/object/object";
|
|
17
16
|
|
|
18
17
|
export type mode = "json" | "html" | "css" | "less" | "javascript" | "typescript";
|
|
19
18
|
|
|
@@ -31,7 +30,7 @@ export class EditorElement extends Element<IEditorProperties> {
|
|
|
31
30
|
{
|
|
32
31
|
target: properties,
|
|
33
32
|
preserveExisting: {
|
|
34
|
-
elementType:
|
|
33
|
+
elementType: "EditorElement",
|
|
35
34
|
},
|
|
36
35
|
overWriteExisting: {
|
|
37
36
|
attributes: {
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { IButtonProperties, createButton } from "../../html/Button/Button";
|
|
3
3
|
import { createInput, IInputProperties } from "../../html/Input/Input";
|
|
4
4
|
import { createClickEvent } from "../../../framework/event";
|
|
5
|
-
import { typeName } from "../../../utilities/object/object";
|
|
6
5
|
|
|
7
6
|
export interface IFileSelectorProperties extends IElementProperties {
|
|
8
7
|
button?: IButtonProperties;
|
|
@@ -18,7 +17,7 @@ export class FileSelectorElement extends Element<IFileSelectorProperties> {
|
|
|
18
17
|
{
|
|
19
18
|
target: properties,
|
|
20
19
|
preserveExisting: {
|
|
21
|
-
elementType:
|
|
20
|
+
elementType: "FileSelectorElement"
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Element, IElement, addToDictionary, ElementProperties, IElementProperties, extendProperties } from "../../../framework/element";
|
|
2
|
-
import { typeName } from "../../../utilities/object/object";
|
|
3
2
|
import { createDiv } from "../../html/Div/Div";
|
|
4
3
|
|
|
5
4
|
export interface ILabeledViewProperties extends IElementProperties {
|
|
@@ -16,7 +15,7 @@ export class LabeledControlElement extends Element<ILabeledViewProperties> {
|
|
|
16
15
|
{
|
|
17
16
|
target: properties,
|
|
18
17
|
preserveExisting: {
|
|
19
|
-
elementType:
|
|
18
|
+
elementType: "LabeledControlElement"
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
)
|
|
@@ -27,7 +26,7 @@ export class LabeledControlElement extends Element<ILabeledViewProperties> {
|
|
|
27
26
|
{
|
|
28
27
|
target: properties.labelProperties,
|
|
29
28
|
preserveExisting: {
|
|
30
|
-
elementType:
|
|
29
|
+
elementType: "LabeledControlElement"
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Element, ElementProperties, IElementProperties, extendProperties, getElement, addToDictionary } from "../../../framework/element";
|
|
2
2
|
import { ISubscribable, observable } from "../../../framework/observable";
|
|
3
|
-
import { typeName } from "../../../utilities/object/object";
|
|
4
3
|
|
|
5
4
|
//Do not change property names since they have to correspond to kendo listItems
|
|
6
5
|
//so this type can be used in kendo list controls like menu and tree
|
|
@@ -27,7 +26,7 @@ export class ListItemElement extends Element<IListItemProperties> {
|
|
|
27
26
|
{
|
|
28
27
|
target: properties,
|
|
29
28
|
preserveExisting: {
|
|
30
|
-
elementType:
|
|
29
|
+
elementType: "ListItemElement"
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Element, getElement, addToDictionary,ElementProperties, IElementProperties, extendProperties } from "../../../framework/element";
|
|
2
2
|
import { ISubscribable, observable } from "../../../framework/observable";
|
|
3
|
-
import { typeName } from "../../../utilities/object/object";
|
|
4
3
|
|
|
5
4
|
export interface IButtonProperties extends IElementProperties {
|
|
6
5
|
content?: string | ElementProperties | ISubscribable<string | ElementProperties>;
|
|
@@ -15,7 +14,7 @@ export class ButtonElement extends Element<IButtonProperties> {
|
|
|
15
14
|
{
|
|
16
15
|
target:properties,
|
|
17
16
|
preserveExisting:{
|
|
18
|
-
elementType:
|
|
17
|
+
elementType: "ButtonElement"
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Element, ElementProperties, IElement, IElementProperties, extendProperties, addToDictionary } from "../../../framework/element";
|
|
2
2
|
import { ISubscribable } from "../../../framework/observable";
|
|
3
|
-
import { typeName } from "../../../utilities/object/object";
|
|
4
3
|
|
|
5
4
|
export interface IDivProperties extends IElementProperties {
|
|
6
5
|
children?: Array<IElement> | ISubscribable<Array<IElement>>;
|
|
@@ -14,7 +13,7 @@ export class DivElement extends Element<IDivProperties> {
|
|
|
14
13
|
{
|
|
15
14
|
target: properties,
|
|
16
15
|
preserveExisting: {
|
|
17
|
-
elementType:
|
|
16
|
+
elementType: "DivElement"
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Element, addToDictionary, ElementProperties, IElementProperties, extendProperties } from "../../../framework/element";
|
|
2
2
|
import { ISubscribable } from "../../../framework/observable";
|
|
3
|
-
import { typeName } from "../../../utilities/object/object";
|
|
4
3
|
|
|
5
4
|
export interface IImageProperties extends IElementProperties {
|
|
6
5
|
src: string | ISubscribable<string>;
|
|
@@ -16,7 +15,7 @@ export class ImageElement extends Element<IImageProperties> {
|
|
|
16
15
|
{
|
|
17
16
|
target: properties,
|
|
18
17
|
preserveExisting: {
|
|
19
|
-
elementType:
|
|
18
|
+
elementType: "ImageElement"
|
|
20
19
|
},
|
|
21
20
|
overWriteExisting: {
|
|
22
21
|
attributes: {
|
|
@@ -3,7 +3,6 @@ import { isInteger } from "../../../utilities/integer/integer";
|
|
|
3
3
|
import { isFloat } from "../../../utilities/float/float";
|
|
4
4
|
import { ISubscribable, observable } from "../../../framework/observable";
|
|
5
5
|
import { isNullOrUndefined } from "../../../utilities/value/value";
|
|
6
|
-
import { typeName } from "../../../utilities/object/object";
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
export type InputType = "text" | "checkbox" | "file" | "integer" | "float" | "range" | "radio";
|
|
@@ -33,7 +32,7 @@ export class InputElement<TValue> extends Element<IInputProperties<TValue>> {
|
|
|
33
32
|
{
|
|
34
33
|
target: properties,
|
|
35
34
|
preserveExisting: {
|
|
36
|
-
elementType:
|
|
35
|
+
elementType: "InputElement"
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
38
|
)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Element, addToDictionary, ElementProperties, IElementProperties, extendProperties } from "../../../framework/element";
|
|
2
2
|
import { ISubscribable, observable } from "../../../framework/observable";
|
|
3
|
-
import { typeName } from "../../../utilities/object/object";
|
|
4
3
|
|
|
5
4
|
export interface ISelectProperties<TItem, TValue, TSetter = TValue> extends IElementProperties {
|
|
6
5
|
value?: TValue | ISubscribable<TValue>;
|
|
@@ -20,7 +19,7 @@ export class SelectElement<TItem, TValue, TSetter = TValue> extends Element<ISel
|
|
|
20
19
|
{
|
|
21
20
|
target: properties,
|
|
22
21
|
preserveExisting:{
|
|
23
|
-
elementType:
|
|
22
|
+
elementType: "SelectElement"
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
25
|
)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Element, addToDictionary, ElementProperties, IElementProperties, extendProperties } from "../../../framework/element";
|
|
2
|
-
import { typeName } from "../../../utilities/object/object";
|
|
3
2
|
|
|
4
3
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
5
4
|
export interface ISpanProperties extends IElementProperties {
|
|
@@ -15,7 +14,7 @@ export class SpanElement extends Element<ISpanProperties> {
|
|
|
15
14
|
{
|
|
16
15
|
target: properties,
|
|
17
16
|
preserveExisting: {
|
|
18
|
-
elementType:
|
|
17
|
+
elementType: "SpanElement"
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Element, ElementProperties, IElementProperties, extendProperties, addToDictionary } from "../../../framework/element";
|
|
2
2
|
import { JSONFormatter } from "json-viewer-awesome/lib/json-formatter";
|
|
3
3
|
import { ISubscribable, observable } from "../../../framework/observable";
|
|
4
|
-
import { typeName } from "../../../utilities/object/object";
|
|
5
4
|
|
|
6
5
|
export interface IJsonFormatterProperties extends IElementProperties {
|
|
7
6
|
json: object | ISubscribable<object>;
|
|
@@ -22,7 +21,7 @@ export class JsonFormatterElement extends Element<IJsonFormatterProperties> {
|
|
|
22
21
|
{
|
|
23
22
|
target: properties,
|
|
24
23
|
preserveExisting: {
|
|
25
|
-
elementType:
|
|
24
|
+
elementType: "JsonFormatterElement"
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as kendo from "@progress/kendo-ui/js/kendo.dataviz.chart";
|
|
2
2
|
import { Element, IElementProperties, extendProperties } from "../../../framework/element";
|
|
3
3
|
import { ISubscribable, observable } from "../../../framework/observable";
|
|
4
|
-
import { typeName } from "../../../utilities/object/object";
|
|
5
4
|
|
|
6
5
|
export interface IChartProperties extends IElementProperties {
|
|
7
6
|
data?: Array<unknown> | ISubscribable<Array<unknown>>;
|
|
@@ -21,7 +20,7 @@ export class ChartElement extends Element<IChartProperties> {
|
|
|
21
20
|
{
|
|
22
21
|
target: properties,
|
|
23
22
|
preserveExisting: {
|
|
24
|
-
elementType:
|
|
23
|
+
elementType: "ChartElement"
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as kendo from "@progress/kendo-ui/js/kendo.grid.js";
|
|
2
2
|
import { Element, ElementProperties, IElementProperties, extendProperties, addToDictionary } from "../../../framework/element";
|
|
3
3
|
import { ISubscribable, observable } from "../../../framework/observable";
|
|
4
|
-
import { typeName } from "../../../utilities/object/object";
|
|
5
4
|
|
|
6
5
|
export interface IGridProperties<TItem> extends IElementProperties {
|
|
7
6
|
items?: Array<TItem> | ISubscribable<Array<TItem>>;
|
|
@@ -32,7 +31,7 @@ export class GridElement<TItem> extends Element<IGridProperties<TItem>> {
|
|
|
32
31
|
{
|
|
33
32
|
target: properties,
|
|
34
33
|
preserveExisting: {
|
|
35
|
-
elementType:
|
|
34
|
+
elementType: "GridElement"
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
37
|
)
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { Element, ElementProperties, IElementProperties, extendProperties, render, applyBindings } from "../../../framework/element";
|
|
3
3
|
import { HierarchicalListItemProperties, IHierarchicalListItemProperties } from "../../custom/ListItem/ListItem";
|
|
4
4
|
import { ISubscribable, observable } from "../../../framework/observable";
|
|
5
|
-
import { typeName } from "../../../utilities/object/object";
|
|
6
5
|
const getContent = "getContent";
|
|
7
6
|
|
|
8
7
|
export interface IMenuProperties extends IElementProperties {
|
|
@@ -18,7 +17,7 @@ export class MenuElement extends Element<IMenuProperties> {
|
|
|
18
17
|
{
|
|
19
18
|
target: properties,
|
|
20
19
|
preserveExisting: {
|
|
21
|
-
elementType:
|
|
20
|
+
elementType: "MenuElement"
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
)
|