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,520 @@
|
|
1
|
+
/*!
|
2
|
+
* jQuery UI Tooltip 1.12.1
|
3
|
+
* http://jqueryui.com
|
4
|
+
*
|
5
|
+
* Copyright jQuery Foundation and other contributors
|
6
|
+
* Released under the MIT license.
|
7
|
+
* http://jquery.org/license
|
8
|
+
*/
|
9
|
+
|
10
|
+
//>>label: Tooltip
|
11
|
+
//>>group: Widgets
|
12
|
+
//>>description: Shows additional information for any element on hover or focus.
|
13
|
+
//>>docs: http://api.jqueryui.com/tooltip/
|
14
|
+
//>>demos: http://jqueryui.com/tooltip/
|
15
|
+
//>>css.structure: ../../themes/base/core.css
|
16
|
+
//>>css.structure: ../../themes/base/tooltip.css
|
17
|
+
//>>css.theme: ../../themes/base/theme.css
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [
|
24
|
+
"jquery",
|
25
|
+
"../keycode",
|
26
|
+
"../position",
|
27
|
+
"../unique-id",
|
28
|
+
"../version",
|
29
|
+
"../widget"
|
30
|
+
], factory );
|
31
|
+
} else {
|
32
|
+
|
33
|
+
// Browser globals
|
34
|
+
factory( jQuery );
|
35
|
+
}
|
36
|
+
}( function( $ ) {
|
37
|
+
|
38
|
+
$.widget( "ui.tooltip", {
|
39
|
+
version: "1.12.1",
|
40
|
+
options: {
|
41
|
+
classes: {
|
42
|
+
"ui-tooltip": "ui-corner-all ui-widget-shadow"
|
43
|
+
},
|
44
|
+
content: function() {
|
45
|
+
|
46
|
+
// support: IE<9, Opera in jQuery <1.7
|
47
|
+
// .text() can't accept undefined, so coerce to a string
|
48
|
+
var title = $( this ).attr( "title" ) || "";
|
49
|
+
|
50
|
+
// Escape title, since we're going from an attribute to raw HTML
|
51
|
+
return $( "<a>" ).text( title ).html();
|
52
|
+
},
|
53
|
+
hide: true,
|
54
|
+
|
55
|
+
// Disabled elements have inconsistent behavior across browsers (#8661)
|
56
|
+
items: "[title]:not([disabled])",
|
57
|
+
position: {
|
58
|
+
my: "left top+15",
|
59
|
+
at: "left bottom",
|
60
|
+
collision: "flipfit flip"
|
61
|
+
},
|
62
|
+
show: true,
|
63
|
+
track: false,
|
64
|
+
|
65
|
+
// Callbacks
|
66
|
+
close: null,
|
67
|
+
open: null
|
68
|
+
},
|
69
|
+
|
70
|
+
_addDescribedBy: function( elem, id ) {
|
71
|
+
var describedby = ( elem.attr( "aria-describedby" ) || "" ).split( /\s+/ );
|
72
|
+
describedby.push( id );
|
73
|
+
elem
|
74
|
+
.data( "ui-tooltip-id", id )
|
75
|
+
.attr( "aria-describedby", $.trim( describedby.join( " " ) ) );
|
76
|
+
},
|
77
|
+
|
78
|
+
_removeDescribedBy: function( elem ) {
|
79
|
+
var id = elem.data( "ui-tooltip-id" ),
|
80
|
+
describedby = ( elem.attr( "aria-describedby" ) || "" ).split( /\s+/ ),
|
81
|
+
index = $.inArray( id, describedby );
|
82
|
+
|
83
|
+
if ( index !== -1 ) {
|
84
|
+
describedby.splice( index, 1 );
|
85
|
+
}
|
86
|
+
|
87
|
+
elem.removeData( "ui-tooltip-id" );
|
88
|
+
describedby = $.trim( describedby.join( " " ) );
|
89
|
+
if ( describedby ) {
|
90
|
+
elem.attr( "aria-describedby", describedby );
|
91
|
+
} else {
|
92
|
+
elem.removeAttr( "aria-describedby" );
|
93
|
+
}
|
94
|
+
},
|
95
|
+
|
96
|
+
_create: function() {
|
97
|
+
this._on( {
|
98
|
+
mouseover: "open",
|
99
|
+
focusin: "open"
|
100
|
+
} );
|
101
|
+
|
102
|
+
// IDs of generated tooltips, needed for destroy
|
103
|
+
this.tooltips = {};
|
104
|
+
|
105
|
+
// IDs of parent tooltips where we removed the title attribute
|
106
|
+
this.parents = {};
|
107
|
+
|
108
|
+
// Append the aria-live region so tooltips announce correctly
|
109
|
+
this.liveRegion = $( "<div>" )
|
110
|
+
.attr( {
|
111
|
+
role: "log",
|
112
|
+
"aria-live": "assertive",
|
113
|
+
"aria-relevant": "additions"
|
114
|
+
} )
|
115
|
+
.appendTo( this.document[ 0 ].body );
|
116
|
+
this._addClass( this.liveRegion, null, "ui-helper-hidden-accessible" );
|
117
|
+
|
118
|
+
this.disabledTitles = $( [] );
|
119
|
+
},
|
120
|
+
|
121
|
+
_setOption: function( key, value ) {
|
122
|
+
var that = this;
|
123
|
+
|
124
|
+
this._super( key, value );
|
125
|
+
|
126
|
+
if ( key === "content" ) {
|
127
|
+
$.each( this.tooltips, function( id, tooltipData ) {
|
128
|
+
that._updateContent( tooltipData.element );
|
129
|
+
} );
|
130
|
+
}
|
131
|
+
},
|
132
|
+
|
133
|
+
_setOptionDisabled: function( value ) {
|
134
|
+
this[ value ? "_disable" : "_enable" ]();
|
135
|
+
},
|
136
|
+
|
137
|
+
_disable: function() {
|
138
|
+
var that = this;
|
139
|
+
|
140
|
+
// Close open tooltips
|
141
|
+
$.each( this.tooltips, function( id, tooltipData ) {
|
142
|
+
var event = $.Event( "blur" );
|
143
|
+
event.target = event.currentTarget = tooltipData.element[ 0 ];
|
144
|
+
that.close( event, true );
|
145
|
+
} );
|
146
|
+
|
147
|
+
// Remove title attributes to prevent native tooltips
|
148
|
+
this.disabledTitles = this.disabledTitles.add(
|
149
|
+
this.element.find( this.options.items ).addBack()
|
150
|
+
.filter( function() {
|
151
|
+
var element = $( this );
|
152
|
+
if ( element.is( "[title]" ) ) {
|
153
|
+
return element
|
154
|
+
.data( "ui-tooltip-title", element.attr( "title" ) )
|
155
|
+
.removeAttr( "title" );
|
156
|
+
}
|
157
|
+
} )
|
158
|
+
);
|
159
|
+
},
|
160
|
+
|
161
|
+
_enable: function() {
|
162
|
+
|
163
|
+
// restore title attributes
|
164
|
+
this.disabledTitles.each( function() {
|
165
|
+
var element = $( this );
|
166
|
+
if ( element.data( "ui-tooltip-title" ) ) {
|
167
|
+
element.attr( "title", element.data( "ui-tooltip-title" ) );
|
168
|
+
}
|
169
|
+
} );
|
170
|
+
this.disabledTitles = $( [] );
|
171
|
+
},
|
172
|
+
|
173
|
+
open: function( event ) {
|
174
|
+
var that = this,
|
175
|
+
target = $( event ? event.target : this.element )
|
176
|
+
|
177
|
+
// we need closest here due to mouseover bubbling,
|
178
|
+
// but always pointing at the same event target
|
179
|
+
.closest( this.options.items );
|
180
|
+
|
181
|
+
// No element to show a tooltip for or the tooltip is already open
|
182
|
+
if ( !target.length || target.data( "ui-tooltip-id" ) ) {
|
183
|
+
return;
|
184
|
+
}
|
185
|
+
|
186
|
+
if ( target.attr( "title" ) ) {
|
187
|
+
target.data( "ui-tooltip-title", target.attr( "title" ) );
|
188
|
+
}
|
189
|
+
|
190
|
+
target.data( "ui-tooltip-open", true );
|
191
|
+
|
192
|
+
// Kill parent tooltips, custom or native, for hover
|
193
|
+
if ( event && event.type === "mouseover" ) {
|
194
|
+
target.parents().each( function() {
|
195
|
+
var parent = $( this ),
|
196
|
+
blurEvent;
|
197
|
+
if ( parent.data( "ui-tooltip-open" ) ) {
|
198
|
+
blurEvent = $.Event( "blur" );
|
199
|
+
blurEvent.target = blurEvent.currentTarget = this;
|
200
|
+
that.close( blurEvent, true );
|
201
|
+
}
|
202
|
+
if ( parent.attr( "title" ) ) {
|
203
|
+
parent.uniqueId();
|
204
|
+
that.parents[ this.id ] = {
|
205
|
+
element: this,
|
206
|
+
title: parent.attr( "title" )
|
207
|
+
};
|
208
|
+
parent.attr( "title", "" );
|
209
|
+
}
|
210
|
+
} );
|
211
|
+
}
|
212
|
+
|
213
|
+
this._registerCloseHandlers( event, target );
|
214
|
+
this._updateContent( target, event );
|
215
|
+
},
|
216
|
+
|
217
|
+
_updateContent: function( target, event ) {
|
218
|
+
var content,
|
219
|
+
contentOption = this.options.content,
|
220
|
+
that = this,
|
221
|
+
eventType = event ? event.type : null;
|
222
|
+
|
223
|
+
if ( typeof contentOption === "string" || contentOption.nodeType ||
|
224
|
+
contentOption.jquery ) {
|
225
|
+
return this._open( event, target, contentOption );
|
226
|
+
}
|
227
|
+
|
228
|
+
content = contentOption.call( target[ 0 ], function( response ) {
|
229
|
+
|
230
|
+
// IE may instantly serve a cached response for ajax requests
|
231
|
+
// delay this call to _open so the other call to _open runs first
|
232
|
+
that._delay( function() {
|
233
|
+
|
234
|
+
// Ignore async response if tooltip was closed already
|
235
|
+
if ( !target.data( "ui-tooltip-open" ) ) {
|
236
|
+
return;
|
237
|
+
}
|
238
|
+
|
239
|
+
// JQuery creates a special event for focusin when it doesn't
|
240
|
+
// exist natively. To improve performance, the native event
|
241
|
+
// object is reused and the type is changed. Therefore, we can't
|
242
|
+
// rely on the type being correct after the event finished
|
243
|
+
// bubbling, so we set it back to the previous value. (#8740)
|
244
|
+
if ( event ) {
|
245
|
+
event.type = eventType;
|
246
|
+
}
|
247
|
+
this._open( event, target, response );
|
248
|
+
} );
|
249
|
+
} );
|
250
|
+
if ( content ) {
|
251
|
+
this._open( event, target, content );
|
252
|
+
}
|
253
|
+
},
|
254
|
+
|
255
|
+
_open: function( event, target, content ) {
|
256
|
+
var tooltipData, tooltip, delayedShow, a11yContent,
|
257
|
+
positionOption = $.extend( {}, this.options.position );
|
258
|
+
|
259
|
+
if ( !content ) {
|
260
|
+
return;
|
261
|
+
}
|
262
|
+
|
263
|
+
// Content can be updated multiple times. If the tooltip already
|
264
|
+
// exists, then just update the content and bail.
|
265
|
+
tooltipData = this._find( target );
|
266
|
+
if ( tooltipData ) {
|
267
|
+
tooltipData.tooltip.find( ".ui-tooltip-content" ).html( content );
|
268
|
+
return;
|
269
|
+
}
|
270
|
+
|
271
|
+
// If we have a title, clear it to prevent the native tooltip
|
272
|
+
// we have to check first to avoid defining a title if none exists
|
273
|
+
// (we don't want to cause an element to start matching [title])
|
274
|
+
//
|
275
|
+
// We use removeAttr only for key events, to allow IE to export the correct
|
276
|
+
// accessible attributes. For mouse events, set to empty string to avoid
|
277
|
+
// native tooltip showing up (happens only when removing inside mouseover).
|
278
|
+
if ( target.is( "[title]" ) ) {
|
279
|
+
if ( event && event.type === "mouseover" ) {
|
280
|
+
target.attr( "title", "" );
|
281
|
+
} else {
|
282
|
+
target.removeAttr( "title" );
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
tooltipData = this._tooltip( target );
|
287
|
+
tooltip = tooltipData.tooltip;
|
288
|
+
this._addDescribedBy( target, tooltip.attr( "id" ) );
|
289
|
+
tooltip.find( ".ui-tooltip-content" ).html( content );
|
290
|
+
|
291
|
+
// Support: Voiceover on OS X, JAWS on IE <= 9
|
292
|
+
// JAWS announces deletions even when aria-relevant="additions"
|
293
|
+
// Voiceover will sometimes re-read the entire log region's contents from the beginning
|
294
|
+
this.liveRegion.children().hide();
|
295
|
+
a11yContent = $( "<div>" ).html( tooltip.find( ".ui-tooltip-content" ).html() );
|
296
|
+
a11yContent.removeAttr( "name" ).find( "[name]" ).removeAttr( "name" );
|
297
|
+
a11yContent.removeAttr( "id" ).find( "[id]" ).removeAttr( "id" );
|
298
|
+
a11yContent.appendTo( this.liveRegion );
|
299
|
+
|
300
|
+
function position( event ) {
|
301
|
+
positionOption.of = event;
|
302
|
+
if ( tooltip.is( ":hidden" ) ) {
|
303
|
+
return;
|
304
|
+
}
|
305
|
+
tooltip.position( positionOption );
|
306
|
+
}
|
307
|
+
if ( this.options.track && event && /^mouse/.test( event.type ) ) {
|
308
|
+
this._on( this.document, {
|
309
|
+
mousemove: position
|
310
|
+
} );
|
311
|
+
|
312
|
+
// trigger once to override element-relative positioning
|
313
|
+
position( event );
|
314
|
+
} else {
|
315
|
+
tooltip.position( $.extend( {
|
316
|
+
of: target
|
317
|
+
}, this.options.position ) );
|
318
|
+
}
|
319
|
+
|
320
|
+
tooltip.hide();
|
321
|
+
|
322
|
+
this._show( tooltip, this.options.show );
|
323
|
+
|
324
|
+
// Handle tracking tooltips that are shown with a delay (#8644). As soon
|
325
|
+
// as the tooltip is visible, position the tooltip using the most recent
|
326
|
+
// event.
|
327
|
+
// Adds the check to add the timers only when both delay and track options are set (#14682)
|
328
|
+
if ( this.options.track && this.options.show && this.options.show.delay ) {
|
329
|
+
delayedShow = this.delayedShow = setInterval( function() {
|
330
|
+
if ( tooltip.is( ":visible" ) ) {
|
331
|
+
position( positionOption.of );
|
332
|
+
clearInterval( delayedShow );
|
333
|
+
}
|
334
|
+
}, $.fx.interval );
|
335
|
+
}
|
336
|
+
|
337
|
+
this._trigger( "open", event, { tooltip: tooltip } );
|
338
|
+
},
|
339
|
+
|
340
|
+
_registerCloseHandlers: function( event, target ) {
|
341
|
+
var events = {
|
342
|
+
keyup: function( event ) {
|
343
|
+
if ( event.keyCode === $.ui.keyCode.ESCAPE ) {
|
344
|
+
var fakeEvent = $.Event( event );
|
345
|
+
fakeEvent.currentTarget = target[ 0 ];
|
346
|
+
this.close( fakeEvent, true );
|
347
|
+
}
|
348
|
+
}
|
349
|
+
};
|
350
|
+
|
351
|
+
// Only bind remove handler for delegated targets. Non-delegated
|
352
|
+
// tooltips will handle this in destroy.
|
353
|
+
if ( target[ 0 ] !== this.element[ 0 ] ) {
|
354
|
+
events.remove = function() {
|
355
|
+
this._removeTooltip( this._find( target ).tooltip );
|
356
|
+
};
|
357
|
+
}
|
358
|
+
|
359
|
+
if ( !event || event.type === "mouseover" ) {
|
360
|
+
events.mouseleave = "close";
|
361
|
+
}
|
362
|
+
if ( !event || event.type === "focusin" ) {
|
363
|
+
events.focusout = "close";
|
364
|
+
}
|
365
|
+
this._on( true, target, events );
|
366
|
+
},
|
367
|
+
|
368
|
+
close: function( event ) {
|
369
|
+
var tooltip,
|
370
|
+
that = this,
|
371
|
+
target = $( event ? event.currentTarget : this.element ),
|
372
|
+
tooltipData = this._find( target );
|
373
|
+
|
374
|
+
// The tooltip may already be closed
|
375
|
+
if ( !tooltipData ) {
|
376
|
+
|
377
|
+
// We set ui-tooltip-open immediately upon open (in open()), but only set the
|
378
|
+
// additional data once there's actually content to show (in _open()). So even if the
|
379
|
+
// tooltip doesn't have full data, we always remove ui-tooltip-open in case we're in
|
380
|
+
// the period between open() and _open().
|
381
|
+
target.removeData( "ui-tooltip-open" );
|
382
|
+
return;
|
383
|
+
}
|
384
|
+
|
385
|
+
tooltip = tooltipData.tooltip;
|
386
|
+
|
387
|
+
// Disabling closes the tooltip, so we need to track when we're closing
|
388
|
+
// to avoid an infinite loop in case the tooltip becomes disabled on close
|
389
|
+
if ( tooltipData.closing ) {
|
390
|
+
return;
|
391
|
+
}
|
392
|
+
|
393
|
+
// Clear the interval for delayed tracking tooltips
|
394
|
+
clearInterval( this.delayedShow );
|
395
|
+
|
396
|
+
// Only set title if we had one before (see comment in _open())
|
397
|
+
// If the title attribute has changed since open(), don't restore
|
398
|
+
if ( target.data( "ui-tooltip-title" ) && !target.attr( "title" ) ) {
|
399
|
+
target.attr( "title", target.data( "ui-tooltip-title" ) );
|
400
|
+
}
|
401
|
+
|
402
|
+
this._removeDescribedBy( target );
|
403
|
+
|
404
|
+
tooltipData.hiding = true;
|
405
|
+
tooltip.stop( true );
|
406
|
+
this._hide( tooltip, this.options.hide, function() {
|
407
|
+
that._removeTooltip( $( this ) );
|
408
|
+
} );
|
409
|
+
|
410
|
+
target.removeData( "ui-tooltip-open" );
|
411
|
+
this._off( target, "mouseleave focusout keyup" );
|
412
|
+
|
413
|
+
// Remove 'remove' binding only on delegated targets
|
414
|
+
if ( target[ 0 ] !== this.element[ 0 ] ) {
|
415
|
+
this._off( target, "remove" );
|
416
|
+
}
|
417
|
+
this._off( this.document, "mousemove" );
|
418
|
+
|
419
|
+
if ( event && event.type === "mouseleave" ) {
|
420
|
+
$.each( this.parents, function( id, parent ) {
|
421
|
+
$( parent.element ).attr( "title", parent.title );
|
422
|
+
delete that.parents[ id ];
|
423
|
+
} );
|
424
|
+
}
|
425
|
+
|
426
|
+
tooltipData.closing = true;
|
427
|
+
this._trigger( "close", event, { tooltip: tooltip } );
|
428
|
+
if ( !tooltipData.hiding ) {
|
429
|
+
tooltipData.closing = false;
|
430
|
+
}
|
431
|
+
},
|
432
|
+
|
433
|
+
_tooltip: function( element ) {
|
434
|
+
var tooltip = $( "<div>" ).attr( "role", "tooltip" ),
|
435
|
+
content = $( "<div>" ).appendTo( tooltip ),
|
436
|
+
id = tooltip.uniqueId().attr( "id" );
|
437
|
+
|
438
|
+
this._addClass( content, "ui-tooltip-content" );
|
439
|
+
this._addClass( tooltip, "ui-tooltip", "ui-widget ui-widget-content" );
|
440
|
+
|
441
|
+
tooltip.appendTo( this._appendTo( element ) );
|
442
|
+
|
443
|
+
return this.tooltips[ id ] = {
|
444
|
+
element: element,
|
445
|
+
tooltip: tooltip
|
446
|
+
};
|
447
|
+
},
|
448
|
+
|
449
|
+
_find: function( target ) {
|
450
|
+
var id = target.data( "ui-tooltip-id" );
|
451
|
+
return id ? this.tooltips[ id ] : null;
|
452
|
+
},
|
453
|
+
|
454
|
+
_removeTooltip: function( tooltip ) {
|
455
|
+
tooltip.remove();
|
456
|
+
delete this.tooltips[ tooltip.attr( "id" ) ];
|
457
|
+
},
|
458
|
+
|
459
|
+
_appendTo: function( target ) {
|
460
|
+
var element = target.closest( ".ui-front, dialog" );
|
461
|
+
|
462
|
+
if ( !element.length ) {
|
463
|
+
element = this.document[ 0 ].body;
|
464
|
+
}
|
465
|
+
|
466
|
+
return element;
|
467
|
+
},
|
468
|
+
|
469
|
+
_destroy: function() {
|
470
|
+
var that = this;
|
471
|
+
|
472
|
+
// Close open tooltips
|
473
|
+
$.each( this.tooltips, function( id, tooltipData ) {
|
474
|
+
|
475
|
+
// Delegate to close method to handle common cleanup
|
476
|
+
var event = $.Event( "blur" ),
|
477
|
+
element = tooltipData.element;
|
478
|
+
event.target = event.currentTarget = element[ 0 ];
|
479
|
+
that.close( event, true );
|
480
|
+
|
481
|
+
// Remove immediately; destroying an open tooltip doesn't use the
|
482
|
+
// hide animation
|
483
|
+
$( "#" + id ).remove();
|
484
|
+
|
485
|
+
// Restore the title
|
486
|
+
if ( element.data( "ui-tooltip-title" ) ) {
|
487
|
+
|
488
|
+
// If the title attribute has changed since open(), don't restore
|
489
|
+
if ( !element.attr( "title" ) ) {
|
490
|
+
element.attr( "title", element.data( "ui-tooltip-title" ) );
|
491
|
+
}
|
492
|
+
element.removeData( "ui-tooltip-title" );
|
493
|
+
}
|
494
|
+
} );
|
495
|
+
this.liveRegion.remove();
|
496
|
+
}
|
497
|
+
} );
|
498
|
+
|
499
|
+
// DEPRECATED
|
500
|
+
// TODO: Switch return back to widget declaration at top of file when this is removed
|
501
|
+
if ( $.uiBackCompat !== false ) {
|
502
|
+
|
503
|
+
// Backcompat for tooltipClass option
|
504
|
+
$.widget( "ui.tooltip", $.ui.tooltip, {
|
505
|
+
options: {
|
506
|
+
tooltipClass: null
|
507
|
+
},
|
508
|
+
_tooltip: function() {
|
509
|
+
var tooltipData = this._superApply( arguments );
|
510
|
+
if ( this.options.tooltipClass ) {
|
511
|
+
tooltipData.tooltip.addClass( this.options.tooltipClass );
|
512
|
+
}
|
513
|
+
return tooltipData;
|
514
|
+
}
|
515
|
+
} );
|
516
|
+
}
|
517
|
+
|
518
|
+
return $.ui.tooltip;
|
519
|
+
|
520
|
+
} ) );
|