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
|
@@ -14,7 +14,6 @@ class MainContainerController extends Component {
|
|
|
14
14
|
}}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
17
|
* @param {Object} data
|
|
19
18
|
*/
|
|
20
19
|
onButton1Click(data) {
|
|
@@ -22,7 +21,6 @@ class MainContainerController extends Component {
|
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
26
24
|
* @param {Object} data
|
|
27
25
|
*/
|
|
28
26
|
onButton2Click(data) {
|
|
@@ -30,7 +28,6 @@ class MainContainerController extends Component {
|
|
|
30
28
|
}
|
|
31
29
|
|
|
32
30
|
/**
|
|
33
|
-
*
|
|
34
31
|
* @param {Object} data
|
|
35
32
|
*/
|
|
36
33
|
onLogModelIntoConsoleButtonClick(data) {
|
|
@@ -38,7 +35,6 @@ class MainContainerController extends Component {
|
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
/**
|
|
41
|
-
*
|
|
42
38
|
* @param {Object} data
|
|
43
39
|
*/
|
|
44
40
|
onTextField1Change(data) {
|
|
@@ -48,7 +44,6 @@ class MainContainerController extends Component {
|
|
|
48
44
|
}
|
|
49
45
|
|
|
50
46
|
/**
|
|
51
|
-
*
|
|
52
47
|
* @param {Object} data
|
|
53
48
|
*/
|
|
54
49
|
onTextField2Change(data) {
|
|
@@ -58,7 +53,6 @@ class MainContainerController extends Component {
|
|
|
58
53
|
}
|
|
59
54
|
|
|
60
55
|
/**
|
|
61
|
-
*
|
|
62
56
|
* @param {String} value
|
|
63
57
|
*/
|
|
64
58
|
updateButton1Text(value) {
|
|
@@ -66,7 +60,6 @@ class MainContainerController extends Component {
|
|
|
66
60
|
}
|
|
67
61
|
|
|
68
62
|
/**
|
|
69
|
-
*
|
|
70
63
|
* @param {String} value
|
|
71
64
|
*/
|
|
72
65
|
updateButton2Text(value) {
|
|
@@ -78,4 +71,4 @@ class MainContainerController extends Component {
|
|
|
78
71
|
|
|
79
72
|
Neo.applyClassConfig(MainContainerController);
|
|
80
73
|
|
|
81
|
-
export {MainContainerController as default};
|
|
74
|
+
export {MainContainerController as default};
|
|
@@ -158,7 +158,6 @@ class MainContainer extends ConfigurationViewport {
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
162
161
|
* @param {String} config
|
|
163
162
|
* @param {Object} opts
|
|
164
163
|
*/
|
|
@@ -167,7 +166,6 @@ class MainContainer extends ConfigurationViewport {
|
|
|
167
166
|
}
|
|
168
167
|
|
|
169
168
|
/**
|
|
170
|
-
*
|
|
171
169
|
* @returns {Neo.tab.header.Button}
|
|
172
170
|
*/
|
|
173
171
|
getFirstTabHeader() {
|
|
@@ -175,7 +173,6 @@ class MainContainer extends ConfigurationViewport {
|
|
|
175
173
|
}
|
|
176
174
|
|
|
177
175
|
/**
|
|
178
|
-
*
|
|
179
176
|
* @param {Object} data
|
|
180
177
|
* @param {Neo.component.Base} data.component
|
|
181
178
|
* @param {Boolean} data.oldValue
|
|
@@ -199,7 +196,6 @@ class MainContainer extends ConfigurationViewport {
|
|
|
199
196
|
}
|
|
200
197
|
|
|
201
198
|
/**
|
|
202
|
-
*
|
|
203
199
|
* @param {String} value
|
|
204
200
|
* @param {Object} opts
|
|
205
201
|
*/
|
|
@@ -212,7 +208,6 @@ class MainContainer extends ConfigurationViewport {
|
|
|
212
208
|
}
|
|
213
209
|
|
|
214
210
|
/**
|
|
215
|
-
*
|
|
216
211
|
* @param {Object} opts
|
|
217
212
|
*/
|
|
218
213
|
onUserActiveIndexChange(opts) {
|
|
@@ -222,4 +217,4 @@ class MainContainer extends ConfigurationViewport {
|
|
|
222
217
|
|
|
223
218
|
Neo.applyClassConfig(MainContainer);
|
|
224
219
|
|
|
225
|
-
export {MainContainer as default};
|
|
220
|
+
export {MainContainer as default};
|
|
@@ -76,7 +76,6 @@ class MainContainer extends ConfigurationViewport {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
80
79
|
* @returns {*}
|
|
81
80
|
*/
|
|
82
81
|
createExampleComponent() {
|
|
@@ -119,7 +118,6 @@ class MainContainer extends ConfigurationViewport {
|
|
|
119
118
|
}
|
|
120
119
|
|
|
121
120
|
/**
|
|
122
|
-
*
|
|
123
121
|
* @param {Object} opts
|
|
124
122
|
*/
|
|
125
123
|
onLeafNodesOnlyChange(opts) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neo.mjs",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.19",
|
|
4
4
|
"description": "The webworkers driven UI framework",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
"homepage": "https://neomjs.github.io/pages/",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
|
37
|
-
"@material/mwc-button": "^0.25.
|
|
38
|
-
"@material/mwc-textfield": "^0.25.
|
|
39
|
-
"autoprefixer": "^10.
|
|
37
|
+
"@material/mwc-button": "^0.25.3",
|
|
38
|
+
"@material/mwc-textfield": "^0.25.3",
|
|
39
|
+
"autoprefixer": "^10.4.0",
|
|
40
40
|
"chalk": "^4.1.2",
|
|
41
41
|
"clean-webpack-plugin": "^4.0.0",
|
|
42
|
-
"commander": "^8.
|
|
43
|
-
"cssnano": "^5.0.
|
|
42
|
+
"commander": "^8.3.0",
|
|
43
|
+
"cssnano": "^5.0.12",
|
|
44
44
|
"envinfo": "^7.8.1",
|
|
45
45
|
"fs-extra": "^10.0.0",
|
|
46
46
|
"highlightjs-line-numbers.js": "^2.8.0",
|
|
47
47
|
"inquirer": "^8.1.5",
|
|
48
48
|
"neo-jsdoc": "^1.0.1",
|
|
49
49
|
"neo-jsdoc-x": "^1.0.4",
|
|
50
|
-
"postcss": "^8.
|
|
51
|
-
"sass": "^1.
|
|
52
|
-
"webpack": "^5.
|
|
53
|
-
"webpack-cli": "^4.
|
|
54
|
-
"webpack-dev-server": "4.
|
|
50
|
+
"postcss": "^8.4.4",
|
|
51
|
+
"sass": "^1.45.0",
|
|
52
|
+
"webpack": "^5.65.0",
|
|
53
|
+
"webpack-cli": "^4.9.1",
|
|
54
|
+
"webpack-dev-server": "4.6.0",
|
|
55
55
|
"webpack-hook-plugin": "^1.0.7",
|
|
56
56
|
"webpack-node-externals": "^3.0.0"
|
|
57
57
|
},
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.neo-examples-list-animate {
|
|
2
|
+
.neo-is-online {
|
|
3
|
+
background-color: green;
|
|
4
|
+
border-radius : 50%;
|
|
5
|
+
height : .7em;
|
|
6
|
+
margin-top : .5em;
|
|
7
|
+
width : .7em;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.neo-lastname {
|
|
11
|
+
color : #1c60a0;
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.neo-list-item {
|
|
16
|
+
background-color: lavender;
|
|
17
|
+
border : 1px solid #1c60a0;
|
|
18
|
+
border-radius : 6px;
|
|
19
|
+
opacity : .9;
|
|
20
|
+
transition : transform .5s ease-in-out;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.neo-list-item-content {
|
|
24
|
+
display: flex;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.neo-list-item-text {
|
|
28
|
+
margin-left: 10px;
|
|
29
|
+
}
|
|
30
|
+
}
|
package/src/Main.mjs
CHANGED
|
@@ -96,7 +96,6 @@ class Main extends core.Base {
|
|
|
96
96
|
}}
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
100
99
|
* @param {Object} config
|
|
101
100
|
*/
|
|
102
101
|
constructor(config) {
|
|
@@ -229,7 +228,6 @@ class Main extends core.Base {
|
|
|
229
228
|
}
|
|
230
229
|
|
|
231
230
|
/**
|
|
232
|
-
*
|
|
233
231
|
* @param data
|
|
234
232
|
*/
|
|
235
233
|
onMountDom(data) {
|
|
@@ -243,7 +241,6 @@ class Main extends core.Base {
|
|
|
243
241
|
}
|
|
244
242
|
|
|
245
243
|
/**
|
|
246
|
-
*
|
|
247
244
|
* @param data
|
|
248
245
|
*/
|
|
249
246
|
onRender(data) {
|
|
@@ -252,7 +249,6 @@ class Main extends core.Base {
|
|
|
252
249
|
}
|
|
253
250
|
|
|
254
251
|
/**
|
|
255
|
-
*
|
|
256
252
|
* @param data
|
|
257
253
|
*/
|
|
258
254
|
onUpdateDom(data) {
|
|
@@ -260,7 +256,6 @@ class Main extends core.Base {
|
|
|
260
256
|
}
|
|
261
257
|
|
|
262
258
|
/**
|
|
263
|
-
*
|
|
264
259
|
* @param data
|
|
265
260
|
*/
|
|
266
261
|
onUpdateVdom(data) {
|
|
@@ -269,7 +264,6 @@ class Main extends core.Base {
|
|
|
269
264
|
}
|
|
270
265
|
|
|
271
266
|
/**
|
|
272
|
-
*
|
|
273
267
|
* @param {Object[]} queue
|
|
274
268
|
* @param {Date} start
|
|
275
269
|
* @returns {Number}
|
|
@@ -292,7 +286,6 @@ class Main extends core.Base {
|
|
|
292
286
|
}
|
|
293
287
|
|
|
294
288
|
/**
|
|
295
|
-
*
|
|
296
289
|
* @param {Object} data
|
|
297
290
|
* @protected
|
|
298
291
|
*/
|
|
@@ -307,7 +300,6 @@ class Main extends core.Base {
|
|
|
307
300
|
}
|
|
308
301
|
|
|
309
302
|
/**
|
|
310
|
-
*
|
|
311
303
|
* @param {Object} data
|
|
312
304
|
* @protected
|
|
313
305
|
*/
|
|
@@ -322,7 +314,6 @@ class Main extends core.Base {
|
|
|
322
314
|
}
|
|
323
315
|
|
|
324
316
|
/**
|
|
325
|
-
*
|
|
326
317
|
* @param data
|
|
327
318
|
* @protected
|
|
328
319
|
*/
|
|
@@ -380,20 +371,20 @@ class Main extends core.Base {
|
|
|
380
371
|
/**
|
|
381
372
|
* Change the location.hash value
|
|
382
373
|
* @param {Object} data
|
|
383
|
-
* @param {String} data.
|
|
374
|
+
* @param {String} data.key
|
|
375
|
+
* @param {*} data.value
|
|
384
376
|
*/
|
|
385
|
-
|
|
386
|
-
|
|
377
|
+
setNeoConfig(data) {
|
|
378
|
+
Neo.config[data.key] = data.value;
|
|
387
379
|
}
|
|
388
380
|
|
|
389
381
|
/**
|
|
390
382
|
* Change the location.hash value
|
|
391
383
|
* @param {Object} data
|
|
392
|
-
* @param {String} data.
|
|
393
|
-
* @param {*} data.value
|
|
384
|
+
* @param {String} data.value
|
|
394
385
|
*/
|
|
395
|
-
|
|
396
|
-
|
|
386
|
+
setRoute(data) {
|
|
387
|
+
window.location.hash = data.value;
|
|
397
388
|
}
|
|
398
389
|
|
|
399
390
|
/**
|
package/src/Neo.mjs
CHANGED
|
@@ -137,9 +137,7 @@ Neo = self.Neo = Object.assign({
|
|
|
137
137
|
delete ctor.getConfig;
|
|
138
138
|
delete ctor.getStaticConfig;
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
this.applyToGlobalNs(cls);
|
|
142
|
-
}
|
|
140
|
+
!config.singleton && this.applyToGlobalNs(cls);
|
|
143
141
|
});
|
|
144
142
|
},
|
|
145
143
|
|
|
@@ -437,7 +435,6 @@ Neo = self.Neo = Object.assign({
|
|
|
437
435
|
},
|
|
438
436
|
|
|
439
437
|
/**
|
|
440
|
-
*
|
|
441
438
|
* @param {*} item
|
|
442
439
|
* @returns {String|null}
|
|
443
440
|
*/
|
package/src/button/Menu.mjs
CHANGED
package/src/button/Split.mjs
CHANGED
|
@@ -49,7 +49,6 @@ class Split extends Button {
|
|
|
49
49
|
}}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
52
|
* @param {Object} config
|
|
54
53
|
*/
|
|
55
54
|
constructor(config) {
|
|
@@ -120,7 +119,6 @@ class Split extends Button {
|
|
|
120
119
|
}
|
|
121
120
|
|
|
122
121
|
/**
|
|
123
|
-
*
|
|
124
122
|
* @param {Boolean} [updateParentVdom=false]
|
|
125
123
|
* @param {Boolean} [silent=false]
|
|
126
124
|
*/
|
|
@@ -130,7 +128,6 @@ class Split extends Button {
|
|
|
130
128
|
}
|
|
131
129
|
|
|
132
130
|
/**
|
|
133
|
-
*
|
|
134
131
|
* @returns {Object} The new vdom root
|
|
135
132
|
*/
|
|
136
133
|
getVdomRoot() {
|
|
@@ -138,7 +135,6 @@ class Split extends Button {
|
|
|
138
135
|
}
|
|
139
136
|
|
|
140
137
|
/**
|
|
141
|
-
*
|
|
142
138
|
* @returns {Object} The new vnode root
|
|
143
139
|
*/
|
|
144
140
|
getVnodeRoot() {
|
|
@@ -75,7 +75,6 @@ class EditEventContainer extends FormContainer {
|
|
|
75
75
|
}}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
79
78
|
* @param {Object} config
|
|
80
79
|
*/
|
|
81
80
|
constructor(config) {
|
|
@@ -214,7 +213,6 @@ class EditEventContainer extends FormContainer {
|
|
|
214
213
|
}
|
|
215
214
|
|
|
216
215
|
/**
|
|
217
|
-
*
|
|
218
216
|
* @param {Neo.calendar.model.Event} record
|
|
219
217
|
* @returns {String}
|
|
220
218
|
*/
|
|
@@ -227,7 +225,6 @@ class EditEventContainer extends FormContainer {
|
|
|
227
225
|
}
|
|
228
226
|
|
|
229
227
|
/**
|
|
230
|
-
*
|
|
231
228
|
* @param {Neo.calendar.model.Event} record
|
|
232
229
|
* @returns {String}
|
|
233
230
|
*/
|
|
@@ -240,7 +237,6 @@ class EditEventContainer extends FormContainer {
|
|
|
240
237
|
}
|
|
241
238
|
|
|
242
239
|
/**
|
|
243
|
-
*
|
|
244
240
|
* @param {Object} data
|
|
245
241
|
*/
|
|
246
242
|
onCalendarFieldChange(data) {
|
|
@@ -261,7 +257,6 @@ class EditEventContainer extends FormContainer {
|
|
|
261
257
|
}
|
|
262
258
|
|
|
263
259
|
/**
|
|
264
|
-
*
|
|
265
260
|
* @param {Object} data
|
|
266
261
|
*/
|
|
267
262
|
onFocusLeave(data) {
|
|
@@ -274,7 +269,6 @@ class EditEventContainer extends FormContainer {
|
|
|
274
269
|
}
|
|
275
270
|
|
|
276
271
|
/**
|
|
277
|
-
*
|
|
278
272
|
* @param {Object} data
|
|
279
273
|
*/
|
|
280
274
|
onTimeFieldChange(data) {
|
|
@@ -298,7 +292,6 @@ class EditEventContainer extends FormContainer {
|
|
|
298
292
|
}
|
|
299
293
|
|
|
300
294
|
/**
|
|
301
|
-
*
|
|
302
295
|
* @param {Object} data
|
|
303
296
|
*/
|
|
304
297
|
onTitleFieldChange(data) {
|
|
@@ -169,7 +169,6 @@ class MainContainer extends Container {
|
|
|
169
169
|
}}
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
|
-
*
|
|
173
172
|
* @param {Object} config
|
|
174
173
|
*/
|
|
175
174
|
constructor(config) {
|
|
@@ -392,7 +391,6 @@ class MainContainer extends Container {
|
|
|
392
391
|
}
|
|
393
392
|
|
|
394
393
|
/**
|
|
395
|
-
*
|
|
396
394
|
* @param {String} view
|
|
397
395
|
* @protected
|
|
398
396
|
*/
|
|
@@ -401,7 +399,6 @@ class MainContainer extends Container {
|
|
|
401
399
|
}
|
|
402
400
|
|
|
403
401
|
/**
|
|
404
|
-
*
|
|
405
402
|
* @returns {Object[]}
|
|
406
403
|
*/
|
|
407
404
|
createHeaderItems() {
|
|
@@ -433,7 +430,6 @@ class MainContainer extends Container {
|
|
|
433
430
|
}
|
|
434
431
|
|
|
435
432
|
/**
|
|
436
|
-
*
|
|
437
433
|
* @protected
|
|
438
434
|
*/
|
|
439
435
|
createItemsContent() {
|
|
@@ -495,7 +491,6 @@ class MainContainer extends Container {
|
|
|
495
491
|
}
|
|
496
492
|
|
|
497
493
|
/**
|
|
498
|
-
*
|
|
499
494
|
* @param {Boolean} collapsed
|
|
500
495
|
* @returns {Promise<*>}
|
|
501
496
|
*/
|
|
@@ -515,7 +510,6 @@ class MainContainer extends Container {
|
|
|
515
510
|
}
|
|
516
511
|
|
|
517
512
|
/**
|
|
518
|
-
*
|
|
519
513
|
* @returns {Object[]}
|
|
520
514
|
*/
|
|
521
515
|
createViewHeaderButtons() {
|
|
@@ -538,7 +532,6 @@ class MainContainer extends Container {
|
|
|
538
532
|
}
|
|
539
533
|
|
|
540
534
|
/**
|
|
541
|
-
*
|
|
542
535
|
* @returns {Neo.component.Base[]}
|
|
543
536
|
*/
|
|
544
537
|
createViews() {
|
|
@@ -588,7 +581,6 @@ class MainContainer extends Container {
|
|
|
588
581
|
}
|
|
589
582
|
|
|
590
583
|
/**
|
|
591
|
-
*
|
|
592
584
|
* @param data
|
|
593
585
|
*/
|
|
594
586
|
onCardLoaded(data) {
|
|
@@ -599,7 +591,6 @@ class MainContainer extends Container {
|
|
|
599
591
|
}
|
|
600
592
|
|
|
601
593
|
/**
|
|
602
|
-
*
|
|
603
594
|
* @param {Object} data
|
|
604
595
|
* @param {String} data.oldValue
|
|
605
596
|
* @param {String} data.value
|
|
@@ -609,7 +600,6 @@ class MainContainer extends Container {
|
|
|
609
600
|
}
|
|
610
601
|
|
|
611
602
|
/**
|
|
612
|
-
*
|
|
613
603
|
* @param data
|
|
614
604
|
*/
|
|
615
605
|
onNextIntervalButtonClick(data) {
|
|
@@ -617,7 +607,6 @@ class MainContainer extends Container {
|
|
|
617
607
|
}
|
|
618
608
|
|
|
619
609
|
/**
|
|
620
|
-
*
|
|
621
610
|
* @param data
|
|
622
611
|
*/
|
|
623
612
|
onPreviousIntervalButtonClick(data) {
|
|
@@ -625,7 +614,6 @@ class MainContainer extends Container {
|
|
|
625
614
|
}
|
|
626
615
|
|
|
627
616
|
/**
|
|
628
|
-
*
|
|
629
617
|
* @param data
|
|
630
618
|
*/
|
|
631
619
|
onTodayButtonClick(data) {
|
|
@@ -635,7 +623,6 @@ class MainContainer extends Container {
|
|
|
635
623
|
}
|
|
636
624
|
|
|
637
625
|
/**
|
|
638
|
-
*
|
|
639
626
|
* @protected
|
|
640
627
|
*/
|
|
641
628
|
toggleSettings() {
|
|
@@ -643,7 +630,6 @@ class MainContainer extends Container {
|
|
|
643
630
|
}
|
|
644
631
|
|
|
645
632
|
/**
|
|
646
|
-
*
|
|
647
633
|
* @protected
|
|
648
634
|
*/
|
|
649
635
|
toggleSidebar() {
|
|
@@ -651,7 +637,6 @@ class MainContainer extends Container {
|
|
|
651
637
|
}
|
|
652
638
|
|
|
653
639
|
/**
|
|
654
|
-
*
|
|
655
640
|
* @param {Number} multiplier
|
|
656
641
|
*/
|
|
657
642
|
switchInterval(multiplier) {
|
|
@@ -105,7 +105,6 @@ class MainContainerModel extends Component {
|
|
|
105
105
|
}}
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
109
108
|
* @param {Object} config
|
|
110
109
|
*/
|
|
111
110
|
constructor(config) {
|
|
@@ -146,7 +145,6 @@ class MainContainerModel extends Component {
|
|
|
146
145
|
}
|
|
147
146
|
|
|
148
147
|
/**
|
|
149
|
-
*
|
|
150
148
|
* @param {String} key
|
|
151
149
|
* @param {*} value
|
|
152
150
|
* @param {*} oldValue
|
|
@@ -34,7 +34,6 @@ class SettingsContainer extends Container {
|
|
|
34
34
|
}}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
37
|
* @param {Object} config
|
|
39
38
|
*/
|
|
40
39
|
constructor(config) {
|
|
@@ -48,7 +47,6 @@ class SettingsContainer extends Container {
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
/**
|
|
51
|
-
*
|
|
52
50
|
* @param {Number} width
|
|
53
51
|
*/
|
|
54
52
|
collapse(width) {
|
|
@@ -162,7 +160,6 @@ class SettingsContainer extends Container {
|
|
|
162
160
|
}
|
|
163
161
|
|
|
164
162
|
/**
|
|
165
|
-
*
|
|
166
163
|
* @returns {Neo.calendar.view.MainContainer}
|
|
167
164
|
*/
|
|
168
165
|
getMainContainer() {
|
|
@@ -170,7 +167,6 @@ class SettingsContainer extends Container {
|
|
|
170
167
|
}
|
|
171
168
|
|
|
172
169
|
/**
|
|
173
|
-
*
|
|
174
170
|
* @param {Object} data
|
|
175
171
|
*/
|
|
176
172
|
onCardIndexChange(data) {
|
|
@@ -173,7 +173,6 @@ class YearComponent extends Component {
|
|
|
173
173
|
}}
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
*
|
|
177
176
|
* @param config
|
|
178
177
|
*/
|
|
179
178
|
constructor(config) {
|
|
@@ -477,7 +476,6 @@ class YearComponent extends Component {
|
|
|
477
476
|
}
|
|
478
477
|
|
|
479
478
|
/**
|
|
480
|
-
*
|
|
481
479
|
* @param {Number} increment
|
|
482
480
|
*/
|
|
483
481
|
changeYear(increment) {
|
|
@@ -569,7 +567,6 @@ class YearComponent extends Component {
|
|
|
569
567
|
}
|
|
570
568
|
|
|
571
569
|
/**
|
|
572
|
-
*
|
|
573
570
|
* @param {Object} containerEl
|
|
574
571
|
* @param {Date} currentDate
|
|
575
572
|
* @returns {Object} vdom
|
|
@@ -729,7 +726,6 @@ class YearComponent extends Component {
|
|
|
729
726
|
}
|
|
730
727
|
|
|
731
728
|
/**
|
|
732
|
-
*
|
|
733
729
|
* @param {Object[]} data
|
|
734
730
|
*/
|
|
735
731
|
onCalendarStoreLoad(data) {
|
|
@@ -737,7 +733,6 @@ class YearComponent extends Component {
|
|
|
737
733
|
}
|
|
738
734
|
|
|
739
735
|
/**
|
|
740
|
-
*
|
|
741
736
|
* @param {Object} data
|
|
742
737
|
*/
|
|
743
738
|
onCalendarStoreRecordChange(data) {
|
|
@@ -745,7 +740,6 @@ class YearComponent extends Component {
|
|
|
745
740
|
}
|
|
746
741
|
|
|
747
742
|
/**
|
|
748
|
-
*
|
|
749
743
|
* @param {Object[]} data
|
|
750
744
|
*/
|
|
751
745
|
onEventStoreLoad(data) {
|
|
@@ -753,7 +747,6 @@ class YearComponent extends Component {
|
|
|
753
747
|
}
|
|
754
748
|
|
|
755
749
|
/**
|
|
756
|
-
*
|
|
757
750
|
* @param {Object[]} data
|
|
758
751
|
*/
|
|
759
752
|
onEventStoreRecordChange(data) {
|
|
@@ -761,7 +754,6 @@ class YearComponent extends Component {
|
|
|
761
754
|
}
|
|
762
755
|
|
|
763
756
|
/**
|
|
764
|
-
*
|
|
765
757
|
* @param {Object} data
|
|
766
758
|
*/
|
|
767
759
|
onNavButtonClick(data) {
|
|
@@ -774,7 +766,6 @@ class YearComponent extends Component {
|
|
|
774
766
|
}
|
|
775
767
|
|
|
776
768
|
/**
|
|
777
|
-
*
|
|
778
769
|
* @param {Object} data
|
|
779
770
|
*/
|
|
780
771
|
onWheel(data) {
|