Skip to content

Commit 550ec27

Browse files
committed
Add project used in the demo
1 parent 3fe5268 commit 550ec27

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2557
-0
lines changed

AppDemo/.gitignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/build
2+
bootstrap.*
3+
classic.json*
4+
modern.json*
5+
.sencha
6+
7+
ext/*
8+
build/*
9+
.arch-internal-preview.css
10+
dist
11+
cache
12+
.DS_Store
13+
.idea/
14+
bootstrap.json
15+
bootstrap.jsonp
16+
sass/example/bootstrap.json
17+
sass/example/bootstrap.jsonp
18+
sass/example/bootstrap.js
19+
.architect

AppDemo/ChessEloAppDemo.xds

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"name": "ChessEloAppDemo",
3+
"settings": {
4+
"cmd": {
5+
"license": "commercial",
6+
"cmdVersion": "6.5.1.230",
7+
"frameworkVersion": "6.5.0.775"
8+
},
9+
"urlPrefixTemplate": "http://localhost:{port}/{path}",
10+
"urlPrefix": "http://localhost:49613/",
11+
"canvasControls": {
12+
"viewportSize": {
13+
"name": "Desktop (Auto Expand)",
14+
"builtIn": true,
15+
"height": null,
16+
"width": null
17+
},
18+
"viewportOrientation": "portrait"
19+
},
20+
"exportPath": "",
21+
"spacesToIndent": 4,
22+
"sdkPath": "",
23+
"lineEnding": "CRLF",
24+
"genTimestamps": false,
25+
"cacheBust": false,
26+
"buildShouldOverwriteIndex": true,
27+
"generateArchitectVersion": true
28+
},
29+
"xdsVersion": "4.2.2",
30+
"xdsBuild": 257,
31+
"schemaVersion": 1,
32+
"upgradeVersion": 310000000001,
33+
"framework": "modern65",
34+
"viewOrderMap": {
35+
"view": [
36+
"d55893a1-3a20-4acc-b4b3-0b551c329de4",
37+
"57bcce35-2898-46e4-b075-50208c99f16c",
38+
"78e94260-af4b-4058-8282-ac2e9b42d169",
39+
"5303a1b2-e115-49f3-a37c-5e5e57aaf54b",
40+
"e964b883-78a7-4bdf-b263-fb7aba3a41a1",
41+
"362562fc-364d-41c3-ae19-a9ea4f4d47d7",
42+
"f31d8534-2308-43ff-b35c-95cd8b5b7266",
43+
"58e65a7d-75a6-4574-9c97-2dfc01b8725f"
44+
],
45+
"store": [
46+
"f37c4256-3001-466c-862a-5da5bc93007c",
47+
"765e5b1b-f674-450f-bf9f-d1c916e223df"
48+
],
49+
"controller": [],
50+
"model": [
51+
"2d7d2a9d-e6b7-4f8e-bda1-becbe4b8d1b0",
52+
"bd028e58-fa47-4abc-be1e-e5aae50ccfda"
53+
],
54+
"resource": [
55+
"a6d8c794-c0f2-4301-88bf-1c3b6bbf84b8",
56+
"9b32782d-85ed-4f11-b021-d3266ba462b1"
57+
],
58+
"app": [
59+
"application"
60+
]
61+
}
62+
}

AppDemo/app.js

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* File: app.js
3+
*
4+
* This file was generated by Sencha Architect version 4.2.2.
5+
* http://www.sencha.com/products/architect/
6+
*
7+
* This file requires use of the Ext JS 6.5.x Modern library, under independent license.
8+
* License of Sencha Architect does not include license for Ext JS 6.5.x Modern. For more
9+
* details see http://www.sencha.com/license or contact [email protected].
10+
*
11+
* This file will be auto-generated each and everytime you save your project.
12+
*
13+
* Do NOT hand edit this file.
14+
*/
15+
16+
// @require @packageOverrides
17+
Ext.Loader.setConfig({
18+
19+
});
20+
21+
22+
Ext.application({
23+
models: [
24+
'PlayerData',
25+
'GamesData'
26+
],
27+
stores: [
28+
'PlayerData',
29+
'GamesData'
30+
],
31+
views: [
32+
'grid.PlayerGrid',
33+
'grid.GamesGrid',
34+
'MyTabPanel',
35+
'chart.EloRating'
36+
],
37+
name: 'MyApp',
38+
39+
launch: function() {
40+
Ext.create('MyApp.view.MyTabPanel', {fullscreen: true});
41+
}
42+
43+
});

