├── .gitignore ├── .jscsrc ├── .jshintrc ├── README.md ├── bower.json ├── config.xml ├── gulpfile.js ├── hooks ├── README.md └── after_prepare │ └── 010_add_platform_class.js ├── 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 │ ├── HelloCordova.xcodeproj │ │ └── project.pbxproj │ ├── HelloCordova │ │ ├── .gitignore │ │ ├── Classes │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── MainViewController.h │ │ │ ├── MainViewController.m │ │ │ └── MainViewController.xib │ │ ├── HelloCordova-Info.plist │ │ ├── HelloCordova-Prefix.pch │ │ ├── Plugins │ │ │ ├── README │ │ │ ├── com.ionic.keyboard │ │ │ │ ├── IonicKeyboard.h │ │ │ │ ├── IonicKeyboard.m │ │ │ │ ├── UIWebViewExtension.h │ │ │ │ └── UIWebViewExtension.m │ │ │ ├── cordova-plugin-console │ │ │ │ ├── CDVLogger.h │ │ │ │ └── CDVLogger.m │ │ │ ├── cordova-plugin-device │ │ │ │ ├── CDVDevice.h │ │ │ │ └── CDVDevice.m │ │ │ └── cordova-plugin-splashscreen │ │ │ │ ├── CDVSplashScreen.h │ │ │ │ ├── CDVSplashScreen.m │ │ │ │ ├── CDVViewController+SplashScreen.h │ │ │ │ └── CDVViewController+SplashScreen.m │ │ ├── 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 │ │ ├── node_modules │ │ │ ├── nopt │ │ │ │ ├── LICENSE │ │ │ │ ├── lib │ │ │ │ │ └── nopt.js │ │ │ │ ├── node_modules │ │ │ │ │ └── abbrev │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── abbrev.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── q │ │ │ │ ├── LICENSE │ │ │ │ ├── package.json │ │ │ │ ├── q.js │ │ │ │ └── queue.js │ │ │ └── shelljs │ │ │ │ ├── LICENSE │ │ │ │ ├── package.json │ │ │ │ └── shell.js │ │ ├── run │ │ ├── run.bat │ │ ├── version │ │ └── version.bat │ ├── platform_www │ │ └── cordova.js │ └── www │ │ ├── README.md │ │ ├── cordova.js │ │ ├── cordova_plugins.js │ │ ├── css │ │ └── style.css │ │ ├── img │ │ └── ionic.png │ │ ├── index.html │ │ ├── js │ │ ├── app.js │ │ ├── controllers.js │ │ └── services.js │ │ ├── lib │ │ └── ionic │ │ │ ├── css │ │ │ ├── ionic.css │ │ │ └── ionic.min.css │ │ │ ├── fonts │ │ │ ├── ionicons.eot │ │ │ ├── ionicons.svg │ │ │ ├── ionicons.ttf │ │ │ └── ionicons.woff │ │ │ ├── js │ │ │ ├── angular-ui │ │ │ │ ├── angular-ui-router.js │ │ │ │ └── angular-ui-router.min.js │ │ │ ├── angular │ │ │ │ ├── angular-animate.js │ │ │ │ ├── angular-animate.min.js │ │ │ │ ├── angular-resource.js │ │ │ │ ├── angular-resource.min.js │ │ │ │ ├── angular-sanitize.js │ │ │ │ ├── angular-sanitize.min.js │ │ │ │ ├── angular.js │ │ │ │ └── angular.min.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 │ │ │ ├── _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 │ │ │ ├── _tabs.scss │ │ │ ├── _toggle.scss │ │ │ ├── _transitions.scss │ │ │ ├── _type.scss │ │ │ ├── _util.scss │ │ │ ├── _variables.scss │ │ │ ├── ionic.scss │ │ │ └── ionicons │ │ │ │ ├── _ionicons-font.scss │ │ │ │ ├── _ionicons-icons.scss │ │ │ │ ├── _ionicons-variables.scss │ │ │ │ └── ionicons.scss │ │ │ └── version.json │ │ ├── plugins │ │ ├── com.ionic.keyboard │ │ │ └── www │ │ │ │ └── keyboard.js │ │ ├── cordova-plugin-console │ │ │ └── www │ │ │ │ ├── console-via-logger.js │ │ │ │ └── logger.js │ │ ├── cordova-plugin-device │ │ │ └── www │ │ │ │ └── device.js │ │ └── cordova-plugin-splashscreen │ │ │ └── www │ │ │ └── splashscreen.js │ │ └── templates │ │ ├── chat-detail.html │ │ ├── tab-account.html │ │ ├── tab-chats.html │ │ ├── tab-dash.html │ │ └── tabs.html └── platforms.json ├── 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 ├── cordova-plugin-console │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── ios │ │ │ ├── CDVLogger.h │ │ │ └── CDVLogger.m │ │ ├── ubuntu │ │ │ ├── console.cpp │ │ │ └── console.h │ │ └── wp │ │ │ └── DebugConsole.cs │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ ├── console-via-logger.js │ │ └── logger.js ├── cordova-plugin-device │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── 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 │ │ └── wp │ │ │ └── Device.cs │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ └── device.js ├── cordova-plugin-splashscreen │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── SplashScreen.java │ │ ├── blackberry10 │ │ │ └── index.js │ │ ├── browser │ │ │ └── SplashScreenProxy.js │ │ ├── ios │ │ │ ├── CDVSplashScreen.h │ │ │ ├── CDVSplashScreen.m │ │ │ ├── CDVViewController+SplashScreen.h │ │ │ └── CDVViewController+SplashScreen.m │ │ ├── tizen │ │ │ └── SplashScreenProxy.js │ │ ├── ubuntu │ │ │ ├── splashscreen.cpp │ │ │ └── splashscreen.h │ │ └── wp │ │ │ ├── ResolutionHelper.cs │ │ │ └── SplashScreen.cs │ ├── tests │ │ ├── ios │ │ │ ├── CDVSplashScreenTest.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── CordovaLib.xcscheme │ │ │ ├── CDVSplashScreenTest │ │ │ │ ├── .npmignore │ │ │ │ ├── CDVSplashScreenLibTests │ │ │ │ │ ├── ImageNameTest.m │ │ │ │ │ ├── ImageNameTestDelegates.h │ │ │ │ │ ├── ImageNameTestDelegates.m │ │ │ │ │ └── Info.plist │ │ │ │ └── CDVSplashScreenTest.xcodeproj │ │ │ │ │ ├── project.pbxproj │ │ │ │ │ ├── project.xcworkspace │ │ │ │ │ └── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ ├── CDVSplashScreenLib.xcscheme │ │ │ │ │ └── CDVSplashScreenLibTests.xcscheme │ │ │ ├── README.md │ │ │ ├── doc │ │ │ │ ├── de │ │ │ │ │ └── README.md │ │ │ │ ├── es │ │ │ │ │ └── README.md │ │ │ │ ├── fr │ │ │ │ │ └── README.md │ │ │ │ ├── it │ │ │ │ │ └── README.md │ │ │ │ ├── ja │ │ │ │ │ └── README.md │ │ │ │ ├── ko │ │ │ │ │ └── README.md │ │ │ │ ├── pl │ │ │ │ │ └── README.md │ │ │ │ └── zh │ │ │ │ │ └── README.md │ │ │ └── package.json │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ ├── splashscreen.js │ │ └── windows │ │ └── SplashScreenProxy.js ├── cordova-plugin-whitelist │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── WhitelistPlugin.java │ │ └── ios │ │ │ ├── CDVNavigationWhitelistPlugin.h │ │ │ └── CDVNavigationWhitelistPlugin.m │ └── whitelist.js ├── fetch.json └── ios.json ├── scss └── ionic.app.scss └── www ├── account ├── account.controller.js ├── account.module.js ├── account.route.js └── tab-account.html ├── app.module.js ├── blocks └── router │ ├── router.helperProvider.js │ └── router.module.js ├── chat ├── chat-detail.controller.js ├── chat-detail.html ├── chat.module.js ├── chat.route.js ├── chats.controller.js └── tab-chats.html ├── core ├── core.config.js ├── core.dataservices.js └── core.module.js ├── css └── style.css ├── dash ├── dash.controller.js ├── dash.module.js ├── dash.route.js └── tab-dash.html ├── img └── ionic.png ├── index.html ├── layout ├── layout.module.js ├── layout.route.js └── tabs.html └── lib └── ionic ├── css ├── ionic.css └── ionic.min.css ├── fonts ├── ionicons.eot ├── ionicons.svg ├── ionicons.ttf └── ionicons.woff ├── js ├── angular-ui │ ├── angular-ui-router.js │ └── angular-ui-router.min.js ├── angular │ ├── angular-animate.js │ ├── angular-animate.min.js │ ├── angular-resource.js │ ├── angular-resource.min.js │ ├── angular-sanitize.js │ ├── angular-sanitize.min.js │ ├── angular.js │ └── angular.min.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 ├── _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 ├── _tabs.scss ├── _toggle.scss ├── _transitions.scss ├── _type.scss ├── _util.scss ├── _variables.scss ├── ionic.scss └── ionicons │ ├── _ionicons-font.scss │ ├── _ionicons-icons.scss │ ├── _ionicons-variables.scss │ └── ionicons.scss └── version.json /.gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | *.keystore 3 | *.sw* 4 | *.log 5 | .tmp 6 | .sass-cache 7 | node_modules 8 | bower_components 9 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | // JSHint configuration as suggested by Angular Style Guide 3 | // https://github.com/johnpapa/angular-styleguide#style-y230 4 | 5 | "bitwise": true, 6 | "camelcase": true, 7 | "curly": true, 8 | "eqeqeq": true, 9 | "es3": false, 10 | "forin": true, 11 | "freeze": true, 12 | "immed": true, 13 | "indent": 4, 14 | "latedef": "nofunc", 15 | "newcap": true, 16 | "noarg": true, 17 | "noempty": true, 18 | "nonbsp": true, 19 | "nonew": true, 20 | "plusplus": false, 21 | "quotmark": "single", 22 | "undef": true, 23 | "unused": false, 24 | "strict": false, 25 | "maxparams": 10, 26 | "maxdepth": 5, 27 | "maxstatements": 40, 28 | "maxcomplexity": 8, 29 | "maxlen": 120, 30 | 31 | "asi": false, 32 | "boss": false, 33 | "debug": false, 34 | "eqnull": true, 35 | "esnext": false, 36 | "evil": false, 37 | "expr": false, 38 | "funcscope": false, 39 | "globalstrict": false, 40 | "iterator": false, 41 | "lastsemic": false, 42 | "laxbreak": false, 43 | "laxcomma": false, 44 | "loopfunc": true, 45 | "maxerr": false, 46 | "moz": false, 47 | "multistr": false, 48 | "notypeof": false, 49 | "proto": false, 50 | "scripturl": false, 51 | "shadow": false, 52 | "sub": true, 53 | "supernew": false, 54 | "validthis": false, 55 | "noyield": false, 56 | 57 | "browser": true, 58 | "node": true, 59 | 60 | "globals": { 61 | "angular": false, 62 | "$": false 63 | } 64 | } 65 | 66 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ionic-tabs-starter-angular-style 2 | Ionic tabbed view starter project refactored according to the Angular Style Guide 3 | 4 | The initial project was created using the command "ionic start ionic-tabs-starter-angular-style tabs". Then, it was refactored according to [Angular Style Guide] (https://github.com/johnpapa/angular-styleguide) by [@JohnPapa] (https://github.com/johnpapa). 5 | 6 | ## Installing 7 | 8 | Follow point 1 of [Ionic](http://ionicframework.com/getting-started/ "Getting Started with Ionic"). Then clone the project and install dependencies. 9 | 10 | ```bash 11 | $ npm install -g cordova ionic gulp 12 | $ git clone https://github.com/benevolentprof/ionic-tabs-starter-angular-style.git 13 | $ npm install 14 | ``` 15 | 16 | ## Starting the app in a browser 17 | 18 | 19 | ```bash 20 | $ ionic serve 21 | ``` 22 | 23 | ## Improvements and issues 24 | 25 | Feel free to collaborate creating a pull request or reporting an issue. -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "HelloIonic", 3 | "private": "true", 4 | "devDependencies": { 5 | "ionic": "driftyco/ionic-bower#1.0.1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ionic-tabs-starter-angular-style 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 | 20 | -------------------------------------------------------------------------------- /ionic.project: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic-tabs-starter-angular-style", 3 | "app_id": "" 4 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic-tabs-starter-angular-style", 3 | "version": "1.0.0", 4 | "description": "ionic-tabs-starter-angular-style: An Ionic project", 5 | "dependencies": { 6 | "gulp": "^3.9.1", 7 | "gulp-sass": "^2.3.2", 8 | "gulp-concat": "^2.2.0", 9 | "gulp-clean-css": "^2.0.12", 10 | "gulp-rename": "^1.2.0" 11 | }, 12 | "devDependencies": { 13 | "bower": "^1.3.3", 14 | "gulp-jscs": "^4.0.0", 15 | "gulp-jshint": "^2.0.1", 16 | "gulp-util": "^3.0.7", 17 | "jshint": "^2.8.0", 18 | "shelljs": "^0.3.0" 19 | }, 20 | "cordovaPlugins": [ 21 | "cordova-plugin-device", 22 | "cordova-plugin-console", 23 | "cordova-plugin-whitelist", 24 | "cordova-plugin-splashscreen", 25 | "com.ionic.keyboard" 26 | ], 27 | "cordovaPlatforms": [ 28 | "ios" 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /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/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/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/HelloCordova/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.perspectivev3 3 | *.pbxuser 4 | .DS_Store 5 | build/ 6 | -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/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 | // HelloCordova 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 HelloCordova-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/HelloCordova/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 | // HelloCordova 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/HelloCordova/HelloCordova-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 'HelloCordova' target in the 'HelloCordova' project 21 | // 22 | 23 | #ifdef __OBJC__ 24 | #import 25 | #import 26 | #endif 27 | -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/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/HelloCordova/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/HelloCordova/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/HelloCordova/Plugins/cordova-plugin-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/HelloCordova/Plugins/cordova-plugin-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/HelloCordova/Plugins/cordova-plugin-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/HelloCordova/Plugins/cordova-plugin-splashscreen/CDVSplashScreen.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 | typedef struct { 24 | BOOL iPhone; 25 | BOOL iPad; 26 | BOOL iPhone5; 27 | BOOL iPhone6; 28 | BOOL iPhone6Plus; 29 | BOOL retina; 30 | 31 | } CDV_iOSDevice; 32 | 33 | @interface CDVSplashScreen : CDVPlugin { 34 | UIActivityIndicatorView* _activityView; 35 | UIImageView* _imageView; 36 | NSString* _curImageName; 37 | BOOL _visible; 38 | } 39 | 40 | - (void)show:(CDVInvokedUrlCommand*)command; 41 | - (void)hide:(CDVInvokedUrlCommand*)command; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Plugins/cordova-plugin-splashscreen/CDVViewController+SplashScreen.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 CDVViewController (SplashScreen) 23 | 24 | @property (nonatomic, assign) BOOL enabledAutorotation; 25 | @property (nonatomic, readonly) BOOL shouldAutorotateDefaultValue; 26 | 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-40.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-40@2x.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-50.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-50@2x.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-60.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-60@2x.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-60@3x.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-72.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-72@2x.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-76.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-76@2x.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-small.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon-small@2x.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/icons/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/icons/icon@2x.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default-568h@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default-568h@2x~iphone.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default-667h.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default-736h.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default-Landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default-Landscape-736h.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default@2x~iphone.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/Resources/splash/Default~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/HelloCordova/Resources/splash/Default~iphone.png -------------------------------------------------------------------------------- /platforms/ios/HelloCordova/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 | // HelloCordova 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/node_modules/nopt/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter. 2 | All rights reserved. 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /platforms/ios/cordova/node_modules/nopt/node_modules/abbrev/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter. 2 | All rights reserved. 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /platforms/ios/cordova/node_modules/nopt/node_modules/abbrev/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "abbrev", 3 | "version": "1.0.5", 4 | "description": "Like ruby's abbrev module, but in js", 5 | "author": { 6 | "name": "Isaac Z. Schlueter", 7 | "email": "i@izs.me" 8 | }, 9 | "main": "abbrev.js", 10 | "scripts": { 11 | "test": "node test.js" 12 | }, 13 | "repository": { 14 | "type": "git", 15 | "url": "http://github.com/isaacs/abbrev-js" 16 | }, 17 | "license": { 18 | "type": "MIT", 19 | "url": "https://github.com/isaacs/abbrev-js/raw/master/LICENSE" 20 | }, 21 | "readme": "# abbrev-js\n\nJust like [ruby's Abbrev](http://apidock.com/ruby/Abbrev).\n\nUsage:\n\n var abbrev = require(\"abbrev\");\n abbrev(\"foo\", \"fool\", \"folding\", \"flop\");\n \n // returns:\n { fl: 'flop'\n , flo: 'flop'\n , flop: 'flop'\n , fol: 'folding'\n , fold: 'folding'\n , foldi: 'folding'\n , foldin: 'folding'\n , folding: 'folding'\n , foo: 'foo'\n , fool: 'fool'\n }\n\nThis is handy for command-line scripts, or other cases where you want to be able to accept shorthands.\n", 22 | "readmeFilename": "README.md", 23 | "bugs": { 24 | "url": "https://github.com/isaacs/abbrev-js/issues" 25 | }, 26 | "homepage": "https://github.com/isaacs/abbrev-js", 27 | "_id": "abbrev@1.0.5", 28 | "_shasum": "5d8257bd9ebe435e698b2fa431afde4fe7b10b03", 29 | "_from": "abbrev@1", 30 | "_resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.5.tgz" 31 | } 32 | -------------------------------------------------------------------------------- /platforms/ios/cordova/node_modules/q/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009–2014 Kristopher Michael Kowal. All rights reserved. 2 | Permission is hereby granted, free of charge, to any person obtaining a copy 3 | of this software and associated documentation files (the "Software"), to 4 | deal in the Software without restriction, including without limitation the 5 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 6 | sell copies of the Software, and to permit persons to whom the Software is 7 | furnished to do so, subject to the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be included in 10 | all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 14 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 15 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 16 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 17 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 18 | IN THE SOFTWARE. 19 | -------------------------------------------------------------------------------- /platforms/ios/cordova/node_modules/q/queue.js: -------------------------------------------------------------------------------- 1 | 2 | var Q = require("./q"); 3 | 4 | module.exports = Queue; 5 | function Queue() { 6 | var ends = Q.defer(); 7 | var closed = Q.defer(); 8 | return { 9 | put: function (value) { 10 | var next = Q.defer(); 11 | ends.resolve({ 12 | head: value, 13 | tail: next.promise 14 | }); 15 | ends.resolve = next.resolve; 16 | }, 17 | get: function () { 18 | var result = ends.promise.get("head"); 19 | ends.promise = ends.promise.get("tail"); 20 | return result.fail(function (error) { 21 | closed.resolve(error); 22 | throw error; 23 | }); 24 | }, 25 | closed: closed.promise, 26 | close: function (error) { 27 | error = error || new Error("Can't get value from closed queue"); 28 | var end = {head: Q.reject(error)}; 29 | end.tail = end; 30 | ends.resolve(end); 31 | return closed.promise; 32 | } 33 | }; 34 | } 35 | 36 | -------------------------------------------------------------------------------- /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/README.md: -------------------------------------------------------------------------------- 1 | This is an addon starter template for the [Ionic Framework](http://ionicframework.com/). 2 | 3 | ## How to use this template 4 | 5 | *This template does not work on its own*. It is missing the Ionic library, and AngularJS. 6 | 7 | To use this, either create a new ionic project using the ionic node.js utility, or copy and paste this into an existing Cordova project and download a release of Ionic separately. 8 | 9 | ### With the Ionic tool: 10 | 11 | Take the name after `ionic-starter-`, and that is the name of the template to be used when using the `ionic start` command below: 12 | 13 | ```bash 14 | $ sudo npm install -g ionic cordova 15 | $ ionic start myApp tabs 16 | ``` 17 | 18 | Then, to run it, cd into `myApp` and run: 19 | 20 | ```bash 21 | $ ionic platform add ios 22 | $ ionic build ios 23 | $ ionic emulate ios 24 | ``` 25 | 26 | Substitute ios for android if not on a Mac, but if you can, the ios development toolchain is a lot easier to work with until you need to do anything custom to Android. 27 | 28 | ## Demo 29 | http://plnkr.co/edit/qYMCrt?p=preview 30 | 31 | ## Issues 32 | Issues have been disabled on this repo, if you do find an issue or have a question consider posting it on the [Ionic Forum](http://forum.ionicframework.com/). Or else if there is truly an error, follow our guidelines for [submitting an issue](http://ionicframework.com/contribute/#issues) to the main Ionic repository. On the other hand, pull requests are welcome here! 33 | -------------------------------------------------------------------------------- /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/cordova-plugin-console/www/logger.js", 12 | "id": "cordova-plugin-console.logger", 13 | "clobbers": [ 14 | "cordova.logger" 15 | ] 16 | }, 17 | { 18 | "file": "plugins/cordova-plugin-console/www/console-via-logger.js", 19 | "id": "cordova-plugin-console.console", 20 | "clobbers": [ 21 | "console" 22 | ] 23 | }, 24 | { 25 | "file": "plugins/cordova-plugin-device/www/device.js", 26 | "id": "cordova-plugin-device.device", 27 | "clobbers": [ 28 | "device" 29 | ] 30 | }, 31 | { 32 | "file": "plugins/cordova-plugin-splashscreen/www/splashscreen.js", 33 | "id": "cordova-plugin-splashscreen.SplashScreen", 34 | "clobbers": [ 35 | "navigator.splashscreen" 36 | ] 37 | } 38 | ]; 39 | module.exports.metadata = 40 | // TOP OF METADATA 41 | { 42 | "com.ionic.keyboard": "1.0.4", 43 | "cordova-plugin-console": "1.0.1", 44 | "cordova-plugin-device": "1.0.1", 45 | "cordova-plugin-splashscreen": "2.1.0", 46 | "cordova-plugin-whitelist": "1.0.0" 47 | } 48 | // BOTTOM OF METADATA 49 | }); -------------------------------------------------------------------------------- /platforms/ios/www/css/style.css: -------------------------------------------------------------------------------- 1 | /* Empty. Add your own CSS if you like */ 2 | -------------------------------------------------------------------------------- /platforms/ios/www/img/ionic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/www/img/ionic.png -------------------------------------------------------------------------------- /platforms/ios/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /platforms/ios/www/js/controllers.js: -------------------------------------------------------------------------------- 1 | angular.module('starter.controllers', []) 2 | 3 | .controller('DashCtrl', function($scope) {}) 4 | 5 | .controller('ChatsCtrl', function($scope, Chats) { 6 | // With the new view caching in Ionic, Controllers are only called 7 | // when they are recreated or on app start, instead of every page change. 8 | // To listen for when this page is active (for example, to refresh data), 9 | // listen for the $ionicView.enter event: 10 | // 11 | //$scope.$on('$ionicView.enter', function(e) { 12 | //}); 13 | 14 | $scope.chats = Chats.all(); 15 | $scope.remove = function(chat) { 16 | Chats.remove(chat); 17 | } 18 | }) 19 | 20 | .controller('ChatDetailCtrl', function($scope, $stateParams, Chats) { 21 | $scope.chat = Chats.get($stateParams.chatId); 22 | }) 23 | 24 | .controller('AccountCtrl', function($scope) { 25 | $scope.settings = { 26 | enableFriends: true 27 | }; 28 | }); 29 | -------------------------------------------------------------------------------- /platforms/ios/www/js/services.js: -------------------------------------------------------------------------------- 1 | angular.module('starter.services', []) 2 | 3 | .factory('Chats', function() { 4 | // Might use a resource here that returns a JSON array 5 | 6 | // Some fake testing data 7 | var chats = [{ 8 | id: 0, 9 | name: 'Ben Sparrow', 10 | lastText: 'You on your way?', 11 | face: 'https://pbs.twimg.com/profile_images/514549811765211136/9SgAuHeY.png' 12 | }, { 13 | id: 1, 14 | name: 'Max Lynx', 15 | lastText: 'Hey, it\'s me', 16 | face: 'https://avatars3.githubusercontent.com/u/11214?v=3&s=460' 17 | },{ 18 | id: 2, 19 | name: 'Adam Bradleyson', 20 | lastText: 'I should buy a boat', 21 | face: 'https://pbs.twimg.com/profile_images/479090794058379264/84TKj_qa.jpeg' 22 | }, { 23 | id: 3, 24 | name: 'Perry Governor', 25 | lastText: 'Look at my mukluks!', 26 | face: 'https://pbs.twimg.com/profile_images/598205061232103424/3j5HUXMY.png' 27 | }, { 28 | id: 4, 29 | name: 'Mike Harrington', 30 | lastText: 'This is wicked good ice cream.', 31 | face: 'https://pbs.twimg.com/profile_images/578237281384841216/R3ae1n61.png' 32 | }]; 33 | 34 | return { 35 | all: function() { 36 | return chats; 37 | }, 38 | remove: function(chat) { 39 | chats.splice(chats.indexOf(chat), 1); 40 | }, 41 | get: function(chatId) { 42 | for (var i = 0; i < chats.length; i++) { 43 | if (chats[i].id === parseInt(chatId)) { 44 | return chats[i]; 45 | } 46 | } 47 | return null; 48 | } 49 | }; 50 | }); 51 | -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/www/lib/ionic/fonts/ionicons.eot -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/platforms/ios/www/lib/ionic/fonts/ionicons.ttf -------------------------------------------------------------------------------- /platforms/ios/www/lib/ionic/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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 | 56 | .button-bar > .button-small { 57 | &:before, 58 | .icon:before { 59 | line-height: 28px; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /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 | &:not(.visible) .spinner{ 26 | display: none; 27 | } 28 | &.visible { 29 | visibility: visible; 30 | } 31 | &.active { 32 | opacity: 1; 33 | } 34 | 35 | .loading { 36 | padding: $loading-padding; 37 | 38 | border-radius: $loading-border-radius; 39 | background-color: $loading-bg-color; 40 | 41 | color: $loading-text-color; 42 | 43 | text-align: center; 44 | text-overflow: ellipsis; 45 | font-size: $loading-font-size; 46 | 47 | h1, h2, h3, h4, h5, h6 { 48 | color: $loading-text-color; 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /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/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.woff") format("woff"), /* for WP8 */ 11 | url("#{$ionicons-font-path}/ionicons.svg?v=#{$ionicons-version}#Ionicons") format("svg"); 12 | font-weight: normal; 13 | font-style: normal; 14 | } 15 | 16 | .ion { 17 | display: inline-block; 18 | font-family: $ionicons-font-family; 19 | speak: none; 20 | font-style: normal; 21 | font-weight: normal; 22 | font-variant: normal; 23 | text-transform: none; 24 | text-rendering: auto; 25 | line-height: 1; 26 | -webkit-font-smoothing: antialiased; 27 | -moz-osx-font-smoothing: grayscale; 28 | } 29 | -------------------------------------------------------------------------------- /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/ionic/version.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.1", 3 | "codename": "vanadium-vaquita", 4 | "date": "2015-06-30", 5 | "time": "16:26:56" 6 | } 7 | -------------------------------------------------------------------------------- /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/plugins/cordova-plugin-splashscreen/www/splashscreen.js: -------------------------------------------------------------------------------- 1 | cordova.define("cordova-plugin-splashscreen.SplashScreen", function(require, exports, module) { /* 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 exec = require('cordova/exec'); 23 | 24 | var splashscreen = { 25 | show:function() { 26 | exec(null, null, "SplashScreen", "show", []); 27 | }, 28 | hide:function() { 29 | exec(null, null, "SplashScreen", "hide", []); 30 | } 31 | }; 32 | 33 | module.exports = splashscreen; 34 | 35 | }); 36 | -------------------------------------------------------------------------------- /platforms/ios/www/templates/chat-detail.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 |

