Ver código fonte

Initial commit

master
Mate Herber 3 meses atrás
commit
388ccdc473
100 arquivos alterados com 36223 adições e 0 exclusões
  1. 17
    0
      .browserslistrc
  2. 16
    0
      .editorconfig
  3. 31
    0
      .gitignore
  4. 179
    0
      angular.json
  5. 101
    0
      config.xml
  6. 37
    0
      e2e/protractor.conf.js
  7. 14
    0
      e2e/src/app.e2e-spec.ts
  8. 11
    0
      e2e/src/app.po.ts
  9. 12
    0
      e2e/tsconfig.json
  10. 7
    0
      ionic.config.json
  11. 44
    0
      karma.conf.js
  12. 35408
    0
      package-lock.json
  13. 52
    0
      package.json
  14. 8
    0
      resources/README.md
  15. BIN
      resources/android/icon/drawable-hdpi-icon.png
  16. BIN
      resources/android/icon/drawable-ldpi-icon.png
  17. BIN
      resources/android/icon/drawable-mdpi-icon.png
  18. BIN
      resources/android/icon/drawable-xhdpi-icon.png
  19. BIN
      resources/android/icon/drawable-xxhdpi-icon.png
  20. BIN
      resources/android/icon/drawable-xxxhdpi-icon.png
  21. BIN
      resources/android/splash/drawable-land-hdpi-screen.png
  22. BIN
      resources/android/splash/drawable-land-ldpi-screen.png
  23. BIN
      resources/android/splash/drawable-land-mdpi-screen.png
  24. BIN
      resources/android/splash/drawable-land-xhdpi-screen.png
  25. BIN
      resources/android/splash/drawable-land-xxhdpi-screen.png
  26. BIN
      resources/android/splash/drawable-land-xxxhdpi-screen.png
  27. BIN
      resources/android/splash/drawable-port-hdpi-screen.png
  28. BIN
      resources/android/splash/drawable-port-ldpi-screen.png
  29. BIN
      resources/android/splash/drawable-port-mdpi-screen.png
  30. BIN
      resources/android/splash/drawable-port-xhdpi-screen.png
  31. BIN
      resources/android/splash/drawable-port-xxhdpi-screen.png
  32. BIN
      resources/android/splash/drawable-port-xxxhdpi-screen.png
  33. 6
    0
      resources/android/xml/network_security_config.xml
  34. BIN
      resources/icon.png
  35. BIN
      resources/ios/icon/icon-1024.png
  36. BIN
      resources/ios/icon/icon-20.png
  37. BIN
      resources/ios/icon/icon-20@2x.png
  38. BIN
      resources/ios/icon/icon-20@3x.png
  39. BIN
      resources/ios/icon/icon-24@2x.png
  40. BIN
      resources/ios/icon/icon-27.5@2x.png
  41. BIN
      resources/ios/icon/icon-29.png
  42. BIN
      resources/ios/icon/icon-29@2x.png
  43. BIN
      resources/ios/icon/icon-29@3x.png
  44. BIN
      resources/ios/icon/icon-40.png
  45. BIN
      resources/ios/icon/icon-40@2x.png
  46. BIN
      resources/ios/icon/icon-40@3x.png
  47. BIN
      resources/ios/icon/icon-44@2x.png
  48. BIN
      resources/ios/icon/icon-50.png
  49. BIN
      resources/ios/icon/icon-50@2x.png
  50. BIN
      resources/ios/icon/icon-60.png
  51. BIN
      resources/ios/icon/icon-60@2x.png
  52. BIN
      resources/ios/icon/icon-60@3x.png
  53. BIN
      resources/ios/icon/icon-72.png
  54. BIN
      resources/ios/icon/icon-72@2x.png
  55. BIN
      resources/ios/icon/icon-76.png
  56. BIN
      resources/ios/icon/icon-76@2x.png
  57. BIN
      resources/ios/icon/icon-83.5@2x.png
  58. BIN
      resources/ios/icon/icon-86@2x.png
  59. BIN
      resources/ios/icon/icon-98@2x.png
  60. BIN
      resources/ios/icon/icon-small.png
  61. BIN
      resources/ios/icon/icon-small@2x.png
  62. BIN
      resources/ios/icon/icon-small@3x.png
  63. BIN
      resources/ios/icon/icon.png
  64. BIN
      resources/ios/icon/icon@2x.png
  65. BIN
      resources/ios/splash/Default-2436h.png
  66. BIN
      resources/ios/splash/Default-568h@2x~iphone.png
  67. BIN
      resources/ios/splash/Default-667h.png
  68. BIN
      resources/ios/splash/Default-736h.png
  69. BIN
      resources/ios/splash/Default-Landscape-2436h.png
  70. BIN
      resources/ios/splash/Default-Landscape-736h.png
  71. BIN
      resources/ios/splash/Default-Landscape@2x~ipad.png
  72. BIN
      resources/ios/splash/Default-Landscape@~ipadpro.png
  73. BIN
      resources/ios/splash/Default-Landscape~ipad.png
  74. BIN
      resources/ios/splash/Default-Portrait@2x~ipad.png
  75. BIN
      resources/ios/splash/Default-Portrait@~ipadpro.png
  76. BIN
      resources/ios/splash/Default-Portrait~ipad.png
  77. BIN
      resources/ios/splash/Default@2x~iphone.png
  78. BIN
      resources/ios/splash/Default@2x~universal~anyany.png
  79. BIN
      resources/ios/splash/Default~iphone.png
  80. BIN
      resources/splash.png
  81. 16
    0
      src/app/app-routing.module.ts
  82. 3
    0
      src/app/app.component.html
  83. 0
    0
      src/app/app.component.scss
  84. 23
    0
      src/app/app.component.spec.ts
  85. 10
    0
      src/app/app.component.ts
  86. 17
    0
      src/app/app.module.ts
  87. 4
    0
      src/app/explore-container/explore-container.component.html
  88. 27
    0
      src/app/explore-container/explore-container.component.scss
  89. 24
    0
      src/app/explore-container/explore-container.component.spec.ts
  90. 15
    0
      src/app/explore-container/explore-container.component.ts
  91. 14
    0
      src/app/explore-container/explore-container.module.ts
  92. 16
    0
      src/app/tab1/tab1-routing.module.ts
  93. 20
    0
      src/app/tab1/tab1.module.ts
  94. 17
    0
      src/app/tab1/tab1.page.html
  95. 0
    0
      src/app/tab1/tab1.page.scss
  96. 25
    0
      src/app/tab1/tab1.page.spec.ts
  97. 12
    0
      src/app/tab1/tab1.page.ts
  98. 16
    0
      src/app/tab2/tab2-routing.module.ts
  99. 21
    0
      src/app/tab2/tab2.module.ts
  100. 0
    0
      src/app/tab2/tab2.page.html

