source: ore.yui/trunk/src/ore/yui/reslib.zcml @ 2320

Last change on this file since 2320 was 2320, checked in by cledermann, 9 years ago

update to latest yui 2.8.0r4

File size: 20.3 KB
Line 
1<?xml version="1.0"?>
2<configure
3   xmlns="http://namespaces.zope.org/zope"
4   xmlns:browser="http://namespaces.zope.org/browser"
5   xmlns:zcml="http://namespaces.zope.org/zcml"
6   >
7
8  <include package="zc.resourcelibrary" file="meta.zcml"/>
9  <include package="zc.resourcelibrary" />
10
11
12  <!-- YAHOO Global Object -->
13  <!--resourceLibrary name="yui-min">
14    <directory
15       zcml:condition="not-have devmode"
16       source="resources"
17       include="build/yahoo/yahoo-min.js"
18       />
19    <directory
20       zcml:condition="have devmode"
21       source="resources"
22       include="build/yahoo/yahoo.js"
23       />       
24  </resourceLibrary-->   
25 
26 
27  <!-- Dom Collection -->
28 
29  <!--resourceLibrary name="yui-dom">
30    <directory
31       zcml:condition="have devmode"
32       source="resources"
33       include="build/dom/dom-min.js"       
34       />
35    <directory
36       zcml:condition="not-have devmode"
37       source="resources"
38       include="build/dom/dom.js"
39       />
40  </resourceLibrary--> 
41   
42  <!-- Event Utility -->
43  <!--resourceLibrary name="yui-event" require="yui-min">
44    <directory
45       zcml:condition="not-have devmode"
46       source="resources"
47       include="build/event/event-min.js"               
48       />
49    <directory
50       zcml:condition="have devmode"
51       source="resources"
52       include="build/event/event.js"               
53       />
54  </resourceLibrary-->   
55 
56
57
58<!-- The yahoo-event-dom.js file rolls up the three most commonly-used YUI Utilities
59into a single file; it includes the following files:
60
61* Yahoo Global Object
62* Dom
63* Event -->
64
65
66  <resourceLibrary name="yui-core">
67    <directory
68       zcml:condition="not-have devmode"
69       source="resources"
70       include="build/yahoo-dom-event/yahoo-dom-event.js"       
71       />
72    <directory
73       zcml:condition="have devmode"
74       source="resources"
75       include="build/yahoo/yahoo.js
76                build/dom/dom.js
77                build/event/event.js"       
78       />
79  </resourceLibrary>
80 
81   
82  <!-- Logger -->
83   
84  <resourceLibrary name="yui-logger" require="yui-core">
85    <directory
86       zcml:condition="not-have devmode"
87       source="resources"
88       include="build/logger/logger-min.js
89                build/logger/assets/skins/sam/logger.css"
90       />
91    <directory
92       zcml:condition="have devmode"
93       source="resources"
94       include="build/logger/logger.js
95                build/logger/assets/skins/sam/logger.css"
96       />       
97  </resourceLibrary>
98 
99 
100
101 
102  <!-- JSON Utility -->
103  <resourceLibrary name="yui-json" require="yui-core">
104    <directory
105       zcml:condition="not-have devmode"
106       source="resources"
107       include="build/json/json-min.js"
108       />
109    <directory
110       zcml:condition="have devmode"
111       source="resources"
112       include="build/json/json.js"
113       />       
114  </resourceLibrary> 
115 
116 
117 
118  <resourceLibrary name="yui-autocomplete" require="yui-core yui-connection">
119    <directory
120       zcml:condition="not-have devmode"
121       source="resources"
122       include="build/autocomplete/autocomplete-min.js
123                build/autocomplete/assets/skins/sam/autocomplete.css"
124       />
125    <directory
126       zcml:condition="have devmode"
127       source="resources"
128       include="build/autocomplete/autocomplete.js
129                build/autocomplete/assets/skins/sam/autocomplete.css"
130       />       
131  </resourceLibrary>
132   
133  <resourceLibrary name="yui-css">
134      <directory
135          source="resources"
136          include="build/reset-fonts-grids/reset-fonts-grids.css
137                  build/base/base-min.css"/>
138  </resourceLibrary>
139 
140  <resourceLibrary name="yui-calendar" require="yui-core">
141    <directory
142       zcml:condition="not-have devmode"
143       source="resources"
144       include="build/calendar/calendar-min.js
145                build/calendar/assets/skins/sam/calendar.css"
146       />
147    <directory
148       zcml:condition="have devmode"
149       source="resources"
150       include="build/calendar/calendar.js
151                build/calendar/assets/skins/sam/calendar.css"
152       />       
153  </resourceLibrary> 
154
155  <!--  TreeView -->
156
157  <resourceLibrary name="yui-tree" require="yui-core">
158    <directory
159       zcml:condition="not-have devmode"
160       source="resources"
161       include="build/treeview/treeview-min.js
162                build/treeview/assets/skins/sam/treeview.css"
163       />
164    <directory
165       zcml:condition="have devmode"
166       source="resources"
167       include="build/treeview/treeview.js
168                build/treeview/assets/skins/sam/treeview.css"
169       />       
170  </resourceLibrary>
171
172  <!-- TabView -->
173
174  <resourceLibrary name="yui-tab" require="yui-core yui-element">
175    <directory
176       zcml:condition="not-have devmode"
177       source="resources"
178       include="build/tabview/tabview-min.js
179                build/tabview/assets/skins/sam/tabview.css"
180       />
181    <directory
182       zcml:condition="have devmode"
183       source="resources"
184       include="build/tabview/tabview.js
185                build/tabview/assets/skins/sam/tabview.css"
186       />       
187  </resourceLibrary>
188 
189 <!-- Element Utility -->
190  <resourceLibrary name="yui-element" require="yui-core">
191    <directory
192       zcml:condition="not-have devmode"
193       source="resources"
194       include="build/element/element-min.js"
195       />
196    <directory
197       zcml:condition="have devmode"
198       source="resources"
199       include="build/element/element.js"
200       />       
201  </resourceLibrary>
202
203
204  <!-- Selector Utility -->
205 
206  <resourceLibrary name="yui-selector" require="yui-core">
207    <directory
208       zcml:condition="not-have devmode"
209       source="resources"
210       include="build/selector/selector-min.js"
211       />
212    <directory
213       zcml:condition="have devmode"
214       source="resources"
215       include="build/selector/selector.js"
216       />       
217  </resourceLibrary>
218
219  <!--resourceLibrary name="yui-selector" require="yui-core">
220    <directory
221       zcml:condition="not-have devmode"
222       source="resources"
223       include="build/selector/selector-beta-min.js"
224       />
225    <directory
226       zcml:condition="have devmode"
227       source="resources"
228       include="build/selector-bets/selector.js"
229       />       
230  </resourceLibrary-->
231
232
233  <resourceLibrary name="yui-button" require="yui-core yui-element">
234    <directory
235       zcml:condition="not-have devmode"
236       source="resources"
237       include="build/button/assets/skins/sam/button.css
238                build/button/button-min.js"
239       />
240    <directory
241       zcml:condition="have devmode"
242       source="resources"
243       include="build/button/assets/skins/sam/button.css
244                build/button/button.js"       
245       />       
246  </resourceLibrary> 
247
248  <!-- Container -->
249  <resourceLibrary name="yui-container" require="yui-core">
250    <directory
251       zcml:condition="not-have devmode"
252       source="resources"
253       include="build/container/container-min.js
254                build/container/assets/skins/sam/container.css"
255       />
256    <directory
257       zcml:condition="have devmode"
258       source="resources"
259       include="build/container/container.js
260                build/container/assets/skins/sam/container.css"
261       />       
262  </resourceLibrary>
263 
264  <!-- Menu -->
265  <resourceLibrary name="yui-menu" require="yui-core yui-container">
266    <directory
267       zcml:condition="not-have devmode"
268       source="resources"
269       include="build/menu/menu-min.js
270                build/treeview/assets/skins/sam/menu.css"
271       />
272    <directory
273       zcml:condition="have devmode"
274       source="resources"
275       include="build/menu/menu.js
276                build/menu/assets/skins/sam/menu.css"
277       />       
278  </resourceLibrary>
279 
280 <!-- simple editor -->
281  <resourceLibrary name="yui-editor" require="yui-container yui-element yui-core">
282   
283    <directory
284       zcml:condition="not-have devmode"
285       source="resources"
286       include="build/editor/simpleeditor-min.js
287                build/editor/assets/skins/sam/simpleeditor.css"
288       />
289    <directory
290       zcml:condition="have devmode"
291       source="resources"
292       include="build/editor/simpleeditor.js
293                build/editor/assets/skins/sam/simpleeditor.css"
294       />       
295  </resourceLibrary>
296 
297 
298  <!--resourceLibrary name="yui-editor" require="yui-container yui-element yui-core">
299    <directory
300       zcml:condition="not-have devmode"
301       source="resources"
302       include="build/editor/simpleeditor-beta-min.js
303                build/editor/assets/skins/sam/simpleeditor.css"
304       />
305    <directory
306       zcml:condition="have devmode"
307       source="resources"
308       include="build/editor/simpleeditor-beta.js
309                build/editor/assets/skins/sam/simpleeditor.css"
310       />       
311  </resourceLibrary-->   
312 
313
314
315  <!-- Connection Manager -->
316
317  <resourceLibrary name="yui-connection" require="yui-core">
318    <directory
319       zcml:condition="not-have devmode"
320       source="resources"
321       include="build/connection/connection-min.js"
322       />
323    <directory
324       zcml:condition="have devmode"
325       source="resources"
326       include="build/connection/connection.js"
327       />       
328  </resourceLibrary>
329
330  <resourceLibrary name="yui-utilities">
331    <directory
332       source="resources"
333       include="build/utilities/utilities.js"
334       />
335  </resourceLibrary>
336
337  <!-- DataTable -->
338  <resourceLibrary name="yui-datatable" require="yui-element yui-connection yui-datasource yui-core">
339    <directory
340       zcml:condition="not-have devmode"
341       source="resources"
342       include="build/datatable/datatable-min.js
343                build/datatable/assets/skins/sam/datatable.css"
344       />
345    <directory
346       zcml:condition="have devmode"
347       source="resources"
348       include="build/datatable/datatable.js
349                build/datatable/assets/skins/sam/datatable.css"
350       />       
351  </resourceLibrary>
352 
353 
354  <!--resourceLibrary name="yui-datatable" require="yui-element yui-connection yui-datasource yui-core">
355    <directory
356       zcml:condition="not-have devmode"
357       source="resources"
358       include="build/datatable/datatable-beta-min.js
359                build/datatable/assets/skins/sam/datatable.css"
360       />
361    <directory
362       zcml:condition="have devmode"
363       source="resources"
364       include="build/datatable/datatable-beta.js
365                build/datatable/assets/skins/sam/datatable.css"
366       />       
367  </resourceLibrary-->
368
369  <!-- DataSource -->
370  <resourceLibrary name="yui-datasource">
371    <directory
372       zcml:condition="not-have devmode"
373       source="resources"
374       include="build/datasource/datasource-min.js"
375       />
376    <directory
377       zcml:condition="have devmode"
378       source="resources"
379       include="build/datasource/datasource.js"
380       />       
381  </resourceLibrary>
382 
383   <!--resourceLibrary name="yui-datasource">
384    <directory
385       zcml:condition="not-have devmode"
386       source="resources"
387       include="build/datasource/datasource-min.js"
388       />
389    <directory
390       zcml:condition="have devmode"
391       source="resources"
392       include="build/datasource/datasource.js"
393       />       
394  </resourceLibrary-->
395 
396 
397  <!-- Rich Text Editor -->
398   
399    <!-- the sam skin.css obsoletes all the other css downloads its about 96k though -->   
400  <resourceLibrary name="yui-rte" require="yui-container yui-menu yui-element yui-button yui-core">
401
402    <directory
403       zcml:condition="not-have devmode"
404       source="resources"
405       include="build/editor/editor-min.js
406                build/assets/skins/sam/skin.css"
407       />
408    <directory
409       zcml:condition="have devmode"
410       source="resources"
411       include="build/editor/editor.js
412                build/assets/skins/sam/skin.css"
413       />       
414  </resourceLibrary> 
415 
416  <!--resourceLibrary name="yui-rte" require="yui-container yui-menu yui-element yui-button yui-core">
417
418    <directory
419       zcml:condition="not-have devmode"
420       source="resources"
421       include="build/editor/editor-beta-min.js
422                build/assets/skins/sam/skin.css"
423       />
424    <directory
425       zcml:condition="have devmode"
426       source="resources"
427       include="build/editor/editor-beta.js
428                build/assets/skins/sam/skin.css"
429       />       
430  </resourceLibrary-->   
431
432  <!-- Drag and drop -->
433  <resourceLibrary name="yui-dragdrop" require="yui-core">
434    <directory
435       zcml:condition="not-have devmode"
436       source="resources"
437       include="build/dragdrop/dragdrop-min.js"
438       />
439    <directory
440       zcml:condition="have devmode"
441       source="resources"
442       include="build/dragdrop/dragdrop.js"
443       />
444  </resourceLibrary>
445 
446  <!-- Animation -->
447  <resourceLibrary name="yui-animation" require="yui-core">
448    <directory
449       zcml:condition="not-have devmode"
450       source="resources"
451       include="build/animation/animation-min.js"
452       />
453    <directory
454       zcml:condition="have devmode"
455       source="resources"
456       include="build/animation/animation.js"
457       />
458  </resourceLibrary>
459 
460  <!-- Resize Utility --> 
461   <resourceLibrary name="yui-resize" require="yui-core yui-dragdrop yui-element yui-animation">
462    <directory
463       zcml:condition="not-have devmode"
464       source="resources"
465       include="build/resize/resize-min.js
466                build/resize/assets/skins/sam/resize.css"
467       />
468    <directory
469       zcml:condition="have devmode"
470       source="resources"
471       include="build/resize/resize.js
472                build/resize/assets/skins/sam/resize.css"
473       />
474  </resourceLibrary>
475
476   <!--resourceLibrary name="yui-resize" require="yui-core yui-dragdrop yui-element yui-animation">
477    <directory
478       zcml:condition="not-have devmode"
479       source="resources"
480       include="build/resize/resize-beta-min.js
481                build/resize/assets/skins/sam/resize.css"
482       />
483    <directory
484       zcml:condition="have devmode"
485       source="resources"
486       include="build/resize/resize-beta.js
487                build/resize/assets/skins/sam/resize.css"
488       />
489  </resourceLibrary--> 
490 
491  <!-- Browser History Manager -->
492  <resourceLibrary name="yui-history" require="yui-core">
493    <directory
494       zcml:condition="not-have devmode"
495       source="resources"
496       include="build/history/history-min.js"               
497       />
498    <directory
499       zcml:condition="have devmode"
500       source="resources"
501       include="build/history/history.js"               
502       />
503  </resourceLibrary> 
504 
505  <!-- Carousel Control -->
506 
507 <resourceLibrary name="yui-carousel" require="yui-core yui-element yui-connection yui-animation">
508    <directory
509       zcml:condition="not-have devmode"
510       source="resources"
511       include="build/carousel/carousel-beta-min.js
512                build/carousel/assets/skins/sam/carousel.css"
513       />
514    <directory
515       zcml:condition="have devmode"
516       source="resources"
517       include="build/carousel/carousel-beta.js
518                build/carousel/assets/skins/sam/carousel.css"
519       />
520  </resourceLibrary> 
521 
522  <!--  Charts -->
523 
524 <resourceLibrary name="yui-charts" require="yui-core yui-datasource yui-element yui-json yui-connection">
525    <directory
526       zcml:condition="not-have devmode"
527       source="resources"
528       include="build/charts/charts-experimental-min.js"
529       />
530    <directory
531       zcml:condition="have devmode"
532       source="resources"
533       include="build/charts/charts-experimental-min.js"
534       />
535  </resourceLibrary>     
536 
537  <!-- Color Picker Control -->
538   <resourceLibrary name="yui-colorpicker" require="yui-utilities yui-slider">
539    <directory
540       zcml:condition="not-have devmode"
541       source="resources"
542       include="build/colorpicker/colorpicker-min.js
543                build/colorpicker/assets/skins/sam/colorpicker.css"
544       />
545    <directory
546       zcml:condition="have devmode"
547       source="resources"
548       include="build/colorpicker/colorpicker-min.js
549                build/colorpicker/assets/skins/sam/colorpicker.css"
550       />
551  </resourceLibrary> 
552 
553 <!--  Cookie Utility -->
554  <resourceLibrary name="yui-cookie" require="yui-core">
555    <directory
556       zcml:condition="not-have devmode"
557       source="resources"
558       include="build/cookie/cookie-min.js"               
559       />
560    <directory
561       zcml:condition="have devmode"
562       source="resources"
563       include="build/cookie/cookie.js"               
564       />
565  </resourceLibrary> 
566     
567
568  <!--  Get Utility -->
569
570  <resourceLibrary name="yui-get" require="yui-core">
571    <directory
572       zcml:condition="not-have devmode"
573       source="resources"
574       include="build/get/get-min.js"               
575       />
576    <directory
577       zcml:condition="have devmode"
578       source="resources"
579       include="build/get/get.js"               
580       />
581  </resourceLibrary>   
582 
583  <!-- ImageCropper -->       
584 
585   <resourceLibrary name="yui-imagecropper" require="yui-core yui-dragdrop yui-element yui-resize">
586    <directory
587       zcml:condition="not-have devmode"
588       source="resources"
589       include="build/imagecropper/imagecropper-beta-min.js
590                build/assets/skins/sam/imagecropper.css"
591       />
592    <directory
593       zcml:condition="have devmode"
594       source="resources"
595       include="build/imagecropper/imagecropper-beta-min.js
596                build/assets/skins/sam/imagecropper.css"
597       />
598  </resourceLibrary> 
599 
600  <!-- ImageLoader Utility -->
601 
602  <resourceLibrary name="yui-imageloader" require="yui-core">
603    <directory
604       zcml:condition="not-have devmode"
605       source="resources"
606       include="build/imageloader/imageloader-min.js"               
607       />
608    <directory
609       zcml:condition="have devmode"
610       source="resources"
611       include="build/imageloader/imageloader.js"               
612       />
613  </resourceLibrary>     
614 
615  <!-- Layout Manager -->
616
617   <resourceLibrary name="yui-layout" require="yui-core yui-dragdrop yui-element yui-animation yui-resize">
618    <directory
619       zcml:condition="not-have devmode"
620       source="resources"
621       include="build/layout/layout-min.js
622                build/assets/skins/sam/layout.css"
623       />
624    <directory
625       zcml:condition="have devmode"
626       source="resources"
627       include="build/layout/layout.js
628                build/assets/skins/sam/layout.css"
629       />
630  </resourceLibrary>   
631 
632 
633  <!-- Paginator -->
634   <resourceLibrary name="yui-paginator" require="yui-core yui-element">
635    <directory
636       zcml:condition="not-have devmode"
637       source="resources"
638       include="build/paginator/paginator-min.js
639                build/paginator/assets/skins/sam/paginator.css"
640       />
641    <directory
642       zcml:condition="have devmode"
643       source="resources"
644       include="build/paginator/paginator.js
645                build/paginator/assets/skins/sam/paginator.css"
646       />
647  </resourceLibrary>     
648
649  <!-- Profiler -->
650  <resourceLibrary name="yui-profiler" require="yui-core">
651    <directory
652       zcml:condition="not-have devmode"
653       source="resources"
654       include="build/profiler/profiler-min.js"               
655       />
656    <directory
657       zcml:condition="have devmode"
658       source="resources"
659       include="build/profiler/profiler.js"               
660       />
661  </resourceLibrary>
662   
663  <!--  ProfilerViewer Control TODO-->
664
665     
666  <!-- Slider -->
667   <resourceLibrary name="yui-slider" require="yui-core yui-dragdrop">
668    <directory
669       zcml:condition="not-have devmode"
670       source="resources"
671       include="build/slider/slider-min.js
672                build/slider/assets/skins/sam/slider.css"
673       />
674    <directory
675       zcml:condition="have devmode"
676       source="resources"
677       include="build/slider/slider.js
678                build/slider/assets/skins/sam/slider.css"
679       />
680  </resourceLibrary>         
681 
682  <!-- Uploader -->
683   <resourceLibrary name="yui-uploader" require="yui-core yui-element">
684    <directory
685       zcml:condition="not-have devmode"
686       source="resources"
687       include="build/uploader/uploader-experimental-min.js"
688       />
689    <directory
690       zcml:condition="have devmode"
691       source="resources"
692       include="build/uploader/uploader-experimental-min.js"
693       />
694  </resourceLibrary>       
695
696  <!-- YUI Loader Utility -->
697     
698  <resourceLibrary name="yui-loader">
699    <directory
700       zcml:condition="not-have devmode"
701       source="resources"
702       include="build/yuiloader/yuiloader-min.js"
703       />
704    <directory
705       zcml:condition="have devmode"
706       source="resources"
707       include="build/yuiloader/yuiloader-min.js"
708       />
709  </resourceLibrary>     
710 
711 
712</configure>
Note: See TracBrowser for help on using the repository browser.