jpf 5.0.3 → 5.0.7

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 (292) hide show
  1. package/dist/controls/codeMirror/Editor/Editor.d.ts +19 -0
  2. package/dist/controls/codeMirror/Editor/Editor.js +151 -0
  3. package/dist/controls/codeMirror/Editor/Editor.js.map +1 -0
  4. package/dist/controls/codeMirror/index.d.ts +1 -2
  5. package/dist/controls/codeMirror/index.js +1 -2
  6. package/dist/controls/codeMirror/index.js.map +1 -1
  7. package/dist/controls/custom/FileSelector/FileSelector.d.ts +18 -18
  8. package/dist/controls/custom/FileSelector/FileSelector.js +47 -46
  9. package/dist/controls/custom/FileSelector/FileSelector.js.map +1 -1
  10. package/dist/controls/custom/LabeledControl/LabeledControl.d.ts +15 -15
  11. package/dist/controls/custom/LabeledControl/LabeledControl.js +31 -36
  12. package/dist/controls/custom/LabeledControl/LabeledControl.js.map +1 -1
  13. package/dist/controls/custom/ListItem/ListItem.d.ts +37 -36
  14. package/dist/controls/custom/ListItem/ListItem.js +62 -62
  15. package/dist/controls/custom/ListItem/ListItem.js.map +1 -1
  16. package/dist/controls/custom/index.d.ts +3 -3
  17. package/dist/controls/custom/index.js +3 -3
  18. package/dist/controls/html/Button/Button.d.ts +16 -16
  19. package/dist/controls/html/Button/Button.js +47 -50
  20. package/dist/controls/html/Button/Button.js.map +1 -1
  21. package/dist/controls/html/Div/Div.d.ts +14 -14
  22. package/dist/controls/html/Div/Div.js +23 -24
  23. package/dist/controls/html/Div/Div.js.map +1 -1
  24. package/dist/controls/html/Image/Image.d.ts +16 -16
  25. package/dist/controls/html/Image/Image.js +29 -28
  26. package/dist/controls/html/Image/Image.js.map +1 -1
  27. package/dist/controls/html/Input/Input.d.ts +34 -34
  28. package/dist/controls/html/Input/Input.js +166 -170
  29. package/dist/controls/html/Input/Input.js.map +1 -1
  30. package/dist/controls/html/Select/Select.d.ts +30 -30
  31. package/dist/controls/html/Select/Select.js +109 -110
  32. package/dist/controls/html/Select/Select.js.map +1 -1
  33. package/dist/controls/html/Span/Span.d.ts +11 -11
  34. package/dist/controls/html/Span/Span.js +22 -22
  35. package/dist/controls/html/Span/Span.js.map +1 -1
  36. package/dist/controls/html/index.d.ts +6 -6
  37. package/dist/controls/html/index.js +6 -6
  38. package/dist/controls/index.d.ts +14 -14
  39. package/dist/controls/index.js +14 -14
  40. package/dist/controls/index.js.map +1 -1
  41. package/dist/controls/{jsonViewAwesome → jsonViewerAwesome}/index.d.ts +1 -1
  42. package/dist/controls/{jsonViewAwesome → jsonViewerAwesome}/index.js +1 -1
  43. package/dist/controls/jsonViewerAwesome/index.js.map +1 -0
  44. package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.d.ts +28 -0
  45. package/dist/controls/{jsonViewAwesome → jsonViewerAwesome}/jsonFormatter/JsonFormatter.js +65 -65
  46. package/dist/controls/jsonViewerAwesome/jsonFormatter/JsonFormatter.js.map +1 -0
  47. package/dist/controls/kendo/Chart/Chart.d.ts +19 -19
  48. package/dist/controls/kendo/Chart/Chart.js +62 -62
  49. package/dist/controls/kendo/Chart/Chart.js.map +1 -1
  50. package/dist/controls/kendo/Culture/Culture.d.ts +1 -1
  51. package/dist/controls/kendo/Culture/Culture.js +25 -25
  52. package/dist/controls/kendo/Culture/Culture.js.map +1 -1
  53. package/dist/controls/kendo/DataSource/DataSource.d.ts +4 -4
  54. package/dist/controls/kendo/DataSource/DataSource.js +1 -1
  55. package/dist/controls/kendo/Editor/Editor.d.ts +14 -19
  56. package/dist/controls/kendo/Editor/Editor.js +94 -104
  57. package/dist/controls/kendo/Editor/Editor.js.map +1 -1
  58. package/dist/controls/kendo/Grid/Grid.d.ts +54 -54
  59. package/dist/controls/kendo/Grid/Grid.js +201 -218
  60. package/dist/controls/kendo/Grid/Grid.js.map +1 -1
  61. package/dist/controls/kendo/Menu/Menu.d.ts +15 -15
  62. package/dist/controls/kendo/Menu/Menu.js +90 -90
  63. package/dist/controls/kendo/Menu/Menu.js.map +1 -1
  64. package/dist/controls/kendo/ObservableObject/ObservableObject.d.ts +0 -5
  65. package/dist/controls/kendo/ObservableObject/ObservableObject.js +0 -34
  66. package/dist/controls/kendo/ObservableObject/ObservableObject.js.map +1 -1
  67. package/dist/controls/kendo/Treeview/Treeview.d.ts +17 -0
  68. package/dist/controls/kendo/{Tree/Tree.js → Treeview/Treeview.js} +107 -107
  69. package/dist/controls/kendo/Treeview/Treeview.js.map +1 -0
  70. package/dist/controls/kendo/Window/Window.d.ts +14 -0
  71. package/dist/controls/kendo/{Dialog/Dialog.js → Window/Window.js} +49 -49
  72. package/dist/controls/kendo/Window/Window.js.map +1 -0
  73. package/dist/controls/kendo/index.d.ts +8 -9
  74. package/dist/controls/kendo/index.js +8 -9
  75. package/dist/controls/kendo/index.js.map +1 -1
  76. package/dist/controls/leaflet/LabelControl/LabelControl.d.ts +12 -12
  77. package/dist/controls/leaflet/LabelControl/LabelControl.js +33 -33
  78. package/dist/controls/leaflet/LabelControl/LabelControl.js.map +1 -1
  79. package/dist/controls/leaflet/Map/Map.d.ts +45 -45
  80. package/dist/controls/leaflet/Map/Map.js +116 -115
  81. package/dist/controls/leaflet/Map/Map.js.map +1 -1
  82. package/dist/controls/leaflet/OpenStreetMapTileLayer/OpenStreetMapTileLayer.d.ts +8 -8
  83. package/dist/controls/leaflet/OpenStreetMapTileLayer/OpenStreetMapTileLayer.js +13 -13
  84. package/dist/controls/leaflet/OpenStreetMapTileLayer/OpenStreetMapTileLayer.js.map +1 -1
  85. package/dist/controls/leaflet/PointerEvent/PointerEvent.d.ts +2 -2
  86. package/dist/controls/leaflet/PointerEvent/PointerEvent.js +7 -7
  87. package/dist/controls/leaflet/PointerEvent/PointerEvent.js.map +1 -1
  88. package/dist/controls/leaflet/index.d.ts +4 -4
  89. package/dist/controls/leaflet/index.js +4 -4
  90. package/dist/controls/svg/Circle/Circle.d.ts +12 -12
  91. package/dist/controls/svg/Circle/Circle.js +20 -20
  92. package/dist/controls/svg/Circle/Circle.js.map +1 -1
  93. package/dist/controls/svg/Ellipse/Ellipse.d.ts +13 -13
  94. package/dist/controls/svg/Ellipse/Ellipse.js +21 -21
  95. package/dist/controls/svg/Ellipse/Ellipse.js.map +1 -1
  96. package/dist/controls/svg/ForeignObject/ForeignObject.d.ts +15 -14
  97. package/dist/controls/svg/ForeignObject/ForeignObject.js +21 -22
  98. package/dist/controls/svg/ForeignObject/ForeignObject.js.map +1 -1
  99. package/dist/controls/svg/Group/Group.d.ts +15 -14
  100. package/dist/controls/svg/Group/Group.js +21 -22
  101. package/dist/controls/svg/Group/Group.js.map +1 -1
  102. package/dist/controls/svg/Line/Line.d.ts +13 -13
  103. package/dist/controls/svg/Line/Line.js +21 -21
  104. package/dist/controls/svg/Line/Line.js.map +1 -1
  105. package/dist/controls/svg/Pattern/Pattern.d.ts +22 -22
  106. package/dist/controls/svg/Pattern/Pattern.js +22 -23
  107. package/dist/controls/svg/Pattern/Pattern.js.map +1 -1
  108. package/dist/controls/svg/Polygon/Polygon.d.ts +11 -11
  109. package/dist/controls/svg/Polygon/Polygon.js +20 -20
  110. package/dist/controls/svg/Polygon/Polygon.js.map +1 -1
  111. package/dist/controls/svg/Polyline/Polyline.d.ts +11 -11
  112. package/dist/controls/svg/Polyline/Polyline.js +19 -19
  113. package/dist/controls/svg/Polyline/Polyline.js.map +1 -1
  114. package/dist/controls/svg/Rectangle/Rectangle.d.ts +13 -13
  115. package/dist/controls/svg/Rectangle/Rectangle.js +21 -21
  116. package/dist/controls/svg/Rectangle/Rectangle.js.map +1 -1
  117. package/dist/controls/svg/Svg/Svg.d.ts +17 -17
  118. package/dist/controls/svg/Svg/Svg.js +23 -24
  119. package/dist/controls/svg/Svg/Svg.js.map +1 -1
  120. package/dist/controls/svg/Text/Text.d.ts +14 -14
  121. package/dist/controls/svg/Text/Text.js +22 -22
  122. package/dist/controls/svg/Text/Text.js.map +1 -1
  123. package/dist/controls/svg/Title/Title.d.ts +10 -10
  124. package/dist/controls/svg/Title/Title.js +16 -16
  125. package/dist/controls/svg/Title/Title.js.map +1 -1
  126. package/dist/controls/svg/index.d.ts +13 -13
  127. package/dist/controls/svg/index.js +13 -13
  128. package/dist/controls/svg/svg.d.ts +6 -6
  129. package/dist/controls/svg/svg.js +12 -12
  130. package/dist/controls/svg/svg.js.map +1 -1
  131. package/dist/framework/attributes.d.ts +90 -90
  132. package/dist/framework/attributes.js +1 -1
  133. package/dist/framework/{View.d.ts → element.d.ts} +61 -62
  134. package/dist/framework/{View.js → element.js} +157 -150
  135. package/dist/framework/element.js.map +1 -0
  136. package/dist/framework/event.d.ts +80 -80
  137. package/dist/framework/event.js +25 -25
  138. package/dist/framework/event.js.map +1 -1
  139. package/dist/framework/observable.d.ts +37 -12
  140. package/dist/framework/observable.js +66 -58
  141. package/dist/framework/observable.js.map +1 -1
  142. package/dist/framework/properties.d.ts +40 -0
  143. package/dist/framework/{ViewModel.js → properties.js} +303 -312
  144. package/dist/framework/properties.js.map +1 -0
  145. package/dist/framework/root.d.ts +9 -0
  146. package/dist/framework/root.js +38 -0
  147. package/dist/framework/root.js.map +1 -0
  148. package/dist/framework/style.d.ts +657 -658
  149. package/dist/framework/style.js +146 -153
  150. package/dist/framework/style.js.map +1 -1
  151. package/dist/framework/types.d.ts +87 -87
  152. package/dist/framework/types.js +1 -1
  153. package/dist/index.d.ts +12 -12
  154. package/dist/index.js +12 -12
  155. package/dist/index.js.map +1 -1
  156. package/dist/utilities/blob/blob.d.ts +1 -1
  157. package/dist/utilities/blob/blob.js +17 -17
  158. package/dist/utilities/blob/blob.js.map +1 -1
  159. package/dist/utilities/contextMenu/contextMenu.d.ts +2 -0
  160. package/dist/utilities/contextMenu/contextMenu.js +11 -0
  161. package/dist/utilities/contextMenu/contextMenu.js.map +1 -0
  162. package/dist/utilities/cookie/cookie.d.ts +3 -3
  163. package/dist/utilities/cookie/cookie.js +26 -26
  164. package/dist/utilities/cookie/cookie.js.map +1 -1
  165. package/dist/utilities/dataReaderTable/dataReaderTable.d.ts +9 -9
  166. package/dist/utilities/dataReaderTable/dataReaderTable.js +23 -23
  167. package/dist/utilities/dataReaderTable/dataReaderTable.js.map +1 -1
  168. package/dist/utilities/fetch/fetch.d.ts +7 -8
  169. package/dist/utilities/fetch/fetch.js +139 -137
  170. package/dist/utilities/fetch/fetch.js.map +1 -1
  171. package/dist/utilities/float/float.d.ts +1 -1
  172. package/dist/utilities/float/float.js +3 -3
  173. package/dist/utilities/formData/formData.d.ts +1 -1
  174. package/dist/utilities/formData/formData.js +11 -11
  175. package/dist/utilities/formData/formData.js.map +1 -1
  176. package/dist/utilities/formatting/formatting.d.ts +4 -0
  177. package/dist/utilities/formatting/formatting.js +26 -0
  178. package/dist/utilities/formatting/formatting.js.map +1 -0
  179. package/dist/utilities/htmlElement/htmlElement.d.ts +1 -1
  180. package/dist/utilities/htmlElement/htmlElement.js +16 -16
  181. package/dist/utilities/htmlElement/htmlElement.js.map +1 -1
  182. package/dist/utilities/image/image.d.ts +1 -1
  183. package/dist/utilities/image/image.js +1 -1
  184. package/dist/utilities/index.d.ts +40 -36
  185. package/dist/utilities/index.js +40 -36
  186. package/dist/utilities/index.js.map +1 -1
  187. package/dist/utilities/integer/integer.d.ts +3 -3
  188. package/dist/utilities/integer/integer.js +27 -27
  189. package/dist/utilities/integer/integer.js.map +1 -1
  190. package/dist/utilities/key/key.d.ts +2 -2
  191. package/dist/utilities/key/key.js +6 -6
  192. package/dist/utilities/navigator/navigator.d.ts +1 -1
  193. package/dist/utilities/navigator/navigator.js +8 -8
  194. package/dist/utilities/navigator/navigator.js.map +1 -1
  195. package/dist/utilities/notification/notification.d.ts +5 -5
  196. package/dist/utilities/notification/notification.js +66 -66
  197. package/dist/utilities/notification/notification.js.map +1 -1
  198. package/dist/utilities/querystring/querystring.d.ts +6 -6
  199. package/dist/utilities/querystring/querystring.js +53 -53
  200. package/dist/utilities/querystring/querystring.js.map +1 -1
  201. package/dist/utilities/router/router.d.ts +19 -19
  202. package/dist/utilities/router/router.js +80 -80
  203. package/dist/utilities/router/router.js.map +1 -1
  204. package/dist/utilities/stylesheet/stylesheet.d.ts +2 -2
  205. package/dist/utilities/stylesheet/stylesheet.js +47 -47
  206. package/dist/utilities/stylesheet/stylesheet.js.map +1 -1
  207. package/dist/utilities/uniqueId/uniqueId.d.ts +1 -1
  208. package/dist/utilities/uniqueId/uniqueId.js +4 -4
  209. package/dist/{framework → utilities/userAgent}/userAgent.d.ts +31 -31
  210. package/dist/{framework → utilities/userAgent}/userAgent.js +46 -46
  211. package/dist/utilities/userAgent/userAgent.js.map +1 -0
  212. package/dist/utilities/webSocket/webSocket.d.ts +1 -1
  213. package/dist/utilities/webSocket/webSocket.js +54 -54
  214. package/dist/utilities/webSocket/webSocket.js.map +1 -1
  215. package/package.json +15 -11
  216. package/src/controls/codeMirror/Editor/Editor.ts +207 -0
  217. package/src/controls/codeMirror/index.ts +1 -2
  218. package/src/controls/custom/FileSelector/FileSelector.ts +30 -28
  219. package/src/controls/custom/LabeledControl/LabeledControl.ts +32 -36
  220. package/src/controls/custom/ListItem/ListItem.ts +37 -37
  221. package/src/controls/html/Button/Button.ts +37 -30
  222. package/src/controls/html/Div/Div.ts +20 -21
  223. package/src/controls/html/Image/Image.ts +22 -20
  224. package/src/controls/html/Input/Input.ts +63 -65
  225. package/src/controls/html/Select/Select.ts +39 -41
  226. package/src/controls/html/Span/Span.ts +14 -14
  227. package/src/controls/index.ts +2 -2
  228. package/src/controls/{jsonViewAwesome → jsonViewerAwesome}/jsonFormatter/JsonFormatter.ts +24 -24
  229. package/src/controls/kendo/Chart/Chart.ts +37 -37
  230. package/src/controls/kendo/DataSource/DataSource.ts +1 -1
  231. package/src/controls/kendo/Editor/Editor.ts +59 -69
  232. package/src/controls/kendo/Grid/Grid.ts +81 -84
  233. package/src/controls/kendo/Menu/Menu.ts +24 -24
  234. package/src/controls/kendo/ObservableObject/ObservableObject.ts +45 -45
  235. package/src/controls/kendo/{Tree/Tree.ts → Treeview/Treeview.ts} +17 -17
  236. package/src/controls/kendo/{Dialog/Dialog.ts → Window/Window.ts} +21 -19
  237. package/src/controls/kendo/index.ts +3 -3
  238. package/src/controls/leaflet/LabelControl/LabelControl.ts +10 -10
  239. package/src/controls/leaflet/Map/Map.ts +44 -41
  240. package/src/controls/leaflet/OpenStreetMapTileLayer/OpenStreetMapTileLayer.ts +3 -3
  241. package/src/controls/svg/Circle/Circle.ts +14 -14
  242. package/src/controls/svg/Ellipse/Ellipse.ts +15 -15
  243. package/src/controls/svg/ForeignObject/ForeignObject.ts +19 -20
  244. package/src/controls/svg/Group/Group.ts +19 -19
  245. package/src/controls/svg/Line/Line.ts +15 -15
  246. package/src/controls/svg/Pattern/Pattern.ts +25 -25
  247. package/src/controls/svg/Polygon/Polygon.ts +13 -13
  248. package/src/controls/svg/Polyline/Polyline.ts +13 -13
  249. package/src/controls/svg/Rectangle/Rectangle.ts +15 -15
  250. package/src/controls/svg/Svg/Svg.ts +19 -19
  251. package/src/controls/svg/Text/Text.ts +16 -16
  252. package/src/controls/svg/Title/Title.ts +12 -12
  253. package/src/controls/svg/svg.ts +4 -4
  254. package/src/framework/attributes.ts +46 -46
  255. package/src/framework/{View.ts → element.ts} +54 -41
  256. package/src/framework/event.ts +7 -7
  257. package/src/framework/observable.ts +93 -60
  258. package/src/framework/properties.ts +393 -0
  259. package/src/framework/root.ts +45 -0
  260. package/src/framework/style.ts +330 -340
  261. package/src/index.ts +4 -4
  262. package/src/utilities/contextMenu/contextMenu.ts +16 -0
  263. package/src/utilities/fetch/fetch.ts +16 -14
  264. package/src/utilities/formatting/formatting.ts +29 -0
  265. package/src/utilities/index.ts +7 -3
  266. package/src/utilities/router/router.ts +3 -3
  267. package/dist/controls/codeMirror/HtmlEditor/HtmlEditor.d.ts +0 -16
  268. package/dist/controls/codeMirror/HtmlEditor/HtmlEditor.js +0 -120
  269. package/dist/controls/codeMirror/HtmlEditor/HtmlEditor.js.map +0 -1
  270. package/dist/controls/codeMirror/JsonEditor/JsonEditor.d.ts +0 -16
  271. package/dist/controls/codeMirror/JsonEditor/JsonEditor.js +0 -104
  272. package/dist/controls/codeMirror/JsonEditor/JsonEditor.js.map +0 -1
  273. package/dist/controls/jsonViewAwesome/index.js.map +0 -1
  274. package/dist/controls/jsonViewAwesome/jsonFormatter/JsonFormatter.d.ts +0 -28
  275. package/dist/controls/jsonViewAwesome/jsonFormatter/JsonFormatter.js.map +0 -1
  276. package/dist/controls/kendo/Dialog/Dialog.d.ts +0 -14
  277. package/dist/controls/kendo/Dialog/Dialog.js.map +0 -1
  278. package/dist/controls/kendo/Tree/Tree.d.ts +0 -17
  279. package/dist/controls/kendo/Tree/Tree.js.map +0 -1
  280. package/dist/framework/View.js.map +0 -1
  281. package/dist/framework/ViewModel.d.ts +0 -42
  282. package/dist/framework/ViewModel.js.map +0 -1
  283. package/dist/framework/userAgent.js.map +0 -1
  284. package/dist/utilities/html/html.d.ts +0 -1
  285. package/dist/utilities/html/html.js +0 -8
  286. package/dist/utilities/html/html.js.map +0 -1
  287. package/src/controls/codeMirror/HtmlEditor/HtmlEditor.ts +0 -153
  288. package/src/controls/codeMirror/JsonEditor/JsonEditor.ts +0 -136
  289. package/src/framework/ViewModel.ts +0 -528
  290. package/src/utilities/html/html.ts +0 -8
  291. /package/src/controls/{jsonViewAwesome → jsonViewerAwesome}/index.ts +0 -0
  292. /package/src/{framework → utilities/userAgent}/userAgent.ts +0 -0
