ext_sprockets 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +114 -0
- data/.ruby-version +1 -0
- data/Gemfile +21 -0
- data/Gemfile.lock +77 -0
- data/MIT-LICENSE +20 -0
- data/README.md +3 -0
- data/bin/yarn +12 -0
- data/ext_sprockets.gemspec +22 -0
- data/lib/ext_sprockets.rb +5 -0
- data/lib/ext_sprockets/engine.rb +11 -0
- data/lib/ext_sprockets/version.rb +3 -0
- data/node_modules/.yarn-integrity +60 -0
- data/node_modules/bootswatch/cerulean/_bootswatch.scss +131 -0
- data/node_modules/bootswatch/cerulean/_variables.scss +870 -0
- data/node_modules/bootswatch/cosmo/_bootswatch.scss +262 -0
- data/node_modules/bootswatch/cosmo/_variables.scss +870 -0
- data/node_modules/bootswatch/cyborg/_bootswatch.scss +243 -0
- data/node_modules/bootswatch/cyborg/_variables.scss +870 -0
- data/node_modules/bootswatch/darkly/_bootswatch.scss +351 -0
- data/node_modules/bootswatch/darkly/_variables.scss +870 -0
- data/node_modules/bootswatch/flatly/_bootswatch.scss +330 -0
- data/node_modules/bootswatch/flatly/_variables.scss +870 -0
- data/node_modules/bootswatch/journal/_bootswatch.scss +145 -0
- data/node_modules/bootswatch/journal/_variables.scss +870 -0
- data/node_modules/bootswatch/lumen/_bootswatch.scss +523 -0
- data/node_modules/bootswatch/lumen/_variables.scss +870 -0
- data/node_modules/bootswatch/package.json +26 -0
- data/node_modules/bootswatch/paper/_bootswatch.scss +620 -0
- data/node_modules/bootswatch/paper/_variables.scss +870 -0
- data/node_modules/bootswatch/readable/_bootswatch.scss +183 -0
- data/node_modules/bootswatch/readable/_variables.scss +870 -0
- data/node_modules/bootswatch/sandstone/_bootswatch.scss +196 -0
- data/node_modules/bootswatch/sandstone/_variables.scss +870 -0
- data/node_modules/bootswatch/simplex/_bootswatch.scss +170 -0
- data/node_modules/bootswatch/simplex/_variables.scss +870 -0
- data/node_modules/bootswatch/slate/_bootswatch.scss +448 -0
- data/node_modules/bootswatch/slate/_variables.scss +870 -0
- data/node_modules/bootswatch/spacelab/_bootswatch.scss +142 -0
- data/node_modules/bootswatch/spacelab/_variables.scss +870 -0
- data/node_modules/bootswatch/superhero/_bootswatch.scss +360 -0
- data/node_modules/bootswatch/superhero/_variables.scss +870 -0
- data/node_modules/bootswatch/united/_bootswatch.scss +56 -0
- data/node_modules/bootswatch/united/_variables.scss +870 -0
- data/node_modules/bootswatch/yeti/_bootswatch.scss +445 -0
- data/node_modules/bootswatch/yeti/_variables.scss +870 -0
- data/node_modules/chart.js/dist/Chart.bundle.js +18608 -0
- data/node_modules/chart.js/dist/Chart.js +14145 -0
- data/node_modules/chart.js/package.json +54 -0
- data/node_modules/chartkick/chartkick.js +1866 -0
- data/node_modules/chartkick/package.json +25 -0
- data/node_modules/eonasdan-bootstrap-datetimepicker/package.json +51 -0
- data/node_modules/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2636 -0
- data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +344 -0
- data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
- data/node_modules/file-saver/FileSaver.js +188 -0
- data/node_modules/file-saver/package.json +28 -0
- data/node_modules/jquery-pjax/jquery.pjax.js +903 -0
- data/node_modules/jquery-pjax/package.json +18 -0
- data/node_modules/jquery-ui/package.json +74 -0
- data/node_modules/jquery-ui/themes/base/accordion.css +23 -0
- data/node_modules/jquery-ui/themes/base/all.css +12 -0
- data/node_modules/jquery-ui/themes/base/autocomplete.css +16 -0
- data/node_modules/jquery-ui/themes/base/base.css +30 -0
- data/node_modules/jquery-ui/themes/base/button.css +82 -0
- data/node_modules/jquery-ui/themes/base/checkboxradio.css +34 -0
- data/node_modules/jquery-ui/themes/base/controlgroup.css +65 -0
- data/node_modules/jquery-ui/themes/base/core.css +97 -0
- data/node_modules/jquery-ui/themes/base/datepicker.css +185 -0
- data/node_modules/jquery-ui/themes/base/dialog.css +101 -0
- data/node_modules/jquery-ui/themes/base/draggable.css +12 -0
- data/node_modules/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/node_modules/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
- data/node_modules/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
- data/node_modules/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
- data/node_modules/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
- data/node_modules/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
- data/node_modules/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
- data/node_modules/jquery-ui/themes/base/menu.css +64 -0
- data/node_modules/jquery-ui/themes/base/progressbar.css +28 -0
- data/node_modules/jquery-ui/themes/base/resizable.css +78 -0
- data/node_modules/jquery-ui/themes/base/selectable.css +17 -0
- data/node_modules/jquery-ui/themes/base/selectmenu.css +50 -0
- data/node_modules/jquery-ui/themes/base/slider.css +75 -0
- data/node_modules/jquery-ui/themes/base/sortable.css +12 -0
- data/node_modules/jquery-ui/themes/base/spinner.css +52 -0
- data/node_modules/jquery-ui/themes/base/tabs.css +51 -0
- data/node_modules/jquery-ui/themes/base/theme.css +443 -0
- data/node_modules/jquery-ui/themes/base/tooltip.css +19 -0
- data/node_modules/jquery-ui/ui/core.js +21 -0
- data/node_modules/jquery-ui/ui/data.js +39 -0
- data/node_modules/jquery-ui/ui/disable-selection.js +46 -0
- data/node_modules/jquery-ui/ui/effect.js +1635 -0
- data/node_modules/jquery-ui/ui/effects/effect-blind.js +70 -0
- data/node_modules/jquery-ui/ui/effects/effect-bounce.js +110 -0
- data/node_modules/jquery-ui/ui/effects/effect-clip.js +65 -0
- data/node_modules/jquery-ui/ui/effects/effect-drop.js +69 -0
- data/node_modules/jquery-ui/ui/effects/effect-explode.js +111 -0
- data/node_modules/jquery-ui/ui/effects/effect-fade.js +47 -0
- data/node_modules/jquery-ui/ui/effects/effect-fold.js +89 -0
- data/node_modules/jquery-ui/ui/effects/effect-highlight.js +57 -0
- data/node_modules/jquery-ui/ui/effects/effect-puff.js +42 -0
- data/node_modules/jquery-ui/ui/effects/effect-pulsate.js +64 -0
- data/node_modules/jquery-ui/ui/effects/effect-scale.js +56 -0
- data/node_modules/jquery-ui/ui/effects/effect-shake.js +74 -0
- data/node_modules/jquery-ui/ui/effects/effect-size.js +191 -0
- data/node_modules/jquery-ui/ui/effects/effect-slide.js +76 -0
- data/node_modules/jquery-ui/ui/effects/effect-transfer.js +40 -0
- data/node_modules/jquery-ui/ui/escape-selector.js +21 -0
- data/node_modules/jquery-ui/ui/focusable.js +84 -0
- data/node_modules/jquery-ui/ui/form-reset-mixin.js +77 -0
- data/node_modules/jquery-ui/ui/form.js +20 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-af.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ar-DZ.js +39 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ar.js +39 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-az.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-be.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-cy-GB.js +45 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-da.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-de.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-el.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-es.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-et.js +45 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-fo.js +45 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-he.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-id.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-is.js +45 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-it.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ka.js +48 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-km.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-lb.js +45 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-lt.js +45 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-lv.js +45 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-nb.js +49 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-nn.js +49 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-no.js +50 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-pt-BR.js +45 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-pt.js +44 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-rm.js +61 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-ta.js +53 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-th.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
- data/node_modules/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
- data/node_modules/jquery-ui/ui/ie.js +15 -0
- data/node_modules/jquery-ui/ui/jquery-1-7.js +89 -0
- data/node_modules/jquery-ui/ui/keycode.js +45 -0
- data/node_modules/jquery-ui/ui/labels.js +62 -0
- data/node_modules/jquery-ui/ui/plugin.js +44 -0
- data/node_modules/jquery-ui/ui/position.js +498 -0
- data/node_modules/jquery-ui/ui/safe-active-element.js +40 -0
- data/node_modules/jquery-ui/ui/safe-blur.js +21 -0
- data/node_modules/jquery-ui/ui/scroll-parent.js +45 -0
- data/node_modules/jquery-ui/ui/tabbable.js +35 -0
- data/node_modules/jquery-ui/ui/unique-id.js +49 -0
- data/node_modules/jquery-ui/ui/version.js +17 -0
- data/node_modules/jquery-ui/ui/widget.js +733 -0
- data/node_modules/jquery-ui/ui/widgets/accordion.js +613 -0
- data/node_modules/jquery-ui/ui/widgets/autocomplete.js +682 -0
- data/node_modules/jquery-ui/ui/widgets/button.js +386 -0
- data/node_modules/jquery-ui/ui/widgets/checkboxradio.js +286 -0
- data/node_modules/jquery-ui/ui/widgets/controlgroup.js +298 -0
- data/node_modules/jquery-ui/ui/widgets/datepicker.js +2120 -0
- data/node_modules/jquery-ui/ui/widgets/dialog.js +940 -0
- data/node_modules/jquery-ui/ui/widgets/draggable.js +1250 -0
- data/node_modules/jquery-ui/ui/widgets/droppable.js +497 -0
- data/node_modules/jquery-ui/ui/widgets/menu.js +673 -0
- data/node_modules/jquery-ui/ui/widgets/mouse.js +226 -0
- data/node_modules/jquery-ui/ui/widgets/progressbar.js +178 -0
- data/node_modules/jquery-ui/ui/widgets/resizable.js +1201 -0
- data/node_modules/jquery-ui/ui/widgets/selectable.js +310 -0
- data/node_modules/jquery-ui/ui/widgets/selectmenu.js +687 -0
- data/node_modules/jquery-ui/ui/widgets/slider.js +752 -0
- data/node_modules/jquery-ui/ui/widgets/sortable.js +1554 -0
- data/node_modules/jquery-ui/ui/widgets/spinner.js +575 -0
- data/node_modules/jquery-ui/ui/widgets/tabs.js +924 -0
- data/node_modules/jquery-ui/ui/widgets/tooltip.js +520 -0
- data/node_modules/jquery-ujs/package.json +26 -0
- data/node_modules/jquery-ujs/src/rails.js +555 -0
- data/node_modules/jquery/dist/jquery.js +10253 -0
- data/node_modules/jquery/dist/jquery.slim.js +8160 -0
- data/node_modules/jquery/package.json +97 -0
- data/node_modules/js-cookie/package.json +49 -0
- data/node_modules/js-cookie/src/js.cookie.js +165 -0
- data/node_modules/jstz/dist/jstz.js +1428 -0
- data/node_modules/jstz/package.json +57 -0
- data/node_modules/lodash/core.js +3836 -0
- data/node_modules/lodash/lodash.js +17084 -0
- data/node_modules/lodash/package.json +17 -0
- data/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +1204 -0
- data/node_modules/moment-timezone/builds/moment-timezone-with-data.js +1204 -0
- data/node_modules/moment-timezone/moment-timezone-utils.js +316 -0
- data/node_modules/moment-timezone/moment-timezone.js +605 -0
- data/node_modules/moment-timezone/package.json +50 -0
- data/node_modules/moment/locale/af.js +74 -0
- data/node_modules/moment/locale/ar-dz.js +60 -0
- data/node_modules/moment/locale/ar-kw.js +60 -0
- data/node_modules/moment/locale/ar-ly.js +127 -0
- data/node_modules/moment/locale/ar-ma.js +61 -0
- data/node_modules/moment/locale/ar-sa.js +106 -0
- data/node_modules/moment/locale/ar-tn.js +60 -0
- data/node_modules/moment/locale/ar.js +143 -0
- data/node_modules/moment/locale/az.js +106 -0
- data/node_modules/moment/locale/be.js +135 -0
- data/node_modules/moment/locale/bg.js +91 -0
- data/node_modules/moment/locale/bm.js +60 -0
- data/node_modules/moment/locale/bn.js +120 -0
- data/node_modules/moment/locale/bo.js +120 -0
- data/node_modules/moment/locale/br.js +109 -0
- data/node_modules/moment/locale/bs.js +153 -0
- data/node_modules/moment/locale/ca.js +89 -0
- data/node_modules/moment/locale/cs.js +180 -0
- data/node_modules/moment/locale/cv.js +64 -0
- data/node_modules/moment/locale/cy.js +82 -0
- data/node_modules/moment/locale/da.js +61 -0
- data/node_modules/moment/locale/de-at.js +80 -0
- data/node_modules/moment/locale/de-ch.js +79 -0
- data/node_modules/moment/locale/de.js +79 -0
- data/node_modules/moment/locale/dv.js +101 -0
- data/node_modules/moment/locale/el.js +101 -0
- data/node_modules/moment/locale/en-au.js +68 -0
- data/node_modules/moment/locale/en-ca.js +64 -0
- data/node_modules/moment/locale/en-gb.js +68 -0
- data/node_modules/moment/locale/en-ie.js +68 -0
- data/node_modules/moment/locale/en-nz.js +68 -0
- data/node_modules/moment/locale/eo.js +74 -0
- data/node_modules/moment/locale/es-do.js +92 -0
- data/node_modules/moment/locale/es-us.js +84 -0
- data/node_modules/moment/locale/es.js +93 -0
- data/node_modules/moment/locale/et.js +82 -0
- data/node_modules/moment/locale/eu.js +67 -0
- data/node_modules/moment/locale/fa.js +108 -0
- data/node_modules/moment/locale/fi.js +110 -0
- data/node_modules/moment/locale/fo.js +61 -0
- data/node_modules/moment/locale/fr-ca.js +75 -0
- data/node_modules/moment/locale/fr-ch.js +79 -0
- data/node_modules/moment/locale/fr.js +84 -0
- data/node_modules/moment/locale/fy.js +76 -0
- data/node_modules/moment/locale/gd.js +77 -0
- data/node_modules/moment/locale/gl.js +78 -0
- data/node_modules/moment/locale/gom-latn.js +124 -0
- data/node_modules/moment/locale/gu.js +125 -0
- data/node_modules/moment/locale/he.js +100 -0
- data/node_modules/moment/locale/hi.js +125 -0
- data/node_modules/moment/locale/hr.js +155 -0
- data/node_modules/moment/locale/hu.js +111 -0
- data/node_modules/moment/locale/hy-am.js +96 -0
- data/node_modules/moment/locale/id.js +84 -0
- data/node_modules/moment/locale/is.js +133 -0
- data/node_modules/moment/locale/it.js +71 -0
- data/node_modules/moment/locale/ja.js +81 -0
- data/node_modules/moment/locale/jv.js +84 -0
- data/node_modules/moment/locale/ka.js +90 -0
- data/node_modules/moment/locale/kk.js +88 -0
- data/node_modules/moment/locale/km.js +59 -0
- data/node_modules/moment/locale/kn.js +127 -0
- data/node_modules/moment/locale/ko.js +83 -0
- data/node_modules/moment/locale/ky.js +89 -0
- data/node_modules/moment/locale/lb.js +138 -0
- data/node_modules/moment/locale/lo.js +71 -0
- data/node_modules/moment/locale/lt.js +119 -0
- data/node_modules/moment/locale/lv.js +99 -0
- data/node_modules/moment/locale/me.js +113 -0
- data/node_modules/moment/locale/mi.js +65 -0
- data/node_modules/moment/locale/mk.js +91 -0
- data/node_modules/moment/locale/ml.js +82 -0
- data/node_modules/moment/locale/mr.js +162 -0
- data/node_modules/moment/locale/ms-my.js +84 -0
- data/node_modules/moment/locale/ms.js +83 -0
- data/node_modules/moment/locale/mt.js +61 -0
- data/node_modules/moment/locale/my.js +97 -0
- data/node_modules/moment/locale/nb.js +64 -0
- data/node_modules/moment/locale/ne.js +124 -0
- data/node_modules/moment/locale/nl-be.js +89 -0
- data/node_modules/moment/locale/nl.js +89 -0
- data/node_modules/moment/locale/nn.js +61 -0
- data/node_modules/moment/locale/pa-in.js +125 -0
- data/node_modules/moment/locale/pl.js +127 -0
- data/node_modules/moment/locale/pt-br.js +62 -0
- data/node_modules/moment/locale/pt.js +66 -0
- data/node_modules/moment/locale/ro.js +77 -0
- data/node_modules/moment/locale/ru.js +185 -0
- data/node_modules/moment/locale/sd.js +99 -0
- data/node_modules/moment/locale/se.js +62 -0
- data/node_modules/moment/locale/si.js +72 -0
- data/node_modules/moment/locale/sk.js +158 -0
- data/node_modules/moment/locale/sl.js +174 -0
- data/node_modules/moment/locale/sq.js +71 -0
- data/node_modules/moment/locale/sr-cyrl.js +112 -0
- data/node_modules/moment/locale/sr.js +112 -0
- data/node_modules/moment/locale/ss.js +90 -0
- data/node_modules/moment/locale/sv.js +70 -0
- data/node_modules/moment/locale/sw.js +60 -0
- data/node_modules/moment/locale/ta.js +131 -0
- data/node_modules/moment/locale/te.js +90 -0
- data/node_modules/moment/locale/tet.js +69 -0
- data/node_modules/moment/locale/th.js +68 -0
- data/node_modules/moment/locale/tl-ph.js +63 -0
- data/node_modules/moment/locale/tlh.js +123 -0
- data/node_modules/moment/locale/tr.js +91 -0
- data/node_modules/moment/locale/tzl.js +93 -0
- data/node_modules/moment/locale/tzm-latn.js +59 -0
- data/node_modules/moment/locale/tzm.js +59 -0
- data/node_modules/moment/locale/uk.js +153 -0
- data/node_modules/moment/locale/ur.js +100 -0
- data/node_modules/moment/locale/uz-latn.js +59 -0
- data/node_modules/moment/locale/uz.js +59 -0
- data/node_modules/moment/locale/vi.js +80 -0
- data/node_modules/moment/locale/x-pseudo.js +69 -0
- data/node_modules/moment/locale/yo.js +61 -0
- data/node_modules/moment/locale/zh-cn.js +112 -0
- data/node_modules/moment/locale/zh-hk.js +106 -0
- data/node_modules/moment/locale/zh-tw.js +105 -0
- data/node_modules/moment/min/locales.js +9769 -0
- data/node_modules/moment/min/moment-with-locales.js +14289 -0
- data/node_modules/moment/moment.js +4535 -0
- data/node_modules/moment/package.json +99 -0
- data/node_modules/nprogress/nprogress.css +74 -0
- data/node_modules/nprogress/nprogress.js +480 -0
- data/node_modules/nprogress/package.json +47 -0
- data/node_modules/nprogress/support/extras.css +4 -0
- data/node_modules/roboto-fontface/css/mixins.scss +36 -0
- data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface.scss +6 -0
- data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-bold.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-light.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-regular.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-thin.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface.scss +4 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin-italic.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin.scss +3 -0
- data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface.scss +12 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.svg +643 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.svg +643 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.svg +643 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.svg +643 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.svg +644 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.svg +644 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.svg +679 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.svg +678 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.svg +678 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.svg +678 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.svg +10968 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.svg +11086 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.svg +11010 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.svg +11096 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.svg +10564 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.svg +10646 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.svg +10999 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.svg +11100 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.svg +10520 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.svg +10629 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.svg +10617 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.eot +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.svg +10726 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff +0 -0
- data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff2 +0 -0
- data/node_modules/roboto-fontface/package.json +28 -0
- data/node_modules/signature_pad/dist/signature_pad.js +610 -0
- data/node_modules/signature_pad/package.json +41 -0
- data/package.json +23 -0
- data/yarn.lock +118 -0
- metadata +575 -0
@@ -0,0 +1,99 @@
|
|
1
|
+
{
|
2
|
+
"name": "moment",
|
3
|
+
"version": "2.20.1",
|
4
|
+
"description": "Parse, validate, manipulate, and display dates",
|
5
|
+
"homepage": "http://momentjs.com",
|
6
|
+
"author": "Iskren Ivov Chernev <iskren.chernev@gmail.com> (https://github.com/ichernev)",
|
7
|
+
"contributors": [
|
8
|
+
"Tim Wood <washwithcare@gmail.com> (http://timwoodcreates.com/)",
|
9
|
+
"Rocky Meza (http://rockymeza.com)",
|
10
|
+
"Matt Johnson <mj1856@hotmail.com> (http://codeofmatt.com)",
|
11
|
+
"Isaac Cambron <isaac@isaaccambron.com> (http://isaaccambron.com)",
|
12
|
+
"Andre Polykanine <andre@oire.org> (https://github.com/oire)"
|
13
|
+
],
|
14
|
+
"keywords": [
|
15
|
+
"moment",
|
16
|
+
"date",
|
17
|
+
"time",
|
18
|
+
"parse",
|
19
|
+
"format",
|
20
|
+
"validate",
|
21
|
+
"i18n",
|
22
|
+
"l10n",
|
23
|
+
"ender"
|
24
|
+
],
|
25
|
+
"main": "./moment.js",
|
26
|
+
"jsnext:main": "./src/moment.js",
|
27
|
+
"typings": "./moment.d.ts",
|
28
|
+
"engines": {
|
29
|
+
"node": "*"
|
30
|
+
},
|
31
|
+
"repository": {
|
32
|
+
"type": "git",
|
33
|
+
"url": "https://github.com/moment/moment.git"
|
34
|
+
},
|
35
|
+
"bugs": {
|
36
|
+
"url": "https://github.com/moment/moment/issues"
|
37
|
+
},
|
38
|
+
"license": "MIT",
|
39
|
+
"devDependencies": {
|
40
|
+
"uglify-js": "latest",
|
41
|
+
"es6-promise": "latest",
|
42
|
+
"grunt": "~0.4",
|
43
|
+
"grunt-cli": "latest",
|
44
|
+
"benchmark": "latest",
|
45
|
+
"grunt-contrib-clean": "latest",
|
46
|
+
"grunt-contrib-concat": "latest",
|
47
|
+
"grunt-contrib-copy": "latest",
|
48
|
+
"grunt-contrib-jshint": "latest",
|
49
|
+
"grunt-contrib-uglify": "latest",
|
50
|
+
"grunt-contrib-watch": "latest",
|
51
|
+
"grunt-env": "latest",
|
52
|
+
"grunt-jscs": "latest",
|
53
|
+
"grunt-karma": "latest",
|
54
|
+
"grunt-nuget": "latest",
|
55
|
+
"grunt-benchmark": "latest",
|
56
|
+
"grunt-string-replace": "latest",
|
57
|
+
"grunt-exec": "latest",
|
58
|
+
"load-grunt-tasks": "latest",
|
59
|
+
"karma": "latest",
|
60
|
+
"karma-chrome-launcher": "latest",
|
61
|
+
"karma-firefox-launcher": "latest",
|
62
|
+
"karma-qunit": "latest",
|
63
|
+
"karma-sauce-launcher": "latest",
|
64
|
+
"qunit": "^0.7.5",
|
65
|
+
"qunit-cli": "^0.1.4",
|
66
|
+
"rollup": "latest",
|
67
|
+
"spacejam": "latest",
|
68
|
+
"typescript": "^1.8.10",
|
69
|
+
"coveralls": "^2.11.2",
|
70
|
+
"nyc": "^2.1.4"
|
71
|
+
},
|
72
|
+
"ender": "./ender.js",
|
73
|
+
"dojoBuild": "package.js",
|
74
|
+
"jspm": {
|
75
|
+
"files": [
|
76
|
+
"moment.js",
|
77
|
+
"moment.d.ts",
|
78
|
+
"locale"
|
79
|
+
],
|
80
|
+
"map": {
|
81
|
+
"moment": "./moment"
|
82
|
+
},
|
83
|
+
"buildConfig": {
|
84
|
+
"uglify": true
|
85
|
+
}
|
86
|
+
},
|
87
|
+
"scripts": {
|
88
|
+
"typescript-test": "tsc --project typing-tests",
|
89
|
+
"test": "grunt test",
|
90
|
+
"coverage": "nyc npm test && nyc report",
|
91
|
+
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls"
|
92
|
+
},
|
93
|
+
"spm": {
|
94
|
+
"main": "moment.js",
|
95
|
+
"output": [
|
96
|
+
"locale/*.js"
|
97
|
+
]
|
98
|
+
}
|
99
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* Make clicks pass-through */
|
2
|
+
#nprogress {
|
3
|
+
pointer-events: none;
|
4
|
+
}
|
5
|
+
|
6
|
+
#nprogress .bar {
|
7
|
+
background: #29d;
|
8
|
+
|
9
|
+
position: fixed;
|
10
|
+
z-index: 1031;
|
11
|
+
top: 0;
|
12
|
+
left: 0;
|
13
|
+
|
14
|
+
width: 100%;
|
15
|
+
height: 2px;
|
16
|
+
}
|
17
|
+
|
18
|
+
/* Fancy blur effect */
|
19
|
+
#nprogress .peg {
|
20
|
+
display: block;
|
21
|
+
position: absolute;
|
22
|
+
right: 0px;
|
23
|
+
width: 100px;
|
24
|
+
height: 100%;
|
25
|
+
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
|
26
|
+
opacity: 1.0;
|
27
|
+
|
28
|
+
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
29
|
+
-ms-transform: rotate(3deg) translate(0px, -4px);
|
30
|
+
transform: rotate(3deg) translate(0px, -4px);
|
31
|
+
}
|
32
|
+
|
33
|
+
/* Remove these to get rid of the spinner */
|
34
|
+
#nprogress .spinner {
|
35
|
+
display: block;
|
36
|
+
position: fixed;
|
37
|
+
z-index: 1031;
|
38
|
+
top: 15px;
|
39
|
+
right: 15px;
|
40
|
+
}
|
41
|
+
|
42
|
+
#nprogress .spinner-icon {
|
43
|
+
width: 18px;
|
44
|
+
height: 18px;
|
45
|
+
box-sizing: border-box;
|
46
|
+
|
47
|
+
border: solid 2px transparent;
|
48
|
+
border-top-color: #29d;
|
49
|
+
border-left-color: #29d;
|
50
|
+
border-radius: 50%;
|
51
|
+
|
52
|
+
-webkit-animation: nprogress-spinner 400ms linear infinite;
|
53
|
+
animation: nprogress-spinner 400ms linear infinite;
|
54
|
+
}
|
55
|
+
|
56
|
+
.nprogress-custom-parent {
|
57
|
+
overflow: hidden;
|
58
|
+
position: relative;
|
59
|
+
}
|
60
|
+
|
61
|
+
.nprogress-custom-parent #nprogress .spinner,
|
62
|
+
.nprogress-custom-parent #nprogress .bar {
|
63
|
+
position: absolute;
|
64
|
+
}
|
65
|
+
|
66
|
+
@-webkit-keyframes nprogress-spinner {
|
67
|
+
0% { -webkit-transform: rotate(0deg); }
|
68
|
+
100% { -webkit-transform: rotate(360deg); }
|
69
|
+
}
|
70
|
+
@keyframes nprogress-spinner {
|
71
|
+
0% { transform: rotate(0deg); }
|
72
|
+
100% { transform: rotate(360deg); }
|
73
|
+
}
|
74
|
+
|
@@ -0,0 +1,480 @@
|
|
1
|
+
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
2
|
+
* @license MIT */
|
3
|
+
|
4
|
+
;(function(root, factory) {
|
5
|
+
|
6
|
+
if (typeof define === 'function' && define.amd) {
|
7
|
+
define(factory);
|
8
|
+
} else if (typeof exports === 'object') {
|
9
|
+
module.exports = factory();
|
10
|
+
} else {
|
11
|
+
root.NProgress = factory();
|
12
|
+
}
|
13
|
+
|
14
|
+
})(this, function() {
|
15
|
+
var NProgress = {};
|
16
|
+
|
17
|
+
NProgress.version = '0.2.0';
|
18
|
+
|
19
|
+
var Settings = NProgress.settings = {
|
20
|
+
minimum: 0.08,
|
21
|
+
easing: 'linear',
|
22
|
+
positionUsing: '',
|
23
|
+
speed: 200,
|
24
|
+
trickle: true,
|
25
|
+
trickleSpeed: 200,
|
26
|
+
showSpinner: true,
|
27
|
+
barSelector: '[role="bar"]',
|
28
|
+
spinnerSelector: '[role="spinner"]',
|
29
|
+
parent: 'body',
|
30
|
+
template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
|
31
|
+
};
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Updates configuration.
|
35
|
+
*
|
36
|
+
* NProgress.configure({
|
37
|
+
* minimum: 0.1
|
38
|
+
* });
|
39
|
+
*/
|
40
|
+
NProgress.configure = function(options) {
|
41
|
+
var key, value;
|
42
|
+
for (key in options) {
|
43
|
+
value = options[key];
|
44
|
+
if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value;
|
45
|
+
}
|
46
|
+
|
47
|
+
return this;
|
48
|
+
};
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Last number.
|
52
|
+
*/
|
53
|
+
|
54
|
+
NProgress.status = null;
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Sets the progress bar status, where `n` is a number from `0.0` to `1.0`.
|
58
|
+
*
|
59
|
+
* NProgress.set(0.4);
|
60
|
+
* NProgress.set(1.0);
|
61
|
+
*/
|
62
|
+
|
63
|
+
NProgress.set = function(n) {
|
64
|
+
var started = NProgress.isStarted();
|
65
|
+
|
66
|
+
n = clamp(n, Settings.minimum, 1);
|
67
|
+
NProgress.status = (n === 1 ? null : n);
|
68
|
+
|
69
|
+
var progress = NProgress.render(!started),
|
70
|
+
bar = progress.querySelector(Settings.barSelector),
|
71
|
+
speed = Settings.speed,
|
72
|
+
ease = Settings.easing;
|
73
|
+
|
74
|
+
progress.offsetWidth; /* Repaint */
|
75
|
+
|
76
|
+
queue(function(next) {
|
77
|
+
// Set positionUsing if it hasn't already been set
|
78
|
+
if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS();
|
79
|
+
|
80
|
+
// Add transition
|
81
|
+
css(bar, barPositionCSS(n, speed, ease));
|
82
|
+
|
83
|
+
if (n === 1) {
|
84
|
+
// Fade out
|
85
|
+
css(progress, {
|
86
|
+
transition: 'none',
|
87
|
+
opacity: 1
|
88
|
+
});
|
89
|
+
progress.offsetWidth; /* Repaint */
|
90
|
+
|
91
|
+
setTimeout(function() {
|
92
|
+
css(progress, {
|
93
|
+
transition: 'all ' + speed + 'ms linear',
|
94
|
+
opacity: 0
|
95
|
+
});
|
96
|
+
setTimeout(function() {
|
97
|
+
NProgress.remove();
|
98
|
+
next();
|
99
|
+
}, speed);
|
100
|
+
}, speed);
|
101
|
+
} else {
|
102
|
+
setTimeout(next, speed);
|
103
|
+
}
|
104
|
+
});
|
105
|
+
|
106
|
+
return this;
|
107
|
+
};
|
108
|
+
|
109
|
+
NProgress.isStarted = function() {
|
110
|
+
return typeof NProgress.status === 'number';
|
111
|
+
};
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Shows the progress bar.
|
115
|
+
* This is the same as setting the status to 0%, except that it doesn't go backwards.
|
116
|
+
*
|
117
|
+
* NProgress.start();
|
118
|
+
*
|
119
|
+
*/
|
120
|
+
NProgress.start = function() {
|
121
|
+
if (!NProgress.status) NProgress.set(0);
|
122
|
+
|
123
|
+
var work = function() {
|
124
|
+
setTimeout(function() {
|
125
|
+
if (!NProgress.status) return;
|
126
|
+
NProgress.trickle();
|
127
|
+
work();
|
128
|
+
}, Settings.trickleSpeed);
|
129
|
+
};
|
130
|
+
|
131
|
+
if (Settings.trickle) work();
|
132
|
+
|
133
|
+
return this;
|
134
|
+
};
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Hides the progress bar.
|
138
|
+
* This is the *sort of* the same as setting the status to 100%, with the
|
139
|
+
* difference being `done()` makes some placebo effect of some realistic motion.
|
140
|
+
*
|
141
|
+
* NProgress.done();
|
142
|
+
*
|
143
|
+
* If `true` is passed, it will show the progress bar even if its hidden.
|
144
|
+
*
|
145
|
+
* NProgress.done(true);
|
146
|
+
*/
|
147
|
+
|
148
|
+
NProgress.done = function(force) {
|
149
|
+
if (!force && !NProgress.status) return this;
|
150
|
+
|
151
|
+
return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);
|
152
|
+
};
|
153
|
+
|
154
|
+
/**
|
155
|
+
* Increments by a random amount.
|
156
|
+
*/
|
157
|
+
|
158
|
+
NProgress.inc = function(amount) {
|
159
|
+
var n = NProgress.status;
|
160
|
+
|
161
|
+
if (!n) {
|
162
|
+
return NProgress.start();
|
163
|
+
} else if(n > 1) {
|
164
|
+
return;
|
165
|
+
} else {
|
166
|
+
if (typeof amount !== 'number') {
|
167
|
+
if (n >= 0 && n < 0.2) { amount = 0.1; }
|
168
|
+
else if (n >= 0.2 && n < 0.5) { amount = 0.04; }
|
169
|
+
else if (n >= 0.5 && n < 0.8) { amount = 0.02; }
|
170
|
+
else if (n >= 0.8 && n < 0.99) { amount = 0.005; }
|
171
|
+
else { amount = 0; }
|
172
|
+
}
|
173
|
+
|
174
|
+
n = clamp(n + amount, 0, 0.994);
|
175
|
+
return NProgress.set(n);
|
176
|
+
}
|
177
|
+
};
|
178
|
+
|
179
|
+
NProgress.trickle = function() {
|
180
|
+
return NProgress.inc();
|
181
|
+
};
|
182
|
+
|
183
|
+
/**
|
184
|
+
* Waits for all supplied jQuery promises and
|
185
|
+
* increases the progress as the promises resolve.
|
186
|
+
*
|
187
|
+
* @param $promise jQUery Promise
|
188
|
+
*/
|
189
|
+
(function() {
|
190
|
+
var initial = 0, current = 0;
|
191
|
+
|
192
|
+
NProgress.promise = function($promise) {
|
193
|
+
if (!$promise || $promise.state() === "resolved") {
|
194
|
+
return this;
|
195
|
+
}
|
196
|
+
|
197
|
+
if (current === 0) {
|
198
|
+
NProgress.start();
|
199
|
+
}
|
200
|
+
|
201
|
+
initial++;
|
202
|
+
current++;
|
203
|
+
|
204
|
+
$promise.always(function() {
|
205
|
+
current--;
|
206
|
+
if (current === 0) {
|
207
|
+
initial = 0;
|
208
|
+
NProgress.done();
|
209
|
+
} else {
|
210
|
+
NProgress.set((initial - current) / initial);
|
211
|
+
}
|
212
|
+
});
|
213
|
+
|
214
|
+
return this;
|
215
|
+
};
|
216
|
+
|
217
|
+
})();
|
218
|
+
|
219
|
+
/**
|
220
|
+
* (Internal) renders the progress bar markup based on the `template`
|
221
|
+
* setting.
|
222
|
+
*/
|
223
|
+
|
224
|
+
NProgress.render = function(fromStart) {
|
225
|
+
if (NProgress.isRendered()) return document.getElementById('nprogress');
|
226
|
+
|
227
|
+
addClass(document.documentElement, 'nprogress-busy');
|
228
|
+
|
229
|
+
var progress = document.createElement('div');
|
230
|
+
progress.id = 'nprogress';
|
231
|
+
progress.innerHTML = Settings.template;
|
232
|
+
|
233
|
+
var bar = progress.querySelector(Settings.barSelector),
|
234
|
+
perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0),
|
235
|
+
parent = document.querySelector(Settings.parent),
|
236
|
+
spinner;
|
237
|
+
|
238
|
+
css(bar, {
|
239
|
+
transition: 'all 0 linear',
|
240
|
+
transform: 'translate3d(' + perc + '%,0,0)'
|
241
|
+
});
|
242
|
+
|
243
|
+
if (!Settings.showSpinner) {
|
244
|
+
spinner = progress.querySelector(Settings.spinnerSelector);
|
245
|
+
spinner && removeElement(spinner);
|
246
|
+
}
|
247
|
+
|
248
|
+
if (parent != document.body) {
|
249
|
+
addClass(parent, 'nprogress-custom-parent');
|
250
|
+
}
|
251
|
+
|
252
|
+
parent.appendChild(progress);
|
253
|
+
return progress;
|
254
|
+
};
|
255
|
+
|
256
|
+
/**
|
257
|
+
* Removes the element. Opposite of render().
|
258
|
+
*/
|
259
|
+
|
260
|
+
NProgress.remove = function() {
|
261
|
+
removeClass(document.documentElement, 'nprogress-busy');
|
262
|
+
removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent');
|
263
|
+
var progress = document.getElementById('nprogress');
|
264
|
+
progress && removeElement(progress);
|
265
|
+
};
|
266
|
+
|
267
|
+
/**
|
268
|
+
* Checks if the progress bar is rendered.
|
269
|
+
*/
|
270
|
+
|
271
|
+
NProgress.isRendered = function() {
|
272
|
+
return !!document.getElementById('nprogress');
|
273
|
+
};
|
274
|
+
|
275
|
+
/**
|
276
|
+
* Determine which positioning CSS rule to use.
|
277
|
+
*/
|
278
|
+
|
279
|
+
NProgress.getPositioningCSS = function() {
|
280
|
+
// Sniff on document.body.style
|
281
|
+
var bodyStyle = document.body.style;
|
282
|
+
|
283
|
+
// Sniff prefixes
|
284
|
+
var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' :
|
285
|
+
('MozTransform' in bodyStyle) ? 'Moz' :
|
286
|
+
('msTransform' in bodyStyle) ? 'ms' :
|
287
|
+
('OTransform' in bodyStyle) ? 'O' : '';
|
288
|
+
|
289
|
+
if (vendorPrefix + 'Perspective' in bodyStyle) {
|
290
|
+
// Modern browsers with 3D support, e.g. Webkit, IE10
|
291
|
+
return 'translate3d';
|
292
|
+
} else if (vendorPrefix + 'Transform' in bodyStyle) {
|
293
|
+
// Browsers without 3D support, e.g. IE9
|
294
|
+
return 'translate';
|
295
|
+
} else {
|
296
|
+
// Browsers without translate() support, e.g. IE7-8
|
297
|
+
return 'margin';
|
298
|
+
}
|
299
|
+
};
|
300
|
+
|
301
|
+
/**
|
302
|
+
* Helpers
|
303
|
+
*/
|
304
|
+
|
305
|
+
function clamp(n, min, max) {
|
306
|
+
if (n < min) return min;
|
307
|
+
if (n > max) return max;
|
308
|
+
return n;
|
309
|
+
}
|
310
|
+
|
311
|
+
/**
|
312
|
+
* (Internal) converts a percentage (`0..1`) to a bar translateX
|
313
|
+
* percentage (`-100%..0%`).
|
314
|
+
*/
|
315
|
+
|
316
|
+
function toBarPerc(n) {
|
317
|
+
return (-1 + n) * 100;
|
318
|
+
}
|
319
|
+
|
320
|
+
|
321
|
+
/**
|
322
|
+
* (Internal) returns the correct CSS for changing the bar's
|
323
|
+
* position given an n percentage, and speed and ease from Settings
|
324
|
+
*/
|
325
|
+
|
326
|
+
function barPositionCSS(n, speed, ease) {
|
327
|
+
var barCSS;
|
328
|
+
|
329
|
+
if (Settings.positionUsing === 'translate3d') {
|
330
|
+
barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' };
|
331
|
+
} else if (Settings.positionUsing === 'translate') {
|
332
|
+
barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' };
|
333
|
+
} else {
|
334
|
+
barCSS = { 'margin-left': toBarPerc(n)+'%' };
|
335
|
+
}
|
336
|
+
|
337
|
+
barCSS.transition = 'all '+speed+'ms '+ease;
|
338
|
+
|
339
|
+
return barCSS;
|
340
|
+
}
|
341
|
+
|
342
|
+
/**
|
343
|
+
* (Internal) Queues a function to be executed.
|
344
|
+
*/
|
345
|
+
|
346
|
+
var queue = (function() {
|
347
|
+
var pending = [];
|
348
|
+
|
349
|
+
function next() {
|
350
|
+
var fn = pending.shift();
|
351
|
+
if (fn) {
|
352
|
+
fn(next);
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
return function(fn) {
|
357
|
+
pending.push(fn);
|
358
|
+
if (pending.length == 1) next();
|
359
|
+
};
|
360
|
+
})();
|
361
|
+
|
362
|
+
/**
|
363
|
+
* (Internal) Applies css properties to an element, similar to the jQuery
|
364
|
+
* css method.
|
365
|
+
*
|
366
|
+
* While this helper does assist with vendor prefixed property names, it
|
367
|
+
* does not perform any manipulation of values prior to setting styles.
|
368
|
+
*/
|
369
|
+
|
370
|
+
var css = (function() {
|
371
|
+
var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],
|
372
|
+
cssProps = {};
|
373
|
+
|
374
|
+
function camelCase(string) {
|
375
|
+
return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) {
|
376
|
+
return letter.toUpperCase();
|
377
|
+
});
|
378
|
+
}
|
379
|
+
|
380
|
+
function getVendorProp(name) {
|
381
|
+
var style = document.body.style;
|
382
|
+
if (name in style) return name;
|
383
|
+
|
384
|
+
var i = cssPrefixes.length,
|
385
|
+
capName = name.charAt(0).toUpperCase() + name.slice(1),
|
386
|
+
vendorName;
|
387
|
+
while (i--) {
|
388
|
+
vendorName = cssPrefixes[i] + capName;
|
389
|
+
if (vendorName in style) return vendorName;
|
390
|
+
}
|
391
|
+
|
392
|
+
return name;
|
393
|
+
}
|
394
|
+
|
395
|
+
function getStyleProp(name) {
|
396
|
+
name = camelCase(name);
|
397
|
+
return cssProps[name] || (cssProps[name] = getVendorProp(name));
|
398
|
+
}
|
399
|
+
|
400
|
+
function applyCss(element, prop, value) {
|
401
|
+
prop = getStyleProp(prop);
|
402
|
+
element.style[prop] = value;
|
403
|
+
}
|
404
|
+
|
405
|
+
return function(element, properties) {
|
406
|
+
var args = arguments,
|
407
|
+
prop,
|
408
|
+
value;
|
409
|
+
|
410
|
+
if (args.length == 2) {
|
411
|
+
for (prop in properties) {
|
412
|
+
value = properties[prop];
|
413
|
+
if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value);
|
414
|
+
}
|
415
|
+
} else {
|
416
|
+
applyCss(element, args[1], args[2]);
|
417
|
+
}
|
418
|
+
}
|
419
|
+
})();
|
420
|
+
|
421
|
+
/**
|
422
|
+
* (Internal) Determines if an element or space separated list of class names contains a class name.
|
423
|
+
*/
|
424
|
+
|
425
|
+
function hasClass(element, name) {
|
426
|
+
var list = typeof element == 'string' ? element : classList(element);
|
427
|
+
return list.indexOf(' ' + name + ' ') >= 0;
|
428
|
+
}
|
429
|
+
|
430
|
+
/**
|
431
|
+
* (Internal) Adds a class to an element.
|
432
|
+
*/
|
433
|
+
|
434
|
+
function addClass(element, name) {
|
435
|
+
var oldList = classList(element),
|
436
|
+
newList = oldList + name;
|
437
|
+
|
438
|
+
if (hasClass(oldList, name)) return;
|
439
|
+
|
440
|
+
// Trim the opening space.
|
441
|
+
element.className = newList.substring(1);
|
442
|
+
}
|
443
|
+
|
444
|
+
/**
|
445
|
+
* (Internal) Removes a class from an element.
|
446
|
+
*/
|
447
|
+
|
448
|
+
function removeClass(element, name) {
|
449
|
+
var oldList = classList(element),
|
450
|
+
newList;
|
451
|
+
|
452
|
+
if (!hasClass(element, name)) return;
|
453
|
+
|
454
|
+
// Replace the class name.
|
455
|
+
newList = oldList.replace(' ' + name + ' ', ' ');
|
456
|
+
|
457
|
+
// Trim the opening and closing spaces.
|
458
|
+
element.className = newList.substring(1, newList.length - 1);
|
459
|
+
}
|
460
|
+
|
461
|
+
/**
|
462
|
+
* (Internal) Gets a space separated list of the class names on the element.
|
463
|
+
* The list is wrapped with a single space on each end to facilitate finding
|
464
|
+
* matches within the list.
|
465
|
+
*/
|
466
|
+
|
467
|
+
function classList(element) {
|
468
|
+
return (' ' + (element && element.className || '') + ' ').replace(/\s+/gi, ' ');
|
469
|
+
}
|
470
|
+
|
471
|
+
/**
|
472
|
+
* (Internal) Removes an element from the DOM.
|
473
|
+
*/
|
474
|
+
|
475
|
+
function removeElement(element) {
|
476
|
+
element && element.parentNode && element.parentNode.removeChild(element);
|
477
|
+
}
|
478
|
+
|
479
|
+
return NProgress;
|
480
|
+
});
|