rails_modular_admin 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/list.txt +23 -0
- data/app/assets/javascripts/rails_modular_admin/vendor.js +60351 -60351
- data/app/assets/javascripts/rails_modular_admin.js +1 -0
- data/app/assets/node_modules/animate.css/LICENSE +21 -0
- data/app/assets/node_modules/animate.css/README.md +233 -0
- data/app/assets/node_modules/animate.css/animate-config.json +120 -0
- data/app/assets/node_modules/animate.css/animate.css +3494 -0
- data/app/assets/node_modules/animate.css/animate.min.css +11 -0
- data/app/assets/node_modules/animate.css/bower.json +5 -0
- data/app/assets/node_modules/animate.css/gulpfile.js +107 -0
- data/app/assets/node_modules/animate.css/package.json +54 -0
- data/app/assets/node_modules/animate.css/source/_base.css +8 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/bounce.css +30 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/flash.css +16 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/headShake.css +30 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/jello.css +40 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/pulse.css +19 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/rubberBand.css +33 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/shake.css +25 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/swing.css +26 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/tada.css +31 -0
- data/app/assets/node_modules/animate.css/source/attention_seekers/wobble.css +35 -0
- data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceIn.css +42 -0
- data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInDown.css +35 -0
- data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInLeft.css +35 -0
- data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInRight.css +35 -0
- data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInUp.css +35 -0
- data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOut.css +21 -0
- data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutDown.css +20 -0
- data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutLeft.css +15 -0
- data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutRight.css +15 -0
- data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutUp.css +20 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeIn.css +13 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInDown.css +15 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInDownBig.css +15 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInLeft.css +15 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInLeftBig.css +15 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInRight.css +15 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInRightBig.css +15 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInUp.css +15 -0
- data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInUpBig.css +15 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOut.css +13 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutDown.css +14 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutDownBig.css +14 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutLeft.css +14 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutLeftBig.css +14 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutRight.css +14 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutRightBig.css +14 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutUp.css +14 -0
- data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutUpBig.css +14 -0
- data/app/assets/node_modules/animate.css/source/flippers/flip.css +31 -0
- data/app/assets/node_modules/animate.css/source/flippers/flipInX.css +30 -0
- data/app/assets/node_modules/animate.css/source/flippers/flipInY.css +30 -0
- data/app/assets/node_modules/animate.css/source/flippers/flipOutX.css +21 -0
- data/app/assets/node_modules/animate.css/source/flippers/flipOutY.css +21 -0
- data/app/assets/node_modules/animate.css/source/lightspeed/lightSpeedIn.css +26 -0
- data/app/assets/node_modules/animate.css/source/lightspeed/lightSpeedOut.css +15 -0
- data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateIn.css +17 -0
- data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInDownLeft.css +17 -0
- data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInDownRight.css +17 -0
- data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInUpLeft.css +17 -0
- data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInUpRight.css +17 -0
- data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOut.css +16 -0
- data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutDownLeft.css +16 -0
- data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutDownRight.css +16 -0
- data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutUpLeft.css +16 -0
- data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutUpRight.css +16 -0
- data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInDown.css +14 -0
- data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInLeft.css +14 -0
- data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInRight.css +14 -0
- data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInUp.css +14 -0
- data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutDown.css +14 -0
- data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutLeft.css +14 -0
- data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutRight.css +14 -0
- data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutUp.css +14 -0
- data/app/assets/node_modules/animate.css/source/specials/hinge.css +31 -0
- data/app/assets/node_modules/animate.css/source/specials/jackInTheBox.css +24 -0
- data/app/assets/node_modules/animate.css/source/specials/rollIn.css +17 -0
- data/app/assets/node_modules/animate.css/source/specials/rollOut.css +16 -0
- data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomIn.css +14 -0
- data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInDown.css +17 -0
- data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInLeft.css +17 -0
- data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInRight.css +17 -0
- data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInUp.css +17 -0
- data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOut.css +18 -0
- data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutDown.css +18 -0
- data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutLeft.css +16 -0
- data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutRight.css +16 -0
- data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutUp.css +18 -0
- data/app/assets/node_modules/bootstrap/LICENSE +22 -0
- data/app/assets/node_modules/bootstrap/README.md +171 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.css +1912 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.css.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css +7 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css +330 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css +8 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap.css +8981 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap.css.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap.min.css +7 -0
- data/app/assets/node_modules/bootstrap/dist/css/bootstrap.min.css.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js +6444 -0
- data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
- data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/js/bootstrap.js +3927 -0
- data/app/assets/node_modules/bootstrap/dist/js/bootstrap.js.map +1 -0
- data/app/assets/node_modules/bootstrap/dist/js/bootstrap.min.js +7 -0
- data/app/assets/node_modules/bootstrap/dist/js/bootstrap.min.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/alert.js +178 -0
- data/app/assets/node_modules/bootstrap/js/dist/alert.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/button.js +167 -0
- data/app/assets/node_modules/bootstrap/js/dist/button.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/carousel.js +508 -0
- data/app/assets/node_modules/bootstrap/js/dist/carousel.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/collapse.js +367 -0
- data/app/assets/node_modules/bootstrap/js/dist/collapse.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/dropdown.js +489 -0
- data/app/assets/node_modules/bootstrap/js/dist/dropdown.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/index.js +23 -0
- data/app/assets/node_modules/bootstrap/js/dist/index.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/modal.js +585 -0
- data/app/assets/node_modules/bootstrap/js/dist/modal.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/popover.js +206 -0
- data/app/assets/node_modules/bootstrap/js/dist/popover.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/scrollspy.js +319 -0
- data/app/assets/node_modules/bootstrap/js/dist/scrollspy.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/tab.js +251 -0
- data/app/assets/node_modules/bootstrap/js/dist/tab.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/tooltip.js +674 -0
- data/app/assets/node_modules/bootstrap/js/dist/tooltip.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/dist/util.js +132 -0
- data/app/assets/node_modules/bootstrap/js/dist/util.js.map +1 -0
- data/app/assets/node_modules/bootstrap/js/src/alert.js +183 -0
- data/app/assets/node_modules/bootstrap/js/src/button.js +175 -0
- data/app/assets/node_modules/bootstrap/js/src/carousel.js +517 -0
- data/app/assets/node_modules/bootstrap/js/src/collapse.js +394 -0
- data/app/assets/node_modules/bootstrap/js/src/dropdown.js +487 -0
- data/app/assets/node_modules/bootstrap/js/src/index.js +50 -0
- data/app/assets/node_modules/bootstrap/js/src/modal.js +579 -0
- data/app/assets/node_modules/bootstrap/js/src/popover.js +188 -0
- data/app/assets/node_modules/bootstrap/js/src/scrollspy.js +329 -0
- data/app/assets/node_modules/bootstrap/js/src/tab.js +263 -0
- data/app/assets/node_modules/bootstrap/js/src/tooltip.js +723 -0
- data/app/assets/node_modules/bootstrap/js/src/util.js +153 -0
- data/app/assets/node_modules/bootstrap/package.json +218 -0
- data/app/assets/node_modules/bootstrap/scss/_alert.scss +51 -0
- data/app/assets/node_modules/bootstrap/scss/_badge.scss +47 -0
- data/app/assets/node_modules/bootstrap/scss/_breadcrumb.scss +41 -0
- data/app/assets/node_modules/bootstrap/scss/_button-group.scss +172 -0
- data/app/assets/node_modules/bootstrap/scss/_buttons.scss +144 -0
- data/app/assets/node_modules/bootstrap/scss/_card.scss +301 -0
- data/app/assets/node_modules/bootstrap/scss/_carousel.scss +236 -0
- data/app/assets/node_modules/bootstrap/scss/_close.scss +34 -0
- data/app/assets/node_modules/bootstrap/scss/_code.scss +48 -0
- data/app/assets/node_modules/bootstrap/scss/_custom-forms.scss +421 -0
- data/app/assets/node_modules/bootstrap/scss/_dropdown.scss +166 -0
- data/app/assets/node_modules/bootstrap/scss/_forms.scss +335 -0
- data/app/assets/node_modules/bootstrap/scss/_functions.scss +86 -0
- data/app/assets/node_modules/bootstrap/scss/_grid.scss +52 -0
- data/app/assets/node_modules/bootstrap/scss/_images.scss +42 -0
- data/app/assets/node_modules/bootstrap/scss/_input-group.scss +158 -0
- data/app/assets/node_modules/bootstrap/scss/_jumbotron.scss +16 -0
- data/app/assets/node_modules/bootstrap/scss/_list-group.scss +115 -0
- data/app/assets/node_modules/bootstrap/scss/_media.scss +8 -0
- data/app/assets/node_modules/bootstrap/scss/_mixins.scss +41 -0
- data/app/assets/node_modules/bootstrap/scss/_modal.scss +168 -0
- data/app/assets/node_modules/bootstrap/scss/_nav.scss +118 -0
- data/app/assets/node_modules/bootstrap/scss/_navbar.scss +299 -0
- data/app/assets/node_modules/bootstrap/scss/_pagination.scss +78 -0
- data/app/assets/node_modules/bootstrap/scss/_popover.scss +183 -0
- data/app/assets/node_modules/bootstrap/scss/_print.scss +141 -0
- data/app/assets/node_modules/bootstrap/scss/_progress.scss +34 -0
- data/app/assets/node_modules/bootstrap/scss/_reboot.scss +480 -0
- data/app/assets/node_modules/bootstrap/scss/_root.scss +19 -0
- data/app/assets/node_modules/bootstrap/scss/_tables.scss +188 -0
- data/app/assets/node_modules/bootstrap/scss/_tooltip.scss +115 -0
- data/app/assets/node_modules/bootstrap/scss/_transitions.scss +22 -0
- data/app/assets/node_modules/bootstrap/scss/_type.scss +125 -0
- data/app/assets/node_modules/bootstrap/scss/_utilities.scss +15 -0
- data/app/assets/node_modules/bootstrap/scss/_variables.scss +929 -0
- data/app/assets/node_modules/bootstrap/scss/bootstrap-grid.scss +32 -0
- data/app/assets/node_modules/bootstrap/scss/bootstrap-reboot.scss +12 -0
- data/app/assets/node_modules/bootstrap/scss/bootstrap.scss +42 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_alert.scss +13 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_background-variant.scss +21 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_badge.scss +12 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_border-radius.scss +35 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_box-shadow.scss +5 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_breakpoints.scss +123 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_buttons.scss +109 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_caret.scss +66 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_clearfix.scss +7 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_float.scss +11 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_forms.scss +147 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_gradients.scss +45 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_grid-framework.scss +67 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_grid.scss +52 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_hover.scss +37 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_image.scss +36 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_list-group.scss +21 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_lists.scss +7 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_nav-divider.scss +10 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_pagination.scss +22 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_reset-text.scss +17 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_resize.scss +6 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_screen-reader.scss +33 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_size.scss +6 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_table-row.scss +30 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_text-emphasis.scss +14 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_text-hide.scss +13 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_transition.scss +13 -0
- data/app/assets/node_modules/bootstrap/scss/mixins/_visibility.scss +7 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_align.scss +8 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_background.scss +19 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_borders.scss +59 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_clearfix.scss +3 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_display.scss +38 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_embed.scss +52 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_flex.scss +51 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_float.scss +9 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_position.scss +37 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_screenreaders.scss +11 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_shadows.scss +6 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_sizing.scss +12 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_spacing.scss +51 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_text.scss +58 -0
- data/app/assets/node_modules/bootstrap/scss/utilities/_visibility.scss +11 -0
- data/app/assets/node_modules/clone/LICENSE +18 -0
- data/app/assets/node_modules/clone/README.md +178 -0
- data/app/assets/node_modules/clone/clone.iml +10 -0
- data/app/assets/node_modules/clone/clone.js +251 -0
- data/app/assets/node_modules/clone/package.json +56 -0
- data/app/assets/node_modules/deep-equal/LICENSE +18 -0
- data/app/assets/node_modules/deep-equal/example/cmp.js +11 -0
- data/app/assets/node_modules/deep-equal/index.js +94 -0
- data/app/assets/node_modules/deep-equal/lib/is_arguments.js +20 -0
- data/app/assets/node_modules/deep-equal/lib/keys.js +9 -0
- data/app/assets/node_modules/deep-equal/package.json +58 -0
- data/app/assets/node_modules/deep-equal/readme.markdown +61 -0
- data/app/assets/node_modules/deep-equal/test/cmp.js +95 -0
- data/app/assets/node_modules/dropzone/CONTRIBUTING.md +6 -0
- data/app/assets/node_modules/dropzone/LICENSE +12 -0
- data/app/assets/node_modules/dropzone/README.md +36 -0
- data/app/assets/node_modules/dropzone/bower.json +16 -0
- data/app/assets/node_modules/dropzone/component.json +10 -0
- data/app/assets/node_modules/dropzone/composer.json +18 -0
- data/app/assets/node_modules/dropzone/dist/basic.css +39 -0
- data/app/assets/node_modules/dropzone/dist/dropzone-amd-module.js +3541 -0
- data/app/assets/node_modules/dropzone/dist/dropzone.css +388 -0
- data/app/assets/node_modules/dropzone/dist/dropzone.js +3526 -0
- data/app/assets/node_modules/dropzone/dist/min/basic.min.css +1 -0
- data/app/assets/node_modules/dropzone/dist/min/dropzone-amd-module.min.js +2 -0
- data/app/assets/node_modules/dropzone/dist/min/dropzone.min.css +1 -0
- data/app/assets/node_modules/dropzone/dist/min/dropzone.min.js +2 -0
- data/app/assets/node_modules/dropzone/dist/readme.md +10 -0
- data/app/assets/node_modules/dropzone/index.js +1 -0
- data/app/assets/node_modules/dropzone/package.json +40 -0
- data/app/assets/node_modules/eve-raphael/LICENSE +202 -0
- data/app/assets/node_modules/eve-raphael/README.md +5 -0
- data/app/assets/node_modules/eve-raphael/bower.json +17 -0
- data/app/assets/node_modules/eve-raphael/component.json +13 -0
- data/app/assets/node_modules/eve-raphael/e.html +66 -0
- data/app/assets/node_modules/eve-raphael/eve.js +426 -0
- data/app/assets/node_modules/eve-raphael/package.json +15 -0
- data/app/assets/node_modules/eventemitter3/LICENSE +21 -0
- data/app/assets/node_modules/eventemitter3/README.md +105 -0
- data/app/assets/node_modules/eventemitter3/index.d.ts +50 -0
- data/app/assets/node_modules/eventemitter3/index.js +311 -0
- data/app/assets/node_modules/eventemitter3/package.json +51 -0
- data/app/assets/node_modules/eventemitter3/umd/eventemitter3.min.js +1 -0
- data/app/assets/node_modules/extend/CHANGELOG.md +77 -0
- data/app/assets/node_modules/extend/LICENSE +23 -0
- data/app/assets/node_modules/extend/README.md +81 -0
- data/app/assets/node_modules/extend/component.json +32 -0
- data/app/assets/node_modules/extend/index.js +86 -0
- data/app/assets/node_modules/extend/package.json +43 -0
- data/app/assets/node_modules/fast-diff/README.md +24 -0
- data/app/assets/node_modules/fast-diff/diff.js +738 -0
- data/app/assets/node_modules/fast-diff/package.json +24 -0
- data/app/assets/node_modules/fast-diff/test.js +91 -0
- data/app/assets/node_modules/jquery/AUTHORS.txt +313 -0
- data/app/assets/node_modules/jquery/LICENSE.txt +36 -0
- data/app/assets/node_modules/jquery/README.md +67 -0
- data/app/assets/node_modules/jquery/bower.json +14 -0
- data/app/assets/node_modules/jquery/dist/core.js +399 -0
- data/app/assets/node_modules/jquery/dist/jquery.js +10364 -0
- data/app/assets/node_modules/jquery/dist/jquery.min.js +2 -0
- data/app/assets/node_modules/jquery/dist/jquery.min.map +1 -0
- data/app/assets/node_modules/jquery/dist/jquery.slim.js +8269 -0
- data/app/assets/node_modules/jquery/dist/jquery.slim.min.js +2 -0
- data/app/assets/node_modules/jquery/dist/jquery.slim.min.map +1 -0
- data/app/assets/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
- data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.js +2272 -0
- data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/app/assets/node_modules/jquery/package.json +108 -0
- data/app/assets/node_modules/jquery/src/ajax/jsonp.js +103 -0
- data/app/assets/node_modules/jquery/src/ajax/load.js +77 -0
- data/app/assets/node_modules/jquery/src/ajax/parseXML.js +30 -0
- data/app/assets/node_modules/jquery/src/ajax/script.js +77 -0
- data/app/assets/node_modules/jquery/src/ajax/var/location.js +5 -0
- data/app/assets/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/app/assets/node_modules/jquery/src/ajax/var/rquery.js +5 -0
- data/app/assets/node_modules/jquery/src/ajax/xhr.js +170 -0
- data/app/assets/node_modules/jquery/src/ajax.js +856 -0
- data/app/assets/node_modules/jquery/src/attributes/attr.js +141 -0
- data/app/assets/node_modules/jquery/src/attributes/classes.js +186 -0
- data/app/assets/node_modules/jquery/src/attributes/prop.js +143 -0
- data/app/assets/node_modules/jquery/src/attributes/support.js +33 -0
- data/app/assets/node_modules/jquery/src/attributes/val.js +191 -0
- data/app/assets/node_modules/jquery/src/attributes.js +13 -0
- data/app/assets/node_modules/jquery/src/callbacks.js +236 -0
- data/app/assets/node_modules/jquery/src/core/DOMEval.js +30 -0
- data/app/assets/node_modules/jquery/src/core/access.js +72 -0
- data/app/assets/node_modules/jquery/src/core/camelCase.js +23 -0
- data/app/assets/node_modules/jquery/src/core/init.js +129 -0
- data/app/assets/node_modules/jquery/src/core/nodeName.js +13 -0
- data/app/assets/node_modules/jquery/src/core/parseHTML.js +65 -0
- data/app/assets/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
- data/app/assets/node_modules/jquery/src/core/ready.js +86 -0
- data/app/assets/node_modules/jquery/src/core/readyException.js +13 -0
- data/app/assets/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
- data/app/assets/node_modules/jquery/src/core/support.js +20 -0
- data/app/assets/node_modules/jquery/src/core/toType.js +20 -0
- data/app/assets/node_modules/jquery/src/core/var/rsingleTag.js +6 -0
- data/app/assets/node_modules/jquery/src/core.js +399 -0
- data/app/assets/node_modules/jquery/src/css/addGetHookIf.js +26 -0
- data/app/assets/node_modules/jquery/src/css/adjustCSS.js +73 -0
- data/app/assets/node_modules/jquery/src/css/curCSS.js +65 -0
- data/app/assets/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/app/assets/node_modules/jquery/src/css/showHide.js +105 -0
- data/app/assets/node_modules/jquery/src/css/support.js +102 -0
- data/app/assets/node_modules/jquery/src/css/var/cssExpand.js +5 -0
- data/app/assets/node_modules/jquery/src/css/var/getStyles.js +17 -0
- data/app/assets/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
- data/app/assets/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
- data/app/assets/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
- data/app/assets/node_modules/jquery/src/css/var/swap.js +26 -0
- data/app/assets/node_modules/jquery/src/css.js +481 -0
- data/app/assets/node_modules/jquery/src/data/Data.js +162 -0
- data/app/assets/node_modules/jquery/src/data/var/acceptData.js +19 -0
- data/app/assets/node_modules/jquery/src/data/var/dataPriv.js +7 -0
- data/app/assets/node_modules/jquery/src/data/var/dataUser.js +7 -0
- data/app/assets/node_modules/jquery/src/data.js +180 -0
- data/app/assets/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
- data/app/assets/node_modules/jquery/src/deferred.js +399 -0
- data/app/assets/node_modules/jquery/src/deprecated.js +98 -0
- data/app/assets/node_modules/jquery/src/dimensions.js +57 -0
- data/app/assets/node_modules/jquery/src/effects/Tween.js +123 -0
- data/app/assets/node_modules/jquery/src/effects/animatedSelector.js +15 -0
- data/app/assets/node_modules/jquery/src/effects.js +702 -0
- data/app/assets/node_modules/jquery/src/event/ajax.js +22 -0
- data/app/assets/node_modules/jquery/src/event/alias.js +29 -0
- data/app/assets/node_modules/jquery/src/event/focusin.js +55 -0
- data/app/assets/node_modules/jquery/src/event/support.js +11 -0
- data/app/assets/node_modules/jquery/src/event/trigger.js +199 -0
- data/app/assets/node_modules/jquery/src/event.js +748 -0
- data/app/assets/node_modules/jquery/src/exports/amd.js +26 -0
- data/app/assets/node_modules/jquery/src/exports/global.js +34 -0
- data/app/assets/node_modules/jquery/src/jquery.js +40 -0
- data/app/assets/node_modules/jquery/src/manipulation/_evalUrl.js +23 -0
- data/app/assets/node_modules/jquery/src/manipulation/buildFragment.js +105 -0
- data/app/assets/node_modules/jquery/src/manipulation/getAll.js +32 -0
- data/app/assets/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
- data/app/assets/node_modules/jquery/src/manipulation/support.js +35 -0
- data/app/assets/node_modules/jquery/src/manipulation/var/rcheckableType.js +5 -0
- data/app/assets/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
- data/app/assets/node_modules/jquery/src/manipulation/var/rtagName.js +5 -0
- data/app/assets/node_modules/jquery/src/manipulation/wrapMap.js +29 -0
- data/app/assets/node_modules/jquery/src/manipulation.js +486 -0
- data/app/assets/node_modules/jquery/src/offset.js +233 -0
- data/app/assets/node_modules/jquery/src/queue/delay.js +24 -0
- data/app/assets/node_modules/jquery/src/queue.js +145 -0
- data/app/assets/node_modules/jquery/src/selector-native.js +237 -0
- data/app/assets/node_modules/jquery/src/selector-sizzle.js +19 -0
- data/app/assets/node_modules/jquery/src/selector.js +3 -0
- data/app/assets/node_modules/jquery/src/serialize.js +132 -0
- data/app/assets/node_modules/jquery/src/traversing/findFilter.js +97 -0
- data/app/assets/node_modules/jquery/src/traversing/var/dir.js +22 -0
- data/app/assets/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
- data/app/assets/node_modules/jquery/src/traversing/var/siblings.js +17 -0
- data/app/assets/node_modules/jquery/src/traversing.js +191 -0
- data/app/assets/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
- data/app/assets/node_modules/jquery/src/var/arr.js +5 -0
- data/app/assets/node_modules/jquery/src/var/class2type.js +6 -0
- data/app/assets/node_modules/jquery/src/var/concat.js +7 -0
- data/app/assets/node_modules/jquery/src/var/document.js +5 -0
- data/app/assets/node_modules/jquery/src/var/documentElement.js +7 -0
- data/app/assets/node_modules/jquery/src/var/fnToString.js +7 -0
- data/app/assets/node_modules/jquery/src/var/getProto.js +5 -0
- data/app/assets/node_modules/jquery/src/var/hasOwn.js +7 -0
- data/app/assets/node_modules/jquery/src/var/indexOf.js +7 -0
- data/app/assets/node_modules/jquery/src/var/isFunction.js +13 -0
- data/app/assets/node_modules/jquery/src/var/isWindow.js +8 -0
- data/app/assets/node_modules/jquery/src/var/pnum.js +5 -0
- data/app/assets/node_modules/jquery/src/var/push.js +7 -0
- data/app/assets/node_modules/jquery/src/var/rcssNum.js +9 -0
- data/app/assets/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
- data/app/assets/node_modules/jquery/src/var/slice.js +7 -0
- data/app/assets/node_modules/jquery/src/var/support.js +6 -0
- data/app/assets/node_modules/jquery/src/var/toString.js +7 -0
- data/app/assets/node_modules/jquery/src/wrap.js +78 -0
- data/app/assets/node_modules/jquery-flot/API.md +1498 -0
- data/app/assets/node_modules/jquery-flot/CONTRIBUTING.md +98 -0
- data/app/assets/node_modules/jquery-flot/FAQ.md +75 -0
- data/app/assets/node_modules/jquery-flot/LICENSE.txt +22 -0
- data/app/assets/node_modules/jquery-flot/Makefile +12 -0
- data/app/assets/node_modules/jquery-flot/NEWS.md +1026 -0
- data/app/assets/node_modules/jquery-flot/PLUGINS.md +143 -0
- data/app/assets/node_modules/jquery-flot/README.md +110 -0
- data/app/assets/node_modules/jquery-flot/component.json +8 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-1.json +4 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-2.json +4 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-3.json +4 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-4.json +4 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-5.json +4 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth.json +4 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/data-japan-gdp-growth.json +4 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/data-usa-gdp-growth.json +4 -0
- data/app/assets/node_modules/jquery-flot/examples/ajax/index.html +173 -0
- data/app/assets/node_modules/jquery-flot/examples/annotating/index.html +87 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-interacting/index.html +97 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-multiple/index.html +77 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time/index.html +137 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/date.js +893 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/index.html +114 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/africa +1181 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/antarctica +413 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/asia +2717 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/australasia +1719 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/backward +117 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/etcetera +81 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/europe +2856 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/factory +10 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/iso3166.tab +276 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/leapseconds +100 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/northamerica +3235 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/pacificnew +28 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar87 +390 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar88 +390 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar89 +395 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/southamerica +1711 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/systemv +38 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/yearistype.sh +38 -0
- data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/zone.tab +441 -0
- data/app/assets/node_modules/jquery-flot/examples/background.png +0 -0
- data/app/assets/node_modules/jquery-flot/examples/basic-options/index.html +91 -0
- data/app/assets/node_modules/jquery-flot/examples/basic-usage/index.html +57 -0
- data/app/assets/node_modules/jquery-flot/examples/canvas/index.html +75 -0
- data/app/assets/node_modules/jquery-flot/examples/categories/index.html +64 -0
- data/app/assets/node_modules/jquery-flot/examples/examples.css +97 -0
- data/app/assets/node_modules/jquery-flot/examples/image/hs-2004-27-a-large-web.jpg +0 -0
- data/app/assets/node_modules/jquery-flot/examples/image/index.html +69 -0
- data/app/assets/node_modules/jquery-flot/examples/index.html +80 -0
- data/app/assets/node_modules/jquery-flot/examples/interacting/index.html +118 -0
- data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-down.gif +0 -0
- data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-left.gif +0 -0
- data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-right.gif +0 -0
- data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-up.gif +0 -0
- data/app/assets/node_modules/jquery-flot/examples/navigate/index.html +153 -0
- data/app/assets/node_modules/jquery-flot/examples/percentiles/index.html +79 -0
- data/app/assets/node_modules/jquery-flot/examples/realtime/index.html +122 -0
- data/app/assets/node_modules/jquery-flot/examples/resize/index.html +76 -0
- data/app/assets/node_modules/jquery-flot/examples/selection/index.html +152 -0
- data/app/assets/node_modules/jquery-flot/examples/series-errorbars/index.html +150 -0
- data/app/assets/node_modules/jquery-flot/examples/series-pie/index.html +818 -0
- data/app/assets/node_modules/jquery-flot/examples/series-toggle/index.html +121 -0
- data/app/assets/node_modules/jquery-flot/examples/series-types/index.html +90 -0
- data/app/assets/node_modules/jquery-flot/examples/shared/jquery-ui/jquery-ui.min.css +6 -0
- data/app/assets/node_modules/jquery-flot/examples/stacking/index.html +107 -0
- data/app/assets/node_modules/jquery-flot/examples/symbols/index.html +76 -0
- data/app/assets/node_modules/jquery-flot/examples/threshold/index.html +76 -0
- data/app/assets/node_modules/jquery-flot/examples/tracking/index.html +135 -0
- data/app/assets/node_modules/jquery-flot/examples/visitors/index.html +147 -0
- data/app/assets/node_modules/jquery-flot/examples/zooming/index.html +144 -0
- data/app/assets/node_modules/jquery-flot/excanvas.js +1428 -0
- data/app/assets/node_modules/jquery-flot/excanvas.min.js +1 -0
- data/app/assets/node_modules/jquery-flot/flot.jquery.json +27 -0
- data/app/assets/node_modules/jquery-flot/jquery.colorhelpers.js +180 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.canvas.js +345 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.categories.js +190 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.crosshair.js +176 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.errorbars.js +353 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.fillbetween.js +226 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.image.js +241 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.js +3168 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.navigate.js +346 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.pie.js +820 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.resize.js +59 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.selection.js +360 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.stack.js +188 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.symbol.js +71 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.threshold.js +142 -0
- data/app/assets/node_modules/jquery-flot/jquery.flot.time.js +432 -0
- data/app/assets/node_modules/jquery-flot/jquery.js +9472 -0
- data/app/assets/node_modules/jquery-flot/package.json +11 -0
- data/app/assets/node_modules/jquery-sparkline/Changelog.txt +324 -0
- data/app/assets/node_modules/jquery-sparkline/README.md +19 -0
- data/app/assets/node_modules/jquery-sparkline/build.js +13 -0
- data/app/assets/node_modules/jquery-sparkline/jquery.sparkline.js +3068 -0
- data/app/assets/node_modules/jquery-sparkline/jquery.sparkline.min.js +2 -0
- data/app/assets/node_modules/jquery-sparkline/package.json +32 -0
- data/app/assets/node_modules/jquery-sparkline/src/base.js +415 -0
- data/app/assets/node_modules/jquery-sparkline/src/chart-bar.js +256 -0
- data/app/assets/node_modules/jquery-sparkline/src/chart-box.js +186 -0
- data/app/assets/node_modules/jquery-sparkline/src/chart-bullet.js +131 -0
- data/app/assets/node_modules/jquery-sparkline/src/chart-discrete.js +66 -0
- data/app/assets/node_modules/jquery-sparkline/src/chart-line.js +350 -0
- data/app/assets/node_modules/jquery-sparkline/src/chart-pie.js +117 -0
- data/app/assets/node_modules/jquery-sparkline/src/chart-tristate.js +98 -0
- data/app/assets/node_modules/jquery-sparkline/src/defaults.js +156 -0
- data/app/assets/node_modules/jquery-sparkline/src/footer.js +1 -0
- data/app/assets/node_modules/jquery-sparkline/src/header.js +222 -0
- data/app/assets/node_modules/jquery-sparkline/src/interact.js +247 -0
- data/app/assets/node_modules/jquery-sparkline/src/rangemap.js +39 -0
- data/app/assets/node_modules/jquery-sparkline/src/simpledraw.js +55 -0
- data/app/assets/node_modules/jquery-sparkline/src/utils.js +224 -0
- data/app/assets/node_modules/jquery-sparkline/src/vcanvas-base.js +147 -0
- data/app/assets/node_modules/jquery-sparkline/src/vcanvas-canvas.js +193 -0
- data/app/assets/node_modules/jquery-sparkline/src/vcanvas-vml.js +165 -0
- data/app/assets/node_modules/jquery-touchswipe/LICENSE +24 -0
- data/app/assets/node_modules/jquery-touchswipe/README.md +81 -0
- data/app/assets/node_modules/jquery-touchswipe/bower.json +8 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Any_finger_swipe.html +49 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Basic_swipe.html +48 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Enable_and_destroy.html +95 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Excluded_children.html +82 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Finger_swipe.html +61 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Handlers_and_events.html +128 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Hold.html +61 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Image_gallery_example.html +148 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Options.html +90 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Page_scrolling.html +109 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Page_zoom.html +50 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Pinch.html +57 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Pinch_and_Swipe.html +81 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Pinch_status.html +51 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Single_swipe.html +51 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Stop_propegation.html +57 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Swipe_status.html +82 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Tap_vs_swipe.html +114 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Thresholds.html +109 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/Trigger_handlers.html +158 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/css/main.css +110 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/index.html +74 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/js/jquery.ui.ipad.js +223 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/js/main.js +240 -0
- data/app/assets/node_modules/jquery-touchswipe/demos/tutorials.json +22 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.html +188 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.defaults.html +1174 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.directions.html +311 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.fingers.html +319 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.html +4205 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.pageScroll.html +272 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.phases.html +265 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/$.html +186 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/css/main.css +110 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/index.html +101 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/jquery.touchSwipe.js.html +2168 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/js/jquery.ui.ipad.js +223 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/js/main.js +85 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/scripts/linenumber.js +25 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/lang-css.js +2 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/prettify.js +28 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/styles/jsdoc.css +625 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/styles/prettify.css +79 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Any_finger_swipe.html +108 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Basic_swipe.html +107 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Enable_and_destroy.html +154 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Excluded_children.html +141 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Finger_swipe.html +120 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Handlers_and_events.html +187 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Hold.html +120 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Image_gallery_example.html +207 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Options.html +149 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Page_scrolling.html +168 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Page_zoom.html +109 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch.html +116 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch_and_Swipe.html +140 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch_status.html +110 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Single_swipe.html +110 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Stop_propegation.html +116 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Swipe_status.html +141 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Tap_vs_swipe.html +173 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Thresholds.html +168 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Trigger_handlers.html +217 -0
- data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-index_.html +133 -0
- data/app/assets/node_modules/jquery-touchswipe/jquery.touchSwipe.js +2109 -0
- data/app/assets/node_modules/jquery-touchswipe/jquery.touchSwipe.min.js +14 -0
- data/app/assets/node_modules/jquery-touchswipe/package.json +47 -0
- data/app/assets/node_modules/jquery-validation/LICENSE.md +22 -0
- data/app/assets/node_modules/jquery-validation/README.md +76 -0
- data/app/assets/node_modules/jquery-validation/changelog.md +639 -0
- data/app/assets/node_modules/jquery-validation/dist/additional-methods.js +1158 -0
- data/app/assets/node_modules/jquery-validation/dist/jquery.validate.js +1601 -0
- data/app/assets/node_modules/jquery-validation/dist/jquery.validate.min.js +4 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ar.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_az.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_bg.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_bn_BD.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ca.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_cs.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_da.js +32 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_de.js +32 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_el.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_es.js +38 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_es_AR.js +39 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_es_PE.js +39 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_et.js +33 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_eu.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_fa.js +38 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_fi.js +33 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_fr.js +63 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ge.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_gl.js +40 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_he.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_hr.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_hu.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_hy_AM.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_id.js +34 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_is.js +33 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_it.js +39 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ja.js +36 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ka.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_kk.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ko.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_lt.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_lv.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_mk.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_my.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_nl.js +46 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_no.js +36 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_pl.js +37 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_pt_BR.js +88 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_pt_PT.js +39 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ro.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ru.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_sd.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_si.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_sk.js +32 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_sl.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_sr.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_sr_lat.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_sv.js +33 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_th.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_tj.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_tr.js +36 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_uk.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_ur.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_vi.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_zh.js +35 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/messages_zh_TW.js +36 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/methods_de.js +24 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/methods_es_CL.js +24 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/methods_fi.js +24 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/methods_nl.js +24 -0
- data/app/assets/node_modules/jquery-validation/dist/localization/methods_pt.js +21 -0
- data/app/assets/node_modules/jquery-validation/package.json +61 -0
- data/app/assets/node_modules/jquery.browser/Gruntfile.js +62 -0
- data/app/assets/node_modules/jquery.browser/MIT-LICENSE.txt +21 -0
- data/app/assets/node_modules/jquery.browser/README.md +117 -0
- data/app/assets/node_modules/jquery.browser/bower.json +13 -0
- data/app/assets/node_modules/jquery.browser/browser.jquery.json +37 -0
- data/app/assets/node_modules/jquery.browser/dist/jquery.browser.js +193 -0
- data/app/assets/node_modules/jquery.browser/dist/jquery.browser.min.js +14 -0
- data/app/assets/node_modules/jquery.browser/package.json +30 -0
- data/app/assets/node_modules/jquery.browser/test/casperserver.js +257 -0
- data/app/assets/node_modules/jquery.browser/test/index.html +13 -0
- data/app/assets/node_modules/jquery.browser/test/src/jquery-1.10.2.min.js +6 -0
- data/app/assets/node_modules/jquery.browser/test/src/require/test.js +21 -0
- data/app/assets/node_modules/jquery.browser/test/test.js +962 -0
- data/app/assets/node_modules/jquery.flot.tooltip/CONTRIBUTING.md +9 -0
- data/app/assets/node_modules/jquery.flot.tooltip/Gruntfile.js +72 -0
- data/app/assets/node_modules/jquery.flot.tooltip/README.md +267 -0
- data/app/assets/node_modules/jquery.flot.tooltip/bower.json +13 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/basic.html +45 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/curved-lines.html +59 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/custom-label-text.html +114 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/custom_ticks.html +78 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/dollar_in_tickformatter.html +68 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/index.html +36 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/js/curvedLines.js +483 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/js/excanvas.min.js +1 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.js +3168 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.pie.js +820 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.stack.js +184 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.threshold.js +142 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.time.js +432 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/many_series.html +78 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/multiple-axes.html +78 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/pie.html +87 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/real_data.html +133 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/stacking.html +97 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/threshold.html +97 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/time_bars.html +77 -0
- data/app/assets/node_modules/jquery.flot.tooltip/examples/two_chars.html +63 -0
- data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.js +606 -0
- data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.min.js +12 -0
- data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.source.js +595 -0
- data/app/assets/node_modules/jquery.flot.tooltip/package.json +37 -0
- data/app/assets/node_modules/jqvmap/CHANGELOG.md +118 -0
- data/app/assets/node_modules/jqvmap/CONTRIBUTING.md +118 -0
- data/app/assets/node_modules/jqvmap/LICENSE +43 -0
- data/app/assets/node_modules/jqvmap/README.md +495 -0
- data/app/assets/node_modules/jqvmap/REGIONS.md +405 -0
- data/app/assets/node_modules/jqvmap/bower.json +32 -0
- data/app/assets/node_modules/jqvmap/create/README.md +207 -0
- data/app/assets/node_modules/jqvmap/create/config/continent.json +64 -0
- data/app/assets/node_modules/jqvmap/create/config/new-york.json +16 -0
- data/app/assets/node_modules/jqvmap/create/config/syria.json +16 -0
- data/app/assets/node_modules/jqvmap/create/jqvmap.py +573 -0
- data/app/assets/node_modules/jqvmap/dist/jquery.vmap.js +1281 -0
- data/app/assets/node_modules/jqvmap/dist/jquery.vmap.min.js +10 -0
- data/app/assets/node_modules/jqvmap/dist/jqvmap.css +50 -0
- data/app/assets/node_modules/jqvmap/dist/jqvmap.min.css +1 -0
- data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.africa.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.asia.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.australia.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.europe.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.north-america.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.south-america.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.algeria.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.argentina.js +1 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.brazil.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.canada.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.europe.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.france.js +1 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.germany.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.greece.js +1 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.iran.js +6 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.iraq.js +1 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.russia.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.tunisia.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.turkey.js +11 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.usa.js +2 -0
- data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.world.js +2 -0
- data/app/assets/node_modules/jqvmap/examples/algeria.html +27 -0
- data/app/assets/node_modules/jqvmap/examples/argentina.html +33 -0
- data/app/assets/node_modules/jqvmap/examples/brazil.html +33 -0
- data/app/assets/node_modules/jqvmap/examples/continents.html +172 -0
- data/app/assets/node_modules/jqvmap/examples/europe.html +27 -0
- data/app/assets/node_modules/jqvmap/examples/france.html +27 -0
- data/app/assets/node_modules/jqvmap/examples/germany.html +33 -0
- data/app/assets/node_modules/jqvmap/examples/greece.html +33 -0
- data/app/assets/node_modules/jqvmap/examples/images/background.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/flag.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/globe.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/black.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/blue.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/green.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/grey.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/orange.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/purple.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/red.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/white.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/marker/yellow.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/thumb.jpg +0 -0
- data/app/assets/node_modules/jqvmap/examples/images/tip.png +0 -0
- data/app/assets/node_modules/jqvmap/examples/inactive_regions.html +62 -0
- data/app/assets/node_modules/jqvmap/examples/iran.html +44 -0
- data/app/assets/node_modules/jqvmap/examples/iraq.html +44 -0
- data/app/assets/node_modules/jqvmap/examples/js/jquery.vmap.sampledata.js +1 -0
- data/app/assets/node_modules/jqvmap/examples/labels.html +146 -0
- data/app/assets/node_modules/jqvmap/examples/mobile.html +59 -0
- data/app/assets/node_modules/jqvmap/examples/multi.html +29 -0
- data/app/assets/node_modules/jqvmap/examples/pins.html +236 -0
- data/app/assets/node_modules/jqvmap/examples/pins_custom.html +127 -0
- data/app/assets/node_modules/jqvmap/examples/responsive.html +45 -0
- data/app/assets/node_modules/jqvmap/examples/russia.html +33 -0
- data/app/assets/node_modules/jqvmap/examples/touch_detect.html +46 -0
- data/app/assets/node_modules/jqvmap/examples/tunisia.html +33 -0
- data/app/assets/node_modules/jqvmap/examples/turkey.html +26 -0
- data/app/assets/node_modules/jqvmap/examples/usa.html +37 -0
- data/app/assets/node_modules/jqvmap/examples/world.html +35 -0
- data/app/assets/node_modules/jqvmap/grunt/bump.js +22 -0
- data/app/assets/node_modules/jqvmap/grunt/changelog.js +14 -0
- data/app/assets/node_modules/jqvmap/grunt/clean.js +5 -0
- data/app/assets/node_modules/jqvmap/grunt/concat.js +23 -0
- data/app/assets/node_modules/jqvmap/grunt/index.js +2 -0
- data/app/assets/node_modules/jqvmap/grunt/qunit.js +3 -0
- data/app/assets/node_modules/jqvmap/grunt/shell.js +6 -0
- data/app/assets/node_modules/jqvmap/grunt/uglify.js +19 -0
- data/app/assets/node_modules/jqvmap/gruntfile.js +21 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/AUTHORS.txt +217 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/CONTRIBUTING.md +214 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/MIT-LICENSE.txt +21 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/README.md +368 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/bower.json +28 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.js +10351 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.min.js +6 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.min.map +1 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/package.json +54 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/jsonp.js +89 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/load.js +75 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/parseJSON.js +51 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/parseXML.js +31 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/script.js +93 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/var/rquery.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/xhr.js +197 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax.js +801 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/attr.js +271 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/classes.js +157 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/prop.js +134 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/support.js +62 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/val.js +178 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes.js +11 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/callbacks.js +205 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/access.js +60 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/init.js +132 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/parseHTML.js +39 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/ready.js +152 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/var/rsingleTag.js +4 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core.js +540 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/addGetHookIf.js +32 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/curCSS.js +124 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/defaultDisplay.js +69 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/hiddenVisibleSelectors.js +20 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/support.js +151 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/swap.js +28 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/cssExpand.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/isHidden.js +13 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/rmargin.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css.js +504 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data/accepts.js +21 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data/support.js +25 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data.js +335 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/deferred.js +150 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/deprecated.js +13 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/dimensions.js +50 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/Tween.js +114 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/animatedSelector.js +13 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/support.js +55 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects.js +656 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/ajax.js +13 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/alias.js +39 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/support.js +26 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event.js +1037 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/exports/amd.js +24 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/exports/global.js +32 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/intro.js +44 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/jquery.js +38 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/_evalUrl.js +18 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/support.js +76 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation.js +744 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/offset.js +211 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/outro.js +1 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/queue/delay.js +22 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/queue.js +142 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/selector-sizzle.js +14 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/selector.js +1 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/serialize.js +110 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.js +2067 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.min.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.min.map +1 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/empty.js +0 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/mixed_sort.html +22 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/testinit.js +136 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/index.html +242 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/jquery.js +9597 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/extending.js +95 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/selector.js +1149 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/utilities.js +169 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/support.js +58 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing/findFilter.js +100 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing.js +200 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/class2type.js +4 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/concat.js +5 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/deletedIds.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/hasOwn.js +5 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/indexOf.js +5 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/pnum.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/push.js +5 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/rnotwhite.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/slice.js +5 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/strundefined.js +3 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/support.js +4 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/toString.js +5 -0
- data/app/assets/node_modules/jqvmap/node_modules/jquery/src/wrap.js +76 -0
- data/app/assets/node_modules/jqvmap/package.json +45 -0
- data/app/assets/node_modules/jqvmap/src/Base.js +80 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/arrayToRgb.js +9 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/getColor.js +41 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/rgbToArray.js +4 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/setColors.js +6 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/setMax.js +8 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/setMin.js +9 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/setNormalizeFunction.js +13 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/vectorAdd.js +7 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/vectorLength.js +7 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/vectorMult.js +7 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/vectorSubtract.js +7 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale/vectorToNum.js +7 -0
- data/app/assets/node_modules/jqvmap/src/ColorScale.js +18 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/applyTransform.js +31 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/bindZoomButtons.js +9 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/deselect.js +18 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/getCountryId.js +3 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/getPin.js +4 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/getPinId.js +3 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/getPins.js +11 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/highlight.js +12 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/isSelected.js +3 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/makeDraggable.js +159 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/placePins.js +46 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/positionPins.js +19 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/removePin.js +4 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/removePins.js +3 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/reset.js +9 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/resize.js +13 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/select.js +18 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/selectIndex.js +9 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/setBackgroundColor.js +3 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/setColors.js +15 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/setNormalizeFunction.js +7 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/setScale.js +4 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/setScaleColors.js +7 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/setValues.js +36 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/unhighlight.js +8 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/zoomIn.js +17 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap/zoomOut.js +17 -0
- data/app/assets/node_modules/jqvmap/src/JQVMap.js +243 -0
- data/app/assets/node_modules/jqvmap/src/VectorCanvas/applyTransformParams.js +8 -0
- data/app/assets/node_modules/jqvmap/src/VectorCanvas/createGroup.js +19 -0
- data/app/assets/node_modules/jqvmap/src/VectorCanvas/createPath.js +75 -0
- data/app/assets/node_modules/jqvmap/src/VectorCanvas/pathSvgToVml.js +103 -0
- data/app/assets/node_modules/jqvmap/src/VectorCanvas/setSize.js +24 -0
- data/app/assets/node_modules/jqvmap/src/VectorCanvas.js +42 -0
- data/app/assets/node_modules/jqvmap/tests/index.html +32 -0
- data/app/assets/node_modules/jqvmap/tests/qunit/qunit.css +291 -0
- data/app/assets/node_modules/jqvmap/tests/qunit/qunit.js +3828 -0
- data/app/assets/node_modules/jqvmap/tests/tests.js +422 -0
- data/app/assets/node_modules/metismenu/LICENSE +20 -0
- data/app/assets/node_modules/metismenu/README.md +361 -0
- data/app/assets/node_modules/metismenu/changelog.md +22 -0
- data/app/assets/node_modules/metismenu/dist/cjs/index.js +327 -0
- data/app/assets/node_modules/metismenu/dist/metisMenu.css +132 -0
- data/app/assets/node_modules/metismenu/dist/metisMenu.css.map +1 -0
- data/app/assets/node_modules/metismenu/dist/metisMenu.js +332 -0
- data/app/assets/node_modules/metismenu/dist/metisMenu.js.map +1 -0
- data/app/assets/node_modules/metismenu/dist/metisMenu.min.css +9 -0
- data/app/assets/node_modules/metismenu/dist/metisMenu.min.css.map +1 -0
- data/app/assets/node_modules/metismenu/dist/metisMenu.min.js +10 -0
- data/app/assets/node_modules/metismenu/dist/metisMenu.min.js.map +1 -0
- data/app/assets/node_modules/metismenu/dist/modules/index.js +323 -0
- data/app/assets/node_modules/metismenu/package.json +122 -0
- data/app/assets/node_modules/metismenu/src/index.js +260 -0
- data/app/assets/node_modules/metismenu/src/metisMenu.css +116 -0
- data/app/assets/node_modules/metismenu/src/util.js +61 -0
- data/app/assets/node_modules/metismenu/types/metismenu.d.ts +25 -0
- data/app/assets/node_modules/morris.js/Gruntfile.js +90 -0
- data/app/assets/node_modules/morris.js/README.md +234 -0
- data/app/assets/node_modules/morris.js/bower.json +20 -0
- data/app/assets/node_modules/morris.js/bower.travis.json +20 -0
- data/app/assets/node_modules/morris.js/examples/_template.html +18 -0
- data/app/assets/node_modules/morris.js/examples/area-as-line.html +31 -0
- data/app/assets/node_modules/morris.js/examples/area.html +34 -0
- data/app/assets/node_modules/morris.js/examples/bar-colors.html +44 -0
- data/app/assets/node_modules/morris.js/examples/bar-no-axes.html +31 -0
- data/app/assets/node_modules/morris.js/examples/bar.html +32 -0
- data/app/assets/node_modules/morris.js/examples/days.html +37 -0
- data/app/assets/node_modules/morris.js/examples/decimal-custom-hover.html +37 -0
- data/app/assets/node_modules/morris.js/examples/diagonal-xlabels-bar.html +38 -0
- data/app/assets/node_modules/morris.js/examples/diagonal-xlabels.html +38 -0
- data/app/assets/node_modules/morris.js/examples/donut-colors.html +38 -0
- data/app/assets/node_modules/morris.js/examples/donut-formatter.html +27 -0
- data/app/assets/node_modules/morris.js/examples/donut.html +29 -0
- data/app/assets/node_modules/morris.js/examples/dst.html +30 -0
- data/app/assets/node_modules/morris.js/examples/events.html +57 -0
- data/app/assets/node_modules/morris.js/examples/goals.html +33 -0
- data/app/assets/node_modules/morris.js/examples/lib/example.css +13 -0
- data/app/assets/node_modules/morris.js/examples/lib/example.js +4 -0
- data/app/assets/node_modules/morris.js/examples/months-no-smooth.html +38 -0
- data/app/assets/node_modules/morris.js/examples/negative.html +36 -0
- data/app/assets/node_modules/morris.js/examples/no-grid.html +38 -0
- data/app/assets/node_modules/morris.js/examples/non-continuous.html +42 -0
- data/app/assets/node_modules/morris.js/examples/non-date.html +37 -0
- data/app/assets/node_modules/morris.js/examples/quarters.html +54 -0
- data/app/assets/node_modules/morris.js/examples/resize.html +42 -0
- data/app/assets/node_modules/morris.js/examples/stacked_bars.html +31 -0
- data/app/assets/node_modules/morris.js/examples/timestamps.html +38 -0
- data/app/assets/node_modules/morris.js/examples/updating.html +49 -0
- data/app/assets/node_modules/morris.js/examples/weeks.html +53 -0
- data/app/assets/node_modules/morris.js/examples/years.html +37 -0
- data/app/assets/node_modules/morris.js/less/morris.core.less +27 -0
- data/app/assets/node_modules/morris.js/lib/morris.area.coffee +66 -0
- data/app/assets/node_modules/morris.js/lib/morris.bar.coffee +208 -0
- data/app/assets/node_modules/morris.js/lib/morris.coffee +43 -0
- data/app/assets/node_modules/morris.js/lib/morris.donut.coffee +213 -0
- data/app/assets/node_modules/morris.js/lib/morris.grid.coffee +499 -0
- data/app/assets/node_modules/morris.js/lib/morris.hover.coffee +44 -0
- data/app/assets/node_modules/morris.js/lib/morris.line.coffee +405 -0
- data/app/assets/node_modules/morris.js/morris.css +2 -0
- data/app/assets/node_modules/morris.js/morris.js +1892 -0
- data/app/assets/node_modules/morris.js/morris.min.js +7 -0
- data/app/assets/node_modules/morris.js/package.json +36 -0
- data/app/assets/node_modules/morris.js/spec/lib/area/area_spec.coffee +60 -0
- data/app/assets/node_modules/morris.js/spec/lib/bar/bar_spec.coffee +127 -0
- data/app/assets/node_modules/morris.js/spec/lib/bar/colours.coffee +36 -0
- data/app/assets/node_modules/morris.js/spec/lib/commas_spec.coffee +38 -0
- data/app/assets/node_modules/morris.js/spec/lib/donut/donut_spec.coffee +76 -0
- data/app/assets/node_modules/morris.js/spec/lib/grid/auto_grid_lines_spec.coffee +25 -0
- data/app/assets/node_modules/morris.js/spec/lib/grid/set_data_spec.coffee +208 -0
- data/app/assets/node_modules/morris.js/spec/lib/grid/y_label_format_spec.coffee +15 -0
- data/app/assets/node_modules/morris.js/spec/lib/hover_spec.coffee +64 -0
- data/app/assets/node_modules/morris.js/spec/lib/label_series_spec.coffee +186 -0
- data/app/assets/node_modules/morris.js/spec/lib/line/line_spec.coffee +211 -0
- data/app/assets/node_modules/morris.js/spec/lib/pad_spec.coffee +17 -0
- data/app/assets/node_modules/morris.js/spec/lib/parse_time_spec.coffee +35 -0
- data/app/assets/node_modules/morris.js/spec/specs.html +34 -0
- data/app/assets/node_modules/morris.js/spec/support/placeholder.coffee +6 -0
- data/app/assets/node_modules/morris.js/spec/viz/examples.js +56 -0
- data/app/assets/node_modules/morris.js/spec/viz/exemplary/area0.png +0 -0
- data/app/assets/node_modules/morris.js/spec/viz/exemplary/bar0.png +0 -0
- data/app/assets/node_modules/morris.js/spec/viz/exemplary/line0.png +0 -0
- data/app/assets/node_modules/morris.js/spec/viz/exemplary/stacked_bar0.png +0 -0
- data/app/assets/node_modules/morris.js/spec/viz/run.sh +32 -0
- data/app/assets/node_modules/morris.js/spec/viz/test.html +34 -0
- data/app/assets/node_modules/morris.js/spec/viz/visual_specs.js +66 -0
- data/app/assets/node_modules/nprogress/History.md +110 -0
- data/app/assets/node_modules/nprogress/License.md +19 -0
- data/app/assets/node_modules/nprogress/Notes.md +25 -0
- data/app/assets/node_modules/nprogress/Readme.md +197 -0
- data/app/assets/node_modules/nprogress/bower.json +27 -0
- data/app/assets/node_modules/nprogress/component.json +19 -0
- data/app/assets/node_modules/nprogress/nprogress.css +74 -0
- data/app/assets/node_modules/nprogress/nprogress.js +476 -0
- data/app/assets/node_modules/nprogress/package.json +47 -0
- data/app/assets/node_modules/nprogress/test/component.html +26 -0
- data/app/assets/node_modules/nprogress/test/test.js +175 -0
- data/app/assets/node_modules/parchment/LICENSE +29 -0
- data/app/assets/node_modules/parchment/README.md +274 -0
- data/app/assets/node_modules/parchment/dist/parchment.js +1749 -0
- data/app/assets/node_modules/parchment/dist/parchment.js.map +1 -0
- data/app/assets/node_modules/parchment/dist/src/attributor/attributor.d.ts +17 -0
- data/app/assets/node_modules/parchment/dist/src/attributor/class.d.ts +8 -0
- data/app/assets/node_modules/parchment/dist/src/attributor/store.d.ts +15 -0
- data/app/assets/node_modules/parchment/dist/src/attributor/style.d.ts +8 -0
- data/app/assets/node_modules/parchment/dist/src/blot/abstract/blot.d.ts +63 -0
- data/app/assets/node_modules/parchment/dist/src/blot/abstract/container.d.ts +40 -0
- data/app/assets/node_modules/parchment/dist/src/blot/abstract/format.d.ts +18 -0
- data/app/assets/node_modules/parchment/dist/src/blot/abstract/leaf.d.ts +11 -0
- data/app/assets/node_modules/parchment/dist/src/blot/abstract/parent.d.ts +41 -0
- data/app/assets/node_modules/parchment/dist/src/blot/abstract/shadow.d.ts +38 -0
- data/app/assets/node_modules/parchment/dist/src/blot/block.d.ts +15 -0
- data/app/assets/node_modules/parchment/dist/src/blot/embed.d.ts +11 -0
- data/app/assets/node_modules/parchment/dist/src/blot/inline.d.ts +14 -0
- data/app/assets/node_modules/parchment/dist/src/blot/scroll.d.ts +24 -0
- data/app/assets/node_modules/parchment/dist/src/blot/text.d.ts +26 -0
- data/app/assets/node_modules/parchment/dist/src/collection/linked-list.d.ts +19 -0
- data/app/assets/node_modules/parchment/dist/src/collection/linked-node.d.ts +6 -0
- data/app/assets/node_modules/parchment/dist/src/parchment.d.ts +35 -0
- data/app/assets/node_modules/parchment/dist/src/registry.d.ts +31 -0
- data/app/assets/node_modules/parchment/package.json +44 -0
- data/app/assets/node_modules/parchment/src/attributor/attributor.ts +61 -0
- data/app/assets/node_modules/parchment/src/attributor/class.ts +44 -0
- data/app/assets/node_modules/parchment/src/attributor/store.ts +73 -0
- data/app/assets/node_modules/parchment/src/attributor/style.ts +44 -0
- data/app/assets/node_modules/parchment/src/blot/abstract/blot.ts +58 -0
- data/app/assets/node_modules/parchment/src/blot/abstract/container.ts +268 -0
- data/app/assets/node_modules/parchment/src/blot/abstract/format.ts +71 -0
- data/app/assets/node_modules/parchment/src/blot/abstract/leaf.ts +33 -0
- data/app/assets/node_modules/parchment/src/blot/abstract/shadow.ts +174 -0
- data/app/assets/node_modules/parchment/src/blot/block.ts +53 -0
- data/app/assets/node_modules/parchment/src/blot/embed.ts +29 -0
- data/app/assets/node_modules/parchment/src/blot/inline.ts +64 -0
- data/app/assets/node_modules/parchment/src/blot/scroll.ts +166 -0
- data/app/assets/node_modules/parchment/src/blot/text.ts +93 -0
- data/app/assets/node_modules/parchment/src/collection/linked-list.ts +143 -0
- data/app/assets/node_modules/parchment/src/collection/linked-node.ts +8 -0
- data/app/assets/node_modules/parchment/src/parchment.ts +46 -0
- data/app/assets/node_modules/parchment/src/registry.ts +133 -0
- data/app/assets/node_modules/parchment/tsconfig.json +9 -0
- data/app/assets/node_modules/popper.js/README.md +219 -0
- data/app/assets/node_modules/popper.js/dist/esm/popper-utils.js +1093 -0
- data/app/assets/node_modules/popper.js/dist/esm/popper-utils.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/esm/popper-utils.min.js +5 -0
- data/app/assets/node_modules/popper.js/dist/esm/popper-utils.min.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/esm/popper.js +2520 -0
- data/app/assets/node_modules/popper.js/dist/esm/popper.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/esm/popper.min.js +5 -0
- data/app/assets/node_modules/popper.js/dist/esm/popper.min.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/popper-utils.js +1042 -0
- data/app/assets/node_modules/popper.js/dist/popper-utils.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/popper-utils.min.js +5 -0
- data/app/assets/node_modules/popper.js/dist/popper-utils.min.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/popper.js +2372 -0
- data/app/assets/node_modules/popper.js/dist/popper.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/popper.min.js +5 -0
- data/app/assets/node_modules/popper.js/dist/popper.min.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/umd/popper-utils.js +1131 -0
- data/app/assets/node_modules/popper.js/dist/umd/popper-utils.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/umd/popper-utils.min.js +5 -0
- data/app/assets/node_modules/popper.js/dist/umd/popper-utils.min.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/umd/popper.js +2528 -0
- data/app/assets/node_modules/popper.js/dist/umd/popper.js.map +1 -0
- data/app/assets/node_modules/popper.js/dist/umd/popper.min.js +5 -0
- data/app/assets/node_modules/popper.js/dist/umd/popper.min.js.map +1 -0
- data/app/assets/node_modules/popper.js/index.d.ts +159 -0
- data/app/assets/node_modules/popper.js/package.json +54 -0
- data/app/assets/node_modules/quill/CHANGELOG.md +734 -0
- data/app/assets/node_modules/quill/LICENSE +30 -0
- data/app/assets/node_modules/quill/README.md +109 -0
- data/app/assets/node_modules/quill/assets/base.styl +304 -0
- data/app/assets/node_modules/quill/assets/bubble/toolbar.styl +14 -0
- data/app/assets/node_modules/quill/assets/bubble/tooltip.styl +49 -0
- data/app/assets/node_modules/quill/assets/bubble.styl +45 -0
- data/app/assets/node_modules/quill/assets/core.styl +183 -0
- data/app/assets/node_modules/quill/assets/favicon.png +0 -0
- data/app/assets/node_modules/quill/assets/icons/align-center.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/align-justify.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/align-left.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/align-right.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/attachment.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/audio.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/authorship.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/background.svg +52 -0
- data/app/assets/node_modules/quill/assets/icons/blockquote.svg +6 -0
- data/app/assets/node_modules/quill/assets/icons/bold.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/clean.svg +7 -0
- data/app/assets/node_modules/quill/assets/icons/code.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/color.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/comment.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/direction-ltr.svg +7 -0
- data/app/assets/node_modules/quill/assets/icons/direction-rtl.svg +7 -0
- data/app/assets/node_modules/quill/assets/icons/dropdown.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/embed.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/emoji.svg +6 -0
- data/app/assets/node_modules/quill/assets/icons/float-center.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/float-full.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/float-left.svg +7 -0
- data/app/assets/node_modules/quill/assets/icons/float-right.svg +7 -0
- data/app/assets/node_modules/quill/assets/icons/font.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/formula.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/hashtag.svg +6 -0
- data/app/assets/node_modules/quill/assets/icons/header-2.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/header-3.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/header-4.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/header-5.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/header-6.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/header.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/horizontal-rule.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/image.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/indent.svg +6 -0
- data/app/assets/node_modules/quill/assets/icons/italic.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/link.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/list-bullet.svg +8 -0
- data/app/assets/node_modules/quill/assets/icons/list-check.svg +8 -0
- data/app/assets/node_modules/quill/assets/icons/list-ordered.svg +9 -0
- data/app/assets/node_modules/quill/assets/icons/map.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/mention.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/more.svg +3 -0
- data/app/assets/node_modules/quill/assets/icons/outdent.svg +6 -0
- data/app/assets/node_modules/quill/assets/icons/redo.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/size-decrease.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/size-increase.svg +6 -0
- data/app/assets/node_modules/quill/assets/icons/size.svg +6 -0
- data/app/assets/node_modules/quill/assets/icons/spacing.svg +9 -0
- data/app/assets/node_modules/quill/assets/icons/speech.svg +6 -0
- data/app/assets/node_modules/quill/assets/icons/strike.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/subscript.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/superscript.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/table-border-all.svg +5 -0
- data/app/assets/node_modules/quill/assets/icons/table-border-bottom.svg +28 -0
- data/app/assets/node_modules/quill/assets/icons/table-border-left.svg +28 -0
- data/app/assets/node_modules/quill/assets/icons/table-border-none.svg +25 -0
- data/app/assets/node_modules/quill/assets/icons/table-border-outside.svg +35 -0
- data/app/assets/node_modules/quill/assets/icons/table-border-right.svg +28 -0
- data/app/assets/node_modules/quill/assets/icons/table-border-top.svg +28 -0
- data/app/assets/node_modules/quill/assets/icons/table-delete-cells.svg +13 -0
- data/app/assets/node_modules/quill/assets/icons/table-delete-columns.svg +8 -0
- data/app/assets/node_modules/quill/assets/icons/table-delete-rows.svg +9 -0
- data/app/assets/node_modules/quill/assets/icons/table-insert-cells.svg +13 -0
- data/app/assets/node_modules/quill/assets/icons/table-insert-columns.svg +8 -0
- data/app/assets/node_modules/quill/assets/icons/table-insert-rows.svg +9 -0
- data/app/assets/node_modules/quill/assets/icons/table-merge-cells.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/table-unmerge-cells.svg +7 -0
- data/app/assets/node_modules/quill/assets/icons/table.svg +11 -0
- data/app/assets/node_modules/quill/assets/icons/underline.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/undo.svg +4 -0
- data/app/assets/node_modules/quill/assets/icons/video.svg +14 -0
- data/app/assets/node_modules/quill/assets/snow/toolbar.styl +26 -0
- data/app/assets/node_modules/quill/assets/snow/tooltip.styl +53 -0
- data/app/assets/node_modules/quill/assets/snow.styl +18 -0
- data/app/assets/node_modules/quill/blots/block.js +174 -0
- data/app/assets/node_modules/quill/blots/break.js +29 -0
- data/app/assets/node_modules/quill/blots/container.js +9 -0
- data/app/assets/node_modules/quill/blots/cursor.js +116 -0
- data/app/assets/node_modules/quill/blots/embed.js +79 -0
- data/app/assets/node_modules/quill/blots/inline.js +50 -0
- data/app/assets/node_modules/quill/blots/scroll.js +173 -0
- data/app/assets/node_modules/quill/blots/text.js +5 -0
- data/app/assets/node_modules/quill/core/editor.js +267 -0
- data/app/assets/node_modules/quill/core/emitter.js +63 -0
- data/app/assets/node_modules/quill/core/logger.js +22 -0
- data/app/assets/node_modules/quill/core/module.js +10 -0
- data/app/assets/node_modules/quill/core/polyfill.js +63 -0
- data/app/assets/node_modules/quill/core/quill.js +506 -0
- data/app/assets/node_modules/quill/core/selection.js +355 -0
- data/app/assets/node_modules/quill/core/theme.js +30 -0
- data/app/assets/node_modules/quill/core.js +36 -0
- data/app/assets/node_modules/quill/dist/quill.bubble.css +952 -0
- data/app/assets/node_modules/quill/dist/quill.core.css +397 -0
- data/app/assets/node_modules/quill/dist/quill.core.js +8522 -0
- data/app/assets/node_modules/quill/dist/quill.js +11489 -0
- data/app/assets/node_modules/quill/dist/quill.min.js +8 -0
- data/app/assets/node_modules/quill/dist/quill.min.js.map +1 -0
- data/app/assets/node_modules/quill/dist/quill.snow.css +945 -0
- data/app/assets/node_modules/quill/formats/align.js +12 -0
- data/app/assets/node_modules/quill/formats/background.js +11 -0
- data/app/assets/node_modules/quill/formats/blockquote.js +9 -0
- data/app/assets/node_modules/quill/formats/bold.js +22 -0
- data/app/assets/node_modules/quill/formats/code.js +118 -0
- data/app/assets/node_modules/quill/formats/color.js +21 -0
- data/app/assets/node_modules/quill/formats/direction.js +12 -0
- data/app/assets/node_modules/quill/formats/font.js +18 -0
- data/app/assets/node_modules/quill/formats/header.js +13 -0
- data/app/assets/node_modules/quill/formats/image.js +57 -0
- data/app/assets/node_modules/quill/formats/indent.js +31 -0
- data/app/assets/node_modules/quill/formats/italic.js +7 -0
- data/app/assets/node_modules/quill/formats/link.js +41 -0
- data/app/assets/node_modules/quill/formats/list.js +130 -0
- data/app/assets/node_modules/quill/formats/script.js +23 -0
- data/app/assets/node_modules/quill/formats/size.js +12 -0
- data/app/assets/node_modules/quill/formats/strike.js +7 -0
- data/app/assets/node_modules/quill/formats/underline.js +7 -0
- data/app/assets/node_modules/quill/formats/video.js +53 -0
- data/app/assets/node_modules/quill/modules/clipboard.js +358 -0
- data/app/assets/node_modules/quill/modules/formula.js +42 -0
- data/app/assets/node_modules/quill/modules/history.js +120 -0
- data/app/assets/node_modules/quill/modules/keyboard.js +494 -0
- data/app/assets/node_modules/quill/modules/syntax.js +81 -0
- data/app/assets/node_modules/quill/modules/toolbar.js +261 -0
- data/app/assets/node_modules/quill/package.json +99 -0
- data/app/assets/node_modules/quill/quill.js +104 -0
- data/app/assets/node_modules/quill/themes/base.js +264 -0
- data/app/assets/node_modules/quill/themes/bubble.js +111 -0
- data/app/assets/node_modules/quill/themes/snow.js +120 -0
- data/app/assets/node_modules/quill/ui/color-picker.js +35 -0
- data/app/assets/node_modules/quill/ui/icon-picker.js +23 -0
- data/app/assets/node_modules/quill/ui/icons.js +49 -0
- data/app/assets/node_modules/quill/ui/picker.js +186 -0
- data/app/assets/node_modules/quill/ui/tooltip.js +53 -0
- data/app/assets/node_modules/quill-delta/CHANGELOG.md +48 -0
- data/app/assets/node_modules/quill-delta/LICENSE +21 -0
- data/app/assets/node_modules/quill-delta/README.md +639 -0
- data/app/assets/node_modules/quill-delta/lib/delta.js +325 -0
- data/app/assets/node_modules/quill-delta/lib/op.js +139 -0
- data/app/assets/node_modules/quill-delta/package.json +40 -0
- data/app/assets/node_modules/raphael/CONTRIBUTING.md +22 -0
- data/app/assets/node_modules/raphael/Gruntfile.js +72 -0
- data/app/assets/node_modules/raphael/README.md +75 -0
- data/app/assets/node_modules/raphael/bower.json +31 -0
- data/app/assets/node_modules/raphael/dev/banner.txt +8 -0
- data/app/assets/node_modules/raphael/dev/raphael.amd.js +5 -0
- data/app/assets/node_modules/raphael/dev/raphael.core.js +5405 -0
- data/app/assets/node_modules/raphael/dev/raphael.svg.js +1424 -0
- data/app/assets/node_modules/raphael/dev/raphael.vml.js +999 -0
- data/app/assets/node_modules/raphael/dev/raphaelTest.html +39 -0
- data/app/assets/node_modules/raphael/dev/test/index.html +31 -0
- data/app/assets/node_modules/raphael/dev/test/svg/dom.js +317 -0
- data/app/assets/node_modules/raphael/dev/test/vml/dom.js +5 -0
- data/app/assets/node_modules/raphael/history.md +155 -0
- data/app/assets/node_modules/raphael/license.txt +21 -0
- data/app/assets/node_modules/raphael/package.json +47 -0
- data/app/assets/node_modules/raphael/raphael.js +8353 -0
- data/app/assets/node_modules/raphael/raphael.min.js +3 -0
- data/app/assets/node_modules/raphael/raphael.no-deps.js +7927 -0
- data/app/assets/node_modules/raphael/raphael.no-deps.min.js +3 -0
- data/app/assets/node_modules/raphael/webpack.config.js +64 -0
- data/app/assets/node_modules/raphael/yarn.lock +2012 -0
- data/app/assets/node_modules/responsive-toolkit/CHANGELOG.md +70 -0
- data/app/assets/node_modules/responsive-toolkit/LICENSE +21 -0
- data/app/assets/node_modules/responsive-toolkit/README.md +155 -0
- data/app/assets/node_modules/responsive-toolkit/bower.json +22 -0
- data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/index.html +53 -0
- data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/main.js +42 -0
- data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/style.css +109 -0
- data/app/assets/node_modules/responsive-toolkit/demos/custom/index.html +23 -0
- data/app/assets/node_modules/responsive-toolkit/demos/custom/main.js +36 -0
- data/app/assets/node_modules/responsive-toolkit/demos/custom/style.css +19 -0
- data/app/assets/node_modules/responsive-toolkit/demos/foundation/index.html +25 -0
- data/app/assets/node_modules/responsive-toolkit/demos/foundation/main.js +28 -0
- data/app/assets/node_modules/responsive-toolkit/demos/foundation/style.css +3 -0
- data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit-1.5.0.js +49 -0
- data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit-1.5.0.min.js +8 -0
- data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit.js +238 -0
- data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit.min.js +8 -0
- data/app/assets/node_modules/responsive-toolkit/gulpfile.js +38 -0
- data/app/assets/node_modules/responsive-toolkit/package.json +28 -0
- data/app/assets/node_modules/responsive-toolkit/src/bootstrap-toolkit.js +238 -0
- data/app/assets/node_modules/sortablejs/README.md +636 -0
- data/app/assets/node_modules/sortablejs/Sortable.js +1540 -0
- data/app/assets/node_modules/sortablejs/Sortable.min.js +2 -0
- data/app/assets/node_modules/sortablejs/package.json +48 -0
- data/app/assets/node_modules/tether/CHANGELOG.md +13 -0
- data/app/assets/node_modules/tether/CONTRIBUTING.md +59 -0
- data/app/assets/node_modules/tether/LICENSE +8 -0
- data/app/assets/node_modules/tether/README.md +116 -0
- data/app/assets/node_modules/tether/bower.json +26 -0
- data/app/assets/node_modules/tether/component.json +22 -0
- data/app/assets/node_modules/tether/dist/css/tether-theme-arrows-dark.css +150 -0
- data/app/assets/node_modules/tether/dist/css/tether-theme-arrows-dark.min.css +1 -0
- data/app/assets/node_modules/tether/dist/css/tether-theme-arrows.css +153 -0
- data/app/assets/node_modules/tether/dist/css/tether-theme-arrows.min.css +1 -0
- data/app/assets/node_modules/tether/dist/css/tether-theme-basic.css +21 -0
- data/app/assets/node_modules/tether/dist/css/tether-theme-basic.min.css +1 -0
- data/app/assets/node_modules/tether/dist/css/tether.css +8 -0
- data/app/assets/node_modules/tether/dist/css/tether.min.css +1 -0
- data/app/assets/node_modules/tether/dist/js/tether.js +1813 -0
- data/app/assets/node_modules/tether/dist/js/tether.min.js +1 -0
- data/app/assets/node_modules/tether/docs/1-Overview/1-why_you_should_use_tether.md +43 -0
- data/app/assets/node_modules/tether/docs/1-Overview/2-repositioning.md +46 -0
- data/app/assets/node_modules/tether/docs/1-Overview/3-why_we_dont_support_IE_8.md +47 -0
- data/app/assets/node_modules/tether/docs/2-Examples/1-list_of_examples.md +27 -0
- data/app/assets/node_modules/tether/docs/2-Examples/2-projects_using_tether.md +45 -0
- data/app/assets/node_modules/tether/docs/3-Advanced/1-embedding_tether.md +9 -0
- data/app/assets/node_modules/tether/docs/3-Advanced/2-extending_tether.md +54 -0
- data/app/assets/node_modules/tether/docs/coffee/intro.coffee +113 -0
- data/app/assets/node_modules/tether/docs/css/intro.css +218 -0
- data/app/assets/node_modules/tether/docs/intro.md +591 -0
- data/app/assets/node_modules/tether/docs/js/intro.js +117 -0
- data/app/assets/node_modules/tether/docs/js/markAttachment.js +51 -0
- data/app/assets/node_modules/tether/docs/sass/intro.sass +233 -0
- data/app/assets/node_modules/tether/docs/welcome/browser-demo.html +76 -0
- data/app/assets/node_modules/tether/docs/welcome/coffee/welcome.coffee +212 -0
- data/app/assets/node_modules/tether/docs/welcome/css/browser-demo.css +86 -0
- data/app/assets/node_modules/tether/docs/welcome/css/prism.css +2 -0
- data/app/assets/node_modules/tether/docs/welcome/css/welcome.css +247 -0
- data/app/assets/node_modules/tether/docs/welcome/index.html +226 -0
- data/app/assets/node_modules/tether/docs/welcome/js/drop.js +239 -0
- data/app/assets/node_modules/tether/docs/welcome/js/jquery.js +9597 -0
- data/app/assets/node_modules/tether/docs/welcome/js/log.js +134 -0
- data/app/assets/node_modules/tether/docs/welcome/js/tether-v0.1.3.js +2 -0
- data/app/assets/node_modules/tether/docs/welcome/js/welcome.js +193 -0
- data/app/assets/node_modules/tether/docs/welcome/sass/_inline-block.sass +6 -0
- data/app/assets/node_modules/tether/docs/welcome/sass/browser-demo.sass +93 -0
- data/app/assets/node_modules/tether/docs/welcome/sass/welcome.sass +285 -0
- data/app/assets/node_modules/tether/examples/chosen/chosen-sprite.png +0 -0
- data/app/assets/node_modules/tether/examples/chosen/chosen-sprite@2x.png +0 -0
- data/app/assets/node_modules/tether/examples/chosen/chosen.css +430 -0
- data/app/assets/node_modules/tether/examples/chosen/chosen.js +1166 -0
- data/app/assets/node_modules/tether/examples/chosen/index.html +110 -0
- data/app/assets/node_modules/tether/examples/common/css/style.css +48 -0
- data/app/assets/node_modules/tether/examples/content-visible/index.html +64 -0
- data/app/assets/node_modules/tether/examples/dolls/dolls.css +18 -0
- data/app/assets/node_modules/tether/examples/dolls/dolls.js +83 -0
- data/app/assets/node_modules/tether/examples/dolls/index.html +7 -0
- data/app/assets/node_modules/tether/examples/element-scroll/index.html +499 -0
- data/app/assets/node_modules/tether/examples/enable-disable/index.html +37 -0
- data/app/assets/node_modules/tether/examples/facebook/facebook.css +86 -0
- data/app/assets/node_modules/tether/examples/facebook/index.html +209 -0
- data/app/assets/node_modules/tether/examples/out-of-bounds/index.html +38 -0
- data/app/assets/node_modules/tether/examples/pin/index.html +30 -0
- data/app/assets/node_modules/tether/examples/resources/css/base.css +10 -0
- data/app/assets/node_modules/tether/examples/resources/js/jquery.js +9597 -0
- data/app/assets/node_modules/tether/examples/resources/js/log.js +134 -0
- data/app/assets/node_modules/tether/examples/scroll/index.html +922 -0
- data/app/assets/node_modules/tether/examples/simple/index.html +30 -0
- data/app/assets/node_modules/tether/examples/testbed/index.html +36 -0
- data/app/assets/node_modules/tether/examples/tooltip/index.html +86 -0
- data/app/assets/node_modules/tether/examples/viewport/colors.css +145 -0
- data/app/assets/node_modules/tether/examples/viewport/index.html +70 -0
- data/app/assets/node_modules/tether/gulpfile.js +97 -0
- data/app/assets/node_modules/tether/package.json +40 -0
- data/app/assets/node_modules/tether/src/css/helpers/_tether-theme-arrows.sass +192 -0
- data/app/assets/node_modules/tether/src/css/helpers/_tether-theme-basic.sass +14 -0
- data/app/assets/node_modules/tether/src/css/helpers/_tether.sass +12 -0
- data/app/assets/node_modules/tether/src/css/mixins/_inline-block.sass +6 -0
- data/app/assets/node_modules/tether/src/css/mixins/_pie-clearfix.sass +7 -0
- data/app/assets/node_modules/tether/src/css/tether-theme-arrows-dark.sass +12 -0
- data/app/assets/node_modules/tether/src/css/tether-theme-arrows.sass +12 -0
- data/app/assets/node_modules/tether/src/css/tether-theme-basic.sass +10 -0
- data/app/assets/node_modules/tether/src/css/tether.sass +5 -0
- data/app/assets/node_modules/tether/src/js/abutment.js +61 -0
- data/app/assets/node_modules/tether/src/js/constraint.js +366 -0
- data/app/assets/node_modules/tether/src/js/markAttachment.js +46 -0
- data/app/assets/node_modules/tether/src/js/shift.js +32 -0
- data/app/assets/node_modules/tether/src/js/tether.js +811 -0
- data/app/assets/node_modules/tether/src/js/utils.js +370 -0
- data/app/assets/node_modules/tinycolor2/Gruntfile.js +59 -0
- data/app/assets/node_modules/tinycolor2/LICENSE +20 -0
- data/app/assets/node_modules/tinycolor2/README.md +469 -0
- data/app/assets/node_modules/tinycolor2/bower.json +9 -0
- data/app/assets/node_modules/tinycolor2/demo/demo.css +23 -0
- data/app/assets/node_modules/tinycolor2/demo/jquery-1.9.1.js +9597 -0
- data/app/assets/node_modules/tinycolor2/dist/tinycolor-min.js +4 -0
- data/app/assets/node_modules/tinycolor2/docs/docco.css +192 -0
- data/app/assets/node_modules/tinycolor2/docs/tinycolor.html +1023 -0
- data/app/assets/node_modules/tinycolor2/index.html +207 -0
- data/app/assets/node_modules/tinycolor2/package.json +31 -0
- data/app/assets/node_modules/tinycolor2/test/index.html +19 -0
- data/app/assets/node_modules/tinycolor2/test/qunit.css +244 -0
- data/app/assets/node_modules/tinycolor2/test/qunit.js +2152 -0
- data/app/assets/node_modules/tinycolor2/test/test.js +791 -0
- data/app/assets/node_modules/tinycolor2/tinycolor.js +1195 -0
- data/app/assets/stylesheets/rails_modular_admin/application.scss +2 -3
- data/app/assets/stylesheets/rails_modular_admin.scss +0 -1
- data/config/initializers/assets.rb +4 -29
- data/lib/rails_modular_admin/engine.rb +30 -2
- data/lib/rails_modular_admin/version.rb +1 -1
- metadata +1419 -8
- data/app/controllers/rails_modular_admin/application_controller.rb +0 -5
- data/app/helpers/rails_modular_admin/application_helper.rb +0 -4
- data/app/jobs/rails_modular_admin/application_job.rb +0 -4
- data/app/mailers/rails_modular_admin/application_mailer.rb +0 -6
- data/app/models/rails_modular_admin/application_record.rb +0 -5
@@ -0,0 +1,1601 @@
|
|
1
|
+
/*!
|
2
|
+
* jQuery Validation Plugin v1.17.0
|
3
|
+
*
|
4
|
+
* https://jqueryvalidation.org/
|
5
|
+
*
|
6
|
+
* Copyright (c) 2017 Jörn Zaefferer
|
7
|
+
* Released under the MIT license
|
8
|
+
*/
|
9
|
+
(function( factory ) {
|
10
|
+
if ( typeof define === "function" && define.amd ) {
|
11
|
+
define( ["jquery"], factory );
|
12
|
+
} else if (typeof module === "object" && module.exports) {
|
13
|
+
module.exports = factory( require( "jquery" ) );
|
14
|
+
} else {
|
15
|
+
factory( jQuery );
|
16
|
+
}
|
17
|
+
}(function( $ ) {
|
18
|
+
|
19
|
+
$.extend( $.fn, {
|
20
|
+
|
21
|
+
// https://jqueryvalidation.org/validate/
|
22
|
+
validate: function( options ) {
|
23
|
+
|
24
|
+
// If nothing is selected, return nothing; can't chain anyway
|
25
|
+
if ( !this.length ) {
|
26
|
+
if ( options && options.debug && window.console ) {
|
27
|
+
console.warn( "Nothing selected, can't validate, returning nothing." );
|
28
|
+
}
|
29
|
+
return;
|
30
|
+
}
|
31
|
+
|
32
|
+
// Check if a validator for this form was already created
|
33
|
+
var validator = $.data( this[ 0 ], "validator" );
|
34
|
+
if ( validator ) {
|
35
|
+
return validator;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Add novalidate tag if HTML5.
|
39
|
+
this.attr( "novalidate", "novalidate" );
|
40
|
+
|
41
|
+
validator = new $.validator( options, this[ 0 ] );
|
42
|
+
$.data( this[ 0 ], "validator", validator );
|
43
|
+
|
44
|
+
if ( validator.settings.onsubmit ) {
|
45
|
+
|
46
|
+
this.on( "click.validate", ":submit", function( event ) {
|
47
|
+
|
48
|
+
// Track the used submit button to properly handle scripted
|
49
|
+
// submits later.
|
50
|
+
validator.submitButton = event.currentTarget;
|
51
|
+
|
52
|
+
// Allow suppressing validation by adding a cancel class to the submit button
|
53
|
+
if ( $( this ).hasClass( "cancel" ) ) {
|
54
|
+
validator.cancelSubmit = true;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Allow suppressing validation by adding the html5 formnovalidate attribute to the submit button
|
58
|
+
if ( $( this ).attr( "formnovalidate" ) !== undefined ) {
|
59
|
+
validator.cancelSubmit = true;
|
60
|
+
}
|
61
|
+
} );
|
62
|
+
|
63
|
+
// Validate the form on submit
|
64
|
+
this.on( "submit.validate", function( event ) {
|
65
|
+
if ( validator.settings.debug ) {
|
66
|
+
|
67
|
+
// Prevent form submit to be able to see console output
|
68
|
+
event.preventDefault();
|
69
|
+
}
|
70
|
+
function handle() {
|
71
|
+
var hidden, result;
|
72
|
+
|
73
|
+
// Insert a hidden input as a replacement for the missing submit button
|
74
|
+
// The hidden input is inserted in two cases:
|
75
|
+
// - A user defined a `submitHandler`
|
76
|
+
// - There was a pending request due to `remote` method and `stopRequest()`
|
77
|
+
// was called to submit the form in case it's valid
|
78
|
+
if ( validator.submitButton && ( validator.settings.submitHandler || validator.formSubmitted ) ) {
|
79
|
+
hidden = $( "<input type='hidden'/>" )
|
80
|
+
.attr( "name", validator.submitButton.name )
|
81
|
+
.val( $( validator.submitButton ).val() )
|
82
|
+
.appendTo( validator.currentForm );
|
83
|
+
}
|
84
|
+
|
85
|
+
if ( validator.settings.submitHandler ) {
|
86
|
+
result = validator.settings.submitHandler.call( validator, validator.currentForm, event );
|
87
|
+
if ( hidden ) {
|
88
|
+
|
89
|
+
// And clean up afterwards; thanks to no-block-scope, hidden can be referenced
|
90
|
+
hidden.remove();
|
91
|
+
}
|
92
|
+
if ( result !== undefined ) {
|
93
|
+
return result;
|
94
|
+
}
|
95
|
+
return false;
|
96
|
+
}
|
97
|
+
return true;
|
98
|
+
}
|
99
|
+
|
100
|
+
// Prevent submit for invalid forms or custom submit handlers
|
101
|
+
if ( validator.cancelSubmit ) {
|
102
|
+
validator.cancelSubmit = false;
|
103
|
+
return handle();
|
104
|
+
}
|
105
|
+
if ( validator.form() ) {
|
106
|
+
if ( validator.pendingRequest ) {
|
107
|
+
validator.formSubmitted = true;
|
108
|
+
return false;
|
109
|
+
}
|
110
|
+
return handle();
|
111
|
+
} else {
|
112
|
+
validator.focusInvalid();
|
113
|
+
return false;
|
114
|
+
}
|
115
|
+
} );
|
116
|
+
}
|
117
|
+
|
118
|
+
return validator;
|
119
|
+
},
|
120
|
+
|
121
|
+
// https://jqueryvalidation.org/valid/
|
122
|
+
valid: function() {
|
123
|
+
var valid, validator, errorList;
|
124
|
+
|
125
|
+
if ( $( this[ 0 ] ).is( "form" ) ) {
|
126
|
+
valid = this.validate().form();
|
127
|
+
} else {
|
128
|
+
errorList = [];
|
129
|
+
valid = true;
|
130
|
+
validator = $( this[ 0 ].form ).validate();
|
131
|
+
this.each( function() {
|
132
|
+
valid = validator.element( this ) && valid;
|
133
|
+
if ( !valid ) {
|
134
|
+
errorList = errorList.concat( validator.errorList );
|
135
|
+
}
|
136
|
+
} );
|
137
|
+
validator.errorList = errorList;
|
138
|
+
}
|
139
|
+
return valid;
|
140
|
+
},
|
141
|
+
|
142
|
+
// https://jqueryvalidation.org/rules/
|
143
|
+
rules: function( command, argument ) {
|
144
|
+
var element = this[ 0 ],
|
145
|
+
settings, staticRules, existingRules, data, param, filtered;
|
146
|
+
|
147
|
+
// If nothing is selected, return empty object; can't chain anyway
|
148
|
+
if ( element == null ) {
|
149
|
+
return;
|
150
|
+
}
|
151
|
+
|
152
|
+
if ( !element.form && element.hasAttribute( "contenteditable" ) ) {
|
153
|
+
element.form = this.closest( "form" )[ 0 ];
|
154
|
+
element.name = this.attr( "name" );
|
155
|
+
}
|
156
|
+
|
157
|
+
if ( element.form == null ) {
|
158
|
+
return;
|
159
|
+
}
|
160
|
+
|
161
|
+
if ( command ) {
|
162
|
+
settings = $.data( element.form, "validator" ).settings;
|
163
|
+
staticRules = settings.rules;
|
164
|
+
existingRules = $.validator.staticRules( element );
|
165
|
+
switch ( command ) {
|
166
|
+
case "add":
|
167
|
+
$.extend( existingRules, $.validator.normalizeRule( argument ) );
|
168
|
+
|
169
|
+
// Remove messages from rules, but allow them to be set separately
|
170
|
+
delete existingRules.messages;
|
171
|
+
staticRules[ element.name ] = existingRules;
|
172
|
+
if ( argument.messages ) {
|
173
|
+
settings.messages[ element.name ] = $.extend( settings.messages[ element.name ], argument.messages );
|
174
|
+
}
|
175
|
+
break;
|
176
|
+
case "remove":
|
177
|
+
if ( !argument ) {
|
178
|
+
delete staticRules[ element.name ];
|
179
|
+
return existingRules;
|
180
|
+
}
|
181
|
+
filtered = {};
|
182
|
+
$.each( argument.split( /\s/ ), function( index, method ) {
|
183
|
+
filtered[ method ] = existingRules[ method ];
|
184
|
+
delete existingRules[ method ];
|
185
|
+
} );
|
186
|
+
return filtered;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
data = $.validator.normalizeRules(
|
191
|
+
$.extend(
|
192
|
+
{},
|
193
|
+
$.validator.classRules( element ),
|
194
|
+
$.validator.attributeRules( element ),
|
195
|
+
$.validator.dataRules( element ),
|
196
|
+
$.validator.staticRules( element )
|
197
|
+
), element );
|
198
|
+
|
199
|
+
// Make sure required is at front
|
200
|
+
if ( data.required ) {
|
201
|
+
param = data.required;
|
202
|
+
delete data.required;
|
203
|
+
data = $.extend( { required: param }, data );
|
204
|
+
}
|
205
|
+
|
206
|
+
// Make sure remote is at back
|
207
|
+
if ( data.remote ) {
|
208
|
+
param = data.remote;
|
209
|
+
delete data.remote;
|
210
|
+
data = $.extend( data, { remote: param } );
|
211
|
+
}
|
212
|
+
|
213
|
+
return data;
|
214
|
+
}
|
215
|
+
} );
|
216
|
+
|
217
|
+
// Custom selectors
|
218
|
+
$.extend( $.expr.pseudos || $.expr[ ":" ], { // '|| $.expr[ ":" ]' here enables backwards compatibility to jQuery 1.7. Can be removed when dropping jQ 1.7.x support
|
219
|
+
|
220
|
+
// https://jqueryvalidation.org/blank-selector/
|
221
|
+
blank: function( a ) {
|
222
|
+
return !$.trim( "" + $( a ).val() );
|
223
|
+
},
|
224
|
+
|
225
|
+
// https://jqueryvalidation.org/filled-selector/
|
226
|
+
filled: function( a ) {
|
227
|
+
var val = $( a ).val();
|
228
|
+
return val !== null && !!$.trim( "" + val );
|
229
|
+
},
|
230
|
+
|
231
|
+
// https://jqueryvalidation.org/unchecked-selector/
|
232
|
+
unchecked: function( a ) {
|
233
|
+
return !$( a ).prop( "checked" );
|
234
|
+
}
|
235
|
+
} );
|
236
|
+
|
237
|
+
// Constructor for validator
|
238
|
+
$.validator = function( options, form ) {
|
239
|
+
this.settings = $.extend( true, {}, $.validator.defaults, options );
|
240
|
+
this.currentForm = form;
|
241
|
+
this.init();
|
242
|
+
};
|
243
|
+
|
244
|
+
// https://jqueryvalidation.org/jQuery.validator.format/
|
245
|
+
$.validator.format = function( source, params ) {
|
246
|
+
if ( arguments.length === 1 ) {
|
247
|
+
return function() {
|
248
|
+
var args = $.makeArray( arguments );
|
249
|
+
args.unshift( source );
|
250
|
+
return $.validator.format.apply( this, args );
|
251
|
+
};
|
252
|
+
}
|
253
|
+
if ( params === undefined ) {
|
254
|
+
return source;
|
255
|
+
}
|
256
|
+
if ( arguments.length > 2 && params.constructor !== Array ) {
|
257
|
+
params = $.makeArray( arguments ).slice( 1 );
|
258
|
+
}
|
259
|
+
if ( params.constructor !== Array ) {
|
260
|
+
params = [ params ];
|
261
|
+
}
|
262
|
+
$.each( params, function( i, n ) {
|
263
|
+
source = source.replace( new RegExp( "\\{" + i + "\\}", "g" ), function() {
|
264
|
+
return n;
|
265
|
+
} );
|
266
|
+
} );
|
267
|
+
return source;
|
268
|
+
};
|
269
|
+
|
270
|
+
$.extend( $.validator, {
|
271
|
+
|
272
|
+
defaults: {
|
273
|
+
messages: {},
|
274
|
+
groups: {},
|
275
|
+
rules: {},
|
276
|
+
errorClass: "error",
|
277
|
+
pendingClass: "pending",
|
278
|
+
validClass: "valid",
|
279
|
+
errorElement: "label",
|
280
|
+
focusCleanup: false,
|
281
|
+
focusInvalid: true,
|
282
|
+
errorContainer: $( [] ),
|
283
|
+
errorLabelContainer: $( [] ),
|
284
|
+
onsubmit: true,
|
285
|
+
ignore: ":hidden",
|
286
|
+
ignoreTitle: false,
|
287
|
+
onfocusin: function( element ) {
|
288
|
+
this.lastActive = element;
|
289
|
+
|
290
|
+
// Hide error label and remove error class on focus if enabled
|
291
|
+
if ( this.settings.focusCleanup ) {
|
292
|
+
if ( this.settings.unhighlight ) {
|
293
|
+
this.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.validClass );
|
294
|
+
}
|
295
|
+
this.hideThese( this.errorsFor( element ) );
|
296
|
+
}
|
297
|
+
},
|
298
|
+
onfocusout: function( element ) {
|
299
|
+
if ( !this.checkable( element ) && ( element.name in this.submitted || !this.optional( element ) ) ) {
|
300
|
+
this.element( element );
|
301
|
+
}
|
302
|
+
},
|
303
|
+
onkeyup: function( element, event ) {
|
304
|
+
|
305
|
+
// Avoid revalidate the field when pressing one of the following keys
|
306
|
+
// Shift => 16
|
307
|
+
// Ctrl => 17
|
308
|
+
// Alt => 18
|
309
|
+
// Caps lock => 20
|
310
|
+
// End => 35
|
311
|
+
// Home => 36
|
312
|
+
// Left arrow => 37
|
313
|
+
// Up arrow => 38
|
314
|
+
// Right arrow => 39
|
315
|
+
// Down arrow => 40
|
316
|
+
// Insert => 45
|
317
|
+
// Num lock => 144
|
318
|
+
// AltGr key => 225
|
319
|
+
var excludedKeys = [
|
320
|
+
16, 17, 18, 20, 35, 36, 37,
|
321
|
+
38, 39, 40, 45, 144, 225
|
322
|
+
];
|
323
|
+
|
324
|
+
if ( event.which === 9 && this.elementValue( element ) === "" || $.inArray( event.keyCode, excludedKeys ) !== -1 ) {
|
325
|
+
return;
|
326
|
+
} else if ( element.name in this.submitted || element.name in this.invalid ) {
|
327
|
+
this.element( element );
|
328
|
+
}
|
329
|
+
},
|
330
|
+
onclick: function( element ) {
|
331
|
+
|
332
|
+
// Click on selects, radiobuttons and checkboxes
|
333
|
+
if ( element.name in this.submitted ) {
|
334
|
+
this.element( element );
|
335
|
+
|
336
|
+
// Or option elements, check parent select in that case
|
337
|
+
} else if ( element.parentNode.name in this.submitted ) {
|
338
|
+
this.element( element.parentNode );
|
339
|
+
}
|
340
|
+
},
|
341
|
+
highlight: function( element, errorClass, validClass ) {
|
342
|
+
if ( element.type === "radio" ) {
|
343
|
+
this.findByName( element.name ).addClass( errorClass ).removeClass( validClass );
|
344
|
+
} else {
|
345
|
+
$( element ).addClass( errorClass ).removeClass( validClass );
|
346
|
+
}
|
347
|
+
},
|
348
|
+
unhighlight: function( element, errorClass, validClass ) {
|
349
|
+
if ( element.type === "radio" ) {
|
350
|
+
this.findByName( element.name ).removeClass( errorClass ).addClass( validClass );
|
351
|
+
} else {
|
352
|
+
$( element ).removeClass( errorClass ).addClass( validClass );
|
353
|
+
}
|
354
|
+
}
|
355
|
+
},
|
356
|
+
|
357
|
+
// https://jqueryvalidation.org/jQuery.validator.setDefaults/
|
358
|
+
setDefaults: function( settings ) {
|
359
|
+
$.extend( $.validator.defaults, settings );
|
360
|
+
},
|
361
|
+
|
362
|
+
messages: {
|
363
|
+
required: "This field is required.",
|
364
|
+
remote: "Please fix this field.",
|
365
|
+
email: "Please enter a valid email address.",
|
366
|
+
url: "Please enter a valid URL.",
|
367
|
+
date: "Please enter a valid date.",
|
368
|
+
dateISO: "Please enter a valid date (ISO).",
|
369
|
+
number: "Please enter a valid number.",
|
370
|
+
digits: "Please enter only digits.",
|
371
|
+
equalTo: "Please enter the same value again.",
|
372
|
+
maxlength: $.validator.format( "Please enter no more than {0} characters." ),
|
373
|
+
minlength: $.validator.format( "Please enter at least {0} characters." ),
|
374
|
+
rangelength: $.validator.format( "Please enter a value between {0} and {1} characters long." ),
|
375
|
+
range: $.validator.format( "Please enter a value between {0} and {1}." ),
|
376
|
+
max: $.validator.format( "Please enter a value less than or equal to {0}." ),
|
377
|
+
min: $.validator.format( "Please enter a value greater than or equal to {0}." ),
|
378
|
+
step: $.validator.format( "Please enter a multiple of {0}." )
|
379
|
+
},
|
380
|
+
|
381
|
+
autoCreateRanges: false,
|
382
|
+
|
383
|
+
prototype: {
|
384
|
+
|
385
|
+
init: function() {
|
386
|
+
this.labelContainer = $( this.settings.errorLabelContainer );
|
387
|
+
this.errorContext = this.labelContainer.length && this.labelContainer || $( this.currentForm );
|
388
|
+
this.containers = $( this.settings.errorContainer ).add( this.settings.errorLabelContainer );
|
389
|
+
this.submitted = {};
|
390
|
+
this.valueCache = {};
|
391
|
+
this.pendingRequest = 0;
|
392
|
+
this.pending = {};
|
393
|
+
this.invalid = {};
|
394
|
+
this.reset();
|
395
|
+
|
396
|
+
var groups = ( this.groups = {} ),
|
397
|
+
rules;
|
398
|
+
$.each( this.settings.groups, function( key, value ) {
|
399
|
+
if ( typeof value === "string" ) {
|
400
|
+
value = value.split( /\s/ );
|
401
|
+
}
|
402
|
+
$.each( value, function( index, name ) {
|
403
|
+
groups[ name ] = key;
|
404
|
+
} );
|
405
|
+
} );
|
406
|
+
rules = this.settings.rules;
|
407
|
+
$.each( rules, function( key, value ) {
|
408
|
+
rules[ key ] = $.validator.normalizeRule( value );
|
409
|
+
} );
|
410
|
+
|
411
|
+
function delegate( event ) {
|
412
|
+
|
413
|
+
// Set form expando on contenteditable
|
414
|
+
if ( !this.form && this.hasAttribute( "contenteditable" ) ) {
|
415
|
+
this.form = $( this ).closest( "form" )[ 0 ];
|
416
|
+
this.name = $( this ).attr( "name" );
|
417
|
+
}
|
418
|
+
|
419
|
+
var validator = $.data( this.form, "validator" ),
|
420
|
+
eventType = "on" + event.type.replace( /^validate/, "" ),
|
421
|
+
settings = validator.settings;
|
422
|
+
if ( settings[ eventType ] && !$( this ).is( settings.ignore ) ) {
|
423
|
+
settings[ eventType ].call( validator, this, event );
|
424
|
+
}
|
425
|
+
}
|
426
|
+
|
427
|
+
$( this.currentForm )
|
428
|
+
.on( "focusin.validate focusout.validate keyup.validate",
|
429
|
+
":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], " +
|
430
|
+
"[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], " +
|
431
|
+
"[type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], " +
|
432
|
+
"[type='radio'], [type='checkbox'], [contenteditable], [type='button']", delegate )
|
433
|
+
|
434
|
+
// Support: Chrome, oldIE
|
435
|
+
// "select" is provided as event.target when clicking a option
|
436
|
+
.on( "click.validate", "select, option, [type='radio'], [type='checkbox']", delegate );
|
437
|
+
|
438
|
+
if ( this.settings.invalidHandler ) {
|
439
|
+
$( this.currentForm ).on( "invalid-form.validate", this.settings.invalidHandler );
|
440
|
+
}
|
441
|
+
},
|
442
|
+
|
443
|
+
// https://jqueryvalidation.org/Validator.form/
|
444
|
+
form: function() {
|
445
|
+
this.checkForm();
|
446
|
+
$.extend( this.submitted, this.errorMap );
|
447
|
+
this.invalid = $.extend( {}, this.errorMap );
|
448
|
+
if ( !this.valid() ) {
|
449
|
+
$( this.currentForm ).triggerHandler( "invalid-form", [ this ] );
|
450
|
+
}
|
451
|
+
this.showErrors();
|
452
|
+
return this.valid();
|
453
|
+
},
|
454
|
+
|
455
|
+
checkForm: function() {
|
456
|
+
this.prepareForm();
|
457
|
+
for ( var i = 0, elements = ( this.currentElements = this.elements() ); elements[ i ]; i++ ) {
|
458
|
+
this.check( elements[ i ] );
|
459
|
+
}
|
460
|
+
return this.valid();
|
461
|
+
},
|
462
|
+
|
463
|
+
// https://jqueryvalidation.org/Validator.element/
|
464
|
+
element: function( element ) {
|
465
|
+
var cleanElement = this.clean( element ),
|
466
|
+
checkElement = this.validationTargetFor( cleanElement ),
|
467
|
+
v = this,
|
468
|
+
result = true,
|
469
|
+
rs, group;
|
470
|
+
|
471
|
+
if ( checkElement === undefined ) {
|
472
|
+
delete this.invalid[ cleanElement.name ];
|
473
|
+
} else {
|
474
|
+
this.prepareElement( checkElement );
|
475
|
+
this.currentElements = $( checkElement );
|
476
|
+
|
477
|
+
// If this element is grouped, then validate all group elements already
|
478
|
+
// containing a value
|
479
|
+
group = this.groups[ checkElement.name ];
|
480
|
+
if ( group ) {
|
481
|
+
$.each( this.groups, function( name, testgroup ) {
|
482
|
+
if ( testgroup === group && name !== checkElement.name ) {
|
483
|
+
cleanElement = v.validationTargetFor( v.clean( v.findByName( name ) ) );
|
484
|
+
if ( cleanElement && cleanElement.name in v.invalid ) {
|
485
|
+
v.currentElements.push( cleanElement );
|
486
|
+
result = v.check( cleanElement ) && result;
|
487
|
+
}
|
488
|
+
}
|
489
|
+
} );
|
490
|
+
}
|
491
|
+
|
492
|
+
rs = this.check( checkElement ) !== false;
|
493
|
+
result = result && rs;
|
494
|
+
if ( rs ) {
|
495
|
+
this.invalid[ checkElement.name ] = false;
|
496
|
+
} else {
|
497
|
+
this.invalid[ checkElement.name ] = true;
|
498
|
+
}
|
499
|
+
|
500
|
+
if ( !this.numberOfInvalids() ) {
|
501
|
+
|
502
|
+
// Hide error containers on last error
|
503
|
+
this.toHide = this.toHide.add( this.containers );
|
504
|
+
}
|
505
|
+
this.showErrors();
|
506
|
+
|
507
|
+
// Add aria-invalid status for screen readers
|
508
|
+
$( element ).attr( "aria-invalid", !rs );
|
509
|
+
}
|
510
|
+
|
511
|
+
return result;
|
512
|
+
},
|
513
|
+
|
514
|
+
// https://jqueryvalidation.org/Validator.showErrors/
|
515
|
+
showErrors: function( errors ) {
|
516
|
+
if ( errors ) {
|
517
|
+
var validator = this;
|
518
|
+
|
519
|
+
// Add items to error list and map
|
520
|
+
$.extend( this.errorMap, errors );
|
521
|
+
this.errorList = $.map( this.errorMap, function( message, name ) {
|
522
|
+
return {
|
523
|
+
message: message,
|
524
|
+
element: validator.findByName( name )[ 0 ]
|
525
|
+
};
|
526
|
+
} );
|
527
|
+
|
528
|
+
// Remove items from success list
|
529
|
+
this.successList = $.grep( this.successList, function( element ) {
|
530
|
+
return !( element.name in errors );
|
531
|
+
} );
|
532
|
+
}
|
533
|
+
if ( this.settings.showErrors ) {
|
534
|
+
this.settings.showErrors.call( this, this.errorMap, this.errorList );
|
535
|
+
} else {
|
536
|
+
this.defaultShowErrors();
|
537
|
+
}
|
538
|
+
},
|
539
|
+
|
540
|
+
// https://jqueryvalidation.org/Validator.resetForm/
|
541
|
+
resetForm: function() {
|
542
|
+
if ( $.fn.resetForm ) {
|
543
|
+
$( this.currentForm ).resetForm();
|
544
|
+
}
|
545
|
+
this.invalid = {};
|
546
|
+
this.submitted = {};
|
547
|
+
this.prepareForm();
|
548
|
+
this.hideErrors();
|
549
|
+
var elements = this.elements()
|
550
|
+
.removeData( "previousValue" )
|
551
|
+
.removeAttr( "aria-invalid" );
|
552
|
+
|
553
|
+
this.resetElements( elements );
|
554
|
+
},
|
555
|
+
|
556
|
+
resetElements: function( elements ) {
|
557
|
+
var i;
|
558
|
+
|
559
|
+
if ( this.settings.unhighlight ) {
|
560
|
+
for ( i = 0; elements[ i ]; i++ ) {
|
561
|
+
this.settings.unhighlight.call( this, elements[ i ],
|
562
|
+
this.settings.errorClass, "" );
|
563
|
+
this.findByName( elements[ i ].name ).removeClass( this.settings.validClass );
|
564
|
+
}
|
565
|
+
} else {
|
566
|
+
elements
|
567
|
+
.removeClass( this.settings.errorClass )
|
568
|
+
.removeClass( this.settings.validClass );
|
569
|
+
}
|
570
|
+
},
|
571
|
+
|
572
|
+
numberOfInvalids: function() {
|
573
|
+
return this.objectLength( this.invalid );
|
574
|
+
},
|
575
|
+
|
576
|
+
objectLength: function( obj ) {
|
577
|
+
/* jshint unused: false */
|
578
|
+
var count = 0,
|
579
|
+
i;
|
580
|
+
for ( i in obj ) {
|
581
|
+
|
582
|
+
// This check allows counting elements with empty error
|
583
|
+
// message as invalid elements
|
584
|
+
if ( obj[ i ] !== undefined && obj[ i ] !== null && obj[ i ] !== false ) {
|
585
|
+
count++;
|
586
|
+
}
|
587
|
+
}
|
588
|
+
return count;
|
589
|
+
},
|
590
|
+
|
591
|
+
hideErrors: function() {
|
592
|
+
this.hideThese( this.toHide );
|
593
|
+
},
|
594
|
+
|
595
|
+
hideThese: function( errors ) {
|
596
|
+
errors.not( this.containers ).text( "" );
|
597
|
+
this.addWrapper( errors ).hide();
|
598
|
+
},
|
599
|
+
|
600
|
+
valid: function() {
|
601
|
+
return this.size() === 0;
|
602
|
+
},
|
603
|
+
|
604
|
+
size: function() {
|
605
|
+
return this.errorList.length;
|
606
|
+
},
|
607
|
+
|
608
|
+
focusInvalid: function() {
|
609
|
+
if ( this.settings.focusInvalid ) {
|
610
|
+
try {
|
611
|
+
$( this.findLastActive() || this.errorList.length && this.errorList[ 0 ].element || [] )
|
612
|
+
.filter( ":visible" )
|
613
|
+
.focus()
|
614
|
+
|
615
|
+
// Manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find
|
616
|
+
.trigger( "focusin" );
|
617
|
+
} catch ( e ) {
|
618
|
+
|
619
|
+
// Ignore IE throwing errors when focusing hidden elements
|
620
|
+
}
|
621
|
+
}
|
622
|
+
},
|
623
|
+
|
624
|
+
findLastActive: function() {
|
625
|
+
var lastActive = this.lastActive;
|
626
|
+
return lastActive && $.grep( this.errorList, function( n ) {
|
627
|
+
return n.element.name === lastActive.name;
|
628
|
+
} ).length === 1 && lastActive;
|
629
|
+
},
|
630
|
+
|
631
|
+
elements: function() {
|
632
|
+
var validator = this,
|
633
|
+
rulesCache = {};
|
634
|
+
|
635
|
+
// Select all valid inputs inside the form (no submit or reset buttons)
|
636
|
+
return $( this.currentForm )
|
637
|
+
.find( "input, select, textarea, [contenteditable]" )
|
638
|
+
.not( ":submit, :reset, :image, :disabled" )
|
639
|
+
.not( this.settings.ignore )
|
640
|
+
.filter( function() {
|
641
|
+
var name = this.name || $( this ).attr( "name" ); // For contenteditable
|
642
|
+
if ( !name && validator.settings.debug && window.console ) {
|
643
|
+
console.error( "%o has no name assigned", this );
|
644
|
+
}
|
645
|
+
|
646
|
+
// Set form expando on contenteditable
|
647
|
+
if ( this.hasAttribute( "contenteditable" ) ) {
|
648
|
+
this.form = $( this ).closest( "form" )[ 0 ];
|
649
|
+
this.name = name;
|
650
|
+
}
|
651
|
+
|
652
|
+
// Select only the first element for each name, and only those with rules specified
|
653
|
+
if ( name in rulesCache || !validator.objectLength( $( this ).rules() ) ) {
|
654
|
+
return false;
|
655
|
+
}
|
656
|
+
|
657
|
+
rulesCache[ name ] = true;
|
658
|
+
return true;
|
659
|
+
} );
|
660
|
+
},
|
661
|
+
|
662
|
+
clean: function( selector ) {
|
663
|
+
return $( selector )[ 0 ];
|
664
|
+
},
|
665
|
+
|
666
|
+
errors: function() {
|
667
|
+
var errorClass = this.settings.errorClass.split( " " ).join( "." );
|
668
|
+
return $( this.settings.errorElement + "." + errorClass, this.errorContext );
|
669
|
+
},
|
670
|
+
|
671
|
+
resetInternals: function() {
|
672
|
+
this.successList = [];
|
673
|
+
this.errorList = [];
|
674
|
+
this.errorMap = {};
|
675
|
+
this.toShow = $( [] );
|
676
|
+
this.toHide = $( [] );
|
677
|
+
},
|
678
|
+
|
679
|
+
reset: function() {
|
680
|
+
this.resetInternals();
|
681
|
+
this.currentElements = $( [] );
|
682
|
+
},
|
683
|
+
|
684
|
+
prepareForm: function() {
|
685
|
+
this.reset();
|
686
|
+
this.toHide = this.errors().add( this.containers );
|
687
|
+
},
|
688
|
+
|
689
|
+
prepareElement: function( element ) {
|
690
|
+
this.reset();
|
691
|
+
this.toHide = this.errorsFor( element );
|
692
|
+
},
|
693
|
+
|
694
|
+
elementValue: function( element ) {
|
695
|
+
var $element = $( element ),
|
696
|
+
type = element.type,
|
697
|
+
val, idx;
|
698
|
+
|
699
|
+
if ( type === "radio" || type === "checkbox" ) {
|
700
|
+
return this.findByName( element.name ).filter( ":checked" ).val();
|
701
|
+
} else if ( type === "number" && typeof element.validity !== "undefined" ) {
|
702
|
+
return element.validity.badInput ? "NaN" : $element.val();
|
703
|
+
}
|
704
|
+
|
705
|
+
if ( element.hasAttribute( "contenteditable" ) ) {
|
706
|
+
val = $element.text();
|
707
|
+
} else {
|
708
|
+
val = $element.val();
|
709
|
+
}
|
710
|
+
|
711
|
+
if ( type === "file" ) {
|
712
|
+
|
713
|
+
// Modern browser (chrome & safari)
|
714
|
+
if ( val.substr( 0, 12 ) === "C:\\fakepath\\" ) {
|
715
|
+
return val.substr( 12 );
|
716
|
+
}
|
717
|
+
|
718
|
+
// Legacy browsers
|
719
|
+
// Unix-based path
|
720
|
+
idx = val.lastIndexOf( "/" );
|
721
|
+
if ( idx >= 0 ) {
|
722
|
+
return val.substr( idx + 1 );
|
723
|
+
}
|
724
|
+
|
725
|
+
// Windows-based path
|
726
|
+
idx = val.lastIndexOf( "\\" );
|
727
|
+
if ( idx >= 0 ) {
|
728
|
+
return val.substr( idx + 1 );
|
729
|
+
}
|
730
|
+
|
731
|
+
// Just the file name
|
732
|
+
return val;
|
733
|
+
}
|
734
|
+
|
735
|
+
if ( typeof val === "string" ) {
|
736
|
+
return val.replace( /\r/g, "" );
|
737
|
+
}
|
738
|
+
return val;
|
739
|
+
},
|
740
|
+
|
741
|
+
check: function( element ) {
|
742
|
+
element = this.validationTargetFor( this.clean( element ) );
|
743
|
+
|
744
|
+
var rules = $( element ).rules(),
|
745
|
+
rulesCount = $.map( rules, function( n, i ) {
|
746
|
+
return i;
|
747
|
+
} ).length,
|
748
|
+
dependencyMismatch = false,
|
749
|
+
val = this.elementValue( element ),
|
750
|
+
result, method, rule, normalizer;
|
751
|
+
|
752
|
+
// Prioritize the local normalizer defined for this element over the global one
|
753
|
+
// if the former exists, otherwise user the global one in case it exists.
|
754
|
+
if ( typeof rules.normalizer === "function" ) {
|
755
|
+
normalizer = rules.normalizer;
|
756
|
+
} else if ( typeof this.settings.normalizer === "function" ) {
|
757
|
+
normalizer = this.settings.normalizer;
|
758
|
+
}
|
759
|
+
|
760
|
+
// If normalizer is defined, then call it to retreive the changed value instead
|
761
|
+
// of using the real one.
|
762
|
+
// Note that `this` in the normalizer is `element`.
|
763
|
+
if ( normalizer ) {
|
764
|
+
val = normalizer.call( element, val );
|
765
|
+
|
766
|
+
if ( typeof val !== "string" ) {
|
767
|
+
throw new TypeError( "The normalizer should return a string value." );
|
768
|
+
}
|
769
|
+
|
770
|
+
// Delete the normalizer from rules to avoid treating it as a pre-defined method.
|
771
|
+
delete rules.normalizer;
|
772
|
+
}
|
773
|
+
|
774
|
+
for ( method in rules ) {
|
775
|
+
rule = { method: method, parameters: rules[ method ] };
|
776
|
+
try {
|
777
|
+
result = $.validator.methods[ method ].call( this, val, element, rule.parameters );
|
778
|
+
|
779
|
+
// If a method indicates that the field is optional and therefore valid,
|
780
|
+
// don't mark it as valid when there are no other rules
|
781
|
+
if ( result === "dependency-mismatch" && rulesCount === 1 ) {
|
782
|
+
dependencyMismatch = true;
|
783
|
+
continue;
|
784
|
+
}
|
785
|
+
dependencyMismatch = false;
|
786
|
+
|
787
|
+
if ( result === "pending" ) {
|
788
|
+
this.toHide = this.toHide.not( this.errorsFor( element ) );
|
789
|
+
return;
|
790
|
+
}
|
791
|
+
|
792
|
+
if ( !result ) {
|
793
|
+
this.formatAndAdd( element, rule );
|
794
|
+
return false;
|
795
|
+
}
|
796
|
+
} catch ( e ) {
|
797
|
+
if ( this.settings.debug && window.console ) {
|
798
|
+
console.log( "Exception occurred when checking element " + element.id + ", check the '" + rule.method + "' method.", e );
|
799
|
+
}
|
800
|
+
if ( e instanceof TypeError ) {
|
801
|
+
e.message += ". Exception occurred when checking element " + element.id + ", check the '" + rule.method + "' method.";
|
802
|
+
}
|
803
|
+
|
804
|
+
throw e;
|
805
|
+
}
|
806
|
+
}
|
807
|
+
if ( dependencyMismatch ) {
|
808
|
+
return;
|
809
|
+
}
|
810
|
+
if ( this.objectLength( rules ) ) {
|
811
|
+
this.successList.push( element );
|
812
|
+
}
|
813
|
+
return true;
|
814
|
+
},
|
815
|
+
|
816
|
+
// Return the custom message for the given element and validation method
|
817
|
+
// specified in the element's HTML5 data attribute
|
818
|
+
// return the generic message if present and no method specific message is present
|
819
|
+
customDataMessage: function( element, method ) {
|
820
|
+
return $( element ).data( "msg" + method.charAt( 0 ).toUpperCase() +
|
821
|
+
method.substring( 1 ).toLowerCase() ) || $( element ).data( "msg" );
|
822
|
+
},
|
823
|
+
|
824
|
+
// Return the custom message for the given element name and validation method
|
825
|
+
customMessage: function( name, method ) {
|
826
|
+
var m = this.settings.messages[ name ];
|
827
|
+
return m && ( m.constructor === String ? m : m[ method ] );
|
828
|
+
},
|
829
|
+
|
830
|
+
// Return the first defined argument, allowing empty strings
|
831
|
+
findDefined: function() {
|
832
|
+
for ( var i = 0; i < arguments.length; i++ ) {
|
833
|
+
if ( arguments[ i ] !== undefined ) {
|
834
|
+
return arguments[ i ];
|
835
|
+
}
|
836
|
+
}
|
837
|
+
return undefined;
|
838
|
+
},
|
839
|
+
|
840
|
+
// The second parameter 'rule' used to be a string, and extended to an object literal
|
841
|
+
// of the following form:
|
842
|
+
// rule = {
|
843
|
+
// method: "method name",
|
844
|
+
// parameters: "the given method parameters"
|
845
|
+
// }
|
846
|
+
//
|
847
|
+
// The old behavior still supported, kept to maintain backward compatibility with
|
848
|
+
// old code, and will be removed in the next major release.
|
849
|
+
defaultMessage: function( element, rule ) {
|
850
|
+
if ( typeof rule === "string" ) {
|
851
|
+
rule = { method: rule };
|
852
|
+
}
|
853
|
+
|
854
|
+
var message = this.findDefined(
|
855
|
+
this.customMessage( element.name, rule.method ),
|
856
|
+
this.customDataMessage( element, rule.method ),
|
857
|
+
|
858
|
+
// 'title' is never undefined, so handle empty string as undefined
|
859
|
+
!this.settings.ignoreTitle && element.title || undefined,
|
860
|
+
$.validator.messages[ rule.method ],
|
861
|
+
"<strong>Warning: No message defined for " + element.name + "</strong>"
|
862
|
+
),
|
863
|
+
theregex = /\$?\{(\d+)\}/g;
|
864
|
+
if ( typeof message === "function" ) {
|
865
|
+
message = message.call( this, rule.parameters, element );
|
866
|
+
} else if ( theregex.test( message ) ) {
|
867
|
+
message = $.validator.format( message.replace( theregex, "{$1}" ), rule.parameters );
|
868
|
+
}
|
869
|
+
|
870
|
+
return message;
|
871
|
+
},
|
872
|
+
|
873
|
+
formatAndAdd: function( element, rule ) {
|
874
|
+
var message = this.defaultMessage( element, rule );
|
875
|
+
|
876
|
+
this.errorList.push( {
|
877
|
+
message: message,
|
878
|
+
element: element,
|
879
|
+
method: rule.method
|
880
|
+
} );
|
881
|
+
|
882
|
+
this.errorMap[ element.name ] = message;
|
883
|
+
this.submitted[ element.name ] = message;
|
884
|
+
},
|
885
|
+
|
886
|
+
addWrapper: function( toToggle ) {
|
887
|
+
if ( this.settings.wrapper ) {
|
888
|
+
toToggle = toToggle.add( toToggle.parent( this.settings.wrapper ) );
|
889
|
+
}
|
890
|
+
return toToggle;
|
891
|
+
},
|
892
|
+
|
893
|
+
defaultShowErrors: function() {
|
894
|
+
var i, elements, error;
|
895
|
+
for ( i = 0; this.errorList[ i ]; i++ ) {
|
896
|
+
error = this.errorList[ i ];
|
897
|
+
if ( this.settings.highlight ) {
|
898
|
+
this.settings.highlight.call( this, error.element, this.settings.errorClass, this.settings.validClass );
|
899
|
+
}
|
900
|
+
this.showLabel( error.element, error.message );
|
901
|
+
}
|
902
|
+
if ( this.errorList.length ) {
|
903
|
+
this.toShow = this.toShow.add( this.containers );
|
904
|
+
}
|
905
|
+
if ( this.settings.success ) {
|
906
|
+
for ( i = 0; this.successList[ i ]; i++ ) {
|
907
|
+
this.showLabel( this.successList[ i ] );
|
908
|
+
}
|
909
|
+
}
|
910
|
+
if ( this.settings.unhighlight ) {
|
911
|
+
for ( i = 0, elements = this.validElements(); elements[ i ]; i++ ) {
|
912
|
+
this.settings.unhighlight.call( this, elements[ i ], this.settings.errorClass, this.settings.validClass );
|
913
|
+
}
|
914
|
+
}
|
915
|
+
this.toHide = this.toHide.not( this.toShow );
|
916
|
+
this.hideErrors();
|
917
|
+
this.addWrapper( this.toShow ).show();
|
918
|
+
},
|
919
|
+
|
920
|
+
validElements: function() {
|
921
|
+
return this.currentElements.not( this.invalidElements() );
|
922
|
+
},
|
923
|
+
|
924
|
+
invalidElements: function() {
|
925
|
+
return $( this.errorList ).map( function() {
|
926
|
+
return this.element;
|
927
|
+
} );
|
928
|
+
},
|
929
|
+
|
930
|
+
showLabel: function( element, message ) {
|
931
|
+
var place, group, errorID, v,
|
932
|
+
error = this.errorsFor( element ),
|
933
|
+
elementID = this.idOrName( element ),
|
934
|
+
describedBy = $( element ).attr( "aria-describedby" );
|
935
|
+
|
936
|
+
if ( error.length ) {
|
937
|
+
|
938
|
+
// Refresh error/success class
|
939
|
+
error.removeClass( this.settings.validClass ).addClass( this.settings.errorClass );
|
940
|
+
|
941
|
+
// Replace message on existing label
|
942
|
+
error.html( message );
|
943
|
+
} else {
|
944
|
+
|
945
|
+
// Create error element
|
946
|
+
error = $( "<" + this.settings.errorElement + ">" )
|
947
|
+
.attr( "id", elementID + "-error" )
|
948
|
+
.addClass( this.settings.errorClass )
|
949
|
+
.html( message || "" );
|
950
|
+
|
951
|
+
// Maintain reference to the element to be placed into the DOM
|
952
|
+
place = error;
|
953
|
+
if ( this.settings.wrapper ) {
|
954
|
+
|
955
|
+
// Make sure the element is visible, even in IE
|
956
|
+
// actually showing the wrapped element is handled elsewhere
|
957
|
+
place = error.hide().show().wrap( "<" + this.settings.wrapper + "/>" ).parent();
|
958
|
+
}
|
959
|
+
if ( this.labelContainer.length ) {
|
960
|
+
this.labelContainer.append( place );
|
961
|
+
} else if ( this.settings.errorPlacement ) {
|
962
|
+
this.settings.errorPlacement.call( this, place, $( element ) );
|
963
|
+
} else {
|
964
|
+
place.insertAfter( element );
|
965
|
+
}
|
966
|
+
|
967
|
+
// Link error back to the element
|
968
|
+
if ( error.is( "label" ) ) {
|
969
|
+
|
970
|
+
// If the error is a label, then associate using 'for'
|
971
|
+
error.attr( "for", elementID );
|
972
|
+
|
973
|
+
// If the element is not a child of an associated label, then it's necessary
|
974
|
+
// to explicitly apply aria-describedby
|
975
|
+
} else if ( error.parents( "label[for='" + this.escapeCssMeta( elementID ) + "']" ).length === 0 ) {
|
976
|
+
errorID = error.attr( "id" );
|
977
|
+
|
978
|
+
// Respect existing non-error aria-describedby
|
979
|
+
if ( !describedBy ) {
|
980
|
+
describedBy = errorID;
|
981
|
+
} else if ( !describedBy.match( new RegExp( "\\b" + this.escapeCssMeta( errorID ) + "\\b" ) ) ) {
|
982
|
+
|
983
|
+
// Add to end of list if not already present
|
984
|
+
describedBy += " " + errorID;
|
985
|
+
}
|
986
|
+
$( element ).attr( "aria-describedby", describedBy );
|
987
|
+
|
988
|
+
// If this element is grouped, then assign to all elements in the same group
|
989
|
+
group = this.groups[ element.name ];
|
990
|
+
if ( group ) {
|
991
|
+
v = this;
|
992
|
+
$.each( v.groups, function( name, testgroup ) {
|
993
|
+
if ( testgroup === group ) {
|
994
|
+
$( "[name='" + v.escapeCssMeta( name ) + "']", v.currentForm )
|
995
|
+
.attr( "aria-describedby", error.attr( "id" ) );
|
996
|
+
}
|
997
|
+
} );
|
998
|
+
}
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
if ( !message && this.settings.success ) {
|
1002
|
+
error.text( "" );
|
1003
|
+
if ( typeof this.settings.success === "string" ) {
|
1004
|
+
error.addClass( this.settings.success );
|
1005
|
+
} else {
|
1006
|
+
this.settings.success( error, element );
|
1007
|
+
}
|
1008
|
+
}
|
1009
|
+
this.toShow = this.toShow.add( error );
|
1010
|
+
},
|
1011
|
+
|
1012
|
+
errorsFor: function( element ) {
|
1013
|
+
var name = this.escapeCssMeta( this.idOrName( element ) ),
|
1014
|
+
describer = $( element ).attr( "aria-describedby" ),
|
1015
|
+
selector = "label[for='" + name + "'], label[for='" + name + "'] *";
|
1016
|
+
|
1017
|
+
// 'aria-describedby' should directly reference the error element
|
1018
|
+
if ( describer ) {
|
1019
|
+
selector = selector + ", #" + this.escapeCssMeta( describer )
|
1020
|
+
.replace( /\s+/g, ", #" );
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
return this
|
1024
|
+
.errors()
|
1025
|
+
.filter( selector );
|
1026
|
+
},
|
1027
|
+
|
1028
|
+
// See https://api.jquery.com/category/selectors/, for CSS
|
1029
|
+
// meta-characters that should be escaped in order to be used with JQuery
|
1030
|
+
// as a literal part of a name/id or any selector.
|
1031
|
+
escapeCssMeta: function( string ) {
|
1032
|
+
return string.replace( /([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g, "\\$1" );
|
1033
|
+
},
|
1034
|
+
|
1035
|
+
idOrName: function( element ) {
|
1036
|
+
return this.groups[ element.name ] || ( this.checkable( element ) ? element.name : element.id || element.name );
|
1037
|
+
},
|
1038
|
+
|
1039
|
+
validationTargetFor: function( element ) {
|
1040
|
+
|
1041
|
+
// If radio/checkbox, validate first element in group instead
|
1042
|
+
if ( this.checkable( element ) ) {
|
1043
|
+
element = this.findByName( element.name );
|
1044
|
+
}
|
1045
|
+
|
1046
|
+
// Always apply ignore filter
|
1047
|
+
return $( element ).not( this.settings.ignore )[ 0 ];
|
1048
|
+
},
|
1049
|
+
|
1050
|
+
checkable: function( element ) {
|
1051
|
+
return ( /radio|checkbox/i ).test( element.type );
|
1052
|
+
},
|
1053
|
+
|
1054
|
+
findByName: function( name ) {
|
1055
|
+
return $( this.currentForm ).find( "[name='" + this.escapeCssMeta( name ) + "']" );
|
1056
|
+
},
|
1057
|
+
|
1058
|
+
getLength: function( value, element ) {
|
1059
|
+
switch ( element.nodeName.toLowerCase() ) {
|
1060
|
+
case "select":
|
1061
|
+
return $( "option:selected", element ).length;
|
1062
|
+
case "input":
|
1063
|
+
if ( this.checkable( element ) ) {
|
1064
|
+
return this.findByName( element.name ).filter( ":checked" ).length;
|
1065
|
+
}
|
1066
|
+
}
|
1067
|
+
return value.length;
|
1068
|
+
},
|
1069
|
+
|
1070
|
+
depend: function( param, element ) {
|
1071
|
+
return this.dependTypes[ typeof param ] ? this.dependTypes[ typeof param ]( param, element ) : true;
|
1072
|
+
},
|
1073
|
+
|
1074
|
+
dependTypes: {
|
1075
|
+
"boolean": function( param ) {
|
1076
|
+
return param;
|
1077
|
+
},
|
1078
|
+
"string": function( param, element ) {
|
1079
|
+
return !!$( param, element.form ).length;
|
1080
|
+
},
|
1081
|
+
"function": function( param, element ) {
|
1082
|
+
return param( element );
|
1083
|
+
}
|
1084
|
+
},
|
1085
|
+
|
1086
|
+
optional: function( element ) {
|
1087
|
+
var val = this.elementValue( element );
|
1088
|
+
return !$.validator.methods.required.call( this, val, element ) && "dependency-mismatch";
|
1089
|
+
},
|
1090
|
+
|
1091
|
+
startRequest: function( element ) {
|
1092
|
+
if ( !this.pending[ element.name ] ) {
|
1093
|
+
this.pendingRequest++;
|
1094
|
+
$( element ).addClass( this.settings.pendingClass );
|
1095
|
+
this.pending[ element.name ] = true;
|
1096
|
+
}
|
1097
|
+
},
|
1098
|
+
|
1099
|
+
stopRequest: function( element, valid ) {
|
1100
|
+
this.pendingRequest--;
|
1101
|
+
|
1102
|
+
// Sometimes synchronization fails, make sure pendingRequest is never < 0
|
1103
|
+
if ( this.pendingRequest < 0 ) {
|
1104
|
+
this.pendingRequest = 0;
|
1105
|
+
}
|
1106
|
+
delete this.pending[ element.name ];
|
1107
|
+
$( element ).removeClass( this.settings.pendingClass );
|
1108
|
+
if ( valid && this.pendingRequest === 0 && this.formSubmitted && this.form() ) {
|
1109
|
+
$( this.currentForm ).submit();
|
1110
|
+
|
1111
|
+
// Remove the hidden input that was used as a replacement for the
|
1112
|
+
// missing submit button. The hidden input is added by `handle()`
|
1113
|
+
// to ensure that the value of the used submit button is passed on
|
1114
|
+
// for scripted submits triggered by this method
|
1115
|
+
if ( this.submitButton ) {
|
1116
|
+
$( "input:hidden[name='" + this.submitButton.name + "']", this.currentForm ).remove();
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
this.formSubmitted = false;
|
1120
|
+
} else if ( !valid && this.pendingRequest === 0 && this.formSubmitted ) {
|
1121
|
+
$( this.currentForm ).triggerHandler( "invalid-form", [ this ] );
|
1122
|
+
this.formSubmitted = false;
|
1123
|
+
}
|
1124
|
+
},
|
1125
|
+
|
1126
|
+
previousValue: function( element, method ) {
|
1127
|
+
method = typeof method === "string" && method || "remote";
|
1128
|
+
|
1129
|
+
return $.data( element, "previousValue" ) || $.data( element, "previousValue", {
|
1130
|
+
old: null,
|
1131
|
+
valid: true,
|
1132
|
+
message: this.defaultMessage( element, { method: method } )
|
1133
|
+
} );
|
1134
|
+
},
|
1135
|
+
|
1136
|
+
// Cleans up all forms and elements, removes validator-specific events
|
1137
|
+
destroy: function() {
|
1138
|
+
this.resetForm();
|
1139
|
+
|
1140
|
+
$( this.currentForm )
|
1141
|
+
.off( ".validate" )
|
1142
|
+
.removeData( "validator" )
|
1143
|
+
.find( ".validate-equalTo-blur" )
|
1144
|
+
.off( ".validate-equalTo" )
|
1145
|
+
.removeClass( "validate-equalTo-blur" );
|
1146
|
+
}
|
1147
|
+
|
1148
|
+
},
|
1149
|
+
|
1150
|
+
classRuleSettings: {
|
1151
|
+
required: { required: true },
|
1152
|
+
email: { email: true },
|
1153
|
+
url: { url: true },
|
1154
|
+
date: { date: true },
|
1155
|
+
dateISO: { dateISO: true },
|
1156
|
+
number: { number: true },
|
1157
|
+
digits: { digits: true },
|
1158
|
+
creditcard: { creditcard: true }
|
1159
|
+
},
|
1160
|
+
|
1161
|
+
addClassRules: function( className, rules ) {
|
1162
|
+
if ( className.constructor === String ) {
|
1163
|
+
this.classRuleSettings[ className ] = rules;
|
1164
|
+
} else {
|
1165
|
+
$.extend( this.classRuleSettings, className );
|
1166
|
+
}
|
1167
|
+
},
|
1168
|
+
|
1169
|
+
classRules: function( element ) {
|
1170
|
+
var rules = {},
|
1171
|
+
classes = $( element ).attr( "class" );
|
1172
|
+
|
1173
|
+
if ( classes ) {
|
1174
|
+
$.each( classes.split( " " ), function() {
|
1175
|
+
if ( this in $.validator.classRuleSettings ) {
|
1176
|
+
$.extend( rules, $.validator.classRuleSettings[ this ] );
|
1177
|
+
}
|
1178
|
+
} );
|
1179
|
+
}
|
1180
|
+
return rules;
|
1181
|
+
},
|
1182
|
+
|
1183
|
+
normalizeAttributeRule: function( rules, type, method, value ) {
|
1184
|
+
|
1185
|
+
// Convert the value to a number for number inputs, and for text for backwards compability
|
1186
|
+
// allows type="date" and others to be compared as strings
|
1187
|
+
if ( /min|max|step/.test( method ) && ( type === null || /number|range|text/.test( type ) ) ) {
|
1188
|
+
value = Number( value );
|
1189
|
+
|
1190
|
+
// Support Opera Mini, which returns NaN for undefined minlength
|
1191
|
+
if ( isNaN( value ) ) {
|
1192
|
+
value = undefined;
|
1193
|
+
}
|
1194
|
+
}
|
1195
|
+
|
1196
|
+
if ( value || value === 0 ) {
|
1197
|
+
rules[ method ] = value;
|
1198
|
+
} else if ( type === method && type !== "range" ) {
|
1199
|
+
|
1200
|
+
// Exception: the jquery validate 'range' method
|
1201
|
+
// does not test for the html5 'range' type
|
1202
|
+
rules[ method ] = true;
|
1203
|
+
}
|
1204
|
+
},
|
1205
|
+
|
1206
|
+
attributeRules: function( element ) {
|
1207
|
+
var rules = {},
|
1208
|
+
$element = $( element ),
|
1209
|
+
type = element.getAttribute( "type" ),
|
1210
|
+
method, value;
|
1211
|
+
|
1212
|
+
for ( method in $.validator.methods ) {
|
1213
|
+
|
1214
|
+
// Support for <input required> in both html5 and older browsers
|
1215
|
+
if ( method === "required" ) {
|
1216
|
+
value = element.getAttribute( method );
|
1217
|
+
|
1218
|
+
// Some browsers return an empty string for the required attribute
|
1219
|
+
// and non-HTML5 browsers might have required="" markup
|
1220
|
+
if ( value === "" ) {
|
1221
|
+
value = true;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
// Force non-HTML5 browsers to return bool
|
1225
|
+
value = !!value;
|
1226
|
+
} else {
|
1227
|
+
value = $element.attr( method );
|
1228
|
+
}
|
1229
|
+
|
1230
|
+
this.normalizeAttributeRule( rules, type, method, value );
|
1231
|
+
}
|
1232
|
+
|
1233
|
+
// 'maxlength' may be returned as -1, 2147483647 ( IE ) and 524288 ( safari ) for text inputs
|
1234
|
+
if ( rules.maxlength && /-1|2147483647|524288/.test( rules.maxlength ) ) {
|
1235
|
+
delete rules.maxlength;
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
return rules;
|
1239
|
+
},
|
1240
|
+
|
1241
|
+
dataRules: function( element ) {
|
1242
|
+
var rules = {},
|
1243
|
+
$element = $( element ),
|
1244
|
+
type = element.getAttribute( "type" ),
|
1245
|
+
method, value;
|
1246
|
+
|
1247
|
+
for ( method in $.validator.methods ) {
|
1248
|
+
value = $element.data( "rule" + method.charAt( 0 ).toUpperCase() + method.substring( 1 ).toLowerCase() );
|
1249
|
+
this.normalizeAttributeRule( rules, type, method, value );
|
1250
|
+
}
|
1251
|
+
return rules;
|
1252
|
+
},
|
1253
|
+
|
1254
|
+
staticRules: function( element ) {
|
1255
|
+
var rules = {},
|
1256
|
+
validator = $.data( element.form, "validator" );
|
1257
|
+
|
1258
|
+
if ( validator.settings.rules ) {
|
1259
|
+
rules = $.validator.normalizeRule( validator.settings.rules[ element.name ] ) || {};
|
1260
|
+
}
|
1261
|
+
return rules;
|
1262
|
+
},
|
1263
|
+
|
1264
|
+
normalizeRules: function( rules, element ) {
|
1265
|
+
|
1266
|
+
// Handle dependency check
|
1267
|
+
$.each( rules, function( prop, val ) {
|
1268
|
+
|
1269
|
+
// Ignore rule when param is explicitly false, eg. required:false
|
1270
|
+
if ( val === false ) {
|
1271
|
+
delete rules[ prop ];
|
1272
|
+
return;
|
1273
|
+
}
|
1274
|
+
if ( val.param || val.depends ) {
|
1275
|
+
var keepRule = true;
|
1276
|
+
switch ( typeof val.depends ) {
|
1277
|
+
case "string":
|
1278
|
+
keepRule = !!$( val.depends, element.form ).length;
|
1279
|
+
break;
|
1280
|
+
case "function":
|
1281
|
+
keepRule = val.depends.call( element, element );
|
1282
|
+
break;
|
1283
|
+
}
|
1284
|
+
if ( keepRule ) {
|
1285
|
+
rules[ prop ] = val.param !== undefined ? val.param : true;
|
1286
|
+
} else {
|
1287
|
+
$.data( element.form, "validator" ).resetElements( $( element ) );
|
1288
|
+
delete rules[ prop ];
|
1289
|
+
}
|
1290
|
+
}
|
1291
|
+
} );
|
1292
|
+
|
1293
|
+
// Evaluate parameters
|
1294
|
+
$.each( rules, function( rule, parameter ) {
|
1295
|
+
rules[ rule ] = $.isFunction( parameter ) && rule !== "normalizer" ? parameter( element ) : parameter;
|
1296
|
+
} );
|
1297
|
+
|
1298
|
+
// Clean number parameters
|
1299
|
+
$.each( [ "minlength", "maxlength" ], function() {
|
1300
|
+
if ( rules[ this ] ) {
|
1301
|
+
rules[ this ] = Number( rules[ this ] );
|
1302
|
+
}
|
1303
|
+
} );
|
1304
|
+
$.each( [ "rangelength", "range" ], function() {
|
1305
|
+
var parts;
|
1306
|
+
if ( rules[ this ] ) {
|
1307
|
+
if ( $.isArray( rules[ this ] ) ) {
|
1308
|
+
rules[ this ] = [ Number( rules[ this ][ 0 ] ), Number( rules[ this ][ 1 ] ) ];
|
1309
|
+
} else if ( typeof rules[ this ] === "string" ) {
|
1310
|
+
parts = rules[ this ].replace( /[\[\]]/g, "" ).split( /[\s,]+/ );
|
1311
|
+
rules[ this ] = [ Number( parts[ 0 ] ), Number( parts[ 1 ] ) ];
|
1312
|
+
}
|
1313
|
+
}
|
1314
|
+
} );
|
1315
|
+
|
1316
|
+
if ( $.validator.autoCreateRanges ) {
|
1317
|
+
|
1318
|
+
// Auto-create ranges
|
1319
|
+
if ( rules.min != null && rules.max != null ) {
|
1320
|
+
rules.range = [ rules.min, rules.max ];
|
1321
|
+
delete rules.min;
|
1322
|
+
delete rules.max;
|
1323
|
+
}
|
1324
|
+
if ( rules.minlength != null && rules.maxlength != null ) {
|
1325
|
+
rules.rangelength = [ rules.minlength, rules.maxlength ];
|
1326
|
+
delete rules.minlength;
|
1327
|
+
delete rules.maxlength;
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
return rules;
|
1332
|
+
},
|
1333
|
+
|
1334
|
+
// Converts a simple string to a {string: true} rule, e.g., "required" to {required:true}
|
1335
|
+
normalizeRule: function( data ) {
|
1336
|
+
if ( typeof data === "string" ) {
|
1337
|
+
var transformed = {};
|
1338
|
+
$.each( data.split( /\s/ ), function() {
|
1339
|
+
transformed[ this ] = true;
|
1340
|
+
} );
|
1341
|
+
data = transformed;
|
1342
|
+
}
|
1343
|
+
return data;
|
1344
|
+
},
|
1345
|
+
|
1346
|
+
// https://jqueryvalidation.org/jQuery.validator.addMethod/
|
1347
|
+
addMethod: function( name, method, message ) {
|
1348
|
+
$.validator.methods[ name ] = method;
|
1349
|
+
$.validator.messages[ name ] = message !== undefined ? message : $.validator.messages[ name ];
|
1350
|
+
if ( method.length < 3 ) {
|
1351
|
+
$.validator.addClassRules( name, $.validator.normalizeRule( name ) );
|
1352
|
+
}
|
1353
|
+
},
|
1354
|
+
|
1355
|
+
// https://jqueryvalidation.org/jQuery.validator.methods/
|
1356
|
+
methods: {
|
1357
|
+
|
1358
|
+
// https://jqueryvalidation.org/required-method/
|
1359
|
+
required: function( value, element, param ) {
|
1360
|
+
|
1361
|
+
// Check if dependency is met
|
1362
|
+
if ( !this.depend( param, element ) ) {
|
1363
|
+
return "dependency-mismatch";
|
1364
|
+
}
|
1365
|
+
if ( element.nodeName.toLowerCase() === "select" ) {
|
1366
|
+
|
1367
|
+
// Could be an array for select-multiple or a string, both are fine this way
|
1368
|
+
var val = $( element ).val();
|
1369
|
+
return val && val.length > 0;
|
1370
|
+
}
|
1371
|
+
if ( this.checkable( element ) ) {
|
1372
|
+
return this.getLength( value, element ) > 0;
|
1373
|
+
}
|
1374
|
+
return value.length > 0;
|
1375
|
+
},
|
1376
|
+
|
1377
|
+
// https://jqueryvalidation.org/email-method/
|
1378
|
+
email: function( value, element ) {
|
1379
|
+
|
1380
|
+
// From https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address
|
1381
|
+
// Retrieved 2014-01-14
|
1382
|
+
// If you have a problem with this implementation, report a bug against the above spec
|
1383
|
+
// Or use custom methods to implement your own email validation
|
1384
|
+
return this.optional( element ) || /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test( value );
|
1385
|
+
},
|
1386
|
+
|
1387
|
+
// https://jqueryvalidation.org/url-method/
|
1388
|
+
url: function( value, element ) {
|
1389
|
+
|
1390
|
+
// Copyright (c) 2010-2013 Diego Perini, MIT licensed
|
1391
|
+
// https://gist.github.com/dperini/729294
|
1392
|
+
// see also https://mathiasbynens.be/demo/url-regex
|
1393
|
+
// modified to allow protocol-relative URLs
|
1394
|
+
return this.optional( element ) || /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test( value );
|
1395
|
+
},
|
1396
|
+
|
1397
|
+
// https://jqueryvalidation.org/date-method/
|
1398
|
+
date: function( value, element ) {
|
1399
|
+
return this.optional( element ) || !/Invalid|NaN/.test( new Date( value ).toString() );
|
1400
|
+
},
|
1401
|
+
|
1402
|
+
// https://jqueryvalidation.org/dateISO-method/
|
1403
|
+
dateISO: function( value, element ) {
|
1404
|
+
return this.optional( element ) || /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test( value );
|
1405
|
+
},
|
1406
|
+
|
1407
|
+
// https://jqueryvalidation.org/number-method/
|
1408
|
+
number: function( value, element ) {
|
1409
|
+
return this.optional( element ) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test( value );
|
1410
|
+
},
|
1411
|
+
|
1412
|
+
// https://jqueryvalidation.org/digits-method/
|
1413
|
+
digits: function( value, element ) {
|
1414
|
+
return this.optional( element ) || /^\d+$/.test( value );
|
1415
|
+
},
|
1416
|
+
|
1417
|
+
// https://jqueryvalidation.org/minlength-method/
|
1418
|
+
minlength: function( value, element, param ) {
|
1419
|
+
var length = $.isArray( value ) ? value.length : this.getLength( value, element );
|
1420
|
+
return this.optional( element ) || length >= param;
|
1421
|
+
},
|
1422
|
+
|
1423
|
+
// https://jqueryvalidation.org/maxlength-method/
|
1424
|
+
maxlength: function( value, element, param ) {
|
1425
|
+
var length = $.isArray( value ) ? value.length : this.getLength( value, element );
|
1426
|
+
return this.optional( element ) || length <= param;
|
1427
|
+
},
|
1428
|
+
|
1429
|
+
// https://jqueryvalidation.org/rangelength-method/
|
1430
|
+
rangelength: function( value, element, param ) {
|
1431
|
+
var length = $.isArray( value ) ? value.length : this.getLength( value, element );
|
1432
|
+
return this.optional( element ) || ( length >= param[ 0 ] && length <= param[ 1 ] );
|
1433
|
+
},
|
1434
|
+
|
1435
|
+
// https://jqueryvalidation.org/min-method/
|
1436
|
+
min: function( value, element, param ) {
|
1437
|
+
return this.optional( element ) || value >= param;
|
1438
|
+
},
|
1439
|
+
|
1440
|
+
// https://jqueryvalidation.org/max-method/
|
1441
|
+
max: function( value, element, param ) {
|
1442
|
+
return this.optional( element ) || value <= param;
|
1443
|
+
},
|
1444
|
+
|
1445
|
+
// https://jqueryvalidation.org/range-method/
|
1446
|
+
range: function( value, element, param ) {
|
1447
|
+
return this.optional( element ) || ( value >= param[ 0 ] && value <= param[ 1 ] );
|
1448
|
+
},
|
1449
|
+
|
1450
|
+
// https://jqueryvalidation.org/step-method/
|
1451
|
+
step: function( value, element, param ) {
|
1452
|
+
var type = $( element ).attr( "type" ),
|
1453
|
+
errorMessage = "Step attribute on input type " + type + " is not supported.",
|
1454
|
+
supportedTypes = [ "text", "number", "range" ],
|
1455
|
+
re = new RegExp( "\\b" + type + "\\b" ),
|
1456
|
+
notSupported = type && !re.test( supportedTypes.join() ),
|
1457
|
+
decimalPlaces = function( num ) {
|
1458
|
+
var match = ( "" + num ).match( /(?:\.(\d+))?$/ );
|
1459
|
+
if ( !match ) {
|
1460
|
+
return 0;
|
1461
|
+
}
|
1462
|
+
|
1463
|
+
// Number of digits right of decimal point.
|
1464
|
+
return match[ 1 ] ? match[ 1 ].length : 0;
|
1465
|
+
},
|
1466
|
+
toInt = function( num ) {
|
1467
|
+
return Math.round( num * Math.pow( 10, decimals ) );
|
1468
|
+
},
|
1469
|
+
valid = true,
|
1470
|
+
decimals;
|
1471
|
+
|
1472
|
+
// Works only for text, number and range input types
|
1473
|
+
// TODO find a way to support input types date, datetime, datetime-local, month, time and week
|
1474
|
+
if ( notSupported ) {
|
1475
|
+
throw new Error( errorMessage );
|
1476
|
+
}
|
1477
|
+
|
1478
|
+
decimals = decimalPlaces( param );
|
1479
|
+
|
1480
|
+
// Value can't have too many decimals
|
1481
|
+
if ( decimalPlaces( value ) > decimals || toInt( value ) % toInt( param ) !== 0 ) {
|
1482
|
+
valid = false;
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
return this.optional( element ) || valid;
|
1486
|
+
},
|
1487
|
+
|
1488
|
+
// https://jqueryvalidation.org/equalTo-method/
|
1489
|
+
equalTo: function( value, element, param ) {
|
1490
|
+
|
1491
|
+
// Bind to the blur event of the target in order to revalidate whenever the target field is updated
|
1492
|
+
var target = $( param );
|
1493
|
+
if ( this.settings.onfocusout && target.not( ".validate-equalTo-blur" ).length ) {
|
1494
|
+
target.addClass( "validate-equalTo-blur" ).on( "blur.validate-equalTo", function() {
|
1495
|
+
$( element ).valid();
|
1496
|
+
} );
|
1497
|
+
}
|
1498
|
+
return value === target.val();
|
1499
|
+
},
|
1500
|
+
|
1501
|
+
// https://jqueryvalidation.org/remote-method/
|
1502
|
+
remote: function( value, element, param, method ) {
|
1503
|
+
if ( this.optional( element ) ) {
|
1504
|
+
return "dependency-mismatch";
|
1505
|
+
}
|
1506
|
+
|
1507
|
+
method = typeof method === "string" && method || "remote";
|
1508
|
+
|
1509
|
+
var previous = this.previousValue( element, method ),
|
1510
|
+
validator, data, optionDataString;
|
1511
|
+
|
1512
|
+
if ( !this.settings.messages[ element.name ] ) {
|
1513
|
+
this.settings.messages[ element.name ] = {};
|
1514
|
+
}
|
1515
|
+
previous.originalMessage = previous.originalMessage || this.settings.messages[ element.name ][ method ];
|
1516
|
+
this.settings.messages[ element.name ][ method ] = previous.message;
|
1517
|
+
|
1518
|
+
param = typeof param === "string" && { url: param } || param;
|
1519
|
+
optionDataString = $.param( $.extend( { data: value }, param.data ) );
|
1520
|
+
if ( previous.old === optionDataString ) {
|
1521
|
+
return previous.valid;
|
1522
|
+
}
|
1523
|
+
|
1524
|
+
previous.old = optionDataString;
|
1525
|
+
validator = this;
|
1526
|
+
this.startRequest( element );
|
1527
|
+
data = {};
|
1528
|
+
data[ element.name ] = value;
|
1529
|
+
$.ajax( $.extend( true, {
|
1530
|
+
mode: "abort",
|
1531
|
+
port: "validate" + element.name,
|
1532
|
+
dataType: "json",
|
1533
|
+
data: data,
|
1534
|
+
context: validator.currentForm,
|
1535
|
+
success: function( response ) {
|
1536
|
+
var valid = response === true || response === "true",
|
1537
|
+
errors, message, submitted;
|
1538
|
+
|
1539
|
+
validator.settings.messages[ element.name ][ method ] = previous.originalMessage;
|
1540
|
+
if ( valid ) {
|
1541
|
+
submitted = validator.formSubmitted;
|
1542
|
+
validator.resetInternals();
|
1543
|
+
validator.toHide = validator.errorsFor( element );
|
1544
|
+
validator.formSubmitted = submitted;
|
1545
|
+
validator.successList.push( element );
|
1546
|
+
validator.invalid[ element.name ] = false;
|
1547
|
+
validator.showErrors();
|
1548
|
+
} else {
|
1549
|
+
errors = {};
|
1550
|
+
message = response || validator.defaultMessage( element, { method: method, parameters: value } );
|
1551
|
+
errors[ element.name ] = previous.message = message;
|
1552
|
+
validator.invalid[ element.name ] = true;
|
1553
|
+
validator.showErrors( errors );
|
1554
|
+
}
|
1555
|
+
previous.valid = valid;
|
1556
|
+
validator.stopRequest( element, valid );
|
1557
|
+
}
|
1558
|
+
}, param ) );
|
1559
|
+
return "pending";
|
1560
|
+
}
|
1561
|
+
}
|
1562
|
+
|
1563
|
+
} );
|
1564
|
+
|
1565
|
+
// Ajax mode: abort
|
1566
|
+
// usage: $.ajax({ mode: "abort"[, port: "uniqueport"]});
|
1567
|
+
// if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort()
|
1568
|
+
|
1569
|
+
var pendingRequests = {},
|
1570
|
+
ajax;
|
1571
|
+
|
1572
|
+
// Use a prefilter if available (1.5+)
|
1573
|
+
if ( $.ajaxPrefilter ) {
|
1574
|
+
$.ajaxPrefilter( function( settings, _, xhr ) {
|
1575
|
+
var port = settings.port;
|
1576
|
+
if ( settings.mode === "abort" ) {
|
1577
|
+
if ( pendingRequests[ port ] ) {
|
1578
|
+
pendingRequests[ port ].abort();
|
1579
|
+
}
|
1580
|
+
pendingRequests[ port ] = xhr;
|
1581
|
+
}
|
1582
|
+
} );
|
1583
|
+
} else {
|
1584
|
+
|
1585
|
+
// Proxy ajax
|
1586
|
+
ajax = $.ajax;
|
1587
|
+
$.ajax = function( settings ) {
|
1588
|
+
var mode = ( "mode" in settings ? settings : $.ajaxSettings ).mode,
|
1589
|
+
port = ( "port" in settings ? settings : $.ajaxSettings ).port;
|
1590
|
+
if ( mode === "abort" ) {
|
1591
|
+
if ( pendingRequests[ port ] ) {
|
1592
|
+
pendingRequests[ port ].abort();
|
1593
|
+
}
|
1594
|
+
pendingRequests[ port ] = ajax.apply( this, arguments );
|
1595
|
+
return pendingRequests[ port ];
|
1596
|
+
}
|
1597
|
+
return ajax.apply( this, arguments );
|
1598
|
+
};
|
1599
|
+
}
|
1600
|
+
return $;
|
1601
|
+
}));
|