ext_sprockets 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (505) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +114 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +21 -0
  5. data/Gemfile.lock +77 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +3 -0
  8. data/bin/yarn +12 -0
  9. data/ext_sprockets.gemspec +22 -0
  10. data/lib/ext_sprockets.rb +5 -0
  11. data/lib/ext_sprockets/engine.rb +11 -0
  12. data/lib/ext_sprockets/version.rb +3 -0
  13. data/node_modules/.yarn-integrity +60 -0
  14. data/node_modules/bootswatch/cerulean/_bootswatch.scss +131 -0
  15. data/node_modules/bootswatch/cerulean/_variables.scss +870 -0
  16. data/node_modules/bootswatch/cosmo/_bootswatch.scss +262 -0
  17. data/node_modules/bootswatch/cosmo/_variables.scss +870 -0
  18. data/node_modules/bootswatch/cyborg/_bootswatch.scss +243 -0
  19. data/node_modules/bootswatch/cyborg/_variables.scss +870 -0
  20. data/node_modules/bootswatch/darkly/_bootswatch.scss +351 -0
  21. data/node_modules/bootswatch/darkly/_variables.scss +870 -0
  22. data/node_modules/bootswatch/flatly/_bootswatch.scss +330 -0
  23. data/node_modules/bootswatch/flatly/_variables.scss +870 -0
  24. data/node_modules/bootswatch/journal/_bootswatch.scss +145 -0
  25. data/node_modules/bootswatch/journal/_variables.scss +870 -0
  26. data/node_modules/bootswatch/lumen/_bootswatch.scss +523 -0
  27. data/node_modules/bootswatch/lumen/_variables.scss +870 -0
  28. data/node_modules/bootswatch/package.json +26 -0
  29. data/node_modules/bootswatch/paper/_bootswatch.scss +620 -0
  30. data/node_modules/bootswatch/paper/_variables.scss +870 -0
  31. data/node_modules/bootswatch/readable/_bootswatch.scss +183 -0
  32. data/node_modules/bootswatch/readable/_variables.scss +870 -0
  33. data/node_modules/bootswatch/sandstone/_bootswatch.scss +196 -0
  34. data/node_modules/bootswatch/sandstone/_variables.scss +870 -0
  35. data/node_modules/bootswatch/simplex/_bootswatch.scss +170 -0
  36. data/node_modules/bootswatch/simplex/_variables.scss +870 -0
  37. data/node_modules/bootswatch/slate/_bootswatch.scss +448 -0
  38. data/node_modules/bootswatch/slate/_variables.scss +870 -0
  39. data/node_modules/bootswatch/spacelab/_bootswatch.scss +142 -0
  40. data/node_modules/bootswatch/spacelab/_variables.scss +870 -0
  41. data/node_modules/bootswatch/superhero/_bootswatch.scss +360 -0
  42. data/node_modules/bootswatch/superhero/_variables.scss +870 -0
  43. data/node_modules/bootswatch/united/_bootswatch.scss +56 -0
  44. data/node_modules/bootswatch/united/_variables.scss +870 -0
  45. data/node_modules/bootswatch/yeti/_bootswatch.scss +445 -0
  46. data/node_modules/bootswatch/yeti/_variables.scss +870 -0
  47. data/node_modules/chart.js/dist/Chart.bundle.js +18608 -0
  48. data/node_modules/chart.js/dist/Chart.js +14145 -0
  49. data/node_modules/chart.js/package.json +54 -0
  50. data/node_modules/chartkick/chartkick.js +1866 -0
  51. data/node_modules/chartkick/package.json +25 -0
  52. data/node_modules/eonasdan-bootstrap-datetimepicker/package.json +51 -0
  53. data/node_modules/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2636 -0
  54. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +344 -0
  55. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
  56. data/node_modules/file-saver/FileSaver.js +188 -0
  57. data/node_modules/file-saver/package.json +28 -0
  58. data/node_modules/jquery-pjax/jquery.pjax.js +903 -0
  59. data/node_modules/jquery-pjax/package.json +18 -0
  60. data/node_modules/jquery-ui/package.json +74 -0
  61. data/node_modules/jquery-ui/themes/base/accordion.css +23 -0
  62. data/node_modules/jquery-ui/themes/base/all.css +12 -0
  63. data/node_modules/jquery-ui/themes/base/autocomplete.css +16 -0
  64. data/node_modules/jquery-ui/themes/base/base.css +30 -0
  65. data/node_modules/jquery-ui/themes/base/button.css +82 -0
  66. data/node_modules/jquery-ui/themes/base/checkboxradio.css +34 -0
  67. data/node_modules/jquery-ui/themes/base/controlgroup.css +65 -0
  68. data/node_modules/jquery-ui/themes/base/core.css +97 -0
  69. data/node_modules/jquery-ui/themes/base/datepicker.css +185 -0
  70. data/node_modules/jquery-ui/themes/base/dialog.css +101 -0
  71. data/node_modules/jquery-ui/themes/base/draggable.css +12 -0
  72. data/node_modules/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  73. data/node_modules/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  74. data/node_modules/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  75. data/node_modules/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  76. data/node_modules/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  77. data/node_modules/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  78. data/node_modules/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  79. data/node_modules/jquery-ui/themes/base/menu.css +64 -0
  80. data/node_modules/jquery-ui/themes/base/progressbar.css +28 -0
  81. data/node_modules/jquery-ui/themes/base/resizable.css +78 -0
  82. data/node_modules/jquery-ui/themes/base/selectable.css +17 -0
  83. data/node_modules/jquery-ui/themes/base/selectmenu.css +50 -0
  84. data/node_modules/jquery-ui/themes/base/slider.css +75 -0
  85. data/node_modules/jquery-ui/themes/base/sortable.css +12 -0
  86. data/node_modules/jquery-ui/themes/base/spinner.css +52 -0
  87. data/node_modules/jquery-ui/themes/base/tabs.css +51 -0
  88. data/node_modules/jquery-ui/themes/base/theme.css +443 -0
  89. data/node_modules/jquery-ui/themes/base/tooltip.css +19 -0
  90. data/node_modules/jquery-ui/ui/core.js +21 -0
  91. data/node_modules/jquery-ui/ui/data.js +39 -0
  92. data/node_modules/jquery-ui/ui/disable-selection.js +46 -0
  93. data/node_modules/jquery-ui/ui/effect.js +1635 -0
  94. data/node_modules/jquery-ui/ui/effects/effect-blind.js +70 -0
  95. data/node_modules/jquery-ui/ui/effects/effect-bounce.js +110 -0
  96. data/node_modules/jquery-ui/ui/effects/effect-clip.js +65 -0
  97. data/node_modules/jquery-ui/ui/effects/effect-drop.js +69 -0
  98. data/node_modules/jquery-ui/ui/effects/effect-explode.js +111 -0
  99. data/node_modules/jquery-ui/ui/effects/effect-fade.js +47 -0
  100. data/node_modules/jquery-ui/ui/effects/effect-fold.js +89 -0
  101. data/node_modules/jquery-ui/ui/effects/effect-highlight.js +57 -0
  102. data/node_modules/jquery-ui/ui/effects/effect-puff.js +42 -0
  103. data/node_modules/jquery-ui/ui/effects/effect-pulsate.js +64 -0
  104. data/node_modules/jquery-ui/ui/effects/effect-scale.js +56 -0
  105. data/node_modules/jquery-ui/ui/effects/effect-shake.js +74 -0
  106. data/node_modules/jquery-ui/ui/effects/effect-size.js +191 -0
  107. data/node_modules/jquery-ui/ui/effects/effect-slide.js +76 -0
  108. data/node_modules/jquery-ui/ui/effects/effect-transfer.js +40 -0
  109. data/node_modules/jquery-ui/ui/escape-selector.js +21 -0
  110. data/node_modules/jquery-ui/ui/focusable.js +84 -0
  111. data/node_modules/jquery-ui/ui/form-reset-mixin.js +77 -0
  112. data/node_modules/jquery-ui/ui/form.js +20 -0
  113. data/node_modules/jquery-ui/ui/i18n/datepicker-af.js +37 -0
  114. data/node_modules/jquery-ui/ui/i18n/datepicker-ar-DZ.js +39 -0
  115. data/node_modules/jquery-ui/ui/i18n/datepicker-ar.js +39 -0
  116. data/node_modules/jquery-ui/ui/i18n/datepicker-az.js +37 -0
  117. data/node_modules/jquery-ui/ui/i18n/datepicker-be.js +37 -0
  118. data/node_modules/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
  119. data/node_modules/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
  120. data/node_modules/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
  121. data/node_modules/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
  122. data/node_modules/jquery-ui/ui/i18n/datepicker-cy-GB.js +45 -0
  123. data/node_modules/jquery-ui/ui/i18n/datepicker-da.js +37 -0
  124. data/node_modules/jquery-ui/ui/i18n/datepicker-de.js +37 -0
  125. data/node_modules/jquery-ui/ui/i18n/datepicker-el.js +37 -0
  126. data/node_modules/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
  127. data/node_modules/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
  128. data/node_modules/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
  129. data/node_modules/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
  130. data/node_modules/jquery-ui/ui/i18n/datepicker-es.js +37 -0
  131. data/node_modules/jquery-ui/ui/i18n/datepicker-et.js +45 -0
  132. data/node_modules/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
  133. data/node_modules/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
  134. data/node_modules/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
  135. data/node_modules/jquery-ui/ui/i18n/datepicker-fo.js +45 -0
  136. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
  137. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
  138. data/node_modules/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
  139. data/node_modules/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
  140. data/node_modules/jquery-ui/ui/i18n/datepicker-he.js +37 -0
  141. data/node_modules/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
  142. data/node_modules/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
  143. data/node_modules/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
  144. data/node_modules/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
  145. data/node_modules/jquery-ui/ui/i18n/datepicker-id.js +37 -0
  146. data/node_modules/jquery-ui/ui/i18n/datepicker-is.js +45 -0
  147. data/node_modules/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
  148. data/node_modules/jquery-ui/ui/i18n/datepicker-it.js +37 -0
  149. data/node_modules/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
  150. data/node_modules/jquery-ui/ui/i18n/datepicker-ka.js +48 -0
  151. data/node_modules/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
  152. data/node_modules/jquery-ui/ui/i18n/datepicker-km.js +37 -0
  153. data/node_modules/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
  154. data/node_modules/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
  155. data/node_modules/jquery-ui/ui/i18n/datepicker-lb.js +45 -0
  156. data/node_modules/jquery-ui/ui/i18n/datepicker-lt.js +45 -0
  157. data/node_modules/jquery-ui/ui/i18n/datepicker-lv.js +45 -0
  158. data/node_modules/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
  159. data/node_modules/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
  160. data/node_modules/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
  161. data/node_modules/jquery-ui/ui/i18n/datepicker-nb.js +49 -0
  162. data/node_modules/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
  163. data/node_modules/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
  164. data/node_modules/jquery-ui/ui/i18n/datepicker-nn.js +49 -0
  165. data/node_modules/jquery-ui/ui/i18n/datepicker-no.js +50 -0
  166. data/node_modules/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
  167. data/node_modules/jquery-ui/ui/i18n/datepicker-pt-BR.js +45 -0
  168. data/node_modules/jquery-ui/ui/i18n/datepicker-pt.js +44 -0
  169. data/node_modules/jquery-ui/ui/i18n/datepicker-rm.js +61 -0
  170. data/node_modules/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
  171. data/node_modules/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
  172. data/node_modules/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
  173. data/node_modules/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
  174. data/node_modules/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
  175. data/node_modules/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
  176. data/node_modules/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
  177. data/node_modules/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
  178. data/node_modules/jquery-ui/ui/i18n/datepicker-ta.js +53 -0
  179. data/node_modules/jquery-ui/ui/i18n/datepicker-th.js +37 -0
  180. data/node_modules/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
  181. data/node_modules/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
  182. data/node_modules/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
  183. data/node_modules/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
  184. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
  185. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
  186. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
  187. data/node_modules/jquery-ui/ui/ie.js +15 -0
  188. data/node_modules/jquery-ui/ui/jquery-1-7.js +89 -0
  189. data/node_modules/jquery-ui/ui/keycode.js +45 -0
  190. data/node_modules/jquery-ui/ui/labels.js +62 -0
  191. data/node_modules/jquery-ui/ui/plugin.js +44 -0
  192. data/node_modules/jquery-ui/ui/position.js +498 -0
  193. data/node_modules/jquery-ui/ui/safe-active-element.js +40 -0
  194. data/node_modules/jquery-ui/ui/safe-blur.js +21 -0
  195. data/node_modules/jquery-ui/ui/scroll-parent.js +45 -0
  196. data/node_modules/jquery-ui/ui/tabbable.js +35 -0
  197. data/node_modules/jquery-ui/ui/unique-id.js +49 -0
  198. data/node_modules/jquery-ui/ui/version.js +17 -0
  199. data/node_modules/jquery-ui/ui/widget.js +733 -0
  200. data/node_modules/jquery-ui/ui/widgets/accordion.js +613 -0
  201. data/node_modules/jquery-ui/ui/widgets/autocomplete.js +682 -0
  202. data/node_modules/jquery-ui/ui/widgets/button.js +386 -0
  203. data/node_modules/jquery-ui/ui/widgets/checkboxradio.js +286 -0
  204. data/node_modules/jquery-ui/ui/widgets/controlgroup.js +298 -0
  205. data/node_modules/jquery-ui/ui/widgets/datepicker.js +2120 -0
  206. data/node_modules/jquery-ui/ui/widgets/dialog.js +940 -0
  207. data/node_modules/jquery-ui/ui/widgets/draggable.js +1250 -0
  208. data/node_modules/jquery-ui/ui/widgets/droppable.js +497 -0
  209. data/node_modules/jquery-ui/ui/widgets/menu.js +673 -0
  210. data/node_modules/jquery-ui/ui/widgets/mouse.js +226 -0
  211. data/node_modules/jquery-ui/ui/widgets/progressbar.js +178 -0
  212. data/node_modules/jquery-ui/ui/widgets/resizable.js +1201 -0
  213. data/node_modules/jquery-ui/ui/widgets/selectable.js +310 -0
  214. data/node_modules/jquery-ui/ui/widgets/selectmenu.js +687 -0
  215. data/node_modules/jquery-ui/ui/widgets/slider.js +752 -0
  216. data/node_modules/jquery-ui/ui/widgets/sortable.js +1554 -0
  217. data/node_modules/jquery-ui/ui/widgets/spinner.js +575 -0
  218. data/node_modules/jquery-ui/ui/widgets/tabs.js +924 -0
  219. data/node_modules/jquery-ui/ui/widgets/tooltip.js +520 -0
  220. data/node_modules/jquery-ujs/package.json +26 -0
  221. data/node_modules/jquery-ujs/src/rails.js +555 -0
  222. data/node_modules/jquery/dist/jquery.js +10253 -0
  223. data/node_modules/jquery/dist/jquery.slim.js +8160 -0
  224. data/node_modules/jquery/package.json +97 -0
  225. data/node_modules/js-cookie/package.json +49 -0
  226. data/node_modules/js-cookie/src/js.cookie.js +165 -0
  227. data/node_modules/jstz/dist/jstz.js +1428 -0
  228. data/node_modules/jstz/package.json +57 -0
  229. data/node_modules/lodash/core.js +3836 -0
  230. data/node_modules/lodash/lodash.js +17084 -0
  231. data/node_modules/lodash/package.json +17 -0
  232. data/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +1204 -0
  233. data/node_modules/moment-timezone/builds/moment-timezone-with-data.js +1204 -0
  234. data/node_modules/moment-timezone/moment-timezone-utils.js +316 -0
  235. data/node_modules/moment-timezone/moment-timezone.js +605 -0
  236. data/node_modules/moment-timezone/package.json +50 -0
  237. data/node_modules/moment/locale/af.js +74 -0
  238. data/node_modules/moment/locale/ar-dz.js +60 -0
  239. data/node_modules/moment/locale/ar-kw.js +60 -0
  240. data/node_modules/moment/locale/ar-ly.js +127 -0
  241. data/node_modules/moment/locale/ar-ma.js +61 -0
  242. data/node_modules/moment/locale/ar-sa.js +106 -0
  243. data/node_modules/moment/locale/ar-tn.js +60 -0
  244. data/node_modules/moment/locale/ar.js +143 -0
  245. data/node_modules/moment/locale/az.js +106 -0
  246. data/node_modules/moment/locale/be.js +135 -0
  247. data/node_modules/moment/locale/bg.js +91 -0
  248. data/node_modules/moment/locale/bm.js +60 -0
  249. data/node_modules/moment/locale/bn.js +120 -0
  250. data/node_modules/moment/locale/bo.js +120 -0
  251. data/node_modules/moment/locale/br.js +109 -0
  252. data/node_modules/moment/locale/bs.js +153 -0
  253. data/node_modules/moment/locale/ca.js +89 -0
  254. data/node_modules/moment/locale/cs.js +180 -0
  255. data/node_modules/moment/locale/cv.js +64 -0
  256. data/node_modules/moment/locale/cy.js +82 -0
  257. data/node_modules/moment/locale/da.js +61 -0
  258. data/node_modules/moment/locale/de-at.js +80 -0
  259. data/node_modules/moment/locale/de-ch.js +79 -0
  260. data/node_modules/moment/locale/de.js +79 -0
  261. data/node_modules/moment/locale/dv.js +101 -0
  262. data/node_modules/moment/locale/el.js +101 -0
  263. data/node_modules/moment/locale/en-au.js +68 -0
  264. data/node_modules/moment/locale/en-ca.js +64 -0
  265. data/node_modules/moment/locale/en-gb.js +68 -0
  266. data/node_modules/moment/locale/en-ie.js +68 -0
  267. data/node_modules/moment/locale/en-nz.js +68 -0
  268. data/node_modules/moment/locale/eo.js +74 -0
  269. data/node_modules/moment/locale/es-do.js +92 -0
  270. data/node_modules/moment/locale/es-us.js +84 -0
  271. data/node_modules/moment/locale/es.js +93 -0
  272. data/node_modules/moment/locale/et.js +82 -0
  273. data/node_modules/moment/locale/eu.js +67 -0
  274. data/node_modules/moment/locale/fa.js +108 -0
  275. data/node_modules/moment/locale/fi.js +110 -0
  276. data/node_modules/moment/locale/fo.js +61 -0
  277. data/node_modules/moment/locale/fr-ca.js +75 -0
  278. data/node_modules/moment/locale/fr-ch.js +79 -0
  279. data/node_modules/moment/locale/fr.js +84 -0
  280. data/node_modules/moment/locale/fy.js +76 -0
  281. data/node_modules/moment/locale/gd.js +77 -0
  282. data/node_modules/moment/locale/gl.js +78 -0
  283. data/node_modules/moment/locale/gom-latn.js +124 -0
  284. data/node_modules/moment/locale/gu.js +125 -0
  285. data/node_modules/moment/locale/he.js +100 -0
  286. data/node_modules/moment/locale/hi.js +125 -0
  287. data/node_modules/moment/locale/hr.js +155 -0
  288. data/node_modules/moment/locale/hu.js +111 -0
  289. data/node_modules/moment/locale/hy-am.js +96 -0
  290. data/node_modules/moment/locale/id.js +84 -0
  291. data/node_modules/moment/locale/is.js +133 -0
  292. data/node_modules/moment/locale/it.js +71 -0
  293. data/node_modules/moment/locale/ja.js +81 -0
  294. data/node_modules/moment/locale/jv.js +84 -0
  295. data/node_modules/moment/locale/ka.js +90 -0
  296. data/node_modules/moment/locale/kk.js +88 -0
  297. data/node_modules/moment/locale/km.js +59 -0
  298. data/node_modules/moment/locale/kn.js +127 -0
  299. data/node_modules/moment/locale/ko.js +83 -0
  300. data/node_modules/moment/locale/ky.js +89 -0
  301. data/node_modules/moment/locale/lb.js +138 -0
  302. data/node_modules/moment/locale/lo.js +71 -0
  303. data/node_modules/moment/locale/lt.js +119 -0
  304. data/node_modules/moment/locale/lv.js +99 -0
  305. data/node_modules/moment/locale/me.js +113 -0
  306. data/node_modules/moment/locale/mi.js +65 -0
  307. data/node_modules/moment/locale/mk.js +91 -0
  308. data/node_modules/moment/locale/ml.js +82 -0
  309. data/node_modules/moment/locale/mr.js +162 -0
  310. data/node_modules/moment/locale/ms-my.js +84 -0
  311. data/node_modules/moment/locale/ms.js +83 -0
  312. data/node_modules/moment/locale/mt.js +61 -0
  313. data/node_modules/moment/locale/my.js +97 -0
  314. data/node_modules/moment/locale/nb.js +64 -0
  315. data/node_modules/moment/locale/ne.js +124 -0
  316. data/node_modules/moment/locale/nl-be.js +89 -0
  317. data/node_modules/moment/locale/nl.js +89 -0
  318. data/node_modules/moment/locale/nn.js +61 -0
  319. data/node_modules/moment/locale/pa-in.js +125 -0
  320. data/node_modules/moment/locale/pl.js +127 -0
  321. data/node_modules/moment/locale/pt-br.js +62 -0
  322. data/node_modules/moment/locale/pt.js +66 -0
  323. data/node_modules/moment/locale/ro.js +77 -0
  324. data/node_modules/moment/locale/ru.js +185 -0
  325. data/node_modules/moment/locale/sd.js +99 -0
  326. data/node_modules/moment/locale/se.js +62 -0
  327. data/node_modules/moment/locale/si.js +72 -0
  328. data/node_modules/moment/locale/sk.js +158 -0
  329. data/node_modules/moment/locale/sl.js +174 -0
  330. data/node_modules/moment/locale/sq.js +71 -0
  331. data/node_modules/moment/locale/sr-cyrl.js +112 -0
  332. data/node_modules/moment/locale/sr.js +112 -0
  333. data/node_modules/moment/locale/ss.js +90 -0
  334. data/node_modules/moment/locale/sv.js +70 -0
  335. data/node_modules/moment/locale/sw.js +60 -0
  336. data/node_modules/moment/locale/ta.js +131 -0
  337. data/node_modules/moment/locale/te.js +90 -0
  338. data/node_modules/moment/locale/tet.js +69 -0
  339. data/node_modules/moment/locale/th.js +68 -0
  340. data/node_modules/moment/locale/tl-ph.js +63 -0
  341. data/node_modules/moment/locale/tlh.js +123 -0
  342. data/node_modules/moment/locale/tr.js +91 -0
  343. data/node_modules/moment/locale/tzl.js +93 -0
  344. data/node_modules/moment/locale/tzm-latn.js +59 -0
  345. data/node_modules/moment/locale/tzm.js +59 -0
  346. data/node_modules/moment/locale/uk.js +153 -0
  347. data/node_modules/moment/locale/ur.js +100 -0
  348. data/node_modules/moment/locale/uz-latn.js +59 -0
  349. data/node_modules/moment/locale/uz.js +59 -0
  350. data/node_modules/moment/locale/vi.js +80 -0
  351. data/node_modules/moment/locale/x-pseudo.js +69 -0
  352. data/node_modules/moment/locale/yo.js +61 -0
  353. data/node_modules/moment/locale/zh-cn.js +112 -0
  354. data/node_modules/moment/locale/zh-hk.js +106 -0
  355. data/node_modules/moment/locale/zh-tw.js +105 -0
  356. data/node_modules/moment/min/locales.js +9769 -0
  357. data/node_modules/moment/min/moment-with-locales.js +14289 -0
  358. data/node_modules/moment/moment.js +4535 -0
  359. data/node_modules/moment/package.json +99 -0
  360. data/node_modules/nprogress/nprogress.css +74 -0
  361. data/node_modules/nprogress/nprogress.js +480 -0
  362. data/node_modules/nprogress/package.json +47 -0
  363. data/node_modules/nprogress/support/extras.css +4 -0
  364. data/node_modules/roboto-fontface/css/mixins.scss +36 -0
  365. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold-italic.scss +3 -0
  366. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold.scss +3 -0
  367. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light-italic.scss +3 -0
  368. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light.scss +3 -0
  369. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular-italic.scss +3 -0
  370. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular.scss +3 -0
  371. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface.scss +6 -0
  372. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-bold.scss +3 -0
  373. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-light.scss +3 -0
  374. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-regular.scss +3 -0
  375. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-thin.scss +3 -0
  376. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface.scss +4 -0
  377. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black-italic.scss +3 -0
  378. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black.scss +3 -0
  379. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold-italic.scss +3 -0
  380. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold.scss +3 -0
  381. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light-italic.scss +3 -0
  382. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light.scss +3 -0
  383. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium-italic.scss +3 -0
  384. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium.scss +3 -0
  385. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular-italic.scss +3 -0
  386. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular.scss +3 -0
  387. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin-italic.scss +3 -0
  388. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin.scss +3 -0
  389. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface.scss +12 -0
  390. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.eot +0 -0
  391. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.svg +643 -0
  392. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.ttf +0 -0
  393. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff +0 -0
  394. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff2 +0 -0
  395. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.eot +0 -0
  396. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.svg +643 -0
  397. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.ttf +0 -0
  398. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff +0 -0
  399. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff2 +0 -0
  400. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.eot +0 -0
  401. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.svg +643 -0
  402. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.ttf +0 -0
  403. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff +0 -0
  404. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff2 +0 -0
  405. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.eot +0 -0
  406. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.svg +643 -0
  407. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.ttf +0 -0
  408. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff +0 -0
  409. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff2 +0 -0
  410. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.eot +0 -0
  411. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.svg +644 -0
  412. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.ttf +0 -0
  413. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff +0 -0
  414. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2 +0 -0
  415. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.eot +0 -0
  416. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.svg +644 -0
  417. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.ttf +0 -0
  418. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff +0 -0
  419. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff2 +0 -0
  420. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.eot +0 -0
  421. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.svg +679 -0
  422. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.ttf +0 -0
  423. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff +0 -0
  424. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff2 +0 -0
  425. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.eot +0 -0
  426. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.svg +678 -0
  427. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.ttf +0 -0
  428. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff +0 -0
  429. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff2 +0 -0
  430. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.eot +0 -0
  431. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.svg +678 -0
  432. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.ttf +0 -0
  433. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff +0 -0
  434. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff2 +0 -0
  435. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.eot +0 -0
  436. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.svg +678 -0
  437. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.ttf +0 -0
  438. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff +0 -0
  439. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff2 +0 -0
  440. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.eot +0 -0
  441. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.svg +10968 -0
  442. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.ttf +0 -0
  443. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff +0 -0
  444. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff2 +0 -0
  445. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.eot +0 -0
  446. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.svg +11086 -0
  447. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
  448. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff +0 -0
  449. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff2 +0 -0
  450. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.eot +0 -0
  451. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.svg +11010 -0
  452. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.ttf +0 -0
  453. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff +0 -0
  454. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff2 +0 -0
  455. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.eot +0 -0
  456. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.svg +11096 -0
  457. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
  458. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff +0 -0
  459. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff2 +0 -0
  460. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.eot +0 -0
  461. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.svg +10564 -0
  462. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.ttf +0 -0
  463. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff +0 -0
  464. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff2 +0 -0
  465. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.eot +0 -0
  466. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.svg +10646 -0
  467. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.ttf +0 -0
  468. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff +0 -0
  469. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff2 +0 -0
  470. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.eot +0 -0
  471. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.svg +10999 -0
  472. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.ttf +0 -0
  473. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff +0 -0
  474. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff2 +0 -0
  475. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.eot +0 -0
  476. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.svg +11100 -0
  477. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
  478. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff +0 -0
  479. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff2 +0 -0
  480. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.eot +0 -0
  481. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.svg +10520 -0
  482. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.ttf +0 -0
  483. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff +0 -0
  484. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff2 +0 -0
  485. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.eot +0 -0
  486. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.svg +10629 -0
  487. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.ttf +0 -0
  488. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff +0 -0
  489. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff2 +0 -0
  490. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.eot +0 -0
  491. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.svg +10617 -0
  492. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.ttf +0 -0
  493. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff +0 -0
  494. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff2 +0 -0
  495. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.eot +0 -0
  496. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.svg +10726 -0
  497. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
  498. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff +0 -0
  499. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff2 +0 -0
  500. data/node_modules/roboto-fontface/package.json +28 -0
  501. data/node_modules/signature_pad/dist/signature_pad.js +610 -0
  502. data/node_modules/signature_pad/package.json +41 -0
  503. data/package.json +23 -0
  504. data/yarn.lock +118 -0
  505. metadata +575 -0
