jpf 5.0.61 → 5.0.63

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 (160) hide show
  1. package/dist/controls/codeMirror/Editor/Editor.d.ts +4 -5
  2. package/dist/controls/codeMirror/Editor/Editor.js +8 -9
  3. package/dist/controls/codeMirror/Editor/Editor.js.map +1 -1
  4. package/dist/controls/custom/FileSelector/FileSelector.d.ts +3 -4
  5. package/dist/controls/custom/FileSelector/FileSelector.js +5 -6
  6. package/dist/controls/custom/FileSelector/FileSelector.js.map +1 -1
  7. package/dist/controls/custom/LabeledControl/LabeledControl.d.ts +5 -6
  8. package/dist/controls/custom/LabeledControl/LabeledControl.js +3 -4
  9. package/dist/controls/custom/LabeledControl/LabeledControl.js.map +1 -1
  10. package/dist/controls/custom/ListItem/ListItem.d.ts +8 -9
  11. package/dist/controls/custom/ListItem/ListItem.js +8 -9
  12. package/dist/controls/custom/ListItem/ListItem.js.map +1 -1
  13. package/dist/controls/html/Button/Button.d.ts +6 -7
  14. package/dist/controls/html/Button/Button.js +8 -9
  15. package/dist/controls/html/Button/Button.js.map +1 -1
  16. package/dist/controls/html/Div/Div.d.ts +4 -5
  17. package/dist/controls/html/Div/Div.js +2 -3
  18. package/dist/controls/html/Div/Div.js.map +1 -1
  19. package/dist/controls/html/Image/Image.d.ts +4 -5
  20. package/dist/controls/html/Image/Image.js +2 -3
  21. package/dist/controls/html/Image/Image.js.map +1 -1
  22. package/dist/controls/html/Input/Input.d.ts +4 -5
  23. package/dist/controls/html/Input/Input.js +23 -23
  24. package/dist/controls/html/Input/Input.js.map +1 -1
  25. package/dist/controls/html/Select/Select.d.ts +4 -5
  26. package/dist/controls/html/Select/Select.js +15 -16
  27. package/dist/controls/html/Select/Select.js.map +1 -1
  28. package/dist/controls/html/Span/Span.d.ts +3 -4
  29. package/dist/controls/html/Span/Span.js +2 -3
  30. package/dist/controls/html/Span/Span.js.map +1 -1
  31. package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.d.ts +4 -5
  32. package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.js +7 -8
  33. package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.js.map +1 -1
  34. package/dist/controls/kendo/Chart/Chart.d.ts +3 -4
  35. package/dist/controls/kendo/Chart/Chart.js +9 -10
  36. package/dist/controls/kendo/Chart/Chart.js.map +1 -1
  37. package/dist/controls/kendo/Editor/Editor.d.ts +3 -4
  38. package/dist/controls/kendo/Editor/Editor.js +13 -14
  39. package/dist/controls/kendo/Editor/Editor.js.map +1 -1
  40. package/dist/controls/kendo/Grid/Grid.d.ts +4 -5
  41. package/dist/controls/kendo/Grid/Grid.js +12 -13
  42. package/dist/controls/kendo/Grid/Grid.js.map +1 -1
  43. package/dist/controls/kendo/Menu/Menu.d.ts +3 -4
  44. package/dist/controls/kendo/Menu/Menu.js +9 -10
  45. package/dist/controls/kendo/Menu/Menu.js.map +1 -1
  46. package/dist/controls/kendo/Treeview/Treeview.d.ts +3 -4
  47. package/dist/controls/kendo/Treeview/Treeview.js +9 -10
  48. package/dist/controls/kendo/Treeview/Treeview.js.map +1 -1
  49. package/dist/controls/leaflet/LabelControl/LabelControl.d.ts +2 -3
  50. package/dist/controls/leaflet/LabelControl/LabelControl.js +1 -2
  51. package/dist/controls/leaflet/LabelControl/LabelControl.js.map +1 -1
  52. package/dist/controls/leaflet/Map/Map.d.ts +4 -5
  53. package/dist/controls/leaflet/Map/Map.js +9 -10
  54. package/dist/controls/leaflet/Map/Map.js.map +1 -1
  55. package/dist/controls/svg/Circle/Circle.d.ts +3 -4
  56. package/dist/controls/svg/Circle/Circle.js +1 -2
  57. package/dist/controls/svg/Circle/Circle.js.map +1 -1
  58. package/dist/controls/svg/Ellipse/Ellipse.d.ts +3 -4
  59. package/dist/controls/svg/Ellipse/Ellipse.js +1 -2
  60. package/dist/controls/svg/Ellipse/Ellipse.js.map +1 -1
  61. package/dist/controls/svg/ForeignObject/ForeignObject.d.ts +3 -4
  62. package/dist/controls/svg/ForeignObject/ForeignObject.js +1 -2
  63. package/dist/controls/svg/ForeignObject/ForeignObject.js.map +1 -1
  64. package/dist/controls/svg/Group/Group.d.ts +3 -4
  65. package/dist/controls/svg/Group/Group.js +1 -2
  66. package/dist/controls/svg/Group/Group.js.map +1 -1
  67. package/dist/controls/svg/Line/Line.d.ts +3 -4
  68. package/dist/controls/svg/Line/Line.js +1 -2
  69. package/dist/controls/svg/Line/Line.js.map +1 -1
  70. package/dist/controls/svg/Pattern/Pattern.d.ts +3 -4
  71. package/dist/controls/svg/Pattern/Pattern.js +1 -2
  72. package/dist/controls/svg/Pattern/Pattern.js.map +1 -1
  73. package/dist/controls/svg/Polygon/Polygon.d.ts +3 -4
  74. package/dist/controls/svg/Polygon/Polygon.js +3 -4
  75. package/dist/controls/svg/Polygon/Polygon.js.map +1 -1
  76. package/dist/controls/svg/Polyline/Polyline.d.ts +3 -4
  77. package/dist/controls/svg/Polyline/Polyline.js +1 -2
  78. package/dist/controls/svg/Polyline/Polyline.js.map +1 -1
  79. package/dist/controls/svg/Rectangle/Rectangle.d.ts +3 -4
  80. package/dist/controls/svg/Rectangle/Rectangle.js +1 -2
  81. package/dist/controls/svg/Rectangle/Rectangle.js.map +1 -1
  82. package/dist/controls/svg/Svg/Svg.d.ts +3 -4
  83. package/dist/controls/svg/Svg/Svg.js +1 -2
  84. package/dist/controls/svg/Svg/Svg.js.map +1 -1
  85. package/dist/controls/svg/Text/Text.d.ts +3 -4
  86. package/dist/controls/svg/Text/Text.js +1 -2
  87. package/dist/controls/svg/Text/Text.js.map +1 -1
  88. package/dist/controls/svg/Title/Title.d.ts +3 -4
  89. package/dist/controls/svg/Title/Title.js +1 -2
  90. package/dist/controls/svg/Title/Title.js.map +1 -1
  91. package/dist/controls/svg/svg.d.ts +1 -1
  92. package/dist/controls/svg/svg.js +5 -5
  93. package/dist/controls/svg/svg.js.map +1 -1
  94. package/dist/framework/attributes.d.ts +1 -46
  95. package/dist/framework/css.d.ts +1 -4
  96. package/dist/framework/element.d.ts +48 -15
  97. package/dist/framework/element.js +279 -29
  98. package/dist/framework/element.js.map +1 -1
  99. package/dist/framework/observable.d.ts +41 -0
  100. package/dist/framework/observable.js +46 -0
  101. package/dist/framework/observable.js.map +1 -0
  102. package/dist/framework/observablelmplementations.d.ts +1 -24
  103. package/dist/framework/observablelmplementations.js +0 -110
  104. package/dist/framework/observablelmplementations.js.map +1 -1
  105. package/dist/framework/properties.d.ts +1 -40
  106. package/dist/framework/properties.js +0 -265
  107. package/dist/framework/properties.js.map +1 -1
  108. package/dist/framework/style.d.ts +1 -328
  109. package/dist/index.d.ts +2 -4
  110. package/dist/index.js +3 -5
  111. package/dist/index.js.map +1 -1
  112. package/dist/utilities/object/object.d.ts +5 -0
  113. package/dist/utilities/object/object.js +47 -0
  114. package/dist/utilities/object/object.js.map +1 -0
  115. package/dist/utilities/value/value.d.ts +1 -0
  116. package/dist/utilities/value/value.js +7 -0
  117. package/dist/utilities/value/value.js.map +1 -0
  118. package/package.json +1 -1
  119. package/src/controls/codeMirror/Editor/Editor.ts +9 -11
  120. package/src/controls/custom/FileSelector/FileSelector.ts +5 -6
  121. package/src/controls/custom/LabeledControl/LabeledControl.ts +5 -6
  122. package/src/controls/custom/ListItem/ListItem.ts +13 -15
  123. package/src/controls/html/Button/Button.ts +13 -15
  124. package/src/controls/html/Div/Div.ts +4 -5
  125. package/src/controls/html/Image/Image.ts +4 -5
  126. package/src/controls/html/Input/Input.ts +21 -22
  127. package/src/controls/html/Select/Select.ts +16 -18
  128. package/src/controls/html/Span/Span.ts +3 -4
  129. package/src/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.ts +10 -12
  130. package/src/controls/kendo/Chart/Chart.ts +17 -19
  131. package/src/controls/kendo/Editor/Editor.ts +14 -16
  132. package/src/controls/kendo/Grid/Grid.ts +13 -15
  133. package/src/controls/kendo/Menu/Menu.ts +11 -13
  134. package/src/controls/kendo/Treeview/Treeview.ts +9 -11
  135. package/src/controls/leaflet/LabelControl/LabelControl.ts +4 -5
  136. package/src/controls/leaflet/Map/Map.ts +10 -12
  137. package/src/controls/svg/Circle/Circle.ts +3 -4
  138. package/src/controls/svg/Ellipse/Ellipse.ts +3 -4
  139. package/src/controls/svg/ForeignObject/ForeignObject.ts +3 -4
  140. package/src/controls/svg/Group/Group.ts +3 -4
  141. package/src/controls/svg/Line/Line.ts +3 -4
  142. package/src/controls/svg/Pattern/Pattern.ts +3 -4
  143. package/src/controls/svg/Polygon/Polygon.ts +4 -6
  144. package/src/controls/svg/Polyline/Polyline.ts +3 -4
  145. package/src/controls/svg/Rectangle/Rectangle.ts +3 -4
  146. package/src/controls/svg/Svg/Svg.ts +3 -4
  147. package/src/controls/svg/Text/Text.ts +3 -4
  148. package/src/controls/svg/Title/Title.ts +3 -4
  149. package/src/controls/svg/svg.ts +5 -6
  150. package/src/framework/attributes.ts +1 -47
  151. package/src/framework/css.ts +3 -5
  152. package/src/framework/element.ts +380 -44
  153. package/src/framework/observable.ts +100 -0
  154. package/src/framework/observablelmplementations.ts +135 -135
  155. package/src/framework/properties.ts +1 -342
  156. package/src/framework/style.ts +1556 -1556
  157. package/src/index.ts +2 -4
  158. package/src/utilities/object/object.ts +56 -0
  159. package/src/utilities/value/value.ts +3 -0
  160. package/src/framework/observableInterfaces.ts +0 -39
