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,1281 @@
|
|
1
|
+
/*!
|
2
|
+
* JQVMap: jQuery Vector Map Library
|
3
|
+
* @author JQVMap <me@peterschmalfeldt.com>
|
4
|
+
* @version 1.5.0
|
5
|
+
* @link http://jqvmap.com
|
6
|
+
* @license https://github.com/manifestinteractive/jqvmap/blob/master/LICENSE
|
7
|
+
* @builddate 2016/03/15
|
8
|
+
*/
|
9
|
+
|
10
|
+
var VectorCanvas = function (width, height, params) {
|
11
|
+
this.mode = window.SVGAngle ? 'svg' : 'vml';
|
12
|
+
this.params = params;
|
13
|
+
|
14
|
+
if (this.mode === 'svg') {
|
15
|
+
this.createSvgNode = function (nodeName) {
|
16
|
+
return document.createElementNS(this.svgns, nodeName);
|
17
|
+
};
|
18
|
+
} else {
|
19
|
+
try {
|
20
|
+
if (!document.namespaces.rvml) {
|
21
|
+
document.namespaces.add('rvml', 'urn:schemas-microsoft-com:vml');
|
22
|
+
}
|
23
|
+
this.createVmlNode = function (tagName) {
|
24
|
+
return document.createElement('<rvml:' + tagName + ' class="rvml">');
|
25
|
+
};
|
26
|
+
} catch (e) {
|
27
|
+
this.createVmlNode = function (tagName) {
|
28
|
+
return document.createElement('<' + tagName + ' xmlns="urn:schemas-microsoft.com:vml" class="rvml">');
|
29
|
+
};
|
30
|
+
}
|
31
|
+
|
32
|
+
document.createStyleSheet().addRule('.rvml', 'behavior:url(#default#VML)');
|
33
|
+
}
|
34
|
+
|
35
|
+
if (this.mode === 'svg') {
|
36
|
+
this.canvas = this.createSvgNode('svg');
|
37
|
+
} else {
|
38
|
+
this.canvas = this.createVmlNode('group');
|
39
|
+
this.canvas.style.position = 'absolute';
|
40
|
+
}
|
41
|
+
|
42
|
+
this.setSize(width, height);
|
43
|
+
};
|
44
|
+
|
45
|
+
VectorCanvas.prototype = {
|
46
|
+
svgns: 'http://www.w3.org/2000/svg',
|
47
|
+
mode: 'svg',
|
48
|
+
width: 0,
|
49
|
+
height: 0,
|
50
|
+
canvas: null
|
51
|
+
};
|
52
|
+
|
53
|
+
var ColorScale = function (colors, normalizeFunction, minValue, maxValue) {
|
54
|
+
if (colors) {
|
55
|
+
this.setColors(colors);
|
56
|
+
}
|
57
|
+
if (normalizeFunction) {
|
58
|
+
this.setNormalizeFunction(normalizeFunction);
|
59
|
+
}
|
60
|
+
if (minValue) {
|
61
|
+
this.setMin(minValue);
|
62
|
+
}
|
63
|
+
if (minValue) {
|
64
|
+
this.setMax(maxValue);
|
65
|
+
}
|
66
|
+
};
|
67
|
+
|
68
|
+
ColorScale.prototype = {
|
69
|
+
colors: []
|
70
|
+
};
|
71
|
+
|
72
|
+
var JQVMap = function (params) {
|
73
|
+
params = params || {};
|
74
|
+
var map = this;
|
75
|
+
var mapData = JQVMap.maps[params.map];
|
76
|
+
var mapPins;
|
77
|
+
|
78
|
+
if( !mapData){
|
79
|
+
throw new Error('Invalid "' + params.map + '" map parameter. Please make sure you have loaded this map file in your HTML.');
|
80
|
+
}
|
81
|
+
|
82
|
+
this.selectedRegions = [];
|
83
|
+
this.multiSelectRegion = params.multiSelectRegion;
|
84
|
+
|
85
|
+
this.container = params.container;
|
86
|
+
|
87
|
+
this.defaultWidth = mapData.width;
|
88
|
+
this.defaultHeight = mapData.height;
|
89
|
+
|
90
|
+
this.color = params.color;
|
91
|
+
this.selectedColor = params.selectedColor;
|
92
|
+
this.hoverColor = params.hoverColor;
|
93
|
+
this.hoverColors = params.hoverColors;
|
94
|
+
this.hoverOpacity = params.hoverOpacity;
|
95
|
+
this.setBackgroundColor(params.backgroundColor);
|
96
|
+
|
97
|
+
this.width = params.container.width();
|
98
|
+
this.height = params.container.height();
|
99
|
+
|
100
|
+
this.resize();
|
101
|
+
|
102
|
+
jQuery(window).resize(function () {
|
103
|
+
var newWidth = params.container.width();
|
104
|
+
var newHeight = params.container.height();
|
105
|
+
|
106
|
+
if(newWidth && newHeight){
|
107
|
+
map.width = newWidth;
|
108
|
+
map.height = newHeight;
|
109
|
+
map.resize();
|
110
|
+
map.canvas.setSize(map.width, map.height);
|
111
|
+
map.applyTransform();
|
112
|
+
|
113
|
+
var resizeEvent = jQuery.Event('resize.jqvmap');
|
114
|
+
jQuery(params.container).trigger(resizeEvent, [newWidth, newHeight]);
|
115
|
+
|
116
|
+
if(mapPins){
|
117
|
+
jQuery('.jqvmap-pin').remove();
|
118
|
+
map.pinHandlers = false;
|
119
|
+
map.placePins(mapPins.pins, mapPins.mode);
|
120
|
+
}
|
121
|
+
}
|
122
|
+
});
|
123
|
+
|
124
|
+
this.canvas = new VectorCanvas(this.width, this.height, params);
|
125
|
+
params.container.append(this.canvas.canvas);
|
126
|
+
|
127
|
+
this.makeDraggable();
|
128
|
+
|
129
|
+
this.rootGroup = this.canvas.createGroup(true);
|
130
|
+
|
131
|
+
this.index = JQVMap.mapIndex;
|
132
|
+
this.label = jQuery('<div/>').addClass('jqvmap-label').appendTo(jQuery('body')).hide();
|
133
|
+
|
134
|
+
if (params.enableZoom) {
|
135
|
+
jQuery('<div/>').addClass('jqvmap-zoomin').text('+').appendTo(params.container);
|
136
|
+
jQuery('<div/>').addClass('jqvmap-zoomout').html('−').appendTo(params.container);
|
137
|
+
}
|
138
|
+
|
139
|
+
map.countries = [];
|
140
|
+
|
141
|
+
for (var key in mapData.paths) {
|
142
|
+
var path = this.canvas.createPath({
|
143
|
+
path: mapData.paths[key].path
|
144
|
+
});
|
145
|
+
|
146
|
+
path.setFill(this.color);
|
147
|
+
path.id = map.getCountryId(key);
|
148
|
+
map.countries[key] = path;
|
149
|
+
|
150
|
+
if (this.canvas.mode === 'svg') {
|
151
|
+
path.setAttribute('class', 'jqvmap-region');
|
152
|
+
} else {
|
153
|
+
jQuery(path).addClass('jqvmap-region');
|
154
|
+
}
|
155
|
+
|
156
|
+
jQuery(this.rootGroup).append(path);
|
157
|
+
}
|
158
|
+
|
159
|
+
jQuery(params.container).delegate(this.canvas.mode === 'svg' ? 'path' : 'shape', 'mouseover mouseout', function (e) {
|
160
|
+
var containerPath = e.target,
|
161
|
+
code = e.target.id.split('_').pop(),
|
162
|
+
labelShowEvent = jQuery.Event('labelShow.jqvmap'),
|
163
|
+
regionMouseOverEvent = jQuery.Event('regionMouseOver.jqvmap');
|
164
|
+
|
165
|
+
code = code.toLowerCase();
|
166
|
+
|
167
|
+
if (e.type === 'mouseover') {
|
168
|
+
jQuery(params.container).trigger(regionMouseOverEvent, [code, mapData.paths[code].name]);
|
169
|
+
if (!regionMouseOverEvent.isDefaultPrevented()) {
|
170
|
+
map.highlight(code, containerPath);
|
171
|
+
}
|
172
|
+
if (params.showTooltip) {
|
173
|
+
map.label.text(mapData.paths[code].name);
|
174
|
+
jQuery(params.container).trigger(labelShowEvent, [map.label, code]);
|
175
|
+
|
176
|
+
if (!labelShowEvent.isDefaultPrevented()) {
|
177
|
+
map.label.show();
|
178
|
+
map.labelWidth = map.label.width();
|
179
|
+
map.labelHeight = map.label.height();
|
180
|
+
}
|
181
|
+
}
|
182
|
+
} else {
|
183
|
+
map.unhighlight(code, containerPath);
|
184
|
+
|
185
|
+
map.label.hide();
|
186
|
+
jQuery(params.container).trigger('regionMouseOut.jqvmap', [code, mapData.paths[code].name]);
|
187
|
+
}
|
188
|
+
});
|
189
|
+
|
190
|
+
jQuery(params.container).delegate(this.canvas.mode === 'svg' ? 'path' : 'shape', 'click', function (regionClickEvent) {
|
191
|
+
|
192
|
+
var targetPath = regionClickEvent.target;
|
193
|
+
var code = regionClickEvent.target.id.split('_').pop();
|
194
|
+
var mapClickEvent = jQuery.Event('regionClick.jqvmap');
|
195
|
+
|
196
|
+
code = code.toLowerCase();
|
197
|
+
|
198
|
+
jQuery(params.container).trigger(mapClickEvent, [code, mapData.paths[code].name]);
|
199
|
+
|
200
|
+
if ( !params.multiSelectRegion && !mapClickEvent.isDefaultPrevented()) {
|
201
|
+
for (var keyPath in mapData.paths) {
|
202
|
+
map.countries[keyPath].currentFillColor = map.countries[keyPath].getOriginalFill();
|
203
|
+
map.countries[keyPath].setFill(map.countries[keyPath].getOriginalFill());
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
if ( !mapClickEvent.isDefaultPrevented()) {
|
208
|
+
if (map.isSelected(code)) {
|
209
|
+
map.deselect(code, targetPath);
|
210
|
+
} else {
|
211
|
+
map.select(code, targetPath);
|
212
|
+
}
|
213
|
+
}
|
214
|
+
});
|
215
|
+
|
216
|
+
if (params.showTooltip) {
|
217
|
+
params.container.mousemove(function (e) {
|
218
|
+
if (map.label.is(':visible')) {
|
219
|
+
var left = e.pageX - 15 - map.labelWidth;
|
220
|
+
var top = e.pageY - 15 - map.labelHeight;
|
221
|
+
|
222
|
+
if(left < 0) {
|
223
|
+
left = e.pageX + 15;
|
224
|
+
}
|
225
|
+
if(top < 0) {
|
226
|
+
top = e.pageY + 15;
|
227
|
+
}
|
228
|
+
|
229
|
+
map.label.css({
|
230
|
+
left: left,
|
231
|
+
top: top
|
232
|
+
});
|
233
|
+
}
|
234
|
+
});
|
235
|
+
}
|
236
|
+
|
237
|
+
this.setColors(params.colors);
|
238
|
+
|
239
|
+
this.canvas.canvas.appendChild(this.rootGroup);
|
240
|
+
|
241
|
+
this.applyTransform();
|
242
|
+
|
243
|
+
this.colorScale = new ColorScale(params.scaleColors, params.normalizeFunction, params.valueMin, params.valueMax);
|
244
|
+
|
245
|
+
if (params.values) {
|
246
|
+
this.values = params.values;
|
247
|
+
this.setValues(params.values);
|
248
|
+
}
|
249
|
+
|
250
|
+
if (params.selectedRegions) {
|
251
|
+
if (params.selectedRegions instanceof Array) {
|
252
|
+
for(var k in params.selectedRegions) {
|
253
|
+
this.select(params.selectedRegions[k].toLowerCase());
|
254
|
+
}
|
255
|
+
} else {
|
256
|
+
this.select(params.selectedRegions.toLowerCase());
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
this.bindZoomButtons();
|
261
|
+
|
262
|
+
if(params.pins) {
|
263
|
+
mapPins = {
|
264
|
+
pins: params.pins,
|
265
|
+
mode: params.pinMode
|
266
|
+
};
|
267
|
+
|
268
|
+
this.pinHandlers = false;
|
269
|
+
this.placePins(params.pins, params.pinMode);
|
270
|
+
}
|
271
|
+
|
272
|
+
if(params.showLabels){
|
273
|
+
this.pinHandlers = false;
|
274
|
+
|
275
|
+
var pins = {};
|
276
|
+
for (key in map.countries){
|
277
|
+
if (typeof map.countries[key] !== 'function') {
|
278
|
+
if( !params.pins || !params.pins[key] ){
|
279
|
+
pins[key] = key.toUpperCase();
|
280
|
+
}
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
mapPins = {
|
285
|
+
pins: pins,
|
286
|
+
mode: 'content'
|
287
|
+
};
|
288
|
+
|
289
|
+
this.placePins(pins, 'content');
|
290
|
+
}
|
291
|
+
|
292
|
+
JQVMap.mapIndex++;
|
293
|
+
};
|
294
|
+
|
295
|
+
JQVMap.prototype = {
|
296
|
+
transX: 0,
|
297
|
+
transY: 0,
|
298
|
+
scale: 1,
|
299
|
+
baseTransX: 0,
|
300
|
+
baseTransY: 0,
|
301
|
+
baseScale: 1,
|
302
|
+
width: 0,
|
303
|
+
height: 0,
|
304
|
+
countries: {},
|
305
|
+
countriesColors: {},
|
306
|
+
countriesData: {},
|
307
|
+
zoomStep: 1.4,
|
308
|
+
zoomMaxStep: 4,
|
309
|
+
zoomCurStep: 1
|
310
|
+
};
|
311
|
+
|
312
|
+
JQVMap.xlink = 'http://www.w3.org/1999/xlink';
|
313
|
+
JQVMap.mapIndex = 1;
|
314
|
+
JQVMap.maps = {};
|
315
|
+
|
316
|
+
(function(){
|
317
|
+
|
318
|
+
var apiParams = {
|
319
|
+
colors: 1,
|
320
|
+
values: 1,
|
321
|
+
backgroundColor: 1,
|
322
|
+
scaleColors: 1,
|
323
|
+
normalizeFunction: 1,
|
324
|
+
enableZoom: 1,
|
325
|
+
showTooltip: 1,
|
326
|
+
borderColor: 1,
|
327
|
+
borderWidth: 1,
|
328
|
+
borderOpacity: 1,
|
329
|
+
selectedRegions: 1,
|
330
|
+
multiSelectRegion: 1
|
331
|
+
};
|
332
|
+
|
333
|
+
var apiEvents = {
|
334
|
+
onLabelShow: 'labelShow',
|
335
|
+
onLoad: 'load',
|
336
|
+
onRegionOver: 'regionMouseOver',
|
337
|
+
onRegionOut: 'regionMouseOut',
|
338
|
+
onRegionClick: 'regionClick',
|
339
|
+
onRegionSelect: 'regionSelect',
|
340
|
+
onRegionDeselect: 'regionDeselect',
|
341
|
+
onResize: 'resize'
|
342
|
+
};
|
343
|
+
|
344
|
+
jQuery.fn.vectorMap = function (options) {
|
345
|
+
|
346
|
+
var defaultParams = {
|
347
|
+
map: 'world_en',
|
348
|
+
backgroundColor: '#a5bfdd',
|
349
|
+
color: '#f4f3f0',
|
350
|
+
hoverColor: '#c9dfaf',
|
351
|
+
hoverColors: {},
|
352
|
+
selectedColor: '#c9dfaf',
|
353
|
+
scaleColors: ['#b6d6ff', '#005ace'],
|
354
|
+
normalizeFunction: 'linear',
|
355
|
+
enableZoom: true,
|
356
|
+
showTooltip: true,
|
357
|
+
borderColor: '#818181',
|
358
|
+
borderWidth: 1,
|
359
|
+
borderOpacity: 0.25,
|
360
|
+
selectedRegions: null,
|
361
|
+
multiSelectRegion: false
|
362
|
+
}, map = this.data('mapObject');
|
363
|
+
|
364
|
+
if (options === 'addMap') {
|
365
|
+
JQVMap.maps[arguments[1]] = arguments[2];
|
366
|
+
} else if (options === 'set' && apiParams[arguments[1]]) {
|
367
|
+
map['set' + arguments[1].charAt(0).toUpperCase() + arguments[1].substr(1)].apply(map, Array.prototype.slice.call(arguments, 2));
|
368
|
+
} else if (typeof options === 'string' &&
|
369
|
+
typeof map[options] === 'function') {
|
370
|
+
return map[options].apply(map, Array.prototype.slice.call(arguments, 1));
|
371
|
+
} else {
|
372
|
+
jQuery.extend(defaultParams, options);
|
373
|
+
defaultParams.container = this;
|
374
|
+
this.css({ position: 'relative', overflow: 'hidden' });
|
375
|
+
|
376
|
+
map = new JQVMap(defaultParams);
|
377
|
+
|
378
|
+
this.data('mapObject', map);
|
379
|
+
|
380
|
+
this.unbind('.jqvmap');
|
381
|
+
|
382
|
+
for (var e in apiEvents) {
|
383
|
+
if (defaultParams[e]) {
|
384
|
+
this.bind(apiEvents[e] + '.jqvmap', defaultParams[e]);
|
385
|
+
}
|
386
|
+
}
|
387
|
+
|
388
|
+
var loadEvent = jQuery.Event('load.jqvmap');
|
389
|
+
jQuery(defaultParams.container).trigger(loadEvent, map);
|
390
|
+
|
391
|
+
return map;
|
392
|
+
}
|
393
|
+
};
|
394
|
+
|
395
|
+
})(jQuery);
|
396
|
+
|
397
|
+
ColorScale.arrayToRgb = function (ar) {
|
398
|
+
var rgb = '#';
|
399
|
+
var d;
|
400
|
+
for (var i = 0; i < ar.length; i++) {
|
401
|
+
d = ar[i].toString(16);
|
402
|
+
rgb += d.length === 1 ? '0' + d : d;
|
403
|
+
}
|
404
|
+
return rgb;
|
405
|
+
};
|
406
|
+
|
407
|
+
ColorScale.prototype.getColor = function (value) {
|
408
|
+
if (typeof this.normalize === 'function') {
|
409
|
+
value = this.normalize(value);
|
410
|
+
}
|
411
|
+
|
412
|
+
var lengthes = [];
|
413
|
+
var fullLength = 0;
|
414
|
+
var l;
|
415
|
+
|
416
|
+
for (var i = 0; i < this.colors.length - 1; i++) {
|
417
|
+
l = this.vectorLength(this.vectorSubtract(this.colors[i + 1], this.colors[i]));
|
418
|
+
lengthes.push(l);
|
419
|
+
fullLength += l;
|
420
|
+
}
|
421
|
+
|
422
|
+
var c = (this.maxValue - this.minValue) / fullLength;
|
423
|
+
|
424
|
+
for (i = 0; i < lengthes.length; i++) {
|
425
|
+
lengthes[i] *= c;
|
426
|
+
}
|
427
|
+
|
428
|
+
i = 0;
|
429
|
+
value -= this.minValue;
|
430
|
+
|
431
|
+
while (value - lengthes[i] >= 0) {
|
432
|
+
value -= lengthes[i];
|
433
|
+
i++;
|
434
|
+
}
|
435
|
+
|
436
|
+
var color;
|
437
|
+
if (i === this.colors.length - 1) {
|
438
|
+
color = this.vectorToNum(this.colors[i]).toString(16);
|
439
|
+
} else {
|
440
|
+
color = (this.vectorToNum(this.vectorAdd(this.colors[i], this.vectorMult(this.vectorSubtract(this.colors[i + 1], this.colors[i]), (value) / (lengthes[i]))))).toString(16);
|
441
|
+
}
|
442
|
+
|
443
|
+
while (color.length < 6) {
|
444
|
+
color = '0' + color;
|
445
|
+
}
|
446
|
+
return '#' + color;
|
447
|
+
};
|
448
|
+
|
449
|
+
ColorScale.rgbToArray = function (rgb) {
|
450
|
+
rgb = rgb.substr(1);
|
451
|
+
return [parseInt(rgb.substr(0, 2), 16), parseInt(rgb.substr(2, 2), 16), parseInt(rgb.substr(4, 2), 16)];
|
452
|
+
};
|
453
|
+
|
454
|
+
ColorScale.prototype.setColors = function (colors) {
|
455
|
+
for (var i = 0; i < colors.length; i++) {
|
456
|
+
colors[i] = ColorScale.rgbToArray(colors[i]);
|
457
|
+
}
|
458
|
+
this.colors = colors;
|
459
|
+
};
|
460
|
+
|
461
|
+
ColorScale.prototype.setMax = function (max) {
|
462
|
+
this.clearMaxValue = max;
|
463
|
+
if (typeof this.normalize === 'function') {
|
464
|
+
this.maxValue = this.normalize(max);
|
465
|
+
} else {
|
466
|
+
this.maxValue = max;
|
467
|
+
}
|
468
|
+
};
|
469
|
+
|
470
|
+
ColorScale.prototype.setMin = function (min) {
|
471
|
+
this.clearMinValue = min;
|
472
|
+
|
473
|
+
if (typeof this.normalize === 'function') {
|
474
|
+
this.minValue = this.normalize(min);
|
475
|
+
} else {
|
476
|
+
this.minValue = min;
|
477
|
+
}
|
478
|
+
};
|
479
|
+
|
480
|
+
ColorScale.prototype.setNormalizeFunction = function (f) {
|
481
|
+
if (f === 'polynomial') {
|
482
|
+
this.normalize = function (value) {
|
483
|
+
return Math.pow(value, 0.2);
|
484
|
+
};
|
485
|
+
} else if (f === 'linear') {
|
486
|
+
delete this.normalize;
|
487
|
+
} else {
|
488
|
+
this.normalize = f;
|
489
|
+
}
|
490
|
+
this.setMin(this.clearMinValue);
|
491
|
+
this.setMax(this.clearMaxValue);
|
492
|
+
};
|
493
|
+
|
494
|
+
ColorScale.prototype.vectorAdd = function (vector1, vector2) {
|
495
|
+
var vector = [];
|
496
|
+
for (var i = 0; i < vector1.length; i++) {
|
497
|
+
vector[i] = vector1[i] + vector2[i];
|
498
|
+
}
|
499
|
+
return vector;
|
500
|
+
};
|
501
|
+
|
502
|
+
ColorScale.prototype.vectorLength = function (vector) {
|
503
|
+
var result = 0;
|
504
|
+
for (var i = 0; i < vector.length; i++) {
|
505
|
+
result += vector[i] * vector[i];
|
506
|
+
}
|
507
|
+
return Math.sqrt(result);
|
508
|
+
};
|
509
|
+
|
510
|
+
ColorScale.prototype.vectorMult = function (vector, num) {
|
511
|
+
var result = [];
|
512
|
+
for (var i = 0; i < vector.length; i++) {
|
513
|
+
result[i] = vector[i] * num;
|
514
|
+
}
|
515
|
+
return result;
|
516
|
+
};
|
517
|
+
|
518
|
+
ColorScale.prototype.vectorSubtract = function (vector1, vector2) {
|
519
|
+
var vector = [];
|
520
|
+
for (var i = 0; i < vector1.length; i++) {
|
521
|
+
vector[i] = vector1[i] - vector2[i];
|
522
|
+
}
|
523
|
+
return vector;
|
524
|
+
};
|
525
|
+
|
526
|
+
ColorScale.prototype.vectorToNum = function (vector) {
|
527
|
+
var num = 0;
|
528
|
+
for (var i = 0; i < vector.length; i++) {
|
529
|
+
num += Math.round(vector[i]) * Math.pow(256, vector.length - i - 1);
|
530
|
+
}
|
531
|
+
return num;
|
532
|
+
};
|
533
|
+
|
534
|
+
JQVMap.prototype.applyTransform = function () {
|
535
|
+
var maxTransX, maxTransY, minTransX, minTransY;
|
536
|
+
if (this.defaultWidth * this.scale <= this.width) {
|
537
|
+
maxTransX = (this.width - this.defaultWidth * this.scale) / (2 * this.scale);
|
538
|
+
minTransX = (this.width - this.defaultWidth * this.scale) / (2 * this.scale);
|
539
|
+
} else {
|
540
|
+
maxTransX = 0;
|
541
|
+
minTransX = (this.width - this.defaultWidth * this.scale) / this.scale;
|
542
|
+
}
|
543
|
+
|
544
|
+
if (this.defaultHeight * this.scale <= this.height) {
|
545
|
+
maxTransY = (this.height - this.defaultHeight * this.scale) / (2 * this.scale);
|
546
|
+
minTransY = (this.height - this.defaultHeight * this.scale) / (2 * this.scale);
|
547
|
+
} else {
|
548
|
+
maxTransY = 0;
|
549
|
+
minTransY = (this.height - this.defaultHeight * this.scale) / this.scale;
|
550
|
+
}
|
551
|
+
|
552
|
+
if (this.transY > maxTransY) {
|
553
|
+
this.transY = maxTransY;
|
554
|
+
} else if (this.transY < minTransY) {
|
555
|
+
this.transY = minTransY;
|
556
|
+
}
|
557
|
+
if (this.transX > maxTransX) {
|
558
|
+
this.transX = maxTransX;
|
559
|
+
} else if (this.transX < minTransX) {
|
560
|
+
this.transX = minTransX;
|
561
|
+
}
|
562
|
+
|
563
|
+
this.canvas.applyTransformParams(this.scale, this.transX, this.transY);
|
564
|
+
};
|
565
|
+
|
566
|
+
JQVMap.prototype.bindZoomButtons = function () {
|
567
|
+
var map = this;
|
568
|
+
this.container.find('.jqvmap-zoomin').click(function(){
|
569
|
+
map.zoomIn();
|
570
|
+
});
|
571
|
+
this.container.find('.jqvmap-zoomout').click(function(){
|
572
|
+
map.zoomOut();
|
573
|
+
});
|
574
|
+
};
|
575
|
+
|
576
|
+
JQVMap.prototype.deselect = function (cc, path) {
|
577
|
+
cc = cc.toLowerCase();
|
578
|
+
path = path || jQuery('#' + this.getCountryId(cc))[0];
|
579
|
+
|
580
|
+
if (this.isSelected(cc)) {
|
581
|
+
this.selectedRegions.splice(this.selectIndex(cc), 1);
|
582
|
+
|
583
|
+
jQuery(this.container).trigger('regionDeselect.jqvmap', [cc]);
|
584
|
+
path.currentFillColor = path.getOriginalFill();
|
585
|
+
path.setFill(path.getOriginalFill());
|
586
|
+
} else {
|
587
|
+
for (var key in this.countries) {
|
588
|
+
this.selectedRegions.splice(this.selectedRegions.indexOf(key), 1);
|
589
|
+
this.countries[key].currentFillColor = this.color;
|
590
|
+
this.countries[key].setFill(this.color);
|
591
|
+
}
|
592
|
+
}
|
593
|
+
};
|
594
|
+
|
595
|
+
JQVMap.prototype.getCountryId = function (cc) {
|
596
|
+
return 'jqvmap' + this.index + '_' + cc;
|
597
|
+
};
|
598
|
+
|
599
|
+
JQVMap.prototype.getPin = function(cc){
|
600
|
+
var pinObj = jQuery('#' + this.getPinId(cc));
|
601
|
+
return pinObj.html();
|
602
|
+
};
|
603
|
+
|
604
|
+
JQVMap.prototype.getPinId = function (cc) {
|
605
|
+
return this.getCountryId(cc) + '_pin';
|
606
|
+
};
|
607
|
+
|
608
|
+
JQVMap.prototype.getPins = function(){
|
609
|
+
var pins = this.container.find('.jqvmap-pin');
|
610
|
+
var ret = {};
|
611
|
+
jQuery.each(pins, function(index, pinObj){
|
612
|
+
pinObj = jQuery(pinObj);
|
613
|
+
var cc = pinObj.attr('for').toLowerCase();
|
614
|
+
var pinContent = pinObj.html();
|
615
|
+
ret[cc] = pinContent;
|
616
|
+
});
|
617
|
+
return JSON.stringify(ret);
|
618
|
+
};
|
619
|
+
|
620
|
+
JQVMap.prototype.highlight = function (cc, path) {
|
621
|
+
path = path || jQuery('#' + this.getCountryId(cc))[0];
|
622
|
+
if (this.hoverOpacity) {
|
623
|
+
path.setOpacity(this.hoverOpacity);
|
624
|
+
} else if (this.hoverColors && (cc in this.hoverColors)) {
|
625
|
+
path.currentFillColor = path.getFill() + '';
|
626
|
+
path.setFill(this.hoverColors[cc]);
|
627
|
+
} else if (this.hoverColor) {
|
628
|
+
path.currentFillColor = path.getFill() + '';
|
629
|
+
path.setFill(this.hoverColor);
|
630
|
+
}
|
631
|
+
};
|
632
|
+
|
633
|
+
JQVMap.prototype.isSelected = function(cc) {
|
634
|
+
return this.selectIndex(cc) >= 0;
|
635
|
+
};
|
636
|
+
|
637
|
+
JQVMap.prototype.makeDraggable = function () {
|
638
|
+
var mouseDown = false;
|
639
|
+
var oldPageX, oldPageY;
|
640
|
+
var self = this;
|
641
|
+
|
642
|
+
self.isMoving = false;
|
643
|
+
self.isMovingTimeout = false;
|
644
|
+
|
645
|
+
var lastTouchCount;
|
646
|
+
var touchCenterX;
|
647
|
+
var touchCenterY;
|
648
|
+
var touchStartDistance;
|
649
|
+
var touchStartScale;
|
650
|
+
var touchX;
|
651
|
+
var touchY;
|
652
|
+
|
653
|
+
this.container.mousemove(function (e) {
|
654
|
+
|
655
|
+
if (mouseDown) {
|
656
|
+
self.transX -= (oldPageX - e.pageX) / self.scale;
|
657
|
+
self.transY -= (oldPageY - e.pageY) / self.scale;
|
658
|
+
|
659
|
+
self.applyTransform();
|
660
|
+
|
661
|
+
oldPageX = e.pageX;
|
662
|
+
oldPageY = e.pageY;
|
663
|
+
|
664
|
+
self.isMoving = true;
|
665
|
+
if (self.isMovingTimeout) {
|
666
|
+
clearTimeout(self.isMovingTimeout);
|
667
|
+
}
|
668
|
+
|
669
|
+
self.container.trigger('drag');
|
670
|
+
}
|
671
|
+
|
672
|
+
return false;
|
673
|
+
|
674
|
+
}).mousedown(function (e) {
|
675
|
+
|
676
|
+
mouseDown = true;
|
677
|
+
oldPageX = e.pageX;
|
678
|
+
oldPageY = e.pageY;
|
679
|
+
|
680
|
+
return false;
|
681
|
+
|
682
|
+
}).mouseup(function () {
|
683
|
+
|
684
|
+
mouseDown = false;
|
685
|
+
|
686
|
+
clearTimeout(self.isMovingTimeout);
|
687
|
+
self.isMovingTimeout = setTimeout(function () {
|
688
|
+
self.isMoving = false;
|
689
|
+
}, 100);
|
690
|
+
|
691
|
+
return false;
|
692
|
+
|
693
|
+
}).mouseout(function () {
|
694
|
+
|
695
|
+
if(mouseDown && self.isMoving){
|
696
|
+
|
697
|
+
clearTimeout(self.isMovingTimeout);
|
698
|
+
self.isMovingTimeout = setTimeout(function () {
|
699
|
+
mouseDown = false;
|
700
|
+
self.isMoving = false;
|
701
|
+
}, 100);
|
702
|
+
|
703
|
+
return false;
|
704
|
+
}
|
705
|
+
});
|
706
|
+
|
707
|
+
jQuery(this.container).bind('touchmove', function (e) {
|
708
|
+
|
709
|
+
var offset;
|
710
|
+
var scale;
|
711
|
+
var touches = e.originalEvent.touches;
|
712
|
+
var transformXOld;
|
713
|
+
var transformYOld;
|
714
|
+
|
715
|
+
if (touches.length === 1) {
|
716
|
+
if (lastTouchCount === 1) {
|
717
|
+
|
718
|
+
if(touchX === touches[0].pageX && touchY === touches[0].pageY){
|
719
|
+
return;
|
720
|
+
}
|
721
|
+
|
722
|
+
transformXOld = self.transX;
|
723
|
+
transformYOld = self.transY;
|
724
|
+
|
725
|
+
self.transX -= (touchX - touches[0].pageX) / self.scale;
|
726
|
+
self.transY -= (touchY - touches[0].pageY) / self.scale;
|
727
|
+
|
728
|
+
self.applyTransform();
|
729
|
+
|
730
|
+
if (transformXOld !== self.transX || transformYOld !== self.transY) {
|
731
|
+
e.preventDefault();
|
732
|
+
}
|
733
|
+
|
734
|
+
self.isMoving = true;
|
735
|
+
if (self.isMovingTimeout) {
|
736
|
+
clearTimeout(self.isMovingTimeout);
|
737
|
+
}
|
738
|
+
}
|
739
|
+
|
740
|
+
touchX = touches[0].pageX;
|
741
|
+
touchY = touches[0].pageY;
|
742
|
+
|
743
|
+
} else if (touches.length === 2) {
|
744
|
+
|
745
|
+
if (lastTouchCount === 2) {
|
746
|
+
scale = Math.sqrt(
|
747
|
+
Math.pow(touches[0].pageX - touches[1].pageX, 2) +
|
748
|
+
Math.pow(touches[0].pageY - touches[1].pageY, 2)
|
749
|
+
) / touchStartDistance;
|
750
|
+
|
751
|
+
self.setScale(
|
752
|
+
touchStartScale * scale,
|
753
|
+
touchCenterX,
|
754
|
+
touchCenterY
|
755
|
+
);
|
756
|
+
|
757
|
+
e.preventDefault();
|
758
|
+
|
759
|
+
} else {
|
760
|
+
|
761
|
+
offset = jQuery(self.container).offset();
|
762
|
+
if (touches[0].pageX > touches[1].pageX) {
|
763
|
+
touchCenterX = touches[1].pageX + (touches[0].pageX - touches[1].pageX) / 2;
|
764
|
+
} else {
|
765
|
+
touchCenterX = touches[0].pageX + (touches[1].pageX - touches[0].pageX) / 2;
|
766
|
+
}
|
767
|
+
|
768
|
+
if (touches[0].pageY > touches[1].pageY) {
|
769
|
+
touchCenterY = touches[1].pageY + (touches[0].pageY - touches[1].pageY) / 2;
|
770
|
+
} else {
|
771
|
+
touchCenterY = touches[0].pageY + (touches[1].pageY - touches[0].pageY) / 2;
|
772
|
+
}
|
773
|
+
|
774
|
+
touchCenterX -= offset.left;
|
775
|
+
touchCenterY -= offset.top;
|
776
|
+
touchStartScale = self.scale;
|
777
|
+
|
778
|
+
touchStartDistance = Math.sqrt(
|
779
|
+
Math.pow(touches[0].pageX - touches[1].pageX, 2) +
|
780
|
+
Math.pow(touches[0].pageY - touches[1].pageY, 2)
|
781
|
+
);
|
782
|
+
}
|
783
|
+
}
|
784
|
+
|
785
|
+
lastTouchCount = touches.length;
|
786
|
+
});
|
787
|
+
|
788
|
+
jQuery(this.container).bind('touchstart', function () {
|
789
|
+
lastTouchCount = 0;
|
790
|
+
});
|
791
|
+
|
792
|
+
jQuery(this.container).bind('touchend', function () {
|
793
|
+
lastTouchCount = 0;
|
794
|
+
});
|
795
|
+
};
|
796
|
+
|
797
|
+
JQVMap.prototype.placePins = function(pins, pinMode){
|
798
|
+
var map = this;
|
799
|
+
|
800
|
+
if(!pinMode || (pinMode !== 'content' && pinMode !== 'id')) {
|
801
|
+
pinMode = 'content';
|
802
|
+
}
|
803
|
+
|
804
|
+
if(pinMode === 'content') {//treat pin as content
|
805
|
+
jQuery.each(pins, function(index, pin){
|
806
|
+
if(jQuery('#' + map.getCountryId(index)).length === 0){
|
807
|
+
return;
|
808
|
+
}
|
809
|
+
|
810
|
+
var pinIndex = map.getPinId(index);
|
811
|
+
var $pin = jQuery('#' + pinIndex);
|
812
|
+
if($pin.length > 0){
|
813
|
+
$pin.remove();
|
814
|
+
}
|
815
|
+
map.container.append('<div id="' + pinIndex + '" for="' + index + '" class="jqvmap-pin" style="position:absolute">' + pin + '</div>');
|
816
|
+
});
|
817
|
+
} else { //treat pin as id of an html content
|
818
|
+
jQuery.each(pins, function(index, pin){
|
819
|
+
if(jQuery('#' + map.getCountryId(index)).length === 0){
|
820
|
+
return;
|
821
|
+
}
|
822
|
+
var pinIndex = map.getPinId(index);
|
823
|
+
var $pin = jQuery('#' + pinIndex);
|
824
|
+
if($pin.length > 0){
|
825
|
+
$pin.remove();
|
826
|
+
}
|
827
|
+
map.container.append('<div id="' + pinIndex + '" for="' + index + '" class="jqvmap-pin" style="position:absolute"></div>');
|
828
|
+
$pin.append(jQuery('#' + pin));
|
829
|
+
});
|
830
|
+
}
|
831
|
+
|
832
|
+
this.positionPins();
|
833
|
+
if(!this.pinHandlers){
|
834
|
+
this.pinHandlers = true;
|
835
|
+
var positionFix = function(){
|
836
|
+
map.positionPins();
|
837
|
+
};
|
838
|
+
this.container.bind('zoomIn', positionFix)
|
839
|
+
.bind('zoomOut', positionFix)
|
840
|
+
.bind('drag', positionFix);
|
841
|
+
}
|
842
|
+
};
|
843
|
+
|
844
|
+
JQVMap.prototype.positionPins = function(){
|
845
|
+
var map = this;
|
846
|
+
var pins = this.container.find('.jqvmap-pin');
|
847
|
+
jQuery.each(pins, function(index, pinObj){
|
848
|
+
pinObj = jQuery(pinObj);
|
849
|
+
var countryId = map.getCountryId(pinObj.attr('for').toLowerCase());
|
850
|
+
var countryObj = jQuery('#' + countryId);
|
851
|
+
|
852
|
+
var bbox = document.getElementById(countryId).getBBox();
|
853
|
+
var position = countryObj.position();
|
854
|
+
|
855
|
+
var scale = map.scale;
|
856
|
+
|
857
|
+
var left = position.left + (bbox.width / 2) * scale - pinObj.width() / 2,
|
858
|
+
top = position.top + (bbox.height / 2) * scale - pinObj.height() / 2;
|
859
|
+
|
860
|
+
pinObj.css('left', left).css('top', top);
|
861
|
+
});
|
862
|
+
};
|
863
|
+
|
864
|
+
JQVMap.prototype.removePin = function(cc) {
|
865
|
+
cc = cc.toLowerCase();
|
866
|
+
jQuery('#' + this.getPinId(cc)).remove();
|
867
|
+
};
|
868
|
+
|
869
|
+
JQVMap.prototype.removePins = function(){
|
870
|
+
this.container.find('.jqvmap-pin').remove();
|
871
|
+
};
|
872
|
+
|
873
|
+
JQVMap.prototype.reset = function () {
|
874
|
+
for (var key in this.countries) {
|
875
|
+
this.countries[key].setFill(this.color);
|
876
|
+
}
|
877
|
+
this.scale = this.baseScale;
|
878
|
+
this.transX = this.baseTransX;
|
879
|
+
this.transY = this.baseTransY;
|
880
|
+
this.applyTransform();
|
881
|
+
};
|
882
|
+
|
883
|
+
JQVMap.prototype.resize = function () {
|
884
|
+
var curBaseScale = this.baseScale;
|
885
|
+
if (this.width / this.height > this.defaultWidth / this.defaultHeight) {
|
886
|
+
this.baseScale = this.height / this.defaultHeight;
|
887
|
+
this.baseTransX = Math.abs(this.width - this.defaultWidth * this.baseScale) / (2 * this.baseScale);
|
888
|
+
} else {
|
889
|
+
this.baseScale = this.width / this.defaultWidth;
|
890
|
+
this.baseTransY = Math.abs(this.height - this.defaultHeight * this.baseScale) / (2 * this.baseScale);
|
891
|
+
}
|
892
|
+
this.scale *= this.baseScale / curBaseScale;
|
893
|
+
this.transX *= this.baseScale / curBaseScale;
|
894
|
+
this.transY *= this.baseScale / curBaseScale;
|
895
|
+
};
|
896
|
+
|
897
|
+
JQVMap.prototype.select = function (cc, path) {
|
898
|
+
cc = cc.toLowerCase();
|
899
|
+
path = path || jQuery('#' + this.getCountryId(cc))[0];
|
900
|
+
|
901
|
+
if (!this.isSelected(cc)) {
|
902
|
+
if (this.multiSelectRegion) {
|
903
|
+
this.selectedRegions.push(cc);
|
904
|
+
} else {
|
905
|
+
this.selectedRegions = [cc];
|
906
|
+
}
|
907
|
+
|
908
|
+
jQuery(this.container).trigger('regionSelect.jqvmap', [cc]);
|
909
|
+
if (this.selectedColor && path) {
|
910
|
+
path.currentFillColor = this.selectedColor;
|
911
|
+
path.setFill(this.selectedColor);
|
912
|
+
}
|
913
|
+
}
|
914
|
+
};
|
915
|
+
|
916
|
+
JQVMap.prototype.selectIndex = function (cc) {
|
917
|
+
cc = cc.toLowerCase();
|
918
|
+
for (var i = 0; i < this.selectedRegions.length; i++) {
|
919
|
+
if (cc === this.selectedRegions[i]) {
|
920
|
+
return i;
|
921
|
+
}
|
922
|
+
}
|
923
|
+
return -1;
|
924
|
+
};
|
925
|
+
|
926
|
+
JQVMap.prototype.setBackgroundColor = function (backgroundColor) {
|
927
|
+
this.container.css('background-color', backgroundColor);
|
928
|
+
};
|
929
|
+
|
930
|
+
JQVMap.prototype.setColors = function (key, color) {
|
931
|
+
if (typeof key === 'string') {
|
932
|
+
this.countries[key].setFill(color);
|
933
|
+
this.countries[key].setAttribute('original', color);
|
934
|
+
} else {
|
935
|
+
var colors = key;
|
936
|
+
|
937
|
+
for (var code in colors) {
|
938
|
+
if (this.countries[code]) {
|
939
|
+
this.countries[code].setFill(colors[code]);
|
940
|
+
this.countries[code].setAttribute('original', colors[code]);
|
941
|
+
}
|
942
|
+
}
|
943
|
+
}
|
944
|
+
};
|
945
|
+
|
946
|
+
JQVMap.prototype.setNormalizeFunction = function (f) {
|
947
|
+
this.colorScale.setNormalizeFunction(f);
|
948
|
+
|
949
|
+
if (this.values) {
|
950
|
+
this.setValues(this.values);
|
951
|
+
}
|
952
|
+
};
|
953
|
+
|
954
|
+
JQVMap.prototype.setScale = function (scale) {
|
955
|
+
this.scale = scale;
|
956
|
+
this.applyTransform();
|
957
|
+
};
|
958
|
+
|
959
|
+
JQVMap.prototype.setScaleColors = function (colors) {
|
960
|
+
this.colorScale.setColors(colors);
|
961
|
+
|
962
|
+
if (this.values) {
|
963
|
+
this.setValues(this.values);
|
964
|
+
}
|
965
|
+
};
|
966
|
+
|
967
|
+
JQVMap.prototype.setValues = function (values) {
|
968
|
+
var max = 0,
|
969
|
+
min = Number.MAX_VALUE,
|
970
|
+
val;
|
971
|
+
|
972
|
+
for (var cc in values) {
|
973
|
+
cc = cc.toLowerCase();
|
974
|
+
val = parseFloat(values[cc]);
|
975
|
+
|
976
|
+
if (isNaN(val)) {
|
977
|
+
continue;
|
978
|
+
}
|
979
|
+
if (val > max) {
|
980
|
+
max = values[cc];
|
981
|
+
}
|
982
|
+
if (val < min) {
|
983
|
+
min = val;
|
984
|
+
}
|
985
|
+
}
|
986
|
+
|
987
|
+
if (min === max) {
|
988
|
+
max++;
|
989
|
+
}
|
990
|
+
|
991
|
+
this.colorScale.setMin(min);
|
992
|
+
this.colorScale.setMax(max);
|
993
|
+
|
994
|
+
var colors = {};
|
995
|
+
for (cc in values) {
|
996
|
+
cc = cc.toLowerCase();
|
997
|
+
val = parseFloat(values[cc]);
|
998
|
+
colors[cc] = isNaN(val) ? this.color : this.colorScale.getColor(val);
|
999
|
+
}
|
1000
|
+
this.setColors(colors);
|
1001
|
+
this.values = values;
|
1002
|
+
};
|
1003
|
+
|
1004
|
+
JQVMap.prototype.unhighlight = function (cc, path) {
|
1005
|
+
cc = cc.toLowerCase();
|
1006
|
+
path = path || jQuery('#' + this.getCountryId(cc))[0];
|
1007
|
+
path.setOpacity(1);
|
1008
|
+
if (path.currentFillColor) {
|
1009
|
+
path.setFill(path.currentFillColor);
|
1010
|
+
}
|
1011
|
+
};
|
1012
|
+
|
1013
|
+
JQVMap.prototype.zoomIn = function () {
|
1014
|
+
var map = this;
|
1015
|
+
var sliderDelta = (jQuery('#zoom').innerHeight() - 6 * 2 - 15 * 2 - 3 * 2 - 7 - 6) / (this.zoomMaxStep - this.zoomCurStep);
|
1016
|
+
|
1017
|
+
if (map.zoomCurStep < map.zoomMaxStep) {
|
1018
|
+
map.transX -= (map.width / map.scale - map.width / (map.scale * map.zoomStep)) / 2;
|
1019
|
+
map.transY -= (map.height / map.scale - map.height / (map.scale * map.zoomStep)) / 2;
|
1020
|
+
map.setScale(map.scale * map.zoomStep);
|
1021
|
+
map.zoomCurStep++;
|
1022
|
+
|
1023
|
+
var $slider = jQuery('#zoomSlider');
|
1024
|
+
|
1025
|
+
$slider.css('top', parseInt($slider.css('top'), 10) - sliderDelta);
|
1026
|
+
|
1027
|
+
map.container.trigger('zoomIn');
|
1028
|
+
}
|
1029
|
+
};
|
1030
|
+
|
1031
|
+
JQVMap.prototype.zoomOut = function () {
|
1032
|
+
var map = this;
|
1033
|
+
var sliderDelta = (jQuery('#zoom').innerHeight() - 6 * 2 - 15 * 2 - 3 * 2 - 7 - 6) / (this.zoomMaxStep - this.zoomCurStep);
|
1034
|
+
|
1035
|
+
if (map.zoomCurStep > 1) {
|
1036
|
+
map.transX += (map.width / (map.scale / map.zoomStep) - map.width / map.scale) / 2;
|
1037
|
+
map.transY += (map.height / (map.scale / map.zoomStep) - map.height / map.scale) / 2;
|
1038
|
+
map.setScale(map.scale / map.zoomStep);
|
1039
|
+
map.zoomCurStep--;
|
1040
|
+
|
1041
|
+
var $slider = jQuery('#zoomSlider');
|
1042
|
+
|
1043
|
+
$slider.css('top', parseInt($slider.css('top'), 10) + sliderDelta);
|
1044
|
+
|
1045
|
+
map.container.trigger('zoomOut');
|
1046
|
+
}
|
1047
|
+
};
|
1048
|
+
|
1049
|
+
VectorCanvas.prototype.applyTransformParams = function (scale, transX, transY) {
|
1050
|
+
if (this.mode === 'svg') {
|
1051
|
+
this.rootGroup.setAttribute('transform', 'scale(' + scale + ') translate(' + transX + ', ' + transY + ')');
|
1052
|
+
} else {
|
1053
|
+
this.rootGroup.coordorigin = (this.width - transX) + ',' + (this.height - transY);
|
1054
|
+
this.rootGroup.coordsize = this.width / scale + ',' + this.height / scale;
|
1055
|
+
}
|
1056
|
+
};
|
1057
|
+
|
1058
|
+
VectorCanvas.prototype.createGroup = function (isRoot) {
|
1059
|
+
var node;
|
1060
|
+
if (this.mode === 'svg') {
|
1061
|
+
node = this.createSvgNode('g');
|
1062
|
+
} else {
|
1063
|
+
node = this.createVmlNode('group');
|
1064
|
+
node.style.width = this.width + 'px';
|
1065
|
+
node.style.height = this.height + 'px';
|
1066
|
+
node.style.left = '0px';
|
1067
|
+
node.style.top = '0px';
|
1068
|
+
node.coordorigin = '0 0';
|
1069
|
+
node.coordsize = this.width + ' ' + this.height;
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
if (isRoot) {
|
1073
|
+
this.rootGroup = node;
|
1074
|
+
}
|
1075
|
+
return node;
|
1076
|
+
};
|
1077
|
+
|
1078
|
+
VectorCanvas.prototype.createPath = function (config) {
|
1079
|
+
var node;
|
1080
|
+
if (this.mode === 'svg') {
|
1081
|
+
node = this.createSvgNode('path');
|
1082
|
+
node.setAttribute('d', config.path);
|
1083
|
+
|
1084
|
+
if (this.params.borderColor !== null) {
|
1085
|
+
node.setAttribute('stroke', this.params.borderColor);
|
1086
|
+
}
|
1087
|
+
if (this.params.borderWidth > 0) {
|
1088
|
+
node.setAttribute('stroke-width', this.params.borderWidth);
|
1089
|
+
node.setAttribute('stroke-linecap', 'round');
|
1090
|
+
node.setAttribute('stroke-linejoin', 'round');
|
1091
|
+
}
|
1092
|
+
if (this.params.borderOpacity > 0) {
|
1093
|
+
node.setAttribute('stroke-opacity', this.params.borderOpacity);
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
node.setFill = function (color) {
|
1097
|
+
this.setAttribute('fill', color);
|
1098
|
+
if (this.getAttribute('original') === null) {
|
1099
|
+
this.setAttribute('original', color);
|
1100
|
+
}
|
1101
|
+
};
|
1102
|
+
|
1103
|
+
node.getFill = function () {
|
1104
|
+
return this.getAttribute('fill');
|
1105
|
+
};
|
1106
|
+
|
1107
|
+
node.getOriginalFill = function () {
|
1108
|
+
return this.getAttribute('original');
|
1109
|
+
};
|
1110
|
+
|
1111
|
+
node.setOpacity = function (opacity) {
|
1112
|
+
this.setAttribute('fill-opacity', opacity);
|
1113
|
+
};
|
1114
|
+
} else {
|
1115
|
+
node = this.createVmlNode('shape');
|
1116
|
+
node.coordorigin = '0 0';
|
1117
|
+
node.coordsize = this.width + ' ' + this.height;
|
1118
|
+
node.style.width = this.width + 'px';
|
1119
|
+
node.style.height = this.height + 'px';
|
1120
|
+
node.fillcolor = JQVMap.defaultFillColor;
|
1121
|
+
node.stroked = false;
|
1122
|
+
node.path = VectorCanvas.pathSvgToVml(config.path);
|
1123
|
+
|
1124
|
+
var scale = this.createVmlNode('skew');
|
1125
|
+
scale.on = true;
|
1126
|
+
scale.matrix = '0.01,0,0,0.01,0,0';
|
1127
|
+
scale.offset = '0,0';
|
1128
|
+
|
1129
|
+
node.appendChild(scale);
|
1130
|
+
|
1131
|
+
var fill = this.createVmlNode('fill');
|
1132
|
+
node.appendChild(fill);
|
1133
|
+
|
1134
|
+
node.setFill = function (color) {
|
1135
|
+
this.getElementsByTagName('fill')[0].color = color;
|
1136
|
+
if (this.getAttribute('original') === null) {
|
1137
|
+
this.setAttribute('original', color);
|
1138
|
+
}
|
1139
|
+
};
|
1140
|
+
|
1141
|
+
node.getFill = function () {
|
1142
|
+
return this.getElementsByTagName('fill')[0].color;
|
1143
|
+
};
|
1144
|
+
node.getOriginalFill = function () {
|
1145
|
+
return this.getAttribute('original');
|
1146
|
+
};
|
1147
|
+
node.setOpacity = function (opacity) {
|
1148
|
+
this.getElementsByTagName('fill')[0].opacity = parseInt(opacity * 100, 10) + '%';
|
1149
|
+
};
|
1150
|
+
}
|
1151
|
+
return node;
|
1152
|
+
};
|
1153
|
+
|
1154
|
+
VectorCanvas.prototype.pathSvgToVml = function (path) {
|
1155
|
+
var result = '';
|
1156
|
+
var cx = 0, cy = 0, ctrlx, ctrly;
|
1157
|
+
|
1158
|
+
return path.replace(/([MmLlHhVvCcSs])((?:-?(?:\d+)?(?:\.\d+)?,?\s?)+)/g, function (segment, letter, coords) {
|
1159
|
+
coords = coords.replace(/(\d)-/g, '$1,-').replace(/\s+/g, ',').split(',');
|
1160
|
+
if (!coords[0]) {
|
1161
|
+
coords.shift();
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
for (var i = 0, l = coords.length; i < l; i++) {
|
1165
|
+
coords[i] = Math.round(100 * coords[i]);
|
1166
|
+
}
|
1167
|
+
|
1168
|
+
switch (letter) {
|
1169
|
+
case 'm':
|
1170
|
+
cx += coords[0];
|
1171
|
+
cy += coords[1];
|
1172
|
+
result = 't' + coords.join(',');
|
1173
|
+
break;
|
1174
|
+
|
1175
|
+
case 'M':
|
1176
|
+
cx = coords[0];
|
1177
|
+
cy = coords[1];
|
1178
|
+
result = 'm' + coords.join(',');
|
1179
|
+
break;
|
1180
|
+
|
1181
|
+
case 'l':
|
1182
|
+
cx += coords[0];
|
1183
|
+
cy += coords[1];
|
1184
|
+
result = 'r' + coords.join(',');
|
1185
|
+
break;
|
1186
|
+
|
1187
|
+
case 'L':
|
1188
|
+
cx = coords[0];
|
1189
|
+
cy = coords[1];
|
1190
|
+
result = 'l' + coords.join(',');
|
1191
|
+
break;
|
1192
|
+
|
1193
|
+
case 'h':
|
1194
|
+
cx += coords[0];
|
1195
|
+
result = 'r' + coords[0] + ',0';
|
1196
|
+
break;
|
1197
|
+
|
1198
|
+
case 'H':
|
1199
|
+
cx = coords[0];
|
1200
|
+
result = 'l' + cx + ',' + cy;
|
1201
|
+
break;
|
1202
|
+
|
1203
|
+
case 'v':
|
1204
|
+
cy += coords[0];
|
1205
|
+
result = 'r0,' + coords[0];
|
1206
|
+
break;
|
1207
|
+
|
1208
|
+
case 'V':
|
1209
|
+
cy = coords[0];
|
1210
|
+
result = 'l' + cx + ',' + cy;
|
1211
|
+
break;
|
1212
|
+
|
1213
|
+
case 'c':
|
1214
|
+
ctrlx = cx + coords[coords.length - 4];
|
1215
|
+
ctrly = cy + coords[coords.length - 3];
|
1216
|
+
cx += coords[coords.length - 2];
|
1217
|
+
cy += coords[coords.length - 1];
|
1218
|
+
result = 'v' + coords.join(',');
|
1219
|
+
break;
|
1220
|
+
|
1221
|
+
case 'C':
|
1222
|
+
ctrlx = coords[coords.length - 4];
|
1223
|
+
ctrly = coords[coords.length - 3];
|
1224
|
+
cx = coords[coords.length - 2];
|
1225
|
+
cy = coords[coords.length - 1];
|
1226
|
+
result = 'c' + coords.join(',');
|
1227
|
+
break;
|
1228
|
+
|
1229
|
+
case 's':
|
1230
|
+
coords.unshift(cy - ctrly);
|
1231
|
+
coords.unshift(cx - ctrlx);
|
1232
|
+
ctrlx = cx + coords[coords.length - 4];
|
1233
|
+
ctrly = cy + coords[coords.length - 3];
|
1234
|
+
cx += coords[coords.length - 2];
|
1235
|
+
cy += coords[coords.length - 1];
|
1236
|
+
result = 'v' + coords.join(',');
|
1237
|
+
break;
|
1238
|
+
|
1239
|
+
case 'S':
|
1240
|
+
coords.unshift(cy + cy - ctrly);
|
1241
|
+
coords.unshift(cx + cx - ctrlx);
|
1242
|
+
ctrlx = coords[coords.length - 4];
|
1243
|
+
ctrly = coords[coords.length - 3];
|
1244
|
+
cx = coords[coords.length - 2];
|
1245
|
+
cy = coords[coords.length - 1];
|
1246
|
+
result = 'c' + coords.join(',');
|
1247
|
+
break;
|
1248
|
+
|
1249
|
+
default:
|
1250
|
+
break;
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
return result;
|
1254
|
+
|
1255
|
+
}).replace(/z/g, '');
|
1256
|
+
};
|
1257
|
+
|
1258
|
+
VectorCanvas.prototype.setSize = function (width, height) {
|
1259
|
+
if (this.mode === 'svg') {
|
1260
|
+
this.canvas.setAttribute('width', width);
|
1261
|
+
this.canvas.setAttribute('height', height);
|
1262
|
+
} else {
|
1263
|
+
this.canvas.style.width = width + 'px';
|
1264
|
+
this.canvas.style.height = height + 'px';
|
1265
|
+
this.canvas.coordsize = width + ' ' + height;
|
1266
|
+
this.canvas.coordorigin = '0 0';
|
1267
|
+
if (this.rootGroup) {
|
1268
|
+
var paths = this.rootGroup.getElementsByTagName('shape');
|
1269
|
+
for (var i = 0, l = paths.length; i < l; i++) {
|
1270
|
+
paths[i].coordsize = width + ' ' + height;
|
1271
|
+
paths[i].style.width = width + 'px';
|
1272
|
+
paths[i].style.height = height + 'px';
|
1273
|
+
}
|
1274
|
+
this.rootGroup.coordsize = width + ' ' + height;
|
1275
|
+
this.rootGroup.style.width = width + 'px';
|
1276
|
+
this.rootGroup.style.height = height + 'px';
|
1277
|
+
}
|
1278
|
+
}
|
1279
|
+
this.width = width;
|
1280
|
+
this.height = height;
|
1281
|
+
};
|