]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('KitchenSink.store.Demos', {\r |
2 | alias: 'store.Demos',\r | |
3 | extend: 'Ext.data.TreeStore',\r | |
4 | requires: ['KitchenSink.model.Demo'],\r | |
5 | \r | |
6 | config: {\r | |
7 | model: 'KitchenSink.model.Demo',\r | |
8 | defaultRootProperty: 'items',\r | |
9 | root: {\r | |
10 | id: 'root',\r | |
11 | text: 'Kitchen Sink',\r | |
12 | items: [{\r | |
13 | text: 'User Interface',\r | |
14 | id: 'ui',\r | |
15 | cls: 'launchscreen',\r | |
16 | items: [{\r | |
17 | text: 'Grid/Tree',\r | |
18 | leaf: false,\r | |
19 | id: 'grid',\r | |
20 | items: [{\r | |
21 | text: 'Big Data',\r | |
22 | leaf: true,\r | |
23 | view: 'grid.BigData',\r | |
24 | id: 'grid-bigdata'\r | |
25 | }, {\r | |
26 | text: 'Tree',\r | |
27 | leaf: true,\r | |
28 | view: 'grid.TreeList',\r | |
29 | id: 'tree-list'\r | |
30 | }]\r | |
31 | }, {\r | |
32 | text: 'Buttons',\r | |
33 | leaf: true,\r | |
34 | id: 'buttons'\r | |
35 | }, {\r | |
36 | text: 'Forms',\r | |
37 | leaf: false,\r | |
38 | id: 'forms',\r | |
39 | items: [{\r | |
40 | text: 'Form Panel',\r | |
41 | leaf: true,\r | |
42 | view: 'FormPanel',\r | |
43 | id: 'formpanel'\r | |
44 | }, {\r | |
45 | text: 'Sliders',\r | |
46 | leaf: true,\r | |
47 | view: 'Sliders',\r | |
48 | id: 'sliders'\r | |
49 | }, {\r | |
50 | text: 'Toolbar Inputs',\r | |
51 | leaf: true,\r | |
52 | view: 'ToolbarInput',\r | |
53 | id: 'toolbarinput'\r | |
54 | }, {\r | |
55 | text: 'PlaceHolderLabel',\r | |
56 | leaf: true,\r | |
57 | view: 'PlaceHolderLabel',\r | |
58 | id: 'placeholderlabel'\r | |
59 | }]\r | |
60 | }, {\r | |
61 | text: 'DataViews',\r | |
62 | leaf: false,\r | |
63 | id: 'dataviews',\r | |
64 | items: [{\r | |
65 | text: 'Basic',\r | |
66 | leaf: true,\r | |
67 | view: 'BasicDataView',\r | |
68 | id: 'basicdataview'\r | |
69 | }, {\r | |
70 | text: 'Horizontal',\r | |
71 | leaf: true,\r | |
72 | view: 'HorizontalDataView',\r | |
73 | id: 'horizontaldataview'\r | |
74 | }, {\r | |
75 | text: 'Inline',\r | |
76 | leaf: true,\r | |
77 | view: 'InlineDataView',\r | |
78 | id: 'inlinedataview'\r | |
79 | }]\r | |
80 | }, {\r | |
81 | text: 'Lists',\r | |
82 | leaf: false,\r | |
83 | id: 'lists',\r | |
84 | items: [{\r | |
85 | text: 'Basic',\r | |
86 | leaf: true,\r | |
87 | view: 'BasicList',\r | |
88 | id: 'basiclist'\r | |
89 | }, {\r | |
90 | text: 'Grouped',\r | |
91 | leaf: true,\r | |
92 | view: 'GroupedList',\r | |
93 | id: 'groupedlist'\r | |
94 | }, {\r | |
95 | text: 'Disclosure',\r | |
96 | leaf: true,\r | |
97 | view: 'DisclosureList',\r | |
98 | id: 'disclosurelist'\r | |
99 | }]\r | |
100 | }, {\r | |
101 | text: 'Nested List',\r | |
102 | view: 'NestedList',\r | |
103 | leaf: true,\r | |
104 | id: 'nestedlist'\r | |
105 | }, {\r | |
106 | text: 'Icons',\r | |
107 | leaf: true,\r | |
108 | id: 'icons'\r | |
109 | }, {\r | |
110 | text: 'Toolbars',\r | |
111 | leaf: true,\r | |
112 | id: 'toolbars'\r | |
113 | }, {\r | |
114 | text: 'Carousel',\r | |
115 | leaf: true,\r | |
116 | id: 'carousel'\r | |
117 | }, {\r | |
118 | text: 'Tabs',\r | |
119 | leaf: true,\r | |
120 | id: 'tabs'\r | |
121 | }, {\r | |
122 | text: 'Bottom Tabs',\r | |
123 | view: 'BottomTabs',\r | |
124 | leaf: true,\r | |
125 | id: 'bottom-tabs'\r | |
126 | }, {\r | |
127 | text: 'Overlays',\r | |
128 | leaf: true,\r | |
129 | id: 'overlays'\r | |
130 | }, {\r | |
131 | text: 'Menus',\r | |
132 | leaf: true,\r | |
133 | id: 'menus'\r | |
134 | }]\r | |
135 | }, {\r | |
136 | text: 'Data Binding',\r | |
137 | id: 'databinding',\r | |
138 | items: [{\r | |
139 | text: 'Simple',\r | |
140 | leaf: true,\r | |
141 | id: 'binding-simple',\r | |
142 | view: 'binding.Simple'\r | |
143 | }, {\r | |
144 | text: 'Two Way',\r | |
145 | leaf: true,\r | |
146 | id: 'binding-twoway',\r | |
147 | view: 'binding.TwoWay'\r | |
148 | }, {\r | |
149 | text: 'Formulas',\r | |
150 | leaf: true,\r | |
151 | id: 'binding-formula',\r | |
152 | view: 'binding.Formula'\r | |
153 | }, {\r | |
154 | text: 'Two Way Formulas',\r | |
155 | leaf: true,\r | |
156 | id: 'binding-twowayformula',\r | |
157 | view: 'binding.TwoWayFormula'\r | |
158 | }, {\r | |
159 | text: 'Chained Select',\r | |
160 | leaf: true,\r | |
161 | id: 'binding-chainedselect',\r | |
162 | view: 'binding.ChainedSelect'\r | |
163 | }, {\r | |
164 | text: 'Component State',\r | |
165 | leaf: true,\r | |
166 | id: 'binding-componentstate',\r | |
167 | view: 'binding.ComponentState'\r | |
168 | }, {\r | |
169 | text: 'Selection',\r | |
170 | leaf: true,\r | |
171 | id: 'binding-selection',\r | |
172 | view: 'binding.Selection'\r | |
173 | }, {\r | |
174 | text: 'Chained Stores',\r | |
175 | leaf: true,\r | |
176 | id: 'binding-chainedstores',\r | |
177 | view: 'binding.ChainedStore'\r | |
178 | }, {\r | |
179 | text: 'Form',\r | |
180 | leaf: true,\r | |
181 | id: 'binding-form',\r | |
182 | view: 'binding.Form'\r | |
183 | }, {\r | |
184 | text: 'Associations',\r | |
185 | leaf: true,\r | |
186 | id: 'binding-assocations',\r | |
187 | view: 'binding.Association'\r | |
188 | }]\r | |
189 | }, {\r | |
190 | text: 'Animations',\r | |
191 | id: 'animations',\r | |
192 | items: [{\r | |
193 | text: 'Slide',\r | |
194 | id: 'Slide',\r | |
195 | items: [{\r | |
196 | text: 'Slide Left',\r | |
197 | id: 'SlideLeft',\r | |
198 | view: 'SlideLeft',\r | |
199 | animation: {\r | |
200 | type: 'slide'\r | |
201 | },\r | |
202 | leaf: true\r | |
203 | }, {\r | |
204 | text: 'Slide Right',\r | |
205 | id: 'SlideRight',\r | |
206 | view: 'SlideRight',\r | |
207 | animation: {\r | |
208 | type: 'slide',\r | |
209 | direction: 'right'\r | |
210 | },\r | |
211 | leaf: true\r | |
212 | }, {\r | |
213 | text: 'Slide Up',\r | |
214 | id: 'SlideUp',\r | |
215 | view: 'SlideUp',\r | |
216 | animation: {\r | |
217 | type: 'slide',\r | |
218 | direction: 'up'\r | |
219 | },\r | |
220 | leaf: true\r | |
221 | }, {\r | |
222 | text: 'Slide Down',\r | |
223 | id: 'SlideDown',\r | |
224 | view: 'SlideDown',\r | |
225 | animation: {\r | |
226 | type: 'slide',\r | |
227 | direction: 'down'\r | |
228 | },\r | |
229 | leaf: true\r | |
230 | }]\r | |
231 | }, {\r | |
232 | text: 'Fade',\r | |
233 | id: 'Fade',\r | |
234 | animation: {\r | |
235 | type: 'fade',\r | |
236 | duration: 500\r | |
237 | },\r | |
238 | leaf: true\r | |
239 | }, {\r | |
240 | text: 'Cover',\r | |
241 | id: 'Cover',\r | |
242 | items: [{\r | |
243 | text: 'Cover Left',\r | |
244 | view: 'CoverLeft',\r | |
245 | id: 'CoverLeft',\r | |
246 | animation: {\r | |
247 | type: 'cover'\r | |
248 | },\r | |
249 | leaf: true\r | |
250 | }, {\r | |
251 | text: 'Cover Right',\r | |
252 | id: 'CoverRight',\r | |
253 | view: 'CoverRight',\r | |
254 | animation: {\r | |
255 | type: 'cover',\r | |
256 | direction: 'right'\r | |
257 | },\r | |
258 | leaf: true\r | |
259 | }, {\r | |
260 | text: 'Cover Up',\r | |
261 | view: 'CoverUp',\r | |
262 | id: 'CoverUp',\r | |
263 | animation: {\r | |
264 | type: 'cover',\r | |
265 | direction: 'up'\r | |
266 | },\r | |
267 | leaf: true\r | |
268 | }, {\r | |
269 | text: 'Cover Down',\r | |
270 | id: 'CoverDown',\r | |
271 | view: 'CoverDown',\r | |
272 | animation: {\r | |
273 | type: 'cover',\r | |
274 | direction: 'down'\r | |
275 | },\r | |
276 | leaf: true\r | |
277 | }]\r | |
278 | }, {\r | |
279 | text: 'Reveal',\r | |
280 | id: 'Reveal',\r | |
281 | items: [{\r | |
282 | text: 'Reveal Left',\r | |
283 | id: 'RevealLeft',\r | |
284 | view: 'RevealLeft',\r | |
285 | animation: {\r | |
286 | type: 'reveal'\r | |
287 | },\r | |
288 | leaf: true\r | |
289 | }, {\r | |
290 | text: 'Reveal Right',\r | |
291 | id: 'RevealRight',\r | |
292 | view: 'RevealRight',\r | |
293 | animation: {\r | |
294 | direction: 'right',\r | |
295 | type: 'reveal'\r | |
296 | },\r | |
297 | leaf: true\r | |
298 | }, {\r | |
299 | text: 'Reveal Up',\r | |
300 | id: 'RevealUp',\r | |
301 | view: 'RevealUp',\r | |
302 | animation: {\r | |
303 | direction: 'up',\r | |
304 | type: 'reveal'\r | |
305 | },\r | |
306 | leaf: true\r | |
307 | }, {\r | |
308 | text: 'Reveal Down',\r | |
309 | id: 'RevealDown',\r | |
310 | view: 'RevealDown',\r | |
311 | animation: {\r | |
312 | direction: 'down',\r | |
313 | type: 'reveal'\r | |
314 | },\r | |
315 | leaf: true\r | |
316 | }]\r | |
317 | }, {\r | |
318 | text: 'Pop',\r | |
319 | id: 'Pop',\r | |
320 | animation: {\r | |
321 | type: 'pop'\r | |
322 | },\r | |
323 | leaf: true\r | |
324 | }, {\r | |
325 | text: 'Flip',\r | |
326 | id: 'Flip',\r | |
327 | animation: {\r | |
328 | type: 'flip'\r | |
329 | },\r | |
330 | leaf: true\r | |
331 | }]\r | |
332 | }, {\r | |
333 | text: 'Touch Events',\r | |
334 | id: 'touchevents',\r | |
335 | view: 'TouchEvents',\r | |
336 | leaf: true\r | |
337 | }, {\r | |
338 | text: 'Data',\r | |
339 | id: 'data',\r | |
340 | items: [{\r | |
341 | text: 'Nested Loading',\r | |
342 | view: 'NestedLoading',\r | |
343 | leaf: true,\r | |
344 | id: 'nestedloading'\r | |
345 | }, {\r | |
346 | text: 'JSONP',\r | |
347 | leaf: true,\r | |
348 | id: 'jsonp'\r | |
349 | }, {\r | |
350 | text: 'YQL',\r | |
351 | leaf: true,\r | |
352 | id: 'yql'\r | |
353 | }, {\r | |
354 | text: 'Ajax',\r | |
355 | leaf: true,\r | |
356 | id: 'ajax'\r | |
357 | }]\r | |
358 | }, {\r | |
359 | text: 'Media',\r | |
360 | id: 'media',\r | |
361 | items: [{\r | |
362 | text: 'Video',\r | |
363 | leaf: true,\r | |
364 | id: 'video'\r | |
365 | }, {\r | |
366 | text: 'Audio',\r | |
367 | leaf: true,\r | |
368 | id: 'audio'\r | |
369 | }]\r | |
370 | }, {\r | |
371 | text: 'Themes',\r | |
372 | id: 'theme',\r | |
373 | items: [{\r | |
374 | text: 'Auto Detect',\r | |
375 | leaf: true,\r | |
376 | id: 'autotheme',\r | |
377 | profileName: ''\r | |
378 | //}, {\r | |
379 | // text: 'BlackBerry 10',\r | |
380 | // leaf: true,\r | |
381 | // id: 'bbtheme',\r | |
382 | // profileName: 'blackberry'\r | |
383 | }, {\r | |
384 | text: 'Cupertino',\r | |
385 | view: 'ThemeCupertino',\r | |
386 | leaf: true,\r | |
387 | id: 'cupertinotheme',\r | |
388 | profileName: 'cupertino'\r | |
389 | }, {\r | |
390 | text: 'Mountain View',\r | |
391 | leaf: true,\r | |
392 | id: 'mountainviewtheme',\r | |
393 | profileName: 'mountainview'\r | |
394 | }, {\r | |
395 | text: 'Modern Neptune',\r | |
396 | leaf: true,\r | |
397 | id: 'modernneptunetheme',\r | |
398 | profileName: 'modern-neptune'\r | |
399 | }, {\r | |
400 | text: 'Modern Triton',\r | |
401 | leaf: true,\r | |
402 | id: 'moderntritontheme',\r | |
403 | profileName: 'modern-triton'\r | |
404 | }, {\r | |
405 | text: 'Windows',\r | |
406 | leaf: true,\r | |
407 | id: 'windowstheme',\r | |
408 | profileName: 'windows'\r | |
409 | }, {\r | |
410 | text: 'Neptune',\r | |
411 | leaf: true,\r | |
412 | id: 'neptunetheme',\r | |
413 | profileName: 'neptune'\r | |
414 | }, {\r | |
415 | text: 'Neptune Touch',\r | |
416 | leaf: true,\r | |
417 | id: 'neptunetouchtheme',\r | |
418 | profileName: 'neptune-touch'\r | |
419 | }, {\r | |
420 | text: 'Crisp',\r | |
421 | leaf: true,\r | |
422 | id: 'crisptheme',\r | |
423 | profileName: 'crisp'\r | |
424 | }, {\r | |
425 | text: 'Crisp Touch',\r | |
426 | leaf: true,\r | |
427 | id: 'crisptouchtheme',\r | |
428 | profileName: 'crisp-touch'\r | |
429 | }, {\r | |
430 | text: 'Classic',\r | |
431 | leaf: true,\r | |
432 | id: 'classictheme',\r | |
433 | profileName: 'classic'\r | |
434 | }, {\r | |
435 | text: 'Gray',\r | |
436 | leaf: true,\r | |
437 | id: 'graytheme',\r | |
438 | profileName: 'gray'\r | |
439 | }]\r | |
440 | }, {\r | |
441 | text: 'Graphics',\r | |
442 | id: 'graphics',\r | |
443 | items: [{\r | |
444 | text: 'Cartesian Charts',\r | |
445 | id: 'CartesianChart',\r | |
446 | items: [{\r | |
447 | text: 'Column Chart',\r | |
448 | view: 'chart.Column',\r | |
449 | leaf: true,\r | |
450 | id: 'chart-column',\r | |
451 | limit: 1\r | |
452 | }, {\r | |
453 | text: 'Area Chart',\r | |
454 | view: 'chart.Area',\r | |
455 | leaf: true,\r | |
456 | id: 'chart-area',\r | |
457 | limit: 1\r | |
458 | }, {\r | |
459 | text: 'Line Chart (zoomable)',\r | |
460 | view: 'chart.Line',\r | |
461 | leaf: true,\r | |
462 | id: 'chart-line',\r | |
463 | limit: 1\r | |
464 | }, {\r | |
465 | text: 'Line Chart (with icons)',\r | |
466 | view: 'chart.LineWithMarker',\r | |
467 | leaf: true,\r | |
468 | id: 'chart-linewithmarker',\r | |
469 | limit: 1\r | |
470 | }, {\r | |
471 | text: 'Line Chart (with renderer)',\r | |
472 | view: 'chart.LineWithRenderer',\r | |
473 | leaf: true,\r | |
474 | id: 'chart-linewithrenderer',\r | |
475 | limit: 1\r | |
476 | }, {\r | |
477 | text: 'Column Chart (with renderer)',\r | |
478 | view: 'chart.ColumnWithRenderer',\r | |
479 | leaf: true,\r | |
480 | id: 'chart-columnwithrenderer',\r | |
481 | limit: 1\r | |
482 | }, {\r | |
483 | text: 'Bar Chart',\r | |
484 | view: 'chart.Bar',\r | |
485 | leaf: true,\r | |
486 | id: 'chart-bar',\r | |
487 | limit: 1\r | |
488 | }, {\r | |
489 | text: 'Column Chart (stacked)',\r | |
490 | view: 'chart.ColumnStacked',\r | |
491 | leaf: true,\r | |
492 | id: 'chart-columnstacked',\r | |
493 | limit: 1\r | |
494 | }, {\r | |
495 | text: 'Column Chart (3D)',\r | |
496 | view: 'chart.Column3D',\r | |
497 | leaf: true,\r | |
498 | id: 'chart-column3d',\r | |
499 | limit: 1\r | |
500 | }, {\r | |
501 | text: 'Scatter Chart',\r | |
502 | view: 'chart.Scatter',\r | |
503 | leaf: true,\r | |
504 | id: 'chart-scatter',\r | |
505 | limit: 1\r | |
506 | }, {\r | |
507 | text: 'Candlestick Chart',\r | |
508 | view: 'chart.Candlestick',\r | |
509 | leaf: true,\r | |
510 | id: 'chart-candlestick',\r | |
511 | limit: 1\r | |
512 | }, {\r | |
513 | text: 'OHLC Chart',\r | |
514 | view: 'chart.OHLC',\r | |
515 | leaf: true,\r | |
516 | id: 'chart-ohlc',\r | |
517 | limit: 1\r | |
518 | }, {\r | |
519 | text: 'Plot Chart',\r | |
520 | view: 'chart.Plot',\r | |
521 | leaf: true,\r | |
522 | id: 'chart-plot',\r | |
523 | limit: 1\r | |
524 | }, {\r | |
525 | text: 'Bubble Chart',\r | |
526 | view: 'chart.Bubble',\r | |
527 | leaf: true,\r | |
528 | id: 'chart-bubble',\r | |
529 | limit: 1\r | |
530 | }]\r | |
531 | }, {\r | |
532 | text: 'Polar Charts',\r | |
533 | id: 'PolarChart',\r | |
534 | items: [{\r | |
535 | text: 'Pie Chart',\r | |
536 | view: 'chart.Pie',\r | |
537 | leaf: true,\r | |
538 | id: 'chart-pie',\r | |
539 | limit: 1\r | |
540 | }, {\r | |
541 | text: 'Pie Chart (3D)',\r | |
542 | view: 'chart.Pie3D',\r | |
543 | leaf: true,\r | |
544 | id: 'chart-pie3d',\r | |
545 | limit: 1\r | |
546 | }, {\r | |
547 | text: 'Radar Chart',\r | |
548 | view: 'chart.Radar',\r | |
549 | leaf: true,\r | |
550 | id: 'chart-radar',\r | |
551 | limit: 1\r | |
552 | }, {\r | |
553 | text: 'Gauge Chart',\r | |
554 | view: 'chart.Gauge',\r | |
555 | leaf: true,\r | |
556 | id: 'chart-gauge',\r | |
557 | limit: 1\r | |
558 | }]\r | |
559 | }, {\r | |
560 | text: 'Draw Component',\r | |
561 | id: 'Draw',\r | |
562 | items: [{\r | |
563 | text: 'Touch Paint',\r | |
564 | view: 'FreeDraw',\r | |
565 | leaf: true,\r | |
566 | id: 'FreeDraw',\r | |
567 | limit: 1\r | |
568 | }, {\r | |
569 | text: 'Vector Icons',\r | |
570 | view: 'VectorIcons',\r | |
571 | leaf: true,\r | |
572 | id: 'VectorIcons',\r | |
573 | limit: 1\r | |
574 | }]\r | |
575 | }]\r | |
576 | } , {\r | |
577 | text: 'Enterprise',\r | |
578 | id: 'enterprise',\r | |
579 | items: [\r | |
580 | {\r | |
581 | text: 'AMF0 format',\r | |
582 | view: 'AMF0',\r | |
583 | leaf: true,\r | |
584 | id: 'amf-zero'\r | |
585 | },{\r | |
586 | text: 'AMF3 format',\r | |
587 | view: 'AMF3',\r | |
588 | leaf: true,\r | |
589 | id: 'amf-three'\r | |
590 | }, {\r | |
591 | text: 'SOAP',\r | |
592 | leaf: true,\r | |
593 | id: 'soap'\r | |
594 | }\r | |
595 | ]\r | |
596 | }]\r | |
597 | }\r | |
598 | }\r | |
599 | });\r |