@@ -2,12 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createForeignObject = createForeignObject;
4
4
  const element_1 = require("../../../framework/element");
5
- const properties_1 = require("../../../framework/properties");
6
5
  class ForeignObjectElement extends element_1.Element {
7
6
  constructor(properties) {
8
7
  super({
9
8
  tagName: "foreignObject",
10
- properties: (0, properties_1.extendProperties)(properties, {
9
+ properties: (0, element_1.extendProperties)(properties, {
11
10
  elementType: "ForeignObject",
12
11
  attributes: {
13
12
  height: properties.height,
@@ -1 +1 @@
1
- {"version":3,"file":"ForeignObject.js","sourceRoot":"","sources":["../../../../src/controls/svg/ForeignObject/ForeignObject.ts"],"names":[],"mappings":";;AAkCA,kDAEC;AApCD,wDAA+D;AAC/D,8DAA8E;AAU9E,MAAM,oBAAqB,SAAQ,iBAAiC;IAChE,YAAY,UAAoC;QAC5C,KAAK,CACD;YACI,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,IAAA,6BAAgB,EACxB,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,SAAgB,mBAAmB,CAAC,UAAoC;IACpE,OAAO,IAAI,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAChD,CAAC"}
1
+ {"version":3,"file":"ForeignObject.js","sourceRoot":"","sources":["../../../../src/controls/svg/ForeignObject/ForeignObject.ts"],"names":[],"mappings":";;AAiCA,kDAEC;AAnCD,wDAAqG;AAUrG,MAAM,oBAAqB,SAAQ,iBAAiC;IAChE,YAAY,UAAoC;QAC5C,KAAK,CACD;YACI,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,IAAA,0BAAgB,EACxB,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,SAAgB,mBAAmB,CAAC,UAAoC;IACpE,OAAO,IAAI,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAChD,CAAC"}
@@ -1,7 +1,6 @@
1
- import { Element, IElement } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
3
- import { ISubscribable } from "../../../framework/observableInterfaces";
4
- export interface IGroupProperties extends IProperties {
1
+ import { Element, IElement, IElementProperties } from "../../../framework/element";
2
+ import { ISubscribable } from "../../../framework/observable";
3
+ export interface IGroupProperties extends IElementProperties {
5
4
  x1?: number | string | ISubscribable<number | string>;
6
5
  x2?: number | string | ISubscribable<number | string>;
7
6
  y1?: number | string | ISubscribable<number | string>;
@@ -2,12 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createGroup = createGroup;
4
4
  const element_1 = require("../../../framework/element");
5
- const properties_1 = require("../../../framework/properties");
6
5
  class GroupElement extends element_1.Element {
7
6
  constructor(properties) {
8
7
  super({
9
8
  tagName: "g",
10
- properties: (0, properties_1.extendProperties)(properties, {
9
+ properties: (0, element_1.extendProperties)(properties, {
11
10
  elementType: "Group",
12
11
  attributes: {
13
12
  x1: properties.x1,
@@ -1 +1 @@
1
- {"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/controls/svg/Group/Group.ts"],"names":[],"mappings":";;AAmCA,kCAEC;AArCD,wDAA+D;AAC/D,8DAA8E;AAW9E,MAAM,YAAa,SAAQ,iBAAyB;IAChD,YAAY,UAA4B;QACpC,KAAK,CACD;YACI,OAAO,EAAE,GAAG;YACZ,UAAU,EAAE,IAAA,6BAAgB,EACxB,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,SAAgB,WAAW,CAAC,UAA4B;IACpD,OAAO,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC"}
1
+ {"version":3,"file":"Group.js","sourceRoot":"","sources":["../../../../src/controls/svg/Group/Group.ts"],"names":[],"mappings":";;AAkCA,kCAEC;AApCD,wDAAqG;AAWrG,MAAM,YAAa,SAAQ,iBAAyB;IAChD,YAAY,UAA4B;QACpC,KAAK,CACD;YACI,OAAO,EAAE,GAAG;YACZ,UAAU,EAAE,IAAA,0BAAgB,EACxB,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,SAAgB,WAAW,CAAC,UAA4B;IACpD,OAAO,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC"}
@@ -1,7 +1,6 @@
1
- import { Element } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
3
- import { ISubscribable } from "../../../framework/observableInterfaces";
4
- export interface ILineProperties extends IProperties {
1
+ import { Element, IElementProperties } from "../../../framework/element";
2
+ import { ISubscribable } from "../../../framework/observable";
3
+ export interface ILineProperties extends IElementProperties {
5
4
  x1: number | string | ISubscribable<number | string>;
6
5
  x2: number | string | ISubscribable<number | string>;
7
6
  y1: number | string | ISubscribable<number | string>;
@@ -3,12 +3,11 @@ 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 properties_1 = require("../../../framework/properties");
7
6
  class LineElement extends element_1.Element {
8
7
  constructor(properties) {
9
8
  super({
10
9
  tagName: "line",
11
- properties: (0, properties_1.extendProperties)(properties, {
10
+ properties: (0, element_1.extendProperties)(properties, {
12
11
  elementType: "Line",
13
12
  attributes: {
14
13
  x1: properties.x1,
@@ -1 +1 @@
1
- {"version":3,"file":"Line.js","sourceRoot":"","sources":["../../../../src/controls/svg/Line/Line.ts"],"names":[],"mappings":";;;AAiCA,gCAEC;AAnCD,wDAAqD;AACrD,8DAA8E;AAU9E,MAAa,WAAY,SAAQ,iBAAwB;IACrD,YAAY,UAA2B;QACnC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,6BAAgB,EACxB,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;AApBD,kCAoBC;AAED,SAAgB,UAAU,CAAC,UAA2B;IAClD,OAAO,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC"}
1
+ {"version":3,"file":"Line.js","sourceRoot":"","sources":["../../../../src/controls/svg/Line/Line.ts"],"names":[],"mappings":";;;AAgCA,gCAEC;AAlCD,wDAA2F;AAU3F,MAAa,WAAY,SAAQ,iBAAwB;IACrD,YAAY,UAA2B;QACnC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,0BAAgB,EACxB,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;AApBD,kCAoBC;AAED,SAAgB,UAAU,CAAC,UAA2B;IAClD,OAAO,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC"}
@@ -1,14 +1,13 @@
1
- import { Element } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
1
+ import { Element, IElementProperties } from "../../../framework/element";
3
2
  import { PatternUnits } from "../../../framework/css";
4
- import { ISubscribable } from "../../../framework/observableInterfaces";
3
+ import { ISubscribable } from "../../../framework/observable";
5
4
  import { CircleElement } from "../Circle/Circle";
6
5
  import { EllipseElement } from "../Ellipse/Ellipse";
7
6
  import { LineElement } from "../Line/Line";
8
7
  import { PolygonElement } from "../Polygon/Polygon";
9
8
  import { PolylineElement } from "../Polyline/Polyline";
10
9
  import { TextElement } from "../Text/Text";
11
- export interface IPatternProperties extends IProperties {
10
+ export interface IPatternProperties extends IElementProperties {
12
11
  id: string;
13
12
  width: number | string | ISubscribable<number | string>;
14
13
  height: number | string | ISubscribable<number | string>;
@@ -3,12 +3,11 @@ 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 properties_1 = require("../../../framework/properties");
7
6
  class PatternElement extends element_1.Element {
8
7
  constructor(properties) {
9
8
  super({
10
9
  tagName: "pattern",
11
- properties: (0, properties_1.extendProperties)(properties, {
10
+ properties: (0, element_1.extendProperties)(properties, {
12
11
  elementType: "Pattern",
13
12
  attributes: {
14
13
  id: properties.id,
@@ -1 +1 @@
1
- {"version":3,"file":"Pattern.js","sourceRoot":"","sources":["../../../../src/controls/svg/Pattern/Pattern.ts"],"names":[],"mappings":";;;AA6CA,sCAEC;AA/CD,wDAAqD;AACrD,8DAA8E;AAoB9E,MAAa,cAAe,SAAQ,iBAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,IAAA,6BAAgB,EACxB,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;AAtBD,wCAsBC;AAED,SAAgB,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
1
+ {"version":3,"file":"Pattern.js","sourceRoot":"","sources":["../../../../src/controls/svg/Pattern/Pattern.ts"],"names":[],"mappings":";;;AA4CA,sCAEC;AA9CD,wDAA2F;AAoB3F,MAAa,cAAe,SAAQ,iBAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,IAAA,0BAAgB,EACxB,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;AAtBD,wCAsBC;AAED,SAAgB,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
@@ -1,8 +1,7 @@
1
- import { Element } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
3
- import { ISubscribable } from "../../../framework/observableInterfaces";
1
+ import { Element, IElementProperties } from "../../../framework/element";
2
+ import { ISubscribable } from "../../../framework/observable";
4
3
  import { ISvgPoint } from "../svg";
5
- export interface IPolygonProperties extends IProperties {
4
+ export interface IPolygonProperties extends IElementProperties {
6
5
  points: Array<ISvgPoint> | ISubscribable<Array<ISvgPoint>>;
7
6
  }
8
7
  export declare class PolygonElement extends Element<IPolygonProperties> {
@@ -3,17 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PolygonElement = void 0;
4
4
  exports.createPolygon = createPolygon;
5
5
  const element_1 = require("../../../framework/element");
6
- const properties_1 = require("../../../framework/properties");
7
- const observablelmplementations_1 = require("../../../framework/observablelmplementations");
6
+ const observable_1 = require("../../../framework/observable");
8
7
  const svg_1 = require("../svg");
9
8
  class PolygonElement extends element_1.Element {
10
9
  constructor(properties) {
11
10
  super({
12
11
  tagName: "polygon",
13
- properties: (0, properties_1.extendProperties)(properties, {
12
+ properties: (0, element_1.extendProperties)(properties, {
14
13
  elementType: "Polygon",
15
14
  attributes: {
16
- points: (0, svg_1.serializePoints)((0, observablelmplementations_1.unwrap)(properties.points))
15
+ points: (0, svg_1.serializePoints)(observable_1.observable.unwrap(properties.points))
17
16
  }
18
17
  })
19
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Polygon.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polygon/Polygon.ts"],"names":[],"mappings":";;;AA6BA,sCAEC;AA/BD,wDAAqD;AACrD,8DAA8E;AAE9E,4FAAsE;AACtE,gCAAoD;AAMpD,MAAa,cAAe,SAAQ,iBAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,IAAA,6BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,SAAS;gBACtB,UAAU,EAAE;oBACR,MAAM,EAAE,IAAA,qBAAe,EAAC,IAAA,kCAAM,EAAC,UAAU,CAAC,MAAM,CAAC,CAAC;iBACrD;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAjBD,wCAiBC;AAED,SAAgB,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
1
+ {"version":3,"file":"Polygon.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polygon/Polygon.ts"],"names":[],"mappings":";;;AA2BA,sCAEC;AA7BD,wDAA2F;AAC3F,8DAA0E;AAC1E,gCAAoD;AAMpD,MAAa,cAAe,SAAQ,iBAA2B;IAC3D,YAAY,UAA8B;QACtC,KAAK,CACD;YACI,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,IAAA,0BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,SAAS;gBACtB,UAAU,EAAE;oBACR,MAAM,EAAE,IAAA,qBAAe,EAAC,uBAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;iBAChE;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAjBD,wCAiBC;AAED,SAAgB,aAAa,CAAC,UAA8B;IACxD,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC"}
@@ -1,8 +1,7 @@
1
- import { Element } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
1
+ import { Element, IElementProperties } from "../../../framework/element";
3
2
  import { ISvgPoint } from "../svg";
4
- import { ISubscribable } from "../../../framework/observableInterfaces";
5
- export interface IPolylineProperties extends IProperties {
3
+ import { ISubscribable } from "../../../framework/observable";
4
+ export interface IPolylineProperties extends IElementProperties {
6
5
  points: Array<ISvgPoint> | ISubscribable<Array<ISvgPoint>>;
7
6
  }
8
7
  export declare class PolylineElement extends Element<IPolylineProperties> {
@@ -3,13 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PolylineElement = void 0;
4
4
  exports.createPolyline = createPolyline;
5
5
  const element_1 = require("../../../framework/element");
6
- const properties_1 = require("../../../framework/properties");
7
6
  const svg_1 = require("../svg");
8
7
  class PolylineElement extends element_1.Element {
9
8
  constructor(properties) {
10
9
  super({
11
10
  tagName: "polyline",
12
- properties: (0, properties_1.extendProperties)(properties, {
11
+ properties: (0, element_1.extendProperties)(properties, {
13
12
  elementType: "Polyline",
14
13
  attributes: {
15
14
  points: (0, svg_1.serializePoints)(properties.points)
@@ -1 +1 @@
1
- {"version":3,"file":"Polyline.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polyline/Polyline.ts"],"names":[],"mappings":";;;AA4BA,wCAEC;AA9BD,wDAAqD;AACrD,8DAA+E;AAC/E,gCAAoD;AAOpD,MAAa,eAAgB,SAAQ,iBAA4B;IAC7D,YAAY,UAA+B;QACvC,KAAK,CACD;YACI,OAAO,EAAE,UAAU;YACnB,UAAU,EAAE,IAAA,6BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,UAAU;gBACvB,UAAU,EAAE;oBACR,MAAM,EAAE,IAAA,qBAAe,EAAC,UAAU,CAAC,MAAM,CAAC;iBAC7C;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAjBD,0CAiBC;AAED,SAAgB,cAAc,CAAC,UAA+B;IAC1D,OAAO,IAAI,eAAe,CAAC,UAAU,CAAC,CAAC;AAC3C,CAAC"}
1
+ {"version":3,"file":"Polyline.js","sourceRoot":"","sources":["../../../../src/controls/svg/Polyline/Polyline.ts"],"names":[],"mappings":";;;AA2BA,wCAEC;AA7BD,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,UAAU,EACV;gBACI,WAAW,EAAE,UAAU;gBACvB,UAAU,EAAE;oBACR,MAAM,EAAE,IAAA,qBAAe,EAAC,UAAU,CAAC,MAAM,CAAC;iBAC7C;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAjBD,0CAiBC;AAED,SAAgB,cAAc,CAAC,UAA+B;IAC1D,OAAO,IAAI,eAAe,CAAC,UAAU,CAAC,CAAC;AAC3C,CAAC"}
@@ -1,7 +1,6 @@
1
- import { Element } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
3
- import { ISubscribable } from "../../../framework/observableInterfaces";
4
- export interface IRectangleProperties extends IProperties {
1
+ import { Element, IElementProperties } from "../../../framework/element";
2
+ import { ISubscribable } from "../../../framework/observable";
3
+ export interface IRectangleProperties extends IElementProperties {
5
4
  x?: number | string | ISubscribable<number | string>;
6
5
  y?: number | string | ISubscribable<number | string>;
7
6
  width?: number | string | ISubscribable<number | string>;
@@ -3,12 +3,11 @@ 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 properties_1 = require("../../../framework/properties");
7
6
  class RectangleElement extends element_1.Element {
8
7
  constructor(properties) {
9
8
  super({
10
9
  tagName: "rect",
11
- properties: (0, properties_1.extendProperties)(properties, {
10
+ properties: (0, element_1.extendProperties)(properties, {
12
11
  elementType: "Rectangle",
13
12
  attributes: {
14
13
  x: properties.x,
@@ -1 +1 @@
1
- {"version":3,"file":"Rectangle.js","sourceRoot":"","sources":["../../../../src/controls/svg/Rectangle/Rectangle.ts"],"names":[],"mappings":";;;AAiCA,0CAEC;AAnCD,wDAAqD;AACrD,8DAA+E;AAU/E,MAAa,gBAAiB,SAAQ,iBAA6B;IAC/D,YAAY,UAAgC;QACxC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,6BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,WAAW;gBACxB,UAAU,EAAE;oBACR,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,MAAM,EAAE,UAAU,CAAC,MAAM;iBAC5B;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AApBD,4CAoBC;AAED,SAAgB,eAAe,CAAC,UAAgC;IAC5D,OAAO,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAC5C,CAAC"}
1
+ {"version":3,"file":"Rectangle.js","sourceRoot":"","sources":["../../../../src/controls/svg/Rectangle/Rectangle.ts"],"names":[],"mappings":";;;AAgCA,0CAEC;AAlCD,wDAA2F;AAU3F,MAAa,gBAAiB,SAAQ,iBAA6B;IAC/D,YAAY,UAAgC;QACxC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,0BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,WAAW;gBACxB,UAAU,EAAE;oBACR,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,MAAM,EAAE,UAAU,CAAC,MAAM;iBAC5B;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AApBD,4CAoBC;AAED,SAAgB,eAAe,CAAC,UAAgC;IAC5D,OAAO,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAC5C,CAAC"}
@@ -1,8 +1,7 @@
1
- import { Element, IElement } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
1
+ import { Element, IElement, IElementProperties } from "../../../framework/element";
3
2
  import { PreserveAspectRatio } from "../../../framework/css";
4
- import { ISubscribable } from "../../../framework/observableInterfaces";
5
- export interface ISvgProperties extends IProperties {
3
+ import { ISubscribable } from "../../../framework/observable";
4
+ export interface ISvgProperties extends IElementProperties {
6
5
  x?: number | string | ISubscribable<number | string>;
7
6
  y?: number | string | ISubscribable<number | string>;
8
7
  height?: number | string | ISubscribable<number | string>;
@@ -3,12 +3,11 @@ 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 properties_1 = require("../../../framework/properties");
7
6
  class SvgElement extends element_1.Element {
8
7
  constructor(properties) {
9
8
  super({
10
9
  tagName: "svg",
11
- properties: (0, properties_1.extendProperties)(properties, {
10
+ properties: (0, element_1.extendProperties)(properties, {
12
11
  elementType: "Svg",
13
12
  attributes: {
14
13
  x: properties.x,
@@ -1 +1 @@
1
- {"version":3,"file":"Svg.js","sourceRoot":"","sources":["../../../../src/controls/svg/Svg/Svg.ts"],"names":[],"mappings":";;;AAwCA,8BAEC;AA1CD,wDAA+D;AAC/D,8DAA8E;AAc9E,MAAa,UAAW,SAAQ,iBAAuB;IACnD,YAAY,UAA0B;QAClC,KAAK,CACD;YACI,OAAO,EAAE,KAAK;YACd,UAAU,EAAE,IAAA,6BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE;oBACR,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,MAAM,EAAE,UAAU,CAAC,MAAM;oBACzB,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,OAAO,EAAE,UAAU,CAAC,OAAO;oBAC3B,mBAAmB,EAAE,UAAU,CAAC,mBAAmB;iBACtD;aACJ,CACJ;SACJ,EACD,UAAU,CAAC,QAAQ,CACtB,CAAC;IACN,CAAC;CACJ;AAvBD,gCAuBC;AAED,SAAgB,SAAS,CAAC,UAA0B;IAChD,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,CAAC;AACtC,CAAC"}
1
+ {"version":3,"file":"Svg.js","sourceRoot":"","sources":["../../../../src/controls/svg/Svg/Svg.ts"],"names":[],"mappings":";;;AAuCA,8BAEC;AAzCD,wDAAqG;AAcrG,MAAa,UAAW,SAAQ,iBAAuB;IACnD,YAAY,UAA0B;QAClC,KAAK,CACD;YACI,OAAO,EAAE,KAAK;YACd,UAAU,EAAE,IAAA,0BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE;oBACR,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,MAAM,EAAE,UAAU,CAAC,MAAM;oBACzB,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,OAAO,EAAE,UAAU,CAAC,OAAO;oBAC3B,mBAAmB,EAAE,UAAU,CAAC,mBAAmB;iBACtD;aACJ,CACJ;SACJ,EACD,UAAU,CAAC,QAAQ,CACtB,CAAC;IACN,CAAC;CACJ;AAvBD,gCAuBC;AAED,SAAgB,SAAS,CAAC,UAA0B;IAChD,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,CAAC;AACtC,CAAC"}
@@ -1,7 +1,6 @@
1
- import { Element } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
3
- import { ISubscribable } from "../../../framework/observableInterfaces";
4
- export interface ITextProperties extends IProperties {
1
+ import { Element, IElementProperties } from "../../../framework/element";
2
+ import { ISubscribable } from "../../../framework/observable";
3
+ export interface ITextProperties extends IElementProperties {
5
4
  x?: number | string | ISubscribable<number | string>;
6
5
  y?: number | string | ISubscribable<number | string>;
7
6
  dx?: number | string | ISubscribable<number | string>;
@@ -3,12 +3,11 @@ 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 properties_1 = require("../../../framework/properties");
7
6
  class TextElement extends element_1.Element {
8
7
  constructor(properties) {
9
8
  super({
10
9
  tagName: "text",
11
- properties: (0, properties_1.extendProperties)(properties, {
10
+ properties: (0, element_1.extendProperties)(properties, {
12
11
  elementType: "Text",
13
12
  attributes: {
14
13
  x: properties.x,
@@ -1 +1 @@
1
- {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../src/controls/svg/Text/Text.ts"],"names":[],"mappings":";;;AAmCA,gCAEC;AArCD,wDAAqD;AACrD,8DAA+E;AAW/E,MAAa,WAAY,SAAQ,iBAAwB;IACrD,YAAY,UAA2B;QACnC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,6BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,MAAM;gBACnB,UAAU,EAAE;oBACR,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,MAAM,EAAE,UAAU,CAAC,MAAM;iBAC5B;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AArBD,kCAqBC;AAED,SAAgB,UAAU,CAAC,UAA2B;IAClD,OAAO,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC"}
1
+ {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../src/controls/svg/Text/Text.ts"],"names":[],"mappings":";;;AAkCA,gCAEC;AApCD,wDAA2F;AAW3F,MAAa,WAAY,SAAQ,iBAAwB;IACrD,YAAY,UAA2B;QACnC,KAAK,CACD;YACI,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,IAAA,0BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,MAAM;gBACnB,UAAU,EAAE;oBACR,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,CAAC,EAAE,UAAU,CAAC,CAAC;oBACf,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,EAAE,EAAE,UAAU,CAAC,EAAE;oBACjB,MAAM,EAAE,UAAU,CAAC,MAAM;iBAC5B;aACJ,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AArBD,kCAqBC;AAED,SAAgB,UAAU,CAAC,UAA2B;IAClD,OAAO,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC"}
@@ -1,7 +1,6 @@
1
- import { Element } from "../../../framework/element";
2
- import { IProperties } from "../../../framework/properties";
3
- import { ISubscribable } from "../../../framework/observableInterfaces";
4
- export interface ITitleProperties extends IProperties {
1
+ import { Element, IElementProperties } from "../../../framework/element";
2
+ import { ISubscribable } from "../../../framework/observable";
3
+ export interface ITitleProperties extends IElementProperties {
5
4
  title: string | ISubscribable<string>;
6
5
  }
7
6
  export declare class TitleElement extends Element<ITitleProperties> {
@@ -3,12 +3,11 @@ 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 properties_1 = require("../../../framework/properties");
7
6
  class TitleElement extends element_1.Element {
8
7
  constructor(properties) {
9
8
  super({
10
9
  tagName: "title",
11
- properties: (0, properties_1.extendProperties)(properties, {
10
+ properties: (0, element_1.extendProperties)(properties, {
12
11
  elementType: "Title",
13
12
  textContent: properties.title
14
13
  })
@@ -1 +1 @@
1
- {"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../src/controls/svg/Title/Title.ts"],"names":[],"mappings":";;;AAyBA,kCAEC;AA3BD,wDAAqD;AACrD,8DAA8E;AAO9E,MAAa,YAAa,SAAQ,iBAAyB;IACvD,YAAY,UAA4B;QACpC,KAAK,CACD;YACI,OAAO,EAAE,OAAO;YAChB,UAAU,EAAE,IAAA,6BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,OAAO;gBACpB,WAAW,EAAE,UAAU,CAAC,KAAK;aAChC,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAfD,oCAeC;AAED,SAAgB,WAAW,CAAC,UAA4B;IACpD,OAAO,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC"}
1
+ {"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../src/controls/svg/Title/Title.ts"],"names":[],"mappings":";;;AAwBA,kCAEC;AA1BD,wDAA2F;AAO3F,MAAa,YAAa,SAAQ,iBAAyB;IACvD,YAAY,UAA4B;QACpC,KAAK,CACD;YACI,OAAO,EAAE,OAAO;YAChB,UAAU,EAAE,IAAA,0BAAgB,EACxB,UAAU,EACV;gBACI,WAAW,EAAE,OAAO;gBACpB,WAAW,EAAE,UAAU,CAAC,KAAK;aAChC,CACJ;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAfD,oCAeC;AAED,SAAgB,WAAW,CAAC,UAA4B;IACpD,OAAO,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ISubscribable } from "../../framework/observableInterfaces";
1
+ import { ISubscribable } from "../../framework/observable";
2
2
  export interface ISvgPoint {
3
3
  x: number;
4
4
  y: number;
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.serializePoints = serializePoints;
4
- const observablelmplementations_1 = require("../../framework/observablelmplementations");
4
+ const observable_1 = require("../../framework/observable");
5
5
  function serializePoints(points) {
6
6
  if (points) {
7
- if ((0, observablelmplementations_1.isSubscribable)(points)) {
8
- return (0, observablelmplementations_1.computed)(() => {
9
- return (0, observablelmplementations_1.unwrap)(points).map((point) => { return point.x + "," + point.y; }).join(" ");
7
+ if (observable_1.observable.isSubscribable(points)) {
8
+ return observable_1.observable.computed(() => {
9
+ return observable_1.observable.unwrap(points).map((point) => { return point.x + "," + point.y; }).join(" ");
10
10
  });
11
11
  }
12
- return (0, observablelmplementations_1.unwrap)(points).map((point) => { return point.x + "," + point.y; }).join(" ");
12
+ return observable_1.observable.unwrap(points).map((point) => { return point.x + "," + point.y; }).join(" ");
13
13
  }
14
14
  return null;
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"svg.js","sourceRoot":"","sources":["../../../src/controls/svg/svg.ts"],"names":[],"mappings":";;AAQA,0CAYC;AAnBD,yFAA6F;AAO7F,SAAgB,eAAe,CAAC,MAA0D;IACtF,IAAI,MAAM,EAAE,CAAC;QACT,IAAI,IAAA,0CAAc,EAAC,MAAM,CAAC,EAAE,CAAC;YACzB,OAAO,IAAA,oCAAQ,EACX,GAAG,EAAE;gBACD,OAAO,IAAA,kCAAM,EAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,GAAG,OAAO,KAAK,CAAC,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAA,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACvF,CAAC,CACJ,CAAC;QACN,CAAC;QACD,OAAO,IAAA,kCAAM,EAAmB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,GAAG,OAAO,KAAK,CAAC,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAA,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACzG,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"svg.js","sourceRoot":"","sources":["../../../src/controls/svg/svg.ts"],"names":[],"mappings":";;AAOA,0CAYC;AAnBD,2DAAuE;AAOvE,SAAgB,eAAe,CAAC,MAA0D;IACtF,IAAI,MAAM,EAAE,CAAC;QACT,IAAI,uBAAU,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;YACpC,OAAO,uBAAU,CAAC,QAAQ,CACtB,GAAG,EAAE;gBACD,OAAO,uBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,GAAG,OAAO,KAAK,CAAC,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAA,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAClG,CAAC,CACJ,CAAC;QACN,CAAC;QACD,OAAO,uBAAU,CAAC,MAAM,CAAmB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,GAAG,OAAO,KAAK,CAAC,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAA,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACpH,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
@@ -1,51 +1,6 @@
1
1
  import { PreserveAspectRatio } from "./css";
2
- import { ISubscribable } from "./observableInterfaces";
2
+ import { ISubscribable } from "./observable";
3
3
  export interface IAttributes {
4
- alt?: string;
5
- disabled?: string;
6
- href?: string;
7
- target?: string;
8
- id?: string;
9
- src?: string;
10
- title?: string;
11
- class?: string;
12
- tabindex?: number;
13
- draggable?: string;
14
- placeholder?: string;
15
- for?: string;
16
- type?: string;
17
- value?: string;
18
- view?: string;
19
- checked?: string;
20
- enctype?: string;
21
- name?: string;
22
- multiple?: boolean;
23
- ["aria-label"]?: string;
24
- cx?: number | string;
25
- cy?: number | string;
26
- r?: number | string;
27
- rx?: number | string;
28
- ry?: number | string;
29
- x?: number | string;
30
- x1?: number | string;
31
- x2?: number | string;
32
- y?: number | string;
33
- y1?: number | string;
34
- y2?: number | string;
35
- width?: number | string;
36
- height?: number | string;
37
- patternUnits?: string;
38
- patternTransform?: string;
39
- points?: string;
40
- viewBox?: string;
41
- dx?: number | string;
42
- dy?: number | string;
43
- rotate?: string;
44
- preserveAspectRatio?: PreserveAspectRatio;
45
- xmlns?: string;
46
- info?: string;
47
- }
48
- export interface IAttributesSubscribable {
49
4
  alt?: string | ISubscribable<string>;
50
5
  disabled?: string | ISubscribable<string>;
51
6
  href?: string | ISubscribable<string>;
@@ -1,9 +1,7 @@
1
1
  export type PatternUnits = "userSpaceOnUse" | "objectboudingBox";
2
2
  export type DropEffect = "none" | "copy" | "link" | "move";
3
3
  export type EffectAllowed = "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized";
4
- type CssPropertyA = "alignContent" | "alignItems" | "alignSelf" | "alignmentAdjust" | "alignmentBaseline" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "appearance" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundComposite" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "baselineShift" | "behavior" | "border" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderCornerShape" | "borderImageSource" | "borderImageWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxLineProgression" | "boxLines" | "boxOrdinalGroup" | "boxFlex" | "boxSizing" | "boxShadow" | "boxFlexGroup" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "clear" | "clip" | "clipRule" | "color" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "content" | "counterIncrement" | "counterReset" | "cue" | "cueAfter" | "cursor" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexAlign" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexItemAlign" | "flexLinePack" | "flexPositive" | "flexNegative" | "flexOrder" | "flexShrink" | "flexWrap" | "float" | "flowFrom" | "font" | "fontFamily" | "fontKerning" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontWeight" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnGap" | "gridColumnEnd" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridRowPosition" | "gridRowSpan" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "hyphenateLimitChars" | "hyphenateLimitLines" | "hyphenateLimitZone" | "hyphens" | "imeMode" | "justifyContent" | "justifyItems" | "justifySelf";
5
- type CssPropertyL = "layoutGrid" | "layoutGridChar" | "layoutGridLine" | "layoutGridMode" | "layoutGridType" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "marqueeDirection" | "marqueeStyle" | "mask" | "maskBorder" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskOrigin" | "maxFontSize" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineStyle" | "outlineOffset" | "outlineWidth" | "overflow" | "overflowStyle" | "overflowWrap" | "overflowX" | "overflowY" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "pause" | "pauseAfter" | "pauseBefore" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "punctuationTrim" | "quotes" | "regionFragment" | "resize" | "restAfter" | "restBefore" | "right" | "rubyAlign" | "rubyPosition" | "rx" | "ry" | "shapeImageThreshold" | "shapeInside" | "shapeMargin" | "shapeOutside" | "speak" | "speakAs" | "src" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAnchor" | "textAlign" | "textAlignLast" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationLineThrough" | "textDecorationNone" | "textDecorationOverline" | "textDecorationSkip" | "textDecorationStyle" | "textDecorationUnderline" | "textEmphasis" | "textEmphasisColor" | "textEmphasisStyle" | "textHeight" | "textIndent" | "textJustifyTrim" | "textKashidaSpace" | "textLineThrough" | "textLineThroughColor" | "textLineThroughMode" | "textLineThroughStyle" | "textLineThroughWidth" | "textOverflow" | "textOverline" | "textOverlineColor" | "textOverlineMode" | "textOverlineStyle" | "textOverlineWidth" | "textRendering" | "textScript" | "textShadow" | "textTransform" | "textUnderlinePosition" | "textUnderlineStyle" | "top" | "touchAction" | "transform" | "transformOrigin" | "transformOriginZ" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "unicodeBidi" | "unicodeRange" | "userFocus" | "userInput" | "userSelect" | "verticalAlign" | "visibility" | "voiceBalance" | "voiceDuration" | "voiceFamily" | "voicePitch" | "voiceRange" | "voiceRate" | "voiceStress" | "voiceVolume" | "whiteSpace" | "whiteSpaceTreatment" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "wrapFlow" | "wrapMargin" | "wrapOption" | "writingMode" | "zIndex" | "zoom";
6
- export type CssProperty = CssPropertyA | CssPropertyL;
4
+ export type CssProperty = "alignContent" | "alignItems" | "alignSelf" | "alignmentAdjust" | "alignmentBaseline" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "appearance" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundComposite" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "baselineShift" | "behavior" | "border" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderCornerShape" | "borderImageSource" | "borderImageWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxLineProgression" | "boxLines" | "boxOrdinalGroup" | "boxFlex" | "boxSizing" | "boxShadow" | "boxFlexGroup" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "clear" | "clip" | "clipRule" | "color" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "content" | "counterIncrement" | "counterReset" | "cue" | "cueAfter" | "cursor" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexAlign" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexItemAlign" | "flexLinePack" | "flexPositive" | "flexNegative" | "flexOrder" | "flexShrink" | "flexWrap" | "float" | "flowFrom" | "font" | "fontFamily" | "fontKerning" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontWeight" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnGap" | "gridColumnEnd" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridRowPosition" | "gridRowSpan" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "hyphenateLimitChars" | "hyphenateLimitLines" | "hyphenateLimitZone" | "hyphens" | "imeMode" | "justifyContent" | "justifyItems" | "justifySelf" | "layoutGrid" | "layoutGridChar" | "layoutGridLine" | "layoutGridMode" | "layoutGridType" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "marqueeDirection" | "marqueeStyle" | "mask" | "maskBorder" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskOrigin" | "maxFontSize" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineStyle" | "outlineOffset" | "outlineWidth" | "overflow" | "overflowStyle" | "overflowWrap" | "overflowX" | "overflowY" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "pause" | "pauseAfter" | "pauseBefore" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "punctuationTrim" | "quotes" | "regionFragment" | "resize" | "restAfter" | "restBefore" | "right" | "rubyAlign" | "rubyPosition" | "rx" | "ry" | "shapeImageThreshold" | "shapeInside" | "shapeMargin" | "shapeOutside" | "speak" | "speakAs" | "src" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAnchor" | "textAlign" | "textAlignLast" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationLineThrough" | "textDecorationNone" | "textDecorationOverline" | "textDecorationSkip" | "textDecorationStyle" | "textDecorationUnderline" | "textEmphasis" | "textEmphasisColor" | "textEmphasisStyle" | "textHeight" | "textIndent" | "textJustifyTrim" | "textKashidaSpace" | "textLineThrough" | "textLineThroughColor" | "textLineThroughMode" | "textLineThroughStyle" | "textLineThroughWidth" | "textOverflow" | "textOverline" | "textOverlineColor" | "textOverlineMode" | "textOverlineStyle" | "textOverlineWidth" | "textRendering" | "textScript" | "textShadow" | "textTransform" | "textUnderlinePosition" | "textUnderlineStyle" | "top" | "touchAction" | "transform" | "transformOrigin" | "transformOriginZ" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "unicodeBidi" | "unicodeRange" | "userFocus" | "userInput" | "userSelect" | "verticalAlign" | "visibility" | "voiceBalance" | "voiceDuration" | "voiceFamily" | "voicePitch" | "voiceRange" | "voiceRate" | "voiceStress" | "voiceVolume" | "whiteSpace" | "whiteSpaceTreatment" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "wrapFlow" | "wrapMargin" | "wrapOption" | "writingMode" | "zIndex" | "zoom";
7
5
  export type CssValue<T> = T | T[];
8
6
  export type CssValueGeneral = CssValue<number | string>;
9
7
  export type CssValueString = CssValue<string>;
@@ -84,4 +82,3 @@ export type VerticalAlign = CssGlobalValues | "baseline" | "sub" | "super" | "te
84
82
  export type WritingMode = CssGlobalValues | "horizontal-tb" | "vertical-rl" | "vertical-lr" | "sideways-rl" | "sideways-lr";
85
83
  export type CssStyleName = "alignContent" | "alignItems";
86
84
  export type PreserveAspectRatio = "none" | "xMinYMin" | "xMidYMin" | "xMaxYMin" | "xMinYMid" | "xMidYMid" | "xMaxYMid" | "xMinYMax" | "xMidYMax" | "xMaxYMax" | "meet" | "slice";
87
- export {};
@@ -1,6 +1,8 @@
1
1
  import "tocca";
2
- import { IDisposer, ISubscribable } from "./observableInterfaces";
3
- import { IProperties, Properties } from "./properties";
2
+ import { IDisposer, ISubscribable } from "./observable";
3
+ import { IEventListener } from "./event";
4
+ import { IAttributes } from "./attributes";
5
+ import { IStyle } from "./style";
4
6
  declare const htmlTags: {
5
7
  a: boolean;
6
8
  div: boolean;
@@ -28,34 +30,65 @@ declare const svgTags: {
28
30
  foreignObject: boolean;
29
31
  };
30
32
  type TagName = keyof typeof htmlTags | keyof typeof svgTags;
33
+ export interface IElementProperties {
34
+ attributes?: IAttributes;
35
+ classNames?: Array<string> | ISubscribable<Array<string>>;
36
+ style?: IStyle;
37
+ visible?: boolean | ISubscribable<boolean>;
38
+ disabled?: boolean | ISubscribable<boolean>;
39
+ innerHtml?: string | ISubscribable<string>;
40
+ textContent?: string | ISubscribable<string>;
41
+ addViewModelToDataObject?: boolean;
42
+ userSelectable?: boolean;
43
+ eventListeners?: Array<IEventListener>;
44
+ elementType?: string;
45
+ focused?: boolean | ISubscribable<boolean>;
46
+ }
47
+ export interface IElementOptions<TElementProperties> {
48
+ tagName: TagName;
49
+ properties?: TElementProperties;
50
+ }
31
51
  export interface IElement {
32
52
  render(): HTMLElement;
33
53
  unmount(): void;
34
54
  }
35
- export interface IElementOptions<TProperties> {
36
- tagName: TagName;
37
- properties?: TProperties;
38
- }
39
- export declare class Element<TProperties = IProperties> implements IElement {
40
- constructor(options: IElementOptions<TProperties>, children?: Array<IElement> | ISubscribable<Array<IElement>>);
55
+ export declare class Element<TElementProperties = IElementProperties> implements IElement {
56
+ constructor(options: IElementOptions<TElementProperties>, children?: Array<IElement> | ISubscribable<Array<IElement>>);
41
57
  private readonly tagName;
42
58
  private readonly optionsChildren;
43
59
  private children;
44
60
  private buildChildren;
45
- protected element: HTMLElement;
46
- protected readonly properties: TProperties;
61
+ protected htmlElement: HTMLElement;
62
+ protected readonly properties: TElementProperties;
47
63
  protected readonly disposers: IDisposer[];
48
64
  protected build(): void;
49
65
  protected remove(): void;
50
- protected addChild(child: IElement): Element<TProperties>;
51
- protected setChildren(...children: Array<IElement>): Element<TProperties>;
66
+ protected addChild(child: IElement): Element<TElementProperties>;
67
+ protected setChildren(...children: Array<IElement>): Element<TElementProperties>;
52
68
  protected empty(): void;
53
69
  render(): HTMLElement;
54
70
  unmount(): void;
55
71
  focus(options?: FocusOptions): void;
56
72
  }
57
- export declare function element<TProperties>(options: IElementOptions<TProperties>, children?: Array<IElement> | ISubscribable<Array<IElement>>): Element<TProperties>;
73
+ export declare abstract class ElementProperties implements IElementProperties {
74
+ protected setProperties<TProperties>(object: object, properties?: TProperties): void;
75
+ attributes?: IAttributes;
76
+ classNames?: Array<string> | ISubscribable<Array<string>>;
77
+ style?: IStyle;
78
+ visible?: boolean | ISubscribable<boolean>;
79
+ disabled?: boolean | ISubscribable<boolean>;
80
+ innerHtml?: string | ISubscribable<string>;
81
+ textContent?: string | ISubscribable<string>;
82
+ addViewModelToDataObject?: boolean;
83
+ userSelectable?: boolean;
84
+ eventListeners?: Array<IEventListener>;
85
+ elementType?: string;
86
+ focused?: boolean | ISubscribable<boolean>;
87
+ }
88
+ export declare function extendProperties<TTarget = IElementProperties, TOverwritingProperties = TTarget, TPreserveExistingProperties = TTarget>(target: TTarget, preserveExisting: TPreserveExistingProperties, overWriteExisting?: TOverwritingProperties): TTarget;
89
+ export declare function createElement<TProperties>(options: IElementOptions<TProperties>, children?: Array<IElement> | ISubscribable<Array<IElement>>): Element<TProperties>;
90
+ export declare function applyBindings(properties: IElementProperties, element: HTMLElement, disposers: Array<IDisposer>): void;
58
91
  export declare function addElementToDictionary(properties: Function, element: Function): void;
59
- export declare function getElement(properties: Properties): Element;
60
- export declare function render(properties: Properties): HTMLElement;
92
+ export declare function getElement(properties: IElementProperties): IElement;
93
+ export declare function render(properties: IElementProperties): HTMLElement;
61
94
  export {};