neo.mjs 2.3.15 → 2.3.19

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 (262) hide show
  1. package/README.md +11 -2
  2. package/apps/covid/Util.mjs +1 -3
  3. package/apps/covid/view/GalleryContainer.mjs +0 -1
  4. package/apps/covid/view/GalleryContainerController.mjs +1 -5
  5. package/apps/covid/view/HelixContainer.mjs +0 -1
  6. package/apps/covid/view/HelixContainerController.mjs +1 -4
  7. package/apps/covid/view/MainContainer.mjs +1 -1
  8. package/apps/covid/view/MainContainerController.mjs +0 -7
  9. package/apps/covid/view/MainContainerModel.mjs +0 -1
  10. package/apps/covid/view/TableContainer.mjs +0 -1
  11. package/apps/covid/view/TableContainerController.mjs +0 -3
  12. package/apps/covid/view/WorldMapComponent.mjs +1 -2
  13. package/apps/covid/view/WorldMapContainerController.mjs +0 -2
  14. package/apps/covid/view/country/Gallery.mjs +0 -2
  15. package/apps/covid/view/country/Helix.mjs +0 -3
  16. package/apps/covid/view/mapboxGl/Container.mjs +1 -1
  17. package/apps/covid/view/mapboxGl/ContainerController.mjs +1 -6
  18. package/apps/krausest/TableCollection.mjs +0 -1
  19. package/apps/krausest/view/MainComponent.mjs +0 -1
  20. package/apps/krausest/view/MainComponentController.mjs +0 -1
  21. package/apps/krausest/view/TableComponent.mjs +0 -2
  22. package/apps/realworld/api/Article.mjs +1 -4
  23. package/apps/realworld/api/Base.mjs +0 -5
  24. package/apps/realworld/api/Favorite.mjs +1 -3
  25. package/apps/realworld/api/Profile.mjs +1 -3
  26. package/apps/realworld/api/config.mjs +2 -2
  27. package/apps/realworld/view/HeaderComponent.mjs +1 -2
  28. package/apps/realworld/view/HomeComponent.mjs +0 -9
  29. package/apps/realworld/view/MainContainerController.mjs +0 -13
  30. package/apps/realworld/view/article/CommentComponent.mjs +1 -3
  31. package/apps/realworld/view/article/Component.mjs +0 -5
  32. package/apps/realworld/view/article/CreateCommentComponent.mjs +1 -5
  33. package/apps/realworld/view/article/PreviewComponent.mjs +1 -3
  34. package/apps/realworld/view/article/TagListComponent.mjs +1 -5
  35. package/apps/realworld/view/user/ProfileComponent.mjs +0 -6
  36. package/apps/realworld/view/user/SettingsComponent.mjs +1 -5
  37. package/apps/realworld/view/user/SignUpComponent.mjs +0 -1
  38. package/apps/realworld2/api/Article.mjs +1 -4
  39. package/apps/realworld2/api/Base.mjs +0 -5
  40. package/apps/realworld2/api/Favorite.mjs +1 -3
  41. package/apps/realworld2/api/Profile.mjs +1 -3
  42. package/apps/realworld2/view/HeaderToolbarController.mjs +1 -2
  43. package/apps/realworld2/view/HomeContainer.mjs +1 -2
  44. package/apps/realworld2/view/MainContainerController.mjs +1 -14
  45. package/apps/realworld2/view/article/Gallery.mjs +1 -3
  46. package/apps/realworld2/view/article/GalleryContainer.mjs +1 -2
  47. package/apps/realworld2/view/article/Helix.mjs +1 -3
  48. package/apps/realworld2/view/article/HelixContainer.mjs +1 -3
  49. package/apps/realworld2/view/article/PreviewComponent.mjs +1 -3
  50. package/apps/realworld2/view/article/TagListComponent.mjs +1 -5
  51. package/apps/realworld2/view/user/LoginFormContainer.mjs +1 -2
  52. package/apps/sharedcovid/Util.mjs +1 -3
  53. package/apps/sharedcovid/view/GalleryContainer.mjs +0 -1
  54. package/apps/sharedcovid/view/GalleryContainerController.mjs +1 -5
  55. package/apps/sharedcovid/view/HelixContainer.mjs +0 -1
  56. package/apps/sharedcovid/view/HelixContainerController.mjs +1 -4
  57. package/apps/sharedcovid/view/MainContainer.mjs +1 -1
  58. package/apps/sharedcovid/view/MainContainerModel.mjs +0 -1
  59. package/apps/sharedcovid/view/TableContainer.mjs +0 -1
  60. package/apps/sharedcovid/view/TableContainerController.mjs +0 -3
  61. package/apps/sharedcovid/view/WorldMapComponent.mjs +1 -2
  62. package/apps/sharedcovid/view/WorldMapContainerController.mjs +0 -2
  63. package/apps/sharedcovid/view/country/Gallery.mjs +0 -2
  64. package/apps/sharedcovid/view/country/Helix.mjs +0 -3
  65. package/apps/sharedcovid/view/mapboxGl/Container.mjs +0 -1
  66. package/apps/sharedcovid/view/mapboxGl/ContainerController.mjs +1 -5
  67. package/apps/shareddialog/view/MainContainerController.mjs +0 -18
  68. package/apps/shareddialog2/view/MainContainerController.mjs +1 -2
  69. package/apps/website/view/MainContainerController.mjs +0 -4
  70. package/buildScripts/webpack/development/webpack.config.main.js +2 -1
  71. package/buildScripts/webpack/production/webpack.config.main.js +2 -1
  72. package/examples/ConfigurationViewport.mjs +0 -4
  73. package/examples/calendar/basic/MainContainerController.mjs +0 -1
  74. package/examples/component/coronaGallery/CountryGallery.mjs +1 -4
  75. package/examples/component/coronaGallery/MainContainer.mjs +0 -2
  76. package/examples/component/coronaHelix/CountryHelix.mjs +0 -4
  77. package/examples/component/coronaHelix/MainContainer.mjs +0 -2
  78. package/examples/component/gallery/MainContainer.mjs +0 -2
  79. package/examples/component/helix/MainContainer.mjs +0 -2
  80. package/examples/component/splitter/MainContainer.mjs +0 -2
  81. package/examples/core/config/MainContainer.mjs +1 -3
  82. package/examples/dialog/MainContainer.mjs +1 -5
  83. package/examples/list/animate/List.mjs +50 -0
  84. package/examples/list/animate/MainContainer.mjs +79 -0
  85. package/examples/list/animate/MainModel.mjs +33 -0
  86. package/examples/list/animate/MainStore.mjs +31 -0
  87. package/examples/list/animate/app.mjs +8 -0
  88. package/examples/list/animate/index.html +11 -0
  89. package/examples/list/animate/neo-config.json +7 -0
  90. package/examples/list/base/neo-config.json +1 -1
  91. package/examples/model/advanced/MainContainerController.mjs +0 -12
  92. package/examples/model/dialog/EditUserDialogController.mjs +1 -3
  93. package/examples/model/dialog/MainContainerController.mjs +1 -2
  94. package/examples/model/extendedClass/MainContainerController.mjs +0 -7
  95. package/examples/model/inline/MainContainerController.mjs +0 -7
  96. package/examples/model/inlineNoModel/MainContainerController.mjs +1 -6
  97. package/examples/model/multiWindow/EditUserDialogController.mjs +1 -3
  98. package/examples/model/multiWindow/MainContainerController.mjs +1 -3
  99. package/examples/model/multiWindow/ViewportController.mjs +1 -3
  100. package/examples/model/nestedData/MainContainerController.mjs +1 -8
  101. package/examples/tab/container/MainContainer.mjs +1 -6
  102. package/examples/todoList/version2/TodoList.mjs +1 -1
  103. package/examples/tree/MainContainer.mjs +0 -2
  104. package/package.json +11 -11
  105. package/resources/scss/src/examples/list/animate/List.scss +30 -0
  106. package/src/Main.mjs +7 -16
  107. package/src/Neo.mjs +1 -4
  108. package/src/button/Menu.mjs +0 -1
  109. package/src/button/Split.mjs +0 -4
  110. package/src/calendar/store/Events.mjs +0 -1
  111. package/src/calendar/view/DayComponent.mjs +0 -1
  112. package/src/calendar/view/EditEventContainer.mjs +0 -7
  113. package/src/calendar/view/MainContainer.mjs +0 -15
  114. package/src/calendar/view/MainContainerModel.mjs +0 -2
  115. package/src/calendar/view/SettingsContainer.mjs +0 -4
  116. package/src/calendar/view/YearComponent.mjs +0 -9
  117. package/src/calendar/view/calendars/Container.mjs +0 -1
  118. package/src/calendar/view/calendars/EditContainer.mjs +0 -5
  119. package/src/calendar/view/calendars/List.mjs +0 -5
  120. package/src/calendar/view/month/Component.mjs +0 -12
  121. package/src/calendar/view/settings/GeneralContainer.mjs +0 -3
  122. package/src/calendar/view/settings/MonthContainer.mjs +0 -3
  123. package/src/calendar/view/settings/WeekContainer.mjs +0 -5
  124. package/src/calendar/view/settings/YearContainer.mjs +0 -3
  125. package/src/calendar/view/week/Component.mjs +0 -16
  126. package/src/calendar/view/week/EventDragZone.mjs +0 -3
  127. package/src/calendar/view/week/TimeAxisComponent.mjs +0 -1
  128. package/src/calendar/view/week/plugin/DragDrop.mjs +0 -10
  129. package/src/calendar/view/week/plugin/EventResizable.mjs +0 -3
  130. package/src/collection/Base.mjs +8 -24
  131. package/src/collection/Filter.mjs +0 -1
  132. package/src/collection/Sorter.mjs +0 -3
  133. package/src/component/Base.mjs +1 -3
  134. package/src/component/Chip.mjs +0 -2
  135. package/src/component/Circle.mjs +0 -18
  136. package/src/component/DateSelector.mjs +0 -13
  137. package/src/component/Gallery.mjs +0 -12
  138. package/src/component/Helix.mjs +0 -14
  139. package/src/component/Splitter.mjs +0 -3
  140. package/src/component/mwc/TextField.mjs +0 -1
  141. package/src/component/wrapper/AmChart.mjs +1 -1
  142. package/src/component/wrapper/MapboxGL.mjs +0 -5
  143. package/src/container/Base.mjs +1 -7
  144. package/src/container/Panel.mjs +0 -3
  145. package/src/controller/Application.mjs +0 -1
  146. package/src/controller/Base.mjs +0 -1
  147. package/src/controller/Component.mjs +1 -4
  148. package/src/core/Base.mjs +2 -3
  149. package/src/core/Compare.mjs +0 -1
  150. package/src/core/IdGenerator.mjs +1 -3
  151. package/src/core/Observable.mjs +0 -3
  152. package/src/core/Util.mjs +0 -1
  153. package/src/core/_export.mjs +1 -2
  154. package/src/data/RecordFactory.mjs +1 -6
  155. package/src/data/Store.mjs +0 -10
  156. package/src/data/connection/Xhr.mjs +0 -6
  157. package/src/dialog/Base.mjs +0 -10
  158. package/src/draggable/DragProxyComponent.mjs +1 -3
  159. package/src/draggable/DragZone.mjs +0 -6
  160. package/src/draggable/DropZone.mjs +1 -7
  161. package/src/draggable/list/DragZone.mjs +1 -7
  162. package/src/draggable/tab/header/toolbar/SortZone.mjs +1 -3
  163. package/src/draggable/toolbar/DragZone.mjs +1 -5
  164. package/src/draggable/toolbar/SortZone.mjs +0 -5
  165. package/src/draggable/tree/DragZone.mjs +1 -4
  166. package/src/filter/BooleanContainer.mjs +0 -1
  167. package/src/filter/NumberContainer.mjs +0 -2
  168. package/src/filter/ToggleOperatorsButton.mjs +1 -3
  169. package/src/form/Container.mjs +0 -2
  170. package/src/form/Fieldset.mjs +0 -1
  171. package/src/form/field/Base.mjs +0 -2
  172. package/src/form/field/CheckBox.mjs +0 -5
  173. package/src/form/field/Color.mjs +0 -3
  174. package/src/form/field/Date.mjs +0 -4
  175. package/src/form/field/Display.mjs +0 -1
  176. package/src/form/field/Picker.mjs +0 -9
  177. package/src/form/field/Range.mjs +0 -1
  178. package/src/form/field/Select.mjs +22 -20
  179. package/src/form/field/Text.mjs +0 -15
  180. package/src/form/field/Time.mjs +0 -7
  181. package/src/form/field/trigger/Base.mjs +0 -2
  182. package/src/form/field/trigger/Clear.mjs +0 -3
  183. package/src/form/field/trigger/CopyToClipboard.mjs +0 -3
  184. package/src/form/field/trigger/Picker.mjs +0 -1
  185. package/src/form/field/trigger/SpinDown.mjs +0 -1
  186. package/src/form/field/trigger/SpinUp.mjs +0 -1
  187. package/src/form/field/trigger/SpinUpDown.mjs +0 -1
  188. package/src/form/field/trigger/Time.mjs +0 -1
  189. package/src/grid/Container.mjs +1 -4
  190. package/src/grid/header/Toolbar.mjs +1 -5
  191. package/src/list/Base.mjs +39 -8
  192. package/src/list/Color.mjs +0 -3
  193. package/src/list/Component.mjs +0 -3
  194. package/src/list/plugin/Animate.mjs +176 -0
  195. package/src/main/DomAccess.mjs +7 -22
  196. package/src/main/DomEvents.mjs +42 -75
  197. package/src/main/addon/AmCharts.mjs +1 -10
  198. package/src/main/addon/AnalyticsByGoogle.mjs +1 -2
  199. package/src/main/addon/CloneNode.mjs +0 -2
  200. package/src/main/addon/Cookie.mjs +0 -3
  201. package/src/main/addon/DragDrop.mjs +0 -9
  202. package/src/main/addon/HighlightJS.mjs +1 -5
  203. package/src/main/addon/MapboxGL.mjs +1 -14
  204. package/src/main/addon/Mwc.mjs +0 -2
  205. package/src/main/addon/Siesta.mjs +0 -1
  206. package/src/main/addon/Stylesheet.mjs +0 -4
  207. package/src/main/addon/WindowPosition.mjs +1 -6
  208. package/src/main/draggable/sensor/Mouse.mjs +0 -4
  209. package/src/main/draggable/sensor/Touch.mjs +0 -4
  210. package/src/main/mixin/DeltaUpdates.mjs +0 -8
  211. package/src/main/mixin/TouchDomEvents.mjs +1 -7
  212. package/src/manager/Base.mjs +0 -2
  213. package/src/manager/Component.mjs +0 -3
  214. package/src/manager/DomEvent.mjs +1 -6
  215. package/src/manager/Focus.mjs +0 -7
  216. package/src/manager/Instance.mjs +0 -1
  217. package/src/manager/Store.mjs +0 -4
  218. package/src/menu/List.mjs +0 -6
  219. package/src/model/Component.mjs +3 -15
  220. package/src/plugin/Base.mjs +0 -1
  221. package/src/plugin/Resizable.mjs +0 -8
  222. package/src/selection/CircleModel.mjs +1 -5
  223. package/src/selection/DateSelectorModel.mjs +1 -9
  224. package/src/selection/GalleryModel.mjs +0 -9
  225. package/src/selection/HelixModel.mjs +0 -9
  226. package/src/selection/ListModel.mjs +0 -8
  227. package/src/selection/Model.mjs +0 -8
  228. package/src/selection/menu/ListModel.mjs +0 -2
  229. package/src/selection/table/CellColumnModel.mjs +0 -4
  230. package/src/selection/table/CellColumnRowModel.mjs +0 -4
  231. package/src/selection/table/CellModel.mjs +0 -8
  232. package/src/selection/table/CellRowModel.mjs +0 -6
  233. package/src/selection/table/ColumnModel.mjs +0 -6
  234. package/src/selection/table/RowModel.mjs +0 -5
  235. package/src/tab/Container.mjs +0 -6
  236. package/src/tab/header/Button.mjs +1 -2
  237. package/src/tab/header/Toolbar.mjs +0 -1
  238. package/src/table/Container.mjs +0 -8
  239. package/src/table/View.mjs +0 -4
  240. package/src/table/header/Button.mjs +0 -6
  241. package/src/table/header/Toolbar.mjs +1 -2
  242. package/src/tree/List.mjs +0 -4
  243. package/src/util/Css.mjs +0 -1
  244. package/src/util/Date.mjs +0 -2
  245. package/src/util/Function.mjs +0 -2
  246. package/src/util/HashHistory.mjs +0 -3
  247. package/src/util/KeyNavigation.mjs +0 -5
  248. package/src/{core → util}/Logger.mjs +5 -17
  249. package/src/util/Matrix.mjs +0 -3
  250. package/src/util/VDom.mjs +0 -5
  251. package/src/util/_export.mjs +2 -1
  252. package/src/vdom/Helper.mjs +0 -3
  253. package/src/vdom/VNode.mjs +0 -1
  254. package/src/worker/App.mjs +0 -7
  255. package/src/worker/Base.mjs +0 -6
  256. package/src/worker/Canvas.mjs +0 -2
  257. package/src/worker/Manager.mjs +1 -3
  258. package/src/worker/Message.mjs +0 -1
  259. package/src/worker/mixin/RemoteMethodAccess.mjs +0 -3
  260. package/test/siesta/siesta.js +2 -1
  261. package/test/siesta/tests/ClassConfigsAndFields.mjs +69 -0
  262. package/test/siesta/tests/ClassSystem.mjs +1 -1
