├── .DS_Store ├── .bowerrc ├── .gitignore ├── README.md ├── bower.json ├── config.xml ├── gulpfile.js ├── hooks ├── README.md └── after_prepare │ └── 010_add_platform_class.js ├── info └── images │ ├── choose.png │ ├── final.png │ ├── resize.png │ └── welcome.png ├── ionic.project ├── package.json ├── platforms └── ios │ ├── .gitignore │ ├── CordovaLib │ ├── Classes │ │ ├── CDV.h │ │ ├── CDVAvailability.h │ │ ├── CDVAvailabilityDeprecated.h │ │ ├── CDVCommandDelegate.h │ │ ├── CDVCommandDelegateImpl.h │ │ ├── CDVCommandDelegateImpl.m │ │ ├── CDVCommandQueue.h │ │ ├── CDVCommandQueue.m │ │ ├── CDVConfigParser.h │ │ ├── CDVConfigParser.m │ │ ├── CDVDebug.h │ │ ├── CDVHandleOpenURL.h │ │ ├── CDVHandleOpenURL.m │ │ ├── CDVInvokedUrlCommand.h │ │ ├── CDVInvokedUrlCommand.m │ │ ├── CDVJSON.h │ │ ├── CDVJSON.m │ │ ├── CDVJSON_private.h │ │ ├── CDVJSON_private.m │ │ ├── CDVLocalStorage.h │ │ ├── CDVLocalStorage.m │ │ ├── CDVPlugin.h │ │ ├── CDVPlugin.m │ │ ├── CDVPluginResult.h │ │ ├── CDVPluginResult.m │ │ ├── CDVScreenOrientationDelegate.h │ │ ├── CDVShared.h │ │ ├── CDVTimer.h │ │ ├── CDVTimer.m │ │ ├── CDVURLProtocol.h │ │ ├── CDVURLProtocol.m │ │ ├── CDVUserAgentUtil.h │ │ ├── CDVUserAgentUtil.m │ │ ├── CDVViewController.h │ │ ├── CDVViewController.m │ │ ├── CDVWebViewDelegate.h │ │ ├── CDVWebViewDelegate.m │ │ ├── CDVWhitelist.h │ │ ├── CDVWhitelist.m │ │ ├── NSArray+Comparisons.h │ │ ├── NSArray+Comparisons.m │ │ ├── NSData+Base64.h │ │ ├── NSData+Base64.m │ │ ├── NSDictionary+Extensions.h │ │ ├── NSDictionary+Extensions.m │ │ ├── NSMutableArray+QueueAdditions.h │ │ ├── NSMutableArray+QueueAdditions.m │ │ ├── UIDevice+Extensions.h │ │ └── UIDevice+Extensions.m │ ├── CordovaLib.xcodeproj │ │ └── project.pbxproj │ ├── CordovaLib_Prefix.pch │ ├── VERSION │ └── cordova.js │ ├── ProfilePage.xcodeproj │ └── project.pbxproj │ ├── ProfilePage │ ├── .gitignore │ ├── Classes │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── MainViewController.h │ │ ├── MainViewController.m │ │ └── MainViewController.xib │ ├── Plugins │ │ ├── README │ │ ├── com.ionic.keyboard │ │ │ ├── IonicKeyboard.h │ │ │ ├── IonicKeyboard.m │ │ │ ├── UIWebViewExtension.h │ │ │ └── UIWebViewExtension.m │ │ ├── org.apache.cordova.console │ │ │ ├── CDVLogger.h │ │ │ └── CDVLogger.m │ │ └── org.apache.cordova.device │ │ │ ├── CDVDevice.h │ │ │ └── CDVDevice.m │ ├── ProfilePage-Info.plist │ ├── ProfilePage-Prefix.pch │ ├── Resources │ │ ├── icons │ │ │ ├── icon-40.png │ │ │ ├── icon-40@2x.png │ │ │ ├── icon-50.png │ │ │ ├── icon-50@2x.png │ │ │ ├── icon-60.png │ │ │ ├── icon-60@2x.png │ │ │ ├── icon-60@3x.png │ │ │ ├── icon-72.png │ │ │ ├── icon-72@2x.png │ │ │ ├── icon-76.png │ │ │ ├── icon-76@2x.png │ │ │ ├── icon-small.png │ │ │ ├── icon-small@2x.png │ │ │ ├── icon.png │ │ │ └── icon@2x.png │ │ └── splash │ │ │ ├── Default-568h@2x~iphone.png │ │ │ ├── Default-667h.png │ │ │ ├── Default-736h.png │ │ │ ├── Default-Landscape-736h.png │ │ │ ├── Default-Landscape@2x~ipad.png │ │ │ ├── Default-Landscape~ipad.png │ │ │ ├── Default-Portrait@2x~ipad.png │ │ │ ├── Default-Portrait~ipad.png │ │ │ ├── Default@2x~iphone.png │ │ │ └── Default~iphone.png │ ├── config.xml │ └── main.m │ ├── cordova │ ├── apple_ios_version │ ├── apple_osx_version │ ├── apple_xcode_version │ ├── build │ ├── build-debug.xcconfig │ ├── build-release.xcconfig │ ├── build.xcconfig │ ├── check_reqs │ ├── clean │ ├── clean.bat │ ├── defaults.xml │ ├── lib │ │ ├── build.js │ │ ├── check_reqs.js │ │ ├── clean.js │ │ ├── copy-www-build-step.sh │ │ ├── list-devices │ │ ├── list-emulator-images │ │ ├── list-started-emulators │ │ ├── run.js │ │ ├── spawn.js │ │ ├── start-emulator │ │ └── versions.js │ ├── log │ ├── run │ ├── run.bat │ ├── version │ └── version.bat │ ├── platform_www │ └── cordova.js │ └── www │ ├── controllers │ ├── imageuploader.controller.js │ └── profile.controller.js │ ├── cordova.js │ ├── cordova_plugins.js │ ├── css │ └── style.css │ ├── img │ ├── default.png │ └── ionic.png │ ├── index.html │ ├── js │ └── app.js │ ├── lib │ ├── angular-animate │ │ ├── .bower.json │ │ ├── README.md │ │ ├── angular-animate.js │ │ ├── angular-animate.min.js │ │ ├── angular-animate.min.js.map │ │ ├── bower.json │ │ └── package.json │ ├── angular-sanitize │ │ ├── .bower.json │ │ ├── README.md │ │ ├── angular-sanitize.js │ │ ├── angular-sanitize.min.js │ │ ├── angular-sanitize.min.js.map │ │ ├── bower.json │ │ └── package.json │ ├── angular-ui-router │ │ ├── .bower.json │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── api │ │ │ └── angular-ui-router.d.ts │ │ ├── bower.json │ │ ├── release │ │ │ ├── angular-ui-router.js │ │ │ └── angular-ui-router.min.js │ │ └── src │ │ │ ├── common.js │ │ │ ├── resolve.js │ │ │ ├── state.js │ │ │ ├── stateDirectives.js │ │ │ ├── stateFilters.js │ │ │ ├── templateFactory.js │ │ │ ├── urlMatcherFactory.js │ │ │ ├── urlRouter.js │ │ │ ├── view.js │ │ │ ├── viewDirective.js │ │ │ └── viewScroll.js │ ├── angular │ │ ├── .bower.json │ │ ├── README.md │ │ ├── angular-csp.css │ │ ├── angular.js │ │ ├── angular.min.js │ │ ├── angular.min.js.gzip │ │ ├── angular.min.js.map │ │ ├── bower.json │ │ └── package.json │ ├── blueimp-load-image │ │ ├── .bower.json │ │ ├── bower.json │ │ └── js │ │ │ ├── load-image-exif-map.js │ │ │ ├── load-image-exif.js │ │ │ ├── load-image-ios.js │ │ │ ├── load-image-meta.js │ │ │ ├── load-image-orientation.js │ │ │ ├── load-image.all.min.js │ │ │ └── load-image.js │ ├── ionic │ │ ├── .bower.json │ │ ├── README.md │ │ ├── bower.json │ │ ├── css │ │ │ ├── ionic.css │ │ │ └── ionic.min.css │ │ ├── fonts │ │ │ ├── ionicons.eot │ │ │ ├── ionicons.svg │ │ │ ├── ionicons.ttf │ │ │ └── ionicons.woff │ │ ├── js │ │ │ ├── ionic-angular.js │ │ │ ├── ionic-angular.min.js │ │ │ ├── ionic.bundle.js │ │ │ ├── ionic.bundle.min.js │ │ │ ├── ionic.js │ │ │ └── ionic.min.js │ │ └── scss │ │ │ ├── _action-sheet.scss │ │ │ ├── _animations.scss │ │ │ ├── _backdrop.scss │ │ │ ├── _badge.scss │ │ │ ├── _bar.scss │ │ │ ├── _button-bar.scss │ │ │ ├── _button.scss │ │ │ ├── _checkbox.scss │ │ │ ├── _form.scss │ │ │ ├── _grid.scss │ │ │ ├── _items.scss │ │ │ ├── _list.scss │ │ │ ├── _loaders.scss │ │ │ ├── _loading.scss │ │ │ ├── _menu.scss │ │ │ ├── _mixins.scss │ │ │ ├── _modal.scss │ │ │ ├── _platform.scss │ │ │ ├── _popover.scss │ │ │ ├── _popup.scss │ │ │ ├── _progress.scss │ │ │ ├── _radio.scss │ │ │ ├── _range.scss │ │ │ ├── _refresher.scss │ │ │ ├── _reset.scss │ │ │ ├── _scaffolding.scss │ │ │ ├── _select.scss │ │ │ ├── _slide-box.scss │ │ │ ├── _spinner.scss │ │ │ ├── _split-pane.scss │ │ │ ├── _tabs.scss │ │ │ ├── _toggle.scss │ │ │ ├── _transitions.scss │ │ │ ├── _type.scss │ │ │ ├── _util.scss │ │ │ ├── _variables.scss │ │ │ ├── ionic.scss │ │ │ └── ionicons │ │ │ ├── _ionicons-animation.scss │ │ │ ├── _ionicons-font.scss │ │ │ ├── _ionicons-icons.scss │ │ │ ├── _ionicons-variables.scss │ │ │ └── ionicons.scss │ └── ng-img-crop │ │ ├── .bower.json │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .jshintrc │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bower.json │ │ ├── compile │ │ ├── minified │ │ │ ├── ng-img-crop.css │ │ │ └── ng-img-crop.js │ │ └── unminified │ │ │ ├── ng-img-crop.css │ │ │ └── ng-img-crop.js │ │ ├── gulpfile.js │ │ ├── package.json │ │ ├── screenshots │ │ ├── circle_1.jpg │ │ └── square_1.jpg │ │ └── source │ │ ├── js │ │ ├── classes │ │ │ ├── crop-area-circle.js │ │ │ ├── crop-area-square.js │ │ │ ├── crop-area.js │ │ │ ├── crop-canvas.js │ │ │ ├── crop-exif.js │ │ │ ├── crop-host.js │ │ │ └── crop-pubsub.js │ │ ├── init.js │ │ └── ng-img-crop.js │ │ └── scss │ │ └── ng-img-crop.scss │ ├── plugins │ ├── com.ionic.keyboard │ │ └── www │ │ │ └── keyboard.js │ ├── org.apache.cordova.console │ │ └── www │ │ │ ├── console-via-logger.js │ │ │ └── logger.js │ └── org.apache.cordova.device │ │ └── www │ │ └── device.js │ └── templates │ ├── image-uploader.html │ └── profile.html ├── plugins ├── com.ionic.keyboard │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── IonicKeyboard.java │ │ ├── blackberry10 │ │ │ ├── index.js │ │ │ └── native │ │ │ │ ├── .cproject │ │ │ │ ├── .project │ │ │ │ ├── device │ │ │ │ ├── libKeyboard.so │ │ │ │ ├── public │ │ │ │ │ ├── json_reader.o │ │ │ │ │ ├── json_value.o │ │ │ │ │ ├── json_writer.o │ │ │ │ │ ├── plugin.o │ │ │ │ │ └── tokenizer.o │ │ │ │ └── src │ │ │ │ │ ├── CallKeyboard.o │ │ │ │ │ ├── Logger.o │ │ │ │ │ ├── keyboard_js.o │ │ │ │ │ └── keyboard_ndk.o │ │ │ │ ├── public │ │ │ │ ├── json │ │ │ │ │ ├── autolink.h │ │ │ │ │ ├── config.h │ │ │ │ │ ├── features.h │ │ │ │ │ ├── forwards.h │ │ │ │ │ ├── json.h │ │ │ │ │ ├── reader.h │ │ │ │ │ ├── value.h │ │ │ │ │ └── writer.h │ │ │ │ ├── json_batchallocator.h │ │ │ │ ├── json_internalarray.inl │ │ │ │ ├── json_internalmap.inl │ │ │ │ ├── json_reader.cpp │ │ │ │ ├── json_value.cpp │ │ │ │ ├── json_valueiterator.inl │ │ │ │ ├── json_writer.cpp │ │ │ │ ├── plugin.cpp │ │ │ │ ├── plugin.h │ │ │ │ ├── tokenizer.cpp │ │ │ │ └── tokenizer.h │ │ │ │ ├── simulator │ │ │ │ ├── libKeyboard.so │ │ │ │ ├── public │ │ │ │ │ ├── json_reader.o │ │ │ │ │ ├── json_value.o │ │ │ │ │ ├── json_writer.o │ │ │ │ │ ├── plugin.o │ │ │ │ │ └── tokenizer.o │ │ │ │ └── src │ │ │ │ │ ├── CallKeyboard.o │ │ │ │ │ ├── Logger.o │ │ │ │ │ ├── keyboard_js.o │ │ │ │ │ └── keyboard_ndk.o │ │ │ │ └── src │ │ │ │ ├── Logger.cpp │ │ │ │ ├── Logger.hpp │ │ │ │ ├── keyboard_js.cpp │ │ │ │ ├── keyboard_js.hpp │ │ │ │ ├── keyboard_ndk.cpp │ │ │ │ └── keyboard_ndk.hpp │ │ └── ios │ │ │ ├── IonicKeyboard.h │ │ │ ├── IonicKeyboard.m │ │ │ ├── UIWebViewExtension.h │ │ │ └── UIWebViewExtension.m │ └── www │ │ └── keyboard.js ├── fetch.json ├── ios.json ├── org.apache.cordova.console │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ └── index.md │ │ ├── es │ │ │ └── index.md │ │ ├── fr │ │ │ └── index.md │ │ ├── index.md │ │ ├── it │ │ │ └── index.md │ │ ├── ja │ │ │ └── index.md │ │ ├── ko │ │ │ └── index.md │ │ ├── pl │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── ios │ │ │ ├── CDVLogger.h │ │ │ └── CDVLogger.m │ │ ├── ubuntu │ │ │ ├── console.cpp │ │ │ └── console.h │ │ └── wp │ │ │ └── DebugConsole.cs │ └── www │ │ ├── console-via-logger.js │ │ └── logger.js └── org.apache.cordova.device │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ ├── de │ │ └── index.md │ ├── es │ │ └── index.md │ ├── fr │ │ └── index.md │ ├── index.md │ ├── it │ │ └── index.md │ ├── ja │ │ └── index.md │ ├── ko │ │ └── index.md │ ├── pl │ │ └── index.md │ ├── ru │ │ └── index.md │ └── zh │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ ├── android │ │ └── Device.java │ ├── blackberry10 │ │ └── index.js │ ├── browser │ │ └── DeviceProxy.js │ ├── firefoxos │ │ └── DeviceProxy.js │ ├── ios │ │ ├── CDVDevice.h │ │ └── CDVDevice.m │ ├── tizen │ │ └── DeviceProxy.js │ ├── ubuntu │ │ ├── device.cpp │ │ ├── device.h │ │ └── device.js │ ├── windows │ │ └── DeviceProxy.js │ ├── windows8 │ │ └── DeviceProxy.js │ └── wp │ │ └── Device.cs │ ├── tests │ ├── plugin.xml │ └── tests.js │ └── www │ └── device.js ├── scss └── ionic.app.scss ├── server.js └── www ├── .DS_Store ├── controllers ├── imageuploader.controller.js └── profile.controller.js ├── css └── style.css ├── img ├── default.png └── ionic.png ├── index.html ├── js └── app.js ├── lib ├── angular-animate │ ├── .bower.json │ ├── README.md │ ├── angular-animate.js │ ├── angular-animate.min.js │ ├── angular-animate.min.js.map │ ├── bower.json │ └── package.json ├── angular-sanitize │ ├── .bower.json │ ├── README.md │ ├── angular-sanitize.js │ ├── angular-sanitize.min.js │ ├── angular-sanitize.min.js.map │ ├── bower.json │ └── package.json ├── angular-ui-router │ ├── .bower.json │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── api │ │ └── angular-ui-router.d.ts │ ├── bower.json │ ├── release │ │ ├── angular-ui-router.js │ │ └── angular-ui-router.min.js │ └── src │ │ ├── common.js │ │ ├── resolve.js │ │ ├── state.js │ │ ├── stateDirectives.js │ │ ├── stateFilters.js │ │ ├── templateFactory.js │ │ ├── urlMatcherFactory.js │ │ ├── urlRouter.js │ │ ├── view.js │ │ ├── viewDirective.js │ │ └── viewScroll.js ├── angular │ ├── .bower.json │ ├── README.md │ ├── angular-csp.css │ ├── angular.js │ ├── angular.min.js │ ├── angular.min.js.gzip │ ├── angular.min.js.map │ ├── bower.json │ └── package.json ├── blueimp-load-image │ ├── .bower.json │ ├── bower.json │ └── js │ │ ├── load-image-exif-map.js │ │ ├── load-image-exif.js │ │ ├── load-image-ios.js │ │ ├── load-image-meta.js │ │ ├── load-image-orientation.js │ │ ├── load-image.all.min.js │ │ └── load-image.js ├── ionic │ ├── .bower.json │ ├── README.md │ ├── bower.json │ ├── css │ │ ├── ionic.css │ │ └── ionic.min.css │ ├── fonts │ │ ├── ionicons.eot │ │ ├── ionicons.svg │ │ ├── ionicons.ttf │ │ └── ionicons.woff │ ├── js │ │ ├── ionic-angular.js │ │ ├── ionic-angular.min.js │ │ ├── ionic.bundle.js │ │ ├── ionic.bundle.min.js │ │ ├── ionic.js │ │ └── ionic.min.js │ └── scss │ │ ├── _action-sheet.scss │ │ ├── _animations.scss │ │ ├── _backdrop.scss │ │ ├── _badge.scss │ │ ├── _bar.scss │ │ ├── _button-bar.scss │ │ ├── _button.scss │ │ ├── _checkbox.scss │ │ ├── _form.scss │ │ ├── _grid.scss │ │ ├── _items.scss │ │ ├── _list.scss │ │ ├── _loaders.scss │ │ ├── _loading.scss │ │ ├── _menu.scss │ │ ├── _mixins.scss │ │ ├── _modal.scss │ │ ├── _platform.scss │ │ ├── _popover.scss │ │ ├── _popup.scss │ │ ├── _progress.scss │ │ ├── _radio.scss │ │ ├── _range.scss │ │ ├── _refresher.scss │ │ ├── _reset.scss │ │ ├── _scaffolding.scss │ │ ├── _select.scss │ │ ├── _slide-box.scss │ │ ├── _spinner.scss │ │ ├── _split-pane.scss │ │ ├── _tabs.scss │ │ ├── _toggle.scss │ │ ├── _transitions.scss │ │ ├── _type.scss │ │ ├── _util.scss │ │ ├── _variables.scss │ │ ├── ionic.scss │ │ └── ionicons │ │ ├── _ionicons-animation.scss │ │ ├── _ionicons-font.scss │ │ ├── _ionicons-icons.scss │ │ ├── _ionicons-variables.scss │ │ └── ionicons.scss └── ng-img-crop │ ├── .bower.json │ ├── .gitattributes │ ├── .gitignore │ ├── .jshintrc │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── compile │ ├── minified │ │ ├── ng-img-crop.css │ │ └── ng-img-crop.js │ └── unminified │ │ ├── ng-img-crop.css │ │ └── ng-img-crop.js │ ├── gulpfile.js │ ├── package.json │ ├── screenshots │ ├── circle_1.jpg │ └── square_1.jpg │ └── source │ ├── js │ ├── classes │ │ ├── crop-area-circle.js │ │ ├── crop-area-square.js │ │ ├── crop-area.js │ │ ├── crop-canvas.js │ │ ├── crop-exif.js │ │ ├── crop-host.js │ │ └── crop-pubsub.js │ ├── init.js │ └── ng-img-crop.js │ └── scss │ └── ng-img-crop.scss └── templates ├── image-uploader.html └── profile.html /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/.DS_Store -------------------------------------------------------------------------------- /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "www/lib" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | 5 | # Runtime data 6 | pids 7 | *.pid 8 | *.seed 9 | 10 | # Directory for instrumented libs generated by jscoverage/JSCover 11 | lib-cov 12 | 13 | # Coverage directory used by tools like istanbul 14 | coverage 15 | 16 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 17 | .grunt 18 | 19 | # node-waf configuration 20 | .lock-wscript 21 | 22 | # Compiled binary addons (http://nodejs.org/api/addons.html) 23 | build/Release 24 | 25 | # Dependency directory 26 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 27 | node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ProfileImageUpload 2 | A simple wep app for demo to upload pictures from devices. Mainly using ionic, ng-img-crop & blueimp-load-image. 3 | 4 | Combination of ng-img-crop & blueimp-load-image allows to pick any image from devices and get us the correct base64Encoded data of images, thus removing issues with some images not being encoded properly. 5 | 6 | blueimp-load-image gives a powerful addition to tackle above mentioned issues. 7 | 8 | ![Welcome](/info/images/welcome.png) 9 | ![Choose](/info/images/choose.png) 10 | ![Resize](/info/images/resize.png) 11 | ![Final](/info/images/final.png) -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ProfilePage", 3 | "private": "true", 4 | "devDependencies": { 5 | "ionic": "driftyco/ionic-bower#1.0.0-rc.3", 6 | "ng-img-crop": "~0.3.2", 7 | "blueimp-load-image" : "1.13.0" 8 | } 9 | } -------------------------------------------------------------------------------- /config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ProfilePage 4 | 5 | An Ionic Framework and Cordova project. 6 | 7 | 8 | Ionic Framework Team 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var gutil = require('gulp-util'); 3 | var bower = require('bower'); 4 | var concat = require('gulp-concat'); 5 | var sass = require('gulp-sass'); 6 | var minifyCss = require('gulp-minify-css'); 7 | var rename = require('gulp-rename'); 8 | var sh = require('shelljs'); 9 | 10 | var paths = { 11 | sass: ['./scss/**/*.scss'] 12 | }; 13 | 14 | gulp.task('default', ['sass']); 15 | 16 | gulp.task('sass', function(done) { 17 | gulp.src('./scss/ionic.app.scss') 18 | .pipe(sass()) 19 | .pipe(gulp.dest('./www/css/')) 20 | .pipe(minifyCss({ 21 | keepSpecialComments: 0 22 | })) 23 | .pipe(rename({ extname: '.min.css' })) 24 | .pipe(gulp.dest('./www/css/')) 25 | .on('end', done); 26 | }); 27 | 28 | gulp.task('watch', function() { 29 | gulp.watch(paths.sass, ['sass']); 30 | }); 31 | 32 | gulp.task('install', ['git-check'], function() { 33 | return bower.commands.install() 34 | .on('log', function(data) { 35 | gutil.log('bower', gutil.colors.cyan(data.id), data.message); 36 | }); 37 | }); 38 | 39 | gulp.task('git-check', function(done) { 40 | if (!sh.which('git')) { 41 | console.log( 42 | ' ' + gutil.colors.red('Git is not installed.'), 43 | '\n Git, the version control system, is required to download Ionic.', 44 | '\n Download git here:', gutil.colors.cyan('http://git-scm.com/downloads') + '.', 45 | '\n Once git is installed, run \'' + gutil.colors.cyan('gulp install') + '\' again.' 46 | ); 47 | process.exit(1); 48 | } 49 | done(); 50 | }); 51 | -------------------------------------------------------------------------------- /info/images/choose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/info/images/choose.png -------------------------------------------------------------------------------- /info/images/final.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/info/images/final.png -------------------------------------------------------------------------------- /info/images/resize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/info/images/resize.png -------------------------------------------------------------------------------- /info/images/welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/info/images/welcome.png -------------------------------------------------------------------------------- /ionic.project: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ProfilePage", 3 | "app_id": "" 4 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "profilepage", 3 | "version": "1.0.0", 4 | "description": "ProfilePage: An Ionic project", 5 | "dependencies": { 6 | "express": "^4.1.2", 7 | "body-parser": "^1.1.2", 8 | "errorhandler": "^1.0.1", 9 | "method-override": "^1.0.0", 10 | "html" : "^0.0.7", 11 | "gulp": "^3.5.6", 12 | "gulp-sass": "^1.3.3", 13 | "gulp-concat": "^2.2.0", 14 | "gulp-minify-css": "^0.3.0", 15 | "gulp-rename": "^1.2.0" 16 | }, 17 | "devDependencies": { 18 | "bower": "^1.3.3", 19 | "gulp-util": "^2.2.14", 20 | "shelljs": "^0.3.0" 21 | } 22 | } -------------------------------------------------------------------------------- /platforms/ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.perspectivev3 3 | *.pbxuser 4 | .DS_Store 5 | build/ 6 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDV.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "CDVAvailability.h" 21 | 22 | #import "CDVPlugin.h" 23 | #import "CDVViewController.h" 24 | #import "CDVCommandDelegate.h" 25 | #import "CDVURLProtocol.h" 26 | #import "CDVInvokedUrlCommand.h" 27 | 28 | #import "CDVDebug.h" 29 | #import "CDVPluginResult.h" 30 | #import "CDVWhitelist.h" 31 | #import "CDVLocalStorage.h" 32 | #import "CDVScreenOrientationDelegate.h" 33 | #import "CDVTimer.h" 34 | 35 | #import "NSArray+Comparisons.h" 36 | #import "NSData+Base64.h" 37 | #import "NSDictionary+Extensions.h" 38 | #import "NSMutableArray+QueueAdditions.h" 39 | #import "UIDevice+Extensions.h" 40 | 41 | #import "CDVJSON.h" 42 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import "CDVCommandDelegate.h" 22 | 23 | @class CDVViewController; 24 | @class CDVCommandQueue; 25 | 26 | @interface CDVCommandDelegateImpl : NSObject { 27 | @private 28 | __weak CDVViewController* _viewController; 29 | NSRegularExpression* _callbackIdPattern; 30 | @protected 31 | __weak CDVCommandQueue* _commandQueue; 32 | BOOL _delayResponses; 33 | } 34 | - (id)initWithViewController:(CDVViewController*)viewController; 35 | - (void)flushCommandQueueWithDelayedJs; 36 | @end 37 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVCommandQueue.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @class CDVInvokedUrlCommand; 23 | @class CDVViewController; 24 | 25 | @interface CDVCommandQueue : NSObject 26 | 27 | @property (nonatomic, readonly) BOOL currentlyExecuting; 28 | 29 | - (id)initWithViewController:(CDVViewController*)viewController; 30 | - (void)dispose; 31 | 32 | - (void)resetRequestId; 33 | - (void)enqueueCommandBatch:(NSString*)batchJSON; 34 | 35 | - (void)processXhrExecBridgePoke:(NSNumber*)requestId; 36 | - (void)fetchCommandsFromJs; 37 | - (void)executePending; 38 | - (BOOL)execute:(CDVInvokedUrlCommand*)command; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVConfigParser.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | @interface CDVConfigParser : NSObject 21 | { 22 | NSString* featureName; 23 | } 24 | 25 | @property (nonatomic, readonly, strong) NSMutableDictionary* pluginsDict; 26 | @property (nonatomic, readonly, strong) NSMutableDictionary* settings; 27 | @property (nonatomic, readonly, strong) NSMutableArray* whitelistHosts; 28 | @property (nonatomic, readonly, strong) NSMutableArray* startupPluginNames; 29 | @property (nonatomic, readonly, strong) NSString* startPage; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVDebug.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #ifdef DEBUG 21 | #define DLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) 22 | #else 23 | #define DLog(...) 24 | #endif 25 | #define ALog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) 26 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVHandleOpenURL.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "CDVPlugin.h" 21 | 22 | @interface CDVHandleOpenURL : CDVPlugin 23 | 24 | @property (nonatomic, strong) NSURL* url; 25 | @property (nonatomic, assign) BOOL pageLoaded; 26 | 27 | @end 28 | 29 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVJSON.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "CDVAvailabilityDeprecated.h" 21 | 22 | @interface NSArray (CDVJSONSerializing) 23 | - (NSString*)JSONString CDV_DEPRECATED(3.8 .0, "Use NSJSONSerialization instead."); 24 | 25 | @end 26 | 27 | @interface NSDictionary (CDVJSONSerializing) 28 | - (NSString*)JSONString CDV_DEPRECATED(3.8 .0, "Use NSJSONSerialization instead."); 29 | 30 | @end 31 | 32 | @interface NSString (CDVJSONSerializing) 33 | - (id)JSONObject CDV_DEPRECATED(3.8 .0, "Use NSJSONSerialization instead."); 34 | 35 | - (id)JSONFragment CDV_DEPRECATED(3.8 .0, "Use NSJSONSerialization instead."); 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVJSON.m: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "CDVJSON_private.h" 21 | 22 | @implementation NSArray (CDVJSONSerializing) 23 | 24 | - (NSString*)JSONString 25 | { 26 | return [self cdv_JSONString]; 27 | } 28 | 29 | @end 30 | 31 | @implementation NSDictionary (CDVJSONSerializing) 32 | 33 | - (NSString*)JSONString 34 | { 35 | return [self cdv_JSONString]; 36 | } 37 | 38 | @end 39 | 40 | @implementation NSString (CDVJSONSerializing) 41 | 42 | - (id)JSONObject 43 | { 44 | return [self cdv_JSONObject]; 45 | } 46 | 47 | - (id)JSONFragment 48 | { 49 | return [self cdv_JSONFragment]; 50 | } 51 | 52 | @end 53 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVJSON_private.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | @interface NSArray (CDVJSONSerializingPrivate) 21 | - (NSString*)cdv_JSONString; 22 | @end 23 | 24 | @interface NSDictionary (CDVJSONSerializingPrivate) 25 | - (NSString*)cdv_JSONString; 26 | @end 27 | 28 | @interface NSString (CDVJSONSerializingPrivate) 29 | - (id)cdv_JSONObject; 30 | - (id)cdv_JSONFragment; 31 | @end 32 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVScreenOrientationDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @protocol CDVScreenOrientationDelegate 23 | 24 | - (NSUInteger)supportedInterfaceOrientations; 25 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation; 26 | - (BOOL)shouldAutorotate; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVShared.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | // This file was emptied out in 3.6.0 release (July 2014). 21 | // It will be deleted in a future release. 22 | #import 23 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVTimer.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVTimer : NSObject 23 | 24 | + (void)start:(NSString*)name; 25 | + (void)stop:(NSString*)name; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVURLProtocol.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import "CDVAvailability.h" 22 | 23 | @class CDVViewController; 24 | 25 | @interface CDVURLProtocol : NSURLProtocol {} 26 | 27 | + (void)registerViewController:(CDVViewController*)viewController; 28 | + (void)unregisterViewController:(CDVViewController*)viewController; 29 | @end 30 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVUserAgentUtil.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVUserAgentUtil : NSObject 23 | + (NSString*)originalUserAgent; 24 | + (void)acquireLock:(void (^)(NSInteger lockToken))block; 25 | + (void)releaseLock:(NSInteger*)lockToken; 26 | + (void)setUserAgent:(NSString*)value lockToken:(NSInteger)lockToken; 27 | @end 28 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import "CDVAvailability.h" 22 | 23 | /** 24 | * Distinguishes top-level navigations from sub-frame navigations. 25 | * shouldStartLoadWithRequest is called for every request, but didStartLoad 26 | * and didFinishLoad is called only for top-level navigations. 27 | * Relevant bug: CB-2389 28 | */ 29 | @interface CDVWebViewDelegate : NSObject { 30 | __weak NSObject * _delegate; 31 | NSInteger _loadCount; 32 | NSInteger _state; 33 | NSInteger _curLoadToken; 34 | NSInteger _loadStartPollCount; 35 | } 36 | 37 | - (id)initWithDelegate:(NSObject *)delegate; 38 | 39 | - (BOOL)request:(NSURLRequest*)newRequest isEqualToRequestAfterStrippingFragments:(NSURLRequest*)originalRequest; 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/CDVWhitelist.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | extern NSString* const kCDVDefaultWhitelistRejectionString; 23 | 24 | @interface CDVWhitelist : NSObject 25 | 26 | @property (nonatomic, copy) NSString* whitelistRejectionFormatString; 27 | 28 | - (id)initWithArray:(NSArray*)array; 29 | - (BOOL)schemeIsAllowed:(NSString*)scheme; 30 | - (BOOL)URLIsAllowed:(NSURL*)url; 31 | - (BOOL)URLIsAllowed:(NSURL*)url logFailure:(BOOL)logFailure; 32 | - (NSString*)errorStringForURL:(NSURL*)url; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/NSArray+Comparisons.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import "CDVAvailabilityDeprecated.h" 22 | 23 | @interface NSArray (Comparisons) 24 | 25 | - (id)objectAtIndex:(NSUInteger)index withDefault:(id)aDefault CDV_DEPRECATED(3.8 .0, "Use [command argumentAtIndex] instead."); 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/NSArray+Comparisons.m: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "NSArray+Comparisons.h" 21 | 22 | @implementation NSArray (Comparisons) 23 | 24 | - (id)objectAtIndex:(NSUInteger)index withDefault:(id)aDefault 25 | { 26 | id obj = nil; 27 | 28 | @try { 29 | if (index < [self count]) { 30 | obj = [self objectAtIndex:index]; 31 | } 32 | if ((obj == [NSNull null]) || (obj == nil)) { 33 | return aDefault; 34 | } 35 | } 36 | @catch(NSException* exception) { 37 | NSLog(@"Exception - Name: %@ Reason: %@", [exception name], [exception reason]); 38 | } 39 | 40 | return obj; 41 | } 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/NSMutableArray+QueueAdditions.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface NSMutableArray (QueueAdditions) 23 | 24 | - (id)pop; 25 | - (id)queueHead; 26 | - (id)dequeue; 27 | - (void)enqueue:(id)obj; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/NSMutableArray+QueueAdditions.m: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "NSMutableArray+QueueAdditions.h" 21 | 22 | @implementation NSMutableArray (QueueAdditions) 23 | 24 | - (id)queueHead 25 | { 26 | if ([self count] == 0) { 27 | return nil; 28 | } 29 | 30 | return [self objectAtIndex:0]; 31 | } 32 | 33 | - (__autoreleasing id)dequeue 34 | { 35 | if ([self count] == 0) { 36 | return nil; 37 | } 38 | 39 | id head = [self objectAtIndex:0]; 40 | if (head != nil) { 41 | // [[head retain] autorelease]; ARC - the __autoreleasing on the return value should so the same thing 42 | [self removeObjectAtIndex:0]; 43 | } 44 | 45 | return head; 46 | } 47 | 48 | - (id)pop 49 | { 50 | return [self dequeue]; 51 | } 52 | 53 | - (void)enqueue:(id)object 54 | { 55 | [self addObject:object]; 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/Classes/UIDevice+Extensions.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import "CDVAvailabilityDeprecated.h" 22 | 23 | @interface UIDevice (org_apache_cordova_UIDevice_Extension) 24 | 25 | /* 26 | Get the unique identifier from the app bundle's folder, which is already a GUID 27 | Upgrading and/or deleting the app and re-installing will get you a new GUID, so 28 | this is only unique per install per device. 29 | */ 30 | - (NSString*)uniqueAppInstanceIdentifier CDV_DEPRECATED(3.8 .0, "API is slated for removal in 4.0.0"); 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/CordovaLib_Prefix.pch: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #ifdef __OBJC__ 21 | #import 22 | #endif 23 | -------------------------------------------------------------------------------- /platforms/ios/CordovaLib/VERSION: -------------------------------------------------------------------------------- 1 | 3.8.0 2 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.perspectivev3 3 | *.pbxuser 4 | .DS_Store 5 | build/ 6 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Classes/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | // 21 | // AppDelegate.h 22 | // ProfilePage 23 | // 24 | // Created by ___FULLUSERNAME___ on ___DATE___. 25 | // Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. 26 | // 27 | 28 | #import 29 | 30 | #import 31 | 32 | @interface AppDelegate : NSObject {} 33 | 34 | // invoke string is passed to your app on launch, this is only valid if you 35 | // edit ProfilePage-Info.plist to add a protocol 36 | // a simple tutorial can be found here : 37 | // http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html 38 | 39 | @property (nonatomic, strong) IBOutlet UIWindow* window; 40 | @property (nonatomic, strong) IBOutlet CDVViewController* viewController; 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Classes/MainViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | // 21 | // MainViewController.h 22 | // ProfilePage 23 | // 24 | // Created by ___FULLUSERNAME___ on ___DATE___. 25 | // Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. 26 | // 27 | 28 | #import 29 | #import 30 | #import 31 | 32 | @interface MainViewController : CDVViewController 33 | 34 | @end 35 | 36 | @interface MainCommandDelegate : CDVCommandDelegateImpl 37 | @end 38 | 39 | @interface MainCommandQueue : CDVCommandQueue 40 | @end 41 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Plugins/README: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | Put the .h and .m files of your plugin here. The .js files of your plugin belong in the www folder. 21 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Plugins/com.ionic.keyboard/IonicKeyboard.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface IonicKeyboard : CDVPlugin { 4 | @protected 5 | id _keyboardShowObserver, _keyboardHideObserver; 6 | } 7 | 8 | @property (readwrite, assign) BOOL hideKeyboardAccessoryBar; 9 | @property (readwrite, assign) BOOL disableScroll; 10 | //@property (readwrite, assign) BOOL styleDark; 11 | 12 | @end 13 | 14 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Plugins/com.ionic.keyboard/UIWebViewExtension.h: -------------------------------------------------------------------------------- 1 | @interface UIWebView (HackishAccessoryHiding) 2 | @property (nonatomic, assign) BOOL hackishlyHidesInputAccessoryView; 3 | //@property (nonatomic, assign) BOOL styleDark; 4 | @end 5 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Plugins/org.apache.cordova.console/CDVLogger.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVLogger : CDVPlugin 23 | 24 | - (void)logLevel:(CDVInvokedUrlCommand*)command; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Plugins/org.apache.cordova.console/CDVLogger.m: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "CDVLogger.h" 21 | #import 22 | 23 | @implementation CDVLogger 24 | 25 | /* log a message */ 26 | - (void)logLevel:(CDVInvokedUrlCommand*)command 27 | { 28 | id level = [command argumentAtIndex:0]; 29 | id message = [command argumentAtIndex:1]; 30 | 31 | if ([level isEqualToString:@"LOG"]) { 32 | NSLog(@"%@", message); 33 | } else { 34 | NSLog(@"%@: %@", level, message); 35 | } 36 | } 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Plugins/org.apache.cordova.device/CDVDevice.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | @interface CDVDevice : CDVPlugin 24 | {} 25 | 26 | + (NSString*)cordovaVersion; 27 | 28 | - (void)getDeviceInfo:(CDVInvokedUrlCommand*)command; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/ProfilePage-Prefix.pch: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | // 20 | // Prefix header for all source files of the 'ProfilePage' target in the 'ProfilePage' project 21 | // 22 | 23 | #ifdef __OBJC__ 24 | #import 25 | #import 26 | #endif 27 | -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-40.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-40@2x.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-50.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-50@2x.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-60.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-60@2x.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-60@3x.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-72.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-72@2x.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-76.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-76@2x.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-small.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon-small@2x.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/icons/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/icons/icon@2x.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default-568h@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default-568h@2x~iphone.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default-667h.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default-736h.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default-Landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default-Landscape-736h.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default@2x~iphone.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/Resources/splash/Default~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/ProfilePage/Resources/splash/Default~iphone.png -------------------------------------------------------------------------------- /platforms/ios/ProfilePage/main.m: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | // 20 | // main.m 21 | // ProfilePage 22 | // 23 | // Created by ___FULLUSERNAME___ on ___DATE___. 24 | // Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. 25 | // 26 | 27 | #import 28 | 29 | int main(int argc, char* argv[]) 30 | { 31 | @autoreleasepool { 32 | int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); 33 | return retVal; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /platforms/ios/cordova/apple_ios_version: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var versions = require('./lib/versions.js'); 23 | 24 | versions.get_apple_ios_version().done(null, function(err) { 25 | console.log(err); 26 | process.exit(2); 27 | }); 28 | -------------------------------------------------------------------------------- /platforms/ios/cordova/apple_osx_version: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var versions = require('./lib/versions.js'); 23 | 24 | versions.get_apple_osx_version().done(null, function(err) { 25 | console.log(err); 26 | process.exit(2); 27 | }); 28 | -------------------------------------------------------------------------------- /platforms/ios/cordova/apple_xcode_version: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var versions = require('./lib/versions.js'); 23 | 24 | versions.get_apple_xcode_version().done(function (version) { 25 | console.log(version); 26 | }, function(err) { 27 | console.error(err); 28 | process.exit(2); 29 | }); 30 | -------------------------------------------------------------------------------- /platforms/ios/cordova/build: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var build = require('./lib/build'), 23 | args = process.argv; 24 | 25 | // Handle help flag 26 | if (['--help', '/?', '-h', 'help', '-help', '/help'].indexOf(args[2]) > -1) { 27 | build.help(); 28 | } else { 29 | build.run(args).done(function() { 30 | console.log('** BUILD SUCCEEDED **'); 31 | }, function(err) { 32 | var errorMessage = (err && err.stack) ? err.stack : err; 33 | console.error(errorMessage); 34 | process.exit(2); 35 | }); 36 | } -------------------------------------------------------------------------------- /platforms/ios/cordova/build-debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed to the Apache Software Foundation (ASF) under one 3 | // or more contributor license agreements. See the NOTICE file 4 | // distributed with this work for additional information 5 | // regarding copyright ownership. The ASF licenses this file 6 | // to you under the Apache License, Version 2.0 (the 7 | // "License"); you may not use this file except in compliance 8 | // with the License. You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, 13 | // software distributed under the License is distributed on an 14 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | // KIND, either express or implied. See the License for the 16 | // specific language governing permissions and limitations 17 | // under the License. 18 | // 19 | 20 | // 21 | // XCode Build settings for "Debug" Build Configuration. 22 | // 23 | 24 | #include "build.xcconfig" -------------------------------------------------------------------------------- /platforms/ios/cordova/build-release.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed to the Apache Software Foundation (ASF) under one 3 | // or more contributor license agreements. See the NOTICE file 4 | // distributed with this work for additional information 5 | // regarding copyright ownership. The ASF licenses this file 6 | // to you under the Apache License, Version 2.0 (the 7 | // "License"); you may not use this file except in compliance 8 | // with the License. You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, 13 | // software distributed under the License is distributed on an 14 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | // KIND, either express or implied. See the License for the 16 | // specific language governing permissions and limitations 17 | // under the License. 18 | // 19 | 20 | // 21 | // XCode Build settings for "Release" Build Configuration. 22 | // 23 | 24 | #include "build.xcconfig" 25 | 26 | CODE_SIGN_IDENTITY = iPhone Distribution 27 | CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Distribution -------------------------------------------------------------------------------- /platforms/ios/cordova/build.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed to the Apache Software Foundation (ASF) under one 3 | // or more contributor license agreements. See the NOTICE file 4 | // distributed with this work for additional information 5 | // regarding copyright ownership. The ASF licenses this file 6 | // to you under the Apache License, Version 2.0 (the 7 | // "License"); you may not use this file except in compliance 8 | // with the License. You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, 13 | // software distributed under the License is distributed on an 14 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | // KIND, either express or implied. See the License for the 16 | // specific language governing permissions and limitations 17 | // under the License. 18 | // 19 | 20 | // 21 | // XCode build settings shared by all Build Configurations. 22 | // Settings are overridden by configuration-level .xcconfig file (build-release/build-debug). 23 | // 24 | 25 | 26 | // Type of signing identity used for codesigning, resolves to first match of given type. 27 | // "iPhone Developer": Development builds (default, local only; iOS Development certificate) or "iPhone Distribution": Distribution builds (Adhoc/In-House/AppStore; iOS Distribution certificate) 28 | CODE_SIGN_IDENTITY = iPhone Developer 29 | CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer 30 | 31 | // (CB-7872) Solution for XCode 6.1 signing errors related to resource envelope format deprecation 32 | CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist -------------------------------------------------------------------------------- /platforms/ios/cordova/check_reqs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var check_reqs = require('./lib/check_reqs'); 23 | 24 | // check for help flag 25 | if (['--help', '/?', '-h', 'help', '-help', '/help'].indexOf(process.argv[2]) > -1) { 26 | check_reqs.help(); 27 | } else { 28 | check_reqs.run().done(null, function (err) { 29 | console.error('Failed to check requirements due to ' + err); 30 | process.exit(2); 31 | }); 32 | } -------------------------------------------------------------------------------- /platforms/ios/cordova/clean: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var clean = require('./lib/clean'); 23 | 24 | clean.run(process.argv).done(function () { 25 | console.log('** CLEAN SUCCEEDED **'); 26 | }, function(err) { 27 | console.error(err); 28 | process.exit(2); 29 | }); -------------------------------------------------------------------------------- /platforms/ios/cordova/clean.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License 17 | @ECHO OFF 18 | SET script_path="%~dp0clean" 19 | IF EXIST %script_path% ( 20 | node %script_path% %* 21 | ) ELSE ( 22 | ECHO. 23 | ECHO ERROR: Could not find 'clean' script in 'cordova' folder, aborting...>&2 24 | EXIT /B 1 25 | ) -------------------------------------------------------------------------------- /platforms/ios/cordova/lib/start-emulator: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # Run the below to get the device targets: 21 | # xcrun instruments -s 22 | 23 | set -e 24 | 25 | 26 | DEFAULT_TARGET="iPhone 5s" 27 | TARGET=${1:-$DEFAULT_TARGET} 28 | LIB_PATH=$( cd "$( dirname "$0" )" && pwd -P) 29 | 30 | xcrun instruments -w "$TARGET" &> /dev/null -------------------------------------------------------------------------------- /platforms/ios/cordova/log: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | 21 | CORDOVA_PATH=$( cd "$( dirname "$0" )" && pwd -P) 22 | 23 | tail -f "$CORDOVA_PATH/console.log" 24 | -------------------------------------------------------------------------------- /platforms/ios/cordova/run: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | var args = process.argv, 23 | run = require('./lib/run'); 24 | 25 | // Handle help flag 26 | if (['--help', '/?', '-h', 'help', '-help', '/help'].indexOf(args[2]) > -1) { 27 | run.help(); 28 | } else { 29 | run.run(args).done(function() { 30 | console.log('** RUN SUCCEEDED **'); 31 | }, function (err) { 32 | var errorMessage = (err && err.stack) ? err.stack : err; 33 | console.error(errorMessage); 34 | process.exit(2); 35 | }); 36 | } -------------------------------------------------------------------------------- /platforms/ios/cordova/run.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License 17 | @ECHO OFF 18 | SET script_path="%~dp0run" 19 | IF EXIST %script_path% ( 20 | node %script_path% %* 21 | ) ELSE ( 22 | ECHO. 23 | ECHO ERROR: Could not find 'run' script in 'cordova' folder, aborting...>&2 24 | EXIT /B 1 25 | ) 26 | -------------------------------------------------------------------------------- /platforms/ios/cordova/version: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /* 4 | Licensed to the Apache Software Foundation (ASF) under one 5 | or more contributor license agreements. See the NOTICE file 6 | distributed with this work for additional information 7 | regarding copyright ownership. The ASF licenses this file 8 | to you under the Apache License, Version 2.0 (the 9 | "License"); you may not use this file except in compliance 10 | with the License. You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, 15 | software distributed under the License is distributed on an 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | KIND, either express or implied. See the License for the 18 | specific language governing permissions and limitations 19 | under the License. 20 | */ 21 | 22 | /* 23 | 24 | Returns the VERSION of CordovaLib used. 25 | Note: it does not work if the --shared option was used to create the project. 26 | */ 27 | 28 | var VERSION="3.8.0" 29 | 30 | console.log(VERSION); 31 | -------------------------------------------------------------------------------- /platforms/ios/cordova/version.bat: -------------------------------------------------------------------------------- 1 | :: Licensed to the Apache Software Foundation (ASF) under one 2 | :: or more contributor license agreements. See the NOTICE file 3 | :: distributed with this work for additional information 4 | :: regarding copyright ownership. The ASF licenses this file 5 | :: to you under the Apache License, Version 2.0 (the 6 | :: "License"); you may not use this file except in compliance 7 | :: with the License. You may obtain a copy of the License at 8 | :: 9 | :: http://www.apache.org/licenses/LICENSE-2.0 10 | :: 11 | :: Unless required by applicable law or agreed to in writing, 12 | :: software distributed under the License is distributed on an 13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | :: KIND, either express or implied. See the License for the 15 | :: specific language governing permissions and limitations 16 | :: under the License. 17 | 18 | @ECHO OFF 19 | SET script="%~dp0version" 20 | IF EXIST %script% ( 21 | node %script% %* 22 | ) ELSE ( 23 | ECHO. 24 | ECHO ERROR: Could not find 'version' script in 'cordova' folder, aborting...>&2 25 | EXIT /B 1 26 | ) 27 | -------------------------------------------------------------------------------- /platforms/ios/www/controllers/profile.controller.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | angular.module('ProfileDemoController') 3 | .controller('ProfileCtrl', function($rootScope, $scope, $ionicPopup, $ionicLoading) { 4 | 5 | /** 6 | Section for image uploader 7 | **/ 8 | var imageUploaderPopup; 9 | 10 | $scope.showUploader = function(){ 11 | imageUploaderPopup = $ionicPopup.show({ 12 | templateUrl: "templates/image-uploader.html", 13 | scope : $scope 14 | }); 15 | imageUploaderPopup.then(function(res) { 16 | }); 17 | } 18 | 19 | $scope.closeUploader = function(){ 20 | imageUploaderPopup.close(); 21 | } 22 | 23 | $scope.setNewPic = function(newValue){ 24 | $scope.uploadedPic = newValue; 25 | $scope.closeUploader(); 26 | } 27 | }) -------------------------------------------------------------------------------- /platforms/ios/www/cordova_plugins.js: -------------------------------------------------------------------------------- 1 | cordova.define('cordova/plugin_list', function(require, exports, module) { 2 | module.exports = [ 3 | { 4 | "file": "plugins/com.ionic.keyboard/www/keyboard.js", 5 | "id": "com.ionic.keyboard.keyboard", 6 | "clobbers": [ 7 | "cordova.plugins.Keyboard" 8 | ] 9 | }, 10 | { 11 | "file": "plugins/org.apache.cordova.console/www/console-via-logger.js", 12 | "id": "org.apache.cordova.console.console", 13 | "clobbers": [ 14 | "console" 15 | ] 16 | }, 17 | { 18 | "file": "plugins/org.apache.cordova.console/www/logger.js", 19 | "id": "org.apache.cordova.console.logger", 20 | "clobbers": [ 21 | "cordova.logger" 22 | ] 23 | }, 24 | { 25 | "file": "plugins/org.apache.cordova.device/www/device.js", 26 | "id": "org.apache.cordova.device.device", 27 | "clobbers": [ 28 | "device" 29 | ] 30 | } 31 | ]; 32 | module.exports.metadata = 33 | // TOP OF METADATA 34 | { 35 | "com.ionic.keyboard": "1.0.4", 36 | "org.apache.cordova.console": "0.2.13", 37 | "org.apache.cordova.device": "0.3.0" 38 | } 39 | // BOTTOM OF METADATA 40 | }); -------------------------------------------------------------------------------- /platforms/ios/www/img/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/www/img/default.png -------------------------------------------------------------------------------- /platforms/ios/www/img/ionic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/www/img/ionic.png -------------------------------------------------------------------------------- /platforms/ios/www/js/app.js: -------------------------------------------------------------------------------- 1 | // Ionic Starter App 2 | 3 | // angular.module is a global place for creating, registering and retrieving Angular modules 4 | // 'starter' is the name of this angular module example (also set in a attribute in index.html) 5 | // the 2nd parameter is an array of 'requires' 6 | angular.module('ProfileDemoController' , ['ngImgCrop']) 7 | 8 | angular.module('ProfileDemo', ['ionic', 'ProfileDemoController']) 9 | 10 | .run(function($ionicPlatform) { 11 | $ionicPlatform.ready(function() { 12 | // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard 13 | // for form inputs) 14 | if(window.cordova && window.cordova.plugins.Keyboard) { 15 | cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); 16 | } 17 | if(window.StatusBar) { 18 | StatusBar.styleDefault(); 19 | } 20 | }); 21 | }) 22 | 23 | .config(function($ionicConfigProvider, $stateProvider, $urlRouterProvider) { 24 | $ionicConfigProvider.templates.maxPrefetch(0); 25 | $stateProvider 26 | 27 | .state('app', { 28 | url: "/app", 29 | templateUrl: "templates/profile.html", 30 | controller: 'ProfileCtrl' 31 | }) 32 | 33 | $urlRouterProvider.otherwise('/app'); 34 | }).constant('underscore',window._); 35 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-animate/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.3.13", 4 | "main": "./angular-animate.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.3.13" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-animate", 10 | "_release": "1.3.13", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.3.13", 14 | "commit": "f18cb98590471ad9c1e5ae0e57178e9ecb8d384c" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-animate.git", 17 | "_target": "1.3.13", 18 | "_originalSource": "angular-animate" 19 | } -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-animate/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.3.13", 4 | "main": "./angular-animate.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.3.13" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-animate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.3.13", 4 | "description": "AngularJS module for animations", 5 | "main": "angular-animate.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "animation", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-sanitize/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.3.13", 4 | "main": "./angular-sanitize.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.3.13" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-sanitize", 10 | "_release": "1.3.13", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.3.13", 14 | "commit": "ee7a595d32ae566701da29873eb1dfb466e3cfef" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-sanitize.git", 17 | "_target": "1.3.13", 18 | "_originalSource": "angular-sanitize" 19 | } -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-sanitize/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.3.13", 4 | "main": "./angular-sanitize.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.3.13" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-sanitize/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.3.13", 4 | "description": "AngularJS module for sanitizing HTML", 5 | "main": "angular-sanitize.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "html", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-ui-router/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.13", 4 | "main": "./release/angular-ui-router.js", 5 | "dependencies": { 6 | "angular": ">= 1.0.8" 7 | }, 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "component.json", 13 | "package.json", 14 | "lib", 15 | "config", 16 | "sample", 17 | "test", 18 | "tests", 19 | "ngdoc_assets", 20 | "Gruntfile.js", 21 | "files.js" 22 | ], 23 | "homepage": "https://github.com/angular-ui/ui-router", 24 | "_release": "0.2.13", 25 | "_resolution": { 26 | "type": "version", 27 | "tag": "0.2.13", 28 | "commit": "c3d543aae43d4600512520a0d70723ac31f2cb62" 29 | }, 30 | "_source": "git://github.com/angular-ui/ui-router.git", 31 | "_target": "0.2.13", 32 | "_originalSource": "angular-ui-router" 33 | } -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-ui-router/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2014 The AngularUI Team, Karsten Sperling 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-ui-router/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.13", 4 | "main": "./release/angular-ui-router.js", 5 | "dependencies": { 6 | "angular": ">= 1.0.8" 7 | }, 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "component.json", 13 | "package.json", 14 | "lib", 15 | "config", 16 | "sample", 17 | "test", 18 | "tests", 19 | "ngdoc_assets", 20 | "Gruntfile.js", 21 | "files.js" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular-ui-router/src/stateFilters.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @ngdoc filter 3 | * @name ui.router.state.filter:isState 4 | * 5 | * @requires ui.router.state.$state 6 | * 7 | * @description 8 | * Translates to {@link ui.router.state.$state#methods_is $state.is("stateName")}. 9 | */ 10 | $IsStateFilter.$inject = ['$state']; 11 | function $IsStateFilter($state) { 12 | var isFilter = function (state) { 13 | return $state.is(state); 14 | }; 15 | isFilter.$stateful = true; 16 | return isFilter; 17 | } 18 | 19 | /** 20 | * @ngdoc filter 21 | * @name ui.router.state.filter:includedByState 22 | * 23 | * @requires ui.router.state.$state 24 | * 25 | * @description 26 | * Translates to {@link ui.router.state.$state#methods_includes $state.includes('fullOrPartialStateName')}. 27 | */ 28 | $IncludedByStateFilter.$inject = ['$state']; 29 | function $IncludedByStateFilter($state) { 30 | var includesFilter = function (state) { 31 | return $state.includes(state); 32 | }; 33 | includesFilter.$stateful = true; 34 | return includesFilter; 35 | } 36 | 37 | angular.module('ui.router.state') 38 | .filter('isState', $IsStateFilter) 39 | .filter('includedByState', $IncludedByStateFilter); 40 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.3.13", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": {}, 7 | "homepage": "https://github.com/angular/bower-angular", 8 | "_release": "1.3.13", 9 | "_resolution": { 10 | "type": "version", 11 | "tag": "v1.3.13", 12 | "commit": "ad68cfecb69ff7cacb27813377ce9d95e072529b" 13 | }, 14 | "_source": "git://github.com/angular/bower-angular.git", 15 | "_target": "1.3.13", 16 | "_originalSource": "angular" 17 | } -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide:not(.ng-hide-animate) { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/www/lib/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.3.13", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/angular/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.3.13", 4 | "description": "HTML enhanced for web apps", 5 | "main": "angular.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "client-side" 18 | ], 19 | "author": "Angular Core Team ", 20 | "license": "MIT", 21 | "bugs": { 22 | "url": "https://github.com/angular/angular.js/issues" 23 | }, 24 | "homepage": "http://angularjs.org" 25 | } 26 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic", 3 | "version": "1.0.0-rc.3", 4 | "codename": "radium-raccoon", 5 | "homepage": "https://github.com/driftyco/ionic", 6 | "authors": [ 7 | "Max Lynch ", 8 | "Adam Bradley ", 9 | "Ben Sperry " 10 | ], 11 | "description": "Advanced HTML5 hybrid mobile app development framework.", 12 | "main": [ 13 | "css/ionic.css", 14 | "fonts/*", 15 | "js/ionic.js", 16 | "js/ionic-angular.js" 17 | ], 18 | "keywords": [ 19 | "mobile", 20 | "html5", 21 | "ionic", 22 | "cordova", 23 | "phonegap", 24 | "trigger", 25 | "triggerio", 26 | "angularjs", 27 | "angular" 28 | ], 29 | "license": "MIT", 30 | "private": false, 31 | "dependencies": { 32 | "angular": "1.3.13", 33 | "angular-animate": "1.3.13", 34 | "angular-sanitize": "1.3.13", 35 | "angular-ui-router": "0.2.13" 36 | }, 37 | "_release": "1.0.0-rc.3", 38 | "_resolution": { 39 | "type": "version", 40 | "tag": "v1.0.0-rc.3", 41 | "commit": "c55723a8fe5f13c9d5dc6a1844f4459c1d6e5adf" 42 | }, 43 | "_source": "git://github.com/driftyco/ionic-bower.git", 44 | "_target": "1.0.0-rc.3", 45 | "_originalSource": "driftyco/ionic-bower" 46 | } -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/README.md: -------------------------------------------------------------------------------- 1 | # ionic-bower 2 | 3 | Bower repository for [Ionic Framework](http://github.com/driftyco/ionic) 4 | 5 | ### Usage 6 | 7 | Include `js/ionic.bundle.js` to get ionic and all of its dependencies. 8 | 9 | Alternatively, include the individual ionic files with the dependencies separately. 10 | 11 | ### Versions 12 | 13 | To install the latest stable version, `bower install driftyco/ionic-bower#v1.0.0-beta.13` 14 | 15 | To install the latest nightly release, `bower install driftyco/ionic-bower#master` 16 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic", 3 | "version": "1.0.0-rc.3", 4 | "codename": "radium-raccoon", 5 | "homepage": "https://github.com/driftyco/ionic", 6 | "authors": [ 7 | "Max Lynch ", 8 | "Adam Bradley ", 9 | "Ben Sperry " 10 | ], 11 | "description": "Advanced HTML5 hybrid mobile app development framework.", 12 | "main": [ 13 | "css/ionic.css", 14 | "fonts/*", 15 | "js/ionic.js", 16 | "js/ionic-angular.js" 17 | ], 18 | "keywords": [ 19 | "mobile", 20 | "html5", 21 | "ionic", 22 | "cordova", 23 | "phonegap", 24 | "trigger", 25 | "triggerio", 26 | "angularjs", 27 | "angular" 28 | ], 29 | "license": "MIT", 30 | "private": false, 31 | "dependencies": { 32 | "angular": "1.3.13", 33 | "angular-animate": "1.3.13", 34 | "angular-sanitize": "1.3.13", 35 | "angular-ui-router": "0.2.13" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/www/lib/ionic/fonts/ionicons.eot -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/www/lib/ionic/fonts/ionicons.ttf -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/www/lib/ionic/fonts/ionicons.woff -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_animations.scss: -------------------------------------------------------------------------------- 1 | 2 | // Slide up from the bottom, used for modals 3 | // ------------------------------- 4 | 5 | .slide-in-up { 6 | @include translate3d(0, 100%, 0); 7 | } 8 | .slide-in-up.ng-enter, 9 | .slide-in-up > .ng-enter { 10 | @include transition(all cubic-bezier(.1, .7, .1, 1) 400ms); 11 | } 12 | .slide-in-up.ng-enter-active, 13 | .slide-in-up > .ng-enter-active { 14 | @include translate3d(0, 0, 0); 15 | } 16 | 17 | .slide-in-up.ng-leave, 18 | .slide-in-up > .ng-leave { 19 | @include transition(all ease-in-out 250ms); 20 | } 21 | 22 | 23 | // Scale Out 24 | // Scale from hero (1 in this case) to zero 25 | // ------------------------------- 26 | 27 | @-webkit-keyframes scaleOut { 28 | from { -webkit-transform: scale(1); opacity: 1; } 29 | to { -webkit-transform: scale(0.8); opacity: 0; } 30 | } 31 | @keyframes scaleOut { 32 | from { transform: scale(1); opacity: 1; } 33 | to { transform: scale(0.8); opacity: 0; } 34 | } 35 | 36 | 37 | // Super Scale In 38 | // Scale from super (1.x) to duper (1 in this case) 39 | // ------------------------------- 40 | 41 | @-webkit-keyframes superScaleIn { 42 | from { -webkit-transform: scale(1.2); opacity: 0; } 43 | to { -webkit-transform: scale(1); opacity: 1 } 44 | } 45 | @keyframes superScaleIn { 46 | from { transform: scale(1.2); opacity: 0; } 47 | to { transform: scale(1); opacity: 1; } 48 | } 49 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_backdrop.scss: -------------------------------------------------------------------------------- 1 | 2 | .backdrop { 3 | position: fixed; 4 | top: 0; 5 | left: 0; 6 | z-index: $z-index-backdrop; 7 | 8 | width: 100%; 9 | height: 100%; 10 | 11 | background-color: $loading-backdrop-bg-color; 12 | 13 | visibility: hidden; 14 | opacity: 0; 15 | 16 | &.visible { 17 | visibility: visible; 18 | } 19 | &.active { 20 | opacity: 1; 21 | } 22 | 23 | @include transition($loading-backdrop-fadein-duration opacity linear); 24 | } 25 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_button-bar.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Button Bar 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .button-bar { 8 | @include display-flex(); 9 | @include flex(1); 10 | width: 100%; 11 | 12 | &.button-bar-inline { 13 | display: block; 14 | width: auto; 15 | 16 | @include clearfix(); 17 | 18 | > .button { 19 | width: auto; 20 | display: inline-block; 21 | float: left; 22 | } 23 | } 24 | } 25 | 26 | .button-bar > .button { 27 | @include flex(1); 28 | display: block; 29 | 30 | overflow: hidden; 31 | 32 | padding: 0 16px; 33 | 34 | width: 0; 35 | 36 | border-width: 1px 0px 1px 1px; 37 | border-radius: 0; 38 | text-align: center; 39 | text-overflow: ellipsis; 40 | white-space: nowrap; 41 | 42 | &:before, 43 | .icon:before { 44 | line-height: 44px; 45 | } 46 | 47 | &:first-child { 48 | border-radius: $button-border-radius 0px 0px $button-border-radius; 49 | } 50 | &:last-child { 51 | border-right-width: 1px; 52 | border-radius: 0px $button-border-radius $button-border-radius 0px; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_loaders.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Loaders (Spinners) 3 | * -------------------------------------------------- 4 | */ 5 | 6 | svg.loader { 7 | width: 28px; 8 | height: 28px; 9 | stroke: #333; 10 | fill: #333; 11 | } 12 | 13 | .loader-ios, 14 | .loader-ios-small { 15 | 16 | line { 17 | stroke: #69717d; 18 | } 19 | 20 | } 21 | 22 | .loader-android { 23 | 24 | circle { 25 | stroke: #4b8bf4; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_loading.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Loading 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .loading-container { 8 | position: absolute; 9 | left: 0; 10 | top: 0; 11 | right: 0; 12 | bottom: 0; 13 | 14 | z-index: $z-index-loading; 15 | 16 | @include display-flex(); 17 | @include justify-content(center); 18 | @include align-items(center); 19 | 20 | @include transition(0.2s opacity linear); 21 | visibility: hidden; 22 | opacity: 0; 23 | 24 | &:not(.visible) .icon { 25 | display: none; 26 | } 27 | &.visible { 28 | visibility: visible; 29 | } 30 | &.active { 31 | opacity: 1; 32 | } 33 | 34 | .loading { 35 | padding: $loading-padding; 36 | 37 | border-radius: $loading-border-radius; 38 | background-color: $loading-bg-color; 39 | 40 | color: $loading-text-color; 41 | 42 | text-align: center; 43 | text-overflow: ellipsis; 44 | font-size: $loading-font-size; 45 | 46 | h1, h2, h3, h4, h5, h6 { 47 | color: $loading-text-color; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_menu.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Menus 4 | * -------------------------------------------------- 5 | * Side panel structure 6 | */ 7 | 8 | .menu { 9 | position: absolute; 10 | top: 0; 11 | bottom: 0; 12 | z-index: $z-index-menu; 13 | overflow: hidden; 14 | 15 | min-height: 100%; 16 | max-height: 100%; 17 | width: $menu-width; 18 | 19 | background-color: $menu-bg; 20 | 21 | .scroll-content { 22 | z-index: $z-index-menu-scroll-content; 23 | } 24 | 25 | .bar-header { 26 | z-index: $z-index-menu-bar-header; 27 | } 28 | } 29 | 30 | .menu-content { 31 | @include transform(none); 32 | box-shadow: $menu-side-shadow; 33 | } 34 | 35 | .menu-open .menu-content .pane, 36 | .menu-open .menu-content .scroll-content { 37 | pointer-events: none; 38 | } 39 | 40 | .grade-b .menu-content, 41 | .grade-c .menu-content { 42 | @include box-sizing(content-box); 43 | right: -1px; 44 | left: -1px; 45 | border-right: 1px solid #ccc; 46 | border-left: 1px solid #ccc; 47 | box-shadow: none; 48 | } 49 | 50 | .menu-left { 51 | left: 0; 52 | } 53 | 54 | .menu-right { 55 | right: 0; 56 | } 57 | 58 | .aside-open.aside-resizing .menu-right { 59 | display: none; 60 | } 61 | 62 | .menu-animated { 63 | @include transition-transform($menu-animation-speed ease); 64 | } 65 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_progress.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Progress 4 | * -------------------------------------------------- 5 | */ 6 | 7 | progress { 8 | display: block; 9 | margin: $progress-margin; 10 | width: $progress-width; 11 | } 12 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_radio.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Radio Button Inputs 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .item-radio { 8 | padding: 0; 9 | 10 | &:hover { 11 | cursor: pointer; 12 | } 13 | } 14 | 15 | .item-radio .item-content { 16 | /* give some room to the right for the checkmark icon */ 17 | padding-right: $item-padding * 4; 18 | } 19 | 20 | .item-radio .radio-icon { 21 | /* checkmark icon will be hidden by default */ 22 | position: absolute; 23 | top: 0; 24 | right: 0; 25 | z-index: $z-index-item-radio; 26 | visibility: hidden; 27 | padding: $item-padding - 2; 28 | height: 100%; 29 | font-size: 24px; 30 | } 31 | 32 | .item-radio input { 33 | /* hide any radio button inputs elements (the ugly circles) */ 34 | position: absolute; 35 | left: -9999px; 36 | 37 | &:checked ~ .item-content { 38 | /* style the item content when its checked */ 39 | background: #f7f7f7; 40 | } 41 | 42 | &:checked ~ .radio-icon { 43 | /* show the checkmark icon when its checked */ 44 | visibility: visible; 45 | } 46 | } 47 | 48 | // Hack for Android to correctly display the checked item 49 | // http://timpietrusky.com/advanced-checkbox-hack 50 | .platform-android.grade-b .item-radio, 51 | .platform-android.grade-c .item-radio { 52 | -webkit-animation: androidCheckedbugfix infinite 1s; 53 | } 54 | @-webkit-keyframes androidCheckedbugfix { 55 | from { padding: 0; } 56 | to { padding: 0; } 57 | } 58 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_slide-box.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Slide Box 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .slider { 8 | position: relative; 9 | visibility: hidden; 10 | // Make sure items don't scroll over ever 11 | overflow: hidden; 12 | } 13 | 14 | .slider-slides { 15 | position: relative; 16 | height: 100%; 17 | } 18 | 19 | .slider-slide { 20 | position: relative; 21 | display: block; 22 | float: left; 23 | width: 100%; 24 | height: 100%; 25 | vertical-align: top; 26 | } 27 | 28 | .slider-slide-image { 29 | > img { 30 | width: 100%; 31 | } 32 | } 33 | 34 | .slider-pager { 35 | position: absolute; 36 | bottom: 20px; 37 | z-index: $z-index-slider-pager; 38 | width: 100%; 39 | height: 15px; 40 | text-align: center; 41 | 42 | .slider-pager-page { 43 | display: inline-block; 44 | margin: 0px 3px; 45 | width: 15px; 46 | color: #000; 47 | text-decoration: none; 48 | 49 | opacity: 0.3; 50 | 51 | &.active { 52 | @include transition(opacity 0.4s ease-in); 53 | opacity: 1; 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/_split-pane.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Split Pane 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .split-pane { 8 | @include display-flex(); 9 | @include align-items(stretch); 10 | width: 100%; 11 | height: 100%; 12 | } 13 | 14 | .split-pane-menu { 15 | @include flex(0, 0, $split-pane-menu-width); 16 | 17 | overflow-y: auto; 18 | width: $split-pane-menu-width; 19 | height: 100%; 20 | border-right: 1px solid $split-pane-menu-border-color; 21 | 22 | @media all and (max-width: 568px) { 23 | border-right: none; 24 | } 25 | } 26 | 27 | .split-pane-content { 28 | @include flex(1, 0, auto); 29 | } 30 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/ionic.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | @import 4 | // Ionicons 5 | "ionicons/ionicons.scss", 6 | 7 | // Variables 8 | "mixins", 9 | "variables", 10 | 11 | // Base 12 | "reset", 13 | "scaffolding", 14 | "type", 15 | 16 | // Components 17 | "action-sheet", 18 | "backdrop", 19 | "bar", 20 | "tabs", 21 | "menu", 22 | "modal", 23 | "popover", 24 | "popup", 25 | "loading", 26 | "items", 27 | "list", 28 | "badge", 29 | "slide-box", 30 | "refresher", 31 | "spinner", 32 | 33 | // Forms 34 | "form", 35 | "checkbox", 36 | "toggle", 37 | "radio", 38 | "range", 39 | "select", 40 | "progress", 41 | 42 | // Buttons 43 | "button", 44 | "button-bar", 45 | 46 | // Util 47 | "grid", 48 | "util", 49 | "platform", 50 | 51 | // Animations 52 | "animations", 53 | "transitions"; 54 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/ionicons/_ionicons-font.scss: -------------------------------------------------------------------------------- 1 | // Ionicons Font Path 2 | // -------------------------- 3 | 4 | @font-face { 5 | font-family: $ionicons-font-family; 6 | src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}"); 7 | src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}#iefix") format("embedded-opentype"), 8 | url("#{$ionicons-font-path}/ionicons.ttf?v=#{$ionicons-version}") format("truetype"), 9 | url("#{$ionicons-font-path}/ionicons.woff?v=#{$ionicons-version}") format("woff"), 10 | url("#{$ionicons-font-path}/ionicons.svg?v=#{$ionicons-version}#Ionicons") format("svg"); 11 | font-weight: normal; 12 | font-style: normal; 13 | } 14 | 15 | .ion { 16 | display: inline-block; 17 | font-family: $ionicons-font-family; 18 | speak: none; 19 | font-style: normal; 20 | font-weight: normal; 21 | font-variant: normal; 22 | text-transform: none; 23 | text-rendering: auto; 24 | line-height: 1; 25 | -webkit-font-smoothing: antialiased; 26 | -moz-osx-font-smoothing: grayscale; 27 | } -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/scss/ionicons/ionicons.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | @import "ionicons-variables"; 3 | /*! 4 | Ionicons, v2.0.1 5 | Created by Ben Sperry for the Ionic Framework, http://ionicons.com/ 6 | https://twitter.com/benjsperry https://twitter.com/ionicframework 7 | MIT License: https://github.com/driftyco/ionicons 8 | 9 | Android-style icons originally built by Google’s 10 | Material Design Icons: https://github.com/google/material-design-icons 11 | used under CC BY http://creativecommons.org/licenses/by/4.0/ 12 | Modified icons to fit ionicon’s grid from original. 13 | */ 14 | 15 | @import "ionicons-font"; 16 | @import "ionicons-icons"; 17 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ng-img-crop", 3 | "version": "0.3.2", 4 | "authors": [ 5 | "Alex Kaul " 6 | ], 7 | "description": "Image crop directive for AngularJS", 8 | "main": [ 9 | "compile/minified/ng-img-crop.js", 10 | "compile/minified/ng-img-crop.css" 11 | ], 12 | "keywords": [ 13 | "angular", 14 | "image", 15 | "crop", 16 | "cropper" 17 | ], 18 | "license": "MIT", 19 | "homepage": "https://github.com/alexk111/ngImgCrop", 20 | "ignore": [ 21 | "node_modules", 22 | "bower_components", 23 | "test" 24 | ], 25 | "devDependencies": { 26 | "angular": "~1.2.19" 27 | }, 28 | "_release": "0.3.2", 29 | "_resolution": { 30 | "type": "version", 31 | "tag": "v0.3.2", 32 | "commit": "8f29783e69e8e74cf76b278e42d3ad686f209ace" 33 | }, 34 | "_source": "git://github.com/alexk111/ngImgCrop.git", 35 | "_target": "~0.3.2", 36 | "_originalSource": "ng-img-crop" 37 | } -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # ========================= 18 | # Operating System Files 19 | # ========================= 20 | 21 | # OSX 22 | # ========================= 23 | 24 | .DS_Store 25 | .AppleDouble 26 | .LSOverride 27 | 28 | # Icon must ends with two \r. 29 | Icon 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear on external disk 35 | .Spotlight-V100 36 | .Trashes 37 | 38 | 39 | # SASS Cache 40 | .sass_cache/ 41 | 42 | # Installed Bower/Node modules 43 | bower_components/ 44 | node_modules/ 45 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "globalstrict": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "immed": true, 6 | "noempty": true, 7 | "noarg": true, 8 | "quotmark": "single", 9 | "undef": true, 10 | "eqnull": true, 11 | "freeze": true, 12 | "indent": 2, 13 | "newcap": true, 14 | "latedef": false, 15 | "trailing": true, 16 | "globals": { 17 | "angular": true, 18 | "require": true, 19 | "console": true, 20 | "process": true, 21 | "crop": true, 22 | "CropHost": true, 23 | "PubSub": true 24 | } 25 | } -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Alex Kaul 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ng-img-crop", 3 | "version": "0.3.2", 4 | "authors": [ 5 | "Alex Kaul " 6 | ], 7 | "description": "Image crop directive for AngularJS", 8 | "main": [ 9 | "compile/minified/ng-img-crop.js", 10 | "compile/minified/ng-img-crop.css" 11 | ], 12 | "keywords": [ 13 | "angular", 14 | "image", 15 | "crop", 16 | "cropper" 17 | ], 18 | "license": "MIT", 19 | "homepage": "https://github.com/alexk111/ngImgCrop", 20 | "ignore": [ 21 | "node_modules", 22 | "bower_components", 23 | "test" 24 | ], 25 | "devDependencies": { 26 | "angular": "~1.2.19" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/compile/minified/ng-img-crop.css: -------------------------------------------------------------------------------- 1 | img-crop{width:100%;height:100%;display:block;position:relative;overflow:hidden}img-crop canvas{display:block;position:absolute;top:50%;left:50%;outline:0;-webkit-tap-highlight-color:transparent} -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/compile/unminified/ng-img-crop.css: -------------------------------------------------------------------------------- 1 | /* line 1, ../../source/scss/ng-img-crop.scss */ 2 | img-crop { 3 | width: 100%; 4 | height: 100%; 5 | display: block; 6 | position: relative; 7 | overflow: hidden; 8 | } 9 | /* line 7, ../../source/scss/ng-img-crop.scss */ 10 | img-crop canvas { 11 | display: block; 12 | position: absolute; 13 | top: 50%; 14 | left: 50%; 15 | outline: none; 16 | -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 17 | /* mobile webkit */ 18 | } 19 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "name": "Alex Kaul", 4 | "email": "alexkaul@googlemail.com" 5 | }, 6 | "name": "ng-img-crop", 7 | "prettyName": "ngImgCrop", 8 | "version": "0.3.2", 9 | "description": "Image crop directive for AngularJS", 10 | "license": "MIT", 11 | "homepage": "https://github.com/alexk111/ngImgCrop", 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/alexk111/ngImgCrop.git" 15 | }, 16 | "dependencies": {}, 17 | "devDependencies": { 18 | "connect-livereload": "^0.4.0", 19 | "express": "^4.4.5", 20 | "gulp": "^3.8.5", 21 | "gulp-autoprefixer": "0.0.8", 22 | "gulp-compass": "^1.1.9", 23 | "gulp-concat": "^2.2.0", 24 | "gulp-concat-util": "^0.2.3", 25 | "gulp-header": "^1.0.2", 26 | "gulp-jshint": "^1.6.4", 27 | "gulp-livereload": "^2.1.0", 28 | "gulp-minify-css": "^0.3.6", 29 | "gulp-ng-annotate": "^0.2.0", 30 | "gulp-open": "^0.2.8", 31 | "gulp-plumber": "^0.6.3", 32 | "gulp-rimraf": "^0.1.0", 33 | "gulp-uglify": "^0.3.1", 34 | "gulp-util": "^2.2.19", 35 | "jshint-stylish": "^0.2.0", 36 | "minimist": "^0.2.0", 37 | "opn": "^0.1.2", 38 | "tiny-lr": "0.0.7" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/screenshots/circle_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/www/lib/ng-img-crop/screenshots/circle_1.jpg -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/screenshots/square_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/platforms/ios/www/lib/ng-img-crop/screenshots/square_1.jpg -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/source/js/classes/crop-pubsub.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | crop.factory('cropPubSub', [function() { 4 | return function() { 5 | var events = {}; 6 | // Subscribe 7 | this.on = function(names, handler) { 8 | names.split(' ').forEach(function(name) { 9 | if (!events[name]) { 10 | events[name] = []; 11 | } 12 | events[name].push(handler); 13 | }); 14 | return this; 15 | }; 16 | // Publish 17 | this.trigger = function(name, args) { 18 | angular.forEach(events[name], function(handler) { 19 | handler.call(null, args); 20 | }); 21 | return this; 22 | }; 23 | }; 24 | }]); -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/source/js/init.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var crop = angular.module('ngImgCrop', []); -------------------------------------------------------------------------------- /platforms/ios/www/lib/ng-img-crop/source/scss/ng-img-crop.scss: -------------------------------------------------------------------------------- 1 | img-crop { 2 | width:100%; 3 | height:100%; 4 | display:block; 5 | position:relative; 6 | overflow:hidden; 7 | canvas { 8 | display:block; 9 | position:absolute; 10 | top:50%; 11 | left:50%; 12 | 13 | // Disable Outline 14 | outline: none; 15 | -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */ 16 | } 17 | } -------------------------------------------------------------------------------- /platforms/ios/www/plugins/com.ionic.keyboard/www/keyboard.js: -------------------------------------------------------------------------------- 1 | cordova.define("com.ionic.keyboard.keyboard", function(require, exports, module) { 2 | var argscheck = require('cordova/argscheck'), 3 | utils = require('cordova/utils'), 4 | exec = require('cordova/exec'); 5 | 6 | 7 | var Keyboard = function() { 8 | }; 9 | 10 | Keyboard.hideKeyboardAccessoryBar = function(hide) { 11 | exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); 12 | }; 13 | 14 | Keyboard.close = function() { 15 | exec(null, null, "Keyboard", "close", []); 16 | }; 17 | 18 | Keyboard.show = function() { 19 | exec(null, null, "Keyboard", "show", []); 20 | }; 21 | 22 | Keyboard.disableScroll = function(disable) { 23 | exec(null, null, "Keyboard", "disableScroll", [disable]); 24 | }; 25 | 26 | /* 27 | Keyboard.styleDark = function(dark) { 28 | exec(null, null, "Keyboard", "styleDark", [dark]); 29 | }; 30 | */ 31 | 32 | Keyboard.isVisible = false; 33 | 34 | module.exports = Keyboard; 35 | 36 | 37 | 38 | 39 | }); 40 | -------------------------------------------------------------------------------- /platforms/ios/www/templates/image-uploader.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 | 7 | 8 | 9 |
10 |
11 | 24 |
25 |
26 |
-------------------------------------------------------------------------------- /platforms/ios/www/templates/profile.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 |
7 | 11 | 15 | 19 |
20 |
21 |
-------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.4", 3 | "name": "com.ionic.keyboard", 4 | "cordova_name": "Keyboard", 5 | "description": "Ionic Keyboard Plugin", 6 | "license": "Apache 2.0", 7 | "repo": "https://github.com/driftyco/ionic-plugins-keyboard.git", 8 | "issue": "https://github.com/driftyco/ionic-plugins-keyboard/issues", 9 | "keywords": [ 10 | "Ionic", 11 | "keyboard" 12 | ], 13 | "platforms": [ 14 | "android", 15 | "ios", 16 | "blackberry10" 17 | ], 18 | "engines": [] 19 | } -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/libKeyboard.so -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/public/json_reader.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/public/json_reader.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/public/json_value.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/public/json_value.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/public/json_writer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/public/json_writer.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/public/plugin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/public/plugin.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/public/tokenizer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/public/tokenizer.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/src/CallKeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/src/CallKeyboard.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/src/Logger.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/src/Logger.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/src/keyboard_js.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/src/keyboard_js.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/device/src/keyboard_ndk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/device/src/keyboard_ndk.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/public/json/autolink.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_AUTOLINK_H_INCLUDED 2 | # define JSON_AUTOLINK_H_INCLUDED 3 | 4 | # include "config.h" 5 | 6 | # ifdef JSON_IN_CPPTL 7 | # include 8 | # endif 9 | 10 | # if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && !defined(JSON_IN_CPPTL) 11 | # define CPPTL_AUTOLINK_NAME "json" 12 | # undef CPPTL_AUTOLINK_DLL 13 | # ifdef JSON_DLL 14 | # define CPPTL_AUTOLINK_DLL 15 | # endif 16 | # include "autolink.h" 17 | # endif 18 | 19 | #endif // JSON_AUTOLINK_H_INCLUDED 20 | -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/public/json/features.h: -------------------------------------------------------------------------------- 1 | #ifndef CPPTL_JSON_FEATURES_H_INCLUDED 2 | # define CPPTL_JSON_FEATURES_H_INCLUDED 3 | 4 | # include "forwards.h" 5 | 6 | namespace Json { 7 | 8 | /** \brief Configuration passed to reader and writer. 9 | * This configuration object can be used to force the Reader or Writer 10 | * to behave in a standard conforming way. 11 | */ 12 | class JSON_API Features 13 | { 14 | public: 15 | /** \brief A configuration that allows all features and assumes all strings are UTF-8. 16 | * - C & C++ comments are allowed 17 | * - Root object can be any JSON value 18 | * - Assumes Value strings are encoded in UTF-8 19 | */ 20 | static Features all(); 21 | 22 | /** \brief A configuration that is strictly compatible with the JSON specification. 23 | * - Comments are forbidden. 24 | * - Root object must be either an array or an object value. 25 | * - Assumes Value strings are encoded in UTF-8 26 | */ 27 | static Features strictMode(); 28 | 29 | /** \brief Initialize the configuration like JsonConfig::allFeatures; 30 | */ 31 | Features(); 32 | 33 | /// \c true if comments are allowed. Default: \c true. 34 | bool allowComments_; 35 | 36 | /// \c true if root must be either an array or an object value. Default: \c false. 37 | bool strictRoot_; 38 | }; 39 | 40 | } // namespace Json 41 | 42 | #endif // CPPTL_JSON_FEATURES_H_INCLUDED 43 | -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/public/json/forwards.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_FORWARDS_H_INCLUDED 2 | # define JSON_FORWARDS_H_INCLUDED 3 | 4 | # include "config.h" 5 | 6 | namespace Json { 7 | 8 | // writer.h 9 | class FastWriter; 10 | class StyledWriter; 11 | 12 | // reader.h 13 | class Reader; 14 | 15 | // features.h 16 | class Features; 17 | 18 | // value.h 19 | typedef int Int; 20 | typedef unsigned int UInt; 21 | class StaticString; 22 | class Path; 23 | class PathArgument; 24 | class Value; 25 | class ValueIteratorBase; 26 | class ValueIterator; 27 | class ValueConstIterator; 28 | #ifdef JSON_VALUE_USE_INTERNAL_MAP 29 | class ValueAllocator; 30 | class ValueMapAllocator; 31 | class ValueInternalLink; 32 | class ValueInternalArray; 33 | class ValueInternalMap; 34 | #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP 35 | 36 | } // namespace Json 37 | 38 | 39 | #endif // JSON_FORWARDS_H_INCLUDED 40 | -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/public/json/json.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_JSON_H_INCLUDED 2 | # define JSON_JSON_H_INCLUDED 3 | 4 | # include "autolink.h" 5 | # include "value.h" 6 | # include "reader.h" 7 | # include "writer.h" 8 | # include "features.h" 9 | 10 | #endif // JSON_JSON_H_INCLUDED 11 | -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/public/tokenizer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/public/tokenizer.cpp -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/public/tokenizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/public/tokenizer.h -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/libKeyboard.so -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/json_reader.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/json_reader.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/json_value.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/json_value.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/json_writer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/json_writer.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/plugin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/plugin.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/tokenizer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/public/tokenizer.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/src/CallKeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/src/CallKeyboard.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/src/Logger.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/src/Logger.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/src/keyboard_js.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/src/keyboard_js.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/src/keyboard_ndk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/plugins/com.ionic.keyboard/src/blackberry10/native/simulator/src/keyboard_ndk.o -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/src/Logger.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 BlackBerry Limited 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef LOGGER_HPP_ 18 | #define LOGGER_HPP_ 19 | 20 | #include 21 | #include 22 | 23 | class Keyboard_JS; 24 | 25 | namespace webworks { 26 | 27 | class Logger { 28 | public: 29 | explicit Logger(const char* name, Keyboard_JS *parent = NULL); 30 | virtual ~Logger(); 31 | int debug(const char* message); 32 | int info(const char* message); 33 | int notice(const char* message); 34 | int warn(const char* message); 35 | int error(const char* message); 36 | int critical(const char* message); 37 | int setVerbosity(_Uint8t verbosity); 38 | _Uint8t getVerbosity(); 39 | slog2_buffer_t hiPriorityBuffer(); 40 | slog2_buffer_t lowPriorityBuffer(); 41 | private: 42 | Keyboard_JS *m_pParent; 43 | slog2_buffer_set_config_t buffer_config; 44 | slog2_buffer_t buffer_handle[2]; 45 | int log(slog2_buffer_t buffer, _Uint8t severity, const char* message); 46 | }; 47 | 48 | } /* namespace webworks */ 49 | #endif /* LOGGER_HPP_ */ 50 | -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/src/keyboard_js.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 BlackBerry Limited 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef Keyboard_JS_HPP_ 18 | #define Keyboard_JS_HPP_ 19 | 20 | #include 21 | #include "../public/plugin.h" 22 | #include "keyboard_ndk.hpp" 23 | #include "Logger.hpp" 24 | 25 | 26 | class Keyboard_JS: public JSExt { 27 | 28 | public: 29 | explicit Keyboard_JS(const std::string& id); 30 | virtual ~Keyboard_JS(); 31 | virtual bool CanDelete(); 32 | virtual std::string InvokeMethod(const std::string& command); 33 | void NotifyEvent(const std::string& event); 34 | webworks::Logger* getLog(); 35 | private: 36 | std::string m_id; 37 | webworks::Keyboard_NDK *m_pKeyboardController; 38 | webworks::Logger *m_pLogger; 39 | 40 | }; 41 | 42 | #endif /* Keyboard_JS_HPP_ */ 43 | -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/ios/IonicKeyboard.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface IonicKeyboard : CDVPlugin { 4 | @protected 5 | id _keyboardShowObserver, _keyboardHideObserver; 6 | } 7 | 8 | @property (readwrite, assign) BOOL hideKeyboardAccessoryBar; 9 | @property (readwrite, assign) BOOL disableScroll; 10 | //@property (readwrite, assign) BOOL styleDark; 11 | 12 | @end 13 | 14 | -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/ios/UIWebViewExtension.h: -------------------------------------------------------------------------------- 1 | @interface UIWebView (HackishAccessoryHiding) 2 | @property (nonatomic, assign) BOOL hackishlyHidesInputAccessoryView; 3 | //@property (nonatomic, assign) BOOL styleDark; 4 | @end 5 | -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/www/keyboard.js: -------------------------------------------------------------------------------- 1 | 2 | var argscheck = require('cordova/argscheck'), 3 | utils = require('cordova/utils'), 4 | exec = require('cordova/exec'); 5 | 6 | 7 | var Keyboard = function() { 8 | }; 9 | 10 | Keyboard.hideKeyboardAccessoryBar = function(hide) { 11 | exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); 12 | }; 13 | 14 | Keyboard.close = function() { 15 | exec(null, null, "Keyboard", "close", []); 16 | }; 17 | 18 | Keyboard.show = function() { 19 | exec(null, null, "Keyboard", "show", []); 20 | }; 21 | 22 | Keyboard.disableScroll = function(disable) { 23 | exec(null, null, "Keyboard", "disableScroll", [disable]); 24 | }; 25 | 26 | /* 27 | Keyboard.styleDark = function(dark) { 28 | exec(null, null, "Keyboard", "styleDark", [dark]); 29 | }; 30 | */ 31 | 32 | Keyboard.isVisible = false; 33 | 34 | module.exports = Keyboard; 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /plugins/fetch.json: -------------------------------------------------------------------------------- 1 | { 2 | "org.apache.cordova.device": { 3 | "source": { 4 | "type": "registry", 5 | "id": "org.apache.cordova.device" 6 | } 7 | }, 8 | "org.apache.cordova.console": { 9 | "source": { 10 | "type": "registry", 11 | "id": "org.apache.cordova.console" 12 | } 13 | }, 14 | "com.ionic.keyboard": { 15 | "source": { 16 | "type": "registry", 17 | "id": "com.ionic.keyboard" 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /plugins/ios.json: -------------------------------------------------------------------------------- 1 | { 2 | "prepare_queue": { 3 | "installed": [], 4 | "uninstalled": [] 5 | }, 6 | "config_munge": { 7 | "files": { 8 | "config.xml": { 9 | "parents": { 10 | "/*": [ 11 | { 12 | "xml": "", 13 | "count": 1 14 | }, 15 | { 16 | "xml": "", 17 | "count": 1 18 | }, 19 | { 20 | "xml": "", 21 | "count": 1 22 | } 23 | ] 24 | } 25 | } 26 | } 27 | }, 28 | "installed_plugins": { 29 | "com.ionic.keyboard": { 30 | "PACKAGE_NAME": "com.ionicframework.profilepage336331" 31 | }, 32 | "org.apache.cordova.console": { 33 | "PACKAGE_NAME": "com.ionicframework.profilepage336331" 34 | }, 35 | "org.apache.cordova.device": { 36 | "PACKAGE_NAME": "com.ionicframework.profilepage336331" 37 | } 38 | }, 39 | "dependent_plugins": {} 40 | } -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/#contribute). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | Plugin documentation: [doc/index.md](doc/index.md) 23 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/doc/es/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | Este plugin es para asegurarse de que console.log() es tan útil como puede ser. Añade función adicional para iOS, Windows Phone 8, Ubuntu y Windows 8. Si estás contento con cómo funciona console.log() para ti, entonces probablemente no necesitas este plugin. 23 | 24 | ## Instalación 25 | 26 | cordova plugin add org.apache.cordova.console 27 | 28 | 29 | ### Rarezas Android 30 | 31 | En algunas plataformas que no sean Android, console.log() actuará en varios argumentos, como console.log ("1", "2", "3"). Sin embargo, Android actuará sólo en el primer argumento. Se omitirá posteriores argumentos para console.log(). Este plugin no es la causa de eso, es una limitación propia de Android. -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/doc/fr/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | Ce plugin est destiné à faire en sorte que console.log() est aussi utile que possible. Il ajoute une fonction supplémentaire pour iOS, Ubuntu, Windows Phone 8 et Windows 8. Si vous êtes satisfait du fonctionnement de console.log() pour vous, alors vous avez probablement pas besoin ce plugin. 23 | 24 | ## Installation 25 | 26 | cordova plugin add org.apache.cordova.console 27 | 28 | 29 | ### Quirks Android 30 | 31 | Sur certaines plateformes autres que Android, console.log() va agir sur plusieurs arguments, tels que console.log ("1", "2", "3"). Toutefois, Android doit agir uniquement sur le premier argument. Les arguments suivants à console.log() seront ignorées. Ce plugin n'est pas la cause de cela, il s'agit d'une limitation d'Android lui-même. -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/doc/it/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | Questo plugin è intesa a garantire che console.log() è tanto utile quanto può essere. Aggiunge una funzione aggiuntiva per iOS, Ubuntu, Windows 8 e Windows Phone 8. Se sei soddisfatto di come console.log() funziona per voi, quindi probabilmente non è necessario questo plugin. 23 | 24 | ## Installazione 25 | 26 | cordova plugin add org.apache.cordova.console 27 | 28 | 29 | ### Stranezze Android 30 | 31 | Su alcune piattaforme diverse da Android, console.log() agirà su più argomenti, come ad esempio console ("1", "2", "3"). Tuttavia, Android agirà solo sul primo argomento. Argomenti successivi a console.log() verranno ignorati. Questo plugin non è la causa di ciò, è una limitazione di Android stesso. -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/doc/ja/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | このプラグインは、その console.log() がすることができます便利なことを確認するものです。 それは、iOS、Ubuntu、Windows Phone 8 および Windows 8 の追加関数を追加します。 場合はあなたのための console.log() の作品に満足しているし、おそらく必要はありませんこのプラグイン。 23 | 24 | ## インストール 25 | 26 | cordova plugin add org.apache.cordova.console 27 | 28 | 29 | ### Android の癖 30 | 31 | アンドロイド以外のいくつかのプラットフォームで console.log() は console.log (「1」、「2」、「3」) など、複数の引数に動作します。 しかし、アンドロイドは、最初の引数でのみ動作します。 Console.log() に後続の引数は無視されます。 このプラグインが原因ではない、それは Android の自体の制限です。 -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/doc/ko/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | 이 플러그인을 console.log()로 수 유용 되도록 의미입니다. IOS, 우분투, Windows Phone 8 및 윈도우 8에 대 한 추가 기능을 추가 하 고 합니다. Console.log() 당신을 위해 작동 하는 어떻게 행복 한 경우에, 그때 당신은 아마 필요 하지 않습니다이 플러그인. 23 | 24 | ## 설치 25 | 26 | cordova plugin add org.apache.cordova.console 27 | 28 | 29 | ### 안 드 로이드 단점 30 | 31 | 안 드 로이드 이외의 일부 플랫폼에서 console.log() console.log ("1", "2", "3")와 같이 여러 인수에 작동할 것 이다. 그러나, 안 드 로이드는 첫 번째 인수에만 작동할 것 이다. Console.log() 후속 인수는 무시 됩니다. 이 플러그인의 원인이 되지 않습니다, 그리고 그것은 안 드 로이드 자체의 한계입니다. -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/doc/pl/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | Ten plugin jest przeznaczona do zapewnienia, że console.log() jest tak przydatne, jak to może być. To dodaje dodatkową funkcję dla iOS, Ubuntu, Windows Phone 8 i Windows 8. Jeśli jesteś zadowolony z jak console.log() pracuje dla Ciebie, wtedy prawdopodobnie nie potrzebują tej wtyczki. 23 | 24 | ## Instalacja 25 | 26 | cordova plugin add org.apache.cordova.console 27 | 28 | 29 | ### Dziwactwa Androida 30 | 31 | Na niektórych platformach innych niż Android console.log() będzie działać na wielu argumentów, takich jak console.log ("1", "2", "3"). Jednak Android będzie działać tylko na pierwszy argument. Kolejne argumenty do console.log() będą ignorowane. Ten plugin nie jest przyczyną, że, jest to ograniczenie Androida, sam. -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/doc/ru/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | Этот плагин предназначен для обеспечения как полезным, поскольку это может быть что console.log(). Он добавляет дополнительные функции для iOS, Ubuntu, Windows Phone 8 и Windows 8. Если вы не довольны как console.log() работает для вас, то вы вероятно не нужен этот плагин. 23 | 24 | ## Установка 25 | 26 | cordova plugin add org.apache.cordova.console 27 | 28 | 29 | ### Особенности Android 30 | 31 | На некоторых платформах, отличных от Android console.log() будет действовать на нескольких аргументов, например console.log («1», «2», «3»). Тем не менее Android будет действовать только на первого аргумента. Последующие аргументы для console.log() будет игнорироваться. Этот плагин не является причиной этого, это ограничение Android сам. -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/doc/zh/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.console 21 | 22 | 這個外掛程式是為了確保該 console.log() 是一樣有用,它可以是。 它將添加附加功能的 iOS、 Ubuntu,Windows Phone 8 和 Windows 8。 如果你是快樂與 console.log() 是如何為你工作,那麼可能不需要這個外掛程式。 23 | 24 | ## 安裝 25 | 26 | cordova plugin add org.apache.cordova.console 27 | 28 | 29 | ### Android 的怪癖 30 | 31 | 在一些非 Android 平臺上,console.log() 將作用於多個參數,如 console.log ("1"、"2"、"3")。 然而,Android 將僅在第一個參數上採取行動。 對 console.log() 的後續參數將被忽略。 這個外掛程式不是的原因,,它是安卓系統本身的限制。 -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/src/ios/CDVLogger.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVLogger : CDVPlugin 23 | 24 | - (void)logLevel:(CDVInvokedUrlCommand*)command; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/src/ios/CDVLogger.m: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "CDVLogger.h" 21 | #import 22 | 23 | @implementation CDVLogger 24 | 25 | /* log a message */ 26 | - (void)logLevel:(CDVInvokedUrlCommand*)command 27 | { 28 | id level = [command argumentAtIndex:0]; 29 | id message = [command argumentAtIndex:1]; 30 | 31 | if ([level isEqualToString:@"LOG"]) { 32 | NSLog(@"%@", message); 33 | } else { 34 | NSLog(@"%@: %@", level, message); 35 | } 36 | } 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/src/ubuntu/console.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | */ 14 | 15 | #include "console.h" 16 | 17 | #include 18 | 19 | Console::Console(Cordova *cordova) : CPlugin(cordova) { 20 | } 21 | 22 | void Console::logLevel(int scId, int ecId, QString level, QString message) { 23 | Q_UNUSED(scId) 24 | Q_UNUSED(ecId) 25 | 26 | if (level != "LOG") 27 | std::cout << "[" << level.toStdString() << "] "; 28 | std::cout << message.toStdString() << std::endl; 29 | } 30 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/src/ubuntu/console.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | */ 14 | 15 | #ifndef CONSOLE_H_FDSVCXGFRS 16 | #define CONSOLE_H_FDSVCXGFRS 17 | 18 | #include 19 | 20 | #include 21 | 22 | class Console : public CPlugin { 23 | Q_OBJECT 24 | public: 25 | explicit Console(Cordova *cordova); 26 | 27 | virtual const QString fullName() override { 28 | return Console::fullID(); 29 | } 30 | 31 | virtual const QString shortName() override { 32 | return "Console"; 33 | } 34 | 35 | static const QString fullID() { 36 | return "Console"; 37 | } 38 | 39 | public slots: 40 | void logLevel(int scId, int ecId, QString level, QString message); 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.console/src/wp/DebugConsole.cs: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed under the Apache License, Version 2.0 (the "License"); 3 | you may not use this file except in compliance with the License. 4 | You may obtain a copy of the License at 5 | 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | 8 | Unless required by applicable law or agreed to in writing, software 9 | distributed under the License is distributed on an "AS IS" BASIS, 10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | See the License for the specific language governing permissions and 12 | limitations under the License. 13 | */ 14 | 15 | using System; 16 | using System.Net; 17 | using System.Windows; 18 | using System.Windows.Controls; 19 | using System.Windows.Documents; 20 | using System.Windows.Ink; 21 | using System.Windows.Input; 22 | using System.Windows.Media; 23 | using System.Windows.Media.Animation; 24 | using System.Windows.Shapes; 25 | using System.Diagnostics; 26 | 27 | namespace WPCordovaClassLib.Cordova.Commands 28 | { 29 | public class DebugConsole : BaseCommand 30 | { 31 | public void logLevel(string options) 32 | { 33 | string[] args = JSON.JsonHelper.Deserialize(options); 34 | string level = args[0]; 35 | string msg = args[1]; 36 | 37 | if (level.Equals("LOG")) 38 | { 39 | Debug.WriteLine(msg); 40 | } 41 | else 42 | { 43 | Debug.WriteLine(level + ": " + msg); 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.device/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/#contribute). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.device/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.device/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # org.apache.cordova.device 21 | 22 | Plugin documentation: [doc/index.md](doc/index.md) 23 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.device/src/ios/CDVDevice.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | @interface CDVDevice : CDVPlugin 24 | {} 25 | 26 | + (NSString*)cordovaVersion; 27 | 28 | - (void)getDeviceInfo:(CDVInvokedUrlCommand*)command; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.device/src/tizen/DeviceProxy.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | var tizen = require('cordova/platform'); 23 | var cordova = require('cordova'); 24 | 25 | module.exports = { 26 | getDeviceInfo: function(success, error) { 27 | setTimeout(function () { 28 | success({ 29 | cordova: tizen.cordovaVersion, 30 | platform: 'tizen', 31 | model: null, 32 | version: null, 33 | uuid: null 34 | }); 35 | }, 0); 36 | } 37 | }; 38 | 39 | require("cordova/tizen/commandProxy").add("Device", module.exports); 40 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.device/src/ubuntu/device.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 Wolfgang Koller - http://www.gofg.at/ 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef DEVICE_H_FDSAFAS 18 | #define DEVICE_H_FDSAFAS 19 | 20 | #include 21 | 22 | #include 23 | 24 | class Device: public CPlugin { 25 | Q_OBJECT 26 | public: 27 | explicit Device(Cordova *cordova); 28 | 29 | virtual const QString fullName() override { 30 | return Device::fullID(); 31 | } 32 | 33 | virtual const QString shortName() override { 34 | return "Device"; 35 | } 36 | 37 | static const QString fullID() { 38 | return "com.cordova.Device"; 39 | } 40 | 41 | signals: 42 | 43 | public slots: 44 | void getInfo(int scId, int ecId); 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.device/src/ubuntu/device.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | var cordova = require('cordova'); 23 | var exec = require('cordova/exec'); 24 | 25 | module.exports = { 26 | getInfo:function(win,fail,args) { 27 | Cordova.exec(function (model, cordova, platform, uuid, version) { 28 | win({name: name, model: model, cordova: cordova, 29 | platform: platform, uuid: uuid, version: version}); 30 | }, null, "com.cordova.Device", "getInfo", []); 31 | } 32 | }; 33 | 34 | require("cordova/exec/proxy").add("Device", module.exports); 35 | -------------------------------------------------------------------------------- /plugins/org.apache.cordova.device/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova Device Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /scss/ionic.app.scss: -------------------------------------------------------------------------------- 1 | /* 2 | To customize the look and feel of Ionic, you can override the variables 3 | in ionic's _variables.scss file. 4 | 5 | For example, you might change some of the default colors: 6 | 7 | $light: #fff !default; 8 | $stable: #f8f8f8 !default; 9 | $positive: #387ef5 !default; 10 | $calm: #11c1f3 !default; 11 | $balanced: #33cd5f !default; 12 | $energized: #ffc900 !default; 13 | $assertive: #ef473a !default; 14 | $royal: #886aea !default; 15 | $dark: #444 !default; 16 | */ 17 | 18 | // The path for our ionicons font files, relative to the built CSS in www/css 19 | $ionicons-font-path: "../lib/ionic/fonts" !default; 20 | 21 | // Include all of Ionic 22 | @import "www/lib/ionic/scss/ionic"; 23 | 24 | -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- 1 | var express = require("express"), 2 | app = express(), 3 | bodyParser = require('body-parser') 4 | errorHandler = require('errorhandler'), 5 | methodOverride = require('method-override'), 6 | port = parseInt(process.env.PORT, 10) || 5000; 7 | 8 | 9 | app.use(express.query()); //parse the query string from the request 10 | app.use(bodyParser()); //parse the body of the request 11 | app.use(methodOverride()); 12 | app.use(express.static(__dirname + '/www')); 13 | 14 | app.get('/',function(req,res){ 15 | res.render('index.html'); 16 | }); 17 | 18 | app.use(errorHandler({ 19 | dumpExceptions: true, 20 | showStack: true 21 | })); 22 | 23 | app.listen(port, function() { 24 | console.log("Server Started..."); 25 | console.log("Listening on " + port); 26 | }); 27 | -------------------------------------------------------------------------------- /www/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/.DS_Store -------------------------------------------------------------------------------- /www/controllers/profile.controller.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | angular.module('ProfileDemoController') 3 | .controller('ProfileCtrl', function($rootScope, $scope, $ionicPopup, $ionicLoading) { 4 | 5 | /** 6 | Section for image uploader 7 | **/ 8 | var imageUploaderPopup; 9 | 10 | $scope.showUploader = function(){ 11 | imageUploaderPopup = $ionicPopup.show({ 12 | templateUrl: "templates/image-uploader.html", 13 | scope : $scope 14 | }); 15 | imageUploaderPopup.then(function(res) { 16 | }); 17 | } 18 | 19 | $scope.closeUploader = function(){ 20 | imageUploaderPopup.close(); 21 | } 22 | 23 | $scope.setNewPic = function(newValue){ 24 | $scope.uploadedPic = newValue; 25 | $scope.closeUploader(); 26 | } 27 | }) -------------------------------------------------------------------------------- /www/img/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/img/default.png -------------------------------------------------------------------------------- /www/img/ionic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/img/ionic.png -------------------------------------------------------------------------------- /www/js/app.js: -------------------------------------------------------------------------------- 1 | // Ionic Starter App 2 | 3 | // angular.module is a global place for creating, registering and retrieving Angular modules 4 | // 'starter' is the name of this angular module example (also set in a attribute in index.html) 5 | // the 2nd parameter is an array of 'requires' 6 | angular.module('ProfileDemoController' , ['ngImgCrop']) 7 | 8 | angular.module('ProfileDemo', ['ionic', 'ProfileDemoController']) 9 | 10 | .run(function($ionicPlatform) { 11 | $ionicPlatform.ready(function() { 12 | // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard 13 | // for form inputs) 14 | if(window.cordova && window.cordova.plugins.Keyboard) { 15 | cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); 16 | } 17 | if(window.StatusBar) { 18 | StatusBar.styleDefault(); 19 | } 20 | }); 21 | }) 22 | 23 | .config(function($ionicConfigProvider, $stateProvider, $urlRouterProvider) { 24 | $ionicConfigProvider.templates.maxPrefetch(0); 25 | $stateProvider 26 | 27 | .state('app', { 28 | url: "/app", 29 | templateUrl: "templates/profile.html", 30 | controller: 'ProfileCtrl' 31 | }) 32 | 33 | $urlRouterProvider.otherwise('/app'); 34 | }).constant('underscore',window._); 35 | -------------------------------------------------------------------------------- /www/lib/angular-animate/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.3.13", 4 | "main": "./angular-animate.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.3.13" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-animate", 10 | "_release": "1.3.13", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.3.13", 14 | "commit": "f18cb98590471ad9c1e5ae0e57178e9ecb8d384c" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-animate.git", 17 | "_target": "1.3.13", 18 | "_originalSource": "angular-animate" 19 | } -------------------------------------------------------------------------------- /www/lib/angular-animate/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.3.13", 4 | "main": "./angular-animate.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.3.13" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /www/lib/angular-animate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.3.13", 4 | "description": "AngularJS module for animations", 5 | "main": "angular-animate.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "animation", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /www/lib/angular-sanitize/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.3.13", 4 | "main": "./angular-sanitize.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.3.13" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-sanitize", 10 | "_release": "1.3.13", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.3.13", 14 | "commit": "ee7a595d32ae566701da29873eb1dfb466e3cfef" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-sanitize.git", 17 | "_target": "1.3.13", 18 | "_originalSource": "angular-sanitize" 19 | } -------------------------------------------------------------------------------- /www/lib/angular-sanitize/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.3.13", 4 | "main": "./angular-sanitize.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.3.13" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /www/lib/angular-sanitize/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.3.13", 4 | "description": "AngularJS module for sanitizing HTML", 5 | "main": "angular-sanitize.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "html", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /www/lib/angular-ui-router/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.13", 4 | "main": "./release/angular-ui-router.js", 5 | "dependencies": { 6 | "angular": ">= 1.0.8" 7 | }, 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "component.json", 13 | "package.json", 14 | "lib", 15 | "config", 16 | "sample", 17 | "test", 18 | "tests", 19 | "ngdoc_assets", 20 | "Gruntfile.js", 21 | "files.js" 22 | ], 23 | "homepage": "https://github.com/angular-ui/ui-router", 24 | "_release": "0.2.13", 25 | "_resolution": { 26 | "type": "version", 27 | "tag": "0.2.13", 28 | "commit": "c3d543aae43d4600512520a0d70723ac31f2cb62" 29 | }, 30 | "_source": "git://github.com/angular-ui/ui-router.git", 31 | "_target": "0.2.13", 32 | "_originalSource": "angular-ui-router" 33 | } -------------------------------------------------------------------------------- /www/lib/angular-ui-router/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2014 The AngularUI Team, Karsten Sperling 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /www/lib/angular-ui-router/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.13", 4 | "main": "./release/angular-ui-router.js", 5 | "dependencies": { 6 | "angular": ">= 1.0.8" 7 | }, 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "component.json", 13 | "package.json", 14 | "lib", 15 | "config", 16 | "sample", 17 | "test", 18 | "tests", 19 | "ngdoc_assets", 20 | "Gruntfile.js", 21 | "files.js" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /www/lib/angular-ui-router/src/stateFilters.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @ngdoc filter 3 | * @name ui.router.state.filter:isState 4 | * 5 | * @requires ui.router.state.$state 6 | * 7 | * @description 8 | * Translates to {@link ui.router.state.$state#methods_is $state.is("stateName")}. 9 | */ 10 | $IsStateFilter.$inject = ['$state']; 11 | function $IsStateFilter($state) { 12 | var isFilter = function (state) { 13 | return $state.is(state); 14 | }; 15 | isFilter.$stateful = true; 16 | return isFilter; 17 | } 18 | 19 | /** 20 | * @ngdoc filter 21 | * @name ui.router.state.filter:includedByState 22 | * 23 | * @requires ui.router.state.$state 24 | * 25 | * @description 26 | * Translates to {@link ui.router.state.$state#methods_includes $state.includes('fullOrPartialStateName')}. 27 | */ 28 | $IncludedByStateFilter.$inject = ['$state']; 29 | function $IncludedByStateFilter($state) { 30 | var includesFilter = function (state) { 31 | return $state.includes(state); 32 | }; 33 | includesFilter.$stateful = true; 34 | return includesFilter; 35 | } 36 | 37 | angular.module('ui.router.state') 38 | .filter('isState', $IsStateFilter) 39 | .filter('includedByState', $IncludedByStateFilter); 40 | -------------------------------------------------------------------------------- /www/lib/angular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.3.13", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": {}, 7 | "homepage": "https://github.com/angular/bower-angular", 8 | "_release": "1.3.13", 9 | "_resolution": { 10 | "type": "version", 11 | "tag": "v1.3.13", 12 | "commit": "ad68cfecb69ff7cacb27813377ce9d95e072529b" 13 | }, 14 | "_source": "git://github.com/angular/bower-angular.git", 15 | "_target": "1.3.13", 16 | "_originalSource": "angular" 17 | } -------------------------------------------------------------------------------- /www/lib/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide:not(.ng-hide-animate) { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | -------------------------------------------------------------------------------- /www/lib/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/lib/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /www/lib/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.3.13", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/lib/angular/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.3.13", 4 | "description": "HTML enhanced for web apps", 5 | "main": "angular.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "client-side" 18 | ], 19 | "author": "Angular Core Team ", 20 | "license": "MIT", 21 | "bugs": { 22 | "url": "https://github.com/angular/angular.js/issues" 23 | }, 24 | "homepage": "http://angularjs.org" 25 | } 26 | -------------------------------------------------------------------------------- /www/lib/ionic/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic", 3 | "version": "1.0.0-rc.3", 4 | "codename": "radium-raccoon", 5 | "homepage": "https://github.com/driftyco/ionic", 6 | "authors": [ 7 | "Max Lynch ", 8 | "Adam Bradley ", 9 | "Ben Sperry " 10 | ], 11 | "description": "Advanced HTML5 hybrid mobile app development framework.", 12 | "main": [ 13 | "css/ionic.css", 14 | "fonts/*", 15 | "js/ionic.js", 16 | "js/ionic-angular.js" 17 | ], 18 | "keywords": [ 19 | "mobile", 20 | "html5", 21 | "ionic", 22 | "cordova", 23 | "phonegap", 24 | "trigger", 25 | "triggerio", 26 | "angularjs", 27 | "angular" 28 | ], 29 | "license": "MIT", 30 | "private": false, 31 | "dependencies": { 32 | "angular": "1.3.13", 33 | "angular-animate": "1.3.13", 34 | "angular-sanitize": "1.3.13", 35 | "angular-ui-router": "0.2.13" 36 | }, 37 | "_release": "1.0.0-rc.3", 38 | "_resolution": { 39 | "type": "version", 40 | "tag": "v1.0.0-rc.3", 41 | "commit": "c55723a8fe5f13c9d5dc6a1844f4459c1d6e5adf" 42 | }, 43 | "_source": "git://github.com/driftyco/ionic-bower.git", 44 | "_target": "1.0.0-rc.3", 45 | "_originalSource": "driftyco/ionic-bower" 46 | } -------------------------------------------------------------------------------- /www/lib/ionic/README.md: -------------------------------------------------------------------------------- 1 | # ionic-bower 2 | 3 | Bower repository for [Ionic Framework](http://github.com/driftyco/ionic) 4 | 5 | ### Usage 6 | 7 | Include `js/ionic.bundle.js` to get ionic and all of its dependencies. 8 | 9 | Alternatively, include the individual ionic files with the dependencies separately. 10 | 11 | ### Versions 12 | 13 | To install the latest stable version, `bower install driftyco/ionic-bower#v1.0.0-beta.13` 14 | 15 | To install the latest nightly release, `bower install driftyco/ionic-bower#master` 16 | -------------------------------------------------------------------------------- /www/lib/ionic/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic", 3 | "version": "1.0.0-rc.3", 4 | "codename": "radium-raccoon", 5 | "homepage": "https://github.com/driftyco/ionic", 6 | "authors": [ 7 | "Max Lynch ", 8 | "Adam Bradley ", 9 | "Ben Sperry " 10 | ], 11 | "description": "Advanced HTML5 hybrid mobile app development framework.", 12 | "main": [ 13 | "css/ionic.css", 14 | "fonts/*", 15 | "js/ionic.js", 16 | "js/ionic-angular.js" 17 | ], 18 | "keywords": [ 19 | "mobile", 20 | "html5", 21 | "ionic", 22 | "cordova", 23 | "phonegap", 24 | "trigger", 25 | "triggerio", 26 | "angularjs", 27 | "angular" 28 | ], 29 | "license": "MIT", 30 | "private": false, 31 | "dependencies": { 32 | "angular": "1.3.13", 33 | "angular-animate": "1.3.13", 34 | "angular-sanitize": "1.3.13", 35 | "angular-ui-router": "0.2.13" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/lib/ionic/fonts/ionicons.eot -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/lib/ionic/fonts/ionicons.ttf -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/lib/ionic/fonts/ionicons.woff -------------------------------------------------------------------------------- /www/lib/ionic/scss/_animations.scss: -------------------------------------------------------------------------------- 1 | 2 | // Slide up from the bottom, used for modals 3 | // ------------------------------- 4 | 5 | .slide-in-up { 6 | @include translate3d(0, 100%, 0); 7 | } 8 | .slide-in-up.ng-enter, 9 | .slide-in-up > .ng-enter { 10 | @include transition(all cubic-bezier(.1, .7, .1, 1) 400ms); 11 | } 12 | .slide-in-up.ng-enter-active, 13 | .slide-in-up > .ng-enter-active { 14 | @include translate3d(0, 0, 0); 15 | } 16 | 17 | .slide-in-up.ng-leave, 18 | .slide-in-up > .ng-leave { 19 | @include transition(all ease-in-out 250ms); 20 | } 21 | 22 | 23 | // Scale Out 24 | // Scale from hero (1 in this case) to zero 25 | // ------------------------------- 26 | 27 | @-webkit-keyframes scaleOut { 28 | from { -webkit-transform: scale(1); opacity: 1; } 29 | to { -webkit-transform: scale(0.8); opacity: 0; } 30 | } 31 | @keyframes scaleOut { 32 | from { transform: scale(1); opacity: 1; } 33 | to { transform: scale(0.8); opacity: 0; } 34 | } 35 | 36 | 37 | // Super Scale In 38 | // Scale from super (1.x) to duper (1 in this case) 39 | // ------------------------------- 40 | 41 | @-webkit-keyframes superScaleIn { 42 | from { -webkit-transform: scale(1.2); opacity: 0; } 43 | to { -webkit-transform: scale(1); opacity: 1 } 44 | } 45 | @keyframes superScaleIn { 46 | from { transform: scale(1.2); opacity: 0; } 47 | to { transform: scale(1); opacity: 1; } 48 | } 49 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_backdrop.scss: -------------------------------------------------------------------------------- 1 | 2 | .backdrop { 3 | position: fixed; 4 | top: 0; 5 | left: 0; 6 | z-index: $z-index-backdrop; 7 | 8 | width: 100%; 9 | height: 100%; 10 | 11 | background-color: $loading-backdrop-bg-color; 12 | 13 | visibility: hidden; 14 | opacity: 0; 15 | 16 | &.visible { 17 | visibility: visible; 18 | } 19 | &.active { 20 | opacity: 1; 21 | } 22 | 23 | @include transition($loading-backdrop-fadein-duration opacity linear); 24 | } 25 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_button-bar.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Button Bar 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .button-bar { 8 | @include display-flex(); 9 | @include flex(1); 10 | width: 100%; 11 | 12 | &.button-bar-inline { 13 | display: block; 14 | width: auto; 15 | 16 | @include clearfix(); 17 | 18 | > .button { 19 | width: auto; 20 | display: inline-block; 21 | float: left; 22 | } 23 | } 24 | } 25 | 26 | .button-bar > .button { 27 | @include flex(1); 28 | display: block; 29 | 30 | overflow: hidden; 31 | 32 | padding: 0 16px; 33 | 34 | width: 0; 35 | 36 | border-width: 1px 0px 1px 1px; 37 | border-radius: 0; 38 | text-align: center; 39 | text-overflow: ellipsis; 40 | white-space: nowrap; 41 | 42 | &:before, 43 | .icon:before { 44 | line-height: 44px; 45 | } 46 | 47 | &:first-child { 48 | border-radius: $button-border-radius 0px 0px $button-border-radius; 49 | } 50 | &:last-child { 51 | border-right-width: 1px; 52 | border-radius: 0px $button-border-radius $button-border-radius 0px; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_loaders.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Loaders (Spinners) 3 | * -------------------------------------------------- 4 | */ 5 | 6 | svg.loader { 7 | width: 28px; 8 | height: 28px; 9 | stroke: #333; 10 | fill: #333; 11 | } 12 | 13 | .loader-ios, 14 | .loader-ios-small { 15 | 16 | line { 17 | stroke: #69717d; 18 | } 19 | 20 | } 21 | 22 | .loader-android { 23 | 24 | circle { 25 | stroke: #4b8bf4; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_loading.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Loading 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .loading-container { 8 | position: absolute; 9 | left: 0; 10 | top: 0; 11 | right: 0; 12 | bottom: 0; 13 | 14 | z-index: $z-index-loading; 15 | 16 | @include display-flex(); 17 | @include justify-content(center); 18 | @include align-items(center); 19 | 20 | @include transition(0.2s opacity linear); 21 | visibility: hidden; 22 | opacity: 0; 23 | 24 | &:not(.visible) .icon { 25 | display: none; 26 | } 27 | &.visible { 28 | visibility: visible; 29 | } 30 | &.active { 31 | opacity: 1; 32 | } 33 | 34 | .loading { 35 | padding: $loading-padding; 36 | 37 | border-radius: $loading-border-radius; 38 | background-color: $loading-bg-color; 39 | 40 | color: $loading-text-color; 41 | 42 | text-align: center; 43 | text-overflow: ellipsis; 44 | font-size: $loading-font-size; 45 | 46 | h1, h2, h3, h4, h5, h6 { 47 | color: $loading-text-color; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_menu.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Menus 4 | * -------------------------------------------------- 5 | * Side panel structure 6 | */ 7 | 8 | .menu { 9 | position: absolute; 10 | top: 0; 11 | bottom: 0; 12 | z-index: $z-index-menu; 13 | overflow: hidden; 14 | 15 | min-height: 100%; 16 | max-height: 100%; 17 | width: $menu-width; 18 | 19 | background-color: $menu-bg; 20 | 21 | .scroll-content { 22 | z-index: $z-index-menu-scroll-content; 23 | } 24 | 25 | .bar-header { 26 | z-index: $z-index-menu-bar-header; 27 | } 28 | } 29 | 30 | .menu-content { 31 | @include transform(none); 32 | box-shadow: $menu-side-shadow; 33 | } 34 | 35 | .menu-open .menu-content .pane, 36 | .menu-open .menu-content .scroll-content { 37 | pointer-events: none; 38 | } 39 | 40 | .grade-b .menu-content, 41 | .grade-c .menu-content { 42 | @include box-sizing(content-box); 43 | right: -1px; 44 | left: -1px; 45 | border-right: 1px solid #ccc; 46 | border-left: 1px solid #ccc; 47 | box-shadow: none; 48 | } 49 | 50 | .menu-left { 51 | left: 0; 52 | } 53 | 54 | .menu-right { 55 | right: 0; 56 | } 57 | 58 | .aside-open.aside-resizing .menu-right { 59 | display: none; 60 | } 61 | 62 | .menu-animated { 63 | @include transition-transform($menu-animation-speed ease); 64 | } 65 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_progress.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Progress 4 | * -------------------------------------------------- 5 | */ 6 | 7 | progress { 8 | display: block; 9 | margin: $progress-margin; 10 | width: $progress-width; 11 | } 12 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_radio.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Radio Button Inputs 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .item-radio { 8 | padding: 0; 9 | 10 | &:hover { 11 | cursor: pointer; 12 | } 13 | } 14 | 15 | .item-radio .item-content { 16 | /* give some room to the right for the checkmark icon */ 17 | padding-right: $item-padding * 4; 18 | } 19 | 20 | .item-radio .radio-icon { 21 | /* checkmark icon will be hidden by default */ 22 | position: absolute; 23 | top: 0; 24 | right: 0; 25 | z-index: $z-index-item-radio; 26 | visibility: hidden; 27 | padding: $item-padding - 2; 28 | height: 100%; 29 | font-size: 24px; 30 | } 31 | 32 | .item-radio input { 33 | /* hide any radio button inputs elements (the ugly circles) */ 34 | position: absolute; 35 | left: -9999px; 36 | 37 | &:checked ~ .item-content { 38 | /* style the item content when its checked */ 39 | background: #f7f7f7; 40 | } 41 | 42 | &:checked ~ .radio-icon { 43 | /* show the checkmark icon when its checked */ 44 | visibility: visible; 45 | } 46 | } 47 | 48 | // Hack for Android to correctly display the checked item 49 | // http://timpietrusky.com/advanced-checkbox-hack 50 | .platform-android.grade-b .item-radio, 51 | .platform-android.grade-c .item-radio { 52 | -webkit-animation: androidCheckedbugfix infinite 1s; 53 | } 54 | @-webkit-keyframes androidCheckedbugfix { 55 | from { padding: 0; } 56 | to { padding: 0; } 57 | } 58 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_slide-box.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Slide Box 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .slider { 8 | position: relative; 9 | visibility: hidden; 10 | // Make sure items don't scroll over ever 11 | overflow: hidden; 12 | } 13 | 14 | .slider-slides { 15 | position: relative; 16 | height: 100%; 17 | } 18 | 19 | .slider-slide { 20 | position: relative; 21 | display: block; 22 | float: left; 23 | width: 100%; 24 | height: 100%; 25 | vertical-align: top; 26 | } 27 | 28 | .slider-slide-image { 29 | > img { 30 | width: 100%; 31 | } 32 | } 33 | 34 | .slider-pager { 35 | position: absolute; 36 | bottom: 20px; 37 | z-index: $z-index-slider-pager; 38 | width: 100%; 39 | height: 15px; 40 | text-align: center; 41 | 42 | .slider-pager-page { 43 | display: inline-block; 44 | margin: 0px 3px; 45 | width: 15px; 46 | color: #000; 47 | text-decoration: none; 48 | 49 | opacity: 0.3; 50 | 51 | &.active { 52 | @include transition(opacity 0.4s ease-in); 53 | opacity: 1; 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_split-pane.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Split Pane 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .split-pane { 8 | @include display-flex(); 9 | @include align-items(stretch); 10 | width: 100%; 11 | height: 100%; 12 | } 13 | 14 | .split-pane-menu { 15 | @include flex(0, 0, $split-pane-menu-width); 16 | 17 | overflow-y: auto; 18 | width: $split-pane-menu-width; 19 | height: 100%; 20 | border-right: 1px solid $split-pane-menu-border-color; 21 | 22 | @media all and (max-width: 568px) { 23 | border-right: none; 24 | } 25 | } 26 | 27 | .split-pane-content { 28 | @include flex(1, 0, auto); 29 | } 30 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/ionic.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | @import 4 | // Ionicons 5 | "ionicons/ionicons.scss", 6 | 7 | // Variables 8 | "mixins", 9 | "variables", 10 | 11 | // Base 12 | "reset", 13 | "scaffolding", 14 | "type", 15 | 16 | // Components 17 | "action-sheet", 18 | "backdrop", 19 | "bar", 20 | "tabs", 21 | "menu", 22 | "modal", 23 | "popover", 24 | "popup", 25 | "loading", 26 | "items", 27 | "list", 28 | "badge", 29 | "slide-box", 30 | "refresher", 31 | "spinner", 32 | 33 | // Forms 34 | "form", 35 | "checkbox", 36 | "toggle", 37 | "radio", 38 | "range", 39 | "select", 40 | "progress", 41 | 42 | // Buttons 43 | "button", 44 | "button-bar", 45 | 46 | // Util 47 | "grid", 48 | "util", 49 | "platform", 50 | 51 | // Animations 52 | "animations", 53 | "transitions"; 54 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/ionicons/_ionicons-font.scss: -------------------------------------------------------------------------------- 1 | // Ionicons Font Path 2 | // -------------------------- 3 | 4 | @font-face { 5 | font-family: $ionicons-font-family; 6 | src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}"); 7 | src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}#iefix") format("embedded-opentype"), 8 | url("#{$ionicons-font-path}/ionicons.ttf?v=#{$ionicons-version}") format("truetype"), 9 | url("#{$ionicons-font-path}/ionicons.woff?v=#{$ionicons-version}") format("woff"), 10 | url("#{$ionicons-font-path}/ionicons.svg?v=#{$ionicons-version}#Ionicons") format("svg"); 11 | font-weight: normal; 12 | font-style: normal; 13 | } 14 | 15 | .ion { 16 | display: inline-block; 17 | font-family: $ionicons-font-family; 18 | speak: none; 19 | font-style: normal; 20 | font-weight: normal; 21 | font-variant: normal; 22 | text-transform: none; 23 | text-rendering: auto; 24 | line-height: 1; 25 | -webkit-font-smoothing: antialiased; 26 | -moz-osx-font-smoothing: grayscale; 27 | } -------------------------------------------------------------------------------- /www/lib/ionic/scss/ionicons/ionicons.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | @import "ionicons-variables"; 3 | /*! 4 | Ionicons, v2.0.1 5 | Created by Ben Sperry for the Ionic Framework, http://ionicons.com/ 6 | https://twitter.com/benjsperry https://twitter.com/ionicframework 7 | MIT License: https://github.com/driftyco/ionicons 8 | 9 | Android-style icons originally built by Google’s 10 | Material Design Icons: https://github.com/google/material-design-icons 11 | used under CC BY http://creativecommons.org/licenses/by/4.0/ 12 | Modified icons to fit ionicon’s grid from original. 13 | */ 14 | 15 | @import "ionicons-font"; 16 | @import "ionicons-icons"; 17 | -------------------------------------------------------------------------------- /www/lib/ng-img-crop/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ng-img-crop", 3 | "version": "0.3.2", 4 | "authors": [ 5 | "Alex Kaul " 6 | ], 7 | "description": "Image crop directive for AngularJS", 8 | "main": [ 9 | "compile/minified/ng-img-crop.js", 10 | "compile/minified/ng-img-crop.css" 11 | ], 12 | "keywords": [ 13 | "angular", 14 | "image", 15 | "crop", 16 | "cropper" 17 | ], 18 | "license": "MIT", 19 | "homepage": "https://github.com/alexk111/ngImgCrop", 20 | "ignore": [ 21 | "node_modules", 22 | "bower_components", 23 | "test" 24 | ], 25 | "devDependencies": { 26 | "angular": "~1.2.19" 27 | }, 28 | "_release": "0.3.2", 29 | "_resolution": { 30 | "type": "version", 31 | "tag": "v0.3.2", 32 | "commit": "8f29783e69e8e74cf76b278e42d3ad686f209ace" 33 | }, 34 | "_source": "git://github.com/alexk111/ngImgCrop.git", 35 | "_target": "~0.3.2", 36 | "_originalSource": "ng-img-crop" 37 | } -------------------------------------------------------------------------------- /www/lib/ng-img-crop/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /www/lib/ng-img-crop/.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # ========================= 18 | # Operating System Files 19 | # ========================= 20 | 21 | # OSX 22 | # ========================= 23 | 24 | .DS_Store 25 | .AppleDouble 26 | .LSOverride 27 | 28 | # Icon must ends with two \r. 29 | Icon 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear on external disk 35 | .Spotlight-V100 36 | .Trashes 37 | 38 | 39 | # SASS Cache 40 | .sass_cache/ 41 | 42 | # Installed Bower/Node modules 43 | bower_components/ 44 | node_modules/ 45 | -------------------------------------------------------------------------------- /www/lib/ng-img-crop/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "globalstrict": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "immed": true, 6 | "noempty": true, 7 | "noarg": true, 8 | "quotmark": "single", 9 | "undef": true, 10 | "eqnull": true, 11 | "freeze": true, 12 | "indent": 2, 13 | "newcap": true, 14 | "latedef": false, 15 | "trailing": true, 16 | "globals": { 17 | "angular": true, 18 | "require": true, 19 | "console": true, 20 | "process": true, 21 | "crop": true, 22 | "CropHost": true, 23 | "PubSub": true 24 | } 25 | } -------------------------------------------------------------------------------- /www/lib/ng-img-crop/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Alex Kaul 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /www/lib/ng-img-crop/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ng-img-crop", 3 | "version": "0.3.2", 4 | "authors": [ 5 | "Alex Kaul " 6 | ], 7 | "description": "Image crop directive for AngularJS", 8 | "main": [ 9 | "compile/minified/ng-img-crop.js", 10 | "compile/minified/ng-img-crop.css" 11 | ], 12 | "keywords": [ 13 | "angular", 14 | "image", 15 | "crop", 16 | "cropper" 17 | ], 18 | "license": "MIT", 19 | "homepage": "https://github.com/alexk111/ngImgCrop", 20 | "ignore": [ 21 | "node_modules", 22 | "bower_components", 23 | "test" 24 | ], 25 | "devDependencies": { 26 | "angular": "~1.2.19" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /www/lib/ng-img-crop/compile/minified/ng-img-crop.css: -------------------------------------------------------------------------------- 1 | img-crop{width:100%;height:100%;display:block;position:relative;overflow:hidden}img-crop canvas{display:block;position:absolute;top:50%;left:50%;outline:0;-webkit-tap-highlight-color:transparent} -------------------------------------------------------------------------------- /www/lib/ng-img-crop/compile/unminified/ng-img-crop.css: -------------------------------------------------------------------------------- 1 | /* line 1, ../../source/scss/ng-img-crop.scss */ 2 | img-crop { 3 | width: 100%; 4 | height: 100%; 5 | display: block; 6 | position: relative; 7 | overflow: hidden; 8 | } 9 | /* line 7, ../../source/scss/ng-img-crop.scss */ 10 | img-crop canvas { 11 | display: block; 12 | position: absolute; 13 | top: 50%; 14 | left: 50%; 15 | outline: none; 16 | -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 17 | /* mobile webkit */ 18 | } 19 | -------------------------------------------------------------------------------- /www/lib/ng-img-crop/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "name": "Alex Kaul", 4 | "email": "alexkaul@googlemail.com" 5 | }, 6 | "name": "ng-img-crop", 7 | "prettyName": "ngImgCrop", 8 | "version": "0.3.2", 9 | "description": "Image crop directive for AngularJS", 10 | "license": "MIT", 11 | "homepage": "https://github.com/alexk111/ngImgCrop", 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/alexk111/ngImgCrop.git" 15 | }, 16 | "dependencies": {}, 17 | "devDependencies": { 18 | "connect-livereload": "^0.4.0", 19 | "express": "^4.4.5", 20 | "gulp": "^3.8.5", 21 | "gulp-autoprefixer": "0.0.8", 22 | "gulp-compass": "^1.1.9", 23 | "gulp-concat": "^2.2.0", 24 | "gulp-concat-util": "^0.2.3", 25 | "gulp-header": "^1.0.2", 26 | "gulp-jshint": "^1.6.4", 27 | "gulp-livereload": "^2.1.0", 28 | "gulp-minify-css": "^0.3.6", 29 | "gulp-ng-annotate": "^0.2.0", 30 | "gulp-open": "^0.2.8", 31 | "gulp-plumber": "^0.6.3", 32 | "gulp-rimraf": "^0.1.0", 33 | "gulp-uglify": "^0.3.1", 34 | "gulp-util": "^2.2.19", 35 | "jshint-stylish": "^0.2.0", 36 | "minimist": "^0.2.0", 37 | "opn": "^0.1.2", 38 | "tiny-lr": "0.0.7" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /www/lib/ng-img-crop/screenshots/circle_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/lib/ng-img-crop/screenshots/circle_1.jpg -------------------------------------------------------------------------------- /www/lib/ng-img-crop/screenshots/square_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkatney/ProfileImageUpload-AngularJS/9f5b06e13455699d204f902f99d8c08771690759/www/lib/ng-img-crop/screenshots/square_1.jpg -------------------------------------------------------------------------------- /www/lib/ng-img-crop/source/js/classes/crop-pubsub.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | crop.factory('cropPubSub', [function() { 4 | return function() { 5 | var events = {}; 6 | // Subscribe 7 | this.on = function(names, handler) { 8 | names.split(' ').forEach(function(name) { 9 | if (!events[name]) { 10 | events[name] = []; 11 | } 12 | events[name].push(handler); 13 | }); 14 | return this; 15 | }; 16 | // Publish 17 | this.trigger = function(name, args) { 18 | angular.forEach(events[name], function(handler) { 19 | handler.call(null, args); 20 | }); 21 | return this; 22 | }; 23 | }; 24 | }]); -------------------------------------------------------------------------------- /www/lib/ng-img-crop/source/js/init.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var crop = angular.module('ngImgCrop', []); -------------------------------------------------------------------------------- /www/lib/ng-img-crop/source/scss/ng-img-crop.scss: -------------------------------------------------------------------------------- 1 | img-crop { 2 | width:100%; 3 | height:100%; 4 | display:block; 5 | position:relative; 6 | overflow:hidden; 7 | canvas { 8 | display:block; 9 | position:absolute; 10 | top:50%; 11 | left:50%; 12 | 13 | // Disable Outline 14 | outline: none; 15 | -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */ 16 | } 17 | } -------------------------------------------------------------------------------- /www/templates/image-uploader.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 | 7 | 8 | 9 |
10 |
11 | 24 |
25 |
26 |
-------------------------------------------------------------------------------- /www/templates/profile.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 |
7 | 11 | 15 | 19 |
20 |
21 |
--------------------------------------------------------------------------------