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,50 @@
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.icon
13
+ * @description
14
+ * Icon
15
+ */
16
+ angular.module('material.components.icon', [
17
+ 'material.core'
18
+ ])
19
+ .directive('mdIcon', mdIconDirective);
20
+
21
+ /*
22
+ * @ngdoc directive
23
+ * @name mdIcon
24
+ * @module material.components.icon
25
+ *
26
+ * @restrict E
27
+ *
28
+ * @description
29
+ * The `<md-icon>` directive is an element useful for SVG icons
30
+ *
31
+ * @usage
32
+ * <hljs lang="html">
33
+ * <md-icon icon="/img/icons/ic_access_time_24px.svg">
34
+ * </md-icon>
35
+ * </hljs>
36
+ *
37
+ */
38
+ function mdIconDirective() {
39
+ return {
40
+ restrict: 'E',
41
+ template: '<object class="md-icon"></object>',
42
+ compile: function(element, attr) {
43
+ var object = angular.element(element[0].children[0]);
44
+ if(angular.isDefined(attr.icon)) {
45
+ object.attr('data', attr.icon);
46
+ }
47
+ }
48
+ };
49
+ }
50
+ })();
@@ -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-icon{margin:5px auto auto;padding:0;background-repeat:no-repeat no-repeat;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}md-icon object.md-icon{display:inline-block}object,svg{fill:currentColor;color:currentColor}
@@ -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 e(){return{restrict:"E",template:'<object class="md-icon"></object>',compile:function(e,n){var t=angular.element(e[0].children[0]);angular.isDefined(n.icon)&&t.attr("data",n.icon)}}}angular.module("material.components.icon",["material.core"]).directive("mdIcon",e)}();
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "angular-material-input",
3
+ "version": "0.7.0-rc3",
4
+ "dependencies": {
5
+ "angular-material-core": "0.7.0-rc3"
6
+ }
7
+ }
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ md-input-container.md-THEME_NAME-theme .md-input {
8
+ color: '{{foreground-1}}';
9
+ border-color: '{{foreground-4}}';
10
+ text-shadow: '{{foreground-shadow}}'; }
11
+ md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder, md-input-container.md-THEME_NAME-theme .md-input::-moz-placeholder, md-input-container.md-THEME_NAME-theme .md-input:-moz-placeholder, md-input-container.md-THEME_NAME-theme .md-input:-ms-input-placeholder {
12
+ color: '{{foreground-3}}'; }
13
+ md-input-container.md-THEME_NAME-theme label {
14
+ text-shadow: '{{foreground-shadow}}';
15
+ color: '{{foreground-3}}'; }
16
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-has-value label {
17
+ color: '{{foreground-2}}'; }
18
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused .md-input {
19
+ border-color: '{{primary-500}}'; }
20
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label {
21
+ color: '{{primary-500}}'; }
22
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input {
23
+ border-color: '{{accent-500}}'; }
24
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label {
25
+ color: '{{accent-500}}'; }
26
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input {
27
+ border-color: '{{warn-500}}'; }
28
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label {
29
+ color: '{{warn-500}}'; }
30
+ md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input {
31
+ border-color: '{{warn-500}}'; }
32
+ md-input-container.md-THEME_NAME-theme.md-input-invalid label {
33
+ color: '{{warn-500}}'; }
34
+ md-input-container.md-THEME_NAME-theme.md-input-invalid ng-message, md-input-container.md-THEME_NAME-theme.md-input-invalid data-ng-message, md-input-container.md-THEME_NAME-theme.md-input-invalid x-ng-message, md-input-container.md-THEME_NAME-theme.md-input-invalid [ng-message], md-input-container.md-THEME_NAME-theme.md-input-invalid [data-ng-message], md-input-container.md-THEME_NAME-theme.md-input-invalid [x-ng-message], md-input-container.md-THEME_NAME-theme.md-input-invalid .md-char-counter {
35
+ color: '{{warn-500}}'; }
36
+ md-input-container.md-THEME_NAME-theme .md-input[disabled] {
37
+ border-bottom-color: transparent;
38
+ color: '{{foreground-3}}';
39
+ background-image: -webkit-linear-gradient(left, '{{foreground-4}}' 0%, '{{foreground-4}}' 33%, transparent 0%);
40
+ background-image: linear-gradient(to right, '{{foreground-4}}' 0%, '{{foreground-4}}' 33%, transparent 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-input-container.md-THEME_NAME-theme .md-input{color:'{{foreground-1}}';border-color:'{{foreground-4}}';text-shadow:'{{foreground-shadow}}'}md-input-container.md-THEME_NAME-theme .md-input:-moz-placeholder,md-input-container.md-THEME_NAME-theme .md-input:-ms-input-placeholder,md-input-container.md-THEME_NAME-theme .md-input::-moz-placeholder,md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder{color:'{{foreground-3}}'}md-input-container.md-THEME_NAME-theme label{text-shadow:'{{foreground-shadow}}';color:'{{foreground-3}}'}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-has-value label{color:'{{foreground-2}}'}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused .md-input{border-color:'{{primary-500}}'}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label{color:'{{primary-500}}'}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input{border-color:'{{accent-500}}'}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label{color:'{{accent-500}}'}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input{border-color:'{{warn-500}}'}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label{color:'{{warn-500}}'}md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input{border-color:'{{warn-500}}'}md-input-container.md-THEME_NAME-theme.md-input-invalid .md-char-counter,md-input-container.md-THEME_NAME-theme.md-input-invalid [data-ng-message],md-input-container.md-THEME_NAME-theme.md-input-invalid [ng-message],md-input-container.md-THEME_NAME-theme.md-input-invalid [x-ng-message],md-input-container.md-THEME_NAME-theme.md-input-invalid data-ng-message,md-input-container.md-THEME_NAME-theme.md-input-invalid label,md-input-container.md-THEME_NAME-theme.md-input-invalid ng-message,md-input-container.md-THEME_NAME-theme.md-input-invalid x-ng-message{color:'{{warn-500}}'}md-input-container.md-THEME_NAME-theme .md-input[disabled]{border-bottom-color:transparent;color:'{{foreground-3}}';background-image:-webkit-linear-gradient(left,'{{foreground-4}}' 0,'{{foreground-4}}' 33%,transparent 0);background-image:linear-gradient(to right,'{{foreground-4}}' 0,'{{foreground-4}}' 33%,transparent 0)}
@@ -0,0 +1,102 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ md-input-container {
8
+ display: -webkit-box;
9
+ display: -webkit-flex;
10
+ display: -ms-flexbox;
11
+ display: flex;
12
+ position: relative;
13
+ -webkit-box-orient: vertical;
14
+ -webkit-box-direction: normal;
15
+ -webkit-flex-direction: column;
16
+ -ms-flex-direction: column;
17
+ flex-direction: column;
18
+ padding: 2px;
19
+ padding-bottom: 26px;
20
+ /*
21
+ * The .md-input class is added to the input/textarea
22
+ */ }
23
+ md-input-container textarea, md-input-container input[type="text"], md-input-container input[type="password"], md-input-container input[type="datetime"], md-input-container input[type="datetime-local"], md-input-container input[type="date"], md-input-container input[type="month"], md-input-container input[type="time"], md-input-container input[type="week"], md-input-container input[type="number"], md-input-container input[type="email"], md-input-container input[type="url"], md-input-container input[type="search"], md-input-container input[type="tel"], md-input-container input[type="color"] {
24
+ /* remove default appearance from all input/textarea */
25
+ -moz-appearance: none;
26
+ -webkit-appearance: none; }
27
+ md-input-container textarea {
28
+ resize: none;
29
+ overflow: hidden; }
30
+ md-input-container label {
31
+ -webkit-box-ordinal-group: 2;
32
+ -webkit-order: 1;
33
+ -ms-flex-order: 1;
34
+ order: 1;
35
+ pointer-events: none;
36
+ -webkit-font-smoothing: antialiased;
37
+ padding-left: 2px;
38
+ z-index: 1;
39
+ -webkit-transform: translate3d(0, 24px, 0) scale(1);
40
+ transform: translate3d(0, 24px, 0) scale(1);
41
+ -webkit-transform-origin: left top;
42
+ transform-origin: left top;
43
+ -webkit-transition: -webkit-transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.25s;
44
+ transition: transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.25s; }
45
+ md-input-container .md-input {
46
+ -webkit-box-flex: 1;
47
+ -webkit-flex: 1;
48
+ -ms-flex: 1;
49
+ flex: 1;
50
+ -webkit-box-ordinal-group: 3;
51
+ -webkit-order: 2;
52
+ -ms-flex-order: 2;
53
+ order: 2;
54
+ display: block;
55
+ background: none;
56
+ padding-top: 2px;
57
+ padding-bottom: 1px;
58
+ border-width: 0 0 1px 0;
59
+ line-height: 26px;
60
+ -ms-flex-preferred-size: 26px; }
61
+ md-input-container .md-input:focus {
62
+ outline: none; }
63
+ md-input-container ng-messages, md-input-container data-ng-messages, md-input-container x-ng-messages, md-input-container [ng-messages], md-input-container [data-ng-messages], md-input-container [x-ng-messages] {
64
+ -webkit-box-ordinal-group: 4;
65
+ -webkit-order: 3;
66
+ -ms-flex-order: 3;
67
+ order: 3;
68
+ position: relative; }
69
+ md-input-container ng-message, md-input-container data-ng-message, md-input-container x-ng-message, md-input-container [ng-message], md-input-container [data-ng-message], md-input-container [x-ng-message], md-input-container .md-char-counter {
70
+ -webkit-font-smoothing: antialiased;
71
+ position: absolute;
72
+ font-size: 12px;
73
+ line-height: 24px; }
74
+ md-input-container ng-message.ng-enter, md-input-container data-ng-message.ng-enter, md-input-container x-ng-message.ng-enter, md-input-container [ng-message].ng-enter, md-input-container [data-ng-message].ng-enter, md-input-container [x-ng-message].ng-enter, md-input-container .md-char-counter.ng-enter {
75
+ -webkit-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
76
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
77
+ -webkit-transition-delay: 0.2s;
78
+ transition-delay: 0.2s; }
79
+ md-input-container ng-message.ng-leave, md-input-container data-ng-message.ng-leave, md-input-container x-ng-message.ng-leave, md-input-container [ng-message].ng-leave, md-input-container [data-ng-message].ng-leave, md-input-container [x-ng-message].ng-leave, md-input-container .md-char-counter.ng-leave {
80
+ -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
81
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2); }
82
+ md-input-container ng-message.ng-enter, md-input-container ng-message.ng-leave.ng-leave-active, md-input-container data-ng-message.ng-enter, md-input-container data-ng-message.ng-leave.ng-leave-active, md-input-container x-ng-message.ng-enter, md-input-container x-ng-message.ng-leave.ng-leave-active, md-input-container [ng-message].ng-enter, md-input-container [ng-message].ng-leave.ng-leave-active, md-input-container [data-ng-message].ng-enter, md-input-container [data-ng-message].ng-leave.ng-leave-active, md-input-container [x-ng-message].ng-enter, md-input-container [x-ng-message].ng-leave.ng-leave-active, md-input-container .md-char-counter.ng-enter, md-input-container .md-char-counter.ng-leave.ng-leave-active {
83
+ opacity: 0;
84
+ -webkit-transform: translate3d(0, -20%, 0);
85
+ transform: translate3d(0, -20%, 0); }
86
+ md-input-container ng-message.ng-leave, md-input-container ng-message.ng-enter.ng-enter-active, md-input-container data-ng-message.ng-leave, md-input-container data-ng-message.ng-enter.ng-enter-active, md-input-container x-ng-message.ng-leave, md-input-container x-ng-message.ng-enter.ng-enter-active, md-input-container [ng-message].ng-leave, md-input-container [ng-message].ng-enter.ng-enter-active, md-input-container [data-ng-message].ng-leave, md-input-container [data-ng-message].ng-enter.ng-enter-active, md-input-container [x-ng-message].ng-leave, md-input-container [x-ng-message].ng-enter.ng-enter-active, md-input-container .md-char-counter.ng-leave, md-input-container .md-char-counter.ng-enter.ng-enter-active {
87
+ opacity: 1;
88
+ -webkit-transform: translate3d(0, 0, 0);
89
+ transform: translate3d(0, 0, 0); }
90
+ md-input-container .md-char-counter {
91
+ bottom: 2px;
92
+ right: 2px; }
93
+ md-input-container.md-input-focused label, md-input-container.md-input-has-value label {
94
+ -webkit-transform: translate3d(0, 4px, 0) scale(0.75);
95
+ transform: translate3d(0, 4px, 0) scale(0.75); }
96
+ md-input-container.md-input-focused .md-input, md-input-container .md-input.ng-invalid.ng-dirty {
97
+ padding-bottom: 0px;
98
+ border-width: 0 0 2px 0; }
99
+ md-input-container .md-input[disabled] {
100
+ background-position: 0 bottom;
101
+ background-size: 3px 1px;
102
+ background-repeat: repeat-x; }
@@ -0,0 +1,333 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ (function() {
8
+
9
+ /**
10
+ * @ngdoc module
11
+ * @name material.components.input
12
+ */
13
+
14
+ angular.module('material.components.input', [
15
+ 'material.core'
16
+ ])
17
+ .directive('mdInputContainer', mdInputContainerDirective)
18
+ .directive('label', labelDirective)
19
+ .directive('input', inputTextareaDirective)
20
+ .directive('textarea', inputTextareaDirective)
21
+ .directive('mdMaxlength', mdMaxlengthDirective);
22
+
23
+ /**
24
+ * @ngdoc directive
25
+ * @name mdInputContainer
26
+ * @module material.components.input
27
+ *
28
+ * @restrict E
29
+ *
30
+ * @description
31
+ * `<md-input-container>` is the parent of any input or textarea element.
32
+ *
33
+ * Input and textarea elements will not behave properly unless the md-input-container
34
+ * parent is provided.
35
+ *
36
+ * @usage
37
+ * <hljs lang="html">
38
+ *
39
+ * <md-input-container>
40
+ * <label>Username</label>
41
+ * <input type="text" ng-model="user.name">
42
+ * </md-input-container>
43
+ *
44
+ * <md-input-container>
45
+ * <label>Description</label>
46
+ * <textarea ng-model="user.description"></textarea>
47
+ * </md-input-container>
48
+ *
49
+ * </hljs>
50
+ */
51
+ function mdInputContainerDirective($mdTheming) {
52
+ ContainerCtrl.$inject = ["$scope", "$element", "$mdUtil"];
53
+ return {
54
+ restrict: 'E',
55
+ link: postLink,
56
+ controller: ContainerCtrl
57
+ };
58
+
59
+ function postLink(scope, element, attr) {
60
+ $mdTheming(element);
61
+ }
62
+ function ContainerCtrl($scope, $element, $mdUtil) {
63
+ var self = this;
64
+
65
+ self.element = $element;
66
+ self.setFocused = function(isFocused) {
67
+ $element.toggleClass('md-input-focused', !!isFocused);
68
+ };
69
+ self.setHasValue = function(hasValue) {
70
+ $element.toggleClass('md-input-has-value', !!hasValue);
71
+ };
72
+ self.setInvalid = function(isInvalid) {
73
+ $element.toggleClass('md-input-invalid', !!isInvalid);
74
+ };
75
+
76
+ $scope.$watch(function() {
77
+ return self.label && self.input;
78
+ }, function(hasLabelAndInput) {
79
+ if (hasLabelAndInput && !self.label.attr('for')) {
80
+ self.label.attr('for', self.input.attr('id'));
81
+ }
82
+ });
83
+ }
84
+ }
85
+ mdInputContainerDirective.$inject = ["$mdTheming"];
86
+
87
+ function labelDirective() {
88
+ return {
89
+ restrict: 'E',
90
+ require: '^?mdInputContainer',
91
+ link: function(scope, element, attr, containerCtrl) {
92
+ if (!containerCtrl) return;
93
+
94
+ containerCtrl.label = element;
95
+ scope.$on('$destroy', function() {
96
+ containerCtrl.label = null;
97
+ });
98
+ }
99
+ };
100
+ }
101
+
102
+ /**
103
+ * @ngdoc directive
104
+ * @name input
105
+ * @restrict E
106
+ * @module material.components.input
107
+ *
108
+ * @description
109
+ * Must be placed as a child of an `<md-input-container>`.
110
+ *
111
+ * Behaves like the [AngularJS input directive](https://docs.angularjs.org/api/ng/directive/input).
112
+ *
113
+ * @usage
114
+ * <hljs lang="html">
115
+ * <md-input-container>
116
+ * <label>Color</label>
117
+ * <input type="text" ng-model="color" required md-maxlength="10">
118
+ * </md-input-container>
119
+ * </hljs>
120
+ * <h3>With Errors (uses [ngMessages](https://docs.angularjs.org/api/ngMessages))</h3>
121
+ * <hljs lang="html">
122
+ * <form name="userForm">
123
+ * <md-input-container>
124
+ * <label>Last Name</label>
125
+ * <input name="lastName" ng-model="lastName" required md-maxlength="10" minlength="4">
126
+ * <div ng-messages="userForm.lastName.$error" ng-show="userForm.bio.$dirty">
127
+ * <div ng-message="required">This is required!</div>
128
+ * <div ng-message="md-maxlength">That's too long!</div>
129
+ * <div ng-message="minlength">That's too short!</div>
130
+ * </div>
131
+ * </md-input-container>
132
+ * </form>
133
+ * </hljs>
134
+ *
135
+ * @param {number=} md-maxlength The maximum number of characters allowed in this input. If this is specified, a character counter will be shown underneath the input.
136
+ */
137
+ /**
138
+ * @ngdoc directive
139
+ * @name textarea
140
+ * @restrict E
141
+ * @module material.components.input
142
+ *
143
+ * @description
144
+ * Must be placed as a child of an `<md-input-container>`.
145
+ *
146
+ * Behaves like the [AngularJS input directive](https://docs.angularjs.org/api/ng/directive/textarea).
147
+ *
148
+ * @usage
149
+ * <hljs lang="html">
150
+ * <md-input-container>
151
+ * <label>Description</label>
152
+ * <textarea ng-model="description" required minlength="15" md-maxlength="20"></textarea>
153
+ * </md-input-container>
154
+ * </hljs>
155
+ * <h3>With Errors (uses [ngMessages](https://docs.angularjs.org/api/ngMessages))</h3>
156
+ * <hljs lang="html">
157
+ * <form name="userForm">
158
+ * <md-input-container>
159
+ * <label>Biography</label>
160
+ * <textarea name="bio" ng-model="biography" required md-maxlength="150"></textarea>
161
+ * <div ng-messages="userForm.bio.$error" ng-show="userForm.bio.$dirty">
162
+ * <div ng-message="required">This is required!</div>
163
+ * <div ng-message="md-maxlength">That's too long!</div>
164
+ * </div>
165
+ * </md-input-container>
166
+ * </form>
167
+ * </hljs>
168
+ *
169
+ * @param {number=} md-maxlength The maximum number of characters allowed in this input. If this is specified, a character counter will be shown underneath the input.
170
+ */
171
+ function inputTextareaDirective($mdUtil, $window, $compile, $animate) {
172
+ return {
173
+ restrict: 'E',
174
+ require: ['^?mdInputContainer', '?ngModel'],
175
+ compile: compile,
176
+ };
177
+
178
+ function compile(element) {
179
+ element.addClass('md-input');
180
+ return postLink;
181
+ }
182
+ function postLink(scope, element, attr, ctrls) {
183
+
184
+ var containerCtrl = ctrls[0];
185
+ var ngModelCtrl = ctrls[1];
186
+
187
+ if ( !containerCtrl ) return;
188
+ if (containerCtrl.input) {
189
+ throw new Error("<md-input-container> can only have *one* <input> or <textarea> child element!");
190
+ }
191
+ containerCtrl.input = element;
192
+
193
+ if (!element.attr('id')) {
194
+ element.attr('id', 'input_' + $mdUtil.nextUid());
195
+ }
196
+
197
+ if (element[0].tagName.toLowerCase() === 'textarea') {
198
+ setupTextarea();
199
+ }
200
+
201
+ var isEmpty = ngModelCtrl ?
202
+ ngModelCtrl.$isEmpty :
203
+ function() { return ('' + element.val()).length === 0; };
204
+
205
+ // When the input value changes, check if it "has" a value, and
206
+ // set the appropriate class on the input group
207
+ if (ngModelCtrl) {
208
+ scope.$watch(function() {
209
+ return ngModelCtrl.$dirty && ngModelCtrl.$invalid;
210
+ }, containerCtrl.setInvalid);
211
+
212
+ ngModelCtrl.$formatters.push(checkHasValue);
213
+ ngModelCtrl.$parsers.push(checkHasValue);
214
+ } else {
215
+ checkHasValue();
216
+ }
217
+ element.on('input', checkHasValue);
218
+
219
+ function checkHasValue(value) {
220
+ containerCtrl.setHasValue(
221
+ !isEmpty(value) ||
222
+ (element[0].validity || {}).badInput // allow badInput to count as having a value.
223
+ );
224
+ return value;
225
+ }
226
+
227
+ element
228
+ .on('focus', function(ev) {
229
+ containerCtrl.setFocused(true);
230
+ })
231
+ .on('blur', function(ev) {
232
+ containerCtrl.setFocused(false);
233
+ });
234
+
235
+ scope.$on('$destroy', function() {
236
+ containerCtrl.setFocused(false);
237
+ containerCtrl.setHasValue(false);
238
+ containerCtrl.input = null;
239
+ });
240
+
241
+ function setupTextarea() {
242
+ var node = element[0];
243
+ var onChangeTextarea = $mdUtil.debounce(growTextarea, 1);
244
+
245
+ function pipelineListener(value) {
246
+ onChangeTextarea();
247
+ return value;
248
+ }
249
+
250
+ if (ngModelCtrl) {
251
+ ngModelCtrl.$formatters.push(pipelineListener);
252
+ ngModelCtrl.$viewChangeListeners.push(pipelineListener);
253
+ } else {
254
+ onChangeTextarea();
255
+ }
256
+ element.on('keydown input', onChangeTextarea);
257
+ element.on('scroll', onScroll);
258
+ angular.element($window).on('resize', onChangeTextarea);
259
+
260
+ scope.$on('$destroy', function() {
261
+ angular.element($window).off('resize', onChangeTextarea);
262
+ });
263
+
264
+ function growTextarea() {
265
+ node.style.height = "auto";
266
+ var line = node.scrollHeight - node.offsetHeight;
267
+ node.scrollTop = 0;
268
+ var height = node.offsetHeight + (line > 0 ? line : 0);
269
+ node.style.height = height + 'px';
270
+ }
271
+
272
+ function onScroll(e) {
273
+ node.scrollTop = 0;
274
+ // for smooth new line adding
275
+ var line = node.scrollHeight - node.offsetHeight;
276
+ var height = node.offsetHeight + line;
277
+ node.style.height = height + 'px';
278
+ }
279
+ }
280
+ }
281
+ }
282
+ inputTextareaDirective.$inject = ["$mdUtil", "$window", "$compile", "$animate"];
283
+
284
+ function mdMaxlengthDirective() {
285
+ return {
286
+ restrict: 'A',
287
+ require: ['ngModel', '^mdInputContainer'],
288
+ link: postLink
289
+ };
290
+
291
+ function postLink(scope, element, attr, ctrls) {
292
+ var maxlength;
293
+ var ngModelCtrl = ctrls[0];
294
+ var containerCtrl = ctrls[1];
295
+ var charCountEl = angular.element('<div class="md-char-counter">');
296
+
297
+ // Stop model from trimming. This makes it so whitespace
298
+ // over the maxlength still counts as invalid.
299
+ attr.$set('ngTrim', 'false');
300
+ containerCtrl.element.append(charCountEl);
301
+
302
+ ngModelCtrl.$formatters.push(renderCharCount);
303
+ ngModelCtrl.$viewChangeListeners.push(renderCharCount);
304
+ element.on('input keydown', renderCharCount);
305
+
306
+ scope.$watch(attr.mdMaxlength, function(value) {
307
+ maxlength = value;
308
+ if (angular.isNumber(value) && value > 0) {
309
+ if (!charCountEl.parent().length) {
310
+ $animate.enter(charCountEl, containerCtrl.element,
311
+ angular.element(containerCtrl.element[0].lastElementChild));
312
+ }
313
+ renderCharCount();
314
+ } else {
315
+ $animate.leave(charCountEl);
316
+ }
317
+ });
318
+
319
+ ngModelCtrl.$validators['md-maxlength'] = function(modelValue, viewValue) {
320
+ if (!angular.isNumber(maxlength) || maxlength < 0) {
321
+ return true;
322
+ }
323
+ return ( element.val() || modelValue || viewValue || '' ).length <= maxlength;
324
+ };
325
+
326
+ function renderCharCount(value) {
327
+ charCountEl.text( element.val().length + '/' + maxlength );
328
+ return value;
329
+ }
330
+ }
331
+ }
332
+
333
+ })();
@@ -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-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:2px 2px 26px}md-input-container input[type=color],md-input-container input[type=date],md-input-container input[type=datetime-local],md-input-container input[type=datetime],md-input-container input[type=email],md-input-container input[type=month],md-input-container input[type=number],md-input-container input[type=password],md-input-container input[type=search],md-input-container input[type=tel],md-input-container input[type=text],md-input-container input[type=time],md-input-container input[type=url],md-input-container input[type=week],md-input-container textarea{-moz-appearance:none;-webkit-appearance:none}md-input-container textarea{resize:none;overflow:hidden}md-input-container label{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;pointer-events:none;-webkit-font-smoothing:antialiased;padding-left:2px;z-index:1;-webkit-transform:translate3d(0,24px,0) scale(1);transform:translate3d(0,24px,0) scale(1);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform cubic-bezier(0.25,.8,.25,1) .25s;transition:transform cubic-bezier(0.25,.8,.25,1) .25s}md-input-container .md-input{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;display:block;background:0 0;padding-top:2px;padding-bottom:1px;border-width:0 0 1px;line-height:26px;-ms-flex-preferred-size:26px}md-input-container .md-input:focus{outline:0}md-input-container [data-ng-messages],md-input-container [ng-messages],md-input-container [x-ng-messages],md-input-container data-ng-messages,md-input-container ng-messages,md-input-container x-ng-messages{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;position:relative}md-input-container .md-char-counter,md-input-container [data-ng-message],md-input-container [ng-message],md-input-container [x-ng-message],md-input-container data-ng-message,md-input-container ng-message,md-input-container x-ng-message{-webkit-font-smoothing:antialiased;position:absolute;font-size:12px;line-height:24px}md-input-container .md-char-counter.ng-enter,md-input-container [data-ng-message].ng-enter,md-input-container [ng-message].ng-enter,md-input-container [x-ng-message].ng-enter,md-input-container data-ng-message.ng-enter,md-input-container ng-message.ng-enter,md-input-container x-ng-message.ng-enter{-webkit-transition:all .4s cubic-bezier(0.25,.8,.25,1);transition:all .4s cubic-bezier(0.25,.8,.25,1);-webkit-transition-delay:.2s;transition-delay:.2s}md-input-container .md-char-counter.ng-leave,md-input-container [data-ng-message].ng-leave,md-input-container [ng-message].ng-leave,md-input-container [x-ng-message].ng-leave,md-input-container data-ng-message.ng-leave,md-input-container ng-message.ng-leave,md-input-container x-ng-message.ng-leave{-webkit-transition:all .3s cubic-bezier(0.55,0,.55,.2);transition:all .3s cubic-bezier(0.55,0,.55,.2)}md-input-container .md-char-counter.ng-enter,md-input-container .md-char-counter.ng-leave.ng-leave-active,md-input-container [data-ng-message].ng-enter,md-input-container [data-ng-message].ng-leave.ng-leave-active,md-input-container [ng-message].ng-enter,md-input-container [ng-message].ng-leave.ng-leave-active,md-input-container [x-ng-message].ng-enter,md-input-container [x-ng-message].ng-leave.ng-leave-active,md-input-container data-ng-message.ng-enter,md-input-container data-ng-message.ng-leave.ng-leave-active,md-input-container ng-message.ng-enter,md-input-container ng-message.ng-leave.ng-leave-active,md-input-container x-ng-message.ng-enter,md-input-container x-ng-message.ng-leave.ng-leave-active{opacity:0;-webkit-transform:translate3d(0,-20%,0);transform:translate3d(0,-20%,0)}md-input-container .md-char-counter.ng-enter.ng-enter-active,md-input-container .md-char-counter.ng-leave,md-input-container [data-ng-message].ng-enter.ng-enter-active,md-input-container [data-ng-message].ng-leave,md-input-container [ng-message].ng-enter.ng-enter-active,md-input-container [ng-message].ng-leave,md-input-container [x-ng-message].ng-enter.ng-enter-active,md-input-container [x-ng-message].ng-leave,md-input-container data-ng-message.ng-enter.ng-enter-active,md-input-container data-ng-message.ng-leave,md-input-container ng-message.ng-enter.ng-enter-active,md-input-container ng-message.ng-leave,md-input-container x-ng-message.ng-enter.ng-enter-active,md-input-container x-ng-message.ng-leave{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}md-input-container .md-char-counter{bottom:2px;right:2px}md-input-container.md-input-focused label,md-input-container.md-input-has-value label{-webkit-transform:translate3d(0,4px,0) scale(0.75);transform:translate3d(0,4px,0) scale(0.75)}md-input-container .md-input.ng-invalid.ng-dirty,md-input-container.md-input-focused .md-input{padding-bottom:0;border-width:0 0 2px}md-input-container .md-input[disabled]{background-position:0 bottom;background-size:3px 1px;background-repeat:repeat-x}
@@ -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(){function t(t){function e(e,n){t(n)}function n(t,e){var n=this;n.element=e,n.setFocused=function(t){e.toggleClass("md-input-focused",!!t)},n.setHasValue=function(t){e.toggleClass("md-input-has-value",!!t)},n.setInvalid=function(t){e.toggleClass("md-input-invalid",!!t)},t.$watch(function(){return n.label&&n.input},function(t){t&&!n.label.attr("for")&&n.label.attr("for",n.input.attr("id"))})}return n.$inject=["$scope","$element","$mdUtil"],{restrict:"E",link:e,controller:n}}function e(){return{restrict:"E",require:"^?mdInputContainer",link:function(t,e,n,i){i&&(i.label=e,t.$on("$destroy",function(){i.label=null}))}}}function n(t,e){function n(t){return t.addClass("md-input"),i}function i(n,i,r,a){function o(t){return l.setHasValue(!c(t)||(i[0].validity||{}).badInput),t}function u(){function r(t){return l(),t}function a(){u.style.height="auto";var t=u.scrollHeight-u.offsetHeight;u.scrollTop=0;var e=u.offsetHeight+(t>0?t:0);u.style.height=e+"px"}function o(){u.scrollTop=0;var t=u.scrollHeight-u.offsetHeight,e=u.offsetHeight+t;u.style.height=e+"px"}var u=i[0],l=t.debounce(a,1);s?(s.$formatters.push(r),s.$viewChangeListeners.push(r)):l(),i.on("keydown input",l),i.on("scroll",o),angular.element(e).on("resize",l),n.$on("$destroy",function(){angular.element(e).off("resize",l)})}var l=a[0],s=a[1];if(l){if(l.input)throw new Error("<md-input-container> can only have *one* <input> or <textarea> child element!");l.input=i,i.attr("id")||i.attr("id","input_"+t.nextUid()),"textarea"===i[0].tagName.toLowerCase()&&u();var c=s?s.$isEmpty:function(){return 0===(""+i.val()).length};s?(n.$watch(function(){return s.$dirty&&s.$invalid},l.setInvalid),s.$formatters.push(o),s.$parsers.push(o)):o(),i.on("input",o),i.on("focus",function(){l.setFocused(!0)}).on("blur",function(){l.setFocused(!1)}),n.$on("$destroy",function(){l.setFocused(!1),l.setHasValue(!1),l.input=null})}}return{restrict:"E",require:["^?mdInputContainer","?ngModel"],compile:n}}function i(){function t(t,e,n,i){function r(t){return l.text(e.val().length+"/"+a),t}var a,o=i[0],u=i[1],l=angular.element('<div class="md-char-counter">');n.$set("ngTrim","false"),u.element.append(l),o.$formatters.push(r),o.$viewChangeListeners.push(r),e.on("input keydown",r),t.$watch(n.mdMaxlength,function(t){a=t,angular.isNumber(t)&&t>0?(l.parent().length||$animate.enter(l,u.element,angular.element(u.element[0].lastElementChild)),r()):$animate.leave(l)}),o.$validators["md-maxlength"]=function(t,n){return!angular.isNumber(a)||0>a?!0:(e.val()||t||n||"").length<=a}}return{restrict:"A",require:["ngModel","^mdInputContainer"],link:t}}angular.module("material.components.input",["material.core"]).directive("mdInputContainer",t).directive("label",e).directive("input",n).directive("textarea",n).directive("mdMaxlength",i),t.$inject=["$mdTheming"],n.$inject=["$mdUtil","$window","$compile","$animate"]}();
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "angular-material-list",
3
+ "version": "0.7.0-rc3",
4
+ "dependencies": {
5
+ "angular-material-core": "0.7.0-rc3"
6
+ }
7
+ }
@@ -0,0 +1,61 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.7.0-rc3
6
+ */
7
+ md-list {
8
+ padding: 8px 0px 8px 0px; }
9
+
10
+ md-item-content {
11
+ display: -webkit-box;
12
+ display: -webkit-flex;
13
+ display: -ms-flexbox;
14
+ display: flex;
15
+ -webkit-box-align: center;
16
+ -webkit-align-items: center;
17
+ -ms-flex-align: center;
18
+ align-items: center;
19
+ -webkit-box-orient: horizontal;
20
+ -webkit-box-direction: normal;
21
+ -webkit-flex-direction: row;
22
+ -ms-flex-direction: row;
23
+ flex-direction: row;
24
+ box-sizing: border-box;
25
+ position: relative;
26
+ padding: 0px 0px 0px 0px; }
27
+
28
+ /**
29
+ * The left tile for a list item.
30
+ */
31
+ .md-tile-left {
32
+ min-width: 56px;
33
+ margin-right: -16px; }
34
+
35
+ /**
36
+ * The center content tile for a list item.
37
+ */
38
+ .md-tile-content {
39
+ -webkit-box-flex: 1;
40
+ -webkit-flex: 1;
41
+ -ms-flex: 1;
42
+ flex: 1;
43
+ padding: 16px;
44
+ text-overflow: ellipsis; }
45
+ .md-tile-content h3 {
46
+ margin: 0 0 3px 0;
47
+ font-weight: 400;
48
+ font-size: 1.1em; }
49
+ .md-tile-content h4 {
50
+ margin: 0 0 3px 0;
51
+ font-weight: 400;
52
+ font-size: 0.9em; }
53
+ .md-tile-content p {
54
+ margin: 0 0 3px 0;
55
+ font-size: 0.75em; }
56
+
57
+ /**
58
+ * The right tile for a list item.
59
+ */
60
+ .md-tile-right {
61
+ padding-right: 0px; }