upgrade to jqueryui 1.10.1
After ![]() (image error) Size: 1.7 KiB |
After ![]() (image error) Size: 212 B |
BIN
test/libs/jquery-ui-1.10.1.custom/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png
Normal file
After ![]() (image error) Size: 206 B |
BIN
test/libs/jquery-ui-1.10.1.custom/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png
Normal file
After ![]() (image error) Size: 336 B |
BIN
test/libs/jquery-ui-1.10.1.custom/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png
Normal file
After ![]() (image error) Size: 341 B |
BIN
test/libs/jquery-ui-1.10.1.custom/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png
Normal file
After ![]() (image error) Size: 332 B |
BIN
test/libs/jquery-ui-1.10.1.custom/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png
Normal file
After ![]() (image error) Size: 5.7 KiB |
BIN
test/libs/jquery-ui-1.10.1.custom/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png
Normal file
After ![]() (image error) Size: 333 B |
BIN
test/libs/jquery-ui-1.10.1.custom/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png
Normal file
After ![]() (image error) Size: 292 B |
After ![]() (image error) Size: 4.4 KiB |
After ![]() (image error) Size: 4.4 KiB |
After ![]() (image error) Size: 4.4 KiB |
After ![]() (image error) Size: 4.4 KiB |
After ![]() (image error) Size: 4.4 KiB |
After ![]() (image error) Size: 4.4 KiB |
After ![]() (image error) Size: 4.4 KiB |
1175
test/libs/jquery-ui-1.10.1.custom/css/redmond/jquery-ui-1.10.1.custom.css
vendored
Normal file
5
test/libs/jquery-ui-1.10.1.custom/css/redmond/jquery-ui-1.10.1.custom.min.css
vendored
Normal file
9597
test/libs/jquery-ui-1.10.1.custom/js/jquery-1.9.1.js
vendored
Normal file
14903
test/libs/jquery-ui-1.10.1.custom/js/jquery-ui-1.10.1.custom.js
vendored
Normal file
6
test/libs/jquery-ui-1.10.1.custom/js/jquery-ui-1.10.1.custom.min.js
vendored
Normal file
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Poshy Tip jQuery plugin v1.1
|
||||
* Poshy Tip jQuery plugin v1.1+
|
||||
* http://vadikom.com/tools/poshy-tip-jquery-plugin-for-stylish-tooltips/
|
||||
* Copyright 2010-2011, Vasil Dinkov, http://vadikom.com/
|
||||
*/
|
||||
@ -9,7 +9,7 @@
|
||||
var tips = [],
|
||||
reBgImage = /^url\(["']?([^"'\)]*)["']?\);?$/i,
|
||||
rePNG = /\.png$/i,
|
||||
ie6 = $.browser.msie && $.browser.version == 6;
|
||||
ie6 = !!window.createPopup && document.documentElement.currentStyle.minWidth == 'undefined';
|
||||
|
||||
// make sure the tips' position is updated on resize
|
||||
function handleWindowResize() {
|
||||
@ -108,8 +108,10 @@
|
||||
this.reset();
|
||||
this.update();
|
||||
this.display();
|
||||
if (this.opts.timeOnScreen)
|
||||
setTimeout($.proxy(this.hide, this), this.opts.timeOnScreen);
|
||||
if (this.opts.timeOnScreen) {
|
||||
this.clearTimeouts();
|
||||
this.hideTimeout = setTimeout($.proxy(this.hide, this), this.opts.timeOnScreen);
|
||||
}
|
||||
},
|
||||
hide: function() {
|
||||
if (this.disabled || !this.$tip.data('active'))
|
||||
@ -183,7 +185,7 @@
|
||||
this.$inner.css({margin: 0, border: 0, padding: 0});
|
||||
bgImage = bgImagePNG = false;
|
||||
} else {
|
||||
this.$tip.prepend('<table border="0" cellpadding="0" cellspacing="0"><tr><td class="tip-top tip-bg-image" colspan="2"><span></span></td><td class="tip-right tip-bg-image" rowspan="2"><span></span></td></tr><tr><td class="tip-left tip-bg-image" rowspan="2"><span></span></td><td></td></tr><tr><td class="tip-bottom tip-bg-image" colspan="2"><span></span></td></tr></table>')
|
||||
this.$tip.prepend('<table class="tip-table" border="0" cellpadding="0" cellspacing="0"><tr><td class="tip-top tip-bg-image" colspan="2"><span></span></td><td class="tip-right tip-bg-image" rowspan="2"><span></span></td></tr><tr><td class="tip-left tip-bg-image" rowspan="2"><span></span></td><td></td></tr><tr><td class="tip-bottom tip-bg-image" colspan="2"><span></span></td></tr></table>')
|
||||
.css({border: 0, padding: 0, 'background-image': 'none', 'background-color': 'transparent'})
|
||||
.find('.tip-bg-image').css('background-image', 'url("' + bgImage[1] +'")').end()
|
||||
.find('td').eq(3).append(this.$inner);
|
||||
@ -203,7 +205,7 @@
|
||||
this.opts.fade = false;
|
||||
}
|
||||
|
||||
var $table = this.$tip.find('table');
|
||||
var $table = this.$tip.find('> table.tip-table');
|
||||
if (ie6) {
|
||||
// fix min/max-width in IE6
|
||||
this.$tip[0].style.width = '';
|
||||
@ -233,10 +235,10 @@
|
||||
this.$arrow.css('visibility', 'inherit');
|
||||
}
|
||||
|
||||
if (async) {
|
||||
if (async && this.opts.refreshAniDuration) {
|
||||
this.asyncAnimating = true;
|
||||
var self = this;
|
||||
this.$tip.css(currPos).animate({left: this.pos.l, top: this.pos.t}, 200, function() { self.asyncAnimating = false; });
|
||||
this.$tip.css(currPos).animate({left: this.pos.l, top: this.pos.t}, this.opts.refreshAniDuration, function() { self.asyncAnimating = false; });
|
||||
} else {
|
||||
this.$tip.css({left: this.pos.l, top: this.pos.t});
|
||||
}
|
||||
@ -390,8 +392,11 @@
|
||||
method = options;
|
||||
Array.prototype.shift.call(args);
|
||||
// unhook live events if 'destroy' is called
|
||||
if (method == 'destroy')
|
||||
this.die('mouseenter.poshytip').die('focus.poshytip');
|
||||
if (method == 'destroy') {
|
||||
this.die ?
|
||||
this.die('mouseenter.poshytip').die('focus.poshytip') :
|
||||
$(document).undelegate(this.selector, 'mouseenter.poshytip').undelegate(this.selector, 'focus.poshytip');
|
||||
}
|
||||
return this.each(function() {
|
||||
var poshytip = $(this).data('poshytip');
|
||||
if (poshytip && poshytip[method])
|
||||
@ -405,7 +410,7 @@
|
||||
if (!$('#poshytip-css-' + opts.className)[0])
|
||||
$(['<style id="poshytip-css-',opts.className,'" type="text/css">',
|
||||
'div.',opts.className,'{visibility:hidden;position:absolute;top:0;left:0;}',
|
||||
'div.',opts.className,' table, div.',opts.className,' td{margin:0;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;font-variant:inherit;}',
|
||||
'div.',opts.className,' table.tip-table, div.',opts.className,' table.tip-table td{margin:0;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;font-variant:inherit;}',
|
||||
'div.',opts.className,' td.tip-bg-image span{display:block;font:1px/1px sans-serif;height:',opts.bgImageFrameSize,'px;width:',opts.bgImageFrameSize,'px;overflow:hidden;}',
|
||||
'div.',opts.className,' td.tip-right{background-position:100% 0;}',
|
||||
'div.',opts.className,' td.tip-bottom{background-position:100% 100%;}',
|
||||
@ -416,21 +421,29 @@
|
||||
|
||||
// check if we need to hook live events
|
||||
if (opts.liveEvents && opts.showOn != 'none') {
|
||||
var deadOpts = $.extend({}, opts, { liveEvents: false });
|
||||
var handler,
|
||||
deadOpts = $.extend({}, opts, { liveEvents: false });
|
||||
switch (opts.showOn) {
|
||||
case 'hover':
|
||||
this.live('mouseenter.poshytip', function() {
|
||||
handler = function() {
|
||||
var $this = $(this);
|
||||
if (!$this.data('poshytip'))
|
||||
$this.poshytip(deadOpts).poshytip('mouseenter');
|
||||
});
|
||||
};
|
||||
// support 1.4.2+ & 1.9+
|
||||
this.live ?
|
||||
this.live('mouseenter.poshytip', handler) :
|
||||
$(document).delegate(this.selector, 'mouseenter.poshytip', handler);
|
||||
break;
|
||||
case 'focus':
|
||||
this.live('focus.poshytip', function() {
|
||||
handler = function() {
|
||||
var $this = $(this);
|
||||
if (!$this.data('poshytip'))
|
||||
$this.poshytip(deadOpts).poshytip('show');
|
||||
});
|
||||
};
|
||||
this.live ?
|
||||
this.live('focus.poshytip', handler) :
|
||||
$(document).delegate(this.selector, 'focus.poshytip', handler);
|
||||
break;
|
||||
}
|
||||
return this;
|
||||
@ -464,7 +477,8 @@
|
||||
slide: true, // use slide animation
|
||||
slideOffset: 8, // slide animation offset
|
||||
showAniDuration: 300, // show animation duration - set to 0 if you don't want show animation
|
||||
hideAniDuration: 300 // hide animation duration - set to 0 if you don't want hide animation
|
||||
hideAniDuration: 300, // hide animation duration - set to 0 if you don't want hide animation
|
||||
refreshAniDuration: 200 // refresh animation duration - set to 0 if you don't want animation when updating the tooltip asynchronously
|
||||
};
|
||||
|
||||
})(jQuery);
|
4
test/libs/poshytip/jquery.poshytip.min.js
vendored
@ -1,3 +1,6 @@
|
||||
/*
|
||||
Loads all js files via require.js
|
||||
*/
|
||||
define(function () {
|
||||
|
||||
function loadCss(url) {
|
||||
@ -11,7 +14,23 @@ define(function () {
|
||||
return {
|
||||
loadCss: loadCss,
|
||||
getConfig: function (baseUrl) {
|
||||
var params = this.getParams(),
|
||||
|
||||
var jqueryui_ver = '1.10.1',
|
||||
paths = {
|
||||
// "bootstrap": "../test/libs/bootstrap221",
|
||||
"bootstrap": "../test/libs/bootstrap222",
|
||||
|
||||
// "jqueryui": "../test/libs/jquery-ui-"+jqueryui_ver+".custom",
|
||||
"jqueryui_js": "../test/libs/jquery-ui-"+jqueryui_ver+".custom/js/jquery-ui-"+jqueryui_ver+".custom",
|
||||
|
||||
"dateui_js": "inputs/dateui/jquery-ui-datepicker/js/jquery-ui-"+jqueryui_ver+".custom",
|
||||
|
||||
"poshytip": "../test/libs/poshytip",
|
||||
|
||||
"test": "../test"
|
||||
},
|
||||
|
||||
params = this.getParams(),
|
||||
f = params.f,
|
||||
c = params.c,
|
||||
shim = {
|
||||
@ -31,7 +50,9 @@ define(function () {
|
||||
loadCss(require.toUrl("./editable-element.css"));
|
||||
}
|
||||
},
|
||||
//default inputs
|
||||
/*
|
||||
common inputs
|
||||
*/
|
||||
'editable-form/editable-form': {
|
||||
deps: ['require',
|
||||
'inputs/text',
|
||||
@ -56,9 +77,10 @@ define(function () {
|
||||
'inputs/combodate/combodate': ['inputs/abstract', 'inputs/combodate/lib/combodate', 'inputs/combodate/lib/moment.min'],
|
||||
'inputs/typeahead': ['inputs/list'],
|
||||
|
||||
/*
|
||||
bootstrap
|
||||
*/
|
||||
|
||||
/* ------------------------------
|
||||
bootstrap
|
||||
------------------------------ */
|
||||
'bootstrap/js/bootstrap': {
|
||||
deps: ['require'],
|
||||
init: function(require) {
|
||||
@ -108,33 +130,34 @@ define(function () {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
//datefield
|
||||
'inputs/date/datefield': ['inputs/date/date'],
|
||||
|
||||
/*
|
||||
jqueryui
|
||||
*/
|
||||
'jqueryui/js/jquery-ui-1.9.1.custom': {
|
||||
/* ------------------------------
|
||||
jqueryui
|
||||
------------------------------ */
|
||||
'jqueryui_js': {
|
||||
deps: ['require'],
|
||||
init: function(require) {
|
||||
loadCss(require.toUrl("../css/redmond/jquery-ui-1.9.1.custom.css"));
|
||||
//loadCss(require.toUrl("../css/redmond/jquery-ui-1.10.1.custom.css"));
|
||||
loadCss(require.toUrl("../test/libs/jquery-ui-"+jqueryui_ver+".custom/css/redmond/jquery-ui-"+jqueryui_ver+".custom.css"));
|
||||
}
|
||||
},
|
||||
'editable-form/editable-form-jqueryui': [
|
||||
'editable-form/editable-form',
|
||||
'jqueryui/js/jquery-ui-1.9.1.custom'
|
||||
'jqueryui_js'
|
||||
],
|
||||
'containers/editable-tooltip': [
|
||||
'containers/editable-inline',
|
||||
'jqueryui/js/jquery-ui-1.9.1.custom'
|
||||
'jqueryui_js'
|
||||
],
|
||||
'inputs/dateui/dateui': ['inputs/abstract'],
|
||||
'inputs/dateui/dateuifield': ['inputs/dateui/dateui'],
|
||||
|
||||
/*
|
||||
plain
|
||||
*/
|
||||
|
||||
/* ------------------------------
|
||||
plain
|
||||
------------------------------ */
|
||||
'containers/editable-poshytip': [
|
||||
'containers/editable-inline',
|
||||
'poshytip/jquery.poshytip'
|
||||
@ -145,15 +168,18 @@ define(function () {
|
||||
loadCss(require.toUrl("./tip-yellowsimple/tip-yellowsimple.css"));
|
||||
}
|
||||
},
|
||||
'inputs/dateui/jquery-ui-datepicker/js/jquery-ui-1.9.1.custom': {
|
||||
'dateui_js': {
|
||||
deps: ['require'],
|
||||
init: function(require) {
|
||||
loadCss(require.toUrl("../css/redmond/jquery-ui-1.9.1.custom.css"));
|
||||
//loadCss(require.toUrl('../css/redmond/jquery-ui-'+jqueryui_ver+'.custom.css'));
|
||||
loadCss(require.toUrl('inputs/dateui/jquery-ui-datepicker/css/redmond/jquery-ui-'+jqueryui_ver+'.custom.css'));
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
//inputs-ext
|
||||
/* ------------------------------
|
||||
inputs-ext
|
||||
------------------------------ */
|
||||
'inputs-ext/address/address': {
|
||||
deps: ['require', 'inputs/abstract'],
|
||||
init: function(require) {
|
||||
@ -181,7 +207,7 @@ define(function () {
|
||||
} else {
|
||||
//plain
|
||||
shim['editable-form/editable-form'].deps.push('inputs/dateui/dateuifield');
|
||||
shim['inputs/dateui/dateui'].push('inputs/dateui/jquery-ui-datepicker/js/jquery-ui-1.9.1.custom');
|
||||
shim['inputs/dateui/dateui'].push('dateui_js');
|
||||
shim['element/editable-element'].deps.push('containers/editable-poshytip');
|
||||
}
|
||||
|
||||
@ -192,13 +218,7 @@ define(function () {
|
||||
|
||||
return {
|
||||
baseUrl: baseUrl,
|
||||
paths: {
|
||||
// "bootstrap": "../test/libs/bootstrap221",
|
||||
"bootstrap": "../test/libs/bootstrap222",
|
||||
"jqueryui": "../test/libs/jquery-ui-1.9.1.custom",
|
||||
"poshytip": "../test/libs/poshytip",
|
||||
"test": "../test"
|
||||
},
|
||||
paths: paths,
|
||||
shim: shim
|
||||
};
|
||||
},
|
||||
|