jquery-ui-rails 0.0.1
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.
- data/.gitmodules +3 -0
- data/Gemfile +3 -0
- data/README.md +1 -0
- data/Rakefile +77 -0
- data/dependencies.js +1 -0
- data/jquery-ui-rails.gemspec +23 -0
- data/lib/jquery-ui-rails.rb +1 -0
- data/lib/jquery/ui/rails.rb +2 -0
- data/lib/jquery/ui/rails/engine.rb +8 -0
- data/lib/jquery/ui/rails/version.rb +7 -0
- data/vendor/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui.js +31 -0
- data/vendor/assets/javascripts/jquery-uix.js +31 -0
- data/vendor/assets/javascripts/jquery.effects.blind.js +52 -0
- data/vendor/assets/javascripts/jquery.effects.bounce.js +81 -0
- data/vendor/assets/javascripts/jquery.effects.clip.js +57 -0
- data/vendor/assets/javascripts/jquery.effects.core.js +764 -0
- data/vendor/assets/javascripts/jquery.effects.drop.js +53 -0
- data/vendor/assets/javascripts/jquery.effects.explode.js +82 -0
- data/vendor/assets/javascripts/jquery.effects.fade.js +35 -0
- data/vendor/assets/javascripts/jquery.effects.fold.js +59 -0
- data/vendor/assets/javascripts/jquery.effects.highlight.js +53 -0
- data/vendor/assets/javascripts/jquery.effects.pulsate.js +54 -0
- data/vendor/assets/javascripts/jquery.effects.scale.js +181 -0
- data/vendor/assets/javascripts/jquery.effects.shake.js +60 -0
- data/vendor/assets/javascripts/jquery.effects.slide.js +53 -0
- data/vendor/assets/javascripts/jquery.effects.transfer.js +48 -0
- data/vendor/assets/javascripts/jquery.ui.accordion.js +615 -0
- data/vendor/assets/javascripts/jquery.ui.autocomplete.js +627 -0
- data/vendor/assets/javascripts/jquery.ui.button.js +420 -0
- data/vendor/assets/javascripts/jquery.ui.core.js +315 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-af.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ar-DZ.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ar.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-az.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-bg.js +27 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-bs.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ca.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-cs.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-cy-GB.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-da.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-de.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-el.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-en-AU.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-en-GB.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-en-NZ.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-eo.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-es.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-et.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-eu.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-fa.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-fi.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-fo.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-fr-CH.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-fr.js +28 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-gl.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-he.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-hr.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-hu.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-hy.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-id.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-is.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-it.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ja.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-kk.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ko.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-lb.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-lt.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-lv.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-mk.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ml.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ms.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-nl-BE.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-nl.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-no.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-pl.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-pt-BR.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-pt.js +25 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-rm.js +24 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ro.js +29 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ru.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-sk.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-sl.js +27 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-sq.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-sr-SR.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-sr.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-sv.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-ta.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-th.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-tj.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-tr.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-uk.js +27 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-vi.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-CN.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-HK.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-TW.js +26 -0
- data/vendor/assets/javascripts/jquery.ui.datepicker.js +1826 -0
- data/vendor/assets/javascripts/jquery.ui.dialog.js +883 -0
- data/vendor/assets/javascripts/jquery.ui.draggable.js +830 -0
- data/vendor/assets/javascripts/jquery.ui.droppable.js +302 -0
- data/vendor/assets/javascripts/jquery.ui.mouse.js +166 -0
- data/vendor/assets/javascripts/jquery.ui.position.js +299 -0
- data/vendor/assets/javascripts/jquery.ui.progressbar.js +113 -0
- data/vendor/assets/javascripts/jquery.ui.resizable.js +847 -0
- data/vendor/assets/javascripts/jquery.ui.selectable.js +272 -0
- data/vendor/assets/javascripts/jquery.ui.slider.js +671 -0
- data/vendor/assets/javascripts/jquery.ui.sortable.js +1081 -0
- data/vendor/assets/javascripts/jquery.ui.tabs.js +762 -0
- data/vendor/assets/javascripts/jquery.ui.widget.js +273 -0
- data/vendor/assets/stylesheets/jquery-ui.js +1 -0
- data/vendor/assets/stylesheets/jquery.ui.accordion.css +19 -0
- data/vendor/assets/stylesheets/jquery.ui.all.css +13 -0
- data/vendor/assets/stylesheets/jquery.ui.autocomplete.css +53 -0
- data/vendor/assets/stylesheets/jquery.ui.base.css +23 -0
- data/vendor/assets/stylesheets/jquery.ui.button.css +38 -0
- data/vendor/assets/stylesheets/jquery.ui.core.css +38 -0
- data/vendor/assets/stylesheets/jquery.ui.datepicker.css +68 -0
- data/vendor/assets/stylesheets/jquery.ui.dialog.css +21 -0
- data/vendor/assets/stylesheets/jquery.ui.progressbar.css +11 -0
- data/vendor/assets/stylesheets/jquery.ui.resizable.css +20 -0
- data/vendor/assets/stylesheets/jquery.ui.selectable.css +10 -0
- data/vendor/assets/stylesheets/jquery.ui.slider.css +24 -0
- data/vendor/assets/stylesheets/jquery.ui.tabs.css +18 -0
- data/vendor/assets/stylesheets/jquery.ui.theme.css +247 -0
- metadata +216 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
//= require jquery
|
|
2
|
+
/*!
|
|
3
|
+
* jQuery UI Widget 1.8.17
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
6
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
7
|
+
* http://jquery.org/license
|
|
8
|
+
*
|
|
9
|
+
* http://docs.jquery.com/UI/Widget
|
|
10
|
+
*/
|
|
11
|
+
(function( $, undefined ) {
|
|
12
|
+
|
|
13
|
+
// jQuery 1.4+
|
|
14
|
+
if ( $.cleanData ) {
|
|
15
|
+
var _cleanData = $.cleanData;
|
|
16
|
+
$.cleanData = function( elems ) {
|
|
17
|
+
for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
|
|
18
|
+
try {
|
|
19
|
+
$( elem ).triggerHandler( "remove" );
|
|
20
|
+
// http://bugs.jquery.com/ticket/8235
|
|
21
|
+
} catch( e ) {}
|
|
22
|
+
}
|
|
23
|
+
_cleanData( elems );
|
|
24
|
+
};
|
|
25
|
+
} else {
|
|
26
|
+
var _remove = $.fn.remove;
|
|
27
|
+
$.fn.remove = function( selector, keepData ) {
|
|
28
|
+
return this.each(function() {
|
|
29
|
+
if ( !keepData ) {
|
|
30
|
+
if ( !selector || $.filter( selector, [ this ] ).length ) {
|
|
31
|
+
$( "*", this ).add( [ this ] ).each(function() {
|
|
32
|
+
try {
|
|
33
|
+
$( this ).triggerHandler( "remove" );
|
|
34
|
+
// http://bugs.jquery.com/ticket/8235
|
|
35
|
+
} catch( e ) {}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return _remove.call( $(this), selector, keepData );
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
$.widget = function( name, base, prototype ) {
|
|
45
|
+
var namespace = name.split( "." )[ 0 ],
|
|
46
|
+
fullName;
|
|
47
|
+
name = name.split( "." )[ 1 ];
|
|
48
|
+
fullName = namespace + "-" + name;
|
|
49
|
+
|
|
50
|
+
if ( !prototype ) {
|
|
51
|
+
prototype = base;
|
|
52
|
+
base = $.Widget;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// create selector for plugin
|
|
56
|
+
$.expr[ ":" ][ fullName ] = function( elem ) {
|
|
57
|
+
return !!$.data( elem, name );
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
$[ namespace ] = $[ namespace ] || {};
|
|
61
|
+
$[ namespace ][ name ] = function( options, element ) {
|
|
62
|
+
// allow instantiation without initializing for simple inheritance
|
|
63
|
+
if ( arguments.length ) {
|
|
64
|
+
this._createWidget( options, element );
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
var basePrototype = new base();
|
|
69
|
+
// we need to make the options hash a property directly on the new instance
|
|
70
|
+
// otherwise we'll modify the options hash on the prototype that we're
|
|
71
|
+
// inheriting from
|
|
72
|
+
// $.each( basePrototype, function( key, val ) {
|
|
73
|
+
// if ( $.isPlainObject(val) ) {
|
|
74
|
+
// basePrototype[ key ] = $.extend( {}, val );
|
|
75
|
+
// }
|
|
76
|
+
// });
|
|
77
|
+
basePrototype.options = $.extend( true, {}, basePrototype.options );
|
|
78
|
+
$[ namespace ][ name ].prototype = $.extend( true, basePrototype, {
|
|
79
|
+
namespace: namespace,
|
|
80
|
+
widgetName: name,
|
|
81
|
+
widgetEventPrefix: $[ namespace ][ name ].prototype.widgetEventPrefix || name,
|
|
82
|
+
widgetBaseClass: fullName
|
|
83
|
+
}, prototype );
|
|
84
|
+
|
|
85
|
+
$.widget.bridge( name, $[ namespace ][ name ] );
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
$.widget.bridge = function( name, object ) {
|
|
89
|
+
$.fn[ name ] = function( options ) {
|
|
90
|
+
var isMethodCall = typeof options === "string",
|
|
91
|
+
args = Array.prototype.slice.call( arguments, 1 ),
|
|
92
|
+
returnValue = this;
|
|
93
|
+
|
|
94
|
+
// allow multiple hashes to be passed on init
|
|
95
|
+
options = !isMethodCall && args.length ?
|
|
96
|
+
$.extend.apply( null, [ true, options ].concat(args) ) :
|
|
97
|
+
options;
|
|
98
|
+
|
|
99
|
+
// prevent calls to internal methods
|
|
100
|
+
if ( isMethodCall && options.charAt( 0 ) === "_" ) {
|
|
101
|
+
return returnValue;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if ( isMethodCall ) {
|
|
105
|
+
this.each(function() {
|
|
106
|
+
var instance = $.data( this, name ),
|
|
107
|
+
methodValue = instance && $.isFunction( instance[options] ) ?
|
|
108
|
+
instance[ options ].apply( instance, args ) :
|
|
109
|
+
instance;
|
|
110
|
+
// TODO: add this back in 1.9 and use $.error() (see #5972)
|
|
111
|
+
// if ( !instance ) {
|
|
112
|
+
// throw "cannot call methods on " + name + " prior to initialization; " +
|
|
113
|
+
// "attempted to call method '" + options + "'";
|
|
114
|
+
// }
|
|
115
|
+
// if ( !$.isFunction( instance[options] ) ) {
|
|
116
|
+
// throw "no such method '" + options + "' for " + name + " widget instance";
|
|
117
|
+
// }
|
|
118
|
+
// var methodValue = instance[ options ].apply( instance, args );
|
|
119
|
+
if ( methodValue !== instance && methodValue !== undefined ) {
|
|
120
|
+
returnValue = methodValue;
|
|
121
|
+
return false;
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
} else {
|
|
125
|
+
this.each(function() {
|
|
126
|
+
var instance = $.data( this, name );
|
|
127
|
+
if ( instance ) {
|
|
128
|
+
instance.option( options || {} )._init();
|
|
129
|
+
} else {
|
|
130
|
+
$.data( this, name, new object( options, this ) );
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
return returnValue;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
$.Widget = function( options, element ) {
|
|
140
|
+
// allow instantiation without initializing for simple inheritance
|
|
141
|
+
if ( arguments.length ) {
|
|
142
|
+
this._createWidget( options, element );
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
$.Widget.prototype = {
|
|
147
|
+
widgetName: "widget",
|
|
148
|
+
widgetEventPrefix: "",
|
|
149
|
+
options: {
|
|
150
|
+
disabled: false
|
|
151
|
+
},
|
|
152
|
+
_createWidget: function( options, element ) {
|
|
153
|
+
// $.widget.bridge stores the plugin instance, but we do it anyway
|
|
154
|
+
// so that it's stored even before the _create function runs
|
|
155
|
+
$.data( element, this.widgetName, this );
|
|
156
|
+
this.element = $( element );
|
|
157
|
+
this.options = $.extend( true, {},
|
|
158
|
+
this.options,
|
|
159
|
+
this._getCreateOptions(),
|
|
160
|
+
options );
|
|
161
|
+
|
|
162
|
+
var self = this;
|
|
163
|
+
this.element.bind( "remove." + this.widgetName, function() {
|
|
164
|
+
self.destroy();
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
this._create();
|
|
168
|
+
this._trigger( "create" );
|
|
169
|
+
this._init();
|
|
170
|
+
},
|
|
171
|
+
_getCreateOptions: function() {
|
|
172
|
+
return $.metadata && $.metadata.get( this.element[0] )[ this.widgetName ];
|
|
173
|
+
},
|
|
174
|
+
_create: function() {},
|
|
175
|
+
_init: function() {},
|
|
176
|
+
|
|
177
|
+
destroy: function() {
|
|
178
|
+
this.element
|
|
179
|
+
.unbind( "." + this.widgetName )
|
|
180
|
+
.removeData( this.widgetName );
|
|
181
|
+
this.widget()
|
|
182
|
+
.unbind( "." + this.widgetName )
|
|
183
|
+
.removeAttr( "aria-disabled" )
|
|
184
|
+
.removeClass(
|
|
185
|
+
this.widgetBaseClass + "-disabled " +
|
|
186
|
+
"ui-state-disabled" );
|
|
187
|
+
},
|
|
188
|
+
|
|
189
|
+
widget: function() {
|
|
190
|
+
return this.element;
|
|
191
|
+
},
|
|
192
|
+
|
|
193
|
+
option: function( key, value ) {
|
|
194
|
+
var options = key;
|
|
195
|
+
|
|
196
|
+
if ( arguments.length === 0 ) {
|
|
197
|
+
// don't return a reference to the internal hash
|
|
198
|
+
return $.extend( {}, this.options );
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
if (typeof key === "string" ) {
|
|
202
|
+
if ( value === undefined ) {
|
|
203
|
+
return this.options[ key ];
|
|
204
|
+
}
|
|
205
|
+
options = {};
|
|
206
|
+
options[ key ] = value;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
this._setOptions( options );
|
|
210
|
+
|
|
211
|
+
return this;
|
|
212
|
+
},
|
|
213
|
+
_setOptions: function( options ) {
|
|
214
|
+
var self = this;
|
|
215
|
+
$.each( options, function( key, value ) {
|
|
216
|
+
self._setOption( key, value );
|
|
217
|
+
});
|
|
218
|
+
|
|
219
|
+
return this;
|
|
220
|
+
},
|
|
221
|
+
_setOption: function( key, value ) {
|
|
222
|
+
this.options[ key ] = value;
|
|
223
|
+
|
|
224
|
+
if ( key === "disabled" ) {
|
|
225
|
+
this.widget()
|
|
226
|
+
[ value ? "addClass" : "removeClass"](
|
|
227
|
+
this.widgetBaseClass + "-disabled" + " " +
|
|
228
|
+
"ui-state-disabled" )
|
|
229
|
+
.attr( "aria-disabled", value );
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
return this;
|
|
233
|
+
},
|
|
234
|
+
|
|
235
|
+
enable: function() {
|
|
236
|
+
return this._setOption( "disabled", false );
|
|
237
|
+
},
|
|
238
|
+
disable: function() {
|
|
239
|
+
return this._setOption( "disabled", true );
|
|
240
|
+
},
|
|
241
|
+
|
|
242
|
+
_trigger: function( type, event, data ) {
|
|
243
|
+
var prop, orig,
|
|
244
|
+
callback = this.options[ type ];
|
|
245
|
+
|
|
246
|
+
data = data || {};
|
|
247
|
+
event = $.Event( event );
|
|
248
|
+
event.type = ( type === this.widgetEventPrefix ?
|
|
249
|
+
type :
|
|
250
|
+
this.widgetEventPrefix + type ).toLowerCase();
|
|
251
|
+
// the original event may come from any element
|
|
252
|
+
// so we need to reset the target on the new event
|
|
253
|
+
event.target = this.element[ 0 ];
|
|
254
|
+
|
|
255
|
+
// copy original event properties over to the new event
|
|
256
|
+
orig = event.originalEvent;
|
|
257
|
+
if ( orig ) {
|
|
258
|
+
for ( prop in orig ) {
|
|
259
|
+
if ( !( prop in event ) ) {
|
|
260
|
+
event[ prop ] = orig[ prop ];
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
this.element.trigger( event, data );
|
|
266
|
+
|
|
267
|
+
return !( $.isFunction(callback) &&
|
|
268
|
+
callback.call( this.element[0], event, data ) === false ||
|
|
269
|
+
event.isDefaultPrevented() );
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
})( jQuery );
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//= require jquery.ui.core.js//= require jquery.ui.accordion.js//= require jquery.ui.button.js//= require jquery.ui.position.js//= require jquery.ui.sortable.js//= require jquery.ui.widget.js//= require jquery.ui.progressbar.js//= require jquery.ui.selectable.js//= require jquery.effects.blind.js//= require jquery.ui.slider.js//= require jquery.ui.datepicker.js//= require jquery.effects.explode.js//= require jquery.effects.shake.js//= require jquery.effects.drop.js//= require jquery.ui.mouse.js//= require jquery.effects.highlight.js//= require jquery.effects.scale.js//= require jquery.effects.clip.js//= require jquery.effects.transfer.js//= require jquery.effects.core.js//= require jquery.effects.pulsate.js//= require jquery.effects.bounce.js//= require jquery.ui.resizable.js//= require jquery.effects.slide.js//= require jquery.ui.dialog.js//= require jquery.effects.fade.js//= require jquery.effects.fold.js//= require jquery.ui.draggable.js//= require jquery.ui.droppable.js//= require jquery.ui.tabs.js//= require jquery.ui.autocomplete.js
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery UI Accordion 1.8.17
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
6
|
+
* http://jquery.org/license
|
|
7
|
+
*
|
|
8
|
+
* http://docs.jquery.com/UI/Accordion#theming
|
|
9
|
+
*/
|
|
10
|
+
/* IE/Win - Fix animation bug - #4615 */
|
|
11
|
+
.ui-accordion { width: 100%; }
|
|
12
|
+
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
|
13
|
+
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
|
14
|
+
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
|
15
|
+
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
|
16
|
+
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
|
17
|
+
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
|
18
|
+
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
|
19
|
+
.ui-accordion .ui-accordion-content-active { display: block; }
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery UI CSS Framework 1.8.17
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
6
|
+
* http://jquery.org/license
|
|
7
|
+
*
|
|
8
|
+
* http://docs.jquery.com/UI/Theming
|
|
9
|
+
*/
|
|
10
|
+
/*
|
|
11
|
+
*= require jquery.ui.base.css
|
|
12
|
+
*= require jquery.ui.theme.css
|
|
13
|
+
*/
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery UI Autocomplete 1.8.17
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
6
|
+
* http://jquery.org/license
|
|
7
|
+
*
|
|
8
|
+
* http://docs.jquery.com/UI/Autocomplete#theming
|
|
9
|
+
*/
|
|
10
|
+
.ui-autocomplete { position: absolute; cursor: default; }
|
|
11
|
+
|
|
12
|
+
/* workarounds */
|
|
13
|
+
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
|
14
|
+
|
|
15
|
+
/*
|
|
16
|
+
* jQuery UI Menu 1.8.17
|
|
17
|
+
*
|
|
18
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
|
19
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
20
|
+
* http://jquery.org/license
|
|
21
|
+
*
|
|
22
|
+
* http://docs.jquery.com/UI/Menu#theming
|
|
23
|
+
*/
|
|
24
|
+
.ui-menu {
|
|
25
|
+
list-style:none;
|
|
26
|
+
padding: 2px;
|
|
27
|
+
margin: 0;
|
|
28
|
+
display:block;
|
|
29
|
+
float: left;
|
|
30
|
+
}
|
|
31
|
+
.ui-menu .ui-menu {
|
|
32
|
+
margin-top: -3px;
|
|
33
|
+
}
|
|
34
|
+
.ui-menu .ui-menu-item {
|
|
35
|
+
margin:0;
|
|
36
|
+
padding: 0;
|
|
37
|
+
zoom: 1;
|
|
38
|
+
float: left;
|
|
39
|
+
clear: left;
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
.ui-menu .ui-menu-item a {
|
|
43
|
+
text-decoration:none;
|
|
44
|
+
display:block;
|
|
45
|
+
padding:.2em .4em;
|
|
46
|
+
line-height:1.5;
|
|
47
|
+
zoom:1;
|
|
48
|
+
}
|
|
49
|
+
.ui-menu .ui-menu-item a.ui-state-hover,
|
|
50
|
+
.ui-menu .ui-menu-item a.ui-state-active {
|
|
51
|
+
font-weight: normal;
|
|
52
|
+
margin: -1px;
|
|
53
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery UI CSS Framework 1.8.17
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
6
|
+
* http://jquery.org/license
|
|
7
|
+
*
|
|
8
|
+
* http://docs.jquery.com/UI/Theming
|
|
9
|
+
*/
|
|
10
|
+
/*
|
|
11
|
+
*= require jquery.ui.core.css
|
|
12
|
+
|
|
13
|
+
*= require jquery.ui.accordion.css
|
|
14
|
+
*= require jquery.ui.autocomplete.css
|
|
15
|
+
*= require jquery.ui.button.css
|
|
16
|
+
*= require jquery.ui.datepicker.css
|
|
17
|
+
*= require jquery.ui.dialog.css
|
|
18
|
+
*= require jquery.ui.progressbar.css
|
|
19
|
+
*= require jquery.ui.resizable.css
|
|
20
|
+
*= require jquery.ui.selectable.css
|
|
21
|
+
*= require jquery.ui.slider.css
|
|
22
|
+
*= require jquery.ui.tabs.css
|
|
23
|
+
*/
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery UI Button 1.8.17
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
6
|
+
* http://jquery.org/license
|
|
7
|
+
*
|
|
8
|
+
* http://docs.jquery.com/UI/Button#theming
|
|
9
|
+
*/
|
|
10
|
+
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
|
11
|
+
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
|
12
|
+
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
|
13
|
+
.ui-button-icons-only { width: 3.4em; }
|
|
14
|
+
button.ui-button-icons-only { width: 3.7em; }
|
|
15
|
+
|
|
16
|
+
/*button text element */
|
|
17
|
+
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
|
18
|
+
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
|
19
|
+
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
|
20
|
+
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
|
21
|
+
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
|
22
|
+
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
|
23
|
+
/* no icon support for input elements, provide padding by default */
|
|
24
|
+
input.ui-button { padding: .4em 1em; }
|
|
25
|
+
|
|
26
|
+
/*button icon element(s) */
|
|
27
|
+
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
|
28
|
+
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
|
29
|
+
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
|
30
|
+
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
|
31
|
+
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
|
32
|
+
|
|
33
|
+
/*button sets*/
|
|
34
|
+
.ui-buttonset { margin-right: 7px; }
|
|
35
|
+
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
|
36
|
+
|
|
37
|
+
/* workarounds */
|
|
38
|
+
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery UI CSS Framework 1.8.17
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
6
|
+
* http://jquery.org/license
|
|
7
|
+
*
|
|
8
|
+
* http://docs.jquery.com/UI/Theming/API
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/* Layout helpers
|
|
12
|
+
----------------------------------*/
|
|
13
|
+
.ui-helper-hidden { display: none; }
|
|
14
|
+
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
|
15
|
+
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
|
16
|
+
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
|
|
17
|
+
.ui-helper-clearfix:after { clear: both; }
|
|
18
|
+
.ui-helper-clearfix { zoom: 1; }
|
|
19
|
+
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
/* Interaction Cues
|
|
23
|
+
----------------------------------*/
|
|
24
|
+
.ui-state-disabled { cursor: default !important; }
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* Icons
|
|
28
|
+
----------------------------------*/
|
|
29
|
+
|
|
30
|
+
/* states and images */
|
|
31
|
+
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
/* Misc visuals
|
|
35
|
+
----------------------------------*/
|
|
36
|
+
|
|
37
|
+
/* Overlays */
|
|
38
|
+
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|