summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source/packages.php
blob: b9b4c7bfd3aa55586bb9927918abef1fbd0f6778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php

//$Id$

// To make future upgrades easier
if (!defined('PROTOTYPE_DIR')) define ('PROTOTYPE_DIR', 'prototype-1.6.0.3');
if (!defined('SCRIPTACULOUS_DIR')) define ('SCRIPTACULOUS_DIR', 'scriptaculous-1.8.2');

//package names and its contents (files relative to the current directory)
$packages = array(
	'prado' => array(
		PROTOTYPE_DIR.'/prototype.js',
		SCRIPTACULOUS_DIR.'/builder.js',
		'prado/prado.js',
		'prado/scriptaculous-adapter.js',
		'prado/controls/controls.js',
		'prado/ratings/ratings.js',
	),

	'effects' => array(
		SCRIPTACULOUS_DIR.'/effects.js'
	),

	'logger' => array(
		'prado/logger/logger.js',
	),

	'validator' => array(
		'prado/validator/validation3.js'
	),

	'datepicker' => array(
		'prado/datepicker/datepicker.js'
	),

	'colorpicker' => array(
		'prado/colorpicker/colorpicker.js'
	),

	'ajax' => array(
		SCRIPTACULOUS_DIR.'/controls.js',
		'prado/activecontrols/json.js',
		'prado/activecontrols/ajax3.js',
		'prado/activecontrols/activecontrols3.js',
		'prado/activecontrols/inlineeditor.js'
	),

	'dragdrop'=>array(
		SCRIPTACULOUS_DIR.'/dragdrop.js',
		'prado/activecontrols/dragdrop.js'
	),

	'slider'=>array(
		'prado/controls/slider.js'
	),

	'keyboard'=>array(
		'prado/controls/keyboard.js'
	),

	'tabpanel'=>array(
		'prado/controls/tabpanel.js'
	),
	
	'activedatepicker' => array(
		'prado/activecontrols/activedatepicker.js'
	),
	
	'activefileupload' => array(
		'prado/activefileupload/activefileupload.js'
	),
	
);


//package names and their dependencies
$dependencies = array(
		'prado'				=> array('prado'),
		'effects'			=> array('prado', 'effects'),
		'validator'			=> array('prado', 'validator'),
		'logger'			=> array('prado', 'logger'),
		'datepicker'		=> array('prado', 'datepicker'),
		'colorpicker'		=> array('prado', 'colorpicker'),
		'ajax'				=> array('prado', 'effects', 'ajax'),
		'dragdrop'			=> array('prado', 'effects', 'ajax', 'dragdrop'),
		'slider'			=> array('prado', 'slider'),
		'keyboard'			=> array('prado', 'keyboard'),
		'tabpanel'			=> array('prado', 'tabpanel'),
		'activedatepicker' 	=> array('datepicker', 'ajax', 'activedatepicker'),
		'activefileupload' 	=> array('prado', 'ajax', 'activefileupload'),
);

return array($packages, $dependencies);