ext_yarn 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +125 -0
- data/.ruby-version +1 -0
- data/Gemfile +21 -0
- data/Gemfile.lock +78 -0
- data/MIT-LICENSE +20 -0
- data/README.md +3 -0
- data/bin/yarn +12 -0
- data/ext_yarn.gemspec +23 -0
- data/lib/ext_yarn/engine.rb +21 -0
- data/lib/ext_yarn/version.rb +3 -0
- data/lib/ext_yarn.rb +5 -0
- data/node_modules/.yarn-integrity +64 -0
- data/node_modules/bootstrap-sass/LICENSE +22 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/affix.js +162 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/alert.js +94 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/button.js +125 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/carousel.js +237 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/collapse.js +212 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js +165 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/modal.js +339 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/popover.js +108 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/scrollspy.js +172 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/tab.js +155 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js +520 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/transition.js +59 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap-sprockets.js +12 -0
- data/node_modules/bootstrap-sass/assets/javascripts/bootstrap.js +2377 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-compass.scss +9 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss +19 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss +56 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss +73 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss +68 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss +28 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss +244 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss +168 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss +270 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss +36 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss +69 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss +37 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss +216 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss +617 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss +307 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss +84 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss +171 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss +54 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss +66 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss +130 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss +66 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss +40 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss +150 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss +662 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss +242 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss +424 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss +54 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss +89 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss +271 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss +131 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss +101 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss +161 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss +234 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_theme.scss +291 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss +101 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss +298 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss +55 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss +874 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss +29 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss +65 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
- data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/node_modules/bootstrap-sass/package.json +44 -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 +18919 -0
- data/node_modules/chart.js/dist/Chart.js +14384 -0
- data/node_modules/chart.js/package.json +57 -0
- data/node_modules/chartkick/chartkick.js +1853 -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/font-awesome-sass/LICENSE.txt +22 -0
- data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
- data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.svg +2671 -0
- data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
- data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
- data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome-compass.scss +5 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome-sprockets.scss +5 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome.scss +18 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_animated.scss +34 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_bordered-pulled.scss +25 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_core.scss +12 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_fixed-width.scss +6 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_icons.scss +789 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_larger.scss +13 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_list.scss +19 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_mixins.scss +60 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_path.scss +14 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_screen-reader.scss +5 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_stacked.scss +20 -0
- data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_variables.scss +802 -0
- data/node_modules/font-awesome-sass/package.json +19 -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/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/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/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/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/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/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/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/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/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/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 +25 -0
- data/yarn.lock +126 -0
- metadata +708 -0
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* jQuery UI Button 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: Button
|
|
11
|
+
//>>group: Widgets
|
|
12
|
+
//>>description: Enhances a form with themeable buttons.
|
|
13
|
+
//>>docs: http://api.jqueryui.com/button/
|
|
14
|
+
//>>demos: http://jqueryui.com/button/
|
|
15
|
+
//>>css.structure: ../../themes/base/core.css
|
|
16
|
+
//>>css.structure: ../../themes/base/button.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
|
+
|
|
26
|
+
// These are only for backcompat
|
|
27
|
+
// TODO: Remove after 1.12
|
|
28
|
+
"./controlgroup",
|
|
29
|
+
"./checkboxradio",
|
|
30
|
+
|
|
31
|
+
"../keycode",
|
|
32
|
+
"../widget"
|
|
33
|
+
], factory );
|
|
34
|
+
} else {
|
|
35
|
+
|
|
36
|
+
// Browser globals
|
|
37
|
+
factory( jQuery );
|
|
38
|
+
}
|
|
39
|
+
}( function( $ ) {
|
|
40
|
+
|
|
41
|
+
$.widget( "ui.button", {
|
|
42
|
+
version: "1.12.1",
|
|
43
|
+
defaultElement: "<button>",
|
|
44
|
+
options: {
|
|
45
|
+
classes: {
|
|
46
|
+
"ui-button": "ui-corner-all"
|
|
47
|
+
},
|
|
48
|
+
disabled: null,
|
|
49
|
+
icon: null,
|
|
50
|
+
iconPosition: "beginning",
|
|
51
|
+
label: null,
|
|
52
|
+
showLabel: true
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
_getCreateOptions: function() {
|
|
56
|
+
var disabled,
|
|
57
|
+
|
|
58
|
+
// This is to support cases like in jQuery Mobile where the base widget does have
|
|
59
|
+
// an implementation of _getCreateOptions
|
|
60
|
+
options = this._super() || {};
|
|
61
|
+
|
|
62
|
+
this.isInput = this.element.is( "input" );
|
|
63
|
+
|
|
64
|
+
disabled = this.element[ 0 ].disabled;
|
|
65
|
+
if ( disabled != null ) {
|
|
66
|
+
options.disabled = disabled;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
this.originalLabel = this.isInput ? this.element.val() : this.element.html();
|
|
70
|
+
if ( this.originalLabel ) {
|
|
71
|
+
options.label = this.originalLabel;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return options;
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
_create: function() {
|
|
78
|
+
if ( !this.option.showLabel & !this.options.icon ) {
|
|
79
|
+
this.options.showLabel = true;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// We have to check the option again here even though we did in _getCreateOptions,
|
|
83
|
+
// because null may have been passed on init which would override what was set in
|
|
84
|
+
// _getCreateOptions
|
|
85
|
+
if ( this.options.disabled == null ) {
|
|
86
|
+
this.options.disabled = this.element[ 0 ].disabled || false;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
this.hasTitle = !!this.element.attr( "title" );
|
|
90
|
+
|
|
91
|
+
// Check to see if the label needs to be set or if its already correct
|
|
92
|
+
if ( this.options.label && this.options.label !== this.originalLabel ) {
|
|
93
|
+
if ( this.isInput ) {
|
|
94
|
+
this.element.val( this.options.label );
|
|
95
|
+
} else {
|
|
96
|
+
this.element.html( this.options.label );
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
this._addClass( "ui-button", "ui-widget" );
|
|
100
|
+
this._setOption( "disabled", this.options.disabled );
|
|
101
|
+
this._enhance();
|
|
102
|
+
|
|
103
|
+
if ( this.element.is( "a" ) ) {
|
|
104
|
+
this._on( {
|
|
105
|
+
"keyup": function( event ) {
|
|
106
|
+
if ( event.keyCode === $.ui.keyCode.SPACE ) {
|
|
107
|
+
event.preventDefault();
|
|
108
|
+
|
|
109
|
+
// Support: PhantomJS <= 1.9, IE 8 Only
|
|
110
|
+
// If a native click is available use it so we actually cause navigation
|
|
111
|
+
// otherwise just trigger a click event
|
|
112
|
+
if ( this.element[ 0 ].click ) {
|
|
113
|
+
this.element[ 0 ].click();
|
|
114
|
+
} else {
|
|
115
|
+
this.element.trigger( "click" );
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
} );
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
_enhance: function() {
|
|
124
|
+
if ( !this.element.is( "button" ) ) {
|
|
125
|
+
this.element.attr( "role", "button" );
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if ( this.options.icon ) {
|
|
129
|
+
this._updateIcon( "icon", this.options.icon );
|
|
130
|
+
this._updateTooltip();
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
_updateTooltip: function() {
|
|
135
|
+
this.title = this.element.attr( "title" );
|
|
136
|
+
|
|
137
|
+
if ( !this.options.showLabel && !this.title ) {
|
|
138
|
+
this.element.attr( "title", this.options.label );
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
|
|
142
|
+
_updateIcon: function( option, value ) {
|
|
143
|
+
var icon = option !== "iconPosition",
|
|
144
|
+
position = icon ? this.options.iconPosition : value,
|
|
145
|
+
displayBlock = position === "top" || position === "bottom";
|
|
146
|
+
|
|
147
|
+
// Create icon
|
|
148
|
+
if ( !this.icon ) {
|
|
149
|
+
this.icon = $( "<span>" );
|
|
150
|
+
|
|
151
|
+
this._addClass( this.icon, "ui-button-icon", "ui-icon" );
|
|
152
|
+
|
|
153
|
+
if ( !this.options.showLabel ) {
|
|
154
|
+
this._addClass( "ui-button-icon-only" );
|
|
155
|
+
}
|
|
156
|
+
} else if ( icon ) {
|
|
157
|
+
|
|
158
|
+
// If we are updating the icon remove the old icon class
|
|
159
|
+
this._removeClass( this.icon, null, this.options.icon );
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// If we are updating the icon add the new icon class
|
|
163
|
+
if ( icon ) {
|
|
164
|
+
this._addClass( this.icon, null, value );
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
this._attachIcon( position );
|
|
168
|
+
|
|
169
|
+
// If the icon is on top or bottom we need to add the ui-widget-icon-block class and remove
|
|
170
|
+
// the iconSpace if there is one.
|
|
171
|
+
if ( displayBlock ) {
|
|
172
|
+
this._addClass( this.icon, null, "ui-widget-icon-block" );
|
|
173
|
+
if ( this.iconSpace ) {
|
|
174
|
+
this.iconSpace.remove();
|
|
175
|
+
}
|
|
176
|
+
} else {
|
|
177
|
+
|
|
178
|
+
// Position is beginning or end so remove the ui-widget-icon-block class and add the
|
|
179
|
+
// space if it does not exist
|
|
180
|
+
if ( !this.iconSpace ) {
|
|
181
|
+
this.iconSpace = $( "<span> </span>" );
|
|
182
|
+
this._addClass( this.iconSpace, "ui-button-icon-space" );
|
|
183
|
+
}
|
|
184
|
+
this._removeClass( this.icon, null, "ui-wiget-icon-block" );
|
|
185
|
+
this._attachIconSpace( position );
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
|
|
189
|
+
_destroy: function() {
|
|
190
|
+
this.element.removeAttr( "role" );
|
|
191
|
+
|
|
192
|
+
if ( this.icon ) {
|
|
193
|
+
this.icon.remove();
|
|
194
|
+
}
|
|
195
|
+
if ( this.iconSpace ) {
|
|
196
|
+
this.iconSpace.remove();
|
|
197
|
+
}
|
|
198
|
+
if ( !this.hasTitle ) {
|
|
199
|
+
this.element.removeAttr( "title" );
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
|
|
203
|
+
_attachIconSpace: function( iconPosition ) {
|
|
204
|
+
this.icon[ /^(?:end|bottom)/.test( iconPosition ) ? "before" : "after" ]( this.iconSpace );
|
|
205
|
+
},
|
|
206
|
+
|
|
207
|
+
_attachIcon: function( iconPosition ) {
|
|
208
|
+
this.element[ /^(?:end|bottom)/.test( iconPosition ) ? "append" : "prepend" ]( this.icon );
|
|
209
|
+
},
|
|
210
|
+
|
|
211
|
+
_setOptions: function( options ) {
|
|
212
|
+
var newShowLabel = options.showLabel === undefined ?
|
|
213
|
+
this.options.showLabel :
|
|
214
|
+
options.showLabel,
|
|
215
|
+
newIcon = options.icon === undefined ? this.options.icon : options.icon;
|
|
216
|
+
|
|
217
|
+
if ( !newShowLabel && !newIcon ) {
|
|
218
|
+
options.showLabel = true;
|
|
219
|
+
}
|
|
220
|
+
this._super( options );
|
|
221
|
+
},
|
|
222
|
+
|
|
223
|
+
_setOption: function( key, value ) {
|
|
224
|
+
if ( key === "icon" ) {
|
|
225
|
+
if ( value ) {
|
|
226
|
+
this._updateIcon( key, value );
|
|
227
|
+
} else if ( this.icon ) {
|
|
228
|
+
this.icon.remove();
|
|
229
|
+
if ( this.iconSpace ) {
|
|
230
|
+
this.iconSpace.remove();
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
if ( key === "iconPosition" ) {
|
|
236
|
+
this._updateIcon( key, value );
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// Make sure we can't end up with a button that has neither text nor icon
|
|
240
|
+
if ( key === "showLabel" ) {
|
|
241
|
+
this._toggleClass( "ui-button-icon-only", null, !value );
|
|
242
|
+
this._updateTooltip();
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
if ( key === "label" ) {
|
|
246
|
+
if ( this.isInput ) {
|
|
247
|
+
this.element.val( value );
|
|
248
|
+
} else {
|
|
249
|
+
|
|
250
|
+
// If there is an icon, append it, else nothing then append the value
|
|
251
|
+
// this avoids removal of the icon when setting label text
|
|
252
|
+
this.element.html( value );
|
|
253
|
+
if ( this.icon ) {
|
|
254
|
+
this._attachIcon( this.options.iconPosition );
|
|
255
|
+
this._attachIconSpace( this.options.iconPosition );
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
this._super( key, value );
|
|
261
|
+
|
|
262
|
+
if ( key === "disabled" ) {
|
|
263
|
+
this._toggleClass( null, "ui-state-disabled", value );
|
|
264
|
+
this.element[ 0 ].disabled = value;
|
|
265
|
+
if ( value ) {
|
|
266
|
+
this.element.blur();
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
|
|
271
|
+
refresh: function() {
|
|
272
|
+
|
|
273
|
+
// Make sure to only check disabled if its an element that supports this otherwise
|
|
274
|
+
// check for the disabled class to determine state
|
|
275
|
+
var isDisabled = this.element.is( "input, button" ) ?
|
|
276
|
+
this.element[ 0 ].disabled : this.element.hasClass( "ui-button-disabled" );
|
|
277
|
+
|
|
278
|
+
if ( isDisabled !== this.options.disabled ) {
|
|
279
|
+
this._setOptions( { disabled: isDisabled } );
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
this._updateTooltip();
|
|
283
|
+
}
|
|
284
|
+
} );
|
|
285
|
+
|
|
286
|
+
// DEPRECATED
|
|
287
|
+
if ( $.uiBackCompat !== false ) {
|
|
288
|
+
|
|
289
|
+
// Text and Icons options
|
|
290
|
+
$.widget( "ui.button", $.ui.button, {
|
|
291
|
+
options: {
|
|
292
|
+
text: true,
|
|
293
|
+
icons: {
|
|
294
|
+
primary: null,
|
|
295
|
+
secondary: null
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
|
|
299
|
+
_create: function() {
|
|
300
|
+
if ( this.options.showLabel && !this.options.text ) {
|
|
301
|
+
this.options.showLabel = this.options.text;
|
|
302
|
+
}
|
|
303
|
+
if ( !this.options.showLabel && this.options.text ) {
|
|
304
|
+
this.options.text = this.options.showLabel;
|
|
305
|
+
}
|
|
306
|
+
if ( !this.options.icon && ( this.options.icons.primary ||
|
|
307
|
+
this.options.icons.secondary ) ) {
|
|
308
|
+
if ( this.options.icons.primary ) {
|
|
309
|
+
this.options.icon = this.options.icons.primary;
|
|
310
|
+
} else {
|
|
311
|
+
this.options.icon = this.options.icons.secondary;
|
|
312
|
+
this.options.iconPosition = "end";
|
|
313
|
+
}
|
|
314
|
+
} else if ( this.options.icon ) {
|
|
315
|
+
this.options.icons.primary = this.options.icon;
|
|
316
|
+
}
|
|
317
|
+
this._super();
|
|
318
|
+
},
|
|
319
|
+
|
|
320
|
+
_setOption: function( key, value ) {
|
|
321
|
+
if ( key === "text" ) {
|
|
322
|
+
this._super( "showLabel", value );
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
if ( key === "showLabel" ) {
|
|
326
|
+
this.options.text = value;
|
|
327
|
+
}
|
|
328
|
+
if ( key === "icon" ) {
|
|
329
|
+
this.options.icons.primary = value;
|
|
330
|
+
}
|
|
331
|
+
if ( key === "icons" ) {
|
|
332
|
+
if ( value.primary ) {
|
|
333
|
+
this._super( "icon", value.primary );
|
|
334
|
+
this._super( "iconPosition", "beginning" );
|
|
335
|
+
} else if ( value.secondary ) {
|
|
336
|
+
this._super( "icon", value.secondary );
|
|
337
|
+
this._super( "iconPosition", "end" );
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
this._superApply( arguments );
|
|
341
|
+
}
|
|
342
|
+
} );
|
|
343
|
+
|
|
344
|
+
$.fn.button = ( function( orig ) {
|
|
345
|
+
return function() {
|
|
346
|
+
if ( !this.length || ( this.length && this[ 0 ].tagName !== "INPUT" ) ||
|
|
347
|
+
( this.length && this[ 0 ].tagName === "INPUT" && (
|
|
348
|
+
this.attr( "type" ) !== "checkbox" && this.attr( "type" ) !== "radio"
|
|
349
|
+
) ) ) {
|
|
350
|
+
return orig.apply( this, arguments );
|
|
351
|
+
}
|
|
352
|
+
if ( !$.ui.checkboxradio ) {
|
|
353
|
+
$.error( "Checkboxradio widget missing" );
|
|
354
|
+
}
|
|
355
|
+
if ( arguments.length === 0 ) {
|
|
356
|
+
return this.checkboxradio( {
|
|
357
|
+
"icon": false
|
|
358
|
+
} );
|
|
359
|
+
}
|
|
360
|
+
return this.checkboxradio.apply( this, arguments );
|
|
361
|
+
};
|
|
362
|
+
} )( $.fn.button );
|
|
363
|
+
|
|
364
|
+
$.fn.buttonset = function() {
|
|
365
|
+
if ( !$.ui.controlgroup ) {
|
|
366
|
+
$.error( "Controlgroup widget missing" );
|
|
367
|
+
}
|
|
368
|
+
if ( arguments[ 0 ] === "option" && arguments[ 1 ] === "items" && arguments[ 2 ] ) {
|
|
369
|
+
return this.controlgroup.apply( this,
|
|
370
|
+
[ arguments[ 0 ], "items.button", arguments[ 2 ] ] );
|
|
371
|
+
}
|
|
372
|
+
if ( arguments[ 0 ] === "option" && arguments[ 1 ] === "items" ) {
|
|
373
|
+
return this.controlgroup.apply( this, [ arguments[ 0 ], "items.button" ] );
|
|
374
|
+
}
|
|
375
|
+
if ( typeof arguments[ 0 ] === "object" && arguments[ 0 ].items ) {
|
|
376
|
+
arguments[ 0 ].items = {
|
|
377
|
+
button: arguments[ 0 ].items
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
return this.controlgroup.apply( this, arguments );
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
return $.ui.button;
|
|
385
|
+
|
|
386
|
+
} ) );
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* jQuery UI Checkboxradio 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: Checkboxradio
|
|
11
|
+
//>>group: Widgets
|
|
12
|
+
//>>description: Enhances a form with multiple themeable checkboxes or radio buttons.
|
|
13
|
+
//>>docs: http://api.jqueryui.com/checkboxradio/
|
|
14
|
+
//>>demos: http://jqueryui.com/checkboxradio/
|
|
15
|
+
//>>css.structure: ../../themes/base/core.css
|
|
16
|
+
//>>css.structure: ../../themes/base/button.css
|
|
17
|
+
//>>css.structure: ../../themes/base/checkboxradio.css
|
|
18
|
+
//>>css.theme: ../../themes/base/theme.css
|
|
19
|
+
|
|
20
|
+
( function( factory ) {
|
|
21
|
+
if ( typeof define === "function" && define.amd ) {
|
|
22
|
+
|
|
23
|
+
// AMD. Register as an anonymous module.
|
|
24
|
+
define( [
|
|
25
|
+
"jquery",
|
|
26
|
+
"../escape-selector",
|
|
27
|
+
"../form-reset-mixin",
|
|
28
|
+
"../labels",
|
|
29
|
+
"../widget"
|
|
30
|
+
], factory );
|
|
31
|
+
} else {
|
|
32
|
+
|
|
33
|
+
// Browser globals
|
|
34
|
+
factory( jQuery );
|
|
35
|
+
}
|
|
36
|
+
}( function( $ ) {
|
|
37
|
+
|
|
38
|
+
$.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
|
|
39
|
+
version: "1.12.1",
|
|
40
|
+
options: {
|
|
41
|
+
disabled: null,
|
|
42
|
+
label: null,
|
|
43
|
+
icon: true,
|
|
44
|
+
classes: {
|
|
45
|
+
"ui-checkboxradio-label": "ui-corner-all",
|
|
46
|
+
"ui-checkboxradio-icon": "ui-corner-all"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
_getCreateOptions: function() {
|
|
51
|
+
var disabled, labels;
|
|
52
|
+
var that = this;
|
|
53
|
+
var options = this._super() || {};
|
|
54
|
+
|
|
55
|
+
// We read the type here, because it makes more sense to throw a element type error first,
|
|
56
|
+
// rather then the error for lack of a label. Often if its the wrong type, it
|
|
57
|
+
// won't have a label (e.g. calling on a div, btn, etc)
|
|
58
|
+
this._readType();
|
|
59
|
+
|
|
60
|
+
labels = this.element.labels();
|
|
61
|
+
|
|
62
|
+
// If there are multiple labels, use the last one
|
|
63
|
+
this.label = $( labels[ labels.length - 1 ] );
|
|
64
|
+
if ( !this.label.length ) {
|
|
65
|
+
$.error( "No label found for checkboxradio widget" );
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
this.originalLabel = "";
|
|
69
|
+
|
|
70
|
+
// We need to get the label text but this may also need to make sure it does not contain the
|
|
71
|
+
// input itself.
|
|
72
|
+
this.label.contents().not( this.element[ 0 ] ).each( function() {
|
|
73
|
+
|
|
74
|
+
// The label contents could be text, html, or a mix. We concat each element to get a
|
|
75
|
+
// string representation of the label, without the input as part of it.
|
|
76
|
+
that.originalLabel += this.nodeType === 3 ? $( this ).text() : this.outerHTML;
|
|
77
|
+
} );
|
|
78
|
+
|
|
79
|
+
// Set the label option if we found label text
|
|
80
|
+
if ( this.originalLabel ) {
|
|
81
|
+
options.label = this.originalLabel;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
disabled = this.element[ 0 ].disabled;
|
|
85
|
+
if ( disabled != null ) {
|
|
86
|
+
options.disabled = disabled;
|
|
87
|
+
}
|
|
88
|
+
return options;
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
_create: function() {
|
|
92
|
+
var checked = this.element[ 0 ].checked;
|
|
93
|
+
|
|
94
|
+
this._bindFormResetHandler();
|
|
95
|
+
|
|
96
|
+
if ( this.options.disabled == null ) {
|
|
97
|
+
this.options.disabled = this.element[ 0 ].disabled;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
this._setOption( "disabled", this.options.disabled );
|
|
101
|
+
this._addClass( "ui-checkboxradio", "ui-helper-hidden-accessible" );
|
|
102
|
+
this._addClass( this.label, "ui-checkboxradio-label", "ui-button ui-widget" );
|
|
103
|
+
|
|
104
|
+
if ( this.type === "radio" ) {
|
|
105
|
+
this._addClass( this.label, "ui-checkboxradio-radio-label" );
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if ( this.options.label && this.options.label !== this.originalLabel ) {
|
|
109
|
+
this._updateLabel();
|
|
110
|
+
} else if ( this.originalLabel ) {
|
|
111
|
+
this.options.label = this.originalLabel;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
this._enhance();
|
|
115
|
+
|
|
116
|
+
if ( checked ) {
|
|
117
|
+
this._addClass( this.label, "ui-checkboxradio-checked", "ui-state-active" );
|
|
118
|
+
if ( this.icon ) {
|
|
119
|
+
this._addClass( this.icon, null, "ui-state-hover" );
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
this._on( {
|
|
124
|
+
change: "_toggleClasses",
|
|
125
|
+
focus: function() {
|
|
126
|
+
this._addClass( this.label, null, "ui-state-focus ui-visual-focus" );
|
|
127
|
+
},
|
|
128
|
+
blur: function() {
|
|
129
|
+
this._removeClass( this.label, null, "ui-state-focus ui-visual-focus" );
|
|
130
|
+
}
|
|
131
|
+
} );
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
_readType: function() {
|
|
135
|
+
var nodeName = this.element[ 0 ].nodeName.toLowerCase();
|
|
136
|
+
this.type = this.element[ 0 ].type;
|
|
137
|
+
if ( nodeName !== "input" || !/radio|checkbox/.test( this.type ) ) {
|
|
138
|
+
$.error( "Can't create checkboxradio on element.nodeName=" + nodeName +
|
|
139
|
+
" and element.type=" + this.type );
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
// Support jQuery Mobile enhanced option
|
|
144
|
+
_enhance: function() {
|
|
145
|
+
this._updateIcon( this.element[ 0 ].checked );
|
|
146
|
+
},
|
|
147
|
+
|
|
148
|
+
widget: function() {
|
|
149
|
+
return this.label;
|
|
150
|
+
},
|
|
151
|
+
|
|
152
|
+
_getRadioGroup: function() {
|
|
153
|
+
var group;
|
|
154
|
+
var name = this.element[ 0 ].name;
|
|
155
|
+
var nameSelector = "input[name='" + $.ui.escapeSelector( name ) + "']";
|
|
156
|
+
|
|
157
|
+
if ( !name ) {
|
|
158
|
+
return $( [] );
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if ( this.form.length ) {
|
|
162
|
+
group = $( this.form[ 0 ].elements ).filter( nameSelector );
|
|
163
|
+
} else {
|
|
164
|
+
|
|
165
|
+
// Not inside a form, check all inputs that also are not inside a form
|
|
166
|
+
group = $( nameSelector ).filter( function() {
|
|
167
|
+
return $( this ).form().length === 0;
|
|
168
|
+
} );
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
return group.not( this.element );
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
_toggleClasses: function() {
|
|
175
|
+
var checked = this.element[ 0 ].checked;
|
|
176
|
+
this._toggleClass( this.label, "ui-checkboxradio-checked", "ui-state-active", checked );
|
|
177
|
+
|
|
178
|
+
if ( this.options.icon && this.type === "checkbox" ) {
|
|
179
|
+
this._toggleClass( this.icon, null, "ui-icon-check ui-state-checked", checked )
|
|
180
|
+
._toggleClass( this.icon, null, "ui-icon-blank", !checked );
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
if ( this.type === "radio" ) {
|
|
184
|
+
this._getRadioGroup()
|
|
185
|
+
.each( function() {
|
|
186
|
+
var instance = $( this ).checkboxradio( "instance" );
|
|
187
|
+
|
|
188
|
+
if ( instance ) {
|
|
189
|
+
instance._removeClass( instance.label,
|
|
190
|
+
"ui-checkboxradio-checked", "ui-state-active" );
|
|
191
|
+
}
|
|
192
|
+
} );
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
|
|
196
|
+
_destroy: function() {
|
|
197
|
+
this._unbindFormResetHandler();
|
|
198
|
+
|
|
199
|
+
if ( this.icon ) {
|
|
200
|
+
this.icon.remove();
|
|
201
|
+
this.iconSpace.remove();
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
|
|
205
|
+
_setOption: function( key, value ) {
|
|
206
|
+
|
|
207
|
+
// We don't allow the value to be set to nothing
|
|
208
|
+
if ( key === "label" && !value ) {
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
this._super( key, value );
|
|
213
|
+
|
|
214
|
+
if ( key === "disabled" ) {
|
|
215
|
+
this._toggleClass( this.label, null, "ui-state-disabled", value );
|
|
216
|
+
this.element[ 0 ].disabled = value;
|
|
217
|
+
|
|
218
|
+
// Don't refresh when setting disabled
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
this.refresh();
|
|
222
|
+
},
|
|
223
|
+
|
|
224
|
+
_updateIcon: function( checked ) {
|
|
225
|
+
var toAdd = "ui-icon ui-icon-background ";
|
|
226
|
+
|
|
227
|
+
if ( this.options.icon ) {
|
|
228
|
+
if ( !this.icon ) {
|
|
229
|
+
this.icon = $( "<span>" );
|
|
230
|
+
this.iconSpace = $( "<span> </span>" );
|
|
231
|
+
this._addClass( this.iconSpace, "ui-checkboxradio-icon-space" );
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
if ( this.type === "checkbox" ) {
|
|
235
|
+
toAdd += checked ? "ui-icon-check ui-state-checked" : "ui-icon-blank";
|
|
236
|
+
this._removeClass( this.icon, null, checked ? "ui-icon-blank" : "ui-icon-check" );
|
|
237
|
+
} else {
|
|
238
|
+
toAdd += "ui-icon-blank";
|
|
239
|
+
}
|
|
240
|
+
this._addClass( this.icon, "ui-checkboxradio-icon", toAdd );
|
|
241
|
+
if ( !checked ) {
|
|
242
|
+
this._removeClass( this.icon, null, "ui-icon-check ui-state-checked" );
|
|
243
|
+
}
|
|
244
|
+
this.icon.prependTo( this.label ).after( this.iconSpace );
|
|
245
|
+
} else if ( this.icon !== undefined ) {
|
|
246
|
+
this.icon.remove();
|
|
247
|
+
this.iconSpace.remove();
|
|
248
|
+
delete this.icon;
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
|
|
252
|
+
_updateLabel: function() {
|
|
253
|
+
|
|
254
|
+
// Remove the contents of the label ( minus the icon, icon space, and input )
|
|
255
|
+
var contents = this.label.contents().not( this.element[ 0 ] );
|
|
256
|
+
if ( this.icon ) {
|
|
257
|
+
contents = contents.not( this.icon[ 0 ] );
|
|
258
|
+
}
|
|
259
|
+
if ( this.iconSpace ) {
|
|
260
|
+
contents = contents.not( this.iconSpace[ 0 ] );
|
|
261
|
+
}
|
|
262
|
+
contents.remove();
|
|
263
|
+
|
|
264
|
+
this.label.append( this.options.label );
|
|
265
|
+
},
|
|
266
|
+
|
|
267
|
+
refresh: function() {
|
|
268
|
+
var checked = this.element[ 0 ].checked,
|
|
269
|
+
isDisabled = this.element[ 0 ].disabled;
|
|
270
|
+
|
|
271
|
+
this._updateIcon( checked );
|
|
272
|
+
this._toggleClass( this.label, "ui-checkboxradio-checked", "ui-state-active", checked );
|
|
273
|
+
if ( this.options.label !== null ) {
|
|
274
|
+
this._updateLabel();
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
if ( isDisabled !== this.options.disabled ) {
|
|
278
|
+
this._setOptions( { "disabled": isDisabled } );
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
} ] );
|
|
283
|
+
|
|
284
|
+
return $.ui.checkboxradio;
|
|
285
|
+
|
|
286
|
+
} ) );
|