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
|
@@ -46,7 +46,6 @@ class EditContainer extends FormContainer {
|
|
|
46
46
|
}}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
49
|
* @param {Object} config
|
|
51
50
|
*/
|
|
52
51
|
constructor(config) {
|
|
@@ -153,7 +152,6 @@ class EditContainer extends FormContainer {
|
|
|
153
152
|
}
|
|
154
153
|
|
|
155
154
|
/**
|
|
156
|
-
*
|
|
157
155
|
* @param {Object} data
|
|
158
156
|
* @param {Object} data.record
|
|
159
157
|
*/
|
|
@@ -162,7 +160,6 @@ class EditContainer extends FormContainer {
|
|
|
162
160
|
}
|
|
163
161
|
|
|
164
162
|
/**
|
|
165
|
-
*
|
|
166
163
|
* @param {Object} data
|
|
167
164
|
*/
|
|
168
165
|
onDeleteButtonClick(data) {
|
|
@@ -175,7 +172,6 @@ class EditContainer extends FormContainer {
|
|
|
175
172
|
}
|
|
176
173
|
|
|
177
174
|
/**
|
|
178
|
-
*
|
|
179
175
|
* @param {Object} [data]
|
|
180
176
|
*/
|
|
181
177
|
onFocusLeave(data) {
|
|
@@ -189,7 +185,6 @@ class EditContainer extends FormContainer {
|
|
|
189
185
|
}
|
|
190
186
|
|
|
191
187
|
/**
|
|
192
|
-
*
|
|
193
188
|
* @param {Object} data
|
|
194
189
|
*/
|
|
195
190
|
onNameFieldChange(data) {
|
|
@@ -77,7 +77,6 @@ class List extends ComponentList {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
81
80
|
* @param {Number} index
|
|
82
81
|
* @returns {String}
|
|
83
82
|
*/
|
|
@@ -86,7 +85,6 @@ class List extends ComponentList {
|
|
|
86
85
|
}
|
|
87
86
|
|
|
88
87
|
/**
|
|
89
|
-
*
|
|
90
88
|
* @param {Object} data
|
|
91
89
|
*/
|
|
92
90
|
onCheckboxChange(data) {
|
|
@@ -94,7 +92,6 @@ class List extends ComponentList {
|
|
|
94
92
|
}
|
|
95
93
|
|
|
96
94
|
/**
|
|
97
|
-
*
|
|
98
95
|
* @param {Object} data
|
|
99
96
|
*/
|
|
100
97
|
onClick(data) {
|
|
@@ -133,7 +130,6 @@ class List extends ComponentList {
|
|
|
133
130
|
}
|
|
134
131
|
|
|
135
132
|
/**
|
|
136
|
-
*
|
|
137
133
|
* @param {String} itemId
|
|
138
134
|
*/
|
|
139
135
|
onKeyDownEnter(itemId) {
|
|
@@ -145,7 +141,6 @@ class List extends ComponentList {
|
|
|
145
141
|
}
|
|
146
142
|
|
|
147
143
|
/**
|
|
148
|
-
*
|
|
149
144
|
* @param {String[]} items
|
|
150
145
|
*/
|
|
151
146
|
onSelect(items) {
|
|
@@ -155,7 +155,6 @@ class Component extends BaseComponent {
|
|
|
155
155
|
}}
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
159
158
|
* @param {Object} config
|
|
160
159
|
*/
|
|
161
160
|
constructor(config) {
|
|
@@ -423,7 +422,6 @@ class Component extends BaseComponent {
|
|
|
423
422
|
}
|
|
424
423
|
|
|
425
424
|
/**
|
|
426
|
-
*
|
|
427
425
|
* @param {Boolean} [silent=false]
|
|
428
426
|
*/
|
|
429
427
|
createContent(silent=false) {
|
|
@@ -462,7 +460,6 @@ class Component extends BaseComponent {
|
|
|
462
460
|
}
|
|
463
461
|
|
|
464
462
|
/**
|
|
465
|
-
*
|
|
466
463
|
* @param {Date} date
|
|
467
464
|
* @returns {Object}
|
|
468
465
|
*/
|
|
@@ -566,7 +563,6 @@ class Component extends BaseComponent {
|
|
|
566
563
|
}
|
|
567
564
|
|
|
568
565
|
/**
|
|
569
|
-
*
|
|
570
566
|
* @param {Object[]} data
|
|
571
567
|
*/
|
|
572
568
|
onCalendarStoreLoad(data) {
|
|
@@ -574,7 +570,6 @@ class Component extends BaseComponent {
|
|
|
574
570
|
}
|
|
575
571
|
|
|
576
572
|
/**
|
|
577
|
-
*
|
|
578
573
|
* @param {Object} data
|
|
579
574
|
*/
|
|
580
575
|
onCalendarStoreRecordChange(data) {
|
|
@@ -582,7 +577,6 @@ class Component extends BaseComponent {
|
|
|
582
577
|
}
|
|
583
578
|
|
|
584
579
|
/**
|
|
585
|
-
*
|
|
586
580
|
* @param {Object} data
|
|
587
581
|
*/
|
|
588
582
|
onEventDoubleClick(data) {
|
|
@@ -612,7 +606,6 @@ class Component extends BaseComponent {
|
|
|
612
606
|
}
|
|
613
607
|
|
|
614
608
|
/**
|
|
615
|
-
*
|
|
616
609
|
* @param {Object[]} data
|
|
617
610
|
*/
|
|
618
611
|
onEventStoreLoad(data) {
|
|
@@ -620,7 +613,6 @@ class Component extends BaseComponent {
|
|
|
620
613
|
}
|
|
621
614
|
|
|
622
615
|
/**
|
|
623
|
-
*
|
|
624
616
|
* @param {Object[]} data
|
|
625
617
|
*/
|
|
626
618
|
onEventStoreRecordChange(data) {
|
|
@@ -628,7 +620,6 @@ class Component extends BaseComponent {
|
|
|
628
620
|
}
|
|
629
621
|
|
|
630
622
|
/**
|
|
631
|
-
*
|
|
632
623
|
* @param {Object} data
|
|
633
624
|
* @param {Object[]} data.oldPath
|
|
634
625
|
* @param {Object[]} data.path
|
|
@@ -651,7 +642,6 @@ class Component extends BaseComponent {
|
|
|
651
642
|
}
|
|
652
643
|
|
|
653
644
|
/**
|
|
654
|
-
*
|
|
655
645
|
* @param {Object} data
|
|
656
646
|
*/
|
|
657
647
|
onWheel(data) {
|
|
@@ -776,7 +766,6 @@ class Component extends BaseComponent {
|
|
|
776
766
|
}
|
|
777
767
|
|
|
778
768
|
/**
|
|
779
|
-
*
|
|
780
769
|
* @param {Boolean} [create=false]
|
|
781
770
|
*/
|
|
782
771
|
updateHeader(create=false) {
|
|
@@ -825,7 +814,6 @@ class Component extends BaseComponent {
|
|
|
825
814
|
}
|
|
826
815
|
|
|
827
816
|
/**
|
|
828
|
-
*
|
|
829
817
|
* @param {Boolean} [silent=false]
|
|
830
818
|
*/
|
|
831
819
|
updateMonthNames(silent=false) {
|
|
@@ -263,7 +263,6 @@ class GeneralContainer extends Container {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
*
|
|
267
266
|
* @param {Object} data
|
|
268
267
|
*/
|
|
269
268
|
onConfigChange(data) {
|
|
@@ -271,7 +270,6 @@ class GeneralContainer extends Container {
|
|
|
271
270
|
}
|
|
272
271
|
|
|
273
272
|
/**
|
|
274
|
-
*
|
|
275
273
|
* @param {Object} data
|
|
276
274
|
*/
|
|
277
275
|
onDataChange(data) {
|
|
@@ -279,7 +277,6 @@ class GeneralContainer extends Container {
|
|
|
279
277
|
}
|
|
280
278
|
|
|
281
279
|
/**
|
|
282
|
-
*
|
|
283
280
|
* @param {Object} data
|
|
284
281
|
*/
|
|
285
282
|
onRadioDataChange(data) {
|
|
@@ -100,7 +100,6 @@ class MonthContainer extends Container {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
104
103
|
* @returns {Neo.calendar.view.month.Component}
|
|
105
104
|
*/
|
|
106
105
|
getMonthComponent() {
|
|
@@ -108,7 +107,6 @@ class MonthContainer extends Container {
|
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
/**
|
|
111
|
-
*
|
|
112
110
|
* @param {Object} data
|
|
113
111
|
*/
|
|
114
112
|
onConfigChange(data) {
|
|
@@ -116,7 +114,6 @@ class MonthContainer extends Container {
|
|
|
116
114
|
}
|
|
117
115
|
|
|
118
116
|
/**
|
|
119
|
-
*
|
|
120
117
|
* @param {Object} data
|
|
121
118
|
*/
|
|
122
119
|
onRadioChange(data) {
|
|
@@ -92,7 +92,6 @@ class WeekContainer extends Container {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
96
95
|
* @returns {Neo.calendar.view.TimeAxisComponent}
|
|
97
96
|
*/
|
|
98
97
|
getTimeAxis() {
|
|
@@ -100,7 +99,6 @@ class WeekContainer extends Container {
|
|
|
100
99
|
}
|
|
101
100
|
|
|
102
101
|
/**
|
|
103
|
-
*
|
|
104
102
|
* @returns {Neo.calendar.view.Component}
|
|
105
103
|
*/
|
|
106
104
|
getWeekComponent() {
|
|
@@ -108,7 +106,6 @@ class WeekContainer extends Container {
|
|
|
108
106
|
}
|
|
109
107
|
|
|
110
108
|
/**
|
|
111
|
-
*
|
|
112
109
|
* @param {Object} data
|
|
113
110
|
*/
|
|
114
111
|
onConfigChange(data) {
|
|
@@ -116,7 +113,6 @@ class WeekContainer extends Container {
|
|
|
116
113
|
}
|
|
117
114
|
|
|
118
115
|
/**
|
|
119
|
-
*
|
|
120
116
|
* @param {Object} data
|
|
121
117
|
*/
|
|
122
118
|
onTimeAxisConfigChange(data) {
|
|
@@ -124,7 +120,6 @@ class WeekContainer extends Container {
|
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
/**
|
|
127
|
-
*
|
|
128
123
|
* @param {Object} data
|
|
129
124
|
*/
|
|
130
125
|
onTimeAxisPositionChange(data) {
|
|
@@ -121,7 +121,6 @@ class YearContainer extends Container {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
125
124
|
* @returns {Neo.calendar.view.YearComponent}
|
|
126
125
|
*/
|
|
127
126
|
getYearComponent() {
|
|
@@ -129,7 +128,6 @@ class YearContainer extends Container {
|
|
|
129
128
|
}
|
|
130
129
|
|
|
131
130
|
/**
|
|
132
|
-
*
|
|
133
131
|
* @param {Object} data
|
|
134
132
|
*/
|
|
135
133
|
onRadioChange(data) {
|
|
@@ -139,7 +137,6 @@ class YearContainer extends Container {
|
|
|
139
137
|
}
|
|
140
138
|
|
|
141
139
|
/**
|
|
142
|
-
*
|
|
143
140
|
* @param {Object} data
|
|
144
141
|
*/
|
|
145
142
|
onConfigChange(data) {
|
|
@@ -214,7 +214,6 @@ class Component extends BaseComponent {
|
|
|
214
214
|
}}
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
218
217
|
* @param {Object} config
|
|
219
218
|
*/
|
|
220
219
|
constructor(config) {
|
|
@@ -254,7 +253,6 @@ class Component extends BaseComponent {
|
|
|
254
253
|
}
|
|
255
254
|
|
|
256
255
|
/**
|
|
257
|
-
*
|
|
258
256
|
* @param {Object} data
|
|
259
257
|
* @param {Neo.component.Base} data.component
|
|
260
258
|
* @param {Number} data.rowHeight
|
|
@@ -571,7 +569,6 @@ class Component extends BaseComponent {
|
|
|
571
569
|
}
|
|
572
570
|
|
|
573
571
|
/**
|
|
574
|
-
*
|
|
575
572
|
* @param {Date} date
|
|
576
573
|
* @returns {Object}
|
|
577
574
|
*/
|
|
@@ -621,7 +618,6 @@ class Component extends BaseComponent {
|
|
|
621
618
|
}
|
|
622
619
|
|
|
623
620
|
/**
|
|
624
|
-
*
|
|
625
621
|
* @param {Date} date
|
|
626
622
|
* @returns {String}
|
|
627
623
|
*/
|
|
@@ -630,7 +626,6 @@ class Component extends BaseComponent {
|
|
|
630
626
|
}
|
|
631
627
|
|
|
632
628
|
/**
|
|
633
|
-
*
|
|
634
629
|
* @param {Date} date
|
|
635
630
|
* @returns {String}
|
|
636
631
|
*/
|
|
@@ -646,7 +641,6 @@ class Component extends BaseComponent {
|
|
|
646
641
|
}
|
|
647
642
|
|
|
648
643
|
/**
|
|
649
|
-
*
|
|
650
644
|
* @param {Number|String} recordId
|
|
651
645
|
* @returns {String}
|
|
652
646
|
*/
|
|
@@ -677,7 +671,6 @@ class Component extends BaseComponent {
|
|
|
677
671
|
}
|
|
678
672
|
|
|
679
673
|
/**
|
|
680
|
-
*
|
|
681
674
|
* @param {Object[]} data
|
|
682
675
|
*/
|
|
683
676
|
onCalendarStoreLoad(data) {
|
|
@@ -685,7 +678,6 @@ class Component extends BaseComponent {
|
|
|
685
678
|
}
|
|
686
679
|
|
|
687
680
|
/**
|
|
688
|
-
*
|
|
689
681
|
* @param {Object} data
|
|
690
682
|
*/
|
|
691
683
|
onCalendarStoreRecordChange(data) {
|
|
@@ -693,7 +685,6 @@ class Component extends BaseComponent {
|
|
|
693
685
|
}
|
|
694
686
|
|
|
695
687
|
/**
|
|
696
|
-
*
|
|
697
688
|
* @param {Object} data
|
|
698
689
|
*/
|
|
699
690
|
onEventDoubleClick(data) {
|
|
@@ -714,7 +705,6 @@ class Component extends BaseComponent {
|
|
|
714
705
|
}
|
|
715
706
|
|
|
716
707
|
/**
|
|
717
|
-
*
|
|
718
708
|
* @param {Object[]} data
|
|
719
709
|
*/
|
|
720
710
|
onEventStoreLoad(data) {
|
|
@@ -722,7 +712,6 @@ class Component extends BaseComponent {
|
|
|
722
712
|
}
|
|
723
713
|
|
|
724
714
|
/**
|
|
725
|
-
*
|
|
726
715
|
* @param {Object[]} data
|
|
727
716
|
*/
|
|
728
717
|
onEventStoreRecordChange(data) {
|
|
@@ -730,7 +719,6 @@ class Component extends BaseComponent {
|
|
|
730
719
|
}
|
|
731
720
|
|
|
732
721
|
/**
|
|
733
|
-
*
|
|
734
722
|
* @param {Object} data
|
|
735
723
|
* @param {Object[]} data.oldPath
|
|
736
724
|
* @param {Object[]} data.path
|
|
@@ -744,7 +732,6 @@ class Component extends BaseComponent {
|
|
|
744
732
|
}
|
|
745
733
|
|
|
746
734
|
/**
|
|
747
|
-
*
|
|
748
735
|
* @param {Object} data
|
|
749
736
|
* @param {Neo.component.Base} data.component
|
|
750
737
|
* @param {Number} data.rowHeight
|
|
@@ -759,7 +746,6 @@ class Component extends BaseComponent {
|
|
|
759
746
|
}
|
|
760
747
|
|
|
761
748
|
/**
|
|
762
|
-
*
|
|
763
749
|
* @param {Object} data
|
|
764
750
|
*/
|
|
765
751
|
onWheel(data) {
|
|
@@ -842,7 +828,6 @@ class Component extends BaseComponent {
|
|
|
842
828
|
}
|
|
843
829
|
|
|
844
830
|
/**
|
|
845
|
-
*
|
|
846
831
|
* @param {Date} date
|
|
847
832
|
*/
|
|
848
833
|
setFirstColumnDate(date) {
|
|
@@ -968,7 +953,6 @@ class Component extends BaseComponent {
|
|
|
968
953
|
}
|
|
969
954
|
|
|
970
955
|
/**
|
|
971
|
-
*
|
|
972
956
|
* @param {Boolean} [create=false]
|
|
973
957
|
* @param {Boolean} [silent=false]
|
|
974
958
|
*/
|
|
@@ -155,7 +155,6 @@ class EventDragZone extends DragZone {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
159
158
|
* @param {Object} data
|
|
160
159
|
*/
|
|
161
160
|
createDragProxy(data) {
|
|
@@ -257,7 +256,6 @@ class EventDragZone extends DragZone {
|
|
|
257
256
|
}
|
|
258
257
|
|
|
259
258
|
/**
|
|
260
|
-
*
|
|
261
259
|
* @param {Object} data
|
|
262
260
|
*/
|
|
263
261
|
dragMove(data) {
|
|
@@ -497,7 +495,6 @@ class EventDragZone extends DragZone {
|
|
|
497
495
|
}
|
|
498
496
|
|
|
499
497
|
/**
|
|
500
|
-
*
|
|
501
498
|
* @param {Object} data
|
|
502
499
|
*/
|
|
503
500
|
dragStart(data) {
|
|
@@ -22,7 +22,6 @@ class DragDrop extends Base {
|
|
|
22
22
|
}}
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
25
|
* @param {Object} config
|
|
27
26
|
*/
|
|
28
27
|
constructor(config) {
|
|
@@ -60,7 +59,6 @@ class DragDrop extends Base {
|
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
/**
|
|
63
|
-
*
|
|
64
62
|
* @param {Object} opts
|
|
65
63
|
* @param {Object} opts.dragElement
|
|
66
64
|
* @param {Boolean} opts.enableResizingAcrossOppositeEdge
|
|
@@ -106,7 +104,6 @@ class DragDrop extends Base {
|
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
/**
|
|
109
|
-
*
|
|
110
107
|
* @param {Object} path
|
|
111
108
|
* @returns {Boolean}
|
|
112
109
|
*/
|
|
@@ -115,7 +112,6 @@ class DragDrop extends Base {
|
|
|
115
112
|
}
|
|
116
113
|
|
|
117
114
|
/**
|
|
118
|
-
*
|
|
119
115
|
* @param {Object} eventData
|
|
120
116
|
* @returns {Boolean}
|
|
121
117
|
*/
|
|
@@ -124,7 +120,6 @@ class DragDrop extends Base {
|
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
/**
|
|
127
|
-
*
|
|
128
123
|
* @param {Object} data
|
|
129
124
|
*/
|
|
130
125
|
onColumnDragEnd(data) {
|
|
@@ -149,7 +144,6 @@ class DragDrop extends Base {
|
|
|
149
144
|
}
|
|
150
145
|
|
|
151
146
|
/**
|
|
152
|
-
*
|
|
153
147
|
* @param {Object} data
|
|
154
148
|
*/
|
|
155
149
|
onColumnDragMove(data) {
|
|
@@ -159,7 +153,6 @@ class DragDrop extends Base {
|
|
|
159
153
|
}
|
|
160
154
|
|
|
161
155
|
/**
|
|
162
|
-
*
|
|
163
156
|
* @param {Object} data
|
|
164
157
|
*/
|
|
165
158
|
onColumnDragStart(data) {
|
|
@@ -226,7 +219,6 @@ class DragDrop extends Base {
|
|
|
226
219
|
}
|
|
227
220
|
|
|
228
221
|
/**
|
|
229
|
-
*
|
|
230
222
|
* @param {Object} data
|
|
231
223
|
*/
|
|
232
224
|
onEventDragEnd(data) {
|
|
@@ -248,7 +240,6 @@ class DragDrop extends Base {
|
|
|
248
240
|
}
|
|
249
241
|
|
|
250
242
|
/**
|
|
251
|
-
*
|
|
252
243
|
* @param {Object} data
|
|
253
244
|
*/
|
|
254
245
|
onEventDragMove(data) {
|
|
@@ -265,7 +256,6 @@ class DragDrop extends Base {
|
|
|
265
256
|
}
|
|
266
257
|
|
|
267
258
|
/**
|
|
268
|
-
*
|
|
269
259
|
* @param {Object} data
|
|
270
260
|
*/
|
|
271
261
|
onEventDragStart(data) {
|
|
@@ -14,7 +14,6 @@ class EventResizable extends Resizable {
|
|
|
14
14
|
}}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
17
|
* @param {Object} data
|
|
19
18
|
*/
|
|
20
19
|
onDragEnd(data) {
|
|
@@ -26,7 +25,6 @@ class EventResizable extends Resizable {
|
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
/**
|
|
29
|
-
*
|
|
30
28
|
* @param {Object} data
|
|
31
29
|
*/
|
|
32
30
|
onDragMove(data) {
|
|
@@ -34,7 +32,6 @@ class EventResizable extends Resizable {
|
|
|
34
32
|
}
|
|
35
33
|
|
|
36
34
|
/**
|
|
37
|
-
*
|
|
38
35
|
* @param {Object} data
|
|
39
36
|
*/
|
|
40
37
|
onDragStart(data) {
|
package/src/collection/Base.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import CoreBase from '../core/Base.mjs';
|
|
2
2
|
import Filter from './Filter.mjs';
|
|
3
|
-
import Logger from '../
|
|
3
|
+
import Logger from '../util/Logger.mjs';
|
|
4
4
|
import Sorter from './Sorter.mjs';
|
|
5
5
|
import Observable from '../core/Observable.mjs';
|
|
6
6
|
import Util from '../core/Util.mjs';
|
|
@@ -106,7 +106,6 @@ class Base extends CoreBase {
|
|
|
106
106
|
}}
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
110
109
|
* @param config
|
|
111
110
|
*/
|
|
112
111
|
constructor(config) {
|
|
@@ -142,7 +141,6 @@ class Base extends CoreBase {
|
|
|
142
141
|
}
|
|
143
142
|
|
|
144
143
|
/**
|
|
145
|
-
*
|
|
146
144
|
* @param {Array} value
|
|
147
145
|
* @param {Array} oldValue
|
|
148
146
|
* @protected
|
|
@@ -161,7 +159,6 @@ class Base extends CoreBase {
|
|
|
161
159
|
}
|
|
162
160
|
|
|
163
161
|
/**
|
|
164
|
-
*
|
|
165
162
|
* @param {Array} value
|
|
166
163
|
* @param {Array} oldValue
|
|
167
164
|
* @protected
|
|
@@ -182,7 +179,6 @@ class Base extends CoreBase {
|
|
|
182
179
|
}
|
|
183
180
|
|
|
184
181
|
/**
|
|
185
|
-
*
|
|
186
182
|
* @param {Array} value
|
|
187
183
|
* @param {Array} oldValue
|
|
188
184
|
* @protected
|
|
@@ -203,7 +199,6 @@ class Base extends CoreBase {
|
|
|
203
199
|
}
|
|
204
200
|
|
|
205
201
|
/**
|
|
206
|
-
*
|
|
207
202
|
* @param {Number|String} value
|
|
208
203
|
* @param {Number|String} oldValue
|
|
209
204
|
* @protected
|
|
@@ -249,7 +244,6 @@ class Base extends CoreBase {
|
|
|
249
244
|
}
|
|
250
245
|
|
|
251
246
|
/**
|
|
252
|
-
*
|
|
253
247
|
* @param {Array} value
|
|
254
248
|
* @param {Array} oldValue
|
|
255
249
|
* @protected
|
|
@@ -307,7 +301,6 @@ class Base extends CoreBase {
|
|
|
307
301
|
}
|
|
308
302
|
|
|
309
303
|
/**
|
|
310
|
-
*
|
|
311
304
|
* @param {Map|null} value
|
|
312
305
|
* @param {Map|null} oldValue
|
|
313
306
|
* @protected
|
|
@@ -317,7 +310,6 @@ class Base extends CoreBase {
|
|
|
317
310
|
}
|
|
318
311
|
|
|
319
312
|
/**
|
|
320
|
-
*
|
|
321
313
|
* @param {Array} value
|
|
322
314
|
* @param {Array} oldValue
|
|
323
315
|
* @protected
|
|
@@ -370,7 +362,6 @@ class Base extends CoreBase {
|
|
|
370
362
|
}
|
|
371
363
|
|
|
372
364
|
/**
|
|
373
|
-
*
|
|
374
365
|
* @param opts
|
|
375
366
|
* @protected
|
|
376
367
|
*/
|
|
@@ -432,7 +423,6 @@ class Base extends CoreBase {
|
|
|
432
423
|
}
|
|
433
424
|
|
|
434
425
|
/**
|
|
435
|
-
*
|
|
436
426
|
* @returns {Neo.collection.Base} The cloned collection
|
|
437
427
|
*/
|
|
438
428
|
clone() {
|
|
@@ -484,6 +474,7 @@ class Base extends CoreBase {
|
|
|
484
474
|
doSort() {
|
|
485
475
|
let me = this,
|
|
486
476
|
items = me._items,
|
|
477
|
+
previousItems = [...items],
|
|
487
478
|
sorters = me.sorters,
|
|
488
479
|
sortDirections = me.sortDirections,
|
|
489
480
|
sortProperties = me.sortProperties,
|
|
@@ -568,7 +559,11 @@ class Base extends CoreBase {
|
|
|
568
559
|
me[isSorted] = countSorters > 0;
|
|
569
560
|
|
|
570
561
|
if (me[updatingIndex] === 0) {
|
|
571
|
-
me.fire('sort'
|
|
562
|
+
me.fire('sort', {
|
|
563
|
+
items: me._items,
|
|
564
|
+
previousItems,
|
|
565
|
+
scope: me
|
|
566
|
+
});
|
|
572
567
|
}
|
|
573
568
|
}
|
|
574
569
|
|
|
@@ -687,7 +682,7 @@ class Base extends CoreBase {
|
|
|
687
682
|
|
|
688
683
|
me[isFiltered] = countFilters !== 0;
|
|
689
684
|
|
|
690
|
-
me.fire('filter');
|
|
685
|
+
me.fire('filter', me);
|
|
691
686
|
}
|
|
692
687
|
|
|
693
688
|
/**
|
|
@@ -788,7 +783,6 @@ class Base extends CoreBase {
|
|
|
788
783
|
}
|
|
789
784
|
|
|
790
785
|
/**
|
|
791
|
-
*
|
|
792
786
|
* @returns {Number}
|
|
793
787
|
*/
|
|
794
788
|
getCountMutations() {
|
|
@@ -844,7 +838,6 @@ class Base extends CoreBase {
|
|
|
844
838
|
}
|
|
845
839
|
|
|
846
840
|
/**
|
|
847
|
-
*
|
|
848
841
|
* Returns a boolean asserting whether a value has been associated to the key in the Collection or not
|
|
849
842
|
* @param {Number|String} key
|
|
850
843
|
* @returns {Boolean}
|
|
@@ -900,7 +893,6 @@ class Base extends CoreBase {
|
|
|
900
893
|
}
|
|
901
894
|
|
|
902
895
|
/**
|
|
903
|
-
*
|
|
904
896
|
* @returns {Boolean} true in case the collection is filtered
|
|
905
897
|
*/
|
|
906
898
|
isFiltered() {
|
|
@@ -908,7 +900,6 @@ class Base extends CoreBase {
|
|
|
908
900
|
}
|
|
909
901
|
|
|
910
902
|
/**
|
|
911
|
-
*
|
|
912
903
|
* @param {Object} item
|
|
913
904
|
* @returns {boolean}
|
|
914
905
|
* @protected
|
|
@@ -931,7 +922,6 @@ class Base extends CoreBase {
|
|
|
931
922
|
}
|
|
932
923
|
|
|
933
924
|
/**
|
|
934
|
-
*
|
|
935
925
|
* @returns {Boolean} true in case the collection is sorted
|
|
936
926
|
*/
|
|
937
927
|
isSorted() {
|
|
@@ -947,7 +937,6 @@ class Base extends CoreBase {
|
|
|
947
937
|
}
|
|
948
938
|
|
|
949
939
|
/**
|
|
950
|
-
*
|
|
951
940
|
* @param {Object} opts
|
|
952
941
|
* @protected
|
|
953
942
|
*/
|
|
@@ -956,7 +945,6 @@ class Base extends CoreBase {
|
|
|
956
945
|
}
|
|
957
946
|
|
|
958
947
|
/**
|
|
959
|
-
*
|
|
960
948
|
* @param {Object} opts
|
|
961
949
|
* @protected
|
|
962
950
|
*/
|
|
@@ -968,12 +956,9 @@ class Base extends CoreBase {
|
|
|
968
956
|
}
|
|
969
957
|
|
|
970
958
|
me.splice(null, opts.removedItems, opts.addedItems);
|
|
971
|
-
|
|
972
|
-
// console.log('onMutate', me.getCount(), me.id, opts);
|
|
973
959
|
}
|
|
974
960
|
|
|
975
961
|
/**
|
|
976
|
-
*
|
|
977
962
|
* @param {Object} opts
|
|
978
963
|
* @protected
|
|
979
964
|
*/
|
|
@@ -1039,7 +1024,6 @@ class Base extends CoreBase {
|
|
|
1039
1024
|
}
|
|
1040
1025
|
|
|
1041
1026
|
/**
|
|
1042
|
-
*
|
|
1043
1027
|
* @param {function} callback Function to test for each item, taking three parameters:
|
|
1044
1028
|
* @param {Object} callback.item The current collection item being processed
|
|
1045
1029
|
* @param {Number} [callback.index] The index of the current item being processed
|