@@ -0,0 +1,497 @@
1
+ /*!
2
+ * jQuery UI Droppable 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: Droppable
11
+ //>>group: Interactions
12
+ //>>description: Enables drop targets for draggable elements.
13
+ //>>docs: http://api.jqueryui.com/droppable/
14
+ //>>demos: http://jqueryui.com/droppable/
15
+
16
+ ( function( factory ) {
17
+ if ( typeof define === "function" && define.amd ) {
18
+
19
+ // AMD. Register as an anonymous module.
20
+ define( [
21
+ "jquery",
22
+ "./draggable",
23
+ "./mouse",
24
+ "../version",
25
+ "../widget"
26
+ ], factory );
27
+ } else {
28
+
29
+ // Browser globals
30
+ factory( jQuery );
31
+ }
32
+ }( function( $ ) {
33
+
34
+ $.widget( "ui.droppable", {
35
+ version: "1.12.1",
36
+ widgetEventPrefix: "drop",
37
+ options: {
38
+ accept: "*",
39
+ addClasses: true,
40
+ greedy: false,
41
+ scope: "default",
42
+ tolerance: "intersect",
43
+
44
+ // Callbacks
45
+ activate: null,
46
+ deactivate: null,
47
+ drop: null,
48
+ out: null,
49
+ over: null
50
+ },
51
+ _create: function() {
52
+
53
+ var proportions,
54
+ o = this.options,
55
+ accept = o.accept;
56
+
57
+ this.isover = false;
58
+ this.isout = true;
59
+
60
+ this.accept = $.isFunction( accept ) ? accept : function( d ) {
61
+ return d.is( accept );
62
+ };
63
+
64
+ this.proportions = function( /* valueToWrite */ ) {
65
+ if ( arguments.length ) {
66
+
67
+ // Store the droppable's proportions
68
+ proportions = arguments[ 0 ];
69
+ } else {
70
+
71
+ // Retrieve or derive the droppable's proportions
72
+ return proportions ?
73
+ proportions :
74
+ proportions = {
75
+ width: this.element[ 0 ].offsetWidth,
76
+ height: this.element[ 0 ].offsetHeight
77
+ };
78
+ }
79
+ };
80
+
81
+ this._addToManager( o.scope );
82
+
83
+ o.addClasses && this._addClass( "ui-droppable" );
84
+
85
+ },
86
+
87
+ _addToManager: function( scope ) {
88
+
89
+ // Add the reference and positions to the manager
90
+ $.ui.ddmanager.droppables[ scope ] = $.ui.ddmanager.droppables[ scope ] || [];
91
+ $.ui.ddmanager.droppables[ scope ].push( this );
92
+ },
93
+
94
+ _splice: function( drop ) {
95
+ var i = 0;
96
+ for ( ; i < drop.length; i++ ) {
97
+ if ( drop[ i ] === this ) {
98
+ drop.splice( i, 1 );
99
+ }
100
+ }
101
+ },
102
+
103
+ _destroy: function() {
104
+ var drop = $.ui.ddmanager.droppables[ this.options.scope ];
105
+
106
+ this._splice( drop );
107
+ },
108
+
109
+ _setOption: function( key, value ) {
110
+
111
+ if ( key === "accept" ) {
112
+ this.accept = $.isFunction( value ) ? value : function( d ) {
113
+ return d.is( value );
114
+ };
115
+ } else if ( key === "scope" ) {
116
+ var drop = $.ui.ddmanager.droppables[ this.options.scope ];
117
+
118
+ this._splice( drop );
119
+ this._addToManager( value );
120
+ }
121
+
122
+ this._super( key, value );
123
+ },
124
+
125
+ _activate: function( event ) {
126
+ var draggable = $.ui.ddmanager.current;
127
+
128
+ this._addActiveClass();
129
+ if ( draggable ) {
130
+ this._trigger( "activate", event, this.ui( draggable ) );
131
+ }
132
+ },
133
+
134
+ _deactivate: function( event ) {
135
+ var draggable = $.ui.ddmanager.current;
136
+
137
+ this._removeActiveClass();
138
+ if ( draggable ) {
139
+ this._trigger( "deactivate", event, this.ui( draggable ) );
140
+ }
141
+ },
142
+
143
+ _over: function( event ) {
144
+
145
+ var draggable = $.ui.ddmanager.current;
146
+
147
+ // Bail if draggable and droppable are same element
148
+ if ( !draggable || ( draggable.currentItem ||
149
+ draggable.element )[ 0 ] === this.element[ 0 ] ) {
150
+ return;
151
+ }
152
+
153
+ if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem ||
154
+ draggable.element ) ) ) {
155
+ this._addHoverClass();
156
+ this._trigger( "over", event, this.ui( draggable ) );
157
+ }
158
+
159
+ },
160
+
161
+ _out: function( event ) {
162
+
163
+ var draggable = $.ui.ddmanager.current;
164
+
165
+ // Bail if draggable and droppable are same element
166
+ if ( !draggable || ( draggable.currentItem ||
167
+ draggable.element )[ 0 ] === this.element[ 0 ] ) {
168
+ return;
169
+ }
170
+
171
+ if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem ||
172
+ draggable.element ) ) ) {
173
+ this._removeHoverClass();
174
+ this._trigger( "out", event, this.ui( draggable ) );
175
+ }
176
+
177
+ },
178
+
179
+ _drop: function( event, custom ) {
180
+
181
+ var draggable = custom || $.ui.ddmanager.current,
182
+ childrenIntersection = false;
183
+
184
+ // Bail if draggable and droppable are same element
185
+ if ( !draggable || ( draggable.currentItem ||
186
+ draggable.element )[ 0 ] === this.element[ 0 ] ) {
187
+ return false;
188
+ }
189
+
190
+ this.element
191
+ .find( ":data(ui-droppable)" )
192
+ .not( ".ui-draggable-dragging" )
193
+ .each( function() {
194
+ var inst = $( this ).droppable( "instance" );
195
+ if (
196
+ inst.options.greedy &&
197
+ !inst.options.disabled &&
198
+ inst.options.scope === draggable.options.scope &&
199
+ inst.accept.call(
200
+ inst.element[ 0 ], ( draggable.currentItem || draggable.element )
201
+ ) &&
202
+ intersect(
203
+ draggable,
204
+ $.extend( inst, { offset: inst.element.offset() } ),
205
+ inst.options.tolerance, event
206
+ )
207
+ ) {
208
+ childrenIntersection = true;
209
+ return false; }
210
+ } );
211
+ if ( childrenIntersection ) {
212
+ return false;
213
+ }
214
+
215
+ if ( this.accept.call( this.element[ 0 ],
216
+ ( draggable.currentItem || draggable.element ) ) ) {
217
+ this._removeActiveClass();
218
+ this._removeHoverClass();
219
+
220
+ this._trigger( "drop", event, this.ui( draggable ) );
221
+ return this.element;
222
+ }
223
+
224
+ return false;
225
+
226
+ },
227
+
228
+ ui: function( c ) {
229
+ return {
230
+ draggable: ( c.currentItem || c.element ),
231
+ helper: c.helper,
232
+ position: c.position,
233
+ offset: c.positionAbs
234
+ };
235
+ },
236
+
237
+ // Extension points just to make backcompat sane and avoid duplicating logic
238
+ // TODO: Remove in 1.13 along with call to it below
239
+ _addHoverClass: function() {
240
+ this._addClass( "ui-droppable-hover" );
241
+ },
242
+
243
+ _removeHoverClass: function() {
244
+ this._removeClass( "ui-droppable-hover" );
245
+ },
246
+
247
+ _addActiveClass: function() {
248
+ this._addClass( "ui-droppable-active" );
249
+ },
250
+
251
+ _removeActiveClass: function() {
252
+ this._removeClass( "ui-droppable-active" );
253
+ }
254
+ } );
255
+
256
+ var intersect = $.ui.intersect = ( function() {
257
+ function isOverAxis( x, reference, size ) {
258
+ return ( x >= reference ) && ( x < ( reference + size ) );
259
+ }
260
+
261
+ return function( draggable, droppable, toleranceMode, event ) {
262
+
263
+ if ( !droppable.offset ) {
264
+ return false;
265
+ }
266
+
267
+ var x1 = ( draggable.positionAbs ||
268
+ draggable.position.absolute ).left + draggable.margins.left,
269
+ y1 = ( draggable.positionAbs ||
270
+ draggable.position.absolute ).top + draggable.margins.top,
271
+ x2 = x1 + draggable.helperProportions.width,
272
+ y2 = y1 + draggable.helperProportions.height,
273
+ l = droppable.offset.left,
274
+ t = droppable.offset.top,
275
+ r = l + droppable.proportions().width,
276
+ b = t + droppable.proportions().height;
277
+
278
+ switch ( toleranceMode ) {
279
+ case "fit":
280
+ return ( l <= x1 && x2 <= r && t <= y1 && y2 <= b );
281
+ case "intersect":
282
+ return ( l < x1 + ( draggable.helperProportions.width / 2 ) && // Right Half
283
+ x2 - ( draggable.helperProportions.width / 2 ) < r && // Left Half
284
+ t < y1 + ( draggable.helperProportions.height / 2 ) && // Bottom Half
285
+ y2 - ( draggable.helperProportions.height / 2 ) < b ); // Top Half
286
+ case "pointer":
287
+ return isOverAxis( event.pageY, t, droppable.proportions().height ) &&
288
+ isOverAxis( event.pageX, l, droppable.proportions().width );
289
+ case "touch":
290
+ return (
291
+ ( y1 >= t && y1 <= b ) || // Top edge touching
292
+ ( y2 >= t && y2 <= b ) || // Bottom edge touching
293
+ ( y1 < t && y2 > b ) // Surrounded vertically
294
+ ) && (
295
+ ( x1 >= l && x1 <= r ) || // Left edge touching
296
+ ( x2 >= l && x2 <= r ) || // Right edge touching
297
+ ( x1 < l && x2 > r ) // Surrounded horizontally
298
+ );
299
+ default:
300
+ return false;
301
+ }
302
+ };
303
+ } )();
304
+
305
+ /*
306
+ This manager tracks offsets of draggables and droppables
307
+ */
308
+ $.ui.ddmanager = {
309
+ current: null,
310
+ droppables: { "default": [] },
311
+ prepareOffsets: function( t, event ) {
312
+
313
+ var i, j,
314
+ m = $.ui.ddmanager.droppables[ t.options.scope ] || [],
315
+ type = event ? event.type : null, // workaround for #2317
316
+ list = ( t.currentItem || t.element ).find( ":data(ui-droppable)" ).addBack();
317
+
318
+ droppablesLoop: for ( i = 0; i < m.length; i++ ) {
319
+
320
+ // No disabled and non-accepted
321
+ if ( m[ i ].options.disabled || ( t && !m[ i ].accept.call( m[ i ].element[ 0 ],
322
+ ( t.currentItem || t.element ) ) ) ) {
323
+ continue;
324
+ }
325
+
326
+ // Filter out elements in the current dragged item
327
+ for ( j = 0; j < list.length; j++ ) {
328
+ if ( list[ j ] === m[ i ].element[ 0 ] ) {
329
+ m[ i ].proportions().height = 0;
330
+ continue droppablesLoop;
331
+ }
332
+ }
333
+
334
+ m[ i ].visible = m[ i ].element.css( "display" ) !== "none";
335
+ if ( !m[ i ].visible ) {
336
+ continue;
337
+ }
338
+
339
+ // Activate the droppable if used directly from draggables
340
+ if ( type === "mousedown" ) {
341
+ m[ i ]._activate.call( m[ i ], event );
342
+ }
343
+
344
+ m[ i ].offset = m[ i ].element.offset();
345
+ m[ i ].proportions( {
346
+ width: m[ i ].element[ 0 ].offsetWidth,
347
+ height: m[ i ].element[ 0 ].offsetHeight
348
+ } );
349
+
350
+ }
351
+
352
+ },
353
+ drop: function( draggable, event ) {
354
+
355
+ var dropped = false;
356
+
357
+ // Create a copy of the droppables in case the list changes during the drop (#9116)
358
+ $.each( ( $.ui.ddmanager.droppables[ draggable.options.scope ] || [] ).slice(), function() {
359
+
360
+ if ( !this.options ) {
361
+ return;
362
+ }
363
+ if ( !this.options.disabled && this.visible &&
364
+ intersect( draggable, this, this.options.tolerance, event ) ) {
365
+ dropped = this._drop.call( this, event ) || dropped;
366
+ }
367
+
368
+ if ( !this.options.disabled && this.visible && this.accept.call( this.element[ 0 ],
369
+ ( draggable.currentItem || draggable.element ) ) ) {
370
+ this.isout = true;
371
+ this.isover = false;
372
+ this._deactivate.call( this, event );
373
+ }
374
+
375
+ } );
376
+ return dropped;
377
+
378
+ },
379
+ dragStart: function( draggable, event ) {
380
+
381
+ // Listen for scrolling so that if the dragging causes scrolling the position of the
382
+ // droppables can be recalculated (see #5003)
383
+ draggable.element.parentsUntil( "body" ).on( "scroll.droppable", function() {
384
+ if ( !draggable.options.refreshPositions ) {
385
+ $.ui.ddmanager.prepareOffsets( draggable, event );
386
+ }
387
+ } );
388
+ },
389
+ drag: function( draggable, event ) {
390
+
391
+ // If you have a highly dynamic page, you might try this option. It renders positions
392
+ // every time you move the mouse.
393
+ if ( draggable.options.refreshPositions ) {
394
+ $.ui.ddmanager.prepareOffsets( draggable, event );
395
+ }
396
+
397
+ // Run through all droppables and check their positions based on specific tolerance options
398
+ $.each( $.ui.ddmanager.droppables[ draggable.options.scope ] || [], function() {
399
+
400
+ if ( this.options.disabled || this.greedyChild || !this.visible ) {
401
+ return;
402
+ }
403
+
404
+ var parentInstance, scope, parent,
405
+ intersects = intersect( draggable, this, this.options.tolerance, event ),
406
+ c = !intersects && this.isover ?
407
+ "isout" :
408
+ ( intersects && !this.isover ? "isover" : null );
409
+ if ( !c ) {
410
+ return;
411
+ }
412
+
413
+ if ( this.options.greedy ) {
414
+
415
+ // find droppable parents with same scope
416
+ scope = this.options.scope;
417
+ parent = this.element.parents( ":data(ui-droppable)" ).filter( function() {
418
+ return $( this ).droppable( "instance" ).options.scope === scope;
419
+ } );
420
+
421
+ if ( parent.length ) {
422
+ parentInstance = $( parent[ 0 ] ).droppable( "instance" );
423
+ parentInstance.greedyChild = ( c === "isover" );
424
+ }
425
+ }
426
+
427
+ // We just moved into a greedy child
428
+ if ( parentInstance && c === "isover" ) {
429
+ parentInstance.isover = false;
430
+ parentInstance.isout = true;
431
+ parentInstance._out.call( parentInstance, event );
432
+ }
433
+
434
+ this[ c ] = true;
435
+ this[ c === "isout" ? "isover" : "isout" ] = false;
436
+ this[ c === "isover" ? "_over" : "_out" ].call( this, event );
437
+
438
+ // We just moved out of a greedy child
439
+ if ( parentInstance && c === "isout" ) {
440
+ parentInstance.isout = false;
441
+ parentInstance.isover = true;
442
+ parentInstance._over.call( parentInstance, event );
443
+ }
444
+ } );
445
+
446
+ },
447
+ dragStop: function( draggable, event ) {
448
+ draggable.element.parentsUntil( "body" ).off( "scroll.droppable" );
449
+
450
+ // Call prepareOffsets one final time since IE does not fire return scroll events when
451
+ // overflow was caused by drag (see #5003)
452
+ if ( !draggable.options.refreshPositions ) {
453
+ $.ui.ddmanager.prepareOffsets( draggable, event );
454
+ }
455
+ }
456
+ };
457
+
458
+ // DEPRECATED
459
+ // TODO: switch return back to widget declaration at top of file when this is removed
460
+ if ( $.uiBackCompat !== false ) {
461
+
462
+ // Backcompat for activeClass and hoverClass options
463
+ $.widget( "ui.droppable", $.ui.droppable, {
464
+ options: {
465
+ hoverClass: false,
466
+ activeClass: false
467
+ },
468
+ _addActiveClass: function() {
469
+ this._super();
470
+ if ( this.options.activeClass ) {
471
+ this.element.addClass( this.options.activeClass );
472
+ }
473
+ },
474
+ _removeActiveClass: function() {
475
+ this._super();
476
+ if ( this.options.activeClass ) {
477
+ this.element.removeClass( this.options.activeClass );
478
+ }
479
+ },
480
+ _addHoverClass: function() {
481
+ this._super();
482
+ if ( this.options.hoverClass ) {
483
+ this.element.addClass( this.options.hoverClass );
484
+ }
485
+ },
486
+ _removeHoverClass: function() {
487
+ this._super();
488
+ if ( this.options.hoverClass ) {
489
+ this.element.removeClass( this.options.hoverClass );
490
+ }
491
+ }
492
+ } );
493
+ }
494
+
495
+ return $.ui.droppable;
496
+
497
+ } ) );