+ 17
- 0
.browserslistrc Ver arquivo

@@ -0,0 +1,17 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support

# You can see what browsers were selected by your queries by running:
# npx browserslist

last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

+ 16
- 0
.editorconfig Ver arquivo

@@ -0,0 +1,16 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false

+ 31
- 0
.gitignore Ver arquivo

@@ -0,0 +1,31 @@
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore

*~
*.sw[mnpcod]
.tmp
*.tmp
*.tmp.*
*.sublime-project
*.sublime-workspace
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
$RECYCLE.BIN/

*.log
log.txt
npm-debug.log*

/.idea
/.ionic
/.sass-cache
/.sourcemaps
/.versions
/.vscode
/coverage
/dist
/node_modules
/platforms
/plugins
/www

+ 179
- 0
angular.json Ver arquivo

@@ -0,0 +1,179 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"defaultProject": "app",
"newProjectRoot": "projects",
"projects": {
"app": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "www",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"assets": [
{
"glob": "**/*",
"input": "src/assets",
"output": "assets"
},
{
"glob": "**/*.svg",
"input": "node_modules/ionicons/dist/ionicons/svg",
"output": "./svg"
}
],
"styles": ["src/theme/variables.scss", "src/global.scss"],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
},
"ci": {
"progress": false
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "app:build"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
},
"ci": {
"progress": false
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "app:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"styles": [],
"scripts": [],
"assets": [
{
"glob": "favicon.ico",
"input": "src/",
"output": "/"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
]
},
"configurations": {
"ci": {
"progress": false,
"watch": false
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": ["**/node_modules/**"]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "app:serve"
},
"configurations": {
"production": {
"devServerTarget": "app:serve:production"
},
"ci": {
"devServerTarget": "app:serve:ci"
}
}
},
"ionic-cordova-build": {
"builder": "@ionic/angular-toolkit:cordova-build",
"options": {
"browserTarget": "app:build"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
}
}
},
"ionic-cordova-serve": {
"builder": "@ionic/angular-toolkit:cordova-serve",
"options": {
"cordovaBuildTarget": "app:ionic-cordova-build",
"devServerTarget": "app:serve"
},
"configurations": {
"production": {
"cordovaBuildTarget": "app:ionic-cordova-build:production",
"devServerTarget": "app:serve:production"
}
}
}
}
}
},
"cli": {
"defaultCollection": "@ionic/angular-toolkit"
},
"schematics": {
"@ionic/angular-toolkit:component": {
"styleext": "scss"
},
"@ionic/angular-toolkit:page": {
"styleext": "scss"
}
}
}

+ 101
- 0
config.xml Ver arquivo

@@ -0,0 +1,101 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>sample-apps-ionic-empty</name>
<description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>
<content src="index.html" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<preference name="ScrollEnabled" value="false" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="FadeSplashScreenDuration" value="300" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
<application android:networkSecurityConfig="@xml/network_security_config" />
</edit-config>
<resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" />
<allow-intent href="market:*" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
<splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
<splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
<splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
<splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
<splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
<splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
<splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
<splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
<icon height="114" src="resources/ios/icon/icon@2x.png" width="114" />
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
<icon height="58" src="resources/ios/icon/icon-small@2x.png" width="58" />
<icon height="87" src="resources/ios/icon/icon-small@3x.png" width="87" />
<icon height="20" src="resources/ios/icon/icon-20.png" width="20" />
<icon height="40" src="resources/ios/icon/icon-20@2x.png" width="40" />
<icon height="60" src="resources/ios/icon/icon-20@3x.png" width="60" />
<icon height="48" src="resources/ios/icon/icon-24@2x.png" width="48" />
<icon height="55" src="resources/ios/icon/icon-27.5@2x.png" width="55" />
<icon height="29" src="resources/ios/icon/icon-29.png" width="29" />
<icon height="58" src="resources/ios/icon/icon-29@2x.png" width="58" />
<icon height="87" src="resources/ios/icon/icon-29@3x.png" width="87" />
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
<icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80" />
<icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120" />
<icon height="88" src="resources/ios/icon/icon-44@2x.png" width="88" />
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
<icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100" />
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
<icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120" />
<icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180" />
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
<icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144" />
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
<icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152" />
<icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167" />
<icon height="172" src="resources/ios/icon/icon-86@2x.png" width="172" />
<icon height="196" src="resources/ios/icon/icon-98@2x.png" width="196" />
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
<splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" />
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
<splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
</platform>
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
<plugin name="cordova-plugin-device" spec="2.0.2" />
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
<plugin name="cordova-plugin-ionic-webview" spec="^4.0.0" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
</widget>

+ 37
- 0
e2e/protractor.conf.js Ver arquivo

@@ -0,0 +1,37 @@
// @ts-check
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts

const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter');

/**
* @type { import("protractor").Config }
*/
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
capabilities: {
browserName: 'chrome'
},
directConnect: true,
SELENIUM_PROMISE_MANAGER: false,
baseUrl: 'http://localhost:4200/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function() {}
},
onPrepare() {
require('ts-node').register({
project: require('path').join(__dirname, './tsconfig.json')
});
jasmine.getEnv().addReporter(new SpecReporter({
spec: {
displayStacktrace: StacktraceOption.PRETTY
}
}));
}
};

+ 14
- 0
e2e/src/app.e2e-spec.ts Ver arquivo

@@ -0,0 +1,14 @@
import { AppPage } from './app.po';

describe('new App', () => {
let page: AppPage;

beforeEach(() => {
page = new AppPage();
});

it('should display welcome message', () => {
page.navigateTo();
expect(page.getPageTitle()).toContain('Tab 1');
});
});

+ 11
- 0
e2e/src/app.po.ts Ver arquivo

@@ -0,0 +1,11 @@
import { browser, by, element } from 'protractor';

export class AppPage {
navigateTo() {
return browser.get('/');
}

getPageTitle() {
return element(by.css('ion-title')).getText();
}
}

+ 12
- 0
e2e/tsconfig.json Ver arquivo

@@ -0,0 +1,12 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"module": "commonjs",
"target": "es2018",
"types": [
"jasmine",
"node"
]
}
}