@@ -111,7 +111,6 @@ class Container extends BaseContainer {
111
111
  }}
112
112
 
113
113
  /**
114
- *
115
114
  * @param {Object} config
116
115
  */
117
116
  constructor(config) {
@@ -289,7 +288,6 @@ class Container extends BaseContainer {
289
288
  }
290
289
 
291
290
  /**
292
- *
293
291
  * @param columns
294
292
  * @returns {*}
295
293
  */
@@ -329,7 +327,6 @@ class Container extends BaseContainer {
329
327
  }
330
328
 
331
329
  /**
332
- *
333
330
  * @param {Number} countRows
334
331
  */
335
332
  createRandomViewData(countRows) {
@@ -361,7 +358,6 @@ class Container extends BaseContainer {
361
358
  }
362
359
 
363
360
  /**
364
- *
365
361
  * @returns {Neo.table.View}
366
362
  */
367
363
  getView() {
@@ -377,7 +373,6 @@ class Container extends BaseContainer {
377
373
  }
378
374
 
379
375
  /**
380
- *
381
376
  * @param {Number} countRows
382
377
  */
383
378
  loadData(countRows) {
@@ -411,7 +406,6 @@ class Container extends BaseContainer {
411
406
  }
412
407
 
413
408
  /**
414
- *
415
409
  * @param {Object} opts
416
410
  * @param {String} opts.direction
417
411
  * @param {String} opts.property
@@ -433,7 +427,6 @@ class Container extends BaseContainer {
433
427
  }
434
428
 
435
429
  /**
436
- *
437
430
  * @param {Array} data
438
431
  * @protected
439
432
  */
@@ -472,7 +465,6 @@ class Container extends BaseContainer {
472
465
  }
473
466
 
474
467
  /**
475
- *
476
468
  * @param {String} dataField
477
469
  * @protected
478
470
  */
@@ -180,7 +180,6 @@ class View extends Component {
180
180
  }
181
181
 
182
182
  /**
183
- *
184
183
  * @param {Boolean} updateParentVdom
185
184
  * @param {Boolean} silent
186
185
  */
@@ -190,7 +189,6 @@ class View extends Component {
190
189
  }
191
190
 
192
191
  /**
193
- *
194
192
  * @param {Object} record
195
193
  * @param {String} dataField
196
194
  * @returns {String}
@@ -200,7 +198,6 @@ class View extends Component {
200
198
  }
201
199
 
202
200
  /**
203
- *
204
201
  * @param {String} rowId
205
202
  * @returns {Object}
206
203
  */
@@ -209,7 +206,6 @@ class View extends Component {
209
206
  }
210
207
 
211
208
  /**
212
- *
213
209
  * @param {Object} record
214
210
  * @param {Number} [index]
215
211
  * @returns {String}
@@ -100,7 +100,6 @@ class Button extends BaseButton {
100
100
  }}
101
101
 
102
102
  /**
103
- *
104
103
  * @param {Object} config
105
104
  */
106
105
  constructor(config) {
@@ -327,7 +326,6 @@ class Button extends BaseButton {
327
326
  }
328
327
 
329
328
  /**
330
- *
331
329
  * @param {Object} event
332
330
  */
333
331
  onDragOver(event) {
@@ -346,7 +344,6 @@ class Button extends BaseButton {
346
344
  }
347
345
 
348
346
  /**
349
- *
350
347
  * @param {Object} data
351
348
  */
352
349
  onDrop(data) {
@@ -364,7 +361,6 @@ class Button extends BaseButton {
364
361
  }
365
362
 
366
363
  /**
367
- *
368
364
  * @param {Object} data
369
365
  */
370
366
  changeFilterOperator(data) {
@@ -395,7 +391,6 @@ class Button extends BaseButton {
395
391
  }
396
392
 
397
393
  /**
398
- *
399
394
  * @param {Object} data
400
395
  */
401
396
  changeFilterValue(data) {
@@ -445,7 +440,6 @@ class Button extends BaseButton {
445
440
  }
446
441
 
447
442
  /**
448
- *
449
443
  * @param {Object} data
450
444
  * @param {String} data.dataField
451
445
  * @param {Number} data.index
@@ -120,7 +120,6 @@ class Toolbar extends BaseToolbar {
120
120
  }
121
121
 
122
122
  /**
123
- *
124
123
  * @param {String} dock
125
124
  * @returns {String} layoutConfig
126
125
  * @override
@@ -158,4 +157,4 @@ class Toolbar extends BaseToolbar {
158
157
 
159
158
  Neo.applyClassConfig(Toolbar);
160
159
 
161
- export {Toolbar as default};
160
+ export {Toolbar as default};
package/src/tree/List.mjs CHANGED
@@ -152,7 +152,6 @@ class Tree extends Base {
152
152
  }
153
153
 
154
154
  /**
155
- *
156
155
  * @param {String} [parentId] The parent node
157
156
  * @param {Object} [vdomRoot] The vdom template root for the current sub tree
158
157
  * @param {Number} level The hierarchy level of the tree
@@ -302,7 +301,6 @@ class Tree extends Base {
302
301
  }
303
302
 
304
303
  /**
305
- *
306
304
  * @returns {Object}
307
305
  */
308
306
  getListItemsRoot() {
@@ -310,7 +308,6 @@ class Tree extends Base {
310
308
  }
311
309
 
312
310
  /**
313
- *
314
311
  * @param {Object} data
315
312
  */
316
313
  onClick(data) {
@@ -350,7 +347,6 @@ class Tree extends Base {
350
347
  }
351
348
 
352
349
  /**
353
- *
354
350
  * @param {Object} node
355
351
  * @param {Object} data
356
352
  */
package/src/util/Css.mjs CHANGED
@@ -14,7 +14,6 @@ class Css extends Base {
14
14
  }}
15
15
 
16
16
  /**
17
- *
18
17
  * @param {Array} rules
19
18
  */
20
19
  static insertRules(rules) {
package/src/util/Date.mjs CHANGED
@@ -62,7 +62,6 @@ class DateUtil extends Base {
62
62
  }
63
63
 
64
64
  /**
65
- *
66
65
  * @param {Date} date
67
66
  * @param {Number} weekStartDay 0-6
68
67
  * @returns {Number}
@@ -106,7 +105,6 @@ class DateUtil extends Base {
106
105
  }
107
106
 
108
107
  /**
109
- *
110
108
  * @param {Date} date
111
109
  * @param {Number} weekStartDay 0-6
112
110
  * @returns {Number} 5-6
@@ -28,7 +28,6 @@ class NeoFunction extends Base {
28
28
  }
29
29
 
30
30
  /**
31
- *
32
31
  * @param {Neo.core.Base} target
33
32
  * @param {String} methodName
34
33
  * @param {Function} fn
@@ -45,7 +44,6 @@ class NeoFunction extends Base {
45
44
  }
46
45
 
47
46
  /**
48
- *
49
47
  * @param {Neo.core.Base} target
50
48
  * @param {String} methodName
51
49
  * @param {Function} fn
@@ -45,7 +45,6 @@ class HashHistory extends Base {
45
45
  }}
46
46
 
47
47
  /**
48
- *
49
48
  * @returns {Object}
50
49
  */
51
50
  first() {
@@ -53,7 +52,6 @@ class HashHistory extends Base {
53
52
  }
54
53
 
55
54
  /**
56
- *
57
55
  * @returns {Number}
58
56
  */
59
57
  getCount() {
@@ -61,7 +59,6 @@ class HashHistory extends Base {
61
59
  }
62
60
 
63
61
  /**
64
- *
65
62
  * @param {Object} data
66
63
  * @param {String} data.appName
67
64
  * @param {Object} data.hash
@@ -38,7 +38,6 @@ class KeyNavigation extends Base {
38
38
  }
39
39
 
40
40
  /**
41
- *
42
41
  * @protected
43
42
  * @returns {Neo.component.Base}
44
43
  */
@@ -47,7 +46,6 @@ class KeyNavigation extends Base {
47
46
  }
48
47
 
49
48
  /**
50
- *
51
49
  * @param {Neo.component.Base} value
52
50
  * @protected
53
51
  * @returns {String} the component id
@@ -65,7 +63,6 @@ class KeyNavigation extends Base {
65
63
  }
66
64
 
67
65
  /**
68
- *
69
66
  * @param {Object} data
70
67
  */
71
68
  onKeyDown(data) {
@@ -90,7 +87,6 @@ class KeyNavigation extends Base {
90
87
  }
91
88
 
92
89
  /**
93
- *
94
90
  * @param {Object} value
95
91
  * @returns {Object}
96
92
  */
@@ -144,7 +140,6 @@ class KeyNavigation extends Base {
144
140
  }
145
141
 
146
142
  /**
147
- *
148
143
  * @param {Neo.component.Base} component
149
144
  */
150
145
  register(component) {
@@ -1,22 +1,17 @@
1
- import Base from './Base.mjs';
1
+ import Base from '../core/Base.mjs';
2
2
 
3
3
  /**
4
- * @class Neo.core.Logger
4
+ * @class Neo.util.Logger
5
5
  * @extends Neo.core.Base
6
6
  * @singleton
7
7
  */
8
8
  class Logger extends Base {
9
9
  static getConfig() {return {
10
10
  /**
11
- * @member {String} className='Neo.core.Logger'
11
+ * @member {String} className='Neo.util.Logger'
12
12
  * @protected
13
13
  */
14
- className: 'Neo.core.Logger',
15
- /**
16
- * @member {String} ntype='logger'
17
- * @protected
18
- */
19
- ntype: 'logger',
14
+ className: 'Neo.util.Logger',
20
15
  /**
21
16
  * Set this config to false to disable the logging
22
17
  * @member {boolean} enableLogs=true
@@ -35,7 +30,6 @@ class Logger extends Base {
35
30
  }}
36
31
 
37
32
  /**
38
- *
39
33
  * @param config
40
34
  */
41
35
  constructor(config) {
@@ -52,7 +46,6 @@ class Logger extends Base {
52
46
  }
53
47
 
54
48
  /**
55
- *
56
49
  * @param value
57
50
  */
58
51
  error(value) {
@@ -60,7 +53,6 @@ class Logger extends Base {
60
53
  }
61
54
 
62
55
  /**
63
- *
64
56
  * @param args
65
57
  */
66
58
  info(...args) {
@@ -69,7 +61,6 @@ class Logger extends Base {
69
61
  }
70
62
 
71
63
  /**
72
- *
73
64
  * @param args
74
65
  */
75
66
  log(...args) {
@@ -78,7 +69,6 @@ class Logger extends Base {
78
69
  }
79
70
 
80
71
  /**
81
- *
82
72
  * @param args
83
73
  */
84
74
  logError(...args) {
@@ -87,7 +77,6 @@ class Logger extends Base {
87
77
  }
88
78
 
89
79
  /**
90
- *
91
80
  * @param args
92
81
  */
93
82
  warn(...args) {
@@ -96,7 +85,6 @@ class Logger extends Base {
96
85
  }
97
86
 
98
87
  /**
99
- *
100
88
  * @param args
101
89
  * @protected
102
90
  */
@@ -113,4 +101,4 @@ let instance = Neo.create(Logger);
113
101
 
114
102
  Neo.applyToGlobalNs(instance);
115
103
 
116
- export default instance;
104
+ export default instance;
@@ -99,7 +99,6 @@ class Matrix extends Base {
99
99
  }
100
100
 
101
101
  /**
102
- *
103
102
  * @param t
104
103
  * @returns {*}
105
104
  */
@@ -116,7 +115,6 @@ class Matrix extends Base {
116
115
  }
117
116
 
118
117
  /**
119
- *
120
118
  * @param t
121
119
  * @returns {*}
122
120
  */
@@ -133,7 +131,6 @@ class Matrix extends Base {
133
131
  }
134
132
 
135
133
  /**
136
- *
137
134
  * @param t
138
135
  * @returns {*}
139
136
  */
package/src/util/VDom.mjs CHANGED
@@ -14,7 +14,6 @@ class VDom extends Base {
14
14
  }}
15
15
 
16
16
  /**
17
- *
18
17
  * @param {Object} vdom
19
18
  * @param {Boolean} [removeIds=true]
20
19
  * @returns {Object} cloned vdom
@@ -160,7 +159,6 @@ class VDom extends Base {
160
159
  }
161
160
 
162
161
  /**
163
- *
164
162
  * @param {Object} vdom
165
163
  * @param {Number} index
166
164
  * @returns {Array}
@@ -180,7 +178,6 @@ class VDom extends Base {
180
178
  }
181
179
 
182
180
  /**
183
- *
184
181
  * @param {Object} vdom
185
182
  * @param {Number} index
186
183
  * @returns {Array}
@@ -190,7 +187,6 @@ class VDom extends Base {
190
187
  }
191
188
 
192
189
  /**
193
- *
194
190
  * @param {Object} vdom
195
191
  * @param {String} flag
196
192
  * @param {Array} [matchArray]
@@ -217,7 +213,6 @@ class VDom extends Base {
217
213
  }
218
214
 
219
215
  /**
220
- *
221
216
  * @param {Object} vdom
222
217
  * @param {String} id
223
218
  * @param {Boolean} topLevel=true Internal flag, do not use it
@@ -5,10 +5,11 @@ import Date from './Date.mjs';
5
5
  import Function from './Function.mjs';
6
6
  import HashHistory from './HashHistory.mjs';
7
7
  import KeyNavigation from './KeyNavigation.mjs';
8
+ import Logger from './Logger.mjs';
8
9
  import Matrix from './Matrix.mjs';
9
10
  import Rectangle from './Rectangle.mjs';
10
11
  import Style from './Style.mjs';
11
12
  import VDom from './VDom.mjs';
12
13
  import VNode from './VNode.mjs';
13
14
 
14
- export {NeoArray, ClassSystem, Css, Date, Function, HashHistory, KeyNavigation, Matrix, Rectangle, Style, VDom, VNode};
15
+ export {NeoArray, ClassSystem, Css, Date, Function, HashHistory, KeyNavigation, Logger, Matrix, Rectangle, Style, VDom, VNode};
@@ -579,7 +579,6 @@ class Helper extends Base {
579
579
  }
580
580
 
581
581
  /**
582
- *
583
582
  * @param {Object} vnode
584
583
  */
585
584
  createStringFromVnode(vnode) {
@@ -629,7 +628,6 @@ class Helper extends Base {
629
628
  }
630
629
 
631
630
  /**
632
- *
633
631
  * @param {Neo.vdom.VNode} vnode
634
632
  * @param {String} id
635
633
  * @param {Neo.vdom.VNode} parentNode
@@ -672,7 +670,6 @@ class Helper extends Base {
672
670
  }
673
671
 
674
672
  /**
675
- *
676
673
  * @param {Object} opts
677
674
  * @returns {Object|Neo.vdom.VNode|null}
678
675
  */
@@ -4,7 +4,6 @@
4
4
  */
5
5
  class VNode {
6
6
  /**
7
- *
8
7
  * @param config
9
8
  */
10
9
  constructor(config) {
@@ -51,7 +51,6 @@ class App extends Base {
51
51
  }}
52
52
 
53
53
  /**
54
- *
55
54
  * @param {Object} config
56
55
  */
57
56
  constructor(config) {
@@ -60,7 +59,6 @@ class App extends Base {
60
59
  }
61
60
 
62
61
  /**
63
- *
64
62
  * @param {String} appName
65
63
  * @param {Array|Object} deltas
66
64
  * @returns {Promise<*>}
@@ -74,7 +72,6 @@ class App extends Base {
74
72
  }
75
73
 
76
74
  /**
77
- *
78
75
  * @param {JSON} data
79
76
  */
80
77
  createThemeMap(data) {
@@ -95,7 +92,6 @@ class App extends Base {
95
92
  }
96
93
 
97
94
  /**
98
- *
99
95
  * @param {String} path
100
96
  * @returns {Promise}
101
97
  */
@@ -216,7 +212,6 @@ class App extends Base {
216
212
  }
217
213
 
218
214
  /**
219
- *
220
215
  * @param {Object} msg
221
216
  */
222
217
  onRegisterNeoConfig(msg) {
@@ -247,7 +242,6 @@ class App extends Base {
247
242
  }
248
243
 
249
244
  /**
250
- *
251
245
  * @param {Object} msg
252
246
  */
253
247
  onRegisterPort(msg) {
@@ -260,7 +254,6 @@ class App extends Base {
260
254
  }
261
255
 
262
256
  /**
263
- *
264
257
  * @param {Object} data
265
258
  */
266
259
  onWindowPositionChange(data) {
@@ -50,7 +50,6 @@ class Base extends CoreBase {
50
50
  }}
51
51
 
52
52
  /**
53
- *
54
53
  * @param {Object} config
55
54
  */
56
55
  constructor(config) {
@@ -81,7 +80,6 @@ class Base extends CoreBase {
81
80
  afterConnect() {}
82
81
 
83
82
  /**
84
- *
85
83
  * @param {Object} opts
86
84
  * @returns {Object|null}
87
85
  */
@@ -170,7 +168,6 @@ class Base extends CoreBase {
170
168
  }
171
169
 
172
170
  /**
173
- *
174
171
  * @param {Object} e
175
172
  */
176
173
  onMessage(e) {
@@ -198,7 +195,6 @@ class Base extends CoreBase {
198
195
  }
199
196
 
200
197
  /**
201
- *
202
198
  * @param {Object} msg
203
199
  */
204
200
  onPing(msg) {
@@ -208,7 +204,6 @@ class Base extends CoreBase {
208
204
  }
209
205
 
210
206
  /**
211
- *
212
207
  * @param {Object} msg
213
208
  */
214
209
  onRegisterNeoConfig(msg) {
@@ -217,7 +212,6 @@ class Base extends CoreBase {
217
212
  }
218
213
 
219
214
  /**
220
- *
221
215
  * @param {String} dest app, data, main or vdom (excluding the current worker)
222
216
  * @param {Object} opts configs for Neo.worker.Message
223
217
  * @param {Array} [transfer] An optional array of Transferable objects to transfer ownership of.
@@ -49,7 +49,6 @@ class Canvas extends Base {
49
49
  }
50
50
 
51
51
  /**
52
- *
53
52
  * @param {Object} data
54
53
  */
55
54
  onRegisterCanvas(data) {
@@ -63,7 +62,6 @@ class Canvas extends Base {
63
62
  }
64
63
 
65
64
  /**
66
- *
67
65
  * @param {Object} msg
68
66
  */
69
67
  onRegisterNeoConfig(msg) {
@@ -102,9 +102,7 @@ class Manager extends Base {
102
102
 
103
103
  me.detectFeatures();
104
104
 
105
- if (!Neo.insideWorker) {
106
- me.createWorkers();
107
- }
105
+ !Neo.insideWorker && me.createWorkers();
108
106
 
109
107
  Neo.workerId = 'main';
110
108
 
@@ -7,7 +7,6 @@ import IdGenerator from '../core/IdGenerator.mjs';
7
7
  */
8
8
  class Message {
9
9
  /**
10
- *
11
10
  * @param {Object} config
12
11
  */
13
12
  constructor(config) {
@@ -19,7 +19,6 @@ class RemoteMethodAccess extends Base {
19
19
  }}
20
20
 
21
21
  /**
22
- *
23
22
  * @param {Object} remote
24
23
  * @param method
25
24
  * @returns {function(*=, *=): Promise<any>}
@@ -47,7 +46,6 @@ class RemoteMethodAccess extends Base {
47
46
  }
48
47
 
49
48
  /**
50
- *
51
49
  * @param {Object} remote
52
50
  */
53
51
  onRegisterRemote(remote) {
@@ -78,7 +76,6 @@ class RemoteMethodAccess extends Base {
78
76
  }
79
77
 
80
78
  /**
81
- *
82
79
  * @param {Object} msg
83
80
  */
84
81
  onRemoteMethod(msg) {
@@ -17,10 +17,11 @@ project.configure({
17
17
  });
18
18
 
19
19
  project.plan(
20
+ 'tests/ClassConfigsAndFields.mjs',
20
21
  'tests/ClassSystem.mjs',
21
22
  'tests/CollectionBase.mjs',
22
23
  'tests/VdomHelper.mjs',
23
24
  'tests/VdomCalendar.mjs'
24
25
  );
25
26
 
26
- project.start();
27
+ project.start();