@@ -1,80 +1,80 @@
1
- import * as leaflet from "leaflet";
2
- export declare const mouseEvents: {
3
- click: boolean;
4
- contextmenu: boolean;
5
- mousedown: boolean;
6
- mouseenter: boolean;
7
- mouseleave: boolean;
8
- mousemove: boolean;
9
- mouseout: boolean;
10
- mouseover: boolean;
11
- mouseup: boolean;
12
- };
13
- export declare const touchEvents: {
14
- touchcancel: boolean;
15
- touchend: boolean;
16
- touchmove: boolean;
17
- touchstart: boolean;
18
- longtap: boolean;
19
- swipeleft: boolean;
20
- swiperight: boolean;
21
- swipeup: boolean;
22
- swipedown: boolean;
23
- };
24
- export declare function isGlobalEvent(event: keyof UiElementEventMap): boolean;
25
- export interface UiElementEventMap extends HTMLElementEventMap {
26
- "tap": Event;
27
- "dbltap": Event;
28
- "longtap": Event;
29
- "swipeleft": Event;
30
- "swiperight": Event;
31
- "swipeup": Event;
32
- "swipedown": Event;
33
- "textInput": Event;
34
- }
35
- export interface IMouseEventListener extends IEventListener {
36
- listener: (event: MouseEvent) => void;
37
- }
38
- export interface IFocusEventListener extends IEventListener {
39
- listener: (event: FocusEvent) => void;
40
- }
41
- export interface IContextMenuEventListener extends IEventListener {
42
- listener: (event: PointerEvent) => void;
43
- }
44
- export interface ILeafletEventListener extends IEventListener {
45
- listener: (event: leaflet.LeafletEvent) => void;
46
- }
47
- export interface IGenericEventListener extends IEventListener {
48
- listener: (event: Event) => void;
49
- }
50
- export interface IEventListener {
51
- options?: IEventListenerOptions;
52
- }
53
- export interface MouseEventListeners {
54
- click?: IMouseEventListener;
55
- }
56
- export interface FocusEventListeners {
57
- focusout?: IFocusEventListener;
58
- }
59
- export interface ContextMenuEventListeners {
60
- contextMenu?: IContextMenuEventListener;
61
- }
62
- export interface LeafletEventListeners {
63
- zoomend?: ILeafletEventListener;
64
- moveend?: ILeafletEventListener;
65
- }
66
- export interface EventListeners extends MouseEventListeners, FocusEventListeners, ContextMenuEventListeners, LeafletEventListeners {
67
- change?: IGenericEventListener;
68
- load?: IGenericEventListener;
69
- }
70
- type EventKey = "Enter" | "ArrowDown" | "ArrowUp" | "ArrowLeft" | "ArrowRight";
71
- export interface IEventListenerOptions extends AddEventListenerOptions {
72
- eventKey?: EventKey;
73
- altKey?: boolean;
74
- shiftKey?: boolean;
75
- ctrlKey?: boolean;
76
- mouseLeft?: boolean;
77
- mouseMiddle?: boolean;
78
- mouseRight?: boolean;
79
- }
80
- export {};
1
+ import * as leaflet from "leaflet";
2
+ export declare const mouseEvents: {
3
+ click: boolean;
4
+ contextmenu: boolean;
5
+ mousedown: boolean;
6
+ mouseenter: boolean;
7
+ mouseleave: boolean;
8
+ mousemove: boolean;
9
+ mouseout: boolean;
10
+ mouseover: boolean;
11
+ mouseup: boolean;
12
+ };
13
+ export declare const touchEvents: {
14
+ touchcancel: boolean;
15
+ touchend: boolean;
16
+ touchmove: boolean;
17
+ touchstart: boolean;
18
+ longtap: boolean;
19
+ swipeleft: boolean;
20
+ swiperight: boolean;
21
+ swipeup: boolean;
22
+ swipedown: boolean;
23
+ };
24
+ export declare function isGlobalEvent(event: keyof IUiElementEventMap): boolean;
25
+ export interface IUiElementEventMap extends HTMLElementEventMap {
26
+ "tap": Event;
27
+ "dbltap": Event;
28
+ "longtap": Event;
29
+ "swipeleft": Event;
30
+ "swiperight": Event;
31
+ "swipeup": Event;
32
+ "swipedown": Event;
33
+ "textInput": Event;
34
+ }
35
+ export interface IMouseEventListener extends IEventListener {
36
+ listener: (event: MouseEvent) => void;
37
+ }
38
+ export interface IFocusEventListener extends IEventListener {
39
+ listener: (event: FocusEvent) => void;
40
+ }
41
+ export interface IContextMenuEventListener extends IEventListener {
42
+ listener: (event: PointerEvent) => void;
43
+ }
44
+ export interface ILeafletEventListener extends IEventListener {
45
+ listener: (event: leaflet.LeafletEvent) => void;
46
+ }
47
+ export interface IGenericEventListener extends IEventListener {
48
+ listener: (event: Event) => void;
49
+ }
50
+ export interface IEventListener {
51
+ options?: IEventListenerOptions;
52
+ }
53
+ export interface IMouseEventListeners {
54
+ click?: IMouseEventListener;
55
+ }
56
+ export interface IFocusEventListeners {
57
+ focusout?: IFocusEventListener;
58
+ }
59
+ export interface IContextMenuEventListeners {
60
+ contextMenu?: IContextMenuEventListener;
61
+ }
62
+ export interface ILeafletEventListeners {
63
+ zoomend?: ILeafletEventListener;
64
+ moveend?: ILeafletEventListener;
65
+ }
66
+ export interface IEventListeners extends IMouseEventListeners, IFocusEventListeners, IContextMenuEventListeners, ILeafletEventListeners {
67
+ change?: IGenericEventListener;
68
+ load?: IGenericEventListener;
69
+ }
70
+ type EventKey = "Enter" | "ArrowDown" | "ArrowUp" | "ArrowLeft" | "ArrowRight";
71
+ export interface IEventListenerOptions extends AddEventListenerOptions {
72
+ eventKey?: EventKey;
73
+ altKey?: boolean;
74
+ shiftKey?: boolean;
75
+ ctrlKey?: boolean;
76
+ mouseLeft?: boolean;
77
+ mouseMiddle?: boolean;
78
+ mouseRight?: boolean;
79
+ }
80
+ export {};
@@ -1,26 +1,26 @@
1
- export const mouseEvents = {
2
- click: true,
3
- contextmenu: true,
4
- mousedown: true,
5
- mouseenter: true,
6
- mouseleave: true,
7
- mousemove: true,
8
- mouseout: true,
9
- mouseover: true,
10
- mouseup: true
11
- };
12
- export const touchEvents = {
13
- touchcancel: true,
14
- touchend: true,
15
- touchmove: true,
16
- touchstart: true,
17
- longtap: true,
18
- swipeleft: true,
19
- swiperight: true,
20
- swipeup: true,
21
- swipedown: true
22
- };
23
- export function isGlobalEvent(event) {
24
- return !(mouseEvents[event] || touchEvents[event]);
25
- }
1
+ export const mouseEvents = {
2
+ click: true,
3
+ contextmenu: true,
4
+ mousedown: true,
5
+ mouseenter: true,
6
+ mouseleave: true,
7
+ mousemove: true,
8
+ mouseout: true,
9
+ mouseover: true,
10
+ mouseup: true
11
+ };
12
+ export const touchEvents = {
13
+ touchcancel: true,
14
+ touchend: true,
15
+ touchmove: true,
16
+ touchstart: true,
17
+ longtap: true,
18
+ swipeleft: true,
19
+ swiperight: true,
20
+ swipeup: true,
21
+ swipedown: true
22
+ };
23
+ export function isGlobalEvent(event) {
24
+ return !(mouseEvents[event] || touchEvents[event]);
25
+ }
26
26
  //# sourceMappingURL=event.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/framework/event.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,KAAK,EAAE,IAAI;IACX,WAAW,EAAE,IAAI;IACjB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,SAAS,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 +1,37 @@
