summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-12-27 15:41:37 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-12-31 11:43:28 +0100
commitc1f9b1f7b1b77776192048005dcc66dcf3df2bfb (patch)
tree2b38796e738dd74cb42ecd9bfd151803108386bc /resources
parentb88ab0086858470dd1f644e64cb4e4f62bb2be9b (diff)
Update to MediaWiki 1.24.1
Diffstat (limited to 'resources')
-rw-r--r--resources/Resources.php1318
-rw-r--r--resources/assets/file-type-icons/COPYING43
-rw-r--r--resources/assets/file-type-icons/fileicon-c.pngbin0 -> 1753 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-cpp.pngbin0 -> 1382 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-deb.pngbin0 -> 4527 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-djvu.pngbin0 -> 10436 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-dvi.pngbin0 -> 12476 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-exe.pngbin0 -> 5469 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-h.pngbin0 -> 803 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-html.pngbin0 -> 7171 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-iso.pngbin0 -> 6105 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-java.pngbin0 -> 5706 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-mid.pngbin0 -> 6316 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-mov.pngbin0 -> 7579 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-o.pngbin0 -> 1742 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-ogg.pngbin0 -> 3151 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-pdf.pngbin0 -> 4710 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-ps.pngbin0 -> 2786 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-psd.pngbin0 -> 7756 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-rm.pngbin0 -> 2519 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-rpm.pngbin0 -> 3784 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-svg.pngbin0 -> 4793 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-tar.pngbin0 -> 6025 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-tex.pngbin0 -> 3738 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-ttf.pngbin0 -> 3193 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-txt.pngbin0 -> 3388 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon-xcf.pngbin0 -> 12540 bytes
-rw-r--r--resources/assets/file-type-icons/fileicon.pngbin0 -> 789 bytes
-rw-r--r--resources/assets/licenses/cc-0.pngbin0 -> 969 bytes
-rw-r--r--resources/assets/licenses/cc-by-nc-sa.pngbin0 -> 1530 bytes
-rw-r--r--resources/assets/licenses/cc-by-sa.pngbin0 -> 1377 bytes
-rw-r--r--resources/assets/licenses/cc-by.pngbin0 -> 1165 bytes
-rw-r--r--resources/assets/licenses/gnu-fdl.pngbin0 -> 1573 bytes
-rw-r--r--resources/assets/licenses/public-domain.pngbin0 -> 2017 bytes
-rw-r--r--resources/assets/mediawiki.pngbin0 -> 22589 bytes
-rw-r--r--resources/assets/poweredby_mediawiki_88x31.pngbin0 -> 3525 bytes
-rw-r--r--resources/assets/wiki.pngbin0 -> 24358 bytes
-rw-r--r--resources/jquery.effects/jquery.effects.blind.js49
-rw-r--r--resources/jquery.effects/jquery.effects.bounce.js78
-rw-r--r--resources/jquery.effects/jquery.effects.clip.js54
-rw-r--r--resources/jquery.effects/jquery.effects.core.js612
-rw-r--r--resources/jquery.effects/jquery.effects.drop.js50
-rw-r--r--resources/jquery.effects/jquery.effects.explode.js79
-rw-r--r--resources/jquery.effects/jquery.effects.fade.js32
-rw-r--r--resources/jquery.effects/jquery.effects.fold.js56
-rw-r--r--resources/jquery.effects/jquery.effects.highlight.js50
-rw-r--r--resources/jquery.effects/jquery.effects.pulsate.js51
-rw-r--r--resources/jquery.effects/jquery.effects.scale.js178
-rw-r--r--resources/jquery.effects/jquery.effects.shake.js57
-rw-r--r--resources/jquery.effects/jquery.effects.slide.js50
-rw-r--r--resources/jquery.effects/jquery.effects.transfer.js45
-rw-r--r--resources/jquery.tipsy/jquery.tipsy.css75
-rw-r--r--resources/jquery.tipsy/jquery.tipsy.js218
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-az.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js24
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-da.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-de.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-el.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-es.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-et.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js59
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js25
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-he.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-id.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-is.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-it.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-no.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js22
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js21
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js26
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js24
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-th.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js24
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js23
-rw-r--r--resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js23
-rw-r--r--resources/jquery.ui/jquery.ui.accordion.js611
-rw-r--r--resources/jquery.ui/jquery.ui.autocomplete.js631
-rw-r--r--resources/jquery.ui/jquery.ui.button.js414
-rw-r--r--resources/jquery.ui/jquery.ui.core.js334
-rw-r--r--resources/jquery.ui/jquery.ui.datepicker.js1854
-rw-r--r--resources/jquery.ui/jquery.ui.dialog.js866
-rw-r--r--resources/jquery.ui/jquery.ui.draggable.js832
-rw-r--r--resources/jquery.ui/jquery.ui.droppable.js301
-rw-r--r--resources/jquery.ui/jquery.ui.mouse.js167
-rw-r--r--resources/jquery.ui/jquery.ui.position.js308
-rw-r--r--resources/jquery.ui/jquery.ui.progressbar.js109
-rw-r--r--resources/jquery.ui/jquery.ui.resizable.js807
-rw-r--r--resources/jquery.ui/jquery.ui.selectable.js267
-rw-r--r--resources/jquery.ui/jquery.ui.slider.js662
-rw-r--r--resources/jquery.ui/jquery.ui.sortable.js1094
-rw-r--r--resources/jquery.ui/jquery.ui.tabs.js757
-rw-r--r--resources/jquery.ui/jquery.ui.widget.js272
-rw-r--r--resources/jquery.ui/themes/default/images/ui-bg_flat_0_aaaaaa_40x100.pngbin87 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-bg_flat_75_ffffff_40x100.pngbin87 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-bg_glass_55_fbf9ee_1x400.pngbin115 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-bg_glass_65_ffffff_1x400.pngbin99 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-bg_glass_75_dadada_1x400.pngbin111 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-bg_glass_75_e6e6e6_1x400.pngbin110 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-bg_glass_95_fef1ec_1x400.pngbin119 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-bg_highlight-soft_75_cccccc_1x100.pngbin86 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-icons_222222_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-icons_2e83ff_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-icons_454545_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-icons_888888_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/images/ui-icons_cd0a0a_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.accordion.css19
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.autocomplete.css53
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.button.css110
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.core.css38
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.datepicker.css66
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.dialog.css21
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.progressbar.css11
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.resizable.css20
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.selectable.css10
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.slider.css24
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.tabs.css18
-rw-r--r--resources/jquery.ui/themes/default/jquery.ui.theme.css247
-rw-r--r--resources/jquery.ui/themes/vector/images/close.pngbin139 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/titlebar-fade.pngbin81 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-anim_basic_16x16.gifbin1553 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-bg_flat_15_cd0a0a_40x100.pngbin87 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-bg_flat_70_000000_40x100.pngbin87 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-bg_highlight-hard_100_f2f5f7_1x100.pngbin97 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-bg_highlight-hard_80_d7ebf9_1x100.pngbin104 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-bg_highlight-soft_100_e4f1fb_1x100.pngbin106 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-bg_highlight-soft_100_ffffff_1x100.pngbin80 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-bg_highlight-soft_25_ffef8f_1x100.pngbin152 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-bg_inset-hard_100_f0f0f0_1x100.pngbin89 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-icons_2694e8_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-icons_2e83ff_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-icons_3d80b3_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-icons_666666_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-icons_72a7cf_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/images/ui-icons_ffffff_256x240.pngbin3702 -> 0 bytes
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.accordion.css12
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css40
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.button.css379
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.core.css37
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.datepicker.css61
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.dialog.css37
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.progressbar.css4
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.resizable.css19
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.selectable.css3
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.slider.css17
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.tabs.css11
-rw-r--r--resources/jquery.ui/themes/vector/jquery.ui.theme.css248
-rw-r--r--resources/jquery/jquery.arrowSteps.js82
-rw-r--r--resources/jquery/jquery.autoEllipsis.js149
-rw-r--r--resources/jquery/jquery.badge.css37
-rw-r--r--resources/jquery/jquery.badge.js76
-rw-r--r--resources/jquery/jquery.byteLength.js31
-rw-r--r--resources/jquery/jquery.byteLimit.js233
-rw-r--r--resources/jquery/jquery.checkboxShiftClick.js35
-rw-r--r--resources/jquery/jquery.client.js263
-rw-r--r--resources/jquery/jquery.color.js54
-rw-r--r--resources/jquery/jquery.colorUtil.js219
-rw-r--r--resources/jquery/jquery.cookie.js47
-rw-r--r--resources/jquery/jquery.cycle.all.js1529
-rw-r--r--resources/jquery/jquery.delayedBind.js76
-rw-r--r--resources/jquery/jquery.expandableField.js137
-rw-r--r--resources/jquery/jquery.farbtastic.js286
-rw-r--r--resources/jquery/jquery.footHovzer.js45
-rw-r--r--resources/jquery/jquery.getAttrs.js24
-rw-r--r--resources/jquery/jquery.hidpi.js117
-rw-r--r--resources/jquery/jquery.highlightText.js69
-rw-r--r--resources/jquery/jquery.jStorage.js1143
-rw-r--r--resources/jquery/jquery.js9472
-rw-r--r--resources/jquery/jquery.localize.js170
-rw-r--r--resources/jquery/jquery.makeCollapsible.css14
-rw-r--r--resources/jquery/jquery.makeCollapsible.js381
-rw-r--r--resources/jquery/jquery.mw-jump.js15
-rw-r--r--resources/jquery/jquery.mwExtension.js122
-rw-r--r--resources/jquery/jquery.placeholder.js94
-rw-r--r--resources/jquery/jquery.qunit.completenessTest.js360
-rw-r--r--resources/jquery/jquery.qunit.css244
-rw-r--r--resources/jquery/jquery.qunit.js2152
-rw-r--r--resources/jquery/jquery.spinner.js108
-rw-r--r--resources/jquery/jquery.suggestions.css77
-rw-r--r--resources/jquery/jquery.suggestions.js631
-rw-r--r--resources/jquery/jquery.tabIndex.js52
-rw-r--r--resources/jquery/jquery.tablesorter.js1113
-rw-r--r--resources/jquery/jquery.textSelection.js573
-rw-r--r--resources/lib/es5-shim/es5-shim.js1431
-rw-r--r--resources/lib/jquery.chosen/LICENSE (renamed from resources/jquery.chosen/LICENSE)0
-rw-r--r--resources/lib/jquery.chosen/chosen-sprite.png (renamed from resources/jquery.chosen/chosen-sprite.png)bin646 -> 646 bytes
-rw-r--r--resources/lib/jquery.chosen/chosen-sprite@2x.png (renamed from resources/jquery.chosen/chosen-sprite@2x.png)bin871 -> 871 bytes
-rw-r--r--resources/lib/jquery.chosen/chosen.css (renamed from resources/jquery.chosen/chosen.css)0
-rw-r--r--resources/lib/jquery.chosen/chosen.jquery.js (renamed from resources/jquery.chosen/chosen.jquery.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-af.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js24
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cy-GB.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js59
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js25
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-ka.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-km.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js22
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js21
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js26
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js24
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js (renamed from resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js)0
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js24
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js23
-rw-r--r--resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js23
-rw-r--r--resources/lib/jquery.ui/jquery.ui.accordion.js731
-rw-r--r--resources/lib/jquery.ui/jquery.ui.autocomplete.js602
-rw-r--r--resources/lib/jquery.ui/jquery.ui.button.js418
-rw-r--r--resources/lib/jquery.ui/jquery.ui.core.js356
-rw-r--r--resources/lib/jquery.ui/jquery.ui.datepicker.js1846
-rw-r--r--resources/lib/jquery.ui/jquery.ui.dialog.js858
-rw-r--r--resources/lib/jquery.ui/jquery.ui.draggable.js836
-rw-r--r--resources/lib/jquery.ui/jquery.ui.droppable.js294
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-blind.js82
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-bounce.js113
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-clip.js67
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-drop.js65
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-explode.js97
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-fade.js30
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-fold.js76
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-highlight.js50
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-pulsate.js63
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-scale.js318
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-shake.js74
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-slide.js64
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect-transfer.js47
-rw-r--r--resources/lib/jquery.ui/jquery.ui.effect.js1276
-rw-r--r--resources/lib/jquery.ui/jquery.ui.menu.js610
-rw-r--r--resources/lib/jquery.ui/jquery.ui.mouse.js169
-rw-r--r--resources/lib/jquery.ui/jquery.ui.position.js517
-rw-r--r--resources/lib/jquery.ui/jquery.ui.progressbar.js105
-rw-r--r--resources/lib/jquery.ui/jquery.ui.resizable.js801
-rw-r--r--resources/lib/jquery.ui/jquery.ui.selectable.js261
-rw-r--r--resources/lib/jquery.ui/jquery.ui.slider.js644
-rw-r--r--resources/lib/jquery.ui/jquery.ui.sortable.js1096
-rw-r--r--resources/lib/jquery.ui/jquery.ui.spinner.js478
-rw-r--r--resources/lib/jquery.ui/jquery.ui.tabs.js1366
-rw-r--r--resources/lib/jquery.ui/jquery.ui.tooltip.js398
-rw-r--r--resources/lib/jquery.ui/jquery.ui.widget.js528
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.pngbin0 -> 212 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.pngbin0 -> 208 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.pngbin0 -> 335 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.pngbin0 -> 207 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.pngbin0 -> 262 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.pngbin0 -> 262 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.pngbin0 -> 332 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.pngbin0 -> 280 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-icons_222222_256x240.pngbin0 -> 6922 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-icons_2e83ff_256x240.pngbin0 -> 4549 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-icons_454545_256x240.pngbin0 -> 6992 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-icons_888888_256x240.pngbin0 -> 6999 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.pngbin0 -> 4549 bytes
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css16
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css19
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css40
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css39
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css67
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css22
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css30
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css12
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css21
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css11
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css25
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css23
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css18
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css248
-rw-r--r--resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css21
-rw-r--r--resources/lib/jquery/jquery.appear.js (renamed from resources/jquery/jquery.appear.js)0
-rw-r--r--resources/lib/jquery/jquery.async.js (renamed from resources/jquery/jquery.async.js)0
-rw-r--r--resources/lib/jquery/jquery.ba-throttle-debounce.js252
-rw-r--r--resources/lib/jquery/jquery.cookie.js90
-rw-r--r--resources/lib/jquery/jquery.form.js (renamed from resources/jquery/jquery.form.js)0
-rw-r--r--resources/lib/jquery/jquery.fullscreen.js175
-rw-r--r--resources/lib/jquery/jquery.hoverIntent.js (renamed from resources/jquery/jquery.hoverIntent.js)0
-rw-r--r--resources/lib/jquery/jquery.jStorage.js986
-rw-r--r--resources/lib/jquery/jquery.js10308
-rw-r--r--resources/lib/jquery/jquery.json.js (renamed from resources/jquery/jquery.json.js)0
-rw-r--r--resources/lib/jquery/jquery.migrate.js551
-rw-r--r--resources/lib/jquery/jquery.mockjax.js (renamed from resources/jquery/jquery.mockjax.js)0
-rw-r--r--resources/lib/jquery/jquery.qunit.css237
-rw-r--r--resources/lib/jquery/jquery.qunit.js2288
-rw-r--r--resources/lib/jquery/jquery.validate.js (renamed from resources/jquery/jquery.validate.js)0
-rw-r--r--resources/lib/jquery/jquery.xmldom.js (renamed from resources/jquery/jquery.xmldom.js)0
-rw-r--r--resources/lib/json2/json2.js489
-rw-r--r--resources/lib/moment/LICENSE22
-rw-r--r--resources/lib/moment/locale/af.js65
-rw-r--r--resources/lib/moment/locale/ar-ma.js56
-rw-r--r--resources/lib/moment/locale/ar-sa.js96
-rw-r--r--resources/lib/moment/locale/ar.js129
-rw-r--r--resources/lib/moment/locale/az.js101
-rw-r--r--resources/lib/moment/locale/be.js150
-rw-r--r--resources/lib/moment/locale/bg.js86
-rw-r--r--resources/lib/moment/locale/bn.js106
-rw-r--r--resources/lib/moment/locale/bo.js103
-rw-r--r--resources/lib/moment/locale/br.js107
-rw-r--r--resources/lib/moment/locale/bs.js138
-rw-r--r--resources/lib/moment/locale/ca.js66
-rw-r--r--resources/lib/moment/locale/cs.js155
-rw-r--r--resources/lib/moment/locale/cv.js59
-rw-r--r--resources/lib/moment/locale/cy.js77
-rw-r--r--resources/lib/moment/locale/da.js56
-rw-r--r--resources/lib/moment/locale/de-at.js72
-rw-r--r--resources/lib/moment/locale/de.js71
-rw-r--r--resources/lib/moment/locale/el.js94
-rw-r--r--resources/lib/moment/locale/en-au.js62
-rw-r--r--resources/lib/moment/locale/en-ca.js59
-rw-r--r--resources/lib/moment/locale/en-gb.js63
-rw-r--r--resources/lib/moment/locale/eo.js65
-rw-r--r--resources/lib/moment/locale/es.js75
-rw-r--r--resources/lib/moment/locale/et.js76
-rw-r--r--resources/lib/moment/locale/eu.js60
-rw-r--r--resources/lib/moment/locale/fa.js97
-rw-r--r--resources/lib/moment/locale/fi.js105
-rw-r--r--resources/lib/moment/locale/fo.js56
-rw-r--r--resources/lib/moment/locale/fr-ca.js54
-rw-r--r--resources/lib/moment/locale/fr.js58
-rw-r--r--resources/lib/moment/locale/gl.js71
-rw-r--r--resources/lib/moment/locale/he.js77
-rw-r--r--resources/lib/moment/locale/hi.js105
-rw-r--r--resources/lib/moment/locale/hr.js139
-rw-r--r--resources/lib/moment/locale/hu.js105
-rw-r--r--resources/lib/moment/locale/hy-am.js112
-rw-r--r--resources/lib/moment/locale/id.js67
-rw-r--r--resources/lib/moment/locale/is.js124
-rw-r--r--resources/lib/moment/locale/it.js59
-rw-r--r--resources/lib/moment/locale/ja.js58
-rw-r--r--resources/lib/moment/locale/ka.js107
-rw-r--r--resources/lib/moment/locale/km.js55
-rw-r--r--resources/lib/moment/locale/ko.js63
-rw-r--r--resources/lib/moment/locale/lb.js137
-rw-r--r--resources/lib/moment/locale/lt.js118
-rw-r--r--resources/lib/moment/locale/lv.js77
-rw-r--r--resources/lib/moment/locale/mk.js86
-rw-r--r--resources/lib/moment/locale/ml.js64
-rw-r--r--resources/lib/moment/locale/mr.js104
-rw-r--r--resources/lib/moment/locale/ms-my.js66
-rw-r--r--resources/lib/moment/locale/my.js88
-rw-r--r--resources/lib/moment/locale/nb.js57
-rw-r--r--resources/lib/moment/locale/ne.js105
-rw-r--r--resources/lib/moment/locale/nl.js67
-rw-r--r--resources/lib/moment/locale/nn.js56
-rw-r--r--resources/lib/moment/locale/pl.js98
-rw-r--r--resources/lib/moment/locale/pt-br.js56
-rw-r--r--resources/lib/moment/locale/pt.js60
-rw-r--r--resources/lib/moment/locale/ro.js72
-rw-r--r--resources/lib/moment/locale/ru.js166
-rw-r--r--resources/lib/moment/locale/sk.js156
-rw-r--r--resources/lib/moment/locale/sl.js144
-rw-r--r--resources/lib/moment/locale/sq.js61
-rw-r--r--resources/lib/moment/locale/sr-cyrl.js105
-rw-r--r--resources/lib/moment/locale/sr.js105
-rw-r--r--resources/lib/moment/locale/sv.js63
-rw-r--r--resources/lib/moment/locale/ta.js112
-rw-r--r--resources/lib/moment/locale/th.js58
-rw-r--r--resources/lib/moment/locale/tl-ph.js58
-rw-r--r--resources/lib/moment/locale/tr.js92
-rw-r--r--resources/lib/moment/locale/tzm-latn.js55
-rw-r--r--resources/lib/moment/locale/tzm.js55
-rw-r--r--resources/lib/moment/locale/uk.js157
-rw-r--r--resources/lib/moment/locale/uz.js55
-rw-r--r--resources/lib/moment/locale/vi.js62
-rw-r--r--resources/lib/moment/locale/zh-cn.js108
-rw-r--r--resources/lib/moment/locale/zh-tw.js84
-rw-r--r--resources/lib/moment/moment.js2856
-rw-r--r--resources/lib/oojs-ui/i18n/ace.json11
-rw-r--r--resources/lib/oojs-ui/i18n/af.json10
-rw-r--r--resources/lib/oojs-ui/i18n/am.json8
-rw-r--r--resources/lib/oojs-ui/i18n/ar.json24
-rw-r--r--resources/lib/oojs-ui/i18n/arc.json8
-rw-r--r--resources/lib/oojs-ui/i18n/arq.json16
-rw-r--r--resources/lib/oojs-ui/i18n/ast.json18
-rw-r--r--resources/lib/oojs-ui/i18n/az.json14
-rw-r--r--resources/lib/oojs-ui/i18n/ba.json15
-rw-r--r--resources/lib/oojs-ui/i18n/bcl.json12
-rw-r--r--resources/lib/oojs-ui/i18n/be-tarask.json14
-rw-r--r--resources/lib/oojs-ui/i18n/be.json13
-rw-r--r--resources/lib/oojs-ui/i18n/bg.json13
-rw-r--r--resources/lib/oojs-ui/i18n/bn.json20
-rw-r--r--resources/lib/oojs-ui/i18n/br.json18
-rw-r--r--resources/lib/oojs-ui/i18n/bs.json16
-rw-r--r--resources/lib/oojs-ui/i18n/ca.json20
-rw-r--r--resources/lib/oojs-ui/i18n/ce.json17
-rw-r--r--resources/lib/oojs-ui/i18n/ckb.json13
-rw-r--r--resources/lib/oojs-ui/i18n/co.json10
-rw-r--r--resources/lib/oojs-ui/i18n/cs.json25
-rw-r--r--resources/lib/oojs-ui/i18n/cu.json9
-rw-r--r--resources/lib/oojs-ui/i18n/cy.json15
-rw-r--r--resources/lib/oojs-ui/i18n/da.json17
-rw-r--r--resources/lib/oojs-ui/i18n/de.json25
-rw-r--r--resources/lib/oojs-ui/i18n/diq.json17
-rw-r--r--resources/lib/oojs-ui/i18n/dsb.json12
-rw-r--r--resources/lib/oojs-ui/i18n/egl.json17
-rw-r--r--resources/lib/oojs-ui/i18n/el.json23
-rw-r--r--resources/lib/oojs-ui/i18n/eml.json17
-rw-r--r--resources/lib/oojs-ui/i18n/en.json28
-rw-r--r--resources/lib/oojs-ui/i18n/eo.json14
-rw-r--r--resources/lib/oojs-ui/i18n/es.json30
-rw-r--r--resources/lib/oojs-ui/i18n/et.json17
-rw-r--r--resources/lib/oojs-ui/i18n/eu.json13
-rw-r--r--resources/lib/oojs-ui/i18n/fa.json25
-rw-r--r--resources/lib/oojs-ui/i18n/fi.json28
-rw-r--r--resources/lib/oojs-ui/i18n/fo.json11
-rw-r--r--resources/lib/oojs-ui/i18n/fr.json41
-rw-r--r--resources/lib/oojs-ui/i18n/frr.json13
-rw-r--r--resources/lib/oojs-ui/i18n/fur.json12
-rw-r--r--resources/lib/oojs-ui/i18n/gd.json13
-rw-r--r--resources/lib/oojs-ui/i18n/gl.json18
-rw-r--r--resources/lib/oojs-ui/i18n/gu.json17
-rw-r--r--resources/lib/oojs-ui/i18n/he.json27
-rw-r--r--resources/lib/oojs-ui/i18n/hi.json16
-rw-r--r--resources/lib/oojs-ui/i18n/hr.json19
-rw-r--r--resources/lib/oojs-ui/i18n/hsb.json13
-rw-r--r--resources/lib/oojs-ui/i18n/hu.json20
-rw-r--r--resources/lib/oojs-ui/i18n/hy.json18
-rw-r--r--resources/lib/oojs-ui/i18n/ia.json16
-rw-r--r--resources/lib/oojs-ui/i18n/id.json18
-rw-r--r--resources/lib/oojs-ui/i18n/ie.json11
-rw-r--r--resources/lib/oojs-ui/i18n/ilo.json16
-rw-r--r--resources/lib/oojs-ui/i18n/is.json12
-rw-r--r--resources/lib/oojs-ui/i18n/it.json27
-rw-r--r--resources/lib/oojs-ui/i18n/ja.json20
-rw-r--r--resources/lib/oojs-ui/i18n/jv.json11
-rw-r--r--resources/lib/oojs-ui/i18n/ka.json18
-rw-r--r--resources/lib/oojs-ui/i18n/kk-cyrl.json12
-rw-r--r--resources/lib/oojs-ui/i18n/km.json12
-rw-r--r--resources/lib/oojs-ui/i18n/kn.json17
-rw-r--r--resources/lib/oojs-ui/i18n/ko.json22
-rw-r--r--resources/lib/oojs-ui/i18n/krc.json12
-rw-r--r--resources/lib/oojs-ui/i18n/kw.json10
-rw-r--r--resources/lib/oojs-ui/i18n/ky.json12
-rw-r--r--resources/lib/oojs-ui/i18n/lb.json22
-rw-r--r--resources/lib/oojs-ui/i18n/lmo.json11
-rw-r--r--resources/lib/oojs-ui/i18n/lt.json11
-rw-r--r--resources/lib/oojs-ui/i18n/lv.json17
-rw-r--r--resources/lib/oojs-ui/i18n/lzh.json8
-rw-r--r--resources/lib/oojs-ui/i18n/mg.json8
-rw-r--r--resources/lib/oojs-ui/i18n/min.json17
-rw-r--r--resources/lib/oojs-ui/i18n/mk.json18
-rw-r--r--resources/lib/oojs-ui/i18n/ml.json14
-rw-r--r--resources/lib/oojs-ui/i18n/mr.json16
-rw-r--r--resources/lib/oojs-ui/i18n/ms.json17
-rw-r--r--resources/lib/oojs-ui/i18n/nap.json11
-rw-r--r--resources/lib/oojs-ui/i18n/nb.json21
-rw-r--r--resources/lib/oojs-ui/i18n/nds-nl.json10
-rw-r--r--resources/lib/oojs-ui/i18n/nds.json11
-rw-r--r--resources/lib/oojs-ui/i18n/ne.json18
-rw-r--r--resources/lib/oojs-ui/i18n/nl.json32
-rw-r--r--resources/lib/oojs-ui/i18n/nn.json12
-rw-r--r--resources/lib/oojs-ui/i18n/oc.json16
-rw-r--r--resources/lib/oojs-ui/i18n/om.json17
-rw-r--r--resources/lib/oojs-ui/i18n/or.json10
-rw-r--r--resources/lib/oojs-ui/i18n/pa.json11
-rw-r--r--resources/lib/oojs-ui/i18n/pfl.json15
-rw-r--r--resources/lib/oojs-ui/i18n/pl.json31
-rw-r--r--resources/lib/oojs-ui/i18n/pms.json13
-rw-r--r--resources/lib/oojs-ui/i18n/ps.json11
-rw-r--r--resources/lib/oojs-ui/i18n/pt-br.json19
-rw-r--r--resources/lib/oojs-ui/i18n/pt.json25
-rw-r--r--resources/lib/oojs-ui/i18n/qqq.json32
-rw-r--r--resources/lib/oojs-ui/i18n/qu.json13
-rw-r--r--resources/lib/oojs-ui/i18n/ro.json20
-rw-r--r--resources/lib/oojs-ui/i18n/roa-tara.json11
-rw-r--r--resources/lib/oojs-ui/i18n/ru.json30
-rw-r--r--resources/lib/oojs-ui/i18n/sah.json9
-rw-r--r--resources/lib/oojs-ui/i18n/scn.json15
-rw-r--r--resources/lib/oojs-ui/i18n/sco.json12
-rw-r--r--resources/lib/oojs-ui/i18n/sh.json10
-rw-r--r--resources/lib/oojs-ui/i18n/si.json12
-rw-r--r--resources/lib/oojs-ui/i18n/sk.json12
-rw-r--r--resources/lib/oojs-ui/i18n/sl.json19
-rw-r--r--resources/lib/oojs-ui/i18n/sq.json19
-rw-r--r--resources/lib/oojs-ui/i18n/sr-ec.json18
-rw-r--r--resources/lib/oojs-ui/i18n/sr-el.json13
-rw-r--r--resources/lib/oojs-ui/i18n/sv.json26
-rw-r--r--resources/lib/oojs-ui/i18n/sw.json15
-rw-r--r--resources/lib/oojs-ui/i18n/ta.json11
-rw-r--r--resources/lib/oojs-ui/i18n/te.json14
-rw-r--r--resources/lib/oojs-ui/i18n/tg-cyrl.json12
-rw-r--r--resources/lib/oojs-ui/i18n/th.json11
-rw-r--r--resources/lib/oojs-ui/i18n/tl.json17
-rw-r--r--resources/lib/oojs-ui/i18n/tr.json18
-rw-r--r--resources/lib/oojs-ui/i18n/tt-cyrl.json10
-rw-r--r--resources/lib/oojs-ui/i18n/ug-arab.json9
-rw-r--r--resources/lib/oojs-ui/i18n/uk.json29
-rw-r--r--resources/lib/oojs-ui/i18n/uz.json14
-rw-r--r--resources/lib/oojs-ui/i18n/vec.json15
-rw-r--r--resources/lib/oojs-ui/i18n/vi.json18
-rw-r--r--resources/lib/oojs-ui/i18n/vo.json9
-rw-r--r--resources/lib/oojs-ui/i18n/wuu.json9
-rw-r--r--resources/lib/oojs-ui/i18n/yi.json18
-rw-r--r--resources/lib/oojs-ui/i18n/yo.json11
-rw-r--r--resources/lib/oojs-ui/i18n/yue.json16
-rw-r--r--resources/lib/oojs-ui/i18n/zh-hans.json31
-rw-r--r--resources/lib/oojs-ui/i18n/zh-hant.json28
-rw-r--r--resources/lib/oojs-ui/images/anchor.pngbin0 -> 203 bytes
-rw-r--r--resources/lib/oojs-ui/images/anchor.svg7
-rw-r--r--resources/lib/oojs-ui/images/icons/accept.pngbin0 -> 332 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/accept.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/add-item.pngbin0 -> 145 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/add-item.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/advanced.pngbin0 -> 531 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/advanced.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/alert.pngbin0 -> 448 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/alert.svg8
-rw-r--r--resources/lib/oojs-ui/images/icons/arched-arrow-ltr.pngbin0 -> 294 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/arched-arrow-ltr.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/arched-arrow-rtl.pngbin0 -> 296 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/arched-arrow-rtl.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/check.pngbin0 -> 235 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/check.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/clear.pngbin0 -> 430 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/clear.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/close.pngbin0 -> 286 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/close.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/code.pngbin0 -> 313 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/code.svg7
-rw-r--r--resources/lib/oojs-ui/images/icons/collapse.pngbin0 -> 221 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/collapse.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/comment.pngbin0 -> 244 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/comment.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/expand.pngbin0 -> 237 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/expand.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/help.pngbin0 -> 591 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/help.svg10
-rw-r--r--resources/lib/oojs-ui/images/icons/history.pngbin0 -> 591 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/history.svg7
-rw-r--r--resources/lib/oojs-ui/images/icons/info.pngbin0 -> 349 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/info.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/link.pngbin0 -> 348 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/link.svg8
-rw-r--r--resources/lib/oojs-ui/images/icons/menu.pngbin0 -> 190 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/menu.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/move-ltr.pngbin0 -> 254 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/move-ltr.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/move-rtl.pngbin0 -> 250 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/move-rtl.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/picture.pngbin0 -> 402 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/picture.svg8
-rw-r--r--resources/lib/oojs-ui/images/icons/remove-item.pngbin0 -> 131 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/remove-item.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/remove.pngbin0 -> 175 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/remove.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/search.pngbin0 -> 267 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/search.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/settings.pngbin0 -> 230 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/settings.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/tag.pngbin0 -> 319 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/tag.svg6
-rw-r--r--resources/lib/oojs-ui/images/icons/window.pngbin0 -> 309 bytes
-rw-r--r--resources/lib/oojs-ui/images/icons/window.svg7
-rw-r--r--resources/lib/oojs-ui/images/indicators/alert.pngbin0 -> 256 bytes
-rw-r--r--resources/lib/oojs-ui/images/indicators/alert.svg6
-rw-r--r--resources/lib/oojs-ui/images/indicators/arrow-down.pngbin0 -> 199 bytes
-rw-r--r--resources/lib/oojs-ui/images/indicators/arrow-down.svg6
-rw-r--r--resources/lib/oojs-ui/images/indicators/arrow-ltr.pngbin0 -> 204 bytes
-rw-r--r--resources/lib/oojs-ui/images/indicators/arrow-ltr.svg6
-rw-r--r--resources/lib/oojs-ui/images/indicators/arrow-rtl.pngbin0 -> 194 bytes
-rw-r--r--resources/lib/oojs-ui/images/indicators/arrow-rtl.svg6
-rw-r--r--resources/lib/oojs-ui/images/indicators/arrow-up.pngbin0 -> 180 bytes
-rw-r--r--resources/lib/oojs-ui/images/indicators/arrow-up.svg6
-rw-r--r--resources/lib/oojs-ui/images/indicators/required.pngbin0 -> 264 bytes
-rw-r--r--resources/lib/oojs-ui/images/indicators/required.svg6
-rw-r--r--resources/lib/oojs-ui/images/textures/pending.gifbin0 -> 2032 bytes
-rw-r--r--resources/lib/oojs-ui/images/textures/transparency.pngbin0 -> 145 bytes
-rw-r--r--resources/lib/oojs-ui/images/textures/transparency.svg10
-rw-r--r--resources/lib/oojs-ui/images/toolbar-shadow.pngbin0 -> 131 bytes
-rw-r--r--resources/lib/oojs-ui/oojs-ui-apex.css1945
-rw-r--r--resources/lib/oojs-ui/oojs-ui-apex.rtl.css1929
-rw-r--r--resources/lib/oojs-ui/oojs-ui-minerva.css1397
-rw-r--r--resources/lib/oojs-ui/oojs-ui-minerva.rtl.css1381
-rw-r--r--resources/lib/oojs-ui/oojs-ui.css1159
-rw-r--r--resources/lib/oojs-ui/oojs-ui.js11247
-rw-r--r--resources/lib/oojs-ui/oojs-ui.rtl.css112
-rw-r--r--resources/lib/oojs-ui/oojs-ui.svg.css112
-rw-r--r--resources/lib/oojs-ui/oojs-ui.svg.rtl.css112
-rw-r--r--resources/lib/oojs-ui/themes/minerva/images/icons/check.pngbin0 -> 640 bytes
-rw-r--r--resources/lib/oojs-ui/themes/minerva/images/icons/check.svg8
-rw-r--r--resources/lib/oojs/oojs.jquery.js879
-rw-r--r--resources/lib/sinonjs/sinon-1.10.3.js5073
-rw-r--r--resources/lib/sinonjs/sinon-ie-1.10.3.js100
-rw-r--r--resources/mediawiki.action/mediawiki.action.edit.editWarning.js56
-rw-r--r--resources/mediawiki.action/mediawiki.action.edit.js204
-rw-r--r--resources/mediawiki.action/mediawiki.action.edit.preview.js136
-rw-r--r--resources/mediawiki.action/mediawiki.action.edit.styles.css44
-rw-r--r--resources/mediawiki.action/mediawiki.action.history.diff.css94
-rw-r--r--resources/mediawiki.action/mediawiki.action.history.js126
-rw-r--r--resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js12
-rw-r--r--resources/mediawiki.action/mediawiki.action.view.metadata.js43
-rw-r--r--resources/mediawiki.action/mediawiki.action.view.postEdit.css77
-rw-r--r--resources/mediawiki.action/mediawiki.action.view.postEdit.js76
-rw-r--r--resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js26
-rw-r--r--resources/mediawiki.api/mediawiki.api.category.js133
-rw-r--r--resources/mediawiki.api/mediawiki.api.edit.js62
-rw-r--r--resources/mediawiki.api/mediawiki.api.js322
-rw-r--r--resources/mediawiki.api/mediawiki.api.parse.js45
-rw-r--r--resources/mediawiki.api/mediawiki.api.watch.js74
-rw-r--r--resources/mediawiki.language/languages/bs.js19
-rw-r--r--resources/mediawiki.language/languages/dsb.js19
-rw-r--r--resources/mediawiki.language/languages/fi.js47
-rw-r--r--resources/mediawiki.language/languages/ga.js38
-rw-r--r--resources/mediawiki.language/languages/he.js29
-rw-r--r--resources/mediawiki.language/languages/hsb.js19
-rw-r--r--resources/mediawiki.language/languages/hu.js23
-rw-r--r--resources/mediawiki.language/languages/hy.js29
-rw-r--r--resources/mediawiki.language/languages/la.js50
-rw-r--r--resources/mediawiki.language/languages/os.js70
-rw-r--r--resources/mediawiki.language/languages/ru.js53
-rw-r--r--resources/mediawiki.language/languages/sl.js19
-rw-r--r--resources/mediawiki.language/languages/uk.js37
-rw-r--r--resources/mediawiki.language/mediawiki.cldr.js29
-rw-r--r--resources/mediawiki.language/mediawiki.language.init.js61
-rw-r--r--resources/mediawiki.language/mediawiki.language.js148
-rw-r--r--resources/mediawiki.language/mediawiki.language.months.js54
-rw-r--r--resources/mediawiki.language/mediawiki.language.numbers.js243
-rw-r--r--resources/mediawiki.less/mediawiki.mixins.less46
-rw-r--r--resources/mediawiki.libs/CLDRPluralRuleParser.js475
-rw-r--r--resources/mediawiki.libs/mediawiki.libs.jpegmeta.js731
-rw-r--r--resources/mediawiki.page/mediawiki.page.gallery.js248
-rw-r--r--resources/mediawiki.page/mediawiki.page.image.pagination.js60
-rw-r--r--resources/mediawiki.page/mediawiki.page.patrol.ajax.js63
-rw-r--r--resources/mediawiki.page/mediawiki.page.ready.js40
-rw-r--r--resources/mediawiki.page/mediawiki.page.startup.js27
-rw-r--r--resources/mediawiki.page/mediawiki.page.watch.ajax.js178
-rw-r--r--resources/mediawiki.special/mediawiki.special.block.js46
-rw-r--r--resources/mediawiki.special/mediawiki.special.changeemail.css19
-rw-r--r--resources/mediawiki.special/mediawiki.special.changeemail.js42
-rw-r--r--resources/mediawiki.special/mediawiki.special.changeslist.css7
-rw-r--r--resources/mediawiki.special/mediawiki.special.changeslist.enhanced.css66
-rw-r--r--resources/mediawiki.special/mediawiki.special.createAccount.css89
-rw-r--r--resources/mediawiki.special/mediawiki.special.createAccount.js112
-rw-r--r--resources/mediawiki.special/mediawiki.special.css274
-rw-r--r--resources/mediawiki.special/mediawiki.special.javaScriptTest.js37
-rw-r--r--resources/mediawiki.special/mediawiki.special.js5
-rw-r--r--resources/mediawiki.special/mediawiki.special.movePage.js6
-rw-r--r--resources/mediawiki.special/mediawiki.special.preferences.css11
-rw-r--r--resources/mediawiki.special/mediawiki.special.preferences.js199
-rw-r--r--resources/mediawiki.special/mediawiki.special.recentchanges.js34
-rw-r--r--resources/mediawiki.special/mediawiki.special.search.css14
-rw-r--r--resources/mediawiki.special/mediawiki.special.search.js53
-rw-r--r--resources/mediawiki.special/mediawiki.special.undelete.js11
-rw-r--r--resources/mediawiki.special/mediawiki.special.upload.js320
-rw-r--r--resources/mediawiki.special/mediawiki.special.userLogin.css39
-rw-r--r--resources/mediawiki.special/mediawiki.special.vforms.css46
-rw-r--r--resources/mediawiki.ui/mediawiki.ui.default.css272
-rw-r--r--resources/mediawiki.ui/mediawiki.ui.vector.css414
-rw-r--r--resources/mediawiki.ui/sourcefiles/Makefile24
-rw-r--r--resources/mediawiki.ui/sourcefiles/config.rb27
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/components/_default.scss3
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/components/_utilities.scss17
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/components/_vector.scss4
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/components/default/_buttons.scss69
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/components/default/_forms.scss114
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/components/vector/_buttons.scss19
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/components/vector/_containers.scss5
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/components/vector/_forms.scss7
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/mediawiki.ui.default.scss16
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/mediawiki.ui.vector.scss15
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/mixins/_all.scss4
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/mixins/_effects.scss62
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/mixins/_forms.scss66
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/mixins/_type.scss6
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/mixins/_utilities.scss19
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/settings/_all.scss2
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/settings/_colors.scss17
-rw-r--r--resources/mediawiki.ui/sourcefiles/scss/settings/_typography.scss5
-rw-r--r--resources/mediawiki/mediawiki.Title.js587
-rw-r--r--resources/mediawiki/mediawiki.Uri.js334
-rw-r--r--resources/mediawiki/mediawiki.debug.css183
-rw-r--r--resources/mediawiki/mediawiki.debug.js365
-rw-r--r--resources/mediawiki/mediawiki.feedback.js279
-rw-r--r--resources/mediawiki/mediawiki.htmlform.js128
-rw-r--r--resources/mediawiki/mediawiki.icon.css15
-rw-r--r--resources/mediawiki/mediawiki.inspect.js204
-rw-r--r--resources/mediawiki/mediawiki.jqueryMsg.js1148
-rw-r--r--resources/mediawiki/mediawiki.jqueryMsg.peg81
-rw-r--r--resources/mediawiki/mediawiki.js1938
-rw-r--r--resources/mediawiki/mediawiki.log.js126
-rw-r--r--resources/mediawiki/mediawiki.notification.css36
-rw-r--r--resources/mediawiki/mediawiki.notification.js504
-rw-r--r--resources/mediawiki/mediawiki.notify.js28
-rw-r--r--resources/mediawiki/mediawiki.searchSuggest.css16
-rw-r--r--resources/mediawiki/mediawiki.searchSuggest.js218
-rw-r--r--resources/mediawiki/mediawiki.user.js255
-rw-r--r--resources/mediawiki/mediawiki.util.js624
-rw-r--r--resources/src/es5-skip.js18
-rw-r--r--resources/src/jquery.json-deprecate.js8
-rw-r--r--resources/src/jquery.tipsy/images/tipsy.png (renamed from resources/jquery.tipsy/images/tipsy.png)bin133 -> 133 bytes
-rw-r--r--resources/src/jquery.tipsy/jquery.tipsy.css73
-rw-r--r--resources/src/jquery.tipsy/jquery.tipsy.js259
-rw-r--r--resources/src/jquery/images/jquery.arrowSteps.divider-ltr.png (renamed from resources/jquery/images/jquery.arrowSteps.divider-ltr.png)bin126 -> 126 bytes
-rw-r--r--resources/src/jquery/images/jquery.arrowSteps.divider-rtl.png (renamed from resources/jquery/images/jquery.arrowSteps.divider-rtl.png)bin127 -> 127 bytes
-rw-r--r--resources/src/jquery/images/jquery.arrowSteps.head-ltr.png (renamed from resources/jquery/images/jquery.arrowSteps.head-ltr.png)bin303 -> 303 bytes
-rw-r--r--resources/src/jquery/images/jquery.arrowSteps.head-rtl.png (renamed from resources/jquery/images/jquery.arrowSteps.head-rtl.png)bin311 -> 311 bytes
-rw-r--r--resources/src/jquery/images/jquery.arrowSteps.tail-ltr.png (renamed from resources/jquery/images/jquery.arrowSteps.tail-ltr.png)bin222 -> 222 bytes
-rw-r--r--resources/src/jquery/images/jquery.arrowSteps.tail-rtl.png (renamed from resources/jquery/images/jquery.arrowSteps.tail-rtl.png)bin219 -> 219 bytes
-rw-r--r--resources/src/jquery/images/marker.png (renamed from resources/jquery/images/marker.png)bin472 -> 472 bytes
-rw-r--r--resources/src/jquery/images/mask.png (renamed from resources/jquery/images/mask.png)bin1795 -> 1795 bytes
-rw-r--r--resources/src/jquery/images/sort_both.gif (renamed from resources/jquery/images/sort_both.gif)bin1184 -> 1184 bytes
-rw-r--r--resources/src/jquery/images/sort_down.gif (renamed from resources/jquery/images/sort_down.gif)bin1174 -> 1174 bytes
-rw-r--r--resources/src/jquery/images/sort_none.gif (renamed from resources/jquery/images/sort_none.gif)bin462 -> 462 bytes
-rw-r--r--resources/src/jquery/images/sort_up.gif (renamed from resources/jquery/images/sort_up.gif)bin1174 -> 1174 bytes
-rw-r--r--resources/src/jquery/images/spinner-large.gif (renamed from resources/jquery/images/spinner-large.gif)bin1788 -> 1788 bytes
-rw-r--r--resources/src/jquery/images/spinner.gif (renamed from resources/jquery/images/spinner.gif)bin1819 -> 1819 bytes
-rw-r--r--resources/src/jquery/images/wheel.png (renamed from resources/jquery/images/wheel.png)bin11505 -> 11505 bytes
-rw-r--r--resources/src/jquery/jquery.accessKeyLabel.js200
-rw-r--r--resources/src/jquery/jquery.arrowSteps.css (renamed from resources/jquery/jquery.arrowSteps.css)0
-rw-r--r--resources/src/jquery/jquery.arrowSteps.js98
-rw-r--r--resources/src/jquery/jquery.autoEllipsis.js168
-rw-r--r--resources/src/jquery/jquery.badge.css36
-rw-r--r--resources/src/jquery/jquery.badge.js88
-rw-r--r--resources/src/jquery/jquery.byteLength.js40
-rw-r--r--resources/src/jquery/jquery.byteLimit.js235
-rw-r--r--resources/src/jquery/jquery.checkboxShiftClick.js43
-rw-r--r--resources/src/jquery/jquery.client.js301
-rw-r--r--resources/src/jquery/jquery.color.js55
-rw-r--r--resources/src/jquery/jquery.colorUtil.js262
-rw-r--r--resources/src/jquery/jquery.confirmable.css28
-rw-r--r--resources/src/jquery/jquery.confirmable.js170
-rw-r--r--resources/src/jquery/jquery.confirmable.mediawiki.js14
-rw-r--r--resources/src/jquery/jquery.expandableField.js140
-rw-r--r--resources/src/jquery/jquery.farbtastic.css (renamed from resources/jquery/jquery.farbtastic.css)0
-rw-r--r--resources/src/jquery/jquery.farbtastic.js286
-rw-r--r--resources/src/jquery/jquery.footHovzer.css (renamed from resources/jquery/jquery.footHovzer.css)0
-rw-r--r--resources/src/jquery/jquery.footHovzer.js66
-rw-r--r--resources/src/jquery/jquery.getAttrs.js42
-rw-r--r--resources/src/jquery/jquery.hidpi.js129
-rw-r--r--resources/src/jquery/jquery.highlightText.js73
-rw-r--r--resources/src/jquery/jquery.localize.js170
-rw-r--r--resources/src/jquery/jquery.makeCollapsible.css27
-rw-r--r--resources/src/jquery/jquery.makeCollapsible.js404
-rw-r--r--resources/src/jquery/jquery.mw-jump.js15
-rw-r--r--resources/src/jquery/jquery.mwExtension.js122
-rw-r--r--resources/src/jquery/jquery.placeholder.js229
-rw-r--r--resources/src/jquery/jquery.qunit.completenessTest.js305
-rw-r--r--resources/src/jquery/jquery.spinner.css (renamed from resources/jquery/jquery.spinner.css)0
-rw-r--r--resources/src/jquery/jquery.spinner.js112
-rw-r--r--resources/src/jquery/jquery.suggestions.css76
-rw-r--r--resources/src/jquery/jquery.suggestions.js684
-rw-r--r--resources/src/jquery/jquery.tabIndex.js57
-rw-r--r--resources/src/jquery/jquery.tablesorter.css (renamed from resources/jquery/jquery.tablesorter.css)0
-rw-r--r--resources/src/jquery/jquery.tablesorter.js1161
-rw-r--r--resources/src/jquery/jquery.textSelection.js572
-rw-r--r--resources/src/json-skip.js4
-rw-r--r--resources/src/mediawiki.action/images/green-checkmark.png (renamed from resources/mediawiki.action/images/green-checkmark.png)bin681 -> 681 bytes
-rw-r--r--resources/src/mediawiki.action/images/nextredirect-ltr.pngbin0 -> 121 bytes
-rw-r--r--resources/src/mediawiki.action/images/nextredirect-rtl.pngbin0 -> 121 bytes
-rw-r--r--resources/src/mediawiki.action/images/redirect-ltr.pngbin0 -> 128 bytes
-rw-r--r--resources/src/mediawiki.action/images/redirect-rtl.pngbin0 -> 132 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css (renamed from resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css)0
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js (renamed from resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js)0
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.css18
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js59
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.js217
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.preview.js165
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.styles.css44
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ar/button_bold.pngbin0 -> 533 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ar/button_headline.pngbin0 -> 484 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ar/button_italic.pngbin0 -> 532 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ar/button_link.pngbin0 -> 557 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ar/button_nowiki.pngbin0 -> 874 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/be-tarask/button_bold.pngbin0 -> 550 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/be-tarask/button_italic.pngbin0 -> 539 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/be-tarask/button_link.pngbin0 -> 419 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/de/button_bold.pngbin0 -> 255 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/de/button_italic.pngbin0 -> 260 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_bold.pngbin0 -> 250 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_extlink.pngbin0 -> 435 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_headline.pngbin0 -> 440 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_hr.pngbin0 -> 200 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_image.pngbin0 -> 483 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_italic.pngbin0 -> 250 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_link.pngbin0 -> 280 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_media.pngbin0 -> 728 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_nowiki.pngbin0 -> 322 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/en/button_sig.pngbin0 -> 920 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/fa/button_bold.pngbin0 -> 459 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/fa/button_headline.pngbin0 -> 392 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/fa/button_italic.pngbin0 -> 512 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/fa/button_link.pngbin0 -> 485 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/fa/button_nowiki.pngbin0 -> 874 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ksh/LICENSE7
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ksh/button_italic.pngbin0 -> 368 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ru/LICENSE17
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ru/button_bold.pngbin0 -> 254 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ru/button_italic.pngbin0 -> 423 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/images/ru/button_link.pngbin0 -> 278 bytes
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.edit.toolbar/mediawiki.action.edit.toolbar.less42
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.history.css4
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.history.diff.css96
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.history.js111
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js12
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.view.metadata.css6
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.view.metadata.js45
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.view.postEdit.css76
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.view.postEdit.js86
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.view.redirect.js65
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css53
-rw-r--r--resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js26
-rw-r--r--resources/src/mediawiki.api/mediawiki.api.category.js146
-rw-r--r--resources/src/mediawiki.api/mediawiki.api.edit.js87
-rw-r--r--resources/src/mediawiki.api/mediawiki.api.js397
-rw-r--r--resources/src/mediawiki.api/mediawiki.api.login.js (renamed from resources/mediawiki.api/mediawiki.api.login.js)0
-rw-r--r--resources/src/mediawiki.api/mediawiki.api.parse.js45
-rw-r--r--resources/src/mediawiki.api/mediawiki.api.watch.js79
-rw-r--r--resources/src/mediawiki.hidpi-skip.js4
-rw-r--r--resources/src/mediawiki.language/languages/bs.js19
-rw-r--r--resources/src/mediawiki.language/languages/dsb.js19
-rw-r--r--resources/src/mediawiki.language/languages/fi.js47
-rw-r--r--resources/src/mediawiki.language/languages/ga.js38
-rw-r--r--resources/src/mediawiki.language/languages/he.js29
-rw-r--r--resources/src/mediawiki.language/languages/hsb.js19
-rw-r--r--resources/src/mediawiki.language/languages/hu.js23
-rw-r--r--resources/src/mediawiki.language/languages/hy.js29
-rw-r--r--resources/src/mediawiki.language/languages/la.js50
-rw-r--r--resources/src/mediawiki.language/languages/os.js69
-rw-r--r--resources/src/mediawiki.language/languages/ru.js57
-rw-r--r--resources/src/mediawiki.language/languages/sl.js19
-rw-r--r--resources/src/mediawiki.language/languages/uk.js37
-rw-r--r--resources/src/mediawiki.language/mediawiki.cldr.js32
-rw-r--r--resources/src/mediawiki.language/mediawiki.language.fallback.js35
-rw-r--r--resources/src/mediawiki.language/mediawiki.language.init.js81
-rw-r--r--resources/src/mediawiki.language/mediawiki.language.js171
-rw-r--r--resources/src/mediawiki.language/mediawiki.language.months.js56
-rw-r--r--resources/src/mediawiki.language/mediawiki.language.numbers.js258
-rw-r--r--resources/src/mediawiki.legacy/ajax.js194
-rw-r--r--resources/src/mediawiki.legacy/commonPrint.css435
-rw-r--r--resources/src/mediawiki.legacy/images/ajax-loader.gifbin0 -> 1788 bytes
-rw-r--r--resources/src/mediawiki.legacy/images/checker.pngbin0 -> 81 bytes
-rw-r--r--resources/src/mediawiki.legacy/images/feed-icon.pngbin0 -> 542 bytes
-rw-r--r--resources/src/mediawiki.legacy/images/feed-icon.svg1
-rw-r--r--resources/src/mediawiki.legacy/images/help-question-hover.gifbin0 -> 1246 bytes
-rw-r--r--resources/src/mediawiki.legacy/images/help-question.gifbin0 -> 126 bytes
-rw-r--r--resources/src/mediawiki.legacy/images/question.pngbin0 -> 316 bytes
-rw-r--r--resources/src/mediawiki.legacy/images/question.svg1
-rw-r--r--resources/src/mediawiki.legacy/images/spinner.gifbin0 -> 1819 bytes
-rw-r--r--resources/src/mediawiki.legacy/oldshared.css489
-rw-r--r--resources/src/mediawiki.legacy/protect.js240
-rw-r--r--resources/src/mediawiki.legacy/shared.css1167
-rw-r--r--resources/src/mediawiki.legacy/wikibits.js204
-rw-r--r--resources/src/mediawiki.less/mediawiki.mixins.animation.less12
-rw-r--r--resources/src/mediawiki.less/mediawiki.mixins.less61
-rw-r--r--resources/src/mediawiki.less/mediawiki.mixins.rotation.less33
-rw-r--r--resources/src/mediawiki.less/mediawiki.ui/mixins.less122
-rw-r--r--resources/src/mediawiki.less/mediawiki.ui/variables.less62
-rw-r--r--resources/src/mediawiki.libs/CLDRPluralRuleParser.js475
-rw-r--r--resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js737
-rw-r--r--resources/src/mediawiki.page/mediawiki.page.gallery.js212
-rw-r--r--resources/src/mediawiki.page/mediawiki.page.image.pagination.js101
-rw-r--r--resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js65
-rw-r--r--resources/src/mediawiki.page/mediawiki.page.ready.js64
-rw-r--r--resources/src/mediawiki.page/mediawiki.page.startup.js33
-rw-r--r--resources/src/mediawiki.page/mediawiki.page.watch.ajax.js178
-rw-r--r--resources/src/mediawiki.skinning/content.css227
-rw-r--r--resources/src/mediawiki.skinning/content.externallinks.css102
-rw-r--r--resources/src/mediawiki.skinning/content.parsoid.less131
-rw-r--r--resources/src/mediawiki.skinning/elements.css273
-rw-r--r--resources/src/mediawiki.skinning/images/audio-ltr.pngbin0 -> 401 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/audio-ltr.svg8
-rw-r--r--resources/src/mediawiki.skinning/images/audio-rtl.pngbin0 -> 417 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/audio-rtl.svg8
-rw-r--r--resources/src/mediawiki.skinning/images/chat-ltr.pngbin0 -> 304 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/chat-ltr.svg6
-rw-r--r--resources/src/mediawiki.skinning/images/chat-rtl.pngbin0 -> 297 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/chat-rtl.svg6
-rw-r--r--resources/src/mediawiki.skinning/images/document-ltr.pngbin0 -> 275 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/document-ltr.svg5
-rw-r--r--resources/src/mediawiki.skinning/images/document-rtl.pngbin0 -> 264 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/document-rtl.svg5
-rw-r--r--resources/src/mediawiki.skinning/images/external link icons.svg697
-rw-r--r--resources/src/mediawiki.skinning/images/external-ltr.pngbin0 -> 403 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/external-ltr.svg8
-rw-r--r--resources/src/mediawiki.skinning/images/external-rtl.pngbin0 -> 411 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/external-rtl.svg8
-rw-r--r--resources/src/mediawiki.skinning/images/ftp-ltr.pngbin0 -> 356 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/ftp-ltr.svg9
-rw-r--r--resources/src/mediawiki.skinning/images/ftp-rtl.pngbin0 -> 334 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/ftp-rtl.svg9
-rw-r--r--resources/src/mediawiki.skinning/images/magnify-clip-ltr.pngbin0 -> 204 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/magnify-clip-rtl.pngbin0 -> 149 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/mail.pngbin0 -> 334 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/mail.svg7
-rw-r--r--resources/src/mediawiki.skinning/images/video.pngbin0 -> 358 bytes
-rw-r--r--resources/src/mediawiki.skinning/images/video.svg14
-rw-r--r--resources/src/mediawiki.skinning/interface.css68
-rw-r--r--resources/src/mediawiki.special/images/glyph-people-large.png (renamed from resources/mediawiki.special/images/glyph-people-large.png)bin1663 -> 1663 bytes
-rw-r--r--resources/src/mediawiki.special/images/icon-contributors.png (renamed from resources/mediawiki.special/images/icon-contributors.png)bin1169 -> 1169 bytes
-rw-r--r--resources/src/mediawiki.special/images/icon-edits.png (renamed from resources/mediawiki.special/images/icon-edits.png)bin780 -> 780 bytes
-rw-r--r--resources/src/mediawiki.special/images/icon-lock.png (renamed from resources/mediawiki.special/images/icon-lock.png)bin172 -> 172 bytes
-rw-r--r--resources/src/mediawiki.special/images/icon-pages.png (renamed from resources/mediawiki.special/images/icon-pages.png)bin528 -> 528 bytes
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.block.css11
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.block.js45
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.changeemail.css19
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.changeemail.js52
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.changeslist.css7
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css61
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css29
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js25
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.css120
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.import.js35
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js36
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.js9
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.movePage.js6
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.pageLanguage.js9
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css (renamed from resources/mediawiki.special/mediawiki.special.pagesWithProp.css)0
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.preferences.css21
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.preferences.js305
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.recentchanges.js39
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.search.css173
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.search.js58
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.undelete.js11
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css9
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js52
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.upload.js565
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.userlogin.common.css66
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.userlogin.common.js72
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.userlogin.login.css22
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css66
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js140
-rw-r--r--resources/src/mediawiki.special/mediawiki.special.version.css14
-rw-r--r--resources/src/mediawiki.ui/components/anchors.less77
-rw-r--r--resources/src/mediawiki.ui/components/buttons.less276
-rw-r--r--resources/src/mediawiki.ui/components/checkbox.less100
-rw-r--r--resources/src/mediawiki.ui/components/forms.less166
-rw-r--r--resources/src/mediawiki.ui/components/images/checked.pngbin0 -> 327 bytes
-rw-r--r--resources/src/mediawiki.ui/components/images/checked.svg1
-rw-r--r--resources/src/mediawiki.ui/components/inputs.less126
-rw-r--r--resources/src/mediawiki.ui/components/utilities.less47
-rw-r--r--resources/src/mediawiki.ui/default.less5
-rw-r--r--resources/src/mediawiki.ui/styleguide.md11
-rw-r--r--resources/src/mediawiki/images/arrow-collapsed-ltr.png (renamed from resources/mediawiki/images/arrow-collapsed-ltr.png)bin133 -> 133 bytes
-rw-r--r--resources/src/mediawiki/images/arrow-collapsed-ltr.svg1
-rw-r--r--resources/src/mediawiki/images/arrow-collapsed-rtl.png (renamed from resources/mediawiki/images/arrow-collapsed-rtl.png)bin136 -> 136 bytes
-rw-r--r--resources/src/mediawiki/images/arrow-collapsed-rtl.svg1
-rw-r--r--resources/src/mediawiki/images/arrow-expanded.png (renamed from resources/mediawiki/images/arrow-expanded.png)bin134 -> 134 bytes
-rw-r--r--resources/src/mediawiki/images/arrow-expanded.svg1
-rw-r--r--resources/src/mediawiki/images/arrow-sort-ascending.pngbin0 -> 244 bytes
-rw-r--r--resources/src/mediawiki/images/arrow-sort-ascending.svg1
-rw-r--r--resources/src/mediawiki/images/arrow-sort-descending.pngbin0 -> 245 bytes
-rw-r--r--resources/src/mediawiki/images/arrow-sort-descending.svg1
-rw-r--r--resources/src/mediawiki/images/pager-arrow-disabled-fastforward-ltr.pngbin0 -> 323 bytes
-rw-r--r--resources/src/mediawiki/images/pager-arrow-disabled-fastforward-rtl.pngbin0 -> 318 bytes
-rw-r--r--resources/src/mediawiki/images/pager-arrow-disabled-forward-ltr.pngbin0 -> 307 bytes
-rw-r--r--resources/src/mediawiki/images/pager-arrow-disabled-forward-rtl.pngbin0 -> 301 bytes
-rw-r--r--resources/src/mediawiki/images/pager-arrow-fastforward-ltr.pngbin0 -> 342 bytes
-rw-r--r--resources/src/mediawiki/images/pager-arrow-fastforward-rtl.pngbin0 -> 352 bytes
-rw-r--r--resources/src/mediawiki/images/pager-arrow-forward-ltr.pngbin0 -> 337 bytes
-rw-r--r--resources/src/mediawiki/images/pager-arrow-forward-rtl.pngbin0 -> 330 bytes
-rw-r--r--resources/src/mediawiki/mediawiki.Title.js939
-rw-r--r--resources/src/mediawiki/mediawiki.Uri.js403
-rw-r--r--resources/src/mediawiki/mediawiki.content.json.css53
-rw-r--r--resources/src/mediawiki/mediawiki.cookie.js126
-rw-r--r--resources/src/mediawiki/mediawiki.debug.init.js (renamed from resources/mediawiki/mediawiki.debug.init.js)0
-rw-r--r--resources/src/mediawiki/mediawiki.debug.js391
-rw-r--r--resources/src/mediawiki/mediawiki.debug.less189
-rw-r--r--resources/src/mediawiki/mediawiki.debug.profile.css45
-rw-r--r--resources/src/mediawiki/mediawiki.debug.profile.js556
-rw-r--r--resources/src/mediawiki/mediawiki.feedback.css (renamed from resources/mediawiki/mediawiki.feedback.css)0
-rw-r--r--resources/src/mediawiki/mediawiki.feedback.js320
-rw-r--r--resources/src/mediawiki/mediawiki.feedback.spinner.gif (renamed from resources/mediawiki/mediawiki.feedback.spinner.gif)bin1108 -> 1108 bytes
-rw-r--r--resources/src/mediawiki/mediawiki.hidpi.js (renamed from resources/mediawiki/mediawiki.hidpi.js)0
-rw-r--r--resources/src/mediawiki/mediawiki.hlist.css78
-rw-r--r--resources/src/mediawiki/mediawiki.hlist.js31
-rw-r--r--resources/src/mediawiki/mediawiki.htmlform.js408
-rw-r--r--resources/src/mediawiki/mediawiki.icon.less19
-rw-r--r--resources/src/mediawiki/mediawiki.inspect.js284
-rw-r--r--resources/src/mediawiki/mediawiki.jqueryMsg.js1251
-rw-r--r--resources/src/mediawiki/mediawiki.jqueryMsg.peg85
-rw-r--r--resources/src/mediawiki/mediawiki.js2399
-rw-r--r--resources/src/mediawiki/mediawiki.log.js84
-rw-r--r--resources/src/mediawiki/mediawiki.notification.css27
-rw-r--r--resources/src/mediawiki/mediawiki.notification.hideForPrint.css3
-rw-r--r--resources/src/mediawiki/mediawiki.notification.js523
-rw-r--r--resources/src/mediawiki/mediawiki.notify.js27
-rw-r--r--resources/src/mediawiki/mediawiki.pager.tablePager.less84
-rw-r--r--resources/src/mediawiki/mediawiki.searchSuggest.css24
-rw-r--r--resources/src/mediawiki/mediawiki.searchSuggest.js199
-rw-r--r--resources/src/mediawiki/mediawiki.toc.js60
-rw-r--r--resources/src/mediawiki/mediawiki.user.js258
-rw-r--r--resources/src/mediawiki/mediawiki.util.js531
-rw-r--r--resources/src/polyfill-object-create.js62
-rw-r--r--resources/src/startup.js62
-rw-r--r--resources/startup.js50
1063 files changed, 101159 insertions, 49582 deletions
diff --git a/resources/Resources.php b/resources/Resources.php
index 3b06e1be..70f64dd3 100644
--- a/resources/Resources.php
+++ b/resources/Resources.php
@@ -50,256 +50,262 @@ return array(
// Scripts for the dynamic language specific data, like grammar forms.
'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
+ /* MediaWiki base skinning modules */
+
/**
- * Skins
- * Be careful not to add 'scripts' to these modules,
- * since they are loaded with OutputPage::addModuleStyles so that the skin styles
- * apply without javascript.
- * If a skin needs custom js in the interface, register a separate module
- * and add it to the load queue with OutputPage::addModules.
+ * Common skin styles, grouped into three graded levels.
+ *
+ * Level 1 "elements":
+ * The base level that only contains the most basic of common skin styles.
+ * Only styles for single elements are included, no styling for complex structures like the
+ * TOC is present. This level is for skins that want to implement the entire style of even
+ * content area structures like the TOC themselves.
+ *
+ * Level 2 "content":
+ * The most commonly used level for skins implemented from scratch. This level includes all
+ * the single element styles from "elements" as well as styles for complex structures such
+ * as the TOC that are output in the content area by MediaWiki rather than the skin.
+ * Essentially this is the common level that lets skins leave the style of the content area
+ * as it is normally styled, while leaving the rest of the skin up to the skin
+ * implementation.
+ *
+ * Level 3 "interface":
+ * The highest level, this stylesheet contains extra common styles for classes like
+ * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
+ * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
+ * common to MonoBook clones. And since practically every skin that currently exists within
+ * core is a MonoBook clone, all our core skins currently use this level.
*
- * See Vector for an example.
+ * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
+ * dependency management. As a result they contain duplicate stylesheet references instead of
+ * setting 'dependencies' to the lower level the module is based on. For this reason avoid
+ * including more than one of them into your skin as this will result in duplicate CSS.
*/
- 'skins.cologneblue' => array(
- 'styles' => array(
- 'cologneblue/screen.css' => array( 'media' => 'screen' ),
- 'cologneblue/print.css' => array( 'media' => 'print' ),
- ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'skins.modern' => array(
+ 'mediawiki.skinning.elements' => array(
'styles' => array(
- 'modern/main.css' => array( 'media' => 'screen' ),
- 'modern/print.css' => array( 'media' => 'print' ),
+ 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
- 'skins.monobook' => array(
+ 'mediawiki.skinning.content' => array(
'styles' => array(
- 'common/commonElements.css' => array( 'media' => 'screen' ),
- 'common/commonContent.css' => array( 'media' => 'screen' ),
- 'common/commonInterface.css' => array( 'media' => 'screen' ),
- 'monobook/main.css' => array( 'media' => 'screen' ),
+ 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
+ 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
- 'skins.archlinux' => array(
- 'styles' => array(
- 'common/commonElements.css' => array( 'media' => 'screen' ),
- 'common/commonContent.css' => array( 'media' => 'screen' ),
- 'common/commonInterface.css' => array( 'media' => 'screen' ),
- 'archlinux/main.css' => array( 'media' => 'screen' ),
- 'archlinux/archnavbar.css' => array( 'media' => 'screen' ),
- 'archlinux/arch.css' => array( 'media' => 'screen' ),
- 'archlinux/print.css' => array( 'media' => 'print' ),
- ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'skins.vector' => array(
+ 'mediawiki.skinning.interface' => array(
// Used in the web installer. Test it after modifying this definition!
'styles' => array(
- 'common/commonElements.css' => array( 'media' => 'screen' ),
- 'common/commonContent.css' => array( 'media' => 'screen' ),
- 'common/commonInterface.css' => array( 'media' => 'screen' ),
- 'vector/styles.less',
+ 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
+ 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
+ 'resources/src/mediawiki.skinning/interface.css' => array( 'media' => 'screen' ),
),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
- 'skins.vector.beta' => array(
- // Keep in sync with skins.vector
- 'styles' => array(
- 'common/commonElements.css' => array( 'media' => 'screen' ),
- 'common/commonContent.css' => array( 'media' => 'screen' ),
- 'common/commonInterface.css' => array( 'media' => 'screen' ),
- 'vector/styles-beta.less',
+
+ 'mediawiki.skinning.content.parsoid' => array(
+ // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
+ // with the interface.css styles; skinStyles should be used if your
+ // skin over-rides common content styling.
+ 'skinStyles' => array(
+ 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'targets' => array( 'desktop', 'mobile' ),
),
- 'skins.vector.js' => array(
- 'scripts' => array(
- 'vector/collapsibleTabs.js',
- 'vector/vector.js',
+
+ 'mediawiki.skinning.content.externallinks' => array(
+ 'styles' => array(
+ 'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
),
- 'position' => 'top',
- 'dependencies' => 'jquery.delayedBind',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'skins.vector.collapsibleNav' => array(
- 'scripts' => array(
- 'vector/collapsibleNav.js',
- ),
- 'messages' => array(
- 'vector-collapsiblenav-more',
- ),
- 'dependencies' => array(
- 'jquery.client',
- 'jquery.cookie',
- 'jquery.tabIndex',
- ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- 'position' => 'bottom',
),
/* jQuery */
'jquery' => array(
- 'scripts' => 'resources/jquery/jquery.js',
- 'debugRaw' => false,
+ 'scripts' => ( $GLOBALS['wgIncludejQueryMigrate'] ?
+ array(
+ 'resources/lib/jquery/jquery.js',
+ 'resources/lib/jquery/jquery.migrate.js'
+ ) :
+ array(
+ 'resources/lib/jquery/jquery.js'
+ ) ),
+ 'raw' => true,
'targets' => array( 'desktop', 'mobile' ),
),
/* jQuery Plugins */
+ 'jquery.accessKeyLabel' => array(
+ 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
+ 'dependencies' => array(
+ 'jquery.client',
+ 'jquery.mwExtension',
+ ),
+ 'messages' => array( 'brackets', 'word-separator' ),
+ 'targets' => array( 'mobile', 'desktop' ),
+ ),
'jquery.appear' => array(
- 'scripts' => 'resources/jquery/jquery.appear.js',
+ 'scripts' => 'resources/lib/jquery/jquery.appear.js',
),
'jquery.arrowSteps' => array(
- 'scripts' => 'resources/jquery/jquery.arrowSteps.js',
- 'styles' => 'resources/jquery/jquery.arrowSteps.css',
+ 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
+ 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
),
'jquery.async' => array(
- 'scripts' => 'resources/jquery/jquery.async.js',
+ 'scripts' => 'resources/lib/jquery/jquery.async.js',
),
'jquery.autoEllipsis' => array(
- 'scripts' => 'resources/jquery/jquery.autoEllipsis.js',
+ 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
'dependencies' => 'jquery.highlightText',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'jquery.badge' => array(
- 'scripts' => 'resources/jquery/jquery.badge.js',
- 'styles' => 'resources/jquery/jquery.badge.css',
+ 'scripts' => 'resources/src/jquery/jquery.badge.js',
+ 'styles' => 'resources/src/jquery/jquery.badge.css',
'dependencies' => 'mediawiki.language',
),
'jquery.byteLength' => array(
- 'scripts' => 'resources/jquery/jquery.byteLength.js',
+ 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.byteLimit' => array(
- 'scripts' => 'resources/jquery/jquery.byteLimit.js',
+ 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
'dependencies' => 'jquery.byteLength',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'jquery.checkboxShiftClick' => array(
- 'scripts' => 'resources/jquery/jquery.checkboxShiftClick.js',
+ 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.chosen' => array(
- 'scripts' => 'resources/jquery.chosen/chosen.jquery.js',
- 'styles' => 'resources/jquery.chosen/chosen.css',
+ 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
+ 'styles' => 'resources/lib/jquery.chosen/chosen.css',
),
'jquery.client' => array(
- 'scripts' => 'resources/jquery/jquery.client.js',
+ 'scripts' => 'resources/src/jquery/jquery.client.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.color' => array(
- 'scripts' => 'resources/jquery/jquery.color.js',
+ 'scripts' => 'resources/src/jquery/jquery.color.js',
'dependencies' => 'jquery.colorUtil',
),
'jquery.colorUtil' => array(
- 'scripts' => 'resources/jquery/jquery.colorUtil.js',
+ 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
+ ),
+ 'jquery.confirmable' => array(
+ 'scripts' => array(
+ 'resources/src/jquery/jquery.confirmable.js',
+ 'resources/src/jquery/jquery.confirmable.mediawiki.js',
+ ),
+ 'messages' => array(
+ 'confirmable-confirm',
+ 'confirmable-yes',
+ 'confirmable-no',
+ 'word-separator',
+ ),
+ 'styles' => 'resources/src/jquery/jquery.confirmable.css',
+ 'dependencies' => 'mediawiki.jqueryMsg',
),
+ // Use mediawiki.cookie in new code, rather than jquery.cookie.
'jquery.cookie' => array(
- 'scripts' => 'resources/jquery/jquery.cookie.js',
+ 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
'targets' => array( 'desktop', 'mobile' ),
),
- 'jquery.delayedBind' => array(
- 'scripts' => 'resources/jquery/jquery.delayedBind.js',
- ),
'jquery.expandableField' => array(
- 'scripts' => 'resources/jquery/jquery.expandableField.js',
- 'dependencies' => 'jquery.delayedBind',
+ 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
),
'jquery.farbtastic' => array(
- 'scripts' => 'resources/jquery/jquery.farbtastic.js',
- 'styles' => 'resources/jquery/jquery.farbtastic.css',
+ 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
+ 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
'dependencies' => 'jquery.colorUtil',
),
'jquery.footHovzer' => array(
- 'scripts' => 'resources/jquery/jquery.footHovzer.js',
- 'styles' => 'resources/jquery/jquery.footHovzer.css',
+ 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
+ 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
),
'jquery.form' => array(
- 'scripts' => 'resources/jquery/jquery.form.js',
+ 'scripts' => 'resources/lib/jquery/jquery.form.js',
+ ),
+ 'jquery.fullscreen' => array(
+ 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
),
'jquery.getAttrs' => array(
- 'scripts' => 'resources/jquery/jquery.getAttrs.js',
+ 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.hidpi' => array(
- 'scripts' => 'resources/jquery/jquery.hidpi.js',
+ 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.highlightText' => array(
- 'scripts' => 'resources/jquery/jquery.highlightText.js',
+ 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
'dependencies' => 'jquery.mwExtension',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'jquery.hoverIntent' => array(
- 'scripts' => 'resources/jquery/jquery.hoverIntent.js',
+ 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
),
'jquery.json' => array(
- 'scripts' => 'resources/jquery/jquery.json.js',
+ // @deprecated since 1.24: Use the 'json' module and global JSON object instead.
+ 'scripts' => array(
+ 'resources/lib/jquery/jquery.json.js',
+ 'resources/src/jquery.json-deprecate.js',
+ ),
'targets' => array( 'mobile', 'desktop' ),
),
'jquery.localize' => array(
- 'scripts' => 'resources/jquery/jquery.localize.js',
+ 'scripts' => 'resources/src/jquery/jquery.localize.js',
),
'jquery.makeCollapsible' => array(
- 'scripts' => 'resources/jquery/jquery.makeCollapsible.js',
- 'styles' => 'resources/jquery/jquery.makeCollapsible.css',
+ 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
+ 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.mockjax' => array(
- 'scripts' => 'resources/jquery/jquery.mockjax.js',
+ 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
),
'jquery.mw-jump' => array(
- 'scripts' => 'resources/jquery/jquery.mw-jump.js',
+ 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.mwExtension' => array(
- 'scripts' => 'resources/jquery/jquery.mwExtension.js',
+ 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.placeholder' => array(
- 'scripts' => 'resources/jquery/jquery.placeholder.js',
+ 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.qunit' => array(
- 'scripts' => 'resources/jquery/jquery.qunit.js',
- 'styles' => 'resources/jquery/jquery.qunit.css',
+ 'scripts' => 'resources/lib/jquery/jquery.qunit.js',
+ 'styles' => 'resources/lib/jquery/jquery.qunit.css',
'position' => 'top',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.qunit.completenessTest' => array(
- 'scripts' => 'resources/jquery/jquery.qunit.completenessTest.js',
+ 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
'dependencies' => 'jquery.qunit',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.spinner' => array(
- 'scripts' => 'resources/jquery/jquery.spinner.js',
- 'styles' => 'resources/jquery/jquery.spinner.css',
+ 'scripts' => 'resources/src/jquery/jquery.spinner.js',
+ 'styles' => 'resources/src/jquery/jquery.spinner.css',
),
'jquery.jStorage' => array(
- 'scripts' => 'resources/jquery/jquery.jStorage.js',
- 'dependencies' => 'jquery.json',
+ 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
+ 'dependencies' => 'json',
),
'jquery.suggestions' => array(
- 'scripts' => 'resources/jquery/jquery.suggestions.js',
- 'styles' => 'resources/jquery/jquery.suggestions.css',
- 'dependencies' => 'jquery.autoEllipsis',
+ 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
+ 'styles' => 'resources/src/jquery/jquery.suggestions.css',
+ 'dependencies' => 'jquery.highlightText',
),
'jquery.tabIndex' => array(
- 'scripts' => 'resources/jquery/jquery.tabIndex.js',
+ 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
),
'jquery.tablesorter' => array(
- 'scripts' => 'resources/jquery/jquery.tablesorter.js',
- 'styles' => 'resources/jquery/jquery.tablesorter.css',
+ 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
+ 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
'messages' => array( 'sort-descending', 'sort-ascending' ),
'dependencies' => array(
'jquery.mwExtension',
@@ -307,376 +313,537 @@ return array(
),
),
'jquery.textSelection' => array(
- 'scripts' => 'resources/jquery/jquery.textSelection.js',
+ 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
'dependencies' => 'jquery.client',
),
+ 'jquery.throttle-debounce' => array(
+ 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
+ ),
'jquery.validate' => array(
- 'scripts' => 'resources/jquery/jquery.validate.js',
+ 'scripts' => 'resources/lib/jquery/jquery.validate.js',
),
'jquery.xmldom' => array(
- 'scripts' => 'resources/jquery/jquery.xmldom.js',
+ 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
),
/* jQuery Tipsy */
'jquery.tipsy' => array(
- 'scripts' => 'resources/jquery.tipsy/jquery.tipsy.js',
- 'styles' => 'resources/jquery.tipsy/jquery.tipsy.css',
+ 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
+ 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
),
/* jQuery UI */
- // Core
'jquery.ui.core' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.core.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
'skinStyles' => array(
'default' => array(
- 'resources/jquery.ui/themes/default/jquery.ui.core.css',
- 'resources/jquery.ui/themes/default/jquery.ui.theme.css',
- ),
- 'vector' => array(
- 'resources/jquery.ui/themes/vector/jquery.ui.core.css',
- 'resources/jquery.ui/themes/vector/jquery.ui.theme.css',
+ 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
+ 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
),
),
- 'dependencies' => 'jquery',
'group' => 'jquery.ui',
),
- 'jquery.ui.widget' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
+ 'jquery.ui.accordion' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
+ ),
'group' => 'jquery.ui',
),
- 'jquery.ui.mouse' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
- 'dependencies' => 'jquery.ui.widget',
+ 'jquery.ui.autocomplete' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.position',
+ 'jquery.ui.menu',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
+ ),
'group' => 'jquery.ui',
),
- 'jquery.ui.position' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
+ 'jquery.ui.button' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
+ ),
+ 'group' => 'jquery.ui',
+ ),
+ 'jquery.ui.datepicker' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
+ 'dependencies' => 'jquery.ui.core',
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
+ ),
+ 'languageScripts' => array(
+ 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
+ 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
+ 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
+ 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
+ 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
+ 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
+ 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
+ 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
+ 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
+ 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
+ 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
+ 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
+ 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
+ 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
+ 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
+ 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
+ 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
+ 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
+ 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
+ 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
+ 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
+ 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
+ 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
+ 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
+ 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
+ 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
+ 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
+ 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
+ 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
+ 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
+ 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
+ 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
+ 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
+ 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
+ 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
+ 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
+ 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
+ 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
+ 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
+ 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
+ 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
+ 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
+ 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
+ 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
+ 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
+ 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
+ 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
+ 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
+ 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
+ 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
+ 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
+ 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
+ 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
+ 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
+ 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
+ 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
+ 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
+ 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
+ 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
+ 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
+ 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
+ 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
+ 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
+ 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
+ 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
+ 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
+ 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
+ ),
+ 'group' => 'jquery.ui',
+ ),
+ 'jquery.ui.dialog' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.button',
+ 'jquery.ui.draggable',
+ 'jquery.ui.mouse',
+ 'jquery.ui.position',
+ 'jquery.ui.resizable',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
+ ),
'group' => 'jquery.ui',
),
- // Interactions
'jquery.ui.draggable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.mouse',
+ 'jquery.ui.widget',
+ ),
'group' => 'jquery.ui',
),
'jquery.ui.droppable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
'dependencies' => array(
- 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
+ 'jquery.ui.core',
+ 'jquery.ui.mouse',
+ 'jquery.ui.widget',
+ 'jquery.ui.draggable',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.resizable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
+ 'jquery.ui.menu' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.position',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.resizable.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
),
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
'group' => 'jquery.ui',
),
- 'jquery.ui.selectable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
- 'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.selectable.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
- ),
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
+ 'jquery.ui.mouse' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
+ 'dependencies' => 'jquery.ui.widget',
'group' => 'jquery.ui',
),
- 'jquery.ui.sortable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
+ 'jquery.ui.position' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
'group' => 'jquery.ui',
),
- // Widgets
- 'jquery.ui.accordion' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.accordion.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
+ 'jquery.ui.progressbar' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.autocomplete' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
+ 'jquery.ui.resizable' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.mouse',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.button' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
+ 'jquery.ui.selectable' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.mouse',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.datepicker' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
- 'dependencies' => 'jquery.ui.core',
+ 'jquery.ui.slider' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.mouse',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.datepicker.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.datepicker.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
),
- 'languageScripts' => array(
- 'af' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-af.js',
- 'ar' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
- 'az' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-az.js',
- 'bg' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
- 'bs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
- 'ca' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
- 'cs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
- 'da' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-da.js',
- 'de' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-de.js',
- 'el' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-el.js',
- 'en-gb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
- 'eo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
- 'es' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-es.js',
- 'et' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-et.js',
- 'eu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
- 'fa' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
- 'fi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
- 'fo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
- 'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
- 'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
- 'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
- 'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
- 'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
- 'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
- 'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
- 'id' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-id.js',
- 'is' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-is.js',
- 'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
- 'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
- 'ka' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
- 'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
- 'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
- 'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
- 'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
- 'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
- 'lv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
- 'mk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
- 'ml' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
- 'ms' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
- 'nl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
- 'no' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-no.js',
- 'pl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
- 'pt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
- 'pt-br' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
- 'rm' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
- 'ro' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
- 'ru' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
- 'sk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
- 'sl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
- 'sq' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
- 'sr-sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
- 'sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
- 'sv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
- 'ta' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
- 'th' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-th.js',
- 'tr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
- 'uk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
- 'vi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
- 'zh-cn' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
- 'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
- 'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
+ 'group' => 'jquery.ui',
+ ),
+ 'jquery.ui.sortable' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.mouse',
+ 'jquery.ui.widget',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.dialog' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
+ 'jquery.ui.spinner' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
'dependencies' => array(
'jquery.ui.core',
'jquery.ui.widget',
'jquery.ui.button',
- 'jquery.ui.draggable',
- 'jquery.ui.mouse',
- 'jquery.ui.position',
- 'jquery.ui.resizable',
),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.progressbar' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
+ 'jquery.ui.tabs' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.slider' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
+ 'jquery.ui.tooltip' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.position',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.tabs' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
- 'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
- ),
+ 'jquery.ui.widget' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
'group' => 'jquery.ui',
),
// Effects
'jquery.effects.core' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
- 'dependencies' => 'jquery',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
'group' => 'jquery.ui',
),
'jquery.effects.blind' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.bounce' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.clip' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.drop' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.explode' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.fade' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.fold' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.highlight' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.pulsate' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.scale' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.shake' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.slide' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.transfer' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
+ /* json2 */
+
+ 'json' => array(
+ 'scripts' => 'resources/lib/json2/json2.js',
+ 'targets' => array( 'desktop', 'mobile' ),
+ 'skipFunction' => 'resources/src/json-skip.js',
+ ),
+
+ /* Moment.js */
+
+ 'moment' => array(
+ 'scripts' => 'resources/lib/moment/moment.js',
+ 'languageScripts' => array(
+ 'af' => 'resources/lib/moment/locale/af.js',
+ 'ar' => 'resources/lib/moment/locale/ar.js',
+ 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
+ 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
+ 'az' => 'resources/lib/moment/locale/az.js',
+ 'be' => 'resources/lib/moment/locale/be.js',
+ 'bg' => 'resources/lib/moment/locale/bg.js',
+ 'bn' => 'resources/lib/moment/locale/bn.js',
+ 'bo' => 'resources/lib/moment/locale/bo.js',
+ 'br' => 'resources/lib/moment/locale/br.js',
+ 'bs' => 'resources/lib/moment/locale/bs.js',
+ 'ca' => 'resources/lib/moment/locale/ca.js',
+ 'cs' => 'resources/lib/moment/locale/cs.js',
+ 'cv' => 'resources/lib/moment/locale/cv.js',
+ 'cy' => 'resources/lib/moment/locale/cy.js',
+ 'da' => 'resources/lib/moment/locale/da.js',
+ 'de' => 'resources/lib/moment/locale/de.js',
+ 'de-at' => 'resources/lib/moment/locale/de-at.js',
+ 'el' => 'resources/lib/moment/locale/el.js',
+ 'en-au' => 'resources/lib/moment/locale/en-au.js',
+ 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
+ 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
+ 'eo' => 'resources/lib/moment/locale/eo.js',
+ 'es' => 'resources/lib/moment/locale/es.js',
+ 'et' => 'resources/lib/moment/locale/et.js',
+ 'eu' => 'resources/lib/moment/locale/eu.js',
+ 'fa' => 'resources/lib/moment/locale/fa.js',
+ 'fi' => 'resources/lib/moment/locale/fi.js',
+ 'fo' => 'resources/lib/moment/locale/fo.js',
+ 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
+ 'fr' => 'resources/lib/moment/locale/fr.js',
+ 'gl' => 'resources/lib/moment/locale/gl.js',
+ 'he' => 'resources/lib/moment/locale/he.js',
+ 'hi' => 'resources/lib/moment/locale/hi.js',
+ 'hr' => 'resources/lib/moment/locale/hr.js',
+ 'hu' => 'resources/lib/moment/locale/hu.js',
+ 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
+ 'id' => 'resources/lib/moment/locale/id.js',
+ 'is' => 'resources/lib/moment/locale/is.js',
+ 'it' => 'resources/lib/moment/locale/it.js',
+ 'ja' => 'resources/lib/moment/locale/ja.js',
+ 'ka' => 'resources/lib/moment/locale/ka.js',
+ 'ko' => 'resources/lib/moment/locale/ko.js',
+ 'lt' => 'resources/lib/moment/locale/lt.js',
+ 'lv' => 'resources/lib/moment/locale/lv.js',
+ 'mk' => 'resources/lib/moment/locale/mk.js',
+ 'ml' => 'resources/lib/moment/locale/ml.js',
+ 'mr' => 'resources/lib/moment/locale/mr.js',
+ 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
+ 'my' => 'resources/lib/moment/locale/my.js',
+ 'nb' => 'resources/lib/moment/locale/nb.js',
+ 'ne' => 'resources/lib/moment/locale/ne.js',
+ 'nl' => 'resources/lib/moment/locale/nl.js',
+ 'nn' => 'resources/lib/moment/locale/nn.js',
+ 'pl' => 'resources/lib/moment/locale/pl.js',
+ 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
+ 'pt' => 'resources/lib/moment/locale/pt.js',
+ 'ro' => 'resources/lib/moment/locale/ro.js',
+ 'ru' => 'resources/lib/moment/locale/ru.js',
+ 'sk' => 'resources/lib/moment/locale/sk.js',
+ 'sl' => 'resources/lib/moment/locale/sl.js',
+ 'sq' => 'resources/lib/moment/locale/sq.js',
+ 'sr' => 'resources/lib/moment/locale/sr.js',
+ 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
+ 'sv' => 'resources/lib/moment/locale/sv.js',
+ 'ta' => 'resources/lib/moment/locale/ta.js',
+ 'th' => 'resources/lib/moment/locale/th.js',
+ 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
+ 'tr' => 'resources/lib/moment/locale/tr.js',
+ 'tzm' => 'resources/lib/moment/locale/tzm.js',
+ 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
+ 'uk' => 'resources/lib/moment/locale/uk.js',
+ 'uz' => 'resources/lib/moment/locale/uz.js',
+ 'vi' => 'resources/lib/moment/locale/vi.js',
+ 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
+ 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
+ ),
+ ),
+
/* MediaWiki */
'mediawiki' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.js',
- 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
- 'debugRaw' => false,
+ 'scripts' => 'resources/src/mediawiki/mediawiki.js',
+ 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
+ 'raw' => true,
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.api' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
'dependencies' => 'mediawiki.util',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.api.category' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.category.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
'dependencies' => array(
'mediawiki.api',
'mediawiki.Title',
),
),
'mediawiki.api.edit' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.edit.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
'dependencies' => array(
'mediawiki.api',
'mediawiki.Title',
+ 'user.tokens',
),
),
'mediawiki.api.login' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.login.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
'dependencies' => array(
'mediawiki.api',
),
),
'mediawiki.api.parse' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.parse.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
'dependencies' => 'mediawiki.api',
),
'mediawiki.api.watch' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.watch.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
'dependencies' => array(
'mediawiki.api',
'user.tokens',
),
),
- 'mediawiki.icon' => array(
- 'styles' => 'resources/mediawiki/mediawiki.icon.css',
+ 'mediawiki.content.json' => array(
+ 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
),
'mediawiki.debug' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.debug.js',
- 'styles' => 'resources/mediawiki/mediawiki.debug.css',
- 'dependencies' => 'jquery.footHovzer',
+ 'scripts' => array(
+ 'resources/src/mediawiki/mediawiki.debug.js',
+ 'resources/src/mediawiki/mediawiki.debug.profile.js'
+ ),
+ 'styles' => array(
+ 'resources/src/mediawiki/mediawiki.debug.less',
+ 'resources/src/mediawiki/mediawiki.debug.profile.css'
+ ),
+ 'dependencies' => array(
+ 'jquery.footHovzer',
+ 'jquery.tipsy',
+ ),
'position' => 'bottom',
),
'mediawiki.debug.init' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.debug.init.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
'dependencies' => 'mediawiki.debug',
// Uses a custom mw.config variable that is set in debughtml,
// must be loaded on the bottom
'position' => 'bottom',
),
- 'mediawiki.inspect' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.inspect.js',
- 'dependencies' => array(
- 'jquery.byteLength',
- 'jquery.json',
- ),
- 'targets' => array( 'desktop', 'mobile' ),
- ),
'mediawiki.feedback' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.feedback.js',
- 'styles' => 'resources/mediawiki/mediawiki.feedback.css',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
+ 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
'dependencies' => array(
'mediawiki.api.edit',
'mediawiki.Title',
@@ -700,36 +867,66 @@ return array(
),
),
'mediawiki.hidpi' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.hidpi.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
'dependencies' => array(
'jquery.hidpi',
),
+ 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.hlist' => array(
+ 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
+ 'dependencies' => array(
+ 'jquery.client',
+ ),
+ ),
'mediawiki.htmlform' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
+ 'dependencies' => array(
+ 'jquery.mwExtension',
+ ),
'messages' => array( 'htmlform-chosen-placeholder' ),
),
+ 'mediawiki.icon' => array(
+ 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
+ ),
+ 'mediawiki.inspect' => array(
+ 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
+ 'dependencies' => array(
+ 'jquery.byteLength',
+ 'json',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
'mediawiki.notification' => array(
- 'styles' => 'resources/mediawiki/mediawiki.notification.css',
- 'scripts' => 'resources/mediawiki/mediawiki.notification.js',
+ 'styles' => array(
+ 'resources/src/mediawiki/mediawiki.notification.css',
+ 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
+ => array( 'media' => 'print' ),
+ ),
+ 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
'dependencies' => array(
'mediawiki.page.startup',
),
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.notify' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.notify.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.pager.tablePager' => array(
+ 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
+ 'position' => 'top',
+ ),
'mediawiki.searchSuggest' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.searchSuggest.js',
- 'styles' => 'resources/mediawiki/mediawiki.searchSuggest.css',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
+ 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
'messages' => array(
'searchsuggest-search',
'searchsuggest-containing',
),
'dependencies' => array(
- 'jquery.autoEllipsis',
'jquery.client',
'jquery.placeholder',
'jquery.suggestions',
@@ -737,62 +934,85 @@ return array(
),
),
'mediawiki.Title' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.Title.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
'dependencies' => array(
'jquery.byteLength',
'mediawiki.util',
),
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ 'mediawiki.toc' => array(
+ 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
+ 'dependencies' => array(
+ 'jquery.cookie',
+ ),
+ 'messages' => array( 'showtoc', 'hidetoc' ),
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.Uri' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.Uri.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
+ 'dependencies' => 'mediawiki.util',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.user' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.user.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
'dependencies' => array(
'jquery.cookie',
'mediawiki.api',
'user.options',
'user.tokens',
),
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.util' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.util.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
'dependencies' => array(
- 'jquery.client',
- 'jquery.cookie',
+ 'jquery.accessKeyLabel',
'jquery.mwExtension',
'mediawiki.notify',
),
- 'messages' => array( 'showtoc', 'hidetoc' ),
'position' => 'top', // For $wgPreloadJavaScriptMwUtil
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.cookie' => array(
+ 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
+ 'dependencies' => array(
+ 'jquery.cookie',
+ ),
+ ),
/* MediaWiki Action */
'mediawiki.action.edit' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
'dependencies' => array(
'mediawiki.action.edit.styles',
+ 'mediawiki.action.edit.toolbar',
'jquery.textSelection',
'jquery.byteLimit',
),
'position' => 'top',
),
'mediawiki.action.edit.styles' => array(
- 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.styles.css',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
'position' => 'top',
),
+ 'mediawiki.action.edit.toolbar' => array(
+ 'class' => 'ResourceLoaderEditToolbarModule',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.toolbar/mediawiki.action.edit.toolbar.less',
+ ),
'mediawiki.action.edit.collapsibleFooter' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
- 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
'dependencies' => array(
'jquery.makeCollapsible',
+ 'jquery.cookie',
'mediawiki.icon',
),
),
'mediawiki.action.edit.preview' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.preview.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
'dependencies' => array(
'jquery.form',
'jquery.spinner',
@@ -800,83 +1020,106 @@ return array(
),
),
'mediawiki.action.history' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
'group' => 'mediawiki.action.history',
),
'mediawiki.action.history.diff' => array(
- 'styles' => 'resources/mediawiki.action/mediawiki.action.history.diff.css',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
'group' => 'mediawiki.action.history',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.action.view.dblClickEdit' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
'dependencies' => array(
'mediawiki.util',
'mediawiki.page.startup',
),
),
'mediawiki.action.view.metadata' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.metadata.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
'messages' => array(
'metadata-expand',
'metadata-collapse',
),
),
'mediawiki.action.view.postEdit' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.js',
- 'styles' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.css',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
'dependencies' => array(
- 'jquery.cookie',
+ 'mediawiki.cookie',
'mediawiki.jqueryMsg'
),
'messages' => array(
- 'postedit-confirmation',
+ 'postedit-confirmation-created',
+ 'postedit-confirmation-restored',
+ 'postedit-confirmation-saved',
+ ),
+ ),
+ 'mediawiki.action.view.redirect' => array(
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
+ 'dependencies' => array(
+ 'jquery.client',
),
+ 'position' => 'top',
+ ),
+ 'mediawiki.action.view.redirectPage' => array(
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
+ 'position' => 'top',
),
'mediawiki.action.view.rightClickEdit' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
),
'mediawiki.action.edit.editWarning' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.editWarning.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
+ 'dependencies' => array(
+ 'jquery.textSelection',
+ 'mediawiki.jqueryMsg'
+ ),
'messages' => array(
'editwarning-warning',
+ 'prefs-editing'
),
),
- // Alias for backwards compatibility
- 'mediawiki.action.watch.ajax' => array(
- 'dependencies' => 'mediawiki.page.watch.ajax'
- ),
/* MediaWiki Language */
'mediawiki.language' => array(
'scripts' => array(
- 'resources/mediawiki.language/mediawiki.language.js',
- 'resources/mediawiki.language/mediawiki.language.numbers.js'
+ 'resources/src/mediawiki.language/mediawiki.language.js',
+ 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
+ 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
),
'languageScripts' => array(
- 'bs' => 'resources/mediawiki.language/languages/bs.js',
- 'dsb' => 'resources/mediawiki.language/languages/dsb.js',
- 'fi' => 'resources/mediawiki.language/languages/fi.js',
- 'ga' => 'resources/mediawiki.language/languages/ga.js',
- 'he' => 'resources/mediawiki.language/languages/he.js',
- 'hsb' => 'resources/mediawiki.language/languages/hsb.js',
- 'hu' => 'resources/mediawiki.language/languages/hu.js',
- 'hy' => 'resources/mediawiki.language/languages/hy.js',
- 'la' => 'resources/mediawiki.language/languages/la.js',
- 'os' => 'resources/mediawiki.language/languages/os.js',
- 'ru' => 'resources/mediawiki.language/languages/ru.js',
- 'sl' => 'resources/mediawiki.language/languages/sl.js',
- 'uk' => 'resources/mediawiki.language/languages/uk.js',
+ 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
+ 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
+ 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
+ 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
+ 'he' => 'resources/src/mediawiki.language/languages/he.js',
+ 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
+ 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
+ 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
+ 'la' => 'resources/src/mediawiki.language/languages/la.js',
+ 'os' => 'resources/src/mediawiki.language/languages/os.js',
+ 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
+ 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
+ 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
),
'dependencies' => array(
'mediawiki.language.data',
'mediawiki.cldr',
),
'targets' => array( 'desktop', 'mobile' ),
+ 'messages' => array(
+ 'and',
+ 'comma-separator',
+ 'word-separator'
+ ),
),
'mediawiki.cldr' => array(
- 'scripts' => 'resources/mediawiki.language/mediawiki.cldr.js',
+ 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
'dependencies' => array(
'mediawiki.libs.pluralruleparser',
),
@@ -884,17 +1127,17 @@ return array(
),
'mediawiki.libs.pluralruleparser' => array(
- 'scripts' => 'resources/mediawiki.libs/CLDRPluralRuleParser.js',
+ 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.language.init' => array(
- 'scripts' => 'resources/mediawiki.language/mediawiki.language.init.js',
+ 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.jqueryMsg' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.jqueryMsg.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
'dependencies' => array(
'mediawiki.util',
'mediawiki.language',
@@ -903,7 +1146,7 @@ return array(
),
'mediawiki.language.months' => array(
- 'scripts' => 'resources/mediawiki.language/mediawiki.language.months.js',
+ 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
'dependencies' => 'mediawiki.language',
'messages' => array_merge(
Language::$mMonthMsgs,
@@ -912,39 +1155,40 @@ return array(
)
),
+ 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
+
/* MediaWiki Libs */
'mediawiki.libs.jpegmeta' => array(
- 'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
+ 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
),
/* MediaWiki Page */
'mediawiki.page.gallery' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.gallery.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
),
'mediawiki.page.ready' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.ready.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
'dependencies' => array(
+ 'jquery.accessKeyLabel',
'jquery.checkboxShiftClick',
'jquery.makeCollapsible',
'jquery.placeholder',
'jquery.mw-jump',
- 'mediawiki.util',
),
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.page.startup' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.startup.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
'dependencies' => array(
- 'jquery.client',
'mediawiki.util',
),
'position' => 'top',
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.page.patrol.ajax' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.patrol.ajax.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
'dependencies' => array(
'mediawiki.page.startup',
'mediawiki.api',
@@ -961,12 +1205,13 @@ return array(
),
),
'mediawiki.page.watch.ajax' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.watch.ajax.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
'dependencies' => array(
- 'mediawiki.page.startup',
'mediawiki.api.watch',
- 'mediawiki.util',
'mediawiki.notify',
+ 'mediawiki.page.startup',
+ 'mediawiki.util',
+ 'jquery.accessKeyLabel',
'jquery.mwExtension',
),
'messages' => array(
@@ -980,29 +1225,30 @@ return array(
),
),
'mediawiki.page.image.pagination' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.image.pagination.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
'dependencies' => array(
'mediawiki.Uri',
'mediawiki.util',
'jquery.spinner',
- )
+ ),
),
/* MediaWiki Special pages */
'mediawiki.special' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.js',
- 'styles' => 'resources/mediawiki.special/mediawiki.special.css',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
),
'mediawiki.special.block' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
'dependencies' => array(
'mediawiki.util',
),
),
'mediawiki.special.changeemail' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js',
- 'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
'dependencies' => array(
'mediawiki.util',
),
@@ -1012,31 +1258,55 @@ return array(
),
),
'mediawiki.special.changeslist' => array(
- 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
+ ),
+ 'mediawiki.special.changeslist.legend' => array(
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
+ ),
+ 'mediawiki.special.changeslist.legend.js' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
+ 'dependencies' => array(
+ 'jquery.makeCollapsible',
+ 'jquery.cookie',
+ ),
),
'mediawiki.special.changeslist.enhanced' => array(
- 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
+ ),
+ 'mediawiki.special.import' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
),
'mediawiki.special.movePage' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
'dependencies' => 'jquery.byteLimit',
),
+ 'mediawiki.special.pageLanguage' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
+ ),
'mediawiki.special.pagesWithProp' => array(
- 'styles' => 'resources/mediawiki.special/mediawiki.special.pagesWithProp.css',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
),
'mediawiki.special.preferences' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js',
- 'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
'position' => 'top',
+ 'messages' => array(
+ 'prefs-tabs-navigation-hint',
+ 'prefswarning-warning',
+ 'saveprefs',
+ ),
+ 'dependencies' => array(
+ 'mediawiki.language',
+ ),
),
'mediawiki.special.recentchanges' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
'dependencies' => array( 'mediawiki.special' ),
'position' => 'top',
),
'mediawiki.special.search' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js',
- 'styles' => 'resources/mediawiki.special/mediawiki.special.search.css',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
'messages' => array(
'powersearch-togglelabel',
'powersearch-toggleall',
@@ -1044,11 +1314,10 @@ return array(
),
),
'mediawiki.special.undelete' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
),
'mediawiki.special.upload' => array(
- // @todo merge in remainder of mediawiki.legacy.upload
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.upload.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
'messages' => array(
'widthheight',
'size-bytes',
@@ -1058,35 +1327,76 @@ return array(
'largefileserver',
),
'dependencies' => array(
+ 'jquery.spinner',
+ 'mediawiki.api',
'mediawiki.libs.jpegmeta',
+ 'mediawiki.Title',
'mediawiki.util',
),
),
- 'mediawiki.special.userlogin' => array(
+ 'mediawiki.special.userlogin.common.styles' => array(
+ 'styles' => array(
+ 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
+ ),
+ 'position' => 'top',
+ ),
+ 'mediawiki.special.userlogin.signup.styles' => array(
'styles' => array(
- 'resources/mediawiki.special/mediawiki.special.vforms.css',
- 'resources/mediawiki.special/mediawiki.special.userLogin.css',
+ 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
),
'position' => 'top',
),
- 'mediawiki.special.createaccount' => array(
+ 'mediawiki.special.userlogin.login.styles' => array(
'styles' => array(
- 'resources/mediawiki.special/mediawiki.special.vforms.css',
- 'resources/mediawiki.special/mediawiki.special.createAccount.css',
+ 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
),
+ 'position' => 'top',
),
- 'mediawiki.special.createaccount.js' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.createAccount.js',
+ 'mediawiki.special.userlogin.common.js' => array(
+ 'scripts' => array(
+ 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
+ ),
'messages' => array(
'createacct-captcha',
+ 'createacct-imgcaptcha-ph',
+ ),
+ ),
+ 'mediawiki.special.userlogin.signup.js' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
+ 'messages' => array(
+ 'createacct-error',
'createacct-emailrequired',
- 'createacct-imgcaptcha-ph'
+ 'noname',
+ 'userexists',
+ ),
+ 'dependencies' => array(
+ 'mediawiki.api',
+ 'mediawiki.jqueryMsg',
+ 'jquery.throttle-debounce',
+ ),
+ ),
+ 'mediawiki.special.unwatchedPages' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
+ 'messages' => array(
+ 'addedwatchtext-short',
+ 'removedwatchtext-short',
+ 'unwatch',
+ 'unwatching',
+ 'watch',
+ 'watcherrortext',
+ 'watching',
+ ),
+ 'dependencies' => array(
+ 'mediawiki.api',
+ 'mediawiki.api.watch',
+ 'mediawiki.notify',
+ 'mediawiki.Title',
+ 'mediawiki.util',
),
- 'dependencies' => 'mediawiki.jqueryMsg',
- 'position' => 'top',
),
'mediawiki.special.javaScriptTest' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
'messages' => array_merge( Skin::getSkinNameMessages(), array(
'colon-separator',
'javascripttest-pagetext-skins',
@@ -1095,92 +1405,162 @@ return array(
'position' => 'top',
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.special.version' => array(
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
+ ),
- /* MediaWiki Tests */
+ /* MediaWiki Installer */
- 'mediawiki.tests.qunit.testrunner' => array(
- 'scripts' => 'tests/qunit/data/testrunner.js',
- 'dependencies' => array(
- 'jquery.getAttrs',
- 'jquery.qunit',
- 'jquery.qunit.completenessTest',
- 'mediawiki.page.startup',
- 'mediawiki.page.ready',
- ),
- 'position' => 'top',
- 'targets' => array( 'desktop', 'mobile' ),
+ 'mediawiki.legacy.config' => array(
+ // Used in the web installer. Test it after modifying this definition!
+ // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
+ 'scripts' => 'mw-config/config.js',
+ 'styles' => 'mw-config/config.css',
),
/* MediaWiki Legacy */
'mediawiki.legacy.ajax' => array(
- 'scripts' => 'common/ajax.js',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'scripts' => 'resources/src/mediawiki.legacy/ajax.js',
'dependencies' => array(
'mediawiki.util',
'mediawiki.legacy.wikibits',
),
- 'position' => 'top', // Temporary hack for legacy support
+ 'position' => 'top',
),
'mediawiki.legacy.commonPrint' => array(
- 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'mediawiki.legacy.config' => array(
- // Used in the web installer. Test it after modifying this definition!
- 'scripts' => 'common/config.js',
- 'styles' => array( 'common/config.css' ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- 'dependencies' => 'mediawiki.legacy.wikibits',
+ 'styles' => array(
+ 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
+ ),
),
'mediawiki.legacy.protect' => array(
- 'scripts' => 'common/protect.js',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
'dependencies' => array(
'jquery.byteLimit',
),
- 'position' => 'top',
+ 'messages' => array( 'protect-unchain-permissions' )
),
'mediawiki.legacy.shared' => array(
// Used in the web installer. Test it after modifying this definition!
- 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'styles' => array(
+ 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
+ ),
),
'mediawiki.legacy.oldshared' => array(
- 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'mediawiki.legacy.upload' => array(
- 'scripts' => 'common/upload.js',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- 'dependencies' => array(
- 'jquery.spinner',
- 'mediawiki.api',
- 'mediawiki.Title',
- 'mediawiki.util',
+ 'styles' => array(
+ 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
),
),
'mediawiki.legacy.wikibits' => array(
- 'scripts' => 'common/wikibits.js',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
'dependencies' => array(
'mediawiki.util',
),
'position' => 'top',
),
+
+ /* MediaWiki UI */
+
'mediawiki.ui' => array(
'skinStyles' => array(
- 'default' => 'resources/mediawiki.ui/mediawiki.ui.default.css',
- 'vector' => 'resources/mediawiki.ui/mediawiki.ui.vector.css',
+ 'default' => array(
+ 'resources/src/mediawiki.ui/default.less',
+ ),
),
'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ 'mediawiki.ui.checkbox' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.ui/components/checkbox.less',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ // Lightweight module for anchor styles
+ 'mediawiki.ui.anchor' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.ui/components/anchors.less',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ // Lightweight module for button styles
+ 'mediawiki.ui.button' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.ui/components/buttons.less',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ 'mediawiki.ui.input' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.ui/components/inputs.less',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+
+ /* es5-shim */
+ 'es5-shim' => array(
+ 'scripts' => array(
+ 'resources/lib/es5-shim/es5-shim.js',
+ 'resources/src/polyfill-object-create.js',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
+ 'skipFunction' => 'resources/src/es5-skip.js',
+ ),
+
+ /* OOjs */
+ 'oojs' => array(
+ 'scripts' => array(
+ 'resources/lib/oojs/oojs.jquery.js',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
+ 'dependencies' => array(
+ 'es5-shim',
+ 'json',
+ ),
+ ),
+
+ /* OOjs UI */
+ // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
+ // if loaded in browsers that don't support ES5
+ 'oojs-ui' => array(
+ 'scripts' => array(
+ 'resources/lib/oojs-ui/oojs-ui.js',
+ ),
+ 'styles' => array(
+ 'resources/lib/oojs-ui/oojs-ui.svg.css',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.css',
+ // FIXME As of July 2014, this is to be gone "in a couple of months".
+ 'minerva' => 'resources/lib/oojs-ui/oojs-ui-minerva.css',
+ ),
+ 'messages' => array(
+ 'ooui-outline-control-move-down',
+ 'ooui-outline-control-move-up',
+ 'ooui-outline-control-remove',
+ 'ooui-toolbar-more',
+ 'ooui-dialog-message-accept',
+ 'ooui-dialog-message-reject',
+ 'ooui-dialog-process-dismiss',
+ 'ooui-dialog-process-error',
+ 'ooui-dialog-process-retry',
+ ),
+ 'dependencies' => array(
+ 'es5-shim',
+ 'oojs',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
),
);
diff --git a/resources/assets/file-type-icons/COPYING b/resources/assets/file-type-icons/COPYING
new file mode 100644
index 00000000..136530a9
--- /dev/null
+++ b/resources/assets/file-type-icons/COPYING
@@ -0,0 +1,43 @@
+The icons used here are derived from the crystalsvg icons in the the
+pics/crystalsvg/ directory of kdelibs-3.4.0 they were modified on 2005-05-15
+by Ævar Arnfjörð Bjarmason for use in MediaWiki.
+
+What follows is the contents of the LICENSE.crystalsvg file found in the pics/
+subdirectory of kdelibs-3.4.0:
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+This copyright and license notice covers all CrystalSVG images.
+Note the license notice contains an add-on.
+********************************************************************************
+KDE Crystal theme icons.
+Copyright (C) 2002 and following years KDE Artists
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation,
+version 2.1 of the License.
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ **** NOTE THIS ADD-ON ****
+The GNU Lesser General Public License or LGPL is written for software libraries
+in the first place. We expressly want the LGPL to be valid for this artwork
+library too.
+KDE Crystal theme icons is a special kind of software library, it is an
+artwork library, it's elements can be used in a Graphical User Interface, or
+GUI.
+Source code, for this library means:
+ - for vectors svg;
+ - for pixels, if applicable, the multi-layered formats xcf or psd, or
+otherwise png.
+The LGPL in some sections obliges you to make the files carry
+notices. With images this is in some cases impossible or hardly useful.
+With this library a notice is placed at a prominent place in the directory
+containing the elements. You may follow this practice.
+The exception in section 6 of the GNU Lesser General Public License covers
+the use of elements of this art library in a GUI.
+kde-artists [at] kde.org
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
diff --git a/resources/assets/file-type-icons/fileicon-c.png b/resources/assets/file-type-icons/fileicon-c.png
new file mode 100644
index 00000000..0d603b70
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-c.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-cpp.png b/resources/assets/file-type-icons/fileicon-cpp.png
new file mode 100644
index 00000000..123688f0
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-cpp.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-deb.png b/resources/assets/file-type-icons/fileicon-deb.png
new file mode 100644
index 00000000..87ca3fab
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-deb.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-djvu.png b/resources/assets/file-type-icons/fileicon-djvu.png
new file mode 100644
index 00000000..1da22761
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-djvu.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-dvi.png b/resources/assets/file-type-icons/fileicon-dvi.png
new file mode 100644
index 00000000..f37878d8
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-dvi.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-exe.png b/resources/assets/file-type-icons/fileicon-exe.png
new file mode 100644
index 00000000..dc020eb8
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-exe.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-h.png b/resources/assets/file-type-icons/fileicon-h.png
new file mode 100644
index 00000000..339bf025
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-h.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-html.png b/resources/assets/file-type-icons/fileicon-html.png
new file mode 100644
index 00000000..f28f8a26
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-html.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-iso.png b/resources/assets/file-type-icons/fileicon-iso.png
new file mode 100644
index 00000000..c73d2294
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-iso.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-java.png b/resources/assets/file-type-icons/fileicon-java.png
new file mode 100644
index 00000000..a1b4f225
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-java.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-mid.png b/resources/assets/file-type-icons/fileicon-mid.png
new file mode 100644
index 00000000..ce2bebb2
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-mid.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-mov.png b/resources/assets/file-type-icons/fileicon-mov.png
new file mode 100644
index 00000000..952de1f2
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-mov.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-o.png b/resources/assets/file-type-icons/fileicon-o.png
new file mode 100644
index 00000000..f3523d96
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-o.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-ogg.png b/resources/assets/file-type-icons/fileicon-ogg.png
new file mode 100644
index 00000000..ef4d8016
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-ogg.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-pdf.png b/resources/assets/file-type-icons/fileicon-pdf.png
new file mode 100644
index 00000000..8c8da92b
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-pdf.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-ps.png b/resources/assets/file-type-icons/fileicon-ps.png
new file mode 100644
index 00000000..e8728331
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-ps.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-psd.png b/resources/assets/file-type-icons/fileicon-psd.png
new file mode 100644
index 00000000..598f190e
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-psd.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-rm.png b/resources/assets/file-type-icons/fileicon-rm.png
new file mode 100644
index 00000000..81dbe0b7
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-rm.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-rpm.png b/resources/assets/file-type-icons/fileicon-rpm.png
new file mode 100644
index 00000000..1903aacc
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-rpm.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-svg.png b/resources/assets/file-type-icons/fileicon-svg.png
new file mode 100644
index 00000000..b782113a
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-svg.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-tar.png b/resources/assets/file-type-icons/fileicon-tar.png
new file mode 100644
index 00000000..e5fd1b74
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-tar.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-tex.png b/resources/assets/file-type-icons/fileicon-tex.png
new file mode 100644
index 00000000..a4372841
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-tex.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-ttf.png b/resources/assets/file-type-icons/fileicon-ttf.png
new file mode 100644
index 00000000..1ed4e740
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-ttf.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-txt.png b/resources/assets/file-type-icons/fileicon-txt.png
new file mode 100644
index 00000000..9e988e71
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-txt.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon-xcf.png b/resources/assets/file-type-icons/fileicon-xcf.png
new file mode 100644
index 00000000..1037b506
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon-xcf.png
Binary files differ
diff --git a/resources/assets/file-type-icons/fileicon.png b/resources/assets/file-type-icons/fileicon.png
new file mode 100644
index 00000000..59696a38
--- /dev/null
+++ b/resources/assets/file-type-icons/fileicon.png
Binary files differ
diff --git a/resources/assets/licenses/cc-0.png b/resources/assets/licenses/cc-0.png
new file mode 100644
index 00000000..9d3fe5f8
--- /dev/null
+++ b/resources/assets/licenses/cc-0.png
Binary files differ
diff --git a/resources/assets/licenses/cc-by-nc-sa.png b/resources/assets/licenses/cc-by-nc-sa.png
new file mode 100644
index 00000000..0d24a713
--- /dev/null
+++ b/resources/assets/licenses/cc-by-nc-sa.png
Binary files differ
diff --git a/resources/assets/licenses/cc-by-sa.png b/resources/assets/licenses/cc-by-sa.png
new file mode 100644
index 00000000..518fb647
--- /dev/null
+++ b/resources/assets/licenses/cc-by-sa.png
Binary files differ
diff --git a/resources/assets/licenses/cc-by.png b/resources/assets/licenses/cc-by.png
new file mode 100644
index 00000000..9cca2f92
--- /dev/null
+++ b/resources/assets/licenses/cc-by.png
Binary files differ
diff --git a/resources/assets/licenses/gnu-fdl.png b/resources/assets/licenses/gnu-fdl.png
new file mode 100644
index 00000000..3feaf57f
--- /dev/null
+++ b/resources/assets/licenses/gnu-fdl.png
Binary files differ
diff --git a/resources/assets/licenses/public-domain.png b/resources/assets/licenses/public-domain.png
new file mode 100644
index 00000000..ebf01072
--- /dev/null
+++ b/resources/assets/licenses/public-domain.png
Binary files differ
diff --git a/resources/assets/mediawiki.png b/resources/assets/mediawiki.png
new file mode 100644
index 00000000..8c421183
--- /dev/null
+++ b/resources/assets/mediawiki.png
Binary files differ
diff --git a/resources/assets/poweredby_mediawiki_88x31.png b/resources/assets/poweredby_mediawiki_88x31.png
new file mode 100644
index 00000000..30e1d2ea
--- /dev/null
+++ b/resources/assets/poweredby_mediawiki_88x31.png
Binary files differ
diff --git a/resources/assets/wiki.png b/resources/assets/wiki.png
new file mode 100644
index 00000000..48595b00
--- /dev/null
+++ b/resources/assets/wiki.png
Binary files differ
diff --git a/resources/jquery.effects/jquery.effects.blind.js b/resources/jquery.effects/jquery.effects.blind.js
deleted file mode 100644
index ac25bbd8..00000000
--- a/resources/jquery.effects/jquery.effects.blind.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*!
- * jQuery UI Effects Blind 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Blind
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.blind = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this), props = ['position','top','bottom','left','right'];
-
- // Set options
- var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
- var direction = o.options.direction || 'vertical'; // Default direction
-
- // Adjust
- $.effects.save(el, props); el.show(); // Save & Show
- var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
- var ref = (direction == 'vertical') ? 'height' : 'width';
- var distance = (direction == 'vertical') ? wrapper.height() : wrapper.width();
- if(mode == 'show') wrapper.css(ref, 0); // Shift
-
- // Animation
- var animation = {};
- animation[ref] = mode == 'show' ? distance : 0;
-
- // Animate
- wrapper.animate(animation, o.duration, o.options.easing, function() {
- if(mode == 'hide') el.hide(); // Hide
- $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(el[0], arguments); // Callback
- el.dequeue();
- });
-
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.bounce.js b/resources/jquery.effects/jquery.effects.bounce.js
deleted file mode 100644
index 1169d770..00000000
--- a/resources/jquery.effects/jquery.effects.bounce.js
+++ /dev/null
@@ -1,78 +0,0 @@
-/*!
- * jQuery UI Effects Bounce 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Bounce
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.bounce = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this), props = ['position','top','bottom','left','right'];
-
- // Set options
- var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
- var direction = o.options.direction || 'up'; // Default direction
- var distance = o.options.distance || 20; // Default distance
- var times = o.options.times || 5; // Default # of times
- var speed = o.duration || 250; // Default speed per bounce
- if (/show|hide/.test(mode)) props.push('opacity'); // Avoid touching opacity to prevent clearType and PNG issues in IE
-
- // Adjust
- $.effects.save(el, props); el.show(); // Save & Show
- $.effects.createWrapper(el); // Create Wrapper
- var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
- var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
- var distance = o.options.distance || (ref == 'top' ? el.outerHeight(true) / 3 : el.outerWidth(true) / 3);
- if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
- if (mode == 'hide') distance = distance / (times * 2);
- if (mode != 'hide') times--;
-
- // Animate
- if (mode == 'show') { // Show Bounce
- var animation = {opacity: 1};
- animation[ref] = (motion == 'pos' ? '+=' : '-=') + distance;
- el.animate(animation, speed / 2, o.options.easing);
- distance = distance / 2;
- times--;
- };
- for (var i = 0; i < times; i++) { // Bounces
- var animation1 = {}, animation2 = {};
- animation1[ref] = (motion == 'pos' ? '-=' : '+=') + distance;
- animation2[ref] = (motion == 'pos' ? '+=' : '-=') + distance;
- el.animate(animation1, speed / 2, o.options.easing).animate(animation2, speed / 2, o.options.easing);
- distance = (mode == 'hide') ? distance * 2 : distance / 2;
- };
- if (mode == 'hide') { // Last Bounce
- var animation = {opacity: 0};
- animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance;
- el.animate(animation, speed / 2, o.options.easing, function(){
- el.hide(); // Hide
- $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(this, arguments); // Callback
- });
- } else {
- var animation1 = {}, animation2 = {};
- animation1[ref] = (motion == 'pos' ? '-=' : '+=') + distance;
- animation2[ref] = (motion == 'pos' ? '+=' : '-=') + distance;
- el.animate(animation1, speed / 2, o.options.easing).animate(animation2, speed / 2, o.options.easing, function(){
- $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(this, arguments); // Callback
- });
- };
- el.queue('fx', function() { el.dequeue(); });
- el.dequeue();
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.clip.js b/resources/jquery.effects/jquery.effects.clip.js
deleted file mode 100644
index edd51a6a..00000000
--- a/resources/jquery.effects/jquery.effects.clip.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*!
- * jQuery UI Effects Clip 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Clip
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.clip = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this), props = ['position','top','bottom','left','right','height','width'];
-
- // Set options
- var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
- var direction = o.options.direction || 'vertical'; // Default direction
-
- // Adjust
- $.effects.save(el, props); el.show(); // Save & Show
- var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
- var animate = el[0].tagName == 'IMG' ? wrapper : el;
- var ref = {
- size: (direction == 'vertical') ? 'height' : 'width',
- position: (direction == 'vertical') ? 'top' : 'left'
- };
- var distance = (direction == 'vertical') ? animate.height() : animate.width();
- if(mode == 'show') { animate.css(ref.size, 0); animate.css(ref.position, distance / 2); } // Shift
-
- // Animation
- var animation = {};
- animation[ref.size] = mode == 'show' ? distance : 0;
- animation[ref.position] = mode == 'show' ? 0 : distance / 2;
-
- // Animate
- animate.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
- if(mode == 'hide') el.hide(); // Hide
- $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(el[0], arguments); // Callback
- el.dequeue();
- }});
-
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.core.js b/resources/jquery.effects/jquery.effects.core.js
deleted file mode 100644
index 7fd946fd..00000000
--- a/resources/jquery.effects/jquery.effects.core.js
+++ /dev/null
@@ -1,612 +0,0 @@
-/*!
- * jQuery UI Effects 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/
- */
-;jQuery.effects || (function($, undefined) {
-
-$.effects = {};
-
-
-
-/******************************************************************************/
-/****************************** COLOR ANIMATIONS ******************************/
-/******************************************************************************/
-
-// override the animation for color styles
-$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor',
- 'borderRightColor', 'borderTopColor', 'borderColor', 'color', 'outlineColor'],
-function(i, attr) {
- $.fx.step[attr] = function(fx) {
- if (!fx.colorInit) {
- fx.start = getColor(fx.elem, attr);
- fx.end = getRGB(fx.end);
- fx.colorInit = true;
- }
-
- fx.elem.style[attr] = 'rgb(' +
- Math.max(Math.min(parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0], 10), 255), 0) + ',' +
- Math.max(Math.min(parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1], 10), 255), 0) + ',' +
- Math.max(Math.min(parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2], 10), 255), 0) + ')';
- };
-});
-
-// Color Conversion functions from highlightFade
-// By Blair Mitchelmore
-// http://jquery.offput.ca/highlightFade/
-
-// Parse strings looking for color tuples [255,255,255]
-function getRGB(color) {
- var result;
-
- // Check if we're already dealing with an array of colors
- if ( color && color.constructor == Array && color.length == 3 )
- return color;
-
- // Look for rgb(num,num,num)
- if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
- return [parseInt(result[1],10), parseInt(result[2],10), parseInt(result[3],10)];
-
- // Look for rgb(num%,num%,num%)
- if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
- return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];
-
- // Look for #a0b1c2
- if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
- return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];
-
- // Look for #fff
- if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
- return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];
-
- // Look for rgba(0, 0, 0, 0) == transparent in Safari 3
- if (result = /rgba\(0, 0, 0, 0\)/.exec(color))
- return colors['transparent'];
-
- // Otherwise, we're most likely dealing with a named color
- return colors[$.trim(color).toLowerCase()];
-}
-
-function getColor(elem, attr) {
- var color;
-
- do {
- // jQuery <1.4.3 uses curCSS, in 1.4.3 - 1.7.2 curCSS = css, 1.8+ only has css
- color = ($.curCSS || $.css)(elem, attr);
-
- // Keep going until we find an element that has color, or we hit the body
- if ( color != '' && color != 'transparent' || $.nodeName(elem, "body") )
- break;
-
- attr = "backgroundColor";
- } while ( elem = elem.parentNode );
-
- return getRGB(color);
-};
-
-// Some named colors to work with
-// From Interface by Stefan Petre
-// http://interface.eyecon.ro/
-
-var colors = {
- aqua:[0,255,255],
- azure:[240,255,255],
- beige:[245,245,220],
- black:[0,0,0],
- blue:[0,0,255],
- brown:[165,42,42],
- cyan:[0,255,255],
- darkblue:[0,0,139],
- darkcyan:[0,139,139],
- darkgrey:[169,169,169],
- darkgreen:[0,100,0],
- darkkhaki:[189,183,107],
- darkmagenta:[139,0,139],
- darkolivegreen:[85,107,47],
- darkorange:[255,140,0],
- darkorchid:[153,50,204],
- darkred:[139,0,0],
- darksalmon:[233,150,122],
- darkviolet:[148,0,211],
- fuchsia:[255,0,255],
- gold:[255,215,0],
- green:[0,128,0],
- indigo:[75,0,130],
- khaki:[240,230,140],
- lightblue:[173,216,230],
- lightcyan:[224,255,255],
- lightgreen:[144,238,144],
- lightgrey:[211,211,211],
- lightpink:[255,182,193],
- lightyellow:[255,255,224],
- lime:[0,255,0],
- magenta:[255,0,255],
- maroon:[128,0,0],
- navy:[0,0,128],
- olive:[128,128,0],
- orange:[255,165,0],
- pink:[255,192,203],
- purple:[128,0,128],
- violet:[128,0,128],
- red:[255,0,0],
- silver:[192,192,192],
- white:[255,255,255],
- yellow:[255,255,0],
- transparent: [255,255,255]
-};
-
-
-
-/******************************************************************************/
-/****************************** CLASS ANIMATIONS ******************************/
-/******************************************************************************/
-
-var classAnimationActions = ['add', 'remove', 'toggle'],
- shorthandStyles = {
- border: 1,
- borderBottom: 1,
- borderColor: 1,
- borderLeft: 1,
- borderRight: 1,
- borderTop: 1,
- borderWidth: 1,
- margin: 1,
- padding: 1
- };
-
-function getElementStyles() {
- var style = document.defaultView
- ? document.defaultView.getComputedStyle(this, null)
- : this.currentStyle,
- newStyle = {},
- key,
- camelCase;
-
- // webkit enumerates style porperties
- if (style && style.length && style[0] && style[style[0]]) {
- var len = style.length;
- while (len--) {
- key = style[len];
- if (typeof style[key] == 'string') {
- camelCase = key.replace(/\-(\w)/g, function(all, letter){
- return letter.toUpperCase();
- });
- newStyle[camelCase] = style[key];
- }
- }
- } else {
- for (key in style) {
- if (typeof style[key] === 'string') {
- newStyle[key] = style[key];
- }
- }
- }
-
- return newStyle;
-}
-
-function filterStyles(styles) {
- var name, value;
- for (name in styles) {
- value = styles[name];
- if (
- // ignore null and undefined values
- value == null ||
- // ignore functions (when does this occur?)
- $.isFunction(value) ||
- // shorthand styles that need to be expanded
- name in shorthandStyles ||
- // ignore scrollbars (break in IE)
- (/scrollbar/).test(name) ||
-
- // only colors or values that can be converted to numbers
- (!(/color/i).test(name) && isNaN(parseFloat(value)))
- ) {
- delete styles[name];
- }
- }
-
- return styles;
-}
-
-function styleDifference(oldStyle, newStyle) {
- var diff = { _: 0 }, // http://dev.jquery.com/ticket/5459
- name;
-
- for (name in newStyle) {
- if (oldStyle[name] != newStyle[name]) {
- diff[name] = newStyle[name];
- }
- }
-
- return diff;
-}
-
-$.effects.animateClass = function(value, duration, easing, callback) {
- if ($.isFunction(easing)) {
- callback = easing;
- easing = null;
- }
-
- return this.queue(function() {
- var that = $(this),
- originalStyleAttr = that.attr('style') || ' ',
- originalStyle = filterStyles(getElementStyles.call(this)),
- newStyle,
- className = that.attr('class') || "";
-
- $.each(classAnimationActions, function(i, action) {
- if (value[action]) {
- that[action + 'Class'](value[action]);
- }
- });
- newStyle = filterStyles(getElementStyles.call(this));
- that.attr('class', className);
-
- that.animate(styleDifference(originalStyle, newStyle), {
- queue: false,
- duration: duration,
- easing: easing,
- complete: function() {
- $.each(classAnimationActions, function(i, action) {
- if (value[action]) { that[action + 'Class'](value[action]); }
- });
- // work around bug in IE by clearing the cssText before setting it
- if (typeof that.attr('style') == 'object') {
- that.attr('style').cssText = '';
- that.attr('style').cssText = originalStyleAttr;
- } else {
- that.attr('style', originalStyleAttr);
- }
- if (callback) { callback.apply(this, arguments); }
- $.dequeue( this );
- }
- });
- });
-};
-
-$.fn.extend({
- _addClass: $.fn.addClass,
- addClass: function(classNames, speed, easing, callback) {
- return speed ? $.effects.animateClass.apply(this, [{ add: classNames },speed,easing,callback]) : this._addClass(classNames);
- },
-
- _removeClass: $.fn.removeClass,
- removeClass: function(classNames,speed,easing,callback) {
- return speed ? $.effects.animateClass.apply(this, [{ remove: classNames },speed,easing,callback]) : this._removeClass(classNames);
- },
-
- _toggleClass: $.fn.toggleClass,
- toggleClass: function(classNames, force, speed, easing, callback) {
- if ( typeof force == "boolean" || force === undefined ) {
- if ( !speed ) {
- // without speed parameter;
- return this._toggleClass(classNames, force);
- } else {
- return $.effects.animateClass.apply(this, [(force?{add:classNames}:{remove:classNames}),speed,easing,callback]);
- }
- } else {
- // without switch parameter;
- return $.effects.animateClass.apply(this, [{ toggle: classNames },force,speed,easing]);
- }
- },
-
- switchClass: function(remove,add,speed,easing,callback) {
- return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]);
- }
-});
-
-
-
-/******************************************************************************/
-/*********************************** EFFECTS **********************************/
-/******************************************************************************/
-
-$.extend($.effects, {
- version: "1.8.24",
-
- // Saves a set of properties in a data storage
- save: function(element, set) {
- for(var i=0; i < set.length; i++) {
- if(set[i] !== null) element.data("ec.storage."+set[i], element[0].style[set[i]]);
- }
- },
-
- // Restores a set of previously saved properties from a data storage
- restore: function(element, set) {
- for(var i=0; i < set.length; i++) {
- if(set[i] !== null) element.css(set[i], element.data("ec.storage."+set[i]));
- }
- },
-
- setMode: function(el, mode) {
- if (mode == 'toggle') mode = el.is(':hidden') ? 'show' : 'hide'; // Set for toggle
- return mode;
- },
-
- getBaseline: function(origin, original) { // Translates a [top,left] array into a baseline value
- // this should be a little more flexible in the future to handle a string & hash
- var y, x;
- switch (origin[0]) {
- case 'top': y = 0; break;
- case 'middle': y = 0.5; break;
- case 'bottom': y = 1; break;
- default: y = origin[0] / original.height;
- };
- switch (origin[1]) {
- case 'left': x = 0; break;
- case 'center': x = 0.5; break;
- case 'right': x = 1; break;
- default: x = origin[1] / original.width;
- };
- return {x: x, y: y};
- },
-
- // Wraps the element around a wrapper that copies position properties
- createWrapper: function(element) {
-
- // if the element is already wrapped, return it
- if (element.parent().is('.ui-effects-wrapper')) {
- return element.parent();
- }
-
- // wrap the element
- var props = {
- width: element.outerWidth(true),
- height: element.outerHeight(true),
- 'float': element.css('float')
- },
- wrapper = $('<div></div>')
- .addClass('ui-effects-wrapper')
- .css({
- fontSize: '100%',
- background: 'transparent',
- border: 'none',
- margin: 0,
- padding: 0
- }),
- active = document.activeElement;
-
- // support: Firefox
- // Firefox incorrectly exposes anonymous content
- // https://bugzilla.mozilla.org/show_bug.cgi?id=561664
- try {
- active.id;
- } catch( e ) {
- active = document.body;
- }
-
- element.wrap( wrapper );
-
- // Fixes #7595 - Elements lose focus when wrapped.
- if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {
- $( active ).focus();
- }
-
- wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually loose the reference to the wrapped element
-
- // transfer positioning properties to the wrapper
- if (element.css('position') == 'static') {
- wrapper.css({ position: 'relative' });
- element.css({ position: 'relative' });
- } else {
- $.extend(props, {
- position: element.css('position'),
- zIndex: element.css('z-index')
- });
- $.each(['top', 'left', 'bottom', 'right'], function(i, pos) {
- props[pos] = element.css(pos);
- if (isNaN(parseInt(props[pos], 10))) {
- props[pos] = 'auto';
- }
- });
- element.css({position: 'relative', top: 0, left: 0, right: 'auto', bottom: 'auto' });
- }
-
- return wrapper.css(props).show();
- },
-
- removeWrapper: function(element) {
- var parent,
- active = document.activeElement;
-
- if (element.parent().is('.ui-effects-wrapper')) {
- parent = element.parent().replaceWith(element);
- // Fixes #7595 - Elements lose focus when wrapped.
- if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {
- $( active ).focus();
- }
- return parent;
- }
-
- return element;
- },
-
- setTransition: function(element, list, factor, value) {
- value = value || {};
- $.each(list, function(i, x){
- var unit = element.cssUnit(x);
- if (unit[0] > 0) value[x] = unit[0] * factor + unit[1];
- });
- return value;
- }
-});
-
-
-function _normalizeArguments(effect, options, speed, callback) {
- // shift params for method overloading
- if (typeof effect == 'object') {
- callback = options;
- speed = null;
- options = effect;
- effect = options.effect;
- }
- if ($.isFunction(options)) {
- callback = options;
- speed = null;
- options = {};
- }
- if (typeof options == 'number' || $.fx.speeds[options]) {
- callback = speed;
- speed = options;
- options = {};
- }
- if ($.isFunction(speed)) {
- callback = speed;
- speed = null;
- }
-
- options = options || {};
-
- speed = speed || options.duration;
- speed = $.fx.off ? 0 : typeof speed == 'number'
- ? speed : speed in $.fx.speeds ? $.fx.speeds[speed] : $.fx.speeds._default;
-
- callback = callback || options.complete;
-
- return [effect, options, speed, callback];
-}
-
-function standardSpeed( speed ) {
- // valid standard speeds
- if ( !speed || typeof speed === "number" || $.fx.speeds[ speed ] ) {
- return true;
- }
-
- // invalid strings - treat as "normal" speed
- if ( typeof speed === "string" && !$.effects[ speed ] ) {
- return true;
- }
-
- return false;
-}
-
-$.fn.extend({
- effect: function(effect, options, speed, callback) {
- var args = _normalizeArguments.apply(this, arguments),
- // TODO: make effects take actual parameters instead of a hash
- args2 = {
- options: args[1],
- duration: args[2],
- callback: args[3]
- },
- mode = args2.options.mode,
- effectMethod = $.effects[effect];
-
- if ( $.fx.off || !effectMethod ) {
- // delegate to the original method (e.g., .show()) if possible
- if ( mode ) {
- return this[ mode ]( args2.duration, args2.callback );
- } else {
- return this.each(function() {
- if ( args2.callback ) {
- args2.callback.call( this );
- }
- });
- }
- }
-
- return effectMethod.call(this, args2);
- },
-
- _show: $.fn.show,
- show: function(speed) {
- if ( standardSpeed( speed ) ) {
- return this._show.apply(this, arguments);
- } else {
- var args = _normalizeArguments.apply(this, arguments);
- args[1].mode = 'show';
- return this.effect.apply(this, args);
- }
- },
-
- _hide: $.fn.hide,
- hide: function(speed) {
- if ( standardSpeed( speed ) ) {
- return this._hide.apply(this, arguments);
- } else {
- var args = _normalizeArguments.apply(this, arguments);
- args[1].mode = 'hide';
- return this.effect.apply(this, args);
- }
- },
-
- // jQuery core overloads toggle and creates _toggle
- __toggle: $.fn.toggle,
- toggle: function(speed) {
- if ( standardSpeed( speed ) || typeof speed === "boolean" || $.isFunction( speed ) ) {
- return this.__toggle.apply(this, arguments);
- } else {
- var args = _normalizeArguments.apply(this, arguments);
- args[1].mode = 'toggle';
- return this.effect.apply(this, args);
- }
- },
-
- // helper functions
- cssUnit: function(key) {
- var style = this.css(key), val = [];
- $.each( ['em','px','%','pt'], function(i, unit){
- if(style.indexOf(unit) > 0)
- val = [parseFloat(style), unit];
- });
- return val;
- }
-});
-
-
-
-/******************************************************************************/
-/*********************************** EASING ***********************************/
-/******************************************************************************/
-
-// based on easing equations from Robert Penner (http://www.robertpenner.com/easing)
-
-var baseEasings = {};
-
-$.each( [ "Quad", "Cubic", "Quart", "Quint", "Expo" ], function( i, name ) {
- baseEasings[ name ] = function( p ) {
- return Math.pow( p, i + 2 );
- };
-});
-
-$.extend( baseEasings, {
- Sine: function ( p ) {
- return 1 - Math.cos( p * Math.PI / 2 );
- },
- Circ: function ( p ) {
- return 1 - Math.sqrt( 1 - p * p );
- },
- Elastic: function( p ) {
- return p === 0 || p === 1 ? p :
- -Math.pow( 2, 8 * (p - 1) ) * Math.sin( ( (p - 1) * 80 - 7.5 ) * Math.PI / 15 );
- },
- Back: function( p ) {
- return p * p * ( 3 * p - 2 );
- },
- Bounce: function ( p ) {
- var pow2,
- bounce = 4;
-
- while ( p < ( ( pow2 = Math.pow( 2, --bounce ) ) - 1 ) / 11 ) {}
- return 1 / Math.pow( 4, 3 - bounce ) - 7.5625 * Math.pow( ( pow2 * 3 - 2 ) / 22 - p, 2 );
- }
-});
-
-$.each( baseEasings, function( name, easeIn ) {
- $.easing[ "easeIn" + name ] = easeIn;
- $.easing[ "easeOut" + name ] = function( p ) {
- return 1 - easeIn( 1 - p );
- };
- $.easing[ "easeInOut" + name ] = function( p ) {
- return p < .5 ?
- easeIn( p * 2 ) / 2 :
- easeIn( p * -2 + 2 ) / -2 + 1;
- };
-});
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.drop.js b/resources/jquery.effects/jquery.effects.drop.js
deleted file mode 100644
index 97e5abd4..00000000
--- a/resources/jquery.effects/jquery.effects.drop.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*!
- * jQuery UI Effects Drop 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Drop
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.drop = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this), props = ['position','top','bottom','left','right','opacity'];
-
- // Set options
- var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
- var direction = o.options.direction || 'left'; // Default Direction
-
- // Adjust
- $.effects.save(el, props); el.show(); // Save & Show
- $.effects.createWrapper(el); // Create Wrapper
- var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
- var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
- var distance = o.options.distance || (ref == 'top' ? el.outerHeight( true ) / 2 : el.outerWidth( true ) / 2);
- if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
-
- // Animation
- var animation = {opacity: mode == 'show' ? 1 : 0};
- animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance;
-
- // Animate
- el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
- if(mode == 'hide') el.hide(); // Hide
- $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(this, arguments); // Callback
- el.dequeue();
- }});
-
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.explode.js b/resources/jquery.effects/jquery.effects.explode.js
deleted file mode 100644
index f63e47a2..00000000
--- a/resources/jquery.effects/jquery.effects.explode.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/*!
- * jQuery UI Effects Explode 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Explode
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.explode = function(o) {
-
- return this.queue(function() {
-
- var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3;
- var cells = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3;
-
- o.options.mode = o.options.mode == 'toggle' ? ($(this).is(':visible') ? 'hide' : 'show') : o.options.mode;
- var el = $(this).show().css('visibility', 'hidden');
- var offset = el.offset();
-
- //Substract the margins - not fixing the problem yet.
- offset.top -= parseInt(el.css("marginTop"),10) || 0;
- offset.left -= parseInt(el.css("marginLeft"),10) || 0;
-
- var width = el.outerWidth(true);
- var height = el.outerHeight(true);
-
- for(var i=0;i<rows;i++) { // =
- for(var j=0;j<cells;j++) { // ||
- el
- .clone()
- .appendTo('body')
- .wrap('<div></div>')
- .css({
- position: 'absolute',
- visibility: 'visible',
- left: -j*(width/cells),
- top: -i*(height/rows)
- })
- .parent()
- .addClass('ui-effects-explode')
- .css({
- position: 'absolute',
- overflow: 'hidden',
- width: width/cells,
- height: height/rows,
- left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? (j-Math.floor(cells/2))*(width/cells) : 0),
- top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? (i-Math.floor(rows/2))*(height/rows) : 0),
- opacity: o.options.mode == 'show' ? 0 : 1
- }).animate({
- left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? 0 : (j-Math.floor(cells/2))*(width/cells)),
- top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? 0 : (i-Math.floor(rows/2))*(height/rows)),
- opacity: o.options.mode == 'show' ? 1 : 0
- }, o.duration || 500);
- }
- }
-
- // Set a timeout, to call the callback approx. when the other animations have finished
- setTimeout(function() {
-
- o.options.mode == 'show' ? el.css({ visibility: 'visible' }) : el.css({ visibility: 'visible' }).hide();
- if(o.callback) o.callback.apply(el[0]); // Callback
- el.dequeue();
-
- $('div.ui-effects-explode').remove();
-
- }, o.duration || 500);
-
-
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.fade.js b/resources/jquery.effects/jquery.effects.fade.js
deleted file mode 100644
index 7aa37b1a..00000000
--- a/resources/jquery.effects/jquery.effects.fade.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*!
- * jQuery UI Effects Fade 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Fade
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.fade = function(o) {
- return this.queue(function() {
- var elem = $(this),
- mode = $.effects.setMode(elem, o.options.mode || 'hide');
-
- elem.animate({ opacity: mode }, {
- queue: false,
- duration: o.duration,
- easing: o.options.easing,
- complete: function() {
- (o.callback && o.callback.apply(this, arguments));
- elem.dequeue();
- }
- });
- });
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.fold.js b/resources/jquery.effects/jquery.effects.fold.js
deleted file mode 100644
index 06cc5533..00000000
--- a/resources/jquery.effects/jquery.effects.fold.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/*!
- * jQuery UI Effects Fold 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Fold
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.fold = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this), props = ['position','top','bottom','left','right'];
-
- // Set options
- var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
- var size = o.options.size || 15; // Default fold size
- var horizFirst = !(!o.options.horizFirst); // Ensure a boolean value
- var duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2;
-
- // Adjust
- $.effects.save(el, props); el.show(); // Save & Show
- var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
- var widthFirst = ((mode == 'show') != horizFirst);
- var ref = widthFirst ? ['width', 'height'] : ['height', 'width'];
- var distance = widthFirst ? [wrapper.width(), wrapper.height()] : [wrapper.height(), wrapper.width()];
- var percent = /([0-9]+)%/.exec(size);
- if(percent) size = parseInt(percent[1],10) / 100 * distance[mode == 'hide' ? 0 : 1];
- if(mode == 'show') wrapper.css(horizFirst ? {height: 0, width: size} : {height: size, width: 0}); // Shift
-
- // Animation
- var animation1 = {}, animation2 = {};
- animation1[ref[0]] = mode == 'show' ? distance[0] : size;
- animation2[ref[1]] = mode == 'show' ? distance[1] : 0;
-
- // Animate
- wrapper.animate(animation1, duration, o.options.easing)
- .animate(animation2, duration, o.options.easing, function() {
- if(mode == 'hide') el.hide(); // Hide
- $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(el[0], arguments); // Callback
- el.dequeue();
- });
-
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.highlight.js b/resources/jquery.effects/jquery.effects.highlight.js
deleted file mode 100644
index ad9e7bd4..00000000
--- a/resources/jquery.effects/jquery.effects.highlight.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*!
- * jQuery UI Effects Highlight 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Highlight
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.highlight = function(o) {
- return this.queue(function() {
- var elem = $(this),
- props = ['backgroundImage', 'backgroundColor', 'opacity'],
- mode = $.effects.setMode(elem, o.options.mode || 'show'),
- animation = {
- backgroundColor: elem.css('backgroundColor')
- };
-
- if (mode == 'hide') {
- animation.opacity = 0;
- }
-
- $.effects.save(elem, props);
- elem
- .show()
- .css({
- backgroundImage: 'none',
- backgroundColor: o.options.color || '#ffff99'
- })
- .animate(animation, {
- queue: false,
- duration: o.duration,
- easing: o.options.easing,
- complete: function() {
- (mode == 'hide' && elem.hide());
- $.effects.restore(elem, props);
- (mode == 'show' && !$.support.opacity && this.style.removeAttribute('filter'));
- (o.callback && o.callback.apply(this, arguments));
- elem.dequeue();
- }
- });
- });
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.pulsate.js b/resources/jquery.effects/jquery.effects.pulsate.js
deleted file mode 100644
index d730beed..00000000
--- a/resources/jquery.effects/jquery.effects.pulsate.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*!
- * jQuery UI Effects Pulsate 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Pulsate
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.pulsate = function(o) {
- return this.queue(function() {
- var elem = $(this),
- mode = $.effects.setMode(elem, o.options.mode || 'show'),
- times = ((o.options.times || 5) * 2) - 1,
- duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2,
- isVisible = elem.is(':visible'),
- animateTo = 0;
-
- if (!isVisible) {
- elem.css('opacity', 0).show();
- animateTo = 1;
- }
-
- if ((mode == 'hide' && isVisible) || (mode == 'show' && !isVisible)) {
- times--;
- }
-
- for (var i = 0; i < times; i++) {
- elem.animate({ opacity: animateTo }, duration, o.options.easing);
- animateTo = (animateTo + 1) % 2;
- }
-
- elem.animate({ opacity: animateTo }, duration, o.options.easing, function() {
- if (animateTo == 0) {
- elem.hide();
- }
- (o.callback && o.callback.apply(this, arguments));
- });
-
- elem
- .queue('fx', function() { elem.dequeue(); })
- .dequeue();
- });
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.scale.js b/resources/jquery.effects/jquery.effects.scale.js
deleted file mode 100644
index 52d18710..00000000
--- a/resources/jquery.effects/jquery.effects.scale.js
+++ /dev/null
@@ -1,178 +0,0 @@
-/*!
- * jQuery UI Effects Scale 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Scale
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.puff = function(o) {
- return this.queue(function() {
- var elem = $(this),
- mode = $.effects.setMode(elem, o.options.mode || 'hide'),
- percent = parseInt(o.options.percent, 10) || 150,
- factor = percent / 100,
- original = { height: elem.height(), width: elem.width() };
-
- $.extend(o.options, {
- fade: true,
- mode: mode,
- percent: mode == 'hide' ? percent : 100,
- from: mode == 'hide'
- ? original
- : {
- height: original.height * factor,
- width: original.width * factor
- }
- });
-
- elem.effect('scale', o.options, o.duration, o.callback);
- elem.dequeue();
- });
-};
-
-$.effects.scale = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this);
-
- // Set options
- var options = $.extend(true, {}, o.options);
- var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
- var percent = parseInt(o.options.percent,10) || (parseInt(o.options.percent,10) == 0 ? 0 : (mode == 'hide' ? 0 : 100)); // Set default scaling percent
- var direction = o.options.direction || 'both'; // Set default axis
- var origin = o.options.origin; // The origin of the scaling
- if (mode != 'effect') { // Set default origin and restore for show/hide
- options.origin = origin || ['middle','center'];
- options.restore = true;
- }
- var original = {height: el.height(), width: el.width()}; // Save original
- el.from = o.options.from || (mode == 'show' ? {height: 0, width: 0} : original); // Default from state
-
- // Adjust
- var factor = { // Set scaling factor
- y: direction != 'horizontal' ? (percent / 100) : 1,
- x: direction != 'vertical' ? (percent / 100) : 1
- };
- el.to = {height: original.height * factor.y, width: original.width * factor.x}; // Set to state
-
- if (o.options.fade) { // Fade option to support puff
- if (mode == 'show') {el.from.opacity = 0; el.to.opacity = 1;};
- if (mode == 'hide') {el.from.opacity = 1; el.to.opacity = 0;};
- };
-
- // Animation
- options.from = el.from; options.to = el.to; options.mode = mode;
-
- // Animate
- el.effect('size', options, o.duration, o.callback);
- el.dequeue();
- });
-
-};
-
-$.effects.size = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this), props = ['position','top','bottom','left','right','width','height','overflow','opacity'];
- var props1 = ['position','top','bottom','left','right','overflow','opacity']; // Always restore
- var props2 = ['width','height','overflow']; // Copy for children
- var cProps = ['fontSize'];
- var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom'];
- var hProps = ['borderLeftWidth', 'borderRightWidth', 'paddingLeft', 'paddingRight'];
-
- // Set options
- var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
- var restore = o.options.restore || false; // Default restore
- var scale = o.options.scale || 'both'; // Default scale mode
- var origin = o.options.origin; // The origin of the sizing
- var original = {height: el.height(), width: el.width()}; // Save original
- el.from = o.options.from || original; // Default from state
- el.to = o.options.to || original; // Default to state
- // Adjust
- if (origin) { // Calculate baseline shifts
- var baseline = $.effects.getBaseline(origin, original);
- el.from.top = (original.height - el.from.height) * baseline.y;
- el.from.left = (original.width - el.from.width) * baseline.x;
- el.to.top = (original.height - el.to.height) * baseline.y;
- el.to.left = (original.width - el.to.width) * baseline.x;
- };
- var factor = { // Set scaling factor
- from: {y: el.from.height / original.height, x: el.from.width / original.width},
- to: {y: el.to.height / original.height, x: el.to.width / original.width}
- };
- if (scale == 'box' || scale == 'both') { // Scale the css box
- if (factor.from.y != factor.to.y) { // Vertical props scaling
- props = props.concat(vProps);
- el.from = $.effects.setTransition(el, vProps, factor.from.y, el.from);
- el.to = $.effects.setTransition(el, vProps, factor.to.y, el.to);
- };
- if (factor.from.x != factor.to.x) { // Horizontal props scaling
- props = props.concat(hProps);
- el.from = $.effects.setTransition(el, hProps, factor.from.x, el.from);
- el.to = $.effects.setTransition(el, hProps, factor.to.x, el.to);
- };
- };
- if (scale == 'content' || scale == 'both') { // Scale the content
- if (factor.from.y != factor.to.y) { // Vertical props scaling
- props = props.concat(cProps);
- el.from = $.effects.setTransition(el, cProps, factor.from.y, el.from);
- el.to = $.effects.setTransition(el, cProps, factor.to.y, el.to);
- };
- };
- $.effects.save(el, restore ? props : props1); el.show(); // Save & Show
- $.effects.createWrapper(el); // Create Wrapper
- el.css('overflow','hidden').css(el.from); // Shift
-
- // Animate
- if (scale == 'content' || scale == 'both') { // Scale the children
- vProps = vProps.concat(['marginTop','marginBottom']).concat(cProps); // Add margins/font-size
- hProps = hProps.concat(['marginLeft','marginRight']); // Add margins
- props2 = props.concat(vProps).concat(hProps); // Concat
- el.find("*[width]").each(function(){
- var child = $(this);
- if (restore) $.effects.save(child, props2);
- var c_original = {height: child.height(), width: child.width()}; // Save original
- child.from = {height: c_original.height * factor.from.y, width: c_original.width * factor.from.x};
- child.to = {height: c_original.height * factor.to.y, width: c_original.width * factor.to.x};
- if (factor.from.y != factor.to.y) { // Vertical props scaling
- child.from = $.effects.setTransition(child, vProps, factor.from.y, child.from);
- child.to = $.effects.setTransition(child, vProps, factor.to.y, child.to);
- };
- if (factor.from.x != factor.to.x) { // Horizontal props scaling
- child.from = $.effects.setTransition(child, hProps, factor.from.x, child.from);
- child.to = $.effects.setTransition(child, hProps, factor.to.x, child.to);
- };
- child.css(child.from); // Shift children
- child.animate(child.to, o.duration, o.options.easing, function(){
- if (restore) $.effects.restore(child, props2); // Restore children
- }); // Animate children
- });
- };
-
- // Animate
- el.animate(el.to, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
- if (el.to.opacity === 0) {
- el.css('opacity', el.from.opacity);
- }
- if(mode == 'hide') el.hide(); // Hide
- $.effects.restore(el, restore ? props : props1); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(this, arguments); // Callback
- el.dequeue();
- }});
-
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.shake.js b/resources/jquery.effects/jquery.effects.shake.js
deleted file mode 100644
index 44b8ea44..00000000
--- a/resources/jquery.effects/jquery.effects.shake.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*!
- * jQuery UI Effects Shake 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Shake
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.shake = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this), props = ['position','top','bottom','left','right'];
-
- // Set options
- var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
- var direction = o.options.direction || 'left'; // Default direction
- var distance = o.options.distance || 20; // Default distance
- var times = o.options.times || 3; // Default # of times
- var speed = o.duration || o.options.duration || 140; // Default speed per shake
-
- // Adjust
- $.effects.save(el, props); el.show(); // Save & Show
- $.effects.createWrapper(el); // Create Wrapper
- var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
- var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
-
- // Animation
- var animation = {}, animation1 = {}, animation2 = {};
- animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance;
- animation1[ref] = (motion == 'pos' ? '+=' : '-=') + distance * 2;
- animation2[ref] = (motion == 'pos' ? '-=' : '+=') + distance * 2;
-
- // Animate
- el.animate(animation, speed, o.options.easing);
- for (var i = 1; i < times; i++) { // Shakes
- el.animate(animation1, speed, o.options.easing).animate(animation2, speed, o.options.easing);
- };
- el.animate(animation1, speed, o.options.easing).
- animate(animation, speed / 2, o.options.easing, function(){ // Last shake
- $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(this, arguments); // Callback
- });
- el.queue('fx', function() { el.dequeue(); });
- el.dequeue();
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.slide.js b/resources/jquery.effects/jquery.effects.slide.js
deleted file mode 100644
index 502e6c9d..00000000
--- a/resources/jquery.effects/jquery.effects.slide.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*!
- * jQuery UI Effects Slide 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Slide
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.slide = function(o) {
-
- return this.queue(function() {
-
- // Create element
- var el = $(this), props = ['position','top','bottom','left','right'];
-
- // Set options
- var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
- var direction = o.options.direction || 'left'; // Default Direction
-
- // Adjust
- $.effects.save(el, props); el.show(); // Save & Show
- $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
- var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
- var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
- var distance = o.options.distance || (ref == 'top' ? el.outerHeight( true ) : el.outerWidth( true ));
- if (mode == 'show') el.css(ref, motion == 'pos' ? (isNaN(distance) ? "-" + distance : -distance) : distance); // Shift
-
- // Animation
- var animation = {};
- animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance;
-
- // Animate
- el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
- if(mode == 'hide') el.hide(); // Hide
- $.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(this, arguments); // Callback
- el.dequeue();
- }});
-
- });
-
-};
-
-})(jQuery);
diff --git a/resources/jquery.effects/jquery.effects.transfer.js b/resources/jquery.effects/jquery.effects.transfer.js
deleted file mode 100644
index 4ee4ae88..00000000
--- a/resources/jquery.effects/jquery.effects.transfer.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*!
- * jQuery UI Effects Transfer 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Effects/Transfer
- *
- * Depends:
- * jquery.effects.core.js
- */
-(function( $, undefined ) {
-
-$.effects.transfer = function(o) {
- return this.queue(function() {
- var elem = $(this),
- target = $(o.options.to),
- endPosition = target.offset(),
- animation = {
- top: endPosition.top,
- left: endPosition.left,
- height: target.innerHeight(),
- width: target.innerWidth()
- },
- startPosition = elem.offset(),
- transfer = $('<div class="ui-effects-transfer"></div>')
- .appendTo(document.body)
- .addClass(o.options.className)
- .css({
- top: startPosition.top,
- left: startPosition.left,
- height: elem.innerHeight(),
- width: elem.innerWidth(),
- position: 'absolute'
- })
- .animate(animation, o.duration, o.options.easing, function() {
- transfer.remove();
- (o.callback && o.callback.apply(elem[0], arguments));
- elem.dequeue();
- });
- });
-};
-
-})(jQuery);
diff --git a/resources/jquery.tipsy/jquery.tipsy.css b/resources/jquery.tipsy/jquery.tipsy.css
deleted file mode 100644
index 3680fbe2..00000000
--- a/resources/jquery.tipsy/jquery.tipsy.css
+++ /dev/null
@@ -1,75 +0,0 @@
-.tipsy {
- padding: 5px;
- position: absolute;
- z-index: 100000;
- cursor: default;
-}
-.tipsy-inner {
- padding: 5px 8px 4px 8px;
- /*background-color: #e8f2f8;*/
- background-color: #ffffff;
- border: solid 1px #a7d7f9;
- color: black;
- max-width: 15em;
- border-radius: 4px;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- /*
- -moz-box-shadow: 0px 2px 8px #cccccc;
- -webkit-box-shadow: 0px 2px 8px #cccccc;
- box-shadow: 0px 2px 8px #cccccc;
- -ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc')";
- filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc');
- */
-}
-.tipsy-arrow {
- position: absolute;
- /* @embed */
- background: url('images/tipsy.png') no-repeat top left;
- width: 11px;
- height: 6px;
-}
-/* @noflip */ .tipsy-n .tipsy-arrow {
- top: 0px;
- left: 50%;
- margin-left: -5px;
-}
-/* @noflip */ .tipsy-nw .tipsy-arrow {
- top: 1px;
- left: 10px;
-}
-/* @noflip */ .tipsy-ne .tipsy-arrow {
- top: 1px;
- right: 10px;
-}
-/* @noflip */ .tipsy-s .tipsy-arrow {
- bottom: 0px;
- left: 50%;
- margin-left: -5px;
- background-position: bottom left;
-}
-/* @noflip */ .tipsy-sw .tipsy-arrow {
- bottom: 0px;
- left: 10px;
- background-position: bottom left;
-}
-/* @noflip */ .tipsy-se .tipsy-arrow {
- bottom: 0px;
- right: 10px;
- background-position: bottom left;
-}
-/* @noflip */ .tipsy-e .tipsy-arrow {
- top: 50%;
- margin-top: -5px;
- right: 1px;
- width: 5px;
- height: 11px;
- background-position: top right;
-}
-/* @noflip */ .tipsy-w .tipsy-arrow {
- top: 50%;
- margin-top: -5px;
- left: 0px;
- width: 6px;
- height: 11px;
-} \ No newline at end of file
diff --git a/resources/jquery.tipsy/jquery.tipsy.js b/resources/jquery.tipsy/jquery.tipsy.js
deleted file mode 100644
index a9fcec8f..00000000
--- a/resources/jquery.tipsy/jquery.tipsy.js
+++ /dev/null
@@ -1,218 +0,0 @@
-// tipsy, facebook style tooltips for jquery
-// version 1.0.0a*
-// (c) 2008-2010 jason frame [jason@onehackoranother.com]
-// released under the MIT license
-
-// * This installation of tipsy includes several local modifications to both Javascript and CSS.
-// Please be careful when upgrading.
-
-(function($) {
-
- function maybeCall(thing, ctx) {
- return (typeof thing == 'function') ? (thing.call(ctx)) : thing;
- };
-
- function fixTitle($ele) {
- if ($ele.attr('title') || typeof($ele.attr('original-title')) != 'string') {
- $ele.attr('original-title', $ele.attr('title') || '').removeAttr('title');
- }
- }
-
- function Tipsy(element, options) {
- this.$element = $(element);
- this.options = options;
- this.enabled = true;
- fixTitle(this.$element);
- }
-
- Tipsy.prototype = {
- show: function() {
- var title = this.getTitle();
- if (title && this.enabled) {
- var $tip = this.tip();
-
- $tip.find('.tipsy-inner')[this.options.html ? 'html' : 'text'](title);
- $tip[0].className = 'tipsy'; // reset classname in case of dynamic gravity
- $tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).appendTo(document.body);
-
- var pos = $.extend({}, this.$element.offset(), {
- width: this.$element[0].offsetWidth,
- height: this.$element[0].offsetHeight
- });
-
- var actualWidth = $tip[0].offsetWidth, actualHeight = $tip[0].offsetHeight;
- var gravity = (typeof this.options.gravity == 'function')
- ? this.options.gravity.call(this.$element[0])
- : this.options.gravity;
-
- var tp;
- switch (gravity.charAt(0)) {
- case 'n':
- tp = {top: pos.top + pos.height + this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2};
- break;
- case 's':
- tp = {top: pos.top - actualHeight - this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2};
- break;
- case 'e':
- tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth - this.options.offset};
- break;
- case 'w':
- tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width + this.options.offset};
- break;
- }
-
- if (gravity.length == 2) {
- if (gravity.charAt(1) == 'w') {
- if (this.options.center) {
- tp.left = pos.left + pos.width / 2 - 15;
- } else {
- tp.left = pos.left;
- }
- } else {
- if (this.options.center) {
- tp.left = pos.left + pos.width / 2 - actualWidth + 15;
- } else {
- tp.left = pos.left + pos.width;
- }
- }
- }
-
- $tip.css(tp).addClass('tipsy-' + gravity);
- if (this.options.className) {
- $tip.addClass(maybeCall(this.options.className, this.$element[0]));
- }
-
- if (this.options.fade) {
- $tip.stop().css({opacity: 0, display: 'block', visibility: 'visible'}).animate({opacity: this.options.opacity}, 100);
- } else {
- $tip.css({visibility: 'visible', opacity: this.options.opacity});
- }
- }
- },
-
- hide: function() {
- if (this.options.fade) {
- this.tip().stop().fadeOut(100, function() { $(this).remove(); });
- } else {
- this.tip().remove();
- }
- },
-
- getTitle: function() {
- var title, $e = this.$element, o = this.options;
- fixTitle($e);
- var title, o = this.options;
- if (typeof o.title == 'string') {
- title = $e.attr(o.title == 'title' ? 'original-title' : o.title);
- } else if (typeof o.title == 'function') {
- title = o.title.call($e[0]);
- }
- title = ('' + title).replace(/(^\s*|\s*$)/, "");
- return title || o.fallback;
- },
-
- tip: function() {
- if (!this.$tip) {
- this.$tip = $('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"/></div>');
- }
- return this.$tip;
- },
-
- validate: function() {
- if (!this.$element[0].parentNode) {
- this.hide();
- this.$element = null;
- this.options = null;
- }
- },
-
- enable: function() { this.enabled = true; },
- disable: function() { this.enabled = false; },
- toggleEnabled: function() { this.enabled = !this.enabled; }
- };
-
- $.fn.tipsy = function(options) {
-
- if (options === true) {
- return this.data('tipsy');
- } else if (typeof options == 'string') {
- return this.data('tipsy')[options]();
- }
-
- options = $.extend({}, $.fn.tipsy.defaults, options);
-
- function get(ele) {
- var tipsy = $.data(ele, 'tipsy');
- if (!tipsy) {
- tipsy = new Tipsy(ele, $.fn.tipsy.elementOptions(ele, options));
- $.data(ele, 'tipsy', tipsy);
- }
- return tipsy;
- }
-
- function enter() {
- var tipsy = get(this);
- tipsy.hoverState = 'in';
- if (options.delayIn == 0) {
- tipsy.show();
- } else {
- setTimeout(function() { if (tipsy.hoverState == 'in') tipsy.show(); }, options.delayIn);
- }
- };
-
- function leave() {
- var tipsy = get(this);
- tipsy.hoverState = 'out';
- if (options.delayOut == 0) {
- tipsy.hide();
- } else {
- setTimeout(function() { if (tipsy.hoverState == 'out') tipsy.hide(); }, options.delayOut);
- }
- };
-
- if (!options.live) this.each(function() { get(this); });
-
- if (options.trigger != 'manual') {
- var binder = options.live ? 'live' : 'bind',
- eventIn = options.trigger == 'hover' ? 'mouseenter' : 'focus',
- eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur';
- this[binder](eventIn, enter)[binder](eventOut, leave);
- }
-
- return this;
-
- };
-
- $.fn.tipsy.defaults = {
- className: null,
- delayIn: 0,
- delayOut: 0,
- fade: true,
- fallback: '',
- gravity: 'n',
- center: true,
- html: false,
- live: false,
- offset: 0,
- opacity: 1.0,
- title: 'title',
- trigger: 'hover'
- };
-
- // Overwrite this method to provide options on a per-element basis.
- // For example, you could store the gravity in a 'tipsy-gravity' attribute:
- // return $.extend({}, options, {gravity: $(ele).attr('tipsy-gravity') || 'n' });
- // (remember - do not modify 'options' in place!)
- $.fn.tipsy.elementOptions = function(ele, options) {
- return $.metadata ? $.extend({}, options, $(ele).metadata()) : options;
- };
-
- $.fn.tipsy.autoNS = function() {
- return $(this).offset().top > ($(document).scrollTop() + $(window).height() / 2) ? 's' : 'n';
- };
-
- $.fn.tipsy.autoWE = function() {
- return $(this).offset().left > ($(document).scrollLeft() + $(window).width() / 2) ? 'e' : 'w';
- };
-
-})(jQuery);
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js
deleted file mode 100644
index 8a9218d8..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Arabic Translation for jQuery UI date picker plugin. */
-/* Khaled Alhourani -- me@khaledalhourani.com */
-/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
-jQuery(function($){
- $.datepicker.regional['ar'] = {
- closeText: 'إغلاق',
- prevText: '&#x3c;السابق',
- nextText: 'التالي&#x3e;',
- currentText: 'اليوم',
- monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران',
- 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
- monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
- dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
- dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
- dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
- weekHeader: 'أسبوع',
- dateFormat: 'dd/mm/yy',
- firstDay: 6,
- isRTL: true,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['ar']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-az.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-az.js
deleted file mode 100644
index 57802a40..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-az.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* Written by Jamil Najafov (necefov33@gmail.com). */
-jQuery(function($) {
- $.datepicker.regional['az'] = {
- closeText: 'Bağla',
- prevText: '&#x3c;Geri',
- nextText: 'İrəli&#x3e;',
- currentText: 'Bugün',
- monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',
- 'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],
- monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun',
- 'İyul','Avq','Sen','Okt','Noy','Dek'],
- dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],
- dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'],
- dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'],
- weekHeader: 'Hf',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['az']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js
deleted file mode 100644
index c19d20fb..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Bulgarian initialisation for the jQuery UI date picker plugin. */
-/* Written by Stoyan Kyosev (http://svest.org). */
-jQuery(function($){
- $.datepicker.regional['bg'] = {
- closeText: 'затвори',
- prevText: '&#x3c;назад',
- nextText: 'напред&#x3e;',
- nextBigText: '&#x3e;&#x3e;',
- currentText: 'днес',
- monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
- 'Юли','Август','Септември','Октомври','Ноември','Декември'],
- monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
- 'Юли','Авг','Сеп','Окт','Нов','Дек'],
- dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
- dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
- dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
- weekHeader: 'Wk',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['bg']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js
deleted file mode 100644
index d4dc8b0e..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Bosnian i18n for the jQuery UI date picker plugin. */
-/* Written by Kenan Konjo. */
-jQuery(function($){
- $.datepicker.regional['bs'] = {
- closeText: 'Zatvori',
- prevText: '&#x3c;',
- nextText: '&#x3e;',
- currentText: 'Danas',
- monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
- 'Juli','August','Septembar','Oktobar','Novembar','Decembar'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
- 'Jul','Aug','Sep','Okt','Nov','Dec'],
- dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
- dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
- dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
- weekHeader: 'Wk',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['bs']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js
deleted file mode 100644
index b128e699..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Inicialització en català per a l'extenció 'calendar' per jQuery. */
-/* Writers: (joan.leon@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['ca'] = {
- closeText: 'Tancar',
- prevText: '&#x3c;Ant',
- nextText: 'Seg&#x3e;',
- currentText: 'Avui',
- monthNames: ['Gener','Febrer','Mar&ccedil;','Abril','Maig','Juny',
- 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
- monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
- 'Jul','Ago','Set','Oct','Nov','Des'],
- dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
- dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
- dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
- weekHeader: 'Sm',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['ca']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js
deleted file mode 100644
index 9805bcdb..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Czech initialisation for the jQuery UI date picker plugin. */
-/* Written by Tomas Muller (tomas@tomas-muller.net). */
-jQuery(function($){
- $.datepicker.regional['cs'] = {
- closeText: 'Zavřít',
- prevText: '&#x3c;Dříve',
- nextText: 'Později&#x3e;',
- currentText: 'Nyní',
- monthNames: ['leden','únor','březen','duben','květen','červen',
- 'červenec','srpen','září','říjen','listopad','prosinec'],
- monthNamesShort: ['led','úno','bře','dub','kvě','čer',
- 'čvc','srp','zář','říj','lis','pro'],
- dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
- dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
- dayNamesMin: ['ne','po','út','st','čt','pá','so'],
- weekHeader: 'Týd',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['cs']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-da.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-da.js
deleted file mode 100644
index 176044e1..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-da.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Danish initialisation for the jQuery UI date picker plugin. */
-/* Written by Jan Christensen ( deletestuff@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['da'] = {
- closeText: 'Luk',
- prevText: '&#x3c;Forrige',
- nextText: 'Næste&#x3e;',
- currentText: 'Idag',
- monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
- 'Juli','August','September','Oktober','November','December'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
- 'Jul','Aug','Sep','Okt','Nov','Dec'],
- dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
- dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
- dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
- weekHeader: 'Uge',
- dateFormat: 'dd-mm-yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['da']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-de.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-de.js
deleted file mode 100644
index f3ef9e82..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-de.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* German initialisation for the jQuery UI date picker plugin. */
-/* Written by Milian Wolff (mail@milianw.de). */
-jQuery(function($){
- $.datepicker.regional['de'] = {
- closeText: 'schließen',
- prevText: '&#x3c;zurück',
- nextText: 'Vor&#x3e;',
- currentText: 'heute',
- monthNames: ['Januar','Februar','März','April','Mai','Juni',
- 'Juli','August','September','Oktober','November','Dezember'],
- monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
- 'Jul','Aug','Sep','Okt','Nov','Dez'],
- dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
- dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
- dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
- weekHeader: 'KW',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['de']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-el.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-el.js
deleted file mode 100644
index 6d775f99..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-el.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Greek (el) initialisation for the jQuery UI date picker plugin. */
-/* Written by Alex Cicovic (http://www.alexcicovic.com) */
-jQuery(function($){
- $.datepicker.regional['el'] = {
- closeText: 'Κλείσιμο',
- prevText: 'Προηγούμενος',
- nextText: 'Επόμενος',
- currentText: 'Τρέχων Μήνας',
- monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
- 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
- monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',
- 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],
- dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
- dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
- dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
- weekHeader: 'Εβδ',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['el']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js
deleted file mode 100644
index 6cabc2c4..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Esperanto initialisation for the jQuery UI date picker plugin. */
-/* Written by Olivier M. (olivierweb@ifrance.com). */
-jQuery(function($){
- $.datepicker.regional['eo'] = {
- closeText: 'Fermi',
- prevText: '&lt;Anta',
- nextText: 'Sekv&gt;',
- currentText: 'Nuna',
- monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
- 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
- 'Jul','Aŭg','Sep','Okt','Nov','Dec'],
- dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
- dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
- dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
- weekHeader: 'Sb',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['eo']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-es.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-es.js
deleted file mode 100644
index a02133de..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-es.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Inicialización en español para la extensión 'UI date picker' para jQuery. */
-/* Traducido por Vester (xvester@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['es'] = {
- closeText: 'Cerrar',
- prevText: '&#x3c;Ant',
- nextText: 'Sig&#x3e;',
- currentText: 'Hoy',
- monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
- 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
- monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
- 'Jul','Ago','Sep','Oct','Nov','Dic'],
- dayNames: ['Domingo','Lunes','Martes','Mi&eacute;rcoles','Jueves','Viernes','S&aacute;bado'],
- dayNamesShort: ['Dom','Lun','Mar','Mi&eacute;','Juv','Vie','S&aacute;b'],
- dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','S&aacute;'],
- weekHeader: 'Sm',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['es']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-et.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-et.js
deleted file mode 100644
index 32702b24..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-et.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Estonian initialisation for the jQuery UI date picker plugin. */
-/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
-jQuery(function($){
- $.datepicker.regional['et'] = {
- closeText: 'Sulge',
- prevText: 'Eelnev',
- nextText: 'Järgnev',
- currentText: 'Täna',
- monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
- 'Juuli','August','September','Oktoober','November','Detsember'],
- monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
- 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
- dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
- dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
- dayNamesMin: ['P','E','T','K','N','R','L'],
- weekHeader: 'näd',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['et']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js
deleted file mode 100644
index ff66e494..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Euskarako oinarria 'UI date picker' jquery-ko extentsioarentzat */
-/* Karrikas-ek itzulia (karrikas@karrikas.com) */
-jQuery(function($){
- $.datepicker.regional['eu'] = {
- closeText: 'Egina',
- prevText: '&#x3c;Aur',
- nextText: 'Hur&#x3e;',
- currentText: 'Gaur',
- monthNames: ['urtarrila','otsaila','martxoa','apirila','maiatza','ekaina',
- 'uztaila','abuztua','iraila','urria','azaroa','abendua'],
- monthNamesShort: ['urt.','ots.','mar.','api.','mai.','eka.',
- 'uzt.','abu.','ira.','urr.','aza.','abe.'],
- dayNames: ['igandea','astelehena','asteartea','asteazkena','osteguna','ostirala','larunbata'],
- dayNamesShort: ['ig.','al.','ar.','az.','og.','ol.','lr.'],
- dayNamesMin: ['ig','al','ar','az','og','ol','lr'],
- weekHeader: 'As',
- dateFormat: 'yy-mm-dd',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['eu']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js
deleted file mode 100644
index be8acd2a..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
-/* Javad Mowlanezhad -- jmowla@gmail.com */
-/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
-jQuery(function($) {
- $.datepicker.regional['fa'] = {
- closeText: 'بستن',
- prevText: '&#x3C;قبلی',
- nextText: 'بعدی&#x3E;',
- currentText: 'امروز',
- monthNames: [
- 'فروردين',
- 'ارديبهشت',
- 'خرداد',
- 'تير',
- 'مرداد',
- 'شهريور',
- 'مهر',
- 'آبان',
- 'آذر',
- 'دی',
- 'بهمن',
- 'اسفند'
- ],
- monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
- dayNames: [
- 'يکشنبه',
- 'دوشنبه',
- 'سه‌شنبه',
- 'چهارشنبه',
- 'پنجشنبه',
- 'جمعه',
- 'شنبه'
- ],
- dayNamesShort: [
- 'ی',
- 'د',
- 'س',
- 'چ',
- 'پ',
- 'ج',
- 'ش'
- ],
- dayNamesMin: [
- 'ی',
- 'د',
- 'س',
- 'چ',
- 'پ',
- 'ج',
- 'ش'
- ],
- weekHeader: 'هف',
- dateFormat: 'yy/mm/dd',
- firstDay: 6,
- isRTL: true,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['fa']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js
deleted file mode 100644
index 4c5adda3..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Finnish initialisation for the jQuery UI date picker plugin. */
-/* Written by Harri Kilpiö (harrikilpio@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['fi'] = {
- closeText: 'Sulje',
- prevText: '&#xAB;Edellinen',
- nextText: 'Seuraava&#xBB;',
- currentText: 'T&#xE4;n&#xE4;&#xE4;n',
- monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kes&#xE4;kuu',
- 'Hein&#xE4;kuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
- monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kes&#xE4;',
- 'Hein&#xE4;','Elo','Syys','Loka','Marras','Joulu'],
- dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','La'],
- dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
- dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
- weekHeader: 'Vk',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['fi']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js
deleted file mode 100644
index 8a6cb99c..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Faroese initialisation for the jQuery UI date picker plugin */
-/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
-jQuery(function($){
- $.datepicker.regional['fo'] = {
- closeText: 'Lat aftur',
- prevText: '&#x3c;Fyrra',
- nextText: 'Næsta&#x3e;',
- currentText: 'Í dag',
- monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
- 'Juli','August','September','Oktober','November','Desember'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
- 'Jul','Aug','Sep','Okt','Nov','Des'],
- dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],
- dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
- dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
- weekHeader: 'Vk',
- dateFormat: 'dd-mm-yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['fo']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js
deleted file mode 100644
index 7e793639..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/* French initialisation for the jQuery UI date picker plugin. */
-/* Written by Keith Wood (kbwood{at}iinet.com.au),
- Stéphane Nahmani (sholby@sholby.net),
- Stéphane Raimbault <stephane.raimbault@gmail.com> */
-jQuery(function($){
- $.datepicker.regional['fr'] = {
- closeText: 'Fermer',
- prevText: 'Précédent',
- nextText: 'Suivant',
- currentText: 'Aujourd\'hui',
- monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
- 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
- monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin',
- 'Juil.','Août','Sept.','Oct.','Nov.','Déc.'],
- dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
- dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'],
- dayNamesMin: ['D','L','M','M','J','V','S'],
- weekHeader: 'Sem.',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['fr']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js
deleted file mode 100644
index 278403e8..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Galician localization for 'UI date picker' jQuery extension. */
-/* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */
-jQuery(function($){
- $.datepicker.regional['gl'] = {
- closeText: 'Pechar',
- prevText: '&#x3c;Ant',
- nextText: 'Seg&#x3e;',
- currentText: 'Hoxe',
- monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño',
- 'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],
- monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ',
- 'Xul','Ago','Set','Out','Nov','Dec'],
- dayNames: ['Domingo','Luns','Martes','M&eacute;rcores','Xoves','Venres','S&aacute;bado'],
- dayNamesShort: ['Dom','Lun','Mar','M&eacute;r','Xov','Ven','S&aacute;b'],
- dayNamesMin: ['Do','Lu','Ma','M&eacute;','Xo','Ve','S&aacute;'],
- weekHeader: 'Sm',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['gl']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-he.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-he.js
deleted file mode 100644
index 135cdec1..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-he.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Hebrew initialisation for the UI Datepicker extension. */
-/* Written by Amir Hardon (ahardon at gmail dot com). */
-jQuery(function($){
- $.datepicker.regional['he'] = {
- closeText: 'סגור',
- prevText: '&#x3c;הקודם',
- nextText: 'הבא&#x3e;',
- currentText: 'היום',
- monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
- 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
- monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני',
- 'יולי','אוג','ספט','אוק','נוב','דצמ'],
- dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
- dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
- dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
- weekHeader: 'Wk',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: true,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['he']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js
deleted file mode 100644
index 1eb3dd92..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Croatian i18n for the jQuery UI date picker plugin. */
-/* Written by Vjekoslav Nesek. */
-jQuery(function($){
- $.datepicker.regional['hr'] = {
- closeText: 'Zatvori',
- prevText: '&#x3c;',
- nextText: '&#x3e;',
- currentText: 'Danas',
- monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
- 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
- monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
- 'Srp','Kol','Ruj','Lis','Stu','Pro'],
- dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
- dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
- dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
- weekHeader: 'Tje',
- dateFormat: 'dd.mm.yy.',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['hr']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js
deleted file mode 100644
index c6cc1946..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/
-jQuery(function($){
- $.datepicker.regional['hy'] = {
- closeText: 'Փակել',
- prevText: '&#x3c;Նախ.',
- nextText: 'Հաջ.&#x3e;',
- currentText: 'Այսօր',
- monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս',
- 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],
- monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս',
- 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'],
- dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],
- dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
- dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
- weekHeader: 'ՇԲՏ',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['hy']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-id.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-id.js
deleted file mode 100644
index c626fbb7..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-id.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Indonesian initialisation for the jQuery UI date picker plugin. */
-/* Written by Deden Fathurahman (dedenf@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['id'] = {
- closeText: 'Tutup',
- prevText: '&#x3c;mundur',
- nextText: 'maju&#x3e;',
- currentText: 'hari ini',
- monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
- 'Juli','Agustus','September','Oktober','Nopember','Desember'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
- 'Jul','Agus','Sep','Okt','Nop','Des'],
- dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
- dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
- dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
- weekHeader: 'Mg',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['id']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-is.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-is.js
deleted file mode 100644
index c53235a4..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-is.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Icelandic initialisation for the jQuery UI date picker plugin. */
-/* Written by Haukur H. Thorsson (haukur@eskill.is). */
-jQuery(function($){
- $.datepicker.regional['is'] = {
- closeText: 'Loka',
- prevText: '&#x3c; Fyrri',
- nextText: 'N&aelig;sti &#x3e;',
- currentText: '&Iacute; dag',
- monthNames: ['Jan&uacute;ar','Febr&uacute;ar','Mars','Apr&iacute;l','Ma&iacute','J&uacute;n&iacute;',
- 'J&uacute;l&iacute;','&Aacute;g&uacute;st','September','Okt&oacute;ber','N&oacute;vember','Desember'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Ma&iacute;','J&uacute;n',
- 'J&uacute;l','&Aacute;g&uacute;','Sep','Okt','N&oacute;v','Des'],
- dayNames: ['Sunnudagur','M&aacute;nudagur','&THORN;ri&eth;judagur','Mi&eth;vikudagur','Fimmtudagur','F&ouml;studagur','Laugardagur'],
- dayNamesShort: ['Sun','M&aacute;n','&THORN;ri','Mi&eth;','Fim','F&ouml;s','Lau'],
- dayNamesMin: ['Su','M&aacute;','&THORN;r','Mi','Fi','F&ouml;','La'],
- weekHeader: 'Vika',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['is']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-it.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-it.js
deleted file mode 100644
index 59da2df6..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-it.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Italian initialisation for the jQuery UI date picker plugin. */
-/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['it'] = {
- closeText: 'Chiudi',
- prevText: '&#x3c;Prec',
- nextText: 'Succ&#x3e;',
- currentText: 'Oggi',
- monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
- 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
- monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
- 'Lug','Ago','Set','Ott','Nov','Dic'],
- dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','Sabato'],
- dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
- dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
- weekHeader: 'Sm',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['it']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js
deleted file mode 100644
index 7eb4268d..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Japanese initialisation for the jQuery UI date picker plugin. */
-/* Written by Kentaro SATO (kentaro@ranvis.com). */
-jQuery(function($){
- $.datepicker.regional['ja'] = {
- closeText: '閉じる',
- prevText: '&#x3c;前',
- nextText: '次&#x3e;',
- currentText: '今日',
- monthNames: ['1月','2月','3月','4月','5月','6月',
- '7月','8月','9月','10月','11月','12月'],
- monthNamesShort: ['1月','2月','3月','4月','5月','6月',
- '7月','8月','9月','10月','11月','12月'],
- dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
- dayNamesShort: ['日','月','火','水','木','金','土'],
- dayNamesMin: ['日','月','火','水','木','金','土'],
- weekHeader: '週',
- dateFormat: 'yy/mm/dd',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: true,
- yearSuffix: '年'};
- $.datepicker.setDefaults($.datepicker.regional['ja']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js
deleted file mode 100644
index 79e3f248..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['kk'] = {
- closeText: 'Жабу',
- prevText: '&#x3c;Алдыңғы',
- nextText: 'Келесі&#x3e;',
- currentText: 'Бүгін',
- monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым',
- 'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'],
- monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау',
- 'Шіл','Там','Қыр','Қаз','Қар','Жел'],
- dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'],
- dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'],
- dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'],
- weekHeader: 'Не',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['kk']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js
deleted file mode 100644
index 04112424..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Korean initialisation for the jQuery calendar extension. */
-/* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */
-jQuery(function($){
- $.datepicker.regional['ko'] = {
- closeText: '닫기',
- prevText: '이전달',
- nextText: '다음달',
- currentText: '오늘',
- monthNames: ['1월','2월','3월','4월','5월','6월',
- '7월','8월','9월','10월','11월','12월'],
- monthNamesShort: ['1월','2월','3월','4월','5월','6월',
- '7월','8월','9월','10월','11월','12월'],
- dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'],
- dayNamesShort: ['일','월','화','수','목','금','토'],
- dayNamesMin: ['일','월','화','수','목','금','토'],
- weekHeader: 'Wk',
- dateFormat: 'yy-mm-dd',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: true,
- yearSuffix: '년'};
- $.datepicker.setDefaults($.datepicker.regional['ko']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js
deleted file mode 100644
index 67d5119c..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* @author Arturas Paleicikas <arturas@avalon.lt> */
-jQuery(function($){
- $.datepicker.regional['lt'] = {
- closeText: 'Uždaryti',
- prevText: '&#x3c;Atgal',
- nextText: 'Pirmyn&#x3e;',
- currentText: 'Šiandien',
- monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
- 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
- monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
- 'Lie','Rugp','Rugs','Spa','Lap','Gru'],
- dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
- dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
- dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
- weekHeader: 'Wk',
- dateFormat: 'yy-mm-dd',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['lt']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js
deleted file mode 100644
index 003934e7..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
-jQuery(function($){
- $.datepicker.regional['lv'] = {
- closeText: 'Aizvērt',
- prevText: 'Iepr',
- nextText: 'Nāka',
- currentText: 'Šodien',
- monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
- 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn',
- 'Jūl','Aug','Sep','Okt','Nov','Dec'],
- dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
- dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
- dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
- weekHeader: 'Nav',
- dateFormat: 'dd-mm-yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['lv']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js
deleted file mode 100644
index 1e3432c0..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Malayalam (UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* Written by Saji Nediyanchath (saji89@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['ml'] = {
- closeText: 'ശരി',
- prevText: 'മുന്നത്തെ',
- nextText: 'അടുത്തത് ',
- currentText: 'ഇന്ന്',
- monthNames: ['ജനുവരി','ഫെബ്രുവരി','മാര്‍ച്ച്','ഏപ്രില്‍','മേയ്','ജൂണ്‍',
- 'ജൂലൈ','ആഗസ്റ്റ്','സെപ്റ്റംബര്‍','ഒക്ടോബര്‍','നവംബര്‍','ഡിസംബര്‍'],
- monthNamesShort: ['ജനു', 'ഫെബ്', 'മാര്‍', 'ഏപ്രി', 'മേയ്', 'ജൂണ്‍',
- 'ജൂലാ', 'ആഗ', 'സെപ്', 'ഒക്ടോ', 'നവം', 'ഡിസ'],
- dayNames: ['ഞായര്‍', 'തിങ്കള്‍', 'ചൊവ്വ', 'ബുധന്‍', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
- dayNamesShort: ['ഞായ', 'തിങ്ക', 'ചൊവ്വ', 'ബുധ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
- dayNamesMin: ['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'],
- weekHeader: 'ആ',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['ml']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js
deleted file mode 100644
index e953ac04..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Malaysian initialisation for the jQuery UI date picker plugin. */
-/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
-jQuery(function($){
- $.datepicker.regional['ms'] = {
- closeText: 'Tutup',
- prevText: '&#x3c;Sebelum',
- nextText: 'Selepas&#x3e;',
- currentText: 'hari ini',
- monthNames: ['Januari','Februari','Mac','April','Mei','Jun',
- 'Julai','Ogos','September','Oktober','November','Disember'],
- monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun',
- 'Jul','Ogo','Sep','Okt','Nov','Dis'],
- dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'],
- dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'],
- dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'],
- weekHeader: 'Mg',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['ms']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js
deleted file mode 100644
index 781fe619..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* Written by Mathias Bynens <http://mathiasbynens.be/> */
-jQuery(function($){
- $.datepicker.regional.nl = {
- closeText: 'Sluiten',
- prevText: '←',
- nextText: '→',
- currentText: 'Vandaag',
- monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
- 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
- monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun',
- 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
- dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
- dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
- dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
- weekHeader: 'Wk',
- dateFormat: 'dd-mm-yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional.nl);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-no.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-no.js
deleted file mode 100644
index 2507043a..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-no.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Norwegian initialisation for the jQuery UI date picker plugin. */
-/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
-
-jQuery(function($){
- $.datepicker.regional['no'] = {
- closeText: 'Lukk',
- prevText: '&laquo;Forrige',
- nextText: 'Neste&raquo;',
- currentText: 'I dag',
- monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'],
- monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'],
- dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'],
- dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'],
- dayNamesMin: ['sø','ma','ti','on','to','fr','lø'],
- weekHeader: 'Uke',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''
- };
- $.datepicker.setDefaults($.datepicker.regional['no']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js
deleted file mode 100644
index 61fa29cc..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Polish initialisation for the jQuery UI date picker plugin. */
-/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['pl'] = {
- closeText: 'Zamknij',
- prevText: '&#x3c;Poprzedni',
- nextText: 'Następny&#x3e;',
- currentText: 'Dziś',
- monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
- 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
- monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
- 'Lip','Sie','Wrz','Pa','Lis','Gru'],
- dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
- dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
- dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
- weekHeader: 'Tydz',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['pl']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js
deleted file mode 100644
index 3cc8c796..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Brazilian initialisation for the jQuery UI date picker plugin. */
-/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['pt-BR'] = {
- closeText: 'Fechar',
- prevText: '&#x3c;Anterior',
- nextText: 'Pr&oacute;ximo&#x3e;',
- currentText: 'Hoje',
- monthNames: ['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho',
- 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
- monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
- 'Jul','Ago','Set','Out','Nov','Dez'],
- dayNames: ['Domingo','Segunda-feira','Ter&ccedil;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&aacute;bado'],
- dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
- dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
- weekHeader: 'Sm',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['pt-BR']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js
deleted file mode 100644
index f09f5aeb..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Portuguese initialisation for the jQuery UI date picker plugin. */
-jQuery(function($){
- $.datepicker.regional['pt'] = {
- closeText: 'Fechar',
- prevText: '&#x3c;Anterior',
- nextText: 'Seguinte',
- currentText: 'Hoje',
- monthNames: ['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho',
- 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
- monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
- 'Jul','Ago','Set','Out','Nov','Dez'],
- dayNames: ['Domingo','Segunda-feira','Ter&ccedil;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&aacute;bado'],
- dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
- dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
- weekHeader: 'Sem',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['pt']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js
deleted file mode 100644
index cf03cd4c..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Romansh initialisation for the jQuery UI date picker plugin. */
-/* Written by Yvonne Gienal (yvonne.gienal@educa.ch). */
-jQuery(function($){
- $.datepicker.regional['rm'] = {
- closeText: 'Serrar',
- prevText: '&#x3c;Suandant',
- nextText: 'Precedent&#x3e;',
- currentText: 'Actual',
- monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur', 'Fanadur','Avust','Settember','October','November','December'],
- monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer', 'Fan','Avu','Sett','Oct','Nov','Dec'],
- dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'],
- dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'],
- dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'],
- weekHeader: 'emna',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['rm']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js
deleted file mode 100644
index 6b140aff..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Romanian initialisation for the jQuery UI date picker plugin.
- *
- * Written by Edmond L. (ll_edmond@walla.com)
- * and Ionut G. Stan (ionut.g.stan@gmail.com)
- */
-jQuery(function($){
- $.datepicker.regional['ro'] = {
- closeText: 'Închide',
- prevText: '&laquo; Luna precedentă',
- nextText: 'Luna următoare &raquo;',
- currentText: 'Azi',
- monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
- 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],
- monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun',
- 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
- dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
- dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
- dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
- weekHeader: 'Săpt',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['ro']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js
deleted file mode 100644
index 50a46135..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* Written by Andrew Stromnov (stromnov@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['ru'] = {
- closeText: 'Закрыть',
- prevText: '&#x3c;Пред',
- nextText: 'След&#x3e;',
- currentText: 'Сегодня',
- monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
- 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
- monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
- 'Июл','Авг','Сен','Окт','Ноя','Дек'],
- dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
- dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
- dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
- weekHeader: 'Нед',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['ru']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js
deleted file mode 100644
index 078d1b0f..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Slovak initialisation for the jQuery UI date picker plugin. */
-/* Written by Vojtech Rinik (vojto@hmm.sk). */
-jQuery(function($){
- $.datepicker.regional['sk'] = {
- closeText: 'Zavrieť',
- prevText: '&#x3c;Predchádzajúci',
- nextText: 'Nasledujúci&#x3e;',
- currentText: 'Dnes',
- monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
- 'Júl','August','September','Október','November','December'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
- 'Júl','Aug','Sep','Okt','Nov','Dec'],
- dayNames: ['Nedeľa','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
- dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
- dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
- weekHeader: 'Ty',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['sk']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js
deleted file mode 100644
index 51655019..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Slovenian initialisation for the jQuery UI date picker plugin. */
-/* Written by Jaka Jancar (jaka@kubje.org). */
-/* c = &#x10D;, s = &#x161; z = &#x17E; C = &#x10C; S = &#x160; Z = &#x17D; */
-jQuery(function($){
- $.datepicker.regional['sl'] = {
- closeText: 'Zapri',
- prevText: '&lt;Prej&#x161;nji',
- nextText: 'Naslednji&gt;',
- currentText: 'Trenutni',
- monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
- 'Julij','Avgust','September','Oktober','November','December'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
- 'Jul','Avg','Sep','Okt','Nov','Dec'],
- dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','&#x10C;etrtek','Petek','Sobota'],
- dayNamesShort: ['Ned','Pon','Tor','Sre','&#x10C;et','Pet','Sob'],
- dayNamesMin: ['Ne','Po','To','Sr','&#x10C;e','Pe','So'],
- weekHeader: 'Teden',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['sl']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js
deleted file mode 100644
index 21974c56..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Albanian initialisation for the jQuery UI date picker plugin. */
-/* Written by Flakron Bytyqi (flakron@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['sq'] = {
- closeText: 'mbylle',
- prevText: '&#x3c;mbrapa',
- nextText: 'Përpara&#x3e;',
- currentText: 'sot',
- monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor',
- 'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
- monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
- 'Kor','Gus','Sht','Tet','Nën','Dhj'],
- dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
- dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
- dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
- weekHeader: 'Ja',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['sq']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js
deleted file mode 100644
index e7a8683e..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Serbian i18n for the jQuery UI date picker plugin. */
-/* Written by Dejan Dimić. */
-jQuery(function($){
- $.datepicker.regional['sr-SR'] = {
- closeText: 'Zatvori',
- prevText: '&#x3c;',
- nextText: '&#x3e;',
- currentText: 'Danas',
- monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
- 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
- 'Jul','Avg','Sep','Okt','Nov','Dec'],
- dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],
- dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],
- dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
- weekHeader: 'Sed',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['sr-SR']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js
deleted file mode 100644
index 0bd240e6..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Serbian i18n for the jQuery UI date picker plugin. */
-/* Written by Dejan Dimić. */
-jQuery(function($){
- $.datepicker.regional['sr'] = {
- closeText: 'Затвори',
- prevText: '&#x3c;',
- nextText: '&#x3e;',
- currentText: 'Данас',
- monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
- 'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
- monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун',
- 'Јул','Авг','Сеп','Окт','Нов','Дец'],
- dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
- dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
- dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
- weekHeader: 'Сед',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['sr']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js
deleted file mode 100644
index e5f549fb..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Swedish initialisation for the jQuery UI date picker plugin. */
-/* Written by Anders Ekdahl ( anders@nomadiz.se). */
-jQuery(function($){
- $.datepicker.regional['sv'] = {
- closeText: 'Stäng',
- prevText: '&laquo;Förra',
- nextText: 'Nästa&raquo;',
- currentText: 'Idag',
- monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
- 'Juli','Augusti','September','Oktober','November','December'],
- monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
- 'Jul','Aug','Sep','Okt','Nov','Dec'],
- dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
- dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
- dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
- weekHeader: 'Ve',
- dateFormat: 'yy-mm-dd',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['sv']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-th.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-th.js
deleted file mode 100644
index 2e5300cf..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-th.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Thai initialisation for the jQuery UI date picker plugin. */
-/* Written by pipo (pipo@sixhead.com). */
-jQuery(function($){
- $.datepicker.regional['th'] = {
- closeText: 'ปิด',
- prevText: '&laquo;&nbsp;ย้อน',
- nextText: 'ถัดไป&nbsp;&raquo;',
- currentText: 'วันนี้',
- monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
- 'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
- monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
- 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
- dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
- dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
- dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
- weekHeader: 'Wk',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['th']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js
deleted file mode 100644
index dedfc7ff..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Turkish initialisation for the jQuery UI date picker plugin. */
-/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
-jQuery(function($){
- $.datepicker.regional['tr'] = {
- closeText: 'kapat',
- prevText: '&#x3c;geri',
- nextText: 'ileri&#x3e',
- currentText: 'bugün',
- monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
- 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
- monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
- 'Tem','Ağu','Eyl','Eki','Kas','Ara'],
- dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
- dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
- dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
- weekHeader: 'Hf',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['tr']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js
deleted file mode 100644
index 2718f5d1..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */
-/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
-/* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['uk'] = {
- closeText: 'Закрити',
- prevText: '&#x3c;',
- nextText: '&#x3e;',
- currentText: 'Сьогодні',
- monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
- 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
- monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
- 'Лип','Сер','Вер','Жов','Лис','Гру'],
- dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'],
- dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
- dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
- weekHeader: 'Тиж',
- dateFormat: 'dd/mm/yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['uk']);
-}); \ No newline at end of file
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js
deleted file mode 100644
index 1d8f7bbd..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Vietnamese initialisation for the jQuery UI date picker plugin. */
-/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
-jQuery(function($){
- $.datepicker.regional['vi'] = {
- closeText: 'Đóng',
- prevText: '&#x3c;Trước',
- nextText: 'Tiếp&#x3e;',
- currentText: 'Hôm nay',
- monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
- 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
- monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6',
- 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'],
- dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
- dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
- dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
- weekHeader: 'Tu',
- dateFormat: 'dd/mm/yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['vi']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js
deleted file mode 100644
index 83f2825c..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Chinese initialisation for the jQuery UI date picker plugin. */
-/* Written by Cloudream (cloudream@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['zh-CN'] = {
- closeText: '关闭',
- prevText: '&#x3c;上月',
- nextText: '下月&#x3e;',
- currentText: '今天',
- monthNames: ['一月','二月','三月','四月','五月','六月',
- '七月','八月','九月','十月','十一月','十二月'],
- monthNamesShort: ['一月','二月','三月','四月','五月','六月',
- '七月','八月','九月','十月','十一月','十二月'],
- dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
- dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
- dayNamesMin: ['日','一','二','三','四','五','六'],
- weekHeader: '周',
- dateFormat: 'yy-mm-dd',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: true,
- yearSuffix: '年'};
- $.datepicker.setDefaults($.datepicker.regional['zh-CN']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js
deleted file mode 100644
index 11189d3a..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Chinese initialisation for the jQuery UI date picker plugin. */
-/* Written by SCCY (samuelcychan@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['zh-HK'] = {
- closeText: '關閉',
- prevText: '&#x3c;上月',
- nextText: '下月&#x3e;',
- currentText: '今天',
- monthNames: ['一月','二月','三月','四月','五月','六月',
- '七月','八月','九月','十月','十一月','十二月'],
- monthNamesShort: ['一月','二月','三月','四月','五月','六月',
- '七月','八月','九月','十月','十一月','十二月'],
- dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
- dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
- dayNamesMin: ['日','一','二','三','四','五','六'],
- weekHeader: '周',
- dateFormat: 'dd-mm-yy',
- firstDay: 0,
- isRTL: false,
- showMonthAfterYear: true,
- yearSuffix: '年'};
- $.datepicker.setDefaults($.datepicker.regional['zh-HK']);
-});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js
deleted file mode 100644
index 089498b4..00000000
--- a/resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Chinese initialisation for the jQuery UI date picker plugin. */
-/* Written by Ressol (ressol@gmail.com). */
-jQuery(function($){
- $.datepicker.regional['zh-TW'] = {
- closeText: '關閉',
- prevText: '&#x3c;上月',
- nextText: '下月&#x3e;',
- currentText: '今天',
- monthNames: ['一月','二月','三月','四月','五月','六月',
- '七月','八月','九月','十月','十一月','十二月'],
- monthNamesShort: ['一月','二月','三月','四月','五月','六月',
- '七月','八月','九月','十月','十一月','十二月'],
- dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
- dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
- dayNamesMin: ['日','一','二','三','四','五','六'],
- weekHeader: '周',
- dateFormat: 'yy/mm/dd',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: true,
- yearSuffix: '年'};
- $.datepicker.setDefaults($.datepicker.regional['zh-TW']);
-});
diff --git a/resources/jquery.ui/jquery.ui.accordion.js b/resources/jquery.ui/jquery.ui.accordion.js
deleted file mode 100644
index dc1ba60a..00000000
--- a/resources/jquery.ui/jquery.ui.accordion.js
+++ /dev/null
@@ -1,611 +0,0 @@
-/*!
- * jQuery UI Accordion 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Accordion
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- */
-(function( $, undefined ) {
-
-$.widget( "ui.accordion", {
- options: {
- active: 0,
- animated: "slide",
- autoHeight: true,
- clearStyle: false,
- collapsible: false,
- event: "click",
- fillSpace: false,
- header: "> li > :first-child,> :not(li):even",
- icons: {
- header: "ui-icon-triangle-1-e",
- headerSelected: "ui-icon-triangle-1-s"
- },
- navigation: false,
- navigationFilter: function() {
- return this.href.toLowerCase() === location.href.toLowerCase();
- }
- },
-
- _create: function() {
- var self = this,
- options = self.options;
-
- self.running = 0;
-
- self.element
- .addClass( "ui-accordion ui-widget ui-helper-reset" )
- // in lack of child-selectors in CSS
- // we need to mark top-LIs in a UL-accordion for some IE-fix
- .children( "li" )
- .addClass( "ui-accordion-li-fix" );
-
- self.headers = self.element.find( options.header )
- .addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" )
- .bind( "mouseenter.accordion", function() {
- if ( options.disabled ) {
- return;
- }
- $( this ).addClass( "ui-state-hover" );
- })
- .bind( "mouseleave.accordion", function() {
- if ( options.disabled ) {
- return;
- }
- $( this ).removeClass( "ui-state-hover" );
- })
- .bind( "focus.accordion", function() {
- if ( options.disabled ) {
- return;
- }
- $( this ).addClass( "ui-state-focus" );
- })
- .bind( "blur.accordion", function() {
- if ( options.disabled ) {
- return;
- }
- $( this ).removeClass( "ui-state-focus" );
- });
-
- self.headers.next()
- .addClass( "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" );
-
- if ( options.navigation ) {
- var current = self.element.find( "a" ).filter( options.navigationFilter ).eq( 0 );
- if ( current.length ) {
- var header = current.closest( ".ui-accordion-header" );
- if ( header.length ) {
- // anchor within header
- self.active = header;
- } else {
- // anchor within content
- self.active = current.closest( ".ui-accordion-content" ).prev();
- }
- }
- }
-
- self.active = self._findActive( self.active || options.active )
- .addClass( "ui-state-default ui-state-active" )
- .toggleClass( "ui-corner-all" )
- .toggleClass( "ui-corner-top" );
- self.active.next().addClass( "ui-accordion-content-active" );
-
- self._createIcons();
- self.resize();
-
- // ARIA
- self.element.attr( "role", "tablist" );
-
- self.headers
- .attr( "role", "tab" )
- .bind( "keydown.accordion", function( event ) {
- return self._keydown( event );
- })
- .next()
- .attr( "role", "tabpanel" );
-
- self.headers
- .not( self.active || "" )
- .attr({
- "aria-expanded": "false",
- "aria-selected": "false",
- tabIndex: -1
- })
- .next()
- .hide();
-
- // make sure at least one header is in the tab order
- if ( !self.active.length ) {
- self.headers.eq( 0 ).attr( "tabIndex", 0 );
- } else {
- self.active
- .attr({
- "aria-expanded": "true",
- "aria-selected": "true",
- tabIndex: 0
- });
- }
-
- // only need links in tab order for Safari
- if ( !$.browser.safari ) {
- self.headers.find( "a" ).attr( "tabIndex", -1 );
- }
-
- if ( options.event ) {
- self.headers.bind( options.event.split(" ").join(".accordion ") + ".accordion", function(event) {
- self._clickHandler.call( self, event, this );
- event.preventDefault();
- });
- }
- },
-
- _createIcons: function() {
- var options = this.options;
- if ( options.icons ) {
- $( "<span></span>" )
- .addClass( "ui-icon " + options.icons.header )
- .prependTo( this.headers );
- this.active.children( ".ui-icon" )
- .toggleClass(options.icons.header)
- .toggleClass(options.icons.headerSelected);
- this.element.addClass( "ui-accordion-icons" );
- }
- },
-
- _destroyIcons: function() {
- this.headers.children( ".ui-icon" ).remove();
- this.element.removeClass( "ui-accordion-icons" );
- },
-
- destroy: function() {
- var options = this.options;
-
- this.element
- .removeClass( "ui-accordion ui-widget ui-helper-reset" )
- .removeAttr( "role" );
-
- this.headers
- .unbind( ".accordion" )
- .removeClass( "ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top" )
- .removeAttr( "role" )
- .removeAttr( "aria-expanded" )
- .removeAttr( "aria-selected" )
- .removeAttr( "tabIndex" );
-
- this.headers.find( "a" ).removeAttr( "tabIndex" );
- this._destroyIcons();
- var contents = this.headers.next()
- .css( "display", "" )
- .removeAttr( "role" )
- .removeClass( "ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled" );
- if ( options.autoHeight || options.fillHeight ) {
- contents.css( "height", "" );
- }
-
- return $.Widget.prototype.destroy.call( this );
- },
-
- _setOption: function( key, value ) {
- $.Widget.prototype._setOption.apply( this, arguments );
-
- if ( key == "active" ) {
- this.activate( value );
- }
- if ( key == "icons" ) {
- this._destroyIcons();
- if ( value ) {
- this._createIcons();
- }
- }
- // #5332 - opacity doesn't cascade to positioned elements in IE
- // so we need to add the disabled class to the headers and panels
- if ( key == "disabled" ) {
- this.headers.add(this.headers.next())
- [ value ? "addClass" : "removeClass" ](
- "ui-accordion-disabled ui-state-disabled" );
- }
- },
-
- _keydown: function( event ) {
- if ( this.options.disabled || event.altKey || event.ctrlKey ) {
- return;
- }
-
- var keyCode = $.ui.keyCode,
- length = this.headers.length,
- currentIndex = this.headers.index( event.target ),
- toFocus = false;
-
- switch ( event.keyCode ) {
- case keyCode.RIGHT:
- case keyCode.DOWN:
- toFocus = this.headers[ ( currentIndex + 1 ) % length ];
- break;
- case keyCode.LEFT:
- case keyCode.UP:
- toFocus = this.headers[ ( currentIndex - 1 + length ) % length ];
- break;
- case keyCode.SPACE:
- case keyCode.ENTER:
- this._clickHandler( { target: event.target }, event.target );
- event.preventDefault();
- }
-
- if ( toFocus ) {
- $( event.target ).attr( "tabIndex", -1 );
- $( toFocus ).attr( "tabIndex", 0 );
- toFocus.focus();
- return false;
- }
-
- return true;
- },
-
- resize: function() {
- var options = this.options,
- maxHeight;
-
- if ( options.fillSpace ) {
- if ( $.browser.msie ) {
- var defOverflow = this.element.parent().css( "overflow" );
- this.element.parent().css( "overflow", "hidden");
- }
- maxHeight = this.element.parent().height();
- if ($.browser.msie) {
- this.element.parent().css( "overflow", defOverflow );
- }
-
- this.headers.each(function() {
- maxHeight -= $( this ).outerHeight( true );
- });
-
- this.headers.next()
- .each(function() {
- $( this ).height( Math.max( 0, maxHeight -
- $( this ).innerHeight() + $( this ).height() ) );
- })
- .css( "overflow", "auto" );
- } else if ( options.autoHeight ) {
- maxHeight = 0;
- this.headers.next()
- .each(function() {
- maxHeight = Math.max( maxHeight, $( this ).height( "" ).height() );
- })
- .height( maxHeight );
- }
-
- return this;
- },
-
- activate: function( index ) {
- // TODO this gets called on init, changing the option without an explicit call for that
- this.options.active = index;
- // call clickHandler with custom event
- var active = this._findActive( index )[ 0 ];
- this._clickHandler( { target: active }, active );
-
- return this;
- },
-
- _findActive: function( selector ) {
- return selector
- ? typeof selector === "number"
- ? this.headers.filter( ":eq(" + selector + ")" )
- : this.headers.not( this.headers.not( selector ) )
- : selector === false
- ? $( [] )
- : this.headers.filter( ":eq(0)" );
- },
-
- // TODO isn't event.target enough? why the separate target argument?
- _clickHandler: function( event, target ) {
- var options = this.options;
- if ( options.disabled ) {
- return;
- }
-
- // called only when using activate(false) to close all parts programmatically
- if ( !event.target ) {
- if ( !options.collapsible ) {
- return;
- }
- this.active
- .removeClass( "ui-state-active ui-corner-top" )
- .addClass( "ui-state-default ui-corner-all" )
- .children( ".ui-icon" )
- .removeClass( options.icons.headerSelected )
- .addClass( options.icons.header );
- this.active.next().addClass( "ui-accordion-content-active" );
- var toHide = this.active.next(),
- data = {
- options: options,
- newHeader: $( [] ),
- oldHeader: options.active,
- newContent: $( [] ),
- oldContent: toHide
- },
- toShow = ( this.active = $( [] ) );
- this._toggle( toShow, toHide, data );
- return;
- }
-
- // get the click target
- var clicked = $( event.currentTarget || target ),
- clickedIsActive = clicked[0] === this.active[0];
-
- // TODO the option is changed, is that correct?
- // TODO if it is correct, shouldn't that happen after determining that the click is valid?
- options.active = options.collapsible && clickedIsActive ?
- false :
- this.headers.index( clicked );
-
- // if animations are still active, or the active header is the target, ignore click
- if ( this.running || ( !options.collapsible && clickedIsActive ) ) {
- return;
- }
-
- // find elements to show and hide
- var active = this.active,
- toShow = clicked.next(),
- toHide = this.active.next(),
- data = {
- options: options,
- newHeader: clickedIsActive && options.collapsible ? $([]) : clicked,
- oldHeader: this.active,
- newContent: clickedIsActive && options.collapsible ? $([]) : toShow,
- oldContent: toHide
- },
- down = this.headers.index( this.active[0] ) > this.headers.index( clicked[0] );
-
- // when the call to ._toggle() comes after the class changes
- // it causes a very odd bug in IE 8 (see #6720)
- this.active = clickedIsActive ? $([]) : clicked;
- this._toggle( toShow, toHide, data, clickedIsActive, down );
-
- // switch classes
- active
- .removeClass( "ui-state-active ui-corner-top" )
- .addClass( "ui-state-default ui-corner-all" )
- .children( ".ui-icon" )
- .removeClass( options.icons.headerSelected )
- .addClass( options.icons.header );
- if ( !clickedIsActive ) {
- clicked
- .removeClass( "ui-state-default ui-corner-all" )
- .addClass( "ui-state-active ui-corner-top" )
- .children( ".ui-icon" )
- .removeClass( options.icons.header )
- .addClass( options.icons.headerSelected );
- clicked
- .next()
- .addClass( "ui-accordion-content-active" );
- }
-
- return;
- },
-
- _toggle: function( toShow, toHide, data, clickedIsActive, down ) {
- var self = this,
- options = self.options;
-
- self.toShow = toShow;
- self.toHide = toHide;
- self.data = data;
-
- var complete = function() {
- if ( !self ) {
- return;
- }
- return self._completed.apply( self, arguments );
- };
-
- // trigger changestart event
- self._trigger( "changestart", null, self.data );
-
- // count elements to animate
- self.running = toHide.size() === 0 ? toShow.size() : toHide.size();
-
- if ( options.animated ) {
- var animOptions = {};
-
- if ( options.collapsible && clickedIsActive ) {
- animOptions = {
- toShow: $( [] ),
- toHide: toHide,
- complete: complete,
- down: down,
- autoHeight: options.autoHeight || options.fillSpace
- };
- } else {
- animOptions = {
- toShow: toShow,
- toHide: toHide,
- complete: complete,
- down: down,
- autoHeight: options.autoHeight || options.fillSpace
- };
- }
-
- if ( !options.proxied ) {
- options.proxied = options.animated;
- }
-
- if ( !options.proxiedDuration ) {
- options.proxiedDuration = options.duration;
- }
-
- options.animated = $.isFunction( options.proxied ) ?
- options.proxied( animOptions ) :
- options.proxied;
-
- options.duration = $.isFunction( options.proxiedDuration ) ?
- options.proxiedDuration( animOptions ) :
- options.proxiedDuration;
-
- var animations = $.ui.accordion.animations,
- duration = options.duration,
- easing = options.animated;
-
- if ( easing && !animations[ easing ] && !$.easing[ easing ] ) {
- easing = "slide";
- }
- if ( !animations[ easing ] ) {
- animations[ easing ] = function( options ) {
- this.slide( options, {
- easing: easing,
- duration: duration || 700
- });
- };
- }
-
- animations[ easing ]( animOptions );
- } else {
- if ( options.collapsible && clickedIsActive ) {
- toShow.toggle();
- } else {
- toHide.hide();
- toShow.show();
- }
-
- complete( true );
- }
-
- // TODO assert that the blur and focus triggers are really necessary, remove otherwise
- toHide.prev()
- .attr({
- "aria-expanded": "false",
- "aria-selected": "false",
- tabIndex: -1
- })
- .blur();
- toShow.prev()
- .attr({
- "aria-expanded": "true",
- "aria-selected": "true",
- tabIndex: 0
- })
- .focus();
- },
-
- _completed: function( cancel ) {
- this.running = cancel ? 0 : --this.running;
- if ( this.running ) {
- return;
- }
-
- if ( this.options.clearStyle ) {
- this.toShow.add( this.toHide ).css({
- height: "",
- overflow: ""
- });
- }
-
- // other classes are removed before the animation; this one needs to stay until completed
- this.toHide.removeClass( "ui-accordion-content-active" );
- // Work around for rendering bug in IE (#5421)
- if ( this.toHide.length ) {
- this.toHide.parent()[0].className = this.toHide.parent()[0].className;
- }
-
- this._trigger( "change", null, this.data );
- }
-});
-
-$.extend( $.ui.accordion, {
- version: "1.8.24",
- animations: {
- slide: function( options, additions ) {
- options = $.extend({
- easing: "swing",
- duration: 300
- }, options, additions );
- if ( !options.toHide.size() ) {
- options.toShow.animate({
- height: "show",
- paddingTop: "show",
- paddingBottom: "show"
- }, options );
- return;
- }
- if ( !options.toShow.size() ) {
- options.toHide.animate({
- height: "hide",
- paddingTop: "hide",
- paddingBottom: "hide"
- }, options );
- return;
- }
- var overflow = options.toShow.css( "overflow" ),
- percentDone = 0,
- showProps = {},
- hideProps = {},
- fxAttrs = [ "height", "paddingTop", "paddingBottom" ],
- originalWidth;
- // fix width before calculating height of hidden element
- var s = options.toShow;
- originalWidth = s[0].style.width;
- s.width( s.parent().width()
- - parseFloat( s.css( "paddingLeft" ) )
- - parseFloat( s.css( "paddingRight" ) )
- - ( parseFloat( s.css( "borderLeftWidth" ) ) || 0 )
- - ( parseFloat( s.css( "borderRightWidth" ) ) || 0 ) );
-
- $.each( fxAttrs, function( i, prop ) {
- hideProps[ prop ] = "hide";
-
- var parts = ( "" + $.css( options.toShow[0], prop ) ).match( /^([\d+-.]+)(.*)$/ );
- showProps[ prop ] = {
- value: parts[ 1 ],
- unit: parts[ 2 ] || "px"
- };
- });
- options.toShow.css({ height: 0, overflow: "hidden" }).show();
- options.toHide
- .filter( ":hidden" )
- .each( options.complete )
- .end()
- .filter( ":visible" )
- .animate( hideProps, {
- step: function( now, settings ) {
- // only calculate the percent when animating height
- // IE gets very inconsistent results when animating elements
- // with small values, which is common for padding
- if ( settings.prop == "height" ) {
- percentDone = ( settings.end - settings.start === 0 ) ? 0 :
- ( settings.now - settings.start ) / ( settings.end - settings.start );
- }
-
- options.toShow[ 0 ].style[ settings.prop ] =
- ( percentDone * showProps[ settings.prop ].value )
- + showProps[ settings.prop ].unit;
- },
- duration: options.duration,
- easing: options.easing,
- complete: function() {
- if ( !options.autoHeight ) {
- options.toShow.css( "height", "" );
- }
- options.toShow.css({
- width: originalWidth,
- overflow: overflow
- });
- options.complete();
- }
- });
- },
- bounceslide: function( options ) {
- this.slide( options, {
- easing: options.down ? "easeOutBounce" : "swing",
- duration: options.down ? 1000 : 200
- });
- }
- }
-});
-
-})( jQuery );
diff --git a/resources/jquery.ui/jquery.ui.autocomplete.js b/resources/jquery.ui/jquery.ui.autocomplete.js
deleted file mode 100644
index 8d69be28..00000000
--- a/resources/jquery.ui/jquery.ui.autocomplete.js
+++ /dev/null
@@ -1,631 +0,0 @@
-/*!
- * jQuery UI Autocomplete 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Autocomplete
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- * jquery.ui.position.js
- */
-(function( $, undefined ) {
-
-// used to prevent race conditions with remote data sources
-var requestIndex = 0;
-
-$.widget( "ui.autocomplete", {
- options: {
- appendTo: "body",
- autoFocus: false,
- delay: 300,
- minLength: 1,
- position: {
- my: "left top",
- at: "left bottom",
- collision: "none"
- },
- source: null
- },
-
- pending: 0,
-
- _create: function() {
- var self = this,
- doc = this.element[ 0 ].ownerDocument,
- suppressKeyPress;
- this.isMultiLine = this.element.is( "textarea" );
-
- this.element
- .addClass( "ui-autocomplete-input" )
- .attr( "autocomplete", "off" )
- // TODO verify these actually work as intended
- .attr({
- role: "textbox",
- "aria-autocomplete": "list",
- "aria-haspopup": "true"
- })
- .bind( "keydown.autocomplete", function( event ) {
- if ( self.options.disabled || self.element.propAttr( "readOnly" ) ) {
- return;
- }
-
- suppressKeyPress = false;
- var keyCode = $.ui.keyCode;
- switch( event.keyCode ) {
- case keyCode.PAGE_UP:
- self._move( "previousPage", event );
- break;
- case keyCode.PAGE_DOWN:
- self._move( "nextPage", event );
- break;
- case keyCode.UP:
- self._keyEvent( "previous", event );
- break;
- case keyCode.DOWN:
- self._keyEvent( "next", event );
- break;
- case keyCode.ENTER:
- case keyCode.NUMPAD_ENTER:
- // when menu is open and has focus
- if ( self.menu.active ) {
- // #6055 - Opera still allows the keypress to occur
- // which causes forms to submit
- suppressKeyPress = true;
- event.preventDefault();
- }
- //passthrough - ENTER and TAB both select the current element
- case keyCode.TAB:
- if ( !self.menu.active ) {
- return;
- }
- self.menu.select( event );
- break;
- case keyCode.ESCAPE:
- self.element.val( self.term );
- self.close( event );
- break;
- default:
- // keypress is triggered before the input value is changed
- clearTimeout( self.searching );
- self.searching = setTimeout(function() {
- // only search if the value has changed
- if ( self.term != self.element.val() ) {
- self.selectedItem = null;
- self.search( null, event );
- }
- }, self.options.delay );
- break;
- }
- })
- .bind( "keypress.autocomplete", function( event ) {
- if ( suppressKeyPress ) {
- suppressKeyPress = false;
- event.preventDefault();
- }
- })
- .bind( "focus.autocomplete", function() {
- if ( self.options.disabled ) {
- return;
- }
-
- self.selectedItem = null;
- self.previous = self.element.val();
- })
- .bind( "blur.autocomplete", function( event ) {
- if ( self.options.disabled ) {
- return;
- }
-
- clearTimeout( self.searching );
- // clicks on the menu (or a button to trigger a search) will cause a blur event
- self.closing = setTimeout(function() {
- self.close( event );
- self._change( event );
- }, 150 );
- });
- this._initSource();
- this.menu = $( "<ul></ul>" )
- .addClass( "ui-autocomplete" )
- .appendTo( $( this.options.appendTo || "body", doc )[0] )
- // prevent the close-on-blur in case of a "slow" click on the menu (long mousedown)
- .mousedown(function( event ) {
- // clicking on the scrollbar causes focus to shift to the body
- // but we can't detect a mouseup or a click immediately afterward
- // so we have to track the next mousedown and close the menu if
- // the user clicks somewhere outside of the autocomplete
- var menuElement = self.menu.element[ 0 ];
- if ( !$( event.target ).closest( ".ui-menu-item" ).length ) {
- setTimeout(function() {
- $( document ).one( 'mousedown', function( event ) {
- if ( event.target !== self.element[ 0 ] &&
- event.target !== menuElement &&
- !$.ui.contains( menuElement, event.target ) ) {
- self.close();
- }
- });
- }, 1 );
- }
-
- // use another timeout to make sure the blur-event-handler on the input was already triggered
- setTimeout(function() {
- clearTimeout( self.closing );
- }, 13);
- })
- .menu({
- focus: function( event, ui ) {
- var item = ui.item.data( "item.autocomplete" );
- if ( false !== self._trigger( "focus", event, { item: item } ) ) {
- // use value to match what will end up in the input, if it was a key event
- if ( /^key/.test(event.originalEvent.type) ) {
- self.element.val( item.value );
- }
- }
- },
- selected: function( event, ui ) {
- var item = ui.item.data( "item.autocomplete" ),
- previous = self.previous;
-
- // only trigger when focus was lost (click on menu)
- if ( self.element[0] !== doc.activeElement ) {
- self.element.focus();
- self.previous = previous;
- // #6109 - IE triggers two focus events and the second
- // is asynchronous, so we need to reset the previous
- // term synchronously and asynchronously :-(
- setTimeout(function() {
- self.previous = previous;
- self.selectedItem = item;
- }, 1);
- }
-
- if ( false !== self._trigger( "select", event, { item: item } ) ) {
- self.element.val( item.value );
- }
- // reset the term after the select event
- // this allows custom select handling to work properly
- self.term = self.element.val();
-
- self.close( event );
- self.selectedItem = item;
- },
- blur: function( event, ui ) {
- // don't set the value of the text field if it's already correct
- // this prevents moving the cursor unnecessarily
- if ( self.menu.element.is(":visible") &&
- ( self.element.val() !== self.term ) ) {
- self.element.val( self.term );
- }
- }
- })
- .zIndex( this.element.zIndex() + 1 )
- // workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
- .css({ top: 0, left: 0 })
- .hide()
- .data( "menu" );
- if ( $.fn.bgiframe ) {
- this.menu.element.bgiframe();
- }
- // turning off autocomplete prevents the browser from remembering the
- // value when navigating through history, so we re-enable autocomplete
- // if the page is unloaded before the widget is destroyed. #7790
- self.beforeunloadHandler = function() {
- self.element.removeAttr( "autocomplete" );
- };
- $( window ).bind( "beforeunload", self.beforeunloadHandler );
- },
-
- destroy: function() {
- this.element
- .removeClass( "ui-autocomplete-input" )
- .removeAttr( "autocomplete" )
- .removeAttr( "role" )
- .removeAttr( "aria-autocomplete" )
- .removeAttr( "aria-haspopup" );
- this.menu.element.remove();
- $( window ).unbind( "beforeunload", this.beforeunloadHandler );
- $.Widget.prototype.destroy.call( this );
- },
-
- _setOption: function( key, value ) {
- $.Widget.prototype._setOption.apply( this, arguments );
- if ( key === "source" ) {
- this._initSource();
- }
- if ( key === "appendTo" ) {
- this.menu.element.appendTo( $( value || "body", this.element[0].ownerDocument )[0] )
- }
- if ( key === "disabled" && value && this.xhr ) {
- this.xhr.abort();
- }
- },
-
- _initSource: function() {
- var self = this,
- array,
- url;
- if ( $.isArray(this.options.source) ) {
- array = this.options.source;
- this.source = function( request, response ) {
- response( $.ui.autocomplete.filter(array, request.term) );
- };
- } else if ( typeof this.options.source === "string" ) {
- url = this.options.source;
- this.source = function( request, response ) {
- if ( self.xhr ) {
- self.xhr.abort();
- }
- self.xhr = $.ajax({
- url: url,
- data: request,
- dataType: "json",
- success: function( data, status ) {
- response( data );
- },
- error: function() {
- response( [] );
- }
- });
- };
- } else {
- this.source = this.options.source;
- }
- },
-
- search: function( value, event ) {
- value = value != null ? value : this.element.val();
-
- // always save the actual value, not the one passed as an argument
- this.term = this.element.val();
-
- if ( value.length < this.options.minLength ) {
- return this.close( event );
- }
-
- clearTimeout( this.closing );
- if ( this._trigger( "search", event ) === false ) {
- return;
- }
-
- return this._search( value );
- },
-
- _search: function( value ) {
- this.pending++;
- this.element.addClass( "ui-autocomplete-loading" );
-
- this.source( { term: value }, this._response() );
- },
-
- _response: function() {
- var that = this,
- index = ++requestIndex;
-
- return function( content ) {
- if ( index === requestIndex ) {
- that.__response( content );
- }
-
- that.pending--;
- if ( !that.pending ) {
- that.element.removeClass( "ui-autocomplete-loading" );
- }
- };
- },
-
- __response: function( content ) {
- if ( !this.options.disabled && content && content.length ) {
- content = this._normalize( content );
- this._suggest( content );
- this._trigger( "open" );
- } else {
- this.close();
- }
- },
-
- close: function( event ) {
- clearTimeout( this.closing );
- if ( this.menu.element.is(":visible") ) {
- this.menu.element.hide();
- this.menu.deactivate();
- this._trigger( "close", event );
- }
- },
-
- _change: function( event ) {
- if ( this.previous !== this.element.val() ) {
- this._trigger( "change", event, { item: this.selectedItem } );
- }
- },
-
- _normalize: function( items ) {
- // assume all items have the right format when the first item is complete
- if ( items.length && items[0].label && items[0].value ) {
- return items;
- }
- return $.map( items, function(item) {
- if ( typeof item === "string" ) {
- return {
- label: item,
- value: item
- };
- }
- return $.extend({
- label: item.label || item.value,
- value: item.value || item.label
- }, item );
- });
- },
-
- _suggest: function( items ) {
- var ul = this.menu.element
- .empty()
- .zIndex( this.element.zIndex() + 1 );
- this._renderMenu( ul, items );
- // TODO refresh should check if the active item is still in the dom, removing the need for a manual deactivate
- this.menu.deactivate();
- this.menu.refresh();
-
- // size and position menu
- ul.show();
- this._resizeMenu();
- ul.position( $.extend({
- of: this.element
- }, this.options.position ));
-
- if ( this.options.autoFocus ) {
- this.menu.next( new $.Event("mouseover") );
- }
- },
-
- _resizeMenu: function() {
- var ul = this.menu.element;
- ul.outerWidth( Math.max(
- // Firefox wraps long text (possibly a rounding bug)
- // so we add 1px to avoid the wrapping (#7513)
- ul.width( "" ).outerWidth() + 1,
- this.element.outerWidth()
- ) );
- },
-
- _renderMenu: function( ul, items ) {
- var self = this;
- $.each( items, function( index, item ) {
- self._renderItem( ul, item );
- });
- },
-
- _renderItem: function( ul, item) {
- return $( "<li></li>" )
- .data( "item.autocomplete", item )
- .append( $( "<a></a>" ).text( item.label ) )
- .appendTo( ul );
- },
-
- _move: function( direction, event ) {
- if ( !this.menu.element.is(":visible") ) {
- this.search( null, event );
- return;
- }
- if ( this.menu.first() && /^previous/.test(direction) ||
- this.menu.last() && /^next/.test(direction) ) {
- this.element.val( this.term );
- this.menu.deactivate();
- return;
- }
- this.menu[ direction ]( event );
- },
-
- widget: function() {
- return this.menu.element;
- },
- _keyEvent: function( keyEvent, event ) {
- if ( !this.isMultiLine || this.menu.element.is( ":visible" ) ) {
- this._move( keyEvent, event );
-
- // prevents moving cursor to beginning/end of the text field in some browsers
- event.preventDefault();
- }
- }
-});
-
-$.extend( $.ui.autocomplete, {
- escapeRegex: function( value ) {
- return value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
- },
- filter: function(array, term) {
- var matcher = new RegExp( $.ui.autocomplete.escapeRegex(term), "i" );
- return $.grep( array, function(value) {
- return matcher.test( value.label || value.value || value );
- });
- }
-});
-
-}( jQuery ));
-
-/*
- * jQuery UI Menu (not officially released)
- *
- * This widget isn't yet finished and the API is subject to change. We plan to finish
- * it for the next release. You're welcome to give it a try anyway and give us feedback,
- * as long as you're okay with migrating your code later on. We can help with that, too.
- *
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Menu
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- */
-(function($) {
-
-$.widget("ui.menu", {
- _create: function() {
- var self = this;
- this.element
- .addClass("ui-menu ui-widget ui-widget-content ui-corner-all")
- .attr({
- role: "listbox",
- "aria-activedescendant": "ui-active-menuitem"
- })
- .click(function( event ) {
- if ( !$( event.target ).closest( ".ui-menu-item a" ).length ) {
- return;
- }
- // temporary
- event.preventDefault();
- self.select( event );
- });
- this.refresh();
- },
-
- refresh: function() {
- var self = this;
-
- // don't refresh list items that are already adapted
- var items = this.element.children("li:not(.ui-menu-item):has(a)")
- .addClass("ui-menu-item")
- .attr("role", "menuitem");
-
- items.children("a")
- .addClass("ui-corner-all")
- .attr("tabindex", -1)
- // mouseenter doesn't work with event delegation
- .mouseenter(function( event ) {
- self.activate( event, $(this).parent() );
- })
- .mouseleave(function() {
- self.deactivate();
- });
- },
-
- activate: function( event, item ) {
- this.deactivate();
- if (this.hasScroll()) {
- var offset = item.offset().top - this.element.offset().top,
- scroll = this.element.scrollTop(),
- elementHeight = this.element.height();
- if (offset < 0) {
- this.element.scrollTop( scroll + offset);
- } else if (offset >= elementHeight) {
- this.element.scrollTop( scroll + offset - elementHeight + item.height());
- }
- }
- this.active = item.eq(0)
- .children("a")
- .addClass("ui-state-hover")
- .attr("id", "ui-active-menuitem")
- .end();
- this._trigger("focus", event, { item: item });
- },
-
- deactivate: function() {
- if (!this.active) { return; }
-
- this.active.children("a")
- .removeClass("ui-state-hover")
- .removeAttr("id");
- this._trigger("blur");
- this.active = null;
- },
-
- next: function(event) {
- this.move("next", ".ui-menu-item:first", event);
- },
-
- previous: function(event) {
- this.move("prev", ".ui-menu-item:last", event);
- },
-
- first: function() {
- return this.active && !this.active.prevAll(".ui-menu-item").length;
- },
-
- last: function() {
- return this.active && !this.active.nextAll(".ui-menu-item").length;
- },
-
- move: function(direction, edge, event) {
- if (!this.active) {
- this.activate(event, this.element.children(edge));
- return;
- }
- var next = this.active[direction + "All"](".ui-menu-item").eq(0);
- if (next.length) {
- this.activate(event, next);
- } else {
- this.activate(event, this.element.children(edge));
- }
- },
-
- // TODO merge with previousPage
- nextPage: function(event) {
- if (this.hasScroll()) {
- // TODO merge with no-scroll-else
- if (!this.active || this.last()) {
- this.activate(event, this.element.children(".ui-menu-item:first"));
- return;
- }
- var base = this.active.offset().top,
- height = this.element.height(),
- result = this.element.children(".ui-menu-item").filter(function() {
- var close = $(this).offset().top - base - height + $(this).height();
- // TODO improve approximation
- return close < 10 && close > -10;
- });
-
- // TODO try to catch this earlier when scrollTop indicates the last page anyway
- if (!result.length) {
- result = this.element.children(".ui-menu-item:last");
- }
- this.activate(event, result);
- } else {
- this.activate(event, this.element.children(".ui-menu-item")
- .filter(!this.active || this.last() ? ":first" : ":last"));
- }
- },
-
- // TODO merge with nextPage
- previousPage: function(event) {
- if (this.hasScroll()) {
- // TODO merge with no-scroll-else
- if (!this.active || this.first()) {
- this.activate(event, this.element.children(".ui-menu-item:last"));
- return;
- }
-
- var base = this.active.offset().top,
- height = this.element.height(),
- result = this.element.children(".ui-menu-item").filter(function() {
- var close = $(this).offset().top - base + height - $(this).height();
- // TODO improve approximation
- return close < 10 && close > -10;
- });
-
- // TODO try to catch this earlier when scrollTop indicates the last page anyway
- if (!result.length) {
- result = this.element.children(".ui-menu-item:first");
- }
- this.activate(event, result);
- } else {
- this.activate(event, this.element.children(".ui-menu-item")
- .filter(!this.active || this.first() ? ":last" : ":first"));
- }
- },
-
- hasScroll: function() {
- return this.element.height() < this.element[ $.fn.prop ? "prop" : "attr" ]("scrollHeight");
- },
-
- select: function( event ) {
- this._trigger("selected", event, { item: this.active });
- }
-});
-
-}(jQuery));
diff --git a/resources/jquery.ui/jquery.ui.button.js b/resources/jquery.ui/jquery.ui.button.js
deleted file mode 100644
index 8326262c..00000000
--- a/resources/jquery.ui/jquery.ui.button.js
+++ /dev/null
@@ -1,414 +0,0 @@
-/*!
- * jQuery UI Button 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Button
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- */
-(function( $, undefined ) {
-
-var lastActive, startXPos, startYPos, clickDragged,
- baseClasses = "ui-button ui-widget ui-state-default ui-corner-all",
- stateClasses = "ui-state-hover ui-state-active ",
- typeClasses = "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",
- formResetHandler = function() {
- var buttons = $( this ).find( ":ui-button" );
- setTimeout(function() {
- buttons.button( "refresh" );
- }, 1 );
- },
- radioGroup = function( radio ) {
- var name = radio.name,
- form = radio.form,
- radios = $( [] );
- if ( name ) {
- if ( form ) {
- radios = $( form ).find( "[name='" + name + "']" );
- } else {
- radios = $( "[name='" + name + "']", radio.ownerDocument )
- .filter(function() {
- return !this.form;
- });
- }
- }
- return radios;
- };
-
-$.widget( "ui.button", {
- options: {
- disabled: null,
- text: true,
- label: null,
- icons: {
- primary: null,
- secondary: null
- }
- },
- _create: function() {
- this.element.closest( "form" )
- .unbind( "reset.button" )
- .bind( "reset.button", formResetHandler );
-
- if ( typeof this.options.disabled !== "boolean" ) {
- this.options.disabled = !!this.element.propAttr( "disabled" );
- } else {
- this.element.propAttr( "disabled", this.options.disabled );
- }
-
- this._determineButtonType();
- this.hasTitle = !!this.buttonElement.attr( "title" );
-
- var self = this,
- options = this.options,
- toggleButton = this.type === "checkbox" || this.type === "radio",
- hoverClass = "ui-state-hover" + ( !toggleButton ? " ui-state-active" : "" ),
- focusClass = "ui-state-focus";
-
- if ( options.label === null ) {
- options.label = this.buttonElement.html();
- }
-
- this.buttonElement
- .addClass( baseClasses )
- .attr( "role", "button" )
- .bind( "mouseenter.button", function() {
- if ( options.disabled ) {
- return;
- }
- $( this ).addClass( "ui-state-hover" );
- if ( this === lastActive ) {
- $( this ).addClass( "ui-state-active" );
- }
- })
- .bind( "mouseleave.button", function() {
- if ( options.disabled ) {
- return;
- }
- $( this ).removeClass( hoverClass );
- })
- .bind( "click.button", function( event ) {
- if ( options.disabled ) {
- event.preventDefault();
- event.stopImmediatePropagation();
- }
- });
-
- this.element
- .bind( "focus.button", function() {
- // no need to check disabled, focus won't be triggered anyway
- self.buttonElement.addClass( focusClass );
- })
- .bind( "blur.button", function() {
- self.buttonElement.removeClass( focusClass );
- });
-
- if ( toggleButton ) {
- this.element.bind( "change.button", function() {
- if ( clickDragged ) {
- return;
- }
- self.refresh();
- });
- // if mouse moves between mousedown and mouseup (drag) set clickDragged flag
- // prevents issue where button state changes but checkbox/radio checked state
- // does not in Firefox (see ticket #6970)
- this.buttonElement
- .bind( "mousedown.button", function( event ) {
- if ( options.disabled ) {
- return;
- }
- clickDragged = false;
- startXPos = event.pageX;
- startYPos = event.pageY;
- })
- .bind( "mouseup.button", function( event ) {
- if ( options.disabled ) {
- return;
- }
- if ( startXPos !== event.pageX || startYPos !== event.pageY ) {
- clickDragged = true;
- }
- });
- }
-
- if ( this.type === "checkbox" ) {
- this.buttonElement.bind( "click.button", function() {
- if ( options.disabled || clickDragged ) {
- return false;
- }
- $( this ).toggleClass( "ui-state-active" );
- self.buttonElement.attr( "aria-pressed", self.element[0].checked );
- });
- } else if ( this.type === "radio" ) {
- this.buttonElement.bind( "click.button", function() {
- if ( options.disabled || clickDragged ) {
- return false;
- }
- $( this ).addClass( "ui-state-active" );
- self.buttonElement.attr( "aria-pressed", "true" );
-
- var radio = self.element[ 0 ];
- radioGroup( radio )
- .not( radio )
- .map(function() {
- return $( this ).button( "widget" )[ 0 ];
- })
- .removeClass( "ui-state-active" )
- .attr( "aria-pressed", "false" );
- });
- } else {
- this.buttonElement
- .bind( "mousedown.button", function() {
- if ( options.disabled ) {
- return false;
- }
- $( this ).addClass( "ui-state-active" );
- lastActive = this;
- $( document ).one( "mouseup", function() {
- lastActive = null;
- });
- })
- .bind( "mouseup.button", function() {
- if ( options.disabled ) {
- return false;
- }
- $( this ).removeClass( "ui-state-active" );
- })
- .bind( "keydown.button", function(event) {
- if ( options.disabled ) {
- return false;
- }
- if ( event.keyCode == $.ui.keyCode.SPACE || event.keyCode == $.ui.keyCode.ENTER ) {
- $( this ).addClass( "ui-state-active" );
- }
- })
- .bind( "keyup.button", function() {
- $( this ).removeClass( "ui-state-active" );
- });
-
- if ( this.buttonElement.is("a") ) {
- this.buttonElement.keyup(function(event) {
- if ( event.keyCode === $.ui.keyCode.SPACE ) {
- // TODO pass through original event correctly (just as 2nd argument doesn't work)
- $( this ).click();
- }
- });
- }
- }
-
- // TODO: pull out $.Widget's handling for the disabled option into
- // $.Widget.prototype._setOptionDisabled so it's easy to proxy and can
- // be overridden by individual plugins
- this._setOption( "disabled", options.disabled );
- this._resetButton();
- },
-
- _determineButtonType: function() {
-
- if ( this.element.is(":checkbox") ) {
- this.type = "checkbox";
- } else if ( this.element.is(":radio") ) {
- this.type = "radio";
- } else if ( this.element.is("input") ) {
- this.type = "input";
- } else {
- this.type = "button";
- }
-
- if ( this.type === "checkbox" || this.type === "radio" ) {
- // we don't search against the document in case the element
- // is disconnected from the DOM
- var ancestor = this.element.parents().filter(":last"),
- labelSelector = "label[for='" + this.element.attr("id") + "']";
- this.buttonElement = ancestor.find( labelSelector );
- if ( !this.buttonElement.length ) {
- ancestor = ancestor.length ? ancestor.siblings() : this.element.siblings();
- this.buttonElement = ancestor.filter( labelSelector );
- if ( !this.buttonElement.length ) {
- this.buttonElement = ancestor.find( labelSelector );
- }
- }
- this.element.addClass( "ui-helper-hidden-accessible" );
-
- var checked = this.element.is( ":checked" );
- if ( checked ) {
- this.buttonElement.addClass( "ui-state-active" );
- }
- this.buttonElement.attr( "aria-pressed", checked );
- } else {
- this.buttonElement = this.element;
- }
- },
-
- widget: function() {
- return this.buttonElement;
- },
-
- destroy: function() {
- this.element
- .removeClass( "ui-helper-hidden-accessible" );
- this.buttonElement
- .removeClass( baseClasses + " " + stateClasses + " " + typeClasses )
- .removeAttr( "role" )
- .removeAttr( "aria-pressed" )
- .html( this.buttonElement.find(".ui-button-text").html() );
-
- if ( !this.hasTitle ) {
- this.buttonElement.removeAttr( "title" );
- }
-
- $.Widget.prototype.destroy.call( this );
- },
-
- _setOption: function( key, value ) {
- $.Widget.prototype._setOption.apply( this, arguments );
- if ( key === "disabled" ) {
- if ( value ) {
- this.element.propAttr( "disabled", true );
- } else {
- this.element.propAttr( "disabled", false );
- }
- return;
- }
- this._resetButton();
- },
-
- refresh: function() {
- var isDisabled = this.element.is( ":disabled" );
- if ( isDisabled !== this.options.disabled ) {
- this._setOption( "disabled", isDisabled );
- }
- if ( this.type === "radio" ) {
- radioGroup( this.element[0] ).each(function() {
- if ( $( this ).is( ":checked" ) ) {
- $( this ).button( "widget" )
- .addClass( "ui-state-active" )
- .attr( "aria-pressed", "true" );
- } else {
- $( this ).button( "widget" )
- .removeClass( "ui-state-active" )
- .attr( "aria-pressed", "false" );
- }
- });
- } else if ( this.type === "checkbox" ) {
- if ( this.element.is( ":checked" ) ) {
- this.buttonElement
- .addClass( "ui-state-active" )
- .attr( "aria-pressed", "true" );
- } else {
- this.buttonElement
- .removeClass( "ui-state-active" )
- .attr( "aria-pressed", "false" );
- }
- }
- },
-
- _resetButton: function() {
- if ( this.type === "input" ) {
- if ( this.options.label ) {
- this.element.val( this.options.label );
- }
- return;
- }
- var buttonElement = this.buttonElement.removeClass( typeClasses ),
- buttonText = $( "<span></span>", this.element[0].ownerDocument )
- .addClass( "ui-button-text" )
- .html( this.options.label )
- .appendTo( buttonElement.empty() )
- .text(),
- icons = this.options.icons,
- multipleIcons = icons.primary && icons.secondary,
- buttonClasses = [];
-
- if ( icons.primary || icons.secondary ) {
- if ( this.options.text ) {
- buttonClasses.push( "ui-button-text-icon" + ( multipleIcons ? "s" : ( icons.primary ? "-primary" : "-secondary" ) ) );
- }
-
- if ( icons.primary ) {
- buttonElement.prepend( "<span class='ui-button-icon-primary ui-icon " + icons.primary + "'></span>" );
- }
-
- if ( icons.secondary ) {
- buttonElement.append( "<span class='ui-button-icon-secondary ui-icon " + icons.secondary + "'></span>" );
- }
-
- if ( !this.options.text ) {
- buttonClasses.push( multipleIcons ? "ui-button-icons-only" : "ui-button-icon-only" );
-
- if ( !this.hasTitle ) {
- buttonElement.attr( "title", buttonText );
- }
- }
- } else {
- buttonClasses.push( "ui-button-text-only" );
- }
- buttonElement.addClass( buttonClasses.join( " " ) );
- }
-});
-
-$.widget( "ui.buttonset", {
- options: {
- items: ":button, :submit, :reset, :checkbox, :radio, a, :data(button)"
- },
-
- _create: function() {
- this.element.addClass( "ui-buttonset" );
- },
-
- _init: function() {
- this.refresh();
- },
-
- _setOption: function( key, value ) {
- if ( key === "disabled" ) {
- this.buttons.button( "option", key, value );
- }
-
- $.Widget.prototype._setOption.apply( this, arguments );
- },
-
- refresh: function() {
- var rtl = this.element.css( "direction" ) === "rtl";
-
- this.buttons = this.element.find( this.options.items )
- .filter( ":ui-button" )
- .button( "refresh" )
- .end()
- .not( ":ui-button" )
- .button()
- .end()
- .map(function() {
- return $( this ).button( "widget" )[ 0 ];
- })
- .removeClass( "ui-corner-all ui-corner-left ui-corner-right" )
- .filter( ":first" )
- .addClass( rtl ? "ui-corner-right" : "ui-corner-left" )
- .end()
- .filter( ":last" )
- .addClass( rtl ? "ui-corner-left" : "ui-corner-right" )
- .end()
- .end();
- },
-
- destroy: function() {
- this.element.removeClass( "ui-buttonset" );
- this.buttons
- .map(function() {
- return $( this ).button( "widget" )[ 0 ];
- })
- .removeClass( "ui-corner-left ui-corner-right" )
- .end()
- .button( "destroy" );
-
- $.Widget.prototype.destroy.call( this );
- }
-});
-
-}( jQuery ) );
diff --git a/resources/jquery.ui/jquery.ui.core.js b/resources/jquery.ui/jquery.ui.core.js
deleted file mode 100644
index b36c1ac4..00000000
--- a/resources/jquery.ui/jquery.ui.core.js
+++ /dev/null
@@ -1,334 +0,0 @@
-/*!
- * jQuery UI 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI
- */
-(function( $, undefined ) {
-
-// prevent duplicate loading
-// this is only a problem because we proxy existing functions
-// and we don't want to double proxy them
-$.ui = $.ui || {};
-if ( $.ui.version ) {
- return;
-}
-
-$.extend( $.ui, {
- version: "1.8.24",
-
- keyCode: {
- ALT: 18,
- BACKSPACE: 8,
- CAPS_LOCK: 20,
- COMMA: 188,
- COMMAND: 91,
- COMMAND_LEFT: 91, // COMMAND
- COMMAND_RIGHT: 93,
- CONTROL: 17,
- DELETE: 46,
- DOWN: 40,
- END: 35,
- ENTER: 13,
- ESCAPE: 27,
- HOME: 36,
- INSERT: 45,
- LEFT: 37,
- MENU: 93, // COMMAND_RIGHT
- NUMPAD_ADD: 107,
- NUMPAD_DECIMAL: 110,
- NUMPAD_DIVIDE: 111,
- NUMPAD_ENTER: 108,
- NUMPAD_MULTIPLY: 106,
- NUMPAD_SUBTRACT: 109,
- PAGE_DOWN: 34,
- PAGE_UP: 33,
- PERIOD: 190,
- RIGHT: 39,
- SHIFT: 16,
- SPACE: 32,
- TAB: 9,
- UP: 38,
- WINDOWS: 91 // COMMAND
- }
-});
-
-// plugins
-$.fn.extend({
- propAttr: $.fn.prop || $.fn.attr,
-
- _focus: $.fn.focus,
- focus: function( delay, fn ) {
- return typeof delay === "number" ?
- this.each(function() {
- var elem = this;
- setTimeout(function() {
- $( elem ).focus();
- if ( fn ) {
- fn.call( elem );
- }
- }, delay );
- }) :
- this._focus.apply( this, arguments );
- },
-
- scrollParent: function() {
- var scrollParent;
- if (($.browser.msie && (/(static|relative)/).test(this.css('position'))) || (/absolute/).test(this.css('position'))) {
- scrollParent = this.parents().filter(function() {
- return (/(relative|absolute|fixed)/).test($.curCSS(this,'position',1)) && (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
- }).eq(0);
- } else {
- scrollParent = this.parents().filter(function() {
- return (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
- }).eq(0);
- }
-
- return (/fixed/).test(this.css('position')) || !scrollParent.length ? $(document) : scrollParent;
- },
-
- zIndex: function( zIndex ) {
- if ( zIndex !== undefined ) {
- return this.css( "zIndex", zIndex );
- }
-
- if ( this.length ) {
- var elem = $( this[ 0 ] ), position, value;
- while ( elem.length && elem[ 0 ] !== document ) {
- // Ignore z-index if position is set to a value where z-index is ignored by the browser
- // This makes behavior of this function consistent across browsers
- // WebKit always returns auto if the element is positioned
- position = elem.css( "position" );
- if ( position === "absolute" || position === "relative" || position === "fixed" ) {
- // IE returns 0 when zIndex is not specified
- // other browsers return a string
- // we ignore the case of nested elements with an explicit value of 0
- // <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
- value = parseInt( elem.css( "zIndex" ), 10 );
- if ( !isNaN( value ) && value !== 0 ) {
- return value;
- }
- }
- elem = elem.parent();
- }
- }
-
- return 0;
- },
-
- disableSelection: function() {
- return this.bind( ( $.support.selectstart ? "selectstart" : "mousedown" ) +
- ".ui-disableSelection", function( event ) {
- event.preventDefault();
- });
- },
-
- enableSelection: function() {
- return this.unbind( ".ui-disableSelection" );
- }
-});
-
-// support: jQuery <1.8
-if ( !$( "<a>" ).outerWidth( 1 ).jquery ) {
- $.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( $.curCSS( elem, "padding" + this, true) ) || 0;
- if ( border ) {
- size -= parseFloat( $.curCSS( elem, "border" + this + "Width", true) ) || 0;
- }
- if ( margin ) {
- size -= parseFloat( $.curCSS( elem, "margin" + this, true) ) || 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" );
- });
- };
- });
-}
-
-// selectors
-function focusable( element, isTabIndexNotNaN ) {
- var nodeName = element.nodeName.toLowerCase();
- if ( "area" === nodeName ) {
- var map = element.parentNode,
- mapName = map.name,
- img;
- if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) {
- return false;
- }
- img = $( "img[usemap=#" + mapName + "]" )[0];
- return !!img && visible( img );
- }
- return ( /input|select|textarea|button|object/.test( nodeName )
- ? !element.disabled
- : "a" == nodeName
- ? element.href || isTabIndexNotNaN
- : isTabIndexNotNaN)
- // the element and all of its ancestors must be visible
- && visible( element );
-}
-
-function visible( element ) {
- return !$( element ).parents().andSelf().filter(function() {
- return $.curCSS( this, "visibility" ) === "hidden" ||
- $.expr.filters.hidden( this );
- }).length;
-}
-
-$.extend( $.expr[ ":" ], {
- data: $.expr.createPseudo ?
- $.expr.createPseudo(function( dataName ) {
- return function( elem ) {
- return !!$.data( elem, dataName );
- };
- }) :
- // support: jQuery <1.8
- function( elem, i, match ) {
- return !!$.data( elem, match[ 3 ] );
- },
-
- focusable: function( element ) {
- return focusable( element, !isNaN( $.attr( element, "tabindex" ) ) );
- },
-
- tabbable: function( element ) {
- var tabIndex = $.attr( element, "tabindex" ),
- isTabIndexNaN = isNaN( tabIndex );
- return ( isTabIndexNaN || tabIndex >= 0 ) && focusable( element, !isTabIndexNaN );
- }
-});
-
-// support
-$(function() {
- var body = document.body,
- div = body.appendChild( div = document.createElement( "div" ) );
-
- // access offsetHeight before setting the style to prevent a layout bug
- // in IE 9 which causes the elemnt to continue to take up space even
- // after it is removed from the DOM (#8026)
- div.offsetHeight;
-
- $.extend( div.style, {
- minHeight: "100px",
- height: "auto",
- padding: 0,
- borderWidth: 0
- });
-
- $.support.minHeight = div.offsetHeight === 100;
- $.support.selectstart = "onselectstart" in div;
-
- // set display to none to avoid a layout bug in IE
- // http://dev.jquery.com/ticket/4014
- body.removeChild( div ).style.display = "none";
-});
-
-// jQuery <1.4.3 uses curCSS, in 1.4.3 - 1.7.2 curCSS = css, 1.8+ only has css
-if ( !$.curCSS ) {
- $.curCSS = $.css;
-}
-
-
-
-
-
-// deprecated
-$.extend( $.ui, {
- // $.ui.plugin is deprecated. Use the proxy pattern instead.
- plugin: {
- add: function( module, option, set ) {
- var proto = $.ui[ module ].prototype;
- for ( var i in set ) {
- proto.plugins[ i ] = proto.plugins[ i ] || [];
- proto.plugins[ i ].push( [ option, set[ i ] ] );
- }
- },
- call: function( instance, name, args ) {
- var set = instance.plugins[ name ];
- if ( !set || !instance.element[ 0 ].parentNode ) {
- return;
- }
-
- for ( var i = 0; i < set.length; i++ ) {
- if ( instance.options[ set[ i ][ 0 ] ] ) {
- set[ i ][ 1 ].apply( instance.element, args );
- }
- }
- }
- },
-
- // will be deprecated when we switch to jQuery 1.4 - use jQuery.contains()
- contains: function( a, b ) {
- return document.compareDocumentPosition ?
- a.compareDocumentPosition( b ) & 16 :
- a !== b && a.contains( b );
- },
-
- // only used by resizable
- hasScroll: function( el, a ) {
-
- //If overflow is hidden, the element might have extra content, but the user wants to hide it
- if ( $( el ).css( "overflow" ) === "hidden") {
- return false;
- }
-
- var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop",
- has = false;
-
- if ( el[ scroll ] > 0 ) {
- return true;
- }
-
- // TODO: determine which cases actually cause this to happen
- // if the element doesn't have the scroll set, see if it's possible to
- // set the scroll
- el[ scroll ] = 1;
- has = ( el[ scroll ] > 0 );
- el[ scroll ] = 0;
- return has;
- },
-
- // these are odd functions, fix the API or move into individual plugins
- isOverAxis: function( x, reference, size ) {
- //Determines when x coordinate is over "b" element axis
- return ( x > reference ) && ( x < ( reference + size ) );
- },
- isOver: function( y, x, top, left, height, width ) {
- //Determines when x, y coordinates is over "b" element
- return $.ui.isOverAxis( y, top, height ) && $.ui.isOverAxis( x, left, width );
- }
-});
-
-})( jQuery );
diff --git a/resources/jquery.ui/jquery.ui.datepicker.js b/resources/jquery.ui/jquery.ui.datepicker.js
deleted file mode 100644
index 1fcea12a..00000000
--- a/resources/jquery.ui/jquery.ui.datepicker.js
+++ /dev/null
@@ -1,1854 +0,0 @@
-/*!
- * jQuery UI Datepicker 1.8.24
- *
- * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Datepicker
- *
- * Depends:
- * jquery.ui.core.js
- */
-(function( $, undefined ) {
-
-$.extend($.ui, { datepicker: { version: "1.8.24" } });
-
-var PROP_NAME = 'datepicker';
-var dpuuid = new Date().getTime();
-var instActive;
-
-/* Date picker manager.
- Use the singleton instance of this class, $.datepicker, to interact with the date picker.
- Settings for (groups of) date pickers are maintained in an instance object,
- allowing multiple different settings on the same page. */
-
-function Datepicker() {
- this.debug = false; // Change this to true to start debugging
- this._curInst = null; // The current instance in use
- this._keyEvent = false; // If the last event was a key event
- this._disabledInputs = []; // List of date picker inputs that have been disabled
- this._datepickerShowing = false; // True if the popup picker is showing , false if not
- this._inDialog = false; // True if showing within a "dialog", false if not
- this._mainDivId = 'ui-datepicker-div'; // The ID of the main datepicker division
- this._inlineClass = 'ui-datepicker-inline'; // The name of the inline marker class
- this._appendClass = 'ui-datepicker-append'; // The name of the append marker class
- this._triggerClass = 'ui-datepicker-trigger'; // The name of the trigger marker class
- this._dialogClass = 'ui-datepicker-dialog'; // The name of the dialog marker class
- this._disableClass = 'ui-datepicker-disabled'; // The name of the disabled covering marker class
- this._unselectableClass = 'ui-datepicker-unselectable'; // The name of the unselectable cell marker class
- this._currentClass = 'ui-datepicker-current-day'; // The name of the current day marker class
- this._dayOverClass = 'ui-datepicker-days-cell-over'; // The name of the day hover marker class
- this.regional = []; // Available regional settings, indexed by language code
- this.regional[''] = { // Default regional settings
- closeText: 'Done', // Display text for close link
- prevText: 'Prev', // Display text for previous month link
- nextText: 'Next', // Display text for next month link
- currentText: 'Today', // Display text for current month link
- monthNames: ['January','February','March','April','May','June',
- 'July','August','September','October','November','December'], // Names of months for drop-down and formatting
- monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], // For formatting
- dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], // For formatting
- dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], // For formatting
- dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column headings for days starting at Sunday
- weekHeader: 'Wk', // Column header for week of the year
- dateFormat: 'mm/dd/yy', // See format options on parseDate
- firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
- isRTL: false, // True if right-to-left language, false if left-to-right
- showMonthAfterYear: false, // True if the year select precedes month, false for month then year
- yearSuffix: '' // Additional text to append to the year in the month headers
- };
- this._defaults = { // Global defaults for all the date picker instances
- showOn: 'focus', // 'focus' for popup on focus,
- // 'button' for trigger button, or 'both' for either
- showAnim: 'fadeIn', // Name of jQuery animation for popup
- showOptions: {}, // Options for enhanced animations
- defaultDate: null, // Used when field is blank: actual date,
- // +/-number for offset from today, null for today
- appendText: '', // Display text following the input box, e.g. showing the format
- buttonText: '...', // Text for trigger button
- buttonImage: '', // URL for trigger button image
- buttonImageOnly: false, // True if the image appears alone, false if it appears on a button
- hideIfNoPrevNext: false, // True to hide next/previous month links
- // if not applicable, false to just disable them
- navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links
- gotoCurrent: false, // True if today link goes back to current selection instead
- changeMonth: false, // True if month can be selected directly, false if only prev/next
- changeYear: false, // True if year can be selected directly, false if only prev/next
- yearRange: 'c-10:c+10', // Range of years to display in drop-down,
- // either relative to today's year (-nn:+nn), relative to currently displayed year
- // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)
- showOtherMonths: false, // True to show dates in other months, false to leave blank
- selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable
- showWeek: false, // True to show week of the year, false to not show it
- calculateWeek: this.iso8601Week, // How to calculate the week of the year,
- // takes a Date and returns the number of the week for it
- shortYearCutoff: '+10', // Short year values < this are in the current century,
- // > this are in the previous century,
- // string value starting with '+' for current year + value
- minDate: null, // The earliest selectable date, or null for no limit
- maxDate: null, // The latest selectable date, or null for no limit
- duration: 'fast', // Duration of display/closure
- beforeShowDay: null, // Function that takes a date and returns an array with
- // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or '',
- // [2] = cell title (optional), e.g. $.datepicker.noWeekends
- beforeShow: null, // Function that takes an input field and
- // returns a set of custom settings for the date picker
- onSelect: null, // Define a callback function when a date is selected
- onChangeMonthYear: null, // Define a callback function when the month or year is changed
- onClose: null, // Define a callback function when the datepicker is closed
- numberOfMonths: 1, // Number of months to show at a time
- showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)
- stepMonths: 1, // Number of months to step back/forward
- stepBigMonths: 12, // Number of months to step back/forward for the big links
- altField: '', // Selector for an alternate field to store selected dates into
- altFormat: '', // The date format to use for the alternate field
- constrainInput: true, // The input is constrained by the current date format
- showButtonPanel: false, // True to show button panel, false to not show it
- autoSize: false, // True to size the input for the date format, false to leave as is
- disabled: false // The initial disabled state
- };
- $.extend(this._defaults, this.regional['']);
- this.dpDiv = bindHover($('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'));
-}
-
-$.extend(Datepicker.prototype, {
- /* Class name added to elements to indicate already configured with a date picker. */
- markerClassName: 'hasDatepicker',
-
- //Keep track of the maximum number of rows displayed (see #7043)
- maxRows: 4,
-
- /* Debug logging (if enabled). */
- log: function () {
- if (this.debug)
- console.log.apply('', arguments);
- },
-
- // TODO rename to "widget" when switching to widget factory
- _widgetDatepicker: function() {
- return this.dpDiv;
- },
-
- /* Override the default settings for all instances of the date picker.
- @param settings object - the new settings to use as defaults (anonymous object)
- @return the manager object */
- setDefaults: function(settings) {
- extendRemove(this._defaults, settings || {});
- return this;
- },
-
- /* Attach the date picker to a jQuery selection.
- @param target element - the target input field or division or span
- @param settings object - the new settings to use for this date picker instance (anonymous) */
- _attachDatepicker: function(target, settings) {
- // check for settings on the control itself - in namespace 'date:'
- var inlineSettings = null;
- for (var attrName in this._defaults) {
- var attrValue = target.getAttribute('date:' + attrName);
- if (attrValue) {
- inlineSettings = inlineSettings || {};
- try {
- inlineSettings[attrName] = eval(attrValue);
- } catch (err) {
- inlineSettings[attrName] = attrValue;
- }
- }
- }
- var nodeName = target.nodeName.toLowerCase();
- var inline = (nodeName == 'div' || nodeName == 'span');
- if (!target.id) {
- this.uuid += 1;
- target.id = 'dp' + this.uuid;
- }
- var inst = this._newInst($(target), inline);
- inst.settings = $.extend({}, settings || {}, inlineSettings || {});
- if (nodeName == 'input') {
- this._connectDatepicker(target, inst);
- } else if (inline) {
- this._inlineDatepicker(target, inst);
- }
- },
-
- /* Create a new instance object. */
- _newInst: function(target, inline) {
- var id = target[0].id.replace(/([^A-Za-z0-9_-])/g, '\\\\$1'); // escape jQuery meta chars
- return {id: id, input: target, // associated target
- selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
- drawMonth: 0, drawYear: 0, // month being drawn
- inline: inline, // is datepicker inline or not
- dpDiv: (!inline ? this.dpDiv : // presentation div
- bindHover($('<div class="' + this._inlineClass + ' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')))};
- },
-
- /* Attach the date picker to an input field. */
- _connectDatepicker: function(target, inst) {
- var input = $(target);
- inst.append = $([]);
- inst.trigger = $([]);
- if (input.hasClass(this.markerClassName))
- return;
- this._attachments(input, inst);
- input.addClass(this.markerClassName).keydown(this._doKeyDown).
- keypress(this._doKeyPress).keyup(this._doKeyUp).
- bind("setData.datepicker", function(event, key, value) {
- inst.settings[key] = value;
- }).bind("getData.datepicker", function(event, key) {
- return this._get(inst, key);
- });
- this._autoSize(inst);
- $.data(target, PROP_NAME, inst);
- //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)
- if( inst.settings.disabled ) {
- this._disableDatepicker( target );
- }
- },
-
- /* Make attachments based on settings. */
- _attachments: function(input, inst) {
- var appendText = this._get(inst, 'appendText');
- var isRTL = this._get(inst, 'isRTL');
- if (inst.append)
- inst.append.remove();
- if (appendText) {
- inst.append = $('<span class="' + this._appendClass + '">' + appendText + '</span>');
- input[isRTL ? 'before' : 'after'](inst.append);
- }
- input.unbind('focus', this._showDatepicker);
- if (inst.trigger)
- inst.trigger.remove();
- var showOn = this._get(inst, 'showOn');
- if (showOn == 'focus' || showOn == 'both') // pop-up date picker when in the marked field
- input.focus(this._showDatepicker);
- if (showOn == 'button' || showOn == 'both') { // pop-up date picker when button clicked
- var buttonText = this._get(inst, 'buttonText');
- var buttonImage = this._get(inst, 'buttonImage');
- inst.trigger = $(this._get(inst, 'buttonImageOnly') ?
- $('<img/>').addClass(this._triggerClass).
- attr({ src: buttonImage, alt: buttonText, title: buttonText }) :
- $('<button type="button"></button>').addClass(this._triggerClass).
- html(buttonImage == '' ? buttonText : $('<img/>').attr(
- { src:buttonImage, alt:buttonText, title:buttonText })));
- input[isRTL ? 'before' : 'after'](inst.trigger);
- inst.trigger.click(function() {
- if ($.datepicker._datepickerShowing && $.datepicker._lastInput == input[0])
- $.datepicker._hideDatepicker();
- else if ($.datepicker._datepickerShowing && $.datepicker._lastInput != input[0]) {
- $.datepicker._hideDatepicker();
- $.datepicker._showDatepicker(input[0]);
- } else
- $.datepicker._showDatepicker(input[0]);
- return false;
- });
- }
- },
-
- /* Apply the maximum length for the date format. */
- _autoSize: function(inst) {
- if (this._get(inst, 'autoSize') && !inst.inline) {
- var date = new Date(2009, 12 - 1, 20); // Ensure double digits
- var dateFormat = this._get(inst, 'dateFormat');
- if (dateFormat.match(/[DM]/)) {
- var findMax = function(names) {
- var max = 0;
- var maxI = 0;
- for (var i = 0; i < names.length; i++) {
- if (names[i].length > max) {
- max = names[i].length;
- maxI = i;
- }
- }
- return maxI;
- };
- date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ?
- 'monthNames' : 'monthNamesShort'))));
- date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
- 'dayNames' : 'dayNamesShort'))) + 20 - date.getDay());
- }
- inst.input.attr('size', this._formatDate(inst, date).length);
- }
- },
-
- /* Attach an inline date picker to a div. */
- _inlineDatepicker: function(target, inst) {
- var divSpan = $(target);
- if (divSpan.hasClass(this.markerClassName))
- return;
- divSpan.addClass(this.markerClassName).append(inst.dpDiv).
- bind("setData.datepicker", function(event, key, value){
- inst.settings[key] = value;
- }).bind("getData.datepicker", function(event, key){
- return this._get(inst, key);
- });
- $.data(target, PROP_NAME, inst);
- this._setDate(inst, this._getDefaultDate(inst), true);
- this._updateDatepicker(inst);
- this._updateAlternate(inst);
- //If disabled option is true, disable the datepicker before showing it (see ticket #5665)
- if( inst.settings.disabled ) {
- this._disableDatepicker( target );
- }
- // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements
- // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height
- inst.dpDiv.css( "display", "block" );
- },
-
- /* Pop-up the date picker in a "dialog" box.
- @param input element - ignored
- @param date string or Date - the initial date to display
- @param onSelect function - the function to call when a date is selected
- @param settings object - update the dialog date picker instance's settings (anonymous object)
- @param pos int[2] - coordinates for the dialog's position within the screen or
- event - with x/y coordinates or
- leave empty for default (screen centre)
- @return the manager object */
- _dialogDatepicker: function(input, date, onSelect, settings, pos) {
- var inst = this._dialogInst; // internal instance
- if (!inst) {
- this.uuid += 1;
- var id = 'dp' + this.uuid;
- this._dialogInput = $('<input type="text" id="' + id +
- '" style="position: absolute; top: -100px; width: 0px;"/>');
- this._dialogInput.keydown(this._doKeyDown);
- $('body').append(this._dialogInput);
- inst = this._dialogInst = this._newInst(this._dialogInput, false);
- inst.settings = {};
- $.data(this._dialogInput[0], PROP_NAME, inst);
- }
- extendRemove(inst.settings, settings || {});
- date = (date && date.constructor == Date ? this._formatDate(inst, date) : date);
- this._dialogInput.val(date);
-
- this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null);
- if (!this._pos) {
- var browserWidth = document.documentElement.clientWidth;
- var browserHeight = document.documentElement.clientHeight;
- var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
- var scrollY = document.documentElement.scrollTop || document.body.scrollTop;
- this._pos = // should use actual width/height below
- [(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY];
- }
-
- // move input on screen for focus, but hidden behind dialog
- this._dialogInput.css('left', (this._pos[0] + 20) + 'px').css('top', this._pos[1] + 'px');
- inst.settings.onSelect = onSelect;
- this._inDialog = true;
- this.dpDiv.addClass(this._dialogClass);
- this._showDatepicker(this._dialogInput[0]);
- if ($.blockUI)
- $.blockUI(this.dpDiv);
- $.data(this._dialogInput[0], PROP_NAME, inst);
- return this;
- },
-
- /* Detach a datepicker from its control.
- @param target element - the target input field or division or span */
- _destroyDatepicker: function(target) {
- var $target = $(target);
- var inst = $.data(target, PROP_NAME);
- if (!$target.hasClass(this.markerClassName)) {
- return;
- }
- var nodeName = target.nodeName.toLowerCase();
- $.removeData(target, PROP_NAME);
- if (nodeName == 'input') {
- inst.append.remove();
- inst.trigger.remove();
- $target.removeClass(this.markerClassName).
- unbind('focus', this._showDatepicker).
- unbind('keydown', this._doKeyDown).
- unbind('keypress', this._doKeyPress).
- unbind('keyup', this._doKeyUp);
- } else if (nodeName == 'div' || nodeName == 'span')
- $target.removeClass(this.markerClassName).empty();
- },
-
- /* Enable the date picker to a jQuery selection.
- @param target element - the target input field or division or span */
- _enableDatepicker: function(target) {
- var $target = $(target);
- var inst = $.data(target, PROP_NAME);
- if (!$target.hasClass(this.markerClassName)) {
- return;
- }
- var nodeName = target.nodeName.toLowerCase();
- if (nodeName == 'input') {
- target.disabled = false;
- inst.trigger.filter('button').
- each(function() { this.disabled = false; }).end().
- filter('img').css({opacity: '1.0', cursor: ''});
- }
- else if (nodeName == 'div' || nodeName == 'span') {
- var inline = $target.children('.' + this._inlineClass);
- inline.children().removeClass('ui-state-disabled');
- inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
- removeAttr("disabled");
- }
- this._disabledInputs = $.map(this._disabledInputs,
- function(value) { return (value == target ? null : value); }); // delete entry
- },
-
- /* Disable the date picker to a jQuery selection.
- @param target element - the target input field or division or span */
- _disableDatepicker: function(target) {
- var $target = $(target);
- var inst = $.data(target, PROP_NAME);
- if (!$target.hasClass(this.markerClassName)) {
- return;
- }
- var nodeName = target.nodeName.toLowerCase();
- if (nodeName == 'input') {
- target.disabled = true;
- inst.trigger.filter('button').
- each(function() { this.disabled = true; }).end().
- filter('img').css({opacity: '0.5', cursor: 'default'});
- }
- else if (nodeName == 'div' || nodeName == 'span') {
- var inline = $target.children('.' + this._inlineClass);
- inline.children().addClass('ui-state-disabled');
- inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
- attr("disabled", "disabled");
- }
- this._disabledInputs = $.map(this._disabledInputs,
- function(value) { return (value == target ? null : value); }); // delete entry
- this._disabledInputs[this._disabledInputs.length] = target;
- },
-
- /* Is the first field in a jQuery collection disabled as a datepicker?
- @param target element - the target input field or division or span
- @return boolean - true if disabled, false if enabled */
- _isDisabledDatepicker: function(target) {
- if (!target) {
- return false;
- }
- for (var i = 0; i < this._disabledInputs.length; i++) {
- if (this._disabledInputs[i] == target)
- return true;
- }
- return false;
- },
-
- /* Retrieve the instance data for the target control.
- @param target element - the target input field or division or span
- @return object - the associated instance data
- @throws error if a jQuery problem getting data */
- _getInst: function(target) {
- try {
- return $.data(target, PROP_NAME);
- }
- catch (err) {
- throw 'Missing instance data for this datepicker';
- }
- },
-
- /* Update or retrieve the settings for a date picker attached to an input field or division.
- @param target element - the target input field or division or span
- @param name object - the new settings to update or
- string - the name of the setting to change or retrieve,
- when retrieving also 'all' for all instance settings or
- 'defaults' for all global defaults
- @param value any - the new value for the setting
- (omit if above is an object or to retrieve a value) */
- _optionDatepicker: function(target, name, value) {
- var inst = this._getInst(target);
- if (arguments.length == 2 && typeof name == 'string') {
- return (name == 'defaults' ? $.extend({}, $.datepicker._defaults) :
- (inst ? (name == 'all' ? $.extend({}, inst.settings) :
- this._get(inst, name)) : null));
- }
- var settings = name || {};
- if (typeof name == 'string') {
- settings = {};
- settings[name] = value;
- }
- if (inst) {
- if (this._curInst == inst) {
- this._hideDatepicker();
- }
- var date = this._getDateDatepicker(target, true);
- var minDate = this._getMinMaxDate(inst, 'min');
- var maxDate = this._getMinMaxDate(inst, 'max');
- extendRemove(inst.settings, settings);
- // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided
- if (minDate !== null && settings['dateFormat'] !== undefined && settings['minDate'] === undefined)
- inst.settings.minDate = this._formatDate(inst, minDate);
- if (maxDate !== null && settings['dateFormat'] !== undefined && settings['maxDate'] === undefined)
- inst.settings.maxDate = this._formatDate(inst, maxDate);
- this._attachments($(target), inst);
- this._autoSize(inst);
- this._setDate(inst, date);
- this._updateAlternate(inst);
- this._updateDatepicker(inst);
- }
- },
-
- // change method deprecated
- _changeDatepicker: function(target, name, value) {
- this._optionDatepicker(target, name, value);
- },
-
- /* Redraw the date picker attached to an input field or division.
- @param target element - the target input field or division or span */
- _refreshDatepicker: function(target) {
- var inst = this._getInst(target);
- if (inst) {
- this._updateDatepicker(inst);
- }
- },
-
- /* Set the dates for a jQuery selection.
- @param target element - the target input field or division or span
- @param date Date - the new date */
- _setDateDatepicker: function(target, date) {
- var inst = this._getInst(target);
- if (inst) {
- this._setDate(inst, date);
- this._updateDatepicker(inst);
- this._updateAlternate(inst);
- }
- },
-
- /* Get the date(s) for the first entry in a jQuery selection.
- @param target element - the target input field or division or span
- @param noDefault boolean - true if no default date is to be used
- @return Date - the current date */
- _getDateDatepicker: function(target, noDefault) {
- var inst = this._getInst(target);
- if (inst && !inst.inline)
- this._setDateFromField(inst, noDefault);
- return (inst ? this._getDate(inst) : null);
- },
-
- /* Handle keystrokes. */
- _doKeyDown: function(event) {
- var inst = $.datepicker._getInst(event.target);
- var handled = true;
- var isRTL = inst.dpDiv.is('.ui-datepicker-rtl');
- inst._keyEvent = true;
- if ($.datepicker._datepickerShowing)
- switch (event.keyCode) {
- case 9: $.datepicker._hideDatepicker();
- handled = false;
- break; // hide on tab out
- case 13: var sel = $('td.' + $.datepicker._dayOverClass + ':not(.' +
- $.datepicker._currentClass + ')', inst.dpDiv);
- if (sel[0])
- $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]);
- var onSelect = $.datepicker._get(inst, 'onSelect');
- if (onSelect) {
- var dateStr = $.datepicker._formatDate(inst);
-
- // trigger custom callback
- onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]);
- }
- else
- $.datepicker._hideDatepicker();
- return false; // don't submit the form
- break; // select the value on enter
- case 27: $.datepicker._hideDatepicker();
- break; // hide on escape
- case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
- -$.datepicker._get(inst, 'stepBigMonths') :
- -$.datepicker._get(inst, 'stepMonths')), 'M');
- break; // previous month/year on page up/+ ctrl
- case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
- +$.datepicker._get(inst, 'stepBigMonths') :
- +$.datepicker._get(inst, 'stepMonths')), 'M');
- break; // next month/year on page down/+ ctrl
- case 35: if (event.ctrlKey || event.metaKey) $.datepicker._clearDate(event.target);
- handled = event.ctrlKey || event.metaKey;
- break; // clear on ctrl or command +end
- case 36: if (event.ctrlKey || event.metaKey) $.datepicker._gotoToday(event.target);
- handled = event.ctrlKey || event.metaKey;
- break; // current on ctrl or command +home
- case 37: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), 'D');
- handled = event.ctrlKey || event.metaKey;
- // -1 day on ctrl or command +left
- if (event.originalEvent.altKey) $.datepicker._adjustDate(event.target, (event.ctrlKey ?
- -$.datepicker._get(inst, 'stepBigMonths') :
- -$.datepicker._get(inst, 'stepMonths')), 'M');
- // next month/year on alt +left on Mac
- break;
- case 38: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, -7, 'D');
- handled = event.ctrlKey || event.metaKey;
- break; // -1 week on ctrl or command +up
- case 39: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), 'D');
- handled = event.ctrlKey || event.metaKey;
- // +1 day on ctrl or command +right
- if (event.originalEvent.altKey) $.datepicker._adjustDate(event.target, (event.ctrlKey ?
- +$.datepicker._get(inst, 'stepBigMonths') :
- +$.datepicker._get(inst, 'stepMonths')), 'M');
- // next month/year on alt +right
- break;
- case 40: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, +7, 'D');
- handled = event.ctrlKey || event.metaKey;
- break; // +1 week on ctrl or command +down
- default: handled = false;
- }
- else if (event.keyCode == 36 && event.ctrlKey) // display the date picker on ctrl+home
- $.datepicker._showDatepicker(this);
- else {
- handled = false;
- }
- if (handled) {
- event.preventDefault();
- event.stopPropagation();
- }
- },
-
- /* Filter entered characters - based on date format. */
- _doKeyPress: function(event) {
- var inst = $.datepicker._getInst(event.target);
- if ($.datepicker._get(inst, 'constrainInput')) {
- var chars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat'));
- var chr = String.fromCharCode(event.charCode == undefined ? event.keyCode : event.charCode);
- return event.ctrlKey || event.metaKey || (chr < ' ' || !chars || chars.indexOf(chr) > -1);
- }
- },
-
- /* Synchronise manual entry and field/alternate field. */
- _doKeyUp: function(event) {
- var inst = $.datepicker._getInst(event.target);
- if (inst.input.val() != inst.lastVal) {
- try {
- var date = $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
- (inst.input ? inst.input.val() : null),
- $.datepicker._getFormatConfig(inst));
- if (date) { // only if valid
- $.datepicker._setDateFromField(inst);
- $.datepicker._updateAlternate(inst);
- $.datepicker._updateDatepicker(inst);
- }
- }
- catch (err) {
- $.datepicker.log(err);
- }
- }
- return true;
- },
-
- /* Pop-up the date picker for a given input field.
- If false returned from beforeShow event handler do not show.
- @param input element - the input field attached to the date picker or
- event - if triggered by focus */
- _showDatepicker: function(input) {
- input = input.target || input;
- if (input.nodeName.toLowerCase() != 'input') // find from button/image trigger
- input = $('input', input.parentNode)[0];
- if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput == input) // already here
- return;
- var inst = $.datepicker._getInst(input);
- if ($.datepicker._curInst && $.datepicker._curInst != inst) {
- $.datepicker._curInst.dpDiv.stop(true, true);
- if ( inst && $.datepicker._datepickerShowing ) {
- $.datepicker._hideDatepicker( $.datepicker._curInst.input[0] );
- }
- }
- var beforeShow = $.datepicker._get(inst, 'beforeShow');
- var beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {};
- if(beforeShowSettings === false){
- //false
- return;
- }
- extendRemove(inst.settings, beforeShowSettings);
- inst.lastVal = null;
- $.datepicker._lastInput = input;
- $.datepicker._setDateFromField(inst);
- if ($.datepicker._inDialog) // hide cursor
- input.value = '';
- if (!$.datepicker._pos) { // position below input
- $.datepicker._pos = $.datepicker._findPos(input);
- $.datepicker._pos[1] += input.offsetHeight; // add the height
- }
- var isFixed = false;
- $(input).parents().each(function() {
- isFixed |= $(this).css('position') == 'fixed';
- return !isFixed;
- });
- if (isFixed && $.browser.opera) { // correction for Opera when fixed and scrolled
- $.datepicker._pos[0] -= document.documentElement.scrollLeft;
- $.datepicker._pos[1] -= document.documentElement.scrollTop;
- }
- var offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};
- $.datepicker._pos = null;
- //to avoid flashes on Firefox
- inst.dpDiv.empty();
- // determine sizing offscreen
- inst.dpDiv.css({position: 'absolute', display: 'block', top: '-1000px'});
- $.datepicker._updateDatepicker(inst);
- // fix width for dynamic number of date pickers
- // and adjust position before showing
- offset = $.datepicker._checkOffset(inst, offset, isFixed);
- inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ?
- 'static' : (isFixed ? 'fixed' : 'absolute')), display: 'none',
- left: offset.left + 'px', top: offset.top + 'px'});
- if (!inst.inline) {
- var showAnim = $.datepicker._get(inst, 'showAnim');
- var duration = $.datepicker._get(inst, 'duration');
- var postProcess = function() {
- var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only
- if( !! cover.length ){
- var borders = $.datepicker._getBorders(inst.dpDiv);
- cover.css({left: -borders[0], top: -borders[1],
- width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()});
- }
- };
- inst.dpDiv.zIndex($(input).zIndex()+1);
- $.datepicker._datepickerShowing = true;
- if ($.effects && $.effects[showAnim])
- inst.dpDiv.show(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);
- else
- inst.dpDiv[showAnim || 'show']((showAnim ? duration : null), postProcess);
- if (!showAnim || !duration)
- postProcess();
- if (inst.input.is(':visible') && !inst.input.is(':disabled'))
- inst.input.focus();
- $.datepicker._curInst = inst;
- }
- },
-
- /* Generate the date picker content. */
- _updateDatepicker: function(inst) {
- var self = this;
- self.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
- var borders = $.datepicker._getBorders(inst.dpDiv);
- instActive = inst; // for delegate hover events
- inst.dpDiv.empty().append(this._generateHTML(inst));
- this._attachHandlers(inst);
- var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only
- if( !!cover.length ){ //avoid call to outerXXXX() when not in IE6
- cover.css({left: -borders[0], top: -borders[1], width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()})
- }
- inst.dpDiv.find('.' + this._dayOverClass + ' a').mouseover();
- var numMonths = this._getNumberOfMonths(inst);
- var cols = numMonths[1];
- var width = 17;
- inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width('');
- if (cols > 1)
- inst.dpDiv.addClass('ui-datepicker-multi-' + cols).css('width', (width * cols) + 'em');
- inst.dpDiv[(numMonths[0] != 1 || numMonths[1] != 1 ? 'add' : 'remove') +
- 'Class']('ui-datepicker-multi');
- inst.dpDiv[(this._get(inst, 'isRTL') ? 'add' : 'remove') +
- 'Class']('ui-datepicker-rtl');
- if (inst == $.datepicker._curInst && $.datepicker._datepickerShowing && inst.input &&
- // #6694 - don't focus the input if it's already focused
- // this breaks the change event in IE
- inst.input.is(':visible') && !inst.input.is(':disabled') && inst.input[0] != document.activeElement)
- inst.input.focus();
- // deffered render of the years select (to avoid flashes on Firefox)
- if( inst.yearshtml ){
- var origyearshtml = inst.yearshtml;
- setTimeout(function(){
- //assure that inst.yearshtml didn't change.
- if( origyearshtml === inst.yearshtml && inst.yearshtml ){
- inst.dpDiv.find('select.ui-datepicker-year:first').replaceWith(inst.yearshtml);
- }
- origyearshtml = inst.yearshtml = null;
- }, 0);
- }
- },
-
- /* Retrieve the size of left and top borders for an element.
- @param elem (jQuery object) the element of interest
- @return (number[2]) the left and top borders */
- _getBorders: function(elem) {
- var convert = function(value) {
- return {thin: 1, medium: 2, thick: 3}[value] || value;
- };
- return [parseFloat(convert(elem.css('border-left-width'))),
- parseFloat(convert(elem.css('border-top-width')))];
- },
-
- /* Check positioning to remain on screen. */
- _checkOffset: function(inst, offset, isFixed) {
- var dpWidth = inst.dpDiv.outerWidth();
- var dpHeight = inst.dpDiv.outerHeight();
- var inputWidth = inst.input ? inst.input.outerWidth() : 0;
- var inputHeight = inst.input ? inst.input.outerHeight() : 0;
- var viewWidth = document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft());
- var viewHeight = document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop());
-
- offset.left -= (this._get(inst, 'isRTL') ? (dpWidth - inputWidth) : 0);
- offset.left -= (isFixed && offset.left == inst.input.offset().left) ? $(document).scrollLeft() : 0;
- offset.top -= (isFixed && offset.top == (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0;
-
- // now check if datepicker is showing outside window viewport - move to a better place if so.
- offset.left -= Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?
- Math.abs(offset.left + dpWidth - viewWidth) : 0);
- offset.top -= Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?
- Math.abs(dpHeight + inputHeight) : 0);
-
- return offset;
- },
-
- /* Find an object's position on the screen. */
- _findPos: function(obj) {
- var inst = this._getInst(obj);
- var isRTL = this._get(inst, 'isRTL');
- while (obj && (obj.type == 'hidden' || obj.nodeType != 1 || $.expr.filters.hidden(obj))) {
- obj = obj[isRTL ? 'previousSibling' : 'nextSibling'];
- }
- var position = $(obj).offset();
- return [position.left, position.top];
- },
-
- /* Hide the date picker from view.
- @param input element - the input field attached to the date picker */
- _hideDatepicker: function(input) {
- var inst = this._curInst;
- if (!inst || (input && inst != $.data(input, PROP_NAME)))
- return;
- if (this._datepickerShowing) {
- var showAnim = this._get(inst, 'showAnim');
- var duration = this._get(inst, 'duration');
- var postProcess = function() {
- $.datepicker._tidyDialog(inst);
- };
- if ($.effects && $.effects[showAnim])
- inst.dpDiv.hide(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);
- else
- inst.dpDiv[(showAnim == 'slideDown' ? 'slideUp' :
- (showAnim == 'fadeIn' ? 'fadeOut' : 'hide'))]((showAnim ? duration : null), postProcess);
- if (!showAnim)
- postProcess();
- this._datepickerShowing = false;
- var onClose = this._get(inst, 'onClose');
- if (onClose)
- onClose.apply((inst.input ? inst.input[0] : null),
- [(inst.input ? inst.input.val() : ''), inst]);
- this._lastInput = null;
- if (this._inDialog) {
- this._dialogInput.css({ position: 'absolute', left: '0', top: '-100px' });
- if ($.blockUI) {
- $.unblockUI();
- $('body').append(this.dpDiv);
- }
- }
- this._inDialog = false;
- }
- },
-
- /* Tidy up after a dialog display. */
- _tidyDialog: function(inst) {
- inst.dpDiv.removeClass(this._dialogClass).unbind('.ui-datepicker-calendar');
- },
-
- /* Close date picker if clicked elsewhere. */
- _checkExternalClick: function(event) {
- if (!$.datepicker._curInst)
- return;
-
- var $target = $(event.target),
- inst = $.datepicker._getInst($target[0]);
-
- if ( ( ( $target[0].id != $.datepicker._mainDivId &&
- $target.parents('#' + $.datepicker._mainDivId).length == 0 &&
- !$target.hasClass($.datepicker.markerClassName) &&
- !$target.closest("." + $.datepicker._triggerClass).length &&
- $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
- ( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst != inst ) )
- $.datepicker._hideDatepicker();
- },
-
- /* Adjust one of the date sub-fields. */
- _adjustDate: function(id, offset, period) {
- var target = $(id);
- var inst = this._getInst(target[0]);
- if (this._isDisabledDatepicker(target[0])) {
- return;
- }
- this._adjustInstDate(inst, offset +
- (period == 'M' ? this._get(inst, 'showCurrentAtPos') : 0), // undo positioning
- period);
- this._updateDatepicker(inst);
- },
-
- /* Action for current link. */
- _gotoToday: function(id) {
- var target = $(id);
- var inst = this._getInst(target[0]);
- if (this._get(inst, 'gotoCurrent') && inst.currentDay) {
- inst.selectedDay = inst.currentDay;
- inst.drawMonth = inst.selectedMonth = inst.currentMonth;
- inst.drawYear = inst.selectedYear = inst.currentYear;
- }
- else {
- var date = new Date();
- inst.selectedDay = date.getDate();
- inst.drawMonth = inst.selectedMonth = date.getMonth();
- inst.drawYear = inst.selectedYear = date.getFullYear();
- }
- this._notifyChange(inst);
- this._adjustDate(target);
- },
-
- /* Action for selecting a new month/year. */
- _selectMonthYear: function(id, select, period) {
- var target = $(id);
- var inst = this._getInst(target[0]);
- inst['selected' + (period == 'M' ? 'Month' : 'Year')] =
- inst['draw' + (period == 'M' ? 'Month' : 'Year')] =
- parseInt(select.options[select.selectedIndex].value,10);
- this._notifyChange(inst);
- this._adjustDate(target);
- },
-
- /* Action for selecting a day. */
- _selectDay: function(id, month, year, td) {
- var target = $(id);
- if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) {
- return;
- }
- var inst = this._getInst(target[0]);
- inst.selectedDay = inst.currentDay = $('a', td).html();
- inst.selectedMonth = inst.currentMonth = month;
- inst.selectedYear = inst.currentYear = year;
- this._selectDate(id, this._formatDate(inst,
- inst.currentDay, inst.currentMonth, inst.currentYear));
- },
-
- /* Erase the input field and hide the date picker. */
- _clearDate: function(id) {
- var target = $(id);
- var inst = this._getInst(target[0]);
- this._selectDate(target, '');
- },
-
- /* Update the input field with the selected date. */
- _selectDate: function(id, dateStr) {
- var target = $(id);
- var inst = this._getInst(target[0]);
- dateStr = (dateStr != null ? dateStr : this._formatDate(inst));
- if (inst.input)
- inst.input.val(dateStr);
- this._updateAlternate(inst);
- var onSelect = this._get(inst, 'onSelect');
- if (onSelect)
- onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback
- else if (inst.input)
- inst.input.trigger('change'); // fire the change event
- if (inst.inline)
- this._updateDatepicker(inst);
- else {
- this._hideDatepicker();
- this._lastInput = inst.input[0];
- if (typeof(inst.input[0]) != 'object')
- inst.input.focus(); // restore focus
- this._lastInput = null;
- }
- },
-
- /* Update any alternate field to synchronise with the main field. */
- _updateAlternate: function(inst) {
- var altField = this._get(inst, 'altField');
- if (altField) { // update alternate field too
- var altFormat = this._get(inst, 'altFormat') || this._get(inst, 'dateFormat');
- var date = this._getDate(inst);
- var dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));
- $(altField).each(function() { $(this).val(dateStr); });
- }
- },
-
- /* Set as beforeShowDay function to prevent selection of weekends.
- @param date Date - the date to customise
- @return [boolean, string] - is this date selectable?, what is its CSS class? */
- noWeekends: function(date) {
- var day = date.getDay();
- return [(day > 0 && day < 6), ''];
- },
-
- /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.
- @param date Date - the date to get the week for
- @return number - the number of the week within the year that contains this date */
- iso8601Week: function(date) {
- var checkDate = new Date(date.getTime());
- // Find Thursday of this week starting on Monday
- checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));
- var time = checkDate.getTime();
- checkDate.setMonth(0); // Compare with Jan 1
- checkDate.setDate(1);
- return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1;
- },
-
- /* Parse a string value into a date object.
- See formatDate below for the possible formats.
-
- @param format string - the expected format of the date
- @param value string - the date in the above format
- @param settings Object - attributes include:
- shortYearCutoff number - the cutoff year for determining the century (optional)
- dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
- dayNames string[7] - names of the days from Sunday (optional)
- monthNamesShort string[12] - abbreviated names of the months (optional)
- monthNames string[12] - names of the months (optional)
- @return Date - the extracted date value or null if value is blank */
- parseDate: function (format, value, settings) {
- if (format == null || value == null)
- throw 'Invalid arguments';
- value = (typeof value == 'object' ? value.toString() : value + '');
- if (value == '')
- return null;
- var shortYearCutoff = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff;
- shortYearCutoff = (typeof shortYearCutoff != 'string' ? shortYearCutoff :
- new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10));
- var dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort;
- var dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames;
- var monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort;
- var monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames;
- var year = -1;
- var month = -1;
- var day = -1;
- var doy = -1;
- var literal = false;
- // Check whether a format character is doubled
- var lookAhead = function(match) {
- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match);
- if (matches)
- iFormat++;
- return matches;
- };
- // Extract a number from the string value
- var getNumber = function(match) {
- var isDoubled = lookAhead(match);
- var size = (match == '@' ? 14 : (match == '!' ? 20 :
- (match == 'y' && isDoubled ? 4 : (match == 'o' ? 3 : 2))));
- var digits = new RegExp('^\\d{1,' + size + '}');
- var num = value.substring(iValue).match(digits);
- if (!num)
- throw 'Missing number at position ' + iValue;
- iValue += num[0].length;
- return parseInt(num[0], 10);
- };
- // Extract a name from the string value and convert to an index
- var getName = function(match, shortNames, longNames) {
- var names = $.map(lookAhead(match) ? longNames : shortNames, function (v, k) {
- return [ [k, v] ];
- }).sort(function (a, b) {
- return -(a[1].length - b[1].length);
- });
- var index = -1;
- $.each(names, function (i, pair) {
- var name = pair[1];
- if (value.substr(iValue, name.length).toLowerCase() == name.toLowerCase()) {
- index = pair[0];
- iValue += name.length;
- return false;
- }
- });
- if (index != -1)
- return index + 1;
- else
- throw 'Unknown name at position ' + iValue;
- };
- // Confirm that a literal character matches the string value
- var checkLiteral = function() {
- if (value.charAt(iValue) != format.charAt(iFormat))
- throw 'Unexpected literal at position ' + iValue;
- iValue++;
- };
- var iValue = 0;
- for (var iFormat = 0; iFormat < format.length; iFormat++) {
- if (literal)
- if (format.charAt(iFormat) == "'" && !lookAhead("'"))
- literal = false;
- else
- checkLiteral();
- else
- switch (format.charAt(iFormat)) {
- case 'd':
- day = getNumber('d');
- break;
- case 'D':
- getName('D', dayNamesShort, dayNames);
- break;
- case 'o':
- doy = getNumber('o');
- break;
- case 'm':
- month = getNumber('m');
- break;
- case 'M':
- month = getName('M', monthNamesShort, monthNames);
- break;
- case 'y':
- year = getNumber('y');
- break;
- case '@':
- var date = new Date(getNumber('@'));
- year = date.getFullYear();
- month = date.getMonth() + 1;
- day = date.getDate();
- break;
- case '!':
- var date = new Date((getNumber('!') - this._ticksTo1970) / 10000);
- year = date.getFullYear();
- month = date.getMonth() + 1;
- day = date.getDate();
- break;
- case "'":
- if (lookAhead("'"))
- checkLiteral();
- else
- literal = true;
- break;
- default:
- checkLiteral();
- }
- }
- if (iValue < value.length){
- throw "Extra/unparsed characters found in date: " + value.substring(iValue);
- }
- if (year == -1)
- year = new Date().getFullYear();
- else if (year < 100)
- year += new Date().getFullYear() - new Date().getFullYear() % 100 +
- (year <= shortYearCutoff ? 0 : -100);
- if (doy > -1) {
- month = 1;
- day = doy;
- do {
- var dim = this._getDaysInMonth(year, month - 1);
- if (day <= dim)
- break;
- month++;
- day -= dim;
- } while (true);
- }
- var date = this._daylightSavingAdjust(new Date(year, month - 1, day));
- if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != day)
- throw 'Invalid date'; // E.g. 31/02/00
- return date;
- },
-
- /* Standard date formats. */
- ATOM: 'yy-mm-dd', // RFC 3339 (ISO 8601)
- COOKIE: 'D, dd M yy',
- ISO_8601: 'yy-mm-dd',
- RFC_822: 'D, d M y',
- RFC_850: 'DD, dd-M-y',
- RFC_1036: 'D, d M y',
- RFC_1123: 'D, d M yy',
- RFC_2822: 'D, d M yy',
- RSS: 'D, d M y', // RFC 822
- TICKS: '!',
- TIMESTAMP: '@',
- W3C: 'yy-mm-dd', // ISO 8601
-
- _ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) +
- Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000),
-
- /* Format a date object into a string value.
- The format can be combinations of the following:
- d - day of month (no leading zero)
- dd - day of month (two digit)
- o - day of year (no leading zeros)
- oo - day of year (three digit)
- D - day name short
- DD - day name long
- m - month of year (no leading zero)
- mm - month of year (two digit)
- M - month name short
- MM - month name long
- y - year (two digit)
- yy - year (four digit)
- @ - Unix timestamp (ms since 01/01/1970)
- ! - Windows ticks (100ns since 01/01/0001)
- '...' - literal text
- '' - single quote
-
- @param format string - the desired format of the date
- @param date Date - the date value to format
- @param settings Object - attributes include:
- dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
- dayNames string[7] - names of the days from Sunday (optional)
- monthNamesShort string[12] - abbreviated names of the months (optional)
- monthNames string[12] - names of the months (optional)
- @return string - the date in the above format */
- formatDate: function (format, date, settings) {
- if (!date)
- return '';
- var dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort;
- var dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames;
- var monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort;
- var monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames;
- // Check whether a format character is doubled
- var lookAhead = function(match) {
- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match);
- if (matches)
- iFormat++;
- return matches;
- };
- // Format a number, with leading zero if necessary
- var formatNumber = function(match, value, len) {
- var num = '' + value;
- if (lookAhead(match))
- while (num.length < len)
- num = '0' + num;
- return num;
- };
- // Format a name, short or long as requested
- var formatName = function(match, value, shortNames, longNames) {
- return (lookAhead(match) ? longNames[value] : shortNames[value]);
- };
- var output = '';
- var literal = false;
- if (date)
- for (var iFormat = 0; iFormat < format.length; iFormat++) {
- if (literal)
- if (format.charAt(iFormat) == "'" && !lookAhead("'"))
- literal = false;
- else
- output += format.charAt(iFormat);
- else
- switch (format.charAt(iFormat)) {
- case 'd':
- output += formatNumber('d', date.getDate(), 2);
- break;
- case 'D':
- output += formatName('D', date.getDay(), dayNamesShort, dayNames);
- break;
- case 'o':
- output += formatNumber('o',
- Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);
- break;
- case 'm':
- output += formatNumber('m', date.getMonth() + 1, 2);
- break;
- case 'M':
- output += formatName('M', date.getMonth(), monthNamesShort, monthNames);
- break;
- case 'y':
- output += (lookAhead('y') ? date.getFullYear() :
- (date.getYear() % 100 < 10 ? '0' : '') + date.getYear() % 100);
- break;
- case '@':
- output += date.getTime();
- break;
- case '!':
- output += date.getTime() * 10000 + this._ticksTo1970;
- break;
- case "'":
- if (lookAhead("'"))
- output += "'";
- else
- literal = true;
- break;
- default:
- output += format.charAt(iFormat);
- }
- }
- return output;
- },
-
- /* Extract all possible characters from the date format. */
- _possibleChars: function (format) {
- var chars = '';
- var literal = false;
- // Check whether a format character is doubled
- var lookAhead = function(match) {
- var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match);
- if (matches)
- iFormat++;
- return matches;
- };
- for (var iFormat = 0; iFormat < format.length; iFormat++)
- if (literal)
- if (format.charAt(iFormat) == "'" && !lookAhead("'"))
- literal = false;
- else
- chars += format.charAt(iFormat);
- else
- switch (format.charAt(iFormat)) {
- case 'd': case 'm': case 'y': case '@':
- chars += '0123456789';
- break;
- case 'D': case 'M':
- return null; // Accept anything
- case "'":
- if (lookAhead("'"))
- chars += "'";
- else
- literal = true;
- break;
- default:
- chars += format.charAt(iFormat);
- }
- return chars;
- },
-
- /* Get a setting value, defaulting if necessary. */
- _get: function(inst, name) {
- return inst.settings[name] !== undefined ?
- inst.settings[name] : this._defaults[name];
- },
-
- /* Parse existing date and initialise date picker. */
- _setDateFromField: function(inst, noDefault) {
- if (inst.input.val() == inst.lastVal) {
- return;
- }
- var dateFormat = this._get(inst, 'dateFormat');
- var dates = inst.lastVal = inst.input ? inst.input.val() : null;
- var date, defaultDate;
- date = defaultDate = this._getDefaultDate(inst);
- var settings = this._getFormatConfig(inst);
- try {
- date = this.parseDate(dateFormat, dates, settings) || defaultDate;
- } catch (event) {
- this.log(event);
- dates = (noDefault ? '' : dates);
- }
- inst.selectedDay = date.getDate();
- inst.drawMonth = inst.selectedMonth = date.getMonth();
- inst.drawYear = inst.selectedYear = date.getFullYear();
- inst.currentDay = (dates ? date.getDate() : 0);
- inst.currentMonth = (dates ? date.getMonth() : 0);
- inst.currentYear = (dates ? date.getFullYear() : 0);
- this._adjustInstDate(inst);
- },
-
- /* Retrieve the default date shown on opening. */
- _getDefaultDate: function(inst) {
- return this._restrictMinMax(inst,
- this._determineDate(inst, this._get(inst, 'defaultDate'), new Date()));
- },
-
- /* A date may be specified as an exact value or a relative one. */
- _determineDate: function(inst, date, defaultDate) {
- var offsetNumeric = function(offset) {
- var date = new Date();
- date.setDate(date.getDate() + offset);
- return date;
- };
- var offsetString = function(offset) {
- try {
- return $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
- offset, $.datepicker._getFormatConfig(inst));
- }
- catch (e) {
- // Ignore
- }
- var date = (offset.toLowerCase().match(/^c/) ?
- $.datepicker._getDate(inst) : null) || new Date();
- var year = date.getFullYear();
- var month = date.getMonth();
- var day = date.getDate();
- var pattern = /([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;
- var matches = pattern.exec(offset);
- while (matches) {
- switch (matches[2] || 'd') {
- case 'd' : case 'D' :
- day += parseInt(matches[1],10); break;
- case 'w' : case 'W' :
- day += parseInt(matches[1],10) * 7; break;
- case 'm' : case 'M' :
- month += parseInt(matches[1],10);
- day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
- break;
- case 'y': case 'Y' :
- year += parseInt(matches[1],10);
- day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
- break;
- }
- matches = pattern.exec(offset);
- }
- return new Date(year, month, day);
- };
- var newDate = (date == null || date === '' ? defaultDate : (typeof date == 'string' ? offsetString(date) :
- (typeof date == 'number' ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime()))));
- newDate = (newDate && newDate.toString() == 'Invalid Date' ? defaultDate : newDate);
- if (newDate) {
- newDate.setHours(0);
- newDate.setMinutes(0);
- newDate.setSeconds(0);
- newDate.setMilliseconds(0);
- }
- return this._daylightSavingAdjust(newDate);
- },
-
- /* Handle switch to/from daylight saving.
- Hours may be non-zero on daylight saving cut-over:
- > 12 when midnight changeover, but then cannot generate
- midnight datetime, so jump to 1AM, otherwise reset.
- @param date (Date) the date to check
- @return (Date) the corrected date */
- _daylightSavingAdjust: function(date) {
- if (!date) return null;
- date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);
- return date;
- },
-
- /* Set the date(s) directly. */
- _setDate: function(inst, date, noChange) {
- var clear = !date;
- var origMonth = inst.selectedMonth;
- var origYear = inst.selectedYear;
- var newDate = this._restrictMinMax(inst, this._determineDate(inst, date, new Date()));
- inst.selectedDay = inst.currentDay = newDate.getDate();
- inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();
- inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();
- if ((origMonth != inst.selectedMonth || origYear != inst.selectedYear) && !noChange)
- this._notifyChange(inst);
- this._adjustInstDate(inst);
- if (inst.input) {
- inst.input.val(clear ? '' : this._formatDate(inst));
- }
- },
-
- /* Retrieve the date(s) directly. */
- _getDate: function(inst) {
- var startDate = (!inst.currentYear || (inst.input && inst.input.val() == '') ? null :
- this._daylightSavingAdjust(new Date(
- inst.currentYear, inst.currentMonth, inst.currentDay)));
- return startDate;
- },
-
- /* Attach the onxxx handlers. These are declared statically so
- * they work with static code transformers like Caja.
- */
- _attachHandlers: function(inst) {
- var stepMonths = this._get(inst, 'stepMonths');
- var id = '#' + inst.id.replace( /\\\\/g, "\\" );
- inst.dpDiv.find('[data-handler]').map(function () {
- var handler = {
- prev: function () {
- window['DP_jQuery_' + dpuuid].datepicker._adjustDate(id, -stepMonths, 'M');
- },
- next: function () {
- window['DP_jQuery_' + dpuuid].datepicker._adjustDate(id, +stepMonths, 'M');
- },
- hide: function () {
- window['DP_jQuery_' + dpuuid].datepicker._hideDatepicker();
- },
- today: function () {
- window['DP_jQuery_' + dpuuid].datepicker._gotoToday(id);
- },
- selectDay: function () {
- window['DP_jQuery_' + dpuuid].datepicker._selectDay(id, +this.getAttribute('data-month'), +this.getAttribute('data-year'), this);
- return false;
- },
- selectMonth: function () {
- window['DP_jQuery_' + dpuuid].datepicker._selectMonthYear(id, this, 'M');
- return false;
- },
- selectYear: function () {
- window['DP_jQuery_' + dpuuid].datepicker._selectMonthYear(id, this, 'Y');
- return false;
- }
- };
- $(this).bind(this.getAttribute('data-event'), handler[this.getAttribute('data-handler')]);
- });
- },
-
- /* Generate the HTML for the current state of the date picker. */
- _generateHTML: function(inst) {
- var today = new Date();
- today = this._daylightSavingAdjust(
- new Date(today.getFullYear(), today.getMonth(), today.getDate())); // clear time
- var isRTL = this._get(inst, 'isRTL');
- var showButtonPanel = this._get(inst, 'showButtonPanel');
- var hideIfNoPrevNext = this._get(inst, 'hideIfNoPrevNext');
- var navigationAsDateFormat = this._get(inst, 'navigationAsDateFormat');
- var numMonths = this._getNumberOfMonths(inst);
- var showCurrentAtPos = this._get(inst, 'showCurrentAtPos');
- var stepMonths = this._get(inst, 'stepMonths');
- var isMultiMonth = (numMonths[0] != 1 || numMonths[1] != 1);
- var currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) :
- new Date(inst.currentYear, inst.currentMonth, inst.currentDay)));
- var minDate = this._getMinMaxDate(inst, 'min');
- var maxDate = this._getMinMaxDate(inst, 'max');
- var drawMonth = inst.drawMonth - showCurrentAtPos;
- var drawYear = inst.drawYear;
- if (drawMonth < 0) {
- drawMonth += 12;
- drawYear--;
- }
- if (maxDate) {
- var maxDraw = this._daylightSavingAdjust(new Date(maxDate.getFullYear(),
- maxDate.getMonth() - (numMonths[0] * numMonths[1]) + 1, maxDate.getDate()));
- maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw);
- while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) {
- drawMonth--;
- if (drawMonth < 0) {
- drawMonth = 11;
- drawYear--;
- }
- }
- }
- inst.drawMonth = drawMonth;
- inst.drawYear = drawYear;
- var prevText = this._get(inst, 'prevText');
- prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText,
- this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),
- this._getFormatConfig(inst)));
- var prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
- '<a class="ui-datepicker-prev ui-corner-all" data-handler="prev" data-event="click"' +
- ' title="' + prevText + '"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'e' : 'w') + '">' + prevText + '</span></a>' :
- (hideIfNoPrevNext ? '' : '<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+ prevText +'"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'e' : 'w') + '">' + prevText + '</span></a>'));
- var nextText = this._get(inst, 'nextText');
- nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,
- this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),
- this._getFormatConfig(inst)));
- var next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
- '<a class="ui-datepicker-next ui-corner-all" data-handler="next" data-event="click"' +
- ' title="' + nextText + '"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'w' : 'e') + '">' + nextText + '</span></a>' :
- (hideIfNoPrevNext ? '' : '<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+ nextText + '"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'w' : 'e') + '">' + nextText + '</span></a>'));
- var currentText = this._get(inst, 'currentText');
- var gotoDate = (this._get(inst, 'gotoCurrent') && inst.currentDay ? currentDate : today);
- currentText = (!navigationAsDateFormat ? currentText :
- this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
- var controls = (!inst.inline ? '<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" data-handler="hide" data-event="click">' +
- this._get(inst, 'closeText') + '</button>' : '');
- var buttonPanel = (showButtonPanel) ? '<div class="ui-datepicker-buttonpane ui-widget-content">' + (isRTL ? controls : '') +
- (this._isInRange(inst, gotoDate) ? '<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" data-handler="today" data-event="click"' +
- '>' + currentText + '</button>' : '') + (isRTL ? '' : controls) + '</div>' : '';
- var firstDay = parseInt(this._get(inst, 'firstDay'),10);
- firstDay = (isNaN(firstDay) ? 0 : firstDay);
- var showWeek = this._get(inst, 'showWeek');
- var dayNames = this._get(inst, 'dayNames');
- var dayNamesShort = this._get(inst, 'dayNamesShort');
- var dayNamesMin = this._get(inst, 'dayNamesMin');
- var monthNames = this._get(inst, 'monthNames');
- var monthNamesShort = this._get(inst, 'monthNamesShort');
- var beforeShowDay = this._get(inst, 'beforeShowDay');
- var showOtherMonths = this._get(inst, 'showOtherMonths');
- var selectOtherMonths = this._get(inst, 'selectOtherMonths');
- var calculateWeek = this._get(inst, 'calculateWeek') || this.iso8601Week;
- var defaultDate = this._getDefaultDate(inst);
- var html = '';
- for (var row = 0; row < numMonths[0]; row++) {
- var group = '';
- this.maxRows = 4;
- for (var col = 0; col < numMonths[1]; col++) {
- var selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay));
- var cornerClass = ' ui-corner-all';
- var calender = '';
- if (isMultiMonth) {
- calender += '<div class="ui-datepicker-group';
- if (numMonths[1] > 1)
- switch (col) {
- case 0: calender += ' ui-datepicker-group-first';
- cornerClass = ' ui-corner-' + (isRTL ? 'right' : 'left'); break;
- case numMonths[1]-1: calender += ' ui-datepicker-group-last';
- cornerClass = ' ui-corner-' + (isRTL ? 'left' : 'right'); break;
- default: calender += ' ui-datepicker-group-middle'; cornerClass = ''; break;
- }
- calender += '">';
- }
- calender += '<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix' + cornerClass + '">' +
- (/all|left/.test(cornerClass) && row == 0 ? (isRTL ? next : prev) : '') +
- (/all|right/.test(cornerClass) && row == 0 ? (isRTL ? prev : next) : '') +
- this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate,
- row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers
- '</div><table class="ui-datepicker-calendar"><thead>' +
- '<tr>';
- var thead = (showWeek ? '<th class="ui-datepicker-week-col">' + this._get(inst, 'weekHeader') + '</th>' : '');
- for (var dow = 0; dow < 7; dow++) { // days of the week
- var day = (dow + firstDay) % 7;
- thead += '<th' + ((dow + firstDay + 6) % 7 >= 5 ? ' class="ui-datepicker-week-end"' : '') + '>' +
- '<span title="' + dayNames[day] + '">' + dayNamesMin[day] + '</span></th>';
- }
- calender += thead + '</tr></thead><tbody>';
- var daysInMonth = this._getDaysInMonth(drawYear, drawMonth);
- if (drawYear == inst.selectedYear && drawMonth == inst.selectedMonth)
- inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);
- var leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;
- var curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate
- var numRows = (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043)
- this.maxRows = numRows;
- var printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays));
- for (var dRow = 0; dRow < numRows; dRow++) { // create date picker rows
- calender += '<tr>';
- var tbody = (!showWeek ? '' : '<td class="ui-datepicker-week-col">' +
- this._get(inst, 'calculateWeek')(printDate) + '</td>');
- for (var dow = 0; dow < 7; dow++) { // create date picker days
- var daySettings = (beforeShowDay ?
- beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, '']);
- var otherMonth = (printDate.getMonth() != drawMonth);
- var unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] ||
- (minDate && printDate < minDate) || (maxDate && printDate > maxDate);
- tbody += '<td class="' +
- ((dow + firstDay + 6) % 7 >= 5 ? ' ui-datepicker-week-end' : '') + // highlight weekends
- (otherMonth ? ' ui-datepicker-other-month' : '') + // highlight days from other months
- ((printDate.getTime() == selectedDate.getTime() && drawMonth == inst.selectedMonth && inst._keyEvent) || // user pressed key
- (defaultDate.getTime() == printDate.getTime() && defaultDate.getTime() == selectedDate.getTime()) ?
- // or defaultDate is current printedDate and defaultDate is selectedDate
- ' ' + this._dayOverClass : '') + // highlight selected day
- (unselectable ? ' ' + this._unselectableClass + ' ui-state-disabled': '') + // highlight unselectable days
- (otherMonth && !showOtherMonths ? '' : ' ' + daySettings[1] + // highlight custom dates
- (printDate.getTime() == currentDate.getTime() ? ' ' + this._currentClass : '') + // highlight selected day
- (printDate.getTime() == today.getTime() ? ' ui-datepicker-today' : '')) + '"' + // highlight today (if different)
- ((!otherMonth || showOtherMonths) && daySettings[2] ? ' title="' + daySettings[2] + '"' : '') + // cell title
- (unselectable ? '' : ' data-handler="selectDay" data-event="click" data-month="' + printDate.getMonth() + '" data-year="' + printDate.getFullYear() + '"') + '>' + // actions
- (otherMonth && !showOtherMonths ? '&#xa0;' : // display for other months
- (unselectable ? '<span class="ui-state-default">' + printDate.getDate() + '</span>' : '<a class="ui-state-default' +
- (printDate.getTime() == today.getTime() ? ' ui-state-highlight' : '') +
- (printDate.getTime() == currentDate.getTime() ? ' ui-state-active' : '') + // highlight selected day
- (otherMonth ? ' ui-priority-secondary' : '') + // distinguish dates from other months
- '" href="#">' + printDate.getDate() + '</a>')) + '</td>'; // display selectable date
- printDate.setDate(printDate.getDate() + 1);
- printDate = this._daylightSavingAdjust(printDate);
- }
- calender += tbody + '</tr>';
- }
- drawMonth++;
- if (drawMonth > 11) {
- drawMonth = 0;
- drawYear++;
- }
- calender += '</tbody></table>' + (isMultiMonth ? '</div>' +
- ((numMonths[0] > 0 && col == numMonths[1]-1) ? '<div class="ui-datepicker-row-break"></div>' : '') : '');
- group += calender;
- }
- html += group;
- }
- html += buttonPanel + ($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ?
- '<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>' : '');
- inst._keyEvent = false;
- return html;
- },
-
- /* Generate the month and year header. */
- _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
- secondary, monthNames, monthNamesShort) {
- var changeMonth = this._get(inst, 'changeMonth');
- var changeYear = this._get(inst, 'changeYear');
- var showMonthAfterYear = this._get(inst, 'showMonthAfterYear');
- var html = '<div class="ui-datepicker-title">';
- var monthHtml = '';
- // month selection
- if (secondary || !changeMonth)
- monthHtml += '<span class="ui-datepicker-month">' + monthNames[drawMonth] + '</span>';
- else {
- var inMinYear = (minDate && minDate.getFullYear() == drawYear);
- var inMaxYear = (maxDate && maxDate.getFullYear() == drawYear);
- monthHtml += '<select class="ui-datepicker-month" data-handler="selectMonth" data-event="change">';
- for (var month = 0; month < 12; month++) {
- if ((!inMinYear || month >= minDate.getMonth()) &&
- (!inMaxYear || month <= maxDate.getMonth()))
- monthHtml += '<option value="' + month + '"' +
- (month == drawMonth ? ' selected="selected"' : '') +
- '>' + monthNamesShort[month] + '</option>';
- }
- monthHtml += '</select>';
- }
- if (!showMonthAfterYear)
- html += monthHtml + (secondary || !(changeMonth && changeYear) ? '&#xa0;' : '');
- // year selection
- if ( !inst.yearshtml ) {
- inst.yearshtml = '';
- if (secondary || !changeYear)
- html += '<span class="ui-datepicker-year">' + drawYear + '</span>';
- else {
- // determine range of years to display
- var years = this._get(inst, 'yearRange').split(':');
- var thisYear = new Date().getFullYear();
- var determineYear = function(value) {
- var year = (value.match(/c[+-].*/) ? drawYear + parseInt(value.substring(1), 10) :
- (value.match(/[+-].*/) ? thisYear + parseInt(value, 10) :
- parseInt(value, 10)));
- return (isNaN(year) ? thisYear : year);
- };
- var year = determineYear(years[0]);
- var endYear = Math.max(year, determineYear(years[1] || ''));
- year = (minDate ? Math.max(year, minDate.getFullYear()) : year);
- endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);
- inst.yearshtml += '<select class="ui-datepicker-year" data-handler="selectYear" data-event="change">';
- for (; year <= endYear; year++) {
- inst.yearshtml += '<option value="' + year + '"' +
- (year == drawYear ? ' selected="selected"' : '') +
- '>' + year + '</option>';
- }
- inst.yearshtml += '</select>';
-
- html += inst.yearshtml;
- inst.yearshtml = null;
- }
- }
- html += this._get(inst, 'yearSuffix');
- if (showMonthAfterYear)
- html += (secondary || !(changeMonth && changeYear) ? '&#xa0;' : '') + monthHtml;
- html += '</div>'; // Close datepicker_header
- return html;
- },
-
- /* Adjust one of the date sub-fields. */
- _adjustInstDate: function(inst, offset, period) {
- var year = inst.drawYear + (period == 'Y' ? offset : 0);
- var month = inst.drawMonth + (period == 'M' ? offset : 0);
- var day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) +
- (period == 'D' ? offset : 0);
- var date = this._restrictMinMax(inst,
- this._daylightSavingAdjust(new Date(year, month, day)));
- inst.selectedDay = date.getDate();
- inst.drawMonth = inst.selectedMonth = date.getMonth();
- inst.drawYear = inst.selectedYear = date.getFullYear();
- if (period == 'M' || period == 'Y')
- this._notifyChange(inst);
- },
-
- /* Ensure a date is within any min/max bounds. */
- _restrictMinMax: function(inst, date) {
- var minDate = this._getMinMaxDate(inst, 'min');
- var maxDate = this._getMinMaxDate(inst, 'max');
- var newDate = (minDate && date < minDate ? minDate : date);
- newDate = (maxDate && newDate > maxDate ? maxDate : newDate);
- return newDate;
- },
-
- /* Notify change of month/year. */
- _notifyChange: function(inst) {
- var onChange = this._get(inst, 'onChangeMonthYear');
- if (onChange)
- onChange.apply((inst.input ? inst.input[0] : null),
- [inst.selectedYear, inst.selectedMonth + 1, inst]);
- },
-
- /* Determine the number of months to show. */
- _getNumberOfMonths: function(inst) {
- var numMonths = this._get(inst, 'numberOfMonths');
- return (numMonths == null ? [1, 1] : (typeof numMonths == 'number' ? [1, numMonths] : numMonths));
- },
-
- /* Determine the current maximum date - ensure no time components are set. */
- _getMinMaxDate: function(inst, minMax) {
- return this._determineDate(inst, this._get(inst, minMax + 'Date'), null);
- },
-
- /* Find the number of days in a given month. */
- _getDaysInMonth: function(year, month) {
- return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate();
- },
-
- /* Find the day of the week of the first of a month. */
- _getFirstDayOfMonth: function(year, month) {
- return new Date(year, month, 1).getDay();
- },
-
- /* Determines if we should allow a "next/prev" month display change. */
- _canAdjustMonth: function(inst, offset, curYear, curMonth) {
- var numMonths = this._getNumberOfMonths(inst);
- var date = this._daylightSavingAdjust(new Date(curYear,
- curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]), 1));
- if (offset < 0)
- date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth()));
- return this._isInRange(inst, date);
- },
-
- /* Is the given date in the accepted range? */
- _isInRange: function(inst, date) {
- var minDate = this._getMinMaxDate(inst, 'min');
- var maxDate = this._getMinMaxDate(inst, 'max');
- return ((!minDate || date.getTime() >= minDate.getTime()) &&
- (!maxDate || date.getTime() <= maxDate.getTime()));
- },
-
- /* Provide the configuration settings for formatting/parsing. */
- _getFormatConfig: function(inst) {
- var shortYearCutoff = this._get(inst, 'shortYearCutoff');
- shortYearCutoff = (typeof shortYearCutoff != 'string' ? shortYearCutoff :
- new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10));
- return {shortYearCutoff: shortYearCutoff,
- dayNamesShort: this._get(inst, 'dayNamesShort'), dayNames: this._get(inst, 'dayNames'),
- monthNamesShort: this._get(inst, 'monthNamesShort'), monthNames: this._get(inst, 'monthNames')};
- },
-
- /* Format the given date for display. */
- _formatDate: function(inst, day, month, year) {
- if (!day) {
- inst.currentDay = inst.selectedDay;
- inst.currentMonth = inst.selectedMonth;
- inst.currentYear = inst.selectedYear;
- }
- var date = (day ? (typeof day == 'object' ? day :
- this._daylightSavingAdjust(new Date(year, month, day))) :
- this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay)));
- return this.formatDate(this._get(inst, 'dateFormat'), date, this._getFormatConfig(inst));
- }
-});
-
-/*
- * Bind hover events for datepicker elements.
- * Done via delegate so the binding only occurs once in the lifetime of the parent div.
- * Global instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.
- */
-function bindHover(dpDiv) {
- var selector = 'button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a';
- return dpDiv.bind('mouseout', function(event) {
- var elem = $( event.target ).closest( selector );
- if ( !elem.length ) {
- return;
- }
- elem.removeClass( "ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover" );
- })
- .bind('mouseover', function(event) {
- var elem = $( event.target ).closest( selector );
- if ($.datepicker._isDisabledDatepicker( instActive.inline ? dpDiv.parent()[0] : instActive.input[0]) ||
- !elem.length ) {
- return;
- }
- elem.parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover');
- elem.addClass('ui-state-hover');
- if (elem.hasClass('ui-datepicker-prev')) elem.addClass('ui-datepicker-prev-hover');
- if (elem.hasClass('ui-datepicker-next')) elem.addClass('ui-datepicker-next-hover');
- });
-}
-
-/* jQuery extend now ignores nulls! */
-function extendRemove(target, props) {
- $.extend(target, props);
- for (var name in props)
- if (props[name] == null || props[name] == undefined)
- target[name] = props[name];