catscope 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +19 -0
- data/Rakefile +17 -0
- data/assets/bower.json +9 -0
- data/assets/bower_components/fastclick/LICENSE +22 -0
- data/assets/bower_components/fastclick/README.md +140 -0
- data/assets/bower_components/fastclick/bower.json +12 -0
- data/assets/bower_components/fastclick/lib/fastclick.js +841 -0
- data/assets/bower_components/foundation/bower.json +23 -0
- data/assets/bower_components/foundation/css/foundation.css +6116 -0
- data/assets/bower_components/foundation/css/foundation.css.map +7 -0
- data/assets/bower_components/foundation/css/normalize.css +359 -0
- data/assets/bower_components/foundation/css/normalize.css.map +7 -0
- data/assets/bower_components/foundation/js/foundation/foundation.abide.js +330 -0
- data/assets/bower_components/foundation/js/foundation/foundation.accordion.js +67 -0
- data/assets/bower_components/foundation/js/foundation/foundation.alert.js +43 -0
- data/assets/bower_components/foundation/js/foundation/foundation.clearing.js +542 -0
- data/assets/bower_components/foundation/js/foundation/foundation.dropdown.js +443 -0
- data/assets/bower_components/foundation/js/foundation/foundation.equalizer.js +73 -0
- data/assets/bower_components/foundation/js/foundation/foundation.interchange.js +348 -0
- data/assets/bower_components/foundation/js/foundation/foundation.joyride.js +924 -0
- data/assets/bower_components/foundation/js/foundation/foundation.js +690 -0
- data/assets/bower_components/foundation/js/foundation/foundation.magellan.js +198 -0
- data/assets/bower_components/foundation/js/foundation/foundation.offcanvas.js +152 -0
- data/assets/bower_components/foundation/js/foundation/foundation.orbit.js +472 -0
- data/assets/bower_components/foundation/js/foundation/foundation.reveal.js +444 -0
- data/assets/bower_components/foundation/js/foundation/foundation.slider.js +267 -0
- data/assets/bower_components/foundation/js/foundation/foundation.tab.js +234 -0
- data/assets/bower_components/foundation/js/foundation/foundation.tooltip.js +300 -0
- data/assets/bower_components/foundation/js/foundation/foundation.topbar.js +445 -0
- data/assets/bower_components/foundation/js/foundation.js +5988 -0
- data/assets/bower_components/foundation/js/foundation.min.js +4 -0
- data/assets/bower_components/foundation/js/vendor/fastclick.js +9 -0
- data/assets/bower_components/foundation/js/vendor/jquery.cookie.js +8 -0
- data/assets/bower_components/foundation/js/vendor/jquery.js +26 -0
- data/assets/bower_components/foundation/js/vendor/modernizr.js +8 -0
- data/assets/bower_components/foundation/js/vendor/placeholder.js +2 -0
- data/assets/bower_components/foundation/scss/foundation/_functions.scss +146 -0
- data/assets/bower_components/foundation/scss/foundation/_settings.scss +1467 -0
- data/assets/bower_components/foundation/scss/foundation/components/_accordion.scss +157 -0
- data/assets/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +128 -0
- data/assets/bower_components/foundation/scss/foundation/components/_block-grid.scss +132 -0
- data/assets/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +132 -0
- data/assets/bower_components/foundation/scss/foundation/components/_button-groups.scss +200 -0
- data/assets/bower_components/foundation/scss/foundation/components/_buttons.scss +259 -0
- data/assets/bower_components/foundation/scss/foundation/components/_clearing.scss +256 -0
- data/assets/bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss +131 -0
- data/assets/bower_components/foundation/scss/foundation/components/_dropdown.scss +262 -0
- data/assets/bower_components/foundation/scss/foundation/components/_flex-video.scss +51 -0
- data/assets/bower_components/foundation/scss/foundation/components/_forms.scss +570 -0
- data/assets/bower_components/foundation/scss/foundation/components/_global.scss +481 -0
- data/assets/bower_components/foundation/scss/foundation/components/_grid.scss +289 -0
- data/assets/bower_components/foundation/scss/foundation/components/_icon-bar.scss +358 -0
- data/assets/bower_components/foundation/scss/foundation/components/_inline-lists.scss +57 -0
- data/assets/bower_components/foundation/scss/foundation/components/_joyride.scss +222 -0
- data/assets/bower_components/foundation/scss/foundation/components/_keystrokes.scss +61 -0
- data/assets/bower_components/foundation/scss/foundation/components/_labels.scss +106 -0
- data/assets/bower_components/foundation/scss/foundation/components/_magellan.scss +34 -0
- data/assets/bower_components/foundation/scss/foundation/components/_offcanvas.scss +515 -0
- data/assets/bower_components/foundation/scss/foundation/components/_orbit.scss +368 -0
- data/assets/bower_components/foundation/scss/foundation/components/_pagination.scss +162 -0
- data/assets/bower_components/foundation/scss/foundation/components/_panels.scss +101 -0
- data/assets/bower_components/foundation/scss/foundation/components/_pricing-tables.scss +150 -0
- data/assets/bower_components/foundation/scss/foundation/components/_progress-bars.scss +79 -0
- data/assets/bower_components/foundation/scss/foundation/components/_range-slider.scss +169 -0
- data/assets/bower_components/foundation/scss/foundation/components/_reveal.scss +202 -0
- data/assets/bower_components/foundation/scss/foundation/components/_side-nav.scss +116 -0
- data/assets/bower_components/foundation/scss/foundation/components/_split-buttons.scss +199 -0
- data/assets/bower_components/foundation/scss/foundation/components/_sub-nav.scss +123 -0
- data/assets/bower_components/foundation/scss/foundation/components/_switches.scss +238 -0
- data/assets/bower_components/foundation/scss/foundation/components/_tables.scss +135 -0
- data/assets/bower_components/foundation/scss/foundation/components/_tabs.scss +123 -0
- data/assets/bower_components/foundation/scss/foundation/components/_thumbs.scss +66 -0
- data/assets/bower_components/foundation/scss/foundation/components/_toolbar.scss +70 -0
- data/assets/bower_components/foundation/scss/foundation/components/_tooltips.scss +142 -0
- data/assets/bower_components/foundation/scss/foundation/components/_top-bar.scss +691 -0
- data/assets/bower_components/foundation/scss/foundation/components/_type.scss +525 -0
- data/assets/bower_components/foundation/scss/foundation/components/_visibility.scss +408 -0
- data/assets/bower_components/foundation/scss/foundation.scss +45 -0
- data/assets/bower_components/foundation/scss/normalize.scss +427 -0
- data/assets/bower_components/jquery/MIT-LICENSE.txt +21 -0
- data/assets/bower_components/jquery/bower.json +27 -0
- data/assets/bower_components/jquery/dist/jquery.js +9205 -0
- data/assets/bower_components/jquery/dist/jquery.min.js +5 -0
- data/assets/bower_components/jquery/dist/jquery.min.map +1 -0
- data/assets/bower_components/jquery/src/ajax/jsonp.js +89 -0
- data/assets/bower_components/jquery/src/ajax/load.js +75 -0
- data/assets/bower_components/jquery/src/ajax/parseJSON.js +13 -0
- data/assets/bower_components/jquery/src/ajax/parseXML.js +28 -0
- data/assets/bower_components/jquery/src/ajax/script.js +64 -0
- data/assets/bower_components/jquery/src/ajax/var/nonce.js +5 -0
- data/assets/bower_components/jquery/src/ajax/var/rquery.js +3 -0
- data/assets/bower_components/jquery/src/ajax/xhr.js +136 -0
- data/assets/bower_components/jquery/src/ajax.js +786 -0
- data/assets/bower_components/jquery/src/attributes/attr.js +141 -0
- data/assets/bower_components/jquery/src/attributes/classes.js +158 -0
- data/assets/bower_components/jquery/src/attributes/prop.js +94 -0
- data/assets/bower_components/jquery/src/attributes/support.js +35 -0
- data/assets/bower_components/jquery/src/attributes/val.js +161 -0
- data/assets/bower_components/jquery/src/attributes.js +11 -0
- data/assets/bower_components/jquery/src/callbacks.js +205 -0
- data/assets/bower_components/jquery/src/core/access.js +60 -0
- data/assets/bower_components/jquery/src/core/init.js +123 -0
- data/assets/bower_components/jquery/src/core/parseHTML.js +39 -0
- data/assets/bower_components/jquery/src/core/ready.js +97 -0
- data/assets/bower_components/jquery/src/core/var/rsingleTag.js +4 -0
- data/assets/bower_components/jquery/src/core.js +497 -0
- data/assets/bower_components/jquery/src/css/addGetHookIf.js +22 -0
- data/assets/bower_components/jquery/src/css/curCSS.js +57 -0
- data/assets/bower_components/jquery/src/css/defaultDisplay.js +70 -0
- data/assets/bower_components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/assets/bower_components/jquery/src/css/support.js +96 -0
- data/assets/bower_components/jquery/src/css/swap.js +28 -0
- data/assets/bower_components/jquery/src/css/var/cssExpand.js +3 -0
- data/assets/bower_components/jquery/src/css/var/getStyles.js +12 -0
- data/assets/bower_components/jquery/src/css/var/isHidden.js +13 -0
- data/assets/bower_components/jquery/src/css/var/rmargin.js +3 -0
- data/assets/bower_components/jquery/src/css/var/rnumnonpx.js +5 -0
- data/assets/bower_components/jquery/src/css.js +450 -0
- data/assets/bower_components/jquery/src/data/Data.js +181 -0
- data/assets/bower_components/jquery/src/data/accepts.js +20 -0
- data/assets/bower_components/jquery/src/data/var/data_priv.js +5 -0
- data/assets/bower_components/jquery/src/data/var/data_user.js +5 -0
- data/assets/bower_components/jquery/src/data.js +178 -0
- data/assets/bower_components/jquery/src/deferred.js +149 -0
- data/assets/bower_components/jquery/src/deprecated.js +13 -0
- data/assets/bower_components/jquery/src/dimensions.js +50 -0
- data/assets/bower_components/jquery/src/effects/Tween.js +114 -0
- data/assets/bower_components/jquery/src/effects/animatedSelector.js +13 -0
- data/assets/bower_components/jquery/src/effects.js +648 -0
- data/assets/bower_components/jquery/src/event/ajax.js +13 -0
- data/assets/bower_components/jquery/src/event/alias.js +39 -0
- data/assets/bower_components/jquery/src/event/support.js +9 -0
- data/assets/bower_components/jquery/src/event.js +868 -0
- data/assets/bower_components/jquery/src/exports/amd.js +24 -0
- data/assets/bower_components/jquery/src/exports/global.js +32 -0
- data/assets/bower_components/jquery/src/intro.js +44 -0
- data/assets/bower_components/jquery/src/jquery.js +37 -0
- data/assets/bower_components/jquery/src/manipulation/_evalUrl.js +18 -0
- data/assets/bower_components/jquery/src/manipulation/support.js +32 -0
- data/assets/bower_components/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/assets/bower_components/jquery/src/manipulation.js +580 -0
- data/assets/bower_components/jquery/src/offset.js +207 -0
- data/assets/bower_components/jquery/src/outro.js +1 -0
- data/assets/bower_components/jquery/src/queue/delay.js +22 -0
- data/assets/bower_components/jquery/src/queue.js +142 -0
- data/assets/bower_components/jquery/src/selector-native.js +172 -0
- data/assets/bower_components/jquery/src/selector-sizzle.js +14 -0
- data/assets/bower_components/jquery/src/selector.js +1 -0
- data/assets/bower_components/jquery/src/serialize.js +111 -0
- data/assets/bower_components/jquery/src/sizzle/dist/sizzle.js +2067 -0
- data/assets/bower_components/jquery/src/sizzle/dist/sizzle.min.js +3 -0
- data/assets/bower_components/jquery/src/sizzle/dist/sizzle.min.map +1 -0
- data/assets/bower_components/jquery/src/traversing/findFilter.js +100 -0
- data/assets/bower_components/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/assets/bower_components/jquery/src/traversing.js +199 -0
- data/assets/bower_components/jquery/src/var/arr.js +3 -0
- data/assets/bower_components/jquery/src/var/class2type.js +4 -0
- data/assets/bower_components/jquery/src/var/concat.js +5 -0
- data/assets/bower_components/jquery/src/var/hasOwn.js +5 -0
- data/assets/bower_components/jquery/src/var/indexOf.js +5 -0
- data/assets/bower_components/jquery/src/var/pnum.js +3 -0
- data/assets/bower_components/jquery/src/var/push.js +5 -0
- data/assets/bower_components/jquery/src/var/rnotwhite.js +3 -0
- data/assets/bower_components/jquery/src/var/slice.js +5 -0
- data/assets/bower_components/jquery/src/var/strundefined.js +3 -0
- data/assets/bower_components/jquery/src/var/support.js +4 -0
- data/assets/bower_components/jquery/src/var/toString.js +5 -0
- data/assets/bower_components/jquery/src/wrap.js +79 -0
- data/assets/bower_components/jquery-placeholder/bower.json +21 -0
- data/assets/bower_components/jquery-placeholder/jquery.placeholder.js +192 -0
- data/assets/bower_components/jquery-ui/AUTHORS.txt +284 -0
- data/assets/bower_components/jquery-ui/LICENSE.txt +44 -0
- data/assets/bower_components/jquery-ui/README.md +11 -0
- data/assets/bower_components/jquery-ui/bower.json +12 -0
- data/assets/bower_components/jquery-ui/component.json +13 -0
- data/assets/bower_components/jquery-ui/composer.json +69 -0
- data/assets/bower_components/jquery-ui/jquery-ui.js +16582 -0
- data/assets/bower_components/jquery-ui/jquery-ui.min.js +13 -0
- data/assets/bower_components/jquery-ui/package.json +71 -0
- data/assets/bower_components/jquery-ui/themes/base/accordion.css +36 -0
- data/assets/bower_components/jquery-ui/themes/base/all.css +12 -0
- data/assets/bower_components/jquery-ui/themes/base/autocomplete.css +16 -0
- data/assets/bower_components/jquery-ui/themes/base/base.css +28 -0
- data/assets/bower_components/jquery-ui/themes/base/button.css +114 -0
- data/assets/bower_components/jquery-ui/themes/base/core.css +93 -0
- data/assets/bower_components/jquery-ui/themes/base/datepicker.css +175 -0
- data/assets/bower_components/jquery-ui/themes/base/dialog.css +70 -0
- data/assets/bower_components/jquery-ui/themes/base/draggable.css +12 -0
- data/assets/bower_components/jquery-ui/themes/base/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/base/menu.css +63 -0
- data/assets/bower_components/jquery-ui/themes/base/progressbar.css +28 -0
- data/assets/bower_components/jquery-ui/themes/base/resizable.css +78 -0
- data/assets/bower_components/jquery-ui/themes/base/selectable.css +17 -0
- data/assets/bower_components/jquery-ui/themes/base/selectmenu.css +59 -0
- data/assets/bower_components/jquery-ui/themes/base/slider.css +75 -0
- data/assets/bower_components/jquery-ui/themes/base/sortable.css +12 -0
- data/assets/bower_components/jquery-ui/themes/base/spinner.css +65 -0
- data/assets/bower_components/jquery-ui/themes/base/tabs.css +51 -0
- data/assets/bower_components/jquery-ui/themes/base/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/base/tooltip.css +21 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/black-tie/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/blitzer/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/cupertino/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/dark-hive/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/dot-luv/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/eggplant/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/excite-bike/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-icons_454545_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-icons_666666_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/flick/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/flick/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/flick/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/hot-sneaks/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/humanity/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/humanity/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/humanity/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/le-frog/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/mint-choc/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/overcast/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/overcast/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/overcast/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/pepper-grinder/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/redmond/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/redmond/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/redmond/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/smoothness/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-icons_8DC262_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/south-street/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/south-street/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/south-street/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/start/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-icons_056b93_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/start/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/start/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/start/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/sunny/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/sunny/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/sunny/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/swanky-purse/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/trontastic/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/ui-darkness/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/ui-lightness/theme.css +410 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/animated-overlay.gif +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-icons_666666_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
- data/assets/bower_components/jquery-ui/themes/vader/jquery-ui.css +1225 -0
- data/assets/bower_components/jquery-ui/themes/vader/jquery-ui.min.css +7 -0
- data/assets/bower_components/jquery-ui/themes/vader/theme.css +410 -0
- data/assets/bower_components/jquery-ui/ui/accordion.js +584 -0
- data/assets/bower_components/jquery-ui/ui/autocomplete.js +628 -0
- data/assets/bower_components/jquery-ui/ui/button.js +411 -0
- data/assets/bower_components/jquery-ui/ui/core.js +304 -0
- data/assets/bower_components/jquery-ui/ui/datepicker.js +2080 -0
- data/assets/bower_components/jquery-ui/ui/dialog.js +875 -0
- data/assets/bower_components/jquery-ui/ui/draggable.js +1128 -0
- data/assets/bower_components/jquery-ui/ui/droppable.js +413 -0
- data/assets/bower_components/jquery-ui/ui/effect-blind.js +90 -0
- data/assets/bower_components/jquery-ui/ui/effect-bounce.js +123 -0
- data/assets/bower_components/jquery-ui/ui/effect-clip.js +77 -0
- data/assets/bower_components/jquery-ui/ui/effect-drop.js +75 -0
- data/assets/bower_components/jquery-ui/ui/effect-explode.js +107 -0
- data/assets/bower_components/jquery-ui/ui/effect-fade.js +40 -0
- data/assets/bower_components/jquery-ui/ui/effect-fold.js +86 -0
- data/assets/bower_components/jquery-ui/ui/effect-highlight.js +60 -0
- data/assets/bower_components/jquery-ui/ui/effect-puff.js +60 -0
- data/assets/bower_components/jquery-ui/ui/effect-pulsate.js +73 -0
- data/assets/bower_components/jquery-ui/ui/effect-scale.js +89 -0
- data/assets/bower_components/jquery-ui/ui/effect-shake.js +84 -0
- data/assets/bower_components/jquery-ui/ui/effect-size.js +233 -0
- data/assets/bower_components/jquery-ui/ui/effect-slide.js +74 -0
- data/assets/bower_components/jquery-ui/ui/effect-transfer.js +57 -0
- data/assets/bower_components/jquery-ui/ui/effect.js +1301 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-af.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ar.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-az.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-be.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-da.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-de.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-el.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-es.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-et.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-fo.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-he.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-id.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-is.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-it.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ka.js +35 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-km.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-lb.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-lt.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-lv.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-nb.js +36 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-nn.js +36 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-no.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-pt.js +36 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-rm.js +35 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-ta.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-th.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
- data/assets/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
- data/assets/bower_components/jquery-ui/ui/menu.js +646 -0
- data/assets/bower_components/jquery-ui/ui/minified/accordion.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/autocomplete.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/button.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/core.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/datepicker.min.js +5 -0
- data/assets/bower_components/jquery-ui/ui/minified/dialog.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/draggable.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/droppable.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-blind.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-bounce.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-clip.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-drop.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-explode.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-fade.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-fold.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-highlight.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-puff.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-pulsate.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-scale.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-shake.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-size.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-slide.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect-transfer.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/effect.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-af.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-az.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-be.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-bg.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-bs.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ca.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-cs.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-da.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-de.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-el.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-AU.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-GB.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-eo.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-es.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-et.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-eu.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-fa.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-fi.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-fo.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-gl.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-he.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-hi.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-hr.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-hu.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-hy.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-id.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-is.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-it-CH.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-it.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ja.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ka.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-kk.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-km.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ko.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ky.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-lb.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-lt.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-lv.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-mk.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ml.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ms.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-nb.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-nn.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-no.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-pl.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-rm.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ro.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ru.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-sk.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-sl.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-sq.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-sv.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-ta.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-th.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-tj.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-tr.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-uk.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-vi.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/menu.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/mouse.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/position.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/progressbar.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/resizable.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/selectable.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/selectmenu.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/slider.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/sortable.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/spinner.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/tabs.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/tooltip.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/minified/widget.min.js +4 -0
- data/assets/bower_components/jquery-ui/ui/mouse.js +199 -0
- data/assets/bower_components/jquery-ui/ui/position.js +517 -0
- data/assets/bower_components/jquery-ui/ui/progressbar.js +159 -0
- data/assets/bower_components/jquery-ui/ui/resizable.js +1179 -0
- data/assets/bower_components/jquery-ui/ui/selectable.js +287 -0
- data/assets/bower_components/jquery-ui/ui/selectmenu.js +616 -0
- data/assets/bower_components/jquery-ui/ui/slider.js +699 -0
- data/assets/bower_components/jquery-ui/ui/sortable.js +1304 -0
- data/assets/bower_components/jquery-ui/ui/spinner.js +514 -0
- data/assets/bower_components/jquery-ui/ui/tabs.js +880 -0
- data/assets/bower_components/jquery-ui/ui/tooltip.js +461 -0
- data/assets/bower_components/jquery-ui/ui/widget.js +557 -0
- data/assets/bower_components/jquery.cookie/bower.json +18 -0
- data/assets/bower_components/jquery.cookie/jquery.cookie.js +117 -0
- data/assets/bower_components/modernizr/feature-detects/a-download.js +8 -0
- data/assets/bower_components/modernizr/feature-detects/audio-audiodata-api.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/audio-webaudio-api.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/battery-api.js +8 -0
- data/assets/bower_components/modernizr/feature-detects/battery-level.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/blob-constructor.js +10 -0
- data/assets/bower_components/modernizr/feature-detects/canvas-todataurl-type.js +28 -0
- data/assets/bower_components/modernizr/feature-detects/contenteditable.js +9 -0
- data/assets/bower_components/modernizr/feature-detects/contentsecuritypolicy.js +10 -0
- data/assets/bower_components/modernizr/feature-detects/contextmenu.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/cookies.js +15 -0
- data/assets/bower_components/modernizr/feature-detects/cors.js +3 -0
- data/assets/bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js +19 -0
- data/assets/bower_components/modernizr/feature-detects/css-backgroundposition-xy.js +15 -0
- data/assets/bower_components/modernizr/feature-detects/css-backgroundrepeat.js +31 -0
- data/assets/bower_components/modernizr/feature-detects/css-backgroundsizecover.js +10 -0
- data/assets/bower_components/modernizr/feature-detects/css-boxsizing.js +9 -0
- data/assets/bower_components/modernizr/feature-detects/css-calc.js +12 -0
- data/assets/bower_components/modernizr/feature-detects/css-cubicbezierrange.js +8 -0
- data/assets/bower_components/modernizr/feature-detects/css-displayrunin.js +18 -0
- data/assets/bower_components/modernizr/feature-detects/css-displaytable.js +27 -0
- data/assets/bower_components/modernizr/feature-detects/css-filters.js +7 -0
- data/assets/bower_components/modernizr/feature-detects/css-hyphens.js +205 -0
- data/assets/bower_components/modernizr/feature-detects/css-lastchild.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/css-mask.js +12 -0
- data/assets/bower_components/modernizr/feature-detects/css-mediaqueries.js +3 -0
- data/assets/bower_components/modernizr/feature-detects/css-objectfit.js +6 -0
- data/assets/bower_components/modernizr/feature-detects/css-overflow-scrolling.js +9 -0
- data/assets/bower_components/modernizr/feature-detects/css-pointerevents.js +25 -0
- data/assets/bower_components/modernizr/feature-detects/css-positionsticky.js +13 -0
- data/assets/bower_components/modernizr/feature-detects/css-regions.js +55 -0
- data/assets/bower_components/modernizr/feature-detects/css-remunit.js +19 -0
- data/assets/bower_components/modernizr/feature-detects/css-resize.js +8 -0
- data/assets/bower_components/modernizr/feature-detects/css-scrollbars.js +19 -0
- data/assets/bower_components/modernizr/feature-detects/css-shapes.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/css-subpixelfont.js +23 -0
- data/assets/bower_components/modernizr/feature-detects/css-supports.js +6 -0
- data/assets/bower_components/modernizr/feature-detects/css-userselect.js +10 -0
- data/assets/bower_components/modernizr/feature-detects/css-vhunit.js +14 -0
- data/assets/bower_components/modernizr/feature-detects/css-vmaxunit.js +14 -0
- data/assets/bower_components/modernizr/feature-detects/css-vminunit.js +14 -0
- data/assets/bower_components/modernizr/feature-detects/css-vwunit.js +14 -0
- data/assets/bower_components/modernizr/feature-detects/custom-protocol-handler.js +10 -0
- data/assets/bower_components/modernizr/feature-detects/dart.js +6 -0
- data/assets/bower_components/modernizr/feature-detects/dataview-api.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/dom-classlist.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/dom-createElement-attrs.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/dom-dataset.js +9 -0
- data/assets/bower_components/modernizr/feature-detects/dom-microdata.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/elem-datalist.js +12 -0
- data/assets/bower_components/modernizr/feature-detects/elem-details.js +25 -0
- data/assets/bower_components/modernizr/feature-detects/elem-output.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/elem-progress-meter.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/elem-ruby.js +53 -0
- data/assets/bower_components/modernizr/feature-detects/elem-time.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/elem-track.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/emoji.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/es5-strictmode.js +7 -0
- data/assets/bower_components/modernizr/feature-detects/event-deviceorientation-motion.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/exif-orientation.js +32 -0
- data/assets/bower_components/modernizr/feature-detects/file-api.js +12 -0
- data/assets/bower_components/modernizr/feature-detects/file-filesystem.js +9 -0
- data/assets/bower_components/modernizr/feature-detects/forms-fileinput.js +13 -0
- data/assets/bower_components/modernizr/feature-detects/forms-formattribute.js +29 -0
- data/assets/bower_components/modernizr/feature-detects/forms-inputnumber-l10n.js +32 -0
- data/assets/bower_components/modernizr/feature-detects/forms-placeholder.js +10 -0
- data/assets/bower_components/modernizr/feature-detects/forms-speechinput.js +19 -0
- data/assets/bower_components/modernizr/feature-detects/forms-validation.js +62 -0
- data/assets/bower_components/modernizr/feature-detects/fullscreen-api.js +10 -0
- data/assets/bower_components/modernizr/feature-detects/gamepad.js +12 -0
- data/assets/bower_components/modernizr/feature-detects/getusermedia.js +5 -0
- data/assets/bower_components/modernizr/feature-detects/ie8compat.js +12 -0
- data/assets/bower_components/modernizr/feature-detects/iframe-sandbox.js +5 -0
- data/assets/bower_components/modernizr/feature-detects/iframe-seamless.js +5 -0
- data/assets/bower_components/modernizr/feature-detects/iframe-srcdoc.js +5 -0
- data/assets/bower_components/modernizr/feature-detects/img-apng.js +26 -0
- data/assets/bower_components/modernizr/feature-detects/img-webp.js +20 -0
- data/assets/bower_components/modernizr/feature-detects/json.js +7 -0
- data/assets/bower_components/modernizr/feature-detects/lists-reversed.js +6 -0
- data/assets/bower_components/modernizr/feature-detects/mathml.js +23 -0
- data/assets/bower_components/modernizr/feature-detects/network-connection.js +22 -0
- data/assets/bower_components/modernizr/feature-detects/network-eventsource.js +5 -0
- data/assets/bower_components/modernizr/feature-detects/network-xhr2.js +13 -0
- data/assets/bower_components/modernizr/feature-detects/notification.js +10 -0
- data/assets/bower_components/modernizr/feature-detects/performance.js +5 -0
- data/assets/bower_components/modernizr/feature-detects/pointerlock-api.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/quota-management-api.js +11 -0
- data/assets/bower_components/modernizr/feature-detects/requestanimationframe.js +7 -0
- data/assets/bower_components/modernizr/feature-detects/script-async.js +3 -0
- data/assets/bower_components/modernizr/feature-detects/script-defer.js +3 -0
- data/assets/bower_components/modernizr/feature-detects/style-scoped.js +6 -0
- data/assets/bower_components/modernizr/feature-detects/svg-filters.js +13 -0
- data/assets/bower_components/modernizr/feature-detects/unicode.js +32 -0
- data/assets/bower_components/modernizr/feature-detects/url-data-uri.js +26 -0
- data/assets/bower_components/modernizr/feature-detects/userdata.js +7 -0
- data/assets/bower_components/modernizr/feature-detects/vibration.js +4 -0
- data/assets/bower_components/modernizr/feature-detects/web-intents.js +6 -0
- data/assets/bower_components/modernizr/feature-detects/webgl-extensions.js +42 -0
- data/assets/bower_components/modernizr/feature-detects/websockets-binary.js +20 -0
- data/assets/bower_components/modernizr/feature-detects/window-framed.js +8 -0
- data/assets/bower_components/modernizr/feature-detects/workers-blobworkers.js +66 -0
- data/assets/bower_components/modernizr/feature-detects/workers-dataworkers.js +34 -0
- data/assets/bower_components/modernizr/feature-detects/workers-sharedworkers.js +3 -0
- data/assets/bower_components/modernizr/grunt.js +69 -0
- data/assets/bower_components/modernizr/media/Modernizr 2 Logo.ai +292 -1
- data/assets/bower_components/modernizr/media/Modernizr 2 Logo.eps +0 -0
- data/assets/bower_components/modernizr/media/Modernizr 2 Logo.pdf +292 -1
- data/assets/bower_components/modernizr/media/Modernizr 2 Logo.png +0 -0
- data/assets/bower_components/modernizr/media/Modernizr 2 Logo.svg +35 -0
- data/assets/bower_components/modernizr/modernizr.js +1406 -0
- data/assets/bower_components/modernizr/readme.md +28 -0
- data/assets/bower_components/modernizr/test/basic.html +65 -0
- data/assets/bower_components/modernizr/test/caniuse.html +1451 -0
- data/assets/bower_components/modernizr/test/caniuse_files/Windsong-webfont.eot +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/Windsong-webfont.otf +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/Windsong-webfont.svg +147 -0
- data/assets/bower_components/modernizr/test/caniuse_files/Windsong-webfont.ttf +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/Windsong-webfont.woff +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/alpha.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/apng_test.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/before-after.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/form_validation.html +15 -0
- data/assets/bower_components/modernizr/test/caniuse_files/ga.js +43 -0
- data/assets/bower_components/modernizr/test/caniuse_files/green5x5.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/hashchange.html +16 -0
- data/assets/bower_components/modernizr/test/caniuse_files/jquery.min.js +18 -0
- data/assets/bower_components/modernizr/test/caniuse_files/mathml.html +120 -0
- data/assets/bower_components/modernizr/test/caniuse_files/mathml_ref.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/modernizr-1.7.min.js +2 -0
- data/assets/bower_components/modernizr/test/caniuse_files/png_alpha_result.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/pushstate.html +40 -0
- data/assets/bower_components/modernizr/test/caniuse_files/red30x30.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/ruby.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/stroked-text.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/style.css +168 -0
- data/assets/bower_components/modernizr/test/caniuse_files/svg-html-blur.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/svg-img.svg +5 -0
- data/assets/bower_components/modernizr/test/caniuse_files/svg-img.svg.1 +5 -0
- data/assets/bower_components/modernizr/test/caniuse_files/svg_blur.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/table.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/text-shadow1.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/text-shadow2.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/windsong_font.png +0 -0
- data/assets/bower_components/modernizr/test/caniuse_files/xhtml.html +14 -0
- data/assets/bower_components/modernizr/test/index.html +104 -0
- data/assets/bower_components/modernizr/test/js/basic.html +65 -0
- data/assets/bower_components/modernizr/test/js/dumpdata.js +75 -0
- data/assets/bower_components/modernizr/test/js/lib/detect-global.js +153 -0
- data/assets/bower_components/modernizr/test/js/lib/jquery-1.7b2.js +9279 -0
- data/assets/bower_components/modernizr/test/js/lib/jsonselect.js +279 -0
- data/assets/bower_components/modernizr/test/js/lib/polyfills.js +96 -0
- data/assets/bower_components/modernizr/test/js/lib/uaparser.js +215 -0
- data/assets/bower_components/modernizr/test/js/setup.js +44 -0
- data/assets/bower_components/modernizr/test/js/unit-caniuse.js +191 -0
- data/assets/bower_components/modernizr/test/js/unit.js +669 -0
- data/assets/bower_components/modernizr/test/qunit/qunit.css +231 -0
- data/assets/bower_components/modernizr/test/qunit/qunit.js +1932 -0
- data/assets/bower_components/modernizr/test/qunit/run-qunit.js +72 -0
- data/assets/config.rb +24 -0
- data/assets/example.html +163 -0
- data/assets/img/anchor.png +0 -0
- data/assets/img/cross.png +0 -0
- data/assets/img/disk.png +0 -0
- data/assets/img/folder.png +0 -0
- data/assets/img/page_white.png +0 -0
- data/assets/js/app.js +200 -0
- data/assets/scss/_settings.scss +1467 -0
- data/assets/scss/app.scss +95 -0
- data/assets/stylesheets/.gitdir +0 -0
- data/assets/stylesheets/app.css +9167 -0
- data/bin/catscope +5 -0
- data/catscope.gemspec +31 -0
- data/lib/catscope/app.rb +176 -0
- data/lib/catscope/cli.rb +26 -0
- data/lib/catscope/version.rb +3 -0
- data/lib/catscope/views/index.erb +14 -0
- data/lib/catscope/views/layout.erb +18 -0
- data/lib/catscope.rb +5 -0
- data/test.rb +10 -0
- metadata +1199 -0
@@ -0,0 +1,2080 @@
|
|
1
|
+
/*!
|
2
|
+
* jQuery UI Datepicker 1.11.2
|
3
|
+
* http://jqueryui.com
|
4
|
+
*
|
5
|
+
* Copyright 2014 jQuery Foundation and other contributors
|
6
|
+
* Released under the MIT license.
|
7
|
+
* http://jquery.org/license
|
8
|
+
*
|
9
|
+
* http://api.jqueryui.com/datepicker/
|
10
|
+
*/
|
11
|
+
(function( factory ) {
|
12
|
+
if ( typeof define === "function" && define.amd ) {
|
13
|
+
|
14
|
+
// AMD. Register as an anonymous module.
|
15
|
+
define([
|
16
|
+
"jquery",
|
17
|
+
"./core"
|
18
|
+
], factory );
|
19
|
+
} else {
|
20
|
+
|
21
|
+
// Browser globals
|
22
|
+
factory( jQuery );
|
23
|
+
}
|
24
|
+
}(function( $ ) {
|
25
|
+
|
26
|
+
$.extend($.ui, { datepicker: { version: "1.11.2" } });
|
27
|
+
|
28
|
+
var datepicker_instActive;
|
29
|
+
|
30
|
+
function datepicker_getZindex( elem ) {
|
31
|
+
var position, value;
|
32
|
+
while ( elem.length && elem[ 0 ] !== document ) {
|
33
|
+
// Ignore z-index if position is set to a value where z-index is ignored by the browser
|
34
|
+
// This makes behavior of this function consistent across browsers
|
35
|
+
// WebKit always returns auto if the element is positioned
|
36
|
+
position = elem.css( "position" );
|
37
|
+
if ( position === "absolute" || position === "relative" || position === "fixed" ) {
|
38
|
+
// IE returns 0 when zIndex is not specified
|
39
|
+
// other browsers return a string
|
40
|
+
// we ignore the case of nested elements with an explicit value of 0
|
41
|
+
// <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
|
42
|
+
value = parseInt( elem.css( "zIndex" ), 10 );
|
43
|
+
if ( !isNaN( value ) && value !== 0 ) {
|
44
|
+
return value;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
elem = elem.parent();
|
48
|
+
}
|
49
|
+
|
50
|
+
return 0;
|
51
|
+
}
|
52
|
+
/* Date picker manager.
|
53
|
+
Use the singleton instance of this class, $.datepicker, to interact with the date picker.
|
54
|
+
Settings for (groups of) date pickers are maintained in an instance object,
|
55
|
+
allowing multiple different settings on the same page. */
|
56
|
+
|
57
|
+
function Datepicker() {
|
58
|
+
this._curInst = null; // The current instance in use
|
59
|
+
this._keyEvent = false; // If the last event was a key event
|
60
|
+
this._disabledInputs = []; // List of date picker inputs that have been disabled
|
61
|
+
this._datepickerShowing = false; // True if the popup picker is showing , false if not
|
62
|
+
this._inDialog = false; // True if showing within a "dialog", false if not
|
63
|
+
this._mainDivId = "ui-datepicker-div"; // The ID of the main datepicker division
|
64
|
+
this._inlineClass = "ui-datepicker-inline"; // The name of the inline marker class
|
65
|
+
this._appendClass = "ui-datepicker-append"; // The name of the append marker class
|
66
|
+
this._triggerClass = "ui-datepicker-trigger"; // The name of the trigger marker class
|
67
|
+
this._dialogClass = "ui-datepicker-dialog"; // The name of the dialog marker class
|
68
|
+
this._disableClass = "ui-datepicker-disabled"; // The name of the disabled covering marker class
|
69
|
+
this._unselectableClass = "ui-datepicker-unselectable"; // The name of the unselectable cell marker class
|
70
|
+
this._currentClass = "ui-datepicker-current-day"; // The name of the current day marker class
|
71
|
+
this._dayOverClass = "ui-datepicker-days-cell-over"; // The name of the day hover marker class
|
72
|
+
this.regional = []; // Available regional settings, indexed by language code
|
73
|
+
this.regional[""] = { // Default regional settings
|
74
|
+
closeText: "Done", // Display text for close link
|
75
|
+
prevText: "Prev", // Display text for previous month link
|
76
|
+
nextText: "Next", // Display text for next month link
|
77
|
+
currentText: "Today", // Display text for current month link
|
78
|
+
monthNames: ["January","February","March","April","May","June",
|
79
|
+
"July","August","September","October","November","December"], // Names of months for drop-down and formatting
|
80
|
+
monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], // For formatting
|
81
|
+
dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], // For formatting
|
82
|
+
dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], // For formatting
|
83
|
+
dayNamesMin: ["Su","Mo","Tu","We","Th","Fr","Sa"], // Column headings for days starting at Sunday
|
84
|
+
weekHeader: "Wk", // Column header for week of the year
|
85
|
+
dateFormat: "mm/dd/yy", // See format options on parseDate
|
86
|
+
firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
|
87
|
+
isRTL: false, // True if right-to-left language, false if left-to-right
|
88
|
+
showMonthAfterYear: false, // True if the year select precedes month, false for month then year
|
89
|
+
yearSuffix: "" // Additional text to append to the year in the month headers
|
90
|
+
};
|
91
|
+
this._defaults = { // Global defaults for all the date picker instances
|
92
|
+
showOn: "focus", // "focus" for popup on focus,
|
93
|
+
// "button" for trigger button, or "both" for either
|
94
|
+
showAnim: "fadeIn", // Name of jQuery animation for popup
|
95
|
+
showOptions: {}, // Options for enhanced animations
|
96
|
+
defaultDate: null, // Used when field is blank: actual date,
|
97
|
+
// +/-number for offset from today, null for today
|
98
|
+
appendText: "", // Display text following the input box, e.g. showing the format
|
99
|
+
buttonText: "...", // Text for trigger button
|
100
|
+
buttonImage: "", // URL for trigger button image
|
101
|
+
buttonImageOnly: false, // True if the image appears alone, false if it appears on a button
|
102
|
+
hideIfNoPrevNext: false, // True to hide next/previous month links
|
103
|
+
// if not applicable, false to just disable them
|
104
|
+
navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links
|
105
|
+
gotoCurrent: false, // True if today link goes back to current selection instead
|
106
|
+
changeMonth: false, // True if month can be selected directly, false if only prev/next
|
107
|
+
changeYear: false, // True if year can be selected directly, false if only prev/next
|
108
|
+
yearRange: "c-10:c+10", // Range of years to display in drop-down,
|
109
|
+
// either relative to today's year (-nn:+nn), relative to currently displayed year
|
110
|
+
// (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)
|
111
|
+
showOtherMonths: false, // True to show dates in other months, false to leave blank
|
112
|
+
selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable
|
113
|
+
showWeek: false, // True to show week of the year, false to not show it
|
114
|
+
calculateWeek: this.iso8601Week, // How to calculate the week of the year,
|
115
|
+
// takes a Date and returns the number of the week for it
|
116
|
+
shortYearCutoff: "+10", // Short year values < this are in the current century,
|
117
|
+
// > this are in the previous century,
|
118
|
+
// string value starting with "+" for current year + value
|
119
|
+
minDate: null, // The earliest selectable date, or null for no limit
|
120
|
+
maxDate: null, // The latest selectable date, or null for no limit
|
121
|
+
duration: "fast", // Duration of display/closure
|
122
|
+
beforeShowDay: null, // Function that takes a date and returns an array with
|
123
|
+
// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "",
|
124
|
+
// [2] = cell title (optional), e.g. $.datepicker.noWeekends
|
125
|
+
beforeShow: null, // Function that takes an input field and
|
126
|
+
// returns a set of custom settings for the date picker
|
127
|
+
onSelect: null, // Define a callback function when a date is selected
|
128
|
+
onChangeMonthYear: null, // Define a callback function when the month or year is changed
|
129
|
+
onClose: null, // Define a callback function when the datepicker is closed
|
130
|
+
numberOfMonths: 1, // Number of months to show at a time
|
131
|
+
showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)
|
132
|
+
stepMonths: 1, // Number of months to step back/forward
|
133
|
+
stepBigMonths: 12, // Number of months to step back/forward for the big links
|
134
|
+
altField: "", // Selector for an alternate field to store selected dates into
|
135
|
+
altFormat: "", // The date format to use for the alternate field
|
136
|
+
constrainInput: true, // The input is constrained by the current date format
|
137
|
+
showButtonPanel: false, // True to show button panel, false to not show it
|
138
|
+
autoSize: false, // True to size the input for the date format, false to leave as is
|
139
|
+
disabled: false // The initial disabled state
|
140
|
+
};
|
141
|
+
$.extend(this._defaults, this.regional[""]);
|
142
|
+
this.regional.en = $.extend( true, {}, this.regional[ "" ]);
|
143
|
+
this.regional[ "en-US" ] = $.extend( true, {}, this.regional.en );
|
144
|
+
this.dpDiv = datepicker_bindHover($("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"));
|
145
|
+
}
|
146
|
+
|
147
|
+
$.extend(Datepicker.prototype, {
|
148
|
+
/* Class name added to elements to indicate already configured with a date picker. */
|
149
|
+
markerClassName: "hasDatepicker",
|
150
|
+
|
151
|
+
//Keep track of the maximum number of rows displayed (see #7043)
|
152
|
+
maxRows: 4,
|
153
|
+
|
154
|
+
// TODO rename to "widget" when switching to widget factory
|
155
|
+
_widgetDatepicker: function() {
|
156
|
+
return this.dpDiv;
|
157
|
+
},
|
158
|
+
|
159
|
+
/* Override the default settings for all instances of the date picker.
|
160
|
+
* @param settings object - the new settings to use as defaults (anonymous object)
|
161
|
+
* @return the manager object
|
162
|
+
*/
|
163
|
+
setDefaults: function(settings) {
|
164
|
+
datepicker_extendRemove(this._defaults, settings || {});
|
165
|
+
return this;
|
166
|
+
},
|
167
|
+
|
168
|
+
/* Attach the date picker to a jQuery selection.
|
169
|
+
* @param target element - the target input field or division or span
|
170
|
+
* @param settings object - the new settings to use for this date picker instance (anonymous)
|
171
|
+
*/
|
172
|
+
_attachDatepicker: function(target, settings) {
|
173
|
+
var nodeName, inline, inst;
|
174
|
+
nodeName = target.nodeName.toLowerCase();
|
175
|
+
inline = (nodeName === "div" || nodeName === "span");
|
176
|
+
if (!target.id) {
|
177
|
+
this.uuid += 1;
|
178
|
+
target.id = "dp" + this.uuid;
|
179
|
+
}
|
180
|
+
inst = this._newInst($(target), inline);
|
181
|
+
inst.settings = $.extend({}, settings || {});
|
182
|
+
if (nodeName === "input") {
|
183
|
+
this._connectDatepicker(target, inst);
|
184
|
+
} else if (inline) {
|
185
|
+
this._inlineDatepicker(target, inst);
|
186
|
+
}
|
187
|
+
},
|
188
|
+
|
189
|
+
/* Create a new instance object. */
|
190
|
+
_newInst: function(target, inline) {
|
191
|
+
var id = target[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1"); // escape jQuery meta chars
|
192
|
+
return {id: id, input: target, // associated target
|
193
|
+
selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
|
194
|
+
drawMonth: 0, drawYear: 0, // month being drawn
|
195
|
+
inline: inline, // is datepicker inline or not
|
196
|
+
dpDiv: (!inline ? this.dpDiv : // presentation div
|
197
|
+
datepicker_bindHover($("<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")))};
|
198
|
+
},
|
199
|
+
|
200
|
+
/* Attach the date picker to an input field. */
|
201
|
+
_connectDatepicker: function(target, inst) {
|
202
|
+
var input = $(target);
|
203
|
+
inst.append = $([]);
|
204
|
+
inst.trigger = $([]);
|
205
|
+
if (input.hasClass(this.markerClassName)) {
|
206
|
+
return;
|
207
|
+
}
|
208
|
+
this._attachments(input, inst);
|
209
|
+
input.addClass(this.markerClassName).keydown(this._doKeyDown).
|
210
|
+
keypress(this._doKeyPress).keyup(this._doKeyUp);
|
211
|
+
this._autoSize(inst);
|
212
|
+
$.data(target, "datepicker", inst);
|
213
|
+
//If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)
|
214
|
+
if( inst.settings.disabled ) {
|
215
|
+
this._disableDatepicker( target );
|
216
|
+
}
|
217
|
+
},
|
218
|
+
|
219
|
+
/* Make attachments based on settings. */
|
220
|
+
_attachments: function(input, inst) {
|
221
|
+
var showOn, buttonText, buttonImage,
|
222
|
+
appendText = this._get(inst, "appendText"),
|
223
|
+
isRTL = this._get(inst, "isRTL");
|
224
|
+
|
225
|
+
if (inst.append) {
|
226
|
+
inst.append.remove();
|
227
|
+
}
|
228
|
+
if (appendText) {
|
229
|
+
inst.append = $("<span class='" + this._appendClass + "'>" + appendText + "</span>");
|
230
|
+
input[isRTL ? "before" : "after"](inst.append);
|
231
|
+
}
|
232
|
+
|
233
|
+
input.unbind("focus", this._showDatepicker);
|
234
|
+
|
235
|
+
if (inst.trigger) {
|
236
|
+
inst.trigger.remove();
|
237
|
+
}
|
238
|
+
|
239
|
+
showOn = this._get(inst, "showOn");
|
240
|
+
if (showOn === "focus" || showOn === "both") { // pop-up date picker when in the marked field
|
241
|
+
input.focus(this._showDatepicker);
|
242
|
+
}
|
243
|
+
if (showOn === "button" || showOn === "both") { // pop-up date picker when button clicked
|
244
|
+
buttonText = this._get(inst, "buttonText");
|
245
|
+
buttonImage = this._get(inst, "buttonImage");
|
246
|
+
inst.trigger = $(this._get(inst, "buttonImageOnly") ?
|
247
|
+
$("<img/>").addClass(this._triggerClass).
|
248
|
+
attr({ src: buttonImage, alt: buttonText, title: buttonText }) :
|
249
|
+
$("<button type='button'></button>").addClass(this._triggerClass).
|
250
|
+
html(!buttonImage ? buttonText : $("<img/>").attr(
|
251
|
+
{ src:buttonImage, alt:buttonText, title:buttonText })));
|
252
|
+
input[isRTL ? "before" : "after"](inst.trigger);
|
253
|
+
inst.trigger.click(function() {
|
254
|
+
if ($.datepicker._datepickerShowing && $.datepicker._lastInput === input[0]) {
|
255
|
+
$.datepicker._hideDatepicker();
|
256
|
+
} else if ($.datepicker._datepickerShowing && $.datepicker._lastInput !== input[0]) {
|
257
|
+
$.datepicker._hideDatepicker();
|
258
|
+
$.datepicker._showDatepicker(input[0]);
|
259
|
+
} else {
|
260
|
+
$.datepicker._showDatepicker(input[0]);
|
261
|
+
}
|
262
|
+
return false;
|
263
|
+
});
|
264
|
+
}
|
265
|
+
},
|
266
|
+
|
267
|
+
/* Apply the maximum length for the date format. */
|
268
|
+
_autoSize: function(inst) {
|
269
|
+
if (this._get(inst, "autoSize") && !inst.inline) {
|
270
|
+
var findMax, max, maxI, i,
|
271
|
+
date = new Date(2009, 12 - 1, 20), // Ensure double digits
|
272
|
+
dateFormat = this._get(inst, "dateFormat");
|
273
|
+
|
274
|
+
if (dateFormat.match(/[DM]/)) {
|
275
|
+
findMax = function(names) {
|
276
|
+
max = 0;
|
277
|
+
maxI = 0;
|
278
|
+
for (i = 0; i < names.length; i++) {
|
279
|
+
if (names[i].length > max) {
|
280
|
+
max = names[i].length;
|
281
|
+
maxI = i;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
return maxI;
|
285
|
+
};
|
286
|
+
date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ?
|
287
|
+
"monthNames" : "monthNamesShort"))));
|
288
|
+
date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
|
289
|
+
"dayNames" : "dayNamesShort"))) + 20 - date.getDay());
|
290
|
+
}
|
291
|
+
inst.input.attr("size", this._formatDate(inst, date).length);
|
292
|
+
}
|
293
|
+
},
|
294
|
+
|
295
|
+
/* Attach an inline date picker to a div. */
|
296
|
+
_inlineDatepicker: function(target, inst) {
|
297
|
+
var divSpan = $(target);
|
298
|
+
if (divSpan.hasClass(this.markerClassName)) {
|
299
|
+
return;
|
300
|
+
}
|
301
|
+
divSpan.addClass(this.markerClassName).append(inst.dpDiv);
|
302
|
+
$.data(target, "datepicker", inst);
|
303
|
+
this._setDate(inst, this._getDefaultDate(inst), true);
|
304
|
+
this._updateDatepicker(inst);
|
305
|
+
this._updateAlternate(inst);
|
306
|
+
//If disabled option is true, disable the datepicker before showing it (see ticket #5665)
|
307
|
+
if( inst.settings.disabled ) {
|
308
|
+
this._disableDatepicker( target );
|
309
|
+
}
|
310
|
+
// Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements
|
311
|
+
// http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height
|
312
|
+
inst.dpDiv.css( "display", "block" );
|
313
|
+
},
|
314
|
+
|
315
|
+
/* Pop-up the date picker in a "dialog" box.
|
316
|
+
* @param input element - ignored
|
317
|
+
* @param date string or Date - the initial date to display
|
318
|
+
* @param onSelect function - the function to call when a date is selected
|
319
|
+
* @param settings object - update the dialog date picker instance's settings (anonymous object)
|
320
|
+
* @param pos int[2] - coordinates for the dialog's position within the screen or
|
321
|
+
* event - with x/y coordinates or
|
322
|
+
* leave empty for default (screen centre)
|
323
|
+
* @return the manager object
|
324
|
+
*/
|
325
|
+
_dialogDatepicker: function(input, date, onSelect, settings, pos) {
|
326
|
+
var id, browserWidth, browserHeight, scrollX, scrollY,
|
327
|
+
inst = this._dialogInst; // internal instance
|
328
|
+
|
329
|
+
if (!inst) {
|
330
|
+
this.uuid += 1;
|
331
|
+
id = "dp" + this.uuid;
|
332
|
+
this._dialogInput = $("<input type='text' id='" + id +
|
333
|
+
"' style='position: absolute; top: -100px; width: 0px;'/>");
|
334
|
+
this._dialogInput.keydown(this._doKeyDown);
|
335
|
+
$("body").append(this._dialogInput);
|
336
|
+
inst = this._dialogInst = this._newInst(this._dialogInput, false);
|
337
|
+
inst.settings = {};
|
338
|
+
$.data(this._dialogInput[0], "datepicker", inst);
|
339
|
+
}
|
340
|
+
datepicker_extendRemove(inst.settings, settings || {});
|
341
|
+
date = (date && date.constructor === Date ? this._formatDate(inst, date) : date);
|
342
|
+
this._dialogInput.val(date);
|
343
|
+
|
344
|
+
this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null);
|
345
|
+
if (!this._pos) {
|
346
|
+
browserWidth = document.documentElement.clientWidth;
|
347
|
+
browserHeight = document.documentElement.clientHeight;
|
348
|
+
scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
|
349
|
+
scrollY = document.documentElement.scrollTop || document.body.scrollTop;
|
350
|
+
this._pos = // should use actual width/height below
|
351
|
+
[(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY];
|
352
|
+
}
|
353
|
+
|
354
|
+
// move input on screen for focus, but hidden behind dialog
|
355
|
+
this._dialogInput.css("left", (this._pos[0] + 20) + "px").css("top", this._pos[1] + "px");
|
356
|
+
inst.settings.onSelect = onSelect;
|
357
|
+
this._inDialog = true;
|
358
|
+
this.dpDiv.addClass(this._dialogClass);
|
359
|
+
this._showDatepicker(this._dialogInput[0]);
|
360
|
+
if ($.blockUI) {
|
361
|
+
$.blockUI(this.dpDiv);
|
362
|
+
}
|
363
|
+
$.data(this._dialogInput[0], "datepicker", inst);
|
364
|
+
return this;
|
365
|
+
},
|
366
|
+
|
367
|
+
/* Detach a datepicker from its control.
|
368
|
+
* @param target element - the target input field or division or span
|
369
|
+
*/
|
370
|
+
_destroyDatepicker: function(target) {
|
371
|
+
var nodeName,
|
372
|
+
$target = $(target),
|
373
|
+
inst = $.data(target, "datepicker");
|
374
|
+
|
375
|
+
if (!$target.hasClass(this.markerClassName)) {
|
376
|
+
return;
|
377
|
+
}
|
378
|
+
|
379
|
+
nodeName = target.nodeName.toLowerCase();
|
380
|
+
$.removeData(target, "datepicker");
|
381
|
+
if (nodeName === "input") {
|
382
|
+
inst.append.remove();
|
383
|
+
inst.trigger.remove();
|
384
|
+
$target.removeClass(this.markerClassName).
|
385
|
+
unbind("focus", this._showDatepicker).
|
386
|
+
unbind("keydown", this._doKeyDown).
|
387
|
+
unbind("keypress", this._doKeyPress).
|
388
|
+
unbind("keyup", this._doKeyUp);
|
389
|
+
} else if (nodeName === "div" || nodeName === "span") {
|
390
|
+
$target.removeClass(this.markerClassName).empty();
|
391
|
+
}
|
392
|
+
},
|
393
|
+
|
394
|
+
/* Enable the date picker to a jQuery selection.
|
395
|
+
* @param target element - the target input field or division or span
|
396
|
+
*/
|
397
|
+
_enableDatepicker: function(target) {
|
398
|
+
var nodeName, inline,
|
399
|
+
$target = $(target),
|
400
|
+
inst = $.data(target, "datepicker");
|
401
|
+
|
402
|
+
if (!$target.hasClass(this.markerClassName)) {
|
403
|
+
return;
|
404
|
+
}
|
405
|
+
|
406
|
+
nodeName = target.nodeName.toLowerCase();
|
407
|
+
if (nodeName === "input") {
|
408
|
+
target.disabled = false;
|
409
|
+
inst.trigger.filter("button").
|
410
|
+
each(function() { this.disabled = false; }).end().
|
411
|
+
filter("img").css({opacity: "1.0", cursor: ""});
|
412
|
+
} else if (nodeName === "div" || nodeName === "span") {
|
413
|
+
inline = $target.children("." + this._inlineClass);
|
414
|
+
inline.children().removeClass("ui-state-disabled");
|
415
|
+
inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
|
416
|
+
prop("disabled", false);
|
417
|
+
}
|
418
|
+
this._disabledInputs = $.map(this._disabledInputs,
|
419
|
+
function(value) { return (value === target ? null : value); }); // delete entry
|
420
|
+
},
|
421
|
+
|
422
|
+
/* Disable the date picker to a jQuery selection.
|
423
|
+
* @param target element - the target input field or division or span
|
424
|
+
*/
|
425
|
+
_disableDatepicker: function(target) {
|
426
|
+
var nodeName, inline,
|
427
|
+
$target = $(target),
|
428
|
+
inst = $.data(target, "datepicker");
|
429
|
+
|
430
|
+
if (!$target.hasClass(this.markerClassName)) {
|
431
|
+
return;
|
432
|
+
}
|
433
|
+
|
434
|
+
nodeName = target.nodeName.toLowerCase();
|
435
|
+
if (nodeName === "input") {
|
436
|
+
target.disabled = true;
|
437
|
+
inst.trigger.filter("button").
|
438
|
+
each(function() { this.disabled = true; }).end().
|
439
|
+
filter("img").css({opacity: "0.5", cursor: "default"});
|
440
|
+
} else if (nodeName === "div" || nodeName === "span") {
|
441
|
+
inline = $target.children("." + this._inlineClass);
|
442
|
+
inline.children().addClass("ui-state-disabled");
|
443
|
+
inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
|
444
|
+
prop("disabled", true);
|
445
|
+
}
|
446
|
+
this._disabledInputs = $.map(this._disabledInputs,
|
447
|
+
function(value) { return (value === target ? null : value); }); // delete entry
|
448
|
+
this._disabledInputs[this._disabledInputs.length] = target;
|
449
|
+
},
|
450
|
+
|
451
|
+
/* Is the first field in a jQuery collection disabled as a datepicker?
|
452
|
+
* @param target element - the target input field or division or span
|
453
|
+
* @return boolean - true if disabled, false if enabled
|
454
|
+
*/
|
455
|
+
_isDisabledDatepicker: function(target) {
|
456
|
+
if (!target) {
|
457
|
+
return false;
|
458
|
+
}
|
459
|
+
for (var i = 0; i < this._disabledInputs.length; i++) {
|
460
|
+
if (this._disabledInputs[i] === target) {
|
461
|
+
return true;
|
462
|
+
}
|
463
|
+
}
|
464
|
+
return false;
|
465
|
+
},
|
466
|
+
|
467
|
+
/* Retrieve the instance data for the target control.
|
468
|
+
* @param target element - the target input field or division or span
|
469
|
+
* @return object - the associated instance data
|
470
|
+
* @throws error if a jQuery problem getting data
|
471
|
+
*/
|
472
|
+
_getInst: function(target) {
|
473
|
+
try {
|
474
|
+
return $.data(target, "datepicker");
|
475
|
+
}
|
476
|
+
catch (err) {
|
477
|
+
throw "Missing instance data for this datepicker";
|
478
|
+
}
|
479
|
+
},
|
480
|
+
|
481
|
+
/* Update or retrieve the settings for a date picker attached to an input field or division.
|
482
|
+
* @param target element - the target input field or division or span
|
483
|
+
* @param name object - the new settings to update or
|
484
|
+
* string - the name of the setting to change or retrieve,
|
485
|
+
* when retrieving also "all" for all instance settings or
|
486
|
+
* "defaults" for all global defaults
|
487
|
+
* @param value any - the new value for the setting
|
488
|
+
* (omit if above is an object or to retrieve a value)
|
489
|
+
*/
|
490
|
+
_optionDatepicker: function(target, name, value) {
|
491
|
+
var settings, date, minDate, maxDate,
|
492
|
+
inst = this._getInst(target);
|
493
|
+
|
494
|
+
if (arguments.length === 2 && typeof name === "string") {
|
495
|
+
return (name === "defaults" ? $.extend({}, $.datepicker._defaults) :
|
496
|
+
(inst ? (name === "all" ? $.extend({}, inst.settings) :
|
497
|
+
this._get(inst, name)) : null));
|
498
|
+
}
|
499
|
+
|
500
|
+
settings = name || {};
|
501
|
+
if (typeof name === "string") {
|
502
|
+
settings = {};
|
503
|
+
settings[name] = value;
|
504
|
+
}
|
505
|
+
|
506
|
+
if (inst) {
|
507
|
+
if (this._curInst === inst) {
|
508
|
+
this._hideDatepicker();
|
509
|
+
}
|
510
|
+
|
511
|
+
date = this._getDateDatepicker(target, true);
|
512
|
+
minDate = this._getMinMaxDate(inst, "min");
|
513
|
+
maxDate = this._getMinMaxDate(inst, "max");
|
514
|
+
datepicker_extendRemove(inst.settings, settings);
|
515
|
+
// reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided
|
516
|
+
if (minDate !== null && settings.dateFormat !== undefined && settings.minDate === undefined) {
|
517
|
+
inst.settings.minDate = this._formatDate(inst, minDate);
|
518
|
+
}
|
519
|
+
if (maxDate !== null && settings.dateFormat !== undefined && settings.maxDate === undefined) {
|
520
|
+
inst.settings.maxDate = this._formatDate(inst, maxDate);
|
521
|
+
}
|
522
|
+
if ( "disabled" in settings ) {
|
523
|
+
if ( settings.disabled ) {
|
524
|
+
this._disableDatepicker(target);
|
525
|
+
} else {
|
526
|
+
this._enableDatepicker(target);
|
527
|
+
}
|
528
|
+
}
|
529
|
+
this._attachments($(target), inst);
|
530
|
+
this._autoSize(inst);
|
531
|
+
this._setDate(inst, date);
|
532
|
+
this._updateAlternate(inst);
|
533
|
+
this._updateDatepicker(inst);
|
534
|
+
}
|
535
|
+
},
|
536
|
+
|
537
|
+
// change method deprecated
|
538
|
+
_changeDatepicker: function(target, name, value) {
|
539
|
+
this._optionDatepicker(target, name, value);
|
540
|
+
},
|
541
|
+
|
542
|
+
/* Redraw the date picker attached to an input field or division.
|
543
|
+
* @param target element - the target input field or division or span
|
544
|
+
*/
|
545
|
+
_refreshDatepicker: function(target) {
|
546
|
+
var inst = this._getInst(target);
|
547
|
+
if (inst) {
|
548
|
+
this._updateDatepicker(inst);
|
549
|
+
}
|
550
|
+
},
|
551
|
+
|
552
|
+
/* Set the dates for a jQuery selection.
|
553
|
+
* @param target element - the target input field or division or span
|
554
|
+
* @param date Date - the new date
|
555
|
+
*/
|
556
|
+
_setDateDatepicker: function(target, date) {
|
557
|
+
var inst = this._getInst(target);
|
558
|
+
if (inst) {
|
559
|
+
this._setDate(inst, date);
|
560
|
+
this._updateDatepicker(inst);
|
561
|
+
this._updateAlternate(inst);
|
562
|
+
}
|
563
|
+
},
|
564
|
+
|
565
|
+
/* Get the date(s) for the first entry in a jQuery selection.
|
566
|
+
* @param target element - the target input field or division or span
|
567
|
+
* @param noDefault boolean - true if no default date is to be used
|
568
|
+
* @return Date - the current date
|
569
|
+
*/
|
570
|
+
_getDateDatepicker: function(target, noDefault) {
|
571
|
+
var inst = this._getInst(target);
|
572
|
+
if (inst && !inst.inline) {
|
573
|
+
this._setDateFromField(inst, noDefault);
|
574
|
+
}
|
575
|
+
return (inst ? this._getDate(inst) : null);
|
576
|
+
},
|
577
|
+
|
578
|
+
/* Handle keystrokes. */
|
579
|
+
_doKeyDown: function(event) {
|
580
|
+
var onSelect, dateStr, sel,
|
581
|
+
inst = $.datepicker._getInst(event.target),
|
582
|
+
handled = true,
|
583
|
+
isRTL = inst.dpDiv.is(".ui-datepicker-rtl");
|
584
|
+
|
585
|
+
inst._keyEvent = true;
|
586
|
+
if ($.datepicker._datepickerShowing) {
|
587
|
+
switch (event.keyCode) {
|
588
|
+
case 9: $.datepicker._hideDatepicker();
|
589
|
+
handled = false;
|
590
|
+
break; // hide on tab out
|
591
|
+
case 13: sel = $("td." + $.datepicker._dayOverClass + ":not(." +
|
592
|
+
$.datepicker._currentClass + ")", inst.dpDiv);
|
593
|
+
if (sel[0]) {
|
594
|
+
$.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]);
|
595
|
+
}
|
596
|
+
|
597
|
+
onSelect = $.datepicker._get(inst, "onSelect");
|
598
|
+
if (onSelect) {
|
599
|
+
dateStr = $.datepicker._formatDate(inst);
|
600
|
+
|
601
|
+
// trigger custom callback
|
602
|
+
onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]);
|
603
|
+
} else {
|
604
|
+
$.datepicker._hideDatepicker();
|
605
|
+
}
|
606
|
+
|
607
|
+
return false; // don't submit the form
|
608
|
+
case 27: $.datepicker._hideDatepicker();
|
609
|
+
break; // hide on escape
|
610
|
+
case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
|
611
|
+
-$.datepicker._get(inst, "stepBigMonths") :
|
612
|
+
-$.datepicker._get(inst, "stepMonths")), "M");
|
613
|
+
break; // previous month/year on page up/+ ctrl
|
614
|
+
case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
|
615
|
+
+$.datepicker._get(inst, "stepBigMonths") :
|
616
|
+
+$.datepicker._get(inst, "stepMonths")), "M");
|
617
|
+
break; // next month/year on page down/+ ctrl
|
618
|
+
case 35: if (event.ctrlKey || event.metaKey) {
|
619
|
+
$.datepicker._clearDate(event.target);
|
620
|
+
}
|
621
|
+
handled = event.ctrlKey || event.metaKey;
|
622
|
+
break; // clear on ctrl or command +end
|
623
|
+
case 36: if (event.ctrlKey || event.metaKey) {
|
624
|
+
$.datepicker._gotoToday(event.target);
|
625
|
+
}
|
626
|
+
handled = event.ctrlKey || event.metaKey;
|
627
|
+
break; // current on ctrl or command +home
|
628
|
+
case 37: if (event.ctrlKey || event.metaKey) {
|
629
|
+
$.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), "D");
|
630
|
+
}
|
631
|
+
handled = event.ctrlKey || event.metaKey;
|
632
|
+
// -1 day on ctrl or command +left
|
633
|
+
if (event.originalEvent.altKey) {
|
634
|
+
$.datepicker._adjustDate(event.target, (event.ctrlKey ?
|
635
|
+
-$.datepicker._get(inst, "stepBigMonths") :
|
636
|
+
-$.datepicker._get(inst, "stepMonths")), "M");
|
637
|
+
}
|
638
|
+
// next month/year on alt +left on Mac
|
639
|
+
break;
|
640
|
+
case 38: if (event.ctrlKey || event.metaKey) {
|
641
|
+
$.datepicker._adjustDate(event.target, -7, "D");
|
642
|
+
}
|
643
|
+
handled = event.ctrlKey || event.metaKey;
|
644
|
+
break; // -1 week on ctrl or command +up
|
645
|
+
case 39: if (event.ctrlKey || event.metaKey) {
|
646
|
+
$.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), "D");
|
647
|
+
}
|
648
|
+
handled = event.ctrlKey || event.metaKey;
|
649
|
+
// +1 day on ctrl or command +right
|
650
|
+
if (event.originalEvent.altKey) {
|
651
|
+
$.datepicker._adjustDate(event.target, (event.ctrlKey ?
|
652
|
+
+$.datepicker._get(inst, "stepBigMonths") :
|
653
|
+
+$.datepicker._get(inst, "stepMonths")), "M");
|
654
|
+
}
|
655
|
+
// next month/year on alt +right
|
656
|
+
break;
|
657
|
+
case 40: if (event.ctrlKey || event.metaKey) {
|
658
|
+
$.datepicker._adjustDate(event.target, +7, "D");
|
659
|
+
}
|
660
|
+
handled = event.ctrlKey || event.metaKey;
|
661
|
+
break; // +1 week on ctrl or command +down
|
662
|
+
default: handled = false;
|
663
|
+
}
|
664
|
+
} else if (event.keyCode === 36 && event.ctrlKey) { // display the date picker on ctrl+home
|
665
|
+
$.datepicker._showDatepicker(this);
|
666
|
+
} else {
|
667
|
+
handled = false;
|
668
|
+
}
|
669
|
+
|
670
|
+
if (handled) {
|
671
|
+
event.preventDefault();
|
672
|
+
event.stopPropagation();
|
673
|
+
}
|
674
|
+
},
|
675
|
+
|
676
|
+
/* Filter entered characters - based on date format. */
|
677
|
+
_doKeyPress: function(event) {
|
678
|
+
var chars, chr,
|
679
|
+
inst = $.datepicker._getInst(event.target);
|
680
|
+
|
681
|
+
if ($.datepicker._get(inst, "constrainInput")) {
|
682
|
+
chars = $.datepicker._possibleChars($.datepicker._get(inst, "dateFormat"));
|
683
|
+
chr = String.fromCharCode(event.charCode == null ? event.keyCode : event.charCode);
|
684
|
+
return event.ctrlKey || event.metaKey || (chr < " " || !chars || chars.indexOf(chr) > -1);
|
685
|
+
}
|
686
|
+
},
|
687
|
+
|
688
|
+
/* Synchronise manual entry and field/alternate field. */
|
689
|
+
_doKeyUp: function(event) {
|
690
|
+
var date,
|
691
|
+
inst = $.datepicker._getInst(event.target);
|
692
|
+
|
693
|
+
if (inst.input.val() !== inst.lastVal) {
|
694
|
+
try {
|
695
|
+
date = $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
|
696
|
+
(inst.input ? inst.input.val() : null),
|
697
|
+
$.datepicker._getFormatConfig(inst));
|
698
|
+
|
699
|
+
if (date) { // only if valid
|
700
|
+
$.datepicker._setDateFromField(inst);
|
701
|
+
$.datepicker._updateAlternate(inst);
|
702
|
+
$.datepicker._updateDatepicker(inst);
|
703
|
+
}
|
704
|
+
}
|
705
|
+
catch (err) {
|
706
|
+
}
|
707
|
+
}
|
708
|
+
return true;
|
709
|
+
},
|
710
|
+
|
711
|
+
/* Pop-up the date picker for a given input field.
|
712
|
+
* If false returned from beforeShow event handler do not show.
|
713
|
+
* @param input element - the input field attached to the date picker or
|
714
|
+
* event - if triggered by focus
|
715
|
+
*/
|
716
|
+
_showDatepicker: function(input) {
|
717
|
+
input = input.target || input;
|
718
|
+
if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger
|
719
|
+
input = $("input", input.parentNode)[0];
|
720
|
+
}
|
721
|
+
|
722
|
+
if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput === input) { // already here
|
723
|
+
return;
|
724
|
+
}
|
725
|
+
|
726
|
+
var inst, beforeShow, beforeShowSettings, isFixed,
|
727
|
+
offset, showAnim, duration;
|
728
|
+
|
729
|
+
inst = $.datepicker._getInst(input);
|
730
|
+
if ($.datepicker._curInst && $.datepicker._curInst !== inst) {
|
731
|
+
$.datepicker._curInst.dpDiv.stop(true, true);
|
732
|
+
if ( inst && $.datepicker._datepickerShowing ) {
|
733
|
+
$.datepicker._hideDatepicker( $.datepicker._curInst.input[0] );
|
734
|
+
}
|
735
|
+
}
|
736
|
+
|
737
|
+
beforeShow = $.datepicker._get(inst, "beforeShow");
|
738
|
+
beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {};
|
739
|
+
if(beforeShowSettings === false){
|
740
|
+
return;
|
741
|
+
}
|
742
|
+
datepicker_extendRemove(inst.settings, beforeShowSettings);
|
743
|
+
|
744
|
+
inst.lastVal = null;
|
745
|
+
$.datepicker._lastInput = input;
|
746
|
+
$.datepicker._setDateFromField(inst);
|
747
|
+
|
748
|
+
if ($.datepicker._inDialog) { // hide cursor
|
749
|
+
input.value = "";
|
750
|
+
}
|
751
|
+
if (!$.datepicker._pos) { // position below input
|
752
|
+
$.datepicker._pos = $.datepicker._findPos(input);
|
753
|
+
$.datepicker._pos[1] += input.offsetHeight; // add the height
|
754
|
+
}
|
755
|
+
|
756
|
+
isFixed = false;
|
757
|
+
$(input).parents().each(function() {
|
758
|
+
isFixed |= $(this).css("position") === "fixed";
|
759
|
+
return !isFixed;
|
760
|
+
});
|
761
|
+
|
762
|
+
offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};
|
763
|
+
$.datepicker._pos = null;
|
764
|
+
//to avoid flashes on Firefox
|
765
|
+
inst.dpDiv.empty();
|
766
|
+
// determine sizing offscreen
|
767
|
+
inst.dpDiv.css({position: "absolute", display: "block", top: "-1000px"});
|
768
|
+
$.datepicker._updateDatepicker(inst);
|
769
|
+
// fix width for dynamic number of date pickers
|
770
|
+
// and adjust position before showing
|
771
|
+
offset = $.datepicker._checkOffset(inst, offset, isFixed);
|
772
|
+
inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ?
|
773
|
+
"static" : (isFixed ? "fixed" : "absolute")), display: "none",
|
774
|
+
left: offset.left + "px", top: offset.top + "px"});
|
775
|
+
|
776
|
+
if (!inst.inline) {
|
777
|
+
showAnim = $.datepicker._get(inst, "showAnim");
|
778
|
+
duration = $.datepicker._get(inst, "duration");
|
779
|
+
inst.dpDiv.css( "z-index", datepicker_getZindex( $( input ) ) + 1 );
|
780
|
+
$.datepicker._datepickerShowing = true;
|
781
|
+
|
782
|
+
if ( $.effects && $.effects.effect[ showAnim ] ) {
|
783
|
+
inst.dpDiv.show(showAnim, $.datepicker._get(inst, "showOptions"), duration);
|
784
|
+
} else {
|
785
|
+
inst.dpDiv[showAnim || "show"](showAnim ? duration : null);
|
786
|
+
}
|
787
|
+
|
788
|
+
if ( $.datepicker._shouldFocusInput( inst ) ) {
|
789
|
+
inst.input.focus();
|
790
|
+
}
|
791
|
+
|
792
|
+
$.datepicker._curInst = inst;
|
793
|
+
}
|
794
|
+
},
|
795
|
+
|
796
|
+
/* Generate the date picker content. */
|
797
|
+
_updateDatepicker: function(inst) {
|
798
|
+
this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
|
799
|
+
datepicker_instActive = inst; // for delegate hover events
|
800
|
+
inst.dpDiv.empty().append(this._generateHTML(inst));
|
801
|
+
this._attachHandlers(inst);
|
802
|
+
|
803
|
+
var origyearshtml,
|
804
|
+
numMonths = this._getNumberOfMonths(inst),
|
805
|
+
cols = numMonths[1],
|
806
|
+
width = 17,
|
807
|
+
activeCell = inst.dpDiv.find( "." + this._dayOverClass + " a" );
|
808
|
+
|
809
|
+
if ( activeCell.length > 0 ) {
|
810
|
+
datepicker_handleMouseover.apply( activeCell.get( 0 ) );
|
811
|
+
}
|
812
|
+
|
813
|
+
inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");
|
814
|
+
if (cols > 1) {
|
815
|
+
inst.dpDiv.addClass("ui-datepicker-multi-" + cols).css("width", (width * cols) + "em");
|
816
|
+
}
|
817
|
+
inst.dpDiv[(numMonths[0] !== 1 || numMonths[1] !== 1 ? "add" : "remove") +
|
818
|
+
"Class"]("ui-datepicker-multi");
|
819
|
+
inst.dpDiv[(this._get(inst, "isRTL") ? "add" : "remove") +
|
820
|
+
"Class"]("ui-datepicker-rtl");
|
821
|
+
|
822
|
+
if (inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) {
|
823
|
+
inst.input.focus();
|
824
|
+
}
|
825
|
+
|
826
|
+
// deffered render of the years select (to avoid flashes on Firefox)
|
827
|
+
if( inst.yearshtml ){
|
828
|
+
origyearshtml = inst.yearshtml;
|
829
|
+
setTimeout(function(){
|
830
|
+
//assure that inst.yearshtml didn't change.
|
831
|
+
if( origyearshtml === inst.yearshtml && inst.yearshtml ){
|
832
|
+
inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml);
|
833
|
+
}
|
834
|
+
origyearshtml = inst.yearshtml = null;
|
835
|
+
}, 0);
|
836
|
+
}
|
837
|
+
},
|
838
|
+
|
839
|
+
// #6694 - don't focus the input if it's already focused
|
840
|
+
// this breaks the change event in IE
|
841
|
+
// Support: IE and jQuery <1.9
|
842
|
+
_shouldFocusInput: function( inst ) {
|
843
|
+
return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" ) && !inst.input.is( ":focus" );
|
844
|
+
},
|
845
|
+
|
846
|
+
/* Check positioning to remain on screen. */
|
847
|
+
_checkOffset: function(inst, offset, isFixed) {
|
848
|
+
var dpWidth = inst.dpDiv.outerWidth(),
|
849
|
+
dpHeight = inst.dpDiv.outerHeight(),
|
850
|
+
inputWidth = inst.input ? inst.input.outerWidth() : 0,
|
851
|
+
inputHeight = inst.input ? inst.input.outerHeight() : 0,
|
852
|
+
viewWidth = document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft()),
|
853
|
+
viewHeight = document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop());
|
854
|
+
|
855
|
+
offset.left -= (this._get(inst, "isRTL") ? (dpWidth - inputWidth) : 0);
|
856
|
+
offset.left -= (isFixed && offset.left === inst.input.offset().left) ? $(document).scrollLeft() : 0;
|
857
|
+
offset.top -= (isFixed && offset.top === (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0;
|
858
|
+
|
859
|
+
// now check if datepicker is showing outside window viewport - move to a better place if so.
|
860
|
+
offset.left -= Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?
|
861
|
+
Math.abs(offset.left + dpWidth - viewWidth) : 0);
|
862
|
+
offset.top -= Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?
|
863
|
+
Math.abs(dpHeight + inputHeight) : 0);
|
864
|
+
|
865
|
+
return offset;
|
866
|
+
},
|
867
|
+
|
868
|
+
/* Find an object's position on the screen. */
|
869
|
+
_findPos: function(obj) {
|
870
|
+
var position,
|
871
|
+
inst = this._getInst(obj),
|
872
|
+
isRTL = this._get(inst, "isRTL");
|
873
|
+
|
874
|
+
while (obj && (obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden(obj))) {
|
875
|
+
obj = obj[isRTL ? "previousSibling" : "nextSibling"];
|
876
|
+
}
|
877
|
+
|
878
|
+
position = $(obj).offset();
|
879
|
+
return [position.left, position.top];
|
880
|
+
},
|
881
|
+
|
882
|
+
/* Hide the date picker from view.
|
883
|
+
* @param input element - the input field attached to the date picker
|
884
|
+
*/
|
885
|
+
_hideDatepicker: function(input) {
|
886
|
+
var showAnim, duration, postProcess, onClose,
|
887
|
+
inst = this._curInst;
|
888
|
+
|
889
|
+
if (!inst || (input && inst !== $.data(input, "datepicker"))) {
|
890
|
+
return;
|
891
|
+
}
|
892
|
+
|
893
|
+
if (this._datepickerShowing) {
|
894
|
+
showAnim = this._get(inst, "showAnim");
|
895
|
+
duration = this._get(inst, "duration");
|
896
|
+
postProcess = function() {
|
897
|
+
$.datepicker._tidyDialog(inst);
|
898
|
+
};
|
899
|
+
|
900
|
+
// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
|
901
|
+
if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {
|
902
|
+
inst.dpDiv.hide(showAnim, $.datepicker._get(inst, "showOptions"), duration, postProcess);
|
903
|
+
} else {
|
904
|
+
inst.dpDiv[(showAnim === "slideDown" ? "slideUp" :
|
905
|
+
(showAnim === "fadeIn" ? "fadeOut" : "hide"))]((showAnim ? duration : null), postProcess);
|
906
|
+
}
|
907
|
+
|
908
|
+
if (!showAnim) {
|
909
|
+
postProcess();
|
910
|
+
}
|
911
|
+
this._datepickerShowing = false;
|
912
|
+
|
913
|
+
onClose = this._get(inst, "onClose");
|
914
|
+
if (onClose) {
|
915
|
+
onClose.apply((inst.input ? inst.input[0] : null), [(inst.input ? inst.input.val() : ""), inst]);
|
916
|
+
}
|
917
|
+
|
918
|
+
this._lastInput = null;
|
919
|
+
if (this._inDialog) {
|
920
|
+
this._dialogInput.css({ position: "absolute", left: "0", top: "-100px" });
|
921
|
+
if ($.blockUI) {
|
922
|
+
$.unblockUI();
|
923
|
+
$("body").append(this.dpDiv);
|
924
|
+
}
|
925
|
+
}
|
926
|
+
this._inDialog = false;
|
927
|
+
}
|
928
|
+
},
|
929
|
+
|
930
|
+
/* Tidy up after a dialog display. */
|
931
|
+
_tidyDialog: function(inst) {
|
932
|
+
inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar");
|
933
|
+
},
|
934
|
+
|
935
|
+
/* Close date picker if clicked elsewhere. */
|
936
|
+
_checkExternalClick: function(event) {
|
937
|
+
if (!$.datepicker._curInst) {
|
938
|
+
return;
|
939
|
+
}
|
940
|
+
|
941
|
+
var $target = $(event.target),
|
942
|
+
inst = $.datepicker._getInst($target[0]);
|
943
|
+
|
944
|
+
if ( ( ( $target[0].id !== $.datepicker._mainDivId &&
|
945
|
+
$target.parents("#" + $.datepicker._mainDivId).length === 0 &&
|
946
|
+
!$target.hasClass($.datepicker.markerClassName) &&
|
947
|
+
!$target.closest("." + $.datepicker._triggerClass).length &&
|
948
|
+
$.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
|
949
|
+
( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst !== inst ) ) {
|
950
|
+
$.datepicker._hideDatepicker();
|
951
|
+
}
|
952
|
+
},
|
953
|
+
|
954
|
+
/* Adjust one of the date sub-fields. */
|
955
|
+
_adjustDate: function(id, offset, period) {
|
956
|
+
var target = $(id),
|
957
|
+
inst = this._getInst(target[0]);
|
958
|
+
|
959
|
+
if (this._isDisabledDatepicker(target[0])) {
|
960
|
+
return;
|
961
|
+
}
|
962
|
+
this._adjustInstDate(inst, offset +
|
963
|
+
(period === "M" ? this._get(inst, "showCurrentAtPos") : 0), // undo positioning
|
964
|
+
period);
|
965
|
+
this._updateDatepicker(inst);
|
966
|
+
},
|
967
|
+
|
968
|
+
/* Action for current link. */
|
969
|
+
_gotoToday: function(id) {
|
970
|
+
var date,
|
971
|
+
target = $(id),
|
972
|
+
inst = this._getInst(target[0]);
|
973
|
+
|
974
|
+
if (this._get(inst, "gotoCurrent") && inst.currentDay) {
|
975
|
+
inst.selectedDay = inst.currentDay;
|
976
|
+
inst.drawMonth = inst.selectedMonth = inst.currentMonth;
|
977
|
+
inst.drawYear = inst.selectedYear = inst.currentYear;
|
978
|
+
} else {
|
979
|
+
date = new Date();
|
980
|
+
inst.selectedDay = date.getDate();
|
981
|
+
inst.drawMonth = inst.selectedMonth = date.getMonth();
|
982
|
+
inst.drawYear = inst.selectedYear = date.getFullYear();
|
983
|
+
}
|
984
|
+
this._notifyChange(inst);
|
985
|
+
this._adjustDate(target);
|
986
|
+
},
|
987
|
+
|
988
|
+
/* Action for selecting a new month/year. */
|
989
|
+
_selectMonthYear: function(id, select, period) {
|
990
|
+
var target = $(id),
|
991
|
+
inst = this._getInst(target[0]);
|
992
|
+
|
993
|
+
inst["selected" + (period === "M" ? "Month" : "Year")] =
|
994
|
+
inst["draw" + (period === "M" ? "Month" : "Year")] =
|
995
|
+
parseInt(select.options[select.selectedIndex].value,10);
|
996
|
+
|
997
|
+
this._notifyChange(inst);
|
998
|
+
this._adjustDate(target);
|
999
|
+
},
|
1000
|
+
|
1001
|
+
/* Action for selecting a day. */
|
1002
|
+
_selectDay: function(id, month, year, td) {
|
1003
|
+
var inst,
|
1004
|
+
target = $(id);
|
1005
|
+
|
1006
|
+
if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) {
|
1007
|
+
return;
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
inst = this._getInst(target[0]);
|
1011
|
+
inst.selectedDay = inst.currentDay = $("a", td).html();
|
1012
|
+
inst.selectedMonth = inst.currentMonth = month;
|
1013
|
+
inst.selectedYear = inst.currentYear = year;
|
1014
|
+
this._selectDate(id, this._formatDate(inst,
|
1015
|
+
inst.currentDay, inst.currentMonth, inst.currentYear));
|
1016
|
+
},
|
1017
|
+
|
1018
|
+
/* Erase the input field and hide the date picker. */
|
1019
|
+
_clearDate: function(id) {
|
1020
|
+
var target = $(id);
|
1021
|
+
this._selectDate(target, "");
|
1022
|
+
},
|
1023
|
+
|
1024
|
+
/* Update the input field with the selected date. */
|
1025
|
+
_selectDate: function(id, dateStr) {
|
1026
|
+
var onSelect,
|
1027
|
+
target = $(id),
|
1028
|
+
inst = this._getInst(target[0]);
|
1029
|
+
|
1030
|
+
dateStr = (dateStr != null ? dateStr : this._formatDate(inst));
|
1031
|
+
if (inst.input) {
|
1032
|
+
inst.input.val(dateStr);
|
1033
|
+
}
|
1034
|
+
this._updateAlternate(inst);
|
1035
|
+
|
1036
|
+
onSelect = this._get(inst, "onSelect");
|
1037
|
+
if (onSelect) {
|
1038
|
+
onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback
|
1039
|
+
} else if (inst.input) {
|
1040
|
+
inst.input.trigger("change"); // fire the change event
|
1041
|
+
}
|
1042
|
+
|
1043
|
+
if (inst.inline){
|
1044
|
+
this._updateDatepicker(inst);
|
1045
|
+
} else {
|
1046
|
+
this._hideDatepicker();
|
1047
|
+
this._lastInput = inst.input[0];
|
1048
|
+
if (typeof(inst.input[0]) !== "object") {
|
1049
|
+
inst.input.focus(); // restore focus
|
1050
|
+
}
|
1051
|
+
this._lastInput = null;
|
1052
|
+
}
|
1053
|
+
},
|
1054
|
+
|
1055
|
+
/* Update any alternate field to synchronise with the main field. */
|
1056
|
+
_updateAlternate: function(inst) {
|
1057
|
+
var altFormat, date, dateStr,
|
1058
|
+
altField = this._get(inst, "altField");
|
1059
|
+
|
1060
|
+
if (altField) { // update alternate field too
|
1061
|
+
altFormat = this._get(inst, "altFormat") || this._get(inst, "dateFormat");
|
1062
|
+
date = this._getDate(inst);
|
1063
|
+
dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));
|
1064
|
+
$(altField).each(function() { $(this).val(dateStr); });
|
1065
|
+
}
|
1066
|
+
},
|
1067
|
+
|
1068
|
+
/* Set as beforeShowDay function to prevent selection of weekends.
|
1069
|
+
* @param date Date - the date to customise
|
1070
|
+
* @return [boolean, string] - is this date selectable?, what is its CSS class?
|
1071
|
+
*/
|
1072
|
+
noWeekends: function(date) {
|
1073
|
+
var day = date.getDay();
|
1074
|
+
return [(day > 0 && day < 6), ""];
|
1075
|
+
},
|
1076
|
+
|
1077
|
+
/* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.
|
1078
|
+
* @param date Date - the date to get the week for
|
1079
|
+
* @return number - the number of the week within the year that contains this date
|
1080
|
+
*/
|
1081
|
+
iso8601Week: function(date) {
|
1082
|
+
var time,
|
1083
|
+
checkDate = new Date(date.getTime());
|
1084
|
+
|
1085
|
+
// Find Thursday of this week starting on Monday
|
1086
|
+
checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));
|
1087
|
+
|
1088
|
+
time = checkDate.getTime();
|
1089
|
+
checkDate.setMonth(0); // Compare with Jan 1
|
1090
|
+
checkDate.setDate(1);
|
1091
|
+
return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1;
|
1092
|
+
},
|
1093
|
+
|
1094
|
+
/* Parse a string value into a date object.
|
1095
|
+
* See formatDate below for the possible formats.
|
1096
|
+
*
|
1097
|
+
* @param format string - the expected format of the date
|
1098
|
+
* @param value string - the date in the above format
|
1099
|
+
* @param settings Object - attributes include:
|
1100
|
+
* shortYearCutoff number - the cutoff year for determining the century (optional)
|
1101
|
+
* dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
|
1102
|
+
* dayNames string[7] - names of the days from Sunday (optional)
|
1103
|
+
* monthNamesShort string[12] - abbreviated names of the months (optional)
|
1104
|
+
* monthNames string[12] - names of the months (optional)
|
1105
|
+
* @return Date - the extracted date value or null if value is blank
|
1106
|
+
*/
|
1107
|
+
parseDate: function (format, value, settings) {
|
1108
|
+
if (format == null || value == null) {
|
1109
|
+
throw "Invalid arguments";
|
1110
|
+
}
|
1111
|
+
|
1112
|
+
value = (typeof value === "object" ? value.toString() : value + "");
|
1113
|
+
if (value === "") {
|
1114
|
+
return null;
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
var iFormat, dim, extra,
|
1118
|
+
iValue = 0,
|
1119
|
+
shortYearCutoffTemp = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff,
|
1120
|
+
shortYearCutoff = (typeof shortYearCutoffTemp !== "string" ? shortYearCutoffTemp :
|
1121
|
+
new Date().getFullYear() % 100 + parseInt(shortYearCutoffTemp, 10)),
|
1122
|
+
dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,
|
1123
|
+
dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,
|
1124
|
+
monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,
|
1125
|
+
monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,
|
1126
|
+
year = -1,
|
1127
|
+
month = -1,
|
1128
|
+
day = -1,
|
1129
|
+
doy = -1,
|
1130
|
+
literal = false,
|
1131
|
+
date,
|
1132
|
+
// Check whether a format character is doubled
|
1133
|
+
lookAhead = function(match) {
|
1134
|
+
var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
|
1135
|
+
if (matches) {
|
1136
|
+
iFormat++;
|
1137
|
+
}
|
1138
|
+
return matches;
|
1139
|
+
},
|
1140
|
+
// Extract a number from the string value
|
1141
|
+
getNumber = function(match) {
|
1142
|
+
var isDoubled = lookAhead(match),
|
1143
|
+
size = (match === "@" ? 14 : (match === "!" ? 20 :
|
1144
|
+
(match === "y" && isDoubled ? 4 : (match === "o" ? 3 : 2)))),
|
1145
|
+
minSize = (match === "y" ? size : 1),
|
1146
|
+
digits = new RegExp("^\\d{" + minSize + "," + size + "}"),
|
1147
|
+
num = value.substring(iValue).match(digits);
|
1148
|
+
if (!num) {
|
1149
|
+
throw "Missing number at position " + iValue;
|
1150
|
+
}
|
1151
|
+
iValue += num[0].length;
|
1152
|
+
return parseInt(num[0], 10);
|
1153
|
+
},
|
1154
|
+
// Extract a name from the string value and convert to an index
|
1155
|
+
getName = function(match, shortNames, longNames) {
|
1156
|
+
var index = -1,
|
1157
|
+
names = $.map(lookAhead(match) ? longNames : shortNames, function (v, k) {
|
1158
|
+
return [ [k, v] ];
|
1159
|
+
}).sort(function (a, b) {
|
1160
|
+
return -(a[1].length - b[1].length);
|
1161
|
+
});
|
1162
|
+
|
1163
|
+
$.each(names, function (i, pair) {
|
1164
|
+
var name = pair[1];
|
1165
|
+
if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {
|
1166
|
+
index = pair[0];
|
1167
|
+
iValue += name.length;
|
1168
|
+
return false;
|
1169
|
+
}
|
1170
|
+
});
|
1171
|
+
if (index !== -1) {
|
1172
|
+
return index + 1;
|
1173
|
+
} else {
|
1174
|
+
throw "Unknown name at position " + iValue;
|
1175
|
+
}
|
1176
|
+
},
|
1177
|
+
// Confirm that a literal character matches the string value
|
1178
|
+
checkLiteral = function() {
|
1179
|
+
if (value.charAt(iValue) !== format.charAt(iFormat)) {
|
1180
|
+
throw "Unexpected literal at position " + iValue;
|
1181
|
+
}
|
1182
|
+
iValue++;
|
1183
|
+
};
|
1184
|
+
|
1185
|
+
for (iFormat = 0; iFormat < format.length; iFormat++) {
|
1186
|
+
if (literal) {
|
1187
|
+
if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
|
1188
|
+
literal = false;
|
1189
|
+
} else {
|
1190
|
+
checkLiteral();
|
1191
|
+
}
|
1192
|
+
} else {
|
1193
|
+
switch (format.charAt(iFormat)) {
|
1194
|
+
case "d":
|
1195
|
+
day = getNumber("d");
|
1196
|
+
break;
|
1197
|
+
case "D":
|
1198
|
+
getName("D", dayNamesShort, dayNames);
|
1199
|
+
break;
|
1200
|
+
case "o":
|
1201
|
+
doy = getNumber("o");
|
1202
|
+
break;
|
1203
|
+
case "m":
|
1204
|
+
month = getNumber("m");
|
1205
|
+
break;
|
1206
|
+
case "M":
|
1207
|
+
month = getName("M", monthNamesShort, monthNames);
|
1208
|
+
break;
|
1209
|
+
case "y":
|
1210
|
+
year = getNumber("y");
|
1211
|
+
break;
|
1212
|
+
case "@":
|
1213
|
+
date = new Date(getNumber("@"));
|
1214
|
+
year = date.getFullYear();
|
1215
|
+
month = date.getMonth() + 1;
|
1216
|
+
day = date.getDate();
|
1217
|
+
break;
|
1218
|
+
case "!":
|
1219
|
+
date = new Date((getNumber("!") - this._ticksTo1970) / 10000);
|
1220
|
+
year = date.getFullYear();
|
1221
|
+
month = date.getMonth() + 1;
|
1222
|
+
day = date.getDate();
|
1223
|
+
break;
|
1224
|
+
case "'":
|
1225
|
+
if (lookAhead("'")){
|
1226
|
+
checkLiteral();
|
1227
|
+
} else {
|
1228
|
+
literal = true;
|
1229
|
+
}
|
1230
|
+
break;
|
1231
|
+
default:
|
1232
|
+
checkLiteral();
|
1233
|
+
}
|
1234
|
+
}
|
1235
|
+
}
|
1236
|
+
|
1237
|
+
if (iValue < value.length){
|
1238
|
+
extra = value.substr(iValue);
|
1239
|
+
if (!/^\s+/.test(extra)) {
|
1240
|
+
throw "Extra/unparsed characters found in date: " + extra;
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
if (year === -1) {
|
1245
|
+
year = new Date().getFullYear();
|
1246
|
+
} else if (year < 100) {
|
1247
|
+
year += new Date().getFullYear() - new Date().getFullYear() % 100 +
|
1248
|
+
(year <= shortYearCutoff ? 0 : -100);
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
if (doy > -1) {
|
1252
|
+
month = 1;
|
1253
|
+
day = doy;
|
1254
|
+
do {
|
1255
|
+
dim = this._getDaysInMonth(year, month - 1);
|
1256
|
+
if (day <= dim) {
|
1257
|
+
break;
|
1258
|
+
}
|
1259
|
+
month++;
|
1260
|
+
day -= dim;
|
1261
|
+
} while (true);
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
date = this._daylightSavingAdjust(new Date(year, month - 1, day));
|
1265
|
+
if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {
|
1266
|
+
throw "Invalid date"; // E.g. 31/02/00
|
1267
|
+
}
|
1268
|
+
return date;
|
1269
|
+
},
|
1270
|
+
|
1271
|
+
/* Standard date formats. */
|
1272
|
+
ATOM: "yy-mm-dd", // RFC 3339 (ISO 8601)
|
1273
|
+
COOKIE: "D, dd M yy",
|
1274
|
+
ISO_8601: "yy-mm-dd",
|
1275
|
+
RFC_822: "D, d M y",
|
1276
|
+
RFC_850: "DD, dd-M-y",
|
1277
|
+
RFC_1036: "D, d M y",
|
1278
|
+
RFC_1123: "D, d M yy",
|
1279
|
+
RFC_2822: "D, d M yy",
|
1280
|
+
RSS: "D, d M y", // RFC 822
|
1281
|
+
TICKS: "!",
|
1282
|
+
TIMESTAMP: "@",
|
1283
|
+
W3C: "yy-mm-dd", // ISO 8601
|
1284
|
+
|
1285
|
+
_ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) +
|
1286
|
+
Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000),
|
1287
|
+
|
1288
|
+
/* Format a date object into a string value.
|
1289
|
+
* The format can be combinations of the following:
|
1290
|
+
* d - day of month (no leading zero)
|
1291
|
+
* dd - day of month (two digit)
|
1292
|
+
* o - day of year (no leading zeros)
|
1293
|
+
* oo - day of year (three digit)
|
1294
|
+
* D - day name short
|
1295
|
+
* DD - day name long
|
1296
|
+
* m - month of year (no leading zero)
|
1297
|
+
* mm - month of year (two digit)
|
1298
|
+
* M - month name short
|
1299
|
+
* MM - month name long
|
1300
|
+
* y - year (two digit)
|
1301
|
+
* yy - year (four digit)
|
1302
|
+
* @ - Unix timestamp (ms since 01/01/1970)
|
1303
|
+
* ! - Windows ticks (100ns since 01/01/0001)
|
1304
|
+
* "..." - literal text
|
1305
|
+
* '' - single quote
|
1306
|
+
*
|
1307
|
+
* @param format string - the desired format of the date
|
1308
|
+
* @param date Date - the date value to format
|
1309
|
+
* @param settings Object - attributes include:
|
1310
|
+
* dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
|
1311
|
+
* dayNames string[7] - names of the days from Sunday (optional)
|
1312
|
+
* monthNamesShort string[12] - abbreviated names of the months (optional)
|
1313
|
+
* monthNames string[12] - names of the months (optional)
|
1314
|
+
* @return string - the date in the above format
|
1315
|
+
*/
|
1316
|
+
formatDate: function (format, date, settings) {
|
1317
|
+
if (!date) {
|
1318
|
+
return "";
|
1319
|
+
}
|
1320
|
+
|
1321
|
+
var iFormat,
|
1322
|
+
dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,
|
1323
|
+
dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,
|
1324
|
+
monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,
|
1325
|
+
monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,
|
1326
|
+
// Check whether a format character is doubled
|
1327
|
+
lookAhead = function(match) {
|
1328
|
+
var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
|
1329
|
+
if (matches) {
|
1330
|
+
iFormat++;
|
1331
|
+
}
|
1332
|
+
return matches;
|
1333
|
+
},
|
1334
|
+
// Format a number, with leading zero if necessary
|
1335
|
+
formatNumber = function(match, value, len) {
|
1336
|
+
var num = "" + value;
|
1337
|
+
if (lookAhead(match)) {
|
1338
|
+
while (num.length < len) {
|
1339
|
+
num = "0" + num;
|
1340
|
+
}
|
1341
|
+
}
|
1342
|
+
return num;
|
1343
|
+
},
|
1344
|
+
// Format a name, short or long as requested
|
1345
|
+
formatName = function(match, value, shortNames, longNames) {
|
1346
|
+
return (lookAhead(match) ? longNames[value] : shortNames[value]);
|
1347
|
+
},
|
1348
|
+
output = "",
|
1349
|
+
literal = false;
|
1350
|
+
|
1351
|
+
if (date) {
|
1352
|
+
for (iFormat = 0; iFormat < format.length; iFormat++) {
|
1353
|
+
if (literal) {
|
1354
|
+
if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
|
1355
|
+
literal = false;
|
1356
|
+
} else {
|
1357
|
+
output += format.charAt(iFormat);
|
1358
|
+
}
|
1359
|
+
} else {
|
1360
|
+
switch (format.charAt(iFormat)) {
|
1361
|
+
case "d":
|
1362
|
+
output += formatNumber("d", date.getDate(), 2);
|
1363
|
+
break;
|
1364
|
+
case "D":
|
1365
|
+
output += formatName("D", date.getDay(), dayNamesShort, dayNames);
|
1366
|
+
break;
|
1367
|
+
case "o":
|
1368
|
+
output += formatNumber("o",
|
1369
|
+
Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);
|
1370
|
+
break;
|
1371
|
+
case "m":
|
1372
|
+
output += formatNumber("m", date.getMonth() + 1, 2);
|
1373
|
+
break;
|
1374
|
+
case "M":
|
1375
|
+
output += formatName("M", date.getMonth(), monthNamesShort, monthNames);
|
1376
|
+
break;
|
1377
|
+
case "y":
|
1378
|
+
output += (lookAhead("y") ? date.getFullYear() :
|
1379
|
+
(date.getYear() % 100 < 10 ? "0" : "") + date.getYear() % 100);
|
1380
|
+
break;
|
1381
|
+
case "@":
|
1382
|
+
output += date.getTime();
|
1383
|
+
break;
|
1384
|
+
case "!":
|
1385
|
+
output += date.getTime() * 10000 + this._ticksTo1970;
|
1386
|
+
break;
|
1387
|
+
case "'":
|
1388
|
+
if (lookAhead("'")) {
|
1389
|
+
output += "'";
|
1390
|
+
} else {
|
1391
|
+
literal = true;
|
1392
|
+
}
|
1393
|
+
break;
|
1394
|
+
default:
|
1395
|
+
output += format.charAt(iFormat);
|
1396
|
+
}
|
1397
|
+
}
|
1398
|
+
}
|
1399
|
+
}
|
1400
|
+
return output;
|
1401
|
+
},
|
1402
|
+
|
1403
|
+
/* Extract all possible characters from the date format. */
|
1404
|
+
_possibleChars: function (format) {
|
1405
|
+
var iFormat,
|
1406
|
+
chars = "",
|
1407
|
+
literal = false,
|
1408
|
+
// Check whether a format character is doubled
|
1409
|
+
lookAhead = function(match) {
|
1410
|
+
var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
|
1411
|
+
if (matches) {
|
1412
|
+
iFormat++;
|
1413
|
+
}
|
1414
|
+
return matches;
|
1415
|
+
};
|
1416
|
+
|
1417
|
+
for (iFormat = 0; iFormat < format.length; iFormat++) {
|
1418
|
+
if (literal) {
|
1419
|
+
if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
|
1420
|
+
literal = false;
|
1421
|
+
} else {
|
1422
|
+
chars += format.charAt(iFormat);
|
1423
|
+
}
|
1424
|
+
} else {
|
1425
|
+
switch (format.charAt(iFormat)) {
|
1426
|
+
case "d": case "m": case "y": case "@":
|
1427
|
+
chars += "0123456789";
|
1428
|
+
break;
|
1429
|
+
case "D": case "M":
|
1430
|
+
return null; // Accept anything
|
1431
|
+
case "'":
|
1432
|
+
if (lookAhead("'")) {
|
1433
|
+
chars += "'";
|
1434
|
+
} else {
|
1435
|
+
literal = true;
|
1436
|
+
}
|
1437
|
+
break;
|
1438
|
+
default:
|
1439
|
+
chars += format.charAt(iFormat);
|
1440
|
+
}
|
1441
|
+
}
|
1442
|
+
}
|
1443
|
+
return chars;
|
1444
|
+
},
|
1445
|
+
|
1446
|
+
/* Get a setting value, defaulting if necessary. */
|
1447
|
+
_get: function(inst, name) {
|
1448
|
+
return inst.settings[name] !== undefined ?
|
1449
|
+
inst.settings[name] : this._defaults[name];
|
1450
|
+
},
|
1451
|
+
|
1452
|
+
/* Parse existing date and initialise date picker. */
|
1453
|
+
_setDateFromField: function(inst, noDefault) {
|
1454
|
+
if (inst.input.val() === inst.lastVal) {
|
1455
|
+
return;
|
1456
|
+
}
|
1457
|
+
|
1458
|
+
var dateFormat = this._get(inst, "dateFormat"),
|
1459
|
+
dates = inst.lastVal = inst.input ? inst.input.val() : null,
|
1460
|
+
defaultDate = this._getDefaultDate(inst),
|
1461
|
+
date = defaultDate,
|
1462
|
+
settings = this._getFormatConfig(inst);
|
1463
|
+
|
1464
|
+
try {
|
1465
|
+
date = this.parseDate(dateFormat, dates, settings) || defaultDate;
|
1466
|
+
} catch (event) {
|
1467
|
+
dates = (noDefault ? "" : dates);
|
1468
|
+
}
|
1469
|
+
inst.selectedDay = date.getDate();
|
1470
|
+
inst.drawMonth = inst.selectedMonth = date.getMonth();
|
1471
|
+
inst.drawYear = inst.selectedYear = date.getFullYear();
|
1472
|
+
inst.currentDay = (dates ? date.getDate() : 0);
|
1473
|
+
inst.currentMonth = (dates ? date.getMonth() : 0);
|
1474
|
+
inst.currentYear = (dates ? date.getFullYear() : 0);
|
1475
|
+
this._adjustInstDate(inst);
|
1476
|
+
},
|
1477
|
+
|
1478
|
+
/* Retrieve the default date shown on opening. */
|
1479
|
+
_getDefaultDate: function(inst) {
|
1480
|
+
return this._restrictMinMax(inst,
|
1481
|
+
this._determineDate(inst, this._get(inst, "defaultDate"), new Date()));
|
1482
|
+
},
|
1483
|
+
|
1484
|
+
/* A date may be specified as an exact value or a relative one. */
|
1485
|
+
_determineDate: function(inst, date, defaultDate) {
|
1486
|
+
var offsetNumeric = function(offset) {
|
1487
|
+
var date = new Date();
|
1488
|
+
date.setDate(date.getDate() + offset);
|
1489
|
+
return date;
|
1490
|
+
},
|
1491
|
+
offsetString = function(offset) {
|
1492
|
+
try {
|
1493
|
+
return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
|
1494
|
+
offset, $.datepicker._getFormatConfig(inst));
|
1495
|
+
}
|
1496
|
+
catch (e) {
|
1497
|
+
// Ignore
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
var date = (offset.toLowerCase().match(/^c/) ?
|
1501
|
+
$.datepicker._getDate(inst) : null) || new Date(),
|
1502
|
+
year = date.getFullYear(),
|
1503
|
+
month = date.getMonth(),
|
1504
|
+
day = date.getDate(),
|
1505
|
+
pattern = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,
|
1506
|
+
matches = pattern.exec(offset);
|
1507
|
+
|
1508
|
+
while (matches) {
|
1509
|
+
switch (matches[2] || "d") {
|
1510
|
+
case "d" : case "D" :
|
1511
|
+
day += parseInt(matches[1],10); break;
|
1512
|
+
case "w" : case "W" :
|
1513
|
+
day += parseInt(matches[1],10) * 7; break;
|
1514
|
+
case "m" : case "M" :
|
1515
|
+
month += parseInt(matches[1],10);
|
1516
|
+
day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
|
1517
|
+
break;
|
1518
|
+
case "y": case "Y" :
|
1519
|
+
year += parseInt(matches[1],10);
|
1520
|
+
day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
|
1521
|
+
break;
|
1522
|
+
}
|
1523
|
+
matches = pattern.exec(offset);
|
1524
|
+
}
|
1525
|
+
return new Date(year, month, day);
|
1526
|
+
},
|
1527
|
+
newDate = (date == null || date === "" ? defaultDate : (typeof date === "string" ? offsetString(date) :
|
1528
|
+
(typeof date === "number" ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime()))));
|
1529
|
+
|
1530
|
+
newDate = (newDate && newDate.toString() === "Invalid Date" ? defaultDate : newDate);
|
1531
|
+
if (newDate) {
|
1532
|
+
newDate.setHours(0);
|
1533
|
+
newDate.setMinutes(0);
|
1534
|
+
newDate.setSeconds(0);
|
1535
|
+
newDate.setMilliseconds(0);
|
1536
|
+
}
|
1537
|
+
return this._daylightSavingAdjust(newDate);
|
1538
|
+
},
|
1539
|
+
|
1540
|
+
/* Handle switch to/from daylight saving.
|
1541
|
+
* Hours may be non-zero on daylight saving cut-over:
|
1542
|
+
* > 12 when midnight changeover, but then cannot generate
|
1543
|
+
* midnight datetime, so jump to 1AM, otherwise reset.
|
1544
|
+
* @param date (Date) the date to check
|
1545
|
+
* @return (Date) the corrected date
|
1546
|
+
*/
|
1547
|
+
_daylightSavingAdjust: function(date) {
|
1548
|
+
if (!date) {
|
1549
|
+
return null;
|
1550
|
+
}
|
1551
|
+
date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);
|
1552
|
+
return date;
|
1553
|
+
},
|
1554
|
+
|
1555
|
+
/* Set the date(s) directly. */
|
1556
|
+
_setDate: function(inst, date, noChange) {
|
1557
|
+
var clear = !date,
|
1558
|
+
origMonth = inst.selectedMonth,
|
1559
|
+
origYear = inst.selectedYear,
|
1560
|
+
newDate = this._restrictMinMax(inst, this._determineDate(inst, date, new Date()));
|
1561
|
+
|
1562
|
+
inst.selectedDay = inst.currentDay = newDate.getDate();
|
1563
|
+
inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();
|
1564
|
+
inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();
|
1565
|
+
if ((origMonth !== inst.selectedMonth || origYear !== inst.selectedYear) && !noChange) {
|
1566
|
+
this._notifyChange(inst);
|
1567
|
+
}
|
1568
|
+
this._adjustInstDate(inst);
|
1569
|
+
if (inst.input) {
|
1570
|
+
inst.input.val(clear ? "" : this._formatDate(inst));
|
1571
|
+
}
|
1572
|
+
},
|
1573
|
+
|
1574
|
+
/* Retrieve the date(s) directly. */
|
1575
|
+
_getDate: function(inst) {
|
1576
|
+
var startDate = (!inst.currentYear || (inst.input && inst.input.val() === "") ? null :
|
1577
|
+
this._daylightSavingAdjust(new Date(
|
1578
|
+
inst.currentYear, inst.currentMonth, inst.currentDay)));
|
1579
|
+
return startDate;
|
1580
|
+
},
|
1581
|
+
|
1582
|
+
/* Attach the onxxx handlers. These are declared statically so
|
1583
|
+
* they work with static code transformers like Caja.
|
1584
|
+
*/
|
1585
|
+
_attachHandlers: function(inst) {
|
1586
|
+
var stepMonths = this._get(inst, "stepMonths"),
|
1587
|
+
id = "#" + inst.id.replace( /\\\\/g, "\\" );
|
1588
|
+
inst.dpDiv.find("[data-handler]").map(function () {
|
1589
|
+
var handler = {
|
1590
|
+
prev: function () {
|
1591
|
+
$.datepicker._adjustDate(id, -stepMonths, "M");
|
1592
|
+
},
|
1593
|
+
next: function () {
|
1594
|
+
$.datepicker._adjustDate(id, +stepMonths, "M");
|
1595
|
+
},
|
1596
|
+
hide: function () {
|
1597
|
+
$.datepicker._hideDatepicker();
|
1598
|
+
},
|
1599
|
+
today: function () {
|
1600
|
+
$.datepicker._gotoToday(id);
|
1601
|
+
},
|
1602
|
+
selectDay: function () {
|
1603
|
+
$.datepicker._selectDay(id, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this);
|
1604
|
+
return false;
|
1605
|
+
},
|
1606
|
+
selectMonth: function () {
|
1607
|
+
$.datepicker._selectMonthYear(id, this, "M");
|
1608
|
+
return false;
|
1609
|
+
},
|
1610
|
+
selectYear: function () {
|
1611
|
+
$.datepicker._selectMonthYear(id, this, "Y");
|
1612
|
+
return false;
|
1613
|
+
}
|
1614
|
+
};
|
1615
|
+
$(this).bind(this.getAttribute("data-event"), handler[this.getAttribute("data-handler")]);
|
1616
|
+
});
|
1617
|
+
},
|
1618
|
+
|
1619
|
+
/* Generate the HTML for the current state of the date picker. */
|
1620
|
+
_generateHTML: function(inst) {
|
1621
|
+
var maxDraw, prevText, prev, nextText, next, currentText, gotoDate,
|
1622
|
+
controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin,
|
1623
|
+
monthNames, monthNamesShort, beforeShowDay, showOtherMonths,
|
1624
|
+
selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate,
|
1625
|
+
cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows,
|
1626
|
+
printDate, dRow, tbody, daySettings, otherMonth, unselectable,
|
1627
|
+
tempDate = new Date(),
|
1628
|
+
today = this._daylightSavingAdjust(
|
1629
|
+
new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate())), // clear time
|
1630
|
+
isRTL = this._get(inst, "isRTL"),
|
1631
|
+
showButtonPanel = this._get(inst, "showButtonPanel"),
|
1632
|
+
hideIfNoPrevNext = this._get(inst, "hideIfNoPrevNext"),
|
1633
|
+
navigationAsDateFormat = this._get(inst, "navigationAsDateFormat"),
|
1634
|
+
numMonths = this._getNumberOfMonths(inst),
|
1635
|
+
showCurrentAtPos = this._get(inst, "showCurrentAtPos"),
|
1636
|
+
stepMonths = this._get(inst, "stepMonths"),
|
1637
|
+
isMultiMonth = (numMonths[0] !== 1 || numMonths[1] !== 1),
|
1638
|
+
currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) :
|
1639
|
+
new Date(inst.currentYear, inst.currentMonth, inst.currentDay))),
|
1640
|
+
minDate = this._getMinMaxDate(inst, "min"),
|
1641
|
+
maxDate = this._getMinMaxDate(inst, "max"),
|
1642
|
+
drawMonth = inst.drawMonth - showCurrentAtPos,
|
1643
|
+
drawYear = inst.drawYear;
|
1644
|
+
|
1645
|
+
if (drawMonth < 0) {
|
1646
|
+
drawMonth += 12;
|
1647
|
+
drawYear--;
|
1648
|
+
}
|
1649
|
+
if (maxDate) {
|
1650
|
+
maxDraw = this._daylightSavingAdjust(new Date(maxDate.getFullYear(),
|
1651
|
+
maxDate.getMonth() - (numMonths[0] * numMonths[1]) + 1, maxDate.getDate()));
|
1652
|
+
maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw);
|
1653
|
+
while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) {
|
1654
|
+
drawMonth--;
|
1655
|
+
if (drawMonth < 0) {
|
1656
|
+
drawMonth = 11;
|
1657
|
+
drawYear--;
|
1658
|
+
}
|
1659
|
+
}
|
1660
|
+
}
|
1661
|
+
inst.drawMonth = drawMonth;
|
1662
|
+
inst.drawYear = drawYear;
|
1663
|
+
|
1664
|
+
prevText = this._get(inst, "prevText");
|
1665
|
+
prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText,
|
1666
|
+
this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),
|
1667
|
+
this._getFormatConfig(inst)));
|
1668
|
+
|
1669
|
+
prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
|
1670
|
+
"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
|
1671
|
+
" title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" :
|
1672
|
+
(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>"));
|
1673
|
+
|
1674
|
+
nextText = this._get(inst, "nextText");
|
1675
|
+
nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,
|
1676
|
+
this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),
|
1677
|
+
this._getFormatConfig(inst)));
|
1678
|
+
|
1679
|
+
next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
|
1680
|
+
"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
|
1681
|
+
" title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" :
|
1682
|
+
(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>"));
|
1683
|
+
|
1684
|
+
currentText = this._get(inst, "currentText");
|
1685
|
+
gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);
|
1686
|
+
currentText = (!navigationAsDateFormat ? currentText :
|
1687
|
+
this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
|
1688
|
+
|
1689
|
+
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'>" +
|
1690
|
+
this._get(inst, "closeText") + "</button>" : "");
|
1691
|
+
|
1692
|
+
buttonPanel = (showButtonPanel) ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (isRTL ? controls : "") +
|
1693
|
+
(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'" +
|
1694
|
+
">" + currentText + "</button>" : "") + (isRTL ? "" : controls) + "</div>" : "";
|
1695
|
+
|
1696
|
+
firstDay = parseInt(this._get(inst, "firstDay"),10);
|
1697
|
+
firstDay = (isNaN(firstDay) ? 0 : firstDay);
|
1698
|
+
|
1699
|
+
showWeek = this._get(inst, "showWeek");
|
1700
|
+
dayNames = this._get(inst, "dayNames");
|
1701
|
+
dayNamesMin = this._get(inst, "dayNamesMin");
|
1702
|
+
monthNames = this._get(inst, "monthNames");
|
1703
|
+
monthNamesShort = this._get(inst, "monthNamesShort");
|
1704
|
+
beforeShowDay = this._get(inst, "beforeShowDay");
|
1705
|
+
showOtherMonths = this._get(inst, "showOtherMonths");
|
1706
|
+
selectOtherMonths = this._get(inst, "selectOtherMonths");
|
1707
|
+
defaultDate = this._getDefaultDate(inst);
|
1708
|
+
html = "";
|
1709
|
+
dow;
|
1710
|
+
for (row = 0; row < numMonths[0]; row++) {
|
1711
|
+
group = "";
|
1712
|
+
this.maxRows = 4;
|
1713
|
+
for (col = 0; col < numMonths[1]; col++) {
|
1714
|
+
selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay));
|
1715
|
+
cornerClass = " ui-corner-all";
|
1716
|
+
calender = "";
|
1717
|
+
if (isMultiMonth) {
|
1718
|
+
calender += "<div class='ui-datepicker-group";
|
1719
|
+
if (numMonths[1] > 1) {
|
1720
|
+
switch (col) {
|
1721
|
+
case 0: calender += " ui-datepicker-group-first";
|
1722
|
+
cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break;
|
1723
|
+
case numMonths[1]-1: calender += " ui-datepicker-group-last";
|
1724
|
+
cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break;
|
1725
|
+
default: calender += " ui-datepicker-group-middle"; cornerClass = ""; break;
|
1726
|
+
}
|
1727
|
+
}
|
1728
|
+
calender += "'>";
|
1729
|
+
}
|
1730
|
+
calender += "<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix" + cornerClass + "'>" +
|
1731
|
+
(/all|left/.test(cornerClass) && row === 0 ? (isRTL ? next : prev) : "") +
|
1732
|
+
(/all|right/.test(cornerClass) && row === 0 ? (isRTL ? prev : next) : "") +
|
1733
|
+
this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate,
|
1734
|
+
row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers
|
1735
|
+
"</div><table class='ui-datepicker-calendar'><thead>" +
|
1736
|
+
"<tr>";
|
1737
|
+
thead = (showWeek ? "<th class='ui-datepicker-week-col'>" + this._get(inst, "weekHeader") + "</th>" : "");
|
1738
|
+
for (dow = 0; dow < 7; dow++) { // days of the week
|
1739
|
+
day = (dow + firstDay) % 7;
|
1740
|
+
thead += "<th scope='col'" + ((dow + firstDay + 6) % 7 >= 5 ? " class='ui-datepicker-week-end'" : "") + ">" +
|
1741
|
+
"<span title='" + dayNames[day] + "'>" + dayNamesMin[day] + "</span></th>";
|
1742
|
+
}
|
1743
|
+
calender += thead + "</tr></thead><tbody>";
|
1744
|
+
daysInMonth = this._getDaysInMonth(drawYear, drawMonth);
|
1745
|
+
if (drawYear === inst.selectedYear && drawMonth === inst.selectedMonth) {
|
1746
|
+
inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);
|
1747
|
+
}
|
1748
|
+
leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;
|
1749
|
+
curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate
|
1750
|
+
numRows = (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043)
|
1751
|
+
this.maxRows = numRows;
|
1752
|
+
printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays));
|
1753
|
+
for (dRow = 0; dRow < numRows; dRow++) { // create date picker rows
|
1754
|
+
calender += "<tr>";
|
1755
|
+
tbody = (!showWeek ? "" : "<td class='ui-datepicker-week-col'>" +
|
1756
|
+
this._get(inst, "calculateWeek")(printDate) + "</td>");
|
1757
|
+
for (dow = 0; dow < 7; dow++) { // create date picker days
|
1758
|
+
daySettings = (beforeShowDay ?
|
1759
|
+
beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, ""]);
|
1760
|
+
otherMonth = (printDate.getMonth() !== drawMonth);
|
1761
|
+
unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] ||
|
1762
|
+
(minDate && printDate < minDate) || (maxDate && printDate > maxDate);
|
1763
|
+
tbody += "<td class='" +
|
1764
|
+
((dow + firstDay + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + // highlight weekends
|
1765
|
+
(otherMonth ? " ui-datepicker-other-month" : "") + // highlight days from other months
|
1766
|
+
((printDate.getTime() === selectedDate.getTime() && drawMonth === inst.selectedMonth && inst._keyEvent) || // user pressed key
|
1767
|
+
(defaultDate.getTime() === printDate.getTime() && defaultDate.getTime() === selectedDate.getTime()) ?
|
1768
|
+
// or defaultDate is current printedDate and defaultDate is selectedDate
|
1769
|
+
" " + this._dayOverClass : "") + // highlight selected day
|
1770
|
+
(unselectable ? " " + this._unselectableClass + " ui-state-disabled": "") + // highlight unselectable days
|
1771
|
+
(otherMonth && !showOtherMonths ? "" : " " + daySettings[1] + // highlight custom dates
|
1772
|
+
(printDate.getTime() === currentDate.getTime() ? " " + this._currentClass : "") + // highlight selected day
|
1773
|
+
(printDate.getTime() === today.getTime() ? " ui-datepicker-today" : "")) + "'" + // highlight today (if different)
|
1774
|
+
((!otherMonth || showOtherMonths) && daySettings[2] ? " title='" + daySettings[2].replace(/'/g, "'") + "'" : "") + // cell title
|
1775
|
+
(unselectable ? "" : " data-handler='selectDay' data-event='click' data-month='" + printDate.getMonth() + "' data-year='" + printDate.getFullYear() + "'") + ">" + // actions
|
1776
|
+
(otherMonth && !showOtherMonths ? " " : // display for other months
|
1777
|
+
(unselectable ? "<span class='ui-state-default'>" + printDate.getDate() + "</span>" : "<a class='ui-state-default" +
|
1778
|
+
(printDate.getTime() === today.getTime() ? " ui-state-highlight" : "") +
|
1779
|
+
(printDate.getTime() === currentDate.getTime() ? " ui-state-active" : "") + // highlight selected day
|
1780
|
+
(otherMonth ? " ui-priority-secondary" : "") + // distinguish dates from other months
|
1781
|
+
"' href='#'>" + printDate.getDate() + "</a>")) + "</td>"; // display selectable date
|
1782
|
+
printDate.setDate(printDate.getDate() + 1);
|
1783
|
+
printDate = this._daylightSavingAdjust(printDate);
|
1784
|
+
}
|
1785
|
+
calender += tbody + "</tr>";
|
1786
|
+
}
|
1787
|
+
drawMonth++;
|
1788
|
+
if (drawMonth > 11) {
|
1789
|
+
drawMonth = 0;
|
1790
|
+
drawYear++;
|
1791
|
+
}
|
1792
|
+
calender += "</tbody></table>" + (isMultiMonth ? "</div>" +
|
1793
|
+
((numMonths[0] > 0 && col === numMonths[1]-1) ? "<div class='ui-datepicker-row-break'></div>" : "") : "");
|
1794
|
+
group += calender;
|
1795
|
+
}
|
1796
|
+
html += group;
|
1797
|
+
}
|
1798
|
+
html += buttonPanel;
|
1799
|
+
inst._keyEvent = false;
|
1800
|
+
return html;
|
1801
|
+
},
|
1802
|
+
|
1803
|
+
/* Generate the month and year header. */
|
1804
|
+
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
|
1805
|
+
secondary, monthNames, monthNamesShort) {
|
1806
|
+
|
1807
|
+
var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,
|
1808
|
+
changeMonth = this._get(inst, "changeMonth"),
|
1809
|
+
changeYear = this._get(inst, "changeYear"),
|
1810
|
+
showMonthAfterYear = this._get(inst, "showMonthAfterYear"),
|
1811
|
+
html = "<div class='ui-datepicker-title'>",
|
1812
|
+
monthHtml = "";
|
1813
|
+
|
1814
|
+
// month selection
|
1815
|
+
if (secondary || !changeMonth) {
|
1816
|
+
monthHtml += "<span class='ui-datepicker-month'>" + monthNames[drawMonth] + "</span>";
|
1817
|
+
} else {
|
1818
|
+
inMinYear = (minDate && minDate.getFullYear() === drawYear);
|
1819
|
+
inMaxYear = (maxDate && maxDate.getFullYear() === drawYear);
|
1820
|
+
monthHtml += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>";
|
1821
|
+
for ( month = 0; month < 12; month++) {
|
1822
|
+
if ((!inMinYear || month >= minDate.getMonth()) && (!inMaxYear || month <= maxDate.getMonth())) {
|
1823
|
+
monthHtml += "<option value='" + month + "'" +
|
1824
|
+
(month === drawMonth ? " selected='selected'" : "") +
|
1825
|
+
">" + monthNamesShort[month] + "</option>";
|
1826
|
+
}
|
1827
|
+
}
|
1828
|
+
monthHtml += "</select>";
|
1829
|
+
}
|
1830
|
+
|
1831
|
+
if (!showMonthAfterYear) {
|
1832
|
+
html += monthHtml + (secondary || !(changeMonth && changeYear) ? " " : "");
|
1833
|
+
}
|
1834
|
+
|
1835
|
+
// year selection
|
1836
|
+
if ( !inst.yearshtml ) {
|
1837
|
+
inst.yearshtml = "";
|
1838
|
+
if (secondary || !changeYear) {
|
1839
|
+
html += "<span class='ui-datepicker-year'>" + drawYear + "</span>";
|
1840
|
+
} else {
|
1841
|
+
// determine range of years to display
|
1842
|
+
years = this._get(inst, "yearRange").split(":");
|
1843
|
+
thisYear = new Date().getFullYear();
|
1844
|
+
determineYear = function(value) {
|
1845
|
+
var year = (value.match(/c[+\-].*/) ? drawYear + parseInt(value.substring(1), 10) :
|
1846
|
+
(value.match(/[+\-].*/) ? thisYear + parseInt(value, 10) :
|
1847
|
+
parseInt(value, 10)));
|
1848
|
+
return (isNaN(year) ? thisYear : year);
|
1849
|
+
};
|
1850
|
+
year = determineYear(years[0]);
|
1851
|
+
endYear = Math.max(year, determineYear(years[1] || ""));
|
1852
|
+
year = (minDate ? Math.max(year, minDate.getFullYear()) : year);
|
1853
|
+
endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);
|
1854
|
+
inst.yearshtml += "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";
|
1855
|
+
for (; year <= endYear; year++) {
|
1856
|
+
inst.yearshtml += "<option value='" + year + "'" +
|
1857
|
+
(year === drawYear ? " selected='selected'" : "") +
|
1858
|
+
">" + year + "</option>";
|
1859
|
+
}
|
1860
|
+
inst.yearshtml += "</select>";
|
1861
|
+
|
1862
|
+
html += inst.yearshtml;
|
1863
|
+
inst.yearshtml = null;
|
1864
|
+
}
|
1865
|
+
}
|
1866
|
+
|
1867
|
+
html += this._get(inst, "yearSuffix");
|
1868
|
+
if (showMonthAfterYear) {
|
1869
|
+
html += (secondary || !(changeMonth && changeYear) ? " " : "") + monthHtml;
|
1870
|
+
}
|
1871
|
+
html += "</div>"; // Close datepicker_header
|
1872
|
+
return html;
|
1873
|
+
},
|
1874
|
+
|
1875
|
+
/* Adjust one of the date sub-fields. */
|
1876
|
+
_adjustInstDate: function(inst, offset, period) {
|
1877
|
+
var year = inst.drawYear + (period === "Y" ? offset : 0),
|
1878
|
+
month = inst.drawMonth + (period === "M" ? offset : 0),
|
1879
|
+
day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period === "D" ? offset : 0),
|
1880
|
+
date = this._restrictMinMax(inst, this._daylightSavingAdjust(new Date(year, month, day)));
|
1881
|
+
|
1882
|
+
inst.selectedDay = date.getDate();
|
1883
|
+
inst.drawMonth = inst.selectedMonth = date.getMonth();
|
1884
|
+
inst.drawYear = inst.selectedYear = date.getFullYear();
|
1885
|
+
if (period === "M" || period === "Y") {
|
1886
|
+
this._notifyChange(inst);
|
1887
|
+
}
|
1888
|
+
},
|
1889
|
+
|
1890
|
+
/* Ensure a date is within any min/max bounds. */
|
1891
|
+
_restrictMinMax: function(inst, date) {
|
1892
|
+
var minDate = this._getMinMaxDate(inst, "min"),
|
1893
|
+
maxDate = this._getMinMaxDate(inst, "max"),
|
1894
|
+
newDate = (minDate && date < minDate ? minDate : date);
|
1895
|
+
return (maxDate && newDate > maxDate ? maxDate : newDate);
|
1896
|
+
},
|
1897
|
+
|
1898
|
+
/* Notify change of month/year. */
|
1899
|
+
_notifyChange: function(inst) {
|
1900
|
+
var onChange = this._get(inst, "onChangeMonthYear");
|
1901
|
+
if (onChange) {
|
1902
|
+
onChange.apply((inst.input ? inst.input[0] : null),
|
1903
|
+
[inst.selectedYear, inst.selectedMonth + 1, inst]);
|
1904
|
+
}
|
1905
|
+
},
|
1906
|
+
|
1907
|
+
/* Determine the number of months to show. */
|
1908
|
+
_getNumberOfMonths: function(inst) {
|
1909
|
+
var numMonths = this._get(inst, "numberOfMonths");
|
1910
|
+
return (numMonths == null ? [1, 1] : (typeof numMonths === "number" ? [1, numMonths] : numMonths));
|
1911
|
+
},
|
1912
|
+
|
1913
|
+
/* Determine the current maximum date - ensure no time components are set. */
|
1914
|
+
_getMinMaxDate: function(inst, minMax) {
|
1915
|
+
return this._determineDate(inst, this._get(inst, minMax + "Date"), null);
|
1916
|
+
},
|
1917
|
+
|
1918
|
+
/* Find the number of days in a given month. */
|
1919
|
+
_getDaysInMonth: function(year, month) {
|
1920
|
+
return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate();
|
1921
|
+
},
|
1922
|
+
|
1923
|
+
/* Find the day of the week of the first of a month. */
|
1924
|
+
_getFirstDayOfMonth: function(year, month) {
|
1925
|
+
return new Date(year, month, 1).getDay();
|
1926
|
+
},
|
1927
|
+
|
1928
|
+
/* Determines if we should allow a "next/prev" month display change. */
|
1929
|
+
_canAdjustMonth: function(inst, offset, curYear, curMonth) {
|
1930
|
+
var numMonths = this._getNumberOfMonths(inst),
|
1931
|
+
date = this._daylightSavingAdjust(new Date(curYear,
|
1932
|
+
curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]), 1));
|
1933
|
+
|
1934
|
+
if (offset < 0) {
|
1935
|
+
date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth()));
|
1936
|
+
}
|
1937
|
+
return this._isInRange(inst, date);
|
1938
|
+
},
|
1939
|
+
|
1940
|
+
/* Is the given date in the accepted range? */
|
1941
|
+
_isInRange: function(inst, date) {
|
1942
|
+
var yearSplit, currentYear,
|
1943
|
+
minDate = this._getMinMaxDate(inst, "min"),
|
1944
|
+
maxDate = this._getMinMaxDate(inst, "max"),
|
1945
|
+
minYear = null,
|
1946
|
+
maxYear = null,
|
1947
|
+
years = this._get(inst, "yearRange");
|
1948
|
+
if (years){
|
1949
|
+
yearSplit = years.split(":");
|
1950
|
+
currentYear = new Date().getFullYear();
|
1951
|
+
minYear = parseInt(yearSplit[0], 10);
|
1952
|
+
maxYear = parseInt(yearSplit[1], 10);
|
1953
|
+
if ( yearSplit[0].match(/[+\-].*/) ) {
|
1954
|
+
minYear += currentYear;
|
1955
|
+
}
|
1956
|
+
if ( yearSplit[1].match(/[+\-].*/) ) {
|
1957
|
+
maxYear += currentYear;
|
1958
|
+
}
|
1959
|
+
}
|
1960
|
+
|
1961
|
+
return ((!minDate || date.getTime() >= minDate.getTime()) &&
|
1962
|
+
(!maxDate || date.getTime() <= maxDate.getTime()) &&
|
1963
|
+
(!minYear || date.getFullYear() >= minYear) &&
|
1964
|
+
(!maxYear || date.getFullYear() <= maxYear));
|
1965
|
+
},
|
1966
|
+
|
1967
|
+
/* Provide the configuration settings for formatting/parsing. */
|
1968
|
+
_getFormatConfig: function(inst) {
|
1969
|
+
var shortYearCutoff = this._get(inst, "shortYearCutoff");
|
1970
|
+
shortYearCutoff = (typeof shortYearCutoff !== "string" ? shortYearCutoff :
|
1971
|
+
new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10));
|
1972
|
+
return {shortYearCutoff: shortYearCutoff,
|
1973
|
+
dayNamesShort: this._get(inst, "dayNamesShort"), dayNames: this._get(inst, "dayNames"),
|
1974
|
+
monthNamesShort: this._get(inst, "monthNamesShort"), monthNames: this._get(inst, "monthNames")};
|
1975
|
+
},
|
1976
|
+
|
1977
|
+
/* Format the given date for display. */
|
1978
|
+
_formatDate: function(inst, day, month, year) {
|
1979
|
+
if (!day) {
|
1980
|
+
inst.currentDay = inst.selectedDay;
|
1981
|
+
inst.currentMonth = inst.selectedMonth;
|
1982
|
+
inst.currentYear = inst.selectedYear;
|
1983
|
+
}
|
1984
|
+
var date = (day ? (typeof day === "object" ? day :
|
1985
|
+
this._daylightSavingAdjust(new Date(year, month, day))) :
|
1986
|
+
this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay)));
|
1987
|
+
return this.formatDate(this._get(inst, "dateFormat"), date, this._getFormatConfig(inst));
|
1988
|
+
}
|
1989
|
+
});
|
1990
|
+
|
1991
|
+
/*
|
1992
|
+
* Bind hover events for datepicker elements.
|
1993
|
+
* Done via delegate so the binding only occurs once in the lifetime of the parent div.
|
1994
|
+
* Global datepicker_instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.
|
1995
|
+
*/
|
1996
|
+
function datepicker_bindHover(dpDiv) {
|
1997
|
+
var selector = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
|
1998
|
+
return dpDiv.delegate(selector, "mouseout", function() {
|
1999
|
+
$(this).removeClass("ui-state-hover");
|
2000
|
+
if (this.className.indexOf("ui-datepicker-prev") !== -1) {
|
2001
|
+
$(this).removeClass("ui-datepicker-prev-hover");
|
2002
|
+
}
|
2003
|
+
if (this.className.indexOf("ui-datepicker-next") !== -1) {
|
2004
|
+
$(this).removeClass("ui-datepicker-next-hover");
|
2005
|
+
}
|
2006
|
+
})
|
2007
|
+
.delegate( selector, "mouseover", datepicker_handleMouseover );
|
2008
|
+
}
|
2009
|
+
|
2010
|
+
function datepicker_handleMouseover() {
|
2011
|
+
if (!$.datepicker._isDisabledDatepicker( datepicker_instActive.inline? datepicker_instActive.dpDiv.parent()[0] : datepicker_instActive.input[0])) {
|
2012
|
+
$(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
|
2013
|
+
$(this).addClass("ui-state-hover");
|
2014
|
+
if (this.className.indexOf("ui-datepicker-prev") !== -1) {
|
2015
|
+
$(this).addClass("ui-datepicker-prev-hover");
|
2016
|
+
}
|
2017
|
+
if (this.className.indexOf("ui-datepicker-next") !== -1) {
|
2018
|
+
$(this).addClass("ui-datepicker-next-hover");
|
2019
|
+
}
|
2020
|
+
}
|
2021
|
+
}
|
2022
|
+
|
2023
|
+
/* jQuery extend now ignores nulls! */
|
2024
|
+
function datepicker_extendRemove(target, props) {
|
2025
|
+
$.extend(target, props);
|
2026
|
+
for (var name in props) {
|
2027
|
+
if (props[name] == null) {
|
2028
|
+
target[name] = props[name];
|
2029
|
+
}
|
2030
|
+
}
|
2031
|
+
return target;
|
2032
|
+
}
|
2033
|
+
|
2034
|
+
/* Invoke the datepicker functionality.
|
2035
|
+
@param options string - a command, optionally followed by additional parameters or
|
2036
|
+
Object - settings for attaching new datepicker functionality
|
2037
|
+
@return jQuery object */
|
2038
|
+
$.fn.datepicker = function(options){
|
2039
|
+
|
2040
|
+
/* Verify an empty collection wasn't passed - Fixes #6976 */
|
2041
|
+
if ( !this.length ) {
|
2042
|
+
return this;
|
2043
|
+
}
|
2044
|
+
|
2045
|
+
/* Initialise the date picker. */
|
2046
|
+
if (!$.datepicker.initialized) {
|
2047
|
+
$(document).mousedown($.datepicker._checkExternalClick);
|
2048
|
+
$.datepicker.initialized = true;
|
2049
|
+
}
|
2050
|
+
|
2051
|
+
/* Append datepicker main container to body if not exist. */
|
2052
|
+
if ($("#"+$.datepicker._mainDivId).length === 0) {
|
2053
|
+
$("body").append($.datepicker.dpDiv);
|
2054
|
+
}
|
2055
|
+
|
2056
|
+
var otherArgs = Array.prototype.slice.call(arguments, 1);
|
2057
|
+
if (typeof options === "string" && (options === "isDisabled" || options === "getDate" || options === "widget")) {
|
2058
|
+
return $.datepicker["_" + options + "Datepicker"].
|
2059
|
+
apply($.datepicker, [this[0]].concat(otherArgs));
|
2060
|
+
}
|
2061
|
+
if (options === "option" && arguments.length === 2 && typeof arguments[1] === "string") {
|
2062
|
+
return $.datepicker["_" + options + "Datepicker"].
|
2063
|
+
apply($.datepicker, [this[0]].concat(otherArgs));
|
2064
|
+
}
|
2065
|
+
return this.each(function() {
|
2066
|
+
typeof options === "string" ?
|
2067
|
+
$.datepicker["_" + options + "Datepicker"].
|
2068
|
+
apply($.datepicker, [this].concat(otherArgs)) :
|
2069
|
+
$.datepicker._attachDatepicker(this, options);
|
2070
|
+
});
|
2071
|
+
};
|
2072
|
+
|
2073
|
+
$.datepicker = new Datepicker(); // singleton instance
|
2074
|
+
$.datepicker.initialized = false;
|
2075
|
+
$.datepicker.uuid = new Date().getTime();
|
2076
|
+
$.datepicker.version = "1.11.2";
|
2077
|
+
|
2078
|
+
return $.datepicker;
|
2079
|
+
|
2080
|
+
}));
|