1
- import { Subscribable, ObservableArray, Observable } from "knockout";
2
- export interface ObservableProperty<TValue = any, TSetter = TValue> extends Subscribable<TValue> {
3
- (): TValue;
4
- set: (value: TSetter | null, triggerSetter?: boolean) => void;
5
- }
6
- export declare function isObservableProperty<T = any>(instance: any): instance is ObservableProperty<T>;
7
- export declare function observableProperty<TValue, TSetter = TValue>(value?: TValue | Observable<TValue>, setter?: (value: TSetter, internalProperty: Observable<TValue>) => void, notifyAlways?: boolean): ObservableProperty<TValue, TSetter>;
8
- export interface ObservableArrayProperty<TItem = any, TSetter = Array<TItem>> extends ObservableArray<TItem> {
9
- set: (items: TSetter, triggerSetter?: boolean) => void;
10
- map<TResult>(callbackfn: (value: TItem, index: number, array: TItem[]) => TResult, thisArg?: any): TResult[];
11
- }
12
- export declare function observableArrayProperty<TItem, TSetter = Array<TItem>>(items?: Array<TItem> | ObservableArray<TItem>, setter?: (items: TSetter, internalProperty: ObservableArray<TItem>) => void): ObservableArrayProperty<TItem, TSetter>;
1
+ export interface IDisposer {
2
+ (): void;
3
+ }
4
+ export interface ISubscribable<TValue> {
5
+ subscribe(handler: (arg: TValue, prev: TValue) => void): IDisposer;
6
+ }
7
+ export interface IObservableValue<TValue = any, TSetter = TValue> extends ISubscribable<TValue> {
8
+ (): TValue;
9
+ setValue(value: TSetter | null): void;
10
+ setValueInAction(value: TSetter | null): void;
11
+ setInternal(value: TValue | null): void;
12
+ }
13
+ export interface IObservableArray<TItem = any, TSetter = Array<TItem>> extends Array<TItem>, ISubscribable<Array<TItem>> {
14
+ get(): Array<TItem>;
15
+ setItems(items: TSetter | null, triggerSetter?: boolean): void;
16
+ setInternal(items: Array<TItem> | null): void;
17
+ }
18
+ export interface IComputed<TValue> extends ISubscribable<TValue> {
19
+ (): TValue;
20
+ }
21
+ export interface IObservableMap<TKey, TValue> {
22
+ }
23
+ export interface IObservableSet<TItem> {
24
+ }
25
+ export declare function observableValue<TValue, TSetter = TValue>(value?: TValue | null, setter?: (value: TSetter, observableValue: IObservableValue<TValue, TSetter>) => void): IObservableValue<TValue, TSetter>;
26
+ export declare function observableArray<TItem = any, TSetter = Array<TItem>>(initialValues?: Array<TItem> | null, setter?: (value: TSetter, observableArray: IObservableArray<TItem, TSetter>) => void): IObservableArray<TItem, TSetter>;
27
+ export declare function observableMap<TKey = any, TItem = any>(): void;
28
+ export declare function observableSet<TItem = any>(): void;
29
+ export declare function computed<TComputed>(func: () => TComputed): IComputed<TComputed>;
30
+ export declare function unwrap<TValue>(value: TValue | ISubscribable<TValue>): TValue;
31
+ export declare function isComputed(value: any): value is IComputed<any>;
32
+ export declare function isObservableValue(value: any): value is IObservableValue;
33
+ export declare function isObservableArray(value: any): value is IObservableArray;
34
+ export declare function isObservableMap<TKey, TItem>(value: any): value is IObservableMap<TKey, TItem>;
35
+ export declare function isObservableSet<TItem>(value: any): value is IObservableSet<TItem>;
36
+ export declare function isSubscribable<TValue>(value: any): value is ISubscribable<TValue>;
37
+ export declare function executeHandlerOnObject(handler: (object: any) => void, object: object): void;
@@ -1,59 +1,67 @@
1
- import { isObservable, observable, observableArray, pureComputed } from "knockout";
2
- export function isObservableProperty(instance) {
3
- return instance && !!instance.set;
4
- }
5
- export function observableProperty(value, setter, notifyAlways = false) {
6
- let internalProperty;
7
- if (value === undefined) {
8
- value = null;
9
- }
10
- if (isObservable(value)) {
11
- internalProperty = value;
12
- }
13
- else {
14
- internalProperty = observable(value);
15
- }
16
- if (notifyAlways) {
17
- internalProperty.extend({ notify: "always" });
18
- }
19
- const computed = pureComputed({ read: internalProperty }).extend({ notify: "always" });
20
- computed.set = (newValue, triggerSetter = true) => {
21
- if (setter && triggerSetter) {
22
- setter(newValue, internalProperty);
23
- }
24
- else {
25
- internalProperty(newValue);
26
- }
27
- };
28
- return computed;
29
- }
30
- export function observableArrayProperty(items, setter) {
31
- let internalProperty;
32
- if (!items) {
33
- items = [];
34
- }
35
- if (isObservable(items)) {
36
- internalProperty = items;
37
- }
38
- else {
39
- internalProperty = observableArray(items);
40
- }
41
- const computed = pureComputed({ read: internalProperty }).extend({ notify: "always" });
42
- computed.set = (value, triggerSetter = true) => {
43
- if (setter && triggerSetter) {
44
- setter(value, internalProperty);
45
- }
46
- else {
47
- internalProperty(value);
48
- }
49
- };
50
- computed.push = (...itemsToPush) => {
51
- internalProperty.push(...itemsToPush);
52
- return itemsToPush.length;
53
- };
54
- computed.map = (callBack, thisArg) => {
55
- return internalProperty().map(callBack, thisArg);
56
- };
57
- return computed;
58
- }
1
+ export function observableValue(value, setter) {
2
+ throw "observableValue is not implemented";
3
+ }
4
+ export function observableArray(initialValues, setter) {
5
+ throw "observableArray is not implemented";
6
+ }
7
+ export function observableMap() {
8
+ throw "observableMap is not implemented";
9
+ }
10
+ export function observableSet() {
11
+ throw "observableSet is not implemented";
12
+ }
13
+ export function computed(func) {
14
+ throw "computed is not implementd";
15
+ }
16
+ export function unwrap(value) {
17
+ throw "Unwrap is not implemented";
18
+ }
19
+ export function isComputed(value) {
20
+ throw "isComputed is not implemented";
21
+ }
22
+ export function isObservableValue(value) {
23
+ throw "isObservableValue is not implemented";
24
+ }
25
+ export function isObservableArray(value) {
26
+ throw "isObservableArray is not implemented";
27
+ }
28
+ export function isObservableMap(value) {
29
+ throw "isObservableMap is not implemented";
30
+ }
31
+ export function isObservableSet(value) {
32
+ throw "isObservableSet is not implemented";
33
+ }
34
+ export function isSubscribable(value) {
35
+ return isComputed(value)
36
+ || isObservableValue(value)
37
+ || isObservableArray(value)
38
+ || isObservableMap(value)
39
+ || isObservableSet(value);
40
+ }
41
+ export function executeHandlerOnObject(handler, object) {
42
+ if (object.constructor === Array) {
43
+ for (const arrayEntry of object) {
44
+ if (typeof arrayEntry === "object") {
45
+ executeHandlerOnObject(handler, arrayEntry);
46
+ }
47
+ }
48
+ }
49
+ else {
50
+ if (isSubscribable(object)) {
51
+ const unwrapped = unwrap(object);
52
+ if (typeof unwrapped === "object") {
53
+ executeHandlerOnObject(handler, unwrapped);
54
+ }
55
+ }
56
+ else {
57
+ handler(object);
58
+ for (const key in Object.keys(object)) {
59
+ const property = object[key];
60
+ if (property && typeof property === "object") {
61
+ executeHandlerOnObject(handler, property);
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
59
67
  //# sourceMappingURL=observable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"observable.js","sourceRoot":"","sources":["../../src/framework/observable.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAO9H,MAAM,UAAU,oBAAoB,CAAU,QAAa;IACvD,OAAO,QAAQ,IAAI,CAAC,CAAE,QAAkC,CAAC,GAAG,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,kBAAkB,CAA2B,KAAmC,EAAE,MAAuE,EAAE,eAAwB,KAAK;IACpM,IAAI,gBAAoC,CAAC;IACzC,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,KAAK,GAAG,IAAI,CAAC;KAChB;IACD,IAAI,YAAY,CAAC,KAAK,CAAC,EAAE;QACrB,gBAAgB,GAAG,KAAK,CAAC;KAC5B;SAAM;QACH,gBAAgB,GAAG,UAAU,CAAS,KAAK,CAAC,CAAC;KAChD;IAED,IAAI,YAAY,EAAE;QACd,gBAAgB,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;KACjD;IAGD,MAAM,QAAQ,GAAG,YAAY,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAA+C,CAAC;IAErI,QAAQ,CAAC,GAAG,GAAG,CAAC,QAAa,EAAE,gBAAyB,IAAI,EAAE,EAAE;QAC5D,IAAI,MAAM,IAAI,aAAa,EAAE;YACzB,MAAM,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;SACtC;aAAM;YACH,gBAAgB,CAAC,QAAQ,CAAC,CAAC;SAC9B;IACL,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,CAAC;YAChD,CAAC;QACL,CAAC;IACL,CAAC;SAAM,CAAC;QACJ,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;YACzB,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;YACjC,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE,CAAC;gBAChC,sBAAsB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;YAC/C,CAAC;QACL,CAAC;aAAM,CAAC;YAEJ,OAAO,CAAC,MAAM,CAAC,CAAC;YAGhB,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;gBACpC,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;gBAC7B,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;oBAC3C,sBAAsB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;gBAC9C,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;AACL,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { IEventListeners } from "./event";
2
+ import { IAttributes, IAttributesSubscribable } from "./attributes";
3
+ import { IStyle as Style, IStyleSubscribable as StyleSubscribable } from "./style";
4
+ import { IDisposer, ISubscribable } from "./observable";
5
+ export interface IWebSocketMessageHandler {
6
+ handleWebSocketMessage: (message: any) => void;
7
+ }
8
+ export interface IProperties {
9
+ attributes?: IAttributes | IAttributesSubscribable;
10
+ classNames?: Array<string> | ISubscribable<Array<string>>;
11
+ style?: Style | StyleSubscribable;
12
+ visible?: boolean | ISubscribable<boolean>;
13
+ disabled?: boolean | ISubscribable<boolean>;
14
+ innerHtml?: any | ISubscribable<any>;
15
+ textContent?: string | ISubscribable<string>;
16
+ addViewModelToDataObject?: boolean;
17
+ userSelectable?: boolean;
18
+ eventListeners?: IEventListeners;
19
+ elementType?: string;
20
+ focused?: boolean | ISubscribable<boolean>;
21
+ }
22
+ export declare abstract class Properties implements IProperties {
23
+ protected setProperties<TProperties>(object: object, properties?: TProperties): void;
24
+ attributes?: IAttributes | IAttributesSubscribable;
25
+ classNames?: Array<string> | ISubscribable<Array<string>>;
26
+ style?: Style | StyleSubscribable;
27
+ visible?: boolean | ISubscribable<boolean>;
28
+ disabled?: boolean | ISubscribable<boolean>;
29
+ innerHtml?: any | ISubscribable<any>;
30
+ textContent?: string | ISubscribable<string>;
31
+ addViewModelToDataObject?: boolean;
32
+ userSelectable?: boolean;
33
+ eventListeners?: IEventListeners;
34
+ elementType?: string;
35
+ focused?: boolean | ISubscribable<boolean>;
36
+ }
37
+ export declare function handleWebSocketMessage(object: object, message: any): void;
38
+ export declare function isNullOrUndefined(value: any): boolean;
39
+ export declare function extendProperties<TTarget = IProperties, TOverwritingProperties = TTarget, TPreserveExistingProperties = TTarget>(target: TTarget, preserveExisting: TPreserveExistingProperties, overWriteExisting?: TOverwritingProperties): TTarget;
40
+ export declare function applyBindings(properties: IProperties, element: HTMLElement, disposers: Array<IDisposer>): void;