Issue #3265652 by nod_, xjm, lauriii, Wim Leers, Gábor Hojtsy: Unfork jQuery UI

merge-requests/1949/head
bnjmnm 2022-03-08 06:49:18 -05:00
parent 9bc77d36f1
commit 3717bfb245
116 changed files with 1029 additions and 1101 deletions

View File

@ -1,333 +0,0 @@
Authors ordered by first contribution
A list of current team members is available at http://jqueryui.com/about
Paul Bakaus <paul.bakaus@gmail.com>
Richard Worth <rdworth@gmail.com>
Yehuda Katz <wycats@gmail.com>
Sean Catchpole <sean@sunsean.com>
John Resig <jeresig@gmail.com>
Tane Piper <piper.tane@gmail.com>
Dmitri Gaskin <dmitrig01@gmail.com>
Klaus Hartl <klaus.hartl@gmail.com>
Stefan Petre <stefan.petre@gmail.com>
Gilles van den Hoven <gilles@webunity.nl>
Micheil Bryan Smith <micheil@brandedcode.com>
Jörn Zaefferer <joern.zaefferer@gmail.com>
Marc Grabanski <m@marcgrabanski.com>
Keith Wood <kbwood@iinet.com.au>
Brandon Aaron <brandon.aaron@gmail.com>
Scott González <scott.gonzalez@gmail.com>
Eduardo Lundgren <eduardolundgren@gmail.com>
Aaron Eisenberger <aaronchi@gmail.com>
Joan Piedra <theneojp@gmail.com>
Bruno Basto <b.basto@gmail.com>
Remy Sharp <remy@leftlogic.com>
Bohdan Ganicky <bohdan.ganicky@gmail.com>
David Bolter <david.bolter@gmail.com>
Chi Cheng <cloudream@gmail.com>
Ca-Phun Ung <pazu2k@gmail.com>
Ariel Flesler <aflesler@gmail.com>
Maggie Wachs <maggie@filamentgroup.com>
Scott Jehl <scottjehl@gmail.com>
Todd Parker <todd@filamentgroup.com>
Andrew Powell <andrew@shellscape.org>
Brant Burnett <btburnett3@gmail.com>
Douglas Neiner <doug@dougneiner.com>
Paul Irish <paul.irish@gmail.com>
Ralph Whitbeck <ralph.whitbeck@gmail.com>
Thibault Duplessis <thibault.duplessis@gmail.com>
Dominique Vincent <dominique.vincent@toitl.com>
Jack Hsu <jack.hsu@gmail.com>
Adam Sontag <ajpiano@ajpiano.com>
Carl Fürstenberg <carl@excito.com>
Kevin Dalman <development@allpro.net>
Alberto Fernández Capel <afcapel@gmail.com>
Jacek Jędrzejewski (http://jacek.jedrzejewski.name)
Ting Kuei <ting@kuei.com>
Samuel Cormier-Iijima <sam@chide.it>
Jon Palmer <jonspalmer@gmail.com>
Ben Hollis <bhollis@amazon.com>
Justin MacCarthy <Justin@Rubystars.biz>
Eyal Kobrigo <kobrigo@hotmail.com>
Tiago Freire <tiago.freire@gmail.com>
Diego Tres <diegotres@gmail.com>
Holger Rüprich <holger@rueprich.de>
Ziling Zhao <zilingzhao@gmail.com>
Mike Alsup <malsup@gmail.com>
Robson Braga Araujo <robsonbraga@gmail.com>
Pierre-Henri Ausseil <ph.ausseil@gmail.com>
Christopher McCulloh <cmcculloh@gmail.com>
Andrew Newcomb <ext.github@preceptsoftware.co.uk>
Lim Chee Aun <cheeaun@gmail.com>
Jorge Barreiro <yortx.barry@gmail.com>
Daniel Steigerwald <daniel@steigerwald.cz>
John Firebaugh <john_firebaugh@bigfix.com>
John Enters <github@darkdark.net>
Andrey Kapitcyn <ru.m157y@gmail.com>
Dmitry Petrov <dpetroff@gmail.com>
Eric Hynds <eric@hynds.net>
Chairat Sunthornwiphat <pipo@sixhead.com>
Josh Varner <josh.varner@gmail.com>
Stéphane Raimbault <stephane.raimbault@gmail.com>
Jay Merrifield <fracmak@gmail.com>
J. Ryan Stinnett <jryans@gmail.com>
Peter Heiberg <peter@heiberg.se>
Alex Dovenmuehle <adovenmuehle@gmail.com>
Jamie Gegerson <git@jamiegegerson.com>
Raymond Schwartz <skeetergraphics@gmail.com>
Phillip Barnes <philbar@gmail.com>
Kyle Wilkinson <kai@wikyd.org>
Khaled AlHourani <me@khaledalhourani.com>
Marian Rudzynski <mr@impaled.org>
Jean-Francois Remy <jeff@melix.org>
Doug Blood <dougblood@gmail.com>
Filippo Cavallarin <filippo.cavallarin@codseq.it>
Heiko Henning <heiko@thehennings.ch>
Aliaksandr Rahalevich <saksmlz@gmail.com>
Mario Visic <mario@mariovisic.com>
Xavi Ramirez <xavi.rmz@gmail.com>
Max Schnur <max.schnur@gmail.com>
Saji Nediyanchath <saji89@gmail.com>
Corey Frang <gnarf37@gmail.com>
Aaron Peterson <aaronp123@yahoo.com>
Ivan Peters <ivan@ivanpeters.com>
Mohamed Cherif Bouchelaghem <cherifbouchelaghem@yahoo.fr>
Marcos Sousa <falecomigo@marcossousa.com>
Michael DellaNoce <mdellanoce@mailtrust.com>
George Marshall <echosx@gmail.com>
Tobias Brunner <tobias@strongswan.org>
Martin Solli <msolli@gmail.com>
David Petersen <public@petersendidit.com>
Dan Heberden <danheberden@gmail.com>
William Kevin Manire <williamkmanire@gmail.com>
Gilmore Davidson <gilmoreorless@gmail.com>
Michael Wu <michaelmwu@gmail.com>
Adam Parod <mystic414@gmail.com>
Guillaume Gautreau <guillaume+github@ghusse.com>
Marcel Toele <EleotleCram@gmail.com>
Dan Streetman <ddstreet@ieee.org>
Matt Hoskins <matt@nipltd.com>
Giovanni Giacobbi <giovanni@giacobbi.net>
Kyle Florence <kyle.florence@gmail.com>
Pavol Hluchý <lopo@losys.sk>
Hans Hillen <hans.hillen@gmail.com>
Mark Johnson <virgofx@live.com>
Trey Hunner <treyhunner@gmail.com>
Shane Whittet <whittet@gmail.com>
Edward A Faulkner <ef@alum.mit.edu>
Adam Baratz <adam@adambaratz.com>
Kato Kazuyoshi <kato.kazuyoshi@gmail.com>
Eike Send <eike.send@gmail.com>
Kris Borchers <kris.borchers@gmail.com>
Eddie Monge <eddie@eddiemonge.com>
Israel Tsadok <itsadok@gmail.com>
Carson McDonald <carson@ioncannon.net>
Jason Davies <jason@jasondavies.com>
Garrison Locke <gplocke@gmail.com>
David Murdoch <david@davidmurdoch.com>
Benjamin Scott Boyle <benjamins.boyle@gmail.com>
Jesse Baird <jebaird@gmail.com>
Jonathan Vingiano <jvingiano@gmail.com>
Dylan Just <dev@ephox.com>
Hiroshi Tomita <tomykaira@gmail.com>
Glenn Goodrich <glenn.goodrich@gmail.com>
Tarafder Ashek-E-Elahi <mail.ashek@gmail.com>
Ryan Neufeld <ryan@neufeldmail.com>
Marc Neuwirth <marc.neuwirth@gmail.com>
Philip Graham <philip.robert.graham@gmail.com>
Benjamin Sterling <benjamin.sterling@kenzomedia.com>
Wesley Walser <waw325@gmail.com>
Kouhei Sutou <kou@clear-code.com>
Karl Kirch <karlkrch@gmail.com>
Chris Kelly <ckdake@ckdake.com>
Jason Oster <jay@kodewerx.org>
Felix Nagel <info@felixnagel.com>
Alexander Polomoshnov <alex.polomoshnov@gmail.com>
David Leal <dgleal@gmail.com>
Igor Milla <igor.fsp.milla@gmail.com>
Dave Methvin <dave.methvin@gmail.com>
Florian Gutmann <f.gutmann@chronimo.com>
Marwan Al Jubeh <marwan.aljubeh@gmail.com>
Milan Broum <midlis@googlemail.com>
Sebastian Sauer <info@dynpages.de>
Gaëtan Muller <m.gaetan89@gmail.com>
Michel Weimerskirch <michel@weimerskirch.net>
William Griffiths <william@ycymro.com>
Stojce Slavkovski <stojce@gmail.com>
David Soms <david.soms@gmail.com>
David De Sloovere <david.desloovere@outlook.com>
Michael P. Jung <michael.jung@terreon.de>
Shannon Pekary <spekary@gmail.com>
Dan Wellman <danwellman@hotmail.com>
Matthew Edward Hutton <meh@corefiling.co.uk>
James Khoury <james@jameskhoury.com>
Rob Loach <robloach@gmail.com>
Alberto Monteiro <betimbrasil@gmail.com>
Alex Rhea <alex.rhea@gmail.com>
Krzysztof Rosiński <rozwell69@gmail.com>
Ryan Olton <oltonr@gmail.com>
Genie <386@mail.com>
Rick Waldron <waldron.rick@gmail.com>
Ian Simpson <spoonlikesham@gmail.com>
Lev Kitsis <spam4lev@gmail.com>
TJ VanToll <tj.vantoll@gmail.com>
Justin Domnitz <jdomnitz@gmail.com>
Douglas Cerna <douglascerna@yahoo.com>
Bert ter Heide <bertjh@hotmail.com>
Jasvir Nagra <jasvir@gmail.com>
Yuriy Khabarov <13real008@gmail.com>
Harri Kilpiö <harri.kilpio@gmail.com>
Lado Lomidze <lado.lomidze@gmail.com>
Amir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Simon Sattes <simon.sattes@gmail.com>
Jo Liss <joliss42@gmail.com>
Guntupalli Karunakar <karunakarg@yahoo.com>
Shahyar Ghobadpour <shahyar@gmail.com>
Lukasz Lipinski <uzza17@gmail.com>
Timo Tijhof <krinklemail@gmail.com>
Jason Moon <jmoon@socialcast.com>
Martin Frost <martinf55@hotmail.com>
Eneko Illarramendi <eneko@illarra.com>
EungJun Yi <semtlenori@gmail.com>
Courtland Allen <courtlandallen@gmail.com>
Viktar Varvanovich <non4eg@gmail.com>
Danny Trunk <dtrunk90@gmail.com>
Pavel Stetina <pavel.stetina@nangu.tv>
Michael Stay <metaweta@gmail.com>
Steven Roussey <sroussey@gmail.com>
Michael Hollis <hollis21@gmail.com>
Lee Rowlands <lee.rowlands@previousnext.com.au>
Timmy Willison <timmywillisn@gmail.com>
Karl Swedberg <kswedberg@gmail.com>
Baoju Yuan <the_guy_1987@hotmail.com>
Maciej Mroziński <maciej.k.mrozinski@gmail.com>
Luis Dalmolin <luis.nh@gmail.com>
Mark Aaron Shirley <maspwr@gmail.com>
Martin Hoch <martin@fidion.de>
Jiayi Yang <tr870829@gmail.com>
Philipp Benjamin Köppchen <xgxtpbk@gws.ms>
Sindre Sorhus <sindresorhus@gmail.com>
Bernhard Sirlinger <bernhard.sirlinger@tele2.de>
Jared A. Scheel <jared@jaredscheel.com>
Rafael Xavier de Souza <rxaviers@gmail.com>
John Chen <zhang.z.chen@intel.com>
Robert Beuligmann <robertbeuligmann@gmail.com>
Dale Kocian <dale.kocian@gmail.com>
Mike Sherov <mike.sherov@gmail.com>
Andrew Couch <andy@couchand.com>
Marc-Andre Lafortune <github@marc-andre.ca>
Nate Eagle <nate.eagle@teamaol.com>
David Souther <davidsouther@gmail.com>
Mathias Stenbom <mathias@stenbom.com>
Sergey Kartashov <ebishkek@yandex.ru>
Avinash R <nashpapa@gmail.com>
Ethan Romba <ethanromba@gmail.com>
Cory Gackenheimer <cory.gack@gmail.com>
Juan Pablo Kaniefsky <jpkaniefsky@gmail.com>
Roman Salnikov <bardt.dz@gmail.com>
Anika Henke <anika@selfthinker.org>
Samuel Bovée <samycookie2000@yahoo.fr>
Fabrício Matté <ult_combo@hotmail.com>
Viktor Kojouharov <vkojouharov@gmail.com>
Pawel Maruszczyk (http://hrabstwo.net)
Pavel Selitskas <p.selitskas@gmail.com>
Bjørn Johansen <post@bjornjohansen.no>
Matthieu Penant <thieum22@hotmail.com>
Dominic Barnes <dominic@dbarnes.info>
David Sullivan <david.sullivan@gmail.com>
Thomas Jaggi <thomas@responsive.ch>
Vahid Sohrabloo <vahid4134@gmail.com>
Travis Carden <travis.carden@gmail.com>
Bruno M. Custódio <bruno@brunomcustodio.com>
Nathanael Silverman <nathanael.silverman@gmail.com>
Christian Wenz <christian@wenz.org>
Steve Urmston <steve@urm.st>
Zaven Muradyan <megalivoithos@gmail.com>
Woody Gilk <shadowhand@deviantart.com>
Zbigniew Motyka <zbigniew.motyka@gmail.com>
Suhail Alkowaileet <xsoh.k7@gmail.com>
Toshi MARUYAMA <marutosijp2@yahoo.co.jp>
David Hansen <hansede@gmail.com>
Brian Grinstead <briangrinstead@gmail.com>
Christian Klammer <christian314159@gmail.com>
Steven Luscher <jquerycla@steveluscher.com>
Gan Eng Chin <engchin.gan@gmail.com>
Gabriel Schulhof <gabriel.schulhof@intel.com>
Alexander Schmitz <arschmitz@gmail.com>
Vilhjálmur Skúlason <vis@dmm.is>
Siebrand Mazeland <siebrand@kitano.nl>
Mohsen Ekhtiari <mohsenekhtiari@yahoo.com>
Pere Orga <gotrunks@gmail.com>
Jasper de Groot <mail@ugomobi.com>
Stephane Deschamps <stephane.deschamps@gmail.com>
Jyoti Deka <dekajp@gmail.com>
Andrei Picus <office.nightcrawler@gmail.com>
Ondrej Novy <novy@ondrej.org>
Jacob McCutcheon <jacob.mccutcheon@gmail.com>
Monika Piotrowicz <monika.piotrowicz@gmail.com>
Imants Horsts <imants.horsts@inbox.lv>
Eric Dahl <eric.c.dahl@gmail.com>
Dave Stein <dave@behance.com>
Dylan Barrell <dylan@barrell.com>
Daniel DeGroff <djdegroff@gmail.com>
Michael Wiencek <mwtuea@gmail.com>
Thomas Meyer <meyertee@gmail.com>
Ruslan Yakhyaev <ruslan@ruslan.io>
Brian J. Dowling <bjd-dev@simplicity.net>
Ben Higgins <ben@extrahop.com>
Yermo Lamers <yml@yml.com>
Patrick Stapleton <github@gdi2290.com>
Trisha Crowley <trisha.crowley@gmail.com>
Usman Akeju <akeju00+github@gmail.com>
Rodrigo Menezes <rod333@gmail.com>
Jacques Perrault <jacques_perrault@us.ibm.com>
Frederik Elvhage <frederik.elvhage@googlemail.com>
Will Holley <willholley@gmail.com>
Uri Gilad <antishok@gmail.com>
Richard Gibson <richard.gibson@gmail.com>
Simen Bekkhus <sbekkhus91@gmail.com>
Chen Eshchar <eshcharc@gmail.com>
Bruno Pérel <brunoperel@gmail.com>
Mohammed Alshehri <m@dralshehri.com>
Lisa Seacat DeLuca <ldeluca@us.ibm.com>
Anne-Gaelle Colom <coloma@westminster.ac.uk>
Adam Foster <slimfoster@gmail.com>
Luke Page <luke.a.page@gmail.com>
Daniel Owens <daniel@matchstickmixup.com>
Michael Orchard <morchard@scottlogic.co.uk>
Marcus Warren <marcus@envoke.com>
Nils Heuermann <nils@world-of-scripts.de>
Marco Ziech <marco@ziech.net>
Patricia Juarez <patrixd@gmail.com>
Ben Mosher <me@benmosher.com>
Ablay Keldibek <atomio.ak@gmail.com>
Thomas Applencourt <thomas.applencourt@irsamc.ups-tlse.fr>
Jiabao Wu <jiabao.foss@gmail.com>
Eric Lee Carraway <github@ericcarraway.com>
Victor Homyakov <vkhomyackov@gmail.com>
Myeongjin Lee <aranet100@gmail.com>
Liran Sharir <lsharir@gmail.com>
Weston Ruter <weston@xwp.co>
Mani Mishra <manimishra902@gmail.com>
Hannah Methvin <hannahmethvin@gmail.com>
Leonardo Balter <leonardo.balter@gmail.com>
Benjamin Albert <benjamin_a5@yahoo.com>
Michał Gołębiowski <m.goleb@gmail.com>
Alyosha Pushak <alyosha.pushak@gmail.com>
Fahad Ahmad <fahadahmad41@hotmail.com>
Matt Brundage <github@mattbrundage.com>
Francesc Baeta <francesc.baeta@gmail.com>
Piotr Baran <piotros@wp.pl>
Mukul Hase <mukulhase@gmail.com>
Konstantin Dinev <kdinev@mail.bw.edu>
Rand Scullard <rand@randscullard.com>
Dan Strohl <dan@wjcg.net>
Maksim Ryzhikov <rv.maksim@gmail.com>
Amine HADDAD <haddad@allegorie.tv>
Amanpreet Singh <apsdehal@gmail.com>
Alexey Balchunas <bleshik@gmail.com>
Peter Kehl <peter.kehl@gmail.com>
Peter Dave Hello <hsu@peterdavehello.org>
Johannes Schäfer <johnschaefer@gmx.de>
Ville Skyttä <ville.skytta@iki.fi>
Ryan Oriecuia <ryan.oriecuia@visioncritical.com>

View File

@ -1,59 +0,0 @@
Introduction
------------
This folder contains a partial fork of jQuery UI 1.12.1. jQuery UI has been
marked as an emeritus project by the OpenJS foundation. Emeritus projects are
those which the maintainers feel have reached or are nearing end-of-life.
jQuery UI will potentially reach end-of-life before Drupal 9 does. In
preparation for this, Drupal has forked jQuery UI core and jQuery UI components
still used by Drupal core. This fork will make it easier to maintain jQuery UI's
code when necessary.
jQuery UI components used:
* Autocomplete
* Button
* Checkboxradio
* Controlgroup
* Draggable
* Dialog
* Menu
* Position
* Resizable
* Widget Factory
Development
-----------
Development on this fork of jQuery UI is limited to fixes for security issues
affecting Drupal projects.
Production versions of jQuery UI code can be generated with the following
commands:
Navigate to `core/` folder:
```
cd core/
```
Ensure that dependencies have been installed:
```
yarn install
```
Build jQuery UI files for production:
```
yarn run build:jqueryui
```
Note: at the moment our forked code doesn't have any test coverage. Making any
changes to the code should be avoided until
https://www.drupal.org/project/drupal/issues/3093172 has been resolved.
More information
----------------
* See the Drupal.org issue that partially forked jQuery UI:
https://www.drupal.org/project/drupal/issues/3087685
* See the Drupal.org issue for removing the rest of the jQuery UI components:
https://www.drupal.org/project/drupal/issues/3067261

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Autocomplete 1.12.1
* jQuery UI Autocomplete 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Button 1.12.1
* jQuery UI Button 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Checkboxradio 1.12.1
* jQuery UI Checkboxradio 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Controlgroup 1.12.1
* jQuery UI Controlgroup 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI CSS Framework 1.12.1
* jQuery UI CSS Framework 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -50,7 +50,7 @@
left: 0;
position: absolute;
opacity: 0;
filter:Alpha(Opacity=0); /* support: IE8 */
-ms-filter: "alpha(opacity=0)"; /* support: IE8 */
}
.ui-front {

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Dialog 1.12.1
* jQuery UI Dialog 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Draggable 1.12.1
* jQuery UI Draggable 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Menu 1.12.1
* jQuery UI Menu 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Resizable 1.12.1
* jQuery UI Resizable 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI CSS Framework 1.12.1
* jQuery UI CSS Framework 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -172,18 +172,18 @@ a.ui-button:active,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
opacity: .7;
filter:Alpha(Opacity=70); /* support: IE8 */
-ms-filter: "alpha(opacity=70)"; /* support: IE8 */
font-weight: normal;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
opacity: .35;
filter:Alpha(Opacity=35); /* support: IE8 */
-ms-filter: "alpha(opacity=35)"; /* support: IE8 */
background-image: none;
}
.ui-state-disabled .ui-icon {
filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
-ms-filter: "alpha(opacity=35)"; /* support: IE8 - See #6059 */
}
/* Icons
@ -224,7 +224,10 @@ a.ui-button:active,
}
/* positioning */
.ui-icon-blank { background-position: 16px 16px; }
/* Three classes needed to override `.ui-button:hover .ui-icon` */
.ui-icon-blank.ui-icon-blank.ui-icon-blank {
background-image: none;
}
.ui-icon-caret-1-n { background-position: 0 0; }
.ui-icon-caret-1-ne { background-position: -16px 0; }
.ui-icon-caret-1-e { background-position: -32px 0; }
@ -435,7 +438,7 @@ a.ui-button:active,
.ui-widget-overlay {
background: #aaaaaa/*{bgColorOverlay}*/ /*{bgImgUrlOverlay}*/ /*{bgOverlayXPos}*/ /*{bgOverlayYPos}*/ /*{bgOverlayRepeat}*/;
opacity: .3/*{opacityOverlay}*/;
filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; /* support: IE8 */
-ms-filter: "alpha(opacity=30)"/*{opacityFilterOverlay}*/; /* support: IE8 */
}
.ui-widget-shadow {
-webkit-box-shadow: 0/*{offsetLeftShadow}*/ 0/*{offsetTopShadow}*/ 5px/*{thicknessShadow}*/ #666666/*{bgColorShadow}*/;

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI :data 1.12.1
* jQuery UI :data 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){return e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo((function(n){return function(t){return!!e.data(t,n)}})):function(n,t,r){return!!e.data(n,r[3])}})}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";return e.extend(e.expr.pseudos,{data:e.expr.createPseudo?e.expr.createPseudo((function(n){return function(t){return!!e.data(t,n)}})):function(n,t,r){return!!e.data(n,r[3])}})}));
//# sourceMappingURL=data-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["data.js"],"names":["factory","define","amd","jQuery","$","extend","expr","pseudos","data","createPseudo","dataName","elem","i","match"],"mappings":";;;;;;;;CAcA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,OAAQD,EAAEE,KAAKC,QAAS,CAChCC,KAAMJ,EAAEE,KAAKG,aACZL,EAAEE,KAAKG,cAAc,SAAUC,GAC9B,OAAO,SAAUC,GAChB,QAASP,EAAEI,KAAMG,EAAMD,OAKzB,SAAUC,EAAMC,EAAGC,GAClB,QAAST,EAAEI,KAAMG,EAAME,EAAO","file":"data-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI :data 1.12.1
* jQuery UI :data 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,6 +13,8 @@
//>>docs: http://api.jqueryui.com/data-selector/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -22,8 +24,10 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
return $.extend( $.expr[ ":" ], {
} )( function( $ ) {
"use strict";
return $.extend( $.expr.pseudos, {
data: $.expr.createPseudo ?
$.expr.createPseudo( function( dataName ) {
return function( elem ) {
@ -36,4 +40,4 @@ return $.extend( $.expr[ ":" ], {
return !!$.data( elem, match[ 3 ] );
}
} );
} ) );
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Disable Selection 1.12.1
* jQuery UI Disable Selection 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){return e.fn.extend({disableSelection:(n="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(n+".ui-disableSelection",(function(e){e.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var n}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";return e.fn.extend({disableSelection:(n="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(n+".ui-disableSelection",(function(e){e.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var n}));
//# sourceMappingURL=disable-selection-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["disable-selection.js"],"names":["factory","define","amd","jQuery","$","fn","extend","disableSelection","eventType","document","createElement","this","on","event","preventDefault","enableSelection","off"],"mappings":";;;;;;;;CAeA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,GAAGC,OAAQ,CACnBC,kBACKC,EAAY,kBAAmBC,SAASC,cAAe,OAC1D,cACA,YAEM,WACN,OAAOC,KAAKC,GAAIJ,EAAY,wBAAwB,SAAUK,GAC7DA,EAAMC,sBAKTC,gBAAiB,WAChB,OAAOJ,KAAKK,IAAK,2BAbA,IACbR","file":"disable-selection-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Disable Selection 1.12.1
* jQuery UI Disable Selection 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -14,6 +14,8 @@
// This file is deprecated
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -23,7 +25,8 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
return $.fn.extend( {
disableSelection: ( function() {
@ -43,4 +46,4 @@ return $.fn.extend( {
}
} );
} ) );
} );

View File

@ -1 +0,0 @@
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){return e.ui.escapeSelector=(n=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(e){return e.replace(n,"\\$1")});var n}));

View File

@ -1,21 +0,0 @@
( function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [ "jquery", "./version" ], factory );
} else {
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
// Internal use only
return $.ui.escapeSelector = ( function() {
var selectorEscape = /([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;
return function( selector ) {
return selector.replace( selectorEscape, "\\$1" );
};
} )();
} ) );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Focusable 1.12.1
* jQuery UI Focusable 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){return e.ui.focusable=function(i,t){var n,a,r,s,o,u=i.nodeName.toLowerCase();return"area"===u?(a=(n=i.parentNode).name,!(!i.href||!a||"map"!==n.nodeName.toLowerCase())&&((r=e("img[usemap='#"+a+"']")).length>0&&r.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(u)?(s=!i.disabled)&&(o=e(i).closest("fieldset")[0])&&(s=!o.disabled):s="a"===u&&i.href||t,s&&e(i).is(":visible")&&function(e){var i=e.css("visibility");for(;"inherit"===i;)i=(e=e.parent()).css("visibility");return"hidden"!==i}(e(i)))},e.extend(e.expr[":"],{focusable:function(i){return e.ui.focusable(i,null!=e.attr(i,"tabindex"))}}),e.ui.focusable}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";return e.ui.focusable=function(i,t){var n,s,r,u,a,o=i.nodeName.toLowerCase();return"area"===o?(s=(n=i.parentNode).name,!(!i.href||!s||"map"!==n.nodeName.toLowerCase())&&((r=e("img[usemap='#"+s+"']")).length>0&&r.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(o)?(u=!i.disabled)&&(a=e(i).closest("fieldset")[0])&&(u=!a.disabled):u="a"===o&&i.href||t,u&&e(i).is(":visible")&&function(e){var i=e.css("visibility");for(;"inherit"===i;)i=(e=e.parent()).css("visibility");return"visible"===i}(e(i)))},e.extend(e.expr.pseudos,{focusable:function(i){return e.ui.focusable(i,null!=e.attr(i,"tabindex"))}}),e.ui.focusable}));
//# sourceMappingURL=focusable-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["focusable.js"],"names":["factory","define","amd","jQuery","$","ui","focusable","element","hasTabindex","map","mapName","img","focusableIfVisible","fieldset","nodeName","toLowerCase","parentNode","name","href","length","is","test","disabled","closest","visibility","css","parent","visible","extend","expr","pseudos","attr"],"mappings":";;;;;;;;CAcA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAyDA,OAtDAA,EAAEC,GAAGC,UAAY,SAAUC,EAASC,GACnC,IAAIC,EAAKC,EAASC,EAAKC,EAAoBC,EAC1CC,EAAWP,EAAQO,SAASC,cAE7B,MAAK,SAAWD,GAEfJ,GADAD,EAAMF,EAAQS,YACAC,QACRV,EAAQW,OAASR,GAA0C,QAA/BD,EAAIK,SAASC,kBAG/CJ,EAAMP,EAAG,gBAAkBM,EAAU,OAC1BS,OAAS,GAAKR,EAAIS,GAAI,eAG7B,0CAA0CC,KAAMP,IACpDF,GAAsBL,EAAQe,YAQ7BT,EAAWT,EAAGG,GAAUgB,QAAS,YAAc,MAE9CX,GAAsBC,EAASS,UAIjCV,EADW,MAAQE,GACEP,EAAQW,MAERV,EAGfI,GAAsBR,EAAGG,GAAUa,GAAI,aAK/C,SAAkBb,GACjB,IAAIiB,EAAajB,EAAQkB,IAAK,cAC9B,KAAuB,YAAfD,GAEPA,GADAjB,EAAUA,EAAQmB,UACGD,IAAK,cAE3B,MAAsB,YAAfD,EAXuDG,CAASvB,EAAGG,MAc3EH,EAAEwB,OAAQxB,EAAEyB,KAAKC,QAAS,CACzBxB,UAAW,SAAUC,GACpB,OAAOH,EAAEC,GAAGC,UAAWC,EAA0C,MAAjCH,EAAE2B,KAAMxB,EAAS,gBAI5CH,EAAEC,GAAGC","file":"focusable-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Focusable 1.12.1
* jQuery UI Focusable 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,6 +13,8 @@
//>>docs: http://api.jqueryui.com/focusable-selector/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -22,7 +24,8 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
// Selectors
$.ui.focusable = function( element, hasTabindex ) {
@ -70,10 +73,10 @@ function visible( element ) {
element = element.parent();
visibility = element.css( "visibility" );
}
return visibility !== "hidden";
return visibility === "visible";
}
$.extend( $.expr[ ":" ], {
$.extend( $.expr.pseudos, {
focusable: function( element ) {
return $.ui.focusable( element, $.attr( element, "tabindex" ) != null );
}
@ -81,4 +84,4 @@ $.extend( $.expr[ ":" ], {
return $.ui.focusable;
} ) );
} );

View File

@ -1 +1,2 @@
!function(n){"function"==typeof define&&define.amd?define(["jquery","./version"],n):n(jQuery)}((function(n){return n.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):n(this[0].form)}}));
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}((function(t){"use strict";return t.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)}}));
//# sourceMappingURL=form-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["form.js"],"names":["factory","define","amd","jQuery","$","fn","_form","this","form","closest"],"mappings":"CAAA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAKA,OAAOA,EAAEC,GAAGC,MAAQ,WACnB,MAAiC,iBAAnBC,KAAM,GAAIC,KAAoBD,KAAKE,QAAS,QAAWL,EAAGG,KAAM,GAAIC","file":"form-min.js"}

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Form Reset Mixin 1.12.1
* jQuery UI Form Reset Mixin 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./form","./version"],e):e(jQuery)}((function(e){return e.ui.formResetMixin={_formResetHandler:function(){var t=e(this);setTimeout((function(){var r=t.data("ui-form-reset-instances");e.each(r,(function(){this.refresh()}))}))},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var e=this.form.data("ui-form-reset-instances")||[];e.length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e)}},_unbindFormResetHandler:function(){if(this.form.length){var t=this.form.data("ui-form-reset-instances");t.splice(e.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./form","./version"],e):e(jQuery)}((function(e){"use strict";return e.ui.formResetMixin={_formResetHandler:function(){var t=e(this);setTimeout((function(){var r=t.data("ui-form-reset-instances");e.each(r,(function(){this.refresh()}))}))},_bindFormResetHandler:function(){if(this.form=this.element._form(),this.form.length){var e=this.form.data("ui-form-reset-instances")||[];e.length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e)}},_unbindFormResetHandler:function(){if(this.form.length){var t=this.form.data("ui-form-reset-instances");t.splice(e.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}}));
//# sourceMappingURL=form-reset-mixin-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["form-reset-mixin.js"],"names":["factory","define","amd","jQuery","$","ui","formResetMixin","_formResetHandler","form","this","setTimeout","instances","data","each","refresh","_bindFormResetHandler","element","_form","length","on","push","_unbindFormResetHandler","splice","inArray","removeData","off"],"mappings":";;;;;;;;CAcA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CACP,SACA,SACA,aACED,GAIHA,EAASG,QAdX,EAgBK,SAAUC,GACf,aAEA,OAAOA,EAAEC,GAAGC,eAAiB,CAC5BC,kBAAmB,WAClB,IAAIC,EAAOJ,EAAGK,MAGdC,YAAY,WACX,IAAIC,EAAYH,EAAKI,KAAM,2BAC3BR,EAAES,KAAMF,GAAW,WAClBF,KAAKK,iBAKRC,sBAAuB,WAEtB,GADAN,KAAKD,KAAOC,KAAKO,QAAQC,QACnBR,KAAKD,KAAKU,OAAhB,CAIA,IAAIP,EAAYF,KAAKD,KAAKI,KAAM,4BAA+B,GACzDD,EAAUO,QAGfT,KAAKD,KAAKW,GAAI,sBAAuBV,KAAKF,mBAE3CI,EAAUS,KAAMX,MAChBA,KAAKD,KAAKI,KAAM,0BAA2BD,KAG5CU,wBAAyB,WACxB,GAAMZ,KAAKD,KAAKU,OAAhB,CAIA,IAAIP,EAAYF,KAAKD,KAAKI,KAAM,2BAChCD,EAAUW,OAAQlB,EAAEmB,QAASd,KAAME,GAAa,GAC3CA,EAAUO,OACdT,KAAKD,KAAKI,KAAM,0BAA2BD,GAE3CF,KAAKD,KACHgB,WAAY,2BACZC,IAAK","file":"form-reset-mixin-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Form Reset Mixin 1.12.1
* jQuery UI Form Reset Mixin 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,6 +13,8 @@
//>>docs: http://api.jqueryui.com/form-reset-mixin/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -26,7 +28,8 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
return $.ui.formResetMixin = {
_formResetHandler: function() {
@ -42,7 +45,7 @@ return $.ui.formResetMixin = {
},
_bindFormResetHandler: function() {
this.form = this.element.form();
this.form = this.element._form();
if ( !this.form.length ) {
return;
}
@ -74,4 +77,4 @@ return $.ui.formResetMixin = {
}
};
} ) );
} );

