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.
- package/README.md +11 -2
- 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/MainContainer.mjs +1 -1
- 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/api/config.mjs +2 -2
- 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/MainContainer.mjs +1 -1
- 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/buildScripts/webpack/development/webpack.config.main.js +2 -1
- package/buildScripts/webpack/production/webpack.config.main.js +2 -1
- 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/list/animate/List.mjs +50 -0
- package/examples/list/animate/MainContainer.mjs +79 -0
- package/examples/list/animate/MainModel.mjs +33 -0
- package/examples/list/animate/MainStore.mjs +31 -0
- package/examples/list/animate/app.mjs +8 -0
- package/examples/list/animate/index.html +11 -0
- package/examples/list/animate/neo-config.json +7 -0
- package/examples/list/base/neo-config.json +1 -1
- 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 +11 -11
- package/resources/scss/src/examples/list/animate/List.scss +30 -0
- package/src/Main.mjs +7 -16
- package/src/Neo.mjs +1 -4
- 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 +8 -24
- 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 +2 -3
- 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/Base.mjs +39 -8
- package/src/list/Color.mjs +0 -3
- package/src/list/Component.mjs +0 -3
- package/src/list/plugin/Animate.mjs +176 -0
- 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 +3 -15
- 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
- package/test/siesta/siesta.js +2 -1
- package/test/siesta/tests/ClassConfigsAndFields.mjs +69 -0
- package/test/siesta/tests/ClassSystem.mjs +1 -1
|
@@ -138,7 +138,6 @@ class Stylesheet extends Base {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
142
141
|
* @param {String} token
|
|
143
142
|
* @returns {Boolean}
|
|
144
143
|
*/
|
|
@@ -158,7 +157,6 @@ class Stylesheet extends Base {
|
|
|
158
157
|
}
|
|
159
158
|
|
|
160
159
|
/**
|
|
161
|
-
*
|
|
162
160
|
* @param {Object} data
|
|
163
161
|
* @param {Array} data.rules
|
|
164
162
|
* @protected
|
|
@@ -184,7 +182,6 @@ class Stylesheet extends Base {
|
|
|
184
182
|
}
|
|
185
183
|
|
|
186
184
|
/**
|
|
187
|
-
*
|
|
188
185
|
* @param {Object} opts
|
|
189
186
|
* @param {String[]} opts.included
|
|
190
187
|
* @param {String[]} opts.excluded
|
|
@@ -224,7 +221,6 @@ class Stylesheet extends Base {
|
|
|
224
221
|
}
|
|
225
222
|
|
|
226
223
|
/**
|
|
227
|
-
*
|
|
228
224
|
* @param {Object} data
|
|
229
225
|
* @param {String} data.href
|
|
230
226
|
* @param {String} data.id
|
|
@@ -128,7 +128,6 @@ class WindowPosition extends Base {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
132
131
|
* @param {Object} data
|
|
133
132
|
*/
|
|
134
133
|
getPosition(data) {
|
|
@@ -161,7 +160,6 @@ class WindowPosition extends Base {
|
|
|
161
160
|
}
|
|
162
161
|
|
|
163
162
|
/**
|
|
164
|
-
*
|
|
165
163
|
* @param {MouseEvent} event
|
|
166
164
|
*/
|
|
167
165
|
onMouseOut(event) {
|
|
@@ -178,7 +176,6 @@ class WindowPosition extends Base {
|
|
|
178
176
|
}
|
|
179
177
|
|
|
180
178
|
/**
|
|
181
|
-
*
|
|
182
179
|
* @param {Object} event
|
|
183
180
|
*/
|
|
184
181
|
onResize(event) {
|
|
@@ -209,7 +206,6 @@ class WindowPosition extends Base {
|
|
|
209
206
|
}
|
|
210
207
|
|
|
211
208
|
/**
|
|
212
|
-
*
|
|
213
209
|
* @param {Object} data
|
|
214
210
|
* @param {String} data.dock
|
|
215
211
|
* @param {String} data.name
|
|
@@ -255,7 +251,6 @@ class WindowPosition extends Base {
|
|
|
255
251
|
}
|
|
256
252
|
|
|
257
253
|
/**
|
|
258
|
-
*
|
|
259
254
|
* @param {Object} data
|
|
260
255
|
* @param {String} data.name
|
|
261
256
|
*/
|
|
@@ -270,4 +265,4 @@ let instance = Neo.create(WindowPosition);
|
|
|
270
265
|
|
|
271
266
|
Neo.applyToGlobalNs(instance);
|
|
272
267
|
|
|
273
|
-
export default instance;
|
|
268
|
+
export default instance;
|
|
@@ -41,7 +41,6 @@ class Mouse extends Base {
|
|
|
41
41
|
}}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
44
|
* @param config
|
|
46
45
|
*/
|
|
47
46
|
constructor(config) {
|
|
@@ -86,7 +85,6 @@ class Mouse extends Base {
|
|
|
86
85
|
}
|
|
87
86
|
|
|
88
87
|
/**
|
|
89
|
-
*
|
|
90
88
|
* @param {MouseEvent} event
|
|
91
89
|
*/
|
|
92
90
|
onMouseDown(event) {
|
|
@@ -120,7 +118,6 @@ class Mouse extends Base {
|
|
|
120
118
|
}
|
|
121
119
|
|
|
122
120
|
/**
|
|
123
|
-
*
|
|
124
121
|
* @param {MouseEvent} event
|
|
125
122
|
*/
|
|
126
123
|
onMouseMove(event) {
|
|
@@ -143,7 +140,6 @@ class Mouse extends Base {
|
|
|
143
140
|
}
|
|
144
141
|
|
|
145
142
|
/**
|
|
146
|
-
*
|
|
147
143
|
* @param {MouseEvent} event
|
|
148
144
|
*/
|
|
149
145
|
onMouseUp(event) {
|
|
@@ -55,7 +55,6 @@ class Touch extends Base {
|
|
|
55
55
|
}}
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
59
58
|
* @param config
|
|
60
59
|
*/
|
|
61
60
|
constructor(config) {
|
|
@@ -101,7 +100,6 @@ class Touch extends Base {
|
|
|
101
100
|
}
|
|
102
101
|
|
|
103
102
|
/**
|
|
104
|
-
*
|
|
105
103
|
* @param {TouchEvent} event
|
|
106
104
|
*/
|
|
107
105
|
onTouchEnd(event) {
|
|
@@ -149,7 +147,6 @@ class Touch extends Base {
|
|
|
149
147
|
}
|
|
150
148
|
|
|
151
149
|
/**
|
|
152
|
-
*
|
|
153
150
|
* @param {TouchEvent} event
|
|
154
151
|
*/
|
|
155
152
|
onTouchMove(event) {
|
|
@@ -175,7 +172,6 @@ class Touch extends Base {
|
|
|
175
172
|
}
|
|
176
173
|
|
|
177
174
|
/**
|
|
178
|
-
*
|
|
179
175
|
* @param {TouchEvent} event
|
|
180
176
|
*/
|
|
181
177
|
onTouchStart(event) {
|
|
@@ -16,7 +16,6 @@ class DeltaUpdates extends Base {
|
|
|
16
16
|
}}
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
19
|
* @param {Object} delta
|
|
21
20
|
* @param {String} delta.id
|
|
22
21
|
*/
|
|
@@ -88,7 +87,6 @@ class DeltaUpdates extends Base {
|
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
/**
|
|
91
|
-
*
|
|
92
90
|
* @param {Object} delta
|
|
93
91
|
* @param {String} delta.id
|
|
94
92
|
* @param {String} delta.index
|
|
@@ -110,7 +108,6 @@ class DeltaUpdates extends Base {
|
|
|
110
108
|
}
|
|
111
109
|
|
|
112
110
|
/**
|
|
113
|
-
*
|
|
114
111
|
* @param {Object} delta
|
|
115
112
|
* @param {String} delta.id
|
|
116
113
|
* @param {String} delta.parentId
|
|
@@ -136,7 +133,6 @@ class DeltaUpdates extends Base {
|
|
|
136
133
|
}
|
|
137
134
|
|
|
138
135
|
/**
|
|
139
|
-
*
|
|
140
136
|
* @param {Object} delta
|
|
141
137
|
* @param {String} delta.fromId
|
|
142
138
|
* @param {String} delta.parentId
|
|
@@ -150,7 +146,6 @@ class DeltaUpdates extends Base {
|
|
|
150
146
|
}
|
|
151
147
|
|
|
152
148
|
/**
|
|
153
|
-
*
|
|
154
149
|
* @param {Object} delta
|
|
155
150
|
* @param {String} [delta.id]
|
|
156
151
|
* @param {String} [delta.value
|
|
@@ -163,7 +158,6 @@ class DeltaUpdates extends Base {
|
|
|
163
158
|
}
|
|
164
159
|
|
|
165
160
|
/**
|
|
166
|
-
*
|
|
167
161
|
* @param {Object} delta
|
|
168
162
|
* @param {Object} [delta.attributes]
|
|
169
163
|
* @param {String} [delta.cls]
|
|
@@ -228,7 +222,6 @@ class DeltaUpdates extends Base {
|
|
|
228
222
|
}
|
|
229
223
|
|
|
230
224
|
/**
|
|
231
|
-
*
|
|
232
225
|
* @param {Object} delta
|
|
233
226
|
* @param {String} delta.id
|
|
234
227
|
* @param {String} delta.parentId
|
|
@@ -255,7 +248,6 @@ class DeltaUpdates extends Base {
|
|
|
255
248
|
}
|
|
256
249
|
|
|
257
250
|
/**
|
|
258
|
-
*
|
|
259
251
|
* @param {Object} data
|
|
260
252
|
* @param {Object|Object[]} data.deltas
|
|
261
253
|
* @param {String} data.id
|
|
@@ -16,7 +16,6 @@ class TouchDomEvents extends Base {
|
|
|
16
16
|
}}
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
19
|
* @param {Object} event
|
|
21
20
|
*/
|
|
22
21
|
onTouchCancel(event) {
|
|
@@ -24,7 +23,6 @@ class TouchDomEvents extends Base {
|
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
28
26
|
* @param {Object} event
|
|
29
27
|
*/
|
|
30
28
|
onTouchEnd(event) {
|
|
@@ -32,7 +30,6 @@ class TouchDomEvents extends Base {
|
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
/**
|
|
35
|
-
*
|
|
36
33
|
* @param {Object} event
|
|
37
34
|
*/
|
|
38
35
|
onTouchEnter(event) {
|
|
@@ -40,7 +37,6 @@ class TouchDomEvents extends Base {
|
|
|
40
37
|
}
|
|
41
38
|
|
|
42
39
|
/**
|
|
43
|
-
*
|
|
44
40
|
* @param {Object} event
|
|
45
41
|
*/
|
|
46
42
|
onTouchLeave(event) {
|
|
@@ -48,7 +44,6 @@ class TouchDomEvents extends Base {
|
|
|
48
44
|
}
|
|
49
45
|
|
|
50
46
|
/**
|
|
51
|
-
*
|
|
52
47
|
* @param {Object} event
|
|
53
48
|
*/
|
|
54
49
|
onTouchMove(event) {
|
|
@@ -56,7 +51,6 @@ class TouchDomEvents extends Base {
|
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
/**
|
|
59
|
-
*
|
|
60
54
|
* @param {Object} event
|
|
61
55
|
*/
|
|
62
56
|
onTouchStart(event) {
|
|
@@ -67,4 +61,4 @@ class TouchDomEvents extends Base {
|
|
|
67
61
|
|
|
68
62
|
Neo.applyClassConfig(TouchDomEvents);
|
|
69
63
|
|
|
70
|
-
export {TouchDomEvents as default};
|
|
64
|
+
export {TouchDomEvents as default};
|
package/src/manager/Base.mjs
CHANGED
|
@@ -21,7 +21,6 @@ class Component extends Base {
|
|
|
21
21
|
}}
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
24
|
* @param {Object} config
|
|
26
25
|
*/
|
|
27
26
|
constructor(config) {
|
|
@@ -94,7 +93,6 @@ class Component extends Base {
|
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
/**
|
|
97
|
-
*
|
|
98
96
|
* @param {Array} path
|
|
99
97
|
* @returns {String|null} the component id in case there is a match
|
|
100
98
|
*/
|
|
@@ -167,7 +165,6 @@ class Component extends Base {
|
|
|
167
165
|
}
|
|
168
166
|
|
|
169
167
|
/**
|
|
170
|
-
*
|
|
171
168
|
* @param {Array} path
|
|
172
169
|
* @returns {Array}
|
|
173
170
|
*/
|
package/src/manager/DomEvent.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Base from '../core/Base.mjs';
|
|
2
2
|
import ComponentManager from './Component.mjs';
|
|
3
3
|
import FocusManager from './Focus.mjs';
|
|
4
|
-
import Logger from '../
|
|
4
|
+
import Logger from '../util/Logger.mjs';
|
|
5
5
|
import NeoArray from '../util/Array.mjs';
|
|
6
6
|
import VDomUtil from '../util/VDom.mjs';
|
|
7
7
|
|
|
@@ -63,7 +63,6 @@ class DomEvent extends Base {
|
|
|
63
63
|
}}
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
67
66
|
* @param {Object} event
|
|
68
67
|
* @protected
|
|
69
68
|
*/
|
|
@@ -150,7 +149,6 @@ class DomEvent extends Base {
|
|
|
150
149
|
}
|
|
151
150
|
|
|
152
151
|
/**
|
|
153
|
-
*
|
|
154
152
|
* @param config
|
|
155
153
|
* @param scope
|
|
156
154
|
* @returns {Object}
|
|
@@ -351,7 +349,6 @@ class DomEvent extends Base {
|
|
|
351
349
|
}
|
|
352
350
|
|
|
353
351
|
/**
|
|
354
|
-
*
|
|
355
352
|
* @param {Neo.component.Base} component
|
|
356
353
|
* @param {Object[]} domListeners
|
|
357
354
|
* @param {Object[]} oldDomListeners
|
|
@@ -435,7 +432,6 @@ class DomEvent extends Base {
|
|
|
435
432
|
}
|
|
436
433
|
|
|
437
434
|
/**
|
|
438
|
-
*
|
|
439
435
|
* @param {Object} listener
|
|
440
436
|
* @param {Array} path
|
|
441
437
|
* @returns {Boolean|String} true in case the delegation string matches the event path
|
|
@@ -483,7 +479,6 @@ class DomEvent extends Base {
|
|
|
483
479
|
}
|
|
484
480
|
|
|
485
481
|
/**
|
|
486
|
-
*
|
|
487
482
|
* @param {Neo.component.Base} component
|
|
488
483
|
* @param {Object} data
|
|
489
484
|
* @param {String} delegationTargetId
|
package/src/manager/Focus.mjs
CHANGED
|
@@ -51,7 +51,6 @@ class Focus extends CoreBase {
|
|
|
51
51
|
}}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
55
54
|
* @param {Object} opts
|
|
56
55
|
* @param {Array} opts.componentPath Component ids upwards
|
|
57
56
|
* @param {Object} opts.data dom event infos
|
|
@@ -65,7 +64,6 @@ class Focus extends CoreBase {
|
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
/**
|
|
68
|
-
*
|
|
69
67
|
* @param {Object} opts
|
|
70
68
|
* @param {Array} opts.componentPath Component ids upwards
|
|
71
69
|
* @param {Object} opts.data dom event infos
|
|
@@ -77,7 +75,6 @@ class Focus extends CoreBase {
|
|
|
77
75
|
}
|
|
78
76
|
|
|
79
77
|
/**
|
|
80
|
-
*
|
|
81
78
|
* @param {Object} opts
|
|
82
79
|
* @param {Array} opts.componentPath Component ids upwards
|
|
83
80
|
* @param {Object} opts.data dom event infos
|
|
@@ -88,7 +85,6 @@ class Focus extends CoreBase {
|
|
|
88
85
|
}
|
|
89
86
|
|
|
90
87
|
/**
|
|
91
|
-
*
|
|
92
88
|
* @param {Object} opts
|
|
93
89
|
* @param {Array} opts.componentPath Component ids upwards
|
|
94
90
|
* @param {Object} opts.data dom event infos
|
|
@@ -128,7 +124,6 @@ class Focus extends CoreBase {
|
|
|
128
124
|
}
|
|
129
125
|
|
|
130
126
|
/**
|
|
131
|
-
*
|
|
132
127
|
* @param {Object} opts
|
|
133
128
|
* @param {Array} opts.componentPath Component ids upwards
|
|
134
129
|
* @param {Object} opts.data dom event infos
|
|
@@ -147,7 +142,6 @@ class Focus extends CoreBase {
|
|
|
147
142
|
}
|
|
148
143
|
|
|
149
144
|
/**
|
|
150
|
-
*
|
|
151
145
|
* @param {Object} opts
|
|
152
146
|
* @param {Array} opts.componentPath Component ids upwards
|
|
153
147
|
* @param {Object} opts.data dom event infos
|
|
@@ -166,7 +160,6 @@ class Focus extends CoreBase {
|
|
|
166
160
|
}
|
|
167
161
|
|
|
168
162
|
/**
|
|
169
|
-
*
|
|
170
163
|
* @param {Object} opts
|
|
171
164
|
* @param {Array} opts.componentPath Component ids upwards
|
|
172
165
|
* @param {Object} opts.data dom event infos
|
package/src/manager/Instance.mjs
CHANGED
package/src/manager/Store.mjs
CHANGED
|
@@ -33,7 +33,6 @@ class Store extends Base {
|
|
|
33
33
|
}}
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
36
|
* Dummy method until we have a data package in place
|
|
38
37
|
* @param {Number} amountColumns
|
|
39
38
|
* @param {Number} amountRows
|
|
@@ -58,7 +57,6 @@ class Store extends Base {
|
|
|
58
57
|
}
|
|
59
58
|
|
|
60
59
|
/**
|
|
61
|
-
*
|
|
62
60
|
* @param storeId
|
|
63
61
|
* @param fieldName
|
|
64
62
|
* @param value
|
|
@@ -68,7 +66,6 @@ class Store extends Base {
|
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
/**
|
|
71
|
-
*
|
|
72
69
|
* @param storeId
|
|
73
70
|
* @param params
|
|
74
71
|
*/
|
|
@@ -77,7 +74,6 @@ class Store extends Base {
|
|
|
77
74
|
}
|
|
78
75
|
|
|
79
76
|
/**
|
|
80
|
-
*
|
|
81
77
|
* @param storeId
|
|
82
78
|
* @param fieldName
|
|
83
79
|
* @param value
|
package/src/menu/List.mjs
CHANGED
|
@@ -206,7 +206,6 @@ class List extends BaseList {
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
|
-
*
|
|
210
209
|
* @param {Number|String} recordId
|
|
211
210
|
* @returns {String}
|
|
212
211
|
*/
|
|
@@ -215,7 +214,6 @@ class List extends BaseList {
|
|
|
215
214
|
}
|
|
216
215
|
|
|
217
216
|
/**
|
|
218
|
-
*
|
|
219
217
|
* @param {Number|String} recordId
|
|
220
218
|
* @returns {String}
|
|
221
219
|
*/
|
|
@@ -255,7 +253,6 @@ class List extends BaseList {
|
|
|
255
253
|
}
|
|
256
254
|
|
|
257
255
|
/**
|
|
258
|
-
*
|
|
259
256
|
* @param {Object} data
|
|
260
257
|
* @param {Object[]} data.path
|
|
261
258
|
*/
|
|
@@ -264,7 +261,6 @@ class List extends BaseList {
|
|
|
264
261
|
}
|
|
265
262
|
|
|
266
263
|
/**
|
|
267
|
-
*
|
|
268
264
|
* @param {Object} data
|
|
269
265
|
* @param {Object[]} data.oldPath
|
|
270
266
|
*/
|
|
@@ -273,7 +269,6 @@ class List extends BaseList {
|
|
|
273
269
|
}
|
|
274
270
|
|
|
275
271
|
/**
|
|
276
|
-
*
|
|
277
272
|
* @param {String[]} items
|
|
278
273
|
*/
|
|
279
274
|
onSelect(items) {
|
|
@@ -292,7 +287,6 @@ class List extends BaseList {
|
|
|
292
287
|
}
|
|
293
288
|
|
|
294
289
|
/**
|
|
295
|
-
*
|
|
296
290
|
* @param {String} nodeId
|
|
297
291
|
* @param {Object} record
|
|
298
292
|
*/
|
package/src/model/Component.mjs
CHANGED
|
@@ -57,7 +57,6 @@ class Component extends Base {
|
|
|
57
57
|
}}
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
61
60
|
* @param {Object} config
|
|
62
61
|
*/
|
|
63
62
|
constructor(config) {
|
|
@@ -135,7 +134,6 @@ class Component extends Base {
|
|
|
135
134
|
}
|
|
136
135
|
|
|
137
136
|
/**
|
|
138
|
-
*
|
|
139
137
|
* @param {Function} formatter
|
|
140
138
|
* @param {Object} [data=null] optionally pass this.getHierarchyData() for performance reasons
|
|
141
139
|
* @returns {String}
|
|
@@ -194,7 +192,6 @@ class Component extends Base {
|
|
|
194
192
|
}
|
|
195
193
|
|
|
196
194
|
/**
|
|
197
|
-
*
|
|
198
195
|
* @param {Neo.component.Base} component
|
|
199
196
|
*/
|
|
200
197
|
createBindings(component) {
|
|
@@ -210,7 +207,6 @@ class Component extends Base {
|
|
|
210
207
|
}
|
|
211
208
|
|
|
212
209
|
/**
|
|
213
|
-
*
|
|
214
210
|
* @param {Object} config
|
|
215
211
|
* @param {String} path
|
|
216
212
|
*/
|
|
@@ -238,7 +234,6 @@ class Component extends Base {
|
|
|
238
234
|
}
|
|
239
235
|
|
|
240
236
|
/**
|
|
241
|
-
*
|
|
242
237
|
* @param {String} key
|
|
243
238
|
* @param {String} path
|
|
244
239
|
* @param {Object} [root=this.data]
|
|
@@ -515,7 +510,6 @@ class Component extends Base {
|
|
|
515
510
|
}
|
|
516
511
|
|
|
517
512
|
/**
|
|
518
|
-
*
|
|
519
513
|
* @param {String} key
|
|
520
514
|
* @param {*} value
|
|
521
515
|
* @param {*} oldValue
|
|
@@ -543,9 +537,7 @@ class Component extends Base {
|
|
|
543
537
|
config[configField] = model.callFormatter(formatter, hierarchyData[model.id]);
|
|
544
538
|
});
|
|
545
539
|
|
|
546
|
-
|
|
547
|
-
component.set(config);
|
|
548
|
-
}
|
|
540
|
+
component?.set(config);
|
|
549
541
|
});
|
|
550
542
|
}
|
|
551
543
|
|
|
@@ -598,19 +590,15 @@ class Component extends Base {
|
|
|
598
590
|
delete binding[componentId];
|
|
599
591
|
});
|
|
600
592
|
|
|
601
|
-
|
|
602
|
-
parentModel.removeBindings(componentId);
|
|
603
|
-
}
|
|
593
|
+
parentModel?.removeBindings(componentId);
|
|
604
594
|
}
|
|
605
595
|
|
|
606
596
|
/**
|
|
607
|
-
*
|
|
608
597
|
* @param {Neo.component.Base} component
|
|
609
598
|
* @param {String} configName
|
|
610
599
|
* @param {String} storeName
|
|
611
|
-
* @param {Neo.model.Component} [originModel=this] for internal usage only
|
|
612
600
|
*/
|
|
613
|
-
resolveStore(component, configName, storeName
|
|
601
|
+
resolveStore(component, configName, storeName) {
|
|
614
602
|
component[configName] = this.getStore(storeName);
|
|
615
603
|
}
|
|
616
604
|
|
package/src/plugin/Base.mjs
CHANGED
package/src/plugin/Resizable.mjs
CHANGED
|
@@ -170,7 +170,6 @@ class Resizable extends Base {
|
|
|
170
170
|
}}
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
174
173
|
* @param {Object} config
|
|
175
174
|
*/
|
|
176
175
|
constructor(config) {
|
|
@@ -210,7 +209,6 @@ class Resizable extends Base {
|
|
|
210
209
|
}
|
|
211
210
|
|
|
212
211
|
/**
|
|
213
|
-
*
|
|
214
212
|
* @param {String} name
|
|
215
213
|
* @returns {Boolean} true
|
|
216
214
|
*/
|
|
@@ -273,7 +271,6 @@ class Resizable extends Base {
|
|
|
273
271
|
}
|
|
274
272
|
|
|
275
273
|
/**
|
|
276
|
-
*
|
|
277
274
|
* @param {Object} data
|
|
278
275
|
*/
|
|
279
276
|
onDragEnd(data) {
|
|
@@ -301,7 +298,6 @@ class Resizable extends Base {
|
|
|
301
298
|
}
|
|
302
299
|
|
|
303
300
|
/**
|
|
304
|
-
*
|
|
305
301
|
* @param {Object} data
|
|
306
302
|
*/
|
|
307
303
|
onDragMove(data) {
|
|
@@ -385,7 +381,6 @@ class Resizable extends Base {
|
|
|
385
381
|
}
|
|
386
382
|
|
|
387
383
|
/**
|
|
388
|
-
*
|
|
389
384
|
* @param {Object} data
|
|
390
385
|
*/
|
|
391
386
|
onDragStart(data) {
|
|
@@ -455,7 +450,6 @@ class Resizable extends Base {
|
|
|
455
450
|
}
|
|
456
451
|
|
|
457
452
|
/**
|
|
458
|
-
*
|
|
459
453
|
* @param {Object} data
|
|
460
454
|
*/
|
|
461
455
|
onMouseMove(data) {
|
|
@@ -519,7 +513,6 @@ class Resizable extends Base {
|
|
|
519
513
|
}
|
|
520
514
|
|
|
521
515
|
/**
|
|
522
|
-
*
|
|
523
516
|
* @param {Object} data
|
|
524
517
|
*/
|
|
525
518
|
onMouseLeave(data) {
|
|
@@ -576,7 +569,6 @@ class Resizable extends Base {
|
|
|
576
569
|
}
|
|
577
570
|
|
|
578
571
|
/**
|
|
579
|
-
*
|
|
580
572
|
* @param {String} name
|
|
581
573
|
* @returns {Boolean} true in case the node existed
|
|
582
574
|
*/
|
|
@@ -19,7 +19,6 @@ class CircleModel extends Model {
|
|
|
19
19
|
}}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
22
|
* @param {Object} data
|
|
24
23
|
*/
|
|
25
24
|
onKeyDownLeft(data) {
|
|
@@ -27,7 +26,6 @@ class CircleModel extends Model {
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
/**
|
|
30
|
-
*
|
|
31
29
|
* @param {Object} data
|
|
32
30
|
*/
|
|
33
31
|
onKeyDownRight(data) {
|
|
@@ -35,7 +33,6 @@ class CircleModel extends Model {
|
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
/**
|
|
38
|
-
*
|
|
39
36
|
* @param {Object} data
|
|
40
37
|
* @param {Number} step
|
|
41
38
|
*/
|
|
@@ -64,7 +61,6 @@ class CircleModel extends Model {
|
|
|
64
61
|
}
|
|
65
62
|
|
|
66
63
|
/**
|
|
67
|
-
*
|
|
68
64
|
* @param {Neo.component.Base} component
|
|
69
65
|
*/
|
|
70
66
|
register(component) {
|
|
@@ -107,4 +103,4 @@ class CircleModel extends Model {
|
|
|
107
103
|
|
|
108
104
|
Neo.applyClassConfig(CircleModel);
|
|
109
105
|
|
|
110
|
-
export {CircleModel as default};
|
|
106
|
+
export {CircleModel as default};
|