sw2at-ui 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (387) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/Gemfile +21 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +19 -0
  6. data/Rakefile +51 -0
  7. data/VERSION +1 -0
  8. data/app/assets/images/swat/loading-green.gif +0 -0
  9. data/app/assets/javascripts/swat/.bowerrc +3 -0
  10. data/app/assets/javascripts/swat/app/app.coffee +38 -0
  11. data/app/assets/javascripts/swat/app/controllers/revision.coffee +25 -0
  12. data/app/assets/javascripts/swat/app/controllers/revisions.coffee +10 -0
  13. data/app/assets/javascripts/swat/app/controllers/root.coffee +8 -0
  14. data/app/assets/javascripts/swat/app/factories/response.coffee +9 -0
  15. data/app/assets/javascripts/swat/app/factories/revision_model.coffee +20 -0
  16. data/app/assets/javascripts/swat/app/services/revision.coffee +16 -0
  17. data/app/assets/javascripts/swat/app/services/test_case.coffee +8 -0
  18. data/app/assets/javascripts/swat/application.coffee +5 -0
  19. data/app/assets/javascripts/swat/bower.json +16 -0
  20. data/app/assets/javascripts/swat/bower_components/angular/angular-csp.css +21 -0
  21. data/app/assets/javascripts/swat/bower_components/angular/angular.js +28133 -0
  22. data/app/assets/javascripts/swat/bower_components/angular/angular.min.js +289 -0
  23. data/app/assets/javascripts/swat/bower_components/angular/index.js +2 -0
  24. data/app/assets/javascripts/swat/bower_components/angular-animate/angular-animate.js +2137 -0
  25. data/app/assets/javascripts/swat/bower_components/angular-animate/angular-animate.min.js +33 -0
  26. data/app/assets/javascripts/swat/bower_components/angular-aria/angular-aria.js +339 -0
  27. data/app/assets/javascripts/swat/bower_components/angular-aria/angular-aria.min.js +12 -0
  28. data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap-csp.css +6 -0
  29. data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap-tpls.js +4840 -0
  30. data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js +10 -0
  31. data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap.js +4461 -0
  32. data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap.min.js +9 -0
  33. data/app/assets/javascripts/swat/bower_components/angular-material/LICENSE.txt +21 -0
  34. data/app/assets/javascripts/swat/bower_components/angular-material/angular-material.css +6228 -0
  35. data/app/assets/javascripts/swat/bower_components/angular-material/angular-material.js +8602 -0
  36. data/app/assets/javascripts/swat/bower_components/angular-material/angular-material.min.css +6 -0
  37. data/app/assets/javascripts/swat/bower_components/angular-material/angular-material.min.js +277 -0
  38. data/app/assets/javascripts/swat/bower_components/angular-material/default-theme.css +394 -0
  39. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/backdrop/backdrop-default-theme.css +8 -0
  40. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/backdrop/backdrop.css +54 -0
  41. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/backdrop/backdrop.js +40 -0
  42. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet-default-theme.css +15 -0
  43. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.css +161 -0
  44. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.js +263 -0
  45. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/button/button-default-theme.css +49 -0
  46. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/button/button.css +134 -0
  47. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/button/button.js +101 -0
  48. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/card/card-default-theme.css +10 -0
  49. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/card/card.css +26 -0
  50. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/card/card.js +60 -0
  51. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/checkbox/checkbox-default-theme.css +38 -0
  52. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/checkbox/checkbox.css +78 -0
  53. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/checkbox/checkbox.js +135 -0
  54. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/content/content-default-theme.css +8 -0
  55. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/content/content.css +24 -0
  56. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/content/content.js +87 -0
  57. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/core/core.css +2736 -0
  58. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/core/core.js +3090 -0
  59. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/core/default-theme.js +1 -0
  60. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/dialog/dialog-default-theme.css +11 -0
  61. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/dialog/dialog.css +75 -0
  62. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/dialog/dialog.js +500 -0
  63. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/divider/divider-default-theme.css +8 -0
  64. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/divider/divider.css +12 -0
  65. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/divider/divider.js +50 -0
  66. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/icon/icon.css +24 -0
  67. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/icon/icon.js +52 -0
  68. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/input/input-default-theme.css +39 -0
  69. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/input/input.css +113 -0
  70. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/input/input.js +355 -0
  71. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/list/list.css +56 -0
  72. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/list/list.js +96 -0
  73. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/menu/menu.css +6 -0
  74. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/menu/menu.js +29 -0
  75. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressCircular/progressCircular-default-theme.css +35 -0
  76. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressCircular/progressCircular.css +1395 -0
  77. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressCircular/progressCircular.js +129 -0
  78. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressLinear/progressLinear-default-theme.css +26 -0
  79. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressLinear/progressLinear.css +366 -0
  80. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressLinear/progressLinear.js +130 -0
  81. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/radioButton/radioButton-default-theme.css +39 -0
  82. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/radioButton/radioButton.css +66 -0
  83. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/radioButton/radioButton.js +302 -0
  84. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sidenav/sidenav-default-theme.css +8 -0
  85. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sidenav/sidenav.css +86 -0
  86. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sidenav/sidenav.js +320 -0
  87. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/slider/slider-default-theme.css +55 -0
  88. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/slider/slider.css +210 -0
  89. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/slider/slider.js +391 -0
  90. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sticky/sticky.css +20 -0
  91. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sticky/sticky.js +314 -0
  92. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/subheader/subheader-default-theme.css +15 -0
  93. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/subheader/subheader.css +62 -0
  94. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/subheader/subheader.js +89 -0
  95. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/swipe/swipe.js +79 -0
  96. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/switch/switch-default-theme.css +29 -0
  97. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/switch/switch.css +81 -0
  98. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/switch/switch.js +171 -0
  99. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tabs/tabs-default-theme.css +34 -0
  100. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tabs/tabs.css +171 -0
  101. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tabs/tabs.js +1009 -0
  102. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/textField/textField-default-theme.css +29 -0
  103. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/textField/textField.css +72 -0
  104. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/textField/textField.js +145 -0
  105. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toast/toast-default-theme.css +17 -0
  106. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toast/toast.css +110 -0
  107. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toast/toast.js +236 -0
  108. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toolbar/toolbar-default-theme.css +17 -0
  109. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toolbar/toolbar.css +69 -0
  110. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toolbar/toolbar.js +161 -0
  111. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tooltip/tooltip-default-theme.css +10 -0
  112. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tooltip/tooltip.css +133 -0
  113. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tooltip/tooltip.js +199 -0
  114. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/whiteframe/whiteframe.css +20 -0
  115. data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/whiteframe/whiteframe.js +17 -0
  116. data/app/assets/javascripts/swat/bower_components/angular-material/modules/css/angular-material-layout.css +2582 -0
  117. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.css +8 -0
  118. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.min.css +6 -0
  119. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop.css +54 -0
  120. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop.js +38 -0
  121. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop.min.css +6 -0
  122. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop.min.js +7 -0
  123. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/bower.json +7 -0
  124. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.css +15 -0
  125. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.min.css +6 -0
  126. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.css +188 -0
  127. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.js +293 -0
  128. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.css +6 -0
  129. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.js +7 -0
  130. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bower.json +8 -0
  131. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/bower.json +7 -0
  132. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button-default-theme.css +42 -0
  133. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button-default-theme.min.css +6 -0
  134. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button.css +132 -0
  135. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button.js +94 -0
  136. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button.min.css +6 -0
  137. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button.min.js +7 -0
  138. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/bower.json +7 -0
  139. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card-default-theme.css +10 -0
  140. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card-default-theme.min.css +6 -0
  141. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card.css +31 -0
  142. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card.js +58 -0
  143. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card.min.css +6 -0
  144. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card.min.js +7 -0
  145. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/bower.json +7 -0
  146. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.css +38 -0
  147. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.min.css +6 -0
  148. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox.css +79 -0
  149. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox.js +133 -0
  150. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox.min.css +6 -0
  151. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox.min.js +7 -0
  152. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/bower.json +7 -0
  153. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content-default-theme.css +8 -0
  154. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content-default-theme.min.css +6 -0
  155. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content.css +24 -0
  156. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content.js +60 -0
  157. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content.min.css +6 -0
  158. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content.min.js +7 -0
  159. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/bower.json +7 -0
  160. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/core.css +3067 -0
  161. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/core.js +2780 -0
  162. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/core.min.css +6 -0
  163. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/core.min.js +7 -0
  164. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/default-theme.js +1 -0
  165. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/bower.json +8 -0
  166. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog-default-theme.css +11 -0
  167. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog-default-theme.min.css +6 -0
  168. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog.css +88 -0
  169. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog.js +495 -0
  170. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog.min.css +6 -0
  171. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog.min.js +7 -0
  172. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/bower.json +7 -0
  173. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider-default-theme.css +8 -0
  174. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider-default-theme.min.css +6 -0
  175. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider.css +12 -0
  176. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider.js +48 -0
  177. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider.min.css +6 -0
  178. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider.min.js +7 -0
  179. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/bower.json +7 -0
  180. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/icon.css +24 -0
  181. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/icon.js +50 -0
  182. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/icon.min.css +6 -0
  183. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/icon.min.js +7 -0
  184. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/bower.json +7 -0
  185. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input-default-theme.css +40 -0
  186. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input-default-theme.min.css +6 -0
  187. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input.css +102 -0
  188. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input.js +333 -0
  189. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input.min.css +6 -0
  190. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input.min.js +7 -0
  191. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/bower.json +7 -0
  192. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/list.css +61 -0
  193. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/list.js +94 -0
  194. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/list.min.css +6 -0
  195. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/list.min.js +7 -0
  196. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/bower.json +5 -0
  197. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/menu.css +6 -0
  198. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/menu.js +27 -0
  199. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/menu.min.css +6 -0
  200. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/menu.min.js +7 -0
  201. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/bower.json +7 -0
  202. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.css +35 -0
  203. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.min.css +6 -0
  204. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular.css +1445 -0
  205. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular.js +127 -0
  206. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.css +6 -0
  207. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.js +7 -0
  208. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/bower.json +7 -0
  209. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.css +28 -0
  210. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.min.css +6 -0
  211. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear.css +368 -0
  212. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear.js +128 -0
  213. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.css +6 -0
  214. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js +7 -0
  215. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/bower.json +7 -0
  216. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.css +39 -0
  217. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.min.css +6 -0
  218. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton.css +67 -0
  219. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton.js +296 -0
  220. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton.min.css +6 -0
  221. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton.min.js +7 -0
  222. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/bower.json +8 -0
  223. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.css +8 -0
  224. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.min.css +6 -0
  225. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav.css +90 -0
  226. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav.js +302 -0
  227. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav.min.css +6 -0
  228. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav.min.js +7 -0
  229. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/bower.json +7 -0
  230. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider-default-theme.css +55 -0
  231. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider-default-theme.min.css +6 -0
  232. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider.css +218 -0
  233. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider.js +411 -0
  234. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider.min.css +6 -0
  235. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider.min.js +7 -0
  236. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/bower.json +8 -0
  237. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/sticky.css +20 -0
  238. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/sticky.js +309 -0
  239. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/sticky.min.css +6 -0
  240. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/sticky.min.js +7 -0
  241. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/bower.json +8 -0
  242. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css +15 -0
  243. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css +6 -0
  244. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader.css +61 -0
  245. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader.js +86 -0
  246. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader.min.css +6 -0
  247. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader.min.js +7 -0
  248. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/swipe/bower.json +5 -0
  249. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/swipe/swipe.js +213 -0
  250. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/swipe/swipe.min.js +7 -0
  251. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/bower.json +8 -0
  252. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch-default-theme.css +29 -0
  253. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch-default-theme.min.css +6 -0
  254. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch.css +77 -0
  255. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch.js +144 -0
  256. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch.min.css +6 -0
  257. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch.min.js +7 -0
  258. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/bower.json +7 -0
  259. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs-default-theme.css +34 -0
  260. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs-default-theme.min.css +6 -0
  261. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs.css +181 -0
  262. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs.js +992 -0
  263. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs.min.css +6 -0
  264. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs.min.js +7 -0
  265. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/bower.json +7 -0
  266. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField-default-theme.css +29 -0
  267. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField-default-theme.min.css +6 -0
  268. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField.css +76 -0
  269. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField.js +143 -0
  270. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField.min.css +6 -0
  271. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField.min.js +7 -0
  272. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/bower.json +9 -0
  273. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast-default-theme.css +17 -0
  274. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast-default-theme.min.css +6 -0
  275. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.css +115 -0
  276. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.js +235 -0
  277. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.min.css +6 -0
  278. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.min.js +7 -0
  279. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/bower.json +8 -0
  280. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.css +17 -0
  281. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.min.css +6 -0
  282. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.css +78 -0
  283. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.js +158 -0
  284. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.min.css +6 -0
  285. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.min.js +7 -0
  286. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/bower.json +7 -0
  287. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.css +10 -0
  288. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.min.css +6 -0
  289. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip.css +136 -0
  290. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip.js +197 -0
  291. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip.min.css +6 -0
  292. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip.min.js +7 -0
  293. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/bower.json +5 -0
  294. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/whiteframe.css +20 -0
  295. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/whiteframe.js +15 -0
  296. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.css +6 -0
  297. data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.js +7 -0
  298. data/app/assets/javascripts/swat/bower_components/angular-resource/angular-resource.js +668 -0
  299. data/app/assets/javascripts/swat/bower_components/angular-resource/angular-resource.min.js +13 -0
  300. data/app/assets/javascripts/swat/bower_components/angular-resource/index.js +2 -0
  301. data/app/assets/javascripts/swat/bower_components/angular-route/angular-route.js +991 -0
  302. data/app/assets/javascripts/swat/bower_components/angular-route/angular-route.min.js +15 -0
  303. data/app/assets/javascripts/swat/bower_components/angular-route/index.js +2 -0
  304. data/app/assets/javascripts/swat/bower_components/angular-ui-router/LICENSE.txt +21 -0
  305. data/app/assets/javascripts/swat/bower_components/angular-ui-router/api/angular-ui-router.d.ts +126 -0
  306. data/app/assets/javascripts/swat/bower_components/angular-ui-router/release/angular-ui-router.js +4370 -0
  307. data/app/assets/javascripts/swat/bower_components/angular-ui-router/release/angular-ui-router.min.js +7 -0
  308. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/common.js +292 -0
  309. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/resolve.js +252 -0
  310. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/state.js +1465 -0
  311. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/stateDirectives.js +285 -0
  312. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/stateFilters.js +39 -0
  313. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/templateFactory.js +110 -0
  314. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/urlMatcherFactory.js +1050 -0
  315. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/urlRouter.js +427 -0
  316. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/view.js +71 -0
  317. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/viewDirective.js +303 -0
  318. data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/viewScroll.js +52 -0
  319. data/app/assets/javascripts/swat/bower_components/lodash/lodash.js +12235 -0
  320. data/app/assets/javascripts/swat/bower_components/lodash/lodash.min.js +98 -0
  321. data/app/assets/javascripts/swat/bower_components/ng-clip/.editorconfig +10 -0
  322. data/app/assets/javascripts/swat/bower_components/ng-clip/.gitignore +3 -0
  323. data/app/assets/javascripts/swat/bower_components/ng-clip/Gruntfile.js +96 -0
  324. data/app/assets/javascripts/swat/bower_components/ng-clip/dest/ng-clip.min.js +2 -0
  325. data/app/assets/javascripts/swat/bower_components/ng-clip/example/bootstrap-tooltip.html +49 -0
  326. data/app/assets/javascripts/swat/bower_components/ng-clip/example/index.html +68 -0
  327. data/app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html +44 -0
  328. data/app/assets/javascripts/swat/bower_components/ng-clip/npm-debug.log +145 -0
  329. data/app/assets/javascripts/swat/bower_components/ng-clip/src/ngClip.js +84 -0
  330. data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/.jshintrc +70 -0
  331. data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.Core.js +2017 -0
  332. data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.Core.min.js +10 -0
  333. data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.js +2581 -0
  334. data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.min.js +10 -0
  335. data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.swf +0 -0
  336. data/app/assets/javascripts/swat/bower_components.coffee +12 -0
  337. data/app/assets/stylesheets/swat/application.sass +59 -0
  338. data/app/assets/stylesheets/swat/default-theme.css +394 -0
  339. data/app/assets/stylesheets/swat/font-awesome.css +1801 -0
  340. data/app/assets/stylesheets/swat/fonts/FontAwesome.otf +0 -0
  341. data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.eot +0 -0
  342. data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.svg +565 -0
  343. data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.ttf +0 -0
  344. data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.woff +0 -0
  345. data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.woff2 +0 -0
  346. data/app/assets/stylesheets/swat/swat_theme.sass +177 -0
  347. data/app/controllers/swat/api/revisions_controller.rb +27 -0
  348. data/app/controllers/swat/api/test_cases_controller.rb +20 -0
  349. data/app/controllers/swat/application_controller.rb +4 -0
  350. data/app/controllers/swat/info/states_controller.rb +12 -0
  351. data/app/controllers/swat/pages/base_pages_controller.rb +7 -0
  352. data/app/controllers/swat/pages/revisions_controller.rb +8 -0
  353. data/app/controllers/swat/revisions_controller.rb +4 -0
  354. data/app/helpers/swat/application_helper.rb +4 -0
  355. data/app/models/concerns/root_revision_ext.rb +14 -0
  356. data/app/models/full_revision.rb +88 -0
  357. data/app/models/revision.rb +84 -0
  358. data/app/models/revision_status_calculator.rb +98 -0
  359. data/app/models/test_case.rb +25 -0
  360. data/app/views/layouts/swat/application.slim +36 -0
  361. data/app/views/layouts/swat/page.slim +2 -0
  362. data/app/views/swat/application/index.slim +0 -0
  363. data/app/views/swat/pages/revisions/index.slim +25 -0
  364. data/app/views/swat/pages/revisions/show.slim +43 -0
  365. data/app/views/swat/shared/_footer.slim +5 -0
  366. data/app/views/swat/shared/_header.slim +9 -0
  367. data/bin/rails +12 -0
  368. data/config/routes.rb +38 -0
  369. data/fixtures/firebase_collection.rb +97 -0
  370. data/lib/sw2at-ui.rb +19 -0
  371. data/lib/swat/engine.rb +5 -0
  372. data/lib/swat/ui/config.rb +28 -0
  373. data/lib/swat/ui/rspec_commands.rb +191 -0
  374. data/lib/swat/ui/rspec_setup.rb +42 -0
  375. data/lib/swat/ui/stats_collector.rb +90 -0
  376. data/lib/swat/ui/version.rb +5 -0
  377. data/lib/tasks/swat_tasks.rake +36 -0
  378. data/spec/lib/commands_spec.rb +88 -0
  379. data/spec/models/calculator_spec.rb +130 -0
  380. data/spec/models/full_revision_spec.rb +263 -0
  381. data/spec/models/revision_spec.rb +59 -0
  382. data/spec/models/testcase_spec.rb +94 -0
  383. data/spec/spec_helper.rb +45 -0
  384. data/sw2at-ui.gemspec +465 -0
  385. data/test/helper.rb +34 -0
  386. data/test/test_sw2at-ui.rb +7 -0
  387. metadata +628 -0
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */md-tabs{display:block;width:100%;font-weight:500;overflow:auto}.md-header{width:100%;height:48px;box-sizing:border-box;position:relative}.md-paginator{z-index:1;margin-right:-2px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:32px;min-height:100%;cursor:pointer;border:none;background-color:transparent;background-repeat:no-repeat;background-position:center center;position:absolute}.md-paginator.md-prev{left:0}.md-paginator.md-next{right:0}.md-paginator.md-prev{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE3LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPiA8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPiA8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPiA8ZyBpZD0iSGVhZGVyIj4gPGc+IDxyZWN0IHg9Ii02MTgiIHk9Ii0xMjA4IiBmaWxsPSJub25lIiB3aWR0aD0iMTQwMCIgaGVpZ2h0PSIzNjAwIi8+IDwvZz4gPC9nPiA8ZyBpZD0iTGFiZWwiPiA8L2c+IDxnIGlkPSJJY29uIj4gPGc+IDxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyIAkJIiBzdHlsZT0iZmlsbDp3aGl0ZTsiLz4gPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+IDwvZz4gPC9nPiA8ZyBpZD0iR3JpZCIgZGlzcGxheT0ibm9uZSI+IDxnIGRpc3BsYXk9ImlubGluZSI+IDwvZz4gPC9nPiA8L3N2Zz4NCg==)}.md-paginator.md-next{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE3LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPiA8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPiA8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPiA8ZyBpZD0iSGVhZGVyIj4gPGc+IDxyZWN0IHg9Ii02MTgiIHk9Ii0xMzM2IiBmaWxsPSJub25lIiB3aWR0aD0iMTQwMCIgaGVpZ2h0PSIzNjAwIi8+IDwvZz4gPC9nPiA8ZyBpZD0iTGFiZWwiPiA8L2c+IDxnIGlkPSJJY29uIj4gPGc+IDxwb2x5Z29uIHBvaW50cz0iMTAsNiA4LjYsNy40IDEzLjIsMTIgOC42LDE2LjYgMTAsMTggMTYsMTIgCQkiIHN0eWxlPSJmaWxsOndoaXRlOyIvPiA8cmVjdCBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4gPC9nPiA8L2c+IDxnIGlkPSJHcmlkIiBkaXNwbGF5PSJub25lIj4gPGcgZGlzcGxheT0iaW5saW5lIj4gPC9nPiA8L2c+IDwvc3ZnPg0K)}md-tabs[center] .md-header:not(.md-paginating) .md-header-items{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.md-paginating .md-header-items-container{left:32px;right:32px}.md-header-items-container{overflow:hidden;position:absolute;left:0;right:0;height:100%;white-space:nowrap;font-size:14px;font-weight:500;text-transform:uppercase;margin:auto}.md-header-items-container .md-header-items{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-transition:-webkit-transform .5s cubic-bezier(0.35,0,.25,1);transition:transform .5s cubic-bezier(0.35,0,.25,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);height:100%;width:99999px}.md-tabs-content{overflow:hidden;width:100%;position:relative}.md-tabs-content .md-tab-content{height:100%}.md-tabs-content .md-tab-content.ng-hide.ng-animate{display:block!important}.md-tabs-content .md-tab-content.ng-animate{-webkit-transition:-webkit-transform .5s cubic-bezier(0.35,0,.25,1);transition:transform .5s cubic-bezier(0.35,0,.25,1);-webkit-transform:translateX(0);transform:translateX(0)}.md-tabs-content .md-tab-content.ng-animate.ng-hide-add{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.md-tabs-content .md-tab-content.ng-animate.ng-hide-add.md-transition-rtl{-webkit-transform:translateX(100%);transform:translateX(100%)}.md-tabs-content .md-tab-content.ng-animate.ng-hide-remove{position:absolute;-webkit-transform:translateX(100%);transform:translateX(100%);top:0;left:0;right:0;bottom:0}.md-tabs-content .md-tab-content.ng-animate.ng-hide-remove.md-transition-rtl{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.md-tabs-content .md-tab-content.ng-animate.ng-hide-remove.ng-hide-remove-active{-webkit-transform:translateX(0);transform:translateX(0)}md-tabs-ink-bar{z-index:1;display:none;position:absolute;left:0;bottom:0;box-sizing:border-box;height:2px;margin-top:-2px;-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:0 0;transform-origin:0 0}md-tabs-ink-bar.md-transition-right{-webkit-transition:right .25s cubic-bezier(0.35,0,.25,1),left .25s cubic-bezier(0.35,0,.25,1) .075s;transition:right .25s cubic-bezier(0.35,0,.25,1),left .25s cubic-bezier(0.35,0,.25,1) .075s}md-tabs-ink-bar.md-transition-left{-webkit-transition:right .25s cubic-bezier(0.35,0,.25,1) .075s,left .25s cubic-bezier(0.35,0,.25,1);transition:right .25s cubic-bezier(0.35,0,.25,1) .075s,left .25s cubic-bezier(0.35,0,.25,1)}md-tab{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:relative;z-index:0;overflow:hidden;height:100%;text-align:center;cursor:pointer;padding:20px 24px;box-sizing:border-box;-webkit-transition:background .35s cubic-bezier(0.35,0,.25,1),color .35s cubic-bezier(0.35,0,.25,1);transition:background .35s cubic-bezier(0.35,0,.25,1),color .35s cubic-bezier(0.35,0,.25,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}md-tab[disabled]{pointer-events:none;cursor:default}md-tab:focus{outline:0}md-tab md-tab-label{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;z-index:100;opacity:1;overflow:hidden}
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ !function(){"use strict";angular.module("material.components.tabs",["material.core"])}(),function(){"use strict";function e(e){function t(t,a,i,o){function c(){var e=r.getSelectedItem(),i=!e||r.count()<2;if(a.css("display",i?"none":"block"),!i&&t.pagination&&t.pagination.tabData){var o=r.getSelectedIndex(),c=t.pagination.tabData.tabs[o]||{left:0,right:0,width:0},s=a.parent().prop("offsetWidth")-c.right,l=["md-transition-left","md-transition-right","md-no-transition"],d=n>o?0:o>n?1:2;a.removeClass(l.join(" ")).addClass(l[d]).css({left:c.left+1+"px",right:s+"px"}),n=o}}if(!o[0]){var r=o[1],s=e.debounce(c);r.inkBarElement=a,t.$on("$mdTabsPaginationChanged",s)}}var n=0;return{restrict:"E",require:["^?mdNoBar","^mdTabs"],link:t}}angular.module("material.components.tabs").directive("mdTabsInkBar",e),e.$inject=["$$rAF"]}(),function(){"use strict";function e(e,t,n,a,i,o){function c(c,s,l,d){function u(e,t){if(e){var n=h(e);T.active&&n!==T.page?(t&&t.element.blur(),$(n).then(function(){e.element.focus()})):e.element.focus()}}function m(e){var t=T.tabData,n=Math.max(0,Math.min(t.pages.length-1,T.page+e)),a=t.pages[n][e>0?"firstTabIndex":"lastTabIndex"],i=d.itemAt(a);u(i)}function f(){function e(){S.css("width","9999px"),angular.forEach(o.tabs,function(e){angular.element(e.element).css("margin-left",e.filler+"px")}),$(h(d.getSelectedItem()))}function t(){g(0),S.css("width",""),a.css("width",""),a.css("margin-left",""),T.page=null,T.active=!1}function n(){return l||c.$watch(function(){i(function(){s[0].offsetParent&&(angular.isFunction(l)&&l(),x(),l=null)},0,!1)})}if(s.prop("offsetParent")){var a=s.find("md-tab");t();var o=T.tabData=b(),r=T.active=o.pages.length>1;r&&e(),c.$evalAsync(function(){c.$broadcast("$mdTabsPaginationChanged")})}else var l=n()}function g(t){function n(t){t.target===S[0]&&(S.off(e.CSS.TRANSITIONEND,n),i.resolve())}if(d.pagingOffset===t)return a.when();var i=a.defer();return d.$$pagingOffset=t,S.css(e.CSS.TRANSFORM,"translate3d("+t+"px,0,0)"),S.on(e.CSS.TRANSITIONEND,n),i.promise}function p(){switch(c.stretchTabs){case"never":return!1;case"always":return!0;default:return o("sm")}}function b(e){function t(){var e=1===u.length?a:i,t=Math.min(Math.floor(e/l),v.length),n=Math.floor(e/t);return o.css("width",n+"px"),b(!0)}var n,a=s.parent().prop("offsetWidth"),i=a-r-1,o=angular.element(v),c=0,l=0,d=[],u=[];return o.css("max-width",""),angular.forEach(v,function(e,t){var o=Math.min(i,e.offsetWidth),r={element:e,left:c,width:o,right:c+o,filler:0};r.page=Math.ceil(r.right/(1===u.length&&t===v.length-1?a:i))-1,r.page>=u.length?(r.filler=i*r.page-r.left,r.right+=r.filler,r.left+=r.filler,n={left:r.left,firstTabIndex:t,lastTabIndex:t,tabs:[r]},u.push(n)):(n.lastTabIndex=t,n.tabs.push(r)),c=r.right,l=Math.max(l,o),d.push(r)}),o.css("max-width",i+"px"),!e&&p()?t():{width:c,max:l,tabs:d,pages:u,tabElements:v}}function h(e){var t=d.indexOf(e);if(-1===t)return 0;var n=T.tabData;return n?n.tabs[t].page:0}function $(e){if(e!==T.page){var t=T.tabData.pages.length-1;return 0>e&&(e=0),e>t&&(e=t),T.hasPrev=e>0,T.hasNext=t>e,T.page=e,c.$broadcast("$mdTabsPaginationChanged"),g(-T.tabData.pages[e].left)}}var v=s[0].getElementsByTagName("md-tab"),x=n.debounce(f),S=s.children(),T=c.pagination={page:-1,active:!1,clickNext:function(){m(1)},clickPrevious:function(){m(-1)}};c.$on("$mdTabsChanged",x),angular.element(t).on("resize",x),c.$on("$destroy",function(){angular.element(t).off("resize",x)}),c.$watch(function(){return d.tabToFocus},u)}var r=64;return{restrict:"A",require:"^mdTabs",link:c}}angular.module("material.components.tabs").directive("mdTabsPagination",e),e.$inject=["$mdConstant","$window","$$rAF","$$q","$timeout","$mdMedia"]}(),function(){"use strict";function e(e,t,n,a,i,o,c,r){function s(){return p(e.$parent)}function l(t,n){g.content.length&&(g.contentContainer.append(g.content),g.contentScope=e.$parent.$new(),t.append(g.contentContainer),a(g.contentContainer)(g.contentScope),n===!0&&r(function(){o.disconnectScope(g.contentScope)},0,!1))}function d(){g.hammertime.destroy(),i.leave(g.contentContainer).then(function(){g.contentScope&&g.contentScope.$destroy(),g.contentScope=null})}function u(e){g.contentContainer[e?"addClass":"removeClass"]("md-transition-rtl")}function m(n){o.reconnectScope(g.contentScope),g.hammertime.on("swipeleft swiperight",e.onSwipe),t.addClass("active"),t.attr("aria-selected",!0),t.attr("tabIndex",0),u(n),i.removeClass(g.contentContainer,"ng-hide"),e.onSelect()}function f(n){o.disconnectScope(g.contentScope),g.hammertime.off("swipeleft swiperight",e.onSwipe),t.removeClass("active"),t.attr("aria-selected",!1),t.attr("tabIndex",-1),u(n),i.addClass(g.contentContainer,"ng-hide"),e.onDeselect()}var g=this;g.contentContainer=angular.element('<div class="md-tab-content ng-hide">'),g.hammertime=new Hammer(g.contentContainer[0]),g.element=t,g.isDisabled=s,g.onAdd=l,g.onRemove=d,g.onSelect=m,g.onDeselect=f;var p=c(n.ngDisabled)}angular.module("material.components.tabs").controller("$mdTab",e),e.$inject=["$scope","$element","$attrs","$compile","$animate","$mdUtil","$parse","$timeout"]}(),function(){"use strict";function e(e,t,n,a,i){function o(o,c){var r=o.find("md-tab-label");r.length?r.remove():r=angular.isDefined(c.label)?angular.element("<md-tab-label>").html(c.label):angular.element("<md-tab-label>").append(o.contents().remove());var s=o.contents().remove();return function(o,c,l,d){function u(){var e=r.clone();c.append(e),t(e)(o.$parent),v.content=s.clone()}function m(){o.$apply(function(){x.select(v),x.focus(v)})}function f(e){e.keyCode==a.KEY_CODE.SPACE||e.keyCode==a.KEY_CODE.ENTER?(c.triggerHandler("click"),e.preventDefault()):e.keyCode===a.KEY_CODE.LEFT_ARROW?o.$evalAsync(function(){x.focus(x.previous(v))}):e.keyCode===a.KEY_CODE.RIGHT_ARROW&&o.$evalAsync(function(){x.focus(x.next(v))})}function g(e){o.$apply(function(){"swipeleft"===e.type?x.select(x.next()):x.select(x.previous())})}function p(){o.$watch("$parent.$index",function(e){x.move(v,e)})}function b(){function e(e){var t=x.getSelectedItem()===v;e&&!t?x.select(v):!e&&t&&x.deselect(v)}var t=o.$parent.$watch("!!("+l.mdActive+")",e);o.$on("$destroy",t)}function h(){function e(e){c.attr("aria-disabled",e);var t=x.getSelectedItem()===v;t&&e&&x.select(x.next()||x.previous())}o.$watch(v.isDisabled,e)}function $(){var e=l.id||"tab_"+n.nextUid();if(c.attr({id:e,role:"tab",tabIndex:-1}),s.length){var t="content_"+e;c.attr("aria-controls")||c.attr("aria-controls",t),v.contentContainer.attr({id:t,role:"tabpanel","aria-labelledby":e})}}var v=d[0],x=d[1];o.$watch(function(){return l.label},function(){i(function(){x.scope.$broadcast("$mdTabsChanged")},0,!1)}),u(),$();var S=e.attachTabBehavior(o,c,{colorElement:x.inkBarElement});x.add(v),o.$on("$destroy",function(){S(),x.remove(v)}),c.on("$destroy",function(){i(function(){x.scope.$broadcast("$mdTabsChanged")},0,!1)}),angular.isDefined(l.ngClick)||c.on("click",m),c.on("keydown",f),o.onSwipe=g,angular.isNumber(o.$parent.$index)&&p(),angular.isDefined(l.mdActive)&&b(),h()}}return{restrict:"E",require:["mdTab","^mdTabs"],controller:"$mdTab",scope:{onSelect:"&mdOnSelect",onDeselect:"&mdOnDeselect",label:"@"},compile:o}}angular.module("material.components.tabs").directive("mdTab",e),e.$inject=["$mdInkRipple","$compile","$mdUtil","$mdConstant","$timeout"]}(),function(){"use strict";function e(e,t,n){function a(){return h(e.selectedIndex)}function i(){return e.selectedIndex}function o(t,n){g.add(t,n),angular.isDefined(t.element.attr("md-active"))||-1!==e.selectedIndex&&angular.isNumber(e.selectedIndex)&&e.selectedIndex!==p.indexOf(t)?t.onAdd(p.contentArea,!0):(t.onAdd(p.contentArea,!1),p.select(t)),e.$broadcast("$mdTabsChanged")}function c(t,n){if(g.contains(t)&&!n){var i=a()===t,o=m()||u();d(t),g.remove(t),t.onRemove(),e.$broadcast("$mdTabsChanged"),i&&s(o)}}function r(t,n){var i=a()===t;g.remove(t),g.add(t,n),i&&s(t),e.$broadcast("$mdTabsChanged")}function s(t,n){!t||t.isSelected||t.isDisabled()||g.contains(t)&&(angular.isDefined(n)||(n=b(t)<e.selectedIndex),d(a(),n),e.selectedIndex=b(t),t.isSelected=!0,t.onSelect(n),e.$broadcast("$mdTabsChanged"))}function l(e){p.tabToFocus=e}function d(t,n){t&&t.isSelected&&g.contains(t)&&(e.selectedIndex=-1,t.isSelected=!1,t.onDeselect(n))}function u(e,t){return g.next(e||a(),t||f)}function m(e,t){return g.previous(e||a(),t||f)}function f(e){return e&&!e.isDisabled()}var g=n.iterator([],!1),p=this;p.$element=t,p.scope=e;var b=(p.contentArea=angular.element(t[0].querySelector(".md-tabs-content")),p.inRange=g.inRange,p.indexOf=g.indexOf),h=p.itemAt=g.itemAt;p.count=g.count,p.getSelectedItem=a,p.getSelectedIndex=i,p.add=o,p.remove=c,p.move=r,p.select=s,p.focus=l,p.deselect=d,p.next=u,p.previous=m,e.$on("$destroy",function(){d(a());for(var e=g.count()-1;e>=0;e--)c(g[e],!0)})}angular.module("material.components.tabs").controller("$mdTabs",e),e.$inject=["$scope","$element","$mdUtil","$timeout"]}(),function(){"use strict";function e(e){function t(t,n,a,i,o){function c(){n.attr("role","tablist")}function r(){t.$watch("selectedIndex",function(e,t){if(t!=e){var n=t>e;if(i.deselect(i.itemAt(t),n),i.inRange(e)){for(var a=i.itemAt(e);a&&a.isDisabled();)a=e>t?i.next(a):i.previous(a);i.select(a,n)}}})}t.stretchTabs=a.hasOwnProperty("mdStretchTabs")?a.mdStretchTabs||"always":"auto",e(n),c(),r(),o(t.$parent,function(e){angular.element(n[0].querySelector(".md-header-items")).append(e)})}return{restrict:"E",controller:"$mdTabs",require:"mdTabs",transclude:!0,scope:{selectedIndex:"=?mdSelected"},template:'<section class="md-header" ng-class="{\'md-paginating\': pagination.active}"><button class="md-paginator md-prev" ng-if="pagination.active && pagination.hasPrev" ng-click="pagination.clickPrevious()" aria-hidden="true"></button><div class="md-header-items-container" md-tabs-pagination><div class="md-header-items"><md-tabs-ink-bar></md-tabs-ink-bar></div></div><button class="md-paginator md-next" ng-if="pagination.active && pagination.hasNext" ng-click="pagination.clickNext()" aria-hidden="true"></button></section><section class="md-tabs-content"></section>',link:t}}angular.module("material.components.tabs").directive("mdTabs",e),e.$inject=["$mdTheming"]}();
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "angular-material-textField",
3
+ "version": "0.7.0-rc3",
4
+ "dependencies": {
5
+ "angular-material-core": "0.7.0-rc3"
6
+ }
7
+ }
@@ -0,0 +1,29 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ md-input-group.md-THEME_NAME-theme input, md-input-group.md-THEME_NAME-theme textarea {
8
+ text-shadow: '{{foreground-shadow}}'; }
9
+ md-input-group.md-THEME_NAME-theme input::-webkit-input-placeholder, md-input-group.md-THEME_NAME-theme input::-moz-placeholder, md-input-group.md-THEME_NAME-theme input:-moz-placeholder, md-input-group.md-THEME_NAME-theme input:-ms-input-placeholder, md-input-group.md-THEME_NAME-theme textarea::-webkit-input-placeholder, md-input-group.md-THEME_NAME-theme textarea::-moz-placeholder, md-input-group.md-THEME_NAME-theme textarea:-moz-placeholder, md-input-group.md-THEME_NAME-theme textarea:-ms-input-placeholder {
10
+ color: '{{foreground-3}}'; }
11
+ md-input-group.md-THEME_NAME-theme label {
12
+ text-shadow: '{{foreground-shadow}}';
13
+ color: '{{foreground-3}}'; }
14
+ md-input-group.md-THEME_NAME-theme input, md-input-group.md-THEME_NAME-theme textarea {
15
+ color: '{{foreground-1}}';
16
+ border-color: '{{foreground-4}}'; }
17
+ md-input-group.md-THEME_NAME-theme.md-input-focused input, md-input-group.md-THEME_NAME-theme.md-input-focused textarea {
18
+ border-color: '{{primary-500}}'; }
19
+ md-input-group.md-THEME_NAME-theme.md-input-focused label {
20
+ color: '{{primary-500}}'; }
21
+ md-input-group.md-THEME_NAME-theme.md-input-focused.md-accent input, md-input-group.md-THEME_NAME-theme.md-input-focused.md-accent textarea {
22
+ border-color: '{{accent-500}}'; }
23
+ md-input-group.md-THEME_NAME-theme.md-input-focused.md-accent label {
24
+ color: '{{accent-500}}'; }
25
+ md-input-group.md-THEME_NAME-theme.md-input-has-value:not(.md-input-focused) label {
26
+ color: '{{foreground-2}}'; }
27
+ md-input-group.md-THEME_NAME-theme .md-input[disabled] {
28
+ border-bottom-color: '{{foreground-4}}';
29
+ color: '{{foreground-3}}'; }
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */md-input-group.md-THEME_NAME-theme input,md-input-group.md-THEME_NAME-theme textarea{text-shadow:'{{foreground-shadow}}'}md-input-group.md-THEME_NAME-theme input:-moz-placeholder,md-input-group.md-THEME_NAME-theme input:-ms-input-placeholder,md-input-group.md-THEME_NAME-theme input::-moz-placeholder,md-input-group.md-THEME_NAME-theme input::-webkit-input-placeholder,md-input-group.md-THEME_NAME-theme textarea:-moz-placeholder,md-input-group.md-THEME_NAME-theme textarea:-ms-input-placeholder,md-input-group.md-THEME_NAME-theme textarea::-moz-placeholder,md-input-group.md-THEME_NAME-theme textarea::-webkit-input-placeholder{color:'{{foreground-3}}'}md-input-group.md-THEME_NAME-theme label{text-shadow:'{{foreground-shadow}}';color:'{{foreground-3}}'}md-input-group.md-THEME_NAME-theme input,md-input-group.md-THEME_NAME-theme textarea{color:'{{foreground-1}}';border-color:'{{foreground-4}}'}md-input-group.md-THEME_NAME-theme.md-input-focused input,md-input-group.md-THEME_NAME-theme.md-input-focused textarea{border-color:'{{primary-500}}'}md-input-group.md-THEME_NAME-theme.md-input-focused label{color:'{{primary-500}}'}md-input-group.md-THEME_NAME-theme.md-input-focused.md-accent input,md-input-group.md-THEME_NAME-theme.md-input-focused.md-accent textarea{border-color:'{{accent-500}}'}md-input-group.md-THEME_NAME-theme.md-input-focused.md-accent label{color:'{{accent-500}}'}md-input-group.md-THEME_NAME-theme.md-input-has-value:not(.md-input-focused) label{color:'{{foreground-2}}'}md-input-group.md-THEME_NAME-theme .md-input[disabled]{border-bottom-color:'{{foreground-4}}';color:'{{foreground-3}}'}
@@ -0,0 +1,76 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ md-input-group label, .md-input-group label {
8
+ display: block;
9
+ font-size: 0.75em; }
10
+ md-input-group textarea, md-input-group input[type="text"], md-input-group input[type="password"], md-input-group input[type="datetime"], md-input-group input[type="datetime-local"], md-input-group input[type="date"], md-input-group input[type="month"], md-input-group input[type="time"], md-input-group input[type="week"], md-input-group input[type="number"], md-input-group input[type="email"], md-input-group input[type="url"], md-input-group input[type="search"], md-input-group input[type="tel"], md-input-group input[type="color"], .md-input-group textarea, .md-input-group input[type="text"], .md-input-group input[type="password"], .md-input-group input[type="datetime"], .md-input-group input[type="datetime-local"], .md-input-group input[type="date"], .md-input-group input[type="month"], .md-input-group input[type="time"], .md-input-group input[type="week"], .md-input-group input[type="number"], .md-input-group input[type="email"], .md-input-group input[type="url"], .md-input-group input[type="search"], .md-input-group input[type="tel"], .md-input-group input[type="color"] {
11
+ display: block;
12
+ border-width: 0 0 1px 0;
13
+ padding-top: 2px;
14
+ line-height: 26px;
15
+ padding-bottom: 1px; }
16
+ md-input-group textarea:focus, md-input-group input[type="text"]:focus, md-input-group input[type="password"]:focus, md-input-group input[type="datetime"]:focus, md-input-group input[type="datetime-local"]:focus, md-input-group input[type="date"]:focus, md-input-group input[type="month"]:focus, md-input-group input[type="time"]:focus, md-input-group input[type="week"]:focus, md-input-group input[type="number"]:focus, md-input-group input[type="email"]:focus, md-input-group input[type="url"]:focus, md-input-group input[type="search"]:focus, md-input-group input[type="tel"]:focus, md-input-group input[type="color"]:focus, .md-input-group textarea:focus, .md-input-group input[type="text"]:focus, .md-input-group input[type="password"]:focus, .md-input-group input[type="datetime"]:focus, .md-input-group input[type="datetime-local"]:focus, .md-input-group input[type="date"]:focus, .md-input-group input[type="month"]:focus, .md-input-group input[type="time"]:focus, .md-input-group input[type="week"]:focus, .md-input-group input[type="number"]:focus, .md-input-group input[type="email"]:focus, .md-input-group input[type="url"]:focus, .md-input-group input[type="search"]:focus, .md-input-group input[type="tel"]:focus, .md-input-group input[type="color"]:focus {
17
+ outline: 0; }
18
+ md-input-group input, md-input-group textarea, .md-input-group input, .md-input-group textarea {
19
+ background: none; }
20
+
21
+ md-input-group, .md-input-group {
22
+ padding-bottom: 2px;
23
+ margin: 10px 0 8px 0;
24
+ position: relative;
25
+ display: block; }
26
+ md-input-group label, .md-input-group label {
27
+ font-size: 1em;
28
+ z-index: 1;
29
+ pointer-events: none;
30
+ -webkit-font-smoothing: antialiased; }
31
+ md-input-group label:hover, .md-input-group label:hover {
32
+ cursor: text; }
33
+ md-input-group label, .md-input-group label {
34
+ -webkit-transform: translate3d(0, 22px, 0);
35
+ transform: translate3d(0, 22px, 0);
36
+ -webkit-transform-origin: left center;
37
+ transform-origin: left center;
38
+ -webkit-transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
39
+ transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
40
+ -webkit-transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
41
+ transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1); }
42
+ md-input-group input, md-input-group textarea, .md-input-group input, .md-input-group textarea {
43
+ border-bottom-width: 1px;
44
+ -webkit-transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
45
+ transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1); }
46
+ md-input-group.md-input-focused label, .md-input-group.md-input-focused label {
47
+ -webkit-transform: translate3d(0, 4px, 0) scale(0.75);
48
+ transform: translate3d(0, 4px, 0) scale(0.75); }
49
+ md-input-group.md-input-focused input, md-input-group.md-input-focused textarea, .md-input-group.md-input-focused input, .md-input-group.md-input-focused textarea {
50
+ border-bottom-width: 2px; }
51
+ md-input-group.md-input-focused input, .md-input-group.md-input-focused input {
52
+ padding-bottom: 0px; }
53
+ md-input-group.md-input-has-value label, .md-input-group.md-input-has-value label {
54
+ -webkit-transform: translate3d(0, 4px, 0) scale(0.75);
55
+ transform: translate3d(0, 4px, 0) scale(0.75); }
56
+ md-input-group.md-input-has-value:not(.md-input-focused) label, .md-input-group.md-input-has-value:not(.md-input-focused) label {
57
+ -webkit-transform: translate3d(0, 4px, 0) scale(0.75);
58
+ transform: translate3d(0, 4px, 0) scale(0.75); }
59
+ md-input-group[disabled] input, md-input-group[disabled] textarea, .md-input-group[disabled] input, .md-input-group[disabled] textarea {
60
+ border-bottom-width: 0px; }
61
+ md-input-group[disabled] input, md-input-group[disabled] textarea, .md-input-group[disabled] input, .md-input-group[disabled] textarea {
62
+ background-size: 3px 1px;
63
+ background-position: 0 bottom;
64
+ background-size: 2px 1px;
65
+ background-repeat: repeat-x;
66
+ pointer-events: none; }
67
+ md-input-group[disabled] label, .md-input-group[disabled] label {
68
+ -webkit-transform: translate3d(0, 4px, 0) scale(0.75);
69
+ transform: translate3d(0, 4px, 0) scale(0.75); }
70
+ md-input-group[disabled] *:not(.md-input-has-value) label, .md-input-group[disabled] *:not(.md-input-has-value) label {
71
+ -webkit-transform: translate3d(0, 22px, 0);
72
+ transform: translate3d(0, 22px, 0);
73
+ -webkit-transform-origin: left center;
74
+ transform-origin: left center;
75
+ -webkit-transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
76
+ transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1); }
@@ -0,0 +1,143 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ (function() {
8
+ 'use strict';
9
+
10
+ /**
11
+ * @ngdoc module
12
+ * @name material.components.textField
13
+ * @description
14
+ * Form
15
+ */
16
+ angular.module('material.components.textField', [
17
+ 'material.core'
18
+ ])
19
+ .directive('mdInputGroup', mdInputGroupDirective)
20
+ .directive('mdInput', mdInputDirective)
21
+ .directive('mdTextFloat', mdTextFloatDirective);
22
+
23
+
24
+ function mdTextFloatDirective($mdTheming, $mdUtil, $parse, $log) {
25
+ return {
26
+ restrict: 'E',
27
+ replace: true,
28
+ scope : {
29
+ fid : '@?mdFid',
30
+ label : '@?',
31
+ value : '=ngModel'
32
+ },
33
+ compile : function(element, attr) {
34
+
35
+ $log.warn('<md-text-float> is deprecated. Please use `<md-input-container>` and `<input>`.' +
36
+ 'More information at http://material.angularjs.org/#/api/material.components.input/directive/mdInputContainer');
37
+
38
+ if ( angular.isUndefined(attr.mdFid) ) {
39
+ attr.mdFid = $mdUtil.nextUid();
40
+ }
41
+
42
+ return {
43
+ pre : function(scope, element, attrs) {
44
+ var disabledParsed = $parse(attrs.ngDisabled);
45
+ scope.isDisabled = function() {
46
+ return disabledParsed(scope.$parent);
47
+ };
48
+
49
+ scope.inputType = attrs.type || "text";
50
+ },
51
+ post: $mdTheming
52
+ };
53
+ },
54
+ template:
55
+ '<md-input-group tabindex="-1">' +
56
+ ' <label for="{{fid}}" >{{label}}</label>' +
57
+ ' <md-input id="{{fid}}" ng-disabled="isDisabled()" ng-model="value" type="{{inputType}}"></md-input>' +
58
+ '</md-input-group>'
59
+ };
60
+ }
61
+ mdTextFloatDirective.$inject = ["$mdTheming", "$mdUtil", "$parse", "$log"];
62
+
63
+ function mdInputGroupDirective($log) {
64
+ return {
65
+ restrict: 'CE',
66
+ controller: ['$element', function($element) {
67
+
68
+ $log.warn('<md-input-group> is deprecated. Please use `<md-input-container>` and `<input>`.' +
69
+ 'More information at http://material.angularjs.org/#/api/material.components.input/directive/mdInputContainer');
70
+ this.setFocused = function(isFocused) {
71
+ $element.toggleClass('md-input-focused', !!isFocused);
72
+ };
73
+ this.setHasValue = function(hasValue) {
74
+ $element.toggleClass('md-input-has-value', hasValue );
75
+ };
76
+ }]
77
+ };
78
+
79
+ }
80
+ mdInputGroupDirective.$inject = ["$log"];
81
+
82
+ function mdInputDirective($mdUtil, $log) {
83
+ return {
84
+ restrict: 'E',
85
+ replace: true,
86
+ template: '<input >',
87
+ require: ['^?mdInputGroup', '?ngModel'],
88
+ link: function(scope, element, attr, ctrls) {
89
+ if ( !ctrls[0] ) return;
90
+
91
+ $log.warn('<md-input> is deprecated. Please use `<md-input-container>` and `<input>`.' +
92
+ 'More information at http://material.angularjs.org/#/api/material.components.input/directive/mdInputContainer');
93
+
94
+ var inputGroupCtrl = ctrls[0];
95
+ var ngModelCtrl = ctrls[1];
96
+
97
+ scope.$watch(scope.isDisabled, function(isDisabled) {
98
+ element.attr('aria-disabled', !!isDisabled);
99
+ element.attr('tabindex', !!isDisabled);
100
+ });
101
+ element.attr('type', attr.type || element.parent().attr('type') || "text");
102
+
103
+ // When the input value changes, check if it "has" a value, and
104
+ // set the appropriate class on the input group
105
+ if (ngModelCtrl) {
106
+ //Add a $formatter so we don't use up the render function
107
+ ngModelCtrl.$formatters.push(function(value) {
108
+ inputGroupCtrl.setHasValue( isNotEmpty(value) );
109
+ return value;
110
+ });
111
+ }
112
+
113
+ element
114
+ .on('input', function() {
115
+ inputGroupCtrl.setHasValue( isNotEmpty() );
116
+ })
117
+ .on('focus', function(e) {
118
+ // When the input focuses, add the focused class to the group
119
+ inputGroupCtrl.setFocused(true);
120
+ })
121
+ .on('blur', function(e) {
122
+ // When the input blurs, remove the focused class from the group
123
+ inputGroupCtrl.setFocused(false);
124
+ inputGroupCtrl.setHasValue( isNotEmpty() );
125
+ });
126
+
127
+ scope.$on('$destroy', function() {
128
+ inputGroupCtrl.setFocused(false);
129
+ inputGroupCtrl.setHasValue(false);
130
+ });
131
+
132
+
133
+ function isNotEmpty(value) {
134
+ value = angular.isUndefined(value) ? element.val() : value;
135
+ return (angular.isDefined(value) && (value!==null) &&
136
+ (value.toString().trim() !== ""));
137
+ }
138
+ }
139
+ };
140
+ }
141
+ mdInputDirective.$inject = ["$mdUtil", "$log"];
142
+
143
+ })();
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */.md-input-group label,md-input-group label{display:block}.md-input-group input[type=color],.md-input-group input[type=date],.md-input-group input[type=datetime-local],.md-input-group input[type=datetime],.md-input-group input[type=email],.md-input-group input[type=month],.md-input-group input[type=number],.md-input-group input[type=password],.md-input-group input[type=search],.md-input-group input[type=tel],.md-input-group input[type=text],.md-input-group input[type=time],.md-input-group input[type=url],.md-input-group input[type=week],.md-input-group textarea,md-input-group input[type=color],md-input-group input[type=date],md-input-group input[type=datetime-local],md-input-group input[type=datetime],md-input-group input[type=email],md-input-group input[type=month],md-input-group input[type=number],md-input-group input[type=password],md-input-group input[type=search],md-input-group input[type=tel],md-input-group input[type=text],md-input-group input[type=time],md-input-group input[type=url],md-input-group input[type=week],md-input-group textarea{display:block;border-width:0 0 1px;padding-top:2px;line-height:26px;padding-bottom:1px}.md-input-group input[type=color]:focus,.md-input-group input[type=date]:focus,.md-input-group input[type=datetime-local]:focus,.md-input-group input[type=datetime]:focus,.md-input-group input[type=email]:focus,.md-input-group input[type=month]:focus,.md-input-group input[type=number]:focus,.md-input-group input[type=password]:focus,.md-input-group input[type=search]:focus,.md-input-group input[type=tel]:focus,.md-input-group input[type=text]:focus,.md-input-group input[type=time]:focus,.md-input-group input[type=url]:focus,.md-input-group input[type=week]:focus,.md-input-group textarea:focus,md-input-group input[type=color]:focus,md-input-group input[type=date]:focus,md-input-group input[type=datetime-local]:focus,md-input-group input[type=datetime]:focus,md-input-group input[type=email]:focus,md-input-group input[type=month]:focus,md-input-group input[type=number]:focus,md-input-group input[type=password]:focus,md-input-group input[type=search]:focus,md-input-group input[type=tel]:focus,md-input-group input[type=text]:focus,md-input-group input[type=time]:focus,md-input-group input[type=url]:focus,md-input-group input[type=week]:focus,md-input-group textarea:focus{outline:0}.md-input-group input,.md-input-group textarea,md-input-group input,md-input-group textarea{background:0 0}.md-input-group,md-input-group{padding-bottom:2px;margin:10px 0 8px;position:relative;display:block}.md-input-group label,md-input-group label{font-size:1em;z-index:1;pointer-events:none;-webkit-font-smoothing:antialiased}.md-input-group label:hover,md-input-group label:hover{cursor:text}.md-input-group label,md-input-group label{-webkit-transform:translate3d(0,22px,0);transform:translate3d(0,22px,0);-webkit-transform-origin:left center;transform-origin:left center;-webkit-transition:all .15s cubic-bezier(0.35,0,.25,1);transition:all .15s cubic-bezier(0.35,0,.25,1)}.md-input-group input,.md-input-group textarea,md-input-group input,md-input-group textarea{border-bottom-width:1px;-webkit-transition:all .15s cubic-bezier(0.35,0,.25,1);transition:all .15s cubic-bezier(0.35,0,.25,1)}.md-input-group.md-input-focused label,md-input-group.md-input-focused label{-webkit-transform:translate3d(0,4px,0) scale(0.75);transform:translate3d(0,4px,0) scale(0.75)}.md-input-group.md-input-focused input,.md-input-group.md-input-focused textarea,md-input-group.md-input-focused input,md-input-group.md-input-focused textarea{border-bottom-width:2px}.md-input-group.md-input-focused input,md-input-group.md-input-focused input{padding-bottom:0}.md-input-group.md-input-has-value label,.md-input-group.md-input-has-value:not(.md-input-focused) label,md-input-group.md-input-has-value label,md-input-group.md-input-has-value:not(.md-input-focused) label{-webkit-transform:translate3d(0,4px,0) scale(0.75);transform:translate3d(0,4px,0) scale(0.75)}.md-input-group[disabled] input,.md-input-group[disabled] textarea,md-input-group[disabled] input,md-input-group[disabled] textarea{border-bottom-width:0;background-position:0 bottom;background-size:2px 1px;background-repeat:repeat-x;pointer-events:none}.md-input-group[disabled] label,md-input-group[disabled] label{-webkit-transform:translate3d(0,4px,0) scale(0.75);transform:translate3d(0,4px,0) scale(0.75)}.md-input-group[disabled] :not(.md-input-has-value) label,md-input-group[disabled] :not(.md-input-has-value) label{-webkit-transform:translate3d(0,22px,0);transform:translate3d(0,22px,0);-webkit-transform-origin:left center;transform-origin:left center;-webkit-transition:all .15s cubic-bezier(0.35,0,.25,1);transition:all .15s cubic-bezier(0.35,0,.25,1)}
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ !function(){"use strict";function t(t,e,n,i){return{restrict:"E",replace:!0,scope:{fid:"@?mdFid",label:"@?",value:"=ngModel"},compile:function(a,r){return i.warn("<md-text-float> is deprecated. Please use `<md-input-container>` and `<input>`.More information at http://material.angularjs.org/#/api/material.components.input/directive/mdInputContainer"),angular.isUndefined(r.mdFid)&&(r.mdFid=e.nextUid()),{pre:function(t,e,i){var a=n(i.ngDisabled);t.isDisabled=function(){return a(t.$parent)},t.inputType=i.type||"text"},post:t}},template:'<md-input-group tabindex="-1"> <label for="{{fid}}" >{{label}}</label> <md-input id="{{fid}}" ng-disabled="isDisabled()" ng-model="value" type="{{inputType}}"></md-input></md-input-group>'}}function e(t){return{restrict:"CE",controller:["$element",function(e){t.warn("<md-input-group> is deprecated. Please use `<md-input-container>` and `<input>`.More information at http://material.angularjs.org/#/api/material.components.input/directive/mdInputContainer"),this.setFocused=function(t){e.toggleClass("md-input-focused",!!t)},this.setHasValue=function(t){e.toggleClass("md-input-has-value",t)}}]}}function n(t,e){return{restrict:"E",replace:!0,template:"<input >",require:["^?mdInputGroup","?ngModel"],link:function(t,n,i,a){function r(t){return t=angular.isUndefined(t)?n.val():t,angular.isDefined(t)&&null!==t&&""!==t.toString().trim()}if(a[0]){e.warn("<md-input> is deprecated. Please use `<md-input-container>` and `<input>`.More information at http://material.angularjs.org/#/api/material.components.input/directive/mdInputContainer");var u=a[0],o=a[1];t.$watch(t.isDisabled,function(t){n.attr("aria-disabled",!!t),n.attr("tabindex",!!t)}),n.attr("type",i.type||n.parent().attr("type")||"text"),o&&o.$formatters.push(function(t){return u.setHasValue(r(t)),t}),n.on("input",function(){u.setHasValue(r())}).on("focus",function(){u.setFocused(!0)}).on("blur",function(){u.setFocused(!1),u.setHasValue(r())}),t.$on("$destroy",function(){u.setFocused(!1),u.setHasValue(!1)})}}}}angular.module("material.components.textField",["material.core"]).directive("mdInputGroup",e).directive("mdInput",n).directive("mdTextFloat",t),t.$inject=["$mdTheming","$mdUtil","$parse","$log"],e.$inject=["$log"],n.$inject=["$mdUtil","$log"]}();
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "angular-material-toast",
3
+ "version": "0.7.0-rc3",
4
+ "dependencies": {
5
+ "angular-material-core": "0.7.0-rc3",
6
+ "angular-material-swipe": "0.7.0-rc3",
7
+ "angular-material-button": "0.7.0-rc3"
8
+ }
9
+ }
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ md-toast.md-THEME_NAME-theme {
8
+ background-color: '{{foreground-1}}';
9
+ color: '{{background-50}}'; }
10
+ md-toast.md-THEME_NAME-theme .md-button {
11
+ color: '{{background-50}}'; }
12
+ md-toast.md-THEME_NAME-theme .md-action {
13
+ color: '{{primary-A200}}'; }
14
+ md-toast.md-THEME_NAME-theme .md-action.md-accent {
15
+ color: '{{accent-A200}}'; }
16
+ md-toast.md-THEME_NAME-theme .md-action.md-warn {
17
+ color: '{{warn-A200}}'; }
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */md-toast.md-THEME_NAME-theme{background-color:'{{foreground-1}}';color:'{{background-50}}'}md-toast.md-THEME_NAME-theme .md-button{color:'{{background-50}}'}md-toast.md-THEME_NAME-theme .md-action{color:'{{primary-A200}}'}md-toast.md-THEME_NAME-theme .md-action.md-accent{color:'{{accent-A200}}'}md-toast.md-THEME_NAME-theme .md-action.md-warn{color:'{{warn-A200}}'}
@@ -0,0 +1,115 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ md-toast {
8
+ display: -webkit-box;
9
+ display: -webkit-flex;
10
+ display: -ms-flexbox;
11
+ display: flex;
12
+ position: absolute;
13
+ box-sizing: border-box;
14
+ -webkit-box-align: center;
15
+ -webkit-align-items: center;
16
+ -ms-flex-align: center;
17
+ align-items: center;
18
+ min-height: 48px;
19
+ padding-left: 24px;
20
+ padding-right: 24px;
21
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
22
+ border-radius: 2px;
23
+ font-size: 14px;
24
+ cursor: default;
25
+ max-width: 879px;
26
+ max-height: 40px;
27
+ height: 24px;
28
+ z-index: 90;
29
+ opacity: 1;
30
+ -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg);
31
+ transform: translate3d(0, 0, 0) rotateZ(0deg);
32
+ -webkit-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
33
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
34
+ /* Transition differently when swiping */ }
35
+ md-toast.md-capsule {
36
+ border-radius: 24px; }
37
+ md-toast.ng-leave-active {
38
+ -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
39
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2); }
40
+ md-toast.md-swipeleft, md-toast.md-swiperight, md-toast.md-swipeup, md-toast.md-swipedown {
41
+ -webkit-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
42
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
43
+ md-toast.ng-enter {
44
+ -webkit-transform: translate3d(0, 100%, 0);
45
+ transform: translate3d(0, 100%, 0);
46
+ opacity: 0; }
47
+ md-toast.ng-enter.md-top {
48
+ -webkit-transform: translate3d(0, -100%, 0);
49
+ transform: translate3d(0, -100%, 0); }
50
+ md-toast.ng-enter.ng-enter-active {
51
+ -webkit-transform: translate3d(0, 0, 0);
52
+ transform: translate3d(0, 0, 0);
53
+ opacity: 1; }
54
+ md-toast.ng-leave.ng-leave-active {
55
+ opacity: 0;
56
+ -webkit-transform: translate3d(0, 100%, 0);
57
+ transform: translate3d(0, 100%, 0); }
58
+ md-toast.ng-leave.ng-leave-active.md-top {
59
+ -webkit-transform: translate3d(0, -100%, 0);
60
+ transform: translate3d(0, -100%, 0); }
61
+ md-toast.ng-leave.ng-leave-active.md-swipeleft {
62
+ -webkit-transform: translate3d(-100%, 0%, 0);
63
+ transform: translate3d(-100%, 0%, 0); }
64
+ md-toast.ng-leave.ng-leave-active.md-swiperight {
65
+ -webkit-transform: translate3d(100%, 0%, 0);
66
+ transform: translate3d(100%, 0%, 0); }
67
+ md-toast .md-action {
68
+ line-height: 19px;
69
+ padding-left: 24px;
70
+ cursor: pointer;
71
+ text-transform: uppercase;
72
+ float: right; }
73
+
74
+ @media (max-width: 600px) {
75
+ md-toast {
76
+ left: 0;
77
+ right: 0;
78
+ width: 100%;
79
+ max-width: 100%;
80
+ min-width: 0;
81
+ border-radius: 0;
82
+ bottom: 0; }
83
+ md-toast.md-top {
84
+ bottom: auto;
85
+ top: 0; }
86
+ }
87
+
88
+ @media (min-width: 600px) {
89
+ md-toast {
90
+ min-width: 288px;
91
+ /*
92
+ * When the toast doesn't take up the whole screen,
93
+ * make it rotate when the user swipes it away
94
+ */ }
95
+ md-toast.md-bottom {
96
+ bottom: 8px; }
97
+ md-toast.md-left {
98
+ left: 8px; }
99
+ md-toast.md-right {
100
+ right: 8px; }
101
+ md-toast.md-top {
102
+ top: 8px; }
103
+ md-toast.ng-leave.ng-leave-active.md-swipeleft {
104
+ -webkit-transform: translate3d(-100%, 25%, 0) rotateZ(-15deg);
105
+ transform: translate3d(-100%, 25%, 0) rotateZ(-15deg); }
106
+ md-toast.ng-leave.ng-leave-active.md-swiperight {
107
+ -webkit-transform: translate3d(100%, 25%, 0) rotateZ(15deg);
108
+ transform: translate3d(100%, 25%, 0) rotateZ(15deg); }
109
+ md-toast.ng-leave.ng-leave-active.md-top.md-swipeleft {
110
+ -webkit-transform: translate3d(-100%, 0, 0) rotateZ(-15deg);
111
+ transform: translate3d(-100%, 0, 0) rotateZ(-15deg); }
112
+ md-toast.ng-leave.ng-leave-active.md-top.md-swiperight {
113
+ -webkit-transform: translate3d(100%, 0, 0) rotateZ(15deg);
114
+ transform: translate3d(100%, 0, 0) rotateZ(15deg); }
115
+ }