neo.mjs 2.3.17 → 3.0.1
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 +9 -0
- package/apps/covid/Util.mjs +1 -3
- package/apps/covid/view/GalleryContainer.mjs +2 -3
- package/apps/covid/view/GalleryContainerController.mjs +1 -5
- package/apps/covid/view/HelixContainer.mjs +2 -3
- 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 +2 -3
- 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 +2 -3
- package/apps/krausest/view/MainComponentController.mjs +0 -1
- package/apps/krausest/view/TableComponent.mjs +2 -4
- 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 +2 -11
- package/apps/realworld/view/MainContainerController.mjs +0 -13
- package/apps/realworld/view/article/CommentComponent.mjs +3 -5
- package/apps/realworld/view/article/Component.mjs +2 -7
- package/apps/realworld/view/article/CreateCommentComponent.mjs +3 -7
- package/apps/realworld/view/article/CreateComponent.mjs +3 -3
- package/apps/realworld/view/article/PreviewComponent.mjs +3 -5
- package/apps/realworld/view/article/TagListComponent.mjs +3 -7
- package/apps/realworld/view/user/ProfileComponent.mjs +2 -8
- package/apps/realworld/view/user/SettingsComponent.mjs +3 -7
- package/apps/realworld/view/user/SignUpComponent.mjs +2 -3
- 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 +3 -5
- package/apps/realworld2/view/article/PreviewComponent.mjs +3 -5
- package/apps/realworld2/view/article/TagListComponent.mjs +3 -7
- package/apps/realworld2/view/user/LoginFormContainer.mjs +3 -4
- package/apps/sharedcovid/Util.mjs +1 -3
- package/apps/sharedcovid/view/GalleryContainer.mjs +2 -3
- package/apps/sharedcovid/view/GalleryContainerController.mjs +1 -5
- package/apps/sharedcovid/view/HelixContainer.mjs +2 -3
- package/apps/sharedcovid/view/HelixContainerController.mjs +1 -4
- package/apps/sharedcovid/view/MainContainerController.mjs +12 -16
- package/apps/sharedcovid/view/MainContainerModel.mjs +0 -1
- package/apps/sharedcovid/view/TableContainer.mjs +2 -3
- 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 +2 -3
- 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/data/blog.json +13 -0
- package/apps/website/view/MainContainerController.mjs +0 -4
- package/docs/app/view/ContentTabContainer.mjs +2 -2
- package/docs/app/view/MainContainer.mjs +2 -2
- package/docs/app/view/classdetails/SourceViewComponent.mjs +2 -2
- package/docs/app/view/classdetails/TutorialComponent.mjs +2 -2
- package/docs/tutorials/02_ClassSystem.html +3 -3
- package/docs/tutorials/02_ClassSystem.md +2 -2
- package/docs/tutorials/09_TodoList_version1.html +8 -8
- package/examples/ConfigurationViewport.mjs +0 -4
- package/examples/calendar/basic/MainContainerController.mjs +0 -1
- package/examples/calendar/weekview/MainContainer.mjs +2 -2
- package/examples/component/coronaGallery/CountryGallery.mjs +1 -4
- package/examples/component/coronaGallery/MainContainer.mjs +2 -4
- package/examples/component/coronaHelix/CountryHelix.mjs +0 -4
- package/examples/component/coronaHelix/MainContainer.mjs +2 -4
- package/examples/component/gallery/MainContainer.mjs +2 -4
- package/examples/component/helix/MainContainer.mjs +2 -4
- package/examples/component/splitter/MainContainer.mjs +0 -2
- package/examples/core/config/MainContainer.mjs +3 -5
- package/examples/dialog/MainContainer.mjs +3 -7
- package/examples/list/animate/MainContainer.mjs +2 -2
- 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 +3 -5
- package/examples/model/nestedData/MainContainerController.mjs +1 -8
- package/examples/tab/container/MainContainer.mjs +1 -6
- package/examples/todoList/version1/MainComponent.mjs +3 -3
- package/examples/todoList/version2/MainContainer.mjs +3 -3
- package/examples/todoList/version2/TodoList.mjs +1 -1
- package/examples/tree/MainContainer.mjs +0 -2
- package/package.json +7 -7
- package/src/Main.mjs +9 -18
- package/src/Neo.mjs +26 -26
- package/src/button/Menu.mjs +0 -1
- package/src/button/Split.mjs +2 -6
- package/src/calendar/store/Events.mjs +0 -1
- package/src/calendar/view/DayComponent.mjs +0 -1
- package/src/calendar/view/EditEventContainer.mjs +2 -9
- package/src/calendar/view/MainContainer.mjs +2 -17
- package/src/calendar/view/MainContainerModel.mjs +2 -4
- package/src/calendar/view/SettingsContainer.mjs +2 -6
- package/src/calendar/view/YearComponent.mjs +3 -14
- package/src/calendar/view/calendars/Container.mjs +0 -1
- package/src/calendar/view/calendars/EditContainer.mjs +2 -7
- package/src/calendar/view/calendars/List.mjs +0 -5
- package/src/calendar/view/month/Component.mjs +3 -17
- 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 +3 -22
- package/src/calendar/view/week/EventDragZone.mjs +1 -6
- package/src/calendar/view/week/TimeAxisComponent.mjs +2 -3
- package/src/calendar/view/week/plugin/DragDrop.mjs +2 -12
- package/src/calendar/view/week/plugin/EventResizable.mjs +0 -3
- package/src/collection/Base.mjs +3 -22
- package/src/collection/Filter.mjs +0 -1
- package/src/collection/Sorter.mjs +0 -3
- package/src/component/Base.mjs +14 -3
- package/src/component/Chip.mjs +2 -4
- package/src/component/Circle.mjs +2 -20
- package/src/component/DateSelector.mjs +4 -21
- package/src/component/Gallery.mjs +2 -14
- package/src/component/Helix.mjs +2 -16
- package/src/component/Splitter.mjs +3 -8
- package/src/component/mwc/Button.mjs +2 -2
- package/src/component/mwc/TextField.mjs +2 -3
- 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 +2 -5
- package/src/controller/Application.mjs +2 -3
- package/src/controller/Base.mjs +2 -3
- package/src/controller/Component.mjs +3 -6
- package/src/core/Base.mjs +26 -3
- package/src/core/Compare.mjs +0 -1
- package/src/core/IdGenerator.mjs +2 -4
- 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 +2 -12
- package/src/data/connection/Xhr.mjs +0 -6
- package/src/dialog/Base.mjs +5 -24
- package/src/draggable/DragProxyComponent.mjs +3 -5
- package/src/draggable/DragZone.mjs +2 -8
- package/src/draggable/DropZone.mjs +3 -9
- package/src/draggable/list/DragZone.mjs +3 -9
- package/src/draggable/tab/header/toolbar/SortZone.mjs +1 -3
- package/src/draggable/toolbar/DragZone.mjs +3 -7
- package/src/draggable/toolbar/SortZone.mjs +1 -8
- 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 +3 -5
- 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 +2 -7
- package/src/form/field/Color.mjs +2 -5
- package/src/form/field/Date.mjs +2 -6
- package/src/form/field/Display.mjs +2 -3
- package/src/form/field/Picker.mjs +1 -12
- package/src/form/field/Range.mjs +2 -3
- package/src/form/field/Select.mjs +24 -22
- package/src/form/field/Text.mjs +3 -20
- package/src/form/field/Time.mjs +2 -9
- package/src/form/field/trigger/Base.mjs +2 -4
- 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 +2 -3
- package/src/grid/Container.mjs +3 -6
- package/src/grid/header/Toolbar.mjs +1 -5
- package/src/list/Base.mjs +2 -2
- package/src/list/Color.mjs +0 -3
- package/src/list/Component.mjs +0 -3
- package/src/list/plugin/Animate.mjs +3 -6
- package/src/main/DomAccess.mjs +9 -24
- package/src/main/DomEvents.mjs +44 -77
- package/src/main/addon/AmCharts.mjs +3 -12
- package/src/main/addon/AnalyticsByGoogle.mjs +3 -4
- package/src/main/addon/CloneNode.mjs +0 -2
- package/src/main/addon/Cookie.mjs +0 -3
- package/src/main/addon/DragDrop.mjs +2 -11
- package/src/main/addon/HighlightJS.mjs +3 -7
- package/src/main/addon/MapboxGL.mjs +4 -16
- package/src/main/addon/Markdown.mjs +3 -3
- package/src/main/addon/Mwc.mjs +0 -2
- package/src/main/addon/Siesta.mjs +2 -3
- package/src/main/addon/Stylesheet.mjs +2 -6
- package/src/main/addon/WindowPosition.mjs +3 -8
- package/src/main/draggable/sensor/Mouse.mjs +2 -6
- package/src/main/draggable/sensor/Touch.mjs +2 -6
- 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 +2 -5
- package/src/manager/DomEvent.mjs +1 -6
- package/src/manager/Focus.mjs +0 -7
- package/src/manager/Instance.mjs +2 -3
- package/src/manager/Store.mjs +0 -4
- package/src/menu/List.mjs +4 -18
- package/src/model/Component.mjs +2 -3
- package/src/plugin/Base.mjs +2 -3
- package/src/plugin/Resizable.mjs +4 -15
- 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 +2 -6
- package/src/selection/table/CellColumnRowModel.mjs +2 -6
- package/src/selection/table/CellModel.mjs +0 -8
- package/src/selection/table/CellRowModel.mjs +2 -8
- 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/Strip.mjs +1 -3
- package/src/tab/header/Button.mjs +1 -2
- package/src/tab/header/Toolbar.mjs +0 -1
- package/src/table/Container.mjs +2 -10
- package/src/table/View.mjs +0 -4
- package/src/table/header/Button.mjs +2 -8
- 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 +7 -19
- 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 +2 -9
- package/src/worker/Base.mjs +2 -8
- package/src/worker/Canvas.mjs +0 -2
- package/src/worker/Manager.mjs +3 -5
- 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 +307 -0
- package/test/siesta/tests/ClassSystem.mjs +1 -1
|
@@ -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,11 +26,10 @@ class HelixContainer extends HelixMainContainer {
|
|
|
26
26
|
}}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
29
|
* @param {Object} config
|
|
31
30
|
*/
|
|
32
|
-
|
|
33
|
-
super(config);
|
|
31
|
+
construct(config) {
|
|
32
|
+
super.construct(config);
|
|
34
33
|
|
|
35
34
|
let me = this;
|
|
36
35
|
|
|
@@ -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,11 +92,10 @@ class PreviewComponent extends Component {
|
|
|
92
92
|
}}
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
96
95
|
* @param {Object} config
|
|
97
96
|
*/
|
|
98
|
-
|
|
99
|
-
super(config);
|
|
97
|
+
construct(config) {
|
|
98
|
+
super.construct(config);
|
|
100
99
|
|
|
101
100
|
let me = this,
|
|
102
101
|
domListeners = me.domListeners;
|
|
@@ -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,11 +49,10 @@ class TagListComponent extends Component {
|
|
|
49
49
|
}}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
52
|
* @param {Object} config
|
|
54
53
|
*/
|
|
55
|
-
|
|
56
|
-
super(config);
|
|
54
|
+
construct(config) {
|
|
55
|
+
super.construct(config);
|
|
57
56
|
|
|
58
57
|
Neo.main.DomEvents.registerPreventDefaultTargets({
|
|
59
58
|
name: 'click',
|
|
@@ -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,11 +33,10 @@ class LoginFormContainer extends Container {
|
|
|
33
33
|
}}
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
36
|
* @param {Object} config
|
|
38
37
|
*/
|
|
39
|
-
|
|
40
|
-
super(config);
|
|
38
|
+
construct(config) {
|
|
39
|
+
super.construct(config);
|
|
41
40
|
|
|
42
41
|
let me = this;
|
|
43
42
|
|
|
@@ -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};
|
|
@@ -66,7 +66,6 @@ class HelixContainerController extends ComponentController {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
70
69
|
* @param {Object} data
|
|
71
70
|
*/
|
|
72
71
|
onRangefieldChange(data) {
|
|
@@ -80,7 +79,6 @@ class HelixContainerController extends ComponentController {
|
|
|
80
79
|
}
|
|
81
80
|
|
|
82
81
|
/**
|
|
83
|
-
*
|
|
84
82
|
* @param {String} id
|
|
85
83
|
*/
|
|
86
84
|
onRangefieldMounted(id) {
|
|
@@ -93,7 +91,6 @@ class HelixContainerController extends ComponentController {
|
|
|
93
91
|
}
|
|
94
92
|
|
|
95
93
|
/**
|
|
96
|
-
*
|
|
97
94
|
* @param {Object} data
|
|
98
95
|
*/
|
|
99
96
|
onSortButtonClick(data) {
|
|
@@ -106,4 +103,4 @@ class HelixContainerController extends ComponentController {
|
|
|
106
103
|
|
|
107
104
|
Neo.applyClassConfig(HelixContainerController);
|
|
108
105
|
|
|
109
|
-
export {HelixContainerController as default};
|
|
106
|
+
export {HelixContainerController as default};
|
|
@@ -166,9 +166,7 @@ class MainContainerController extends ComponentController {
|
|
|
166
166
|
let me = this;
|
|
167
167
|
|
|
168
168
|
Neo.Main.getWindowData().then(winData => {
|
|
169
|
-
|
|
170
|
-
id: [me.getReference(containerReference).id]
|
|
171
|
-
}).then(data => {
|
|
169
|
+
me.component.getDomRect(me.getReference(containerReference).id).then(data => {
|
|
172
170
|
let {height, left, top, width} = data[0];
|
|
173
171
|
|
|
174
172
|
height -= 50; // popup header in Chrome
|
|
@@ -178,7 +176,7 @@ class MainContainerController extends ComponentController {
|
|
|
178
176
|
Neo.Main.windowOpen({
|
|
179
177
|
url : `../${url}/index.html`,
|
|
180
178
|
windowFeatures: `height=${height},left=${left},top=${top},width=${width}`,
|
|
181
|
-
windowName
|
|
179
|
+
windowName
|
|
182
180
|
});
|
|
183
181
|
});
|
|
184
182
|
});
|
|
@@ -371,13 +369,11 @@ class MainContainerController extends ComponentController {
|
|
|
371
369
|
onComponentConstructed() {
|
|
372
370
|
super.onComponentConstructed();
|
|
373
371
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}, null);
|
|
380
|
-
}
|
|
372
|
+
!Neo.config.hash && this.onHashChange({
|
|
373
|
+
country : 'all',
|
|
374
|
+
hash : {mainview: 'table'},
|
|
375
|
+
hashString: 'mainview=table'
|
|
376
|
+
}, null);
|
|
381
377
|
}
|
|
382
378
|
|
|
383
379
|
/**
|
|
@@ -611,16 +607,16 @@ class MainContainerController extends ComponentController {
|
|
|
611
607
|
} else {
|
|
612
608
|
[component.appName, ...me.connectedApps].forEach(appName => {
|
|
613
609
|
Neo.main.addon.Stylesheet.swapStyleSheet({
|
|
614
|
-
appName
|
|
615
|
-
href
|
|
616
|
-
id
|
|
610
|
+
appName,
|
|
611
|
+
href,
|
|
612
|
+
id: 'neo-theme'
|
|
617
613
|
});
|
|
618
614
|
});
|
|
619
615
|
}
|
|
620
616
|
|
|
621
617
|
button.set({
|
|
622
|
-
iconCls
|
|
623
|
-
text
|
|
618
|
+
iconCls,
|
|
619
|
+
text: buttonText
|
|
624
620
|
});
|
|
625
621
|
|
|
626
622
|
if (mapView) {
|
|
@@ -42,7 +42,6 @@ class TableContainerController extends ComponentController {
|
|
|
42
42
|
}}
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
45
|
* @param {Object} data
|
|
47
46
|
*/
|
|
48
47
|
addStoreItems(data) {
|
|
@@ -119,7 +118,6 @@ class TableContainerController extends ComponentController {
|
|
|
119
118
|
}
|
|
120
119
|
|
|
121
120
|
/**
|
|
122
|
-
*
|
|
123
121
|
* @param {Object} record
|
|
124
122
|
* @protected
|
|
125
123
|
* @returns {Object}
|
|
@@ -151,7 +149,6 @@ class TableContainerController extends ComponentController {
|
|
|
151
149
|
}
|
|
152
150
|
|
|
153
151
|
/**
|
|
154
|
-
*
|
|
155
152
|
* @param {String} countryName
|
|
156
153
|
*/
|
|
157
154
|
loadHistoricalData(countryName) {
|
|
@@ -78,7 +78,6 @@ class WorldMapComponent extends AmChartComponent {
|
|
|
78
78
|
}}
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
82
81
|
* @param {Object[]} data
|
|
83
82
|
*/
|
|
84
83
|
loadData(data) {
|
|
@@ -106,4 +105,4 @@ class WorldMapComponent extends AmChartComponent {
|
|
|
106
105
|
|
|
107
106
|
Neo.applyClassConfig(WorldMapComponent);
|
|
108
107
|
|
|
109
|
-
export {WorldMapComponent as default};
|
|
108
|
+
export {WorldMapComponent as default};
|
|
@@ -37,7 +37,6 @@ class WorldMapContainerController extends ComponentController {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
41
40
|
* @param {Object} data
|
|
42
41
|
*/
|
|
43
42
|
onHeatRuleFieldChange(data) {
|
|
@@ -51,7 +50,6 @@ class WorldMapContainerController extends ComponentController {
|
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
/**
|
|
54
|
-
*
|
|
55
53
|
* @param {Object} data
|
|
56
54
|
*/
|
|
57
55
|
onSeriesButtonClick(data) {
|
|
@@ -161,7 +161,6 @@ class CountryGallery extends Gallery {
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
*
|
|
165
164
|
* @param {String} vnodeId
|
|
166
165
|
* @returns {String} itemId
|
|
167
166
|
*/
|
|
@@ -178,7 +177,6 @@ class CountryGallery extends Gallery {
|
|
|
178
177
|
}
|
|
179
178
|
|
|
180
179
|
/**
|
|
181
|
-
*
|
|
182
180
|
* @param {Array} items
|
|
183
181
|
*/
|
|
184
182
|
onStoreLoad(items) {
|
|
@@ -124,7 +124,6 @@ class CountryHelix extends Helix {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
128
127
|
* @param {Object} vdomItem
|
|
129
128
|
* @param {Object} record
|
|
130
129
|
* @param {Number} index
|
|
@@ -152,7 +151,6 @@ class CountryHelix extends Helix {
|
|
|
152
151
|
return vdomItem;
|
|
153
152
|
}
|
|
154
153
|
/**
|
|
155
|
-
*
|
|
156
154
|
* @returns {String}
|
|
157
155
|
*/
|
|
158
156
|
getCloneTransform() {
|
|
@@ -165,7 +163,6 @@ class CountryHelix extends Helix {
|
|
|
165
163
|
}
|
|
166
164
|
|
|
167
165
|
/**
|
|
168
|
-
*
|
|
169
166
|
* @param {String} vnodeId
|
|
170
167
|
* @returns {String}
|
|
171
168
|
*/
|
|
@@ -19,7 +19,6 @@ class ContainerController extends ComponentController {
|
|
|
19
19
|
}}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
22
|
* @param {String} layerId
|
|
24
23
|
* @param {String} visibility
|
|
25
24
|
*/
|
|
@@ -32,7 +31,6 @@ class ContainerController extends ComponentController {
|
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
|
-
*
|
|
36
34
|
* @param {Object} data
|
|
37
35
|
*/
|
|
38
36
|
onDetailCirclesChange(data) {
|
|
@@ -43,7 +41,6 @@ class ContainerController extends ComponentController {
|
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
/**
|
|
46
|
-
*
|
|
47
44
|
* @param {Object} data
|
|
48
45
|
*/
|
|
49
46
|
onHeatMapChange(data) {
|
|
@@ -51,7 +48,6 @@ class ContainerController extends ComponentController {
|
|
|
51
48
|
}
|
|
52
49
|
|
|
53
50
|
/**
|
|
54
|
-
*
|
|
55
51
|
* @param {Object} data
|
|
56
52
|
*/
|
|
57
53
|
onTerrainChange(data) {
|
|
@@ -61,4 +57,4 @@ class ContainerController extends ComponentController {
|
|
|
61
57
|
|
|
62
58
|
Neo.applyClassConfig(ContainerController);
|
|
63
59
|
|
|
64
|
-
export {ContainerController as default};
|
|
60
|
+
export {ContainerController as default};
|
|
@@ -86,7 +86,6 @@ class MainContainerController extends ComponentController {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
90
89
|
* @param {Object} data
|
|
91
90
|
* @param {String} appName
|
|
92
91
|
*/
|
|
@@ -126,7 +125,6 @@ class MainContainerController extends ComponentController {
|
|
|
126
125
|
}
|
|
127
126
|
|
|
128
127
|
/**
|
|
129
|
-
*
|
|
130
128
|
* @param {Object} proxyRect
|
|
131
129
|
*/
|
|
132
130
|
dropDialogBetweenWindows(proxyRect) {
|
|
@@ -171,7 +169,6 @@ class MainContainerController extends ComponentController {
|
|
|
171
169
|
}
|
|
172
170
|
|
|
173
171
|
/**
|
|
174
|
-
*
|
|
175
172
|
* @param {Boolean} enable
|
|
176
173
|
*/
|
|
177
174
|
enableOpenDialogButtons(enable) {
|
|
@@ -181,7 +178,6 @@ class MainContainerController extends ComponentController {
|
|
|
181
178
|
}
|
|
182
179
|
|
|
183
180
|
/**
|
|
184
|
-
*
|
|
185
181
|
* @return {Neo.button.Base}
|
|
186
182
|
*/
|
|
187
183
|
getOpenDockedWindowButton() {
|
|
@@ -198,7 +194,6 @@ class MainContainerController extends ComponentController {
|
|
|
198
194
|
}
|
|
199
195
|
|
|
200
196
|
/**
|
|
201
|
-
*
|
|
202
197
|
* @param {String} side
|
|
203
198
|
* @return {String}
|
|
204
199
|
*/
|
|
@@ -212,7 +207,6 @@ class MainContainerController extends ComponentController {
|
|
|
212
207
|
}
|
|
213
208
|
|
|
214
209
|
/**
|
|
215
|
-
*
|
|
216
210
|
* @param {Object} proxyRect
|
|
217
211
|
* @param {String} side
|
|
218
212
|
* @param {Boolean} [fullyIncludeIntoWindow=false]
|
|
@@ -250,7 +244,6 @@ class MainContainerController extends ComponentController {
|
|
|
250
244
|
}
|
|
251
245
|
|
|
252
246
|
/**
|
|
253
|
-
*
|
|
254
247
|
* @return {Boolean}
|
|
255
248
|
*/
|
|
256
249
|
hasDockedWindow() {
|
|
@@ -258,7 +251,6 @@ class MainContainerController extends ComponentController {
|
|
|
258
251
|
}
|
|
259
252
|
|
|
260
253
|
/**
|
|
261
|
-
*
|
|
262
254
|
* @param {Object} data
|
|
263
255
|
* @param {Object} data.proxyRect
|
|
264
256
|
* @param {Boolean} [data.fullyIncludeIntoWindow]
|
|
@@ -305,7 +297,6 @@ class MainContainerController extends ComponentController {
|
|
|
305
297
|
}
|
|
306
298
|
|
|
307
299
|
/**
|
|
308
|
-
*
|
|
309
300
|
* @param {Object} data
|
|
310
301
|
* @param {String} data.appName
|
|
311
302
|
*/
|
|
@@ -327,7 +318,6 @@ class MainContainerController extends ComponentController {
|
|
|
327
318
|
}
|
|
328
319
|
|
|
329
320
|
/**
|
|
330
|
-
*
|
|
331
321
|
* @param {Object} data
|
|
332
322
|
* @param {String} data.appName
|
|
333
323
|
*/
|
|
@@ -356,7 +346,6 @@ class MainContainerController extends ComponentController {
|
|
|
356
346
|
}
|
|
357
347
|
|
|
358
348
|
/**
|
|
359
|
-
*
|
|
360
349
|
* @param {Object} data
|
|
361
350
|
*/
|
|
362
351
|
onCreateDialogButtonClick(data) {
|
|
@@ -371,7 +360,6 @@ class MainContainerController extends ComponentController {
|
|
|
371
360
|
}
|
|
372
361
|
|
|
373
362
|
/**
|
|
374
|
-
*
|
|
375
363
|
* @param {Object} data
|
|
376
364
|
*/
|
|
377
365
|
onDockedPositionChange(data) {
|
|
@@ -381,7 +369,6 @@ class MainContainerController extends ComponentController {
|
|
|
381
369
|
}
|
|
382
370
|
|
|
383
371
|
/**
|
|
384
|
-
*
|
|
385
372
|
* @param {Object} data
|
|
386
373
|
*/
|
|
387
374
|
onDragEnd(data) {
|
|
@@ -409,7 +396,6 @@ class MainContainerController extends ComponentController {
|
|
|
409
396
|
}
|
|
410
397
|
|
|
411
398
|
/**
|
|
412
|
-
*
|
|
413
399
|
* @param {Object} data
|
|
414
400
|
*/
|
|
415
401
|
onDragMove(data) {
|
|
@@ -469,7 +455,6 @@ class MainContainerController extends ComponentController {
|
|
|
469
455
|
}
|
|
470
456
|
|
|
471
457
|
/**
|
|
472
|
-
*
|
|
473
458
|
* @param {Object} data
|
|
474
459
|
*/
|
|
475
460
|
onDragStart(data) {
|
|
@@ -498,7 +483,6 @@ class MainContainerController extends ComponentController {
|
|
|
498
483
|
}
|
|
499
484
|
|
|
500
485
|
/**
|
|
501
|
-
*
|
|
502
486
|
* @param {Object} data
|
|
503
487
|
*/
|
|
504
488
|
onDragZoneCreated(data) {
|
|
@@ -604,7 +588,6 @@ class MainContainerController extends ComponentController {
|
|
|
604
588
|
}
|
|
605
589
|
|
|
606
590
|
/**
|
|
607
|
-
*
|
|
608
591
|
* @param {String} appName
|
|
609
592
|
* @param {String} theme
|
|
610
593
|
*/
|
|
@@ -617,7 +600,6 @@ class MainContainerController extends ComponentController {
|
|
|
617
600
|
}
|
|
618
601
|
|
|
619
602
|
/**
|
|
620
|
-
*
|
|
621
603
|
* @param {Object} style
|
|
622
604
|
*/
|
|
623
605
|
updateDockedWindowProxyStyle(style) {
|
|
@@ -14,7 +14,6 @@ class MainContainerController extends ComponentController {
|
|
|
14
14
|
}}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
17
|
* @param {Object} data
|
|
19
18
|
*/
|
|
20
19
|
onCreateDialogButtonClick(data) {
|
|
@@ -28,4 +27,4 @@ class MainContainerController extends ComponentController {
|
|
|
28
27
|
|
|
29
28
|
Neo.applyClassConfig(MainContainerController);
|
|
30
29
|
|
|
31
|
-
export {MainContainerController as default};
|
|
30
|
+
export {MainContainerController as default};
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"author" : "Tobias Uhlig",
|
|
4
|
+
"authorImage" : "author_TobiasUhlig.jpeg",
|
|
5
|
+
"date" : "Dec 15, 2021",
|
|
6
|
+
"id" : 47,
|
|
7
|
+
"image" : "resolving-pitfalls-of-the-ecmascript-class-system.png",
|
|
8
|
+
"name" : "Resolving pitfalls of the ECMAScript class system",
|
|
9
|
+
"provider" : "Medium",
|
|
10
|
+
"publisher" : "ITNEXT",
|
|
11
|
+
"selectedInto": [],
|
|
12
|
+
"type" : "Blog Post",
|
|
13
|
+
"url" : "https://itnext.io/resolving-pitfalls-of-the-ecmascript-class-system-856024218399?source=friends_link&sk=9733342654c50d8d618671b754089e1d"
|
|
14
|
+
},
|
|
2
15
|
{
|
|
3
16
|
"author" : "Tobias Uhlig",
|
|
4
17
|
"authorImage" : "author_TobiasUhlig.jpeg",
|
|
@@ -35,7 +35,6 @@ class MainContainerController extends ComponentController {
|
|
|
35
35
|
}}
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
38
|
* @param {Number} tabIndex
|
|
40
39
|
* @returns {Neo.component.Base}
|
|
41
40
|
*/
|
|
@@ -67,7 +66,6 @@ class MainContainerController extends ComponentController {
|
|
|
67
66
|
}
|
|
68
67
|
|
|
69
68
|
/**
|
|
70
|
-
*
|
|
71
69
|
* @param {Object} value
|
|
72
70
|
* @param {Object} oldValue
|
|
73
71
|
*/
|
|
@@ -145,7 +143,6 @@ class MainContainerController extends ComponentController {
|
|
|
145
143
|
}
|
|
146
144
|
|
|
147
145
|
/**
|
|
148
|
-
*
|
|
149
146
|
* @param {Object} data
|
|
150
147
|
*/
|
|
151
148
|
onNavLinkClick(data) {
|
|
@@ -175,7 +172,6 @@ class MainContainerController extends ComponentController {
|
|
|
175
172
|
}
|
|
176
173
|
|
|
177
174
|
/**
|
|
178
|
-
*
|
|
179
175
|
* @param {Object} data
|
|
180
176
|
*/
|
|
181
177
|
onSearchFieldChange(data) {
|