todo_rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (426) hide show
  1. checksums.yaml +4 -4
  2. data/lib/todo_rails/version.rb +1 -1
  3. data/vendor/assets/bower.json +8 -0
  4. data/vendor/assets/bower_components/angular-animate/README.md +68 -0
  5. data/vendor/assets/bower_components/angular-animate/angular-animate.js +3721 -0
  6. data/vendor/assets/bower_components/angular-animate/angular-animate.min.js +52 -0
  7. data/vendor/assets/bower_components/angular-animate/angular-animate.min.js.map +8 -0
  8. data/vendor/assets/bower_components/angular-animate/bower.json +9 -0
  9. data/vendor/assets/bower_components/angular-animate/index.js +2 -0
  10. data/vendor/assets/bower_components/angular-animate/package.json +26 -0
  11. data/vendor/assets/bower_components/angular-aria/README.md +67 -0
  12. data/vendor/assets/bower_components/angular-aria/angular-aria.js +393 -0
  13. data/vendor/assets/bower_components/angular-aria/angular-aria.min.js +13 -0
  14. data/vendor/assets/bower_components/angular-aria/angular-aria.min.js.map +8 -0
  15. data/vendor/assets/bower_components/angular-aria/bower.json +9 -0
  16. data/vendor/assets/bower_components/angular-aria/index.js +2 -0
  17. data/vendor/assets/bower_components/angular-aria/package.json +27 -0
  18. data/vendor/assets/bower_components/angular-material/CHANGELOG.md +1599 -0
  19. data/vendor/assets/bower_components/angular-material/LICENSE +21 -0
  20. data/vendor/assets/bower_components/angular-material/README.md +211 -0
  21. data/vendor/assets/bower_components/angular-material/angular-material-mocks.js +77 -0
  22. data/vendor/assets/bower_components/angular-material/angular-material.css +7183 -0
  23. data/vendor/assets/bower_components/angular-material/angular-material.js +15406 -0
  24. data/vendor/assets/bower_components/angular-material/angular-material.min.css +6 -0
  25. data/vendor/assets/bower_components/angular-material/angular-material.min.js +14 -0
  26. data/vendor/assets/bower_components/angular-material/bower.json +14 -0
  27. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/copy.svg +1 -0
  28. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/copy2.svg +1 -0
  29. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/facebook.svg +1 -0
  30. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/hangout.svg +1 -0
  31. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/mail.svg +1 -0
  32. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/message.svg +1 -0
  33. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/print.svg +1 -0
  34. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/share-arrow.svg +1 -0
  35. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/twitter.svg +2 -0
  36. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/upload.svg +1 -0
  37. data/vendor/assets/bower_components/angular-material/demos/chips/demoBasicUsage/style.scss +39 -0
  38. data/vendor/assets/bower_components/angular-material/demos/chips/demoContactChips/style.scss +47 -0
  39. data/vendor/assets/bower_components/angular-material/demos/gridList/demoBasicUsage/style.scss +75 -0
  40. data/vendor/assets/bower_components/angular-material/demos/gridList/demoDynamicTiles/style.scss +78 -0
  41. data/vendor/assets/bower_components/angular-material/demos/gridList/demoResponsiveUsage/style.scss +0 -0
  42. data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/addShoppingCart.svg +1 -0
  43. data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/android.svg +1 -0
  44. data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/cake.svg +1 -0
  45. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/cake.svg +1 -0
  46. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/core-icons.svg +26 -0
  47. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/social-icons.svg +26 -0
  48. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/addShoppingCart.svg +1 -0
  49. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/android.svg +1 -0
  50. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/cake.svg +1 -0
  51. data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/android.svg +1 -0
  52. data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/cake.svg +1 -0
  53. data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/core-icons.svg +26 -0
  54. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_email_24px.svg +4 -0
  55. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_person_24px.svg +4 -0
  56. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_phone_24px.svg +4 -0
  57. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_place_24px.svg +4 -0
  58. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/style.scss +18 -0
  59. data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-0.jpeg +0 -0
  60. data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-1.jpeg +0 -0
  61. data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-2.jpeg +0 -0
  62. data/vendor/assets/bower_components/angular-material/demos/tabs/demoDynamicHeight/style.scss +13 -0
  63. data/vendor/assets/bower_components/angular-material/demos/tabs/demoDynamicTabs/style.scss +44 -0
  64. data/vendor/assets/bower_components/angular-material/demos/tabs/demoStaticTabs/style.scss +25 -0
  65. data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/favorite.svg +4 -0
  66. data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/menu.svg +4 -0
  67. data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/more_vert.svg +4 -0
  68. data/vendor/assets/bower_components/angular-material/index.js +12 -0
  69. data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete-default-theme.css +24 -0
  70. data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete.css +220 -0
  71. data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete.js +951 -0
  72. data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop-default-theme.css +9 -0
  73. data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop.css +59 -0
  74. data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop.js +38 -0
  75. data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet-default-theme.css +16 -0
  76. data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.css +170 -0
  77. data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.js +267 -0
  78. data/vendor/assets/bower_components/angular-material/modules/closure/button/button-default-theme.css +94 -0
  79. data/vendor/assets/bower_components/angular-material/modules/closure/button/button.css +158 -0
  80. data/vendor/assets/bower_components/angular-material/modules/closure/button/button.js +135 -0
  81. data/vendor/assets/bower_components/angular-material/modules/closure/card/card-default-theme.css +12 -0
  82. data/vendor/assets/bower_components/angular-material/modules/closure/card/card.css +34 -0
  83. data/vendor/assets/bower_components/angular-material/modules/closure/card/card.js +84 -0
  84. data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox-default-theme.css +47 -0
  85. data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox.css +124 -0
  86. data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox.js +166 -0
  87. data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips-default-theme.css +24 -0
  88. data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips.css +131 -0
  89. data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips.js +949 -0
  90. data/vendor/assets/bower_components/angular-material/modules/closure/content/content-default-theme.css +9 -0
  91. data/vendor/assets/bower_components/angular-material/modules/closure/content/content.css +20 -0
  92. data/vendor/assets/bower_components/angular-material/modules/closure/content/content.js +84 -0
  93. data/vendor/assets/bower_components/angular-material/modules/closure/core/core.css +2594 -0
  94. data/vendor/assets/bower_components/angular-material/modules/closure/core/core.js +3772 -0
  95. data/vendor/assets/bower_components/angular-material/modules/closure/core/default-theme.js +4 -0
  96. data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog-default-theme.css +12 -0
  97. data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog.css +111 -0
  98. data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog.js +713 -0
  99. data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider-default-theme.css +9 -0
  100. data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider.css +14 -0
  101. data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider.js +45 -0
  102. data/vendor/assets/bower_components/angular-material/modules/closure/fabActions/fabActions.js +57 -0
  103. data/vendor/assets/bower_components/angular-material/modules/closure/fabSpeedDial/fabSpeedDial.css +100 -0
  104. data/vendor/assets/bower_components/angular-material/modules/closure/fabSpeedDial/fabSpeedDial.js +236 -0
  105. data/vendor/assets/bower_components/angular-material/modules/closure/fabToolbar/fabToolbar.css +74 -0
  106. data/vendor/assets/bower_components/angular-material/modules/closure/fabToolbar/fabToolbar.js +218 -0
  107. data/vendor/assets/bower_components/angular-material/modules/closure/fabTrigger/fabTrigger.js +54 -0
  108. data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList-default-theme.css +6 -0
  109. data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList.css +68 -0
  110. data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList.js +762 -0
  111. data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon-default-theme.css +15 -0
  112. data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon.css +20 -0
  113. data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon.js +783 -0
  114. data/vendor/assets/bower_components/angular-material/modules/closure/input/input-default-theme.css +46 -0
  115. data/vendor/assets/bower_components/angular-material/modules/closure/input/input.css +162 -0
  116. data/vendor/assets/bower_components/angular-material/modules/closure/input/input.js +371 -0
  117. data/vendor/assets/bower_components/angular-material/modules/closure/list/list-default-theme.css +23 -0
  118. data/vendor/assets/bower_components/angular-material/modules/closure/list/list.css +147 -0
  119. data/vendor/assets/bower_components/angular-material/modules/closure/list/list.js +273 -0
  120. data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu-default-theme.css +11 -0
  121. data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu.css +121 -0
  122. data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu.js +620 -0
  123. data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular-default-theme.css +36 -0
  124. data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular.css +1409 -0
  125. data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular.js +109 -0
  126. data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear-default-theme.css +27 -0
  127. data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear.css +287 -0
  128. data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear.js +126 -0
  129. data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton-default-theme.css +47 -0
  130. data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton.css +91 -0
  131. data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton.js +312 -0
  132. data/vendor/assets/bower_components/angular-material/modules/closure/select/select-default-theme.css +42 -0
  133. data/vendor/assets/bower_components/angular-material/modules/closure/select/select.css +170 -0
  134. data/vendor/assets/bower_components/angular-material/modules/closure/select/select.js +1055 -0
  135. data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav-default-theme.css +9 -0
  136. data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav.css +99 -0
  137. data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav.js +424 -0
  138. data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider-default-theme.css +56 -0
  139. data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider.css +220 -0
  140. data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider.js +403 -0
  141. data/vendor/assets/bower_components/angular-material/modules/closure/sticky/sticky.css +21 -0
  142. data/vendor/assets/bower_components/angular-material/modules/closure/sticky/sticky.js +315 -0
  143. data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader-default-theme.css +16 -0
  144. data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader.css +63 -0
  145. data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader.js +93 -0
  146. data/vendor/assets/bower_components/angular-material/modules/closure/swipe/swipe.js +72 -0
  147. data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch-default-theme.css +33 -0
  148. data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch.css +110 -0
  149. data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch.js +169 -0
  150. data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs-arrow.svg +7 -0
  151. data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs-default-theme.css +82 -0
  152. data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs.css +274 -0
  153. data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs.js +1060 -0
  154. data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField-default-theme.css +30 -0
  155. data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField.css +111 -0
  156. data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField.js +145 -0
  157. data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast-default-theme.css +18 -0
  158. data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast.css +119 -0
  159. data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast.js +265 -0
  160. data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar-default-theme.css +20 -0
  161. data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar.css +83 -0
  162. data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar.js +169 -0
  163. data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip-default-theme.css +11 -0
  164. data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip.css +72 -0
  165. data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip.js +267 -0
  166. data/vendor/assets/bower_components/angular-material/modules/closure/whiteframe/whiteframe.css +25 -0
  167. data/vendor/assets/bower_components/angular-material/modules/closure/whiteframe/whiteframe.js +15 -0
  168. data/vendor/assets/bower_components/angular-material/modules/css/angular-material-layout.css +2375 -0
  169. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete-default-theme.css +24 -0
  170. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete-default-theme.min.css +6 -0
  171. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.css +220 -0
  172. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.js +951 -0
  173. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.min.css +6 -0
  174. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.min.js +7 -0
  175. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/bower.json +8 -0
  176. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.css +9 -0
  177. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.min.css +6 -0
  178. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.css +59 -0
  179. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.js +39 -0
  180. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.min.css +6 -0
  181. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.min.js +7 -0
  182. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/bower.json +7 -0
  183. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.css +16 -0
  184. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.min.css +6 -0
  185. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.css +170 -0
  186. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.js +267 -0
  187. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.css +6 -0
  188. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.js +7 -0
  189. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bower.json +8 -0
  190. data/vendor/assets/bower_components/angular-material/modules/js/button/bower.json +7 -0
  191. data/vendor/assets/bower_components/angular-material/modules/js/button/button-default-theme.css +94 -0
  192. data/vendor/assets/bower_components/angular-material/modules/js/button/button-default-theme.min.css +6 -0
  193. data/vendor/assets/bower_components/angular-material/modules/js/button/button.css +158 -0
  194. data/vendor/assets/bower_components/angular-material/modules/js/button/button.js +136 -0
  195. data/vendor/assets/bower_components/angular-material/modules/js/button/button.min.css +6 -0
  196. data/vendor/assets/bower_components/angular-material/modules/js/button/button.min.js +7 -0
  197. data/vendor/assets/bower_components/angular-material/modules/js/card/bower.json +7 -0
  198. data/vendor/assets/bower_components/angular-material/modules/js/card/card-default-theme.css +12 -0
  199. data/vendor/assets/bower_components/angular-material/modules/js/card/card-default-theme.min.css +6 -0
  200. data/vendor/assets/bower_components/angular-material/modules/js/card/card.css +34 -0
  201. data/vendor/assets/bower_components/angular-material/modules/js/card/card.js +85 -0
  202. data/vendor/assets/bower_components/angular-material/modules/js/card/card.min.css +6 -0
  203. data/vendor/assets/bower_components/angular-material/modules/js/card/card.min.js +7 -0
  204. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/bower.json +7 -0
  205. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.css +47 -0
  206. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.min.css +6 -0
  207. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.css +124 -0
  208. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.js +167 -0
  209. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.min.css +6 -0
  210. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.min.js +7 -0
  211. data/vendor/assets/bower_components/angular-material/modules/js/chips/bower.json +8 -0
  212. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips-default-theme.css +24 -0
  213. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips-default-theme.min.css +6 -0
  214. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.css +131 -0
  215. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.js +949 -0
  216. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.min.css +6 -0
  217. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.min.js +7 -0
  218. data/vendor/assets/bower_components/angular-material/modules/js/content/bower.json +7 -0
  219. data/vendor/assets/bower_components/angular-material/modules/js/content/content-default-theme.css +9 -0
  220. data/vendor/assets/bower_components/angular-material/modules/js/content/content-default-theme.min.css +6 -0
  221. data/vendor/assets/bower_components/angular-material/modules/js/content/content.css +20 -0
  222. data/vendor/assets/bower_components/angular-material/modules/js/content/content.js +85 -0
  223. data/vendor/assets/bower_components/angular-material/modules/js/content/content.min.css +6 -0
  224. data/vendor/assets/bower_components/angular-material/modules/js/content/content.min.js +7 -0
  225. data/vendor/assets/bower_components/angular-material/modules/js/core/bower.json +8 -0
  226. data/vendor/assets/bower_components/angular-material/modules/js/core/core.css +2594 -0
  227. data/vendor/assets/bower_components/angular-material/modules/js/core/core.js +3772 -0
  228. data/vendor/assets/bower_components/angular-material/modules/js/core/core.min.css +6 -0
  229. data/vendor/assets/bower_components/angular-material/modules/js/core/core.min.js +10 -0
  230. data/vendor/assets/bower_components/angular-material/modules/js/core/default-theme.js +4 -0
  231. data/vendor/assets/bower_components/angular-material/modules/js/dialog/bower.json +8 -0
  232. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog-default-theme.css +12 -0
  233. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog-default-theme.min.css +6 -0
  234. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.css +111 -0
  235. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.js +713 -0
  236. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.min.css +6 -0
  237. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.min.js +7 -0
  238. data/vendor/assets/bower_components/angular-material/modules/js/divider/bower.json +7 -0
  239. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider-default-theme.css +9 -0
  240. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider-default-theme.min.css +6 -0
  241. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.css +14 -0
  242. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.js +46 -0
  243. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.min.css +6 -0
  244. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.min.js +7 -0
  245. data/vendor/assets/bower_components/angular-material/modules/js/fabActions/bower.json +7 -0
  246. data/vendor/assets/bower_components/angular-material/modules/js/fabActions/fabActions.js +58 -0
  247. data/vendor/assets/bower_components/angular-material/modules/js/fabActions/fabActions.min.js +7 -0
  248. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/bower.json +9 -0
  249. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.css +100 -0
  250. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.js +235 -0
  251. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.min.css +6 -0
  252. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.min.js +7 -0
  253. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/bower.json +9 -0
  254. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.css +74 -0
  255. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.js +217 -0
  256. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.min.css +6 -0
  257. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.min.js +7 -0
  258. data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/bower.json +7 -0
  259. data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/fabTrigger.js +55 -0
  260. data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/fabTrigger.min.js +7 -0
  261. data/vendor/assets/bower_components/angular-material/modules/js/gridList/bower.json +7 -0
  262. data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.css +68 -0
  263. data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.js +763 -0
  264. data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.min.css +6 -0
  265. data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.min.js +7 -0
  266. data/vendor/assets/bower_components/angular-material/modules/js/icon/bower.json +7 -0
  267. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon-default-theme.css +15 -0
  268. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon-default-theme.min.css +6 -0
  269. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.css +20 -0
  270. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.js +784 -0
  271. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.min.css +6 -0
  272. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.min.js +7 -0
  273. data/vendor/assets/bower_components/angular-material/modules/js/input/bower.json +7 -0
  274. data/vendor/assets/bower_components/angular-material/modules/js/input/input-default-theme.css +46 -0
  275. data/vendor/assets/bower_components/angular-material/modules/js/input/input-default-theme.min.css +6 -0
  276. data/vendor/assets/bower_components/angular-material/modules/js/input/input.css +162 -0
  277. data/vendor/assets/bower_components/angular-material/modules/js/input/input.js +372 -0
  278. data/vendor/assets/bower_components/angular-material/modules/js/input/input.min.css +6 -0
  279. data/vendor/assets/bower_components/angular-material/modules/js/input/input.min.js +7 -0
  280. data/vendor/assets/bower_components/angular-material/modules/js/list/bower.json +7 -0
  281. data/vendor/assets/bower_components/angular-material/modules/js/list/list-default-theme.css +23 -0
  282. data/vendor/assets/bower_components/angular-material/modules/js/list/list-default-theme.min.css +6 -0
  283. data/vendor/assets/bower_components/angular-material/modules/js/list/list.css +147 -0
  284. data/vendor/assets/bower_components/angular-material/modules/js/list/list.js +274 -0
  285. data/vendor/assets/bower_components/angular-material/modules/js/list/list.min.css +6 -0
  286. data/vendor/assets/bower_components/angular-material/modules/js/list/list.min.js +7 -0
  287. data/vendor/assets/bower_components/angular-material/modules/js/menu/bower.json +8 -0
  288. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu-default-theme.css +11 -0
  289. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu-default-theme.min.css +6 -0
  290. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.css +121 -0
  291. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.js +620 -0
  292. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.min.css +6 -0
  293. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.min.js +7 -0
  294. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/bower.json +7 -0
  295. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.css +36 -0
  296. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.min.css +6 -0
  297. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.css +1409 -0
  298. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.js +110 -0
  299. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.css +6 -0
  300. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.js +7 -0
  301. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/bower.json +7 -0
  302. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.css +27 -0
  303. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.min.css +6 -0
  304. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.css +287 -0
  305. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.js +127 -0
  306. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.css +6 -0
  307. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js +7 -0
  308. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/bower.json +7 -0
  309. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.css +47 -0
  310. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.min.css +6 -0
  311. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.css +91 -0
  312. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.js +313 -0
  313. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.min.css +6 -0
  314. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.min.js +7 -0
  315. data/vendor/assets/bower_components/angular-material/modules/js/select/bower.json +8 -0
  316. data/vendor/assets/bower_components/angular-material/modules/js/select/select-default-theme.css +42 -0
  317. data/vendor/assets/bower_components/angular-material/modules/js/select/select-default-theme.min.css +6 -0
  318. data/vendor/assets/bower_components/angular-material/modules/js/select/select.css +170 -0
  319. data/vendor/assets/bower_components/angular-material/modules/js/select/select.js +1055 -0
  320. data/vendor/assets/bower_components/angular-material/modules/js/select/select.min.css +6 -0
  321. data/vendor/assets/bower_components/angular-material/modules/js/select/select.min.js +7 -0
  322. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/bower.json +8 -0
  323. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.css +9 -0
  324. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.min.css +6 -0
  325. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.css +99 -0
  326. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.js +424 -0
  327. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.min.css +6 -0
  328. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.min.js +7 -0
  329. data/vendor/assets/bower_components/angular-material/modules/js/slider/bower.json +7 -0
  330. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider-default-theme.css +56 -0
  331. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider-default-theme.min.css +6 -0
  332. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.css +220 -0
  333. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.js +404 -0
  334. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.min.css +6 -0
  335. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.min.js +7 -0
  336. data/vendor/assets/bower_components/angular-material/modules/js/sticky/bower.json +8 -0
  337. data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.css +21 -0
  338. data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.js +315 -0
  339. data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.min.css +6 -0
  340. data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.min.js +7 -0
  341. data/vendor/assets/bower_components/angular-material/modules/js/subheader/bower.json +8 -0
  342. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css +16 -0
  343. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css +6 -0
  344. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.css +63 -0
  345. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.js +93 -0
  346. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.min.css +6 -0
  347. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.min.js +7 -0
  348. data/vendor/assets/bower_components/angular-material/modules/js/swipe/bower.json +7 -0
  349. data/vendor/assets/bower_components/angular-material/modules/js/swipe/swipe.js +73 -0
  350. data/vendor/assets/bower_components/angular-material/modules/js/swipe/swipe.min.js +7 -0
  351. data/vendor/assets/bower_components/angular-material/modules/js/switch/bower.json +8 -0
  352. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch-default-theme.css +33 -0
  353. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch-default-theme.min.css +6 -0
  354. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.css +110 -0
  355. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.js +169 -0
  356. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.min.css +6 -0
  357. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.min.js +7 -0
  358. data/vendor/assets/bower_components/angular-material/modules/js/tabs/bower.json +8 -0
  359. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs-default-theme.css +82 -0
  360. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs-default-theme.min.css +6 -0
  361. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.css +274 -0
  362. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.js +1060 -0
  363. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.min.css +6 -0
  364. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.min.js +7 -0
  365. data/vendor/assets/bower_components/angular-material/modules/js/textField/bower.json +7 -0
  366. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField-default-theme.css +30 -0
  367. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField-default-theme.min.css +6 -0
  368. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.css +111 -0
  369. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.js +143 -0
  370. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.min.css +6 -0
  371. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.min.js +7 -0
  372. data/vendor/assets/bower_components/angular-material/modules/js/toast/bower.json +8 -0
  373. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast-default-theme.css +18 -0
  374. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast-default-theme.min.css +6 -0
  375. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.css +119 -0
  376. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.js +265 -0
  377. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.min.css +6 -0
  378. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.min.js +7 -0
  379. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/bower.json +8 -0
  380. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.css +20 -0
  381. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.min.css +6 -0
  382. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.css +83 -0
  383. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.js +169 -0
  384. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.min.css +6 -0
  385. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.min.js +7 -0
  386. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/bower.json +7 -0
  387. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.css +11 -0
  388. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.min.css +6 -0
  389. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.css +72 -0
  390. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.js +268 -0
  391. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.min.css +6 -0
  392. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.min.js +7 -0
  393. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/bower.json +5 -0
  394. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.css +25 -0
  395. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.js +16 -0
  396. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.css +6 -0
  397. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.js +7 -0
  398. data/vendor/assets/bower_components/angular-material/package.json +48 -0
  399. data/vendor/assets/bower_components/angular/README.md +64 -0
  400. data/vendor/assets/bower_components/angular/angular-csp.css +21 -0
  401. data/vendor/assets/bower_components/angular/angular.js +28364 -0
  402. data/vendor/assets/bower_components/angular/angular.min.js +290 -0
  403. data/vendor/assets/bower_components/angular/angular.min.js.gzip +0 -0
  404. data/vendor/assets/bower_components/angular/angular.min.js.map +8 -0
  405. data/vendor/assets/bower_components/angular/bower.json +8 -0
  406. data/vendor/assets/bower_components/angular/index.js +2 -0
  407. data/vendor/assets/bower_components/angular/package.json +25 -0
  408. data/vendor/assets/bower_components/lodash/LICENSE +22 -0
  409. data/vendor/assets/bower_components/lodash/bower.json +19 -0
  410. data/vendor/assets/bower_components/lodash/lodash.js +12351 -0
  411. data/vendor/assets/bower_components/lodash/lodash.min.js +99 -0
  412. data/vendor/assets/bower_components/restangular/CHANGELOG.md +18 -0
  413. data/vendor/assets/bower_components/restangular/CONTRIBUTE.md +31 -0
  414. data/vendor/assets/bower_components/restangular/Gruntfile.js +149 -0
  415. data/vendor/assets/bower_components/restangular/README.md +1336 -0
  416. data/vendor/assets/bower_components/restangular/bower.json +19 -0
  417. data/vendor/assets/bower_components/restangular/dist/restangular.js +1355 -0
  418. data/vendor/assets/bower_components/restangular/dist/restangular.min.js +6 -0
  419. data/vendor/assets/bower_components/restangular/dist/restangular.zip +0 -0
  420. data/vendor/assets/bower_components/restangular/karma.conf.js +74 -0
  421. data/vendor/assets/bower_components/restangular/karma.underscore.conf.js +74 -0
  422. data/vendor/assets/bower_components/restangular/license.md +21 -0
  423. data/vendor/assets/bower_components/restangular/package.json +55 -0
  424. data/vendor/assets/bower_components/restangular/src/restangular.js +1350 -0
  425. data/vendor/assets/bower_components/restangular/test/restangularSpec.js +1136 -0
  426. metadata +424 -1
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ /* mixin definition ; sets LTR and RTL within the same style call */
8
+ md-toolbar.md-THEME_NAME-theme {
9
+ background-color: '{{primary-color}}';
10
+ color: '{{primary-contrast}}'; }
11
+ md-toolbar.md-THEME_NAME-theme md-icon {
12
+ color: '{{primary-contrast}}'; }
13
+ md-toolbar.md-THEME_NAME-theme .md-button {
14
+ color: '{{primary-contrast}}'; }
15
+ md-toolbar.md-THEME_NAME-theme.md-accent {
16
+ background-color: '{{accent-color}}';
17
+ color: '{{accent-contrast}}'; }
18
+ md-toolbar.md-THEME_NAME-theme.md-warn {
19
+ background-color: '{{warn-color}}';
20
+ color: '{{warn-contrast}}'; }
@@ -0,0 +1,83 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ /* mixin definition ; sets LTR and RTL within the same style call */
8
+ md-toolbar {
9
+ box-sizing: border-box;
10
+ display: -webkit-flex;
11
+ display: -ms-flexbox;
12
+ display: flex;
13
+ -webkit-flex-direction: column;
14
+ -ms-flex-direction: column;
15
+ flex-direction: column;
16
+ position: relative;
17
+ z-index: 2;
18
+ font-size: 20px;
19
+ min-height: 64px;
20
+ width: 100%; }
21
+ md-toolbar.md-whiteframe-z1-add, md-toolbar.md-whiteframe-z1-remove {
22
+ transition: box-shadow 0.5s linear; }
23
+ md-toolbar *, md-toolbar *:before, md-toolbar *:after {
24
+ box-sizing: border-box; }
25
+ md-toolbar.md-tall {
26
+ height: 128px;
27
+ min-height: 128px;
28
+ max-height: 128px; }
29
+ md-toolbar.md-medium-tall {
30
+ height: 88px;
31
+ min-height: 88px;
32
+ max-height: 88px; }
33
+ md-toolbar.md-medium-tall .md-toolbar-tools {
34
+ height: 48px;
35
+ min-height: 48px;
36
+ max-height: 48px; }
37
+ md-toolbar .md-indent {
38
+ margin-left: 64px; }
39
+ md-toolbar ~ md-content > md-list {
40
+ padding: 0; }
41
+ md-toolbar ~ md-content > md-list md-list-item:last-child md-divider {
42
+ display: none; }
43
+
44
+ .md-toolbar-tools {
45
+ font-weight: 400;
46
+ display: -webkit-flex;
47
+ display: -ms-flexbox;
48
+ display: flex;
49
+ -webkit-align-items: center;
50
+ -ms-flex-align: center;
51
+ align-items: center;
52
+ -webkit-flex-direction: row;
53
+ -ms-flex-direction: row;
54
+ flex-direction: row;
55
+ width: 100%;
56
+ height: 64px;
57
+ max-height: 64px;
58
+ padding: 0 16px;
59
+ margin: 0; }
60
+ .md-toolbar-tools h1, .md-toolbar-tools h2, .md-toolbar-tools h3 {
61
+ font-size: inherit;
62
+ font-weight: inherit;
63
+ margin: inherit; }
64
+ .md-toolbar-tools a {
65
+ color: inherit;
66
+ text-decoration: none; }
67
+ .md-toolbar-tools .fill-height {
68
+ display: -webkit-flex;
69
+ display: -ms-flexbox;
70
+ display: flex;
71
+ -webkit-align-items: center;
72
+ -ms-flex-align: center;
73
+ align-items: center; }
74
+ .md-toolbar-tools .md-button {
75
+ margin-top: 0;
76
+ margin-bottom: 0; }
77
+ .md-toolbar-tools > .md-button:first-child {
78
+ margin-left: -8px; }
79
+ .md-toolbar-tools > .md-button:last-child {
80
+ margin-right: -8px; }
81
+ @media screen and (-ms-high-contrast: active) {
82
+ .md-toolbar-tools {
83
+ border-bottom: 1px solid #fff; } }
@@ -0,0 +1,169 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ goog.provide('ng.material.components.toolbar');
8
+ goog.require('ng.material.components.content');
9
+ goog.require('ng.material.core');
10
+ /**
11
+ * @ngdoc module
12
+ * @name material.components.toolbar
13
+ */
14
+ angular.module('material.components.toolbar', [
15
+ 'material.core',
16
+ 'material.components.content'
17
+ ])
18
+ .directive('mdToolbar', mdToolbarDirective);
19
+
20
+ /**
21
+ * @ngdoc directive
22
+ * @name mdToolbar
23
+ * @module material.components.toolbar
24
+ * @restrict E
25
+ * @description
26
+ * `md-toolbar` is used to place a toolbar in your app.
27
+ *
28
+ * Toolbars are usually used above a content area to display the title of the
29
+ * current page, and show relevant action buttons for that page.
30
+ *
31
+ * You can change the height of the toolbar by adding either the
32
+ * `md-medium-tall` or `md-tall` class to the toolbar.
33
+ *
34
+ * @usage
35
+ * <hljs lang="html">
36
+ * <div layout="column" layout-fill>
37
+ * <md-toolbar>
38
+ *
39
+ * <div class="md-toolbar-tools">
40
+ * <span>My App's Title</span>
41
+ *
42
+ * <!-- fill up the space between left and right area -->
43
+ * <span flex></span>
44
+ *
45
+ * <md-button>
46
+ * Right Bar Button
47
+ * </md-button>
48
+ * </div>
49
+ *
50
+ * </md-toolbar>
51
+ * <md-content>
52
+ * Hello!
53
+ * </md-content>
54
+ * </div>
55
+ * </hljs>
56
+ *
57
+ * @param {boolean=} md-scroll-shrink Whether the header should shrink away as
58
+ * the user scrolls down, and reveal itself as the user scrolls up.
59
+ * Note: for scrollShrink to work, the toolbar must be a sibling of a
60
+ * `md-content` element, placed before it. See the scroll shrink demo.
61
+ *
62
+ *
63
+ * @param {number=} md-shrink-speed-factor How much to change the speed of the toolbar's
64
+ * shrinking by. For example, if 0.25 is given then the toolbar will shrink
65
+ * at one fourth the rate at which the user scrolls down. Default 0.5.
66
+ */
67
+ function mdToolbarDirective($$rAF, $mdConstant, $mdUtil, $mdTheming, $animate, $timeout) {
68
+
69
+ return {
70
+ restrict: 'E',
71
+ controller: angular.noop,
72
+ link: function(scope, element, attr) {
73
+ $mdTheming(element);
74
+
75
+ if (angular.isDefined(attr.mdScrollShrink)) {
76
+ setupScrollShrink();
77
+ }
78
+
79
+ function setupScrollShrink() {
80
+ // Current "y" position of scroll
81
+ var y = 0;
82
+ // Store the last scroll top position
83
+ var prevScrollTop = 0;
84
+
85
+ var shrinkSpeedFactor = attr.mdShrinkSpeedFactor || 0.5;
86
+
87
+ var toolbarHeight;
88
+ var contentElement;
89
+
90
+ var debouncedContentScroll = $$rAF.throttle(onContentScroll);
91
+ var debouncedUpdateHeight = $mdUtil.debounce(updateToolbarHeight, 5 * 1000);
92
+
93
+ // Wait for $mdContentLoaded event from mdContent directive.
94
+ // If the mdContent element is a sibling of our toolbar, hook it up
95
+ // to scroll events.
96
+ scope.$on('$mdContentLoaded', onMdContentLoad);
97
+
98
+ function onMdContentLoad($event, newContentEl) {
99
+ // Toolbar and content must be siblings
100
+ if (element.parent()[0] === newContentEl.parent()[0]) {
101
+ // unhook old content event listener if exists
102
+ if (contentElement) {
103
+ contentElement.off('scroll', debouncedContentScroll);
104
+ }
105
+
106
+ newContentEl.on('scroll', debouncedContentScroll);
107
+ newContentEl.attr('scroll-shrink', 'true');
108
+
109
+ contentElement = newContentEl;
110
+ $$rAF(updateToolbarHeight);
111
+ }
112
+ }
113
+
114
+ function updateToolbarHeight() {
115
+ toolbarHeight = element.prop('offsetHeight');
116
+ // Add a negative margin-top the size of the toolbar to the content el.
117
+ // The content will start transformed down the toolbarHeight amount,
118
+ // so everything looks normal.
119
+ //
120
+ // As the user scrolls down, the content will be transformed up slowly
121
+ // to put the content underneath where the toolbar was.
122
+ var margin = (-toolbarHeight * shrinkSpeedFactor) + 'px';
123
+ contentElement.css('margin-top', margin);
124
+ contentElement.css('margin-bottom', margin);
125
+
126
+ onContentScroll();
127
+ }
128
+
129
+ function onContentScroll(e) {
130
+ var scrollTop = e ? e.target.scrollTop : prevScrollTop;
131
+
132
+ debouncedUpdateHeight();
133
+
134
+ y = Math.min(
135
+ toolbarHeight / shrinkSpeedFactor,
136
+ Math.max(0, y + scrollTop - prevScrollTop)
137
+ );
138
+
139
+ element.css(
140
+ $mdConstant.CSS.TRANSFORM,
141
+ 'translate3d(0,' + (-y * shrinkSpeedFactor) + 'px,0)'
142
+ );
143
+ contentElement.css(
144
+ $mdConstant.CSS.TRANSFORM,
145
+ 'translate3d(0,' + ((toolbarHeight - y) * shrinkSpeedFactor) + 'px,0)'
146
+ );
147
+
148
+ prevScrollTop = scrollTop;
149
+
150
+ if (element.hasClass('md-whiteframe-z1')) {
151
+ if (!y) {
152
+ $timeout(function () { $animate.removeClass(element, 'md-whiteframe-z1'); });
153
+ }
154
+ } else {
155
+ if (y) {
156
+ $timeout(function () { $animate.addClass(element, 'md-whiteframe-z1'); });
157
+ }
158
+ }
159
+ }
160
+
161
+ }
162
+
163
+ }
164
+ };
165
+
166
+ }
167
+ mdToolbarDirective.$inject = ["$$rAF", "$mdConstant", "$mdUtil", "$mdTheming", "$animate", "$timeout"];
168
+
169
+ ng.material.components.toolbar = angular.module("material.components.toolbar");
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ /* mixin definition ; sets LTR and RTL within the same style call */
8
+ md-tooltip.md-THEME_NAME-theme {
9
+ color: '{{background-A100}}'; }
10
+ md-tooltip.md-THEME_NAME-theme .md-background {
11
+ background-color: '{{foreground-2}}'; }
@@ -0,0 +1,72 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ /* mixin definition ; sets LTR and RTL within the same style call */
8
+ md-tooltip {
9
+ position: absolute;
10
+ z-index: 100;
11
+ overflow: hidden;
12
+ pointer-events: none;
13
+ border-radius: 4px;
14
+ font-weight: 500;
15
+ font-size: 14px; }
16
+ @media screen and (min-width: 600px) {
17
+ md-tooltip {
18
+ font-size: 10px; } }
19
+ md-tooltip .md-background {
20
+ position: absolute;
21
+ border-radius: 50%;
22
+ -webkit-transform: translate(-50%, -50%) scale(0);
23
+ transform: translate(-50%, -50%) scale(0);
24
+ opacity: 1; }
25
+ md-tooltip .md-background.md-show-add {
26
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
27
+ -webkit-transform: translate(-50%, -50%) scale(0);
28
+ transform: translate(-50%, -50%) scale(0);
29
+ opacity: 0; }
30
+ md-tooltip .md-background.md-show, md-tooltip .md-background.md-show-add-active {
31
+ -webkit-transform: translate(-50%, -50%) scale(1);
32
+ transform: translate(-50%, -50%) scale(1);
33
+ opacity: 1; }
34
+ md-tooltip .md-background.md-show-remove {
35
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2); }
36
+ md-tooltip .md-background.md-show-remove.md-show-remove-active {
37
+ -webkit-transform: translate(-50%, -50%) scale(0);
38
+ transform: translate(-50%, -50%) scale(0);
39
+ opacity: 0; }
40
+ md-tooltip .md-content {
41
+ position: relative;
42
+ white-space: nowrap;
43
+ overflow: hidden;
44
+ text-overflow: ellipsis;
45
+ background: transparent;
46
+ opacity: 0;
47
+ height: 32px;
48
+ line-height: 32px;
49
+ padding-left: 16px;
50
+ padding-right: 16px; }
51
+ @media screen and (min-width: 600px) {
52
+ md-tooltip .md-content {
53
+ height: 22px;
54
+ line-height: 22px;
55
+ padding-left: 8px;
56
+ padding-right: 8px; } }
57
+ md-tooltip .md-content.md-show-add {
58
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
59
+ opacity: 0; }
60
+ md-tooltip .md-content.md-show, md-tooltip .md-content.md-show-add-active {
61
+ opacity: 1; }
62
+ md-tooltip .md-content.md-show-remove {
63
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2); }
64
+ md-tooltip .md-content.md-show-remove.md-show-remove-active {
65
+ opacity: 0; }
66
+ md-tooltip.md-hide {
67
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2); }
68
+ md-tooltip.md-show {
69
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
70
+ pointer-events: auto;
71
+ -webkit-transform: translate3d(0, 0, 0);
72
+ transform: translate3d(0, 0, 0); }
@@ -0,0 +1,267 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ goog.provide('ng.material.components.tooltip');
8
+ goog.require('ng.material.core');
9
+ /**
10
+ * @ngdoc module
11
+ * @name material.components.tooltip
12
+ */
13
+ angular
14
+ .module('material.components.tooltip', [ 'material.core' ])
15
+ .directive('mdTooltip', MdTooltipDirective);
16
+
17
+ /**
18
+ * @ngdoc directive
19
+ * @name mdTooltip
20
+ * @module material.components.tooltip
21
+ * @description
22
+ * Tooltips are used to describe elements that are interactive and primarily graphical (not textual).
23
+ *
24
+ * Place a `<md-tooltip>` as a child of the element it describes.
25
+ *
26
+ * A tooltip will activate when the user focuses, hovers over, or touches the parent.
27
+ *
28
+ * @usage
29
+ * <hljs lang="html">
30
+ * <md-button class="md-fab md-accent" aria-label="Play">
31
+ * <md-tooltip>
32
+ * Play Music
33
+ * </md-tooltip>
34
+ * <md-icon icon="img/icons/ic_play_arrow_24px.svg"></md-icon>
35
+ * </md-button>
36
+ * </hljs>
37
+ *
38
+ * @param {expression=} md-visible Boolean bound to whether the tooltip is
39
+ * currently visible.
40
+ * @param {number=} md-delay How many milliseconds to wait to show the tooltip after the user focuses, hovers, or touches the parent. Defaults to 400ms.
41
+ * @param {string=} md-direction Which direction would you like the tooltip to go? Supports left, right, top, and bottom. Defaults to bottom.
42
+ * @param {boolean=} md-autohide If present or provided with a boolean value, the tooltip will hide on mouse leave, regardless of focus
43
+ */
44
+ function MdTooltipDirective($timeout, $window, $$rAF, $document, $mdUtil, $mdTheming, $rootElement,
45
+ $animate, $q) {
46
+
47
+ var TOOLTIP_SHOW_DELAY = 300;
48
+ var TOOLTIP_WINDOW_EDGE_SPACE = 8;
49
+
50
+ return {
51
+ restrict: 'E',
52
+ transclude: true,
53
+ priority:210, // Before ngAria
54
+ template: '\
55
+ <div class="md-background"></div>\
56
+ <div class="md-content" ng-transclude></div>',
57
+ scope: {
58
+ visible: '=?mdVisible',
59
+ delay: '=?mdDelay',
60
+ autohide: '=?mdAutohide'
61
+ },
62
+ link: postLink
63
+ };
64
+
65
+ function postLink(scope, element, attr) {
66
+
67
+ $mdTheming(element);
68
+
69
+ var parent = getParentWithPointerEvents(),
70
+ background = angular.element(element[0].getElementsByClassName('md-background')[0]),
71
+ content = angular.element(element[0].getElementsByClassName('md-content')[0]),
72
+ direction = attr.mdDirection,
73
+ current = getNearestContentElement(),
74
+ tooltipParent = angular.element(current || document.body),
75
+ debouncedOnResize = $$rAF.throttle(function () { if (scope.visible) positionTooltip(); });
76
+
77
+ return init();
78
+
79
+ function init () {
80
+ setDefaults();
81
+ manipulateElement();
82
+ bindEvents();
83
+ configureWatchers();
84
+ addAriaLabel();
85
+ }
86
+
87
+ function setDefaults () {
88
+ if (!angular.isDefined(attr.mdDelay)) scope.delay = TOOLTIP_SHOW_DELAY;
89
+ }
90
+
91
+ function configureWatchers () {
92
+ scope.$on('$destroy', function() {
93
+ scope.visible = false;
94
+ element.remove();
95
+ angular.element($window).off('resize', debouncedOnResize);
96
+ });
97
+ scope.$watch('visible', function (isVisible) {
98
+ if (isVisible) showTooltip();
99
+ else hideTooltip();
100
+ });
101
+ }
102
+
103
+ function addAriaLabel () {
104
+ if (!parent.attr('aria-label') && !parent.text().trim()) {
105
+ parent.attr('aria-label', element.text().trim());
106
+ }
107
+ }
108
+
109
+ function manipulateElement () {
110
+ element.detach();
111
+ element.attr('role', 'tooltip');
112
+ }
113
+
114
+ function getParentWithPointerEvents () {
115
+ var parent = element.parent();
116
+ while (parent && $window.getComputedStyle(parent[0])['pointer-events'] == 'none') {
117
+ parent = parent.parent();
118
+ }
119
+ return parent;
120
+ }
121
+
122
+ function getNearestContentElement () {
123
+ var current = element.parent()[0];
124
+ // Look for the nearest parent md-content, stopping at the rootElement.
125
+ while (current && current !== $rootElement[0] && current !== document.body) {
126
+ current = current.parentNode;
127
+ }
128
+ return current;
129
+ }
130
+
131
+ function hasComputedStyleValue(key, value) {
132
+ // Check if we should show it or not...
133
+ var computedStyles = $window.getComputedStyle(element[0]);
134
+ return angular.isDefined(computedStyles[key]) && (computedStyles[key] == value);
135
+ }
136
+
137
+ function bindEvents () {
138
+ var mouseActive = false;
139
+ var enterHandler = function() {
140
+ if (!hasComputedStyleValue('pointer-events','none')) {
141
+ setVisible(true);
142
+ }
143
+ };
144
+ var leaveHandler = function () {
145
+ var autohide = scope.hasOwnProperty('autohide') ? scope.autohide : attr.hasOwnProperty('mdAutohide');
146
+ if (autohide || mouseActive || ($document[0].activeElement !== parent[0]) ) {
147
+ setVisible(false);
148
+ }
149
+ mouseActive = false;
150
+ };
151
+
152
+ // to avoid `synthetic clicks` we listen to mousedown instead of `click`
153
+ parent.on('mousedown', function() { mouseActive = true; });
154
+ parent.on('focus mouseenter touchstart', enterHandler );
155
+ parent.on('blur mouseleave touchend touchcancel', leaveHandler );
156
+
157
+
158
+ angular.element($window).on('resize', debouncedOnResize);
159
+ }
160
+
161
+ function setVisible (value) {
162
+ setVisible.value = !!value;
163
+ if (!setVisible.queued) {
164
+ if (value) {
165
+ setVisible.queued = true;
166
+ $timeout(function() {
167
+ scope.visible = setVisible.value;
168
+ setVisible.queued = false;
169
+ }, scope.delay);
170
+ } else {
171
+ $timeout(function() { scope.visible = false; });
172
+ }
173
+ }
174
+ }
175
+
176
+ function showTooltip() {
177
+ // Insert the element before positioning it, so we can get the position
178
+ // and check if we should display it
179
+ tooltipParent.append(element);
180
+
181
+ // Check if we should display it or not.
182
+ // This handles hide-* and show-* along with any user defined css
183
+ if ( hasComputedStyleValue('display','none') ) {
184
+ scope.visible = false;
185
+ element.detach();
186
+ return;
187
+ }
188
+
189
+ positionTooltip();
190
+ angular.forEach([element, background, content], function (element) {
191
+ $animate.addClass(element, 'md-show');
192
+ });
193
+ }
194
+
195
+ function hideTooltip() {
196
+ $q.all([
197
+ $animate.removeClass(content, 'md-show'),
198
+ $animate.removeClass(background, 'md-show'),
199
+ $animate.removeClass(element, 'md-show')
200
+ ]).then(function () {
201
+ if (!scope.visible) element.detach();
202
+ });
203
+ }
204
+
205
+ function positionTooltip() {
206
+ var tipRect = $mdUtil.offsetRect(element, tooltipParent);
207
+ var parentRect = $mdUtil.offsetRect(parent, tooltipParent);
208
+ var newPosition = getPosition(direction);
209
+
210
+ // If the user provided a direction, just nudge the tooltip onto the screen
211
+ // Otherwise, recalculate based on 'top' since default is 'bottom'
212
+ if (direction) {
213
+ newPosition = fitInParent(newPosition);
214
+ } else if (newPosition.top > element.prop('offsetParent').scrollHeight - tipRect.height - TOOLTIP_WINDOW_EDGE_SPACE) {
215
+ newPosition = fitInParent(getPosition('top'));
216
+ }
217
+
218
+ element.css({top: newPosition.top + 'px', left: newPosition.left + 'px'});
219
+
220
+ positionBackground();
221
+
222
+ function positionBackground () {
223
+ var size = direction === 'left' || direction === 'right'
224
+ ? Math.sqrt(Math.pow(tipRect.width, 2) + Math.pow(tipRect.height / 2, 2)) * 2
225
+ : Math.sqrt(Math.pow(tipRect.width / 2, 2) + Math.pow(tipRect.height, 2)) * 2,
226
+ position = direction === 'left' ? { left: 100, top: 50 }
227
+ : direction === 'right' ? { left: 0, top: 50 }
228
+ : direction === 'top' ? { left: 50, top: 100 }
229
+ : { left: 50, top: 0 };
230
+ background.css({
231
+ width: size + 'px',
232
+ height: size + 'px',
233
+ left: position.left + '%',
234
+ top: position.top + '%'
235
+ });
236
+ }
237
+
238
+ function fitInParent (pos) {
239
+ var newPosition = { left: pos.left, top: pos.top };
240
+ newPosition.left = Math.min( newPosition.left, tooltipParent.prop('scrollWidth') - tipRect.width - TOOLTIP_WINDOW_EDGE_SPACE );
241
+ newPosition.left = Math.max( newPosition.left, TOOLTIP_WINDOW_EDGE_SPACE );
242
+ newPosition.top = Math.min( newPosition.top, tooltipParent.prop('scrollHeight') - tipRect.height - TOOLTIP_WINDOW_EDGE_SPACE );
243
+ newPosition.top = Math.max( newPosition.top, TOOLTIP_WINDOW_EDGE_SPACE );
244
+ return newPosition;
245
+ }
246
+
247
+ function getPosition (dir) {
248
+ return dir === 'left'
249
+ ? { left: parentRect.left - tipRect.width - TOOLTIP_WINDOW_EDGE_SPACE,
250
+ top: parentRect.top + parentRect.height / 2 - tipRect.height / 2 }
251
+ : dir === 'right'
252
+ ? { left: parentRect.left + parentRect.width + TOOLTIP_WINDOW_EDGE_SPACE,
253
+ top: parentRect.top + parentRect.height / 2 - tipRect.height / 2 }
254
+ : dir === 'top'
255
+ ? { left: parentRect.left + parentRect.width / 2 - tipRect.width / 2,
256
+ top: parentRect.top - tipRect.height - TOOLTIP_WINDOW_EDGE_SPACE }
257
+ : { left: parentRect.left + parentRect.width / 2 - tipRect.width / 2,
258
+ top: parentRect.top + parentRect.height + TOOLTIP_WINDOW_EDGE_SPACE };
259
+ }
260
+ }
261
+
262
+ }
263
+
264
+ }
265
+ MdTooltipDirective.$inject = ["$timeout", "$window", "$$rAF", "$document", "$mdUtil", "$mdTheming", "$rootElement", "$animate", "$q"];
266
+
267
+ ng.material.components.tooltip = angular.module("material.components.tooltip");