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
|
@@ -139,7 +139,6 @@ class Component extends BaseComponent {
|
|
|
139
139
|
}}
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
143
142
|
* @param {Object} config
|
|
144
143
|
*/
|
|
145
144
|
constructor(config) {
|
|
@@ -429,7 +428,6 @@ class Component extends BaseComponent {
|
|
|
429
428
|
}
|
|
430
429
|
|
|
431
430
|
/**
|
|
432
|
-
*
|
|
433
431
|
* @param {Object} data
|
|
434
432
|
*/
|
|
435
433
|
onDeleteButtonClick(data) {
|
|
@@ -437,7 +435,6 @@ class Component extends BaseComponent {
|
|
|
437
435
|
}
|
|
438
436
|
|
|
439
437
|
/**
|
|
440
|
-
*
|
|
441
438
|
* @param {Object} data
|
|
442
439
|
*/
|
|
443
440
|
onEditButtonClick(data) {
|
|
@@ -447,7 +444,6 @@ class Component extends BaseComponent {
|
|
|
447
444
|
}
|
|
448
445
|
|
|
449
446
|
/**
|
|
450
|
-
*
|
|
451
447
|
* @param {Object} data
|
|
452
448
|
*/
|
|
453
449
|
onFavoriteButtonClick(data) {
|
|
@@ -455,7 +451,6 @@ class Component extends BaseComponent {
|
|
|
455
451
|
}
|
|
456
452
|
|
|
457
453
|
/**
|
|
458
|
-
*
|
|
459
454
|
* @param {Object} data
|
|
460
455
|
*/
|
|
461
456
|
onFollowButtonClick(data) {
|
|
@@ -41,7 +41,6 @@ class CreateCommentComponent extends Component {
|
|
|
41
41
|
}}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
44
|
* @param {Object} config
|
|
46
45
|
*/
|
|
47
46
|
constructor(config) {
|
|
@@ -101,7 +100,6 @@ class CreateCommentComponent extends Component {
|
|
|
101
100
|
}
|
|
102
101
|
|
|
103
102
|
/**
|
|
104
|
-
*
|
|
105
103
|
* @returns {String}
|
|
106
104
|
*/
|
|
107
105
|
getInputElId() {
|
|
@@ -109,7 +107,6 @@ class CreateCommentComponent extends Component {
|
|
|
109
107
|
}
|
|
110
108
|
|
|
111
109
|
/**
|
|
112
|
-
*
|
|
113
110
|
* @param {Object} value
|
|
114
111
|
*/
|
|
115
112
|
onCurrentUserChange(value) {
|
|
@@ -120,7 +117,6 @@ class CreateCommentComponent extends Component {
|
|
|
120
117
|
}
|
|
121
118
|
|
|
122
119
|
/**
|
|
123
|
-
*
|
|
124
120
|
* @param {Object} data
|
|
125
121
|
*/
|
|
126
122
|
onSubmitButtonClick(data) {
|
|
@@ -150,4 +146,4 @@ class CreateCommentComponent extends Component {
|
|
|
150
146
|
|
|
151
147
|
Neo.applyClassConfig(CreateCommentComponent);
|
|
152
148
|
|
|
153
|
-
export {CreateCommentComponent as default};
|
|
149
|
+
export {CreateCommentComponent as default};
|
|
@@ -79,7 +79,6 @@ class PreviewComponent extends Component {
|
|
|
79
79
|
}}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
83
82
|
* @param {Object} config
|
|
84
83
|
*/
|
|
85
84
|
constructor(config) {
|
|
@@ -261,7 +260,6 @@ class PreviewComponent extends Component {
|
|
|
261
260
|
}
|
|
262
261
|
|
|
263
262
|
/**
|
|
264
|
-
*
|
|
265
263
|
* @param {Object} data
|
|
266
264
|
*/
|
|
267
265
|
onFavoriteButtonClick(data) {
|
|
@@ -277,4 +275,4 @@ class PreviewComponent extends Component {
|
|
|
277
275
|
|
|
278
276
|
Neo.applyClassConfig(PreviewComponent);
|
|
279
277
|
|
|
280
|
-
export {PreviewComponent as default};
|
|
278
|
+
export {PreviewComponent as default};
|
|
@@ -45,7 +45,6 @@ class TagListComponent extends Component {
|
|
|
45
45
|
}}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
48
|
* @param {Object} config
|
|
50
49
|
*/
|
|
51
50
|
constructor(config) {
|
|
@@ -113,7 +112,6 @@ class TagListComponent extends Component {
|
|
|
113
112
|
}
|
|
114
113
|
|
|
115
114
|
/**
|
|
116
|
-
*
|
|
117
115
|
* @param {String} nodeId
|
|
118
116
|
* @returns {String}
|
|
119
117
|
*/
|
|
@@ -122,7 +120,6 @@ class TagListComponent extends Component {
|
|
|
122
120
|
}
|
|
123
121
|
|
|
124
122
|
/**
|
|
125
|
-
*
|
|
126
123
|
* @param {String} name
|
|
127
124
|
* @returns {String}
|
|
128
125
|
*/
|
|
@@ -131,7 +128,6 @@ class TagListComponent extends Component {
|
|
|
131
128
|
}
|
|
132
129
|
|
|
133
130
|
/**
|
|
134
|
-
*
|
|
135
131
|
* @param {Object} data
|
|
136
132
|
*/
|
|
137
133
|
onTagLinkClick(data) {
|
|
@@ -141,4 +137,4 @@ class TagListComponent extends Component {
|
|
|
141
137
|
|
|
142
138
|
Neo.applyClassConfig(TagListComponent);
|
|
143
139
|
|
|
144
|
-
export {TagListComponent as default};
|
|
140
|
+
export {TagListComponent as default};
|
|
@@ -95,7 +95,6 @@ class ProfileComponent extends Component {
|
|
|
95
95
|
}}
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
99
98
|
* @param {Object} config
|
|
100
99
|
*/
|
|
101
100
|
constructor(config) {
|
|
@@ -247,7 +246,6 @@ class ProfileComponent extends Component {
|
|
|
247
246
|
}
|
|
248
247
|
|
|
249
248
|
/**
|
|
250
|
-
*
|
|
251
249
|
* @param {Object} params
|
|
252
250
|
*/
|
|
253
251
|
getArticles(params) {
|
|
@@ -257,7 +255,6 @@ class ProfileComponent extends Component {
|
|
|
257
255
|
}
|
|
258
256
|
|
|
259
257
|
/**
|
|
260
|
-
*
|
|
261
258
|
* @param {Object} value
|
|
262
259
|
*/
|
|
263
260
|
onCurrentUserChange(value) {console.log('onCurrentUserChange', value);
|
|
@@ -265,7 +262,6 @@ class ProfileComponent extends Component {
|
|
|
265
262
|
}
|
|
266
263
|
|
|
267
264
|
/**
|
|
268
|
-
*
|
|
269
265
|
* @param {Object} data
|
|
270
266
|
*/
|
|
271
267
|
onFollowButtonClick(data) {
|
|
@@ -277,7 +273,6 @@ class ProfileComponent extends Component {
|
|
|
277
273
|
}
|
|
278
274
|
|
|
279
275
|
/**
|
|
280
|
-
*
|
|
281
276
|
* @param {Object} data
|
|
282
277
|
*/
|
|
283
278
|
onNavLinkClick(data) {
|
|
@@ -316,7 +311,6 @@ class ProfileComponent extends Component {
|
|
|
316
311
|
}
|
|
317
312
|
|
|
318
313
|
/**
|
|
319
|
-
*
|
|
320
314
|
* @param {Object} configs
|
|
321
315
|
*/
|
|
322
316
|
update(configs) {
|
|
@@ -75,7 +75,6 @@ class SettingsComponent extends Component {
|
|
|
75
75
|
}}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
79
78
|
* @param {Object} config
|
|
80
79
|
*/
|
|
81
80
|
constructor(config) {
|
|
@@ -174,7 +173,6 @@ class SettingsComponent extends Component {
|
|
|
174
173
|
}
|
|
175
174
|
|
|
176
175
|
/**
|
|
177
|
-
*
|
|
178
176
|
* @param {Object} value
|
|
179
177
|
*/
|
|
180
178
|
onCurrentUserChange(value) {
|
|
@@ -190,7 +188,6 @@ class SettingsComponent extends Component {
|
|
|
190
188
|
}
|
|
191
189
|
|
|
192
190
|
/**
|
|
193
|
-
*
|
|
194
191
|
* @param {Object} data
|
|
195
192
|
*/
|
|
196
193
|
onLogoutButtonClick(data) {
|
|
@@ -198,7 +195,6 @@ class SettingsComponent extends Component {
|
|
|
198
195
|
}
|
|
199
196
|
|
|
200
197
|
/**
|
|
201
|
-
*
|
|
202
198
|
* @param {Object} data
|
|
203
199
|
*/
|
|
204
200
|
onSubmitButtonClick(data) {
|
|
@@ -241,4 +237,4 @@ class SettingsComponent extends Component {
|
|
|
241
237
|
|
|
242
238
|
Neo.applyClassConfig(SettingsComponent);
|
|
243
239
|
|
|
244
|
-
export {SettingsComponent as default};
|
|
240
|
+
export {SettingsComponent as default};
|
|
@@ -18,7 +18,6 @@ class Article extends Base {
|
|
|
18
18
|
}}
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
21
|
* @param {String} slug
|
|
23
22
|
* @param {Number} id
|
|
24
23
|
*/
|
|
@@ -29,7 +28,6 @@ class Article extends Base {
|
|
|
29
28
|
}
|
|
30
29
|
|
|
31
30
|
/**
|
|
32
|
-
*
|
|
33
31
|
* @param {String} slug
|
|
34
32
|
*/
|
|
35
33
|
getComments(slug) {
|
|
@@ -39,7 +37,6 @@ class Article extends Base {
|
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
/**
|
|
42
|
-
*
|
|
43
40
|
* @param {String} slug
|
|
44
41
|
* @param {Object} opts
|
|
45
42
|
*/
|
|
@@ -57,4 +54,4 @@ let instance = Neo.create(Article);
|
|
|
57
54
|
|
|
58
55
|
Neo.applyToGlobalNs(instance);
|
|
59
56
|
|
|
60
|
-
export default instance;
|
|
57
|
+
export default instance;
|
|
@@ -66,7 +66,6 @@ class Base extends CoreBase {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
70
69
|
* @param {Object} [opts={}]
|
|
71
70
|
* @param {Object} [opts.data]
|
|
72
71
|
* @param {Object} [opts.params]
|
|
@@ -84,7 +83,6 @@ class Base extends CoreBase {
|
|
|
84
83
|
}
|
|
85
84
|
|
|
86
85
|
/**
|
|
87
|
-
*
|
|
88
86
|
* @param {Object} [opts={}]
|
|
89
87
|
* @param {Object} [opts.data]
|
|
90
88
|
* @param {Object} [opts.params]
|
|
@@ -112,7 +110,6 @@ class Base extends CoreBase {
|
|
|
112
110
|
}
|
|
113
111
|
|
|
114
112
|
/**
|
|
115
|
-
*
|
|
116
113
|
* @param {Object} [opts={}]
|
|
117
114
|
* @param {Object} [opts.data]
|
|
118
115
|
* @param {Object} [opts.params]
|
|
@@ -156,7 +153,6 @@ class Base extends CoreBase {
|
|
|
156
153
|
}
|
|
157
154
|
|
|
158
155
|
/**
|
|
159
|
-
*
|
|
160
156
|
* @param {Object} [opts={}]
|
|
161
157
|
* @param {Object} [opts.data]
|
|
162
158
|
* @param {Object} [opts.params]
|
|
@@ -187,7 +183,6 @@ class Base extends CoreBase {
|
|
|
187
183
|
}
|
|
188
184
|
|
|
189
185
|
/**
|
|
190
|
-
*
|
|
191
186
|
* @param {Object} [opts={}]
|
|
192
187
|
* @param {Object} [opts.data]
|
|
193
188
|
* @param {Object} [opts.params]
|
|
@@ -14,7 +14,6 @@ class Favorite extends Base {
|
|
|
14
14
|
}}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
17
|
* @param {String} slug
|
|
19
18
|
*/
|
|
20
19
|
add(slug) {
|
|
@@ -24,7 +23,6 @@ class Favorite extends Base {
|
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
28
26
|
* @param {String} slug
|
|
29
27
|
*/
|
|
30
28
|
remove(slug) {
|
|
@@ -40,4 +38,4 @@ let instance = Neo.create(Favorite);
|
|
|
40
38
|
|
|
41
39
|
Neo.applyToGlobalNs(instance);
|
|
42
40
|
|
|
43
|
-
export default instance;
|
|
41
|
+
export default instance;
|
|
@@ -18,7 +18,6 @@ class Profile extends Base {
|
|
|
18
18
|
}}
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
21
|
* @param {String} slug
|
|
23
22
|
*/
|
|
24
23
|
follow(slug) {
|
|
@@ -28,7 +27,6 @@ class Profile extends Base {
|
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
/**
|
|
31
|
-
*
|
|
32
30
|
* @param {String} slug
|
|
33
31
|
*/
|
|
34
32
|
unfollow(slug) {
|
|
@@ -44,4 +42,4 @@ let instance = Neo.create(Profile);
|
|
|
44
42
|
|
|
45
43
|
Neo.applyToGlobalNs(instance);
|
|
46
44
|
|
|
47
|
-
export default instance;
|
|
45
|
+
export default instance;
|
|
@@ -38,7 +38,6 @@ class HeaderToolbarController extends ComponentController {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
41
|
* @param {String} hash
|
|
43
42
|
*/
|
|
44
43
|
setRoute(hash) {
|
|
@@ -50,4 +49,4 @@ class HeaderToolbarController extends ComponentController {
|
|
|
50
49
|
|
|
51
50
|
Neo.applyClassConfig(HeaderToolbarController);
|
|
52
51
|
|
|
53
|
-
export {HeaderToolbarController as default};
|
|
52
|
+
export {HeaderToolbarController as default};
|
|
@@ -73,7 +73,6 @@ class HomeContainer extends Container {
|
|
|
73
73
|
}}
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
77
76
|
* @param {Object} [params={}]
|
|
78
77
|
* @param {Object} [opts={}]
|
|
79
78
|
*/
|
|
@@ -102,4 +101,4 @@ class HomeContainer extends Container {
|
|
|
102
101
|
|
|
103
102
|
Neo.applyClassConfig(HomeContainer);
|
|
104
103
|
|
|
105
|
-
export {HomeContainer as default};
|
|
104
|
+
export {HomeContainer as default};
|
|
@@ -86,7 +86,6 @@ class MainContainerController extends ComponentController {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
90
89
|
* @param {String} slug
|
|
91
90
|
*/
|
|
92
91
|
deleteArticle(slug) {
|
|
@@ -98,7 +97,6 @@ class MainContainerController extends ComponentController {
|
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
/**
|
|
101
|
-
*
|
|
102
100
|
* @param {Number} id
|
|
103
101
|
* @returns {Promise<any>}
|
|
104
102
|
*/
|
|
@@ -112,7 +110,6 @@ class MainContainerController extends ComponentController {
|
|
|
112
110
|
}
|
|
113
111
|
|
|
114
112
|
/**
|
|
115
|
-
*
|
|
116
113
|
* @param {String} slug
|
|
117
114
|
* @param {Boolean} favorited
|
|
118
115
|
*/
|
|
@@ -121,7 +118,6 @@ class MainContainerController extends ComponentController {
|
|
|
121
118
|
}
|
|
122
119
|
|
|
123
120
|
/**
|
|
124
|
-
*
|
|
125
121
|
* @param {String} slug
|
|
126
122
|
* @param {Boolean} follow
|
|
127
123
|
*/
|
|
@@ -140,7 +136,6 @@ class MainContainerController extends ComponentController {
|
|
|
140
136
|
}
|
|
141
137
|
|
|
142
138
|
/**
|
|
143
|
-
*
|
|
144
139
|
* @param {Object} [params={}]
|
|
145
140
|
* @param {Object} [opts={}]
|
|
146
141
|
* @returns {Promise<any>}
|
|
@@ -156,7 +151,6 @@ class MainContainerController extends ComponentController {
|
|
|
156
151
|
}
|
|
157
152
|
|
|
158
153
|
/**
|
|
159
|
-
*
|
|
160
154
|
* @param {String} slug
|
|
161
155
|
*/
|
|
162
156
|
getComments(slug) {
|
|
@@ -166,7 +160,6 @@ class MainContainerController extends ComponentController {
|
|
|
166
160
|
}
|
|
167
161
|
|
|
168
162
|
/**
|
|
169
|
-
*
|
|
170
163
|
* @param {String} token
|
|
171
164
|
*/
|
|
172
165
|
getCurrentUser(token) {
|
|
@@ -181,7 +174,6 @@ class MainContainerController extends ComponentController {
|
|
|
181
174
|
}
|
|
182
175
|
|
|
183
176
|
/**
|
|
184
|
-
*
|
|
185
177
|
* @param {String} slug
|
|
186
178
|
*/
|
|
187
179
|
getProfile(slug) {
|
|
@@ -207,7 +199,6 @@ class MainContainerController extends ComponentController {
|
|
|
207
199
|
}
|
|
208
200
|
|
|
209
201
|
/**
|
|
210
|
-
*
|
|
211
202
|
* @param {String} reference
|
|
212
203
|
* @param {Neo.component.Base} module
|
|
213
204
|
* @returns {Neo.component.Base} The matching view instance
|
|
@@ -264,7 +255,6 @@ class MainContainerController extends ComponentController {
|
|
|
264
255
|
}
|
|
265
256
|
|
|
266
257
|
/**
|
|
267
|
-
*
|
|
268
258
|
* @param {Object} value
|
|
269
259
|
* @param {Object} oldValue
|
|
270
260
|
*/
|
|
@@ -340,7 +330,6 @@ class MainContainerController extends ComponentController {
|
|
|
340
330
|
}
|
|
341
331
|
|
|
342
332
|
/**
|
|
343
|
-
*
|
|
344
333
|
* @param {Object} [opts)
|
|
345
334
|
* @returns {Promise<any>}
|
|
346
335
|
*/
|
|
@@ -354,7 +343,6 @@ class MainContainerController extends ComponentController {
|
|
|
354
343
|
}
|
|
355
344
|
|
|
356
345
|
/**
|
|
357
|
-
*
|
|
358
346
|
* @param {Object} opts
|
|
359
347
|
* @returns {Promise<any>}
|
|
360
348
|
*/
|
|
@@ -363,7 +351,6 @@ class MainContainerController extends ComponentController {
|
|
|
363
351
|
}
|
|
364
352
|
|
|
365
353
|
/**
|
|
366
|
-
*
|
|
367
354
|
* @param {Object} [opts)
|
|
368
355
|
* @returns {Promise<any>}
|
|
369
356
|
*/
|
|
@@ -383,4 +370,4 @@ class MainContainerController extends ComponentController {
|
|
|
383
370
|
|
|
384
371
|
Neo.applyClassConfig(MainContainerController);
|
|
385
372
|
|
|
386
|
-
export {MainContainerController as default};
|
|
373
|
+
export {MainContainerController as default};
|
|
@@ -80,7 +80,6 @@ class Gallery extends BaseGallery {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
84
83
|
* @param {String} vnodeId
|
|
85
84
|
* @returns {String}
|
|
86
85
|
*/
|
|
@@ -89,7 +88,6 @@ class Gallery extends BaseGallery {
|
|
|
89
88
|
}
|
|
90
89
|
|
|
91
90
|
/**
|
|
92
|
-
*
|
|
93
91
|
* @param {Array} items
|
|
94
92
|
*/
|
|
95
93
|
onStoreLoad(items) {
|
|
@@ -104,4 +102,4 @@ class Gallery extends BaseGallery {
|
|
|
104
102
|
|
|
105
103
|
Neo.applyClassConfig(Gallery);
|
|
106
104
|
|
|
107
|
-
export {Gallery as default};
|
|
105
|
+
export {Gallery as default};
|
|
@@ -26,7 +26,6 @@ class GalleryContainer extends GalleryMainContainer {
|
|
|
26
26
|
}}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
29
|
* @param {Object} [params={}]
|
|
31
30
|
* @param {Object} [opts={}]
|
|
32
31
|
*/
|
|
@@ -51,4 +50,4 @@ class GalleryContainer extends GalleryMainContainer {
|
|
|
51
50
|
|
|
52
51
|
Neo.applyClassConfig(GalleryContainer);
|
|
53
52
|
|
|
54
|
-
export {GalleryContainer as default};
|
|
53
|
+
export {GalleryContainer as default};
|
|
@@ -34,7 +34,6 @@ class Helix extends BaseHelix {
|
|
|
34
34
|
}}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
37
|
* @param {Object} vdomItem
|
|
39
38
|
* @param {Object} record
|
|
40
39
|
* @param {Number} index
|
|
@@ -68,7 +67,6 @@ class Helix extends BaseHelix {
|
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
/**
|
|
71
|
-
*
|
|
72
70
|
* @param {String} vnodeId
|
|
73
71
|
* @returns {String}
|
|
74
72
|
*/
|
|
@@ -79,4 +77,4 @@ class Helix extends BaseHelix {
|
|
|
79
77
|
|
|
80
78
|
Neo.applyClassConfig(Helix);
|
|
81
79
|
|
|
82
|
-
export {Helix as default};
|
|
80
|
+
export {Helix as default};
|
|
@@ -26,7 +26,6 @@ class HelixContainer extends HelixMainContainer {
|
|
|
26
26
|
}}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
29
|
* @param {Object} config
|
|
31
30
|
*/
|
|
32
31
|
constructor(config) {
|
|
@@ -65,7 +64,6 @@ class HelixContainer extends HelixMainContainer {
|
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
/**
|
|
68
|
-
*
|
|
69
67
|
* @param {Object} [params={}]
|
|
70
68
|
* @param {Object} [opts={}]
|
|
71
69
|
*/
|
|
@@ -90,4 +88,4 @@ class HelixContainer extends HelixMainContainer {
|
|
|
90
88
|
|
|
91
89
|
Neo.applyClassConfig(HelixContainer);
|
|
92
90
|
|
|
93
|
-
export {HelixContainer as default};
|
|
91
|
+
export {HelixContainer as default};
|
|
@@ -92,7 +92,6 @@ class PreviewComponent extends Component {
|
|
|
92
92
|
}}
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
96
95
|
* @param {Object} config
|
|
97
96
|
*/
|
|
98
97
|
constructor(config) {
|
|
@@ -276,7 +275,6 @@ class PreviewComponent extends Component {
|
|
|
276
275
|
}
|
|
277
276
|
|
|
278
277
|
/**
|
|
279
|
-
*
|
|
280
278
|
* @param {Object} data
|
|
281
279
|
*/
|
|
282
280
|
onFavoriteButtonClick(data) {
|
|
@@ -292,4 +290,4 @@ class PreviewComponent extends Component {
|
|
|
292
290
|
|
|
293
291
|
Neo.applyClassConfig(PreviewComponent);
|
|
294
292
|
|
|
295
|
-
export {PreviewComponent as default};
|
|
293
|
+
export {PreviewComponent as default};
|
|
@@ -49,7 +49,6 @@ class TagListComponent extends Component {
|
|
|
49
49
|
}}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
52
|
* @param {Object} config
|
|
54
53
|
*/
|
|
55
54
|
constructor(config) {
|
|
@@ -117,7 +116,6 @@ class TagListComponent extends Component {
|
|
|
117
116
|
}
|
|
118
117
|
|
|
119
118
|
/**
|
|
120
|
-
*
|
|
121
119
|
* @param {String} nodeId
|
|
122
120
|
* @returns {String}
|
|
123
121
|
*/
|
|
@@ -126,7 +124,6 @@ class TagListComponent extends Component {
|
|
|
126
124
|
}
|
|
127
125
|
|
|
128
126
|
/**
|
|
129
|
-
*
|
|
130
127
|
* @param {String} name
|
|
131
128
|
* @returns {String}
|
|
132
129
|
*/
|
|
@@ -135,7 +132,6 @@ class TagListComponent extends Component {
|
|
|
135
132
|
}
|
|
136
133
|
|
|
137
134
|
/**
|
|
138
|
-
*
|
|
139
135
|
* @param {Object} data
|
|
140
136
|
*/
|
|
141
137
|
onTagLinkClick(data) {
|
|
@@ -145,4 +141,4 @@ class TagListComponent extends Component {
|
|
|
145
141
|
|
|
146
142
|
Neo.applyClassConfig(TagListComponent);
|
|
147
143
|
|
|
148
|
-
export {TagListComponent as default};
|
|
144
|
+
export {TagListComponent as default};
|
|
@@ -33,7 +33,6 @@ class LoginFormContainer extends Container {
|
|
|
33
33
|
}}
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
36
|
* @param {Object} config
|
|
38
37
|
*/
|
|
39
38
|
constructor(config) {
|
|
@@ -80,4 +79,4 @@ class LoginFormContainer extends Container {
|
|
|
80
79
|
|
|
81
80
|
Neo.applyClassConfig(LoginFormContainer);
|
|
82
81
|
|
|
83
|
-
export {LoginFormContainer as default};
|
|
82
|
+
export {LoginFormContainer as default};
|
|
@@ -73,7 +73,6 @@ class Util extends Base {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
77
76
|
* @param {String} name
|
|
78
77
|
* @returns {String} url
|
|
79
78
|
*/
|
|
@@ -149,7 +148,6 @@ class Util extends Base {
|
|
|
149
148
|
}
|
|
150
149
|
|
|
151
150
|
/**
|
|
152
|
-
*
|
|
153
151
|
* @param {Object} data
|
|
154
152
|
* @param {Number} data.index
|
|
155
153
|
* @returns {Object}
|
|
@@ -164,4 +162,4 @@ class Util extends Base {
|
|
|
164
162
|
|
|
165
163
|
Neo.applyClassConfig(Util);
|
|
166
164
|
|
|
167
|
-
export default Util;
|
|
165
|
+
export default Util;
|
|
@@ -44,7 +44,6 @@ class GalleryContainerController extends ComponentController {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
48
47
|
* @param {Object} data
|
|
49
48
|
*/
|
|
50
49
|
onOrderButtonClick(data) {
|
|
@@ -57,7 +56,6 @@ class GalleryContainerController extends ComponentController {
|
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
/**
|
|
60
|
-
*
|
|
61
59
|
* @param {Object} data
|
|
62
60
|
*/
|
|
63
61
|
onRangefieldChange(data) {
|
|
@@ -65,7 +63,6 @@ class GalleryContainerController extends ComponentController {
|
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
/**
|
|
68
|
-
*
|
|
69
66
|
* @param {String} id
|
|
70
67
|
*/
|
|
71
68
|
onRangefieldMounted(id) {
|
|
@@ -78,7 +75,6 @@ class GalleryContainerController extends ComponentController {
|
|
|
78
75
|
}
|
|
79
76
|
|
|
80
77
|
/**
|
|
81
|
-
*
|
|
82
78
|
* @param {Object} data
|
|
83
79
|
*/
|
|
84
80
|
onSortButtonClick(data) {
|
|
@@ -91,4 +87,4 @@ class GalleryContainerController extends ComponentController {
|
|
|
91
87
|
|
|
92
88
|
Neo.applyClassConfig(GalleryContainerController);
|
|
93
89
|
|
|
94
|
-
export {GalleryContainerController as default};
|
|
90
|
+
export {GalleryContainerController as default};
|