admin-lte 2.4.17 → 2.4.18

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.
Files changed (891) hide show
  1. package/README.md +5 -3
  2. package/bower.json +1 -1
  3. package/bower_components/jquery/.bower.json +1 -1
  4. package/bower_components/jquery-ui/.bower.json +6 -5
  5. package/bower_components/jquery-ui/README.md +9 -8
  6. package/bower_components/jquery-ui/bower.json +2 -1
  7. package/bower_components/jquery-ui/component.json +1 -1
  8. package/bower_components/jquery-ui/jquery-ui.js +12587 -10498
  9. package/bower_components/jquery-ui/jquery-ui.min.js +11 -11
  10. package/bower_components/jquery-ui/package.json +14 -69
  11. package/bower_components/jquery-ui/themes/base/accordion.css +1 -14
  12. package/bower_components/jquery-ui/themes/base/all.css +1 -1
  13. package/bower_components/jquery-ui/themes/base/autocomplete.css +1 -1
  14. package/bower_components/jquery-ui/themes/base/base.css +3 -1
  15. package/bower_components/jquery-ui/themes/base/button.css +35 -67
  16. package/bower_components/jquery-ui/themes/base/checkboxradio.css +34 -0
  17. package/bower_components/jquery-ui/themes/base/controlgroup.css +65 -0
  18. package/bower_components/jquery-ui/themes/base/core.css +11 -7
  19. package/bower_components/jquery-ui/themes/base/datepicker.css +11 -1
  20. package/bower_components/jquery-ui/themes/base/dialog.css +38 -7
  21. package/bower_components/jquery-ui/themes/base/draggable.css +1 -1
  22. package/bower_components/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  23. package/bower_components/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  24. package/bower_components/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  25. package/bower_components/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  26. package/bower_components/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  27. package/bower_components/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  28. package/bower_components/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  29. package/bower_components/jquery-ui/themes/base/jquery-ui.css +315 -229
  30. package/bower_components/jquery-ui/themes/base/jquery-ui.min.css +3 -3
  31. package/bower_components/jquery-ui/themes/base/menu.css +7 -6
  32. package/bower_components/jquery-ui/themes/base/progressbar.css +1 -1
  33. package/bower_components/jquery-ui/themes/base/resizable.css +1 -1
  34. package/bower_components/jquery-ui/themes/base/selectable.css +1 -1
  35. package/bower_components/jquery-ui/themes/base/selectmenu.css +11 -20
  36. package/bower_components/jquery-ui/themes/base/slider.css +1 -1
  37. package/bower_components/jquery-ui/themes/base/sortable.css +1 -1
  38. package/bower_components/jquery-ui/themes/base/spinner.css +7 -20
  39. package/bower_components/jquery-ui/themes/base/tabs.css +1 -1
  40. package/bower_components/jquery-ui/themes/base/theme.css +113 -80
  41. package/bower_components/jquery-ui/themes/base/tooltip.css +1 -3
  42. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  43. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
  44. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  45. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  46. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  47. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  48. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  49. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  50. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
  51. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
  52. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
  53. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
  54. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
  55. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
  56. package/bower_components/jquery-ui/themes/black-tie/jquery-ui.css +317 -231
  57. package/bower_components/jquery-ui/themes/black-tie/jquery-ui.min.css +4 -4
  58. package/bower_components/jquery-ui/themes/black-tie/theme.css +65 -32
  59. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  60. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  61. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  62. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  63. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  64. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  65. package/bower_components/jquery-ui/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
  66. package/bower_components/jquery-ui/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
  67. package/bower_components/jquery-ui/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
  68. package/bower_components/jquery-ui/themes/blitzer/jquery-ui.css +318 -232
  69. package/bower_components/jquery-ui/themes/blitzer/jquery-ui.min.css +4 -4
  70. package/bower_components/jquery-ui/themes/blitzer/theme.css +66 -33
  71. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  72. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  73. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
  74. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  75. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  76. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  77. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  78. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  79. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  80. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  81. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
  82. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  83. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  84. package/bower_components/jquery-ui/themes/cupertino/jquery-ui.css +317 -231
  85. package/bower_components/jquery-ui/themes/cupertino/jquery-ui.min.css +4 -4
  86. package/bower_components/jquery-ui/themes/cupertino/theme.css +65 -32
  87. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  88. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  89. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  90. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  91. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  92. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  93. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  94. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  95. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  96. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  97. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  98. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  99. package/bower_components/jquery-ui/themes/dark-hive/jquery-ui.css +317 -231
  100. package/bower_components/jquery-ui/themes/dark-hive/jquery-ui.min.css +4 -4
  101. package/bower_components/jquery-ui/themes/dark-hive/theme.css +65 -32
  102. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  103. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  104. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
  105. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  106. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  107. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  108. package/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
  109. package/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
  110. package/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
  111. package/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
  112. package/bower_components/jquery-ui/themes/dot-luv/jquery-ui.css +318 -232
  113. package/bower_components/jquery-ui/themes/dot-luv/jquery-ui.min.css +4 -4
  114. package/bower_components/jquery-ui/themes/dot-luv/theme.css +66 -33
  115. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  116. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  117. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  118. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  119. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  120. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
  121. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
  122. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
  123. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
  124. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
  125. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
  126. package/bower_components/jquery-ui/themes/eggplant/jquery-ui.css +319 -233
  127. package/bower_components/jquery-ui/themes/eggplant/jquery-ui.min.css +4 -4
  128. package/bower_components/jquery-ui/themes/eggplant/theme.css +67 -34
  129. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  130. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  131. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  132. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  133. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  134. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  135. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
  136. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
  137. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
  138. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
  139. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
  140. package/bower_components/jquery-ui/themes/excite-bike/jquery-ui.css +317 -231
  141. package/bower_components/jquery-ui/themes/excite-bike/jquery-ui.min.css +4 -4
  142. package/bower_components/jquery-ui/themes/excite-bike/theme.css +65 -32
  143. package/bower_components/jquery-ui/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  144. package/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  145. package/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  146. package/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  147. package/bower_components/jquery-ui/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
  148. package/bower_components/jquery-ui/themes/flick/images/ui-icons_454545_256x240.png +0 -0
  149. package/bower_components/jquery-ui/themes/flick/images/ui-icons_666666_256x240.png +0 -0
  150. package/bower_components/jquery-ui/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
  151. package/bower_components/jquery-ui/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
  152. package/bower_components/jquery-ui/themes/flick/jquery-ui.css +320 -234
  153. package/bower_components/jquery-ui/themes/flick/jquery-ui.min.css +4 -4
  154. package/bower_components/jquery-ui/themes/flick/theme.css +68 -35
  155. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  156. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  157. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  158. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  159. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  160. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  161. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  162. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
  163. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
  164. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
  165. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
  166. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
  167. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
  168. package/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.css +317 -231
  169. package/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.min.css +4 -4
  170. package/bower_components/jquery-ui/themes/hot-sneaks/theme.css +65 -32
  171. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  172. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
  173. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  174. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  175. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  176. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  177. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  178. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
  179. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
  180. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
  181. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
  182. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
  183. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
  184. package/bower_components/jquery-ui/themes/humanity/jquery-ui.css +317 -231
  185. package/bower_components/jquery-ui/themes/humanity/jquery-ui.min.css +4 -4
  186. package/bower_components/jquery-ui/themes/humanity/theme.css +65 -32
  187. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  188. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  189. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  190. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  191. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  192. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  193. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  194. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  195. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  196. package/bower_components/jquery-ui/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
  197. package/bower_components/jquery-ui/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
  198. package/bower_components/jquery-ui/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
  199. package/bower_components/jquery-ui/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
  200. package/bower_components/jquery-ui/themes/le-frog/jquery-ui.css +316 -230
  201. package/bower_components/jquery-ui/themes/le-frog/jquery-ui.min.css +4 -4
  202. package/bower_components/jquery-ui/themes/le-frog/theme.css +64 -31
  203. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
  204. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  205. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  206. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  207. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  208. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  209. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  210. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
  211. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
  212. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
  213. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
  214. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
  215. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
  216. package/bower_components/jquery-ui/themes/mint-choc/jquery-ui.css +317 -231
  217. package/bower_components/jquery-ui/themes/mint-choc/jquery-ui.min.css +4 -4
  218. package/bower_components/jquery-ui/themes/mint-choc/theme.css +65 -32
  219. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  220. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
  221. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  222. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  223. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  224. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
  225. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
  226. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
  227. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
  228. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
  229. package/bower_components/jquery-ui/themes/overcast/jquery-ui.css +319 -233
  230. package/bower_components/jquery-ui/themes/overcast/jquery-ui.min.css +4 -4
  231. package/bower_components/jquery-ui/themes/overcast/theme.css +67 -34
  232. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  233. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  234. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  235. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  236. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  237. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  238. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  239. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  240. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  241. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
  242. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
  243. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
  244. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
  245. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
  246. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
  247. package/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.css +316 -230
  248. package/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.min.css +4 -4
  249. package/bower_components/jquery-ui/themes/pepper-grinder/theme.css +64 -31
  250. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  251. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  252. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  253. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  254. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  255. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  256. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  257. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  258. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  259. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  260. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  261. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  262. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  263. package/bower_components/jquery-ui/themes/redmond/jquery-ui.css +318 -232
  264. package/bower_components/jquery-ui/themes/redmond/jquery-ui.min.css +4 -4
  265. package/bower_components/jquery-ui/themes/redmond/theme.css +66 -33
  266. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  267. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  268. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  269. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  270. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  271. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  272. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  273. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  274. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  275. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  276. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  277. package/bower_components/jquery-ui/themes/smoothness/jquery-ui.css +318 -232
  278. package/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css +4 -4
  279. package/bower_components/jquery-ui/themes/smoothness/theme.css +66 -33
  280. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  281. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  282. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  283. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  284. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  285. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  286. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  287. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  288. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  289. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
  290. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
  291. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_8DC262_256x240.png +0 -0
  292. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
  293. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
  294. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
  295. package/bower_components/jquery-ui/themes/south-street/jquery-ui.css +316 -230
  296. package/bower_components/jquery-ui/themes/south-street/jquery-ui.min.css +4 -4
  297. package/bower_components/jquery-ui/themes/south-street/theme.css +64 -31
  298. package/bower_components/jquery-ui/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
  299. package/bower_components/jquery-ui/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  300. package/bower_components/jquery-ui/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  301. package/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  302. package/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  303. package/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  304. package/bower_components/jquery-ui/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  305. package/bower_components/jquery-ui/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
  306. package/bower_components/jquery-ui/themes/start/images/ui-icons_056b93_256x240.png +0 -0
  307. package/bower_components/jquery-ui/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
  308. package/bower_components/jquery-ui/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
  309. package/bower_components/jquery-ui/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
  310. package/bower_components/jquery-ui/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
  311. package/bower_components/jquery-ui/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
  312. package/bower_components/jquery-ui/themes/start/jquery-ui.css +317 -231
  313. package/bower_components/jquery-ui/themes/start/jquery-ui.min.css +4 -4
  314. package/bower_components/jquery-ui/themes/start/theme.css +65 -32
  315. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  316. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  317. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  318. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  319. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  320. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  321. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  322. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
  323. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
  324. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
  325. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
  326. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
  327. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
  328. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
  329. package/bower_components/jquery-ui/themes/sunny/jquery-ui.css +317 -231
  330. package/bower_components/jquery-ui/themes/sunny/jquery-ui.min.css +4 -4
  331. package/bower_components/jquery-ui/themes/sunny/theme.css +65 -32
  332. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  333. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
  334. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
  335. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  336. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
  337. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
  338. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  339. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
  340. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
  341. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
  342. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
  343. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
  344. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
  345. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
  346. package/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.css +316 -230
  347. package/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.min.css +4 -4
  348. package/bower_components/jquery-ui/themes/swanky-purse/theme.css +64 -31
  349. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  350. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  351. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  352. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
  353. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  354. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  355. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  356. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
  357. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
  358. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
  359. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
  360. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
  361. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
  362. package/bower_components/jquery-ui/themes/trontastic/jquery-ui.css +317 -231
  363. package/bower_components/jquery-ui/themes/trontastic/jquery-ui.min.css +4 -4
  364. package/bower_components/jquery-ui/themes/trontastic/theme.css +65 -32
  365. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
  366. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  367. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  368. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  369. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  370. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  371. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  372. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
  373. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
  374. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
  375. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
  376. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
  377. package/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.css +317 -231
  378. package/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.min.css +4 -4
  379. package/bower_components/jquery-ui/themes/ui-darkness/theme.css +65 -32
  380. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  381. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  382. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  383. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  384. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  385. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  386. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  387. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  388. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  389. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  390. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  391. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  392. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  393. package/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.css +316 -230
  394. package/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.min.css +4 -4
  395. package/bower_components/jquery-ui/themes/ui-lightness/theme.css +64 -31
  396. package/bower_components/jquery-ui/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  397. package/bower_components/jquery-ui/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  398. package/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  399. package/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  400. package/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  401. package/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  402. package/bower_components/jquery-ui/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  403. package/bower_components/jquery-ui/themes/vader/images/ui-icons_666666_256x240.png +0 -0
  404. package/bower_components/jquery-ui/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
  405. package/bower_components/jquery-ui/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
  406. package/bower_components/jquery-ui/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
  407. package/bower_components/jquery-ui/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
  408. package/bower_components/jquery-ui/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
  409. package/bower_components/jquery-ui/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
  410. package/bower_components/jquery-ui/themes/vader/jquery-ui.css +320 -234
  411. package/bower_components/jquery-ui/themes/vader/jquery-ui.min.css +5 -5
  412. package/bower_components/jquery-ui/themes/vader/theme.css +68 -35
  413. package/bower_components/jquery-ui/ui/core.js +21 -304
  414. package/bower_components/jquery-ui/ui/data.js +39 -0
  415. package/bower_components/jquery-ui/ui/disable-selection.js +46 -0
  416. package/bower_components/jquery-ui/ui/effect.js +618 -284
  417. package/bower_components/jquery-ui/ui/effects/effect-blind.js +70 -0
  418. package/bower_components/jquery-ui/ui/effects/effect-bounce.js +110 -0
  419. package/bower_components/jquery-ui/ui/effects/effect-clip.js +65 -0
  420. package/bower_components/jquery-ui/ui/effects/effect-drop.js +69 -0
  421. package/bower_components/jquery-ui/ui/effects/effect-explode.js +111 -0
  422. package/bower_components/jquery-ui/ui/effects/effect-fade.js +47 -0
  423. package/bower_components/jquery-ui/ui/effects/effect-fold.js +89 -0
  424. package/bower_components/jquery-ui/ui/effects/effect-highlight.js +57 -0
  425. package/bower_components/jquery-ui/ui/effects/effect-puff.js +42 -0
  426. package/bower_components/jquery-ui/ui/effects/effect-pulsate.js +64 -0
  427. package/bower_components/jquery-ui/ui/effects/effect-scale.js +56 -0
  428. package/bower_components/jquery-ui/ui/effects/effect-shake.js +74 -0
  429. package/bower_components/jquery-ui/ui/effects/effect-size.js +191 -0
  430. package/bower_components/jquery-ui/ui/effects/effect-slide.js +76 -0
  431. package/bower_components/jquery-ui/ui/effects/effect-transfer.js +40 -0
  432. package/bower_components/jquery-ui/ui/escape-selector.js +21 -0
  433. package/bower_components/jquery-ui/ui/focusable.js +84 -0
  434. package/bower_components/jquery-ui/ui/form-reset-mixin.js +77 -0
  435. package/bower_components/jquery-ui/ui/form.js +20 -0
  436. package/bower_components/jquery-ui/ui/i18n/datepicker-af.js +21 -21
  437. package/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js +23 -21
  438. package/bower_components/jquery-ui/ui/i18n/datepicker-ar.js +22 -21
  439. package/bower_components/jquery-ui/ui/i18n/datepicker-az.js +21 -21
  440. package/bower_components/jquery-ui/ui/i18n/datepicker-be.js +21 -21
  441. package/bower_components/jquery-ui/ui/i18n/datepicker-bg.js +22 -22
  442. package/bower_components/jquery-ui/ui/i18n/datepicker-bs.js +21 -21
  443. package/bower_components/jquery-ui/ui/i18n/datepicker-ca.js +21 -21
  444. package/bower_components/jquery-ui/ui/i18n/datepicker-cs.js +21 -21
  445. package/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js +29 -21
  446. package/bower_components/jquery-ui/ui/i18n/datepicker-da.js +21 -21
  447. package/bower_components/jquery-ui/ui/i18n/datepicker-de.js +21 -21
  448. package/bower_components/jquery-ui/ui/i18n/datepicker-el.js +21 -21
  449. package/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js +21 -21
  450. package/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js +21 -21
  451. package/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js +21 -21
  452. package/bower_components/jquery-ui/ui/i18n/datepicker-eo.js +21 -21
  453. package/bower_components/jquery-ui/ui/i18n/datepicker-es.js +21 -21
  454. package/bower_components/jquery-ui/ui/i18n/datepicker-et.js +29 -21
  455. package/bower_components/jquery-ui/ui/i18n/datepicker-eu.js +21 -21
  456. package/bower_components/jquery-ui/ui/i18n/datepicker-fa.js +48 -48
  457. package/bower_components/jquery-ui/ui/i18n/datepicker-fi.js +21 -21
  458. package/bower_components/jquery-ui/ui/i18n/datepicker-fo.js +29 -21
  459. package/bower_components/jquery-ui/ui/i18n/datepicker-fr-CA.js +21 -21
  460. package/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js +21 -21
  461. package/bower_components/jquery-ui/ui/i18n/datepicker-fr.js +21 -21
  462. package/bower_components/jquery-ui/ui/i18n/datepicker-gl.js +21 -21
  463. package/bower_components/jquery-ui/ui/i18n/datepicker-he.js +21 -21
  464. package/bower_components/jquery-ui/ui/i18n/datepicker-hi.js +21 -21
  465. package/bower_components/jquery-ui/ui/i18n/datepicker-hr.js +21 -21
  466. package/bower_components/jquery-ui/ui/i18n/datepicker-hu.js +21 -21
  467. package/bower_components/jquery-ui/ui/i18n/datepicker-hy.js +21 -21
  468. package/bower_components/jquery-ui/ui/i18n/datepicker-id.js +21 -21
  469. package/bower_components/jquery-ui/ui/i18n/datepicker-is.js +29 -21
  470. package/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js +21 -21
  471. package/bower_components/jquery-ui/ui/i18n/datepicker-it.js +21 -21
  472. package/bower_components/jquery-ui/ui/i18n/datepicker-ja.js +21 -21
  473. package/bower_components/jquery-ui/ui/i18n/datepicker-ka.js +32 -19
  474. package/bower_components/jquery-ui/ui/i18n/datepicker-kk.js +21 -21
  475. package/bower_components/jquery-ui/ui/i18n/datepicker-km.js +21 -21
  476. package/bower_components/jquery-ui/ui/i18n/datepicker-ko.js +22 -22
  477. package/bower_components/jquery-ui/ui/i18n/datepicker-ky.js +21 -21
  478. package/bower_components/jquery-ui/ui/i18n/datepicker-lb.js +29 -21
  479. package/bower_components/jquery-ui/ui/i18n/datepicker-lt.js +29 -21
  480. package/bower_components/jquery-ui/ui/i18n/datepicker-lv.js +29 -21
  481. package/bower_components/jquery-ui/ui/i18n/datepicker-mk.js +21 -21
  482. package/bower_components/jquery-ui/ui/i18n/datepicker-ml.js +21 -21
  483. package/bower_components/jquery-ui/ui/i18n/datepicker-ms.js +21 -21
  484. package/bower_components/jquery-ui/ui/i18n/datepicker-nb.js +32 -19
  485. package/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js +21 -21
  486. package/bower_components/jquery-ui/ui/i18n/datepicker-nl.js +19 -19
  487. package/bower_components/jquery-ui/ui/i18n/datepicker-nn.js +32 -19
  488. package/bower_components/jquery-ui/ui/i18n/datepicker-no.js +32 -19
  489. package/bower_components/jquery-ui/ui/i18n/datepicker-pl.js +21 -21
  490. package/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js +29 -21
  491. package/bower_components/jquery-ui/ui/i18n/datepicker-pt.js +29 -21
  492. package/bower_components/jquery-ui/ui/i18n/datepicker-rm.js +45 -19
  493. package/bower_components/jquery-ui/ui/i18n/datepicker-ro.js +21 -21
  494. package/bower_components/jquery-ui/ui/i18n/datepicker-ru.js +21 -21
  495. package/bower_components/jquery-ui/ui/i18n/datepicker-sk.js +21 -21
  496. package/bower_components/jquery-ui/ui/i18n/datepicker-sl.js +21 -21
  497. package/bower_components/jquery-ui/ui/i18n/datepicker-sq.js +21 -21
  498. package/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js +21 -21
  499. package/bower_components/jquery-ui/ui/i18n/datepicker-sr.js +21 -21
  500. package/bower_components/jquery-ui/ui/i18n/datepicker-sv.js +21 -21
  501. package/bower_components/jquery-ui/ui/i18n/datepicker-ta.js +37 -21
  502. package/bower_components/jquery-ui/ui/i18n/datepicker-th.js +21 -21
  503. package/bower_components/jquery-ui/ui/i18n/datepicker-tj.js +21 -21
  504. package/bower_components/jquery-ui/ui/i18n/datepicker-tr.js +21 -21
  505. package/bower_components/jquery-ui/ui/i18n/datepicker-uk.js +21 -21
  506. package/bower_components/jquery-ui/ui/i18n/datepicker-vi.js +21 -21
  507. package/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js +21 -21
  508. package/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js +21 -21
  509. package/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js +21 -21
  510. package/bower_components/jquery-ui/ui/ie.js +15 -0
  511. package/bower_components/jquery-ui/ui/jquery-1-7.js +89 -0
  512. package/bower_components/jquery-ui/ui/keycode.js +45 -0
  513. package/bower_components/jquery-ui/ui/labels.js +62 -0
  514. package/bower_components/jquery-ui/ui/minified/core.js +4 -0
  515. package/bower_components/jquery-ui/ui/minified/data.js +4 -0
  516. package/bower_components/jquery-ui/ui/minified/disable-selection.js +4 -0
  517. package/bower_components/jquery-ui/ui/minified/effect.js +4 -0
  518. package/bower_components/jquery-ui/ui/minified/escape-selector.js +4 -0
  519. package/bower_components/jquery-ui/ui/minified/focusable.js +4 -0
  520. package/bower_components/jquery-ui/ui/minified/form-reset-mixin.js +4 -0
  521. package/bower_components/jquery-ui/ui/minified/form.js +4 -0
  522. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-af.js +4 -0
  523. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.js +4 -0
  524. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar.js +4 -0
  525. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-az.js +4 -0
  526. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-be.js +4 -0
  527. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-bg.js +4 -0
  528. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-bs.js +4 -0
  529. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ca.js +4 -0
  530. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-cs.js +4 -0
  531. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.js +4 -0
  532. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-da.js +4 -0
  533. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-de.js +4 -0
  534. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-el.js +4 -0
  535. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-AU.js +4 -0
  536. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-GB.js +4 -0
  537. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.js +4 -0
  538. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-eo.js +4 -0
  539. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-es.js +4 -0
  540. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-et.js +4 -0
  541. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-eu.js +4 -0
  542. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fa.js +4 -0
  543. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fi.js +4 -0
  544. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fo.js +4 -0
  545. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.js +4 -0
  546. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.js +4 -0
  547. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr.js +4 -0
  548. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-gl.js +4 -0
  549. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-he.js +4 -0
  550. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hi.js +4 -0
  551. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hr.js +4 -0
  552. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hu.js +4 -0
  553. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hy.js +4 -0
  554. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-id.js +4 -0
  555. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-is.js +4 -0
  556. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-it-CH.js +4 -0
  557. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-it.js +4 -0
  558. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ja.js +4 -0
  559. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ka.js +4 -0
  560. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-kk.js +4 -0
  561. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-km.js +4 -0
  562. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ko.js +4 -0
  563. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ky.js +4 -0
  564. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lb.js +4 -0
  565. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lt.js +4 -0
  566. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lv.js +4 -0
  567. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-mk.js +4 -0
  568. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ml.js +4 -0
  569. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ms.js +4 -0
  570. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nb.js +4 -0
  571. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.js +4 -0
  572. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl.js +4 -0
  573. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nn.js +4 -0
  574. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-no.js +4 -0
  575. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pl.js +4 -0
  576. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.js +4 -0
  577. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt.js +4 -0
  578. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-rm.js +4 -0
  579. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ro.js +4 -0
  580. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ru.js +4 -0
  581. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sk.js +4 -0
  582. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sl.js +4 -0
  583. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sq.js +4 -0
  584. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.js +4 -0
  585. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr.js +4 -0
  586. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sv.js +4 -0
  587. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ta.js +4 -0
  588. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-th.js +4 -0
  589. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-tj.js +4 -0
  590. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-tr.js +4 -0
  591. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-uk.js +4 -0
  592. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-vi.js +4 -0
  593. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.js +4 -0
  594. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.js +4 -0
  595. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.js +4 -0
  596. package/bower_components/jquery-ui/ui/minified/ie.js +4 -0
  597. package/bower_components/jquery-ui/ui/minified/jquery-1-7.js +4 -0
  598. package/bower_components/jquery-ui/ui/minified/keycode.js +4 -0
  599. package/bower_components/jquery-ui/ui/minified/labels.js +4 -0
  600. package/bower_components/jquery-ui/ui/minified/plugin.js +4 -0
  601. package/bower_components/jquery-ui/ui/minified/position.js +4 -0
  602. package/bower_components/jquery-ui/ui/minified/safe-active-element.js +4 -0
  603. package/bower_components/jquery-ui/ui/minified/safe-blur.js +4 -0
  604. package/bower_components/jquery-ui/ui/minified/scroll-parent.js +4 -0
  605. package/bower_components/jquery-ui/ui/minified/tabbable.js +4 -0
  606. package/bower_components/jquery-ui/ui/minified/unique-id.js +4 -0
  607. package/bower_components/jquery-ui/ui/minified/version.js +4 -0
  608. package/bower_components/jquery-ui/ui/minified/widget.js +4 -0
  609. package/bower_components/jquery-ui/ui/plugin.js +44 -0
  610. package/bower_components/jquery-ui/ui/position.js +90 -109
  611. package/bower_components/jquery-ui/ui/safe-active-element.js +40 -0
  612. package/bower_components/jquery-ui/ui/safe-blur.js +21 -0
  613. package/bower_components/jquery-ui/ui/scroll-parent.js +45 -0
  614. package/bower_components/jquery-ui/ui/tabbable.js +35 -0
  615. package/bower_components/jquery-ui/ui/unique-id.js +49 -0
  616. package/bower_components/jquery-ui/ui/version.js +17 -0
  617. package/bower_components/jquery-ui/ui/widget.js +326 -151
  618. package/bower_components/jquery-ui/ui/{accordion.js → widgets/accordion.js} +184 -161
  619. package/bower_components/jquery-ui/ui/{autocomplete.js → widgets/autocomplete.js} +143 -89
  620. package/bower_components/jquery-ui/ui/widgets/button.js +386 -0
  621. package/bower_components/jquery-ui/ui/widgets/checkboxradio.js +286 -0
  622. package/bower_components/jquery-ui/ui/widgets/controlgroup.js +298 -0
  623. package/bower_components/jquery-ui/ui/widgets/datepicker.js +2120 -0
  624. package/bower_components/jquery-ui/ui/{dialog.js → widgets/dialog.js} +217 -153
  625. package/bower_components/jquery-ui/ui/{draggable.js → widgets/draggable.js} +409 -291
  626. package/bower_components/jquery-ui/ui/{droppable.js → widgets/droppable.js} +164 -80
  627. package/bower_components/jquery-ui/ui/{menu.js → widgets/menu.js} +159 -132
  628. package/bower_components/jquery-ui/ui/widgets/mouse.js +226 -0
  629. package/bower_components/jquery-ui/ui/{progressbar.js → widgets/progressbar.js} +59 -40
  630. package/bower_components/jquery-ui/ui/{resizable.js → widgets/resizable.js} +409 -360
  631. package/bower_components/jquery-ui/ui/widgets/selectable.js +310 -0
  632. package/bower_components/jquery-ui/ui/{selectmenu.js → widgets/selectmenu.js} +245 -173
  633. package/bower_components/jquery-ui/ui/{slider.js → widgets/slider.js} +190 -155
  634. package/bower_components/jquery-ui/ui/widgets/sortable.js +1554 -0
  635. package/bower_components/jquery-ui/ui/{spinner.js → widgets/spinner.js} +171 -110
  636. package/bower_components/jquery-ui/ui/{tabs.js → widgets/tabs.js} +232 -194
  637. package/bower_components/jquery-ui/ui/{tooltip.js → widgets/tooltip.js} +132 -85
  638. package/build/js/Tree.js +2 -2
  639. package/build/less/AdminLTE-without-plugins.less +1 -1
  640. package/build/less/AdminLTE.less +1 -1
  641. package/build/less/boxes.less +3 -3
  642. package/dist/css/AdminLTE.css +4 -4
  643. package/dist/css/AdminLTE.min.css +2 -2
  644. package/dist/css/alt/AdminLTE-without-plugins.css +4 -4
  645. package/dist/css/alt/AdminLTE-without-plugins.min.css +2 -2
  646. package/dist/js/adminlte.js +3 -3
  647. package/dist/js/adminlte.min.js +2 -2
  648. package/index.html +2 -2
  649. package/index2.html +1 -1
  650. package/package.json +1 -1
  651. package/pages/UI/buttons.html +1 -1
  652. package/pages/UI/general.html +1 -1
  653. package/pages/UI/icons.html +1 -1
  654. package/pages/UI/modals.html +1 -1
  655. package/pages/UI/sliders.html +1 -1
  656. package/pages/UI/timeline.html +1 -1
  657. package/pages/calendar.html +1 -1
  658. package/pages/charts/chartjs.html +1 -1
  659. package/pages/charts/flot.html +1 -1
  660. package/pages/charts/inline.html +1 -1
  661. package/pages/charts/morris.html +1 -1
  662. package/pages/examples/404.html +1 -1
  663. package/pages/examples/500.html +1 -1
  664. package/pages/examples/blank.html +1 -1
  665. package/pages/examples/invoice.html +1 -1
  666. package/pages/examples/pace.html +1 -1
  667. package/pages/examples/profile.html +1 -1
  668. package/pages/forms/advanced.html +1 -1
  669. package/pages/forms/editors.html +1 -1
  670. package/pages/forms/general.html +1 -1
  671. package/pages/layout/boxed.html +1 -1
  672. package/pages/layout/collapsed-sidebar.html +1 -1
  673. package/pages/layout/fixed.html +1 -1
  674. package/pages/layout/top-nav.html +1 -1
  675. package/pages/mailbox/compose.html +1 -1
  676. package/pages/mailbox/mailbox.html +1 -1
  677. package/pages/mailbox/read-mail.html +1 -1
  678. package/pages/tables/data.html +1 -1
  679. package/pages/tables/simple.html +1 -1
  680. package/pages/widgets.html +1 -1
  681. package/bower_components/jquery-ui/AUTHORS.txt +0 -284
  682. package/bower_components/jquery-ui/LICENSE.txt +0 -44
  683. package/bower_components/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  684. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  685. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  686. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  687. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  688. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  689. package/bower_components/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  690. package/bower_components/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
  691. package/bower_components/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  692. package/bower_components/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
  693. package/bower_components/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
  694. package/bower_components/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  695. package/bower_components/jquery-ui/themes/black-tie/images/animated-overlay.gif +0 -0
  696. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  697. package/bower_components/jquery-ui/themes/blitzer/images/animated-overlay.gif +0 -0
  698. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
  699. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  700. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  701. package/bower_components/jquery-ui/themes/cupertino/images/animated-overlay.gif +0 -0
  702. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  703. package/bower_components/jquery-ui/themes/dark-hive/images/animated-overlay.gif +0 -0
  704. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  705. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  706. package/bower_components/jquery-ui/themes/dot-luv/images/animated-overlay.gif +0 -0
  707. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  708. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
  709. package/bower_components/jquery-ui/themes/eggplant/images/animated-overlay.gif +0 -0
  710. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  711. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  712. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
  713. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
  714. package/bower_components/jquery-ui/themes/excite-bike/images/animated-overlay.gif +0 -0
  715. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
  716. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
  717. package/bower_components/jquery-ui/themes/flick/images/animated-overlay.gif +0 -0
  718. package/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  719. package/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  720. package/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
  721. package/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  722. package/bower_components/jquery-ui/themes/hot-sneaks/images/animated-overlay.gif +0 -0
  723. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
  724. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  725. package/bower_components/jquery-ui/themes/humanity/images/animated-overlay.gif +0 -0
  726. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  727. package/bower_components/jquery-ui/themes/le-frog/images/animated-overlay.gif +0 -0
  728. package/bower_components/jquery-ui/themes/mint-choc/images/animated-overlay.gif +0 -0
  729. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  730. package/bower_components/jquery-ui/themes/overcast/images/animated-overlay.gif +0 -0
  731. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  732. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  733. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
  734. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  735. package/bower_components/jquery-ui/themes/pepper-grinder/images/animated-overlay.gif +0 -0
  736. package/bower_components/jquery-ui/themes/redmond/images/animated-overlay.gif +0 -0
  737. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  738. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  739. package/bower_components/jquery-ui/themes/smoothness/images/animated-overlay.gif +0 -0
  740. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  741. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  742. package/bower_components/jquery-ui/themes/south-street/images/animated-overlay.gif +0 -0
  743. package/bower_components/jquery-ui/themes/start/images/animated-overlay.gif +0 -0
  744. package/bower_components/jquery-ui/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
  745. package/bower_components/jquery-ui/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  746. package/bower_components/jquery-ui/themes/sunny/images/animated-overlay.gif +0 -0
  747. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  748. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  749. package/bower_components/jquery-ui/themes/swanky-purse/images/animated-overlay.gif +0 -0
  750. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  751. package/bower_components/jquery-ui/themes/trontastic/images/animated-overlay.gif +0 -0
  752. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
  753. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  754. package/bower_components/jquery-ui/themes/ui-darkness/images/animated-overlay.gif +0 -0
  755. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  756. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  757. package/bower_components/jquery-ui/themes/ui-lightness/images/animated-overlay.gif +0 -0
  758. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  759. package/bower_components/jquery-ui/themes/vader/images/animated-overlay.gif +0 -0
  760. package/bower_components/jquery-ui/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  761. package/bower_components/jquery-ui/ui/button.js +0 -411
  762. package/bower_components/jquery-ui/ui/datepicker.js +0 -2084
  763. package/bower_components/jquery-ui/ui/effect-blind.js +0 -90
  764. package/bower_components/jquery-ui/ui/effect-bounce.js +0 -123
  765. package/bower_components/jquery-ui/ui/effect-clip.js +0 -77
  766. package/bower_components/jquery-ui/ui/effect-drop.js +0 -75
  767. package/bower_components/jquery-ui/ui/effect-explode.js +0 -107
  768. package/bower_components/jquery-ui/ui/effect-fade.js +0 -40
  769. package/bower_components/jquery-ui/ui/effect-fold.js +0 -86
  770. package/bower_components/jquery-ui/ui/effect-highlight.js +0 -60
  771. package/bower_components/jquery-ui/ui/effect-puff.js +0 -60
  772. package/bower_components/jquery-ui/ui/effect-pulsate.js +0 -73
  773. package/bower_components/jquery-ui/ui/effect-scale.js +0 -89
  774. package/bower_components/jquery-ui/ui/effect-shake.js +0 -84
  775. package/bower_components/jquery-ui/ui/effect-size.js +0 -233
  776. package/bower_components/jquery-ui/ui/effect-slide.js +0 -74
  777. package/bower_components/jquery-ui/ui/effect-transfer.js +0 -57
  778. package/bower_components/jquery-ui/ui/minified/accordion.min.js +0 -4
  779. package/bower_components/jquery-ui/ui/minified/autocomplete.min.js +0 -4
  780. package/bower_components/jquery-ui/ui/minified/button.min.js +0 -4
  781. package/bower_components/jquery-ui/ui/minified/core.min.js +0 -4
  782. package/bower_components/jquery-ui/ui/minified/datepicker.min.js +0 -5
  783. package/bower_components/jquery-ui/ui/minified/dialog.min.js +0 -4
  784. package/bower_components/jquery-ui/ui/minified/draggable.min.js +0 -4
  785. package/bower_components/jquery-ui/ui/minified/droppable.min.js +0 -4
  786. package/bower_components/jquery-ui/ui/minified/effect-blind.min.js +0 -4
  787. package/bower_components/jquery-ui/ui/minified/effect-bounce.min.js +0 -4
  788. package/bower_components/jquery-ui/ui/minified/effect-clip.min.js +0 -4
  789. package/bower_components/jquery-ui/ui/minified/effect-drop.min.js +0 -4
  790. package/bower_components/jquery-ui/ui/minified/effect-explode.min.js +0 -4
  791. package/bower_components/jquery-ui/ui/minified/effect-fade.min.js +0 -4
  792. package/bower_components/jquery-ui/ui/minified/effect-fold.min.js +0 -4
  793. package/bower_components/jquery-ui/ui/minified/effect-highlight.min.js +0 -4
  794. package/bower_components/jquery-ui/ui/minified/effect-puff.min.js +0 -4
  795. package/bower_components/jquery-ui/ui/minified/effect-pulsate.min.js +0 -4
  796. package/bower_components/jquery-ui/ui/minified/effect-scale.min.js +0 -4
  797. package/bower_components/jquery-ui/ui/minified/effect-shake.min.js +0 -4
  798. package/bower_components/jquery-ui/ui/minified/effect-size.min.js +0 -4
  799. package/bower_components/jquery-ui/ui/minified/effect-slide.min.js +0 -4
  800. package/bower_components/jquery-ui/ui/minified/effect-transfer.min.js +0 -4
  801. package/bower_components/jquery-ui/ui/minified/effect.min.js +0 -4
  802. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-af.min.js +0 -4
  803. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.min.js +0 -4
  804. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar.min.js +0 -4
  805. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-az.min.js +0 -4
  806. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-be.min.js +0 -4
  807. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-bg.min.js +0 -4
  808. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-bs.min.js +0 -4
  809. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ca.min.js +0 -4
  810. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-cs.min.js +0 -4
  811. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.min.js +0 -4
  812. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-da.min.js +0 -4
  813. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-de.min.js +0 -4
  814. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-el.min.js +0 -4
  815. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-AU.min.js +0 -4
  816. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-GB.min.js +0 -4
  817. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.min.js +0 -4
  818. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-eo.min.js +0 -4
  819. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-es.min.js +0 -4
  820. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-et.min.js +0 -4
  821. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-eu.min.js +0 -4
  822. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fa.min.js +0 -4
  823. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fi.min.js +0 -4
  824. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fo.min.js +0 -4
  825. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.min.js +0 -4
  826. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.min.js +0 -4
  827. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr.min.js +0 -4
  828. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-gl.min.js +0 -4
  829. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-he.min.js +0 -4
  830. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hi.min.js +0 -4
  831. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hr.min.js +0 -4
  832. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hu.min.js +0 -4
  833. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hy.min.js +0 -4
  834. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-id.min.js +0 -4
  835. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-is.min.js +0 -4
  836. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-it-CH.min.js +0 -4
  837. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-it.min.js +0 -4
  838. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ja.min.js +0 -4
  839. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ka.min.js +0 -4
  840. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-kk.min.js +0 -4
  841. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-km.min.js +0 -4
  842. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ko.min.js +0 -4
  843. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ky.min.js +0 -4
  844. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lb.min.js +0 -4
  845. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lt.min.js +0 -4
  846. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lv.min.js +0 -4
  847. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-mk.min.js +0 -4
  848. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ml.min.js +0 -4
  849. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ms.min.js +0 -4
  850. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nb.min.js +0 -4
  851. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.min.js +0 -4
  852. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl.min.js +0 -4
  853. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nn.min.js +0 -4
  854. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-no.min.js +0 -4
  855. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pl.min.js +0 -4
  856. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.min.js +0 -4
  857. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt.min.js +0 -4
  858. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-rm.min.js +0 -4
  859. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ro.min.js +0 -4
  860. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ru.min.js +0 -4
  861. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sk.min.js +0 -4
  862. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sl.min.js +0 -4
  863. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sq.min.js +0 -4
  864. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.min.js +0 -4
  865. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr.min.js +0 -4
  866. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sv.min.js +0 -4
  867. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ta.min.js +0 -4
  868. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-th.min.js +0 -4
  869. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-tj.min.js +0 -4
  870. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-tr.min.js +0 -4
  871. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-uk.min.js +0 -4
  872. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-vi.min.js +0 -4
  873. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.min.js +0 -4
  874. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.min.js +0 -4
  875. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.min.js +0 -4
  876. package/bower_components/jquery-ui/ui/minified/menu.min.js +0 -4
  877. package/bower_components/jquery-ui/ui/minified/mouse.min.js +0 -4
  878. package/bower_components/jquery-ui/ui/minified/position.min.js +0 -4
  879. package/bower_components/jquery-ui/ui/minified/progressbar.min.js +0 -4
  880. package/bower_components/jquery-ui/ui/minified/resizable.min.js +0 -4
  881. package/bower_components/jquery-ui/ui/minified/selectable.min.js +0 -4
  882. package/bower_components/jquery-ui/ui/minified/selectmenu.min.js +0 -4
  883. package/bower_components/jquery-ui/ui/minified/slider.min.js +0 -4
  884. package/bower_components/jquery-ui/ui/minified/sortable.min.js +0 -4
  885. package/bower_components/jquery-ui/ui/minified/spinner.min.js +0 -4
  886. package/bower_components/jquery-ui/ui/minified/tabs.min.js +0 -4
  887. package/bower_components/jquery-ui/ui/minified/tooltip.min.js +0 -4
  888. package/bower_components/jquery-ui/ui/minified/widget.min.js +0 -4
  889. package/bower_components/jquery-ui/ui/mouse.js +0 -199
  890. package/bower_components/jquery-ui/ui/selectable.js +0 -287
  891. package/bower_components/jquery-ui/ui/sortable.js +0 -1315