+ 7
- 0
ionic.config.json Ver arquivo

@@ -0,0 +1,7 @@
{
"name": "sample-apps-ionic-empty",
"integrations": {
"cordova": {}
},
"type": "angular"
}

+ 44
- 0
karma.conf.js Ver arquivo

@@ -0,0 +1,44 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
jasmine: {
// you can add configuration options for Jasmine here
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
// for example, you can disable the random execution with `random: false`
// or set a specific seed with `seed: 4321`
},
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
jasmineHtmlReporter: {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, './coverage/ngv'),
subdir: '.',
reporters: [
{ type: 'html' },
{ type: 'text-summary' }
]
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false,
restartOnFileChange: true
});
};

+ 35408
- 0
package-lock.json
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 52
- 0
package.json Ver arquivo

@@ -0,0 +1,52 @@
{
"name": "sample-apps-ionic-empty",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/common": "~11.2.0",
"@angular/core": "~11.2.0",
"@angular/forms": "~11.2.0",
"@angular/platform-browser": "~11.2.0",
"@angular/platform-browser-dynamic": "~11.2.0",
"@angular/router": "~11.2.0",
"@ionic/angular": "^5.5.2",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1101.4",
"@angular/cli": "~11.1.4",
"@angular/compiler": "~11.2.0",
"@angular/compiler-cli": "~11.2.0",
"@angular/language-service": "~11.2.0",
"@ionic/angular-toolkit": "^3.1.0",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.2.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
},
"description": "An Ionic project"
}

