todo_rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (426) hide show
  1. checksums.yaml +4 -4
  2. data/lib/todo_rails/version.rb +1 -1
  3. data/vendor/assets/bower.json +8 -0
  4. data/vendor/assets/bower_components/angular-animate/README.md +68 -0
  5. data/vendor/assets/bower_components/angular-animate/angular-animate.js +3721 -0
  6. data/vendor/assets/bower_components/angular-animate/angular-animate.min.js +52 -0
  7. data/vendor/assets/bower_components/angular-animate/angular-animate.min.js.map +8 -0
  8. data/vendor/assets/bower_components/angular-animate/bower.json +9 -0
  9. data/vendor/assets/bower_components/angular-animate/index.js +2 -0
  10. data/vendor/assets/bower_components/angular-animate/package.json +26 -0
  11. data/vendor/assets/bower_components/angular-aria/README.md +67 -0
  12. data/vendor/assets/bower_components/angular-aria/angular-aria.js +393 -0
  13. data/vendor/assets/bower_components/angular-aria/angular-aria.min.js +13 -0
  14. data/vendor/assets/bower_components/angular-aria/angular-aria.min.js.map +8 -0
  15. data/vendor/assets/bower_components/angular-aria/bower.json +9 -0
  16. data/vendor/assets/bower_components/angular-aria/index.js +2 -0
  17. data/vendor/assets/bower_components/angular-aria/package.json +27 -0
  18. data/vendor/assets/bower_components/angular-material/CHANGELOG.md +1599 -0
  19. data/vendor/assets/bower_components/angular-material/LICENSE +21 -0
  20. data/vendor/assets/bower_components/angular-material/README.md +211 -0
  21. data/vendor/assets/bower_components/angular-material/angular-material-mocks.js +77 -0
  22. data/vendor/assets/bower_components/angular-material/angular-material.css +7183 -0
  23. data/vendor/assets/bower_components/angular-material/angular-material.js +15406 -0
  24. data/vendor/assets/bower_components/angular-material/angular-material.min.css +6 -0
  25. data/vendor/assets/bower_components/angular-material/angular-material.min.js +14 -0
  26. data/vendor/assets/bower_components/angular-material/bower.json +14 -0
  27. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/copy.svg +1 -0
  28. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/copy2.svg +1 -0
  29. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/facebook.svg +1 -0
  30. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/hangout.svg +1 -0
  31. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/mail.svg +1 -0
  32. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/message.svg +1 -0
  33. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/print.svg +1 -0
  34. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/share-arrow.svg +1 -0
  35. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/twitter.svg +2 -0
  36. data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/upload.svg +1 -0
  37. data/vendor/assets/bower_components/angular-material/demos/chips/demoBasicUsage/style.scss +39 -0
  38. data/vendor/assets/bower_components/angular-material/demos/chips/demoContactChips/style.scss +47 -0
  39. data/vendor/assets/bower_components/angular-material/demos/gridList/demoBasicUsage/style.scss +75 -0
  40. data/vendor/assets/bower_components/angular-material/demos/gridList/demoDynamicTiles/style.scss +78 -0
  41. data/vendor/assets/bower_components/angular-material/demos/gridList/demoResponsiveUsage/style.scss +0 -0
  42. data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/addShoppingCart.svg +1 -0
  43. data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/android.svg +1 -0
  44. data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/cake.svg +1 -0
  45. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/cake.svg +1 -0
  46. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/core-icons.svg +26 -0
  47. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/social-icons.svg +26 -0
  48. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/addShoppingCart.svg +1 -0
  49. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/android.svg +1 -0
  50. data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/cake.svg +1 -0
  51. data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/android.svg +1 -0
  52. data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/cake.svg +1 -0
  53. data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/core-icons.svg +26 -0
  54. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_email_24px.svg +4 -0
  55. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_person_24px.svg +4 -0
  56. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_phone_24px.svg +4 -0
  57. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_place_24px.svg +4 -0
  58. data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/style.scss +18 -0
  59. data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-0.jpeg +0 -0
  60. data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-1.jpeg +0 -0
  61. data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-2.jpeg +0 -0
  62. data/vendor/assets/bower_components/angular-material/demos/tabs/demoDynamicHeight/style.scss +13 -0
  63. data/vendor/assets/bower_components/angular-material/demos/tabs/demoDynamicTabs/style.scss +44 -0
  64. data/vendor/assets/bower_components/angular-material/demos/tabs/demoStaticTabs/style.scss +25 -0
  65. data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/favorite.svg +4 -0
  66. data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/menu.svg +4 -0
  67. data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/more_vert.svg +4 -0
  68. data/vendor/assets/bower_components/angular-material/index.js +12 -0
  69. data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete-default-theme.css +24 -0
  70. data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete.css +220 -0
  71. data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete.js +951 -0
  72. data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop-default-theme.css +9 -0
  73. data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop.css +59 -0
  74. data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop.js +38 -0
  75. data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet-default-theme.css +16 -0
  76. data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.css +170 -0
  77. data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.js +267 -0
  78. data/vendor/assets/bower_components/angular-material/modules/closure/button/button-default-theme.css +94 -0
  79. data/vendor/assets/bower_components/angular-material/modules/closure/button/button.css +158 -0
  80. data/vendor/assets/bower_components/angular-material/modules/closure/button/button.js +135 -0
  81. data/vendor/assets/bower_components/angular-material/modules/closure/card/card-default-theme.css +12 -0
  82. data/vendor/assets/bower_components/angular-material/modules/closure/card/card.css +34 -0
  83. data/vendor/assets/bower_components/angular-material/modules/closure/card/card.js +84 -0
  84. data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox-default-theme.css +47 -0
  85. data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox.css +124 -0
  86. data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox.js +166 -0
  87. data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips-default-theme.css +24 -0
  88. data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips.css +131 -0
  89. data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips.js +949 -0
  90. data/vendor/assets/bower_components/angular-material/modules/closure/content/content-default-theme.css +9 -0
  91. data/vendor/assets/bower_components/angular-material/modules/closure/content/content.css +20 -0
  92. data/vendor/assets/bower_components/angular-material/modules/closure/content/content.js +84 -0
  93. data/vendor/assets/bower_components/angular-material/modules/closure/core/core.css +2594 -0
  94. data/vendor/assets/bower_components/angular-material/modules/closure/core/core.js +3772 -0
  95. data/vendor/assets/bower_components/angular-material/modules/closure/core/default-theme.js +4 -0
  96. data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog-default-theme.css +12 -0
  97. data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog.css +111 -0
  98. data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog.js +713 -0
  99. data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider-default-theme.css +9 -0
  100. data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider.css +14 -0
  101. data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider.js +45 -0
  102. data/vendor/assets/bower_components/angular-material/modules/closure/fabActions/fabActions.js +57 -0
  103. data/vendor/assets/bower_components/angular-material/modules/closure/fabSpeedDial/fabSpeedDial.css +100 -0
  104. data/vendor/assets/bower_components/angular-material/modules/closure/fabSpeedDial/fabSpeedDial.js +236 -0
  105. data/vendor/assets/bower_components/angular-material/modules/closure/fabToolbar/fabToolbar.css +74 -0
  106. data/vendor/assets/bower_components/angular-material/modules/closure/fabToolbar/fabToolbar.js +218 -0
  107. data/vendor/assets/bower_components/angular-material/modules/closure/fabTrigger/fabTrigger.js +54 -0
  108. data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList-default-theme.css +6 -0
  109. data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList.css +68 -0
  110. data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList.js +762 -0
  111. data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon-default-theme.css +15 -0
  112. data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon.css +20 -0
  113. data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon.js +783 -0
  114. data/vendor/assets/bower_components/angular-material/modules/closure/input/input-default-theme.css +46 -0
  115. data/vendor/assets/bower_components/angular-material/modules/closure/input/input.css +162 -0
  116. data/vendor/assets/bower_components/angular-material/modules/closure/input/input.js +371 -0
  117. data/vendor/assets/bower_components/angular-material/modules/closure/list/list-default-theme.css +23 -0
  118. data/vendor/assets/bower_components/angular-material/modules/closure/list/list.css +147 -0
  119. data/vendor/assets/bower_components/angular-material/modules/closure/list/list.js +273 -0
  120. data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu-default-theme.css +11 -0
  121. data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu.css +121 -0
  122. data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu.js +620 -0
  123. data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular-default-theme.css +36 -0
  124. data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular.css +1409 -0
  125. data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular.js +109 -0
  126. data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear-default-theme.css +27 -0
  127. data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear.css +287 -0
  128. data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear.js +126 -0
  129. data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton-default-theme.css +47 -0
  130. data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton.css +91 -0
  131. data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton.js +312 -0
  132. data/vendor/assets/bower_components/angular-material/modules/closure/select/select-default-theme.css +42 -0
  133. data/vendor/assets/bower_components/angular-material/modules/closure/select/select.css +170 -0
  134. data/vendor/assets/bower_components/angular-material/modules/closure/select/select.js +1055 -0
  135. data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav-default-theme.css +9 -0
  136. data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav.css +99 -0
  137. data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav.js +424 -0
  138. data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider-default-theme.css +56 -0
  139. data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider.css +220 -0
  140. data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider.js +403 -0
  141. data/vendor/assets/bower_components/angular-material/modules/closure/sticky/sticky.css +21 -0
  142. data/vendor/assets/bower_components/angular-material/modules/closure/sticky/sticky.js +315 -0
  143. data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader-default-theme.css +16 -0
  144. data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader.css +63 -0
  145. data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader.js +93 -0
  146. data/vendor/assets/bower_components/angular-material/modules/closure/swipe/swipe.js +72 -0
  147. data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch-default-theme.css +33 -0
  148. data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch.css +110 -0
  149. data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch.js +169 -0
  150. data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs-arrow.svg +7 -0
  151. data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs-default-theme.css +82 -0
  152. data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs.css +274 -0
  153. data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs.js +1060 -0
  154. data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField-default-theme.css +30 -0
  155. data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField.css +111 -0
  156. data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField.js +145 -0
  157. data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast-default-theme.css +18 -0
  158. data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast.css +119 -0
  159. data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast.js +265 -0
  160. data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar-default-theme.css +20 -0
  161. data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar.css +83 -0
  162. data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar.js +169 -0
  163. data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip-default-theme.css +11 -0
  164. data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip.css +72 -0
  165. data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip.js +267 -0
  166. data/vendor/assets/bower_components/angular-material/modules/closure/whiteframe/whiteframe.css +25 -0
  167. data/vendor/assets/bower_components/angular-material/modules/closure/whiteframe/whiteframe.js +15 -0
  168. data/vendor/assets/bower_components/angular-material/modules/css/angular-material-layout.css +2375 -0
  169. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete-default-theme.css +24 -0
  170. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete-default-theme.min.css +6 -0
  171. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.css +220 -0
  172. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.js +951 -0
  173. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.min.css +6 -0
  174. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.min.js +7 -0
  175. data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/bower.json +8 -0
  176. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.css +9 -0
  177. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.min.css +6 -0
  178. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.css +59 -0
  179. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.js +39 -0
  180. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.min.css +6 -0
  181. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.min.js +7 -0
  182. data/vendor/assets/bower_components/angular-material/modules/js/backdrop/bower.json +7 -0
  183. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.css +16 -0
  184. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.min.css +6 -0
  185. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.css +170 -0
  186. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.js +267 -0
  187. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.css +6 -0
  188. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.js +7 -0
  189. data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bower.json +8 -0
  190. data/vendor/assets/bower_components/angular-material/modules/js/button/bower.json +7 -0
  191. data/vendor/assets/bower_components/angular-material/modules/js/button/button-default-theme.css +94 -0
  192. data/vendor/assets/bower_components/angular-material/modules/js/button/button-default-theme.min.css +6 -0
  193. data/vendor/assets/bower_components/angular-material/modules/js/button/button.css +158 -0
  194. data/vendor/assets/bower_components/angular-material/modules/js/button/button.js +136 -0
  195. data/vendor/assets/bower_components/angular-material/modules/js/button/button.min.css +6 -0
  196. data/vendor/assets/bower_components/angular-material/modules/js/button/button.min.js +7 -0
  197. data/vendor/assets/bower_components/angular-material/modules/js/card/bower.json +7 -0
  198. data/vendor/assets/bower_components/angular-material/modules/js/card/card-default-theme.css +12 -0
  199. data/vendor/assets/bower_components/angular-material/modules/js/card/card-default-theme.min.css +6 -0
  200. data/vendor/assets/bower_components/angular-material/modules/js/card/card.css +34 -0
  201. data/vendor/assets/bower_components/angular-material/modules/js/card/card.js +85 -0
  202. data/vendor/assets/bower_components/angular-material/modules/js/card/card.min.css +6 -0
  203. data/vendor/assets/bower_components/angular-material/modules/js/card/card.min.js +7 -0
  204. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/bower.json +7 -0
  205. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.css +47 -0
  206. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.min.css +6 -0
  207. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.css +124 -0
  208. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.js +167 -0
  209. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.min.css +6 -0
  210. data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.min.js +7 -0
  211. data/vendor/assets/bower_components/angular-material/modules/js/chips/bower.json +8 -0
  212. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips-default-theme.css +24 -0
  213. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips-default-theme.min.css +6 -0
  214. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.css +131 -0
  215. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.js +949 -0
  216. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.min.css +6 -0
  217. data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.min.js +7 -0
  218. data/vendor/assets/bower_components/angular-material/modules/js/content/bower.json +7 -0
  219. data/vendor/assets/bower_components/angular-material/modules/js/content/content-default-theme.css +9 -0
  220. data/vendor/assets/bower_components/angular-material/modules/js/content/content-default-theme.min.css +6 -0
  221. data/vendor/assets/bower_components/angular-material/modules/js/content/content.css +20 -0
  222. data/vendor/assets/bower_components/angular-material/modules/js/content/content.js +85 -0
  223. data/vendor/assets/bower_components/angular-material/modules/js/content/content.min.css +6 -0
  224. data/vendor/assets/bower_components/angular-material/modules/js/content/content.min.js +7 -0
  225. data/vendor/assets/bower_components/angular-material/modules/js/core/bower.json +8 -0
  226. data/vendor/assets/bower_components/angular-material/modules/js/core/core.css +2594 -0
  227. data/vendor/assets/bower_components/angular-material/modules/js/core/core.js +3772 -0
  228. data/vendor/assets/bower_components/angular-material/modules/js/core/core.min.css +6 -0
  229. data/vendor/assets/bower_components/angular-material/modules/js/core/core.min.js +10 -0
  230. data/vendor/assets/bower_components/angular-material/modules/js/core/default-theme.js +4 -0
  231. data/vendor/assets/bower_components/angular-material/modules/js/dialog/bower.json +8 -0
  232. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog-default-theme.css +12 -0
  233. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog-default-theme.min.css +6 -0
  234. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.css +111 -0
  235. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.js +713 -0
  236. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.min.css +6 -0
  237. data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.min.js +7 -0
  238. data/vendor/assets/bower_components/angular-material/modules/js/divider/bower.json +7 -0
  239. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider-default-theme.css +9 -0
  240. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider-default-theme.min.css +6 -0
  241. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.css +14 -0
  242. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.js +46 -0
  243. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.min.css +6 -0
  244. data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.min.js +7 -0
  245. data/vendor/assets/bower_components/angular-material/modules/js/fabActions/bower.json +7 -0
  246. data/vendor/assets/bower_components/angular-material/modules/js/fabActions/fabActions.js +58 -0
  247. data/vendor/assets/bower_components/angular-material/modules/js/fabActions/fabActions.min.js +7 -0
  248. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/bower.json +9 -0
  249. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.css +100 -0
  250. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.js +235 -0
  251. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.min.css +6 -0
  252. data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.min.js +7 -0
  253. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/bower.json +9 -0
  254. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.css +74 -0
  255. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.js +217 -0
  256. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.min.css +6 -0
  257. data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.min.js +7 -0
  258. data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/bower.json +7 -0
  259. data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/fabTrigger.js +55 -0
  260. data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/fabTrigger.min.js +7 -0
  261. data/vendor/assets/bower_components/angular-material/modules/js/gridList/bower.json +7 -0
  262. data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.css +68 -0
  263. data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.js +763 -0
  264. data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.min.css +6 -0
  265. data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.min.js +7 -0
  266. data/vendor/assets/bower_components/angular-material/modules/js/icon/bower.json +7 -0
  267. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon-default-theme.css +15 -0
  268. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon-default-theme.min.css +6 -0
  269. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.css +20 -0
  270. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.js +784 -0
  271. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.min.css +6 -0
  272. data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.min.js +7 -0
  273. data/vendor/assets/bower_components/angular-material/modules/js/input/bower.json +7 -0
  274. data/vendor/assets/bower_components/angular-material/modules/js/input/input-default-theme.css +46 -0
  275. data/vendor/assets/bower_components/angular-material/modules/js/input/input-default-theme.min.css +6 -0
  276. data/vendor/assets/bower_components/angular-material/modules/js/input/input.css +162 -0
  277. data/vendor/assets/bower_components/angular-material/modules/js/input/input.js +372 -0
  278. data/vendor/assets/bower_components/angular-material/modules/js/input/input.min.css +6 -0
  279. data/vendor/assets/bower_components/angular-material/modules/js/input/input.min.js +7 -0
  280. data/vendor/assets/bower_components/angular-material/modules/js/list/bower.json +7 -0
  281. data/vendor/assets/bower_components/angular-material/modules/js/list/list-default-theme.css +23 -0
  282. data/vendor/assets/bower_components/angular-material/modules/js/list/list-default-theme.min.css +6 -0
  283. data/vendor/assets/bower_components/angular-material/modules/js/list/list.css +147 -0
  284. data/vendor/assets/bower_components/angular-material/modules/js/list/list.js +274 -0
  285. data/vendor/assets/bower_components/angular-material/modules/js/list/list.min.css +6 -0
  286. data/vendor/assets/bower_components/angular-material/modules/js/list/list.min.js +7 -0
  287. data/vendor/assets/bower_components/angular-material/modules/js/menu/bower.json +8 -0
  288. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu-default-theme.css +11 -0
  289. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu-default-theme.min.css +6 -0
  290. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.css +121 -0
  291. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.js +620 -0
  292. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.min.css +6 -0
  293. data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.min.js +7 -0
  294. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/bower.json +7 -0
  295. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.css +36 -0
  296. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.min.css +6 -0
  297. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.css +1409 -0
  298. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.js +110 -0
  299. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.css +6 -0
  300. data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.js +7 -0
  301. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/bower.json +7 -0
  302. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.css +27 -0
  303. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.min.css +6 -0
  304. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.css +287 -0
  305. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.js +127 -0
  306. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.css +6 -0
  307. data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js +7 -0
  308. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/bower.json +7 -0
  309. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.css +47 -0
  310. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.min.css +6 -0
  311. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.css +91 -0
  312. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.js +313 -0
  313. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.min.css +6 -0
  314. data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.min.js +7 -0
  315. data/vendor/assets/bower_components/angular-material/modules/js/select/bower.json +8 -0
  316. data/vendor/assets/bower_components/angular-material/modules/js/select/select-default-theme.css +42 -0
  317. data/vendor/assets/bower_components/angular-material/modules/js/select/select-default-theme.min.css +6 -0
  318. data/vendor/assets/bower_components/angular-material/modules/js/select/select.css +170 -0
  319. data/vendor/assets/bower_components/angular-material/modules/js/select/select.js +1055 -0
  320. data/vendor/assets/bower_components/angular-material/modules/js/select/select.min.css +6 -0
  321. data/vendor/assets/bower_components/angular-material/modules/js/select/select.min.js +7 -0
  322. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/bower.json +8 -0
  323. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.css +9 -0
  324. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.min.css +6 -0
  325. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.css +99 -0
  326. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.js +424 -0
  327. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.min.css +6 -0
  328. data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.min.js +7 -0
  329. data/vendor/assets/bower_components/angular-material/modules/js/slider/bower.json +7 -0
  330. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider-default-theme.css +56 -0
  331. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider-default-theme.min.css +6 -0
  332. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.css +220 -0
  333. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.js +404 -0
  334. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.min.css +6 -0
  335. data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.min.js +7 -0
  336. data/vendor/assets/bower_components/angular-material/modules/js/sticky/bower.json +8 -0
  337. data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.css +21 -0
  338. data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.js +315 -0
  339. data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.min.css +6 -0
  340. data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.min.js +7 -0
  341. data/vendor/assets/bower_components/angular-material/modules/js/subheader/bower.json +8 -0
  342. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css +16 -0
  343. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css +6 -0
  344. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.css +63 -0
  345. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.js +93 -0
  346. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.min.css +6 -0
  347. data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.min.js +7 -0
  348. data/vendor/assets/bower_components/angular-material/modules/js/swipe/bower.json +7 -0
  349. data/vendor/assets/bower_components/angular-material/modules/js/swipe/swipe.js +73 -0
  350. data/vendor/assets/bower_components/angular-material/modules/js/swipe/swipe.min.js +7 -0
  351. data/vendor/assets/bower_components/angular-material/modules/js/switch/bower.json +8 -0
  352. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch-default-theme.css +33 -0
  353. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch-default-theme.min.css +6 -0
  354. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.css +110 -0
  355. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.js +169 -0
  356. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.min.css +6 -0
  357. data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.min.js +7 -0
  358. data/vendor/assets/bower_components/angular-material/modules/js/tabs/bower.json +8 -0
  359. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs-default-theme.css +82 -0
  360. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs-default-theme.min.css +6 -0
  361. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.css +274 -0
  362. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.js +1060 -0
  363. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.min.css +6 -0
  364. data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.min.js +7 -0
  365. data/vendor/assets/bower_components/angular-material/modules/js/textField/bower.json +7 -0
  366. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField-default-theme.css +30 -0
  367. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField-default-theme.min.css +6 -0
  368. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.css +111 -0
  369. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.js +143 -0
  370. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.min.css +6 -0
  371. data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.min.js +7 -0
  372. data/vendor/assets/bower_components/angular-material/modules/js/toast/bower.json +8 -0
  373. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast-default-theme.css +18 -0
  374. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast-default-theme.min.css +6 -0
  375. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.css +119 -0
  376. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.js +265 -0
  377. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.min.css +6 -0
  378. data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.min.js +7 -0
  379. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/bower.json +8 -0
  380. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.css +20 -0
  381. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.min.css +6 -0
  382. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.css +83 -0
  383. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.js +169 -0
  384. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.min.css +6 -0
  385. data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.min.js +7 -0
  386. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/bower.json +7 -0
  387. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.css +11 -0
  388. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.min.css +6 -0
  389. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.css +72 -0
  390. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.js +268 -0
  391. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.min.css +6 -0
  392. data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.min.js +7 -0
  393. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/bower.json +5 -0
  394. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.css +25 -0
  395. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.js +16 -0
  396. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.css +6 -0
  397. data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.js +7 -0
  398. data/vendor/assets/bower_components/angular-material/package.json +48 -0
  399. data/vendor/assets/bower_components/angular/README.md +64 -0
  400. data/vendor/assets/bower_components/angular/angular-csp.css +21 -0
  401. data/vendor/assets/bower_components/angular/angular.js +28364 -0
  402. data/vendor/assets/bower_components/angular/angular.min.js +290 -0
  403. data/vendor/assets/bower_components/angular/angular.min.js.gzip +0 -0
  404. data/vendor/assets/bower_components/angular/angular.min.js.map +8 -0
  405. data/vendor/assets/bower_components/angular/bower.json +8 -0
  406. data/vendor/assets/bower_components/angular/index.js +2 -0
  407. data/vendor/assets/bower_components/angular/package.json +25 -0
  408. data/vendor/assets/bower_components/lodash/LICENSE +22 -0
  409. data/vendor/assets/bower_components/lodash/bower.json +19 -0
  410. data/vendor/assets/bower_components/lodash/lodash.js +12351 -0
  411. data/vendor/assets/bower_components/lodash/lodash.min.js +99 -0
  412. data/vendor/assets/bower_components/restangular/CHANGELOG.md +18 -0
  413. data/vendor/assets/bower_components/restangular/CONTRIBUTE.md +31 -0
  414. data/vendor/assets/bower_components/restangular/Gruntfile.js +149 -0
  415. data/vendor/assets/bower_components/restangular/README.md +1336 -0
  416. data/vendor/assets/bower_components/restangular/bower.json +19 -0
  417. data/vendor/assets/bower_components/restangular/dist/restangular.js +1355 -0
  418. data/vendor/assets/bower_components/restangular/dist/restangular.min.js +6 -0
  419. data/vendor/assets/bower_components/restangular/dist/restangular.zip +0 -0
  420. data/vendor/assets/bower_components/restangular/karma.conf.js +74 -0
  421. data/vendor/assets/bower_components/restangular/karma.underscore.conf.js +74 -0
  422. data/vendor/assets/bower_components/restangular/license.md +21 -0
  423. data/vendor/assets/bower_components/restangular/package.json +55 -0
  424. data/vendor/assets/bower_components/restangular/src/restangular.js +1350 -0
  425. data/vendor/assets/bower_components/restangular/test/restangularSpec.js +1136 -0
  426. metadata +424 -1
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */md-icon{margin:auto;background-repeat:no-repeat no-repeat;display:inline-block;vertical-align:middle;fill:currentColor;height:24px;width:24px}md-icon svg{pointer-events:none}md-icon[md-font-icon]{line-height:1;width:auto}
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ !function(t,e,n){"use strict";function i(t,e,n,i){function o(i,o,r){function a(){var t=o.parent();return t.attr("aria-label")||t.text()?!0:t.parent().attr("aria-label")||t.parent().text()?!0:!1}function c(){i.svgIcon||i.svgSrc||(i.fontIcon?(o.addClass("md-font"),o.addClass(i.fontIcon)):o.addClass(t.fontSet(i.fontSet)))}e(o),c();var s=r.alt||i.fontIcon||i.svgIcon||o.text(),u=r.$normalize(r.$attr.mdSvgIcon||r.$attr.mdSvgSrc||"");r["aria-label"]||(""==s||a()?o.text()||n.expect(o,"aria-hidden","true"):(n.expect(o,"aria-label",s),n.expect(o,"role","img"))),u&&r.$observe(u,function(e){o.empty(),e&&t(e).then(function(t){o.append(t)})})}return{scope:{fontSet:"@mdFontSet",fontIcon:"@mdFontIcon",svgIcon:"@mdSvgIcon",svgSrc:"@mdSvgSrc"},restrict:"E",link:o}}function o(){}function r(t,e){this.url=t,this.viewBoxSize=e||c.defaultViewBoxSize}function a(t,n,i,o,r){function a(t){return t=t||"",x[t]?i.when(x[t].clone()):w.test(t)?f(t).then(s(t)):(-1==t.indexOf(":")&&(t="$default:"+t),u(t)["catch"](l)["catch"](d)["catch"](v).then(s(t)))}function c(n){var i=e.isUndefined(n)||!(n&&n.length);if(i)return t.defaultFontSet;var o=n;return e.forEach(t.fontSets,function(t){t.alias==n&&(o=t.fontSet||o)}),o}function s(e){return function(n){return x[e]=g(n)?n:new p(n,t[e]),x[e].clone()}}function u(e){var n=t[e];return n?f(n.url).then(function(t){return new p(t,n)}):i.reject(e)}function l(e){function n(t){var n=e.slice(e.lastIndexOf(":")+1),o=t.querySelector("#"+n);return o?new p(o,r):i.reject(e)}var o=e.substring(0,e.lastIndexOf(":"))||"$default",r=t[o];return r?f(r.url).then(n):i.reject(e)}function f(t){return n.get(t,{cache:r}).then(function(t){return e.element("<div>").append(t.data).find("svg")[0]})}function d(t){var n;return e.isString(t)&&(n="icon "+t+" not found",o.warn(n)),i.reject(n||t)}function v(t){var n=e.isString(t)?t:t.message||t.data||t.statusText;return o.warn(n),i.reject(n)}function g(t){return e.isDefined(t.element)&&e.isDefined(t.config)}function p(t,n){"svg"!=t.tagName&&(t=e.element('<svg xmlns="http://www.w3.org/2000/svg">').append(t)[0]),t.getAttribute("xmlns")||t.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.element=t,this.config=n,this.prepare()}function h(){var n=this.config?this.config.viewBoxSize:t.defaultViewBoxSize;e.forEach({fit:"",height:"100%",width:"100%",preserveAspectRatio:"xMidYMid meet",viewBox:this.element.getAttribute("viewBox")||"0 0 "+n+" "+n},function(t,e){this.element.setAttribute(e,t)},this),e.forEach({"pointer-events":"none",display:"block"},function(t,e){this.element.style[e]=t},this)}function m(){return this.element.cloneNode(!0)}var x={},w=/[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/i;return p.prototype={clone:m,prepare:h},a.fontSet=c,a}e.module("material.components.icon",["material.core"]).directive("mdIcon",i),i.$inject=["$mdIcon","$mdTheming","$mdAria","$interpolate"],e.module("material.components.icon").provider("$mdIcon",o);var c={defaultViewBoxSize:24,defaultFontSet:"material-icons",fontSets:[]};o.prototype={icon:function(t,e,n){return-1==t.indexOf(":")&&(t="$default:"+t),c[t]=new r(e,n),this},iconSet:function(t,e,n){return c[t]=new r(e,n),this},defaultIconSet:function(t,e){var n="$default";return c[n]||(c[n]=new r(t,e)),c[n].viewBoxSize=e||c.defaultViewBoxSize,this},defaultViewBoxSize:function(t){return c.defaultViewBoxSize=t,this},fontSet:function(t,e){c.fontSets.push({alias:t,fontSet:e||t})},defaultFontSet:function(t){return c.defaultFontSet=t?t:"",this},defaultIconSize:function(t){return c.defaultIconSize=t,this},preloadIcons:function(t){var e=this,n=[{id:"md-tabs-arrow",url:"md-tabs-arrow.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><polygon points="15.4,7.4 14,6 8,12 14,18 15.4,16.6 10.8,12 "/></g></svg>'},{id:"md-close",url:"md-close.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><path d="M19 6.41l-1.41-1.41-5.59 5.59-5.59-5.59-1.41 1.41 5.59 5.59-5.59 5.59 1.41 1.41 5.59-5.59 5.59 5.59 1.41-1.41-5.59-5.59z"/></g></svg>'},{id:"md-cancel",url:"md-cancel.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 24 24"><g><path d="M12 2c-5.53 0-10 4.47-10 10s4.47 10 10 10 10-4.47 10-10-4.47-10-10-10zm5 13.59l-1.41 1.41-3.59-3.59-3.59 3.59-1.41-1.41 3.59-3.59-3.59-3.59 1.41-1.41 3.59 3.59 3.59-3.59 1.41 1.41-3.59 3.59 3.59 3.59z"/></g></svg>'},{id:"md-menu",url:"md-menu.svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 100 100"><path d="M 50 0 L 100 14 L 92 80 L 50 100 L 8 80 L 0 14 Z" fill="#b2b2b2"></path><path d="M 50 5 L 6 18 L 13.5 77 L 50 94 Z" fill="#E42939"></path><path d="M 50 5 L 94 18 L 86.5 77 L 50 94 Z" fill="#B72833"></path><path d="M 50 7 L 83 75 L 72 75 L 65 59 L 50 59 L 50 50 L 61 50 L 50 26 Z" fill="#b2b2b2"></path><path d="M 50 7 L 17 75 L 28 75 L 35 59 L 50 59 L 50 50 L 39 50 L 50 26 Z" fill="#fff"></path></svg>'},{id:"md-toggle-arrow",url:"md-toggle-arrow-svg",svg:'<svg version="1.1" x="0px" y="0px" viewBox="0 0 48 48"><path d="M24 16l-12 12 2.83 2.83 9.17-9.17 9.17 9.17 2.83-2.83z"/><path d="M0 0h48v48h-48z" fill="none"/></svg>'}];n.forEach(function(n){e.icon(n.id,n.url),t.put(n.url,n.svg)})},$get:["$http","$q","$log","$templateCache",function(t,e,n,i){return this.preloadIcons(i),a(c,t,e,n,i)}]}}(window,window.angular);
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "angular-material-input",
3
+ "version": "0.10.0",
4
+ "dependencies": {
5
+ "angular-material-core": "0.10.0"
6
+ }
7
+ }
@@ -0,0 +1,46 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ /* mixin definition ; sets LTR and RTL within the same style call */
8
+ md-input-container.md-THEME_NAME-theme .md-input {
9
+ color: '{{foreground-1}}';
10
+ border-color: '{{foreground-4}}';
11
+ text-shadow: '{{foreground-shadow}}'; }
12
+ 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 {
13
+ color: '{{foreground-3}}'; }
14
+ md-input-container.md-THEME_NAME-theme > md-icon {
15
+ color: '{{foreground-1}}'; }
16
+ md-input-container.md-THEME_NAME-theme label, md-input-container.md-THEME_NAME-theme .md-placeholder {
17
+ text-shadow: '{{foreground-shadow}}';
18
+ color: '{{foreground-3}}'; }
19
+ md-input-container.md-THEME_NAME-theme ng-messages, md-input-container.md-THEME_NAME-theme [ng-message], md-input-container.md-THEME_NAME-theme [data-ng-message], md-input-container.md-THEME_NAME-theme [x-ng-message] {
20
+ color: '{{warn-500}}'; }
21
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-has-value label {
22
+ color: '{{foreground-2}}'; }
23
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused .md-input {
24
+ border-color: '{{primary-500}}'; }
25
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label {
26
+ color: '{{primary-500}}'; }
27
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused md-icon {
28
+ color: '{{primary-500}}'; }
29
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input {
30
+ border-color: '{{accent-500}}'; }
31
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label {
32
+ color: '{{accent-500}}'; }
33
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input {
34
+ border-color: '{{warn-500}}'; }
35
+ md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label {
36
+ color: '{{warn-500}}'; }
37
+ md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input {
38
+ border-color: '{{warn-500}}'; }
39
+ md-input-container.md-THEME_NAME-theme.md-input-invalid.md-input-focused label {
40
+ color: '{{warn-500}}'; }
41
+ 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 {
42
+ color: '{{warn-500}}'; }
43
+ md-input-container.md-THEME_NAME-theme .md-input[disabled], [disabled] md-input-container.md-THEME_NAME-theme .md-input {
44
+ border-bottom-color: transparent;
45
+ color: '{{foreground-3}}';
46
+ background-image: linear-gradient(to right, '{{foreground-3}}' 0%, '{{foreground-3}}' 33%, transparent 0%); }
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
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>md-icon{color:'{{foreground-1}}'}md-input-container.md-THEME_NAME-theme .md-placeholder,md-input-container.md-THEME_NAME-theme label{text-shadow:'{{foreground-shadow}}';color:'{{foreground-3}}'}md-input-container.md-THEME_NAME-theme [data-ng-message],md-input-container.md-THEME_NAME-theme [ng-message],md-input-container.md-THEME_NAME-theme [x-ng-message],md-input-container.md-THEME_NAME-theme ng-messages{color:'{{warn-500}}'}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,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused md-icon{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 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-input-focused label{color:'{{warn-500}}'}[disabled] md-input-container.md-THEME_NAME-theme .md-input,md-input-container.md-THEME_NAME-theme .md-input[disabled]{border-bottom-color:transparent;color:'{{foreground-3}}';background-image:linear-gradient(to right,'{{foreground-3}}' 0,'{{foreground-3}}' 33%,transparent 0)}
@@ -0,0 +1,162 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ /* mixin definition ; sets LTR and RTL within the same style call */
8
+ md-input-container {
9
+ display: -webkit-flex;
10
+ display: -ms-flexbox;
11
+ display: flex;
12
+ position: relative;
13
+ -webkit-flex-direction: column;
14
+ -ms-flex-direction: column;
15
+ flex-direction: column;
16
+ padding: 2px;
17
+ padding-bottom: 26px;
18
+ /*
19
+ * The .md-input class is added to the input/textarea
20
+ */ }
21
+ md-input-container > md-icon {
22
+ position: absolute;
23
+ top: 5px;
24
+ left: 2px; }
25
+ md-input-container > md-icon + input {
26
+ margin-left: 36px; }
27
+ 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"] {
28
+ /* remove default appearance from all input/textarea */
29
+ -moz-appearance: none;
30
+ -webkit-appearance: none; }
31
+ md-input-container input[type="date"], md-input-container input[type="datetime-local"], md-input-container input[type="month"], md-input-container input[type="time"], md-input-container input[type="week"] {
32
+ min-height: 26px; }
33
+ md-input-container textarea {
34
+ resize: none;
35
+ overflow: hidden; }
36
+ md-input-container textarea.md-input {
37
+ min-height: 56px;
38
+ -ms-flex-preferred-size: auto; }
39
+ md-input-container label {
40
+ position: relative;
41
+ top: -2px; }
42
+ md-input-container label:not(.md-no-float), md-input-container .md-placeholder:not(.md-select-label) {
43
+ -webkit-order: 1;
44
+ -ms-flex-order: 1;
45
+ order: 1;
46
+ pointer-events: none;
47
+ -webkit-font-smoothing: antialiased;
48
+ padding-left: 2px;
49
+ z-index: 1;
50
+ -webkit-transform: translate3d(0, 28px, 0) scale(1);
51
+ transform: translate3d(0, 28px, 0) scale(1);
52
+ transition: -webkit-transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.25s;
53
+ transition: transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.25s;
54
+ -webkit-transform-origin: left top;
55
+ transform-origin: left top; }
56
+ html[dir=rtl] md-input-container label:not(.md-no-float), html[dir=rtl] md-input-container .md-placeholder:not(.md-select-label) {
57
+ -webkit-transform-origin: right top;
58
+ transform-origin: right top; }
59
+ md-input-container .md-placeholder:not(.md-select-label) {
60
+ position: absolute;
61
+ top: 0;
62
+ opacity: 0;
63
+ transition-property: opacity, -webkit-transform;
64
+ transition-property: opacity, transform;
65
+ -webkit-transform: translate3d(0, 30px, 0);
66
+ transform: translate3d(0, 30px, 0); }
67
+ md-input-container.md-input-focused .md-placeholder {
68
+ opacity: 1;
69
+ -webkit-transform: translate3d(0, 24px, 0);
70
+ transform: translate3d(0, 24px, 0); }
71
+ md-input-container.md-input-has-value .md-placeholder {
72
+ transition: none;
73
+ opacity: 0; }
74
+ md-input-container:not(.md-input-has-value) input:not(:focus) {
75
+ color: transparent; }
76
+ md-input-container .md-input {
77
+ -webkit-flex: 1 1 auto;
78
+ -ms-flex: 1 1 auto;
79
+ flex: 1 1 auto;
80
+ -webkit-order: 2;
81
+ -ms-flex-order: 2;
82
+ order: 2;
83
+ display: block;
84
+ background: none;
85
+ padding-top: 2px;
86
+ padding-bottom: 1px;
87
+ padding-left: 2px;
88
+ padding-right: 2px;
89
+ border-width: 0 0 1px 0;
90
+ line-height: 26px;
91
+ -ms-flex-preferred-size: 26px;
92
+ border-radius: 0; }
93
+ md-input-container .md-input:focus {
94
+ outline: none; }
95
+ md-input-container .md-input:invalid {
96
+ outline: none;
97
+ box-shadow: none; }
98
+ 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] {
99
+ -webkit-order: 3;
100
+ -ms-flex-order: 3;
101
+ order: 3;
102
+ position: relative; }
103
+ 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 {
104
+ -webkit-font-smoothing: antialiased;
105
+ position: absolute;
106
+ font-size: 12px;
107
+ line-height: 24px; }
108
+ md-input-container ng-message:not(.md-char-counter), md-input-container data-ng-message:not(.md-char-counter), md-input-container x-ng-message:not(.md-char-counter), md-input-container [ng-message]:not(.md-char-counter), md-input-container [data-ng-message]:not(.md-char-counter), md-input-container [x-ng-message]:not(.md-char-counter), md-input-container .md-char-counter:not(.md-char-counter) {
109
+ padding-right: 30px; }
110
+ 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 {
111
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
112
+ transition-delay: 0.2s; }
113
+ 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 {
114
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2); }
115
+ 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 {
116
+ opacity: 0;
117
+ -webkit-transform: translate3d(0, -20%, 0);
118
+ transform: translate3d(0, -20%, 0); }
119
+ 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 {
120
+ opacity: 1;
121
+ -webkit-transform: translate3d(0, 0, 0);
122
+ transform: translate3d(0, 0, 0); }
123
+ md-input-container .md-char-counter {
124
+ bottom: 2px;
125
+ right: 2px; }
126
+ md-input-container.md-input-focused label:not(.md-no-float), md-input-container.md-input-has-value label:not(.md-no-float) {
127
+ -webkit-transform: translate3d(0, 6px, 0) scale(0.75);
128
+ transform: translate3d(0, 6px, 0) scale(0.75); }
129
+ md-input-container.md-input-focused .md-input, md-input-container .md-input.ng-invalid.ng-dirty {
130
+ padding-bottom: 0;
131
+ border-width: 0 0 2px 0; }
132
+ md-input-container .md-input[disabled], [disabled] md-input-container .md-input {
133
+ background-position: 0 bottom;
134
+ background-size: 4px 1px;
135
+ background-repeat: repeat-x;
136
+ margin-bottom: -1px; }
137
+
138
+ md-input-container.md-icon-float {
139
+ margin-top: -16px;
140
+ transition: margin-top 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
141
+ md-input-container.md-icon-float > label {
142
+ pointer-events: none;
143
+ position: absolute;
144
+ margin-left: 36px; }
145
+ md-input-container.md-icon-float > md-icon {
146
+ top: 26px;
147
+ left: 2px; }
148
+ md-input-container.md-icon-float > md-icon + input {
149
+ margin-left: 36px; }
150
+ md-input-container.md-icon-float > input {
151
+ padding-top: 24px; }
152
+ md-input-container.md-icon-float.md-input-focused, md-input-container.md-icon-float.md-input-has-value {
153
+ margin-top: -8px; }
154
+ md-input-container.md-icon-float.md-input-focused label, md-input-container.md-icon-float.md-input-has-value label {
155
+ -webkit-transform: translate3d(0, 6px, 0) scale(0.75);
156
+ transform: translate3d(0, 6px, 0) scale(0.75);
157
+ transition: -webkit-transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.5s;
158
+ transition: transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.5s; }
159
+
160
+ @media screen and (-ms-high-contrast: active) {
161
+ md-input-container.md-default-theme > md-icon {
162
+ fill: #fff; } }
@@ -0,0 +1,372 @@
1
+ /*!
2
+ * Angular Material Design
3
+ * https://github.com/angular/material
4
+ * @license MIT
5
+ * v0.10.0
6
+ */
7
+ (function( window, angular, undefined ){
8
+ "use strict";
9
+
10
+ /**
11
+ * @ngdoc module
12
+ * @name material.components.input
13
+ */
14
+
15
+ angular.module('material.components.input', [
16
+ 'material.core'
17
+ ])
18
+ .directive('mdInputContainer', mdInputContainerDirective)
19
+ .directive('label', labelDirective)
20
+ .directive('input', inputTextareaDirective)
21
+ .directive('textarea', inputTextareaDirective)
22
+ .directive('mdMaxlength', mdMaxlengthDirective)
23
+ .directive('placeholder', placeholderDirective);
24
+
25
+ /**
26
+ * @ngdoc directive
27
+ * @name mdInputContainer
28
+ * @module material.components.input
29
+ *
30
+ * @restrict E
31
+ *
32
+ * @description
33
+ * `<md-input-container>` is the parent of any input or textarea element.
34
+ *
35
+ * Input and textarea elements will not behave properly unless the md-input-container
36
+ * parent is provided.
37
+ *
38
+ * @param md-is-error {expression=} When the given expression evaluates to true, the input container will go into error state. Defaults to erroring if the input has been touched and is invalid.
39
+ * @param md-no-float {boolean=} When present, placeholders will not be converted to floating labels
40
+ *
41
+ * @usage
42
+ * <hljs lang="html">
43
+ *
44
+ * <md-input-container>
45
+ * <label>Username</label>
46
+ * <input type="text" ng-model="user.name">
47
+ * </md-input-container>
48
+ *
49
+ * <md-input-container>
50
+ * <label>Description</label>
51
+ * <textarea ng-model="user.description"></textarea>
52
+ * </md-input-container>
53
+ *
54
+ * </hljs>
55
+ */
56
+ function mdInputContainerDirective($mdTheming, $parse) {
57
+ ContainerCtrl.$inject = ["$scope", "$element", "$attrs"];
58
+ return {
59
+ restrict: 'E',
60
+ link: postLink,
61
+ controller: ContainerCtrl
62
+ };
63
+
64
+ function postLink(scope, element, attr) {
65
+ $mdTheming(element);
66
+ }
67
+ function ContainerCtrl($scope, $element, $attrs) {
68
+ var self = this;
69
+
70
+ self.isErrorGetter = $attrs.mdIsError && $parse($attrs.mdIsError);
71
+
72
+ self.delegateClick = function() {
73
+ self.input.focus();
74
+ };
75
+ self.element = $element;
76
+ self.setFocused = function(isFocused) {
77
+ $element.toggleClass('md-input-focused', !!isFocused);
78
+ };
79
+ self.setHasValue = function(hasValue) {
80
+ $element.toggleClass('md-input-has-value', !!hasValue);
81
+ };
82
+ self.setInvalid = function(isInvalid) {
83
+ $element.toggleClass('md-input-invalid', !!isInvalid);
84
+ };
85
+ $scope.$watch(function() {
86
+ return self.label && self.input;
87
+ }, function(hasLabelAndInput) {
88
+ if (hasLabelAndInput && !self.label.attr('for')) {
89
+ self.label.attr('for', self.input.attr('id'));
90
+ }
91
+ });
92
+ }
93
+ }
94
+ mdInputContainerDirective.$inject = ["$mdTheming", "$parse"];
95
+
96
+ function labelDirective() {
97
+ return {
98
+ restrict: 'E',
99
+ require: '^?mdInputContainer',
100
+ link: function(scope, element, attr, containerCtrl) {
101
+ if (!containerCtrl || attr.mdNoFloat) return;
102
+
103
+ containerCtrl.label = element;
104
+ scope.$on('$destroy', function() {
105
+ containerCtrl.label = null;
106
+ });
107
+ }
108
+ };
109
+ }
110
+
111
+ /**
112
+ * @ngdoc directive
113
+ * @name mdInput
114
+ * @restrict E
115
+ * @module material.components.input
116
+ *
117
+ * @description
118
+ * Use the `<input>` or the `<textarea>` as a child of an `<md-input-container>`.
119
+ *
120
+ * @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.<br/><br/>
121
+ * The purpose of **`md-maxlength`** is exactly to show the max length counter text. If you don't want the counter text and only need "plain" validation, you can use the "simple" `ng-maxlength` or maxlength attributes.
122
+ * @param {string=} aria-label Aria-label is required when no label is present. A warning message will be logged in the console if not present.
123
+ * @param {string=} placeholder An alternative approach to using aria-label when the label is not present. The placeholder text is copied to the aria-label attribute.
124
+ *
125
+ * @usage
126
+ * <hljs lang="html">
127
+ * <md-input-container>
128
+ * <label>Color</label>
129
+ * <input type="text" ng-model="color" required md-maxlength="10">
130
+ * </md-input-container>
131
+ * </hljs>
132
+ * <h3>With Errors</h3>
133
+ *
134
+ * <hljs lang="html">
135
+ * <form name="userForm">
136
+ * <md-input-container>
137
+ * <label>Last Name</label>
138
+ * <input name="lastName" ng-model="lastName" required md-maxlength="10" minlength="4">
139
+ * <div ng-messages="userForm.lastName.$error" ng-show="userForm.lastName.$dirty">
140
+ * <div ng-message="required">This is required!</div>
141
+ * <div ng-message="md-maxlength">That's too long!</div>
142
+ * <div ng-message="minlength">That's too short!</div>
143
+ * </div>
144
+ * </md-input-container>
145
+ * <md-input-container>
146
+ * <label>Biography</label>
147
+ * <textarea name="bio" ng-model="biography" required md-maxlength="150"></textarea>
148
+ * <div ng-messages="userForm.bio.$error" ng-show="userForm.bio.$dirty">
149
+ * <div ng-message="required">This is required!</div>
150
+ * <div ng-message="md-maxlength">That's too long!</div>
151
+ * </div>
152
+ * </md-input-container>
153
+ * <md-input-container>
154
+ * <input aria-label='title' ng-model='title'>
155
+ * </md-input-container>
156
+ * <md-input-container>
157
+ * <input placeholder='title' ng-model='title'>
158
+ * </md-input-container>
159
+ * </form>
160
+ * </hljs>
161
+ *
162
+ * Requires [ngMessages](https://docs.angularjs.org/api/ngMessages).
163
+ * Behaves like the [AngularJS input directive](https://docs.angularjs.org/api/ng/directive/input).
164
+ *
165
+ */
166
+
167
+ function inputTextareaDirective($mdUtil, $window, $mdAria) {
168
+ return {
169
+ restrict: 'E',
170
+ require: ['^?mdInputContainer', '?ngModel'],
171
+ link: postLink
172
+ };
173
+
174
+ function postLink(scope, element, attr, ctrls) {
175
+
176
+ var containerCtrl = ctrls[0];
177
+ var ngModelCtrl = ctrls[1] || $mdUtil.fakeNgModel();
178
+ var isReadonly = angular.isDefined(attr.readonly);
179
+
180
+ if ( !containerCtrl ) return;
181
+ if (containerCtrl.input) {
182
+ throw new Error("<md-input-container> can only have *one* <input> or <textarea> child element!");
183
+ }
184
+ containerCtrl.input = element;
185
+
186
+ if(!containerCtrl.label) {
187
+ $mdAria.expect(element, 'aria-label', element.attr('placeholder'));
188
+ }
189
+
190
+ element.addClass('md-input');
191
+ if (!element.attr('id')) {
192
+ element.attr('id', 'input_' + $mdUtil.nextUid());
193
+ }
194
+
195
+ if (element[0].tagName.toLowerCase() === 'textarea') {
196
+ setupTextarea();
197
+ }
198
+
199
+ var isErrorGetter = containerCtrl.isErrorGetter || function() {
200
+ return ngModelCtrl.$invalid && ngModelCtrl.$touched;
201
+ };
202
+ scope.$watch(isErrorGetter, containerCtrl.setInvalid);
203
+
204
+ ngModelCtrl.$parsers.push(ngModelPipelineCheckValue);
205
+ ngModelCtrl.$formatters.push(ngModelPipelineCheckValue);
206
+
207
+ element.on('input', inputCheckValue);
208
+
209
+ if (!isReadonly) {
210
+ element
211
+ .on('focus', function(ev) {
212
+ containerCtrl.setFocused(true);
213
+ })
214
+ .on('blur', function(ev) {
215
+ containerCtrl.setFocused(false);
216
+ inputCheckValue();
217
+ });
218
+
219
+ }
220
+
221
+ //ngModelCtrl.$setTouched();
222
+ //if( ngModelCtrl.$invalid ) containerCtrl.setInvalid();
223
+
224
+ scope.$on('$destroy', function() {
225
+ containerCtrl.setFocused(false);
226
+ containerCtrl.setHasValue(false);
227
+ containerCtrl.input = null;
228
+ });
229
+
230
+ /**
231
+ *
232
+ */
233
+ function ngModelPipelineCheckValue(arg) {
234
+ containerCtrl.setHasValue(!ngModelCtrl.$isEmpty(arg));
235
+ return arg;
236
+ }
237
+ function inputCheckValue() {
238
+ // An input's value counts if its length > 0,
239
+ // or if the input's validity state says it has bad input (eg string in a number input)
240
+ containerCtrl.setHasValue(element.val().length > 0 || (element[0].validity||{}).badInput);
241
+ }
242
+
243
+ function setupTextarea() {
244
+ var node = element[0];
245
+ var onChangeTextarea = $mdUtil.debounce(growTextarea, 1);
246
+
247
+ function pipelineListener(value) {
248
+ onChangeTextarea();
249
+ return value;
250
+ }
251
+
252
+ if (ngModelCtrl) {
253
+ ngModelCtrl.$formatters.push(pipelineListener);
254
+ ngModelCtrl.$viewChangeListeners.push(pipelineListener);
255
+ } else {
256
+ onChangeTextarea();
257
+ }
258
+ element.on('keydown input', onChangeTextarea);
259
+ element.on('scroll', onScroll);
260
+ angular.element($window).on('resize', onChangeTextarea);
261
+
262
+ scope.$on('$destroy', function() {
263
+ angular.element($window).off('resize', onChangeTextarea);
264
+ });
265
+
266
+ function growTextarea() {
267
+ node.style.height = "auto";
268
+ node.scrollTop = 0;
269
+ var height = getHeight();
270
+ if (height) node.style.height = height + 'px';
271
+ }
272
+
273
+ function getHeight () {
274
+ var line = node.scrollHeight - node.offsetHeight;
275
+ return node.offsetHeight + (line > 0 ? line : 0);
276
+ }
277
+
278
+ function onScroll(e) {
279
+ node.scrollTop = 0;
280
+ // for smooth new line adding
281
+ var line = node.scrollHeight - node.offsetHeight;
282
+ var height = node.offsetHeight + line;
283
+ node.style.height = height + 'px';
284
+ }
285
+ }
286
+ }
287
+ }
288
+ inputTextareaDirective.$inject = ["$mdUtil", "$window", "$mdAria"];
289
+
290
+ function mdMaxlengthDirective($animate) {
291
+ return {
292
+ restrict: 'A',
293
+ require: ['ngModel', '^mdInputContainer'],
294
+ link: postLink
295
+ };
296
+
297
+ function postLink(scope, element, attr, ctrls) {
298
+ var maxlength;
299
+ var ngModelCtrl = ctrls[0];
300
+ var containerCtrl = ctrls[1];
301
+ var charCountEl = angular.element('<div class="md-char-counter">');
302
+
303
+ // Stop model from trimming. This makes it so whitespace
304
+ // over the maxlength still counts as invalid.
305
+ attr.$set('ngTrim', 'false');
306
+ containerCtrl.element.append(charCountEl);
307
+
308
+ ngModelCtrl.$formatters.push(renderCharCount);
309
+ ngModelCtrl.$viewChangeListeners.push(renderCharCount);
310
+ element.on('input keydown', function() {
311
+ renderCharCount(); //make sure it's called with no args
312
+ });
313
+
314
+ scope.$watch(attr.mdMaxlength, function(value) {
315
+ maxlength = value;
316
+ if (angular.isNumber(value) && value > 0) {
317
+ if (!charCountEl.parent().length) {
318
+ $animate.enter(charCountEl, containerCtrl.element,
319
+ angular.element(containerCtrl.element[0].lastElementChild));
320
+ }
321
+ renderCharCount();
322
+ } else {
323
+ $animate.leave(charCountEl);
324
+ }
325
+ });
326
+
327
+ ngModelCtrl.$validators['md-maxlength'] = function(modelValue, viewValue) {
328
+ if (!angular.isNumber(maxlength) || maxlength < 0) {
329
+ return true;
330
+ }
331
+ return ( modelValue || element.val() || viewValue || '' ).length <= maxlength;
332
+ };
333
+
334
+ function renderCharCount(value) {
335
+ charCountEl.text( ( element.val() || value || '' ).length + '/' + maxlength );
336
+ return value;
337
+ }
338
+ }
339
+ }
340
+ mdMaxlengthDirective.$inject = ["$animate"];
341
+
342
+ function placeholderDirective($log) {
343
+ var blackListElements = ['MD-SELECT'];
344
+ return {
345
+ restrict: 'A',
346
+ require: '^^?mdInputContainer',
347
+ priority: 200,
348
+ link: postLink
349
+ };
350
+
351
+ function postLink(scope, element, attr, inputContainer) {
352
+ if (!inputContainer) return;
353
+ if (blackListElements.indexOf(element[0].nodeName) != -1) return;
354
+ if (angular.isDefined(inputContainer.element.attr('md-no-float'))) return;
355
+
356
+ var placeholderText = attr.placeholder;
357
+ element.removeAttr('placeholder');
358
+
359
+ if ( inputContainer.element.find('label').length == 0 ) {
360
+ var placeholder = '<label ng-click="delegateClick()">' + placeholderText + '</label>';
361
+
362
+ inputContainer.element.addClass('md-icon-float');
363
+ inputContainer.element.prepend(placeholder);
364
+ } else {
365
+ $log.warn("The placeholder='" + placeholderText + "' will be ignored since this md-input-container has a child label element.");
366
+ }
367
+
368
+ }
369
+ }
370
+ placeholderDirective.$inject = ["$log"];
371
+
372
+ })(window, window.angular);