@@ -0,0 +1,1554 @@
1
+ /*!
2
+ * jQuery UI Sortable 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: Sortable
11
+ //>>group: Interactions
12
+ //>>description: Enables items in a list to be sorted using the mouse.
13
+ //>>docs: http://api.jqueryui.com/sortable/
14
+ //>>demos: http://jqueryui.com/sortable/
15
+ //>>css.structure: ../../themes/base/sortable.css
16
+
17
+ ( function( factory ) {
18
+ if ( typeof define === "function" && define.amd ) {
19
+
20
+ // AMD. Register as an anonymous module.
21
+ define( [
22
+ "jquery",
23
+ "./mouse",
24
+ "../data",
25
+ "../ie",
26
+ "../scroll-parent",
27
+ "../version",
28
+ "../widget"
29
+ ], factory );
30
+ } else {
31
+
32
+ // Browser globals
33
+ factory( jQuery );
34
+ }
35
+ }( function( $ ) {
36
+
37
+ return $.widget( "ui.sortable", $.ui.mouse, {
38
+ version: "1.12.1",
39
+ widgetEventPrefix: "sort",
40
+ ready: false,
41
+ options: {
42
+ appendTo: "parent",
43
+ axis: false,
44
+ connectWith: false,
45
+ containment: false,
46
+ cursor: "auto",
47
+ cursorAt: false,
48
+ dropOnEmpty: true,
49
+ forcePlaceholderSize: false,
50
+ forceHelperSize: false,
51
+ grid: false,
52
+ handle: false,
53
+ helper: "original",
54
+ items: "> *",
55
+ opacity: false,
56
+ placeholder: false,
57
+ revert: false,
58
+ scroll: true,
59
+ scrollSensitivity: 20,
60
+ scrollSpeed: 20,
61
+ scope: "default",
62
+ tolerance: "intersect",
63
+ zIndex: 1000,
64
+
65
+ // Callbacks
66
+ activate: null,
67
+ beforeStop: null,
68
+ change: null,
69
+ deactivate: null,
70
+ out: null,
71
+ over: null,
72
+ receive: null,
73
+ remove: null,
74
+ sort: null,
75
+ start: null,
76
+ stop: null,
77
+ update: null
78
+ },
79
+
80
+ _isOverAxis: function( x, reference, size ) {
81
+ return ( x >= reference ) && ( x < ( reference + size ) );
82
+ },
83
+
84
+ _isFloating: function( item ) {
85
+ return ( /left|right/ ).test( item.css( "float" ) ) ||
86
+ ( /inline|table-cell/ ).test( item.css( "display" ) );
87
+ },
88
+
89
+ _create: function() {
90
+ this.containerCache = {};
91
+ this._addClass( "ui-sortable" );
92
+
93
+ //Get the items
94
+ this.refresh();
95
+
96
+ //Let's determine the parent's offset
97
+ this.offset = this.element.offset();
98
+
99
+ //Initialize mouse events for interaction
100
+ this._mouseInit();
101
+
102
+ this._setHandleClassName();
103
+
104
+ //We're ready to go
105
+ this.ready = true;
106
+
107
+ },
108
+
109
+ _setOption: function( key, value ) {
110
+ this._super( key, value );
111
+
112
+ if ( key === "handle" ) {
113
+ this._setHandleClassName();
114
+ }
115
+ },
116
+
117
+ _setHandleClassName: function() {
118
+ var that = this;
119
+ this._removeClass( this.element.find( ".ui-sortable-handle" ), "ui-sortable-handle" );
120
+ $.each( this.items, function() {
121
+ that._addClass(
122
+ this.instance.options.handle ?
123
+ this.item.find( this.instance.options.handle ) :
124
+ this.item,
125
+ "ui-sortable-handle"
126
+ );
127
+ } );
128
+ },
129
+
130
+ _destroy: function() {
131
+ this._mouseDestroy();
132
+
133
+ for ( var i = this.items.length - 1; i >= 0; i-- ) {
134
+ this.items[ i ].item.removeData( this.widgetName + "-item" );
135
+ }
136
+
137
+ return this;
138
+ },
139
+
140
+ _mouseCapture: function( event, overrideHandle ) {
141
+ var currentItem = null,
142
+ validHandle = false,
143
+ that = this;
144
+
145
+ if ( this.reverting ) {
146
+ return false;
147
+ }
148
+
149
+ if ( this.options.disabled || this.options.type === "static" ) {
150
+ return false;
151
+ }
152
+
153
+ //We have to refresh the items data once first
154
+ this._refreshItems( event );
155
+
156
+ //Find out if the clicked node (or one of its parents) is a actual item in this.items
157
+ $( event.target ).parents().each( function() {
158
+ if ( $.data( this, that.widgetName + "-item" ) === that ) {
159
+ currentItem = $( this );
160
+ return false;
161
+ }
162
+ } );
163
+ if ( $.data( event.target, that.widgetName + "-item" ) === that ) {
164
+ currentItem = $( event.target );
165
+ }
166
+
167
+ if ( !currentItem ) {
168
+ return false;
169
+ }
170
+ if ( this.options.handle && !overrideHandle ) {
171
+ $( this.options.handle, currentItem ).find( "*" ).addBack().each( function() {
172
+ if ( this === event.target ) {
173
+ validHandle = true;
174
+ }
175
+ } );
176
+ if ( !validHandle ) {
177
+ return false;
178
+ }
179
+ }
180
+
181
+ this.currentItem = currentItem;
182
+ this._removeCurrentsFromItems();
183
+ return true;
184
+
185
+ },
186
+
187
+ _mouseStart: function( event, overrideHandle, noActivation ) {
188
+
189
+ var i, body,
190
+ o = this.options;
191
+
192
+ this.currentContainer = this;
193
+
194
+ //We only need to call refreshPositions, because the refreshItems call has been moved to
195
+ // mouseCapture
196
+ this.refreshPositions();
197
+
198
+ //Create and append the visible helper
199
+ this.helper = this._createHelper( event );
200
+
201
+ //Cache the helper size
202
+ this._cacheHelperProportions();
203
+
204
+ /*
205
+ * - Position generation -
206
+ * This block generates everything position related - it's the core of draggables.
207
+ */
208
+
209
+ //Cache the margins of the original element
210
+ this._cacheMargins();
211
+
212
+ //Get the next scrolling parent
213
+ this.scrollParent = this.helper.scrollParent();
214
+
215
+ //The element's absolute position on the page minus margins
216
+ this.offset = this.currentItem.offset();
217
+ this.offset = {
218
+ top: this.offset.top - this.margins.top,
219
+ left: this.offset.left - this.margins.left
220
+ };
221
+
222
+ $.extend( this.offset, {
223
+ click: { //Where the click happened, relative to the element
224
+ left: event.pageX - this.offset.left,
225
+ top: event.pageY - this.offset.top
226
+ },
227
+ parent: this._getParentOffset(),
228
+
229
+ // This is a relative to absolute position minus the actual position calculation -
230
+ // only used for relative positioned helper
231
+ relative: this._getRelativeOffset()
232
+ } );
233
+
234
+ // Only after we got the offset, we can change the helper's position to absolute
235
+ // TODO: Still need to figure out a way to make relative sorting possible
236
+ this.helper.css( "position", "absolute" );
237
+ this.cssPosition = this.helper.css( "position" );
238
+
239
+ //Generate the original position
240
+ this.originalPosition = this._generatePosition( event );
241
+ this.originalPageX = event.pageX;
242
+ this.originalPageY = event.pageY;
243
+
244
+ //Adjust the mouse offset relative to the helper if "cursorAt" is supplied
245
+ ( o.cursorAt && this._adjustOffsetFromHelper( o.cursorAt ) );
246
+
247
+ //Cache the former DOM position
248
+ this.domPosition = {
249
+ prev: this.currentItem.prev()[ 0 ],
250
+ parent: this.currentItem.parent()[ 0 ]
251
+ };
252
+
253
+ // If the helper is not the original, hide the original so it's not playing any role during
254
+ // the drag, won't cause anything bad this way
255
+ if ( this.helper[ 0 ] !== this.currentItem[ 0 ] ) {
256
+ this.currentItem.hide();
257
+ }
258
+
259
+ //Create the placeholder
260
+ this._createPlaceholder();
261
+
262
+ //Set a containment if given in the options
263
+ if ( o.containment ) {
264
+ this._setContainment();
265
+ }
266
+
267
+ if ( o.cursor && o.cursor !== "auto" ) { // cursor option
268
+ body = this.document.find( "body" );
269
+
270
+ // Support: IE
271
+ this.storedCursor = body.css( "cursor" );
272
+ body.css( "cursor", o.cursor );
273
+
274
+ this.storedStylesheet =
275
+ $( "<style>*{ cursor: " + o.cursor + " !important; }</style>" ).appendTo( body );
276
+ }
277
+
278
+ if ( o.opacity ) { // opacity option
279
+ if ( this.helper.css( "opacity" ) ) {
280
+ this._storedOpacity = this.helper.css( "opacity" );
281
+ }
282
+ this.helper.css( "opacity", o.opacity );
283
+ }
284
+
285
+ if ( o.zIndex ) { // zIndex option
286
+ if ( this.helper.css( "zIndex" ) ) {
287
+ this._storedZIndex = this.helper.css( "zIndex" );
288
+ }
289
+ this.helper.css( "zIndex", o.zIndex );
290
+ }
291
+
292
+ //Prepare scrolling
293
+ if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
294
+ this.scrollParent[ 0 ].tagName !== "HTML" ) {
295
+ this.overflowOffset = this.scrollParent.offset();
296
+ }
297
+
298
+ //Call callbacks
299
+ this._trigger( "start", event, this._uiHash() );
300
+
301
+ //Recache the helper size
302
+ if ( !this._preserveHelperProportions ) {
303
+ this._cacheHelperProportions();
304
+ }
305
+
306
+ //Post "activate" events to possible containers
307
+ if ( !noActivation ) {
308
+ for ( i = this.containers.length - 1; i >= 0; i-- ) {
309
+ this.containers[ i ]._trigger( "activate", event, this._uiHash( this ) );
310
+ }
311
+ }
312
+
313
+ //Prepare possible droppables
314
+ if ( $.ui.ddmanager ) {
315
+ $.ui.ddmanager.current = this;
316
+ }
317
+
318
+ if ( $.ui.ddmanager && !o.dropBehaviour ) {
319
+ $.ui.ddmanager.prepareOffsets( this, event );
320
+ }
321
+
322
+ this.dragging = true;
323
+
324
+ this._addClass( this.helper, "ui-sortable-helper" );
325
+
326
+ // Execute the drag once - this causes the helper not to be visiblebefore getting its
327
+ // correct position
328
+ this._mouseDrag( event );
329
+ return true;
330
+
331
+ },
332
+
333
+ _mouseDrag: function( event ) {
334
+ var i, item, itemElement, intersection,
335
+ o = this.options,
336
+ scrolled = false;
337
+
338
+ //Compute the helpers position
339
+ this.position = this._generatePosition( event );
340
+ this.positionAbs = this._convertPositionTo( "absolute" );
341
+
342
+ if ( !this.lastPositionAbs ) {
343
+ this.lastPositionAbs = this.positionAbs;
344
+ }
345
+
346
+ //Do scrolling
347
+ if ( this.options.scroll ) {
348
+ if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
349
+ this.scrollParent[ 0 ].tagName !== "HTML" ) {
350
+
351
+ if ( ( this.overflowOffset.top + this.scrollParent[ 0 ].offsetHeight ) -
352
+ event.pageY < o.scrollSensitivity ) {
353
+ this.scrollParent[ 0 ].scrollTop =
354
+ scrolled = this.scrollParent[ 0 ].scrollTop + o.scrollSpeed;
355
+ } else if ( event.pageY - this.overflowOffset.top < o.scrollSensitivity ) {
356
+ this.scrollParent[ 0 ].scrollTop =
357
+ scrolled = this.scrollParent[ 0 ].scrollTop - o.scrollSpeed;
358
+ }
359
+
360
+ if ( ( this.overflowOffset.left + this.scrollParent[ 0 ].offsetWidth ) -
361
+ event.pageX < o.scrollSensitivity ) {
362
+ this.scrollParent[ 0 ].scrollLeft = scrolled =
363
+ this.scrollParent[ 0 ].scrollLeft + o.scrollSpeed;
364
+ } else if ( event.pageX - this.overflowOffset.left < o.scrollSensitivity ) {
365
+ this.scrollParent[ 0 ].scrollLeft = scrolled =
366
+ this.scrollParent[ 0 ].scrollLeft - o.scrollSpeed;
367
+ }
368
+
369
+ } else {
370
+
371
+ if ( event.pageY - this.document.scrollTop() < o.scrollSensitivity ) {
372
+ scrolled = this.document.scrollTop( this.document.scrollTop() - o.scrollSpeed );
373
+ } else if ( this.window.height() - ( event.pageY - this.document.scrollTop() ) <
374
+ o.scrollSensitivity ) {
375
+ scrolled = this.document.scrollTop( this.document.scrollTop() + o.scrollSpeed );
376
+ }
377
+
378
+ if ( event.pageX - this.document.scrollLeft() < o.scrollSensitivity ) {
379
+ scrolled = this.document.scrollLeft(
380
+ this.document.scrollLeft() - o.scrollSpeed
381
+ );
382
+ } else if ( this.window.width() - ( event.pageX - this.document.scrollLeft() ) <
383
+ o.scrollSensitivity ) {
384
+ scrolled = this.document.scrollLeft(
385
+ this.document.scrollLeft() + o.scrollSpeed
386
+ );
387
+ }
388
+
389
+ }
390
+
391
+ if ( scrolled !== false && $.ui.ddmanager && !o.dropBehaviour ) {
392
+ $.ui.ddmanager.prepareOffsets( this, event );
393
+ }
394
+ }
395
+
396
+ //Regenerate the absolute position used for position checks
397
+ this.positionAbs = this._convertPositionTo( "absolute" );
398
+
399
+ //Set the helper position
400
+ if ( !this.options.axis || this.options.axis !== "y" ) {
401
+ this.helper[ 0 ].style.left = this.position.left + "px";
402
+ }
403
+ if ( !this.options.axis || this.options.axis !== "x" ) {
404
+ this.helper[ 0 ].style.top = this.position.top + "px";
405
+ }
406
+
407
+ //Rearrange
408
+ for ( i = this.items.length - 1; i >= 0; i-- ) {
409
+
410
+ //Cache variables and intersection, continue if no intersection
411
+ item = this.items[ i ];
412
+ itemElement = item.item[ 0 ];
413
+ intersection = this._intersectsWithPointer( item );
414
+ if ( !intersection ) {
415
+ continue;
416
+ }
417
+
418
+ // Only put the placeholder inside the current Container, skip all
419
+ // items from other containers. This works because when moving
420
+ // an item from one container to another the
421
+ // currentContainer is switched before the placeholder is moved.
422
+ //
423
+ // Without this, moving items in "sub-sortables" can cause
424
+ // the placeholder to jitter between the outer and inner container.
425
+ if ( item.instance !== this.currentContainer ) {
426
+ continue;
427
+ }
428
+
429
+ // Cannot intersect with itself
430
+ // no useless actions that have been done before
431
+ // no action if the item moved is the parent of the item checked
432
+ if ( itemElement !== this.currentItem[ 0 ] &&
433
+ this.placeholder[ intersection === 1 ? "next" : "prev" ]()[ 0 ] !== itemElement &&
434
+ !$.contains( this.placeholder[ 0 ], itemElement ) &&
435
+ ( this.options.type === "semi-dynamic" ?
436
+ !$.contains( this.element[ 0 ], itemElement ) :
437
+ true
438
+ )
439
+ ) {
440
+
441
+ this.direction = intersection === 1 ? "down" : "up";
442
+
443
+ if ( this.options.tolerance === "pointer" || this._intersectsWithSides( item ) ) {
444
+ this._rearrange( event, item );
445
+ } else {
446
+ break;
447
+ }
448
+
449
+ this._trigger( "change", event, this._uiHash() );
450
+ break;
451
+ }
452
+ }
453
+
454
+ //Post events to containers
455
+ this._contactContainers( event );
456
+
457
+ //Interconnect with droppables
458
+ if ( $.ui.ddmanager ) {
459
+ $.ui.ddmanager.drag( this, event );
460
+ }
461
+
462
+ //Call callbacks
463
+ this._trigger( "sort", event, this._uiHash() );
464
+
465
+ this.lastPositionAbs = this.positionAbs;
466
+ return false;
467
+
468
+ },
469
+
470
+ _mouseStop: function( event, noPropagation ) {
471
+
472
+ if ( !event ) {
473
+ return;
474
+ }
475
+
476
+ //If we are using droppables, inform the manager about the drop
477
+ if ( $.ui.ddmanager && !this.options.dropBehaviour ) {
478
+ $.ui.ddmanager.drop( this, event );
479
+ }
480
+
481
+ if ( this.options.revert ) {
482
+ var that = this,
483
+ cur = this.placeholder.offset(),
484
+ axis = this.options.axis,
485
+ animation = {};
486
+
487
+ if ( !axis || axis === "x" ) {
488
+ animation.left = cur.left - this.offset.parent.left - this.margins.left +
489
+ ( this.offsetParent[ 0 ] === this.document[ 0 ].body ?
490
+ 0 :
491
+ this.offsetParent[ 0 ].scrollLeft
492
+ );
493
+ }
494
+ if ( !axis || axis === "y" ) {
495
+ animation.top = cur.top - this.offset.parent.top - this.margins.top +
496
+ ( this.offsetParent[ 0 ] === this.document[ 0 ].body ?
497
+ 0 :
498
+ this.offsetParent[ 0 ].scrollTop
499
+ );
500
+ }
501
+ this.reverting = true;
502
+ $( this.helper ).animate(
503
+ animation,
504
+ parseInt( this.options.revert, 10 ) || 500,
505
+ function() {
506
+ that._clear( event );
507
+ }
508
+ );
509
+ } else {
510
+ this._clear( event, noPropagation );
511
+ }
512
+
513
+ return false;
514
+
515
+ },
516
+
517
+ cancel: function() {
518
+
519
+ if ( this.dragging ) {
520
+
521
+ this._mouseUp( new $.Event( "mouseup", { target: null } ) );
522
+
523
+ if ( this.options.helper === "original" ) {
524
+ this.currentItem.css( this._storedCSS );
525
+ this._removeClass( this.currentItem, "ui-sortable-helper" );
526
+ } else {
527
+ this.currentItem.show();
528
+ }
529
+
530
+ //Post deactivating events to containers
531
+ for ( var i = this.containers.length - 1; i >= 0; i-- ) {
532
+ this.containers[ i ]._trigger( "deactivate", null, this._uiHash( this ) );
533
+ if ( this.containers[ i ].containerCache.over ) {
534
+ this.containers[ i ]._trigger( "out", null, this._uiHash( this ) );
535
+ this.containers[ i ].containerCache.over = 0;
536
+ }
537
+ }
538
+
539
+ }
540
+
541
+ if ( this.placeholder ) {
542
+
543
+ //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately,
544
+ // it unbinds ALL events from the original node!
545
+ if ( this.placeholder[ 0 ].parentNode ) {
546
+ this.placeholder[ 0 ].parentNode.removeChild( this.placeholder[ 0 ] );
547
+ }
548
+ if ( this.options.helper !== "original" && this.helper &&
549
+ this.helper[ 0 ].parentNode ) {
550
+ this.helper.remove();
551
+ }
552
+
553
+ $.extend( this, {
554
+ helper: null,
555
+ dragging: false,
556
+ reverting: false,
557
+ _noFinalSort: null
558
+ } );
559
+
560
+ if ( this.domPosition.prev ) {
561
+ $( this.domPosition.prev ).after( this.currentItem );
562
+ } else {
563
+ $( this.domPosition.parent ).prepend( this.currentItem );
564
+ }
565
+ }
566
+
567
+ return this;
568
+
569
+ },
570
+
571
+ serialize: function( o ) {
572
+
573
+ var items = this._getItemsAsjQuery( o && o.connected ),
574
+ str = [];
575
+ o = o || {};
576
+
577
+ $( items ).each( function() {
578
+ var res = ( $( o.item || this ).attr( o.attribute || "id" ) || "" )
579
+ .match( o.expression || ( /(.+)[\-=_](.+)/ ) );
580
+ if ( res ) {
581
+ str.push(
582
+ ( o.key || res[ 1 ] + "[]" ) +
583
+ "=" + ( o.key && o.expression ? res[ 1 ] : res[ 2 ] ) );
584
+ }
585
+ } );
586
+
587
+ if ( !str.length && o.key ) {
588
+ str.push( o.key + "=" );
589
+ }
590
+
591
+ return str.join( "&" );
592
+
593
+ },
594
+
595
+ toArray: function( o ) {
596
+
597
+ var items = this._getItemsAsjQuery( o && o.connected ),
598
+ ret = [];
599
+
600
+ o = o || {};
601
+
602
+ items.each( function() {
603
+ ret.push( $( o.item || this ).attr( o.attribute || "id" ) || "" );
604
+ } );
605
+ return ret;
606
+
607
+ },
608
+
609
+ /* Be careful with the following core functions */
610
+ _intersectsWith: function( item ) {
611
+
612
+ var x1 = this.positionAbs.left,
613
+ x2 = x1 + this.helperProportions.width,
614
+ y1 = this.positionAbs.top,
615
+ y2 = y1 + this.helperProportions.height,
616
+ l = item.left,
617
+ r = l + item.width,
618
+ t = item.top,
619
+ b = t + item.height,
620
+ dyClick = this.offset.click.top,
621
+ dxClick = this.offset.click.left,
622
+ isOverElementHeight = ( this.options.axis === "x" ) || ( ( y1 + dyClick ) > t &&
623
+ ( y1 + dyClick ) < b ),
624
+ isOverElementWidth = ( this.options.axis === "y" ) || ( ( x1 + dxClick ) > l &&
625
+ ( x1 + dxClick ) < r ),
626
+ isOverElement = isOverElementHeight && isOverElementWidth;
627
+
628
+ if ( this.options.tolerance === "pointer" ||
629
+ this.options.forcePointerForContainers ||
630
+ ( this.options.tolerance !== "pointer" &&
631
+ this.helperProportions[ this.floating ? "width" : "height" ] >
632
+ item[ this.floating ? "width" : "height" ] )
633
+ ) {
634
+ return isOverElement;
635
+ } else {
636
+
637
+ return ( l < x1 + ( this.helperProportions.width / 2 ) && // Right Half
638
+ x2 - ( this.helperProportions.width / 2 ) < r && // Left Half
639
+ t < y1 + ( this.helperProportions.height / 2 ) && // Bottom Half
640
+ y2 - ( this.helperProportions.height / 2 ) < b ); // Top Half
641
+
642
+ }
643
+ },
644
+
645
+ _intersectsWithPointer: function( item ) {
646
+ var verticalDirection, horizontalDirection,
647
+ isOverElementHeight = ( this.options.axis === "x" ) ||
648
+ this._isOverAxis(
649
+ this.positionAbs.top + this.offset.click.top, item.top, item.height ),
650
+ isOverElementWidth = ( this.options.axis === "y" ) ||
651
+ this._isOverAxis(
652
+ this.positionAbs.left + this.offset.click.left, item.left, item.width ),
653
+ isOverElement = isOverElementHeight && isOverElementWidth;
654
+
655
+ if ( !isOverElement ) {
656
+ return false;
657
+ }
658
+
659
+ verticalDirection = this._getDragVerticalDirection();
660
+ horizontalDirection = this._getDragHorizontalDirection();
661
+
662
+ return this.floating ?
663
+ ( ( horizontalDirection === "right" || verticalDirection === "down" ) ? 2 : 1 )
664
+ : ( verticalDirection && ( verticalDirection === "down" ? 2 : 1 ) );
665
+
666
+ },
667
+
668
+ _intersectsWithSides: function( item ) {
669
+
670
+ var isOverBottomHalf = this._isOverAxis( this.positionAbs.top +
671
+ this.offset.click.top, item.top + ( item.height / 2 ), item.height ),
672
+ isOverRightHalf = this._isOverAxis( this.positionAbs.left +
673
+ this.offset.click.left, item.left + ( item.width / 2 ), item.width ),
674
+ verticalDirection = this._getDragVerticalDirection(),
675
+ horizontalDirection = this._getDragHorizontalDirection();
676
+
677
+ if ( this.floating && horizontalDirection ) {
678
+ return ( ( horizontalDirection === "right" && isOverRightHalf ) ||
679
+ ( horizontalDirection === "left" && !isOverRightHalf ) );
680
+ } else {
681
+ return verticalDirection && ( ( verticalDirection === "down" && isOverBottomHalf ) ||
682
+ ( verticalDirection === "up" && !isOverBottomHalf ) );
683
+ }
684
+
685
+ },
686
+
687
+ _getDragVerticalDirection: function() {
688
+ var delta = this.positionAbs.top - this.lastPositionAbs.top;
689
+ return delta !== 0 && ( delta > 0 ? "down" : "up" );
690
+ },
691
+
692
+ _getDragHorizontalDirection: function() {
693
+ var delta = this.positionAbs.left - this.lastPositionAbs.left;
694
+ return delta !== 0 && ( delta > 0 ? "right" : "left" );
695
+ },
696
+
697
+ refresh: function( event ) {
698
+ this._refreshItems( event );
699
+ this._setHandleClassName();
700
+ this.refreshPositions();
701
+ return this;
702
+ },
703
+
704
+ _connectWith: function() {
705
+ var options = this.options;
706
+ return options.connectWith.constructor === String ?
707
+ [ options.connectWith ] :
708
+ options.connectWith;
709
+ },
710
+
711
+ _getItemsAsjQuery: function( connected ) {
712
+
713
+ var i, j, cur, inst,
714
+ items = [],
715
+ queries = [],
716
+ connectWith = this._connectWith();
717
+
718
+ if ( connectWith && connected ) {
719
+ for ( i = connectWith.length - 1; i >= 0; i-- ) {
720
+ cur = $( connectWith[ i ], this.document[ 0 ] );
721
+ for ( j = cur.length - 1; j >= 0; j-- ) {
722
+ inst = $.data( cur[ j ], this.widgetFullName );
723
+ if ( inst && inst !== this && !inst.options.disabled ) {
724
+ queries.push( [ $.isFunction( inst.options.items ) ?
725
+ inst.options.items.call( inst.element ) :
726
+ $( inst.options.items, inst.element )
727
+ .not( ".ui-sortable-helper" )
728
+ .not( ".ui-sortable-placeholder" ), inst ] );
729
+ }
730
+ }
731
+ }
732
+ }
733
+
734
+ queries.push( [ $.isFunction( this.options.items ) ?
735
+ this.options.items
736
+ .call( this.element, null, { options: this.options, item: this.currentItem } ) :
737
+ $( this.options.items, this.element )
738
+ .not( ".ui-sortable-helper" )
739
+ .not( ".ui-sortable-placeholder" ), this ] );
740
+
741
+ function addItems() {
742
+ items.push( this );
743
+ }
744
+ for ( i = queries.length - 1; i >= 0; i-- ) {
745
+ queries[ i ][ 0 ].each( addItems );
746
+ }
747
+
748
+ return $( items );
749
+
750
+ },
751
+
752
+ _removeCurrentsFromItems: function() {
753
+
754
+ var list = this.currentItem.find( ":data(" + this.widgetName + "-item)" );
755
+
756
+ this.items = $.grep( this.items, function( item ) {
757
+ for ( var j = 0; j < list.length; j++ ) {
758
+ if ( list[ j ] === item.item[ 0 ] ) {
759
+ return false;
760
+ }
761
+ }
762
+ return true;
763
+ } );
764
+
765
+ },
766
+
767
+ _refreshItems: function( event ) {
768
+
769
+ this.items = [];
770
+ this.containers = [ this ];
771
+
772
+ var i, j, cur, inst, targetData, _queries, item, queriesLength,
773
+ items = this.items,
774
+ queries = [ [ $.isFunction( this.options.items ) ?
775
+ this.options.items.call( this.element[ 0 ], event, { item: this.currentItem } ) :
776
+ $( this.options.items, this.element ), this ] ],
777
+ connectWith = this._connectWith();
778
+
779
+ //Shouldn't be run the first time through due to massive slow-down
780
+ if ( connectWith && this.ready ) {
781
+ for ( i = connectWith.length - 1; i >= 0; i-- ) {
782
+ cur = $( connectWith[ i ], this.document[ 0 ] );
783
+ for ( j = cur.length - 1; j >= 0; j-- ) {
784
+ inst = $.data( cur[ j ], this.widgetFullName );
785
+ if ( inst && inst !== this && !inst.options.disabled ) {
786
+ queries.push( [ $.isFunction( inst.options.items ) ?
787
+ inst.options.items
788
+ .call( inst.element[ 0 ], event, { item: this.currentItem } ) :
789
+ $( inst.options.items, inst.element ), inst ] );
790
+ this.containers.push( inst );
791
+ }
792
+ }
793
+ }
794
+ }
795
+
796
+ for ( i = queries.length - 1; i >= 0; i-- ) {
797
+ targetData = queries[ i ][ 1 ];
798
+ _queries = queries[ i ][ 0 ];
799
+
800
+ for ( j = 0, queriesLength = _queries.length; j < queriesLength; j++ ) {
801
+ item = $( _queries[ j ] );
802
+
803
+ // Data for target checking (mouse manager)
804
+ item.data( this.widgetName + "-item", targetData );
805
+
806
+ items.push( {
807
+ item: item,
808
+ instance: targetData,
809
+ width: 0, height: 0,
810
+ left: 0, top: 0
811
+ } );
812
+ }
813
+ }
814
+
815
+ },
816
+
817
+ refreshPositions: function( fast ) {
818
+
819
+ // Determine whether items are being displayed horizontally
820
+ this.floating = this.items.length ?
821
+ this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :
822
+ false;
823
+
824
+ //This has to be redone because due to the item being moved out/into the offsetParent,
825
+ // the offsetParent's position will change
826
+ if ( this.offsetParent && this.helper ) {
827
+ this.offset.parent = this._getParentOffset();
828
+ }
829
+
830
+ var i, item, t, p;
831
+
832
+ for ( i = this.items.length - 1; i >= 0; i-- ) {
833
+ item = this.items[ i ];
834
+
835
+ //We ignore calculating positions of all connected containers when we're not over them
836
+ if ( item.instance !== this.currentContainer && this.currentContainer &&
837
+ item.item[ 0 ] !== this.currentItem[ 0 ] ) {
838
+ continue;
839
+ }
840
+
841
+ t = this.options.toleranceElement ?
842
+ $( this.options.toleranceElement, item.item ) :
843
+ item.item;
844
+
845
+ if ( !fast ) {
846
+ item.width = t.outerWidth();
847
+ item.height = t.outerHeight();
848
+ }
849
+
850
+ p = t.offset();
851
+ item.left = p.left;
852
+ item.top = p.top;
853
+ }
854
+
855
+ if ( this.options.custom && this.options.custom.refreshContainers ) {
856
+ this.options.custom.refreshContainers.call( this );
857
+ } else {
858
+ for ( i = this.containers.length - 1; i >= 0; i-- ) {
859
+ p = this.containers[ i ].element.offset();
860
+ this.containers[ i ].containerCache.left = p.left;
861
+ this.containers[ i ].containerCache.top = p.top;
862
+ this.containers[ i ].containerCache.width =
863
+ this.containers[ i ].element.outerWidth();
864
+ this.containers[ i ].containerCache.height =
865
+ this.containers[ i ].element.outerHeight();
866
+ }
867
+ }
868
+
869
+ return this;
870
+ },
871
+
872
+ _createPlaceholder: function( that ) {
873
+ that = that || this;
874
+ var className,
875
+ o = that.options;
876
+
877
+ if ( !o.placeholder || o.placeholder.constructor === String ) {
878
+ className = o.placeholder;
879
+ o.placeholder = {
880
+ element: function() {
881
+
882
+ var nodeName = that.currentItem[ 0 ].nodeName.toLowerCase(),
883
+ element = $( "<" + nodeName + ">", that.document[ 0 ] );
884
+
885
+ that._addClass( element, "ui-sortable-placeholder",
886
+ className || that.currentItem[ 0 ].className )
887
+ ._removeClass( element, "ui-sortable-helper" );
888
+
889
+ if ( nodeName === "tbody" ) {
890
+ that._createTrPlaceholder(
891
+ that.currentItem.find( "tr" ).eq( 0 ),
892
+ $( "<tr>", that.document[ 0 ] ).appendTo( element )
893
+ );
894
+ } else if ( nodeName === "tr" ) {
895
+ that._createTrPlaceholder( that.currentItem, element );
896
+ } else if ( nodeName === "img" ) {
897
+ element.attr( "src", that.currentItem.attr( "src" ) );
898
+ }
899
+
900
+ if ( !className ) {
901
+ element.css( "visibility", "hidden" );
902
+ }
903
+
904
+ return element;
905
+ },
906
+ update: function( container, p ) {
907
+
908
+ // 1. If a className is set as 'placeholder option, we don't force sizes -
909
+ // the class is responsible for that
910
+ // 2. The option 'forcePlaceholderSize can be enabled to force it even if a
911
+ // class name is specified
912
+ if ( className && !o.forcePlaceholderSize ) {
913
+ return;
914
+ }
915
+
916
+ //If the element doesn't have a actual height by itself (without styles coming
917
+ // from a stylesheet), it receives the inline height from the dragged item
918
+ if ( !p.height() ) {
919
+ p.height(
920
+ that.currentItem.innerHeight() -
921
+ parseInt( that.currentItem.css( "paddingTop" ) || 0, 10 ) -
922
+ parseInt( that.currentItem.css( "paddingBottom" ) || 0, 10 ) );
923
+ }
924
+ if ( !p.width() ) {
925
+ p.width(
926
+ that.currentItem.innerWidth() -
927
+ parseInt( that.currentItem.css( "paddingLeft" ) || 0, 10 ) -
928
+ parseInt( that.currentItem.css( "paddingRight" ) || 0, 10 ) );
929
+ }
930
+ }
931
+ };
932
+ }
933
+
934
+ //Create the placeholder
935
+ that.placeholder = $( o.placeholder.element.call( that.element, that.currentItem ) );
936
+
937
+ //Append it after the actual current item
938
+ that.currentItem.after( that.placeholder );
939
+
940
+ //Update the size of the placeholder (TODO: Logic to fuzzy, see line 316/317)
941
+ o.placeholder.update( that, that.placeholder );
942
+
943
+ },
944
+
945
+ _createTrPlaceholder: function( sourceTr, targetTr ) {
946
+ var that = this;
947
+
948
+ sourceTr.children().each( function() {
949
+ $( "<td>&#160;</td>", that.document[ 0 ] )
950
+ .attr( "colspan", $( this ).attr( "colspan" ) || 1 )
951
+ .appendTo( targetTr );
952
+ } );
953
+ },
954
+
955
+ _contactContainers: function( event ) {
956
+ var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, cur, nearBottom,
957
+ floating, axis,
958
+ innermostContainer = null,
959
+ innermostIndex = null;
960
+
961
+ // Get innermost container that intersects with item
962
+ for ( i = this.containers.length - 1; i >= 0; i-- ) {
963
+
964
+ // Never consider a container that's located within the item itself
965
+ if ( $.contains( this.currentItem[ 0 ], this.containers[ i ].element[ 0 ] ) ) {
966
+ continue;
967
+ }
968
+
969
+ if ( this._intersectsWith( this.containers[ i ].containerCache ) ) {
970
+
971
+ // If we've already found a container and it's more "inner" than this, then continue
972
+ if ( innermostContainer &&
973
+ $.contains(
974
+ this.containers[ i ].element[ 0 ],
975
+ innermostContainer.element[ 0 ] ) ) {
976
+ continue;
977
+ }
978
+
979
+ innermostContainer = this.containers[ i ];
980
+ innermostIndex = i;
981
+
982
+ } else {
983
+
984
+ // container doesn't intersect. trigger "out" event if necessary
985
+ if ( this.containers[ i ].containerCache.over ) {
986
+ this.containers[ i ]._trigger( "out", event, this._uiHash( this ) );
987
+ this.containers[ i ].containerCache.over = 0;
988
+ }
989
+ }
990
+
991
+ }
992
+
993
+ // If no intersecting containers found, return
994
+ if ( !innermostContainer ) {
995
+ return;
996
+ }
997
+
998
+ // Move the item into the container if it's not there already
999
+ if ( this.containers.length === 1 ) {
1000
+ if ( !this.containers[ innermostIndex ].containerCache.over ) {
1001
+ this.containers[ innermostIndex ]._trigger( "over", event, this._uiHash( this ) );
1002
+ this.containers[ innermostIndex ].containerCache.over = 1;
1003
+ }
1004
+ } else {
1005
+
1006
+ // When entering a new container, we will find the item with the least distance and
1007
+ // append our item near it
1008
+ dist = 10000;
1009
+ itemWithLeastDistance = null;
1010
+ floating = innermostContainer.floating || this._isFloating( this.currentItem );
1011
+ posProperty = floating ? "left" : "top";
1012
+ sizeProperty = floating ? "width" : "height";
1013
+ axis = floating ? "pageX" : "pageY";
1014
+
1015
+ for ( j = this.items.length - 1; j >= 0; j-- ) {
1016
+ if ( !$.contains(
1017
+ this.containers[ innermostIndex ].element[ 0 ], this.items[ j ].item[ 0 ] )
1018
+ ) {
1019
+ continue;
1020
+ }
1021
+ if ( this.items[ j ].item[ 0 ] === this.currentItem[ 0 ] ) {
1022
+ continue;
1023
+ }
1024
+
1025
+ cur = this.items[ j ].item.offset()[ posProperty ];
1026
+ nearBottom = false;
1027
+ if ( event[ axis ] - cur > this.items[ j ][ sizeProperty ] / 2 ) {
1028
+ nearBottom = true;
1029
+ }
1030
+
1031
+ if ( Math.abs( event[ axis ] - cur ) < dist ) {
1032
+ dist = Math.abs( event[ axis ] - cur );
1033
+ itemWithLeastDistance = this.items[ j ];
1034
+ this.direction = nearBottom ? "up" : "down";
1035
+ }
1036
+ }
1037
+
1038
+ //Check if dropOnEmpty is enabled
1039
+ if ( !itemWithLeastDistance && !this.options.dropOnEmpty ) {
1040
+ return;
1041
+ }
1042
+
1043
+ if ( this.currentContainer === this.containers[ innermostIndex ] ) {
1044
+ if ( !this.currentContainer.containerCache.over ) {
1045
+ this.containers[ innermostIndex ]._trigger( "over", event, this._uiHash() );
1046
+ this.currentContainer.containerCache.over = 1;
1047
+ }
1048
+ return;
1049
+ }
1050
+
1051
+ itemWithLeastDistance ?
1052
+ this._rearrange( event, itemWithLeastDistance, null, true ) :
1053
+ this._rearrange( event, null, this.containers[ innermostIndex ].element, true );
1054
+ this._trigger( "change", event, this._uiHash() );
1055
+ this.containers[ innermostIndex ]._trigger( "change", event, this._uiHash( this ) );
1056
+ this.currentContainer = this.containers[ innermostIndex ];
1057
+
1058
+ //Update the placeholder
1059
+ this.options.placeholder.update( this.currentContainer, this.placeholder );
1060
+
1061
+ this.containers[ innermostIndex ]._trigger( "over", event, this._uiHash( this ) );
1062
+ this.containers[ innermostIndex ].containerCache.over = 1;
1063
+ }
1064
+
1065
+ },
1066
+
1067
+ _createHelper: function( event ) {
1068
+
1069
+ var o = this.options,
1070
+ helper = $.isFunction( o.helper ) ?
1071
+ $( o.helper.apply( this.element[ 0 ], [ event, this.currentItem ] ) ) :
1072
+ ( o.helper === "clone" ? this.currentItem.clone() : this.currentItem );
1073
+
1074
+ //Add the helper to the DOM if that didn't happen already
1075
+ if ( !helper.parents( "body" ).length ) {
1076
+ $( o.appendTo !== "parent" ?
1077
+ o.appendTo :
1078
+ this.currentItem[ 0 ].parentNode )[ 0 ].appendChild( helper[ 0 ] );
1079
+ }
1080
+
1081
+ if ( helper[ 0 ] === this.currentItem[ 0 ] ) {
1082
+ this._storedCSS = {
1083
+ width: this.currentItem[ 0 ].style.width,
1084
+ height: this.currentItem[ 0 ].style.height,
1085
+ position: this.currentItem.css( "position" ),
1086
+ top: this.currentItem.css( "top" ),
1087
+ left: this.currentItem.css( "left" )
1088
+ };
1089
+ }
1090
+
1091
+ if ( !helper[ 0 ].style.width || o.forceHelperSize ) {
1092
+ helper.width( this.currentItem.width() );
1093
+ }
1094
+ if ( !helper[ 0 ].style.height || o.forceHelperSize ) {
1095
+ helper.height( this.currentItem.height() );
1096
+ }
1097
+
1098
+ return helper;
1099
+
1100
+ },
1101
+
1102
+ _adjustOffsetFromHelper: function( obj ) {
1103
+ if ( typeof obj === "string" ) {
1104
+ obj = obj.split( " " );
1105
+ }
1106
+ if ( $.isArray( obj ) ) {
1107
+ obj = { left: +obj[ 0 ], top: +obj[ 1 ] || 0 };
1108
+ }
1109
+ if ( "left" in obj ) {
1110
+ this.offset.click.left = obj.left + this.margins.left;
1111
+ }
1112
+ if ( "right" in obj ) {
1113
+ this.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;
1114
+ }
1115
+ if ( "top" in obj ) {
1116
+ this.offset.click.top = obj.top + this.margins.top;
1117
+ }
1118
+ if ( "bottom" in obj ) {
1119
+ this.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;
1120
+ }
1121
+ },
1122
+
1123
+ _getParentOffset: function() {
1124
+
1125
+ //Get the offsetParent and cache its position
1126
+ this.offsetParent = this.helper.offsetParent();
1127
+ var po = this.offsetParent.offset();
1128
+
1129
+ // This is a special case where we need to modify a offset calculated on start, since the
1130
+ // following happened:
1131
+ // 1. The position of the helper is absolute, so it's position is calculated based on the
1132
+ // next positioned parent
1133
+ // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't
1134
+ // the document, which means that the scroll is included in the initial calculation of the
1135
+ // offset of the parent, and never recalculated upon drag
1136
+ if ( this.cssPosition === "absolute" && this.scrollParent[ 0 ] !== this.document[ 0 ] &&
1137
+ $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) {
1138
+ po.left += this.scrollParent.scrollLeft();
1139
+ po.top += this.scrollParent.scrollTop();
1140
+ }
1141
+
1142
+ // This needs to be actually done for all browsers, since pageX/pageY includes this
1143
+ // information with an ugly IE fix
1144
+ if ( this.offsetParent[ 0 ] === this.document[ 0 ].body ||
1145
+ ( this.offsetParent[ 0 ].tagName &&
1146
+ this.offsetParent[ 0 ].tagName.toLowerCase() === "html" && $.ui.ie ) ) {
1147
+ po = { top: 0, left: 0 };
1148
+ }
1149
+
1150
+ return {
1151
+ top: po.top + ( parseInt( this.offsetParent.css( "borderTopWidth" ), 10 ) || 0 ),
1152
+ left: po.left + ( parseInt( this.offsetParent.css( "borderLeftWidth" ), 10 ) || 0 )
1153
+ };
1154
+
1155
+ },
1156
+
1157
+ _getRelativeOffset: function() {
1158
+
1159
+ if ( this.cssPosition === "relative" ) {
1160
+ var p = this.currentItem.position();
1161
+ return {
1162
+ top: p.top - ( parseInt( this.helper.css( "top" ), 10 ) || 0 ) +
1163
+ this.scrollParent.scrollTop(),
1164
+ left: p.left - ( parseInt( this.helper.css( "left" ), 10 ) || 0 ) +
1165
+ this.scrollParent.scrollLeft()
1166
+ };
1167
+ } else {
1168
+ return { top: 0, left: 0 };
1169
+ }
1170
+
1171
+ },
1172
+
1173
+ _cacheMargins: function() {
1174
+ this.margins = {
1175
+ left: ( parseInt( this.currentItem.css( "marginLeft" ), 10 ) || 0 ),
1176
+ top: ( parseInt( this.currentItem.css( "marginTop" ), 10 ) || 0 )
1177
+ };
1178
+ },
1179
+
1180
+ _cacheHelperProportions: function() {
1181
+ this.helperProportions = {
1182
+ width: this.helper.outerWidth(),
1183
+ height: this.helper.outerHeight()
1184
+ };
1185
+ },
1186
+
1187
+ _setContainment: function() {
1188
+
1189
+ var ce, co, over,
1190
+ o = this.options;
1191
+ if ( o.containment === "parent" ) {
1192
+ o.containment = this.helper[ 0 ].parentNode;
1193
+ }
1194
+ if ( o.containment === "document" || o.containment === "window" ) {
1195
+ this.containment = [
1196
+ 0 - this.offset.relative.left - this.offset.parent.left,
1197
+ 0 - this.offset.relative.top - this.offset.parent.top,
1198
+ o.containment === "document" ?
1199
+ this.document.width() :
1200
+ this.window.width() - this.helperProportions.width - this.margins.left,
1201
+ ( o.containment === "document" ?
1202
+ ( this.document.height() || document.body.parentNode.scrollHeight ) :
1203
+ this.window.height() || this.document[ 0 ].body.parentNode.scrollHeight
1204
+ ) - this.helperProportions.height - this.margins.top
1205
+ ];
1206
+ }
1207
+
1208
+ if ( !( /^(document|window|parent)$/ ).test( o.containment ) ) {
1209
+ ce = $( o.containment )[ 0 ];
1210
+ co = $( o.containment ).offset();
1211
+ over = ( $( ce ).css( "overflow" ) !== "hidden" );
1212
+
1213
+ this.containment = [
1214
+ co.left + ( parseInt( $( ce ).css( "borderLeftWidth" ), 10 ) || 0 ) +
1215
+ ( parseInt( $( ce ).css( "paddingLeft" ), 10 ) || 0 ) - this.margins.left,
1216
+ co.top + ( parseInt( $( ce ).css( "borderTopWidth" ), 10 ) || 0 ) +
1217
+ ( parseInt( $( ce ).css( "paddingTop" ), 10 ) || 0 ) - this.margins.top,
1218
+ co.left + ( over ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) -
1219
+ ( parseInt( $( ce ).css( "borderLeftWidth" ), 10 ) || 0 ) -
1220
+ ( parseInt( $( ce ).css( "paddingRight" ), 10 ) || 0 ) -
1221
+ this.helperProportions.width - this.margins.left,
1222
+ co.top + ( over ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) -
1223
+ ( parseInt( $( ce ).css( "borderTopWidth" ), 10 ) || 0 ) -
1224
+ ( parseInt( $( ce ).css( "paddingBottom" ), 10 ) || 0 ) -
1225
+ this.helperProportions.height - this.margins.top
1226
+ ];
1227
+ }
1228
+
1229
+ },
1230
+
1231
+ _convertPositionTo: function( d, pos ) {
1232
+
1233
+ if ( !pos ) {
1234
+ pos = this.position;
1235
+ }
1236
+ var mod = d === "absolute" ? 1 : -1,
1237
+ scroll = this.cssPosition === "absolute" &&
1238
+ !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
1239
+ $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ?
1240
+ this.offsetParent :
1241
+ this.scrollParent,
1242
+ scrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName );
1243
+
1244
+ return {
1245
+ top: (
1246
+
1247
+ // The absolute mouse position
1248
+ pos.top +
1249
+
1250
+ // Only for relative positioned nodes: Relative offset from element to offset parent
1251
+ this.offset.relative.top * mod +
1252
+
1253
+ // The offsetParent's offset without borders (offset + border)
1254
+ this.offset.parent.top * mod -
1255
+ ( ( this.cssPosition === "fixed" ?
1256
+ -this.scrollParent.scrollTop() :
1257
+ ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) * mod )
1258
+ ),
1259
+ left: (
1260
+
1261
+ // The absolute mouse position
1262
+ pos.left +
1263
+
1264
+ // Only for relative positioned nodes: Relative offset from element to offset parent
1265
+ this.offset.relative.left * mod +
1266
+
1267
+ // The offsetParent's offset without borders (offset + border)
1268
+ this.offset.parent.left * mod -
1269
+ ( ( this.cssPosition === "fixed" ?
1270
+ -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 :
1271
+ scroll.scrollLeft() ) * mod )
1272
+ )
1273
+ };
1274
+
1275
+ },
1276
+
1277
+ _generatePosition: function( event ) {
1278
+
1279
+ var top, left,
1280
+ o = this.options,
1281
+ pageX = event.pageX,
1282
+ pageY = event.pageY,
1283
+ scroll = this.cssPosition === "absolute" &&
1284
+ !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
1285
+ $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ?
1286
+ this.offsetParent :
1287
+ this.scrollParent,
1288
+ scrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName );
1289
+
1290
+ // This is another very weird special case that only happens for relative elements:
1291
+ // 1. If the css position is relative
1292
+ // 2. and the scroll parent is the document or similar to the offset parent
1293
+ // we have to refresh the relative offset during the scroll so there are no jumps
1294
+ if ( this.cssPosition === "relative" && !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
1295
+ this.scrollParent[ 0 ] !== this.offsetParent[ 0 ] ) ) {
1296
+ this.offset.relative = this._getRelativeOffset();
1297
+ }
1298
+
1299
+ /*
1300
+ * - Position constraining -
1301
+ * Constrain the position to a mix of grid, containment.
1302
+ */
1303
+
1304
+ if ( this.originalPosition ) { //If we are not dragging yet, we won't check for options
1305
+
1306
+ if ( this.containment ) {
1307
+ if ( event.pageX - this.offset.click.left < this.containment[ 0 ] ) {
1308
+ pageX = this.containment[ 0 ] + this.offset.click.left;
1309
+ }
1310
+ if ( event.pageY - this.offset.click.top < this.containment[ 1 ] ) {
1311
+ pageY = this.containment[ 1 ] + this.offset.click.top;
1312
+ }
1313
+ if ( event.pageX - this.offset.click.left > this.containment[ 2 ] ) {
1314
+ pageX = this.containment[ 2 ] + this.offset.click.left;
1315
+ }
1316
+ if ( event.pageY - this.offset.click.top > this.containment[ 3 ] ) {
1317
+ pageY = this.containment[ 3 ] + this.offset.click.top;
1318
+ }
1319
+ }
1320
+
1321
+ if ( o.grid ) {
1322
+ top = this.originalPageY + Math.round( ( pageY - this.originalPageY ) /
1323
+ o.grid[ 1 ] ) * o.grid[ 1 ];
1324
+ pageY = this.containment ?
1325
+ ( ( top - this.offset.click.top >= this.containment[ 1 ] &&
1326
+ top - this.offset.click.top <= this.containment[ 3 ] ) ?
1327
+ top :
1328
+ ( ( top - this.offset.click.top >= this.containment[ 1 ] ) ?
1329
+ top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) :
1330
+ top;
1331
+
1332
+ left = this.originalPageX + Math.round( ( pageX - this.originalPageX ) /
1333
+ o.grid[ 0 ] ) * o.grid[ 0 ];
1334
+ pageX = this.containment ?
1335
+ ( ( left - this.offset.click.left >= this.containment[ 0 ] &&
1336
+ left - this.offset.click.left <= this.containment[ 2 ] ) ?
1337
+ left :
1338
+ ( ( left - this.offset.click.left >= this.containment[ 0 ] ) ?
1339
+ left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) :
1340
+ left;
1341
+ }
1342
+
1343
+ }
1344
+
1345
+ return {
1346
+ top: (
1347
+
1348
+ // The absolute mouse position
1349
+ pageY -
1350
+
1351
+ // Click offset (relative to the element)
1352
+ this.offset.click.top -
1353
+
1354
+ // Only for relative positioned nodes: Relative offset from element to offset parent
1355
+ this.offset.relative.top -
1356
+
1357
+ // The offsetParent's offset without borders (offset + border)
1358
+ this.offset.parent.top +
1359
+ ( ( this.cssPosition === "fixed" ?
1360
+ -this.scrollParent.scrollTop() :
1361
+ ( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) )
1362
+ ),
1363
+ left: (
1364
+
1365
+ // The absolute mouse position
1366
+ pageX -
1367
+
1368
+ // Click offset (relative to the element)
1369
+ this.offset.click.left -
1370
+
1371
+ // Only for relative positioned nodes: Relative offset from element to offset parent
1372
+ this.offset.relative.left -
1373
+
1374
+ // The offsetParent's offset without borders (offset + border)
1375
+ this.offset.parent.left +
1376
+ ( ( this.cssPosition === "fixed" ?
1377
+ -this.scrollParent.scrollLeft() :
1378
+ scrollIsRootNode ? 0 : scroll.scrollLeft() ) )
1379
+ )
1380
+ };
1381
+
1382
+ },
1383
+
1384
+ _rearrange: function( event, i, a, hardRefresh ) {
1385
+
1386
+ a ? a[ 0 ].appendChild( this.placeholder[ 0 ] ) :
1387
+ i.item[ 0 ].parentNode.insertBefore( this.placeholder[ 0 ],
1388
+ ( this.direction === "down" ? i.item[ 0 ] : i.item[ 0 ].nextSibling ) );
1389
+
1390
+ //Various things done here to improve the performance:
1391
+ // 1. we create a setTimeout, that calls refreshPositions
1392
+ // 2. on the instance, we have a counter variable, that get's higher after every append
1393
+ // 3. on the local scope, we copy the counter variable, and check in the timeout,
1394
+ // if it's still the same
1395
+ // 4. this lets only the last addition to the timeout stack through
1396
+ this.counter = this.counter ? ++this.counter : 1;
1397
+ var counter = this.counter;
1398
+
1399
+ this._delay( function() {
1400
+ if ( counter === this.counter ) {
1401
+
1402
+ //Precompute after each DOM insertion, NOT on mousemove
1403
+ this.refreshPositions( !hardRefresh );
1404
+ }
1405
+ } );
1406
+
1407
+ },
1408
+
1409
+ _clear: function( event, noPropagation ) {
1410
+
1411
+ this.reverting = false;
1412
+
1413
+ // We delay all events that have to be triggered to after the point where the placeholder
1414
+ // has been removed and everything else normalized again
1415
+ var i,
1416
+ delayedTriggers = [];
1417
+
1418
+ // We first have to update the dom position of the actual currentItem
1419
+ // Note: don't do it if the current item is already removed (by a user), or it gets
1420
+ // reappended (see #4088)
1421
+ if ( !this._noFinalSort && this.currentItem.parent().length ) {
1422
+ this.placeholder.before( this.currentItem );
1423
+ }
1424
+ this._noFinalSort = null;
1425
+
1426
+ if ( this.helper[ 0 ] === this.currentItem[ 0 ] ) {
1427
+ for ( i in this._storedCSS ) {
1428
+ if ( this._storedCSS[ i ] === "auto" || this._storedCSS[ i ] === "static" ) {
1429
+ this._storedCSS[ i ] = "";
1430
+ }
1431
+ }
1432
+ this.currentItem.css( this._storedCSS );
1433
+ this._removeClass( this.currentItem, "ui-sortable-helper" );
1434
+ } else {
1435
+ this.currentItem.show();
1436
+ }
1437
+
1438
+ if ( this.fromOutside && !noPropagation ) {
1439
+ delayedTriggers.push( function( event ) {
1440
+ this._trigger( "receive", event, this._uiHash( this.fromOutside ) );
1441
+ } );
1442
+ }
1443
+ if ( ( this.fromOutside ||
1444
+ this.domPosition.prev !==
1445
+ this.currentItem.prev().not( ".ui-sortable-helper" )[ 0 ] ||
1446
+ this.domPosition.parent !== this.currentItem.parent()[ 0 ] ) && !noPropagation ) {
1447
+
1448
+ // Trigger update callback if the DOM position has changed
1449
+ delayedTriggers.push( function( event ) {
1450
+ this._trigger( "update", event, this._uiHash() );
1451
+ } );
1452
+ }
1453
+
1454
+ // Check if the items Container has Changed and trigger appropriate
1455
+ // events.
1456
+ if ( this !== this.currentContainer ) {
1457
+ if ( !noPropagation ) {
1458
+ delayedTriggers.push( function( event ) {
1459
+ this._trigger( "remove", event, this._uiHash() );
1460
+ } );
1461
+ delayedTriggers.push( ( function( c ) {
1462
+ return function( event ) {
1463
+ c._trigger( "receive", event, this._uiHash( this ) );
1464
+ };
1465
+ } ).call( this, this.currentContainer ) );
1466
+ delayedTriggers.push( ( function( c ) {
1467
+ return function( event ) {
1468
+ c._trigger( "update", event, this._uiHash( this ) );
1469
+ };
1470
+ } ).call( this, this.currentContainer ) );
1471
+ }
1472
+ }
1473
+
1474
+ //Post events to containers
1475
+ function delayEvent( type, instance, container ) {
1476
+ return function( event ) {
1477
+ container._trigger( type, event, instance._uiHash( instance ) );
1478
+ };
1479
+ }
1480
+ for ( i = this.containers.length - 1; i >= 0; i-- ) {
1481
+ if ( !noPropagation ) {
1482
+ delayedTriggers.push( delayEvent( "deactivate", this, this.containers[ i ] ) );
1483
+ }
1484
+ if ( this.containers[ i ].containerCache.over ) {
1485
+ delayedTriggers.push( delayEvent( "out", this, this.containers[ i ] ) );
1486
+ this.containers[ i ].containerCache.over = 0;
1487
+ }
1488
+ }
1489
+
1490
+ //Do what was originally in plugins
1491
+ if ( this.storedCursor ) {
1492
+ this.document.find( "body" ).css( "cursor", this.storedCursor );
1493
+ this.storedStylesheet.remove();
1494
+ }
1495
+ if ( this._storedOpacity ) {
1496
+ this.helper.css( "opacity", this._storedOpacity );
1497
+ }
1498
+ if ( this._storedZIndex ) {
1499
+ this.helper.css( "zIndex", this._storedZIndex === "auto" ? "" : this._storedZIndex );
1500
+ }
1501
+
1502
+ this.dragging = false;
1503
+
1504
+ if ( !noPropagation ) {
1505
+ this._trigger( "beforeStop", event, this._uiHash() );
1506
+ }
1507
+
1508
+ //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately,
1509
+ // it unbinds ALL events from the original node!
1510
+ this.placeholder[ 0 ].parentNode.removeChild( this.placeholder[ 0 ] );
1511
+
1512
+ if ( !this.cancelHelperRemoval ) {
1513
+ if ( this.helper[ 0 ] !== this.currentItem[ 0 ] ) {
1514
+ this.helper.remove();
1515
+ }
1516
+ this.helper = null;
1517
+ }
1518
+
1519
+ if ( !noPropagation ) {
1520
+ for ( i = 0; i < delayedTriggers.length; i++ ) {
1521
+
1522
+ // Trigger all delayed events
1523
+ delayedTriggers[ i ].call( this, event );
1524
+ }
1525
+ this._trigger( "stop", event, this._uiHash() );
1526
+ }
1527
+
1528
+ this.fromOutside = false;
1529
+ return !this.cancelHelperRemoval;
1530
+
1531
+ },
1532
+
1533
+ _trigger: function() {
1534
+ if ( $.Widget.prototype._trigger.apply( this, arguments ) === false ) {
1535
+ this.cancel();
1536
+ }
1537
+ },
1538
+
1539
+ _uiHash: function( _inst ) {
1540
+ var inst = _inst || this;
1541
+ return {
1542
+ helper: inst.helper,
1543
+ placeholder: inst.placeholder || $( [] ),
1544
+ position: inst.position,
1545
+ originalPosition: inst.originalPosition,
1546
+ offset: inst.positionAbs,
1547
+ item: inst.currentItem,
1548
+ sender: _inst ? _inst.element : null
1549
+ };
1550
+ }
1551
+
1552
+ } );
1553
+
1554
+ } ) );