+ 8
- 0
resources/README.md Ver arquivo

@@ -0,0 +1,8 @@
These are Cordova resources. You can replace icon.png and splash.png and run
`ionic cordova resources` to generate custom icons and splash screens for your
app. See `ionic cordova resources --help` for details.

Cordova reference documentation:

- Icons: https://cordova.apache.org/docs/en/latest/config_ref/images.html
- Splash Screens: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/

BIN
resources/android/icon/drawable-hdpi-icon.png Ver arquivo


BIN
resources/android/icon/drawable-ldpi-icon.png Ver arquivo


BIN
resources/android/icon/drawable-mdpi-icon.png Ver arquivo


BIN
resources/android/icon/drawable-xhdpi-icon.png Ver arquivo


BIN
resources/android/icon/drawable-xxhdpi-icon.png Ver arquivo


BIN
resources/android/icon/drawable-xxxhdpi-icon.png Ver arquivo


BIN
resources/android/splash/drawable-land-hdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-land-ldpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-land-mdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-land-xhdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-land-xxhdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-land-xxxhdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-port-hdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-port-ldpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-port-mdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-port-xhdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-port-xxhdpi-screen.png Ver arquivo


BIN
resources/android/splash/drawable-port-xxxhdpi-screen.png Ver arquivo


+ 6
- 0
resources/android/xml/network_security_config.xml Ver arquivo

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">localhost</domain>
</domain-config>
</network-security-config>

BIN
resources/icon.png Ver arquivo


BIN
resources/ios/icon/icon-1024.png Ver arquivo


BIN
resources/ios/icon/icon-20.png Ver arquivo


BIN
resources/ios/icon/icon-20@2x.png Ver arquivo


BIN
resources/ios/icon/icon-20@3x.png Ver arquivo


BIN
resources/ios/icon/icon-24@2x.png Ver arquivo


BIN
resources/ios/icon/icon-27.5@2x.png Ver arquivo


BIN
resources/ios/icon/icon-29.png Ver arquivo


BIN
resources/ios/icon/icon-29@2x.png Ver arquivo


BIN
resources/ios/icon/icon-29@3x.png Ver arquivo


BIN
resources/ios/icon/icon-40.png Ver arquivo


BIN
resources/ios/icon/icon-40@2x.png Ver arquivo


BIN
resources/ios/icon/icon-40@3x.png Ver arquivo


BIN
resources/ios/icon/icon-44@2x.png Ver arquivo


BIN
resources/ios/icon/icon-50.png Ver arquivo


BIN
resources/ios/icon/icon-50@2x.png Ver arquivo


BIN
resources/ios/icon/icon-60.png Ver arquivo


BIN
resources/ios/icon/icon-60@2x.png Ver arquivo


BIN
resources/ios/icon/icon-60@3x.png Ver arquivo


BIN
resources/ios/icon/icon-72.png Ver arquivo


BIN
resources/ios/icon/icon-72@2x.png Ver arquivo


BIN
resources/ios/icon/icon-76.png Ver arquivo


BIN
resources/ios/icon/icon-76@2x.png Ver arquivo


BIN
resources/ios/icon/icon-83.5@2x.png Ver arquivo


BIN
resources/ios/icon/icon-86@2x.png Ver arquivo


BIN
resources/ios/icon/icon-98@2x.png Ver arquivo


