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,1428 @@
|
|
1
|
+
// Copyright 2006 Google Inc.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
// Known Issues:
|
17
|
+
//
|
18
|
+
// * Patterns only support repeat.
|
19
|
+
// * Radial gradient are not implemented. The VML version of these look very
|
20
|
+
// different from the canvas one.
|
21
|
+
// * Clipping paths are not implemented.
|
22
|
+
// * Coordsize. The width and height attribute have higher priority than the
|
23
|
+
// width and height style values which isn't correct.
|
24
|
+
// * Painting mode isn't implemented.
|
25
|
+
// * Canvas width/height should is using content-box by default. IE in
|
26
|
+
// Quirks mode will draw the canvas using border-box. Either change your
|
27
|
+
// doctype to HTML5
|
28
|
+
// (http://www.whatwg.org/specs/web-apps/current-work/#the-doctype)
|
29
|
+
// or use Box Sizing Behavior from WebFX
|
30
|
+
// (http://webfx.eae.net/dhtml/boxsizing/boxsizing.html)
|
31
|
+
// * Non uniform scaling does not correctly scale strokes.
|
32
|
+
// * Filling very large shapes (above 5000 points) is buggy.
|
33
|
+
// * Optimize. There is always room for speed improvements.
|
34
|
+
|
35
|
+
// Only add this code if we do not already have a canvas implementation
|
36
|
+
if (!document.createElement('canvas').getContext) {
|
37
|
+
|
38
|
+
(function() {
|
39
|
+
|
40
|
+
// alias some functions to make (compiled) code shorter
|
41
|
+
var m = Math;
|
42
|
+
var mr = m.round;
|
43
|
+
var ms = m.sin;
|
44
|
+
var mc = m.cos;
|
45
|
+
var abs = m.abs;
|
46
|
+
var sqrt = m.sqrt;
|
47
|
+
|
48
|
+
// this is used for sub pixel precision
|
49
|
+
var Z = 10;
|
50
|
+
var Z2 = Z / 2;
|
51
|
+
|
52
|
+
var IE_VERSION = +navigator.userAgent.match(/MSIE ([\d.]+)?/)[1];
|
53
|
+
|
54
|
+
/**
|
55
|
+
* This funtion is assigned to the <canvas> elements as element.getContext().
|
56
|
+
* @this {HTMLElement}
|
57
|
+
* @return {CanvasRenderingContext2D_}
|
58
|
+
*/
|
59
|
+
function getContext() {
|
60
|
+
return this.context_ ||
|
61
|
+
(this.context_ = new CanvasRenderingContext2D_(this));
|
62
|
+
}
|
63
|
+
|
64
|
+
var slice = Array.prototype.slice;
|
65
|
+
|
66
|
+
/**
|
67
|
+
* Binds a function to an object. The returned function will always use the
|
68
|
+
* passed in {@code obj} as {@code this}.
|
69
|
+
*
|
70
|
+
* Example:
|
71
|
+
*
|
72
|
+
* g = bind(f, obj, a, b)
|
73
|
+
* g(c, d) // will do f.call(obj, a, b, c, d)
|
74
|
+
*
|
75
|
+
* @param {Function} f The function to bind the object to
|
76
|
+
* @param {Object} obj The object that should act as this when the function
|
77
|
+
* is called
|
78
|
+
* @param {*} var_args Rest arguments that will be used as the initial
|
79
|
+
* arguments when the function is called
|
80
|
+
* @return {Function} A new function that has bound this
|
81
|
+
*/
|
82
|
+
function bind(f, obj, var_args) {
|
83
|
+
var a = slice.call(arguments, 2);
|
84
|
+
return function() {
|
85
|
+
return f.apply(obj, a.concat(slice.call(arguments)));
|
86
|
+
};
|
87
|
+
}
|
88
|
+
|
89
|
+
function encodeHtmlAttribute(s) {
|
90
|
+
return String(s).replace(/&/g, '&').replace(/"/g, '"');
|
91
|
+
}
|
92
|
+
|
93
|
+
function addNamespace(doc, prefix, urn) {
|
94
|
+
if (!doc.namespaces[prefix]) {
|
95
|
+
doc.namespaces.add(prefix, urn, '#default#VML');
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
function addNamespacesAndStylesheet(doc) {
|
100
|
+
addNamespace(doc, 'g_vml_', 'urn:schemas-microsoft-com:vml');
|
101
|
+
addNamespace(doc, 'g_o_', 'urn:schemas-microsoft-com:office:office');
|
102
|
+
|
103
|
+
// Setup default CSS. Only add one style sheet per document
|
104
|
+
if (!doc.styleSheets['ex_canvas_']) {
|
105
|
+
var ss = doc.createStyleSheet();
|
106
|
+
ss.owningElement.id = 'ex_canvas_';
|
107
|
+
ss.cssText = 'canvas{display:inline-block;overflow:hidden;' +
|
108
|
+
// default size is 300x150 in Gecko and Opera
|
109
|
+
'text-align:left;width:300px;height:150px}';
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
// Add namespaces and stylesheet at startup.
|
114
|
+
addNamespacesAndStylesheet(document);
|
115
|
+
|
116
|
+
var G_vmlCanvasManager_ = {
|
117
|
+
init: function(opt_doc) {
|
118
|
+
var doc = opt_doc || document;
|
119
|
+
// Create a dummy element so that IE will allow canvas elements to be
|
120
|
+
// recognized.
|
121
|
+
doc.createElement('canvas');
|
122
|
+
doc.attachEvent('onreadystatechange', bind(this.init_, this, doc));
|
123
|
+
},
|
124
|
+
|
125
|
+
init_: function(doc) {
|
126
|
+
// find all canvas elements
|
127
|
+
var els = doc.getElementsByTagName('canvas');
|
128
|
+
for (var i = 0; i < els.length; i++) {
|
129
|
+
this.initElement(els[i]);
|
130
|
+
}
|
131
|
+
},
|
132
|
+
|
133
|
+
/**
|
134
|
+
* Public initializes a canvas element so that it can be used as canvas
|
135
|
+
* element from now on. This is called automatically before the page is
|
136
|
+
* loaded but if you are creating elements using createElement you need to
|
137
|
+
* make sure this is called on the element.
|
138
|
+
* @param {HTMLElement} el The canvas element to initialize.
|
139
|
+
* @return {HTMLElement} the element that was created.
|
140
|
+
*/
|
141
|
+
initElement: function(el) {
|
142
|
+
if (!el.getContext) {
|
143
|
+
el.getContext = getContext;
|
144
|
+
|
145
|
+
// Add namespaces and stylesheet to document of the element.
|
146
|
+
addNamespacesAndStylesheet(el.ownerDocument);
|
147
|
+
|
148
|
+
// Remove fallback content. There is no way to hide text nodes so we
|
149
|
+
// just remove all childNodes. We could hide all elements and remove
|
150
|
+
// text nodes but who really cares about the fallback content.
|
151
|
+
el.innerHTML = '';
|
152
|
+
|
153
|
+
// do not use inline function because that will leak memory
|
154
|
+
el.attachEvent('onpropertychange', onPropertyChange);
|
155
|
+
el.attachEvent('onresize', onResize);
|
156
|
+
|
157
|
+
var attrs = el.attributes;
|
158
|
+
if (attrs.width && attrs.width.specified) {
|
159
|
+
// TODO: use runtimeStyle and coordsize
|
160
|
+
// el.getContext().setWidth_(attrs.width.nodeValue);
|
161
|
+
el.style.width = attrs.width.nodeValue + 'px';
|
162
|
+
} else {
|
163
|
+
el.width = el.clientWidth;
|
164
|
+
}
|
165
|
+
if (attrs.height && attrs.height.specified) {
|
166
|
+
// TODO: use runtimeStyle and coordsize
|
167
|
+
// el.getContext().setHeight_(attrs.height.nodeValue);
|
168
|
+
el.style.height = attrs.height.nodeValue + 'px';
|
169
|
+
} else {
|
170
|
+
el.height = el.clientHeight;
|
171
|
+
}
|
172
|
+
//el.getContext().setCoordsize_()
|
173
|
+
}
|
174
|
+
return el;
|
175
|
+
}
|
176
|
+
};
|
177
|
+
|
178
|
+
function onPropertyChange(e) {
|
179
|
+
var el = e.srcElement;
|
180
|
+
|
181
|
+
switch (e.propertyName) {
|
182
|
+
case 'width':
|
183
|
+
el.getContext().clearRect();
|
184
|
+
el.style.width = el.attributes.width.nodeValue + 'px';
|
185
|
+
// In IE8 this does not trigger onresize.
|
186
|
+
el.firstChild.style.width = el.clientWidth + 'px';
|
187
|
+
break;
|
188
|
+
case 'height':
|
189
|
+
el.getContext().clearRect();
|
190
|
+
el.style.height = el.attributes.height.nodeValue + 'px';
|
191
|
+
el.firstChild.style.height = el.clientHeight + 'px';
|
192
|
+
break;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
function onResize(e) {
|
197
|
+
var el = e.srcElement;
|
198
|
+
if (el.firstChild) {
|
199
|
+
el.firstChild.style.width = el.clientWidth + 'px';
|
200
|
+
el.firstChild.style.height = el.clientHeight + 'px';
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
G_vmlCanvasManager_.init();
|
205
|
+
|
206
|
+
// precompute "00" to "FF"
|
207
|
+
var decToHex = [];
|
208
|
+
for (var i = 0; i < 16; i++) {
|
209
|
+
for (var j = 0; j < 16; j++) {
|
210
|
+
decToHex[i * 16 + j] = i.toString(16) + j.toString(16);
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
function createMatrixIdentity() {
|
215
|
+
return [
|
216
|
+
[1, 0, 0],
|
217
|
+
[0, 1, 0],
|
218
|
+
[0, 0, 1]
|
219
|
+
];
|
220
|
+
}
|
221
|
+
|
222
|
+
function matrixMultiply(m1, m2) {
|
223
|
+
var result = createMatrixIdentity();
|
224
|
+
|
225
|
+
for (var x = 0; x < 3; x++) {
|
226
|
+
for (var y = 0; y < 3; y++) {
|
227
|
+
var sum = 0;
|
228
|
+
|
229
|
+
for (var z = 0; z < 3; z++) {
|
230
|
+
sum += m1[x][z] * m2[z][y];
|
231
|
+
}
|
232
|
+
|
233
|
+
result[x][y] = sum;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
return result;
|
237
|
+
}
|
238
|
+
|
239
|
+
function copyState(o1, o2) {
|
240
|
+
o2.fillStyle = o1.fillStyle;
|
241
|
+
o2.lineCap = o1.lineCap;
|
242
|
+
o2.lineJoin = o1.lineJoin;
|
243
|
+
o2.lineWidth = o1.lineWidth;
|
244
|
+
o2.miterLimit = o1.miterLimit;
|
245
|
+
o2.shadowBlur = o1.shadowBlur;
|
246
|
+
o2.shadowColor = o1.shadowColor;
|
247
|
+
o2.shadowOffsetX = o1.shadowOffsetX;
|
248
|
+
o2.shadowOffsetY = o1.shadowOffsetY;
|
249
|
+
o2.strokeStyle = o1.strokeStyle;
|
250
|
+
o2.globalAlpha = o1.globalAlpha;
|
251
|
+
o2.font = o1.font;
|
252
|
+
o2.textAlign = o1.textAlign;
|
253
|
+
o2.textBaseline = o1.textBaseline;
|
254
|
+
o2.arcScaleX_ = o1.arcScaleX_;
|
255
|
+
o2.arcScaleY_ = o1.arcScaleY_;
|
256
|
+
o2.lineScale_ = o1.lineScale_;
|
257
|
+
}
|
258
|
+
|
259
|
+
var colorData = {
|
260
|
+
aliceblue: '#F0F8FF',
|
261
|
+
antiquewhite: '#FAEBD7',
|
262
|
+
aquamarine: '#7FFFD4',
|
263
|
+
azure: '#F0FFFF',
|
264
|
+
beige: '#F5F5DC',
|
265
|
+
bisque: '#FFE4C4',
|
266
|
+
black: '#000000',
|
267
|
+
blanchedalmond: '#FFEBCD',
|
268
|
+
blueviolet: '#8A2BE2',
|
269
|
+
brown: '#A52A2A',
|
270
|
+
burlywood: '#DEB887',
|
271
|
+
cadetblue: '#5F9EA0',
|
272
|
+
chartreuse: '#7FFF00',
|
273
|
+
chocolate: '#D2691E',
|
274
|
+
coral: '#FF7F50',
|
275
|
+
cornflowerblue: '#6495ED',
|
276
|
+
cornsilk: '#FFF8DC',
|
277
|
+
crimson: '#DC143C',
|
278
|
+
cyan: '#00FFFF',
|
279
|
+
darkblue: '#00008B',
|
280
|
+
darkcyan: '#008B8B',
|
281
|
+
darkgoldenrod: '#B8860B',
|
282
|
+
darkgray: '#A9A9A9',
|
283
|
+
darkgreen: '#006400',
|
284
|
+
darkgrey: '#A9A9A9',
|
285
|
+
darkkhaki: '#BDB76B',
|
286
|
+
darkmagenta: '#8B008B',
|
287
|
+
darkolivegreen: '#556B2F',
|
288
|
+
darkorange: '#FF8C00',
|
289
|
+
darkorchid: '#9932CC',
|
290
|
+
darkred: '#8B0000',
|
291
|
+
darksalmon: '#E9967A',
|
292
|
+
darkseagreen: '#8FBC8F',
|
293
|
+
darkslateblue: '#483D8B',
|
294
|
+
darkslategray: '#2F4F4F',
|
295
|
+
darkslategrey: '#2F4F4F',
|
296
|
+
darkturquoise: '#00CED1',
|
297
|
+
darkviolet: '#9400D3',
|
298
|
+
deeppink: '#FF1493',
|
299
|
+
deepskyblue: '#00BFFF',
|
300
|
+
dimgray: '#696969',
|
301
|
+
dimgrey: '#696969',
|
302
|
+
dodgerblue: '#1E90FF',
|
303
|
+
firebrick: '#B22222',
|
304
|
+
floralwhite: '#FFFAF0',
|
305
|
+
forestgreen: '#228B22',
|
306
|
+
gainsboro: '#DCDCDC',
|
307
|
+
ghostwhite: '#F8F8FF',
|
308
|
+
gold: '#FFD700',
|
309
|
+
goldenrod: '#DAA520',
|
310
|
+
grey: '#808080',
|
311
|
+
greenyellow: '#ADFF2F',
|
312
|
+
honeydew: '#F0FFF0',
|
313
|
+
hotpink: '#FF69B4',
|
314
|
+
indianred: '#CD5C5C',
|
315
|
+
indigo: '#4B0082',
|
316
|
+
ivory: '#FFFFF0',
|
317
|
+
khaki: '#F0E68C',
|
318
|
+
lavender: '#E6E6FA',
|
319
|
+
lavenderblush: '#FFF0F5',
|
320
|
+
lawngreen: '#7CFC00',
|
321
|
+
lemonchiffon: '#FFFACD',
|
322
|
+
lightblue: '#ADD8E6',
|
323
|
+
lightcoral: '#F08080',
|
324
|
+
lightcyan: '#E0FFFF',
|
325
|
+
lightgoldenrodyellow: '#FAFAD2',
|
326
|
+
lightgreen: '#90EE90',
|
327
|
+
lightgrey: '#D3D3D3',
|
328
|
+
lightpink: '#FFB6C1',
|
329
|
+
lightsalmon: '#FFA07A',
|
330
|
+
lightseagreen: '#20B2AA',
|
331
|
+
lightskyblue: '#87CEFA',
|
332
|
+
lightslategray: '#778899',
|
333
|
+
lightslategrey: '#778899',
|
334
|
+
lightsteelblue: '#B0C4DE',
|
335
|
+
lightyellow: '#FFFFE0',
|
336
|
+
limegreen: '#32CD32',
|
337
|
+
linen: '#FAF0E6',
|
338
|
+
magenta: '#FF00FF',
|
339
|
+
mediumaquamarine: '#66CDAA',
|
340
|
+
mediumblue: '#0000CD',
|
341
|
+
mediumorchid: '#BA55D3',
|
342
|
+
mediumpurple: '#9370DB',
|
343
|
+
mediumseagreen: '#3CB371',
|
344
|
+
mediumslateblue: '#7B68EE',
|
345
|
+
mediumspringgreen: '#00FA9A',
|
346
|
+
mediumturquoise: '#48D1CC',
|
347
|
+
mediumvioletred: '#C71585',
|
348
|
+
midnightblue: '#191970',
|
349
|
+
mintcream: '#F5FFFA',
|
350
|
+
mistyrose: '#FFE4E1',
|
351
|
+
moccasin: '#FFE4B5',
|
352
|
+
navajowhite: '#FFDEAD',
|
353
|
+
oldlace: '#FDF5E6',
|
354
|
+
olivedrab: '#6B8E23',
|
355
|
+
orange: '#FFA500',
|
356
|
+
orangered: '#FF4500',
|
357
|
+
orchid: '#DA70D6',
|
358
|
+
palegoldenrod: '#EEE8AA',
|
359
|
+
palegreen: '#98FB98',
|
360
|
+
paleturquoise: '#AFEEEE',
|
361
|
+
palevioletred: '#DB7093',
|
362
|
+
papayawhip: '#FFEFD5',
|
363
|
+
peachpuff: '#FFDAB9',
|
364
|
+
peru: '#CD853F',
|
365
|
+
pink: '#FFC0CB',
|
366
|
+
plum: '#DDA0DD',
|
367
|
+
powderblue: '#B0E0E6',
|
368
|
+
rosybrown: '#BC8F8F',
|
369
|
+
royalblue: '#4169E1',
|
370
|
+
saddlebrown: '#8B4513',
|
371
|
+
salmon: '#FA8072',
|
372
|
+
sandybrown: '#F4A460',
|
373
|
+
seagreen: '#2E8B57',
|
374
|
+
seashell: '#FFF5EE',
|
375
|
+
sienna: '#A0522D',
|
376
|
+
skyblue: '#87CEEB',
|
377
|
+
slateblue: '#6A5ACD',
|
378
|
+
slategray: '#708090',
|
379
|
+
slategrey: '#708090',
|
380
|
+
snow: '#FFFAFA',
|
381
|
+
springgreen: '#00FF7F',
|
382
|
+
steelblue: '#4682B4',
|
383
|
+
tan: '#D2B48C',
|
384
|
+
thistle: '#D8BFD8',
|
385
|
+
tomato: '#FF6347',
|
386
|
+
turquoise: '#40E0D0',
|
387
|
+
violet: '#EE82EE',
|
388
|
+
wheat: '#F5DEB3',
|
389
|
+
whitesmoke: '#F5F5F5',
|
390
|
+
yellowgreen: '#9ACD32'
|
391
|
+
};
|
392
|
+
|
393
|
+
|
394
|
+
function getRgbHslContent(styleString) {
|
395
|
+
var start = styleString.indexOf('(', 3);
|
396
|
+
var end = styleString.indexOf(')', start + 1);
|
397
|
+
var parts = styleString.substring(start + 1, end).split(',');
|
398
|
+
// add alpha if needed
|
399
|
+
if (parts.length != 4 || styleString.charAt(3) != 'a') {
|
400
|
+
parts[3] = 1;
|
401
|
+
}
|
402
|
+
return parts;
|
403
|
+
}
|
404
|
+
|
405
|
+
function percent(s) {
|
406
|
+
return parseFloat(s) / 100;
|
407
|
+
}
|
408
|
+
|
409
|
+
function clamp(v, min, max) {
|
410
|
+
return Math.min(max, Math.max(min, v));
|
411
|
+
}
|
412
|
+
|
413
|
+
function hslToRgb(parts){
|
414
|
+
var r, g, b, h, s, l;
|
415
|
+
h = parseFloat(parts[0]) / 360 % 360;
|
416
|
+
if (h < 0)
|
417
|
+
h++;
|
418
|
+
s = clamp(percent(parts[1]), 0, 1);
|
419
|
+
l = clamp(percent(parts[2]), 0, 1);
|
420
|
+
if (s == 0) {
|
421
|
+
r = g = b = l; // achromatic
|
422
|
+
} else {
|
423
|
+
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
424
|
+
var p = 2 * l - q;
|
425
|
+
r = hueToRgb(p, q, h + 1 / 3);
|
426
|
+
g = hueToRgb(p, q, h);
|
427
|
+
b = hueToRgb(p, q, h - 1 / 3);
|
428
|
+
}
|
429
|
+
|
430
|
+
return '#' + decToHex[Math.floor(r * 255)] +
|
431
|
+
decToHex[Math.floor(g * 255)] +
|
432
|
+
decToHex[Math.floor(b * 255)];
|
433
|
+
}
|
434
|
+
|
435
|
+
function hueToRgb(m1, m2, h) {
|
436
|
+
if (h < 0)
|
437
|
+
h++;
|
438
|
+
if (h > 1)
|
439
|
+
h--;
|
440
|
+
|
441
|
+
if (6 * h < 1)
|
442
|
+
return m1 + (m2 - m1) * 6 * h;
|
443
|
+
else if (2 * h < 1)
|
444
|
+
return m2;
|
445
|
+
else if (3 * h < 2)
|
446
|
+
return m1 + (m2 - m1) * (2 / 3 - h) * 6;
|
447
|
+
else
|
448
|
+
return m1;
|
449
|
+
}
|
450
|
+
|
451
|
+
var processStyleCache = {};
|
452
|
+
|
453
|
+
function processStyle(styleString) {
|
454
|
+
if (styleString in processStyleCache) {
|
455
|
+
return processStyleCache[styleString];
|
456
|
+
}
|
457
|
+
|
458
|
+
var str, alpha = 1;
|
459
|
+
|
460
|
+
styleString = String(styleString);
|
461
|
+
if (styleString.charAt(0) == '#') {
|
462
|
+
str = styleString;
|
463
|
+
} else if (/^rgb/.test(styleString)) {
|
464
|
+
var parts = getRgbHslContent(styleString);
|
465
|
+
var str = '#', n;
|
466
|
+
for (var i = 0; i < 3; i++) {
|
467
|
+
if (parts[i].indexOf('%') != -1) {
|
468
|
+
n = Math.floor(percent(parts[i]) * 255);
|
469
|
+
} else {
|
470
|
+
n = +parts[i];
|
471
|
+
}
|
472
|
+
str += decToHex[clamp(n, 0, 255)];
|
473
|
+
}
|
474
|
+
alpha = +parts[3];
|
475
|
+
} else if (/^hsl/.test(styleString)) {
|
476
|
+
var parts = getRgbHslContent(styleString);
|
477
|
+
str = hslToRgb(parts);
|
478
|
+
alpha = parts[3];
|
479
|
+
} else {
|
480
|
+
str = colorData[styleString] || styleString;
|
481
|
+
}
|
482
|
+
return processStyleCache[styleString] = {color: str, alpha: alpha};
|
483
|
+
}
|
484
|
+
|
485
|
+
var DEFAULT_STYLE = {
|
486
|
+
style: 'normal',
|
487
|
+
variant: 'normal',
|
488
|
+
weight: 'normal',
|
489
|
+
size: 10,
|
490
|
+
family: 'sans-serif'
|
491
|
+
};
|
492
|
+
|
493
|
+
// Internal text style cache
|
494
|
+
var fontStyleCache = {};
|
495
|
+
|
496
|
+
function processFontStyle(styleString) {
|
497
|
+
if (fontStyleCache[styleString]) {
|
498
|
+
return fontStyleCache[styleString];
|
499
|
+
}
|
500
|
+
|
501
|
+
var el = document.createElement('div');
|
502
|
+
var style = el.style;
|
503
|
+
try {
|
504
|
+
style.font = styleString;
|
505
|
+
} catch (ex) {
|
506
|
+
// Ignore failures to set to invalid font.
|
507
|
+
}
|
508
|
+
|
509
|
+
return fontStyleCache[styleString] = {
|
510
|
+
style: style.fontStyle || DEFAULT_STYLE.style,
|
511
|
+
variant: style.fontVariant || DEFAULT_STYLE.variant,
|
512
|
+
weight: style.fontWeight || DEFAULT_STYLE.weight,
|
513
|
+
size: style.fontSize || DEFAULT_STYLE.size,
|
514
|
+
family: style.fontFamily || DEFAULT_STYLE.family
|
515
|
+
};
|
516
|
+
}
|
517
|
+
|
518
|
+
function getComputedStyle(style, element) {
|
519
|
+
var computedStyle = {};
|
520
|
+
|
521
|
+
for (var p in style) {
|
522
|
+
computedStyle[p] = style[p];
|
523
|
+
}
|
524
|
+
|
525
|
+
// Compute the size
|
526
|
+
var canvasFontSize = parseFloat(element.currentStyle.fontSize),
|
527
|
+
fontSize = parseFloat(style.size);
|
528
|
+
|
529
|
+
if (typeof style.size == 'number') {
|
530
|
+
computedStyle.size = style.size;
|
531
|
+
} else if (style.size.indexOf('px') != -1) {
|
532
|
+
computedStyle.size = fontSize;
|
533
|
+
} else if (style.size.indexOf('em') != -1) {
|
534
|
+
computedStyle.size = canvasFontSize * fontSize;
|
535
|
+
} else if(style.size.indexOf('%') != -1) {
|
536
|
+
computedStyle.size = (canvasFontSize / 100) * fontSize;
|
537
|
+
} else if (style.size.indexOf('pt') != -1) {
|
538
|
+
computedStyle.size = fontSize / .75;
|
539
|
+
} else {
|
540
|
+
computedStyle.size = canvasFontSize;
|
541
|
+
}
|
542
|
+
|
543
|
+
// Different scaling between normal text and VML text. This was found using
|
544
|
+
// trial and error to get the same size as non VML text.
|
545
|
+
computedStyle.size *= 0.981;
|
546
|
+
|
547
|
+
return computedStyle;
|
548
|
+
}
|
549
|
+
|
550
|
+
function buildStyle(style) {
|
551
|
+
return style.style + ' ' + style.variant + ' ' + style.weight + ' ' +
|
552
|
+
style.size + 'px ' + style.family;
|
553
|
+
}
|
554
|
+
|
555
|
+
var lineCapMap = {
|
556
|
+
'butt': 'flat',
|
557
|
+
'round': 'round'
|
558
|
+
};
|
559
|
+
|
560
|
+
function processLineCap(lineCap) {
|
561
|
+
return lineCapMap[lineCap] || 'square';
|
562
|
+
}
|
563
|
+
|
564
|
+
/**
|
565
|
+
* This class implements CanvasRenderingContext2D interface as described by
|
566
|
+
* the WHATWG.
|
567
|
+
* @param {HTMLElement} canvasElement The element that the 2D context should
|
568
|
+
* be associated with
|
569
|
+
*/
|
570
|
+
function CanvasRenderingContext2D_(canvasElement) {
|
571
|
+
this.m_ = createMatrixIdentity();
|
572
|
+
|
573
|
+
this.mStack_ = [];
|
574
|
+
this.aStack_ = [];
|
575
|
+
this.currentPath_ = [];
|
576
|
+
|
577
|
+
// Canvas context properties
|
578
|
+
this.strokeStyle = '#000';
|
579
|
+
this.fillStyle = '#000';
|
580
|
+
|
581
|
+
this.lineWidth = 1;
|
582
|
+
this.lineJoin = 'miter';
|
583
|
+
this.lineCap = 'butt';
|
584
|
+
this.miterLimit = Z * 1;
|
585
|
+
this.globalAlpha = 1;
|
586
|
+
this.font = '10px sans-serif';
|
587
|
+
this.textAlign = 'left';
|
588
|
+
this.textBaseline = 'alphabetic';
|
589
|
+
this.canvas = canvasElement;
|
590
|
+
|
591
|
+
var cssText = 'width:' + canvasElement.clientWidth + 'px;height:' +
|
592
|
+
canvasElement.clientHeight + 'px;overflow:hidden;position:absolute';
|
593
|
+
var el = canvasElement.ownerDocument.createElement('div');
|
594
|
+
el.style.cssText = cssText;
|
595
|
+
canvasElement.appendChild(el);
|
596
|
+
|
597
|
+
var overlayEl = el.cloneNode(false);
|
598
|
+
// Use a non transparent background.
|
599
|
+
overlayEl.style.backgroundColor = 'red';
|
600
|
+
overlayEl.style.filter = 'alpha(opacity=0)';
|
601
|
+
canvasElement.appendChild(overlayEl);
|
602
|
+
|
603
|
+
this.element_ = el;
|
604
|
+
this.arcScaleX_ = 1;
|
605
|
+
this.arcScaleY_ = 1;
|
606
|
+
this.lineScale_ = 1;
|
607
|
+
}
|
608
|
+
|
609
|
+
var contextPrototype = CanvasRenderingContext2D_.prototype;
|
610
|
+
contextPrototype.clearRect = function() {
|
611
|
+
if (this.textMeasureEl_) {
|
612
|
+
this.textMeasureEl_.removeNode(true);
|
613
|
+
this.textMeasureEl_ = null;
|
614
|
+
}
|
615
|
+
this.element_.innerHTML = '';
|
616
|
+
};
|
617
|
+
|
618
|
+
contextPrototype.beginPath = function() {
|
619
|
+
// TODO: Branch current matrix so that save/restore has no effect
|
620
|
+
// as per safari docs.
|
621
|
+
this.currentPath_ = [];
|
622
|
+
};
|
623
|
+
|
624
|
+
contextPrototype.moveTo = function(aX, aY) {
|
625
|
+
var p = getCoords(this, aX, aY);
|
626
|
+
this.currentPath_.push({type: 'moveTo', x: p.x, y: p.y});
|
627
|
+
this.currentX_ = p.x;
|
628
|
+
this.currentY_ = p.y;
|
629
|
+
};
|
630
|
+
|
631
|
+
contextPrototype.lineTo = function(aX, aY) {
|
632
|
+
var p = getCoords(this, aX, aY);
|
633
|
+
this.currentPath_.push({type: 'lineTo', x: p.x, y: p.y});
|
634
|
+
|
635
|
+
this.currentX_ = p.x;
|
636
|
+
this.currentY_ = p.y;
|
637
|
+
};
|
638
|
+
|
639
|
+
contextPrototype.bezierCurveTo = function(aCP1x, aCP1y,
|
640
|
+
aCP2x, aCP2y,
|
641
|
+
aX, aY) {
|
642
|
+
var p = getCoords(this, aX, aY);
|
643
|
+
var cp1 = getCoords(this, aCP1x, aCP1y);
|
644
|
+
var cp2 = getCoords(this, aCP2x, aCP2y);
|
645
|
+
bezierCurveTo(this, cp1, cp2, p);
|
646
|
+
};
|
647
|
+
|
648
|
+
// Helper function that takes the already fixed cordinates.
|
649
|
+
function bezierCurveTo(self, cp1, cp2, p) {
|
650
|
+
self.currentPath_.push({
|
651
|
+
type: 'bezierCurveTo',
|
652
|
+
cp1x: cp1.x,
|
653
|
+
cp1y: cp1.y,
|
654
|
+
cp2x: cp2.x,
|
655
|
+
cp2y: cp2.y,
|
656
|
+
x: p.x,
|
657
|
+
y: p.y
|
658
|
+
});
|
659
|
+
self.currentX_ = p.x;
|
660
|
+
self.currentY_ = p.y;
|
661
|
+
}
|
662
|
+
|
663
|
+
contextPrototype.quadraticCurveTo = function(aCPx, aCPy, aX, aY) {
|
664
|
+
// the following is lifted almost directly from
|
665
|
+
// http://developer.mozilla.org/en/docs/Canvas_tutorial:Drawing_shapes
|
666
|
+
|
667
|
+
var cp = getCoords(this, aCPx, aCPy);
|
668
|
+
var p = getCoords(this, aX, aY);
|
669
|
+
|
670
|
+
var cp1 = {
|
671
|
+
x: this.currentX_ + 2.0 / 3.0 * (cp.x - this.currentX_),
|
672
|
+
y: this.currentY_ + 2.0 / 3.0 * (cp.y - this.currentY_)
|
673
|
+
};
|
674
|
+
var cp2 = {
|
675
|
+
x: cp1.x + (p.x - this.currentX_) / 3.0,
|
676
|
+
y: cp1.y + (p.y - this.currentY_) / 3.0
|
677
|
+
};
|
678
|
+
|
679
|
+
bezierCurveTo(this, cp1, cp2, p);
|
680
|
+
};
|
681
|
+
|
682
|
+
contextPrototype.arc = function(aX, aY, aRadius,
|
683
|
+
aStartAngle, aEndAngle, aClockwise) {
|
684
|
+
aRadius *= Z;
|
685
|
+
var arcType = aClockwise ? 'at' : 'wa';
|
686
|
+
|
687
|
+
var xStart = aX + mc(aStartAngle) * aRadius - Z2;
|
688
|
+
var yStart = aY + ms(aStartAngle) * aRadius - Z2;
|
689
|
+
|
690
|
+
var xEnd = aX + mc(aEndAngle) * aRadius - Z2;
|
691
|
+
var yEnd = aY + ms(aEndAngle) * aRadius - Z2;
|
692
|
+
|
693
|
+
// IE won't render arches drawn counter clockwise if xStart == xEnd.
|
694
|
+
if (xStart == xEnd && !aClockwise) {
|
695
|
+
xStart += 0.125; // Offset xStart by 1/80 of a pixel. Use something
|
696
|
+
// that can be represented in binary
|
697
|
+
}
|
698
|
+
|
699
|
+
var p = getCoords(this, aX, aY);
|
700
|
+
var pStart = getCoords(this, xStart, yStart);
|
701
|
+
var pEnd = getCoords(this, xEnd, yEnd);
|
702
|
+
|
703
|
+
this.currentPath_.push({type: arcType,
|
704
|
+
x: p.x,
|
705
|
+
y: p.y,
|
706
|
+
radius: aRadius,
|
707
|
+
xStart: pStart.x,
|
708
|
+
yStart: pStart.y,
|
709
|
+
xEnd: pEnd.x,
|
710
|
+
yEnd: pEnd.y});
|
711
|
+
|
712
|
+
};
|
713
|
+
|
714
|
+
contextPrototype.rect = function(aX, aY, aWidth, aHeight) {
|
715
|
+
this.moveTo(aX, aY);
|
716
|
+
this.lineTo(aX + aWidth, aY);
|
717
|
+
this.lineTo(aX + aWidth, aY + aHeight);
|
718
|
+
this.lineTo(aX, aY + aHeight);
|
719
|
+
this.closePath();
|
720
|
+
};
|
721
|
+
|
722
|
+
contextPrototype.strokeRect = function(aX, aY, aWidth, aHeight) {
|
723
|
+
var oldPath = this.currentPath_;
|
724
|
+
this.beginPath();
|
725
|
+
|
726
|
+
this.moveTo(aX, aY);
|
727
|
+
this.lineTo(aX + aWidth, aY);
|
728
|
+
this.lineTo(aX + aWidth, aY + aHeight);
|
729
|
+
this.lineTo(aX, aY + aHeight);
|
730
|
+
this.closePath();
|
731
|
+
this.stroke();
|
732
|
+
|
733
|
+
this.currentPath_ = oldPath;
|
734
|
+
};
|
735
|
+
|
736
|
+
contextPrototype.fillRect = function(aX, aY, aWidth, aHeight) {
|
737
|
+
var oldPath = this.currentPath_;
|
738
|
+
this.beginPath();
|
739
|
+
|
740
|
+
this.moveTo(aX, aY);
|
741
|
+
this.lineTo(aX + aWidth, aY);
|
742
|
+
this.lineTo(aX + aWidth, aY + aHeight);
|
743
|
+
this.lineTo(aX, aY + aHeight);
|
744
|
+
this.closePath();
|
745
|
+
this.fill();
|
746
|
+
|
747
|
+
this.currentPath_ = oldPath;
|
748
|
+
};
|
749
|
+
|
750
|
+
contextPrototype.createLinearGradient = function(aX0, aY0, aX1, aY1) {
|
751
|
+
var gradient = new CanvasGradient_('gradient');
|
752
|
+
gradient.x0_ = aX0;
|
753
|
+
gradient.y0_ = aY0;
|
754
|
+
gradient.x1_ = aX1;
|
755
|
+
gradient.y1_ = aY1;
|
756
|
+
return gradient;
|
757
|
+
};
|
758
|
+
|
759
|
+
contextPrototype.createRadialGradient = function(aX0, aY0, aR0,
|
760
|
+
aX1, aY1, aR1) {
|
761
|
+
var gradient = new CanvasGradient_('gradientradial');
|
762
|
+
gradient.x0_ = aX0;
|
763
|
+
gradient.y0_ = aY0;
|
764
|
+
gradient.r0_ = aR0;
|
765
|
+
gradient.x1_ = aX1;
|
766
|
+
gradient.y1_ = aY1;
|
767
|
+
gradient.r1_ = aR1;
|
768
|
+
return gradient;
|
769
|
+
};
|
770
|
+
|
771
|
+
contextPrototype.drawImage = function(image, var_args) {
|
772
|
+
var dx, dy, dw, dh, sx, sy, sw, sh;
|
773
|
+
|
774
|
+
// to find the original width we overide the width and height
|
775
|
+
var oldRuntimeWidth = image.runtimeStyle.width;
|
776
|
+
var oldRuntimeHeight = image.runtimeStyle.height;
|
777
|
+
image.runtimeStyle.width = 'auto';
|
778
|
+
image.runtimeStyle.height = 'auto';
|
779
|
+
|
780
|
+
// get the original size
|
781
|
+
var w = image.width;
|
782
|
+
var h = image.height;
|
783
|
+
|
784
|
+
// and remove overides
|
785
|
+
image.runtimeStyle.width = oldRuntimeWidth;
|
786
|
+
image.runtimeStyle.height = oldRuntimeHeight;
|
787
|
+
|
788
|
+
if (arguments.length == 3) {
|
789
|
+
dx = arguments[1];
|
790
|
+
dy = arguments[2];
|
791
|
+
sx = sy = 0;
|
792
|
+
sw = dw = w;
|
793
|
+
sh = dh = h;
|
794
|
+
} else if (arguments.length == 5) {
|
795
|
+
dx = arguments[1];
|
796
|
+
dy = arguments[2];
|
797
|
+
dw = arguments[3];
|
798
|
+
dh = arguments[4];
|
799
|
+
sx = sy = 0;
|
800
|
+
sw = w;
|
801
|
+
sh = h;
|
802
|
+
} else if (arguments.length == 9) {
|
803
|
+
sx = arguments[1];
|
804
|
+
sy = arguments[2];
|
805
|
+
sw = arguments[3];
|
806
|
+
sh = arguments[4];
|
807
|
+
dx = arguments[5];
|
808
|
+
dy = arguments[6];
|
809
|
+
dw = arguments[7];
|
810
|
+
dh = arguments[8];
|
811
|
+
} else {
|
812
|
+
throw Error('Invalid number of arguments');
|
813
|
+
}
|
814
|
+
|
815
|
+
var d = getCoords(this, dx, dy);
|
816
|
+
|
817
|
+
var w2 = sw / 2;
|
818
|
+
var h2 = sh / 2;
|
819
|
+
|
820
|
+
var vmlStr = [];
|
821
|
+
|
822
|
+
var W = 10;
|
823
|
+
var H = 10;
|
824
|
+
|
825
|
+
// For some reason that I've now forgotten, using divs didn't work
|
826
|
+
vmlStr.push(' <g_vml_:group',
|
827
|
+
' coordsize="', Z * W, ',', Z * H, '"',
|
828
|
+
' coordorigin="0,0"' ,
|
829
|
+
' style="width:', W, 'px;height:', H, 'px;position:absolute;');
|
830
|
+
|
831
|
+
// If filters are necessary (rotation exists), create them
|
832
|
+
// filters are bog-slow, so only create them if abbsolutely necessary
|
833
|
+
// The following check doesn't account for skews (which don't exist
|
834
|
+
// in the canvas spec (yet) anyway.
|
835
|
+
|
836
|
+
if (this.m_[0][0] != 1 || this.m_[0][1] ||
|
837
|
+
this.m_[1][1] != 1 || this.m_[1][0]) {
|
838
|
+
var filter = [];
|
839
|
+
|
840
|
+
// Note the 12/21 reversal
|
841
|
+
filter.push('M11=', this.m_[0][0], ',',
|
842
|
+
'M12=', this.m_[1][0], ',',
|
843
|
+
'M21=', this.m_[0][1], ',',
|
844
|
+
'M22=', this.m_[1][1], ',',
|
845
|
+
'Dx=', mr(d.x / Z), ',',
|
846
|
+
'Dy=', mr(d.y / Z), '');
|
847
|
+
|
848
|
+
// Bounding box calculation (need to minimize displayed area so that
|
849
|
+
// filters don't waste time on unused pixels.
|
850
|
+
var max = d;
|
851
|
+
var c2 = getCoords(this, dx + dw, dy);
|
852
|
+
var c3 = getCoords(this, dx, dy + dh);
|
853
|
+
var c4 = getCoords(this, dx + dw, dy + dh);
|
854
|
+
|
855
|
+
max.x = m.max(max.x, c2.x, c3.x, c4.x);
|
856
|
+
max.y = m.max(max.y, c2.y, c3.y, c4.y);
|
857
|
+
|
858
|
+
vmlStr.push('padding:0 ', mr(max.x / Z), 'px ', mr(max.y / Z),
|
859
|
+
'px 0;filter:progid:DXImageTransform.Microsoft.Matrix(',
|
860
|
+
filter.join(''), ", sizingmethod='clip');");
|
861
|
+
|
862
|
+
} else {
|
863
|
+
vmlStr.push('top:', mr(d.y / Z), 'px;left:', mr(d.x / Z), 'px;');
|
864
|
+
}
|
865
|
+
|
866
|
+
vmlStr.push(' ">' ,
|
867
|
+
'<g_vml_:image src="', image.src, '"',
|
868
|
+
' style="width:', Z * dw, 'px;',
|
869
|
+
' height:', Z * dh, 'px"',
|
870
|
+
' cropleft="', sx / w, '"',
|
871
|
+
' croptop="', sy / h, '"',
|
872
|
+
' cropright="', (w - sx - sw) / w, '"',
|
873
|
+
' cropbottom="', (h - sy - sh) / h, '"',
|
874
|
+
' />',
|
875
|
+
'</g_vml_:group>');
|
876
|
+
|
877
|
+
this.element_.insertAdjacentHTML('BeforeEnd', vmlStr.join(''));
|
878
|
+
};
|
879
|
+
|
880
|
+
contextPrototype.stroke = function(aFill) {
|
881
|
+
var W = 10;
|
882
|
+
var H = 10;
|
883
|
+
// Divide the shape into chunks if it's too long because IE has a limit
|
884
|
+
// somewhere for how long a VML shape can be. This simple division does
|
885
|
+
// not work with fills, only strokes, unfortunately.
|
886
|
+
var chunkSize = 5000;
|
887
|
+
|
888
|
+
var min = {x: null, y: null};
|
889
|
+
var max = {x: null, y: null};
|
890
|
+
|
891
|
+
for (var j = 0; j < this.currentPath_.length; j += chunkSize) {
|
892
|
+
var lineStr = [];
|
893
|
+
var lineOpen = false;
|
894
|
+
|
895
|
+
lineStr.push('<g_vml_:shape',
|
896
|
+
' filled="', !!aFill, '"',
|
897
|
+
' style="position:absolute;width:', W, 'px;height:', H, 'px;"',
|
898
|
+
' coordorigin="0,0"',
|
899
|
+
' coordsize="', Z * W, ',', Z * H, '"',
|
900
|
+
' stroked="', !aFill, '"',
|
901
|
+
' path="');
|
902
|
+
|
903
|
+
var newSeq = false;
|
904
|
+
|
905
|
+
for (var i = j; i < Math.min(j + chunkSize, this.currentPath_.length); i++) {
|
906
|
+
if (i % chunkSize == 0 && i > 0) { // move into position for next chunk
|
907
|
+
lineStr.push(' m ', mr(this.currentPath_[i-1].x), ',', mr(this.currentPath_[i-1].y));
|
908
|
+
}
|
909
|
+
|
910
|
+
var p = this.currentPath_[i];
|
911
|
+
var c;
|
912
|
+
|
913
|
+
switch (p.type) {
|
914
|
+
case 'moveTo':
|
915
|
+
c = p;
|
916
|
+
lineStr.push(' m ', mr(p.x), ',', mr(p.y));
|
917
|
+
break;
|
918
|
+
case 'lineTo':
|
919
|
+
lineStr.push(' l ', mr(p.x), ',', mr(p.y));
|
920
|
+
break;
|
921
|
+
case 'close':
|
922
|
+
lineStr.push(' x ');
|
923
|
+
p = null;
|
924
|
+
break;
|
925
|
+
case 'bezierCurveTo':
|
926
|
+
lineStr.push(' c ',
|
927
|
+
mr(p.cp1x), ',', mr(p.cp1y), ',',
|
928
|
+
mr(p.cp2x), ',', mr(p.cp2y), ',',
|
929
|
+
mr(p.x), ',', mr(p.y));
|
930
|
+
break;
|
931
|
+
case 'at':
|
932
|
+
case 'wa':
|
933
|
+
lineStr.push(' ', p.type, ' ',
|
934
|
+
mr(p.x - this.arcScaleX_ * p.radius), ',',
|
935
|
+
mr(p.y - this.arcScaleY_ * p.radius), ' ',
|
936
|
+
mr(p.x + this.arcScaleX_ * p.radius), ',',
|
937
|
+
mr(p.y + this.arcScaleY_ * p.radius), ' ',
|
938
|
+
mr(p.xStart), ',', mr(p.yStart), ' ',
|
939
|
+
mr(p.xEnd), ',', mr(p.yEnd));
|
940
|
+
break;
|
941
|
+
}
|
942
|
+
|
943
|
+
|
944
|
+
// TODO: Following is broken for curves due to
|
945
|
+
// move to proper paths.
|
946
|
+
|
947
|
+
// Figure out dimensions so we can do gradient fills
|
948
|
+
// properly
|
949
|
+
if (p) {
|
950
|
+
if (min.x == null || p.x < min.x) {
|
951
|
+
min.x = p.x;
|
952
|
+
}
|
953
|
+
if (max.x == null || p.x > max.x) {
|
954
|
+
max.x = p.x;
|
955
|
+
}
|
956
|
+
if (min.y == null || p.y < min.y) {
|
957
|
+
min.y = p.y;
|
958
|
+
}
|
959
|
+
if (max.y == null || p.y > max.y) {
|
960
|
+
max.y = p.y;
|
961
|
+
}
|
962
|
+
}
|
963
|
+
}
|
964
|
+
lineStr.push(' ">');
|
965
|
+
|
966
|
+
if (!aFill) {
|
967
|
+
appendStroke(this, lineStr);
|
968
|
+
} else {
|
969
|
+
appendFill(this, lineStr, min, max);
|
970
|
+
}
|
971
|
+
|
972
|
+
lineStr.push('</g_vml_:shape>');
|
973
|
+
|
974
|
+
this.element_.insertAdjacentHTML('beforeEnd', lineStr.join(''));
|
975
|
+
}
|
976
|
+
};
|
977
|
+
|
978
|
+
function appendStroke(ctx, lineStr) {
|
979
|
+
var a = processStyle(ctx.strokeStyle);
|
980
|
+
var color = a.color;
|
981
|
+
var opacity = a.alpha * ctx.globalAlpha;
|
982
|
+
var lineWidth = ctx.lineScale_ * ctx.lineWidth;
|
983
|
+
|
984
|
+
// VML cannot correctly render a line if the width is less than 1px.
|
985
|
+
// In that case, we dilute the color to make the line look thinner.
|
986
|
+
if (lineWidth < 1) {
|
987
|
+
opacity *= lineWidth;
|
988
|
+
}
|
989
|
+
|
990
|
+
lineStr.push(
|
991
|
+
'<g_vml_:stroke',
|
992
|
+
' opacity="', opacity, '"',
|
993
|
+
' joinstyle="', ctx.lineJoin, '"',
|
994
|
+
' miterlimit="', ctx.miterLimit, '"',
|
995
|
+
' endcap="', processLineCap(ctx.lineCap), '"',
|
996
|
+
' weight="', lineWidth, 'px"',
|
997
|
+
' color="', color, '" />'
|
998
|
+
);
|
999
|
+
}
|
1000
|
+
|
1001
|
+
function appendFill(ctx, lineStr, min, max) {
|
1002
|
+
var fillStyle = ctx.fillStyle;
|
1003
|
+
var arcScaleX = ctx.arcScaleX_;
|
1004
|
+
var arcScaleY = ctx.arcScaleY_;
|
1005
|
+
var width = max.x - min.x;
|
1006
|
+
var height = max.y - min.y;
|
1007
|
+
if (fillStyle instanceof CanvasGradient_) {
|
1008
|
+
// TODO: Gradients transformed with the transformation matrix.
|
1009
|
+
var angle = 0;
|
1010
|
+
var focus = {x: 0, y: 0};
|
1011
|
+
|
1012
|
+
// additional offset
|
1013
|
+
var shift = 0;
|
1014
|
+
// scale factor for offset
|
1015
|
+
var expansion = 1;
|
1016
|
+
|
1017
|
+
if (fillStyle.type_ == 'gradient') {
|
1018
|
+
var x0 = fillStyle.x0_ / arcScaleX;
|
1019
|
+
var y0 = fillStyle.y0_ / arcScaleY;
|
1020
|
+
var x1 = fillStyle.x1_ / arcScaleX;
|
1021
|
+
var y1 = fillStyle.y1_ / arcScaleY;
|
1022
|
+
var p0 = getCoords(ctx, x0, y0);
|
1023
|
+
var p1 = getCoords(ctx, x1, y1);
|
1024
|
+
var dx = p1.x - p0.x;
|
1025
|
+
var dy = p1.y - p0.y;
|
1026
|
+
angle = Math.atan2(dx, dy) * 180 / Math.PI;
|
1027
|
+
|
1028
|
+
// The angle should be a non-negative number.
|
1029
|
+
if (angle < 0) {
|
1030
|
+
angle += 360;
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
// Very small angles produce an unexpected result because they are
|
1034
|
+
// converted to a scientific notation string.
|
1035
|
+
if (angle < 1e-6) {
|
1036
|
+
angle = 0;
|
1037
|
+
}
|
1038
|
+
} else {
|
1039
|
+
var p0 = getCoords(ctx, fillStyle.x0_, fillStyle.y0_);
|
1040
|
+
focus = {
|
1041
|
+
x: (p0.x - min.x) / width,
|
1042
|
+
y: (p0.y - min.y) / height
|
1043
|
+
};
|
1044
|
+
|
1045
|
+
width /= arcScaleX * Z;
|
1046
|
+
height /= arcScaleY * Z;
|
1047
|
+
var dimension = m.max(width, height);
|
1048
|
+
shift = 2 * fillStyle.r0_ / dimension;
|
1049
|
+
expansion = 2 * fillStyle.r1_ / dimension - shift;
|
1050
|
+
}
|
1051
|
+
|
1052
|
+
// We need to sort the color stops in ascending order by offset,
|
1053
|
+
// otherwise IE won't interpret it correctly.
|
1054
|
+
var stops = fillStyle.colors_;
|
1055
|
+
stops.sort(function(cs1, cs2) {
|
1056
|
+
return cs1.offset - cs2.offset;
|
1057
|
+
});
|
1058
|
+
|
1059
|
+
var length = stops.length;
|
1060
|
+
var color1 = stops[0].color;
|
1061
|
+
var color2 = stops[length - 1].color;
|
1062
|
+
var opacity1 = stops[0].alpha * ctx.globalAlpha;
|
1063
|
+
var opacity2 = stops[length - 1].alpha * ctx.globalAlpha;
|
1064
|
+
|
1065
|
+
var colors = [];
|
1066
|
+
for (var i = 0; i < length; i++) {
|
1067
|
+
var stop = stops[i];
|
1068
|
+
colors.push(stop.offset * expansion + shift + ' ' + stop.color);
|
1069
|
+
}
|
1070
|
+
|
1071
|
+
// When colors attribute is used, the meanings of opacity and o:opacity2
|
1072
|
+
// are reversed.
|
1073
|
+
lineStr.push('<g_vml_:fill type="', fillStyle.type_, '"',
|
1074
|
+
' method="none" focus="100%"',
|
1075
|
+
' color="', color1, '"',
|
1076
|
+
' color2="', color2, '"',
|
1077
|
+
' colors="', colors.join(','), '"',
|
1078
|
+
' opacity="', opacity2, '"',
|
1079
|
+
' g_o_:opacity2="', opacity1, '"',
|
1080
|
+
' angle="', angle, '"',
|
1081
|
+
' focusposition="', focus.x, ',', focus.y, '" />');
|
1082
|
+
} else if (fillStyle instanceof CanvasPattern_) {
|
1083
|
+
if (width && height) {
|
1084
|
+
var deltaLeft = -min.x;
|
1085
|
+
var deltaTop = -min.y;
|
1086
|
+
lineStr.push('<g_vml_:fill',
|
1087
|
+
' position="',
|
1088
|
+
deltaLeft / width * arcScaleX * arcScaleX, ',',
|
1089
|
+
deltaTop / height * arcScaleY * arcScaleY, '"',
|
1090
|
+
' type="tile"',
|
1091
|
+
// TODO: Figure out the correct size to fit the scale.
|
1092
|
+
//' size="', w, 'px ', h, 'px"',
|
1093
|
+
' src="', fillStyle.src_, '" />');
|
1094
|
+
}
|
1095
|
+
} else {
|
1096
|
+
var a = processStyle(ctx.fillStyle);
|
1097
|
+
var color = a.color;
|
1098
|
+
var opacity = a.alpha * ctx.globalAlpha;
|
1099
|
+
lineStr.push('<g_vml_:fill color="', color, '" opacity="', opacity,
|
1100
|
+
'" />');
|
1101
|
+
}
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
contextPrototype.fill = function() {
|
1105
|
+
this.stroke(true);
|
1106
|
+
};
|
1107
|
+
|
1108
|
+
contextPrototype.closePath = function() {
|
1109
|
+
this.currentPath_.push({type: 'close'});
|
1110
|
+
};
|
1111
|
+
|
1112
|
+
function getCoords(ctx, aX, aY) {
|
1113
|
+
var m = ctx.m_;
|
1114
|
+
return {
|
1115
|
+
x: Z * (aX * m[0][0] + aY * m[1][0] + m[2][0]) - Z2,
|
1116
|
+
y: Z * (aX * m[0][1] + aY * m[1][1] + m[2][1]) - Z2
|
1117
|
+
};
|
1118
|
+
};
|
1119
|
+
|
1120
|
+
contextPrototype.save = function() {
|
1121
|
+
var o = {};
|
1122
|
+
copyState(this, o);
|
1123
|
+
this.aStack_.push(o);
|
1124
|
+
this.mStack_.push(this.m_);
|
1125
|
+
this.m_ = matrixMultiply(createMatrixIdentity(), this.m_);
|
1126
|
+
};
|
1127
|
+
|
1128
|
+
contextPrototype.restore = function() {
|
1129
|
+
if (this.aStack_.length) {
|
1130
|
+
copyState(this.aStack_.pop(), this);
|
1131
|
+
this.m_ = this.mStack_.pop();
|
1132
|
+
}
|
1133
|
+
};
|
1134
|
+
|
1135
|
+
function matrixIsFinite(m) {
|
1136
|
+
return isFinite(m[0][0]) && isFinite(m[0][1]) &&
|
1137
|
+
isFinite(m[1][0]) && isFinite(m[1][1]) &&
|
1138
|
+
isFinite(m[2][0]) && isFinite(m[2][1]);
|
1139
|
+
}
|
1140
|
+
|
1141
|
+
function setM(ctx, m, updateLineScale) {
|
1142
|
+
if (!matrixIsFinite(m)) {
|
1143
|
+
return;
|
1144
|
+
}
|
1145
|
+
ctx.m_ = m;
|
1146
|
+
|
1147
|
+
if (updateLineScale) {
|
1148
|
+
// Get the line scale.
|
1149
|
+
// Determinant of this.m_ means how much the area is enlarged by the
|
1150
|
+
// transformation. So its square root can be used as a scale factor
|
1151
|
+
// for width.
|
1152
|
+
var det = m[0][0] * m[1][1] - m[0][1] * m[1][0];
|
1153
|
+
ctx.lineScale_ = sqrt(abs(det));
|
1154
|
+
}
|
1155
|
+
}
|
1156
|
+
|
1157
|
+
contextPrototype.translate = function(aX, aY) {
|
1158
|
+
var m1 = [
|
1159
|
+
[1, 0, 0],
|
1160
|
+
[0, 1, 0],
|
1161
|
+
[aX, aY, 1]
|
1162
|
+
];
|
1163
|
+
|
1164
|
+
setM(this, matrixMultiply(m1, this.m_), false);
|
1165
|
+
};
|
1166
|
+
|
1167
|
+
contextPrototype.rotate = function(aRot) {
|
1168
|
+
var c = mc(aRot);
|
1169
|
+
var s = ms(aRot);
|
1170
|
+
|
1171
|
+
var m1 = [
|
1172
|
+
[c, s, 0],
|
1173
|
+
[-s, c, 0],
|
1174
|
+
[0, 0, 1]
|
1175
|
+
];
|
1176
|
+
|
1177
|
+
setM(this, matrixMultiply(m1, this.m_), false);
|
1178
|
+
};
|
1179
|
+
|
1180
|
+
contextPrototype.scale = function(aX, aY) {
|
1181
|
+
this.arcScaleX_ *= aX;
|
1182
|
+
this.arcScaleY_ *= aY;
|
1183
|
+
var m1 = [
|
1184
|
+
[aX, 0, 0],
|
1185
|
+
[0, aY, 0],
|
1186
|
+
[0, 0, 1]
|
1187
|
+
];
|
1188
|
+
|
1189
|
+
setM(this, matrixMultiply(m1, this.m_), true);
|
1190
|
+
};
|
1191
|
+
|
1192
|
+
contextPrototype.transform = function(m11, m12, m21, m22, dx, dy) {
|
1193
|
+
var m1 = [
|
1194
|
+
[m11, m12, 0],
|
1195
|
+
[m21, m22, 0],
|
1196
|
+
[dx, dy, 1]
|
1197
|
+
];
|
1198
|
+
|
1199
|
+
setM(this, matrixMultiply(m1, this.m_), true);
|
1200
|
+
};
|
1201
|
+
|
1202
|
+
contextPrototype.setTransform = function(m11, m12, m21, m22, dx, dy) {
|
1203
|
+
var m = [
|
1204
|
+
[m11, m12, 0],
|
1205
|
+
[m21, m22, 0],
|
1206
|
+
[dx, dy, 1]
|
1207
|
+
];
|
1208
|
+
|
1209
|
+
setM(this, m, true);
|
1210
|
+
};
|
1211
|
+
|
1212
|
+
/**
|
1213
|
+
* The text drawing function.
|
1214
|
+
* The maxWidth argument isn't taken in account, since no browser supports
|
1215
|
+
* it yet.
|
1216
|
+
*/
|
1217
|
+
contextPrototype.drawText_ = function(text, x, y, maxWidth, stroke) {
|
1218
|
+
var m = this.m_,
|
1219
|
+
delta = 1000,
|
1220
|
+
left = 0,
|
1221
|
+
right = delta,
|
1222
|
+
offset = {x: 0, y: 0},
|
1223
|
+
lineStr = [];
|
1224
|
+
|
1225
|
+
var fontStyle = getComputedStyle(processFontStyle(this.font),
|
1226
|
+
this.element_);
|
1227
|
+
|
1228
|
+
var fontStyleString = buildStyle(fontStyle);
|
1229
|
+
|
1230
|
+
var elementStyle = this.element_.currentStyle;
|
1231
|
+
var textAlign = this.textAlign.toLowerCase();
|
1232
|
+
switch (textAlign) {
|
1233
|
+
case 'left':
|
1234
|
+
case 'center':
|
1235
|
+
case 'right':
|
1236
|
+
break;
|
1237
|
+
case 'end':
|
1238
|
+
textAlign = elementStyle.direction == 'ltr' ? 'right' : 'left';
|
1239
|
+
break;
|
1240
|
+
case 'start':
|
1241
|
+
textAlign = elementStyle.direction == 'rtl' ? 'right' : 'left';
|
1242
|
+
break;
|
1243
|
+
default:
|
1244
|
+
textAlign = 'left';
|
1245
|
+
}
|
1246
|
+
|
1247
|
+
// 1.75 is an arbitrary number, as there is no info about the text baseline
|
1248
|
+
switch (this.textBaseline) {
|
1249
|
+
case 'hanging':
|
1250
|
+
case 'top':
|
1251
|
+
offset.y = fontStyle.size / 1.75;
|
1252
|
+
break;
|
1253
|
+
case 'middle':
|
1254
|
+
break;
|
1255
|
+
default:
|
1256
|
+
case null:
|
1257
|
+
case 'alphabetic':
|
1258
|
+
case 'ideographic':
|
1259
|
+
case 'bottom':
|
1260
|
+
offset.y = -fontStyle.size / 2.25;
|
1261
|
+
break;
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
switch(textAlign) {
|
1265
|
+
case 'right':
|
1266
|
+
left = delta;
|
1267
|
+
right = 0.05;
|
1268
|
+
break;
|
1269
|
+
case 'center':
|
1270
|
+
left = right = delta / 2;
|
1271
|
+
break;
|
1272
|
+
}
|
1273
|
+
|
1274
|
+
var d = getCoords(this, x + offset.x, y + offset.y);
|
1275
|
+
|
1276
|
+
lineStr.push('<g_vml_:line from="', -left ,' 0" to="', right ,' 0.05" ',
|
1277
|
+
' coordsize="100 100" coordorigin="0 0"',
|
1278
|
+
' filled="', !stroke, '" stroked="', !!stroke,
|
1279
|
+
'" style="position:absolute;width:1px;height:1px;">');
|
1280
|
+
|
1281
|
+
if (stroke) {
|
1282
|
+
appendStroke(this, lineStr);
|
1283
|
+
} else {
|
1284
|
+
// TODO: Fix the min and max params.
|
1285
|
+
appendFill(this, lineStr, {x: -left, y: 0},
|
1286
|
+
{x: right, y: fontStyle.size});
|
1287
|
+
}
|
1288
|
+
|
1289
|
+
var skewM = m[0][0].toFixed(3) + ',' + m[1][0].toFixed(3) + ',' +
|
1290
|
+
m[0][1].toFixed(3) + ',' + m[1][1].toFixed(3) + ',0,0';
|
1291
|
+
|
1292
|
+
var skewOffset = mr(d.x / Z) + ',' + mr(d.y / Z);
|
1293
|
+
|
1294
|
+
lineStr.push('<g_vml_:skew on="t" matrix="', skewM ,'" ',
|
1295
|
+
' offset="', skewOffset, '" origin="', left ,' 0" />',
|
1296
|
+
'<g_vml_:path textpathok="true" />',
|
1297
|
+
'<g_vml_:textpath on="true" string="',
|
1298
|
+
encodeHtmlAttribute(text),
|
1299
|
+
'" style="v-text-align:', textAlign,
|
1300
|
+
';font:', encodeHtmlAttribute(fontStyleString),
|
1301
|
+
'" /></g_vml_:line>');
|
1302
|
+
|
1303
|
+
this.element_.insertAdjacentHTML('beforeEnd', lineStr.join(''));
|
1304
|
+
};
|
1305
|
+
|
1306
|
+
contextPrototype.fillText = function(text, x, y, maxWidth) {
|
1307
|
+
this.drawText_(text, x, y, maxWidth, false);
|
1308
|
+
};
|
1309
|
+
|
1310
|
+
contextPrototype.strokeText = function(text, x, y, maxWidth) {
|
1311
|
+
this.drawText_(text, x, y, maxWidth, true);
|
1312
|
+
};
|
1313
|
+
|
1314
|
+
contextPrototype.measureText = function(text) {
|
1315
|
+
if (!this.textMeasureEl_) {
|
1316
|
+
var s = '<span style="position:absolute;' +
|
1317
|
+
'top:-20000px;left:0;padding:0;margin:0;border:none;' +
|
1318
|
+
'white-space:pre;"></span>';
|
1319
|
+
this.element_.insertAdjacentHTML('beforeEnd', s);
|
1320
|
+
this.textMeasureEl_ = this.element_.lastChild;
|
1321
|
+
}
|
1322
|
+
var doc = this.element_.ownerDocument;
|
1323
|
+
this.textMeasureEl_.innerHTML = '';
|
1324
|
+
this.textMeasureEl_.style.font = this.font;
|
1325
|
+
// Don't use innerHTML or innerText because they allow markup/whitespace.
|
1326
|
+
this.textMeasureEl_.appendChild(doc.createTextNode(text));
|
1327
|
+
return {width: this.textMeasureEl_.offsetWidth};
|
1328
|
+
};
|
1329
|
+
|
1330
|
+
/******** STUBS ********/
|
1331
|
+
contextPrototype.clip = function() {
|
1332
|
+
// TODO: Implement
|
1333
|
+
};
|
1334
|
+
|
1335
|
+
contextPrototype.arcTo = function() {
|
1336
|
+
// TODO: Implement
|
1337
|
+
};
|
1338
|
+
|
1339
|
+
contextPrototype.createPattern = function(image, repetition) {
|
1340
|
+
return new CanvasPattern_(image, repetition);
|
1341
|
+
};
|
1342
|
+
|
1343
|
+
// Gradient / Pattern Stubs
|
1344
|
+
function CanvasGradient_(aType) {
|
1345
|
+
this.type_ = aType;
|
1346
|
+
this.x0_ = 0;
|
1347
|
+
this.y0_ = 0;
|
1348
|
+
this.r0_ = 0;
|
1349
|
+
this.x1_ = 0;
|
1350
|
+
this.y1_ = 0;
|
1351
|
+
this.r1_ = 0;
|
1352
|
+
this.colors_ = [];
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
CanvasGradient_.prototype.addColorStop = function(aOffset, aColor) {
|
1356
|
+
aColor = processStyle(aColor);
|
1357
|
+
this.colors_.push({offset: aOffset,
|
1358
|
+
color: aColor.color,
|
1359
|
+
alpha: aColor.alpha});
|
1360
|
+
};
|
1361
|
+
|
1362
|
+
function CanvasPattern_(image, repetition) {
|
1363
|
+
assertImageIsValid(image);
|
1364
|
+
switch (repetition) {
|
1365
|
+
case 'repeat':
|
1366
|
+
case null:
|
1367
|
+
case '':
|
1368
|
+
this.repetition_ = 'repeat';
|
1369
|
+
break
|
1370
|
+
case 'repeat-x':
|
1371
|
+
case 'repeat-y':
|
1372
|
+
case 'no-repeat':
|
1373
|
+
this.repetition_ = repetition;
|
1374
|
+
break;
|
1375
|
+
default:
|
1376
|
+
throwException('SYNTAX_ERR');
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
this.src_ = image.src;
|
1380
|
+
this.width_ = image.width;
|
1381
|
+
this.height_ = image.height;
|
1382
|
+
}
|
1383
|
+
|
1384
|
+
function throwException(s) {
|
1385
|
+
throw new DOMException_(s);
|
1386
|
+
}
|
1387
|
+
|
1388
|
+
function assertImageIsValid(img) {
|
1389
|
+
if (!img || img.nodeType != 1 || img.tagName != 'IMG') {
|
1390
|
+
throwException('TYPE_MISMATCH_ERR');
|
1391
|
+
}
|
1392
|
+
if (img.readyState != 'complete') {
|
1393
|
+
throwException('INVALID_STATE_ERR');
|
1394
|
+
}
|
1395
|
+
}
|
1396
|
+
|
1397
|
+
function DOMException_(s) {
|
1398
|
+
this.code = this[s];
|
1399
|
+
this.message = s +': DOM Exception ' + this.code;
|
1400
|
+
}
|
1401
|
+
var p = DOMException_.prototype = new Error;
|
1402
|
+
p.INDEX_SIZE_ERR = 1;
|
1403
|
+
p.DOMSTRING_SIZE_ERR = 2;
|
1404
|
+
p.HIERARCHY_REQUEST_ERR = 3;
|
1405
|
+
p.WRONG_DOCUMENT_ERR = 4;
|
1406
|
+
p.INVALID_CHARACTER_ERR = 5;
|
1407
|
+
p.NO_DATA_ALLOWED_ERR = 6;
|
1408
|
+
p.NO_MODIFICATION_ALLOWED_ERR = 7;
|
1409
|
+
p.NOT_FOUND_ERR = 8;
|
1410
|
+
p.NOT_SUPPORTED_ERR = 9;
|
1411
|
+
p.INUSE_ATTRIBUTE_ERR = 10;
|
1412
|
+
p.INVALID_STATE_ERR = 11;
|
1413
|
+
p.SYNTAX_ERR = 12;
|
1414
|
+
p.INVALID_MODIFICATION_ERR = 13;
|
1415
|
+
p.NAMESPACE_ERR = 14;
|
1416
|
+
p.INVALID_ACCESS_ERR = 15;
|
1417
|
+
p.VALIDATION_ERR = 16;
|
1418
|
+
p.TYPE_MISMATCH_ERR = 17;
|
1419
|
+
|
1420
|
+
// set up externs
|
1421
|
+
G_vmlCanvasManager = G_vmlCanvasManager_;
|
1422
|
+
CanvasRenderingContext2D = CanvasRenderingContext2D_;
|
1423
|
+
CanvasGradient = CanvasGradient_;
|
1424
|
+
CanvasPattern = CanvasPattern_;
|
1425
|
+
DOMException = DOMException_;
|
1426
|
+
})();
|
1427
|
+
|
1428
|
+
} // if
|