View File

@ -1,4 +1,6 @@
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -8,13 +10,14 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
// Support: IE8 Only
// IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
// with a string, so we need to find the proper form.
return $.fn.form = function() {
return $.fn._form = function() {
return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
};
} ) );
} );

View File

@ -1 +1,2 @@
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){return e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";return e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())}));
//# sourceMappingURL=ie-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["ie.js"],"names":["factory","define","amd","jQuery","$","ui","ie","exec","navigator","userAgent","toLowerCase"],"mappings":"CAAA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAGA,OAAOA,EAAEC,GAAGC,KAAO,cAAcC,KAAMC,UAAUC,UAAUC","file":"ie-min.js"}

View File

@ -1,4 +1,6 @@
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -8,8 +10,9 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
// This file is deprecated
return $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
} ) );
} );

View File

@ -1,10 +0,0 @@
/*!
* jQuery UI Support for jQuery core 1.7.x 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
!function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}((function(t){"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],(function(n,i){var e="Width"===i?["Left","Right"]:["Top","Bottom"],r=i.toLowerCase(),h={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};function s(n,i,r,h){return t.each(e,(function(){i-=parseFloat(t.css(n,"padding"+this))||0,r&&(i-=parseFloat(t.css(n,"border"+this+"Width"))||0),h&&(i-=parseFloat(t.css(n,"margin"+this))||0)})),i}t.fn["inner"+i]=function(n){return void 0===n?h["inner"+i].call(this):this.each((function(){t(this).css(r,s(this,n)+"px")}))},t.fn["outer"+i]=function(n,e){return"number"!=typeof n?h["outer"+i].call(this,n):this.each((function(){t(this).css(r,s(this,n,!0,e)+"px")}))}})),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))})}));

View File

@ -1,89 +0,0 @@
/*!
* jQuery UI Support for jQuery core 1.7.x 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
//>>label: jQuery 1.7 Support
//>>group: Core
//>>description: Support version 1.7.x of jQuery core
( function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [ "jquery", "./version" ], factory );
} else {
// Browser globals
factory( jQuery );
}
}( function( $ ) {
// Support: jQuery 1.7 only
// Not a great way to check versions, but since we only support 1.7+ and only
// need to detect <1.8, this is a simple check that should suffice. Checking
// for "1.7." would be a bit safer, but the version string is 1.7, not 1.7.0
// and we'll never reach 1.70.0 (if we do, we certainly won't be supporting
// 1.7 anymore). See #11197 for why we're not using feature detection.
if ( $.fn.jquery.substring( 0, 3 ) === "1.7" ) {
// Setters for .innerWidth(), .innerHeight(), .outerWidth(), .outerHeight()
// Unlike jQuery Core 1.8+, these only support numeric values to set the
// dimensions in pixels
$.each( [ "Width", "Height" ], function( i, name ) {
var side = name === "Width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ],
type = name.toLowerCase(),
orig = {
innerWidth: $.fn.innerWidth,
innerHeight: $.fn.innerHeight,
outerWidth: $.fn.outerWidth,
outerHeight: $.fn.outerHeight
};
function reduce( elem, size, border, margin ) {
$.each( side, function() {
size -= parseFloat( $.css( elem, "padding" + this ) ) || 0;
if ( border ) {
size -= parseFloat( $.css( elem, "border" + this + "Width" ) ) || 0;
}
if ( margin ) {
size -= parseFloat( $.css( elem, "margin" + this ) ) || 0;
}
} );
return size;
}
$.fn[ "inner" + name ] = function( size ) {
if ( size === undefined ) {
return orig[ "inner" + name ].call( this );
}
return this.each( function() {
$( this ).css( type, reduce( this, size ) + "px" );
} );
};
$.fn[ "outer" + name ] = function( size, margin ) {
if ( typeof size !== "number" ) {
return orig[ "outer" + name ].call( this, size );
}
return this.each( function() {
$( this ).css( type, reduce( this, size, true, margin ) + "px" );
} );
};
} );
$.fn.addBack = function( selector ) {
return this.add( selector == null ?
this.prevObject : this.prevObject.filter( selector )
);
};
}
} ) );

View File

@ -0,0 +1,11 @@
/*!
* jQuery UI Support for jQuery core 1.8.x and newer 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";if(e.expr.pseudos||(e.expr.pseudos=e.expr[":"]),e.uniqueSort||(e.uniqueSort=e.unique),!e.escapeSelector){var n=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,t=function(e,n){return n?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e};e.escapeSelector=function(e){return(e+"").replace(n,t)}}e.fn.even&&e.fn.odd||e.fn.extend({even:function(){return this.filter((function(e){return e%2==0}))},odd:function(){return this.filter((function(e){return e%2==1}))}})}));
//# sourceMappingURL=jquery-patch-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["jquery-patch.js"],"names":["factory","define","amd","jQuery","$","expr","pseudos","uniqueSort","unique","escapeSelector","rcssescape","fcssescape","ch","asCodePoint","slice","charCodeAt","length","toString","sel","replace","fn","even","odd","extend","this","filter","i"],"mappings":";;;;;;;;;CAcA,SAAYA,GACZ,aAEwB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAiBA,GAbMA,EAAEC,KAAKC,UACZF,EAAEC,KAAKC,QAAUF,EAAEC,KAAM,MAKpBD,EAAEG,aACPH,EAAEG,WAAaH,EAAEI,SAMZJ,EAAEK,eAAiB,CAIxB,IAAIC,EAAa,+CAEbC,EAAa,SAAUC,EAAIC,GAC9B,OAAKA,EAGQ,OAAPD,EACG,IAIDA,EAAGE,MAAO,GAAI,GAAM,KAAOF,EAAGG,WAAYH,EAAGI,OAAS,GAAIC,SAAU,IAAO,IAI5E,KAAOL,GAGfR,EAAEK,eAAiB,SAAUS,GAC5B,OAASA,EAAM,IAAKC,QAAST,EAAYC,IAMrCP,EAAEgB,GAAGC,MAASjB,EAAEgB,GAAGE,KACxBlB,EAAEgB,GAAGG,OAAQ,CACZF,KAAM,WACL,OAAOG,KAAKC,QAAQ,SAAUC,GAC7B,OAAOA,EAAI,GAAM,MAGnBJ,IAAK,WACJ,OAAOE,KAAKC,QAAQ,SAAUC,GAC7B,OAAOA,EAAI,GAAM","file":"jquery-patch-min.js"}

View File

@ -0,0 +1,89 @@
/*!
* jQuery UI Support for jQuery core 1.8.x and newer 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
//>>label: jQuery 1.8+ Support
//>>group: Core
//>>description: Support version 1.8.x and newer of jQuery core
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [ "jquery", "./version" ], factory );
} else {
// Browser globals
factory( jQuery );
}
} )( function( $ ) {
"use strict";
// Support: jQuery 1.9.x or older
// $.expr[ ":" ] is deprecated.
if ( !$.expr.pseudos ) {
$.expr.pseudos = $.expr[ ":" ];
}
// Support: jQuery 1.11.x or older
// $.unique has been renamed to $.uniqueSort
if ( !$.uniqueSort ) {
$.uniqueSort = $.unique;
}
// Support: jQuery 2.2.x or older.
// This method has been defined in jQuery 3.0.0.
// Code from https://github.com/jquery/jquery/blob/e539bac79e666bba95bba86d690b4e609dca2286/src/selector/escapeSelector.js
if ( !$.escapeSelector ) {
// CSS string/identifier serialization
// https://drafts.csswg.org/cssom/#common-serializing-idioms
var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
var fcssescape = function( ch, asCodePoint ) {
if ( asCodePoint ) {
// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
if ( ch === "\0" ) {
return "\uFFFD";
}
// Control characters and (dependent upon position) numbers get escaped as code points
return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
}
// Other potentially-special ASCII characters get backslash-escaped
return "\\" + ch;
};
$.escapeSelector = function( sel ) {
return ( sel + "" ).replace( rcssescape, fcssescape );
};
}
// Support: jQuery 3.4.x or older
// These methods have been defined in jQuery 3.5.0.
if ( !$.fn.even || !$.fn.odd ) {
$.fn.extend( {
even: function() {
return this.filter( function( i ) {
return i % 2 === 0;
} );
},
odd: function() {
return this.filter( function( i ) {
return i % 2 === 1;
} );
}
} );
}
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Keycode 1.12.1
* jQuery UI Keycode 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(E){"function"==typeof define&&define.amd?define(["jquery","./version"],E):E(jQuery)}((function(E){return E.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}));
//# sourceMappingURL=keycode-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["keycode.js"],"names":["factory","define","amd","jQuery","$","ui","keyCode","BACKSPACE","COMMA","DELETE","DOWN","END","ENTER","ESCAPE","HOME","LEFT","PAGE_DOWN","PAGE_UP","PERIOD","RIGHT","SPACE","TAB","UP"],"mappings":";;;;;;;;CAcA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,GAAGC,QAAU,CACrBC,UAAW,EACXC,MAAO,IACPC,OAAQ,GACRC,KAAM,GACNC,IAAK,GACLC,MAAO,GACPC,OAAQ,GACRC,KAAM,GACNC,KAAM,GACNC,UAAW,GACXC,QAAS,GACTC,OAAQ,IACRC,MAAO,GACPC,MAAO,GACPC,IAAK,EACLC,GAAI","file":"keycode-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Keycode 1.12.1
* jQuery UI Keycode 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,6 +13,8 @@
//>>docs: http://api.jqueryui.com/jQuery.ui.keyCode/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -22,7 +24,9 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
return $.ui.keyCode = {
BACKSPACE: 8,
COMMA: 188,
@ -42,4 +46,4 @@ return $.ui.keyCode = {
UP: 38
};
} ) );
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Labels 1.12.1
* jQuery UI Labels 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version","./escape-selector"],e):e(jQuery)}((function(e){return e.fn.labels=function(){var t,s,i,n,a;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),(i=this.attr("id"))&&(a=(t=this.eq(0).parents().last()).add(t.length?t.siblings():this.siblings()),s="label[for='"+e.ui.escapeSelector(i)+"']",n=n.add(a.find(s).addBack(s))),this.pushStack(n))}}));
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}((function(t){"use strict";return t.fn.labels=function(){var e,s,i,n,a;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),(i=this.attr("id"))&&(a=(e=this.eq(0).parents().last()).add(e.length?e.siblings():this.siblings()),s="label[for='"+t.escapeSelector(i)+"']",n=n.add(a.find(s).addBack(s))),this.pushStack(n)):this.pushStack([])}}));
//# sourceMappingURL=labels-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["labels.js"],"names":["factory","define","amd","jQuery","$","fn","labels","ancestor","selector","id","ancestors","this","length","pushStack","eq","parents","attr","last","add","siblings","escapeSelector","find","addBack"],"mappings":";;;;;;;;CAcA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,GAAGC,OAAS,WACpB,IAAIC,EAAUC,EAAUC,EAAIH,EAAQI,EAEpC,OAAMC,KAAKC,OAKND,KAAM,GAAIL,QAAUK,KAAM,GAAIL,OAAOM,OAClCD,KAAKE,UAAWF,KAAM,GAAIL,SAMlCA,EAASK,KAAKG,GAAI,GAAIC,QAAS,UAG/BN,EAAKE,KAAKK,KAAM,SAQfN,GAHAH,EAAWI,KAAKG,GAAI,GAAIC,UAAUE,QAGbC,IAAKX,EAASK,OAASL,EAASY,WAAaR,KAAKQ,YAGvEX,EAAW,cAAgBJ,EAAEgB,eAAgBX,GAAO,KAEpDH,EAASA,EAAOY,IAAKR,EAAUW,KAAMb,GAAWc,QAASd,KAKnDG,KAAKE,UAAWP,IAhCfK,KAAKE,UAAW","file":"labels-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Labels 1.12.1
* jQuery UI Labels 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,20 +13,27 @@
//>>docs: http://api.jqueryui.com/labels/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [ "jquery", "./version", "./escape-selector" ], factory );
define( [ "jquery", "./version" ], factory );
} else {
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
return $.fn.labels = function() {
var ancestor, selector, id, labels, ancestors;
if ( !this.length ) {
return this.pushStack( [] );
}
// Check control.labels first
if ( this[ 0 ].labels && this[ 0 ].labels.length ) {
return this.pushStack( this[ 0 ].labels );
@ -49,7 +56,7 @@ return $.fn.labels = function() {
ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() );
// Create a selector for the label based on the id
selector = "label[for='" + $.ui.escapeSelector( id ) + "']";
selector = "label[for='" + $.escapeSelector( id ) + "']";
labels = labels.add( ancestors.find( selector ).addBack( selector ) );
@ -59,4 +66,4 @@ return $.fn.labels = function() {
return this.pushStack( labels );
};
} ) );
} );

View File

@ -1 +1,2 @@
!function(n){"function"==typeof define&&define.amd?define(["jquery","./version"],n):n(jQuery)}((function(n){return n.ui.plugin={add:function(e,i,o){var t,u=n.ui[e].prototype;for(t in o)u.plugins[t]=u.plugins[t]||[],u.plugins[t].push([i,o[t]])},call:function(n,e,i,o){var t,u=n.plugins[e];if(u&&(o||n.element[0].parentNode&&11!==n.element[0].parentNode.nodeType))for(t=0;t<u.length;t++)n.options[u[t][0]]&&u[t][1].apply(n.element,i)}}}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";return e.ui.plugin={add:function(n,i,t){var u,o=e.ui[n].prototype;for(u in t)o.plugins[u]=o.plugins[u]||[],o.plugins[u].push([i,t[u]])},call:function(e,n,i,t){var u,o=e.plugins[n];if(o&&(t||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(u=0;u<o.length;u++)e.options[o[u][0]]&&o[u][1].apply(e.element,i)}}}));
//# sourceMappingURL=plugin-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["plugin.js"],"names":["factory","define","amd","jQuery","$","ui","plugin","add","module","option","set","i","proto","prototype","plugins","push","call","instance","name","args","allowDisconnected","element","parentNode","nodeType","length","options","apply"],"mappings":"CAAA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAGA,OAAOA,EAAEC,GAAGC,OAAS,CACpBC,IAAK,SAAUC,EAAQC,EAAQC,GAC9B,IAAIC,EACHC,EAAQR,EAAEC,GAAIG,GAASK,UACxB,IAAMF,KAAKD,EACVE,EAAME,QAASH,GAAMC,EAAME,QAASH,IAAO,GAC3CC,EAAME,QAASH,GAAII,KAAM,CAAEN,EAAQC,EAAKC,MAG1CK,KAAM,SAAUC,EAAUC,EAAMC,EAAMC,GACrC,IAAIT,EACHD,EAAMO,EAASH,QAASI,GAEzB,GAAMR,IAIAU,GAAwBH,EAASI,QAAS,GAAIC,YACJ,KAA9CL,EAASI,QAAS,GAAIC,WAAWC,UAInC,IAAMZ,EAAI,EAAGA,EAAID,EAAIc,OAAQb,IACvBM,EAASQ,QAASf,EAAKC,GAAK,KAChCD,EAAKC,GAAK,GAAIe,MAAOT,EAASI,QAASF","file":"plugin-min.js"}

View File

@ -1,4 +1,6 @@
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -8,7 +10,8 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
// $.ui.plugin is deprecated. Use $.widget() extensions instead.
return $.ui.plugin = {
@ -41,4 +44,4 @@ return $.ui.plugin = {
}
};
} ) );
} );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Position 1.12.1
* jQuery UI Position 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -16,6 +16,8 @@
//>>demos: http://jqueryui.com/position/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -25,7 +27,9 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
( function() {
var cachedScrollbarWidth,
max = Math.max,
@ -48,6 +52,10 @@ function parseCss( element, property ) {
return parseInt( $.css( element, property ), 10 ) || 0;
}
function isWindow( obj ) {
return obj != null && obj === obj.window;
}
function getDimensions( elem ) {
var raw = elem[ 0 ];
if ( raw.nodeType === 9 ) {
@ -57,7 +65,7 @@ function getDimensions( elem ) {
offset: { top: 0, left: 0 }
};
}
if ( $.isWindow( raw ) ) {
if ( isWindow( raw ) ) {
return {
width: elem.width(),
height: elem.height(),
@ -84,9 +92,9 @@ $.position = {
return cachedScrollbarWidth;
}
var w1, w2,
div = $( "<div " +
"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
"<div style='height:100px;width:auto;'></div></div>" ),
div = $( "<div style=" +
"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
"<div style='height:300px;width:auto;'></div></div>" ),
innerDiv = div.children()[ 0 ];
$( "body" ).append( div );
@ -119,12 +127,12 @@ $.position = {
},
getWithinInfo: function( element ) {
var withinElement = $( element || window ),
isWindow = $.isWindow( withinElement[ 0 ] ),
isElemWindow = isWindow( withinElement[ 0 ] ),
isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9,
hasOffset = !isWindow && !isDocument;
hasOffset = !isElemWindow && !isDocument;
return {
element: withinElement,
isWindow: isWindow,
isWindow: isElemWindow,
isDocument: isDocument,
offset: hasOffset ? $( element ).offset() : { left: 0, top: 0 },
scrollLeft: withinElement.scrollLeft(),
@ -500,4 +508,4 @@ $.ui.position = {
return $.ui.position;
} ) );
} );

View File

@ -1 +1,2 @@
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){return e.ui.safeActiveElement=function(e){var n;try{n=e.activeElement}catch(t){n=e.body}return n||(n=e.body),n.nodeName||(n=e.body),n}}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";return e.ui.safeActiveElement=function(e){var n;try{n=e.activeElement}catch(t){n=e.body}return n||(n=e.body),n.nodeName||(n=e.body),n}}));
//# sourceMappingURL=safe-active-element-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["safe-active-element.js"],"names":["factory","define","amd","jQuery","$","ui","safeActiveElement","document","activeElement","error","body","nodeName"],"mappings":"CAAA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,GAAGC,kBAAoB,SAAUC,GACzC,IAAIC,EAIJ,IACCA,EAAgBD,EAASC,cACxB,MAAQC,GACTD,EAAgBD,EAASG,KAiB1B,OAXMF,IACLA,EAAgBD,EAASG,MAMpBF,EAAcG,WACnBH,EAAgBD,EAASG,MAGnBF","file":"safe-active-element-min.js"}

View File

@ -1,4 +1,6 @@
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -8,7 +10,9 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
return $.ui.safeActiveElement = function( document ) {
var activeElement;
@ -37,4 +41,4 @@ return $.ui.safeActiveElement = function( document ) {
return activeElement;
};
} ) );
} );

View File

@ -1 +1,2 @@
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){return e.ui.safeBlur=function(n){n&&"body"!==n.nodeName.toLowerCase()&&e(n).trigger("blur")}}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){"use strict";return e.ui.safeBlur=function(n){n&&"body"!==n.nodeName.toLowerCase()&&e(n).trigger("blur")}}));
//# sourceMappingURL=safe-blur-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["safe-blur.js"],"names":["factory","define","amd","jQuery","$","ui","safeBlur","element","nodeName","toLowerCase","trigger"],"mappings":"CAAA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,GAAGC,SAAW,SAAUC,GAI3BA,GAA8C,SAAnCA,EAAQC,SAASC,eAChCL,EAAGG,GAAUG,QAAS","file":"safe-blur-min.js"}

View File

@ -1,4 +1,6 @@
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -8,7 +10,9 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
return $.ui.safeBlur = function( element ) {
// Support: IE9 - 10 only
@ -18,4 +22,4 @@ return $.ui.safeBlur = function( element ) {
}
};
} ) );
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Scroll Parent 1.12.1
* jQuery UI Scroll Parent 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}((function(e){return e.fn.scrollParent=function(t){var n=this.css("position"),o="absolute"===n,s=t?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter((function(){var t=e(this);return(!o||"static"!==t.css("position"))&&s.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))})).eq(0);return"fixed"!==n&&i.length?i:e(this[0].ownerDocument||document)}}));
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}((function(t){"use strict";return t.fn.scrollParent=function(e){var s=this.css("position"),n="absolute"===s,o=e?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter((function(){var e=t(this);return(!n||"static"!==e.css("position"))&&o.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))})).eq(0);return"fixed"!==s&&i.length?i:t(this[0].ownerDocument||document)}}));
//# sourceMappingURL=scroll-parent-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["scroll-parent.js"],"names":["factory","define","amd","jQuery","$","fn","scrollParent","includeHidden","position","this","css","excludeStaticParent","overflowRegex","parents","filter","parent","test","eq","length","ownerDocument","document"],"mappings":";;;;;;;;CAcA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,GAAGC,aAAe,SAAUC,GACpC,IAAIC,EAAWC,KAAKC,IAAK,YACxBC,EAAmC,aAAbH,EACtBI,EAAgBL,EAAgB,uBAAyB,gBACzDD,EAAeG,KAAKI,UAAUC,QAAQ,WACrC,IAAIC,EAASX,EAAGK,MAChB,QAAKE,GAAoD,WAA7BI,EAAOL,IAAK,cAGjCE,EAAcI,KAAMD,EAAOL,IAAK,YAAeK,EAAOL,IAAK,cACjEK,EAAOL,IAAK,kBACVO,GAAI,GAET,MAAoB,UAAbT,GAAyBF,EAAaY,OAE5CZ,EADAF,EAAGK,KAAM,GAAIU,eAAiBC","file":"scroll-parent-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Scroll Parent 1.12.1
* jQuery UI Scroll Parent 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,6 +13,8 @@
//>>docs: http://api.jqueryui.com/scrollParent/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -22,7 +24,8 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
return $.fn.scrollParent = function( includeHidden ) {
var position = this.css( "position" ),
@ -42,4 +45,4 @@ return $.fn.scrollParent = function( includeHidden ) {
scrollParent;
};
} ) );
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Tabbable 1.12.1
* jQuery UI Tabbable 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./version","./focusable"],e):e(jQuery)}((function(e){return e.extend(e.expr[":"],{tabbable:function(n){var t=e.attr(n,"tabindex"),u=null!=t;return(!u||t>=0)&&e.ui.focusable(n,u)}})}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version","./focusable"],e):e(jQuery)}((function(e){"use strict";return e.extend(e.expr.pseudos,{tabbable:function(n){var t=e.attr(n,"tabindex"),u=null!=t;return(!u||t>=0)&&e.ui.focusable(n,u)}})}));
//# sourceMappingURL=tabbable-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["tabbable.js"],"names":["factory","define","amd","jQuery","$","extend","expr","pseudos","tabbable","element","tabIndex","attr","hasTabindex","ui","focusable"],"mappings":";;;;;;;;CAcA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,YAAa,eAAiBD,GAIlDA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,OAAQD,EAAEE,KAAKC,QAAS,CAChCC,SAAU,SAAUC,GACnB,IAAIC,EAAWN,EAAEO,KAAMF,EAAS,YAC/BG,EAA0B,MAAZF,EACf,QAAUE,GAAeF,GAAY,IAAON,EAAES,GAAGC,UAAWL,EAASG","file":"tabbable-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Tabbable 1.12.1
* jQuery UI Tabbable 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,6 +13,8 @@
//>>docs: http://api.jqueryui.com/tabbable-selector/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -22,9 +24,10 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
return $.extend( $.expr[ ":" ], {
return $.extend( $.expr.pseudos, {
tabbable: function( element ) {
var tabIndex = $.attr( element, "tabindex" ),
hasTabindex = tabIndex != null;
@ -32,4 +35,4 @@ return $.extend( $.expr[ ":" ], {
}
} );
} ) );
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Unique ID 1.12.1
* jQuery UI Unique ID 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(i){"function"==typeof define&&define.amd?define(["jquery","./version"],i):i(jQuery)}((function(i){return i.fn.extend({uniqueId:(n=0,function(){return this.each((function(){this.id||(this.id="ui-id-"+ ++n)}))}),removeUniqueId:function(){return this.each((function(){/^ui-id-\d+$/.test(this.id)&&i(this).removeAttr("id")}))}});var n}));
!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],i):i(jQuery)}((function(i){"use strict";return i.fn.extend({uniqueId:(e=0,function(){return this.each((function(){this.id||(this.id="ui-id-"+ ++e)}))}),removeUniqueId:function(){return this.each((function(){/^ui-id-\d+$/.test(this.id)&&i(this).removeAttr("id")}))}});var e}));
//# sourceMappingURL=unique-id-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["unique-id.js"],"names":["factory","define","amd","jQuery","$","fn","extend","uniqueId","uuid","this","each","id","removeUniqueId","test","removeAttr"],"mappings":";;;;;;;;CAcA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,SAAU,aAAeD,GAInCA,EAASG,QAVX,EAYK,SAAUC,GACf,aAEA,OAAOA,EAAEC,GAAGC,OAAQ,CACnBC,UACKC,EAAO,EAEJ,WACN,OAAOC,KAAKC,MAAM,WACXD,KAAKE,KACVF,KAAKE,GAAK,YAAeH,QAM7BI,eAAgB,WACf,OAAOH,KAAKC,MAAM,WACZ,cAAcG,KAAMJ,KAAKE,KAC7BP,EAAGK,MAAOK,WAAY,YAff,IACLN","file":"unique-id-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Unique ID 1.12.1
* jQuery UI Unique ID 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,6 +13,8 @@
//>>docs: http://api.jqueryui.com/uniqueId/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -22,7 +24,8 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
return $.fn.extend( {
uniqueId: ( function() {
@ -46,4 +49,4 @@ return $.fn.extend( {
}
} );
} ) );
} );

View File

@ -1 +1,2 @@
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}((function(e){return e.ui=e.ui||{},e.ui.version="1.12.1"}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}((function(e){"use strict";return e.ui=e.ui||{},e.ui.version="1.13.1"}));
//# sourceMappingURL=version-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["version.js"],"names":["factory","define","amd","jQuery","$","ui","version"],"mappings":"CAAA,SAAYA,GACX,aAEuB,mBAAXC,QAAyBA,OAAOC,IAG3CD,OAAQ,CAAE,UAAYD,GAItBA,EAASG,QAVX,EAYK,SAAUC,GACf,aAIA,OAFAA,EAAEC,GAAKD,EAAEC,IAAM,GAERD,EAAEC,GAAGC,QAAU","file":"version-min.js"}

View File

@ -1,4 +1,6 @@
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -8,10 +10,11 @@
// Browser globals
factory( jQuery );
}
} ( function( $ ) {
} )( function( $ ) {
"use strict";
$.ui = $.ui || {};
return $.ui.version = "1.12.1";
return $.ui.version = "1.13.1";
} ) );
} );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Widget 1.12.1
* jQuery UI Widget 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -14,6 +14,8 @@
//>>demos: http://jqueryui.com/widget/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -23,25 +25,23 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
var widgetUuid = 0;
var widgetHasOwnProperty = Array.prototype.hasOwnProperty;
var widgetSlice = Array.prototype.slice;
$.cleanData = ( function( orig ) {
return function( elems ) {
var events, elem, i;
for ( i = 0; ( elem = elems[ i ] ) != null; i++ ) {
try {
// Only trigger remove when necessary to save time
events = $._data( elem, "events" );
if ( events && events.remove ) {
$( elem ).triggerHandler( "remove" );
}
// Http://bugs.jquery.com/ticket/8235
} catch ( e ) {}
// Only trigger remove when necessary to save time
events = $._data( elem, "events" );
if ( events && events.remove ) {
$( elem ).triggerHandler( "remove" );
}
}
orig( elems );
};
@ -63,12 +63,12 @@ $.widget = function( name, base, prototype ) {
base = $.Widget;
}
if ( $.isArray( prototype ) ) {
if ( Array.isArray( prototype ) ) {
prototype = $.extend.apply( null, [ {} ].concat( prototype ) );
}
// Create selector for plugin
$.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
$.expr.pseudos[ fullName.toLowerCase() ] = function( elem ) {
return !!$.data( elem, fullName );
};
@ -77,7 +77,7 @@ $.widget = function( name, base, prototype ) {
constructor = $[ namespace ][ name ] = function( options, element ) {
// Allow instantiation without "new" keyword
if ( !this._createWidget ) {
if ( !this || !this._createWidget ) {
return new constructor( options, element );
}
@ -108,7 +108,7 @@ $.widget = function( name, base, prototype ) {
// inheriting from
basePrototype.options = $.widget.extend( {}, basePrototype.options );
$.each( prototype, function( prop, value ) {
if ( !$.isFunction( value ) ) {
if ( typeof value !== "function" ) {
proxiedPrototype[ prop ] = value;
return;
}
@ -187,7 +187,7 @@ $.widget.extend = function( target ) {
for ( ; inputIndex < inputLength; inputIndex++ ) {
for ( key in input[ inputIndex ] ) {
value = input[ inputIndex ][ key ];
if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {
if ( widgetHasOwnProperty.call( input[ inputIndex ], key ) && value !== undefined ) {
// Clone objects
if ( $.isPlainObject( value ) ) {
@ -236,7 +236,8 @@ $.widget.bridge = function( name, object ) {
"attempted to call method '" + options + "'" );
}
if ( !$.isFunction( instance[ options ] ) || options.charAt( 0 ) === "_" ) {
if ( typeof instance[ options ] !== "function" ||
options.charAt( 0 ) === "_" ) {
return $.error( "no such method '" + options + "' for " + name +
" widget instance" );
}
@ -497,12 +498,34 @@ $.Widget.prototype = {
classes: this.options.classes || {}
}, options );
function bindRemoveEvent() {
var nodesToBind = [];
options.element.each( function( _, element ) {
var isTracked = $.map( that.classesElementLookup, function( elements ) {
return elements;
} )
.some( function( elements ) {
return elements.is( element );
} );
if ( !isTracked ) {
nodesToBind.push( element );
}
} );
that._on( $( nodesToBind ), {
remove: "_untrackClassesElement"
} );
}
function processClassString( classes, checkOption ) {
var current, i;
for ( i = 0; i < classes.length; i++ ) {
current = that.classesElementLookup[ classes[ i ] ] || $();
if ( options.add ) {
current = $( $.unique( current.get().concat( options.element.get() ) ) );
bindRemoveEvent();
current = $( $.uniqueSort( current.get().concat( options.element.get() ) ) );
} else {
current = $( current.not( options.element ).get() );
}
@ -514,10 +537,6 @@ $.Widget.prototype = {
}
}
this._on( options.element, {
"remove": "_untrackClassesElement"
} );
if ( options.keys ) {
processClassString( options.keys.match( /\S+/g ) || [], true );
}
@ -535,6 +554,8 @@ $.Widget.prototype = {
that.classesElementLookup[ key ] = $( value.not( event.target ).get() );
}
} );
this._off( $( event.target ) );
},
_removeClass: function( element, keys, extra ) {
@ -615,7 +636,7 @@ $.Widget.prototype = {
_off: function( element, eventName ) {
eventName = ( eventName || "" ).split( " " ).join( this.eventNamespace + " " ) +
this.eventNamespace;
element.off( eventName ).off( eventName );
element.off( eventName );
// Clear the stack to avoid memory leaks (#10056)
this.bindings = $( this.bindings.not( element ).get() );
@ -681,7 +702,7 @@ $.Widget.prototype = {
}
this.element.trigger( event, data );
return !( $.isFunction( callback ) &&
return !( typeof callback === "function" &&
callback.apply( this.element[ 0 ], [ event ].concat( data ) ) === false ||
event.isDefaultPrevented() );
}
@ -703,6 +724,8 @@ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
options = options || {};
if ( typeof options === "number" ) {
options = { duration: options };
} else if ( options === true ) {
options = {};
}
hasOptions = !$.isEmptyObject( options );
@ -730,4 +753,4 @@ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
return $.widget;
} ) );
} );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Autocomplete 1.12.1
* jQuery UI Autocomplete 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -17,6 +17,8 @@
//>>css.theme: ../../themes/base/theme.css
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -34,10 +36,11 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
$.widget( "ui.autocomplete", {
version: "1.12.1",
version: "1.13.1",
defaultElement: "<input>",
options: {
appendTo: null,
@ -63,6 +66,7 @@ $.widget( "ui.autocomplete", {
requestIndex: 0,
pending: 0,
liveRegionTimer: null,
_create: function() {
@ -200,11 +204,6 @@ $.widget( "ui.autocomplete", {
this.previous = this._value();
},
blur: function( event ) {
if ( this.cancelBlur ) {
delete this.cancelBlur;
return;
}
clearTimeout( this.searching );
this.close( event );
this._change( event );
@ -220,31 +219,24 @@ $.widget( "ui.autocomplete", {
role: null
} )
.hide()
// Support: IE 11 only, Edge <= 14
// For other browsers, we preventDefault() on the mousedown event
// to keep the dropdown from taking focus from the input. This doesn't
// work for IE/Edge, causing problems with selection and scrolling (#9638)
// Happily, IE and Edge support an "unselectable" attribute that
// prevents an element from receiving focus, exactly what we want here.
.attr( {
"unselectable": "on"
} )
.menu( "instance" );
this._addClass( this.menu.element, "ui-autocomplete", "ui-front" );
this._on( this.menu.element, {
mousedown: function( event ) {
// prevent moving focus out of the text field
// Prevent moving focus out of the text field
event.preventDefault();
// IE doesn't prevent moving focus even with event.preventDefault()
// so we set a flag to know when we should ignore the blur event
this.cancelBlur = true;
this._delay( function() {
delete this.cancelBlur;
// Support: IE 8 only
// Right clicking a menu item or selecting text from the menu items will
// result in focus moving out of the input. However, we've already received
// and ignored the blur event because of the cancelBlur flag set above. So
// we restore focus to ensure that the menu closes properly based on the user's
// next actions.
if ( this.element[ 0 ] !== $.ui.safeActiveElement( this.document[ 0 ] ) ) {
this.element.trigger( "focus" );
}
} );
},
menufocus: function( event, ui ) {
var label, item;
@ -275,9 +267,11 @@ $.widget( "ui.autocomplete", {
// Announce the value in the liveRegion
label = ui.item.attr( "aria-label" ) || item.value;
if ( label && $.trim( label ).length ) {
this.liveRegion.children().hide();
$( "<div>" ).text( label ).appendTo( this.liveRegion );
if ( label && String.prototype.trim.call( label ).length ) {
clearTimeout( this.liveRegionTimer );
this.liveRegionTimer = this._delay( function() {
this.liveRegion.html( $( "<div>" ).text( label ) );
}, 100 );
}
},
menuselect: function( event, ui ) {
@ -387,7 +381,7 @@ $.widget( "ui.autocomplete", {
_initSource: function() {
var array, url,
that = this;
if ( $.isArray( this.options.source ) ) {
if ( Array.isArray( this.options.source ) ) {
array = this.options.source;
this.source = function( request, response ) {
response( $.ui.autocomplete.filter( array, request.term ) );
@ -459,7 +453,7 @@ $.widget( "ui.autocomplete", {
_response: function() {
var index = ++this.requestIndex;
return $.proxy( function( content ) {
return function( content ) {
if ( index === this.requestIndex ) {
this.__response( content );
}
@ -468,7 +462,7 @@ $.widget( "ui.autocomplete", {
if ( !this.pending ) {
this._removeClass( "ui-autocomplete-loading" );
}
}, this );
}.bind( this );
},
__response: function( content ) {
@ -628,7 +622,7 @@ $.widget( "ui.autocomplete", {
var editable = element.prop( "contentEditable" );
if ( editable === "inherit" ) {
return this._isContentEditable( element.parent() );
return this._isContentEditable( element.parent() );
}
return editable === "true";
@ -672,11 +666,13 @@ $.widget( "ui.autocomplete", $.ui.autocomplete, {
} else {
message = this.options.messages.noResults;
}
this.liveRegion.children().hide();
$( "<div>" ).text( message ).appendTo( this.liveRegion );
clearTimeout( this.liveRegionTimer );
this.liveRegionTimer = this._delay( function() {
this.liveRegion.html( $( "<div>" ).text( message ) );
}, 100 );
}
} );
return $.ui.autocomplete;
} ) );
} );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Button 1.12.1
* jQuery UI Button 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -17,6 +17,8 @@
//>>css.theme: ../../themes/base/theme.css
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -36,10 +38,11 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
$.widget( "ui.button", {
version: "1.12.1",
version: "1.13.1",
defaultElement: "<button>",
options: {
classes: {
@ -263,7 +266,7 @@ $.widget( "ui.button", {
this._toggleClass( null, "ui-state-disabled", value );
this.element[ 0 ].disabled = value;
if ( value ) {
this.element.blur();
this.element.trigger( "blur" );
}
}
},
@ -342,22 +345,82 @@ if ( $.uiBackCompat !== false ) {
} );
$.fn.button = ( function( orig ) {
return function() {
if ( !this.length || ( this.length && this[ 0 ].tagName !== "INPUT" ) ||
( this.length && this[ 0 ].tagName === "INPUT" && (
this.attr( "type" ) !== "checkbox" && this.attr( "type" ) !== "radio"
) ) ) {
return orig.apply( this, arguments );
}
if ( !$.ui.checkboxradio ) {
$.error( "Checkboxradio widget missing" );
}
if ( arguments.length === 0 ) {
return this.checkboxradio( {
"icon": false
return function( options ) {
var isMethodCall = typeof options === "string";
var args = Array.prototype.slice.call( arguments, 1 );
var returnValue = this;
if ( isMethodCall ) {
// If this is an empty collection, we need to have the instance method
// return undefined instead of the jQuery instance
if ( !this.length && options === "instance" ) {
returnValue = undefined;
} else {
this.each( function() {
var methodValue;
var type = $( this ).attr( "type" );
var name = type !== "checkbox" && type !== "radio" ?
"button" :
"checkboxradio";
var instance = $.data( this, "ui-" + name );
if ( options === "instance" ) {
returnValue = instance;
return false;
}
if ( !instance ) {
return $.error( "cannot call methods on button" +
" prior to initialization; " +
"attempted to call method '" + options + "'" );
}
if ( typeof instance[ options ] !== "function" ||
options.charAt( 0 ) === "_" ) {
return $.error( "no such method '" + options + "' for button" +
" widget instance" );
}
methodValue = instance[ options ].apply( instance, args );
if ( methodValue !== instance && methodValue !== undefined ) {
returnValue = methodValue && methodValue.jquery ?
returnValue.pushStack( methodValue.get() ) :
methodValue;
return false;
}
} );
}
} else {
// Allow multiple hashes to be passed on init
if ( args.length ) {
options = $.widget.extend.apply( null, [ options ].concat( args ) );
}
this.each( function() {
var type = $( this ).attr( "type" );
var name = type !== "checkbox" && type !== "radio" ? "button" : "checkboxradio";
var instance = $.data( this, "ui-" + name );
if ( instance ) {
instance.option( options || {} );
if ( instance._init ) {
instance._init();
}
} else {
if ( name === "button" ) {
orig.call( $( this ), options );
return;
}
$( this ).checkboxradio( $.extend( { icon: false }, options ) );
}
} );
}
return this.checkboxradio.apply( this, arguments );
return returnValue;
};
} )( $.fn.button );
@ -383,4 +446,4 @@ if ( $.uiBackCompat !== false ) {
return $.ui.button;
} ) );
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Checkboxradio 1.12.1
* jQuery UI Checkboxradio 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","../escape-selector","../form-reset-mixin","../labels","../widget"],e):e(jQuery)}((function(e){return e.widget("ui.checkboxradio",[e.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var i,t,s=this,o=this._super()||{};return this._readType(),t=this.element.labels(),this.label=e(t[t.length-1]),this.label.length||e.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each((function(){s.originalLabel+=3===this.nodeType?e(this).text():this.outerHTML})),this.originalLabel&&(o.label=this.originalLabel),null!=(i=this.element[0].disabled)&&(o.disabled=i),o},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var i=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===i&&/radio|checkbox/.test(this.type)||e.error("Can't create checkboxradio on element.nodeName="+i+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var i=this.element[0].name,t="input[name='"+e.ui.escapeSelector(i)+"']";return i?(this.form.length?e(this.form[0].elements).filter(t):e(t).filter((function(){return 0===e(this).form().length}))).not(this.element):e([])},_toggleClasses:function(){var i=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",i),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",i)._toggleClass(this.icon,null,"ui-icon-blank",!i),"radio"===this.type&&this._getRadioGroup().each((function(){var i=e(this).checkboxradio("instance");i&&i._removeClass(i.label,"ui-checkboxradio-checked","ui-state-active")}))},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,i){if("label"!==e||i){if(this._super(e,i),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",i),void(this.element[0].disabled=i);this.refresh()}},_updateIcon:function(i){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=e("<span>"),this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=i?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,i?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),i||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),this.iconSpace&&(e=e.not(this.iconSpace[0])),e.remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,i=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),i!==this.options.disabled&&this._setOptions({disabled:i})}}]),e.ui.checkboxradio}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../form-reset-mixin","../labels","../widget"],e):e(jQuery)}((function(e){"use strict";return e.widget("ui.checkboxradio",[e.ui.formResetMixin,{version:"1.13.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var i,t,s=this,o=this._super()||{};return this._readType(),t=this.element.labels(),this.label=e(t[t.length-1]),this.label.length||e.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each((function(){s.originalLabel+=3===this.nodeType?e(this).text():this.outerHTML})),this.originalLabel&&(o.label=this.originalLabel),null!=(i=this.element[0].disabled)&&(o.disabled=i),o},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var i=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===i&&/radio|checkbox/.test(this.type)||e.error("Can't create checkboxradio on element.nodeName="+i+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var i=this.element[0].name,t="input[name='"+e.escapeSelector(i)+"']";return i?(this.form.length?e(this.form[0].elements).filter(t):e(t).filter((function(){return 0===e(this)._form().length}))).not(this.element):e([])},_toggleClasses:function(){var i=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",i),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",i)._toggleClass(this.icon,null,"ui-icon-blank",!i),"radio"===this.type&&this._getRadioGroup().each((function(){var i=e(this).checkboxradio("instance");i&&i._removeClass(i.label,"ui-checkboxradio-checked","ui-state-active")}))},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,i){if("label"!==e||i){if(this._super(e,i),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",i),void(this.element[0].disabled=i);this.refresh()}},_updateIcon:function(i){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=e("<span>"),this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=i?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,i?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),i||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),this.iconSpace&&(e=e.not(this.iconSpace[0])),e.remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,i=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),i!==this.options.disabled&&this._setOptions({disabled:i})}}]),e.ui.checkboxradio}));
//# sourceMappingURL=checkboxradio-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["checkboxradio.js"],"names":["factory","define","amd","jQuery","$","widget","ui","formResetMixin","version","options","disabled","label","icon","classes","_getCreateOptions","labels","that","this","_super","_readType","element","length","error","originalLabel","contents","not","each","nodeType","text","outerHTML","_create","checked","_bindFormResetHandler","_setOption","_addClass","type","_updateLabel","_enhance","_on","change","focus","blur","_removeClass","nodeName","toLowerCase","test","_updateIcon","_getRadioGroup","name","nameSelector","escapeSelector","form","elements","filter","_form","_toggleClasses","_toggleClass","instance","checkboxradio","_destroy","_unbindFormResetHandler","remove","iconSpace","key","value","refresh","toAdd","prependTo","after","undefined","append","isDisabled","_setOptions"],"mappings":"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","file":"checkboxradio-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Checkboxradio 1.12.1
* jQuery UI Checkboxradio 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -18,12 +18,13 @@
//>>css.theme: ../../themes/base/theme.css
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [
"jquery",
"../escape-selector",
"../form-reset-mixin",
"../labels",
"../widget"
@ -33,10 +34,11 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
$.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
version: "1.12.1",
version: "1.13.1",
options: {
disabled: null,
label: null,
@ -115,9 +117,6 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
if ( checked ) {
this._addClass( this.label, "ui-checkboxradio-checked", "ui-state-active" );
if ( this.icon ) {
this._addClass( this.icon, null, "ui-state-hover" );
}
}
this._on( {
@ -152,7 +151,7 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
_getRadioGroup: function() {
var group;
var name = this.element[ 0 ].name;
var nameSelector = "input[name='" + $.ui.escapeSelector( name ) + "']";
var nameSelector = "input[name='" + $.escapeSelector( name ) + "']";
if ( !name ) {
return $( [] );
@ -164,7 +163,7 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
// Not inside a form, check all inputs that also are not inside a form
group = $( nameSelector ).filter( function() {
return $( this ).form().length === 0;
return $( this )._form().length === 0;
} );
}
@ -283,4 +282,4 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
return $.ui.checkboxradio;
} ) );
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Controlgroup 1.12.1
* jQuery UI Controlgroup 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(t){"function"==typeof define&&define.amd?define(["jquery","../widget"],t):t(jQuery)}((function(t){var e=/ui-corner-([a-z]){2,6}/g;return t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,(function(n,o){var s,l={};if(o)return"controlgroupLabel"===n?((s=e.element.find(o)).each((function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")})),e._addClass(s,null,"ui-widget ui-widget-content ui-state-default"),void(i=i.concat(s.get()))):void(t.fn[n]&&(l=e["_"+n+"Options"]?e["_"+n+"Options"]("middle"):{classes:{}},e.element.find(o).each((function(){var o=t(this),s=o[n]("instance"),r=t.widget.extend({},l);if("button"!==n||!o.parent(".ui-spinner").length){s||(s=o[n]()[n]("instance")),s&&(r.classes=e._resolveClassesValues(r.classes,s)),o[n](r);var u=o[n]("widget");t.data(u[0],"ui-controlgroup-data",s||o[n]("instance")),i.push(u[0])}}))))})),this.childWidgets=t(t.unique(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each((function(){var i=t(this).data("ui-controlgroup-data");i&&i[e]&&i[e]()}))},_updateCornerClass:function(t,e){var i=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,i)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(i,n){var o={};return t.each(i,(function(s){var l=n.options.classes[s]||"";l=t.trim(l.replace(e,"")),o[s]=(l+" "+i[s]).replace(/\s+/g," ")})),o},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],(function(t,n){var o=e[n]().data("ui-controlgroup-data");if(o&&i["_"+o.widgetName+"Options"]){var s=i["_"+o.widgetName+"Options"](1===e.length?"only":n);s.classes=i._resolveClassesValues(s.classes,o),o.element[o.widgetName](s)}else i._updateCornerClass(e[n](),n)})),this._callChildMethod("refresh"))}})}));
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","../widget"],t):t(jQuery)}((function(t){"use strict";var e=/ui-corner-([a-z]){2,6}/g;return t.widget("ui.controlgroup",{version:"1.13.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,(function(n,o){var s,l={};if(o)return"controlgroupLabel"===n?((s=e.element.find(o)).each((function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")})),e._addClass(s,null,"ui-widget ui-widget-content ui-state-default"),void(i=i.concat(s.get()))):void(t.fn[n]&&(l=e["_"+n+"Options"]?e["_"+n+"Options"]("middle"):{classes:{}},e.element.find(o).each((function(){var o=t(this),s=o[n]("instance"),r=t.widget.extend({},l);if("button"!==n||!o.parent(".ui-spinner").length){s||(s=o[n]()[n]("instance")),s&&(r.classes=e._resolveClassesValues(r.classes,s)),o[n](r);var u=o[n]("widget");t.data(u[0],"ui-controlgroup-data",s||o[n]("instance")),i.push(u[0])}}))))})),this.childWidgets=t(t.uniqueSort(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each((function(){var i=t(this).data("ui-controlgroup-data");i&&i[e]&&i[e]()}))},_updateCornerClass:function(t,e){var i=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,i)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(i,n){var o={};return t.each(i,(function(t){var s=n.options.classes[t]||"";s=String.prototype.trim.call(s.replace(e,"")),o[t]=(s+" "+i[t]).replace(/\s+/g," ")})),o},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],(function(t,n){var o=e[n]().data("ui-controlgroup-data");if(o&&i["_"+o.widgetName+"Options"]){var s=i["_"+o.widgetName+"Options"](1===e.length?"only":n);s.classes=i._resolveClassesValues(s.classes,o),o.element[o.widgetName](s)}else i._updateCornerClass(e[n](),n)})),this._callChildMethod("refresh"))}})}));
//# sourceMappingURL=controlgroup-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["controlgroup.js"],"names":["factory","define","amd","jQuery","$","controlgroupCornerRegex","widget","version","defaultElement","options","direction","disabled","onlyVisible","items","button","controlgroupLabel","checkboxradio","selectmenu","spinner","_create","this","_enhance","element","attr","refresh","_destroy","_callChildMethod","childWidgets","removeData","removeAttr","find","contents","unwrap","_initWidgets","that","each","selector","labels","children","length","wrapAll","_addClass","concat","get","fn","classes","instance","instanceOptions","extend","parent","_resolveClassesValues","widgetElement","data","push","uniqueSort","method","_updateCornerClass","position","add","_buildSimpleOptions","label","_removeClass","key","result","middle","first","last","only","_spinnerOptions","_buttonOptions","_checkboxradioOptions","_selectmenuOptions","width","current","String","prototype","trim","call","replace","_setOption","value","_super","filter","index","widgetName"],"mappings":"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","file":"controlgroup-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Controlgroup 1.12.1
* jQuery UI Controlgroup 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -17,6 +17,8 @@
//>>css.theme: ../../themes/base/theme.css
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -29,11 +31,13 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;
return $.widget( "ui.controlgroup", {
version: "1.12.1",
version: "1.13.1",
defaultElement: "<div>",
options: {
direction: "horizontal",
@ -150,7 +154,7 @@ return $.widget( "ui.controlgroup", {
} );
} );
this.childWidgets = $( $.unique( childWidgets ) );
this.childWidgets = $( $.uniqueSort( childWidgets ) );
this._addClass( this.childWidgets, "ui-controlgroup-item" );
},
@ -234,7 +238,7 @@ return $.widget( "ui.controlgroup", {
var result = {};
$.each( classes, function( key ) {
var current = instance.options.classes[ key ] || "";
current = $.trim( current.replace( controlgroupCornerRegex, "" ) );
current = String.prototype.trim.call( current.replace( controlgroupCornerRegex, "" ) );
result[ key ] = ( current + " " + classes[ key ] ).replace( /\s+/g, " " );
} );
return result;
@ -295,4 +299,4 @@ return $.widget( "ui.controlgroup", {
}
}
} );
} ) );
} );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Dialog 1.12.1
* jQuery UI Dialog 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -17,6 +17,8 @@
//>>css.theme: ../../themes/base/theme.css
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -31,6 +33,7 @@
"../position",
"../safe-active-element",
"../safe-blur",
"../tabbable",
"../unique-id",
"../version",
"../widget"
@ -40,10 +43,11 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
$.widget( "ui.dialog", {
version: "1.12.1",
version: "1.13.1",
options: {
appendTo: "body",
autoOpen: true,
@ -288,7 +292,7 @@ $.widget( "ui.dialog", {
that._trigger( "focus" );
} );
// Track the dialog immediately upon openening in case a focus event
// Track the dialog immediately upon opening in case a focus event
// somehow occurs outside of the dialog before an element inside the
// dialog is focused (#10152)
this._makeFocusTarget();
@ -324,22 +328,23 @@ $.widget( "ui.dialog", {
hasFocus.eq( 0 ).trigger( "focus" );
},
_keepFocus: function( event ) {
function checkFocus() {
var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
isActive = this.uiDialog[ 0 ] === activeElement ||
$.contains( this.uiDialog[ 0 ], activeElement );
if ( !isActive ) {
this._focusTabbable();
}
_restoreTabbableFocus: function() {
var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
isActive = this.uiDialog[ 0 ] === activeElement ||
$.contains( this.uiDialog[ 0 ], activeElement );
if ( !isActive ) {
this._focusTabbable();
}
},
_keepFocus: function( event ) {
event.preventDefault();
checkFocus.call( this );
this._restoreTabbableFocus();
// support: IE
// IE <= 8 doesn't prevent moving focus even with event.preventDefault()
// so we check again later
this._delay( checkFocus );
this._delay( this._restoreTabbableFocus );
},
_createWrapper: function() {
@ -368,8 +373,8 @@ $.widget( "ui.dialog", {
return;
}
var tabbables = this.uiDialog.find( ":tabbable" ),
first = tabbables.filter( ":first" ),
last = tabbables.filter( ":last" );
first = tabbables.first(),
last = tabbables.last();
if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) &&
!event.shiftKey ) {
@ -480,14 +485,14 @@ $.widget( "ui.dialog", {
this.uiDialogButtonPane.remove();
this.uiButtonSet.empty();
if ( $.isEmptyObject( buttons ) || ( $.isArray( buttons ) && !buttons.length ) ) {
if ( $.isEmptyObject( buttons ) || ( Array.isArray( buttons ) && !buttons.length ) ) {
this._removeClass( this.uiDialog, "ui-dialog-buttons" );
return;
}
$.each( buttons, function( name, props ) {
var click, buttonOptions;
props = $.isFunction( props ) ?
props = typeof props === "function" ?
{ click: props, text: name } :
props;
@ -852,6 +857,8 @@ $.widget( "ui.dialog", {
return;
}
var jqMinor = $.fn.jquery.substring( 0, 4 );
// We use a delay in case the overlay is created from an
// event that we're going to be cancelling (#2804)
var isOpening = true;
@ -862,20 +869,28 @@ $.widget( "ui.dialog", {
if ( !this.document.data( "ui-dialog-overlays" ) ) {
// Prevent use of anchors and inputs
// Using _on() for an event handler shared across many instances is
// safe because the dialogs stack and must be closed in reverse order
this._on( this.document, {
focusin: function( event ) {
if ( isOpening ) {
return;
}
// This doesn't use `_on()` because it is a shared event handler
// across all open modal dialogs.
this.document.on( "focusin.ui-dialog", function( event ) {
if ( isOpening ) {
return;
}
if ( !this._allowInteraction( event ) ) {
event.preventDefault();
this._trackingInstances()[ 0 ]._focusTabbable();
var instance = this._trackingInstances()[ 0 ];
if ( !instance._allowInteraction( event ) ) {
event.preventDefault();
instance._focusTabbable();
// Support: jQuery >=3.4 <3.6 only
// Focus re-triggering in jQuery 3.4/3.5 makes the original element
// have its focus event propagated last, breaking the re-targeting.
// Trigger focus in a delay in addition if needed to avoid the issue
// See https://github.com/jquery/jquery/issues/4382
if ( jqMinor === "3.4." || jqMinor === "3.5." ) {
instance._delay( instance._restoreTabbableFocus );
}
}
} );
}.bind( this ) );
}
this.overlay = $( "<div>" )
@ -898,7 +913,7 @@ $.widget( "ui.dialog", {
var overlays = this.document.data( "ui-dialog-overlays" ) - 1;
if ( !overlays ) {
this._off( this.document, "focusin" );
this.document.off( "focusin.ui-dialog" );
this.document.removeData( "ui-dialog-overlays" );
} else {
this.document.data( "ui-dialog-overlays", overlays );
@ -936,4 +951,4 @@ if ( $.uiBackCompat !== false ) {
return $.ui.dialog;
} ) );
} );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Draggable 1.12.1
* jQuery UI Draggable 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -15,6 +15,8 @@
//>>css.structure: ../../themes/base/draggable.css
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -34,10 +36,11 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
$.widget( "ui.draggable", $.ui.mouse, {
version: "1.12.1",
version: "1.13.1",
widgetEventPrefix: "drag",
options: {
addClasses: true,
@ -201,7 +204,9 @@ $.widget( "ui.draggable", $.ui.mouse, {
this.originalPageY = event.pageY;
//Adjust the mouse offset relative to the helper if "cursorAt" is supplied
( o.cursorAt && this._adjustOffsetFromHelper( o.cursorAt ) );
if ( o.cursorAt ) {
this._adjustOffsetFromHelper( o.cursorAt );
}
//Set a containment if given in the options
this._setContainment();
@ -296,7 +301,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
if ( ( this.options.revert === "invalid" && !dropped ) ||
( this.options.revert === "valid" && dropped ) ||
this.options.revert === true || ( $.isFunction( this.options.revert ) &&
this.options.revert === true || ( typeof this.options.revert === "function" &&
this.options.revert.call( this.element, dropped ) )
) {
$( this.helper ).animate(
@ -368,7 +373,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
_createHelper: function( event ) {
var o = this.options,
helperIsFunction = $.isFunction( o.helper ),
helperIsFunction = typeof o.helper === "function",
helper = helperIsFunction ?
$( o.helper.apply( this.element[ 0 ], [ event ] ) ) :
( o.helper === "clone" ?
@ -407,7 +412,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
if ( typeof obj === "string" ) {
obj = obj.split( " " );
}
if ( $.isArray( obj ) ) {
if ( Array.isArray( obj ) ) {
obj = { left: +obj[ 0 ], top: +obj[ 1 ] || 0 };
}
if ( "left" in obj ) {
@ -1116,12 +1121,13 @@ $.ui.plugin.add( "draggable", "snap", {
!$.contains( inst.snapElements[ i ].item.ownerDocument,
inst.snapElements[ i ].item ) ) {
if ( inst.snapElements[ i ].snapping ) {
( inst.options.snap.release &&
if ( inst.options.snap.release ) {
inst.options.snap.release.call(
inst.element,
event,
$.extend( inst._uiHash(), { snapItem: inst.snapElements[ i ].item } )
) );
);
}
}
inst.snapElements[ i ].snapping = false;
continue;
@ -1192,13 +1198,14 @@ $.ui.plugin.add( "draggable", "snap", {
}
if ( !inst.snapElements[ i ].snapping && ( ts || bs || ls || rs || first ) ) {
( inst.options.snap.snap &&
if ( inst.options.snap.snap ) {
inst.options.snap.snap.call(
inst.element,
event,
$.extend( inst._uiHash(), {
snapItem: inst.snapElements[ i ].item
} ) ) );
} ) );
}
}
inst.snapElements[ i ].snapping = ( ts || bs || ls || rs || first );
@ -1216,7 +1223,9 @@ $.ui.plugin.add( "draggable", "stack", {
( parseInt( $( b ).css( "zIndex" ), 10 ) || 0 );
} );
if ( !group.length ) { return; }
if ( !group.length ) {
return;
}
min = parseInt( $( group[ 0 ] ).css( "zIndex" ), 10 ) || 0;
$( group ).each( function( i ) {
@ -1247,4 +1256,4 @@ $.ui.plugin.add( "draggable", "zIndex", {
return $.ui.draggable;
} ) );
} );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Menu 1.12.1
* jQuery UI Menu 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -17,6 +17,8 @@
//>>css.theme: ../../themes/base/theme.css
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -34,10 +36,11 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
return $.widget( "ui.menu", {
version: "1.12.1",
version: "1.13.1",
defaultElement: "<ul>",
delay: 300,
options: {
@ -64,6 +67,7 @@ return $.widget( "ui.menu", {
// Flag used to prevent firing of the click handler
// as the event bubbles up through nested menus
this.mouseHandled = false;
this.lastMousePosition = { x: null, y: null };
this.element
.uniqueId()
.attr( {
@ -78,6 +82,8 @@ return $.widget( "ui.menu", {
// them (focus should always stay on UL during navigation).
"mousedown .ui-menu-item": function( event ) {
event.preventDefault();
this._activateItem( event );
},
"click .ui-menu-item": function( event ) {
var target = $( event.target );
@ -107,36 +113,15 @@ return $.widget( "ui.menu", {
}
}
},
"mouseenter .ui-menu-item": function( event ) {
// Ignore mouse events while typeahead is active, see #10458.
// Prevents focusing the wrong item when typeahead causes a scroll while the mouse
// is over an item in the menu
if ( this.previousFilter ) {
return;
}
var actualTarget = $( event.target ).closest( ".ui-menu-item" ),
target = $( event.currentTarget );
// Ignore bubbled events on parent items, see #11641
if ( actualTarget[ 0 ] !== target[ 0 ] ) {
return;
}
// Remove ui-state-active class from siblings of the newly focused menu item
// to avoid a jump caused by adjacent elements both having a class with a border
this._removeClass( target.siblings().children( ".ui-state-active" ),
null, "ui-state-active" );
this.focus( event, target );
},
"mouseenter .ui-menu-item": "_activateItem",
"mousemove .ui-menu-item": "_activateItem",
mouseleave: "collapseAll",
"mouseleave .ui-menu": "collapseAll",
focus: function( event, keepActiveItem ) {
// If there's already an active item, keep it active
// If not, activate the first item
var item = this.active || this.element.find( this.options.items ).eq( 0 );
var item = this.active || this._menuItems().first();
if ( !keepActiveItem ) {
this.focus( event, item );
@ -162,7 +147,7 @@ return $.widget( "ui.menu", {
this._on( this.document, {
click: function( event ) {
if ( this._closeOnDocumentClick( event ) ) {
this.collapseAll( event );
this.collapseAll( event, true );
}
// Reset the mouseHandled flag
@ -171,6 +156,46 @@ return $.widget( "ui.menu", {
} );
},
_activateItem: function( event ) {
// Ignore mouse events while typeahead is active, see #10458.
// Prevents focusing the wrong item when typeahead causes a scroll while the mouse
// is over an item in the menu
if ( this.previousFilter ) {
return;
}
// If the mouse didn't actually move, but the page was scrolled, ignore the event (#9356)
if ( event.clientX === this.lastMousePosition.x &&
event.clientY === this.lastMousePosition.y ) {
return;
}
this.lastMousePosition = {
x: event.clientX,
y: event.clientY
};
var actualTarget = $( event.target ).closest( ".ui-menu-item" ),
target = $( event.currentTarget );
// Ignore bubbled events on parent items, see #11641
if ( actualTarget[ 0 ] !== target[ 0 ] ) {
return;
}
// If the item is already active, there's nothing to do
if ( target.is( ".ui-state-active" ) ) {
return;
}
// Remove ui-state-active class from siblings of the newly focused menu item
// to avoid a jump caused by adjacent elements both having a class with a border
this._removeClass( target.siblings().children( ".ui-state-active" ),
null, "ui-state-active" );
this.focus( event, target );
},
_destroy: function() {
var items = this.element.find( ".ui-menu-item" )
.removeAttr( "role aria-disabled" ),
@ -502,7 +527,7 @@ return $.widget( "ui.menu", {
this._removeClass( currentMenu.find( ".ui-state-active" ), null, "ui-state-active" );
this.activeMenu = currentMenu;
}, this.delay );
}, all ? 0 : this.delay );
},
// With no arguments, closes the currently active menu - if nothing is active
@ -538,11 +563,7 @@ return $.widget( "ui.menu", {
},
expand: function( event ) {
var newItem = this.active &&
this.active
.children( ".ui-menu " )
.find( this.options.items )
.first();
var newItem = this.active && this._menuItems( this.active.children( ".ui-menu" ) ).first();
if ( newItem && newItem.length ) {
this._open( newItem.parent() );
@ -570,21 +591,27 @@ return $.widget( "ui.menu", {
return this.active && !this.active.nextAll( ".ui-menu-item" ).length;
},
_menuItems: function( menu ) {
return ( menu || this.element )
.find( this.options.items )
.filter( ".ui-menu-item" );
},
_move: function( direction, filter, event ) {
var next;
if ( this.active ) {
if ( direction === "first" || direction === "last" ) {
next = this.active
[ direction === "first" ? "prevAll" : "nextAll" ]( ".ui-menu-item" )
.eq( -1 );
.last();
} else {
next = this.active
[ direction + "All" ]( ".ui-menu-item" )
.eq( 0 );
.first();
}
}
if ( !next || !next.length || !this.active ) {
next = this.activeMenu.find( this.options.items )[ filter ]();
next = this._menuItems( this.activeMenu )[ filter ]();
}
this.focus( event, next );
@ -602,7 +629,13 @@ return $.widget( "ui.menu", {
}
if ( this._hasScroll() ) {
base = this.active.offset().top;
height = this.element.height();
height = this.element.innerHeight();
// jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.
if ( $.fn.jquery.indexOf( "3.2." ) === 0 ) {
height += this.element[ 0 ].offsetHeight - this.element.outerHeight();
}
this.active.nextAll( ".ui-menu-item" ).each( function() {
item = $( this );
return item.offset().top - base - height < 0;
@ -610,7 +643,7 @@ return $.widget( "ui.menu", {
this.focus( event, item );
} else {
this.focus( event, this.activeMenu.find( this.options.items )
this.focus( event, this._menuItems( this.activeMenu )
[ !this.active ? "first" : "last" ]() );
}
},
@ -626,7 +659,13 @@ return $.widget( "ui.menu", {
}
if ( this._hasScroll() ) {
base = this.active.offset().top;
height = this.element.height();
height = this.element.innerHeight();
// jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.
if ( $.fn.jquery.indexOf( "3.2." ) === 0 ) {
height += this.element[ 0 ].offsetHeight - this.element.outerHeight();
}
this.active.prevAll( ".ui-menu-item" ).each( function() {
item = $( this );
return item.offset().top - base + height > 0;
@ -634,7 +673,7 @@ return $.widget( "ui.menu", {
this.focus( event, item );
} else {
this.focus( event, this.activeMenu.find( this.options.items ).first() );
this.focus( event, this._menuItems( this.activeMenu ).first() );
}
},
@ -665,9 +704,10 @@ return $.widget( "ui.menu", {
.filter( ".ui-menu-item" )
.filter( function() {
return regex.test(
$.trim( $( this ).children( ".ui-menu-item-wrapper" ).text() ) );
String.prototype.trim.call(
$( this ).children( ".ui-menu-item-wrapper" ).text() ) );
} );
}
} );
} ) );
} );

View File

@ -1,9 +1,10 @@
/*!
* jQuery UI Mouse 1.12.1
* jQuery UI Mouse 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],e):e(jQuery)}((function(e){var t=!1;return e(document).on("mouseup",(function(){t=!1})),e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(i){if(!0===e.data(i.target,t.widgetName+".preventClickEvent"))return e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,o=1===i.which,n=!("string"!=typeof this.options.cancel||!i.target.nodeName)&&e(i.target).closest(this.options.cancel).length;return!(o&&!n&&this._mouseCapture(i))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){s.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=!1!==this._mouseStart(i),!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return s._mouseMove(e)},this._mouseUpDelegate=function(e){return s._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&e.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,i.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}));
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],e):e(jQuery)}((function(e){"use strict";var t=!1;return e(document).on("mouseup",(function(){t=!1})),e.widget("ui.mouse",{version:"1.13.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(i){if(!0===e.data(i.target,t.widgetName+".preventClickEvent"))return e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,o=1===i.which,n=!("string"!=typeof this.options.cancel||!i.target.nodeName)&&e(i.target).closest(this.options.cancel).length;return!(o&&!n&&this._mouseCapture(i))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){s.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=!1!==this._mouseStart(i),!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return s._mouseMove(e)},this._mouseUpDelegate=function(e){return s._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&e.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,i.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}));
//# sourceMappingURL=mouse-min.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["mouse.js"],"names":["factory","define","amd","jQuery","$","mouseHandled","document","on","widget","version","options","cancel","distance","delay","_mouseInit","that","this","element","widgetName","event","_mouseDown","data","target","removeData","stopImmediatePropagation","started","_mouseDestroy","off","_mouseMoveDelegate","_mouseUpDelegate","_mouseMoved","_mouseStarted","_mouseUp","_mouseDownEvent","btnIsLeft","which","elIsCancel","nodeName","closest","length","_mouseCapture","mouseDelayMet","_mouseDelayTimer","setTimeout","_mouseDistanceMet","_mouseDelayMet","_mouseStart","preventDefault","_mouseMove","ui","ie","documentMode","button","originalEvent","altKey","ctrlKey","metaKey","shiftKey","ignoreMissingWhich","_mouseDrag","_mouseStop","clearTimeout","Math","max","abs","pageX","pageY"],"mappings":"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","file":"mouse-min.js"}

View File

@ -1,5 +1,5 @@
/*!
* jQuery UI Mouse 1.12.1
* jQuery UI Mouse 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@ -13,6 +13,8 @@
//>>docs: http://api.jqueryui.com/mouse/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -27,7 +29,8 @@
// Browser globals
factory( jQuery );
}
}( function( $ ) {
} )( function( $ ) {
"use strict";
var mouseHandled = false;
$( document ).on( "mouseup", function() {
@ -35,7 +38,7 @@ $( document ).on( "mouseup", function() {
} );
return $.widget( "ui.mouse", {
version: "1.12.1",
version: "1.13.1",
options: {
cancel: "input, textarea, button, select, option",
distance: 1,
@ -80,7 +83,9 @@ return $.widget( "ui.mouse", {
this._mouseMoved = false;
// We may have missed mouseup (out of window)
( this._mouseStarted && this._mouseUp( event ) );
if ( this._mouseStarted ) {
this._mouseUp( event );
}
this._mouseDownEvent = event;
@ -173,7 +178,11 @@ return $.widget( "ui.mouse", {
if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {
this._mouseStarted =
( this._mouseStart( this._mouseDownEvent, event ) !== false );
( this._mouseStarted ? this._mouseDrag( event ) : this._mouseUp( event ) );
if ( this._mouseStarted ) {
this._mouseDrag( event );
} else {
this._mouseUp( event );
}
}
return !this._mouseStarted;
@ -220,7 +229,9 @@ return $.widget( "ui.mouse", {
_mouseStart: function( /* event */ ) {},
_mouseDrag: function( /* event */ ) {},
_mouseStop: function( /* event */ ) {},
_mouseCapture: function( /* event */ ) { return true; }
_mouseCapture: function( /* event */ ) {
return true;
}
} );
} ) );
} );

Some files were not shown because too many files have changed in this diff Show More