neo.mjs 4.8.9 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/ServiceWorker.mjs +4 -4
- package/apps/covid/Util.mjs +17 -19
- package/apps/covid/model/Country.mjs +2 -2
- package/apps/covid/model/HistoricalData.mjs +2 -2
- package/apps/covid/store/Countries.mjs +2 -2
- package/apps/covid/store/HistoricalData.mjs +2 -2
- package/apps/covid/view/AttributionComponent.mjs +2 -2
- package/apps/covid/view/FooterContainer.mjs +2 -2
- package/apps/covid/view/GalleryContainer.mjs +2 -2
- package/apps/covid/view/GalleryContainerController.mjs +2 -2
- package/apps/covid/view/HeaderContainer.mjs +2 -2
- package/apps/covid/view/HelixContainer.mjs +2 -2
- package/apps/covid/view/HelixContainerController.mjs +2 -2
- package/apps/covid/view/MainContainer.mjs +2 -2
- package/apps/covid/view/MainContainerController.mjs +2 -2
- package/apps/covid/view/MainContainerModel.mjs +2 -2
- package/apps/covid/view/TableContainer.mjs +2 -2
- package/apps/covid/view/TableContainerController.mjs +2 -2
- package/apps/covid/view/WorldMapComponent.mjs +2 -2
- package/apps/covid/view/WorldMapContainer.mjs +2 -2
- package/apps/covid/view/WorldMapContainerController.mjs +2 -2
- package/apps/covid/view/country/Gallery.mjs +2 -2
- package/apps/covid/view/country/Helix.mjs +2 -2
- package/apps/covid/view/country/HistoricalDataTable.mjs +2 -2
- package/apps/covid/view/country/LineChartComponent.mjs +2 -2
- package/apps/covid/view/country/Table.mjs +2 -2
- package/apps/covid/view/mapboxGl/Component.mjs +2 -2
- package/apps/covid/view/mapboxGl/Container.mjs +2 -2
- package/apps/covid/view/mapboxGl/ContainerController.mjs +2 -2
- package/apps/krausest/TableCollection.mjs +2 -2
- package/apps/krausest/view/MainComponent.mjs +2 -2
- package/apps/krausest/view/MainComponentController.mjs +2 -2
- package/apps/krausest/view/TableComponent.mjs +2 -2
- package/apps/realworld/api/Article.mjs +2 -2
- package/apps/realworld/api/Base.mjs +14 -16
- package/apps/realworld/api/Favorite.mjs +2 -2
- package/apps/realworld/api/Profile.mjs +2 -2
- package/apps/realworld/api/Tag.mjs +3 -3
- package/apps/realworld/api/User.mjs +3 -3
- package/apps/realworld/view/FooterComponent.mjs +2 -2
- package/apps/realworld/view/HeaderComponent.mjs +2 -2
- package/apps/realworld/view/HomeComponent.mjs +2 -2
- package/apps/realworld/view/MainContainer.mjs +2 -2
- package/apps/realworld/view/MainContainerController.mjs +2 -2
- package/apps/realworld/view/article/CommentComponent.mjs +2 -2
- package/apps/realworld/view/article/Component.mjs +2 -2
- package/apps/realworld/view/article/CreateCommentComponent.mjs +2 -2
- package/apps/realworld/view/article/CreateComponent.mjs +2 -2
- package/apps/realworld/view/article/PreviewComponent.mjs +2 -2
- package/apps/realworld/view/article/TagListComponent.mjs +8 -10
- package/apps/realworld/view/user/ProfileComponent.mjs +2 -2
- package/apps/realworld/view/user/SettingsComponent.mjs +2 -2
- package/apps/realworld/view/user/SignUpComponent.mjs +2 -2
- package/apps/realworld2/api/Article.mjs +2 -2
- package/apps/realworld2/api/Base.mjs +8 -10
- package/apps/realworld2/api/Favorite.mjs +2 -2
- package/apps/realworld2/api/Profile.mjs +2 -2
- package/apps/realworld2/api/Tag.mjs +3 -3
- package/apps/realworld2/api/User.mjs +3 -3
- package/apps/realworld2/model/ArticlePreview.mjs +2 -2
- package/apps/realworld2/store/ArticlePreviews.mjs +2 -2
- package/apps/realworld2/view/FooterComponent.mjs +2 -2
- package/apps/realworld2/view/HeaderToolbar.mjs +2 -2
- package/apps/realworld2/view/HeaderToolbarController.mjs +2 -2
- package/apps/realworld2/view/HomeContainer.mjs +2 -2
- package/apps/realworld2/view/MainContainer.mjs +2 -2
- package/apps/realworld2/view/MainContainerController.mjs +2 -2
- package/apps/realworld2/view/article/DetailsContainer.mjs +2 -2
- package/apps/realworld2/view/article/FormContainer.mjs +2 -2
- package/apps/realworld2/view/article/Gallery.mjs +2 -2
- package/apps/realworld2/view/article/GalleryContainer.mjs +2 -2
- package/apps/realworld2/view/article/Helix.mjs +2 -2
- package/apps/realworld2/view/article/HelixContainer.mjs +2 -2
- package/apps/realworld2/view/article/PreviewComponent.mjs +2 -2
- package/apps/realworld2/view/article/PreviewList.mjs +2 -2
- package/apps/realworld2/view/article/TagListComponent.mjs +8 -10
- package/apps/realworld2/view/user/LoginFormContainer.mjs +2 -2
- package/apps/realworld2/view/user/ProfileContainer.mjs +2 -2
- package/apps/realworld2/view/user/SettingsFormContainer.mjs +2 -2
- package/apps/sharedcovid/Util.mjs +17 -19
- package/apps/sharedcovid/model/Country.mjs +2 -2
- package/apps/sharedcovid/model/HistoricalData.mjs +2 -2
- package/apps/sharedcovid/store/Countries.mjs +2 -2
- package/apps/sharedcovid/store/HistoricalData.mjs +2 -2
- package/apps/sharedcovid/view/AttributionComponent.mjs +2 -2
- package/apps/sharedcovid/view/FooterContainer.mjs +2 -2
- package/apps/sharedcovid/view/GalleryContainer.mjs +2 -2
- package/apps/sharedcovid/view/GalleryContainerController.mjs +2 -2
- package/apps/sharedcovid/view/HeaderContainer.mjs +2 -2
- package/apps/sharedcovid/view/HelixContainer.mjs +2 -2
- package/apps/sharedcovid/view/HelixContainerController.mjs +2 -2
- package/apps/sharedcovid/view/MainContainer.mjs +2 -2
- package/apps/sharedcovid/view/MainContainerController.mjs +2 -2
- package/apps/sharedcovid/view/MainContainerModel.mjs +2 -2
- package/apps/sharedcovid/view/TableContainer.mjs +2 -2
- package/apps/sharedcovid/view/TableContainerController.mjs +2 -2
- package/apps/sharedcovid/view/WorldMapComponent.mjs +2 -2
- package/apps/sharedcovid/view/WorldMapContainer.mjs +2 -2
- package/apps/sharedcovid/view/WorldMapContainerController.mjs +2 -2
- package/apps/sharedcovid/view/country/Gallery.mjs +2 -2
- package/apps/sharedcovid/view/country/Helix.mjs +2 -2
- package/apps/sharedcovid/view/country/HistoricalDataTable.mjs +2 -2
- package/apps/sharedcovid/view/country/LineChartComponent.mjs +2 -2
- package/apps/sharedcovid/view/country/Table.mjs +2 -2
- package/apps/sharedcovid/view/mapboxGl/Component.mjs +2 -2
- package/apps/sharedcovid/view/mapboxGl/Container.mjs +2 -2
- package/apps/sharedcovid/view/mapboxGl/ContainerController.mjs +2 -2
- package/apps/sharedcovidchart/MainContainer.mjs +2 -2
- package/apps/sharedcovidgallery/MainContainer.mjs +2 -2
- package/apps/sharedcovidhelix/MainContainer.mjs +2 -2
- package/apps/sharedcovidmap/MainContainer.mjs +2 -2
- package/apps/shareddialog/view/DemoDialog.mjs +2 -2
- package/apps/shareddialog/view/MainContainer.mjs +2 -2
- package/apps/shareddialog/view/MainContainerController.mjs +2 -2
- package/apps/shareddialog2/view/MainContainer.mjs +2 -2
- package/apps/shareddialog2/view/MainContainerController.mjs +2 -2
- package/apps/website/model/BlogPost.mjs +2 -2
- package/apps/website/model/Example.mjs +2 -2
- package/apps/website/store/BlogPosts.mjs +2 -2
- package/apps/website/store/Examples.mjs +2 -2
- package/apps/website/view/HeaderContainer.mjs +2 -2
- package/apps/website/view/MainContainer.mjs +2 -2
- package/apps/website/view/MainContainerController.mjs +2 -2
- package/apps/website/view/blog/Container.mjs +2 -2
- package/apps/website/view/blog/List.mjs +9 -11
- package/apps/website/view/examples/List.mjs +9 -11
- package/apps/website/view/examples/TabContainer.mjs +2 -2
- package/apps/website/view/home/DeveloperIntroComponent.mjs +2 -2
- package/apps/website/view/home/ExecutiveIntroComponent.mjs +2 -2
- package/apps/website/view/home/TabContainer.mjs +2 -2
- package/buildScripts/addConfig.mjs +2 -2
- package/buildScripts/createApp.mjs +2 -2
- package/buildScripts/createClass.mjs +4 -4
- package/docs/app/model/Api.mjs +2 -2
- package/docs/app/model/Example.mjs +2 -2
- package/docs/app/model/Tutorial.mjs +2 -2
- package/docs/app/store/Api.mjs +2 -2
- package/docs/app/store/Examples.mjs +2 -2
- package/docs/app/store/Tutorials.mjs +2 -2
- package/docs/app/view/ApiTreeList.mjs +2 -2
- package/docs/app/view/ContentTabContainer.mjs +2 -2
- package/docs/app/view/ExamplesTreeList.mjs +2 -2
- package/docs/app/view/HeaderContainer.mjs +2 -2
- package/docs/app/view/MainContainer.mjs +2 -2
- package/docs/app/view/MainContainerController.mjs +2 -2
- package/docs/app/view/TutorialsTreeList.mjs +2 -2
- package/docs/app/view/classdetails/HeaderComponent.mjs +2 -2
- package/docs/app/view/classdetails/HierarchyTreeList.mjs +2 -2
- package/docs/app/view/classdetails/MainContainer.mjs +2 -2
- package/docs/app/view/classdetails/MainContainerController.mjs +2 -2
- package/docs/app/view/classdetails/MembersList.mjs +2 -2
- package/docs/app/view/classdetails/SourceViewComponent.mjs +2 -2
- package/docs/app/view/classdetails/TutorialComponent.mjs +2 -2
- package/examples/ConfigurationViewport.mjs +2 -2
- package/examples/ServiceWorker.mjs +4 -4
- package/examples/button/base/MainContainer.mjs +2 -2
- package/examples/button/split/MainContainer.mjs +2 -2
- package/examples/calendar/basic/MainContainer.mjs +2 -2
- package/examples/calendar/basic/MainContainerController.mjs +2 -2
- package/examples/calendar/weekview/MainContainer.mjs +2 -2
- package/examples/charts/MainContainer.mjs +2 -2
- package/examples/component/canvas/MainContainer.mjs +2 -2
- package/examples/component/carousel/MainContainer.mjs +2 -2
- package/examples/component/chip/MainContainer.mjs +2 -2
- package/examples/component/circle/MainContainer.mjs +2 -2
- package/examples/component/clock/MainContainer.mjs +2 -2
- package/examples/component/coronaGallery/CountryGallery.mjs +9 -11
- package/examples/component/coronaGallery/CountryModel.mjs +2 -2
- package/examples/component/coronaGallery/CountryStore.mjs +2 -2
- package/examples/component/coronaGallery/MainContainer.mjs +2 -2
- package/examples/component/coronaHelix/CountryHelix.mjs +9 -11
- package/examples/component/coronaHelix/CountryModel.mjs +2 -2
- package/examples/component/coronaHelix/CountryStore.mjs +2 -2
- package/examples/component/coronaHelix/MainContainer.mjs +2 -2
- package/examples/component/dateSelector/MainContainer.mjs +2 -2
- package/examples/component/gallery/ImageModel.mjs +2 -2
- package/examples/component/gallery/ImageStore.mjs +2 -2
- package/examples/component/gallery/MainContainer.mjs +2 -2
- package/examples/component/helix/ImageModel.mjs +2 -2
- package/examples/component/helix/ImageStore.mjs +2 -2
- package/examples/component/helix/MainContainer.mjs +2 -2
- package/examples/component/mwc/button/MainContainer.mjs +2 -2
- package/examples/component/mwc/buttons/MainContainer.mjs +2 -2
- package/examples/component/mwc/textField/MainContainer.mjs +2 -2
- package/examples/component/mwc/textFields/MainContainer.mjs +2 -2
- package/examples/component/splitter/MainContainer.mjs +2 -2
- package/examples/component/toast/MainContainer.mjs +2 -2
- package/examples/component/toast/MainContainerController.mjs +2 -2
- package/examples/component/wrapper/cesiumJS/MainContainer.mjs +2 -2
- package/examples/component/wrapper/cesiumJS/MainContainerController.mjs +2 -2
- package/examples/component/wrapper/googleMaps/MainContainer.mjs +2 -2
- package/examples/component/wrapper/googleMaps/MainContainerController.mjs +2 -2
- package/examples/component/wrapper/googleMaps/MapComponent.mjs +2 -2
- package/examples/component/wrapper/googleMaps/MarkerDialog.mjs +2 -2
- package/examples/container/MainContainer.mjs +2 -2
- package/examples/core/config/MainContainer.mjs +2 -2
- package/examples/dashboard/MainContainer.mjs +2 -2
- package/examples/dialog/DemoDialog.mjs +2 -2
- package/examples/dialog/MainContainer.mjs +2 -2
- package/examples/fields/MainContainer.mjs +2 -2
- package/examples/form/field/checkbox/MainContainer.mjs +2 -2
- package/examples/form/field/chip/MainContainer.mjs +2 -2
- package/examples/form/field/chip/MainModel.mjs +2 -2
- package/examples/form/field/chip/MainStore.mjs +2 -2
- package/examples/form/field/color/MainContainer.mjs +2 -2
- package/examples/form/field/color/MainModel.mjs +2 -2
- package/examples/form/field/color/MainStore.mjs +2 -2
- package/examples/form/field/date/MainContainer.mjs +2 -2
- package/examples/form/field/email/MainContainer.mjs +2 -2
- package/examples/form/field/number/MainContainer.mjs +2 -2
- package/examples/form/field/picker/MainContainer.mjs +2 -2
- package/examples/form/field/radio/MainContainer.mjs +2 -2
- package/examples/form/field/select/MainContainer.mjs +2 -2
- package/examples/form/field/select/MainModel.mjs +2 -2
- package/examples/form/field/select/MainStore.mjs +2 -2
- package/examples/form/field/text/MainContainer.mjs +2 -2
- package/examples/form/field/textarea/MainContainer.mjs +2 -2
- package/examples/form/field/time/MainContainer.mjs +2 -2
- package/examples/form/field/trigger/copyToClipboard/MainContainer.mjs +2 -2
- package/examples/form/field/url/MainContainer.mjs +2 -2
- package/examples/form/fieldset/MainContainer.mjs +2 -2
- package/examples/grid/container/MainContainer.mjs +2 -2
- package/examples/grid/container/MainModel.mjs +2 -2
- package/examples/grid/container/MainStore.mjs +2 -2
- package/examples/grid/covid/GridContainer.mjs +2 -2
- package/examples/grid/covid/GridContainerController.mjs +2 -2
- package/examples/grid/covid/MainContainer.mjs +2 -2
- package/examples/grid/covid/Model.mjs +2 -2
- package/examples/grid/covid/Store.mjs +2 -2
- package/examples/grid/covid/Util.mjs +17 -19
- package/examples/list/animate/List.mjs +2 -2
- package/examples/list/animate/MainContainer.mjs +2 -2
- package/examples/list/animate/MainContainerController.mjs +2 -2
- package/examples/list/animate/MainModel.mjs +2 -2
- package/examples/list/animate/MainStore.mjs +2 -2
- package/examples/list/base/MainContainer.mjs +2 -2
- package/examples/list/base/MainModel.mjs +2 -2
- package/examples/list/base/MainStore.mjs +2 -2
- package/examples/list/chip/MainContainer.mjs +2 -2
- package/examples/list/chip/MainModel.mjs +2 -2
- package/examples/list/chip/MainStore.mjs +2 -2
- package/examples/list/circle/MainContainer.mjs +2 -2
- package/examples/list/circle/MainModel.mjs +2 -2
- package/examples/list/circle/MainStore.mjs +2 -2
- package/examples/list/color/MainContainer.mjs +2 -2
- package/examples/list/color/MainModel.mjs +2 -2
- package/examples/list/color/MainStore.mjs +2 -2
- package/examples/menu/list/MainContainer.mjs +2 -2
- package/examples/menu/list/MainStore.mjs +2 -2
- package/examples/menu/panel/MainContainer.mjs +2 -2
- package/examples/model/advanced/MainContainer.mjs +2 -2
- package/examples/model/advanced/MainContainerController.mjs +2 -2
- package/examples/model/dialog/EditUserDialog.mjs +2 -2
- package/examples/model/dialog/EditUserDialogController.mjs +2 -2
- package/examples/model/dialog/MainContainer.mjs +2 -2
- package/examples/model/dialog/MainContainerController.mjs +2 -2
- package/examples/model/extendedClass/MainContainer.mjs +2 -2
- package/examples/model/extendedClass/MainContainerController.mjs +2 -2
- package/examples/model/extendedClass/MainContainerModel.mjs +2 -2
- package/examples/model/inline/MainContainer.mjs +2 -2
- package/examples/model/inline/MainContainerController.mjs +2 -2
- package/examples/model/inlineNoModel/MainContainer.mjs +2 -2
- package/examples/model/inlineNoModel/MainContainerController.mjs +2 -2
- package/examples/model/multiWindow/EditUserDialog.mjs +2 -2
- package/examples/model/multiWindow/EditUserDialogController.mjs +2 -2
- package/examples/model/multiWindow/MainContainer.mjs +2 -2
- package/examples/model/multiWindow/MainContainerController.mjs +2 -2
- package/examples/model/multiWindow/Viewport.mjs +2 -2
- package/examples/model/multiWindow/ViewportController.mjs +2 -2
- package/examples/model/multiWindow2/Viewport.mjs +2 -2
- package/examples/model/nestedData/MainContainer.mjs +2 -2
- package/examples/model/nestedData/MainContainerController.mjs +2 -2
- package/examples/model/table/MainContainer.mjs +2 -2
- package/examples/model/table/MainContainerModel.mjs +2 -2
- package/examples/model/table/MainModel.mjs +2 -2
- package/examples/model/table/MainStore.mjs +2 -2
- package/examples/panel/MainContainer.mjs +2 -2
- package/examples/panel/MainContainerController.mjs +2 -2
- package/examples/preloadingAssets/view/MainContainer.mjs +2 -2
- package/examples/preloadingAssets/view/MainContainerController.mjs +2 -2
- package/examples/remotesApi/basic/MainContainer.mjs +2 -2
- package/examples/remotesApi/basic/MainContainerController.mjs +2 -2
- package/examples/sitemap/MainContainer.mjs +2 -2
- package/examples/tab/container/MainContainer.mjs +2 -2
- package/examples/table/container/MainContainer.mjs +2 -2
- package/examples/table/container/MainModel.mjs +2 -2
- package/examples/table/container/MainStore.mjs +2 -2
- package/examples/table/covid/MainContainer.mjs +2 -2
- package/examples/table/covid/Model.mjs +2 -2
- package/examples/table/covid/Store.mjs +2 -2
- package/examples/table/covid/TableContainer.mjs +2 -2
- package/examples/table/covid/TableContainerController.mjs +2 -2
- package/examples/table/covid/Util.mjs +17 -19
- package/examples/tableFiltering/MainContainer.mjs +2 -2
- package/examples/tableFiltering/MainModel.mjs +2 -2
- package/examples/tableFiltering/MainStore.mjs +2 -2
- package/examples/tablePerformance/MainContainer.mjs +2 -2
- package/examples/tablePerformance/MainContainer2.mjs +2 -2
- package/examples/tablePerformance/MainContainer3.mjs +2 -2
- package/examples/tablePerformance/Viewport.mjs +2 -2
- package/examples/tableStore/MainContainer.mjs +2 -2
- package/examples/tableStore/MainModel.mjs +2 -2
- package/examples/tableStore/MainStore.mjs +2 -2
- package/examples/tabs/MainContainer.mjs +2 -2
- package/examples/tabs/MainContainer2.mjs +2 -2
- package/examples/todoList/version1/MainComponent.mjs +2 -2
- package/examples/todoList/version2/MainContainer.mjs +2 -2
- package/examples/todoList/version2/TodoList.mjs +2 -2
- package/examples/todoList/version2/TodoListModel.mjs +2 -2
- package/examples/todoList/version2/TodoListStore.mjs +2 -2
- package/examples/toolbar/breadcrumb/view/MainContainer.mjs +2 -2
- package/examples/toolbar/paging/model/User.mjs +2 -2
- package/examples/toolbar/paging/store/Users.mjs +2 -2
- package/examples/toolbar/paging/view/AddUserDialog.mjs +2 -2
- package/examples/toolbar/paging/view/MainContainer.mjs +2 -2
- package/examples/toolbar/paging/view/MainContainerController.mjs +2 -2
- package/examples/toolbar/paging/view/MainContainerModel.mjs +2 -2
- package/examples/toolbar/paging/view/UserTableContainer.mjs +2 -2
- package/examples/tree/MainContainer.mjs +2 -2
- package/examples/viewport/MainContainer.mjs +2 -2
- package/package.json +1 -1
- package/src/DefaultConfig.mjs +2 -2
- package/src/Fetch.mjs +2 -2
- package/src/Main.mjs +8 -10
- package/src/Neo.mjs +13 -21
- package/src/Xhr.mjs +2 -2
- package/src/button/Base.mjs +16 -18
- package/src/button/Menu.mjs +2 -2
- package/src/button/Split.mjs +2 -2
- package/src/calendar/model/Calendar.mjs +2 -2
- package/src/calendar/model/Color.mjs +2 -2
- package/src/calendar/model/Event.mjs +2 -2
- package/src/calendar/store/Calendars.mjs +2 -2
- package/src/calendar/store/Colors.mjs +2 -2
- package/src/calendar/store/Events.mjs +2 -2
- package/src/calendar/view/DayComponent.mjs +2 -2
- package/src/calendar/view/EditEventContainer.mjs +2 -2
- package/src/calendar/view/MainContainer.mjs +8 -10
- package/src/calendar/view/MainContainerModel.mjs +2 -2
- package/src/calendar/view/SettingsContainer.mjs +2 -2
- package/src/calendar/view/YearComponent.mjs +2 -2
- package/src/calendar/view/calendars/ColorsList.mjs +2 -2
- package/src/calendar/view/calendars/Container.mjs +2 -2
- package/src/calendar/view/calendars/EditContainer.mjs +2 -2
- package/src/calendar/view/calendars/List.mjs +2 -2
- package/src/calendar/view/month/Component.mjs +2 -2
- package/src/calendar/view/settings/GeneralContainer.mjs +2 -2
- package/src/calendar/view/settings/MonthContainer.mjs +2 -2
- package/src/calendar/view/settings/WeekContainer.mjs +2 -2
- package/src/calendar/view/settings/YearContainer.mjs +2 -2
- package/src/calendar/view/week/Component.mjs +9 -11
- package/src/calendar/view/week/EventDragZone.mjs +2 -2
- package/src/calendar/view/week/TimeAxisComponent.mjs +9 -11
- package/src/calendar/view/week/plugin/DragDrop.mjs +2 -2
- package/src/calendar/view/week/plugin/EventResizable.mjs +2 -2
- package/src/collection/Base.mjs +8 -10
- package/src/collection/Filter.mjs +16 -18
- package/src/collection/Sorter.mjs +8 -10
- package/src/component/Base.mjs +15 -17
- package/src/component/BoxLabel.mjs +2 -2
- package/src/component/Canvas.mjs +2 -2
- package/src/component/Carousel.mjs +2 -2
- package/src/component/Chip.mjs +2 -2
- package/src/component/Circle.mjs +2 -2
- package/src/component/Clock.mjs +2 -2
- package/src/component/DateSelector.mjs +2 -2
- package/src/component/Gallery.mjs +2 -2
- package/src/component/Helix.mjs +2 -2
- package/src/component/Iframe.mjs +2 -2
- package/src/component/Label.mjs +2 -2
- package/src/component/Legend.mjs +2 -2
- package/src/component/Splitter.mjs +16 -18
- package/src/component/Toast.mjs +15 -17
- package/src/component/mwc/Button.mjs +2 -2
- package/src/component/mwc/TextField.mjs +2 -2
- package/src/component/wrapper/AmChart.mjs +2 -2
- package/src/component/wrapper/CesiumJS.mjs +2 -2
- package/src/component/wrapper/GoogleMaps.mjs +2 -2
- package/src/component/wrapper/MapboxGL.mjs +2 -2
- package/src/container/Base.mjs +2 -2
- package/src/container/Panel.mjs +2 -2
- package/src/container/Viewport.mjs +2 -2
- package/src/controller/Application.mjs +8 -9
- package/src/controller/Base.mjs +2 -2
- package/src/controller/Component.mjs +2 -2
- package/src/core/Base.mjs +17 -20
- package/src/core/Compare.mjs +2 -2
- package/src/core/IdGenerator.mjs +10 -12
- package/src/core/Observable.mjs +5 -3
- package/src/core/Util.mjs +10 -12
- package/src/dashboard/Container.mjs +2 -2
- package/src/data/Model.mjs +2 -2
- package/src/data/RecordFactory.mjs +2 -2
- package/src/data/Store.mjs +8 -10
- package/src/data/connection/Fetch.mjs +2 -2
- package/src/data/connection/WebSocket.mjs +8 -11
- package/src/data/connection/Xhr.mjs +3 -3
- package/src/data/field/Field.mjs +2 -2
- package/src/data/field/Float.mjs +2 -2
- package/src/data/field/Integer.mjs +2 -2
- package/src/data/field/String.mjs +2 -2
- package/src/dialog/Base.mjs +9 -11
- package/src/dialog/header/Toolbar.mjs +2 -2
- package/src/draggable/DragProxyComponent.mjs +2 -2
- package/src/draggable/DragZone.mjs +8 -10
- package/src/draggable/DropZone.mjs +2 -2
- package/src/draggable/list/DragZone.mjs +2 -2
- package/src/draggable/list/SortZone.mjs +2 -2
- package/src/draggable/tab/header/toolbar/SortZone.mjs +2 -2
- package/src/draggable/toolbar/DragZone.mjs +2 -2
- package/src/draggable/toolbar/SortZone.mjs +2 -2
- package/src/draggable/tree/DragZone.mjs +2 -2
- package/src/draggable/tree/SortZone.mjs +2 -2
- package/src/filter/BooleanContainer.mjs +2 -2
- package/src/filter/DateContainer.mjs +2 -2
- package/src/filter/NumberContainer.mjs +2 -2
- package/src/filter/ToggleOperatorsButton.mjs +2 -2
- package/src/form/Container.mjs +2 -2
- package/src/form/Fieldset.mjs +2 -2
- package/src/form/field/Base.mjs +2 -2
- package/src/form/field/CheckBox.mjs +9 -11
- package/src/form/field/Chip.mjs +2 -2
- package/src/form/field/Color.mjs +2 -2
- package/src/form/field/Date.mjs +2 -2
- package/src/form/field/Display.mjs +2 -2
- package/src/form/field/Email.mjs +2 -2
- package/src/form/field/Number.mjs +9 -11
- package/src/form/field/Password.mjs +2 -2
- package/src/form/field/Picker.mjs +2 -2
- package/src/form/field/Radio.mjs +2 -2
- package/src/form/field/Range.mjs +2 -2
- package/src/form/field/Search.mjs +2 -2
- package/src/form/field/Select.mjs +9 -11
- package/src/form/field/Text.mjs +16 -18
- package/src/form/field/TextArea.mjs +9 -11
- package/src/form/field/Time.mjs +2 -2
- package/src/form/field/Url.mjs +2 -2
- package/src/form/field/trigger/Base.mjs +9 -11
- package/src/form/field/trigger/Clear.mjs +2 -2
- package/src/form/field/trigger/CopyToClipboard.mjs +2 -2
- package/src/form/field/trigger/Date.mjs +2 -2
- package/src/form/field/trigger/Picker.mjs +2 -2
- package/src/form/field/trigger/SpinDown.mjs +2 -2
- package/src/form/field/trigger/SpinUp.mjs +2 -2
- package/src/form/field/trigger/SpinUpDown.mjs +2 -2
- package/src/form/field/trigger/Time.mjs +2 -2
- package/src/grid/Container.mjs +2 -2
- package/src/grid/View.mjs +2 -2
- package/src/grid/header/Button.mjs +9 -11
- package/src/grid/header/Toolbar.mjs +2 -2
- package/src/layout/Base.mjs +2 -2
- package/src/layout/Card.mjs +22 -24
- package/src/layout/Fit.mjs +2 -2
- package/src/layout/Flexbox.mjs +30 -32
- package/src/layout/Grid.mjs +2 -2
- package/src/layout/HBox.mjs +2 -2
- package/src/layout/VBox.mjs +2 -2
- package/src/list/Base.mjs +2 -2
- package/src/list/Chip.mjs +2 -2
- package/src/list/Circle.mjs +2 -2
- package/src/list/Color.mjs +2 -2
- package/src/list/Component.mjs +2 -2
- package/src/list/plugin/Animate.mjs +9 -11
- package/src/main/DomAccess.mjs +15 -3
- package/src/main/DomEvents.mjs +8 -10
- package/src/main/addon/AmCharts.mjs +2 -2
- package/src/main/addon/AnalyticsByGoogle.mjs +2 -2
- package/src/main/addon/CesiumJS.mjs +2 -2
- package/src/main/addon/CloneNode.mjs +2 -2
- package/src/main/addon/Cookie.mjs +2 -2
- package/src/main/addon/DragDrop.mjs +2 -2
- package/src/main/addon/GoogleMaps.mjs +7 -4
- package/src/main/addon/HighlightJS.mjs +2 -2
- package/src/main/addon/LocalStorage.mjs +2 -2
- package/src/main/addon/MapboxGL.mjs +2 -2
- package/src/main/addon/Markdown.mjs +2 -2
- package/src/main/addon/Mwc.mjs +2 -2
- package/src/main/addon/ServiceWorker.mjs +2 -2
- package/src/main/addon/Siesta.mjs +2 -2
- package/src/main/addon/Stylesheet.mjs +2 -2
- package/src/main/addon/WebComponent.mjs +2 -2
- package/src/main/addon/WindowPosition.mjs +2 -2
- package/src/main/draggable/sensor/Base.mjs +2 -2
- package/src/main/draggable/sensor/Mouse.mjs +2 -2
- package/src/main/draggable/sensor/Touch.mjs +2 -2
- package/src/main/mixin/DeltaUpdates.mjs +2 -2
- package/src/main/mixin/TouchDomEvents.mjs +2 -2
- package/src/manager/Base.mjs +2 -2
- package/src/manager/Component.mjs +2 -2
- package/src/manager/DomEvent.mjs +2 -2
- package/src/manager/Focus.mjs +2 -2
- package/src/manager/Instance.mjs +2 -2
- package/src/manager/Store.mjs +2 -2
- package/src/manager/Task.mjs +2 -2
- package/src/manager/Toast.mjs +2 -2
- package/src/manager/rpc/Api.mjs +2 -2
- package/src/manager/rpc/Message.mjs +2 -2
- package/src/menu/List.mjs +2 -2
- package/src/menu/Model.mjs +2 -2
- package/src/menu/Panel.mjs +2 -2
- package/src/menu/Store.mjs +2 -2
- package/src/model/Component.mjs +8 -10
- package/src/plugin/Base.mjs +2 -2
- package/src/plugin/Resizable.mjs +29 -31
- package/src/remotes/Api.mjs +2 -2
- package/src/selection/CircleModel.mjs +2 -2
- package/src/selection/DateSelectorModel.mjs +2 -2
- package/src/selection/GalleryModel.mjs +2 -2
- package/src/selection/HelixModel.mjs +2 -2
- package/src/selection/ListModel.mjs +2 -2
- package/src/selection/Model.mjs +13 -17
- package/src/selection/grid/CellColumnModel.mjs +2 -2
- package/src/selection/grid/CellColumnRowModel.mjs +2 -2
- package/src/selection/grid/CellModel.mjs +2 -2
- package/src/selection/grid/CellRowModel.mjs +2 -2
- package/src/selection/grid/ColumnModel.mjs +2 -2
- package/src/selection/grid/RowModel.mjs +2 -2
- package/src/selection/menu/ListModel.mjs +2 -2
- package/src/selection/table/CellColumnModel.mjs +2 -2
- package/src/selection/table/CellColumnRowModel.mjs +2 -2
- package/src/selection/table/CellModel.mjs +2 -2
- package/src/selection/table/CellRowModel.mjs +2 -2
- package/src/selection/table/ColumnModel.mjs +2 -2
- package/src/selection/table/RowModel.mjs +2 -2
- package/src/sitemap/Component.mjs +9 -11
- package/src/sitemap/Model.mjs +2 -2
- package/src/sitemap/Store.mjs +2 -2
- package/src/tab/Container.mjs +9 -11
- package/src/tab/Strip.mjs +2 -2
- package/src/tab/header/Button.mjs +2 -2
- package/src/tab/header/Toolbar.mjs +2 -2
- package/src/table/Container.mjs +2 -2
- package/src/table/View.mjs +2 -2
- package/src/table/header/Button.mjs +9 -11
- package/src/table/header/Toolbar.mjs +2 -2
- package/src/toolbar/Base.mjs +8 -10
- package/src/toolbar/Breadcrumb.mjs +2 -2
- package/src/toolbar/Paging.mjs +2 -2
- package/src/tooltip/Base.mjs +2 -2
- package/src/tree/List.mjs +2 -2
- package/src/util/Array.mjs +2 -2
- package/src/util/ClassSystem.mjs +2 -2
- package/src/util/Css.mjs +2 -2
- package/src/util/Date.mjs +2 -2
- package/src/util/Function.mjs +2 -2
- package/src/util/HashHistory.mjs +8 -10
- package/src/util/KeyNavigation.mjs +2 -2
- package/src/util/Logger.mjs +2 -2
- package/src/util/Matrix.mjs +2 -2
- package/src/util/Rectangle.mjs +2 -2
- package/src/util/Style.mjs +2 -2
- package/src/util/VDom.mjs +2 -2
- package/src/util/VNode.mjs +2 -2
- package/src/vdom/Helper.mjs +2 -2
- package/src/worker/App.mjs +2 -2
- package/src/worker/Base.mjs +2 -2
- package/src/worker/Canvas.mjs +2 -2
- package/src/worker/Data.mjs +2 -2
- package/src/worker/Manager.mjs +2 -2
- package/src/worker/ServiceBase.mjs +2 -2
- package/src/worker/VDom.mjs +2 -2
- package/src/worker/mixin/RemoteMethodAccess.mjs +2 -2
- package/test/siesta/tests/ClassConfigsAndFields.mjs +4 -4
- package/test/siesta/tests/ClassSystem.mjs +2 -2
@@ -7,7 +7,7 @@ import VdomUtil from '../../../src/util/VDom.mjs';
|
|
7
7
|
* @extends Neo.component.Base
|
8
8
|
*/
|
9
9
|
class MainComponent extends Component {
|
10
|
-
static
|
10
|
+
static config = {
|
11
11
|
className: 'Neo.examples.todoList.version1.MainComponent',
|
12
12
|
autoMount: true,
|
13
13
|
height : 200,
|
@@ -38,7 +38,7 @@ class MainComponent extends Component {
|
|
38
38
|
{tag: 'button', cls: ['todo-add-button'], html : 'Add Item', style: {marginLeft: '10px'}}
|
39
39
|
]}
|
40
40
|
]}
|
41
|
-
}
|
41
|
+
}
|
42
42
|
|
43
43
|
construct(config) {
|
44
44
|
super.construct(config);
|
@@ -10,7 +10,7 @@ import Toolbar from '../../../src/toolbar/Base.mjs';
|
|
10
10
|
* @extends Neo.container.Base
|
11
11
|
*/
|
12
12
|
class MainContainer extends Container {
|
13
|
-
static
|
13
|
+
static config = {
|
14
14
|
className: 'Neo.examples.todoList.version2.MainContainer',
|
15
15
|
autoMount: true,
|
16
16
|
height : 300,
|
@@ -28,7 +28,7 @@ class MainContainer extends Container {
|
|
28
28
|
* @member {Neo.data.Store|null} store=null
|
29
29
|
*/
|
30
30
|
store: null
|
31
|
-
}
|
31
|
+
}
|
32
32
|
|
33
33
|
construct(config) {
|
34
34
|
super.construct(config);
|
@@ -5,10 +5,10 @@ import List from '../../../src/list/Base.mjs';
|
|
5
5
|
* @extends Neo.list.Base
|
6
6
|
*/
|
7
7
|
class TodoList extends List {
|
8
|
-
static
|
8
|
+
static config = {
|
9
9
|
className : 'Neo.examples.todoList.version2.TodoList',
|
10
10
|
displayField: 'text'
|
11
|
-
}
|
11
|
+
}
|
12
12
|
|
13
13
|
/**
|
14
14
|
*
|
@@ -5,7 +5,7 @@ import Model from '../../../src/data/Model.mjs';
|
|
5
5
|
* @extends Neo.data.Model
|
6
6
|
*/
|
7
7
|
class TodoListModel extends Model {
|
8
|
-
static
|
8
|
+
static config = {
|
9
9
|
className : 'Neo.examples.todoList.version2.MainModel',
|
10
10
|
keyProperty: 'id',
|
11
11
|
|
@@ -19,7 +19,7 @@ class TodoListModel extends Model {
|
|
19
19
|
name: 'text',
|
20
20
|
type: 'String'
|
21
21
|
}]
|
22
|
-
}
|
22
|
+
}
|
23
23
|
}
|
24
24
|
|
25
25
|
Neo.applyClassConfig(TodoListModel);
|
@@ -6,7 +6,7 @@ import TodoListModel from './TodoListModel.mjs';
|
|
6
6
|
* @extends Neo.data.Store
|
7
7
|
*/
|
8
8
|
class TodoListStore extends Store {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
className : 'Neo.examples.todoList.version2.TodoListStore',
|
11
11
|
keyProperty: 'id',
|
12
12
|
model : TodoListModel,
|
@@ -24,7 +24,7 @@ class TodoListStore extends Store {
|
|
24
24
|
property : 'id',
|
25
25
|
direction: 'ASC'
|
26
26
|
}]
|
27
|
-
}
|
27
|
+
}
|
28
28
|
}
|
29
29
|
|
30
30
|
Neo.applyClassConfig(TodoListStore);
|
@@ -6,7 +6,7 @@ import Viewport from '../../../../src/container/Viewport.mjs';
|
|
6
6
|
* @extends Neo.container.Viewport
|
7
7
|
*/
|
8
8
|
class MainContainer extends Viewport {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.examples.toolbar.breadcrumb.view.MainContainer'
|
12
12
|
* @protected
|
@@ -27,7 +27,7 @@ class MainContainer extends Viewport {
|
|
27
27
|
* @member {Object} style={padding:'20px'}
|
28
28
|
*/
|
29
29
|
style: {padding: '20px'}
|
30
|
-
}
|
30
|
+
}
|
31
31
|
}
|
32
32
|
|
33
33
|
Neo.applyClassConfig(MainContainer);
|
@@ -5,7 +5,7 @@ import Model from '../../../../src/data/Model.mjs';
|
|
5
5
|
* @extends Neo.data.Model
|
6
6
|
*/
|
7
7
|
class User extends Model {
|
8
|
-
static
|
8
|
+
static config = {
|
9
9
|
/**
|
10
10
|
* @member {String} className='Neo.examples.toolbar.paging.model.User'
|
11
11
|
* @protected
|
@@ -30,7 +30,7 @@ class User extends Model {
|
|
30
30
|
name: 'lastname',
|
31
31
|
type: 'String'
|
32
32
|
}]
|
33
|
-
}
|
33
|
+
}
|
34
34
|
}
|
35
35
|
|
36
36
|
Neo.applyClassConfig(User);
|
@@ -6,7 +6,7 @@ import Store from '../../../../src/data/Store.mjs';
|
|
6
6
|
* @extends Neo.data.Store
|
7
7
|
*/
|
8
8
|
class Users extends Store {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.examples.toolbar.paging.store.Users'
|
12
12
|
* @protected
|
@@ -44,7 +44,7 @@ class Users extends Store {
|
|
44
44
|
direction: 'ASC',
|
45
45
|
property : 'id'
|
46
46
|
}]
|
47
|
-
}
|
47
|
+
}
|
48
48
|
}
|
49
49
|
|
50
50
|
Neo.applyClassConfig(Users);
|
@@ -6,7 +6,7 @@ import TextField from '../../../../src/form/field/Text.mjs';
|
|
6
6
|
* @extends Neo.dialog.Base
|
7
7
|
*/
|
8
8
|
class AddUserDialog extends Dialog {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.examples.toolbar.paging.view.AddUserDialog'
|
12
12
|
* @protected
|
@@ -59,7 +59,7 @@ class AddUserDialog extends Dialog {
|
|
59
59
|
height: '300px',
|
60
60
|
width : '400px'
|
61
61
|
}
|
62
|
-
}
|
62
|
+
}
|
63
63
|
}
|
64
64
|
|
65
65
|
Neo.applyClassConfig(AddUserDialog);
|
@@ -9,7 +9,7 @@ import Viewport from '../../../../src/container/Viewport.mjs';
|
|
9
9
|
* @extends Neo.container.Viewport
|
10
10
|
*/
|
11
11
|
class MainContainer extends Viewport {
|
12
|
-
static
|
12
|
+
static config = {
|
13
13
|
/**
|
14
14
|
* @member {String} className='Neo.examples.toolbar.paging.view.MainContainer'
|
15
15
|
* @protected
|
@@ -58,7 +58,7 @@ class MainContainer extends Viewport {
|
|
58
58
|
* @member {Object} style={padding:'20px'}
|
59
59
|
*/
|
60
60
|
style: {padding: '20px'}
|
61
|
-
}
|
61
|
+
}
|
62
62
|
}
|
63
63
|
|
64
64
|
Neo.applyClassConfig(MainContainer);
|
@@ -10,13 +10,13 @@ class MainContainerController extends ComponentController {
|
|
10
10
|
*/
|
11
11
|
addUserDialog = null
|
12
12
|
|
13
|
-
static
|
13
|
+
static config = {
|
14
14
|
/**
|
15
15
|
* @member {String} className='Neo.examples.toolbar.paging.view.MainContainerController'
|
16
16
|
* @protected
|
17
17
|
*/
|
18
18
|
className: 'Neo.examples.toolbar.paging.view.MainContainerController'
|
19
|
-
}
|
19
|
+
}
|
20
20
|
|
21
21
|
/**
|
22
22
|
* @param {Object} data
|
@@ -6,7 +6,7 @@ import UserStore from '../store/Users.mjs';
|
|
6
6
|
* @extends Neo.model.Component
|
7
7
|
*/
|
8
8
|
class MainContainerModel extends Component {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.examples.toolbar.paging.view.MainContainerModel'
|
12
12
|
* @protected
|
@@ -21,7 +21,7 @@ class MainContainerModel extends Component {
|
|
21
21
|
pageSize: 30
|
22
22
|
}
|
23
23
|
}
|
24
|
-
}
|
24
|
+
}
|
25
25
|
}
|
26
26
|
|
27
27
|
Neo.applyClassConfig(MainContainerModel);
|
@@ -5,7 +5,7 @@ import TableContainer from '../../../../src/table/Container.mjs';
|
|
5
5
|
* @extends Neo.table.Container
|
6
6
|
*/
|
7
7
|
class UserTableContainer extends TableContainer {
|
8
|
-
static
|
8
|
+
static config = {
|
9
9
|
/**
|
10
10
|
* @member {String} className='Neo.examples.toolbar.paging.view.UserTableContainer'
|
11
11
|
* @protected
|
@@ -31,7 +31,7 @@ class UserTableContainer extends TableContainer {
|
|
31
31
|
flex : 1,
|
32
32
|
text : 'Image'
|
33
33
|
}]
|
34
|
-
}
|
34
|
+
}
|
35
35
|
}
|
36
36
|
|
37
37
|
Neo.applyClassConfig(UserTableContainer);
|
@@ -9,13 +9,13 @@ import Panel from '../../src/container/Panel.mjs';
|
|
9
9
|
* @extends Neo.examples.ConfigurationViewport
|
10
10
|
*/
|
11
11
|
class MainContainer extends ConfigurationViewport {
|
12
|
-
static
|
12
|
+
static config = {
|
13
13
|
className : 'Neo.examples.tree.MainContainer',
|
14
14
|
autoMount : true,
|
15
15
|
configItemLabelWidth: 100,
|
16
16
|
configItemWidth : 230,
|
17
17
|
layout : {ntype: 'hbox', align: 'stretch'}
|
18
|
-
}
|
18
|
+
}
|
19
19
|
|
20
20
|
createConfigurationComponents() {
|
21
21
|
let me = this,
|
@@ -6,7 +6,7 @@ import Viewport from '../../src/container/Viewport.mjs';
|
|
6
6
|
* @extends Neo.container.Viewport
|
7
7
|
*/
|
8
8
|
class MainContainer extends Viewport {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
className: 'Neo.examples.viewport.MainContainer',
|
11
11
|
|
12
12
|
layout: {
|
@@ -106,7 +106,7 @@ class MainContainer extends Viewport {
|
|
106
106
|
tabBarPosition: 'left'
|
107
107
|
}]
|
108
108
|
}]
|
109
|
-
}
|
109
|
+
}
|
110
110
|
}
|
111
111
|
|
112
112
|
Neo.applyClassConfig(MainContainer);
|
package/package.json
CHANGED
package/src/DefaultConfig.mjs
CHANGED
@@ -237,12 +237,12 @@ const DefaultConfig = {
|
|
237
237
|
useVdomWorker: true,
|
238
238
|
/**
|
239
239
|
* buildScripts/injectPackageVersion.mjs will update this value
|
240
|
-
* @default '
|
240
|
+
* @default '5.0.0'
|
241
241
|
* @memberOf! module:Neo
|
242
242
|
* @name config.version
|
243
243
|
* @type String
|
244
244
|
*/
|
245
|
-
version: '
|
245
|
+
version: '5.0.0'
|
246
246
|
};
|
247
247
|
|
248
248
|
Object.assign(DefaultConfig, {
|
package/src/Fetch.mjs
CHANGED
@@ -6,7 +6,7 @@ import FetchConnection from './data/connection/Fetch.mjs';
|
|
6
6
|
* @singleton
|
7
7
|
*/
|
8
8
|
class Fetch extends FetchConnection {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.Fetch'
|
12
12
|
* @protected
|
@@ -32,7 +32,7 @@ class Fetch extends FetchConnection {
|
|
32
32
|
* @protected
|
33
33
|
*/
|
34
34
|
singleton: true
|
35
|
-
}
|
35
|
+
}
|
36
36
|
}
|
37
37
|
|
38
38
|
let instance = Neo.applyClassConfig(Fetch);
|
package/src/Main.mjs
CHANGED
@@ -11,16 +11,14 @@ import WorkerManager from './worker/Manager.mjs';
|
|
11
11
|
* @singleton
|
12
12
|
*/
|
13
13
|
class Main extends core.Base {
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
observable: true
|
21
|
-
}}
|
14
|
+
/**
|
15
|
+
* True automatically applies the core.Observable mixin
|
16
|
+
* @member {Boolean} observable=true
|
17
|
+
* @static
|
18
|
+
*/
|
19
|
+
static observable = true
|
22
20
|
|
23
|
-
static
|
21
|
+
static config = {
|
24
22
|
/**
|
25
23
|
* @member {String} className='Neo.Main'
|
26
24
|
* @protected
|
@@ -93,7 +91,7 @@ class Main extends core.Base {
|
|
93
91
|
* @protected
|
94
92
|
*/
|
95
93
|
writeQueue: []
|
96
|
-
}
|
94
|
+
}
|
97
95
|
|
98
96
|
/**
|
99
97
|
* @param {Object} config
|
package/src/Neo.mjs
CHANGED
@@ -48,18 +48,16 @@ Neo = globalThis.Neo = Object.assign({
|
|
48
48
|
* @tutorial 02_ClassSystem
|
49
49
|
*/
|
50
50
|
applyClassConfig(cls) {
|
51
|
-
let baseCfg
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
config, ctor, overrides, staticConfig;
|
51
|
+
let baseCfg = null,
|
52
|
+
proto = cls.prototype || cls,
|
53
|
+
protos = [],
|
54
|
+
config, ctor, overrides;
|
56
55
|
|
57
56
|
while (proto.__proto__) {
|
58
57
|
ctor = proto.constructor;
|
59
58
|
|
60
59
|
if (ctor.hasOwnProperty('classConfigApplied')) {
|
61
|
-
baseCfg
|
62
|
-
baseStaticCfg = Neo.clone(ctor.staticConfig, true);
|
60
|
+
baseCfg = Neo.clone(ctor.config, true);
|
63
61
|
break;
|
64
62
|
}
|
65
63
|
|
@@ -67,13 +65,12 @@ Neo = globalThis.Neo = Object.assign({
|
|
67
65
|
proto = proto.__proto__;
|
68
66
|
}
|
69
67
|
|
70
|
-
config
|
71
|
-
staticConfig = baseStaticCfg || {};
|
68
|
+
config = baseCfg || {};
|
72
69
|
|
73
70
|
protos.forEach(element => {
|
74
71
|
ctor = element.constructor;
|
75
|
-
|
76
|
-
|
72
|
+
|
73
|
+
let cfg = ctor.config || {},
|
77
74
|
mixins;
|
78
75
|
|
79
76
|
if (cfg) {
|
@@ -97,15 +94,15 @@ Neo = globalThis.Neo = Object.assign({
|
|
97
94
|
});
|
98
95
|
}
|
99
96
|
|
100
|
-
Object.assign(ctor, staticCfg);
|
101
|
-
|
102
97
|
if (cfg.hasOwnProperty('ntype')) {
|
103
98
|
Neo.ntypeMap[cfg.ntype] = cfg.className;
|
104
99
|
}
|
105
100
|
|
106
101
|
mixins = config.hasOwnProperty('mixins') && config.mixins || [];
|
107
102
|
|
108
|
-
|
103
|
+
let foo = false;
|
104
|
+
|
105
|
+
if (ctor.observable) {
|
109
106
|
mixins.push('Neo.core.Observable');
|
110
107
|
}
|
111
108
|
|
@@ -117,7 +114,7 @@ Neo = globalThis.Neo = Object.assign({
|
|
117
114
|
applyMixins(ctor, mixins);
|
118
115
|
|
119
116
|
if (Neo.ns('Neo.core.Observable', false, ctor.prototype.mixins)) {
|
120
|
-
|
117
|
+
ctor.observable = true;
|
121
118
|
}
|
122
119
|
}
|
123
120
|
|
@@ -125,7 +122,6 @@ Neo = globalThis.Neo = Object.assign({
|
|
125
122
|
delete config.mixins;
|
126
123
|
|
127
124
|
Object.assign(config, cfg);
|
128
|
-
Object.assign(staticConfig, staticCfg);
|
129
125
|
|
130
126
|
if (Neo.overrides) {
|
131
127
|
overrides = Neo.ns(config.className, false, Neo.overrides);
|
@@ -135,13 +131,9 @@ Neo = globalThis.Neo = Object.assign({
|
|
135
131
|
Object.assign(ctor, {
|
136
132
|
classConfigApplied: true,
|
137
133
|
config : Neo.clone(config, true),
|
138
|
-
isClass : true
|
139
|
-
staticConfig : Neo.clone(staticConfig, true)
|
134
|
+
isClass : true
|
140
135
|
});
|
141
136
|
|
142
|
-
delete ctor.getConfig;
|
143
|
-
delete ctor.getStaticConfig;
|
144
|
-
|
145
137
|
!config.singleton && this.applyToGlobalNs(cls);
|
146
138
|
});
|
147
139
|
|
package/src/Xhr.mjs
CHANGED
@@ -6,7 +6,7 @@ import XhrConnection from './data/connection/Xhr.mjs';
|
|
6
6
|
* @singleton
|
7
7
|
*/
|
8
8
|
class Xhr extends XhrConnection {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.Xhr'
|
12
12
|
* @protected
|
@@ -33,7 +33,7 @@ class Xhr extends XhrConnection {
|
|
33
33
|
* @protected
|
34
34
|
*/
|
35
35
|
singleton: true
|
36
|
-
}
|
36
|
+
}
|
37
37
|
}
|
38
38
|
|
39
39
|
let instance = Neo.applyClassConfig(Xhr);
|
package/src/button/Base.mjs
CHANGED
@@ -19,24 +19,22 @@ class Base extends Component {
|
|
19
19
|
*/
|
20
20
|
#rippleTimeoutId = null
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
iconPositions: ['top', 'right', 'bottom', 'left']
|
37
|
-
}}
|
22
|
+
/**
|
23
|
+
* Valid values for badgePosition
|
24
|
+
* @member {String[]} badgePositions=['bottom-left','bottom-right','top-left','top-right']
|
25
|
+
* @protected
|
26
|
+
* @static
|
27
|
+
*/
|
28
|
+
static badgePositions = ['bottom-left', 'bottom-right', 'top-left', 'top-right']
|
29
|
+
/**
|
30
|
+
* Valid values for iconPosition
|
31
|
+
* @member {String[]} iconPositions=['top','right','bottom','left']
|
32
|
+
* @protected
|
33
|
+
* @static
|
34
|
+
*/
|
35
|
+
static iconPositions = ['top', 'right', 'bottom', 'left']
|
38
36
|
|
39
|
-
static
|
37
|
+
static config = {
|
40
38
|
/**
|
41
39
|
* @member {String} className='Neo.button.Base'
|
42
40
|
* @protected
|
@@ -135,7 +133,7 @@ class Base extends Component {
|
|
135
133
|
{cls: ['neo-button-ripple']}
|
136
134
|
]}
|
137
135
|
]}
|
138
|
-
}
|
136
|
+
}
|
139
137
|
|
140
138
|
/**
|
141
139
|
* Triggered after the badgePosition config got changed
|
package/src/button/Menu.mjs
CHANGED
@@ -6,7 +6,7 @@ import Split from './Split.mjs';
|
|
6
6
|
* @extends Neo.button.Split
|
7
7
|
*/
|
8
8
|
class Menu extends Split {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.button.Menu'
|
12
12
|
* @protected
|
@@ -17,7 +17,7 @@ class Menu extends Split {
|
|
17
17
|
* @protected
|
18
18
|
*/
|
19
19
|
ntype: 'menu-button'
|
20
|
-
}
|
20
|
+
}
|
21
21
|
|
22
22
|
/**
|
23
23
|
* @param {Object} data
|
package/src/button/Split.mjs
CHANGED
@@ -7,7 +7,7 @@ import Button from './Base.mjs';
|
|
7
7
|
* @extends Neo.button.Base
|
8
8
|
*/
|
9
9
|
class Split extends Button {
|
10
|
-
static
|
10
|
+
static config = {
|
11
11
|
/**
|
12
12
|
* @member {String} className='Neo.button.Split'
|
13
13
|
* @protected
|
@@ -50,7 +50,7 @@ class Split extends Button {
|
|
50
50
|
]}
|
51
51
|
]}
|
52
52
|
]}
|
53
|
-
}
|
53
|
+
}
|
54
54
|
|
55
55
|
/**
|
56
56
|
* @param {Object} config
|
@@ -5,7 +5,7 @@ import Model from '../../data/Model.mjs';
|
|
5
5
|
* @extends Neo.data.Model
|
6
6
|
*/
|
7
7
|
class Calendar extends Model {
|
8
|
-
static
|
8
|
+
static config = {
|
9
9
|
/**
|
10
10
|
* @member {String} className='Neo.calendar.model.Calendar'
|
11
11
|
* @protected
|
@@ -28,7 +28,7 @@ class Calendar extends Model {
|
|
28
28
|
name: 'name',
|
29
29
|
type: 'String'
|
30
30
|
}]
|
31
|
-
}
|
31
|
+
}
|
32
32
|
}
|
33
33
|
|
34
34
|
Neo.applyClassConfig(Calendar);
|
@@ -5,7 +5,7 @@ import Model from '../../data/Model.mjs';
|
|
5
5
|
* @extends Neo.data.Model
|
6
6
|
*/
|
7
7
|
class Color extends Model {
|
8
|
-
static
|
8
|
+
static config = {
|
9
9
|
/**
|
10
10
|
* @member {String} className='Neo.calendar.model.Color'
|
11
11
|
* @protected
|
@@ -22,7 +22,7 @@ class Color extends Model {
|
|
22
22
|
name: 'name',
|
23
23
|
type: 'String'
|
24
24
|
}]
|
25
|
-
}
|
25
|
+
}
|
26
26
|
}
|
27
27
|
|
28
28
|
Neo.applyClassConfig(Color);
|
@@ -5,7 +5,7 @@ import Model from '../../data/Model.mjs';
|
|
5
5
|
* @extends Neo.data.Model
|
6
6
|
*/
|
7
7
|
class Event extends Model {
|
8
|
-
static
|
8
|
+
static config = {
|
9
9
|
/**
|
10
10
|
* @member {String} className='Neo.calendar.model.Event'
|
11
11
|
* @protected
|
@@ -40,7 +40,7 @@ class Event extends Model {
|
|
40
40
|
name: 'title',
|
41
41
|
type: 'String'
|
42
42
|
}]
|
43
|
-
}
|
43
|
+
}
|
44
44
|
}
|
45
45
|
|
46
46
|
Neo.applyClassConfig(Event);
|
@@ -6,7 +6,7 @@ import Store from '../../../src/data/Store.mjs';
|
|
6
6
|
* @extends Neo.data.Store
|
7
7
|
*/
|
8
8
|
class Calendars extends Store {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.calendar.store.Calendars'
|
12
12
|
* @protected
|
@@ -27,7 +27,7 @@ class Calendars extends Store {
|
|
27
27
|
property : 'name',
|
28
28
|
direction: 'ASC'
|
29
29
|
}]
|
30
|
-
}
|
30
|
+
}
|
31
31
|
}
|
32
32
|
|
33
33
|
Neo.applyClassConfig(Calendars);
|
@@ -6,7 +6,7 @@ import Store from '../../../src/data/Store.mjs';
|
|
6
6
|
* @extends Neo.data.Store
|
7
7
|
*/
|
8
8
|
class Colors extends Store {
|
9
|
-
static
|
9
|
+
static config = {
|
10
10
|
/**
|
11
11
|
* @member {String} className='Neo.calendar.store.Colors'
|
12
12
|
* @protected
|
@@ -31,7 +31,7 @@ class Colors extends Store {
|
|
31
31
|
* @member {Neo.data.Model} model=Color
|
32
32
|
*/
|
33
33
|
model: Color
|
34
|
-
}
|
34
|
+
}
|
35
35
|
}
|
36
36
|
|
37
37
|
Neo.applyClassConfig(Colors);
|
@@ -7,7 +7,7 @@ import Store from '../../../src/data/Store.mjs';
|
|
7
7
|
* @extends Neo.data.Store
|
8
8
|
*/
|
9
9
|
class Events extends Store {
|
10
|
-
static
|
10
|
+
static config = {
|
11
11
|
/**
|
12
12
|
* @member {String} className='Neo.calendar.store.Events'
|
13
13
|
* @protected
|
@@ -29,7 +29,7 @@ class Events extends Store {
|
|
29
29
|
property : 'startDate',
|
30
30
|
direction: 'ASC'
|
31
31
|
}]
|
32
|
-
}
|
32
|
+
}
|
33
33
|
|
34
34
|
/**
|
35
35
|
* @param {Date} date
|