neo.mjs 2.3.17 → 2.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/covid/Util.mjs +1 -3
- package/apps/covid/view/GalleryContainer.mjs +0 -1
- package/apps/covid/view/GalleryContainerController.mjs +1 -5
- package/apps/covid/view/HelixContainer.mjs +0 -1
- package/apps/covid/view/HelixContainerController.mjs +1 -4
- package/apps/covid/view/MainContainerController.mjs +0 -7
- package/apps/covid/view/MainContainerModel.mjs +0 -1
- package/apps/covid/view/TableContainer.mjs +0 -1
- package/apps/covid/view/TableContainerController.mjs +0 -3
- package/apps/covid/view/WorldMapComponent.mjs +1 -2
- package/apps/covid/view/WorldMapContainerController.mjs +0 -2
- package/apps/covid/view/country/Gallery.mjs +0 -2
- package/apps/covid/view/country/Helix.mjs +0 -3
- package/apps/covid/view/mapboxGl/Container.mjs +1 -1
- package/apps/covid/view/mapboxGl/ContainerController.mjs +1 -6
- package/apps/krausest/TableCollection.mjs +0 -1
- package/apps/krausest/view/MainComponent.mjs +0 -1
- package/apps/krausest/view/MainComponentController.mjs +0 -1
- package/apps/krausest/view/TableComponent.mjs +0 -2
- package/apps/realworld/api/Article.mjs +1 -4
- package/apps/realworld/api/Base.mjs +0 -5
- package/apps/realworld/api/Favorite.mjs +1 -3
- package/apps/realworld/api/Profile.mjs +1 -3
- package/apps/realworld/view/HeaderComponent.mjs +1 -2
- package/apps/realworld/view/HomeComponent.mjs +0 -9
- package/apps/realworld/view/MainContainerController.mjs +0 -13
- package/apps/realworld/view/article/CommentComponent.mjs +1 -3
- package/apps/realworld/view/article/Component.mjs +0 -5
- package/apps/realworld/view/article/CreateCommentComponent.mjs +1 -5
- package/apps/realworld/view/article/PreviewComponent.mjs +1 -3
- package/apps/realworld/view/article/TagListComponent.mjs +1 -5
- package/apps/realworld/view/user/ProfileComponent.mjs +0 -6
- package/apps/realworld/view/user/SettingsComponent.mjs +1 -5
- package/apps/realworld/view/user/SignUpComponent.mjs +0 -1
- package/apps/realworld2/api/Article.mjs +1 -4
- package/apps/realworld2/api/Base.mjs +0 -5
- package/apps/realworld2/api/Favorite.mjs +1 -3
- package/apps/realworld2/api/Profile.mjs +1 -3
- package/apps/realworld2/view/HeaderToolbarController.mjs +1 -2
- package/apps/realworld2/view/HomeContainer.mjs +1 -2
- package/apps/realworld2/view/MainContainerController.mjs +1 -14
- package/apps/realworld2/view/article/Gallery.mjs +1 -3
- package/apps/realworld2/view/article/GalleryContainer.mjs +1 -2
- package/apps/realworld2/view/article/Helix.mjs +1 -3
- package/apps/realworld2/view/article/HelixContainer.mjs +1 -3
- package/apps/realworld2/view/article/PreviewComponent.mjs +1 -3
- package/apps/realworld2/view/article/TagListComponent.mjs +1 -5
- package/apps/realworld2/view/user/LoginFormContainer.mjs +1 -2
- package/apps/sharedcovid/Util.mjs +1 -3
- package/apps/sharedcovid/view/GalleryContainer.mjs +0 -1
- package/apps/sharedcovid/view/GalleryContainerController.mjs +1 -5
- package/apps/sharedcovid/view/HelixContainer.mjs +0 -1
- package/apps/sharedcovid/view/HelixContainerController.mjs +1 -4
- package/apps/sharedcovid/view/MainContainerModel.mjs +0 -1
- package/apps/sharedcovid/view/TableContainer.mjs +0 -1
- package/apps/sharedcovid/view/TableContainerController.mjs +0 -3
- package/apps/sharedcovid/view/WorldMapComponent.mjs +1 -2
- package/apps/sharedcovid/view/WorldMapContainerController.mjs +0 -2
- package/apps/sharedcovid/view/country/Gallery.mjs +0 -2
- package/apps/sharedcovid/view/country/Helix.mjs +0 -3
- package/apps/sharedcovid/view/mapboxGl/Container.mjs +0 -1
- package/apps/sharedcovid/view/mapboxGl/ContainerController.mjs +1 -5
- package/apps/shareddialog/view/MainContainerController.mjs +0 -18
- package/apps/shareddialog2/view/MainContainerController.mjs +1 -2
- package/apps/website/view/MainContainerController.mjs +0 -4
- package/examples/ConfigurationViewport.mjs +0 -4
- package/examples/calendar/basic/MainContainerController.mjs +0 -1
- package/examples/component/coronaGallery/CountryGallery.mjs +1 -4
- package/examples/component/coronaGallery/MainContainer.mjs +0 -2
- package/examples/component/coronaHelix/CountryHelix.mjs +0 -4
- package/examples/component/coronaHelix/MainContainer.mjs +0 -2
- package/examples/component/gallery/MainContainer.mjs +0 -2
- package/examples/component/helix/MainContainer.mjs +0 -2
- package/examples/component/splitter/MainContainer.mjs +0 -2
- package/examples/core/config/MainContainer.mjs +1 -3
- package/examples/dialog/MainContainer.mjs +1 -5
- package/examples/model/advanced/MainContainerController.mjs +0 -12
- package/examples/model/dialog/EditUserDialogController.mjs +1 -3
- package/examples/model/dialog/MainContainerController.mjs +1 -2
- package/examples/model/extendedClass/MainContainerController.mjs +0 -7
- package/examples/model/inline/MainContainerController.mjs +0 -7
- package/examples/model/inlineNoModel/MainContainerController.mjs +1 -6
- package/examples/model/multiWindow/EditUserDialogController.mjs +1 -3
- package/examples/model/multiWindow/MainContainerController.mjs +1 -3
- package/examples/model/multiWindow/ViewportController.mjs +1 -3
- package/examples/model/nestedData/MainContainerController.mjs +1 -8
- package/examples/tab/container/MainContainer.mjs +1 -6
- package/examples/todoList/version2/TodoList.mjs +1 -1
- package/examples/tree/MainContainer.mjs +0 -2
- package/package.json +6 -6
- package/src/Main.mjs +7 -16
- package/src/Neo.mjs +0 -1
- package/src/button/Menu.mjs +0 -1
- package/src/button/Split.mjs +0 -4
- package/src/calendar/store/Events.mjs +0 -1
- package/src/calendar/view/DayComponent.mjs +0 -1
- package/src/calendar/view/EditEventContainer.mjs +0 -7
- package/src/calendar/view/MainContainer.mjs +0 -15
- package/src/calendar/view/MainContainerModel.mjs +0 -2
- package/src/calendar/view/SettingsContainer.mjs +0 -4
- package/src/calendar/view/YearComponent.mjs +0 -9
- package/src/calendar/view/calendars/Container.mjs +0 -1
- package/src/calendar/view/calendars/EditContainer.mjs +0 -5
- package/src/calendar/view/calendars/List.mjs +0 -5
- package/src/calendar/view/month/Component.mjs +0 -12
- package/src/calendar/view/settings/GeneralContainer.mjs +0 -3
- package/src/calendar/view/settings/MonthContainer.mjs +0 -3
- package/src/calendar/view/settings/WeekContainer.mjs +0 -5
- package/src/calendar/view/settings/YearContainer.mjs +0 -3
- package/src/calendar/view/week/Component.mjs +0 -16
- package/src/calendar/view/week/EventDragZone.mjs +0 -3
- package/src/calendar/view/week/TimeAxisComponent.mjs +0 -1
- package/src/calendar/view/week/plugin/DragDrop.mjs +0 -10
- package/src/calendar/view/week/plugin/EventResizable.mjs +0 -3
- package/src/collection/Base.mjs +1 -20
- package/src/collection/Filter.mjs +0 -1
- package/src/collection/Sorter.mjs +0 -3
- package/src/component/Base.mjs +1 -3
- package/src/component/Chip.mjs +0 -2
- package/src/component/Circle.mjs +0 -18
- package/src/component/DateSelector.mjs +0 -13
- package/src/component/Gallery.mjs +0 -12
- package/src/component/Helix.mjs +0 -14
- package/src/component/Splitter.mjs +0 -3
- package/src/component/mwc/TextField.mjs +0 -1
- package/src/component/wrapper/AmChart.mjs +1 -1
- package/src/component/wrapper/MapboxGL.mjs +0 -5
- package/src/container/Base.mjs +1 -7
- package/src/container/Panel.mjs +0 -3
- package/src/controller/Application.mjs +0 -1
- package/src/controller/Base.mjs +0 -1
- package/src/controller/Component.mjs +1 -4
- package/src/core/Base.mjs +1 -2
- package/src/core/Compare.mjs +0 -1
- package/src/core/IdGenerator.mjs +1 -3
- package/src/core/Observable.mjs +0 -3
- package/src/core/Util.mjs +0 -1
- package/src/core/_export.mjs +1 -2
- package/src/data/RecordFactory.mjs +1 -6
- package/src/data/Store.mjs +0 -10
- package/src/data/connection/Xhr.mjs +0 -6
- package/src/dialog/Base.mjs +0 -10
- package/src/draggable/DragProxyComponent.mjs +1 -3
- package/src/draggable/DragZone.mjs +0 -6
- package/src/draggable/DropZone.mjs +1 -7
- package/src/draggable/list/DragZone.mjs +1 -7
- package/src/draggable/tab/header/toolbar/SortZone.mjs +1 -3
- package/src/draggable/toolbar/DragZone.mjs +1 -5
- package/src/draggable/toolbar/SortZone.mjs +0 -5
- package/src/draggable/tree/DragZone.mjs +1 -4
- package/src/filter/BooleanContainer.mjs +0 -1
- package/src/filter/NumberContainer.mjs +0 -2
- package/src/filter/ToggleOperatorsButton.mjs +1 -3
- package/src/form/Container.mjs +0 -2
- package/src/form/Fieldset.mjs +0 -1
- package/src/form/field/Base.mjs +0 -2
- package/src/form/field/CheckBox.mjs +0 -5
- package/src/form/field/Color.mjs +0 -3
- package/src/form/field/Date.mjs +0 -4
- package/src/form/field/Display.mjs +0 -1
- package/src/form/field/Picker.mjs +0 -9
- package/src/form/field/Range.mjs +0 -1
- package/src/form/field/Select.mjs +22 -20
- package/src/form/field/Text.mjs +0 -15
- package/src/form/field/Time.mjs +0 -7
- package/src/form/field/trigger/Base.mjs +0 -2
- package/src/form/field/trigger/Clear.mjs +0 -3
- package/src/form/field/trigger/CopyToClipboard.mjs +0 -3
- package/src/form/field/trigger/Picker.mjs +0 -1
- package/src/form/field/trigger/SpinDown.mjs +0 -1
- package/src/form/field/trigger/SpinUp.mjs +0 -1
- package/src/form/field/trigger/SpinUpDown.mjs +0 -1
- package/src/form/field/trigger/Time.mjs +0 -1
- package/src/grid/Container.mjs +1 -4
- package/src/grid/header/Toolbar.mjs +1 -5
- package/src/list/Color.mjs +0 -3
- package/src/list/Component.mjs +0 -3
- package/src/list/plugin/Animate.mjs +0 -1
- package/src/main/DomAccess.mjs +7 -22
- package/src/main/DomEvents.mjs +42 -75
- package/src/main/addon/AmCharts.mjs +1 -10
- package/src/main/addon/AnalyticsByGoogle.mjs +1 -2
- package/src/main/addon/CloneNode.mjs +0 -2
- package/src/main/addon/Cookie.mjs +0 -3
- package/src/main/addon/DragDrop.mjs +0 -9
- package/src/main/addon/HighlightJS.mjs +1 -5
- package/src/main/addon/MapboxGL.mjs +1 -14
- package/src/main/addon/Mwc.mjs +0 -2
- package/src/main/addon/Siesta.mjs +0 -1
- package/src/main/addon/Stylesheet.mjs +0 -4
- package/src/main/addon/WindowPosition.mjs +1 -6
- package/src/main/draggable/sensor/Mouse.mjs +0 -4
- package/src/main/draggable/sensor/Touch.mjs +0 -4
- package/src/main/mixin/DeltaUpdates.mjs +0 -8
- package/src/main/mixin/TouchDomEvents.mjs +1 -7
- package/src/manager/Base.mjs +0 -2
- package/src/manager/Component.mjs +0 -3
- package/src/manager/DomEvent.mjs +1 -6
- package/src/manager/Focus.mjs +0 -7
- package/src/manager/Instance.mjs +0 -1
- package/src/manager/Store.mjs +0 -4
- package/src/menu/List.mjs +0 -6
- package/src/model/Component.mjs +0 -1
- package/src/plugin/Base.mjs +0 -1
- package/src/plugin/Resizable.mjs +0 -8
- package/src/selection/CircleModel.mjs +1 -5
- package/src/selection/DateSelectorModel.mjs +1 -9
- package/src/selection/GalleryModel.mjs +0 -9
- package/src/selection/HelixModel.mjs +0 -9
- package/src/selection/ListModel.mjs +0 -8
- package/src/selection/Model.mjs +0 -8
- package/src/selection/menu/ListModel.mjs +0 -2
- package/src/selection/table/CellColumnModel.mjs +0 -4
- package/src/selection/table/CellColumnRowModel.mjs +0 -4
- package/src/selection/table/CellModel.mjs +0 -8
- package/src/selection/table/CellRowModel.mjs +0 -6
- package/src/selection/table/ColumnModel.mjs +0 -6
- package/src/selection/table/RowModel.mjs +0 -5
- package/src/tab/Container.mjs +0 -6
- package/src/tab/header/Button.mjs +1 -2
- package/src/tab/header/Toolbar.mjs +0 -1
- package/src/table/Container.mjs +0 -8
- package/src/table/View.mjs +0 -4
- package/src/table/header/Button.mjs +0 -6
- package/src/table/header/Toolbar.mjs +1 -2
- package/src/tree/List.mjs +0 -4
- package/src/util/Css.mjs +0 -1
- package/src/util/Date.mjs +0 -2
- package/src/util/Function.mjs +0 -2
- package/src/util/HashHistory.mjs +0 -3
- package/src/util/KeyNavigation.mjs +0 -5
- package/src/{core → util}/Logger.mjs +5 -17
- package/src/util/Matrix.mjs +0 -3
- package/src/util/VDom.mjs +0 -5
- package/src/util/_export.mjs +2 -1
- package/src/vdom/Helper.mjs +0 -3
- package/src/vdom/VNode.mjs +0 -1
- package/src/worker/App.mjs +0 -7
- package/src/worker/Base.mjs +0 -6
- package/src/worker/Canvas.mjs +0 -2
- package/src/worker/Manager.mjs +1 -3
- package/src/worker/Message.mjs +0 -1
- package/src/worker/mixin/RemoteMethodAccess.mjs +0 -3
|
@@ -22,7 +22,6 @@ class DragDrop extends Base {
|
|
|
22
22
|
}}
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
25
|
* @param {Object} config
|
|
27
26
|
*/
|
|
28
27
|
constructor(config) {
|
|
@@ -60,7 +59,6 @@ class DragDrop extends Base {
|
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
/**
|
|
63
|
-
*
|
|
64
62
|
* @param {Object} opts
|
|
65
63
|
* @param {Object} opts.dragElement
|
|
66
64
|
* @param {Boolean} opts.enableResizingAcrossOppositeEdge
|
|
@@ -106,7 +104,6 @@ class DragDrop extends Base {
|
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
/**
|
|
109
|
-
*
|
|
110
107
|
* @param {Object} path
|
|
111
108
|
* @returns {Boolean}
|
|
112
109
|
*/
|
|
@@ -115,7 +112,6 @@ class DragDrop extends Base {
|
|
|
115
112
|
}
|
|
116
113
|
|
|
117
114
|
/**
|
|
118
|
-
*
|
|
119
115
|
* @param {Object} eventData
|
|
120
116
|
* @returns {Boolean}
|
|
121
117
|
*/
|
|
@@ -124,7 +120,6 @@ class DragDrop extends Base {
|
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
/**
|
|
127
|
-
*
|
|
128
123
|
* @param {Object} data
|
|
129
124
|
*/
|
|
130
125
|
onColumnDragEnd(data) {
|
|
@@ -149,7 +144,6 @@ class DragDrop extends Base {
|
|
|
149
144
|
}
|
|
150
145
|
|
|
151
146
|
/**
|
|
152
|
-
*
|
|
153
147
|
* @param {Object} data
|
|
154
148
|
*/
|
|
155
149
|
onColumnDragMove(data) {
|
|
@@ -159,7 +153,6 @@ class DragDrop extends Base {
|
|
|
159
153
|
}
|
|
160
154
|
|
|
161
155
|
/**
|
|
162
|
-
*
|
|
163
156
|
* @param {Object} data
|
|
164
157
|
*/
|
|
165
158
|
onColumnDragStart(data) {
|
|
@@ -226,7 +219,6 @@ class DragDrop extends Base {
|
|
|
226
219
|
}
|
|
227
220
|
|
|
228
221
|
/**
|
|
229
|
-
*
|
|
230
222
|
* @param {Object} data
|
|
231
223
|
*/
|
|
232
224
|
onEventDragEnd(data) {
|
|
@@ -248,7 +240,6 @@ class DragDrop extends Base {
|
|
|
248
240
|
}
|
|
249
241
|
|
|
250
242
|
/**
|
|
251
|
-
*
|
|
252
243
|
* @param {Object} data
|
|
253
244
|
*/
|
|
254
245
|
onEventDragMove(data) {
|
|
@@ -265,7 +256,6 @@ class DragDrop extends Base {
|
|
|
265
256
|
}
|
|
266
257
|
|
|
267
258
|
/**
|
|
268
|
-
*
|
|
269
259
|
* @param {Object} data
|
|
270
260
|
*/
|
|
271
261
|
onEventDragStart(data) {
|
|
@@ -14,7 +14,6 @@ class EventResizable extends Resizable {
|
|
|
14
14
|
}}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
17
|
* @param {Object} data
|
|
19
18
|
*/
|
|
20
19
|
onDragEnd(data) {
|
|
@@ -26,7 +25,6 @@ class EventResizable extends Resizable {
|
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
/**
|
|
29
|
-
*
|
|
30
28
|
* @param {Object} data
|
|
31
29
|
*/
|
|
32
30
|
onDragMove(data) {
|
|
@@ -34,7 +32,6 @@ class EventResizable extends Resizable {
|
|
|
34
32
|
}
|
|
35
33
|
|
|
36
34
|
/**
|
|
37
|
-
*
|
|
38
35
|
* @param {Object} data
|
|
39
36
|
*/
|
|
40
37
|
onDragStart(data) {
|
package/src/collection/Base.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import CoreBase from '../core/Base.mjs';
|
|
2
2
|
import Filter from './Filter.mjs';
|
|
3
|
-
import Logger from '../
|
|
3
|
+
import Logger from '../util/Logger.mjs';
|
|
4
4
|
import Sorter from './Sorter.mjs';
|
|
5
5
|
import Observable from '../core/Observable.mjs';
|
|
6
6
|
import Util from '../core/Util.mjs';
|
|
@@ -106,7 +106,6 @@ class Base extends CoreBase {
|
|
|
106
106
|
}}
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
110
109
|
* @param config
|
|
111
110
|
*/
|
|
112
111
|
constructor(config) {
|
|
@@ -142,7 +141,6 @@ class Base extends CoreBase {
|
|
|
142
141
|
}
|
|
143
142
|
|
|
144
143
|
/**
|
|
145
|
-
*
|
|
146
144
|
* @param {Array} value
|
|
147
145
|
* @param {Array} oldValue
|
|
148
146
|
* @protected
|
|
@@ -161,7 +159,6 @@ class Base extends CoreBase {
|
|
|
161
159
|
}
|
|
162
160
|
|
|
163
161
|
/**
|
|
164
|
-
*
|
|
165
162
|
* @param {Array} value
|
|
166
163
|
* @param {Array} oldValue
|
|
167
164
|
* @protected
|
|
@@ -182,7 +179,6 @@ class Base extends CoreBase {
|
|
|
182
179
|
}
|
|
183
180
|
|
|
184
181
|
/**
|
|
185
|
-
*
|
|
186
182
|
* @param {Array} value
|
|
187
183
|
* @param {Array} oldValue
|
|
188
184
|
* @protected
|
|
@@ -203,7 +199,6 @@ class Base extends CoreBase {
|
|
|
203
199
|
}
|
|
204
200
|
|
|
205
201
|
/**
|
|
206
|
-
*
|
|
207
202
|
* @param {Number|String} value
|
|
208
203
|
* @param {Number|String} oldValue
|
|
209
204
|
* @protected
|
|
@@ -249,7 +244,6 @@ class Base extends CoreBase {
|
|
|
249
244
|
}
|
|
250
245
|
|
|
251
246
|
/**
|
|
252
|
-
*
|
|
253
247
|
* @param {Array} value
|
|
254
248
|
* @param {Array} oldValue
|
|
255
249
|
* @protected
|
|
@@ -307,7 +301,6 @@ class Base extends CoreBase {
|
|
|
307
301
|
}
|
|
308
302
|
|
|
309
303
|
/**
|
|
310
|
-
*
|
|
311
304
|
* @param {Map|null} value
|
|
312
305
|
* @param {Map|null} oldValue
|
|
313
306
|
* @protected
|
|
@@ -317,7 +310,6 @@ class Base extends CoreBase {
|
|
|
317
310
|
}
|
|
318
311
|
|
|
319
312
|
/**
|
|
320
|
-
*
|
|
321
313
|
* @param {Array} value
|
|
322
314
|
* @param {Array} oldValue
|
|
323
315
|
* @protected
|
|
@@ -370,7 +362,6 @@ class Base extends CoreBase {
|
|
|
370
362
|
}
|
|
371
363
|
|
|
372
364
|
/**
|
|
373
|
-
*
|
|
374
365
|
* @param opts
|
|
375
366
|
* @protected
|
|
376
367
|
*/
|
|
@@ -432,7 +423,6 @@ class Base extends CoreBase {
|
|
|
432
423
|
}
|
|
433
424
|
|
|
434
425
|
/**
|
|
435
|
-
*
|
|
436
426
|
* @returns {Neo.collection.Base} The cloned collection
|
|
437
427
|
*/
|
|
438
428
|
clone() {
|
|
@@ -793,7 +783,6 @@ class Base extends CoreBase {
|
|
|
793
783
|
}
|
|
794
784
|
|
|
795
785
|
/**
|
|
796
|
-
*
|
|
797
786
|
* @returns {Number}
|
|
798
787
|
*/
|
|
799
788
|
getCountMutations() {
|
|
@@ -849,7 +838,6 @@ class Base extends CoreBase {
|
|
|
849
838
|
}
|
|
850
839
|
|
|
851
840
|
/**
|
|
852
|
-
*
|
|
853
841
|
* Returns a boolean asserting whether a value has been associated to the key in the Collection or not
|
|
854
842
|
* @param {Number|String} key
|
|
855
843
|
* @returns {Boolean}
|
|
@@ -905,7 +893,6 @@ class Base extends CoreBase {
|
|
|
905
893
|
}
|
|
906
894
|
|
|
907
895
|
/**
|
|
908
|
-
*
|
|
909
896
|
* @returns {Boolean} true in case the collection is filtered
|
|
910
897
|
*/
|
|
911
898
|
isFiltered() {
|
|
@@ -913,7 +900,6 @@ class Base extends CoreBase {
|
|
|
913
900
|
}
|
|
914
901
|
|
|
915
902
|
/**
|
|
916
|
-
*
|
|
917
903
|
* @param {Object} item
|
|
918
904
|
* @returns {boolean}
|
|
919
905
|
* @protected
|
|
@@ -936,7 +922,6 @@ class Base extends CoreBase {
|
|
|
936
922
|
}
|
|
937
923
|
|
|
938
924
|
/**
|
|
939
|
-
*
|
|
940
925
|
* @returns {Boolean} true in case the collection is sorted
|
|
941
926
|
*/
|
|
942
927
|
isSorted() {
|
|
@@ -952,7 +937,6 @@ class Base extends CoreBase {
|
|
|
952
937
|
}
|
|
953
938
|
|
|
954
939
|
/**
|
|
955
|
-
*
|
|
956
940
|
* @param {Object} opts
|
|
957
941
|
* @protected
|
|
958
942
|
*/
|
|
@@ -961,7 +945,6 @@ class Base extends CoreBase {
|
|
|
961
945
|
}
|
|
962
946
|
|
|
963
947
|
/**
|
|
964
|
-
*
|
|
965
948
|
* @param {Object} opts
|
|
966
949
|
* @protected
|
|
967
950
|
*/
|
|
@@ -976,7 +959,6 @@ class Base extends CoreBase {
|
|
|
976
959
|
}
|
|
977
960
|
|
|
978
961
|
/**
|
|
979
|
-
*
|
|
980
962
|
* @param {Object} opts
|
|
981
963
|
* @protected
|
|
982
964
|
*/
|
|
@@ -1042,7 +1024,6 @@ class Base extends CoreBase {
|
|
|
1042
1024
|
}
|
|
1043
1025
|
|
|
1044
1026
|
/**
|
|
1045
|
-
*
|
|
1046
1027
|
* @param {function} callback Function to test for each item, taking three parameters:
|
|
1047
1028
|
* @param {Object} callback.item The current collection item being processed
|
|
1048
1029
|
* @param {Number} [callback.index] The index of the current item being processed
|
|
@@ -63,7 +63,6 @@ class Sorter extends Base {
|
|
|
63
63
|
}}
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
67
66
|
* @param {String} value
|
|
68
67
|
* @param {String} oldValue
|
|
69
68
|
*/
|
|
@@ -81,7 +80,6 @@ class Sorter extends Base {
|
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
/**
|
|
84
|
-
*
|
|
85
83
|
* @param {String} value
|
|
86
84
|
* @param {String} oldValue
|
|
87
85
|
*/
|
|
@@ -124,7 +122,6 @@ class Sorter extends Base {
|
|
|
124
122
|
}
|
|
125
123
|
|
|
126
124
|
/**
|
|
127
|
-
*
|
|
128
125
|
* @param {*} value
|
|
129
126
|
* @returns {*} value
|
|
130
127
|
*/
|
package/src/component/Base.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import ComponentManager from '../manager/Component.mjs';
|
|
|
3
3
|
import CoreBase from '../core/Base.mjs';
|
|
4
4
|
import DomEventManager from '../manager/DomEvent.mjs';
|
|
5
5
|
import KeyNavigation from '../util/KeyNavigation.mjs';
|
|
6
|
-
import Logger from '../
|
|
6
|
+
import Logger from '../util/Logger.mjs';
|
|
7
7
|
import NeoArray from '../util/Array.mjs';
|
|
8
8
|
import Observable from '../core/Observable.mjs';
|
|
9
9
|
import Style from '../util/Style.mjs';
|
|
@@ -973,7 +973,6 @@ class Base extends CoreBase {
|
|
|
973
973
|
}
|
|
974
974
|
|
|
975
975
|
/**
|
|
976
|
-
*
|
|
977
976
|
* @param {Object|String} opts
|
|
978
977
|
* @returns {Neo.plugin.Base|null}
|
|
979
978
|
*/
|
|
@@ -1290,7 +1289,6 @@ class Base extends CoreBase {
|
|
|
1290
1289
|
}
|
|
1291
1290
|
|
|
1292
1291
|
/**
|
|
1293
|
-
*
|
|
1294
1292
|
* @param {Array|Object} value
|
|
1295
1293
|
*/
|
|
1296
1294
|
removeDomListeners(value) {
|
package/src/component/Chip.mjs
CHANGED
|
@@ -58,7 +58,6 @@ class Chip extends Component {
|
|
|
58
58
|
}}
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
61
|
* @param {Object} config
|
|
63
62
|
*/
|
|
64
63
|
constructor(config) {
|
|
@@ -151,7 +150,6 @@ class Chip extends Component {
|
|
|
151
150
|
}
|
|
152
151
|
|
|
153
152
|
/**
|
|
154
|
-
*
|
|
155
153
|
* @param {Object} data
|
|
156
154
|
*/
|
|
157
155
|
onCloseButtonClick(data) {
|
package/src/component/Circle.mjs
CHANGED
|
@@ -118,7 +118,6 @@ class Circle extends Component {
|
|
|
118
118
|
}}
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
122
121
|
* @param {Object} config
|
|
123
122
|
*/
|
|
124
123
|
constructor(config) {
|
|
@@ -317,7 +316,6 @@ class Circle extends Component {
|
|
|
317
316
|
}
|
|
318
317
|
|
|
319
318
|
/**
|
|
320
|
-
*
|
|
321
319
|
* @returns {Object[]}
|
|
322
320
|
*/
|
|
323
321
|
calculateItemPositions() {
|
|
@@ -356,7 +354,6 @@ class Circle extends Component {
|
|
|
356
354
|
}
|
|
357
355
|
|
|
358
356
|
/**
|
|
359
|
-
*
|
|
360
357
|
* @param data
|
|
361
358
|
*/
|
|
362
359
|
collapseItem(data) {
|
|
@@ -376,7 +373,6 @@ class Circle extends Component {
|
|
|
376
373
|
}
|
|
377
374
|
|
|
378
375
|
/**
|
|
379
|
-
*
|
|
380
376
|
* @param {Boolean} [silent=false]
|
|
381
377
|
*/
|
|
382
378
|
createBacksideItems(silent=false) {
|
|
@@ -405,7 +401,6 @@ class Circle extends Component {
|
|
|
405
401
|
}
|
|
406
402
|
|
|
407
403
|
/**
|
|
408
|
-
*
|
|
409
404
|
* @param {Number} [startIndex=0]
|
|
410
405
|
* @param {Boolean} [silent=false]
|
|
411
406
|
*/
|
|
@@ -457,7 +452,6 @@ class Circle extends Component {
|
|
|
457
452
|
}
|
|
458
453
|
|
|
459
454
|
/**
|
|
460
|
-
*
|
|
461
455
|
* @param data
|
|
462
456
|
*/
|
|
463
457
|
expandItem(data) {
|
|
@@ -508,7 +502,6 @@ class Circle extends Component {
|
|
|
508
502
|
}
|
|
509
503
|
|
|
510
504
|
/**
|
|
511
|
-
*
|
|
512
505
|
* @param {String} itemId
|
|
513
506
|
* @returns {Object}
|
|
514
507
|
*/
|
|
@@ -519,7 +512,6 @@ class Circle extends Component {
|
|
|
519
512
|
}
|
|
520
513
|
|
|
521
514
|
/**
|
|
522
|
-
*
|
|
523
515
|
* @param {Number} index
|
|
524
516
|
* @returns {String}
|
|
525
517
|
*/
|
|
@@ -530,7 +522,6 @@ class Circle extends Component {
|
|
|
530
522
|
}
|
|
531
523
|
|
|
532
524
|
/**
|
|
533
|
-
*
|
|
534
525
|
* @param {String} vnodeId
|
|
535
526
|
* @returns {String|Number} itemId
|
|
536
527
|
*/
|
|
@@ -576,7 +567,6 @@ class Circle extends Component {
|
|
|
576
567
|
}
|
|
577
568
|
|
|
578
569
|
/**
|
|
579
|
-
*
|
|
580
570
|
* @param {Object} data
|
|
581
571
|
*/
|
|
582
572
|
onBacksideIconClick(data) {
|
|
@@ -604,7 +594,6 @@ class Circle extends Component {
|
|
|
604
594
|
}
|
|
605
595
|
|
|
606
596
|
/**
|
|
607
|
-
*
|
|
608
597
|
* @param {Object} data
|
|
609
598
|
*/
|
|
610
599
|
onContextMenu(data) {
|
|
@@ -612,7 +601,6 @@ class Circle extends Component {
|
|
|
612
601
|
}
|
|
613
602
|
|
|
614
603
|
/**
|
|
615
|
-
*
|
|
616
604
|
* @param {Object} data
|
|
617
605
|
*/
|
|
618
606
|
onMouseWheel(data) {
|
|
@@ -664,7 +652,6 @@ class Circle extends Component {
|
|
|
664
652
|
}
|
|
665
653
|
|
|
666
654
|
/**
|
|
667
|
-
*
|
|
668
655
|
* @param {Boolean} [silent=false]
|
|
669
656
|
*/
|
|
670
657
|
updateInnerCircle(silent=false) {
|
|
@@ -685,7 +672,6 @@ class Circle extends Component {
|
|
|
685
672
|
}
|
|
686
673
|
|
|
687
674
|
/**
|
|
688
|
-
*
|
|
689
675
|
* @param {Boolean} [silent=false]
|
|
690
676
|
*/
|
|
691
677
|
updateItemAngle(silent=false) {
|
|
@@ -703,7 +689,6 @@ class Circle extends Component {
|
|
|
703
689
|
}
|
|
704
690
|
|
|
705
691
|
/**
|
|
706
|
-
*
|
|
707
692
|
* @param {Number} value
|
|
708
693
|
* @param {Boolean} [silent=false]
|
|
709
694
|
* @param {Number} [startIndex=0]
|
|
@@ -723,7 +708,6 @@ class Circle extends Component {
|
|
|
723
708
|
}
|
|
724
709
|
|
|
725
710
|
/**
|
|
726
|
-
*
|
|
727
711
|
* @param {Boolean} [silent=false]
|
|
728
712
|
*/
|
|
729
713
|
updateItemPositions(silent=false) {
|
|
@@ -753,7 +737,6 @@ class Circle extends Component {
|
|
|
753
737
|
}
|
|
754
738
|
|
|
755
739
|
/**
|
|
756
|
-
*
|
|
757
740
|
* @param {Boolean} [silent=false]
|
|
758
741
|
*/
|
|
759
742
|
updateOuterCircle(silent=false) {
|
|
@@ -787,7 +770,6 @@ class Circle extends Component {
|
|
|
787
770
|
}
|
|
788
771
|
|
|
789
772
|
/**
|
|
790
|
-
*
|
|
791
773
|
* @param {Boolean} [silent=false]
|
|
792
774
|
*/
|
|
793
775
|
updateTitle(silent=false) {
|
|
@@ -138,7 +138,6 @@ class DateSelector extends Component {
|
|
|
138
138
|
}}
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
142
141
|
* @param {Object} config
|
|
143
142
|
*/
|
|
144
143
|
constructor(config) {
|
|
@@ -387,7 +386,6 @@ class DateSelector extends Component {
|
|
|
387
386
|
}
|
|
388
387
|
|
|
389
388
|
/**
|
|
390
|
-
*
|
|
391
389
|
* @param {Number} increment
|
|
392
390
|
* @param {Number} yearIncrement
|
|
393
391
|
*/
|
|
@@ -476,7 +474,6 @@ class DateSelector extends Component {
|
|
|
476
474
|
}
|
|
477
475
|
|
|
478
476
|
/**
|
|
479
|
-
*
|
|
480
477
|
* @param {Number} increment
|
|
481
478
|
*/
|
|
482
479
|
changeYear(increment) {
|
|
@@ -568,7 +565,6 @@ class DateSelector extends Component {
|
|
|
568
565
|
}
|
|
569
566
|
|
|
570
567
|
/**
|
|
571
|
-
*
|
|
572
568
|
* @param {Boolean} silent true to update the vdom silently
|
|
573
569
|
* @param {Object} [containerEl]
|
|
574
570
|
*/
|
|
@@ -678,7 +674,6 @@ class DateSelector extends Component {
|
|
|
678
674
|
}
|
|
679
675
|
|
|
680
676
|
/**
|
|
681
|
-
*
|
|
682
677
|
* @returns {Object}
|
|
683
678
|
*/
|
|
684
679
|
getCenterContentEl() {
|
|
@@ -686,7 +681,6 @@ class DateSelector extends Component {
|
|
|
686
681
|
}
|
|
687
682
|
|
|
688
683
|
/**
|
|
689
|
-
*
|
|
690
684
|
* @returns {Object}
|
|
691
685
|
*/
|
|
692
686
|
getHeaderMonthEl() {
|
|
@@ -694,7 +688,6 @@ class DateSelector extends Component {
|
|
|
694
688
|
}
|
|
695
689
|
|
|
696
690
|
/**
|
|
697
|
-
*
|
|
698
691
|
* @returns {Object}
|
|
699
692
|
*/
|
|
700
693
|
getHeaderYearEl() {
|
|
@@ -702,7 +695,6 @@ class DateSelector extends Component {
|
|
|
702
695
|
}
|
|
703
696
|
|
|
704
697
|
/**
|
|
705
|
-
*
|
|
706
698
|
* @param {Object} data
|
|
707
699
|
*/
|
|
708
700
|
onCellClick(data) {
|
|
@@ -715,7 +707,6 @@ class DateSelector extends Component {
|
|
|
715
707
|
}
|
|
716
708
|
|
|
717
709
|
/**
|
|
718
|
-
*
|
|
719
710
|
* @param {Object} data
|
|
720
711
|
*/
|
|
721
712
|
onComponentClick(data) {
|
|
@@ -735,7 +726,6 @@ class DateSelector extends Component {
|
|
|
735
726
|
}
|
|
736
727
|
|
|
737
728
|
/**
|
|
738
|
-
*
|
|
739
729
|
* @param {Object} data
|
|
740
730
|
*/
|
|
741
731
|
onComponentWheel(data) {
|
|
@@ -825,7 +815,6 @@ class DateSelector extends Component {
|
|
|
825
815
|
}
|
|
826
816
|
|
|
827
817
|
/**
|
|
828
|
-
*
|
|
829
818
|
* @param {String} value
|
|
830
819
|
* @param {String} oldValue
|
|
831
820
|
* @param {Boolean} [silent=false]
|
|
@@ -865,7 +854,6 @@ class DateSelector extends Component {
|
|
|
865
854
|
}
|
|
866
855
|
|
|
867
856
|
/**
|
|
868
|
-
*
|
|
869
857
|
* @param {Number} increment
|
|
870
858
|
* @param {Number} yearIncrement
|
|
871
859
|
* @param {Boolean} silent=false
|
|
@@ -966,7 +954,6 @@ class DateSelector extends Component {
|
|
|
966
954
|
}
|
|
967
955
|
|
|
968
956
|
/**
|
|
969
|
-
*
|
|
970
957
|
* @param {Number} increment
|
|
971
958
|
* @param {Boolean} [silent=false]
|
|
972
959
|
*/
|
|
@@ -167,7 +167,6 @@ class Gallery extends Component {
|
|
|
167
167
|
}}
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
171
170
|
* @param {Object} config
|
|
172
171
|
*/
|
|
173
172
|
constructor(config) {
|
|
@@ -365,7 +364,6 @@ class Gallery extends Component {
|
|
|
365
364
|
}
|
|
366
365
|
|
|
367
366
|
/**
|
|
368
|
-
*
|
|
369
367
|
* @returns {*}
|
|
370
368
|
*/
|
|
371
369
|
beforeGetItemTpl() {
|
|
@@ -457,7 +455,6 @@ class Gallery extends Component {
|
|
|
457
455
|
}
|
|
458
456
|
|
|
459
457
|
/**
|
|
460
|
-
*
|
|
461
458
|
* @param {Number} [startIndex]
|
|
462
459
|
* @param {Number} [amountItems]
|
|
463
460
|
*/
|
|
@@ -476,7 +473,6 @@ class Gallery extends Component {
|
|
|
476
473
|
}
|
|
477
474
|
|
|
478
475
|
/**
|
|
479
|
-
*
|
|
480
476
|
* @param {Number} index
|
|
481
477
|
* @returns {Number[]}
|
|
482
478
|
*/
|
|
@@ -504,7 +500,6 @@ class Gallery extends Component {
|
|
|
504
500
|
}
|
|
505
501
|
|
|
506
502
|
/**
|
|
507
|
-
*
|
|
508
503
|
* @param {String} vnodeId
|
|
509
504
|
* @returns {Number} itemId
|
|
510
505
|
*/
|
|
@@ -521,7 +516,6 @@ class Gallery extends Component {
|
|
|
521
516
|
}
|
|
522
517
|
|
|
523
518
|
/**
|
|
524
|
-
*
|
|
525
519
|
* @param {Number} index
|
|
526
520
|
* @returns {String}
|
|
527
521
|
*/
|
|
@@ -548,7 +542,6 @@ class Gallery extends Component {
|
|
|
548
542
|
}
|
|
549
543
|
|
|
550
544
|
/**
|
|
551
|
-
*
|
|
552
545
|
* @param {String} id
|
|
553
546
|
* @returns {String}
|
|
554
547
|
*/
|
|
@@ -569,7 +562,6 @@ class Gallery extends Component {
|
|
|
569
562
|
}
|
|
570
563
|
|
|
571
564
|
/**
|
|
572
|
-
*
|
|
573
565
|
* @param {Object} data
|
|
574
566
|
*/
|
|
575
567
|
onClick(data) {
|
|
@@ -607,7 +599,6 @@ class Gallery extends Component {
|
|
|
607
599
|
}
|
|
608
600
|
|
|
609
601
|
/**
|
|
610
|
-
*
|
|
611
602
|
* @param {Object} data
|
|
612
603
|
*/
|
|
613
604
|
onMouseWheel(data) {
|
|
@@ -629,7 +620,6 @@ class Gallery extends Component {
|
|
|
629
620
|
}
|
|
630
621
|
|
|
631
622
|
/**
|
|
632
|
-
*
|
|
633
623
|
* @param {Array} value
|
|
634
624
|
*/
|
|
635
625
|
onSelectionChange(value) {
|
|
@@ -752,7 +742,6 @@ class Gallery extends Component {
|
|
|
752
742
|
}
|
|
753
743
|
|
|
754
744
|
/**
|
|
755
|
-
*
|
|
756
745
|
* @param {Array} items
|
|
757
746
|
*/
|
|
758
747
|
onStoreLoad(items) {
|
|
@@ -788,7 +777,6 @@ class Gallery extends Component {
|
|
|
788
777
|
}
|
|
789
778
|
|
|
790
779
|
/**
|
|
791
|
-
*
|
|
792
780
|
* @param {Number} x
|
|
793
781
|
* @param {Number} y
|
|
794
782
|
* @param {Number} z
|