11 | {{chat.lastText}} 12 |

13 |
14 |
15 | -------------------------------------------------------------------------------- /platforms/ios/www/templates/tab-account.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Enable Friends 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /platforms/ios/www/templates/tab-chats.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |

{{chat.name}}

7 |

{{chat.lastText}}

8 | 9 | 10 | 11 | Delete 12 | 13 |
14 |
15 |
16 |
17 | -------------------------------------------------------------------------------- /platforms/ios/www/templates/tab-dash.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
Recent Updates
5 |
6 |
7 | There is a fire in sector 3 8 |
9 |
10 |
11 |
12 |
Health
13 |
14 |
15 | You ate an apple today! 16 |
17 |
18 |
19 |
20 |
Upcoming
21 |
22 |
23 | You have 29 meetings on your calendar tomorrow. 24 |
25 |
26 |
27 |
28 |
29 | -------------------------------------------------------------------------------- /platforms/ios/www/templates/tabs.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /platforms/platforms.json: -------------------------------------------------------------------------------- 1 | { 2 | "ios": "3.8.0" 3 | } -------------------------------------------------------------------------------- /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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/plugins/com.ionic.keyboard/src/blackberry10/native/public/tokenizer.cpp -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/public/tokenizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/plugins/com.ionic.keyboard/src/blackberry10/native/public/tokenizer.h -------------------------------------------------------------------------------- /plugins/com.ionic.keyboard/src/blackberry10/native/simulator/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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/cordova-plugin-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/cordova-plugin-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/cordova-plugin-console/doc/zh/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | 這個外掛程式是為了確保該 console.log() 是一樣有用,它可以是。 它將添加附加功能的 iOS、 Ubuntu,Windows Phone 8 和 Windows 8。 如果你是快樂與 console.log() 是如何為你工作,那麼可能不需要這個外掛程式。 23 | 24 | 這個外掛程式定義了一個全域 `console` 物件。 25 | 26 | 儘管物件是在全球範圍內,提供這個外掛程式的功能不可用直到 `deviceready` 事件之後。 27 | 28 | document.addEventListener("deviceready", onDeviceReady, false); 29 | function onDeviceReady() { 30 | console.log("console.log works well"); 31 | } 32 | 33 | 34 | ## 安裝 35 | 36 | cordova plugin add cordova-plugin-console 37 | 38 | 39 | ### Android 的怪癖 40 | 41 | 在一些平臺上除了 Android,console.log() 亦會根據多個參數,如 console.log ("1"、"2"、"3")。 然而,安卓系統只亦會根據第一個參數。 對 console.log() 的後續參數將被忽略。 這個外掛程式不是的原因,它是一個 android 作業系統本身的限制。 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-console", 3 | "version": "1.0.1", 4 | "description": "Cordova Console Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-console", 7 | "platforms": [ 8 | "ios", 9 | "ubuntu", 10 | "wp7", 11 | "wp8", 12 | "windows8", 13 | "windows" 14 | ] 15 | }, 16 | "repository": { 17 | "type": "git", 18 | "url": "https://github.com/apache/cordova-plugin-console" 19 | }, 20 | "keywords": [ 21 | "cordova", 22 | "console", 23 | "ecosystem:cordova", 24 | "cordova-ios", 25 | "cordova-ubuntu", 26 | "cordova-wp7", 27 | "cordova-wp8", 28 | "cordova-windows8", 29 | "cordova-windows" 30 | ], 31 | "author": "Apache Software Foundation", 32 | "license": "Apache 2.0" 33 | } 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-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/cordova-plugin-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/cordova-plugin-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/cordova-plugin-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/cordova-plugin-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/cordova-plugin-console/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova Console Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-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/cordova-plugin-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/cordova-plugin-device/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-device", 3 | "version": "1.0.1", 4 | "description": "Cordova Device Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-device", 7 | "platforms": [ 8 | "firefoxos", 9 | "tizen", 10 | "android", 11 | "amazon-fireos", 12 | "ubuntu", 13 | "ios", 14 | "blackberry10", 15 | "wp7", 16 | "wp8", 17 | "windows8", 18 | "windows", 19 | "browser" 20 | ] 21 | }, 22 | "repository": { 23 | "type": "git", 24 | "url": "https://github.com/apache/cordova-plugin-device" 25 | }, 26 | "keywords": [ 27 | "cordova", 28 | "device", 29 | "ecosystem:cordova", 30 | "cordova-firefoxos", 31 | "cordova-tizen", 32 | "cordova-android", 33 | "cordova-amazon-fireos", 34 | "cordova-ubuntu", 35 | "cordova-ios", 36 | "cordova-blackberry10", 37 | "cordova-wp7", 38 | "cordova-wp8", 39 | "cordova-windows8", 40 | "cordova-windows", 41 | "cordova-browser" 42 | ], 43 | "author": "Apache Software Foundation", 44 | "license": "Apache 2.0" 45 | } 46 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-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/cordova-plugin-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/cordova-plugin-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/cordova-plugin-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/cordova-plugin-device/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova Device Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/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/cordova-plugin-splashscreen/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/cordova-plugin-splashscreen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen", 3 | "version": "2.1.0", 4 | "description": "Cordova Splashscreen Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-splashscreen", 7 | "platforms": [ 8 | "android", 9 | "amazon-fireos", 10 | "ubuntu", 11 | "ios", 12 | "blackberry10", 13 | "wp8", 14 | "windows8", 15 | "windows", 16 | "tizen" 17 | ] 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/apache/cordova-plugin-splashscreen" 22 | }, 23 | "keywords": [ 24 | "cordova", 25 | "splashscreen", 26 | "ecosystem:cordova", 27 | "cordova-android", 28 | "cordova-amazon-fireos", 29 | "cordova-ubuntu", 30 | "cordova-ios", 31 | "cordova-blackberry10", 32 | "cordova-wp8", 33 | "cordova-windows8", 34 | "cordova-windows", 35 | "cordova-tizen" 36 | ], 37 | "engines": [ 38 | { 39 | "name": "cordova-android", 40 | "version": ">=3.6.0" 41 | } 42 | ], 43 | "author": "Apache Software Foundation", 44 | "license": "Apache 2.0" 45 | } 46 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/blackberry10/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 Research In Motion 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 | module.exports = { 18 | show: function (success, fail, args, env) { 19 | var result = new PluginResult(args, env); 20 | result.error("Not supported on platform", false); 21 | }, 22 | 23 | hide: function (success, fail, args, env) { 24 | var result = new PluginResult(args, env); 25 | window.qnx.webplatform.getApplication().windowVisible = true; 26 | result.ok(undefined, false); 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.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 | typedef struct { 24 | BOOL iPhone; 25 | BOOL iPad; 26 | BOOL iPhone5; 27 | BOOL iPhone6; 28 | BOOL iPhone6Plus; 29 | BOOL retina; 30 | 31 | } CDV_iOSDevice; 32 | 33 | @interface CDVSplashScreen : CDVPlugin { 34 | UIActivityIndicatorView* _activityView; 35 | UIImageView* _imageView; 36 | NSString* _curImageName; 37 | BOOL _visible; 38 | } 39 | 40 | - (void)show:(CDVInvokedUrlCommand*)command; 41 | - (void)hide:(CDVInvokedUrlCommand*)command; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ios/CDVViewController+SplashScreen.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 CDVViewController (SplashScreen) 23 | 24 | @property (nonatomic, assign) BOOL enabledAutorotation; 25 | @property (nonatomic, readonly) BOOL shouldAutorotateDefaultValue; 26 | 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/tizen/SplashScreenProxy.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 | ( function() { 23 | 24 | win = null; 25 | 26 | module.exports = { 27 | show: function() { 28 | if ( win === null ) { 29 | win = window.open('splashscreen.html'); 30 | } 31 | }, 32 | 33 | hide: function() { 34 | if ( win !== null ) { 35 | win.close(); 36 | win = null; 37 | } 38 | } 39 | }; 40 | 41 | require("cordova/tizen/commandProxy").add("SplashScreen", module.exports); 42 | 43 | })(); 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ubuntu/splashscreen.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright 2013 Canonical Ltd. 4 | * 5 | * Licensed to the Apache Software Foundation (ASF) under one 6 | * or more contributor license agreements. See the NOTICE file 7 | * distributed with this work for additional information 8 | * regarding copyright ownership. The ASF licenses this file 9 | * to you under the Apache License, Version 2.0 (the 10 | * "License"); you may not use this file except in compliance 11 | * with the License. You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, 16 | * software distributed under the License is distributed on an 17 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 | * KIND, either express or implied. See the License for the 19 | * specific language governing permissions and limitations 20 | * under the License. 21 | * 22 | */ 23 | 24 | #include 25 | 26 | #include "splashscreen.h" 27 | #include 28 | 29 | #define SPLASHSCREEN_STATE_NAME "splashscreen" 30 | 31 | Splashscreen::Splashscreen(Cordova *cordova): CPlugin(cordova) { 32 | } 33 | 34 | void Splashscreen::show(int, int) { 35 | m_cordova->rootObject()->setProperty("splashscreenPath", m_cordova->getSplashscreenPath()); 36 | 37 | m_cordova->pushViewState(SPLASHSCREEN_STATE_NAME); 38 | } 39 | 40 | void Splashscreen::hide(int, int) { 41 | m_cordova->popViewState(SPLASHSCREEN_STATE_NAME); 42 | } 43 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ubuntu/splashscreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright 2013 Canonical Ltd. 4 | * 5 | * Licensed to the Apache Software Foundation (ASF) under one 6 | * or more contributor license agreements. See the NOTICE file 7 | * distributed with this work for additional information 8 | * regarding copyright ownership. The ASF licenses this file 9 | * to you under the Apache License, Version 2.0 (the 10 | * "License"); you may not use this file except in compliance 11 | * with the License. You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, 16 | * software distributed under the License is distributed on an 17 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 | * KIND, either express or implied. See the License for the 19 | * specific language governing permissions and limitations 20 | * under the License. 21 | * 22 | */ 23 | 24 | #ifndef SPLASHSCREEN_H 25 | #define SPLASHSCREEN_H 26 | 27 | #include 28 | #include 29 | 30 | class Splashscreen: public CPlugin { 31 | Q_OBJECT 32 | public: 33 | explicit Splashscreen(Cordova *cordova); 34 | 35 | virtual const QString fullName() override { 36 | return Splashscreen::fullID(); 37 | } 38 | 39 | virtual const QString shortName() override { 40 | return "SplashScreen"; 41 | } 42 | 43 | static const QString fullID() { 44 | return "SplashScreen"; 45 | } 46 | 47 | public slots: 48 | void show(int, int); 49 | void hide(int, int); 50 | }; 51 | 52 | #endif // SPLASHSCREEN_H 53 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/wp/ResolutionHelper.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 Microsoft.Phone.Info; 16 | using System; 17 | using System.Windows; 18 | 19 | namespace WPCordovaClassLib.Cordova.Commands 20 | { 21 | public enum Resolutions { WVGA, WXGA, HD }; 22 | 23 | public static class ResolutionHelper 24 | { 25 | public static Resolutions CurrentResolution 26 | { 27 | get 28 | { 29 | switch (Application.Current.Host.Content.ScaleFactor) 30 | { 31 | case 100: return Resolutions.WVGA; 32 | case 160: return Resolutions.WXGA; 33 | case 150: return Resolutions.HD; 34 | } 35 | throw new InvalidOperationException("Unknown resolution"); 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/.npmignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS Tests for CDVSplashScreen 21 | 22 | You need to install `node.js` to pull in `cordova-ios`. 23 | 24 | First install cordova-ios: 25 | 26 | npm install 27 | 28 | ... in the current folder. 29 | 30 | 31 | # Testing from Xcode 32 | 33 | 1. Launch the `CDVSplashScreenTest.xcworkspace` file. 34 | 2. Choose "CDVSplashScreenLibTests" from the scheme drop-down menu 35 | 3. Click and hold on the `Play` button, and choose the `Wrench` icon to run the tests 36 | 37 | 38 | # Testing from the command line 39 | 40 | npm test 41 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/de/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS-Tests für CDVSplashScreen 21 | 22 | Sie müssen installieren `node.js` in `Cordova-Ios` zu ziehen. 23 | 24 | Installieren Sie Cordova-Ios zum ersten Mal: 25 | 26 | npm install 27 | 28 | 29 | ... im aktuellen Ordner. 30 | 31 | # Testen von Xcode 32 | 33 | 1. Starten Sie die Datei `CDVSplashScreenTest.xcworkspace` . 34 | 2. Wählen Sie im Dropdown-Schema "CDVSplashScreenLibTests" 35 | 3. Klicken Sie und halten Sie auf den `Play` -Button und wählen Sie das `Schraubenschlüssel` -Symbol zum Ausführen der tests 36 | 37 | # Tests von der Befehlszeile aus 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/es/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Pruebas de iOS para CDVSplashScreen 21 | 22 | Necesita instalar `node.js` en `Córdoba-ios`. 23 | 24 | Primero instalar cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... en la carpeta actual. 30 | 31 | # Prueba de Xcode 32 | 33 | 1. Iniciar el archivo `CDVSplashScreenTest.xcworkspace` . 34 | 2. Elija "CDVSplashScreenLibTests" en el menú de lista desplegable esquema 35 | 3. Haga clic y mantenga el botón de `Play` y elegir el icono de `llave inglesa` para ejecutar las pruebas 36 | 37 | # Pruebas desde la línea de comandos 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/fr/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Tests d'iOS pour CDVSplashScreen 21 | 22 | Vous devez installer `node.js` à `cordova-ios`. 23 | 24 | Commencez par installer cordova-ios : 25 | 26 | npm install 27 | 28 | 29 | ... dans le dossier actuel. 30 | 31 | # Tests de Xcode 32 | 33 | 1. Lancez le fichier `CDVSplashScreenTest.xcworkspace` . 34 | 2. Choisissez « CDVSplashScreenLibTests » dans le menu déroulant de régime 35 | 3. Cliquez et maintenez sur la touche `Play` et cliquez sur l'icône de `clé` pour exécuter les tests 36 | 37 | # Test de la ligne de commande 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/it/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Test di iOS per CDVSplashScreen 21 | 22 | È necessario installare `node. js` per tirare in `cordova-ios`. 23 | 24 | In primo luogo installare cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... nella cartella corrente. 30 | 31 | # Test da Xcode 32 | 33 | 1. Lanciare il file `CDVSplashScreenTest.xcworkspace` . 34 | 2. Scegli "CDVSplashScreenLibTests" dal menu a discesa Schema 35 | 3. Fare clic e tenere premuto il pulsante `Play` e scegliere l'icona della `chiave inglese` per eseguire i test 36 | 37 | # Test dalla riga di comando 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/ja/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen の iOS のテスト 21 | 22 | `Node.js` `コルドバ`ios をプルするをインストールする必要があります。. 23 | 24 | コルドバ ios をインストールします。 25 | 26 | npm install 27 | 28 | 29 | 現在のフォルダーに. 30 | 31 | # Xcode からテスト 32 | 33 | 1. `CDVSplashScreenTest.xcworkspace`ファイルを起動します。 34 | 2. スキーム] ドロップダウン メニューから"CDVSplashScreenLibTests"を選択します。 35 | 3. クリックし、`再生`ボタンを押し、テストを実行する`レンチ`のアイコンを選択 36 | 37 | # コマンドラインからテスト 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/ko/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen에 대 한 iOS 테스트 21 | 22 | `Node.js` `코르도바` ios에서를 설치 해야. 23 | 24 | 코르도바-ios를 설치 하는 첫번째는: 25 | 26 | npm install 27 | 28 | 29 | 현재 폴더에.... 30 | 31 | # Xcode에서 테스트 32 | 33 | 1. `CDVSplashScreenTest.xcworkspace` 파일을 시작 합니다. 34 | 2. 구성표 드롭 다운 메뉴에서 "CDVSplashScreenLibTests"를 선택 35 | 3. 클릭 하 고 `재생` 버튼에는 테스트를 실행 하려면 `공구 모양` 아이콘을 선택 36 | 37 | # 명령줄에서 테스트 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/pl/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS testy dla CDVSplashScreen 21 | 22 | Musisz zainstalować `node.js` ciągnąć w `cordova-ios`. 23 | 24 | Najpierw zainstalować cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... w folderze bieżącym. 30 | 31 | # Badania z Xcode 32 | 33 | 1. Uruchom plik `CDVSplashScreenTest.xcworkspace` . 34 | 2. Wybierz z menu rozwijanego systemu "CDVSplashScreenLibTests" 35 | 3. Kliknij i przytrzymaj przycisk `Play` i wybrać ikonę `klucz` do testów 36 | 37 | # Badania z wiersza polecenia 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/zh/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen 的 iOS 測試 21 | 22 | 您需要安裝`node.js`拉`科爾多瓦 ios`中. 23 | 24 | 第一次安裝科爾多瓦 ios: 25 | 26 | npm install 27 | 28 | 29 | 在當前資料夾中。 30 | 31 | # 從 Xcode 測試 32 | 33 | 1. 啟動`CDVSplashScreenTest.xcworkspace`檔。 34 | 2. 從方案下拉式功能表中選擇"CDVSplashScreenLibTests" 35 | 3. 按一下並堅持`播放`按鈕,然後選擇要運行的測試的`扳手`圖示 36 | 37 | # 從命令列測試 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen-test-ios", 3 | "version": "1.0.0", 4 | "description": "iOS Unit Tests for Splashscreen Plugin", 5 | "author": "Apache Software Foundation", 6 | "license": "Apache Version 2.0", 7 | "dependencies": { 8 | "cordova-ios": "^3.6.0" 9 | }, 10 | "scripts": { 11 | "test": "xcodebuild test -workspace CDVSplashScreenTest.xcworkspace -scheme CDVSplashScreenLibTests -destination 'platform=iOS Simulator,name=iPhone 5' CONFIGURATION_BUILD_DIR='/tmp'" 12 | } 13 | } -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | Cordova Splashscreen Plugin Tests 25 | Apache 2.0 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/www/splashscreen.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 exec = require('cordova/exec'); 23 | 24 | var splashscreen = { 25 | show:function() { 26 | exec(null, null, "SplashScreen", "show", []); 27 | }, 28 | hide:function() { 29 | exec(null, null, "SplashScreen", "hide", []); 30 | } 31 | }; 32 | 33 | module.exports = splashscreen; 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/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/cordova-plugin-whitelist/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/cordova-plugin-whitelist/RELEASENOTES.md: -------------------------------------------------------------------------------- 1 | 21 | # Release Notes 22 | 23 | ### 1.0.0 (Mar 25, 2015) 24 | * CB-8739 added missing license headers 25 | * Add @Override to CustomConfigXmlParser methods 26 | * Change ID to cordova-plugin-whitelist rather than reverse-DNS-style 27 | * Tweak CSP examples in README 28 | * CB-8660 remove extra commas from package.json 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-whitelist", 3 | "version": "1.0.0", 4 | "description": "Cordova Whitelist Plugin", 5 | "cordova": { 6 | "platforms": [ 7 | "android", 8 | "ios" 9 | ] 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "https://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist.git" 14 | }, 15 | "keywords": [ 16 | "cordova", 17 | "whitelist", 18 | "ecosystem:cordova", 19 | "cordova-android", 20 | "cordova-ios" 21 | ], 22 | "engines": [ 23 | { 24 | "name": "cordova-android", 25 | "version": ">=4.0.0-dev" 26 | }, 27 | { 28 | "name": "cordova-ios", 29 | "version": ">=4.0.0-dev" 30 | } 31 | ], 32 | "author": "Apache Software Foundation", 33 | "license": "Apache 2.0" 34 | } 35 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/src/ios/CDVNavigationWhitelistPlugin.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 | #import 23 | 24 | @interface CDVNavigationWhitelistPlugin : CDVPlugin {} 25 | 26 | @property (nonatomic, readonly, strong) CDVWhitelist* whitelist; // readonly for public 27 | 28 | - (BOOL)shouldAllowNavigationToURL:(NSURL *)url; 29 | - (BOOL)shouldAllowRequestForURL:(NSURL *)url; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/whitelist.js: -------------------------------------------------------------------------------- 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 | if (!document.querySelector('meta[http-equiv=Content-Security-Policy]')) { 22 | var msg = 'No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin.'; 23 | console.error(msg); 24 | setInterval(function() { 25 | console.warn(msg); 26 | }, 10000); 27 | } 28 | -------------------------------------------------------------------------------- /plugins/fetch.json: -------------------------------------------------------------------------------- 1 | { 2 | "cordova-plugin-device": { 3 | "source": { 4 | "type": "registry", 5 | "id": "cordova-plugin-device" 6 | }, 7 | "is_top_level": true, 8 | "variables": {} 9 | }, 10 | "cordova-plugin-console": { 11 | "source": { 12 | "type": "registry", 13 | "id": "cordova-plugin-console" 14 | }, 15 | "is_top_level": true, 16 | "variables": {} 17 | }, 18 | "cordova-plugin-whitelist": { 19 | "source": { 20 | "type": "registry", 21 | "id": "cordova-plugin-whitelist" 22 | }, 23 | "is_top_level": true, 24 | "variables": {} 25 | }, 26 | "cordova-plugin-splashscreen": { 27 | "source": { 28 | "type": "registry", 29 | "id": "cordova-plugin-splashscreen" 30 | }, 31 | "is_top_level": true, 32 | "variables": {} 33 | }, 34 | "com.ionic.keyboard": { 35 | "source": { 36 | "type": "registry", 37 | "id": "com.ionic.keyboard" 38 | }, 39 | "is_top_level": true, 40 | "variables": {} 41 | } 42 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /www/account/account.controller.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | angular.module('starter.account') 4 | .controller('AccountCtrl', AccountCtrl); 5 | 6 | AccountCtrl.$inject = ['$scope']; 7 | function AccountCtrl($scope) { 8 | $scope.settings = { 9 | enableFriends: true 10 | }; 11 | } 12 | })(); 13 | -------------------------------------------------------------------------------- /www/account/account.module.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular.module('starter.account', []); 5 | })(); 6 | -------------------------------------------------------------------------------- /www/account/account.route.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular 5 | .module('starter.account') 6 | .run(appRun); 7 | 8 | appRun.$inject = ['routerHelper']; 9 | 10 | function appRun(routerHelper) { 11 | routerHelper.configureStates(getStates(), '/tab/dash'); 12 | } 13 | 14 | function getStates() { 15 | return [{ 16 | state: 'tab.account', 17 | config: { 18 | url: '/account', 19 | views: { 20 | 'tab-account': { 21 | templateUrl: 'account/tab-account.html', 22 | controller: 'AccountCtrl' 23 | } 24 | } 25 | } 26 | }]; 27 | } 28 | })(); 29 | -------------------------------------------------------------------------------- /www/account/tab-account.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Enable Friends 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /www/app.module.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 | // 'starter.services' is found in services.js 7 | // 'starter.controllers' is found in controllers.js 8 | (function() { 9 | 10 | 'use strict'; 11 | 12 | angular 13 | .module('starter', [ 14 | /* Shared modules */ 15 | 'ionic', 16 | 'starter.core', 17 | 'starter.layout', 18 | /* Feature areas */ 19 | 'starter.account', 20 | 'starter.chat', 21 | 'starter.dash' 22 | ]); 23 | })(); 24 | -------------------------------------------------------------------------------- /www/blocks/router/router.helperProvider.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Routing 3 | * Code adapted from https://github.com/johnpapa/angular-styleguide#style-y270 4 | * 5 | */ 6 | 7 | (function() { 8 | 9 | angular 10 | .module('blocks.router') 11 | .provider('routerHelper', routerHelperProvider); 12 | 13 | routerHelperProvider.$inject = ['$locationProvider', '$stateProvider', '$urlRouterProvider']; 14 | 15 | function routerHelperProvider ($locationProvider, $stateProvider, $urlRouterProvider) { 16 | this.$get = RouterHelper; 17 | 18 | /* 19 | $locationProvider.html5Mode({ 20 | enabled: true, 21 | requireBase: false 22 | }); 23 | */ 24 | 25 | RouterHelper.$inject = ['$state']; 26 | 27 | function RouterHelper($state) { 28 | var hasOtherwise = false; 29 | 30 | var service = { 31 | configureStates : configureStates, 32 | getStates: getStates 33 | }; 34 | 35 | return service; 36 | 37 | ////////////// 38 | 39 | function configureStates(states, otherwisePath) { 40 | states.forEach(function(state) { 41 | $stateProvider.state(state.state, state.config); 42 | }); 43 | if (otherwisePath && !hasOtherwise) { 44 | hasOtherwise = true; 45 | $urlRouterProvider.otherwise(otherwisePath); 46 | } 47 | } 48 | 49 | function getStates() { 50 | return $state.get(); 51 | } 52 | } 53 | } 54 | })(); -------------------------------------------------------------------------------- /www/blocks/router/router.module.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular.module('blocks.router', [ 5 | 6 | ]); 7 | })(); 8 | -------------------------------------------------------------------------------- /www/chat/chat-detail.controller.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | angular.module('starter.chat') 4 | .controller('ChatDetailCtrl', ChatDetailCtrl); 5 | 6 | ChatDetailCtrl.$inject = ['$scope', '$stateParams', 'Chats']; 7 | 8 | function ChatDetailCtrl ($scope, $stateParams, Chats) { 9 | $scope.chat = Chats.get($stateParams.chatId); 10 | } 11 | 12 | })(); 13 | -------------------------------------------------------------------------------- /www/chat/chat-detail.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 |