BIN
resources/ios/icon/icon-small.png Ver arquivo


BIN
resources/ios/icon/icon-small@2x.png Ver arquivo


BIN
resources/ios/icon/icon-small@3x.png Ver arquivo


BIN
resources/ios/icon/icon.png Ver arquivo


BIN
resources/ios/icon/icon@2x.png Ver arquivo


BIN
resources/ios/splash/Default-2436h.png Ver arquivo


BIN
resources/ios/splash/Default-568h@2x~iphone.png Ver arquivo


BIN
resources/ios/splash/Default-667h.png Ver arquivo


BIN
resources/ios/splash/Default-736h.png Ver arquivo


BIN
resources/ios/splash/Default-Landscape-2436h.png Ver arquivo


BIN
resources/ios/splash/Default-Landscape-736h.png Ver arquivo


BIN
resources/ios/splash/Default-Landscape@2x~ipad.png Ver arquivo


BIN
resources/ios/splash/Default-Landscape@~ipadpro.png Ver arquivo


BIN
resources/ios/splash/Default-Landscape~ipad.png Ver arquivo


BIN
resources/ios/splash/Default-Portrait@2x~ipad.png Ver arquivo


BIN
resources/ios/splash/Default-Portrait@~ipadpro.png Ver arquivo


BIN
resources/ios/splash/Default-Portrait~ipad.png Ver arquivo


BIN
resources/ios/splash/Default@2x~iphone.png Ver arquivo


BIN
resources/ios/splash/Default@2x~universal~anyany.png Ver arquivo


BIN
resources/ios/splash/Default~iphone.png Ver arquivo


BIN
resources/splash.png Ver arquivo


+ 16
- 0
src/app/app-routing.module.ts Ver arquivo

@@ -0,0 +1,16 @@
import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';

const routes: Routes = [
{
path: '',
loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
}
];
@NgModule({
imports: [
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
],
exports: [RouterModule]
})
export class AppRoutingModule {}

+ 3
- 0
src/app/app.component.html Ver arquivo

@@ -0,0 +1,3 @@
<ion-app>
<ion-router-outlet></ion-router-outlet>
</ion-app>

+ 0
- 0
src/app/app.component.scss Ver arquivo


+ 23
- 0
src/app/app.component.spec.ts Ver arquivo

@@ -0,0 +1,23 @@
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { TestBed, waitForAsync } from '@angular/core/testing';

import { AppComponent } from './app.component';

describe('AppComponent', () => {

beforeEach(waitForAsync(() => {

TestBed.configureTestingModule({
declarations: [AppComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
}).compileComponents();
}));

it('should create the app', () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
});
// TODO: add more tests!

});

+ 10
- 0
src/app/app.component.ts Ver arquivo

@@ -0,0 +1,10 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-root',
templateUrl: 'app.component.html',
styleUrls: ['app.component.scss'],
})
export class AppComponent {
constructor() {}
}

+ 17
- 0
src/app/app.module.ts Ver arquivo

@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouteReuseStrategy } from '@angular/router';

import { IonicModule, IonicRouteStrategy } from '@ionic/angular';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

@NgModule({
declarations: [AppComponent],
entryComponents: [],
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule],
providers: [{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }],
bootstrap: [AppComponent],
})
export class AppModule {}

+ 4
- 0
src/app/explore-container/explore-container.component.html Ver arquivo

@@ -0,0 +1,4 @@
<div id="container">
<strong>{{ name }}</strong>
<p>Explore <a target="_blank" rel="noopener noreferrer" href="https://ionicframework.com/docs/components">UI Components</a></p>
</div>

+ 27
- 0
src/app/explore-container/explore-container.component.scss Ver arquivo

@@ -0,0 +1,27 @@
#container {
text-align: center;

position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
}

#container strong {
font-size: 20px;
line-height: 26px;
}

#container p {
font-size: 16px;
line-height: 22px;

color: #8c8c8c;

margin: 0;
}

#container a {
text-decoration: none;
}

+ 24
- 0
src/app/explore-container/explore-container.component.spec.ts Ver arquivo

@@ -0,0 +1,24 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';

import { ExploreContainerComponent } from './explore-container.component';

describe('ExploreContainerComponent', () => {
let component: ExploreContainerComponent;
let fixture: ComponentFixture<ExploreContainerComponent>;

beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ ExploreContainerComponent ],
imports: [IonicModule.forRoot()]
}).compileComponents();

