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.
- checksums.yaml +4 -4
- data/lib/todo_rails/version.rb +1 -1
- data/vendor/assets/bower.json +8 -0
- data/vendor/assets/bower_components/angular-animate/README.md +68 -0
- data/vendor/assets/bower_components/angular-animate/angular-animate.js +3721 -0
- data/vendor/assets/bower_components/angular-animate/angular-animate.min.js +52 -0
- data/vendor/assets/bower_components/angular-animate/angular-animate.min.js.map +8 -0
- data/vendor/assets/bower_components/angular-animate/bower.json +9 -0
- data/vendor/assets/bower_components/angular-animate/index.js +2 -0
- data/vendor/assets/bower_components/angular-animate/package.json +26 -0
- data/vendor/assets/bower_components/angular-aria/README.md +67 -0
- data/vendor/assets/bower_components/angular-aria/angular-aria.js +393 -0
- data/vendor/assets/bower_components/angular-aria/angular-aria.min.js +13 -0
- data/vendor/assets/bower_components/angular-aria/angular-aria.min.js.map +8 -0
- data/vendor/assets/bower_components/angular-aria/bower.json +9 -0
- data/vendor/assets/bower_components/angular-aria/index.js +2 -0
- data/vendor/assets/bower_components/angular-aria/package.json +27 -0
- data/vendor/assets/bower_components/angular-material/CHANGELOG.md +1599 -0
- data/vendor/assets/bower_components/angular-material/LICENSE +21 -0
- data/vendor/assets/bower_components/angular-material/README.md +211 -0
- data/vendor/assets/bower_components/angular-material/angular-material-mocks.js +77 -0
- data/vendor/assets/bower_components/angular-material/angular-material.css +7183 -0
- data/vendor/assets/bower_components/angular-material/angular-material.js +15406 -0
- data/vendor/assets/bower_components/angular-material/angular-material.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/angular-material.min.js +14 -0
- data/vendor/assets/bower_components/angular-material/bower.json +14 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/copy.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/copy2.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/facebook.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/hangout.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/mail.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/message.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/print.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/share-arrow.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/twitter.svg +2 -0
- data/vendor/assets/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/upload.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/chips/demoBasicUsage/style.scss +39 -0
- data/vendor/assets/bower_components/angular-material/demos/chips/demoContactChips/style.scss +47 -0
- data/vendor/assets/bower_components/angular-material/demos/gridList/demoBasicUsage/style.scss +75 -0
- data/vendor/assets/bower_components/angular-material/demos/gridList/demoDynamicTiles/style.scss +78 -0
- data/vendor/assets/bower_components/angular-material/demos/gridList/demoResponsiveUsage/style.scss +0 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/addShoppingCart.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/android.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/cake.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/cake.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/core-icons.svg +26 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/social-icons.svg +26 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/addShoppingCart.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/android.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/cake.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/android.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/cake.svg +1 -0
- data/vendor/assets/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/core-icons.svg +26 -0
- data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_email_24px.svg +4 -0
- data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_person_24px.svg +4 -0
- data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_phone_24px.svg +4 -0
- data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/icons/ic_place_24px.svg +4 -0
- data/vendor/assets/bower_components/angular-material/demos/input/demoIcons/style.scss +18 -0
- data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-0.jpeg +0 -0
- data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-1.jpeg +0 -0
- data/vendor/assets/bower_components/angular-material/demos/list/demoListControls/img/100-2.jpeg +0 -0
- data/vendor/assets/bower_components/angular-material/demos/tabs/demoDynamicHeight/style.scss +13 -0
- data/vendor/assets/bower_components/angular-material/demos/tabs/demoDynamicTabs/style.scss +44 -0
- data/vendor/assets/bower_components/angular-material/demos/tabs/demoStaticTabs/style.scss +25 -0
- data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/favorite.svg +4 -0
- data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/menu.svg +4 -0
- data/vendor/assets/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/more_vert.svg +4 -0
- data/vendor/assets/bower_components/angular-material/index.js +12 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete-default-theme.css +24 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete.css +220 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/autocomplete/autocomplete.js +951 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop-default-theme.css +9 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop.css +59 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/backdrop/backdrop.js +38 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet-default-theme.css +16 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.css +170 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.js +267 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/button/button-default-theme.css +94 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/button/button.css +158 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/button/button.js +135 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/card/card-default-theme.css +12 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/card/card.css +34 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/card/card.js +84 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox-default-theme.css +47 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox.css +124 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/checkbox/checkbox.js +166 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips-default-theme.css +24 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips.css +131 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/chips/chips.js +949 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/content/content-default-theme.css +9 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/content/content.css +20 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/content/content.js +84 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/core/core.css +2594 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/core/core.js +3772 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/core/default-theme.js +4 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog-default-theme.css +12 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog.css +111 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/dialog/dialog.js +713 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider-default-theme.css +9 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider.css +14 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/divider/divider.js +45 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/fabActions/fabActions.js +57 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/fabSpeedDial/fabSpeedDial.css +100 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/fabSpeedDial/fabSpeedDial.js +236 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/fabToolbar/fabToolbar.css +74 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/fabToolbar/fabToolbar.js +218 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/fabTrigger/fabTrigger.js +54 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList-default-theme.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList.css +68 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/gridList/gridList.js +762 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon-default-theme.css +15 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon.css +20 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/icon/icon.js +783 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/input/input-default-theme.css +46 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/input/input.css +162 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/input/input.js +371 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/list/list-default-theme.css +23 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/list/list.css +147 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/list/list.js +273 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu-default-theme.css +11 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu.css +121 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/menu/menu.js +620 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular-default-theme.css +36 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular.css +1409 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/progressCircular/progressCircular.js +109 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear-default-theme.css +27 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear.css +287 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/progressLinear/progressLinear.js +126 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton-default-theme.css +47 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton.css +91 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/radioButton/radioButton.js +312 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/select/select-default-theme.css +42 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/select/select.css +170 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/select/select.js +1055 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav-default-theme.css +9 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav.css +99 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/sidenav/sidenav.js +424 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider-default-theme.css +56 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider.css +220 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/slider/slider.js +403 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/sticky/sticky.css +21 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/sticky/sticky.js +315 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader-default-theme.css +16 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader.css +63 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/subheader/subheader.js +93 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/swipe/swipe.js +72 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch-default-theme.css +33 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch.css +110 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/switch/switch.js +169 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs-arrow.svg +7 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs-default-theme.css +82 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs.css +274 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/tabs/tabs.js +1060 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField-default-theme.css +30 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField.css +111 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/textField/textField.js +145 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast-default-theme.css +18 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast.css +119 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/toast/toast.js +265 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar-default-theme.css +20 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar.css +83 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/toolbar/toolbar.js +169 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip-default-theme.css +11 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip.css +72 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/tooltip/tooltip.js +267 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/whiteframe/whiteframe.css +25 -0
- data/vendor/assets/bower_components/angular-material/modules/closure/whiteframe/whiteframe.js +15 -0
- data/vendor/assets/bower_components/angular-material/modules/css/angular-material-layout.css +2375 -0
- data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete-default-theme.css +24 -0
- data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.css +220 -0
- data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.js +951 -0
- data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.css +9 -0
- data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.css +59 -0
- data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.js +39 -0
- data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/backdrop/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.css +16 -0
- data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.css +170 -0
- data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.js +267 -0
- data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/bottomSheet/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/button/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/button/button-default-theme.css +94 -0
- data/vendor/assets/bower_components/angular-material/modules/js/button/button-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/button/button.css +158 -0
- data/vendor/assets/bower_components/angular-material/modules/js/button/button.js +136 -0
- data/vendor/assets/bower_components/angular-material/modules/js/button/button.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/button/button.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/card/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/card/card-default-theme.css +12 -0
- data/vendor/assets/bower_components/angular-material/modules/js/card/card-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/card/card.css +34 -0
- data/vendor/assets/bower_components/angular-material/modules/js/card/card.js +85 -0
- data/vendor/assets/bower_components/angular-material/modules/js/card/card.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/card/card.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/checkbox/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.css +47 -0
- data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.css +124 -0
- data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.js +167 -0
- data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/checkbox/checkbox.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/chips/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/chips/chips-default-theme.css +24 -0
- data/vendor/assets/bower_components/angular-material/modules/js/chips/chips-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.css +131 -0
- data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.js +949 -0
- data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/chips/chips.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/content/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/content/content-default-theme.css +9 -0
- data/vendor/assets/bower_components/angular-material/modules/js/content/content-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/content/content.css +20 -0
- data/vendor/assets/bower_components/angular-material/modules/js/content/content.js +85 -0
- data/vendor/assets/bower_components/angular-material/modules/js/content/content.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/content/content.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/core/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/core/core.css +2594 -0
- data/vendor/assets/bower_components/angular-material/modules/js/core/core.js +3772 -0
- data/vendor/assets/bower_components/angular-material/modules/js/core/core.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/core/core.min.js +10 -0
- data/vendor/assets/bower_components/angular-material/modules/js/core/default-theme.js +4 -0
- data/vendor/assets/bower_components/angular-material/modules/js/dialog/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog-default-theme.css +12 -0
- data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.css +111 -0
- data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.js +713 -0
- data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/dialog/dialog.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/divider/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/divider/divider-default-theme.css +9 -0
- data/vendor/assets/bower_components/angular-material/modules/js/divider/divider-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.css +14 -0
- data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.js +46 -0
- data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/divider/divider.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabActions/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabActions/fabActions.js +58 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabActions/fabActions.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/bower.json +9 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.css +100 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.js +235 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabSpeedDial/fabSpeedDial.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/bower.json +9 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.css +74 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.js +217 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabToolbar/fabToolbar.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/fabTrigger.js +55 -0
- data/vendor/assets/bower_components/angular-material/modules/js/fabTrigger/fabTrigger.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/gridList/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.css +68 -0
- data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.js +763 -0
- data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/gridList/gridList.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/icon/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/icon/icon-default-theme.css +15 -0
- data/vendor/assets/bower_components/angular-material/modules/js/icon/icon-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.css +20 -0
- data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.js +784 -0
- data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/icon/icon.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/input/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/input/input-default-theme.css +46 -0
- data/vendor/assets/bower_components/angular-material/modules/js/input/input-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/input/input.css +162 -0
- data/vendor/assets/bower_components/angular-material/modules/js/input/input.js +372 -0
- data/vendor/assets/bower_components/angular-material/modules/js/input/input.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/input/input.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/list/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/list/list-default-theme.css +23 -0
- data/vendor/assets/bower_components/angular-material/modules/js/list/list-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/list/list.css +147 -0
- data/vendor/assets/bower_components/angular-material/modules/js/list/list.js +274 -0
- data/vendor/assets/bower_components/angular-material/modules/js/list/list.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/list/list.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/menu/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/menu/menu-default-theme.css +11 -0
- data/vendor/assets/bower_components/angular-material/modules/js/menu/menu-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.css +121 -0
- data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.js +620 -0
- data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/menu/menu.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.css +36 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.css +1409 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.js +110 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.css +27 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.css +287 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.js +127 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/radioButton/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.css +47 -0
- data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.css +91 -0
- data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.js +313 -0
- data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/radioButton/radioButton.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/select/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/select/select-default-theme.css +42 -0
- data/vendor/assets/bower_components/angular-material/modules/js/select/select-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/select/select.css +170 -0
- data/vendor/assets/bower_components/angular-material/modules/js/select/select.js +1055 -0
- data/vendor/assets/bower_components/angular-material/modules/js/select/select.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/select/select.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sidenav/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.css +9 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.css +99 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.js +424 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sidenav/sidenav.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/slider/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/slider/slider-default-theme.css +56 -0
- data/vendor/assets/bower_components/angular-material/modules/js/slider/slider-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.css +220 -0
- data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.js +404 -0
- data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/slider/slider.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sticky/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.css +21 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.js +315 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/sticky/sticky.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/subheader/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css +16 -0
- data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.css +63 -0
- data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.js +93 -0
- data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/subheader/subheader.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/swipe/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/swipe/swipe.js +73 -0
- data/vendor/assets/bower_components/angular-material/modules/js/swipe/swipe.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/switch/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/switch/switch-default-theme.css +33 -0
- data/vendor/assets/bower_components/angular-material/modules/js/switch/switch-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.css +110 -0
- data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.js +169 -0
- data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/switch/switch.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tabs/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs-default-theme.css +82 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.css +274 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.js +1060 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tabs/tabs.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/textField/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/textField/textField-default-theme.css +30 -0
- data/vendor/assets/bower_components/angular-material/modules/js/textField/textField-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.css +111 -0
- data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.js +143 -0
- data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/textField/textField.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toast/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toast/toast-default-theme.css +18 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toast/toast-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.css +119 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.js +265 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toast/toast.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toolbar/bower.json +8 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.css +20 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.css +83 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.js +169 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/toolbar/toolbar.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tooltip/bower.json +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.css +11 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.css +72 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.js +268 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/tooltip/tooltip.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/bower.json +5 -0
- data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.css +25 -0
- data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.js +16 -0
- data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.css +6 -0
- data/vendor/assets/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.js +7 -0
- data/vendor/assets/bower_components/angular-material/package.json +48 -0
- data/vendor/assets/bower_components/angular/README.md +64 -0
- data/vendor/assets/bower_components/angular/angular-csp.css +21 -0
- data/vendor/assets/bower_components/angular/angular.js +28364 -0
- data/vendor/assets/bower_components/angular/angular.min.js +290 -0
- data/vendor/assets/bower_components/angular/angular.min.js.gzip +0 -0
- data/vendor/assets/bower_components/angular/angular.min.js.map +8 -0
- data/vendor/assets/bower_components/angular/bower.json +8 -0
- data/vendor/assets/bower_components/angular/index.js +2 -0
- data/vendor/assets/bower_components/angular/package.json +25 -0
- data/vendor/assets/bower_components/lodash/LICENSE +22 -0
- data/vendor/assets/bower_components/lodash/bower.json +19 -0
- data/vendor/assets/bower_components/lodash/lodash.js +12351 -0
- data/vendor/assets/bower_components/lodash/lodash.min.js +99 -0
- data/vendor/assets/bower_components/restangular/CHANGELOG.md +18 -0
- data/vendor/assets/bower_components/restangular/CONTRIBUTE.md +31 -0
- data/vendor/assets/bower_components/restangular/Gruntfile.js +149 -0
- data/vendor/assets/bower_components/restangular/README.md +1336 -0
- data/vendor/assets/bower_components/restangular/bower.json +19 -0
- data/vendor/assets/bower_components/restangular/dist/restangular.js +1355 -0
- data/vendor/assets/bower_components/restangular/dist/restangular.min.js +6 -0
- data/vendor/assets/bower_components/restangular/dist/restangular.zip +0 -0
- data/vendor/assets/bower_components/restangular/karma.conf.js +74 -0
- data/vendor/assets/bower_components/restangular/karma.underscore.conf.js +74 -0
- data/vendor/assets/bower_components/restangular/license.md +21 -0
- data/vendor/assets/bower_components/restangular/package.json +55 -0
- data/vendor/assets/bower_components/restangular/src/restangular.js +1350 -0
- data/vendor/assets/bower_components/restangular/test/restangularSpec.js +1136 -0
- metadata +424 -1
data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.min.css
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.10.0
|
6
|
+
*/@-webkit-keyframes md-autocomplete-list-out{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear}50%{opacity:0;height:40px;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{height:0;opacity:0}}@keyframes md-autocomplete-list-out{0%{-webkit-animation-timing-function:linear;animation-timing-function:linear}50%{opacity:0;height:40px;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{height:0;opacity:0}}@-webkit-keyframes md-autocomplete-list-in{0%{opacity:0;height:0;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{opacity:0;height:40px}100%{opacity:1;height:40px}}@keyframes md-autocomplete-list-in{0%{opacity:0;height:0;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{opacity:0;height:40px}100%{opacity:1;height:40px}}md-autocomplete{border-radius:2px;display:block;height:40px;position:relative;overflow:visible;min-width:190px}md-autocomplete[disabled] input{cursor:not-allowed}md-autocomplete[md-floating-label]{padding-bottom:26px;border-radius:0;background:0 0;height:auto}md-autocomplete[md-floating-label] md-input-container{padding-bottom:0}md-autocomplete[md-floating-label] md-autocomplete-wrap{height:auto}md-autocomplete[md-floating-label] button{position:absolute;top:auto;bottom:0;right:0;width:30px;height:30px}md-autocomplete md-autocomplete-wrap{display:block;position:relative;overflow:visible;height:40px}md-autocomplete md-autocomplete-wrap md-progress-linear[md-mode=indeterminate]{position:absolute;bottom:0;left:0;width:100%;height:3px;transition:none}md-autocomplete md-autocomplete-wrap md-progress-linear[md-mode=indeterminate] .md-container{transition:none;top:auto;height:3px}md-autocomplete md-autocomplete-wrap md-progress-linear[md-mode=indeterminate].ng-enter{transition:opacity .15s linear}md-autocomplete md-autocomplete-wrap md-progress-linear[md-mode=indeterminate].ng-enter.ng-enter-active{opacity:1}md-autocomplete md-autocomplete-wrap md-progress-linear[md-mode=indeterminate].ng-leave{transition:opacity .15s linear}md-autocomplete md-autocomplete-wrap md-progress-linear[md-mode=indeterminate].ng-leave.ng-leave-active{opacity:0}md-autocomplete input:not(.md-input){width:100%;box-sizing:border-box;border:none;box-shadow:none;padding:0 15px;font-size:14px;line-height:40px;height:40px;outline:0;background:0 0}md-autocomplete input:not(.md-input)::-ms-clear{display:none}md-autocomplete button{position:relative;line-height:20px;text-align:center;width:30px;height:30px;cursor:pointer;border:none;border-radius:50%;padding:0;font-size:12px;background:0 0;margin:auto 5px}md-autocomplete button:after{content:'';position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;border-radius:50%;-webkit-transform:scale(0);transform:scale(0);opacity:0;transition:all .4s cubic-bezier(.25,.8,.25,1)}md-autocomplete button:focus{outline:0}md-autocomplete button:focus:after{-webkit-transform:scale(1);transform:scale(1);opacity:1}md-autocomplete button md-icon{position:absolute;top:50%;left:50%;-webkit-transform:translate3d(-50%,-50%,0) scale(.9);transform:translate3d(-50%,-50%,0) scale(.9)}md-autocomplete button md-icon path{stroke-width:0}md-autocomplete button.ng-enter{-webkit-transform:scale(0);transform:scale(0);transition:-webkit-transform .15s ease-out;transition:transform .15s ease-out}md-autocomplete button.ng-enter.ng-enter-active{-webkit-transform:scale(1);transform:scale(1)}md-autocomplete button.ng-leave{transition:-webkit-transform .15s ease-out;transition:transform .15s ease-out}md-autocomplete button.ng-leave.ng-leave-active{-webkit-transform:scale(0);transform:scale(0)}@media screen and (-ms-high-contrast:active){md-autocomplete input{border:1px solid #fff}md-autocomplete li:focus{color:#fff}}.md-autocomplete-suggestions{position:absolute;margin:0;list-style:none;padding:0;overflow:auto;max-height:225.5px;z-index:100}.md-autocomplete-suggestions li{cursor:pointer;font-size:14px;overflow:hidden;padding:0 15px;line-height:48px;height:48px;transition:background .15s linear;margin:0;white-space:nowrap;text-overflow:ellipsis}.md-autocomplete-suggestions li.ng-enter,.md-autocomplete-suggestions li.ng-hide-remove{transition:none;-webkit-animation:md-autocomplete-list-in .2s;animation:md-autocomplete-list-in .2s}.md-autocomplete-suggestions li.ng-hide-add,.md-autocomplete-suggestions li.ng-leave{transition:none;-webkit-animation:md-autocomplete-list-out .2s;animation:md-autocomplete-list-out .2s}.md-autocomplete-suggestions li:focus{outline:0}@media screen and (-ms-high-contrast:active){.md-autocomplete-suggestions,md-autocomplete{border:1px solid #fff}}
|
data/vendor/assets/bower_components/angular-material/modules/js/autocomplete/autocomplete.min.js
ADDED
@@ -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(e,t,n){"use strict";function o(e,n,o,i,l,a,r,m,c,s){function p(){o.initOptionalProperties(e,s,{searchText:null,selectedItem:null}),a(n),$(),l(function(){C(),f(),g()})}function h(){function e(){var e=X.ul.getBoundingClientRect(),n={};e.right>o.right-d&&(n.left=t.right-e.width+"px"),X.$.ul.css(n)}if(!X)return l(h,0,!1);var t=X.wrap.getBoundingClientRect(),n=X.snap.getBoundingClientRect(),o=X.root.getBoundingClientRect(),i=n.bottom-o.top,a=o.bottom-n.top,r=t.left-o.left,m=t.width,c={left:r+"px",minWidth:m+"px",maxWidth:Math.max(t.right-o.left,o.right-t.left)-d+"px"};i>a&&o.height-t.bottom-d<u?(c.top="auto",c.bottom=a+"px",c.maxHeight=Math.min(u,t.top-o.top-d)+"px"):(c.top=i+"px",c.bottom="auto",c.maxHeight=Math.min(u,o.bottom-t.bottom-d)+"px"),X.$.ul.css(c),l(e,0,!1)}function g(){X.$.root.length&&(a(X.$.ul),X.$.ul.detach(),X.$.root.append(X.$.ul),m.pin&&m.pin(X.$.ul,c))}function f(){e.autofocus&&X.input.focus()}function $(){var n=parseInt(e.delay,10)||0;s.$observe("disabled",function(e){G.isDisabled=e}),s.$observe("required",function(e){G.isRequired=null!==e}),e.$watch("searchText",n?o.debounce(M,n):M),L(y),e.$watch("selectedItem",I),t.element(r).on("resize",h),e.$on("$destroy",x)}function x(){t.element(r).off("resize",h),X.$.ul.remove()}function C(){X={main:n[0],ul:n.find("ul")[0],input:n.find("input")[0],wrap:n.find("md-autocomplete-wrap")[0],root:document.body},X.li=X.ul.getElementsByTagName("li"),X.snap=v(),X.$=A(X)}function v(){for(var e=n;e.length;e=e.parent())if(t.isDefined(e.attr("md-autocomplete-snap")))return e[0];return X.wrap}function A(e){var n={};for(var o in e)n[o]=t.element(e[o]);return n}function b(e,t){!e&&t&&h(),e?o.enableScrolling():X&&l(function(){o.disableScrollAround(X.ul)},0,!1)}function T(){te=!0}function w(){te=!1,oe||(G.hidden=!0)}function E(){X.input.focus()}function y(t,n){t&&(e.searchText=S(t)),e.itemChange&&t!==n&&e.itemChange(U(t))}function I(e,t){for(var n=0;n<ne.length;++n)ne[n](e,t)}function L(e){-1==ne.indexOf(e)&&ne.push(e)}function D(e){var t=ne.indexOf(e);-1!=t&&ne.splice(t,1)}function M(t,n){G.index=H(),t!==n&&t!==S(e.selectedItem)&&(e.selectedItem=null,e.textChange&&t!==n&&e.textChange(U(e.selectedItem)),W()?F():(G.loading=!1,G.matches=[],G.hidden=_(),Y()))}function O(){oe=!1,te||(G.hidden=!0)}function R(){oe=!0,t.isString(e.searchText)||(e.searchText=""),e.minLength>0||(G.hidden=_(),G.hidden||F())}function k(e){switch(e.keyCode){case i.KEY_CODE.DOWN_ARROW:if(G.loading)return;e.preventDefault(),G.index=Math.min(G.index+1,G.matches.length-1),V(),Y();break;case i.KEY_CODE.UP_ARROW:if(G.loading)return;e.preventDefault(),G.index=G.index<0?G.matches.length-1:Math.max(0,G.index-1),V(),Y();break;case i.KEY_CODE.TAB:case i.KEY_CODE.ENTER:if(G.hidden||G.loading||G.index<0||G.matches.length<1)return;e.preventDefault(),B(G.index);break;case i.KEY_CODE.ESCAPE:G.matches=[],G.hidden=!0,G.index=H()}}function N(){return t.isNumber(e.minLength)?e.minLength:1}function S(t){return t&&e.itemText?e.itemText(U(t)):t}function U(e){if(e){var t={};return G.itemName&&(t[G.itemName]=e),t}}function H(){return e.autoselect?0:-1}function _(){return W()?void 0:!0}function q(){return S(G.matches[G.index])}function W(){return t.isDefined(e.searchText)&&e.searchText.length>=N()}function j(e,t,n){Object.defineProperty(G,e,{get:function(){return n},set:function(e){var o=n;n=e,t(e,o)}})}function B(t){e.selectedItem=G.matches[t],G.hidden=!0,G.index=0,G.matches=[],l(function(){X.$.input.controller("ngModel").$setViewValue(S(e.selectedItem)||e.searchText),G.hidden=!0})}function P(){e.searchText="",B(-1);var t=document.createEvent("CustomEvent");t.initCustomEvent("input",!0,!0,{value:e.searchText}),X.input.dispatchEvent(t),X.input.focus()}function K(n){function o(t){ee[l]=t,n===e.searchText&&(G.loading=!1,Z=null,G.matches=t,G.hidden=_(),Y(),h())}var i=e.$parent.$eval(Q),l=n.toLowerCase();t.isArray(i)?o(i):i&&(G.loading=!0,i.success&&i.success(o),i.then&&i.then(o),i.error&&i.error(function(){G.loading=!1}))}function Y(){G.messages=[z(),q()]}function z(){if(ie===G.matches.length)return"";switch(ie=G.matches.length,G.matches.length){case 0:return"There are no matches available.";case 1:return"There is 1 match available.";default:return"There are "+G.matches.length+" matches available."}}function V(){if(X.li[G.index]){var e=X.li[G.index],t=e.offsetTop,n=t+e.offsetHeight,o=X.ul.clientHeight;t<X.ul.scrollTop?X.ul.scrollTop=t:n>X.ul.scrollTop+o&&(X.ul.scrollTop=n-o)}}function F(){var t=e.searchText,n=t.toLowerCase();Z&&Z.cancel&&(Z.cancel(),Z=null),!e.noCache&&ee[n]?(G.matches=ee[n],Y()):K(t),oe&&(G.hidden=_())}var G=this,J=e.itemsExpr.split(/ in /i),Q=J[1],X=null,Z=null,ee={},te=!1,ne=[],oe=!1,ie=0;return j("hidden",b,!0),G.scope=e,G.parent=e.$parent,G.itemName=J[0],G.matches=[],G.loading=!1,G.hidden=!0,G.index=null,G.messages=[],G.id=o.nextUid(),G.isDisabled=null,G.isRequired=null,G.keydown=k,G.blur=O,G.focus=R,G.clear=P,G.select=B,G.listEnter=T,G.listLeave=w,G.mouseUp=E,G.getCurrentDisplayValue=q,G.registerSelectedItemWatcher=L,G.unregisterSelectedItemWatcher=D,p()}function i(e,t){return{controller:"MdAutocompleteCtrl",controllerAs:"$mdAutocompleteCtrl",scope:{inputName:"@mdInputName",inputMinlength:"@mdInputMinlength",inputMaxlength:"@mdInputMaxlength",searchText:"=?mdSearchText",selectedItem:"=?mdSelectedItem",itemsExpr:"@mdItems",itemText:"&mdItemText",placeholder:"@placeholder",noCache:"=?mdNoCache",itemChange:"&?mdSelectedItemChange",textChange:"&?mdSearchTextChange",minLength:"=?mdMinLength",delay:"=?mdDelay",autofocus:"=?mdAutofocus",floatingLabel:"@?mdFloatingLabel",autoselect:"=?mdAutoselect",menuClass:"@?mdMenuClass"},template:function(e,t){function n(){var t=e.find("md-item-template").remove(),n=t.length?t.html():e.html();return t.length||e.empty(),n}function o(){var t=e.find("md-not-found").remove(),n=t.length?t.html():"";return n?'<li ng-if="!$mdAutocompleteCtrl.matches.length && !$mdAutocompleteCtrl.loading && !$mdAutocompleteCtrl.hidden" ng-hide="$mdAutocompleteCtrl.hidden" md-autocomplete-parent-scope>'+n+"</li>":""}function i(){return t.mdFloatingLabel?' <md-input-container flex ng-if="floatingLabel"> <label>{{floatingLabel}}</label> <input type="search" id="fl-input-{{$mdAutocompleteCtrl.id}}" name="{{inputName}}" autocomplete="off" ng-required="isRequired" ng-minlength="inputMinlength" ng-maxlength="inputMaxlength" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur()" ng-focus="$mdAutocompleteCtrl.focus()" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" aria-label="{{floatingLabel}}" aria-autocomplete="list" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <div md-autocomplete-parent-scope md-autocomplete-replace>'+r+"</div> </md-input-container>":' <input flex type="search" id="input-{{$mdAutocompleteCtrl.id}}" name="{{inputName}}" ng-if="!floatingLabel" autocomplete="off" ng-required="isRequired" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur()" ng-focus="$mdAutocompleteCtrl.focus()" placeholder="{{placeholder}}" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" aria-label="{{placeholder}}" aria-autocomplete="list" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <button type="button" tabindex="-1" ng-if="$mdAutocompleteCtrl.scope.searchText && !$mdAutocompleteCtrl.isDisabled" ng-click="$mdAutocompleteCtrl.clear()"> <md-icon md-svg-icon="md-close"></md-icon> <span class="md-visually-hidden">Clear</span> </button> '}var l=o(),a=n(),r=e.html();return' <md-autocomplete-wrap layout="row" ng-class="{ \'md-whiteframe-z1\': !floatingLabel }" role="listbox"> '+i()+' <md-progress-linear ng-if="$mdAutocompleteCtrl.loading" md-mode="indeterminate"></md-progress-linear> <ul role="presentation" class="md-autocomplete-suggestions md-whiteframe-z1 {{menuClass || \'\'}}" id="ul-{{$mdAutocompleteCtrl.id}}" ng-hide="$mdAutocompleteCtrl.hidden" ng-mouseenter="$mdAutocompleteCtrl.listEnter()" ng-mouseleave="$mdAutocompleteCtrl.listLeave()" ng-mouseup="$mdAutocompleteCtrl.mouseUp()"> <li ng-repeat="(index, item) in $mdAutocompleteCtrl.matches" ng-class="{ selected: index === $mdAutocompleteCtrl.index }" ng-click="$mdAutocompleteCtrl.select(index)" md-autocomplete-list-item="$mdAutocompleteCtrl.itemName"> '+a+" </li> "+l+' </ul> </md-autocomplete-wrap> <aria-status class="md-visually-hidden" role="status" aria-live="assertive"> <p ng-repeat="message in $mdAutocompleteCtrl.messages" ng-if="message">{{message}}</p> </aria-status>'}}}function l(e,n,o){function i(i){var l=o(n.html())(e),r=t.element("<div>").text(l).html(),m=n.attr("md-highlight-flags")||"",c=e.$watch(i,function(e){var t=a(e,m),o=r.replace(t,'<span class="highlight">$&</span>');n.html(o)});n.on("$destroy",function(){c()})}function l(e){return e?e.replace(/[\\\^\$\*\+\?\.\(\)\|\{\}\[\]]/g,"\\$&"):e}function a(e,t){var n="";return t.indexOf("^")>=1&&(n+="^"),n+=e,t.indexOf("$")>=1&&(n+="$"),new RegExp(l(n),t.replace(/[\$\^]/g,""))}return this.init=i,i()}function a(){return{terminal:!0,scope:!1,controller:"MdHighlightCtrl",link:function(e,t,n,o){o.init(n.mdHighlightText)}}}function r(e,t){function n(n,o,i){var l=n.$parent.$mdAutocompleteCtrl,a=l.parent.$new(!1,l.parent),r=l.scope.$eval(i.mdAutocompleteListItem);a[r]=n.item,e(o.contents())(a),o.attr({role:"option",id:"item_"+t.nextUid()})}return{terminal:!0,link:n,scope:!1}}function m(e,t){function n(t,n,o){var i=t.$parent.$mdAutocompleteCtrl;e(n.contents())(i.parent),o.hasOwnProperty("mdAutocompleteReplace")&&(n.after(n.contents()),n.remove())}return{restrict:"A",terminal:!0,link:n,scope:!1}}t.module("material.components.autocomplete",["material.core","material.components.icon"]),t.module("material.components.autocomplete").controller("MdAutocompleteCtrl",o);var c=41,u=5.5*c,d=8;o.$inject=["$scope","$element","$mdUtil","$mdConstant","$timeout","$mdTheming","$window","$animate","$rootElement","$attrs"],t.module("material.components.autocomplete").directive("mdAutocomplete",i),i.$inject=["$mdTheming","$mdUtil"],t.module("material.components.autocomplete").controller("MdHighlightCtrl",l),l.$inject=["$scope","$element","$interpolate"],t.module("material.components.autocomplete").directive("mdHighlightText",a),t.module("material.components.autocomplete").directive("mdAutocompleteListItem",r),r.$inject=["$compile","$mdUtil"],t.module("material.components.autocomplete").directive("mdAutocompleteParentScope",m),m.$inject=["$compile","$mdUtil"]}(window,window.angular);
|
data/vendor/assets/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.css
ADDED
@@ -0,0 +1,9 @@
|
|
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-backdrop.md-opaque.md-THEME_NAME-theme {
|
9
|
+
background-color: '{{foreground-4-0.5}}'; }
|
@@ -0,0 +1,59 @@
|
|
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-backdrop {
|
9
|
+
z-index: 50;
|
10
|
+
background-color: transparent;
|
11
|
+
position: absolute;
|
12
|
+
height: 100%;
|
13
|
+
left: 0;
|
14
|
+
right: 0; }
|
15
|
+
md-backdrop.md-select-backdrop {
|
16
|
+
z-index: 81; }
|
17
|
+
md-backdrop.md-dialog-backdrop {
|
18
|
+
z-index: 79; }
|
19
|
+
md-backdrop.md-bottom-sheet-backdrop {
|
20
|
+
z-index: 69; }
|
21
|
+
md-backdrop.md-sidenav-backdrop {
|
22
|
+
z-index: 59; }
|
23
|
+
md-backdrop.md-click-catcher {
|
24
|
+
top: 0;
|
25
|
+
position: fixed; }
|
26
|
+
md-backdrop.ng-enter {
|
27
|
+
-webkit-animation: cubic-bezier(0.25, 0.8, 0.25, 1) mdBackdropFadeIn 0.5s both;
|
28
|
+
animation: cubic-bezier(0.25, 0.8, 0.25, 1) mdBackdropFadeIn 0.5s both; }
|
29
|
+
md-backdrop.ng-leave {
|
30
|
+
-webkit-animation: cubic-bezier(0.55, 0, 0.55, 0.2) mdBackdropFadeOut 0.2s both;
|
31
|
+
animation: cubic-bezier(0.55, 0, 0.55, 0.2) mdBackdropFadeOut 0.2s both; }
|
32
|
+
|
33
|
+
@-webkit-keyframes mdBackdropFadeIn {
|
34
|
+
from {
|
35
|
+
opacity: 0; }
|
36
|
+
|
37
|
+
to {
|
38
|
+
opacity: 1; } }
|
39
|
+
|
40
|
+
@keyframes mdBackdropFadeIn {
|
41
|
+
from {
|
42
|
+
opacity: 0; }
|
43
|
+
|
44
|
+
to {
|
45
|
+
opacity: 1; } }
|
46
|
+
|
47
|
+
@-webkit-keyframes mdBackdropFadeOut {
|
48
|
+
from {
|
49
|
+
opacity: 1; }
|
50
|
+
|
51
|
+
to {
|
52
|
+
opacity: 0; } }
|
53
|
+
|
54
|
+
@keyframes mdBackdropFadeOut {
|
55
|
+
from {
|
56
|
+
opacity: 1; }
|
57
|
+
|
58
|
+
to {
|
59
|
+
opacity: 0; } }
|
@@ -0,0 +1,39 @@
|
|
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.backdrop
|
13
|
+
* @description Backdrop
|
14
|
+
*/
|
15
|
+
|
16
|
+
/**
|
17
|
+
* @ngdoc directive
|
18
|
+
* @name mdBackdrop
|
19
|
+
* @module material.components.backdrop
|
20
|
+
*
|
21
|
+
* @restrict E
|
22
|
+
*
|
23
|
+
* @description
|
24
|
+
* `<md-backdrop>` is a backdrop element used by other components, such as dialog and bottom sheet.
|
25
|
+
* Apply class `opaque` to make the backdrop use the theme backdrop color.
|
26
|
+
*
|
27
|
+
*/
|
28
|
+
|
29
|
+
angular.module('material.components.backdrop', [
|
30
|
+
'material.core'
|
31
|
+
])
|
32
|
+
.directive('mdBackdrop', BackdropDirective);
|
33
|
+
|
34
|
+
function BackdropDirective($mdTheming) {
|
35
|
+
return $mdTheming;
|
36
|
+
}
|
37
|
+
BackdropDirective.$inject = ["$mdTheming"];
|
38
|
+
|
39
|
+
})(window, window.angular);
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.10.0
|
6
|
+
*/md-backdrop{z-index:50;background-color:transparent;position:absolute;height:100%;left:0;right:0}md-backdrop.md-select-backdrop{z-index:81}md-backdrop.md-dialog-backdrop{z-index:79}md-backdrop.md-bottom-sheet-backdrop{z-index:69}md-backdrop.md-sidenav-backdrop{z-index:59}md-backdrop.md-click-catcher{top:0;position:fixed}md-backdrop.ng-enter{-webkit-animation:cubic-bezier(.25,.8,.25,1) mdBackdropFadeIn .5s both;animation:cubic-bezier(.25,.8,.25,1) mdBackdropFadeIn .5s both}md-backdrop.ng-leave{-webkit-animation:cubic-bezier(.55,0,.55,.2) mdBackdropFadeOut .2s both;animation:cubic-bezier(.55,0,.55,.2) mdBackdropFadeOut .2s both}@-webkit-keyframes mdBackdropFadeIn{from{opacity:0}to{opacity:1}}@keyframes mdBackdropFadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes mdBackdropFadeOut{from{opacity:1}to{opacity:0}}@keyframes mdBackdropFadeOut{from{opacity:1}to{opacity:0}}
|
@@ -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(n,e,i){"use strict";function o(n){return n}e.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",o),o.$inject=["$mdTheming"]}(window,window.angular);
|
@@ -0,0 +1,16 @@
|
|
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-bottom-sheet.md-THEME_NAME-theme {
|
9
|
+
background-color: '{{background-50}}';
|
10
|
+
border-top-color: '{{background-300}}'; }
|
11
|
+
md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item {
|
12
|
+
color: '{{foreground-1}}'; }
|
13
|
+
md-bottom-sheet.md-THEME_NAME-theme .md-subheader {
|
14
|
+
background-color: '{{background-50}}'; }
|
15
|
+
md-bottom-sheet.md-THEME_NAME-theme .md-subheader {
|
16
|
+
color: '{{foreground-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-bottom-sheet.md-THEME_NAME-theme{background-color:'{{background-50}}';border-top-color:'{{background-300}}'}md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item{color:'{{foreground-1}}'}md-bottom-sheet.md-THEME_NAME-theme .md-subheader{background-color:'{{background-50}}';color:'{{foreground-1}}'}
|
@@ -0,0 +1,170 @@
|
|
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-bottom-sheet {
|
9
|
+
position: absolute;
|
10
|
+
left: 0;
|
11
|
+
right: 0;
|
12
|
+
bottom: 0;
|
13
|
+
padding: 8px 16px 88px 16px;
|
14
|
+
z-index: 70;
|
15
|
+
border-top-width: 1px;
|
16
|
+
border-top-style: solid;
|
17
|
+
-webkit-transform: translate3d(0, 80px, 0);
|
18
|
+
transform: translate3d(0, 80px, 0);
|
19
|
+
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
20
|
+
transition-property: -webkit-transform;
|
21
|
+
transition-property: transform; }
|
22
|
+
md-bottom-sheet.md-has-header {
|
23
|
+
padding-top: 0; }
|
24
|
+
md-bottom-sheet.ng-enter {
|
25
|
+
opacity: 0;
|
26
|
+
-webkit-transform: translate3d(0, 100%, 0);
|
27
|
+
transform: translate3d(0, 100%, 0); }
|
28
|
+
md-bottom-sheet.ng-enter-active {
|
29
|
+
opacity: 1;
|
30
|
+
display: block;
|
31
|
+
-webkit-transform: translate3d(0, 80px, 0) !important;
|
32
|
+
transform: translate3d(0, 80px, 0) !important; }
|
33
|
+
md-bottom-sheet.ng-leave-active {
|
34
|
+
-webkit-transform: translate3d(0, 100%, 0) !important;
|
35
|
+
transform: translate3d(0, 100%, 0) !important;
|
36
|
+
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2); }
|
37
|
+
md-bottom-sheet .md-subheader {
|
38
|
+
background-color: transparent;
|
39
|
+
font-family: RobotoDraft, Roboto, 'Helvetica Neue', sans-serif;
|
40
|
+
line-height: 56px;
|
41
|
+
padding: 0;
|
42
|
+
white-space: nowrap; }
|
43
|
+
md-bottom-sheet md-inline-icon {
|
44
|
+
display: inline-block;
|
45
|
+
height: 24px;
|
46
|
+
width: 24px;
|
47
|
+
fill: #444; }
|
48
|
+
md-bottom-sheet md-list-item {
|
49
|
+
display: -webkit-flex;
|
50
|
+
display: -ms-flexbox;
|
51
|
+
display: flex;
|
52
|
+
outline: none; }
|
53
|
+
md-bottom-sheet md-list-item:hover {
|
54
|
+
cursor: pointer; }
|
55
|
+
md-bottom-sheet.md-list md-list-item {
|
56
|
+
padding: 0;
|
57
|
+
-webkit-align-items: center;
|
58
|
+
-ms-flex-align: center;
|
59
|
+
align-items: center;
|
60
|
+
height: 48px; }
|
61
|
+
md-bottom-sheet.md-list md-list-item div.md-icon-container {
|
62
|
+
display: inline-block;
|
63
|
+
height: 24px;
|
64
|
+
margin-right: 32px; }
|
65
|
+
md-bottom-sheet.md-grid {
|
66
|
+
padding-left: 24px;
|
67
|
+
padding-right: 24px;
|
68
|
+
padding-top: 0; }
|
69
|
+
md-bottom-sheet.md-grid md-list {
|
70
|
+
display: -webkit-flex;
|
71
|
+
display: -ms-flexbox;
|
72
|
+
display: flex;
|
73
|
+
-webkit-flex-direction: row;
|
74
|
+
-ms-flex-direction: row;
|
75
|
+
flex-direction: row;
|
76
|
+
-webkit-flex-wrap: wrap;
|
77
|
+
-ms-flex-wrap: wrap;
|
78
|
+
flex-wrap: wrap;
|
79
|
+
transition: all 0.5s;
|
80
|
+
-webkit-align-items: center;
|
81
|
+
-ms-flex-align: center;
|
82
|
+
align-items: center; }
|
83
|
+
md-bottom-sheet.md-grid md-list-item {
|
84
|
+
-webkit-flex-direction: column;
|
85
|
+
-ms-flex-direction: column;
|
86
|
+
flex-direction: column;
|
87
|
+
-webkit-align-items: center;
|
88
|
+
-ms-flex-align: center;
|
89
|
+
align-items: center;
|
90
|
+
transition: all 0.5s;
|
91
|
+
height: 96px;
|
92
|
+
margin-top: 8px;
|
93
|
+
margin-bottom: 8px;
|
94
|
+
/* Mixin for how many grid items to show per row */ }
|
95
|
+
@media screen and (max-width: 600px) {
|
96
|
+
md-bottom-sheet.md-grid md-list-item {
|
97
|
+
-webkit-flex: 1 1 33.33333%;
|
98
|
+
-ms-flex: 1 1 33.33333%;
|
99
|
+
flex: 1 1 33.33333%;
|
100
|
+
max-width: 33.33333%; }
|
101
|
+
md-bottom-sheet.md-grid md-list-item:nth-of-type(3n+1) {
|
102
|
+
-webkit-align-items: flex-start;
|
103
|
+
-ms-flex-align: start;
|
104
|
+
align-items: flex-start; }
|
105
|
+
md-bottom-sheet.md-grid md-list-item:nth-of-type(3n) {
|
106
|
+
-webkit-align-items: flex-end;
|
107
|
+
-ms-flex-align: end;
|
108
|
+
align-items: flex-end; } }
|
109
|
+
@media screen and (min-width: 600px) and (max-width: 960px) {
|
110
|
+
md-bottom-sheet.md-grid md-list-item {
|
111
|
+
-webkit-flex: 1 1 25%;
|
112
|
+
-ms-flex: 1 1 25%;
|
113
|
+
flex: 1 1 25%;
|
114
|
+
max-width: 25%; } }
|
115
|
+
@media screen and (min-width: 960px) and (max-width: 1200px) {
|
116
|
+
md-bottom-sheet.md-grid md-list-item {
|
117
|
+
-webkit-flex: 1 1 16.66667%;
|
118
|
+
-ms-flex: 1 1 16.66667%;
|
119
|
+
flex: 1 1 16.66667%;
|
120
|
+
max-width: 16.66667%; } }
|
121
|
+
@media screen and (min-width: 1200px) {
|
122
|
+
md-bottom-sheet.md-grid md-list-item {
|
123
|
+
-webkit-flex: 1 1 14.28571%;
|
124
|
+
-ms-flex: 1 1 14.28571%;
|
125
|
+
flex: 1 1 14.28571%;
|
126
|
+
max-width: 14.28571%; } }
|
127
|
+
md-bottom-sheet.md-grid md-list-item .md-list-item-content {
|
128
|
+
display: -webkit-flex;
|
129
|
+
display: -ms-flexbox;
|
130
|
+
display: flex;
|
131
|
+
-webkit-flex-direction: column;
|
132
|
+
-ms-flex-direction: column;
|
133
|
+
flex-direction: column;
|
134
|
+
-webkit-align-items: center;
|
135
|
+
-ms-flex-align: center;
|
136
|
+
align-items: center;
|
137
|
+
width: 48px;
|
138
|
+
padding-bottom: 16px; }
|
139
|
+
md-bottom-sheet.md-grid md-list-item .md-grid-item-content {
|
140
|
+
border: 1px solid transparent;
|
141
|
+
display: -webkit-flex;
|
142
|
+
display: -ms-flexbox;
|
143
|
+
display: flex;
|
144
|
+
-webkit-flex-direction: column;
|
145
|
+
-ms-flex-direction: column;
|
146
|
+
flex-direction: column;
|
147
|
+
-webkit-align-items: center;
|
148
|
+
-ms-flex-align: center;
|
149
|
+
align-items: center;
|
150
|
+
width: 80px; }
|
151
|
+
md-bottom-sheet.md-grid md-list-item .md-icon-container {
|
152
|
+
display: inline-block;
|
153
|
+
box-sizing: border-box;
|
154
|
+
height: 48px;
|
155
|
+
width: 48px;
|
156
|
+
margin: 0 0; }
|
157
|
+
md-bottom-sheet.md-grid md-list-item .md-grid-text {
|
158
|
+
font-weight: 400;
|
159
|
+
line-height: 16px;
|
160
|
+
font-size: 13px;
|
161
|
+
margin: 0;
|
162
|
+
white-space: nowrap;
|
163
|
+
width: 64px;
|
164
|
+
text-align: center;
|
165
|
+
text-transform: none;
|
166
|
+
padding-top: 8px; }
|
167
|
+
|
168
|
+
@media screen and (-ms-high-contrast: active) {
|
169
|
+
md-bottom-sheet {
|
170
|
+
border: 1px solid #fff; } }
|
@@ -0,0 +1,267 @@
|
|
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.bottomSheet
|
13
|
+
* @description
|
14
|
+
* BottomSheet
|
15
|
+
*/
|
16
|
+
angular.module('material.components.bottomSheet', [
|
17
|
+
'material.core',
|
18
|
+
'material.components.backdrop'
|
19
|
+
])
|
20
|
+
.directive('mdBottomSheet', MdBottomSheetDirective)
|
21
|
+
.provider('$mdBottomSheet', MdBottomSheetProvider);
|
22
|
+
|
23
|
+
function MdBottomSheetDirective() {
|
24
|
+
return {
|
25
|
+
restrict: 'E'
|
26
|
+
};
|
27
|
+
}
|
28
|
+
|
29
|
+
/**
|
30
|
+
* @ngdoc service
|
31
|
+
* @name $mdBottomSheet
|
32
|
+
* @module material.components.bottomSheet
|
33
|
+
*
|
34
|
+
* @description
|
35
|
+
* `$mdBottomSheet` opens a bottom sheet over the app and provides a simple promise API.
|
36
|
+
*
|
37
|
+
* ## Restrictions
|
38
|
+
*
|
39
|
+
* - The bottom sheet's template must have an outer `<md-bottom-sheet>` element.
|
40
|
+
* - Add the `md-grid` class to the bottom sheet for a grid layout.
|
41
|
+
* - Add the `md-list` class to the bottom sheet for a list layout.
|
42
|
+
*
|
43
|
+
* @usage
|
44
|
+
* <hljs lang="html">
|
45
|
+
* <div ng-controller="MyController">
|
46
|
+
* <md-button ng-click="openBottomSheet()">
|
47
|
+
* Open a Bottom Sheet!
|
48
|
+
* </md-button>
|
49
|
+
* </div>
|
50
|
+
* </hljs>
|
51
|
+
* <hljs lang="js">
|
52
|
+
* var app = angular.module('app', ['ngMaterial']);
|
53
|
+
* app.controller('MyController', function($scope, $mdBottomSheet) {
|
54
|
+
* $scope.openBottomSheet = function() {
|
55
|
+
* $mdBottomSheet.show({
|
56
|
+
* template: '<md-bottom-sheet>Hello!</md-bottom-sheet>'
|
57
|
+
* });
|
58
|
+
* };
|
59
|
+
* });
|
60
|
+
* </hljs>
|
61
|
+
*/
|
62
|
+
|
63
|
+
/**
|
64
|
+
* @ngdoc method
|
65
|
+
* @name $mdBottomSheet#show
|
66
|
+
*
|
67
|
+
* @description
|
68
|
+
* Show a bottom sheet with the specified options.
|
69
|
+
*
|
70
|
+
* @param {object} options An options object, with the following properties:
|
71
|
+
*
|
72
|
+
* - `templateUrl` - `{string=}`: The url of an html template file that will
|
73
|
+
* be used as the content of the bottom sheet. Restrictions: the template must
|
74
|
+
* have an outer `md-bottom-sheet` element.
|
75
|
+
* - `template` - `{string=}`: Same as templateUrl, except this is an actual
|
76
|
+
* template string.
|
77
|
+
* - `scope` - `{object=}`: the scope to link the template / controller to. If none is specified, it will create a new child scope.
|
78
|
+
* This scope will be destroyed when the bottom sheet is removed unless `preserveScope` is set to true.
|
79
|
+
* - `preserveScope` - `{boolean=}`: whether to preserve the scope when the element is removed. Default is false
|
80
|
+
* - `controller` - `{string=}`: The controller to associate with this bottom sheet.
|
81
|
+
* - `locals` - `{string=}`: An object containing key/value pairs. The keys will
|
82
|
+
* be used as names of values to inject into the controller. For example,
|
83
|
+
* `locals: {three: 3}` would inject `three` into the controller with the value
|
84
|
+
* of 3.
|
85
|
+
* - `targetEvent` - `{DOMClickEvent=}`: A click's event object. When passed in as an option,
|
86
|
+
* the location of the click will be used as the starting point for the opening animation
|
87
|
+
* of the the dialog.
|
88
|
+
* - `resolve` - `{object=}`: Similar to locals, except it takes promises as values
|
89
|
+
* and the bottom sheet will not open until the promises resolve.
|
90
|
+
* - `controllerAs` - `{string=}`: An alias to assign the controller to on the scope.
|
91
|
+
* - `parent` - `{element=}`: The element to append the bottom sheet to. The `parent` may be a `function`, `string`,
|
92
|
+
* `object`, or null. Defaults to appending to the body of the root element (or the root element) of the application.
|
93
|
+
* e.g. angular.element(document.getElementById('content')) or "#content"
|
94
|
+
* - `disableParentScroll` - `{boolean=}`: Whether to disable scrolling while the bottom sheet is open.
|
95
|
+
* Default true.
|
96
|
+
*
|
97
|
+
* @returns {promise} A promise that can be resolved with `$mdBottomSheet.hide()` or
|
98
|
+
* rejected with `$mdBottomSheet.cancel()`.
|
99
|
+
*/
|
100
|
+
|
101
|
+
/**
|
102
|
+
* @ngdoc method
|
103
|
+
* @name $mdBottomSheet#hide
|
104
|
+
*
|
105
|
+
* @description
|
106
|
+
* Hide the existing bottom sheet and resolve the promise returned from
|
107
|
+
* `$mdBottomSheet.show()`. This call will close the most recently opened/current bottomsheet (if any).
|
108
|
+
*
|
109
|
+
* @param {*=} response An argument for the resolved promise.
|
110
|
+
*
|
111
|
+
*/
|
112
|
+
|
113
|
+
/**
|
114
|
+
* @ngdoc method
|
115
|
+
* @name $mdBottomSheet#cancel
|
116
|
+
*
|
117
|
+
* @description
|
118
|
+
* Hide the existing bottom sheet and reject the promise returned from
|
119
|
+
* `$mdBottomSheet.show()`.
|
120
|
+
*
|
121
|
+
* @param {*=} response An argument for the rejected promise.
|
122
|
+
*
|
123
|
+
*/
|
124
|
+
|
125
|
+
function MdBottomSheetProvider($$interimElementProvider) {
|
126
|
+
// how fast we need to flick down to close the sheet, pixels/ms
|
127
|
+
var CLOSING_VELOCITY = 0.5;
|
128
|
+
var PADDING = 80; // same as css
|
129
|
+
|
130
|
+
bottomSheetDefaults.$inject = ["$animate", "$mdConstant", "$mdUtil", "$timeout", "$compile", "$mdTheming", "$mdBottomSheet", "$rootElement", "$mdGesture"];
|
131
|
+
return $$interimElementProvider('$mdBottomSheet')
|
132
|
+
.setDefaults({
|
133
|
+
methods: ['disableParentScroll', 'escapeToClose', 'targetEvent'],
|
134
|
+
options: bottomSheetDefaults
|
135
|
+
});
|
136
|
+
|
137
|
+
/* ngInject */
|
138
|
+
function bottomSheetDefaults($animate, $mdConstant, $mdUtil, $timeout, $compile, $mdTheming, $mdBottomSheet, $rootElement, $mdGesture) {
|
139
|
+
var backdrop;
|
140
|
+
|
141
|
+
return {
|
142
|
+
themable: true,
|
143
|
+
targetEvent: null,
|
144
|
+
onShow: onShow,
|
145
|
+
onRemove: onRemove,
|
146
|
+
escapeToClose: true,
|
147
|
+
disableParentScroll: true
|
148
|
+
};
|
149
|
+
|
150
|
+
|
151
|
+
function onShow(scope, element, options) {
|
152
|
+
|
153
|
+
element = $mdUtil.extractElementByName(element, 'md-bottom-sheet');
|
154
|
+
|
155
|
+
// Add a backdrop that will close on click
|
156
|
+
backdrop = $compile('<md-backdrop class="md-opaque md-bottom-sheet-backdrop">')(scope);
|
157
|
+
backdrop.on('click', function() {
|
158
|
+
$timeout($mdBottomSheet.cancel);
|
159
|
+
});
|
160
|
+
$mdTheming.inherit(backdrop, options.parent);
|
161
|
+
|
162
|
+
$animate.enter(backdrop, options.parent, null);
|
163
|
+
|
164
|
+
var bottomSheet = new BottomSheet(element, options.parent);
|
165
|
+
options.bottomSheet = bottomSheet;
|
166
|
+
|
167
|
+
// Give up focus on calling item
|
168
|
+
options.targetEvent && angular.element(options.targetEvent.target).blur();
|
169
|
+
$mdTheming.inherit(bottomSheet.element, options.parent);
|
170
|
+
|
171
|
+
if (options.disableParentScroll) {
|
172
|
+
options.lastOverflow = options.parent.css('overflow');
|
173
|
+
options.parent.css('overflow', 'hidden');
|
174
|
+
}
|
175
|
+
|
176
|
+
return $animate.enter(bottomSheet.element, options.parent)
|
177
|
+
.then(function() {
|
178
|
+
var focusable = angular.element(
|
179
|
+
element[0].querySelector('button') ||
|
180
|
+
element[0].querySelector('a') ||
|
181
|
+
element[0].querySelector('[ng-click]')
|
182
|
+
);
|
183
|
+
focusable.focus();
|
184
|
+
|
185
|
+
if (options.escapeToClose) {
|
186
|
+
options.rootElementKeyupCallback = function(e) {
|
187
|
+
if (e.keyCode === $mdConstant.KEY_CODE.ESCAPE) {
|
188
|
+
$timeout($mdBottomSheet.cancel);
|
189
|
+
}
|
190
|
+
};
|
191
|
+
$rootElement.on('keyup', options.rootElementKeyupCallback);
|
192
|
+
}
|
193
|
+
});
|
194
|
+
|
195
|
+
}
|
196
|
+
|
197
|
+
function onRemove(scope, element, options) {
|
198
|
+
|
199
|
+
var bottomSheet = options.bottomSheet;
|
200
|
+
|
201
|
+
$animate.leave(backdrop);
|
202
|
+
return $animate.leave(bottomSheet.element).then(function() {
|
203
|
+
if (options.disableParentScroll) {
|
204
|
+
options.parent.css('overflow', options.lastOverflow);
|
205
|
+
delete options.lastOverflow;
|
206
|
+
}
|
207
|
+
|
208
|
+
bottomSheet.cleanup();
|
209
|
+
|
210
|
+
// Restore focus
|
211
|
+
options.targetEvent && angular.element(options.targetEvent.target).focus();
|
212
|
+
});
|
213
|
+
}
|
214
|
+
|
215
|
+
/**
|
216
|
+
* BottomSheet class to apply bottom-sheet behavior to an element
|
217
|
+
*/
|
218
|
+
function BottomSheet(element, parent) {
|
219
|
+
var deregister = $mdGesture.register(parent, 'drag', { horizontal: false });
|
220
|
+
parent.on('$md.dragstart', onDragStart)
|
221
|
+
.on('$md.drag', onDrag)
|
222
|
+
.on('$md.dragend', onDragEnd);
|
223
|
+
|
224
|
+
return {
|
225
|
+
element: element,
|
226
|
+
cleanup: function cleanup() {
|
227
|
+
deregister();
|
228
|
+
parent.off('$md.dragstart', onDragStart)
|
229
|
+
.off('$md.drag', onDrag)
|
230
|
+
.off('$md.dragend', onDragEnd);
|
231
|
+
}
|
232
|
+
};
|
233
|
+
|
234
|
+
function onDragStart(ev) {
|
235
|
+
// Disable transitions on transform so that it feels fast
|
236
|
+
element.css($mdConstant.CSS.TRANSITION_DURATION, '0ms');
|
237
|
+
}
|
238
|
+
|
239
|
+
function onDrag(ev) {
|
240
|
+
var transform = ev.pointer.distanceY;
|
241
|
+
if (transform < 5) {
|
242
|
+
// Slow down drag when trying to drag up, and stop after PADDING
|
243
|
+
transform = Math.max(-PADDING, transform / 2);
|
244
|
+
}
|
245
|
+
element.css($mdConstant.CSS.TRANSFORM, 'translate3d(0,' + (PADDING + transform) + 'px,0)');
|
246
|
+
}
|
247
|
+
|
248
|
+
function onDragEnd(ev) {
|
249
|
+
if (ev.pointer.distanceY > 0 &&
|
250
|
+
(ev.pointer.distanceY > 20 || Math.abs(ev.pointer.velocityY) > CLOSING_VELOCITY)) {
|
251
|
+
var distanceRemaining = element.prop('offsetHeight') - ev.pointer.distanceY;
|
252
|
+
var transitionDuration = Math.min(distanceRemaining / ev.pointer.velocityY * 0.75, 500);
|
253
|
+
element.css($mdConstant.CSS.TRANSITION_DURATION, transitionDuration + 'ms');
|
254
|
+
$timeout($mdBottomSheet.cancel);
|
255
|
+
} else {
|
256
|
+
element.css($mdConstant.CSS.TRANSITION_DURATION, '');
|
257
|
+
element.css($mdConstant.CSS.TRANSFORM, '');
|
258
|
+
}
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
}
|
263
|
+
|
264
|
+
}
|
265
|
+
MdBottomSheetProvider.$inject = ["$$interimElementProvider"];
|
266
|
+
|
267
|
+
})(window, window.angular);
|