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,1749 @@
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory();
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define([], factory);
|
6
|
+
else if(typeof exports === 'object')
|
7
|
+
exports["Parchment"] = factory();
|
8
|
+
else
|
9
|
+
root["Parchment"] = factory();
|
10
|
+
})(typeof self !== 'undefined' ? self : this, function() {
|
11
|
+
return /******/ (function(modules) { // webpackBootstrap
|
12
|
+
/******/ // The module cache
|
13
|
+
/******/ var installedModules = {};
|
14
|
+
/******/
|
15
|
+
/******/ // The require function
|
16
|
+
/******/ function __webpack_require__(moduleId) {
|
17
|
+
/******/
|
18
|
+
/******/ // Check if module is in cache
|
19
|
+
/******/ if(installedModules[moduleId]) {
|
20
|
+
/******/ return installedModules[moduleId].exports;
|
21
|
+
/******/ }
|
22
|
+
/******/ // Create a new module (and put it into the cache)
|
23
|
+
/******/ var module = installedModules[moduleId] = {
|
24
|
+
/******/ i: moduleId,
|
25
|
+
/******/ l: false,
|
26
|
+
/******/ exports: {}
|
27
|
+
/******/ };
|
28
|
+
/******/
|
29
|
+
/******/ // Execute the module function
|
30
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31
|
+
/******/
|
32
|
+
/******/ // Flag the module as loaded
|
33
|
+
/******/ module.l = true;
|
34
|
+
/******/
|
35
|
+
/******/ // Return the exports of the module
|
36
|
+
/******/ return module.exports;
|
37
|
+
/******/ }
|
38
|
+
/******/
|
39
|
+
/******/
|
40
|
+
/******/ // expose the modules object (__webpack_modules__)
|
41
|
+
/******/ __webpack_require__.m = modules;
|
42
|
+
/******/
|
43
|
+
/******/ // expose the module cache
|
44
|
+
/******/ __webpack_require__.c = installedModules;
|
45
|
+
/******/
|
46
|
+
/******/ // define getter function for harmony exports
|
47
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
48
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
49
|
+
/******/ Object.defineProperty(exports, name, {
|
50
|
+
/******/ configurable: false,
|
51
|
+
/******/ enumerable: true,
|
52
|
+
/******/ get: getter
|
53
|
+
/******/ });
|
54
|
+
/******/ }
|
55
|
+
/******/ };
|
56
|
+
/******/
|
57
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
58
|
+
/******/ __webpack_require__.n = function(module) {
|
59
|
+
/******/ var getter = module && module.__esModule ?
|
60
|
+
/******/ function getDefault() { return module['default']; } :
|
61
|
+
/******/ function getModuleExports() { return module; };
|
62
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
63
|
+
/******/ return getter;
|
64
|
+
/******/ };
|
65
|
+
/******/
|
66
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
67
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
68
|
+
/******/
|
69
|
+
/******/ // __webpack_public_path__
|
70
|
+
/******/ __webpack_require__.p = "";
|
71
|
+
/******/
|
72
|
+
/******/ // Load entry module and return exports
|
73
|
+
/******/ return __webpack_require__(__webpack_require__.s = 9);
|
74
|
+
/******/ })
|
75
|
+
/************************************************************************/
|
76
|
+
/******/ ([
|
77
|
+
/* 0 */
|
78
|
+
/***/ (function(module, exports, __webpack_require__) {
|
79
|
+
|
80
|
+
"use strict";
|
81
|
+
|
82
|
+
var __extends = (this && this.__extends) || (function () {
|
83
|
+
var extendStatics = Object.setPrototypeOf ||
|
84
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
85
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
86
|
+
return function (d, b) {
|
87
|
+
extendStatics(d, b);
|
88
|
+
function __() { this.constructor = d; }
|
89
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
90
|
+
};
|
91
|
+
})();
|
92
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
93
|
+
var ParchmentError = /** @class */ (function (_super) {
|
94
|
+
__extends(ParchmentError, _super);
|
95
|
+
function ParchmentError(message) {
|
96
|
+
var _this = this;
|
97
|
+
message = '[Parchment] ' + message;
|
98
|
+
_this = _super.call(this, message) || this;
|
99
|
+
_this.message = message;
|
100
|
+
_this.name = _this.constructor.name;
|
101
|
+
return _this;
|
102
|
+
}
|
103
|
+
return ParchmentError;
|
104
|
+
}(Error));
|
105
|
+
exports.ParchmentError = ParchmentError;
|
106
|
+
var attributes = {};
|
107
|
+
var classes = {};
|
108
|
+
var tags = {};
|
109
|
+
var types = {};
|
110
|
+
exports.DATA_KEY = '__blot';
|
111
|
+
var Scope;
|
112
|
+
(function (Scope) {
|
113
|
+
Scope[Scope["TYPE"] = 3] = "TYPE";
|
114
|
+
Scope[Scope["LEVEL"] = 12] = "LEVEL";
|
115
|
+
Scope[Scope["ATTRIBUTE"] = 13] = "ATTRIBUTE";
|
116
|
+
Scope[Scope["BLOT"] = 14] = "BLOT";
|
117
|
+
Scope[Scope["INLINE"] = 7] = "INLINE";
|
118
|
+
Scope[Scope["BLOCK"] = 11] = "BLOCK";
|
119
|
+
Scope[Scope["BLOCK_BLOT"] = 10] = "BLOCK_BLOT";
|
120
|
+
Scope[Scope["INLINE_BLOT"] = 6] = "INLINE_BLOT";
|
121
|
+
Scope[Scope["BLOCK_ATTRIBUTE"] = 9] = "BLOCK_ATTRIBUTE";
|
122
|
+
Scope[Scope["INLINE_ATTRIBUTE"] = 5] = "INLINE_ATTRIBUTE";
|
123
|
+
Scope[Scope["ANY"] = 15] = "ANY";
|
124
|
+
})(Scope = exports.Scope || (exports.Scope = {}));
|
125
|
+
function create(input, value) {
|
126
|
+
var match = query(input);
|
127
|
+
if (match == null) {
|
128
|
+
throw new ParchmentError("Unable to create " + input + " blot");
|
129
|
+
}
|
130
|
+
var BlotClass = match;
|
131
|
+
var node =
|
132
|
+
// @ts-ignore
|
133
|
+
input instanceof Node || input['nodeType'] === Node.TEXT_NODE ? input : BlotClass.create(value);
|
134
|
+
return new BlotClass(node, value);
|
135
|
+
}
|
136
|
+
exports.create = create;
|
137
|
+
function find(node, bubble) {
|
138
|
+
if (bubble === void 0) { bubble = false; }
|
139
|
+
if (node == null)
|
140
|
+
return null;
|
141
|
+
// @ts-ignore
|
142
|
+
if (node[exports.DATA_KEY] != null)
|
143
|
+
return node[exports.DATA_KEY].blot;
|
144
|
+
if (bubble)
|
145
|
+
return find(node.parentNode, bubble);
|
146
|
+
return null;
|
147
|
+
}
|
148
|
+
exports.find = find;
|
149
|
+
function query(query, scope) {
|
150
|
+
if (scope === void 0) { scope = Scope.ANY; }
|
151
|
+
var match;
|
152
|
+
if (typeof query === 'string') {
|
153
|
+
match = types[query] || attributes[query];
|
154
|
+
// @ts-ignore
|
155
|
+
}
|
156
|
+
else if (query instanceof Text || query['nodeType'] === Node.TEXT_NODE) {
|
157
|
+
match = types['text'];
|
158
|
+
}
|
159
|
+
else if (typeof query === 'number') {
|
160
|
+
if (query & Scope.LEVEL & Scope.BLOCK) {
|
161
|
+
match = types['block'];
|
162
|
+
}
|
163
|
+
else if (query & Scope.LEVEL & Scope.INLINE) {
|
164
|
+
match = types['inline'];
|
165
|
+
}
|
166
|
+
}
|
167
|
+
else if (query instanceof HTMLElement) {
|
168
|
+
var names = (query.getAttribute('class') || '').split(/\s+/);
|
169
|
+
for (var i in names) {
|
170
|
+
match = classes[names[i]];
|
171
|
+
if (match)
|
172
|
+
break;
|
173
|
+
}
|
174
|
+
match = match || tags[query.tagName];
|
175
|
+
}
|
176
|
+
if (match == null)
|
177
|
+
return null;
|
178
|
+
// @ts-ignore
|
179
|
+
if (scope & Scope.LEVEL & match.scope && scope & Scope.TYPE & match.scope)
|
180
|
+
return match;
|
181
|
+
return null;
|
182
|
+
}
|
183
|
+
exports.query = query;
|
184
|
+
function register() {
|
185
|
+
var Definitions = [];
|
186
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
187
|
+
Definitions[_i] = arguments[_i];
|
188
|
+
}
|
189
|
+
if (Definitions.length > 1) {
|
190
|
+
return Definitions.map(function (d) {
|
191
|
+
return register(d);
|
192
|
+
});
|
193
|
+
}
|
194
|
+
var Definition = Definitions[0];
|
195
|
+
if (typeof Definition.blotName !== 'string' && typeof Definition.attrName !== 'string') {
|
196
|
+
throw new ParchmentError('Invalid definition');
|
197
|
+
}
|
198
|
+
else if (Definition.blotName === 'abstract') {
|
199
|
+
throw new ParchmentError('Cannot register abstract class');
|
200
|
+
}
|
201
|
+
types[Definition.blotName || Definition.attrName] = Definition;
|
202
|
+
if (typeof Definition.keyName === 'string') {
|
203
|
+
attributes[Definition.keyName] = Definition;
|
204
|
+
}
|
205
|
+
else {
|
206
|
+
if (Definition.className != null) {
|
207
|
+
classes[Definition.className] = Definition;
|
208
|
+
}
|
209
|
+
if (Definition.tagName != null) {
|
210
|
+
if (Array.isArray(Definition.tagName)) {
|
211
|
+
Definition.tagName = Definition.tagName.map(function (tagName) {
|
212
|
+
return tagName.toUpperCase();
|
213
|
+
});
|
214
|
+
}
|
215
|
+
else {
|
216
|
+
Definition.tagName = Definition.tagName.toUpperCase();
|
217
|
+
}
|
218
|
+
var tagNames = Array.isArray(Definition.tagName) ? Definition.tagName : [Definition.tagName];
|
219
|
+
tagNames.forEach(function (tag) {
|
220
|
+
if (tags[tag] == null || Definition.className == null) {
|
221
|
+
tags[tag] = Definition;
|
222
|
+
}
|
223
|
+
});
|
224
|
+
}
|
225
|
+
}
|
226
|
+
return Definition;
|
227
|
+
}
|
228
|
+
exports.register = register;
|
229
|
+
|
230
|
+
|
231
|
+
/***/ }),
|
232
|
+
/* 1 */
|
233
|
+
/***/ (function(module, exports, __webpack_require__) {
|
234
|
+
|
235
|
+
"use strict";
|
236
|
+
|
237
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
238
|
+
var Registry = __webpack_require__(0);
|
239
|
+
var Attributor = /** @class */ (function () {
|
240
|
+
function Attributor(attrName, keyName, options) {
|
241
|
+
if (options === void 0) { options = {}; }
|
242
|
+
this.attrName = attrName;
|
243
|
+
this.keyName = keyName;
|
244
|
+
var attributeBit = Registry.Scope.TYPE & Registry.Scope.ATTRIBUTE;
|
245
|
+
if (options.scope != null) {
|
246
|
+
// Ignore type bits, force attribute bit
|
247
|
+
this.scope = (options.scope & Registry.Scope.LEVEL) | attributeBit;
|
248
|
+
}
|
249
|
+
else {
|
250
|
+
this.scope = Registry.Scope.ATTRIBUTE;
|
251
|
+
}
|
252
|
+
if (options.whitelist != null)
|
253
|
+
this.whitelist = options.whitelist;
|
254
|
+
}
|
255
|
+
Attributor.keys = function (node) {
|
256
|
+
return [].map.call(node.attributes, function (item) {
|
257
|
+
return item.name;
|
258
|
+
});
|
259
|
+
};
|
260
|
+
Attributor.prototype.add = function (node, value) {
|
261
|
+
if (!this.canAdd(node, value))
|
262
|
+
return false;
|
263
|
+
node.setAttribute(this.keyName, value);
|
264
|
+
return true;
|
265
|
+
};
|
266
|
+
Attributor.prototype.canAdd = function (node, value) {
|
267
|
+
var match = Registry.query(node, Registry.Scope.BLOT & (this.scope | Registry.Scope.TYPE));
|
268
|
+
if (match == null)
|
269
|
+
return false;
|
270
|
+
if (this.whitelist == null)
|
271
|
+
return true;
|
272
|
+
if (typeof value === 'string') {
|
273
|
+
return this.whitelist.indexOf(value.replace(/["']/g, '')) > -1;
|
274
|
+
}
|
275
|
+
else {
|
276
|
+
return this.whitelist.indexOf(value) > -1;
|
277
|
+
}
|
278
|
+
};
|
279
|
+
Attributor.prototype.remove = function (node) {
|
280
|
+
node.removeAttribute(this.keyName);
|
281
|
+
};
|
282
|
+
Attributor.prototype.value = function (node) {
|
283
|
+
var value = node.getAttribute(this.keyName);
|
284
|
+
if (this.canAdd(node, value) && value) {
|
285
|
+
return value;
|
286
|
+
}
|
287
|
+
return '';
|
288
|
+
};
|
289
|
+
return Attributor;
|
290
|
+
}());
|
291
|
+
exports.default = Attributor;
|
292
|
+
|
293
|
+
|
294
|
+
/***/ }),
|
295
|
+
/* 2 */
|
296
|
+
/***/ (function(module, exports, __webpack_require__) {
|
297
|
+
|
298
|
+
"use strict";
|
299
|
+
|
300
|
+
var __extends = (this && this.__extends) || (function () {
|
301
|
+
var extendStatics = Object.setPrototypeOf ||
|
302
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
303
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
304
|
+
return function (d, b) {
|
305
|
+
extendStatics(d, b);
|
306
|
+
function __() { this.constructor = d; }
|
307
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
308
|
+
};
|
309
|
+
})();
|
310
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
311
|
+
var linked_list_1 = __webpack_require__(11);
|
312
|
+
var shadow_1 = __webpack_require__(5);
|
313
|
+
var Registry = __webpack_require__(0);
|
314
|
+
var ContainerBlot = /** @class */ (function (_super) {
|
315
|
+
__extends(ContainerBlot, _super);
|
316
|
+
function ContainerBlot(domNode) {
|
317
|
+
var _this = _super.call(this, domNode) || this;
|
318
|
+
_this.build();
|
319
|
+
return _this;
|
320
|
+
}
|
321
|
+
ContainerBlot.prototype.appendChild = function (other) {
|
322
|
+
this.insertBefore(other);
|
323
|
+
};
|
324
|
+
ContainerBlot.prototype.attach = function () {
|
325
|
+
_super.prototype.attach.call(this);
|
326
|
+
this.children.forEach(function (child) {
|
327
|
+
child.attach();
|
328
|
+
});
|
329
|
+
};
|
330
|
+
ContainerBlot.prototype.build = function () {
|
331
|
+
var _this = this;
|
332
|
+
this.children = new linked_list_1.default();
|
333
|
+
// Need to be reversed for if DOM nodes already in order
|
334
|
+
[].slice
|
335
|
+
.call(this.domNode.childNodes)
|
336
|
+
.reverse()
|
337
|
+
.forEach(function (node) {
|
338
|
+
try {
|
339
|
+
var child = makeBlot(node);
|
340
|
+
_this.insertBefore(child, _this.children.head || undefined);
|
341
|
+
}
|
342
|
+
catch (err) {
|
343
|
+
if (err instanceof Registry.ParchmentError)
|
344
|
+
return;
|
345
|
+
else
|
346
|
+
throw err;
|
347
|
+
}
|
348
|
+
});
|
349
|
+
};
|
350
|
+
ContainerBlot.prototype.deleteAt = function (index, length) {
|
351
|
+
if (index === 0 && length === this.length()) {
|
352
|
+
return this.remove();
|
353
|
+
}
|
354
|
+
this.children.forEachAt(index, length, function (child, offset, length) {
|
355
|
+
child.deleteAt(offset, length);
|
356
|
+
});
|
357
|
+
};
|
358
|
+
ContainerBlot.prototype.descendant = function (criteria, index) {
|
359
|
+
var _a = this.children.find(index), child = _a[0], offset = _a[1];
|
360
|
+
if ((criteria.blotName == null && criteria(child)) ||
|
361
|
+
(criteria.blotName != null && child instanceof criteria)) {
|
362
|
+
return [child, offset];
|
363
|
+
}
|
364
|
+
else if (child instanceof ContainerBlot) {
|
365
|
+
return child.descendant(criteria, offset);
|
366
|
+
}
|
367
|
+
else {
|
368
|
+
return [null, -1];
|
369
|
+
}
|
370
|
+
};
|
371
|
+
ContainerBlot.prototype.descendants = function (criteria, index, length) {
|
372
|
+
if (index === void 0) { index = 0; }
|
373
|
+
if (length === void 0) { length = Number.MAX_VALUE; }
|
374
|
+
var descendants = [];
|
375
|
+
var lengthLeft = length;
|
376
|
+
this.children.forEachAt(index, length, function (child, index, length) {
|
377
|
+
if ((criteria.blotName == null && criteria(child)) ||
|
378
|
+
(criteria.blotName != null && child instanceof criteria)) {
|
379
|
+
descendants.push(child);
|
380
|
+
}
|
381
|
+
if (child instanceof ContainerBlot) {
|
382
|
+
descendants = descendants.concat(child.descendants(criteria, index, lengthLeft));
|
383
|
+
}
|
384
|
+
lengthLeft -= length;
|
385
|
+
});
|
386
|
+
return descendants;
|
387
|
+
};
|
388
|
+
ContainerBlot.prototype.detach = function () {
|
389
|
+
this.children.forEach(function (child) {
|
390
|
+
child.detach();
|
391
|
+
});
|
392
|
+
_super.prototype.detach.call(this);
|
393
|
+
};
|
394
|
+
ContainerBlot.prototype.formatAt = function (index, length, name, value) {
|
395
|
+
this.children.forEachAt(index, length, function (child, offset, length) {
|
396
|
+
child.formatAt(offset, length, name, value);
|
397
|
+
});
|
398
|
+
};
|
399
|
+
ContainerBlot.prototype.insertAt = function (index, value, def) {
|
400
|
+
var _a = this.children.find(index), child = _a[0], offset = _a[1];
|
401
|
+
if (child) {
|
402
|
+
child.insertAt(offset, value, def);
|
403
|
+
}
|
404
|
+
else {
|
405
|
+
var blot = def == null ? Registry.create('text', value) : Registry.create(value, def);
|
406
|
+
this.appendChild(blot);
|
407
|
+
}
|
408
|
+
};
|
409
|
+
ContainerBlot.prototype.insertBefore = function (childBlot, refBlot) {
|
410
|
+
if (this.statics.allowedChildren != null &&
|
411
|
+
!this.statics.allowedChildren.some(function (child) {
|
412
|
+
return childBlot instanceof child;
|
413
|
+
})) {
|
414
|
+
throw new Registry.ParchmentError("Cannot insert " + childBlot.statics.blotName + " into " + this.statics.blotName);
|
415
|
+
}
|
416
|
+
childBlot.insertInto(this, refBlot);
|
417
|
+
};
|
418
|
+
ContainerBlot.prototype.length = function () {
|
419
|
+
return this.children.reduce(function (memo, child) {
|
420
|
+
return memo + child.length();
|
421
|
+
}, 0);
|
422
|
+
};
|
423
|
+
ContainerBlot.prototype.moveChildren = function (targetParent, refNode) {
|
424
|
+
this.children.forEach(function (child) {
|
425
|
+
targetParent.insertBefore(child, refNode);
|
426
|
+
});
|
427
|
+
};
|
428
|
+
ContainerBlot.prototype.optimize = function (context) {
|
429
|
+
_super.prototype.optimize.call(this, context);
|
430
|
+
if (this.children.length === 0) {
|
431
|
+
if (this.statics.defaultChild != null) {
|
432
|
+
var child = Registry.create(this.statics.defaultChild);
|
433
|
+
this.appendChild(child);
|
434
|
+
child.optimize(context);
|
435
|
+
}
|
436
|
+
else {
|
437
|
+
this.remove();
|
438
|
+
}
|
439
|
+
}
|
440
|
+
};
|
441
|
+
ContainerBlot.prototype.path = function (index, inclusive) {
|
442
|
+
if (inclusive === void 0) { inclusive = false; }
|
443
|
+
var _a = this.children.find(index, inclusive), child = _a[0], offset = _a[1];
|
444
|
+
var position = [[this, index]];
|
445
|
+
if (child instanceof ContainerBlot) {
|
446
|
+
return position.concat(child.path(offset, inclusive));
|
447
|
+
}
|
448
|
+
else if (child != null) {
|
449
|
+
position.push([child, offset]);
|
450
|
+
}
|
451
|
+
return position;
|
452
|
+
};
|
453
|
+
ContainerBlot.prototype.removeChild = function (child) {
|
454
|
+
this.children.remove(child);
|
455
|
+
};
|
456
|
+
ContainerBlot.prototype.replace = function (target) {
|
457
|
+
if (target instanceof ContainerBlot) {
|
458
|
+
target.moveChildren(this);
|
459
|
+
}
|
460
|
+
_super.prototype.replace.call(this, target);
|
461
|
+
};
|
462
|
+
ContainerBlot.prototype.split = function (index, force) {
|
463
|
+
if (force === void 0) { force = false; }
|
464
|
+
if (!force) {
|
465
|
+
if (index === 0)
|
466
|
+
return this;
|
467
|
+
if (index === this.length())
|
468
|
+
return this.next;
|
469
|
+
}
|
470
|
+
var after = this.clone();
|
471
|
+
this.parent.insertBefore(after, this.next);
|
472
|
+
this.children.forEachAt(index, this.length(), function (child, offset, length) {
|
473
|
+
child = child.split(offset, force);
|
474
|
+
after.appendChild(child);
|
475
|
+
});
|
476
|
+
return after;
|
477
|
+
};
|
478
|
+
ContainerBlot.prototype.unwrap = function () {
|
479
|
+
this.moveChildren(this.parent, this.next);
|
480
|
+
this.remove();
|
481
|
+
};
|
482
|
+
ContainerBlot.prototype.update = function (mutations, context) {
|
483
|
+
var _this = this;
|
484
|
+
var addedNodes = [];
|
485
|
+
var removedNodes = [];
|
486
|
+
mutations.forEach(function (mutation) {
|
487
|
+
if (mutation.target === _this.domNode && mutation.type === 'childList') {
|
488
|
+
addedNodes.push.apply(addedNodes, mutation.addedNodes);
|
489
|
+
removedNodes.push.apply(removedNodes, mutation.removedNodes);
|
490
|
+
}
|
491
|
+
});
|
492
|
+
removedNodes.forEach(function (node) {
|
493
|
+
// Check node has actually been removed
|
494
|
+
// One exception is Chrome does not immediately remove IFRAMEs
|
495
|
+
// from DOM but MutationRecord is correct in its reported removal
|
496
|
+
if (node.parentNode != null &&
|
497
|
+
// @ts-ignore
|
498
|
+
node.tagName !== 'IFRAME' &&
|
499
|
+
document.body.compareDocumentPosition(node) & Node.DOCUMENT_POSITION_CONTAINED_BY) {
|
500
|
+
return;
|
501
|
+
}
|
502
|
+
var blot = Registry.find(node);
|
503
|
+
if (blot == null)
|
504
|
+
return;
|
505
|
+
if (blot.domNode.parentNode == null || blot.domNode.parentNode === _this.domNode) {
|
506
|
+
blot.detach();
|
507
|
+
}
|
508
|
+
});
|
509
|
+
addedNodes
|
510
|
+
.filter(function (node) {
|
511
|
+
return node.parentNode == _this.domNode;
|
512
|
+
})
|
513
|
+
.sort(function (a, b) {
|
514
|
+
if (a === b)
|
515
|
+
return 0;
|
516
|
+
if (a.compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING) {
|
517
|
+
return 1;
|
518
|
+
}
|
519
|
+
return -1;
|
520
|
+
})
|
521
|
+
.forEach(function (node) {
|
522
|
+
var refBlot = null;
|
523
|
+
if (node.nextSibling != null) {
|
524
|
+
refBlot = Registry.find(node.nextSibling);
|
525
|
+
}
|
526
|
+
var blot = makeBlot(node);
|
527
|
+
if (blot.next != refBlot || blot.next == null) {
|
528
|
+
if (blot.parent != null) {
|
529
|
+
blot.parent.removeChild(_this);
|
530
|
+
}
|
531
|
+
_this.insertBefore(blot, refBlot || undefined);
|
532
|
+
}
|
533
|
+
});
|
534
|
+
};
|
535
|
+
return ContainerBlot;
|
536
|
+
}(shadow_1.default));
|
537
|
+
function makeBlot(node) {
|
538
|
+
var blot = Registry.find(node);
|
539
|
+
if (blot == null) {
|
540
|
+
try {
|
541
|
+
blot = Registry.create(node);
|
542
|
+
}
|
543
|
+
catch (e) {
|
544
|
+
blot = Registry.create(Registry.Scope.INLINE);
|
545
|
+
[].slice.call(node.childNodes).forEach(function (child) {
|
546
|
+
// @ts-ignore
|
547
|
+
blot.domNode.appendChild(child);
|
548
|
+
});
|
549
|
+
if (node.parentNode) {
|
550
|
+
node.parentNode.replaceChild(blot.domNode, node);
|
551
|
+
}
|
552
|
+
blot.attach();
|
553
|
+
}
|
554
|
+
}
|
555
|
+
return blot;
|
556
|
+
}
|
557
|
+
exports.default = ContainerBlot;
|
558
|
+
|
559
|
+
|
560
|
+
/***/ }),
|
561
|
+
/* 3 */
|
562
|
+
/***/ (function(module, exports, __webpack_require__) {
|
563
|
+
|
564
|
+
"use strict";
|
565
|
+
|
566
|
+
var __extends = (this && this.__extends) || (function () {
|
567
|
+
var extendStatics = Object.setPrototypeOf ||
|
568
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
569
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
570
|
+
return function (d, b) {
|
571
|
+
extendStatics(d, b);
|
572
|
+
function __() { this.constructor = d; }
|
573
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
574
|
+
};
|
575
|
+
})();
|
576
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
577
|
+
var attributor_1 = __webpack_require__(1);
|
578
|
+
var store_1 = __webpack_require__(6);
|
579
|
+
var container_1 = __webpack_require__(2);
|
580
|
+
var Registry = __webpack_require__(0);
|
581
|
+
var FormatBlot = /** @class */ (function (_super) {
|
582
|
+
__extends(FormatBlot, _super);
|
583
|
+
function FormatBlot(domNode) {
|
584
|
+
var _this = _super.call(this, domNode) || this;
|
585
|
+
_this.attributes = new store_1.default(_this.domNode);
|
586
|
+
return _this;
|
587
|
+
}
|
588
|
+
FormatBlot.formats = function (domNode) {
|
589
|
+
if (typeof this.tagName === 'string') {
|
590
|
+
return true;
|
591
|
+
}
|
592
|
+
else if (Array.isArray(this.tagName)) {
|
593
|
+
return domNode.tagName.toLowerCase();
|
594
|
+
}
|
595
|
+
return undefined;
|
596
|
+
};
|
597
|
+
FormatBlot.prototype.format = function (name, value) {
|
598
|
+
var format = Registry.query(name);
|
599
|
+
if (format instanceof attributor_1.default) {
|
600
|
+
this.attributes.attribute(format, value);
|
601
|
+
}
|
602
|
+
else if (value) {
|
603
|
+
if (format != null && (name !== this.statics.blotName || this.formats()[name] !== value)) {
|
604
|
+
this.replaceWith(name, value);
|
605
|
+
}
|
606
|
+
}
|
607
|
+
};
|
608
|
+
FormatBlot.prototype.formats = function () {
|
609
|
+
var formats = this.attributes.values();
|
610
|
+
var format = this.statics.formats(this.domNode);
|
611
|
+
if (format != null) {
|
612
|
+
formats[this.statics.blotName] = format;
|
613
|
+
}
|
614
|
+
return formats;
|
615
|
+
};
|
616
|
+
FormatBlot.prototype.replaceWith = function (name, value) {
|
617
|
+
var replacement = _super.prototype.replaceWith.call(this, name, value);
|
618
|
+
this.attributes.copy(replacement);
|
619
|
+
return replacement;
|
620
|
+
};
|
621
|
+
FormatBlot.prototype.update = function (mutations, context) {
|
622
|
+
var _this = this;
|
623
|
+
_super.prototype.update.call(this, mutations, context);
|
624
|
+
if (mutations.some(function (mutation) {
|
625
|
+
return mutation.target === _this.domNode && mutation.type === 'attributes';
|
626
|
+
})) {
|
627
|
+
this.attributes.build();
|
628
|
+
}
|
629
|
+
};
|
630
|
+
FormatBlot.prototype.wrap = function (name, value) {
|
631
|
+
var wrapper = _super.prototype.wrap.call(this, name, value);
|
632
|
+
if (wrapper instanceof FormatBlot && wrapper.statics.scope === this.statics.scope) {
|
633
|
+
this.attributes.move(wrapper);
|
634
|
+
}
|
635
|
+
return wrapper;
|
636
|
+
};
|
637
|
+
return FormatBlot;
|
638
|
+
}(container_1.default));
|
639
|
+
exports.default = FormatBlot;
|
640
|
+
|
641
|
+
|
642
|
+
/***/ }),
|
643
|
+
/* 4 */
|
644
|
+
/***/ (function(module, exports, __webpack_require__) {
|
645
|
+
|
646
|
+
"use strict";
|
647
|
+
|
648
|
+
var __extends = (this && this.__extends) || (function () {
|
649
|
+
var extendStatics = Object.setPrototypeOf ||
|
650
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
651
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
652
|
+
return function (d, b) {
|
653
|
+
extendStatics(d, b);
|
654
|
+
function __() { this.constructor = d; }
|
655
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
656
|
+
};
|
657
|
+
})();
|
658
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
659
|
+
var shadow_1 = __webpack_require__(5);
|
660
|
+
var Registry = __webpack_require__(0);
|
661
|
+
var LeafBlot = /** @class */ (function (_super) {
|
662
|
+
__extends(LeafBlot, _super);
|
663
|
+
function LeafBlot() {
|
664
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
665
|
+
}
|
666
|
+
LeafBlot.value = function (domNode) {
|
667
|
+
return true;
|
668
|
+
};
|
669
|
+
LeafBlot.prototype.index = function (node, offset) {
|
670
|
+
if (this.domNode === node ||
|
671
|
+
this.domNode.compareDocumentPosition(node) & Node.DOCUMENT_POSITION_CONTAINED_BY) {
|
672
|
+
return Math.min(offset, 1);
|
673
|
+
}
|
674
|
+
return -1;
|
675
|
+
};
|
676
|
+
LeafBlot.prototype.position = function (index, inclusive) {
|
677
|
+
var offset = [].indexOf.call(this.parent.domNode.childNodes, this.domNode);
|
678
|
+
if (index > 0)
|
679
|
+
offset += 1;
|
680
|
+
return [this.parent.domNode, offset];
|
681
|
+
};
|
682
|
+
LeafBlot.prototype.value = function () {
|
683
|
+
return _a = {}, _a[this.statics.blotName] = this.statics.value(this.domNode) || true, _a;
|
684
|
+
var _a;
|
685
|
+
};
|
686
|
+
LeafBlot.scope = Registry.Scope.INLINE_BLOT;
|
687
|
+
return LeafBlot;
|
688
|
+
}(shadow_1.default));
|
689
|
+
exports.default = LeafBlot;
|
690
|
+
|
691
|
+
|
692
|
+
/***/ }),
|
693
|
+
/* 5 */
|
694
|
+
/***/ (function(module, exports, __webpack_require__) {
|
695
|
+
|
696
|
+
"use strict";
|
697
|
+
|
698
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
699
|
+
var Registry = __webpack_require__(0);
|
700
|
+
var ShadowBlot = /** @class */ (function () {
|
701
|
+
function ShadowBlot(domNode) {
|
702
|
+
this.domNode = domNode;
|
703
|
+
// @ts-ignore
|
704
|
+
this.domNode[Registry.DATA_KEY] = { blot: this };
|
705
|
+
}
|
706
|
+
Object.defineProperty(ShadowBlot.prototype, "statics", {
|
707
|
+
// Hack for accessing inherited static methods
|
708
|
+
get: function () {
|
709
|
+
return this.constructor;
|
710
|
+
},
|
711
|
+
enumerable: true,
|
712
|
+
configurable: true
|
713
|
+
});
|
714
|
+
ShadowBlot.create = function (value) {
|
715
|
+
if (this.tagName == null) {
|
716
|
+
throw new Registry.ParchmentError('Blot definition missing tagName');
|
717
|
+
}
|
718
|
+
var node;
|
719
|
+
if (Array.isArray(this.tagName)) {
|
720
|
+
if (typeof value === 'string') {
|
721
|
+
value = value.toUpperCase();
|
722
|
+
if (parseInt(value).toString() === value) {
|
723
|
+
value = parseInt(value);
|
724
|
+
}
|
725
|
+
}
|
726
|
+
if (typeof value === 'number') {
|
727
|
+
node = document.createElement(this.tagName[value - 1]);
|
728
|
+
}
|
729
|
+
else if (this.tagName.indexOf(value) > -1) {
|
730
|
+
node = document.createElement(value);
|
731
|
+
}
|
732
|
+
else {
|
733
|
+
node = document.createElement(this.tagName[0]);
|
734
|
+
}
|
735
|
+
}
|
736
|
+
else {
|
737
|
+
node = document.createElement(this.tagName);
|
738
|
+
}
|
739
|
+
if (this.className) {
|
740
|
+
node.classList.add(this.className);
|
741
|
+
}
|
742
|
+
return node;
|
743
|
+
};
|
744
|
+
ShadowBlot.prototype.attach = function () {
|
745
|
+
if (this.parent != null) {
|
746
|
+
this.scroll = this.parent.scroll;
|
747
|
+
}
|
748
|
+
};
|
749
|
+
ShadowBlot.prototype.clone = function () {
|
750
|
+
var domNode = this.domNode.cloneNode(false);
|
751
|
+
return Registry.create(domNode);
|
752
|
+
};
|
753
|
+
ShadowBlot.prototype.detach = function () {
|
754
|
+
if (this.parent != null)
|
755
|
+
this.parent.removeChild(this);
|
756
|
+
// @ts-ignore
|
757
|
+
delete this.domNode[Registry.DATA_KEY];
|
758
|
+
};
|
759
|
+
ShadowBlot.prototype.deleteAt = function (index, length) {
|
760
|
+
var blot = this.isolate(index, length);
|
761
|
+
blot.remove();
|
762
|
+
};
|
763
|
+
ShadowBlot.prototype.formatAt = function (index, length, name, value) {
|
764
|
+
var blot = this.isolate(index, length);
|
765
|
+
if (Registry.query(name, Registry.Scope.BLOT) != null && value) {
|
766
|
+
blot.wrap(name, value);
|
767
|
+
}
|
768
|
+
else if (Registry.query(name, Registry.Scope.ATTRIBUTE) != null) {
|
769
|
+
var parent_1 = Registry.create(this.statics.scope);
|
770
|
+
blot.wrap(parent_1);
|
771
|
+
parent_1.format(name, value);
|
772
|
+
}
|
773
|
+
};
|
774
|
+
ShadowBlot.prototype.insertAt = function (index, value, def) {
|
775
|
+
var blot = def == null ? Registry.create('text', value) : Registry.create(value, def);
|
776
|
+
var ref = this.split(index);
|
777
|
+
this.parent.insertBefore(blot, ref);
|
778
|
+
};
|
779
|
+
ShadowBlot.prototype.insertInto = function (parentBlot, refBlot) {
|
780
|
+
if (refBlot === void 0) { refBlot = null; }
|
781
|
+
if (this.parent != null) {
|
782
|
+
this.parent.children.remove(this);
|
783
|
+
}
|
784
|
+
var refDomNode = null;
|
785
|
+
parentBlot.children.insertBefore(this, refBlot);
|
786
|
+
if (refBlot != null) {
|
787
|
+
refDomNode = refBlot.domNode;
|
788
|
+
}
|
789
|
+
if (this.domNode.parentNode != parentBlot.domNode ||
|
790
|
+
this.domNode.nextSibling != refDomNode) {
|
791
|
+
parentBlot.domNode.insertBefore(this.domNode, refDomNode);
|
792
|
+
}
|
793
|
+
this.parent = parentBlot;
|
794
|
+
this.attach();
|
795
|
+
};
|
796
|
+
ShadowBlot.prototype.isolate = function (index, length) {
|
797
|
+
var target = this.split(index);
|
798
|
+
target.split(length);
|
799
|
+
return target;
|
800
|
+
};
|
801
|
+
ShadowBlot.prototype.length = function () {
|
802
|
+
return 1;
|
803
|
+
};
|
804
|
+
ShadowBlot.prototype.offset = function (root) {
|
805
|
+
if (root === void 0) { root = this.parent; }
|
806
|
+
if (this.parent == null || this == root)
|
807
|
+
return 0;
|
808
|
+
return this.parent.children.offset(this) + this.parent.offset(root);
|
809
|
+
};
|
810
|
+
ShadowBlot.prototype.optimize = function (context) {
|
811
|
+
// TODO clean up once we use WeakMap
|
812
|
+
// @ts-ignore
|
813
|
+
if (this.domNode[Registry.DATA_KEY] != null) {
|
814
|
+
// @ts-ignore
|
815
|
+
delete this.domNode[Registry.DATA_KEY].mutations;
|
816
|
+
}
|
817
|
+
};
|
818
|
+
ShadowBlot.prototype.remove = function () {
|
819
|
+
if (this.domNode.parentNode != null) {
|
820
|
+
this.domNode.parentNode.removeChild(this.domNode);
|
821
|
+
}
|
822
|
+
this.detach();
|
823
|
+
};
|
824
|
+
ShadowBlot.prototype.replace = function (target) {
|
825
|
+
if (target.parent == null)
|
826
|
+
return;
|
827
|
+
target.parent.insertBefore(this, target.next);
|
828
|
+
target.remove();
|
829
|
+
};
|
830
|
+
ShadowBlot.prototype.replaceWith = function (name, value) {
|
831
|
+
var replacement = typeof name === 'string' ? Registry.create(name, value) : name;
|
832
|
+
replacement.replace(this);
|
833
|
+
return replacement;
|
834
|
+
};
|
835
|
+
ShadowBlot.prototype.split = function (index, force) {
|
836
|
+
return index === 0 ? this : this.next;
|
837
|
+
};
|
838
|
+
ShadowBlot.prototype.update = function (mutations, context) {
|
839
|
+
// Nothing to do by default
|
840
|
+
};
|
841
|
+
ShadowBlot.prototype.wrap = function (name, value) {
|
842
|
+
var wrapper = typeof name === 'string' ? Registry.create(name, value) : name;
|
843
|
+
if (this.parent != null) {
|
844
|
+
this.parent.insertBefore(wrapper, this.next);
|
845
|
+
}
|
846
|
+
wrapper.appendChild(this);
|
847
|
+
return wrapper;
|
848
|
+
};
|
849
|
+
ShadowBlot.blotName = 'abstract';
|
850
|
+
return ShadowBlot;
|
851
|
+
}());
|
852
|
+
exports.default = ShadowBlot;
|
853
|
+
|
854
|
+
|
855
|
+
/***/ }),
|
856
|
+
/* 6 */
|
857
|
+
/***/ (function(module, exports, __webpack_require__) {
|
858
|
+
|
859
|
+
"use strict";
|
860
|
+
|
861
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
862
|
+
var attributor_1 = __webpack_require__(1);
|
863
|
+
var class_1 = __webpack_require__(7);
|
864
|
+
var style_1 = __webpack_require__(8);
|
865
|
+
var Registry = __webpack_require__(0);
|
866
|
+
var AttributorStore = /** @class */ (function () {
|
867
|
+
function AttributorStore(domNode) {
|
868
|
+
this.attributes = {};
|
869
|
+
this.domNode = domNode;
|
870
|
+
this.build();
|
871
|
+
}
|
872
|
+
AttributorStore.prototype.attribute = function (attribute, value) {
|
873
|
+
// verb
|
874
|
+
if (value) {
|
875
|
+
if (attribute.add(this.domNode, value)) {
|
876
|
+
if (attribute.value(this.domNode) != null) {
|
877
|
+
this.attributes[attribute.attrName] = attribute;
|
878
|
+
}
|
879
|
+
else {
|
880
|
+
delete this.attributes[attribute.attrName];
|
881
|
+
}
|
882
|
+
}
|
883
|
+
}
|
884
|
+
else {
|
885
|
+
attribute.remove(this.domNode);
|
886
|
+
delete this.attributes[attribute.attrName];
|
887
|
+
}
|
888
|
+
};
|
889
|
+
AttributorStore.prototype.build = function () {
|
890
|
+
var _this = this;
|
891
|
+
this.attributes = {};
|
892
|
+
var attributes = attributor_1.default.keys(this.domNode);
|
893
|
+
var classes = class_1.default.keys(this.domNode);
|
894
|
+
var styles = style_1.default.keys(this.domNode);
|
895
|
+
attributes
|
896
|
+
.concat(classes)
|
897
|
+
.concat(styles)
|
898
|
+
.forEach(function (name) {
|
899
|
+
var attr = Registry.query(name, Registry.Scope.ATTRIBUTE);
|
900
|
+
if (attr instanceof attributor_1.default) {
|
901
|
+
_this.attributes[attr.attrName] = attr;
|
902
|
+
}
|
903
|
+
});
|
904
|
+
};
|
905
|
+
AttributorStore.prototype.copy = function (target) {
|
906
|
+
var _this = this;
|
907
|
+
Object.keys(this.attributes).forEach(function (key) {
|
908
|
+
var value = _this.attributes[key].value(_this.domNode);
|
909
|
+
target.format(key, value);
|
910
|
+
});
|
911
|
+
};
|
912
|
+
AttributorStore.prototype.move = function (target) {
|
913
|
+
var _this = this;
|
914
|
+
this.copy(target);
|
915
|
+
Object.keys(this.attributes).forEach(function (key) {
|
916
|
+
_this.attributes[key].remove(_this.domNode);
|
917
|
+
});
|
918
|
+
this.attributes = {};
|
919
|
+
};
|
920
|
+
AttributorStore.prototype.values = function () {
|
921
|
+
var _this = this;
|
922
|
+
return Object.keys(this.attributes).reduce(function (attributes, name) {
|
923
|
+
attributes[name] = _this.attributes[name].value(_this.domNode);
|
924
|
+
return attributes;
|
925
|
+
}, {});
|
926
|
+
};
|
927
|
+
return AttributorStore;
|
928
|
+
}());
|
929
|
+
exports.default = AttributorStore;
|
930
|
+
|
931
|
+
|
932
|
+
/***/ }),
|
933
|
+
/* 7 */
|
934
|
+
/***/ (function(module, exports, __webpack_require__) {
|
935
|
+
|
936
|
+
"use strict";
|
937
|
+
|
938
|
+
var __extends = (this && this.__extends) || (function () {
|
939
|
+
var extendStatics = Object.setPrototypeOf ||
|
940
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
941
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
942
|
+
return function (d, b) {
|
943
|
+
extendStatics(d, b);
|
944
|
+
function __() { this.constructor = d; }
|
945
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
946
|
+
};
|
947
|
+
})();
|
948
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
949
|
+
var attributor_1 = __webpack_require__(1);
|
950
|
+
function match(node, prefix) {
|
951
|
+
var className = node.getAttribute('class') || '';
|
952
|
+
return className.split(/\s+/).filter(function (name) {
|
953
|
+
return name.indexOf(prefix + "-") === 0;
|
954
|
+
});
|
955
|
+
}
|
956
|
+
var ClassAttributor = /** @class */ (function (_super) {
|
957
|
+
__extends(ClassAttributor, _super);
|
958
|
+
function ClassAttributor() {
|
959
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
960
|
+
}
|
961
|
+
ClassAttributor.keys = function (node) {
|
962
|
+
return (node.getAttribute('class') || '').split(/\s+/).map(function (name) {
|
963
|
+
return name
|
964
|
+
.split('-')
|
965
|
+
.slice(0, -1)
|
966
|
+
.join('-');
|
967
|
+
});
|
968
|
+
};
|
969
|
+
ClassAttributor.prototype.add = function (node, value) {
|
970
|
+
if (!this.canAdd(node, value))
|
971
|
+
return false;
|
972
|
+
this.remove(node);
|
973
|
+
node.classList.add(this.keyName + "-" + value);
|
974
|
+
return true;
|
975
|
+
};
|
976
|
+
ClassAttributor.prototype.remove = function (node) {
|
977
|
+
var matches = match(node, this.keyName);
|
978
|
+
matches.forEach(function (name) {
|
979
|
+
node.classList.remove(name);
|
980
|
+
});
|
981
|
+
if (node.classList.length === 0) {
|
982
|
+
node.removeAttribute('class');
|
983
|
+
}
|
984
|
+
};
|
985
|
+
ClassAttributor.prototype.value = function (node) {
|
986
|
+
var result = match(node, this.keyName)[0] || '';
|
987
|
+
var value = result.slice(this.keyName.length + 1); // +1 for hyphen
|
988
|
+
return this.canAdd(node, value) ? value : '';
|
989
|
+
};
|
990
|
+
return ClassAttributor;
|
991
|
+
}(attributor_1.default));
|
992
|
+
exports.default = ClassAttributor;
|
993
|
+
|
994
|
+
|
995
|
+
/***/ }),
|
996
|
+
/* 8 */
|
997
|
+
/***/ (function(module, exports, __webpack_require__) {
|
998
|
+
|
999
|
+
"use strict";
|
1000
|
+
|
1001
|
+
var __extends = (this && this.__extends) || (function () {
|
1002
|
+
var extendStatics = Object.setPrototypeOf ||
|
1003
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
1004
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
1005
|
+
return function (d, b) {
|
1006
|
+
extendStatics(d, b);
|
1007
|
+
function __() { this.constructor = d; }
|
1008
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
1009
|
+
};
|
1010
|
+
})();
|
1011
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1012
|
+
var attributor_1 = __webpack_require__(1);
|
1013
|
+
function camelize(name) {
|
1014
|
+
var parts = name.split('-');
|
1015
|
+
var rest = parts
|
1016
|
+
.slice(1)
|
1017
|
+
.map(function (part) {
|
1018
|
+
return part[0].toUpperCase() + part.slice(1);
|
1019
|
+
})
|
1020
|
+
.join('');
|
1021
|
+
return parts[0] + rest;
|
1022
|
+
}
|
1023
|
+
var StyleAttributor = /** @class */ (function (_super) {
|
1024
|
+
__extends(StyleAttributor, _super);
|
1025
|
+
function StyleAttributor() {
|
1026
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
1027
|
+
}
|
1028
|
+
StyleAttributor.keys = function (node) {
|
1029
|
+
return (node.getAttribute('style') || '').split(';').map(function (value) {
|
1030
|
+
var arr = value.split(':');
|
1031
|
+
return arr[0].trim();
|
1032
|
+
});
|
1033
|
+
};
|
1034
|
+
StyleAttributor.prototype.add = function (node, value) {
|
1035
|
+
if (!this.canAdd(node, value))
|
1036
|
+
return false;
|
1037
|
+
// @ts-ignore
|
1038
|
+
node.style[camelize(this.keyName)] = value;
|
1039
|
+
return true;
|
1040
|
+
};
|
1041
|
+
StyleAttributor.prototype.remove = function (node) {
|
1042
|
+
// @ts-ignore
|
1043
|
+
node.style[camelize(this.keyName)] = '';
|
1044
|
+
if (!node.getAttribute('style')) {
|
1045
|
+
node.removeAttribute('style');
|
1046
|
+
}
|
1047
|
+
};
|
1048
|
+
StyleAttributor.prototype.value = function (node) {
|
1049
|
+
// @ts-ignore
|
1050
|
+
var value = node.style[camelize(this.keyName)];
|
1051
|
+
return this.canAdd(node, value) ? value : '';
|
1052
|
+
};
|
1053
|
+
return StyleAttributor;
|
1054
|
+
}(attributor_1.default));
|
1055
|
+
exports.default = StyleAttributor;
|
1056
|
+
|
1057
|
+
|
1058
|
+
/***/ }),
|
1059
|
+
/* 9 */
|
1060
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1061
|
+
|
1062
|
+
module.exports = __webpack_require__(10);
|
1063
|
+
|
1064
|
+
|
1065
|
+
/***/ }),
|
1066
|
+
/* 10 */
|
1067
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1068
|
+
|
1069
|
+
"use strict";
|
1070
|
+
|
1071
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1072
|
+
var container_1 = __webpack_require__(2);
|
1073
|
+
var format_1 = __webpack_require__(3);
|
1074
|
+
var leaf_1 = __webpack_require__(4);
|
1075
|
+
var scroll_1 = __webpack_require__(12);
|
1076
|
+
var inline_1 = __webpack_require__(13);
|
1077
|
+
var block_1 = __webpack_require__(14);
|
1078
|
+
var embed_1 = __webpack_require__(15);
|
1079
|
+
var text_1 = __webpack_require__(16);
|
1080
|
+
var attributor_1 = __webpack_require__(1);
|
1081
|
+
var class_1 = __webpack_require__(7);
|
1082
|
+
var style_1 = __webpack_require__(8);
|
1083
|
+
var store_1 = __webpack_require__(6);
|
1084
|
+
var Registry = __webpack_require__(0);
|
1085
|
+
var Parchment = {
|
1086
|
+
Scope: Registry.Scope,
|
1087
|
+
create: Registry.create,
|
1088
|
+
find: Registry.find,
|
1089
|
+
query: Registry.query,
|
1090
|
+
register: Registry.register,
|
1091
|
+
Container: container_1.default,
|
1092
|
+
Format: format_1.default,
|
1093
|
+
Leaf: leaf_1.default,
|
1094
|
+
Embed: embed_1.default,
|
1095
|
+
Scroll: scroll_1.default,
|
1096
|
+
Block: block_1.default,
|
1097
|
+
Inline: inline_1.default,
|
1098
|
+
Text: text_1.default,
|
1099
|
+
Attributor: {
|
1100
|
+
Attribute: attributor_1.default,
|
1101
|
+
Class: class_1.default,
|
1102
|
+
Style: style_1.default,
|
1103
|
+
Store: store_1.default,
|
1104
|
+
},
|
1105
|
+
};
|
1106
|
+
exports.default = Parchment;
|
1107
|
+
|
1108
|
+
|
1109
|
+
/***/ }),
|
1110
|
+
/* 11 */
|
1111
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1112
|
+
|
1113
|
+
"use strict";
|
1114
|
+
|
1115
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1116
|
+
var LinkedList = /** @class */ (function () {
|
1117
|
+
function LinkedList() {
|
1118
|
+
this.head = this.tail = null;
|
1119
|
+
this.length = 0;
|
1120
|
+
}
|
1121
|
+
LinkedList.prototype.append = function () {
|
1122
|
+
var nodes = [];
|
1123
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
1124
|
+
nodes[_i] = arguments[_i];
|
1125
|
+
}
|
1126
|
+
this.insertBefore(nodes[0], null);
|
1127
|
+
if (nodes.length > 1) {
|
1128
|
+
this.append.apply(this, nodes.slice(1));
|
1129
|
+
}
|
1130
|
+
};
|
1131
|
+
LinkedList.prototype.contains = function (node) {
|
1132
|
+
var cur, next = this.iterator();
|
1133
|
+
while ((cur = next())) {
|
1134
|
+
if (cur === node)
|
1135
|
+
return true;
|
1136
|
+
}
|
1137
|
+
return false;
|
1138
|
+
};
|
1139
|
+
LinkedList.prototype.insertBefore = function (node, refNode) {
|
1140
|
+
if (!node)
|
1141
|
+
return;
|
1142
|
+
node.next = refNode;
|
1143
|
+
if (refNode != null) {
|
1144
|
+
node.prev = refNode.prev;
|
1145
|
+
if (refNode.prev != null) {
|
1146
|
+
refNode.prev.next = node;
|
1147
|
+
}
|
1148
|
+
refNode.prev = node;
|
1149
|
+
if (refNode === this.head) {
|
1150
|
+
this.head = node;
|
1151
|
+
}
|
1152
|
+
}
|
1153
|
+
else if (this.tail != null) {
|
1154
|
+
this.tail.next = node;
|
1155
|
+
node.prev = this.tail;
|
1156
|
+
this.tail = node;
|
1157
|
+
}
|
1158
|
+
else {
|
1159
|
+
node.prev = null;
|
1160
|
+
this.head = this.tail = node;
|
1161
|
+
}
|
1162
|
+
this.length += 1;
|
1163
|
+
};
|
1164
|
+
LinkedList.prototype.offset = function (target) {
|
1165
|
+
var index = 0, cur = this.head;
|
1166
|
+
while (cur != null) {
|
1167
|
+
if (cur === target)
|
1168
|
+
return index;
|
1169
|
+
index += cur.length();
|
1170
|
+
cur = cur.next;
|
1171
|
+
}
|
1172
|
+
return -1;
|
1173
|
+
};
|
1174
|
+
LinkedList.prototype.remove = function (node) {
|
1175
|
+
if (!this.contains(node))
|
1176
|
+
return;
|
1177
|
+
if (node.prev != null)
|
1178
|
+
node.prev.next = node.next;
|
1179
|
+
if (node.next != null)
|
1180
|
+
node.next.prev = node.prev;
|
1181
|
+
if (node === this.head)
|
1182
|
+
this.head = node.next;
|
1183
|
+
if (node === this.tail)
|
1184
|
+
this.tail = node.prev;
|
1185
|
+
this.length -= 1;
|
1186
|
+
};
|
1187
|
+
LinkedList.prototype.iterator = function (curNode) {
|
1188
|
+
if (curNode === void 0) { curNode = this.head; }
|
1189
|
+
// TODO use yield when we can
|
1190
|
+
return function () {
|
1191
|
+
var ret = curNode;
|
1192
|
+
if (curNode != null)
|
1193
|
+
curNode = curNode.next;
|
1194
|
+
return ret;
|
1195
|
+
};
|
1196
|
+
};
|
1197
|
+
LinkedList.prototype.find = function (index, inclusive) {
|
1198
|
+
if (inclusive === void 0) { inclusive = false; }
|
1199
|
+
var cur, next = this.iterator();
|
1200
|
+
while ((cur = next())) {
|
1201
|
+
var length_1 = cur.length();
|
1202
|
+
if (index < length_1 ||
|
1203
|
+
(inclusive && index === length_1 && (cur.next == null || cur.next.length() !== 0))) {
|
1204
|
+
return [cur, index];
|
1205
|
+
}
|
1206
|
+
index -= length_1;
|
1207
|
+
}
|
1208
|
+
return [null, 0];
|
1209
|
+
};
|
1210
|
+
LinkedList.prototype.forEach = function (callback) {
|
1211
|
+
var cur, next = this.iterator();
|
1212
|
+
while ((cur = next())) {
|
1213
|
+
callback(cur);
|
1214
|
+
}
|
1215
|
+
};
|
1216
|
+
LinkedList.prototype.forEachAt = function (index, length, callback) {
|
1217
|
+
if (length <= 0)
|
1218
|
+
return;
|
1219
|
+
var _a = this.find(index), startNode = _a[0], offset = _a[1];
|
1220
|
+
var cur, curIndex = index - offset, next = this.iterator(startNode);
|
1221
|
+
while ((cur = next()) && curIndex < index + length) {
|
1222
|
+
var curLength = cur.length();
|
1223
|
+
if (index > curIndex) {
|
1224
|
+
callback(cur, index - curIndex, Math.min(length, curIndex + curLength - index));
|
1225
|
+
}
|
1226
|
+
else {
|
1227
|
+
callback(cur, 0, Math.min(curLength, index + length - curIndex));
|
1228
|
+
}
|
1229
|
+
curIndex += curLength;
|
1230
|
+
}
|
1231
|
+
};
|
1232
|
+
LinkedList.prototype.map = function (callback) {
|
1233
|
+
return this.reduce(function (memo, cur) {
|
1234
|
+
memo.push(callback(cur));
|
1235
|
+
return memo;
|
1236
|
+
}, []);
|
1237
|
+
};
|
1238
|
+
LinkedList.prototype.reduce = function (callback, memo) {
|
1239
|
+
var cur, next = this.iterator();
|
1240
|
+
while ((cur = next())) {
|
1241
|
+
memo = callback(memo, cur);
|
1242
|
+
}
|
1243
|
+
return memo;
|
1244
|
+
};
|
1245
|
+
return LinkedList;
|
1246
|
+
}());
|
1247
|
+
exports.default = LinkedList;
|
1248
|
+
|
1249
|
+
|
1250
|
+
/***/ }),
|
1251
|
+
/* 12 */
|
1252
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1253
|
+
|
1254
|
+
"use strict";
|
1255
|
+
|
1256
|
+
var __extends = (this && this.__extends) || (function () {
|
1257
|
+
var extendStatics = Object.setPrototypeOf ||
|
1258
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
1259
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
1260
|
+
return function (d, b) {
|
1261
|
+
extendStatics(d, b);
|
1262
|
+
function __() { this.constructor = d; }
|
1263
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
1264
|
+
};
|
1265
|
+
})();
|
1266
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1267
|
+
var container_1 = __webpack_require__(2);
|
1268
|
+
var Registry = __webpack_require__(0);
|
1269
|
+
var OBSERVER_CONFIG = {
|
1270
|
+
attributes: true,
|
1271
|
+
characterData: true,
|
1272
|
+
characterDataOldValue: true,
|
1273
|
+
childList: true,
|
1274
|
+
subtree: true,
|
1275
|
+
};
|
1276
|
+
var MAX_OPTIMIZE_ITERATIONS = 100;
|
1277
|
+
var ScrollBlot = /** @class */ (function (_super) {
|
1278
|
+
__extends(ScrollBlot, _super);
|
1279
|
+
function ScrollBlot(node) {
|
1280
|
+
var _this = _super.call(this, node) || this;
|
1281
|
+
_this.scroll = _this;
|
1282
|
+
_this.observer = new MutationObserver(function (mutations) {
|
1283
|
+
_this.update(mutations);
|
1284
|
+
});
|
1285
|
+
_this.observer.observe(_this.domNode, OBSERVER_CONFIG);
|
1286
|
+
_this.attach();
|
1287
|
+
return _this;
|
1288
|
+
}
|
1289
|
+
ScrollBlot.prototype.detach = function () {
|
1290
|
+
_super.prototype.detach.call(this);
|
1291
|
+
this.observer.disconnect();
|
1292
|
+
};
|
1293
|
+
ScrollBlot.prototype.deleteAt = function (index, length) {
|
1294
|
+
this.update();
|
1295
|
+
if (index === 0 && length === this.length()) {
|
1296
|
+
this.children.forEach(function (child) {
|
1297
|
+
child.remove();
|
1298
|
+
});
|
1299
|
+
}
|
1300
|
+
else {
|
1301
|
+
_super.prototype.deleteAt.call(this, index, length);
|
1302
|
+
}
|
1303
|
+
};
|
1304
|
+
ScrollBlot.prototype.formatAt = function (index, length, name, value) {
|
1305
|
+
this.update();
|
1306
|
+
_super.prototype.formatAt.call(this, index, length, name, value);
|
1307
|
+
};
|
1308
|
+
ScrollBlot.prototype.insertAt = function (index, value, def) {
|
1309
|
+
this.update();
|
1310
|
+
_super.prototype.insertAt.call(this, index, value, def);
|
1311
|
+
};
|
1312
|
+
ScrollBlot.prototype.optimize = function (mutations, context) {
|
1313
|
+
var _this = this;
|
1314
|
+
if (mutations === void 0) { mutations = []; }
|
1315
|
+
if (context === void 0) { context = {}; }
|
1316
|
+
_super.prototype.optimize.call(this, context);
|
1317
|
+
// We must modify mutations directly, cannot make copy and then modify
|
1318
|
+
var records = [].slice.call(this.observer.takeRecords());
|
1319
|
+
// Array.push currently seems to be implemented by a non-tail recursive function
|
1320
|
+
// so we cannot just mutations.push.apply(mutations, this.observer.takeRecords());
|
1321
|
+
while (records.length > 0)
|
1322
|
+
mutations.push(records.pop());
|
1323
|
+
// TODO use WeakMap
|
1324
|
+
var mark = function (blot, markParent) {
|
1325
|
+
if (markParent === void 0) { markParent = true; }
|
1326
|
+
if (blot == null || blot === _this)
|
1327
|
+
return;
|
1328
|
+
if (blot.domNode.parentNode == null)
|
1329
|
+
return;
|
1330
|
+
// @ts-ignore
|
1331
|
+
if (blot.domNode[Registry.DATA_KEY].mutations == null) {
|
1332
|
+
// @ts-ignore
|
1333
|
+
blot.domNode[Registry.DATA_KEY].mutations = [];
|
1334
|
+
}
|
1335
|
+
if (markParent)
|
1336
|
+
mark(blot.parent);
|
1337
|
+
};
|
1338
|
+
var optimize = function (blot) {
|
1339
|
+
// Post-order traversal
|
1340
|
+
if (
|
1341
|
+
// @ts-ignore
|
1342
|
+
blot.domNode[Registry.DATA_KEY] == null ||
|
1343
|
+
// @ts-ignore
|
1344
|
+
blot.domNode[Registry.DATA_KEY].mutations == null) {
|
1345
|
+
return;
|
1346
|
+
}
|
1347
|
+
if (blot instanceof container_1.default) {
|
1348
|
+
blot.children.forEach(optimize);
|
1349
|
+
}
|
1350
|
+
blot.optimize(context);
|
1351
|
+
};
|
1352
|
+
var remaining = mutations;
|
1353
|
+
for (var i = 0; remaining.length > 0; i += 1) {
|
1354
|
+
if (i >= MAX_OPTIMIZE_ITERATIONS) {
|
1355
|
+
throw new Error('[Parchment] Maximum optimize iterations reached');
|
1356
|
+
}
|
1357
|
+
remaining.forEach(function (mutation) {
|
1358
|
+
var blot = Registry.find(mutation.target, true);
|
1359
|
+
if (blot == null)
|
1360
|
+
return;
|
1361
|
+
if (blot.domNode === mutation.target) {
|
1362
|
+
if (mutation.type === 'childList') {
|
1363
|
+
mark(Registry.find(mutation.previousSibling, false));
|
1364
|
+
[].forEach.call(mutation.addedNodes, function (node) {
|
1365
|
+
var child = Registry.find(node, false);
|
1366
|
+
mark(child, false);
|
1367
|
+
if (child instanceof container_1.default) {
|
1368
|
+
child.children.forEach(function (grandChild) {
|
1369
|
+
mark(grandChild, false);
|
1370
|
+
});
|
1371
|
+
}
|
1372
|
+
});
|
1373
|
+
}
|
1374
|
+
else if (mutation.type === 'attributes') {
|
1375
|
+
mark(blot.prev);
|
1376
|
+
}
|
1377
|
+
}
|
1378
|
+
mark(blot);
|
1379
|
+
});
|
1380
|
+
this.children.forEach(optimize);
|
1381
|
+
remaining = [].slice.call(this.observer.takeRecords());
|
1382
|
+
records = remaining.slice();
|
1383
|
+
while (records.length > 0)
|
1384
|
+
mutations.push(records.pop());
|
1385
|
+
}
|
1386
|
+
};
|
1387
|
+
ScrollBlot.prototype.update = function (mutations, context) {
|
1388
|
+
var _this = this;
|
1389
|
+
if (context === void 0) { context = {}; }
|
1390
|
+
mutations = mutations || this.observer.takeRecords();
|
1391
|
+
// TODO use WeakMap
|
1392
|
+
mutations
|
1393
|
+
.map(function (mutation) {
|
1394
|
+
var blot = Registry.find(mutation.target, true);
|
1395
|
+
if (blot == null)
|
1396
|
+
return null;
|
1397
|
+
// @ts-ignore
|
1398
|
+
if (blot.domNode[Registry.DATA_KEY].mutations == null) {
|
1399
|
+
// @ts-ignore
|
1400
|
+
blot.domNode[Registry.DATA_KEY].mutations = [mutation];
|
1401
|
+
return blot;
|
1402
|
+
}
|
1403
|
+
else {
|
1404
|
+
// @ts-ignore
|
1405
|
+
blot.domNode[Registry.DATA_KEY].mutations.push(mutation);
|
1406
|
+
return null;
|
1407
|
+
}
|
1408
|
+
})
|
1409
|
+
.forEach(function (blot) {
|
1410
|
+
if (blot == null ||
|
1411
|
+
blot === _this ||
|
1412
|
+
//@ts-ignore
|
1413
|
+
blot.domNode[Registry.DATA_KEY] == null)
|
1414
|
+
return;
|
1415
|
+
// @ts-ignore
|
1416
|
+
blot.update(blot.domNode[Registry.DATA_KEY].mutations || [], context);
|
1417
|
+
});
|
1418
|
+
// @ts-ignore
|
1419
|
+
if (this.domNode[Registry.DATA_KEY].mutations != null) {
|
1420
|
+
// @ts-ignore
|
1421
|
+
_super.prototype.update.call(this, this.domNode[Registry.DATA_KEY].mutations, context);
|
1422
|
+
}
|
1423
|
+
this.optimize(mutations, context);
|
1424
|
+
};
|
1425
|
+
ScrollBlot.blotName = 'scroll';
|
1426
|
+
ScrollBlot.defaultChild = 'block';
|
1427
|
+
ScrollBlot.scope = Registry.Scope.BLOCK_BLOT;
|
1428
|
+
ScrollBlot.tagName = 'DIV';
|
1429
|
+
return ScrollBlot;
|
1430
|
+
}(container_1.default));
|
1431
|
+
exports.default = ScrollBlot;
|
1432
|
+
|
1433
|
+
|
1434
|
+
/***/ }),
|
1435
|
+
/* 13 */
|
1436
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1437
|
+
|
1438
|
+
"use strict";
|
1439
|
+
|
1440
|
+
var __extends = (this && this.__extends) || (function () {
|
1441
|
+
var extendStatics = Object.setPrototypeOf ||
|
1442
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
1443
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
1444
|
+
return function (d, b) {
|
1445
|
+
extendStatics(d, b);
|
1446
|
+
function __() { this.constructor = d; }
|
1447
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
1448
|
+
};
|
1449
|
+
})();
|
1450
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1451
|
+
var format_1 = __webpack_require__(3);
|
1452
|
+
var Registry = __webpack_require__(0);
|
1453
|
+
// Shallow object comparison
|
1454
|
+
function isEqual(obj1, obj2) {
|
1455
|
+
if (Object.keys(obj1).length !== Object.keys(obj2).length)
|
1456
|
+
return false;
|
1457
|
+
// @ts-ignore
|
1458
|
+
for (var prop in obj1) {
|
1459
|
+
// @ts-ignore
|
1460
|
+
if (obj1[prop] !== obj2[prop])
|
1461
|
+
return false;
|
1462
|
+
}
|
1463
|
+
return true;
|
1464
|
+
}
|
1465
|
+
var InlineBlot = /** @class */ (function (_super) {
|
1466
|
+
__extends(InlineBlot, _super);
|
1467
|
+
function InlineBlot() {
|
1468
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
1469
|
+
}
|
1470
|
+
InlineBlot.formats = function (domNode) {
|
1471
|
+
if (domNode.tagName === InlineBlot.tagName)
|
1472
|
+
return undefined;
|
1473
|
+
return _super.formats.call(this, domNode);
|
1474
|
+
};
|
1475
|
+
InlineBlot.prototype.format = function (name, value) {
|
1476
|
+
var _this = this;
|
1477
|
+
if (name === this.statics.blotName && !value) {
|
1478
|
+
this.children.forEach(function (child) {
|
1479
|
+
if (!(child instanceof format_1.default)) {
|
1480
|
+
child = child.wrap(InlineBlot.blotName, true);
|
1481
|
+
}
|
1482
|
+
_this.attributes.copy(child);
|
1483
|
+
});
|
1484
|
+
this.unwrap();
|
1485
|
+
}
|
1486
|
+
else {
|
1487
|
+
_super.prototype.format.call(this, name, value);
|
1488
|
+
}
|
1489
|
+
};
|
1490
|
+
InlineBlot.prototype.formatAt = function (index, length, name, value) {
|
1491
|
+
if (this.formats()[name] != null || Registry.query(name, Registry.Scope.ATTRIBUTE)) {
|
1492
|
+
var blot = this.isolate(index, length);
|
1493
|
+
blot.format(name, value);
|
1494
|
+
}
|
1495
|
+
else {
|
1496
|
+
_super.prototype.formatAt.call(this, index, length, name, value);
|
1497
|
+
}
|
1498
|
+
};
|
1499
|
+
InlineBlot.prototype.optimize = function (context) {
|
1500
|
+
_super.prototype.optimize.call(this, context);
|
1501
|
+
var formats = this.formats();
|
1502
|
+
if (Object.keys(formats).length === 0) {
|
1503
|
+
return this.unwrap(); // unformatted span
|
1504
|
+
}
|
1505
|
+
var next = this.next;
|
1506
|
+
if (next instanceof InlineBlot && next.prev === this && isEqual(formats, next.formats())) {
|
1507
|
+
next.moveChildren(this);
|
1508
|
+
next.remove();
|
1509
|
+
}
|
1510
|
+
};
|
1511
|
+
InlineBlot.blotName = 'inline';
|
1512
|
+
InlineBlot.scope = Registry.Scope.INLINE_BLOT;
|
1513
|
+
InlineBlot.tagName = 'SPAN';
|
1514
|
+
return InlineBlot;
|
1515
|
+
}(format_1.default));
|
1516
|
+
exports.default = InlineBlot;
|
1517
|
+
|
1518
|
+
|
1519
|
+
/***/ }),
|
1520
|
+
/* 14 */
|
1521
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1522
|
+
|
1523
|
+
"use strict";
|
1524
|
+
|
1525
|
+
var __extends = (this && this.__extends) || (function () {
|
1526
|
+
var extendStatics = Object.setPrototypeOf ||
|
1527
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
1528
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
1529
|
+
return function (d, b) {
|
1530
|
+
extendStatics(d, b);
|
1531
|
+
function __() { this.constructor = d; }
|
1532
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
1533
|
+
};
|
1534
|
+
})();
|
1535
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1536
|
+
var format_1 = __webpack_require__(3);
|
1537
|
+
var Registry = __webpack_require__(0);
|
1538
|
+
var BlockBlot = /** @class */ (function (_super) {
|
1539
|
+
__extends(BlockBlot, _super);
|
1540
|
+
function BlockBlot() {
|
1541
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
1542
|
+
}
|
1543
|
+
BlockBlot.formats = function (domNode) {
|
1544
|
+
var tagName = Registry.query(BlockBlot.blotName).tagName;
|
1545
|
+
if (domNode.tagName === tagName)
|
1546
|
+
return undefined;
|
1547
|
+
return _super.formats.call(this, domNode);
|
1548
|
+
};
|
1549
|
+
BlockBlot.prototype.format = function (name, value) {
|
1550
|
+
if (Registry.query(name, Registry.Scope.BLOCK) == null) {
|
1551
|
+
return;
|
1552
|
+
}
|
1553
|
+
else if (name === this.statics.blotName && !value) {
|
1554
|
+
this.replaceWith(BlockBlot.blotName);
|
1555
|
+
}
|
1556
|
+
else {
|
1557
|
+
_super.prototype.format.call(this, name, value);
|
1558
|
+
}
|
1559
|
+
};
|
1560
|
+
BlockBlot.prototype.formatAt = function (index, length, name, value) {
|
1561
|
+
if (Registry.query(name, Registry.Scope.BLOCK) != null) {
|
1562
|
+
this.format(name, value);
|
1563
|
+
}
|
1564
|
+
else {
|
1565
|
+
_super.prototype.formatAt.call(this, index, length, name, value);
|
1566
|
+
}
|
1567
|
+
};
|
1568
|
+
BlockBlot.prototype.insertAt = function (index, value, def) {
|
1569
|
+
if (def == null || Registry.query(value, Registry.Scope.INLINE) != null) {
|
1570
|
+
// Insert text or inline
|
1571
|
+
_super.prototype.insertAt.call(this, index, value, def);
|
1572
|
+
}
|
1573
|
+
else {
|
1574
|
+
var after = this.split(index);
|
1575
|
+
var blot = Registry.create(value, def);
|
1576
|
+
after.parent.insertBefore(blot, after);
|
1577
|
+
}
|
1578
|
+
};
|
1579
|
+
BlockBlot.prototype.update = function (mutations, context) {
|
1580
|
+
if (navigator.userAgent.match(/Trident/)) {
|
1581
|
+
this.build();
|
1582
|
+
}
|
1583
|
+
else {
|
1584
|
+
_super.prototype.update.call(this, mutations, context);
|
1585
|
+
}
|
1586
|
+
};
|
1587
|
+
BlockBlot.blotName = 'block';
|
1588
|
+
BlockBlot.scope = Registry.Scope.BLOCK_BLOT;
|
1589
|
+
BlockBlot.tagName = 'P';
|
1590
|
+
return BlockBlot;
|
1591
|
+
}(format_1.default));
|
1592
|
+
exports.default = BlockBlot;
|
1593
|
+
|
1594
|
+
|
1595
|
+
/***/ }),
|
1596
|
+
/* 15 */
|
1597
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1598
|
+
|
1599
|
+
"use strict";
|
1600
|
+
|
1601
|
+
var __extends = (this && this.__extends) || (function () {
|
1602
|
+
var extendStatics = Object.setPrototypeOf ||
|
1603
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
1604
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
1605
|
+
return function (d, b) {
|
1606
|
+
extendStatics(d, b);
|
1607
|
+
function __() { this.constructor = d; }
|
1608
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
1609
|
+
};
|
1610
|
+
})();
|
1611
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1612
|
+
var leaf_1 = __webpack_require__(4);
|
1613
|
+
var EmbedBlot = /** @class */ (function (_super) {
|
1614
|
+
__extends(EmbedBlot, _super);
|
1615
|
+
function EmbedBlot() {
|
1616
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
1617
|
+
}
|
1618
|
+
EmbedBlot.formats = function (domNode) {
|
1619
|
+
return undefined;
|
1620
|
+
};
|
1621
|
+
EmbedBlot.prototype.format = function (name, value) {
|
1622
|
+
// super.formatAt wraps, which is what we want in general,
|
1623
|
+
// but this allows subclasses to overwrite for formats
|
1624
|
+
// that just apply to particular embeds
|
1625
|
+
_super.prototype.formatAt.call(this, 0, this.length(), name, value);
|
1626
|
+
};
|
1627
|
+
EmbedBlot.prototype.formatAt = function (index, length, name, value) {
|
1628
|
+
if (index === 0 && length === this.length()) {
|
1629
|
+
this.format(name, value);
|
1630
|
+
}
|
1631
|
+
else {
|
1632
|
+
_super.prototype.formatAt.call(this, index, length, name, value);
|
1633
|
+
}
|
1634
|
+
};
|
1635
|
+
EmbedBlot.prototype.formats = function () {
|
1636
|
+
return this.statics.formats(this.domNode);
|
1637
|
+
};
|
1638
|
+
return EmbedBlot;
|
1639
|
+
}(leaf_1.default));
|
1640
|
+
exports.default = EmbedBlot;
|
1641
|
+
|
1642
|
+
|
1643
|
+
/***/ }),
|
1644
|
+
/* 16 */
|
1645
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1646
|
+
|
1647
|
+
"use strict";
|
1648
|
+
|
1649
|
+
var __extends = (this && this.__extends) || (function () {
|
1650
|
+
var extendStatics = Object.setPrototypeOf ||
|
1651
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
1652
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
1653
|
+
return function (d, b) {
|
1654
|
+
extendStatics(d, b);
|
1655
|
+
function __() { this.constructor = d; }
|
1656
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
1657
|
+
};
|
1658
|
+
})();
|
1659
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
1660
|
+
var leaf_1 = __webpack_require__(4);
|
1661
|
+
var Registry = __webpack_require__(0);
|
1662
|
+
var TextBlot = /** @class */ (function (_super) {
|
1663
|
+
__extends(TextBlot, _super);
|
1664
|
+
function TextBlot(node) {
|
1665
|
+
var _this = _super.call(this, node) || this;
|
1666
|
+
_this.text = _this.statics.value(_this.domNode);
|
1667
|
+
return _this;
|
1668
|
+
}
|
1669
|
+
TextBlot.create = function (value) {
|
1670
|
+
return document.createTextNode(value);
|
1671
|
+
};
|
1672
|
+
TextBlot.value = function (domNode) {
|
1673
|
+
var text = domNode.data;
|
1674
|
+
// @ts-ignore
|
1675
|
+
if (text['normalize'])
|
1676
|
+
text = text['normalize']();
|
1677
|
+
return text;
|
1678
|
+
};
|
1679
|
+
TextBlot.prototype.deleteAt = function (index, length) {
|
1680
|
+
this.domNode.data = this.text = this.text.slice(0, index) + this.text.slice(index + length);
|
1681
|
+
};
|
1682
|
+
TextBlot.prototype.index = function (node, offset) {
|
1683
|
+
if (this.domNode === node) {
|
1684
|
+
return offset;
|
1685
|
+
}
|
1686
|
+
return -1;
|
1687
|
+
};
|
1688
|
+
TextBlot.prototype.insertAt = function (index, value, def) {
|
1689
|
+
if (def == null) {
|
1690
|
+
this.text = this.text.slice(0, index) + value + this.text.slice(index);
|
1691
|
+
this.domNode.data = this.text;
|
1692
|
+
}
|
1693
|
+
else {
|
1694
|
+
_super.prototype.insertAt.call(this, index, value, def);
|
1695
|
+
}
|
1696
|
+
};
|
1697
|
+
TextBlot.prototype.length = function () {
|
1698
|
+
return this.text.length;
|
1699
|
+
};
|
1700
|
+
TextBlot.prototype.optimize = function (context) {
|
1701
|
+
_super.prototype.optimize.call(this, context);
|
1702
|
+
this.text = this.statics.value(this.domNode);
|
1703
|
+
if (this.text.length === 0) {
|
1704
|
+
this.remove();
|
1705
|
+
}
|
1706
|
+
else if (this.next instanceof TextBlot && this.next.prev === this) {
|
1707
|
+
this.insertAt(this.length(), this.next.value());
|
1708
|
+
this.next.remove();
|
1709
|
+
}
|
1710
|
+
};
|
1711
|
+
TextBlot.prototype.position = function (index, inclusive) {
|
1712
|
+
if (inclusive === void 0) { inclusive = false; }
|
1713
|
+
return [this.domNode, index];
|
1714
|
+
};
|
1715
|
+
TextBlot.prototype.split = function (index, force) {
|
1716
|
+
if (force === void 0) { force = false; }
|
1717
|
+
if (!force) {
|
1718
|
+
if (index === 0)
|
1719
|
+
return this;
|
1720
|
+
if (index === this.length())
|
1721
|
+
return this.next;
|
1722
|
+
}
|
1723
|
+
var after = Registry.create(this.domNode.splitText(index));
|
1724
|
+
this.parent.insertBefore(after, this.next);
|
1725
|
+
this.text = this.statics.value(this.domNode);
|
1726
|
+
return after;
|
1727
|
+
};
|
1728
|
+
TextBlot.prototype.update = function (mutations, context) {
|
1729
|
+
var _this = this;
|
1730
|
+
if (mutations.some(function (mutation) {
|
1731
|
+
return mutation.type === 'characterData' && mutation.target === _this.domNode;
|
1732
|
+
})) {
|
1733
|
+
this.text = this.statics.value(this.domNode);
|
1734
|
+
}
|
1735
|
+
};
|
1736
|
+
TextBlot.prototype.value = function () {
|
1737
|
+
return this.text;
|
1738
|
+
};
|
1739
|
+
TextBlot.blotName = 'text';
|
1740
|
+
TextBlot.scope = Registry.Scope.INLINE_BLOT;
|
1741
|
+
return TextBlot;
|
1742
|
+
}(leaf_1.default));
|
1743
|
+
exports.default = TextBlot;
|
1744
|
+
|
1745
|
+
|
1746
|
+
/***/ })
|
1747
|
+
/******/ ]);
|
1748
|
+
});
|
1749
|
+
//# sourceMappingURL=parchment.js.map
|