AppDemo/app.json

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"name": "MyApp",
3+
"version": "1.0.0.0",
4+
"framework": "ext",
5+
"toolkit": "modern",
6+
"theme": "theme-triton-9b32782d-85ed-4f11-b021-d3266ba462b1",
7+
"requires": [
8+
"font-awesome"
9+
],
10+
"indexHtmlPath": "index.html",
11+
"classpath": [
12+
"app"
13+
],
14+
"overrides": [
15+
"overrides"
16+
],
17+
"fashion": {
18+
"inliner": {
19+
"enable": false
20+
}
21+
},
22+
"sass": {
23+
"namespace": "MyApp",
24+
"generated": {
25+
"var": "sass/save.scss",
26+
"src": "sass/save"
27+
},
28+
"etc": [
29+
"sass/etc/all.scss"
30+
],
31+
"var": [
32+
"sass/var/all.scss",
33+
"sass/var"
34+
],
35+
"src": [
36+
"sass/src"
37+
]
38+
},
39+
"js": [
40+
{
41+
"path": "${framework.dir}/build/ext-modern-all-debug.js"
42+
},
43+
{
44+
"path": "app.js",
45+
"bundle": true
46+
}
47+
],
48+
"css": [
49+
{
50+
"path": "${build.out.css.path}",
51+
"bundle": true,
52+
"exclude": [
53+
"fashion"
54+
]
55+
}
56+
],
57+
"loader": {
58+
"cache": false,
59+
"cacheParam": "_dc"
60+
},
61+
"production": {
62+
"output": {
63+
"appCache": {
64+
"enable": true,
65+
"path": "cache.appcache"
66+
}
67+
},
68+
"loader": {
69+
"cache": "${build.timestamp}"
70+
},
71+
"cache": {
72+
"enable": true
73+
},
74+
"compressor": {
75+
"type": "yui"
76+
}
77+
},
78+
"testing": {},
79+
"development": {
80+
"watch": {
81+
"delay": 250
82+
}
83+
},
84+
"bootstrap": {
85+
"base": "${app.dir}",
86+
"microloader": "bootstrap.js",
87+
"css": "bootstrap.css"
88+
},
89+
"output": {
90+
"base": "${workspace.build.dir}/${build.environment}/${app.name}",
91+
"appCache": {
92+
"enable": false
93+
}
94+
},
95+
"cache": {
96+
"enable": false,
97+
"deltas": true
98+
},
99+
"appCache": {
100+
"cache": [
101+
"index.html"
102+
],
103+
"network": [
104+
"*"
105+
],
106+
"fallback": []
107+
},
108+
"resources": [
109+
{
110+
"path": "resources",
111+
"output": "shared"
112+
}
113+
],
114+
"archivePath": "archive",
115+
"slicer": null,
116+
"ignore": [
117+
"(^|/)CVS(/?$|/.*?$)"
118+
],
119+
"id": "1be5a973-a990-47d4-8412-110252e47182"
120+
}

AppDemo/app.json.meta

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"_comment":"Please don't edit. This is Architect data.","name":"MyApp","resources":[],"requires":[],"theme":"theme-triton-9b32782d-85ed-4f11-b021-d3266ba462b1","classpath":null,"css":[],"js":[]}

AppDemo/app/model/GamesData.js

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/*
2+
* File: app/model/GamesData.js
3+
*
4+
* This file was generated by Sencha Architect version 4.2.2.
5+
* http://www.sencha.com/products/architect/
6+
*
7+
* This file requires use of the Ext JS 6.5.x Modern library, under independent license.
8+
* License of Sencha Architect does not include license for Ext JS 6.5.x Modern. For more
9+
* details see http://www.sencha.com/license or contact [email protected].
10+
*
11+
* This file will be auto-generated each and everytime you save your project.
12+
*
13+
* Do NOT hand edit this file.
14+
*/
15+
16+
Ext.define('MyApp.model.GamesData', {
17+
extend: 'Ext.data.Model',
18+
alias: 'model.gamesdata',
19+
20+
requires: [
21+
'Ext.data.field.Integer',
22+
'Ext.data.field.String',
23+
'Ext.data.field.Boolean'
24+
],
25+
26+
27+
fields: [
28+
{
29+
type: 'int',
30+
name: 'timestamp'
31+
},
32+
{
33+
type: 'int',
34+
name: 'playerWhite'
35+
},
36+
{
37+
type: 'int',
38+
name: 'playerBlack'
39+
},
40+
{
41+
type: 'string',
42+
name: 'result'
43+
},
44+
{
45+
type: 'boolean',
46+
name: 'timeout'
47+
},
48+
{
49+
type: 'int',
50+
name: 'playerWhiteRating'
51+
},
52+
{
53+
type: 'int',
54+
name: 'playerBlackRating'
55+
},
56+
{
57+
type: 'int',
58+
name: 'uid'
59+
}
60+
]
61+
62+
});

0 commit comments

Comments
 (0)