neo.mjs 7.1.0 → 7.2.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 +2 -2
- package/apps/portal/index.html +1 -1
- package/apps/portal/model/Example.mjs +46 -0
- package/apps/portal/resources/data/examples_devmode.json +173 -0
- package/apps/portal/resources/data/examples_dist_dev.json +164 -0
- package/apps/portal/resources/data/examples_dist_prod.json +164 -0
- package/apps/portal/store/Examples.mjs +33 -0
- package/apps/portal/view/HeaderToolbar.mjs +3 -0
- package/apps/portal/view/Viewport.mjs +3 -2
- package/apps/portal/view/ViewportController.mjs +32 -14
- package/apps/portal/view/about/Container.mjs +2 -2
- package/apps/portal/view/blog/List.mjs +3 -3
- package/apps/portal/view/examples/List.mjs +122 -0
- package/apps/portal/view/examples/TabContainer.mjs +79 -0
- package/apps/portal/view/examples/TabContainerController.mjs +41 -0
- package/apps/portal/view/home/FooterContainer.mjs +1 -1
- package/apps/shareddialog/view/MainContainerController.mjs +37 -30
- package/examples/ServiceWorker.mjs +2 -2
- package/examples/todoList/version2/TodoListModel.mjs +1 -1
- package/package.json +1 -1
- package/resources/scss/src/apps/portal/about/MemberContainer.scss +5 -4
- package/resources/scss/src/apps/portal/blog/Container.scss +2 -0
- package/resources/scss/src/apps/portal/examples/List.scss +157 -0
- package/resources/scss/src/apps/portal/examples/TabContainer.scss +36 -0
- package/resources/scss/src/button/Base.scss +4 -0
- package/resources/scss/src/calendar/view/calendars/ColorsList.scss +4 -0
- package/resources/scss/src/calendar/view/calendars/List.scss +2 -1
- package/resources/scss/src/dialog/Base.scss +2 -2
- package/resources/scss/src/list/Base.scss +3 -3
- package/resources/scss/theme-neo-light/button/Base.scss +3 -3
- package/src/DefaultConfig.mjs +2 -2
- package/src/calendar/view/MainContainer.mjs +7 -5
- package/src/calendar/view/calendars/EditContainer.mjs +3 -2
- package/src/calendar/view/calendars/List.mjs +1 -0
- package/src/calendar/view/week/Component.mjs +5 -3
- package/src/calendar/view/week/plugin/DragDrop.mjs +4 -3
- package/src/layout/Cube.mjs +44 -38
package/apps/ServiceWorker.mjs
CHANGED
package/apps/portal/index.html
CHANGED
@@ -0,0 +1,46 @@
|
|
1
|
+
import Model from '../../../src/data/Model.mjs';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* @class Portal.model.Example
|
5
|
+
* @extends Neo.data.Model
|
6
|
+
*/
|
7
|
+
class Example extends Model {
|
8
|
+
static config = {
|
9
|
+
/**
|
10
|
+
* @member {String} className='Portal.model.Example'
|
11
|
+
* @protected
|
12
|
+
*/
|
13
|
+
className: 'Portal.model.Example',
|
14
|
+
/**
|
15
|
+
* @member {Object[]} fields
|
16
|
+
* @protected
|
17
|
+
*/
|
18
|
+
fields: [{
|
19
|
+
name: 'backgroundColor',
|
20
|
+
type: 'String'
|
21
|
+
}, {
|
22
|
+
name: 'browsers',
|
23
|
+
type: 'Array'
|
24
|
+
}, {
|
25
|
+
name: 'environments',
|
26
|
+
type: 'Array'
|
27
|
+
}, {
|
28
|
+
name: 'id',
|
29
|
+
type: 'Integer'
|
30
|
+
}, {
|
31
|
+
name: 'image',
|
32
|
+
type: 'String'
|
33
|
+
}, {
|
34
|
+
name: 'name',
|
35
|
+
type: 'String'
|
36
|
+
}, {
|
37
|
+
name: 'sourceUrl',
|
38
|
+
type: 'String'
|
39
|
+
}, {
|
40
|
+
name: 'url',
|
41
|
+
type: 'String'
|
42
|
+
}]
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
export default Neo.setupClass(Example);
|
@@ -0,0 +1,173 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
4
|
+
"environments": ["Desktop"],
|
5
|
+
"id" : 19,
|
6
|
+
"image" : "devmode/model-component-example.png",
|
7
|
+
"name" : "View Models Example",
|
8
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/model/advanced",
|
9
|
+
"url" : "https://neomjs.com/examples/model/advanced/index.html"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
13
|
+
"environments": ["Desktop"],
|
14
|
+
"id" : 18,
|
15
|
+
"image" : "devmode/sharedcovid.png",
|
16
|
+
"name" : "Multi Window Covid App",
|
17
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/sharedcovid",
|
18
|
+
"url" : "https://neomjs.com/apps/sharedcovid/index.html#mainview=table"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
22
|
+
"environments": ["Desktop"],
|
23
|
+
"id" : 17,
|
24
|
+
"image" : "devmode/calendar-preview.png",
|
25
|
+
"name" : "Calendar",
|
26
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/src/calendar",
|
27
|
+
"url" : "https://neomjs.com/examples/calendar/basic/index.html"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
31
|
+
"environments": ["Desktop"],
|
32
|
+
"id" : 16,
|
33
|
+
"image" : "devmode/covidDashboard.png",
|
34
|
+
"name" : "Covid Dashboard",
|
35
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/covid",
|
36
|
+
"url" : "https://neomjs.com/apps/covid/index.html"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
40
|
+
"environments": ["Desktop"],
|
41
|
+
"id" : 15,
|
42
|
+
"image" : "devmode/multi_window_dd.png",
|
43
|
+
"name" : "Multi Window Drag&Drop",
|
44
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/shareddialog",
|
45
|
+
"url" : "https://neomjs.com/apps/shareddialog/index.html"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
49
|
+
"environments": ["Desktop"],
|
50
|
+
"id" : 14,
|
51
|
+
"image" : "devmode/realworldApp.png",
|
52
|
+
"name" : "RealWorld App",
|
53
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/realworld",
|
54
|
+
"url" : "https://neomjs.com/apps/realworld/index.html"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
58
|
+
"environments": ["Desktop"],
|
59
|
+
"id" : 13,
|
60
|
+
"image" : "devmode/coronaGallery.png",
|
61
|
+
"name" : "COVID-19 Gallery",
|
62
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/coronaGallery",
|
63
|
+
"url" : "https://neomjs.com/examples/component/coronaGallery/index.html"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
67
|
+
"environments": ["Desktop"],
|
68
|
+
"id" : 12,
|
69
|
+
"image" : "devmode/coronaHelix.png",
|
70
|
+
"name" : "COVID-19 Helix",
|
71
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/coronaHelix",
|
72
|
+
"url" : "https://neomjs.com/examples/component/coronaHelix/index.html"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
76
|
+
"environments": ["Desktop"],
|
77
|
+
"id" : 11,
|
78
|
+
"image" : "devmode/website.png",
|
79
|
+
"name" : "Neo Website App",
|
80
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/website",
|
81
|
+
"url" : "https://neomjs.com/apps/website/index.html#mainview=blog"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
85
|
+
"environments": ["Desktop"],
|
86
|
+
"id" : 10,
|
87
|
+
"image" : "devmode/tableFiltering.png",
|
88
|
+
"name" : "Table Filtering",
|
89
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/tableFiltering",
|
90
|
+
"url" : "https://neomjs.com/examples/tableFiltering/"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
94
|
+
"environments": ["Desktop"],
|
95
|
+
"id" : 9,
|
96
|
+
"image" : "devmode/dragdrop.png",
|
97
|
+
"name" : "Dialog drag&drop",
|
98
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/dialog",
|
99
|
+
"url" : "https://neomjs.com/examples/dialog/"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
103
|
+
"environments": ["Desktop"],
|
104
|
+
"id" : 8,
|
105
|
+
"image" : "devmode/realworldApp2.png",
|
106
|
+
"name" : "RealWorld App v2</br>(in progress)",
|
107
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/realworld2",
|
108
|
+
"url" : "https://neomjs.com/apps/realworld2/index.html#/gallery"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
112
|
+
"environments": ["Desktop"],
|
113
|
+
"id" : 7,
|
114
|
+
"image" : "devmode/dateSelector.png",
|
115
|
+
"name" : "component.DateSelector",
|
116
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/dateSelector",
|
117
|
+
"url" : "https://neomjs.com/examples/component/dateSelector/index.html"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
121
|
+
"environments": ["Desktop"],
|
122
|
+
"id" : 6,
|
123
|
+
"image" : "devmode/gallery.png",
|
124
|
+
"name" : "component.Gallery",
|
125
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/gallery",
|
126
|
+
"url" : "https://neomjs.com/examples/component/gallery/index.html"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
130
|
+
"environments": ["Desktop"],
|
131
|
+
"id" : 5,
|
132
|
+
"image" : "devmode/helix.png",
|
133
|
+
"name" : "component.Helix",
|
134
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/helix",
|
135
|
+
"url" : "https://neomjs.com/examples/component/helix/index.html"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
139
|
+
"environments": ["Desktop"],
|
140
|
+
"id" : 4,
|
141
|
+
"image" : "devmode/dateField.png",
|
142
|
+
"name" : "form.field.Date",
|
143
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/form/field/date",
|
144
|
+
"url" : "https://neomjs.com/examples/form/field/date/index.html"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
148
|
+
"environments": ["Desktop"],
|
149
|
+
"id" : 3,
|
150
|
+
"image" : "devmode/selectField.png",
|
151
|
+
"name" : "form.field.Select",
|
152
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/form/field/select",
|
153
|
+
"url" : "https://neomjs.com/examples/form/field/select/index.html"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
157
|
+
"environments": ["Desktop"],
|
158
|
+
"id" : 2,
|
159
|
+
"image" : "devmode/tabContainer.png",
|
160
|
+
"name" : "tab.Container",
|
161
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/tab/container",
|
162
|
+
"url" : "https://neomjs.com/examples/tab/container/index.html"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
166
|
+
"environments": ["Desktop"],
|
167
|
+
"id" : 1,
|
168
|
+
"image" : "devmode/siesta.png",
|
169
|
+
"name" : "Siesta Unit Tests",
|
170
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/test/siesta",
|
171
|
+
"url" : "https://neomjs.com/test/siesta/index.html"
|
172
|
+
}
|
173
|
+
]
|
@@ -0,0 +1,164 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
4
|
+
"environments": ["Desktop"],
|
5
|
+
"id" : 18,
|
6
|
+
"image" : "devmode/model-component-example.png",
|
7
|
+
"name" : "View Models Example",
|
8
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/model/advanced",
|
9
|
+
"url" : "https://neomjs.com/dist/development/examples/model/advanced/index.html"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
13
|
+
"environments": ["Desktop"],
|
14
|
+
"id" : 17,
|
15
|
+
"image" : "devmode/sharedcovid.png",
|
16
|
+
"name" : "Multi Window Covid App",
|
17
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/sharedcovid",
|
18
|
+
"url" : "https://neomjs.com/dist/development/apps/sharedcovid/index.html#mainview=table"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
22
|
+
"environments": ["Desktop"],
|
23
|
+
"id" : 16,
|
24
|
+
"image" : "devmode/calendar-preview.png",
|
25
|
+
"name" : "Calendar",
|
26
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/src/calendar",
|
27
|
+
"url" : "https://neomjs.com/dist/development/examples/calendar/basic/index.html"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
31
|
+
"environments": ["Desktop"],
|
32
|
+
"id" : 15,
|
33
|
+
"image" : "devmode/covidDashboard.png",
|
34
|
+
"name" : "Covid Dashboard",
|
35
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/covid",
|
36
|
+
"url" : "https://neomjs.com/dist/development/apps/covid/index.html#mainview=table"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
40
|
+
"environments": ["Desktop"],
|
41
|
+
"id" : 14,
|
42
|
+
"image" : "devmode/multi_window_dd.png",
|
43
|
+
"name" : "Multi Window Drag&Drop",
|
44
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/shareddialog",
|
45
|
+
"url" : "https://neomjs.com/dist/development/apps/shareddialog/index.html"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
49
|
+
"environments": ["Desktop"],
|
50
|
+
"id" : 13,
|
51
|
+
"image" : "devmode/realworldApp.png",
|
52
|
+
"name" : "RealWorld App",
|
53
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/realworld",
|
54
|
+
"url" : "https://neomjs.com/dist/development/apps/realworld/index.html"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
58
|
+
"environments": ["Desktop"],
|
59
|
+
"id" : 12,
|
60
|
+
"image" : "devmode/coronaGallery.png",
|
61
|
+
"name" : "COVID-19 Gallery",
|
62
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/coronaGallery",
|
63
|
+
"url" : "https://neomjs.com/dist/development/examples/component/coronaGallery/index.html"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
67
|
+
"environments": ["Desktop"],
|
68
|
+
"id" : 11,
|
69
|
+
"image" : "devmode/coronaHelix.png",
|
70
|
+
"name" : "COVID-19 Helix",
|
71
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/coronaHelix",
|
72
|
+
"url" : "https://neomjs.com/dist/development/examples/component/coronaHelix/index.html"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
76
|
+
"environments": ["Desktop", "Mobile"],
|
77
|
+
"id" : 10,
|
78
|
+
"image" : "devmode/website.png",
|
79
|
+
"name" : "Neo Website App",
|
80
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/website",
|
81
|
+
"url" : "https://neomjs.com/dist/development/apps/website/index.html#mainview=blog"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
85
|
+
"environments": ["Desktop"],
|
86
|
+
"id" : 9,
|
87
|
+
"image" : "devmode/tableFiltering.png",
|
88
|
+
"name" : "Table Filtering",
|
89
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/tableFiltering",
|
90
|
+
"url" : "https://neomjs.com/dist/development/examples/tableFiltering/"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
94
|
+
"environments": ["Desktop"],
|
95
|
+
"id" : 8,
|
96
|
+
"image" : "devmode/dragdrop.png",
|
97
|
+
"name" : "Dialog drag&drop",
|
98
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/dialog",
|
99
|
+
"url" : "https://neomjs.com/dist/development/examples/dialog/"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
103
|
+
"environments": ["Desktop"],
|
104
|
+
"id" : 7,
|
105
|
+
"image" : "devmode/realworldApp2.png",
|
106
|
+
"name" : "RealWorld App v2</br>(in progress)",
|
107
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/realworld2",
|
108
|
+
"url" : "https://neomjs.com/dist/development/apps/realworld2/index.html#/gallery"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
112
|
+
"environments": ["Desktop"],
|
113
|
+
"id" : 6,
|
114
|
+
"image" : "devmode/dateSelector.png",
|
115
|
+
"name" : "component.DateSelector",
|
116
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/dateSelector",
|
117
|
+
"url" : "https://neomjs.com/dist/development/examples/component/dateSelector/index.html"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
121
|
+
"environments": ["Desktop"],
|
122
|
+
"id" : 5,
|
123
|
+
"image" : "devmode/gallery.png",
|
124
|
+
"name" : "component.Gallery",
|
125
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/gallery",
|
126
|
+
"url" : "https://neomjs.com/dist/development/examples/component/gallery/index.html"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
130
|
+
"environments": ["Desktop"],
|
131
|
+
"id" : 4,
|
132
|
+
"image" : "devmode/helix.png",
|
133
|
+
"name" : "component.Helix",
|
134
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/helix",
|
135
|
+
"url" : "https://neomjs.com/dist/development/examples/component/helix/index.html"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
139
|
+
"environments": ["Desktop"],
|
140
|
+
"id" : 3,
|
141
|
+
"image" : "devmode/dateField.png",
|
142
|
+
"name" : "form.field.Date",
|
143
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/form/field/date",
|
144
|
+
"url" : "https://neomjs.com/dist/development/examples/form/field/date/index.html"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
148
|
+
"environments": ["Desktop"],
|
149
|
+
"id" : 2,
|
150
|
+
"image" : "devmode/selectField.png",
|
151
|
+
"name" : "form.field.Select",
|
152
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/form/field/select",
|
153
|
+
"url" : "https://neomjs.com/dist/development/examples/form/field/select/index.html"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
157
|
+
"environments": ["Desktop"],
|
158
|
+
"id" : 1,
|
159
|
+
"image" : "devmode/tabContainer.png",
|
160
|
+
"name" : "tab.Container",
|
161
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/tab/container",
|
162
|
+
"url" : "https://neomjs.com/dist/development/examples/tab/container/index.html"
|
163
|
+
}
|
164
|
+
]
|
@@ -0,0 +1,164 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
4
|
+
"environments": ["Desktop"],
|
5
|
+
"id" : 18,
|
6
|
+
"image" : "devmode/model-component-example.png",
|
7
|
+
"name" : "View Models Example",
|
8
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/model/advanced",
|
9
|
+
"url" : "https://neomjs.com/dist/production/examples/model/advanced/index.html"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
13
|
+
"environments": ["Desktop"],
|
14
|
+
"id" : 17,
|
15
|
+
"image" : "devmode/sharedcovid.png",
|
16
|
+
"name" : "Multi Window Covid App",
|
17
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/sharedcovid",
|
18
|
+
"url" : "https://neomjs.com/dist/production/apps/sharedcovid/index.html#mainview=table"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
22
|
+
"environments": ["Desktop"],
|
23
|
+
"id" : 16,
|
24
|
+
"image" : "devmode/calendar-preview.png",
|
25
|
+
"name" : "Calendar",
|
26
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/src/calendar",
|
27
|
+
"url" : "https://neomjs.com/dist/production/examples/calendar/basic/index.html"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
31
|
+
"environments": ["Desktop"],
|
32
|
+
"id" : 15,
|
33
|
+
"image" : "devmode/covidDashboard.png",
|
34
|
+
"name" : "Covid Dashboard",
|
35
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/covid",
|
36
|
+
"url" : "https://neomjs.com/dist/production/apps/covid/index.html#mainview=table"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
40
|
+
"environments": ["Desktop"],
|
41
|
+
"id" : 14,
|
42
|
+
"image" : "devmode/multi_window_dd.png",
|
43
|
+
"name" : "Multi Window Drag&Drop",
|
44
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/shareddialog",
|
45
|
+
"url" : "https://neomjs.com/dist/production/apps/shareddialog/index.html"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
49
|
+
"environments": ["Desktop"],
|
50
|
+
"id" : 13,
|
51
|
+
"image" : "devmode/realworldApp.png",
|
52
|
+
"name" : "RealWorld App",
|
53
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/realworld",
|
54
|
+
"url" : "https://neomjs.com/dist/production/apps/realworld/index.html"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
58
|
+
"environments": ["Desktop"],
|
59
|
+
"id" : 12,
|
60
|
+
"image" : "devmode/coronaGallery.png",
|
61
|
+
"name" : "COVID-19 Gallery",
|
62
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/coronaGallery",
|
63
|
+
"url" : "https://neomjs.com/dist/production/examples/component/coronaGallery/index.html"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
67
|
+
"environments": ["Desktop"],
|
68
|
+
"id" : 11,
|
69
|
+
"image" : "devmode/coronaHelix.png",
|
70
|
+
"name" : "COVID-19 Helix",
|
71
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/coronaHelix",
|
72
|
+
"url" : "https://neomjs.com/dist/production/examples/component/coronaHelix/index.html"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
76
|
+
"environments": ["Desktop", "Mobile"],
|
77
|
+
"id" : 10,
|
78
|
+
"image" : "devmode/website.png",
|
79
|
+
"name" : "Neo Website App",
|
80
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/website",
|
81
|
+
"url" : "https://neomjs.com/dist/production/apps/website/index.html#mainview=blog"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
85
|
+
"environments": ["Desktop"],
|
86
|
+
"id" : 9,
|
87
|
+
"image" : "devmode/tableFiltering.png",
|
88
|
+
"name" : "Table Filtering",
|
89
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/tableFiltering",
|
90
|
+
"url" : "https://neomjs.com/dist/production/examples/tableFiltering/"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
94
|
+
"environments": ["Desktop"],
|
95
|
+
"id" : 8,
|
96
|
+
"image" : "devmode/dragdrop.png",
|
97
|
+
"name" : "Dialog drag&drop",
|
98
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/dialog",
|
99
|
+
"url" : "https://neomjs.com/dist/production/examples/dialog/"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
103
|
+
"environments": ["Desktop"],
|
104
|
+
"id" : 7,
|
105
|
+
"image" : "devmode/realworldApp2.png",
|
106
|
+
"name" : "RealWorld App v2</br>(in progress)",
|
107
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/apps/realworld2",
|
108
|
+
"url" : "https://neomjs.com/dist/production/apps/realworld2/index.html#/gallery"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
112
|
+
"environments": ["Desktop"],
|
113
|
+
"id" : 6,
|
114
|
+
"image" : "devmode/dateSelector.png",
|
115
|
+
"name" : "component.DateSelector",
|
116
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/dateSelector",
|
117
|
+
"url" : "https://neomjs.com/dist/production/examples/component/dateSelector/index.html"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
121
|
+
"environments": ["Desktop"],
|
122
|
+
"id" : 5,
|
123
|
+
"image" : "devmode/gallery.png",
|
124
|
+
"name" : "component.Gallery",
|
125
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/gallery",
|
126
|
+
"url" : "https://neomjs.com/dist/production/examples/component/gallery/index.html"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
130
|
+
"environments": ["Desktop"],
|
131
|
+
"id" : 4,
|
132
|
+
"image" : "devmode/helix.png",
|
133
|
+
"name" : "component.Helix",
|
134
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/component/helix",
|
135
|
+
"url" : "https://neomjs.com/dist/production/examples/component/helix/index.html"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
139
|
+
"environments": ["Desktop"],
|
140
|
+
"id" : 3,
|
141
|
+
"image" : "devmode/dateField.png",
|
142
|
+
"name" : "form.field.Date",
|
143
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/form/field/date",
|
144
|
+
"url" : "https://neomjs.com/dist/production/examples/form/field/date/index.html"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
148
|
+
"environments": ["Desktop"],
|
149
|
+
"id" : 2,
|
150
|
+
"image" : "devmode/selectField.png",
|
151
|
+
"name" : "form.field.Select",
|
152
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/form/field/select",
|
153
|
+
"url" : "https://neomjs.com/dist/production/examples/form/field/select/index.html"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"browsers" : ["Chrome", "Edge", "Firefox", "Safari"],
|
157
|
+
"environments": ["Desktop"],
|
158
|
+
"id" : 1,
|
159
|
+
"image" : "devmode/tabContainer.png",
|
160
|
+
"name" : "tab.Container",
|
161
|
+
"sourceUrl" : "https://github.com/neo.mjs/neo/tree/dev/examples/tab/container",
|
162
|
+
"url" : "https://neomjs.com/dist/production/examples/tab/container/index.html"
|
163
|
+
}
|
164
|
+
]
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import Example from '../model/Example.mjs';
|
2
|
+
import Store from '../../../src/data/Store.mjs';
|
3
|
+
|
4
|
+
/**
|
5
|
+
* @class Portal.store.Examples
|
6
|
+
* @extends Neo.data.Store
|
7
|
+
*/
|
8
|
+
class Examples extends Store {
|
9
|
+
static config = {
|
10
|
+
/**
|
11
|
+
* @member {String} className='Portal.store.Examples'
|
12
|
+
* @protected
|
13
|
+
*/
|
14
|
+
className: 'Portal.store.Examples',
|
15
|
+
/**
|
16
|
+
* @member {String} keyProperty='id'
|
17
|
+
*/
|
18
|
+
keyProperty: 'id',
|
19
|
+
/**
|
20
|
+
* @member {Neo.data.Model} model=Example
|
21
|
+
*/
|
22
|
+
model: Example,
|
23
|
+
/**
|
24
|
+
* @member {Object[]} sorters=[{property: 'id', direction: 'ASC'}]
|
25
|
+
*/
|
26
|
+
sorters: [{
|
27
|
+
property : 'id',
|
28
|
+
direction: 'DESC'
|
29
|
+
}]
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
export default Neo.setupClass(Examples);
|
@@ -49,9 +49,10 @@ class Viewport extends BaseViewport {
|
|
49
49
|
{module: () => import('./home/MainContainer.mjs')},
|
50
50
|
{module: () => import('./learn/MainContainer.mjs')},
|
51
51
|
{module: () => import('./blog/Container.mjs')},
|
52
|
-
{module: () => import('../../../docs/app/view/MainContainer.mjs')},
|
53
52
|
{module: () => import('./services/Component.mjs')},
|
54
|
-
{module: () => import('./
|
53
|
+
{module: () => import('./examples/TabContainer.mjs')},
|
54
|
+
{module: () => import('./about/Container.mjs')},
|
55
|
+
{module: () => import('../../../docs/app/view/MainContainer.mjs')}
|
55
56
|
]
|
56
57
|
}],
|
57
58
|
/**
|