11 | {{chat.lastText}} 12 |

13 |
14 |
15 | -------------------------------------------------------------------------------- /www/chat/chat.module.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | angular.module('starter.chat', []); 4 | })(); 5 | -------------------------------------------------------------------------------- /www/chat/chat.route.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular 5 | .module('starter.chat') 6 | .run(appRun); 7 | 8 | appRun.$inject = ['routerHelper']; 9 | 10 | function appRun(routerHelper) { 11 | routerHelper.configureStates(getStates(), '/tab/dash'); 12 | } 13 | 14 | function getStates() { 15 | return [ 16 | { 17 | state: 'tab.chats', 18 | config: { 19 | url: '/chats', 20 | views: { 21 | 'tab-chats': { 22 | templateUrl: 'chat/tab-chats.html', 23 | controller: 'ChatsCtrl' 24 | } 25 | } 26 | } 27 | }, 28 | { 29 | state: 'tab.chat-detail', 30 | config: { 31 | url: '/chats/:chatId', 32 | views: { 33 | 'tab-chats': { 34 | templateUrl: 'chat/chat-detail.html', 35 | controller: 'ChatDetailCtrl' 36 | } 37 | } 38 | } 39 | } 40 | ];} 41 | })(); 42 | -------------------------------------------------------------------------------- /www/chat/chats.controller.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | angular.module('starter.chat') 4 | .controller('ChatsCtrl', ChatsCtrl); 5 | 6 | ChatsCtrl.$inject = ['$scope', 'Chats']; 7 | function ChatsCtrl($scope, Chats) { 8 | // With the new view caching in Ionic, Controllers are only called 9 | // when they are recreated or on app start, instead of every page change. 10 | // To listen for when this page is active (for example, to refresh data), 11 | // listen for the $ionicView.enter event: 12 | // 13 | //$scope.$on('$ionicView.enter', function(e) { 14 | //}); 15 | 16 | $scope.chats = Chats.all(); 17 | $scope.remove = function(chat) { 18 | Chats.remove(chat); 19 | }; 20 | } 21 | })(); 22 | -------------------------------------------------------------------------------- /www/chat/tab-chats.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |

{{chat.name}}

7 |

{{chat.lastText}}

8 | 9 | 10 | 11 | Delete 12 | 13 |
14 |
15 |
16 |
17 | -------------------------------------------------------------------------------- /www/core/core.config.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | 'use strict'; 4 | 5 | angular 6 | .module('starter.core') 7 | .run(appRun); 8 | 9 | function appRun($ionicPlatform) { 10 | $ionicPlatform.ready(function() { 11 | // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard 12 | // for form inputs) 13 | if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) { 14 | /* globals cordova */ 15 | cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); 16 | } 17 | if (window.StatusBar) { 18 | /* globals StatusBar */ 19 | // org.apache.cordova.statusbar required 20 | StatusBar.styleLightContent(); 21 | } 22 | }); 23 | } 24 | })(); 25 | 26 | -------------------------------------------------------------------------------- /www/core/core.module.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | 'use strict'; 4 | 5 | angular.module('starter.core', [ 6 | 'blocks.router' 7 | ]); 8 | })(); 9 | -------------------------------------------------------------------------------- /www/css/style.css: -------------------------------------------------------------------------------- 1 | /* Empty. Add your own CSS if you like */ 2 | -------------------------------------------------------------------------------- /www/dash/dash.controller.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular.module('starter.dash') 5 | .controller('DashCtrl', DashCtrl) 6 | 7 | function DashCtrl() { 8 | } 9 | 10 | })(); 11 | -------------------------------------------------------------------------------- /www/dash/dash.module.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular.module('starter.dash', [ 5 | 6 | ]); 7 | })(); 8 | -------------------------------------------------------------------------------- /www/dash/dash.route.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular 5 | .module('starter.dash') 6 | .run(appRun); 7 | 8 | appRun.$inject = ['routerHelper']; 9 | 10 | function appRun(routerHelper) { 11 | routerHelper.configureStates(getStates()); 12 | } 13 | 14 | function getStates() { 15 | return [{ 16 | state: 'tab.dash', 17 | config: { 18 | url: '/dash', 19 | views: { 20 | 'tab-dash': { 21 | templateUrl: 'dash/tab-dash.html', 22 | controller: 'DashCtrl' 23 | } 24 | } 25 | } 26 | }]; 27 | } 28 | })(); 29 | 30 | -------------------------------------------------------------------------------- /www/dash/tab-dash.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
Recent Updates
5 |
6 |
7 | There is a fire in sector 3 8 |
9 |
10 |
11 |
12 |
Health
13 |
14 |
15 | You ate an apple today! 16 |
17 |
18 |
19 |
20 |
Upcoming
21 |
22 |
23 | You have 29 meetings on your calendar tomorrow. 24 |
25 |
26 |
27 |
28 |
29 | -------------------------------------------------------------------------------- /www/img/ionic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/www/img/ionic.png -------------------------------------------------------------------------------- /www/layout/layout.module.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular.module('starter.layout', [ 5 | 6 | ]); 7 | })(); 8 | -------------------------------------------------------------------------------- /www/layout/layout.route.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | angular 5 | .module('starter.layout') 6 | .run(appRun); 7 | 8 | appRun.$inject = ['routerHelper']; 9 | 10 | function appRun(routerHelper) { 11 | routerHelper.configureStates(getStates()); 12 | } 13 | 14 | function getStates() { 15 | return [ 16 | { 17 | state: 'tab', 18 | config: { 19 | url: '/tab', 20 | abstract: true, 21 | //template: '

Gesundheit

' 22 | templateUrl: 'layout/tabs.html' 23 | //template: '' 24 | } 25 | } 26 | ]; 27 | } 28 | })(); 29 | -------------------------------------------------------------------------------- /www/layout/tabs.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/www/lib/ionic/fonts/ionicons.eot -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/www/lib/ionic/fonts/ionicons.ttf -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevolentprof/ionic-tabs-starter-angular-style/e0229c1ab425fd3e36bc45d3e81779047af8eb80/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 | 56 | .button-bar > .button-small { 57 | &:before, 58 | .icon:before { 59 | line-height: 28px; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /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 | &:not(.visible) .spinner{ 26 | display: none; 27 | } 28 | &.visible { 29 | visibility: visible; 30 | } 31 | &.active { 32 | opacity: 1; 33 | } 34 | 35 | .loading { 36 | padding: $loading-padding; 37 | 38 | border-radius: $loading-border-radius; 39 | background-color: $loading-bg-color; 40 | 41 | color: $loading-text-color; 42 | 43 | text-align: center; 44 | text-overflow: ellipsis; 45 | font-size: $loading-font-size; 46 | 47 | h1, h2, h3, h4, h5, h6 { 48 | color: $loading-text-color; 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /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/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.woff") format("woff"), /* for WP8 */ 11 | url("#{$ionicons-font-path}/ionicons.svg?v=#{$ionicons-version}#Ionicons") format("svg"); 12 | font-weight: normal; 13 | font-style: normal; 14 | } 15 | 16 | .ion { 17 | display: inline-block; 18 | font-family: $ionicons-font-family; 19 | speak: none; 20 | font-style: normal; 21 | font-weight: normal; 22 | font-variant: normal; 23 | text-transform: none; 24 | text-rendering: auto; 25 | line-height: 1; 26 | -webkit-font-smoothing: antialiased; 27 | -moz-osx-font-smoothing: grayscale; 28 | } 29 | -------------------------------------------------------------------------------- /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/ionic/version.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.1", 3 | "codename": "vanadium-vaquita", 4 | "date": "2015-06-30", 5 | "time": "16:26:56" 6 | } 7 | --------------------------------------------------------------------------------