fixture = TestBed.createComponent(ExploreContainerComponent);
component = fixture.componentInstance;
fixture.detectChanges();
}));

it('should create', () => {
expect(component).toBeTruthy();
});
});

+ 15
- 0
src/app/explore-container/explore-container.component.ts Ver arquivo

@@ -0,0 +1,15 @@
import { Component, OnInit, Input } from '@angular/core';

@Component({
selector: 'app-explore-container',
templateUrl: './explore-container.component.html',
styleUrls: ['./explore-container.component.scss'],
})
export class ExploreContainerComponent implements OnInit {
@Input() name: string;

constructor() { }

ngOnInit() {}

}

+ 14
- 0
src/app/explore-container/explore-container.module.ts Ver arquivo

@@ -0,0 +1,14 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { IonicModule } from '@ionic/angular';

import { ExploreContainerComponent } from './explore-container.component';

@NgModule({
imports: [ CommonModule, FormsModule, IonicModule],
declarations: [ExploreContainerComponent],
exports: [ExploreContainerComponent]
})
export class ExploreContainerComponentModule {}

+ 16
- 0
src/app/tab1/tab1-routing.module.ts Ver arquivo

@@ -0,0 +1,16 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { Tab1Page } from './tab1.page';

const routes: Routes = [
{
path: '',
component: Tab1Page,
}
];

@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class Tab1PageRoutingModule {}

+ 20
- 0
src/app/tab1/tab1.module.ts Ver arquivo

@@ -0,0 +1,20 @@
import { IonicModule } from '@ionic/angular';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Tab1Page } from './tab1.page';
import { ExploreContainerComponentModule } from '../explore-container/explore-container.module';

import { Tab1PageRoutingModule } from './tab1-routing.module';

@NgModule({
imports: [
IonicModule,
CommonModule,
FormsModule,
ExploreContainerComponentModule,
Tab1PageRoutingModule
],
declarations: [Tab1Page]
})
export class Tab1PageModule {}

+ 17
- 0
src/app/tab1/tab1.page.html Ver arquivo

@@ -0,0 +1,17 @@
<ion-header [translucent]="true">
<ion-toolbar>
<ion-title>
Tab 1
</ion-title>
</ion-toolbar>
</ion-header>

<ion-content [fullscreen]="true">
<ion-header collapse="condense">
<ion-toolbar>
<ion-title size="large">Tab 1</ion-title>
</ion-toolbar>
</ion-header>

<app-explore-container name="Tab 1 page"></app-explore-container>
</ion-content>

+ 0
- 0
src/app/tab1/tab1.page.scss Ver arquivo


+ 25
- 0
src/app/tab1/tab1.page.spec.ts Ver arquivo

@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { ExploreContainerComponentModule } from '../explore-container/explore-container.module';

import { Tab1Page } from './tab1.page';

describe('Tab1Page', () => {
let component: Tab1Page;
let fixture: ComponentFixture<Tab1Page>;

beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [Tab1Page],
imports: [IonicModule.forRoot(), ExploreContainerComponentModule]
}).compileComponents();

fixture = TestBed.createComponent(Tab1Page);
component = fixture.componentInstance;
fixture.detectChanges();
}));

it('should create', () => {
expect(component).toBeTruthy();
});
});

+ 12
- 0
src/app/tab1/tab1.page.ts Ver arquivo

@@ -0,0 +1,12 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-tab1',
templateUrl: 'tab1.page.html',
styleUrls: ['tab1.page.scss']
})
export class Tab1Page {

constructor() {}

}

+ 16
- 0
src/app/tab2/tab2-routing.module.ts Ver arquivo

@@ -0,0 +1,16 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { Tab2Page } from './tab2.page';

const routes: Routes = [
{
path: '',
component: Tab2Page,
}
];

@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class Tab2PageRoutingModule {}

+ 21
- 0
src/app/tab2/tab2.module.ts Ver arquivo

@@ -0,0 +1,21 @@
import { IonicModule } from '@ionic/angular';
import { RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Tab2Page } from './tab2.page';
import { ExploreContainerComponentModule } from '../explore-container/explore-container.module';

import { Tab2PageRoutingModule } from './tab2-routing.module';

@NgModule({
imports: [
IonicModule,
CommonModule,
FormsModule,
ExploreContainerComponentModule,
Tab2PageRoutingModule
],
declarations: [Tab2Page]
})
export class Tab2PageModule {}

+ 0
- 0
src/app/tab2/tab2.page.html Ver arquivo


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff

Carregando…
Cancelar
Salvar