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,1540 @@
|
|
1
|
+
/**!
|
2
|
+
* Sortable
|
3
|
+
* @author RubaXa <trash@rubaxa.org>
|
4
|
+
* @license MIT
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function sortableModule(factory) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
if (typeof define === "function" && define.amd) {
|
11
|
+
define(factory);
|
12
|
+
}
|
13
|
+
else if (typeof module != "undefined" && typeof module.exports != "undefined") {
|
14
|
+
module.exports = factory();
|
15
|
+
}
|
16
|
+
else {
|
17
|
+
/* jshint sub:true */
|
18
|
+
window["Sortable"] = factory();
|
19
|
+
}
|
20
|
+
})(function sortableFactory() {
|
21
|
+
"use strict";
|
22
|
+
|
23
|
+
if (typeof window === "undefined" || !window.document) {
|
24
|
+
return function sortableError() {
|
25
|
+
throw new Error("Sortable.js requires a window with a document");
|
26
|
+
};
|
27
|
+
}
|
28
|
+
|
29
|
+
var dragEl,
|
30
|
+
parentEl,
|
31
|
+
ghostEl,
|
32
|
+
cloneEl,
|
33
|
+
rootEl,
|
34
|
+
nextEl,
|
35
|
+
lastDownEl,
|
36
|
+
|
37
|
+
scrollEl,
|
38
|
+
scrollParentEl,
|
39
|
+
scrollCustomFn,
|
40
|
+
|
41
|
+
lastEl,
|
42
|
+
lastCSS,
|
43
|
+
lastParentCSS,
|
44
|
+
|
45
|
+
oldIndex,
|
46
|
+
newIndex,
|
47
|
+
|
48
|
+
activeGroup,
|
49
|
+
putSortable,
|
50
|
+
|
51
|
+
autoScroll = {},
|
52
|
+
|
53
|
+
tapEvt,
|
54
|
+
touchEvt,
|
55
|
+
|
56
|
+
moved,
|
57
|
+
|
58
|
+
/** @const */
|
59
|
+
R_SPACE = /\s+/g,
|
60
|
+
R_FLOAT = /left|right|inline/,
|
61
|
+
|
62
|
+
expando = 'Sortable' + (new Date).getTime(),
|
63
|
+
|
64
|
+
win = window,
|
65
|
+
document = win.document,
|
66
|
+
parseInt = win.parseInt,
|
67
|
+
setTimeout = win.setTimeout,
|
68
|
+
|
69
|
+
$ = win.jQuery || win.Zepto,
|
70
|
+
Polymer = win.Polymer,
|
71
|
+
|
72
|
+
captureMode = false,
|
73
|
+
passiveMode = false,
|
74
|
+
|
75
|
+
supportDraggable = ('draggable' in document.createElement('div')),
|
76
|
+
supportCssPointerEvents = (function (el) {
|
77
|
+
// false when IE11
|
78
|
+
if (!!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)) {
|
79
|
+
return false;
|
80
|
+
}
|
81
|
+
el = document.createElement('x');
|
82
|
+
el.style.cssText = 'pointer-events:auto';
|
83
|
+
return el.style.pointerEvents === 'auto';
|
84
|
+
})(),
|
85
|
+
|
86
|
+
_silent = false,
|
87
|
+
|
88
|
+
abs = Math.abs,
|
89
|
+
min = Math.min,
|
90
|
+
|
91
|
+
savedInputChecked = [],
|
92
|
+
touchDragOverListeners = [],
|
93
|
+
|
94
|
+
_autoScroll = _throttle(function (/**Event*/evt, /**Object*/options, /**HTMLElement*/rootEl) {
|
95
|
+
// Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521
|
96
|
+
if (rootEl && options.scroll) {
|
97
|
+
var _this = rootEl[expando],
|
98
|
+
el,
|
99
|
+
rect,
|
100
|
+
sens = options.scrollSensitivity,
|
101
|
+
speed = options.scrollSpeed,
|
102
|
+
|
103
|
+
x = evt.clientX,
|
104
|
+
y = evt.clientY,
|
105
|
+
|
106
|
+
winWidth = window.innerWidth,
|
107
|
+
winHeight = window.innerHeight,
|
108
|
+
|
109
|
+
vx,
|
110
|
+
vy,
|
111
|
+
|
112
|
+
scrollOffsetX,
|
113
|
+
scrollOffsetY
|
114
|
+
;
|
115
|
+
|
116
|
+
// Delect scrollEl
|
117
|
+
if (scrollParentEl !== rootEl) {
|
118
|
+
scrollEl = options.scroll;
|
119
|
+
scrollParentEl = rootEl;
|
120
|
+
scrollCustomFn = options.scrollFn;
|
121
|
+
|
122
|
+
if (scrollEl === true) {
|
123
|
+
scrollEl = rootEl;
|
124
|
+
|
125
|
+
do {
|
126
|
+
if ((scrollEl.offsetWidth < scrollEl.scrollWidth) ||
|
127
|
+
(scrollEl.offsetHeight < scrollEl.scrollHeight)
|
128
|
+
) {
|
129
|
+
break;
|
130
|
+
}
|
131
|
+
/* jshint boss:true */
|
132
|
+
} while (scrollEl = scrollEl.parentNode);
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
if (scrollEl) {
|
137
|
+
el = scrollEl;
|
138
|
+
rect = scrollEl.getBoundingClientRect();
|
139
|
+
vx = (abs(rect.right - x) <= sens) - (abs(rect.left - x) <= sens);
|
140
|
+
vy = (abs(rect.bottom - y) <= sens) - (abs(rect.top - y) <= sens);
|
141
|
+
}
|
142
|
+
|
143
|
+
|
144
|
+
if (!(vx || vy)) {
|
145
|
+
vx = (winWidth - x <= sens) - (x <= sens);
|
146
|
+
vy = (winHeight - y <= sens) - (y <= sens);
|
147
|
+
|
148
|
+
/* jshint expr:true */
|
149
|
+
(vx || vy) && (el = win);
|
150
|
+
}
|
151
|
+
|
152
|
+
|
153
|
+
if (autoScroll.vx !== vx || autoScroll.vy !== vy || autoScroll.el !== el) {
|
154
|
+
autoScroll.el = el;
|
155
|
+
autoScroll.vx = vx;
|
156
|
+
autoScroll.vy = vy;
|
157
|
+
|
158
|
+
clearInterval(autoScroll.pid);
|
159
|
+
|
160
|
+
if (el) {
|
161
|
+
autoScroll.pid = setInterval(function () {
|
162
|
+
scrollOffsetY = vy ? vy * speed : 0;
|
163
|
+
scrollOffsetX = vx ? vx * speed : 0;
|
164
|
+
|
165
|
+
if ('function' === typeof(scrollCustomFn)) {
|
166
|
+
return scrollCustomFn.call(_this, scrollOffsetX, scrollOffsetY, evt);
|
167
|
+
}
|
168
|
+
|
169
|
+
if (el === win) {
|
170
|
+
win.scrollTo(win.pageXOffset + scrollOffsetX, win.pageYOffset + scrollOffsetY);
|
171
|
+
} else {
|
172
|
+
el.scrollTop += scrollOffsetY;
|
173
|
+
el.scrollLeft += scrollOffsetX;
|
174
|
+
}
|
175
|
+
}, 24);
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}, 30),
|
180
|
+
|
181
|
+
_prepareGroup = function (options) {
|
182
|
+
function toFn(value, pull) {
|
183
|
+
if (value === void 0 || value === true) {
|
184
|
+
value = group.name;
|
185
|
+
}
|
186
|
+
|
187
|
+
if (typeof value === 'function') {
|
188
|
+
return value;
|
189
|
+
} else {
|
190
|
+
return function (to, from) {
|
191
|
+
var fromGroup = from.options.group.name;
|
192
|
+
|
193
|
+
return pull
|
194
|
+
? value
|
195
|
+
: value && (value.join
|
196
|
+
? value.indexOf(fromGroup) > -1
|
197
|
+
: (fromGroup == value)
|
198
|
+
);
|
199
|
+
};
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
var group = {};
|
204
|
+
var originalGroup = options.group;
|
205
|
+
|
206
|
+
if (!originalGroup || typeof originalGroup != 'object') {
|
207
|
+
originalGroup = {name: originalGroup};
|
208
|
+
}
|
209
|
+
|
210
|
+
group.name = originalGroup.name;
|
211
|
+
group.checkPull = toFn(originalGroup.pull, true);
|
212
|
+
group.checkPut = toFn(originalGroup.put);
|
213
|
+
group.revertClone = originalGroup.revertClone;
|
214
|
+
|
215
|
+
options.group = group;
|
216
|
+
}
|
217
|
+
;
|
218
|
+
|
219
|
+
// Detect support a passive mode
|
220
|
+
try {
|
221
|
+
window.addEventListener('test', null, Object.defineProperty({}, 'passive', {
|
222
|
+
get: function () {
|
223
|
+
// `false`, because everything starts to work incorrectly and instead of d'n'd,
|
224
|
+
// begins the page has scrolled.
|
225
|
+
passiveMode = false;
|
226
|
+
captureMode = {
|
227
|
+
capture: false,
|
228
|
+
passive: passiveMode
|
229
|
+
};
|
230
|
+
}
|
231
|
+
}));
|
232
|
+
} catch (err) {}
|
233
|
+
|
234
|
+
/**
|
235
|
+
* @class Sortable
|
236
|
+
* @param {HTMLElement} el
|
237
|
+
* @param {Object} [options]
|
238
|
+
*/
|
239
|
+
function Sortable(el, options) {
|
240
|
+
if (!(el && el.nodeType && el.nodeType === 1)) {
|
241
|
+
throw 'Sortable: `el` must be HTMLElement, and not ' + {}.toString.call(el);
|
242
|
+
}
|
243
|
+
|
244
|
+
this.el = el; // root element
|
245
|
+
this.options = options = _extend({}, options);
|
246
|
+
|
247
|
+
|
248
|
+
// Export instance
|
249
|
+
el[expando] = this;
|
250
|
+
|
251
|
+
// Default options
|
252
|
+
var defaults = {
|
253
|
+
group: Math.random(),
|
254
|
+
sort: true,
|
255
|
+
disabled: false,
|
256
|
+
store: null,
|
257
|
+
handle: null,
|
258
|
+
scroll: true,
|
259
|
+
scrollSensitivity: 30,
|
260
|
+
scrollSpeed: 10,
|
261
|
+
draggable: /[uo]l/i.test(el.nodeName) ? 'li' : '>*',
|
262
|
+
ghostClass: 'sortable-ghost',
|
263
|
+
chosenClass: 'sortable-chosen',
|
264
|
+
dragClass: 'sortable-drag',
|
265
|
+
ignore: 'a, img',
|
266
|
+
filter: null,
|
267
|
+
preventOnFilter: true,
|
268
|
+
animation: 0,
|
269
|
+
setData: function (dataTransfer, dragEl) {
|
270
|
+
dataTransfer.setData('Text', dragEl.textContent);
|
271
|
+
},
|
272
|
+
dropBubble: false,
|
273
|
+
dragoverBubble: false,
|
274
|
+
dataIdAttr: 'data-id',
|
275
|
+
delay: 0,
|
276
|
+
forceFallback: false,
|
277
|
+
fallbackClass: 'sortable-fallback',
|
278
|
+
fallbackOnBody: false,
|
279
|
+
fallbackTolerance: 0,
|
280
|
+
fallbackOffset: {x: 0, y: 0},
|
281
|
+
supportPointer: Sortable.supportPointer !== false
|
282
|
+
};
|
283
|
+
|
284
|
+
|
285
|
+
// Set default options
|
286
|
+
for (var name in defaults) {
|
287
|
+
!(name in options) && (options[name] = defaults[name]);
|
288
|
+
}
|
289
|
+
|
290
|
+
_prepareGroup(options);
|
291
|
+
|
292
|
+
// Bind all private methods
|
293
|
+
for (var fn in this) {
|
294
|
+
if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
|
295
|
+
this[fn] = this[fn].bind(this);
|
296
|
+
}
|
297
|
+
}
|
298
|
+
|
299
|
+
// Setup drag mode
|
300
|
+
this.nativeDraggable = options.forceFallback ? false : supportDraggable;
|
301
|
+
|
302
|
+
// Bind events
|
303
|
+
_on(el, 'mousedown', this._onTapStart);
|
304
|
+
_on(el, 'touchstart', this._onTapStart);
|
305
|
+
options.supportPointer && _on(el, 'pointerdown', this._onTapStart);
|
306
|
+
|
307
|
+
if (this.nativeDraggable) {
|
308
|
+
_on(el, 'dragover', this);
|
309
|
+
_on(el, 'dragenter', this);
|
310
|
+
}
|
311
|
+
|
312
|
+
touchDragOverListeners.push(this._onDragOver);
|
313
|
+
|
314
|
+
// Restore sorting
|
315
|
+
options.store && this.sort(options.store.get(this));
|
316
|
+
}
|
317
|
+
|
318
|
+
|
319
|
+
Sortable.prototype = /** @lends Sortable.prototype */ {
|
320
|
+
constructor: Sortable,
|
321
|
+
|
322
|
+
_onTapStart: function (/** Event|TouchEvent */evt) {
|
323
|
+
var _this = this,
|
324
|
+
el = this.el,
|
325
|
+
options = this.options,
|
326
|
+
preventOnFilter = options.preventOnFilter,
|
327
|
+
type = evt.type,
|
328
|
+
touch = evt.touches && evt.touches[0],
|
329
|
+
target = (touch || evt).target,
|
330
|
+
originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0]) || target,
|
331
|
+
filter = options.filter,
|
332
|
+
startIndex;
|
333
|
+
|
334
|
+
_saveInputCheckedState(el);
|
335
|
+
|
336
|
+
|
337
|
+
// Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
|
338
|
+
if (dragEl) {
|
339
|
+
return;
|
340
|
+
}
|
341
|
+
|
342
|
+
if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
|
343
|
+
return; // only left button or enabled
|
344
|
+
}
|
345
|
+
|
346
|
+
// cancel dnd if original target is content editable
|
347
|
+
if (originalTarget.isContentEditable) {
|
348
|
+
return;
|
349
|
+
}
|
350
|
+
|
351
|
+
target = _closest(target, options.draggable, el);
|
352
|
+
|
353
|
+
if (!target) {
|
354
|
+
return;
|
355
|
+
}
|
356
|
+
|
357
|
+
if (lastDownEl === target) {
|
358
|
+
// Ignoring duplicate `down`
|
359
|
+
return;
|
360
|
+
}
|
361
|
+
|
362
|
+
// Get the index of the dragged element within its parent
|
363
|
+
startIndex = _index(target, options.draggable);
|
364
|
+
|
365
|
+
// Check filter
|
366
|
+
if (typeof filter === 'function') {
|
367
|
+
if (filter.call(this, evt, target, this)) {
|
368
|
+
_dispatchEvent(_this, originalTarget, 'filter', target, el, el, startIndex);
|
369
|
+
preventOnFilter && evt.preventDefault();
|
370
|
+
return; // cancel dnd
|
371
|
+
}
|
372
|
+
}
|
373
|
+
else if (filter) {
|
374
|
+
filter = filter.split(',').some(function (criteria) {
|
375
|
+
criteria = _closest(originalTarget, criteria.trim(), el);
|
376
|
+
|
377
|
+
if (criteria) {
|
378
|
+
_dispatchEvent(_this, criteria, 'filter', target, el, el, startIndex);
|
379
|
+
return true;
|
380
|
+
}
|
381
|
+
});
|
382
|
+
|
383
|
+
if (filter) {
|
384
|
+
preventOnFilter && evt.preventDefault();
|
385
|
+
return; // cancel dnd
|
386
|
+
}
|
387
|
+
}
|
388
|
+
|
389
|
+
if (options.handle && !_closest(originalTarget, options.handle, el)) {
|
390
|
+
return;
|
391
|
+
}
|
392
|
+
|
393
|
+
// Prepare `dragstart`
|
394
|
+
this._prepareDragStart(evt, touch, target, startIndex);
|
395
|
+
},
|
396
|
+
|
397
|
+
_prepareDragStart: function (/** Event */evt, /** Touch */touch, /** HTMLElement */target, /** Number */startIndex) {
|
398
|
+
var _this = this,
|
399
|
+
el = _this.el,
|
400
|
+
options = _this.options,
|
401
|
+
ownerDocument = el.ownerDocument,
|
402
|
+
dragStartFn;
|
403
|
+
|
404
|
+
if (target && !dragEl && (target.parentNode === el)) {
|
405
|
+
tapEvt = evt;
|
406
|
+
|
407
|
+
rootEl = el;
|
408
|
+
dragEl = target;
|
409
|
+
parentEl = dragEl.parentNode;
|
410
|
+
nextEl = dragEl.nextSibling;
|
411
|
+
lastDownEl = target;
|
412
|
+
activeGroup = options.group;
|
413
|
+
oldIndex = startIndex;
|
414
|
+
|
415
|
+
this._lastX = (touch || evt).clientX;
|
416
|
+
this._lastY = (touch || evt).clientY;
|
417
|
+
|
418
|
+
dragEl.style['will-change'] = 'all';
|
419
|
+
|
420
|
+
dragStartFn = function () {
|
421
|
+
// Delayed drag has been triggered
|
422
|
+
// we can re-enable the events: touchmove/mousemove
|
423
|
+
_this._disableDelayedDrag();
|
424
|
+
|
425
|
+
// Make the element draggable
|
426
|
+
dragEl.draggable = _this.nativeDraggable;
|
427
|
+
|
428
|
+
// Chosen item
|
429
|
+
_toggleClass(dragEl, options.chosenClass, true);
|
430
|
+
|
431
|
+
// Bind the events: dragstart/dragend
|
432
|
+
_this._triggerDragStart(evt, touch);
|
433
|
+
|
434
|
+
// Drag start event
|
435
|
+
_dispatchEvent(_this, rootEl, 'choose', dragEl, rootEl, rootEl, oldIndex);
|
436
|
+
};
|
437
|
+
|
438
|
+
// Disable "draggable"
|
439
|
+
options.ignore.split(',').forEach(function (criteria) {
|
440
|
+
_find(dragEl, criteria.trim(), _disableDraggable);
|
441
|
+
});
|
442
|
+
|
443
|
+
_on(ownerDocument, 'mouseup', _this._onDrop);
|
444
|
+
_on(ownerDocument, 'touchend', _this._onDrop);
|
445
|
+
_on(ownerDocument, 'touchcancel', _this._onDrop);
|
446
|
+
_on(ownerDocument, 'selectstart', _this);
|
447
|
+
options.supportPointer && _on(ownerDocument, 'pointercancel', _this._onDrop);
|
448
|
+
|
449
|
+
if (options.delay) {
|
450
|
+
// If the user moves the pointer or let go the click or touch
|
451
|
+
// before the delay has been reached:
|
452
|
+
// disable the delayed drag
|
453
|
+
_on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
|
454
|
+
_on(ownerDocument, 'touchend', _this._disableDelayedDrag);
|
455
|
+
_on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
|
456
|
+
_on(ownerDocument, 'mousemove', _this._disableDelayedDrag);
|
457
|
+
_on(ownerDocument, 'touchmove', _this._disableDelayedDrag);
|
458
|
+
options.supportPointer && _on(ownerDocument, 'pointermove', _this._disableDelayedDrag);
|
459
|
+
|
460
|
+
_this._dragStartTimer = setTimeout(dragStartFn, options.delay);
|
461
|
+
} else {
|
462
|
+
dragStartFn();
|
463
|
+
}
|
464
|
+
|
465
|
+
|
466
|
+
}
|
467
|
+
},
|
468
|
+
|
469
|
+
_disableDelayedDrag: function () {
|
470
|
+
var ownerDocument = this.el.ownerDocument;
|
471
|
+
|
472
|
+
clearTimeout(this._dragStartTimer);
|
473
|
+
_off(ownerDocument, 'mouseup', this._disableDelayedDrag);
|
474
|
+
_off(ownerDocument, 'touchend', this._disableDelayedDrag);
|
475
|
+
_off(ownerDocument, 'touchcancel', this._disableDelayedDrag);
|
476
|
+
_off(ownerDocument, 'mousemove', this._disableDelayedDrag);
|
477
|
+
_off(ownerDocument, 'touchmove', this._disableDelayedDrag);
|
478
|
+
_off(ownerDocument, 'pointermove', this._disableDelayedDrag);
|
479
|
+
},
|
480
|
+
|
481
|
+
_triggerDragStart: function (/** Event */evt, /** Touch */touch) {
|
482
|
+
touch = touch || (evt.pointerType == 'touch' ? evt : null);
|
483
|
+
|
484
|
+
if (touch) {
|
485
|
+
// Touch device support
|
486
|
+
tapEvt = {
|
487
|
+
target: dragEl,
|
488
|
+
clientX: touch.clientX,
|
489
|
+
clientY: touch.clientY
|
490
|
+
};
|
491
|
+
|
492
|
+
this._onDragStart(tapEvt, 'touch');
|
493
|
+
}
|
494
|
+
else if (!this.nativeDraggable) {
|
495
|
+
this._onDragStart(tapEvt, true);
|
496
|
+
}
|
497
|
+
else {
|
498
|
+
_on(dragEl, 'dragend', this);
|
499
|
+
_on(rootEl, 'dragstart', this._onDragStart);
|
500
|
+
}
|
501
|
+
|
502
|
+
try {
|
503
|
+
if (document.selection) {
|
504
|
+
// Timeout neccessary for IE9
|
505
|
+
_nextTick(function () {
|
506
|
+
document.selection.empty();
|
507
|
+
});
|
508
|
+
} else {
|
509
|
+
window.getSelection().removeAllRanges();
|
510
|
+
}
|
511
|
+
} catch (err) {
|
512
|
+
}
|
513
|
+
},
|
514
|
+
|
515
|
+
_dragStarted: function () {
|
516
|
+
if (rootEl && dragEl) {
|
517
|
+
var options = this.options;
|
518
|
+
|
519
|
+
// Apply effect
|
520
|
+
_toggleClass(dragEl, options.ghostClass, true);
|
521
|
+
_toggleClass(dragEl, options.dragClass, false);
|
522
|
+
|
523
|
+
Sortable.active = this;
|
524
|
+
|
525
|
+
// Drag start event
|
526
|
+
_dispatchEvent(this, rootEl, 'start', dragEl, rootEl, rootEl, oldIndex);
|
527
|
+
} else {
|
528
|
+
this._nulling();
|
529
|
+
}
|
530
|
+
},
|
531
|
+
|
532
|
+
_emulateDragOver: function () {
|
533
|
+
if (touchEvt) {
|
534
|
+
if (this._lastX === touchEvt.clientX && this._lastY === touchEvt.clientY) {
|
535
|
+
return;
|
536
|
+
}
|
537
|
+
|
538
|
+
this._lastX = touchEvt.clientX;
|
539
|
+
this._lastY = touchEvt.clientY;
|
540
|
+
|
541
|
+
if (!supportCssPointerEvents) {
|
542
|
+
_css(ghostEl, 'display', 'none');
|
543
|
+
}
|
544
|
+
|
545
|
+
var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
546
|
+
var parent = target;
|
547
|
+
var i = touchDragOverListeners.length;
|
548
|
+
|
549
|
+
if (target && target.shadowRoot) {
|
550
|
+
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
|
551
|
+
parent = target;
|
552
|
+
}
|
553
|
+
|
554
|
+
if (parent) {
|
555
|
+
do {
|
556
|
+
if (parent[expando]) {
|
557
|
+
while (i--) {
|
558
|
+
touchDragOverListeners[i]({
|
559
|
+
clientX: touchEvt.clientX,
|
560
|
+
clientY: touchEvt.clientY,
|
561
|
+
target: target,
|
562
|
+
rootEl: parent
|
563
|
+
});
|
564
|
+
}
|
565
|
+
|
566
|
+
break;
|
567
|
+
}
|
568
|
+
|
569
|
+
target = parent; // store last element
|
570
|
+
}
|
571
|
+
/* jshint boss:true */
|
572
|
+
while (parent = parent.parentNode);
|
573
|
+
}
|
574
|
+
|
575
|
+
if (!supportCssPointerEvents) {
|
576
|
+
_css(ghostEl, 'display', '');
|
577
|
+
}
|
578
|
+
}
|
579
|
+
},
|
580
|
+
|
581
|
+
|
582
|
+
_onTouchMove: function (/**TouchEvent*/evt) {
|
583
|
+
if (tapEvt) {
|
584
|
+
var options = this.options,
|
585
|
+
fallbackTolerance = options.fallbackTolerance,
|
586
|
+
fallbackOffset = options.fallbackOffset,
|
587
|
+
touch = evt.touches ? evt.touches[0] : evt,
|
588
|
+
dx = (touch.clientX - tapEvt.clientX) + fallbackOffset.x,
|
589
|
+
dy = (touch.clientY - tapEvt.clientY) + fallbackOffset.y,
|
590
|
+
translate3d = evt.touches ? 'translate3d(' + dx + 'px,' + dy + 'px,0)' : 'translate(' + dx + 'px,' + dy + 'px)';
|
591
|
+
|
592
|
+
// only set the status to dragging, when we are actually dragging
|
593
|
+
if (!Sortable.active) {
|
594
|
+
if (fallbackTolerance &&
|
595
|
+
min(abs(touch.clientX - this._lastX), abs(touch.clientY - this._lastY)) < fallbackTolerance
|
596
|
+
) {
|
597
|
+
return;
|
598
|
+
}
|
599
|
+
|
600
|
+
this._dragStarted();
|
601
|
+
}
|
602
|
+
|
603
|
+
// as well as creating the ghost element on the document body
|
604
|
+
this._appendGhost();
|
605
|
+
|
606
|
+
moved = true;
|
607
|
+
touchEvt = touch;
|
608
|
+
|
609
|
+
_css(ghostEl, 'webkitTransform', translate3d);
|
610
|
+
_css(ghostEl, 'mozTransform', translate3d);
|
611
|
+
_css(ghostEl, 'msTransform', translate3d);
|
612
|
+
_css(ghostEl, 'transform', translate3d);
|
613
|
+
|
614
|
+
evt.preventDefault();
|
615
|
+
}
|
616
|
+
},
|
617
|
+
|
618
|
+
_appendGhost: function () {
|
619
|
+
if (!ghostEl) {
|
620
|
+
var rect = dragEl.getBoundingClientRect(),
|
621
|
+
css = _css(dragEl),
|
622
|
+
options = this.options,
|
623
|
+
ghostRect;
|
624
|
+
|
625
|
+
ghostEl = dragEl.cloneNode(true);
|
626
|
+
|
627
|
+
_toggleClass(ghostEl, options.ghostClass, false);
|
628
|
+
_toggleClass(ghostEl, options.fallbackClass, true);
|
629
|
+
_toggleClass(ghostEl, options.dragClass, true);
|
630
|
+
|
631
|
+
_css(ghostEl, 'top', rect.top - parseInt(css.marginTop, 10));
|
632
|
+
_css(ghostEl, 'left', rect.left - parseInt(css.marginLeft, 10));
|
633
|
+
_css(ghostEl, 'width', rect.width);
|
634
|
+
_css(ghostEl, 'height', rect.height);
|
635
|
+
_css(ghostEl, 'opacity', '0.8');
|
636
|
+
_css(ghostEl, 'position', 'fixed');
|
637
|
+
_css(ghostEl, 'zIndex', '100000');
|
638
|
+
_css(ghostEl, 'pointerEvents', 'none');
|
639
|
+
|
640
|
+
options.fallbackOnBody && document.body.appendChild(ghostEl) || rootEl.appendChild(ghostEl);
|
641
|
+
|
642
|
+
// Fixing dimensions.
|
643
|
+
ghostRect = ghostEl.getBoundingClientRect();
|
644
|
+
_css(ghostEl, 'width', rect.width * 2 - ghostRect.width);
|
645
|
+
_css(ghostEl, 'height', rect.height * 2 - ghostRect.height);
|
646
|
+
}
|
647
|
+
},
|
648
|
+
|
649
|
+
_onDragStart: function (/**Event*/evt, /**boolean*/useFallback) {
|
650
|
+
var _this = this;
|
651
|
+
var dataTransfer = evt.dataTransfer;
|
652
|
+
var options = _this.options;
|
653
|
+
|
654
|
+
_this._offUpEvents();
|
655
|
+
|
656
|
+
if (activeGroup.checkPull(_this, _this, dragEl, evt)) {
|
657
|
+
cloneEl = _clone(dragEl);
|
658
|
+
|
659
|
+
cloneEl.draggable = false;
|
660
|
+
cloneEl.style['will-change'] = '';
|
661
|
+
|
662
|
+
_css(cloneEl, 'display', 'none');
|
663
|
+
_toggleClass(cloneEl, _this.options.chosenClass, false);
|
664
|
+
|
665
|
+
// #1143: IFrame support workaround
|
666
|
+
_this._cloneId = _nextTick(function () {
|
667
|
+
rootEl.insertBefore(cloneEl, dragEl);
|
668
|
+
_dispatchEvent(_this, rootEl, 'clone', dragEl);
|
669
|
+
});
|
670
|
+
}
|
671
|
+
|
672
|
+
_toggleClass(dragEl, options.dragClass, true);
|
673
|
+
|
674
|
+
if (useFallback) {
|
675
|
+
if (useFallback === 'touch') {
|
676
|
+
// Bind touch events
|
677
|
+
_on(document, 'touchmove', _this._onTouchMove);
|
678
|
+
_on(document, 'touchend', _this._onDrop);
|
679
|
+
_on(document, 'touchcancel', _this._onDrop);
|
680
|
+
|
681
|
+
if (options.supportPointer) {
|
682
|
+
_on(document, 'pointermove', _this._onTouchMove);
|
683
|
+
_on(document, 'pointerup', _this._onDrop);
|
684
|
+
}
|
685
|
+
} else {
|
686
|
+
// Old brwoser
|
687
|
+
_on(document, 'mousemove', _this._onTouchMove);
|
688
|
+
_on(document, 'mouseup', _this._onDrop);
|
689
|
+
}
|
690
|
+
|
691
|
+
_this._loopId = setInterval(_this._emulateDragOver, 50);
|
692
|
+
}
|
693
|
+
else {
|
694
|
+
if (dataTransfer) {
|
695
|
+
dataTransfer.effectAllowed = 'move';
|
696
|
+
options.setData && options.setData.call(_this, dataTransfer, dragEl);
|
697
|
+
}
|
698
|
+
|
699
|
+
_on(document, 'drop', _this);
|
700
|
+
|
701
|
+
// #1143: Бывает элемент с IFrame внутри блокирует `drop`,
|
702
|
+
// поэтому если вызвался `mouseover`, значит надо отменять весь d'n'd.
|
703
|
+
// Breaking Chrome 62+
|
704
|
+
// _on(document, 'mouseover', _this);
|
705
|
+
|
706
|
+
_this._dragStartId = _nextTick(_this._dragStarted);
|
707
|
+
}
|
708
|
+
},
|
709
|
+
|
710
|
+
_onDragOver: function (/**Event*/evt) {
|
711
|
+
var el = this.el,
|
712
|
+
target,
|
713
|
+
dragRect,
|
714
|
+
targetRect,
|
715
|
+
revert,
|
716
|
+
options = this.options,
|
717
|
+
group = options.group,
|
718
|
+
activeSortable = Sortable.active,
|
719
|
+
isOwner = (activeGroup === group),
|
720
|
+
isMovingBetweenSortable = false,
|
721
|
+
canSort = options.sort;
|
722
|
+
|
723
|
+
if (evt.preventDefault !== void 0) {
|
724
|
+
evt.preventDefault();
|
725
|
+
!options.dragoverBubble && evt.stopPropagation();
|
726
|
+
}
|
727
|
+
|
728
|
+
if (dragEl.animated) {
|
729
|
+
return;
|
730
|
+
}
|
731
|
+
|
732
|
+
moved = true;
|
733
|
+
|
734
|
+
if (activeSortable && !options.disabled &&
|
735
|
+
(isOwner
|
736
|
+
? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list
|
737
|
+
: (
|
738
|
+
putSortable === this ||
|
739
|
+
(
|
740
|
+
(activeSortable.lastPullMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) &&
|
741
|
+
group.checkPut(this, activeSortable, dragEl, evt)
|
742
|
+
)
|
743
|
+
)
|
744
|
+
) &&
|
745
|
+
(evt.rootEl === void 0 || evt.rootEl === this.el) // touch fallback
|
746
|
+
) {
|
747
|
+
// Smart auto-scrolling
|
748
|
+
_autoScroll(evt, options, this.el);
|
749
|
+
|
750
|
+
if (_silent) {
|
751
|
+
return;
|
752
|
+
}
|
753
|
+
|
754
|
+
target = _closest(evt.target, options.draggable, el);
|
755
|
+
dragRect = dragEl.getBoundingClientRect();
|
756
|
+
|
757
|
+
if (putSortable !== this) {
|
758
|
+
putSortable = this;
|
759
|
+
isMovingBetweenSortable = true;
|
760
|
+
}
|
761
|
+
|
762
|
+
if (revert) {
|
763
|
+
_cloneHide(activeSortable, true);
|
764
|
+
parentEl = rootEl; // actualization
|
765
|
+
|
766
|
+
if (cloneEl || nextEl) {
|
767
|
+
rootEl.insertBefore(dragEl, cloneEl || nextEl);
|
768
|
+
}
|
769
|
+
else if (!canSort) {
|
770
|
+
rootEl.appendChild(dragEl);
|
771
|
+
}
|
772
|
+
|
773
|
+
return;
|
774
|
+
}
|
775
|
+
|
776
|
+
|
777
|
+
if ((el.children.length === 0) || (el.children[0] === ghostEl) ||
|
778
|
+
(el === evt.target) && (_ghostIsLast(el, evt))
|
779
|
+
) {
|
780
|
+
//assign target only if condition is true
|
781
|
+
if (el.children.length !== 0 && el.children[0] !== ghostEl && el === evt.target) {
|
782
|
+
target = el.lastElementChild;
|
783
|
+
}
|
784
|
+
|
785
|
+
if (target) {
|
786
|
+
if (target.animated) {
|
787
|
+
return;
|
788
|
+
}
|
789
|
+
|
790
|
+
targetRect = target.getBoundingClientRect();
|
791
|
+
}
|
792
|
+
|
793
|
+
_cloneHide(activeSortable, isOwner);
|
794
|
+
|
795
|
+
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt) !== false) {
|
796
|
+
if (!dragEl.contains(el)) {
|
797
|
+
el.appendChild(dragEl);
|
798
|
+
parentEl = el; // actualization
|
799
|
+
}
|
800
|
+
|
801
|
+
this._animate(dragRect, dragEl);
|
802
|
+
target && this._animate(targetRect, target);
|
803
|
+
}
|
804
|
+
}
|
805
|
+
else if (target && !target.animated && target !== dragEl && (target.parentNode[expando] !== void 0)) {
|
806
|
+
if (lastEl !== target) {
|
807
|
+
lastEl = target;
|
808
|
+
lastCSS = _css(target);
|
809
|
+
lastParentCSS = _css(target.parentNode);
|
810
|
+
}
|
811
|
+
|
812
|
+
targetRect = target.getBoundingClientRect();
|
813
|
+
|
814
|
+
var width = targetRect.right - targetRect.left,
|
815
|
+
height = targetRect.bottom - targetRect.top,
|
816
|
+
floating = R_FLOAT.test(lastCSS.cssFloat + lastCSS.display)
|
817
|
+
|| (lastParentCSS.display == 'flex' && lastParentCSS['flex-direction'].indexOf('row') === 0),
|
818
|
+
isWide = (target.offsetWidth > dragEl.offsetWidth),
|
819
|
+
isLong = (target.offsetHeight > dragEl.offsetHeight),
|
820
|
+
halfway = (floating ? (evt.clientX - targetRect.left) / width : (evt.clientY - targetRect.top) / height) > 0.5,
|
821
|
+
nextSibling = target.nextElementSibling,
|
822
|
+
after = false
|
823
|
+
;
|
824
|
+
|
825
|
+
if (floating) {
|
826
|
+
var elTop = dragEl.offsetTop,
|
827
|
+
tgTop = target.offsetTop;
|
828
|
+
|
829
|
+
if (elTop === tgTop) {
|
830
|
+
after = (target.previousElementSibling === dragEl) && !isWide || halfway && isWide;
|
831
|
+
}
|
832
|
+
else if (target.previousElementSibling === dragEl || dragEl.previousElementSibling === target) {
|
833
|
+
after = (evt.clientY - targetRect.top) / height > 0.5;
|
834
|
+
} else {
|
835
|
+
after = tgTop > elTop;
|
836
|
+
}
|
837
|
+
} else if (!isMovingBetweenSortable) {
|
838
|
+
after = (nextSibling !== dragEl) && !isLong || halfway && isLong;
|
839
|
+
}
|
840
|
+
|
841
|
+
var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
|
842
|
+
|
843
|
+
if (moveVector !== false) {
|
844
|
+
if (moveVector === 1 || moveVector === -1) {
|
845
|
+
after = (moveVector === 1);
|
846
|
+
}
|
847
|
+
|
848
|
+
_silent = true;
|
849
|
+
setTimeout(_unsilent, 30);
|
850
|
+
|
851
|
+
_cloneHide(activeSortable, isOwner);
|
852
|
+
|
853
|
+
if (!dragEl.contains(el)) {
|
854
|
+
if (after && !nextSibling) {
|
855
|
+
el.appendChild(dragEl);
|
856
|
+
} else {
|
857
|
+
target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
|
858
|
+
}
|
859
|
+
}
|
860
|
+
|
861
|
+
parentEl = dragEl.parentNode; // actualization
|
862
|
+
|
863
|
+
this._animate(dragRect, dragEl);
|
864
|
+
this._animate(targetRect, target);
|
865
|
+
}
|
866
|
+
}
|
867
|
+
}
|
868
|
+
},
|
869
|
+
|
870
|
+
_animate: function (prevRect, target) {
|
871
|
+
var ms = this.options.animation;
|
872
|
+
|
873
|
+
if (ms) {
|
874
|
+
var currentRect = target.getBoundingClientRect();
|
875
|
+
|
876
|
+
if (prevRect.nodeType === 1) {
|
877
|
+
prevRect = prevRect.getBoundingClientRect();
|
878
|
+
}
|
879
|
+
|
880
|
+
_css(target, 'transition', 'none');
|
881
|
+
_css(target, 'transform', 'translate3d('
|
882
|
+
+ (prevRect.left - currentRect.left) + 'px,'
|
883
|
+
+ (prevRect.top - currentRect.top) + 'px,0)'
|
884
|
+
);
|
885
|
+
|
886
|
+
target.offsetWidth; // repaint
|
887
|
+
|
888
|
+
_css(target, 'transition', 'all ' + ms + 'ms');
|
889
|
+
_css(target, 'transform', 'translate3d(0,0,0)');
|
890
|
+
|
891
|
+
clearTimeout(target.animated);
|
892
|
+
target.animated = setTimeout(function () {
|
893
|
+
_css(target, 'transition', '');
|
894
|
+
_css(target, 'transform', '');
|
895
|
+
target.animated = false;
|
896
|
+
}, ms);
|
897
|
+
}
|
898
|
+
},
|
899
|
+
|
900
|
+
_offUpEvents: function () {
|
901
|
+
var ownerDocument = this.el.ownerDocument;
|
902
|
+
|
903
|
+
_off(document, 'touchmove', this._onTouchMove);
|
904
|
+
_off(document, 'pointermove', this._onTouchMove);
|
905
|
+
_off(ownerDocument, 'mouseup', this._onDrop);
|
906
|
+
_off(ownerDocument, 'touchend', this._onDrop);
|
907
|
+
_off(ownerDocument, 'pointerup', this._onDrop);
|
908
|
+
_off(ownerDocument, 'touchcancel', this._onDrop);
|
909
|
+
_off(ownerDocument, 'pointercancel', this._onDrop);
|
910
|
+
_off(ownerDocument, 'selectstart', this);
|
911
|
+
},
|
912
|
+
|
913
|
+
_onDrop: function (/**Event*/evt) {
|
914
|
+
var el = this.el,
|
915
|
+
options = this.options;
|
916
|
+
|
917
|
+
clearInterval(this._loopId);
|
918
|
+
clearInterval(autoScroll.pid);
|
919
|
+
clearTimeout(this._dragStartTimer);
|
920
|
+
|
921
|
+
_cancelNextTick(this._cloneId);
|
922
|
+
_cancelNextTick(this._dragStartId);
|
923
|
+
|
924
|
+
// Unbind events
|
925
|
+
_off(document, 'mouseover', this);
|
926
|
+
_off(document, 'mousemove', this._onTouchMove);
|
927
|
+
|
928
|
+
if (this.nativeDraggable) {
|
929
|
+
_off(document, 'drop', this);
|
930
|
+
_off(el, 'dragstart', this._onDragStart);
|
931
|
+
}
|
932
|
+
|
933
|
+
this._offUpEvents();
|
934
|
+
|
935
|
+
if (evt) {
|
936
|
+
if (moved) {
|
937
|
+
evt.preventDefault();
|
938
|
+
!options.dropBubble && evt.stopPropagation();
|
939
|
+
}
|
940
|
+
|
941
|
+
ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
|
942
|
+
|
943
|
+
if (rootEl === parentEl || Sortable.active.lastPullMode !== 'clone') {
|
944
|
+
// Remove clone
|
945
|
+
cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
|
946
|
+
}
|
947
|
+
|
948
|
+
if (dragEl) {
|
949
|
+
if (this.nativeDraggable) {
|
950
|
+
_off(dragEl, 'dragend', this);
|
951
|
+
}
|
952
|
+
|
953
|
+
_disableDraggable(dragEl);
|
954
|
+
dragEl.style['will-change'] = '';
|
955
|
+
|
956
|
+
// Remove class's
|
957
|
+
_toggleClass(dragEl, this.options.ghostClass, false);
|
958
|
+
_toggleClass(dragEl, this.options.chosenClass, false);
|
959
|
+
|
960
|
+
// Drag stop event
|
961
|
+
_dispatchEvent(this, rootEl, 'unchoose', dragEl, parentEl, rootEl, oldIndex);
|
962
|
+
|
963
|
+
if (rootEl !== parentEl) {
|
964
|
+
newIndex = _index(dragEl, options.draggable);
|
965
|
+
|
966
|
+
if (newIndex >= 0) {
|
967
|
+
// Add event
|
968
|
+
_dispatchEvent(null, parentEl, 'add', dragEl, parentEl, rootEl, oldIndex, newIndex);
|
969
|
+
|
970
|
+
// Remove event
|
971
|
+
_dispatchEvent(this, rootEl, 'remove', dragEl, parentEl, rootEl, oldIndex, newIndex);
|
972
|
+
|
973
|
+
// drag from one list and drop into another
|
974
|
+
_dispatchEvent(null, parentEl, 'sort', dragEl, parentEl, rootEl, oldIndex, newIndex);
|
975
|
+
_dispatchEvent(this, rootEl, 'sort', dragEl, parentEl, rootEl, oldIndex, newIndex);
|
976
|
+
}
|
977
|
+
}
|
978
|
+
else {
|
979
|
+
if (dragEl.nextSibling !== nextEl) {
|
980
|
+
// Get the index of the dragged element within its parent
|
981
|
+
newIndex = _index(dragEl, options.draggable);
|
982
|
+
|
983
|
+
if (newIndex >= 0) {
|
984
|
+
// drag & drop within the same list
|
985
|
+
_dispatchEvent(this, rootEl, 'update', dragEl, parentEl, rootEl, oldIndex, newIndex);
|
986
|
+
_dispatchEvent(this, rootEl, 'sort', dragEl, parentEl, rootEl, oldIndex, newIndex);
|
987
|
+
}
|
988
|
+
}
|
989
|
+
}
|
990
|
+
|
991
|
+
if (Sortable.active) {
|
992
|
+
/* jshint eqnull:true */
|
993
|
+
if (newIndex == null || newIndex === -1) {
|
994
|
+
newIndex = oldIndex;
|
995
|
+
}
|
996
|
+
|
997
|
+
_dispatchEvent(this, rootEl, 'end', dragEl, parentEl, rootEl, oldIndex, newIndex);
|
998
|
+
|
999
|
+
// Save sorting
|
1000
|
+
this.save();
|
1001
|
+
}
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
this._nulling();
|
1007
|
+
},
|
1008
|
+
|
1009
|
+
_nulling: function() {
|
1010
|
+
rootEl =
|
1011
|
+
dragEl =
|
1012
|
+
parentEl =
|
1013
|
+
ghostEl =
|
1014
|
+
nextEl =
|
1015
|
+
cloneEl =
|
1016
|
+
lastDownEl =
|
1017
|
+
|
1018
|
+
scrollEl =
|
1019
|
+
scrollParentEl =
|
1020
|
+
|
1021
|
+
tapEvt =
|
1022
|
+
touchEvt =
|
1023
|
+
|
1024
|
+
moved =
|
1025
|
+
newIndex =
|
1026
|
+
|
1027
|
+
lastEl =
|
1028
|
+
lastCSS =
|
1029
|
+
|
1030
|
+
putSortable =
|
1031
|
+
activeGroup =
|
1032
|
+
Sortable.active = null;
|
1033
|
+
|
1034
|
+
savedInputChecked.forEach(function (el) {
|
1035
|
+
el.checked = true;
|
1036
|
+
});
|
1037
|
+
savedInputChecked.length = 0;
|
1038
|
+
},
|
1039
|
+
|
1040
|
+
handleEvent: function (/**Event*/evt) {
|
1041
|
+
switch (evt.type) {
|
1042
|
+
case 'drop':
|
1043
|
+
case 'dragend':
|
1044
|
+
this._onDrop(evt);
|
1045
|
+
break;
|
1046
|
+
|
1047
|
+
case 'dragover':
|
1048
|
+
case 'dragenter':
|
1049
|
+
if (dragEl) {
|
1050
|
+
this._onDragOver(evt);
|
1051
|
+
_globalDragOver(evt);
|
1052
|
+
}
|
1053
|
+
break;
|
1054
|
+
|
1055
|
+
case 'mouseover':
|
1056
|
+
this._onDrop(evt);
|
1057
|
+
break;
|
1058
|
+
|
1059
|
+
case 'selectstart':
|
1060
|
+
evt.preventDefault();
|
1061
|
+
break;
|
1062
|
+
}
|
1063
|
+
},
|
1064
|
+
|
1065
|
+
|
1066
|
+
/**
|
1067
|
+
* Serializes the item into an array of string.
|
1068
|
+
* @returns {String[]}
|
1069
|
+
*/
|
1070
|
+
toArray: function () {
|
1071
|
+
var order = [],
|
1072
|
+
el,
|
1073
|
+
children = this.el.children,
|
1074
|
+
i = 0,
|
1075
|
+
n = children.length,
|
1076
|
+
options = this.options;
|
1077
|
+
|
1078
|
+
for (; i < n; i++) {
|
1079
|
+
el = children[i];
|
1080
|
+
if (_closest(el, options.draggable, this.el)) {
|
1081
|
+
order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
|
1082
|
+
}
|
1083
|
+
}
|
1084
|
+
|
1085
|
+
return order;
|
1086
|
+
},
|
1087
|
+
|
1088
|
+
|
1089
|
+
/**
|
1090
|
+
* Sorts the elements according to the array.
|
1091
|
+
* @param {String[]} order order of the items
|
1092
|
+
*/
|
1093
|
+
sort: function (order) {
|
1094
|
+
var items = {}, rootEl = this.el;
|
1095
|
+
|
1096
|
+
this.toArray().forEach(function (id, i) {
|
1097
|
+
var el = rootEl.children[i];
|
1098
|
+
|
1099
|
+
if (_closest(el, this.options.draggable, rootEl)) {
|
1100
|
+
items[id] = el;
|
1101
|
+
}
|
1102
|
+
}, this);
|
1103
|
+
|
1104
|
+
order.forEach(function (id) {
|
1105
|
+
if (items[id]) {
|
1106
|
+
rootEl.removeChild(items[id]);
|
1107
|
+
rootEl.appendChild(items[id]);
|
1108
|
+
}
|
1109
|
+
});
|
1110
|
+
},
|
1111
|
+
|
1112
|
+
|
1113
|
+
/**
|
1114
|
+
* Save the current sorting
|
1115
|
+
*/
|
1116
|
+
save: function () {
|
1117
|
+
var store = this.options.store;
|
1118
|
+
store && store.set(this);
|
1119
|
+
},
|
1120
|
+
|
1121
|
+
|
1122
|
+
/**
|
1123
|
+
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
1124
|
+
* @param {HTMLElement} el
|
1125
|
+
* @param {String} [selector] default: `options.draggable`
|
1126
|
+
* @returns {HTMLElement|null}
|
1127
|
+
*/
|
1128
|
+
closest: function (el, selector) {
|
1129
|
+
return _closest(el, selector || this.options.draggable, this.el);
|
1130
|
+
},
|
1131
|
+
|
1132
|
+
|
1133
|
+
/**
|
1134
|
+
* Set/get option
|
1135
|
+
* @param {string} name
|
1136
|
+
* @param {*} [value]
|
1137
|
+
* @returns {*}
|
1138
|
+
*/
|
1139
|
+
option: function (name, value) {
|
1140
|
+
var options = this.options;
|
1141
|
+
|
1142
|
+
if (value === void 0) {
|
1143
|
+
return options[name];
|
1144
|
+
} else {
|
1145
|
+
options[name] = value;
|
1146
|
+
|
1147
|
+
if (name === 'group') {
|
1148
|
+
_prepareGroup(options);
|
1149
|
+
}
|
1150
|
+
}
|
1151
|
+
},
|
1152
|
+
|
1153
|
+
|
1154
|
+
/**
|
1155
|
+
* Destroy
|
1156
|
+
*/
|
1157
|
+
destroy: function () {
|
1158
|
+
var el = this.el;
|
1159
|
+
|
1160
|
+
el[expando] = null;
|
1161
|
+
|
1162
|
+
_off(el, 'mousedown', this._onTapStart);
|
1163
|
+
_off(el, 'touchstart', this._onTapStart);
|
1164
|
+
_off(el, 'pointerdown', this._onTapStart);
|
1165
|
+
|
1166
|
+
if (this.nativeDraggable) {
|
1167
|
+
_off(el, 'dragover', this);
|
1168
|
+
_off(el, 'dragenter', this);
|
1169
|
+
}
|
1170
|
+
|
1171
|
+
// Remove draggable attributes
|
1172
|
+
Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {
|
1173
|
+
el.removeAttribute('draggable');
|
1174
|
+
});
|
1175
|
+
|
1176
|
+
touchDragOverListeners.splice(touchDragOverListeners.indexOf(this._onDragOver), 1);
|
1177
|
+
|
1178
|
+
this._onDrop();
|
1179
|
+
|
1180
|
+
this.el = el = null;
|
1181
|
+
}
|
1182
|
+
};
|
1183
|
+
|
1184
|
+
|
1185
|
+
function _cloneHide(sortable, state) {
|
1186
|
+
if (sortable.lastPullMode !== 'clone') {
|
1187
|
+
state = true;
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
if (cloneEl && (cloneEl.state !== state)) {
|
1191
|
+
_css(cloneEl, 'display', state ? 'none' : '');
|
1192
|
+
|
1193
|
+
if (!state) {
|
1194
|
+
if (cloneEl.state) {
|
1195
|
+
if (sortable.options.group.revertClone) {
|
1196
|
+
rootEl.insertBefore(cloneEl, nextEl);
|
1197
|
+
sortable._animate(dragEl, cloneEl);
|
1198
|
+
} else {
|
1199
|
+
rootEl.insertBefore(cloneEl, dragEl);
|
1200
|
+
}
|
1201
|
+
}
|
1202
|
+
}
|
1203
|
+
|
1204
|
+
cloneEl.state = state;
|
1205
|
+
}
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
|
1209
|
+
function _closest(/**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx) {
|
1210
|
+
if (el) {
|
1211
|
+
ctx = ctx || document;
|
1212
|
+
|
1213
|
+
do {
|
1214
|
+
if ((selector === '>*' && el.parentNode === ctx) || _matches(el, selector)) {
|
1215
|
+
return el;
|
1216
|
+
}
|
1217
|
+
/* jshint boss:true */
|
1218
|
+
} while (el = _getParentOrHost(el));
|
1219
|
+
}
|
1220
|
+
|
1221
|
+
return null;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
|
1225
|
+
function _getParentOrHost(el) {
|
1226
|
+
var parent = el.host;
|
1227
|
+
|
1228
|
+
return (parent && parent.nodeType) ? parent : el.parentNode;
|
1229
|
+
}
|
1230
|
+
|
1231
|
+
|
1232
|
+
function _globalDragOver(/**Event*/evt) {
|
1233
|
+
if (evt.dataTransfer) {
|
1234
|
+
evt.dataTransfer.dropEffect = 'move';
|
1235
|
+
}
|
1236
|
+
evt.preventDefault();
|
1237
|
+
}
|
1238
|
+
|
1239
|
+
|
1240
|
+
function _on(el, event, fn) {
|
1241
|
+
el.addEventListener(event, fn, captureMode);
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
|
1245
|
+
function _off(el, event, fn) {
|
1246
|
+
el.removeEventListener(event, fn, captureMode);
|
1247
|
+
}
|
1248
|
+
|
1249
|
+
|
1250
|
+
function _toggleClass(el, name, state) {
|
1251
|
+
if (el) {
|
1252
|
+
if (el.classList) {
|
1253
|
+
el.classList[state ? 'add' : 'remove'](name);
|
1254
|
+
}
|
1255
|
+
else {
|
1256
|
+
var className = (' ' + el.className + ' ').replace(R_SPACE, ' ').replace(' ' + name + ' ', ' ');
|
1257
|
+
el.className = (className + (state ? ' ' + name : '')).replace(R_SPACE, ' ');
|
1258
|
+
}
|
1259
|
+
}
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
|
1263
|
+
function _css(el, prop, val) {
|
1264
|
+
var style = el && el.style;
|
1265
|
+
|
1266
|
+
if (style) {
|
1267
|
+
if (val === void 0) {
|
1268
|
+
if (document.defaultView && document.defaultView.getComputedStyle) {
|
1269
|
+
val = document.defaultView.getComputedStyle(el, '');
|
1270
|
+
}
|
1271
|
+
else if (el.currentStyle) {
|
1272
|
+
val = el.currentStyle;
|
1273
|
+
}
|
1274
|
+
|
1275
|
+
return prop === void 0 ? val : val[prop];
|
1276
|
+
}
|
1277
|
+
else {
|
1278
|
+
if (!(prop in style)) {
|
1279
|
+
prop = '-webkit-' + prop;
|
1280
|
+
}
|
1281
|
+
|
1282
|
+
style[prop] = val + (typeof val === 'string' ? '' : 'px');
|
1283
|
+
}
|
1284
|
+
}
|
1285
|
+
}
|
1286
|
+
|
1287
|
+
|
1288
|
+
function _find(ctx, tagName, iterator) {
|
1289
|
+
if (ctx) {
|
1290
|
+
var list = ctx.getElementsByTagName(tagName), i = 0, n = list.length;
|
1291
|
+
|
1292
|
+
if (iterator) {
|
1293
|
+
for (; i < n; i++) {
|
1294
|
+
iterator(list[i], i);
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
|
1298
|
+
return list;
|
1299
|
+
}
|
1300
|
+
|
1301
|
+
return [];
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
|
1305
|
+
|
1306
|
+
function _dispatchEvent(sortable, rootEl, name, targetEl, toEl, fromEl, startIndex, newIndex) {
|
1307
|
+
sortable = (sortable || rootEl[expando]);
|
1308
|
+
|
1309
|
+
var evt = document.createEvent('Event'),
|
1310
|
+
options = sortable.options,
|
1311
|
+
onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1);
|
1312
|
+
|
1313
|
+
evt.initEvent(name, true, true);
|
1314
|
+
|
1315
|
+
evt.to = toEl || rootEl;
|
1316
|
+
evt.from = fromEl || rootEl;
|
1317
|
+
evt.item = targetEl || rootEl;
|
1318
|
+
evt.clone = cloneEl;
|
1319
|
+
|
1320
|
+
evt.oldIndex = startIndex;
|
1321
|
+
evt.newIndex = newIndex;
|
1322
|
+
|
1323
|
+
rootEl.dispatchEvent(evt);
|
1324
|
+
|
1325
|
+
if (options[onName]) {
|
1326
|
+
options[onName].call(sortable, evt);
|
1327
|
+
}
|
1328
|
+
}
|
1329
|
+
|
1330
|
+
|
1331
|
+
function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvt, willInsertAfter) {
|
1332
|
+
var evt,
|
1333
|
+
sortable = fromEl[expando],
|
1334
|
+
onMoveFn = sortable.options.onMove,
|
1335
|
+
retVal;
|
1336
|
+
|
1337
|
+
evt = document.createEvent('Event');
|
1338
|
+
evt.initEvent('move', true, true);
|
1339
|
+
|
1340
|
+
evt.to = toEl;
|
1341
|
+
evt.from = fromEl;
|
1342
|
+
evt.dragged = dragEl;
|
1343
|
+
evt.draggedRect = dragRect;
|
1344
|
+
evt.related = targetEl || toEl;
|
1345
|
+
evt.relatedRect = targetRect || toEl.getBoundingClientRect();
|
1346
|
+
evt.willInsertAfter = willInsertAfter;
|
1347
|
+
|
1348
|
+
fromEl.dispatchEvent(evt);
|
1349
|
+
|
1350
|
+
if (onMoveFn) {
|
1351
|
+
retVal = onMoveFn.call(sortable, evt, originalEvt);
|
1352
|
+
}
|
1353
|
+
|
1354
|
+
return retVal;
|
1355
|
+
}
|
1356
|
+
|
1357
|
+
|
1358
|
+
function _disableDraggable(el) {
|
1359
|
+
el.draggable = false;
|
1360
|
+
}
|
1361
|
+
|
1362
|
+
|
1363
|
+
function _unsilent() {
|
1364
|
+
_silent = false;
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
|
1368
|
+
/** @returns {HTMLElement|false} */
|
1369
|
+
function _ghostIsLast(el, evt) {
|
1370
|
+
var lastEl = el.lastElementChild,
|
1371
|
+
rect = lastEl.getBoundingClientRect();
|
1372
|
+
|
1373
|
+
// 5 — min delta
|
1374
|
+
// abs — нельзя добавлять, а то глюки при наведении сверху
|
1375
|
+
return (evt.clientY - (rect.top + rect.height) > 5) ||
|
1376
|
+
(evt.clientX - (rect.left + rect.width) > 5);
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
|
1380
|
+
/**
|
1381
|
+
* Generate id
|
1382
|
+
* @param {HTMLElement} el
|
1383
|
+
* @returns {String}
|
1384
|
+
* @private
|
1385
|
+
*/
|
1386
|
+
function _generateId(el) {
|
1387
|
+
var str = el.tagName + el.className + el.src + el.href + el.textContent,
|
1388
|
+
i = str.length,
|
1389
|
+
sum = 0;
|
1390
|
+
|
1391
|
+
while (i--) {
|
1392
|
+
sum += str.charCodeAt(i);
|
1393
|
+
}
|
1394
|
+
|
1395
|
+
return sum.toString(36);
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
/**
|
1399
|
+
* Returns the index of an element within its parent for a selected set of
|
1400
|
+
* elements
|
1401
|
+
* @param {HTMLElement} el
|
1402
|
+
* @param {selector} selector
|
1403
|
+
* @return {number}
|
1404
|
+
*/
|
1405
|
+
function _index(el, selector) {
|
1406
|
+
var index = 0;
|
1407
|
+
|
1408
|
+
if (!el || !el.parentNode) {
|
1409
|
+
return -1;
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
while (el && (el = el.previousElementSibling)) {
|
1413
|
+
if ((el.nodeName.toUpperCase() !== 'TEMPLATE') && (selector === '>*' || _matches(el, selector))) {
|
1414
|
+
index++;
|
1415
|
+
}
|
1416
|
+
}
|
1417
|
+
|
1418
|
+
return index;
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
function _matches(/**HTMLElement*/el, /**String*/selector) {
|
1422
|
+
if (el) {
|
1423
|
+
selector = selector.split('.');
|
1424
|
+
|
1425
|
+
var tag = selector.shift().toUpperCase(),
|
1426
|
+
re = new RegExp('\\s(' + selector.join('|') + ')(?=\\s)', 'g');
|
1427
|
+
|
1428
|
+
return (
|
1429
|
+
(tag === '' || el.nodeName.toUpperCase() == tag) &&
|
1430
|
+
(!selector.length || ((' ' + el.className + ' ').match(re) || []).length == selector.length)
|
1431
|
+
);
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
return false;
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
function _throttle(callback, ms) {
|
1438
|
+
var args, _this;
|
1439
|
+
|
1440
|
+
return function () {
|
1441
|
+
if (args === void 0) {
|
1442
|
+
args = arguments;
|
1443
|
+
_this = this;
|
1444
|
+
|
1445
|
+
setTimeout(function () {
|
1446
|
+
if (args.length === 1) {
|
1447
|
+
callback.call(_this, args[0]);
|
1448
|
+
} else {
|
1449
|
+
callback.apply(_this, args);
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
args = void 0;
|
1453
|
+
}, ms);
|
1454
|
+
}
|
1455
|
+
};
|
1456
|
+
}
|
1457
|
+
|
1458
|
+
function _extend(dst, src) {
|
1459
|
+
if (dst && src) {
|
1460
|
+
for (var key in src) {
|
1461
|
+
if (src.hasOwnProperty(key)) {
|
1462
|
+
dst[key] = src[key];
|
1463
|
+
}
|
1464
|
+
}
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
return dst;
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
function _clone(el) {
|
1471
|
+
if (Polymer && Polymer.dom) {
|
1472
|
+
return Polymer.dom(el).cloneNode(true);
|
1473
|
+
}
|
1474
|
+
else if ($) {
|
1475
|
+
return $(el).clone(true)[0];
|
1476
|
+
}
|
1477
|
+
else {
|
1478
|
+
return el.cloneNode(true);
|
1479
|
+
}
|
1480
|
+
}
|
1481
|
+
|
1482
|
+
function _saveInputCheckedState(root) {
|
1483
|
+
var inputs = root.getElementsByTagName('input');
|
1484
|
+
var idx = inputs.length;
|
1485
|
+
|
1486
|
+
while (idx--) {
|
1487
|
+
var el = inputs[idx];
|
1488
|
+
el.checked && savedInputChecked.push(el);
|
1489
|
+
}
|
1490
|
+
}
|
1491
|
+
|
1492
|
+
function _nextTick(fn) {
|
1493
|
+
return setTimeout(fn, 0);
|
1494
|
+
}
|
1495
|
+
|
1496
|
+
function _cancelNextTick(id) {
|
1497
|
+
return clearTimeout(id);
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
// Fixed #973:
|
1501
|
+
_on(document, 'touchmove', function (evt) {
|
1502
|
+
if (Sortable.active) {
|
1503
|
+
evt.preventDefault();
|
1504
|
+
}
|
1505
|
+
});
|
1506
|
+
|
1507
|
+
// Export utils
|
1508
|
+
Sortable.utils = {
|
1509
|
+
on: _on,
|
1510
|
+
off: _off,
|
1511
|
+
css: _css,
|
1512
|
+
find: _find,
|
1513
|
+
is: function (el, selector) {
|
1514
|
+
return !!_closest(el, selector, el);
|
1515
|
+
},
|
1516
|
+
extend: _extend,
|
1517
|
+
throttle: _throttle,
|
1518
|
+
closest: _closest,
|
1519
|
+
toggleClass: _toggleClass,
|
1520
|
+
clone: _clone,
|
1521
|
+
index: _index,
|
1522
|
+
nextTick: _nextTick,
|
1523
|
+
cancelNextTick: _cancelNextTick
|
1524
|
+
};
|
1525
|
+
|
1526
|
+
|
1527
|
+
/**
|
1528
|
+
* Create sortable instance
|
1529
|
+
* @param {HTMLElement} el
|
1530
|
+
* @param {Object} [options]
|
1531
|
+
*/
|
1532
|
+
Sortable.create = function (el, options) {
|
1533
|
+
return new Sortable(el, options);
|
1534
|
+
};
|
1535
|
+
|
1536
|
+
|
1537
|
+
// Export
|
1538
|
+
Sortable.version = '1.7.0';
|
1539
|
+
return Sortable;
|
1540
|
+
});
|