@duetds/cli 2.6.11 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -8
- package/src/index.js +21 -0
- package/src/main.js +19 -19
- package/templates/angular/12.2.16/.browserlistrc +16 -0
- package/templates/angular/12.2.16/.depcheckrc +2 -0
- package/templates/angular/12.2.16/.editorconfig +16 -0
- package/templates/angular/12.2.16/.eslintrc.json +51 -0
- package/templates/angular/{.prettierignore → 12.2.16/.prettierignore} +0 -0
- package/templates/angular/12.2.16/.prettierrc +14 -0
- package/templates/angular/12.2.16/LICENSE.md +29 -0
- package/templates/angular/{README.md → 12.2.16/README.md} +5 -3
- package/templates/angular/{angular.json → 12.2.16/angular.json} +15 -4
- package/templates/angular/12.2.16/config/jest.base.ts +17 -0
- package/templates/angular/12.2.16/config/jest.setup.ts +24 -0
- package/templates/angular/12.2.16/package.file +58 -0
- package/templates/angular/12.2.16/playwright.config.ts +26 -0
- package/templates/angular/12.2.16/src/app/agreement.model.ts +3 -0
- package/templates/angular/12.2.16/src/app/app-routing.module.ts +11 -0
- package/templates/angular/{src → 12.2.16/src}/app/app.component.html +0 -0
- package/templates/angular/{src → 12.2.16/src}/app/app.component.scss +0 -0
- package/templates/angular/{src → 12.2.16/src}/app/app.component.ts +1 -1
- package/templates/angular/{src → 12.2.16/src}/app/app.module.ts +5 -11
- package/templates/angular/12.2.16/src/app/currency-formatter.service.ts +12 -0
- package/templates/angular/12.2.16/src/app/footer/footer.component.html +22 -0
- package/templates/angular/{src → 12.2.16/src}/app/footer/footer.component.scss +0 -0
- package/templates/angular/{src → 12.2.16/src}/app/footer/footer.component.ts +1 -1
- package/templates/angular/12.2.16/src/app/header/header.component.html +1 -0
- package/templates/angular/{src/app/index-page/index-page.component.scss → 12.2.16/src/app/header/header.component.scss} +0 -0
- package/templates/angular/12.2.16/src/app/header/header.component.ts +10 -0
- package/templates/angular/12.2.16/src/app/index-page/index-page.component.html +49 -0
- package/templates/angular/{src/app/injuries-page/injuries-page.component.scss → 12.2.16/src/app/index-page/index-page.component.scss} +0 -0
- package/templates/angular/12.2.16/src/app/index-page/index-page.component.ts +61 -0
- package/templates/angular/12.2.16/src/app/investment-amount/investment-amount.component.html +87 -0
- package/templates/angular/{src/app/insurance-page/insurance-page.component.scss → 12.2.16/src/app/investment-amount/investment-amount.component.scss} +0 -0
- package/templates/angular/12.2.16/src/app/investment-amount/investment-amount.component.ts +31 -0
- package/templates/angular/12.2.16/src/app/investment-origin/investment-origin.component.html +12 -0
- package/templates/angular/{src/assets/.gitkeep → 12.2.16/src/app/investment-origin/investment-origin.component.scss} +0 -0
- package/templates/angular/12.2.16/src/app/investment-origin/investment-origin.component.ts +24 -0
- package/templates/angular/12.2.16/src/app/summary/summary.component.html +74 -0
- package/templates/angular/12.2.16/src/app/summary/summary.component.scss +0 -0
- package/templates/angular/12.2.16/src/app/summary/summary.component.ts +16 -0
- package/templates/angular/12.2.16/src/assets/.gitkeep +0 -0
- package/templates/angular/{src → 12.2.16/src}/assets/img/android-chrome-192x192.png +0 -0
- package/templates/angular/{src → 12.2.16/src}/assets/img/apple-touch-icon-180x180.png +0 -0
- package/templates/angular/{src → 12.2.16/src}/assets/img/splash-screen-icon-512x512.png +0 -0
- package/templates/angular/{src → 12.2.16/src}/environments/environment.prod.ts +1 -1
- package/templates/angular/{src → 12.2.16/src}/environments/environment.ts +1 -1
- package/templates/angular/{src → 12.2.16/src}/favicon.ico +0 -0
- package/templates/angular/{src → 12.2.16/src}/index.html +1 -1
- package/templates/angular/{src → 12.2.16/src}/main.ts +0 -0
- package/templates/angular/{src → 12.2.16/src}/manifest.json +0 -0
- package/templates/angular/{src → 12.2.16/src}/polyfills.ts +0 -0
- package/templates/angular/{src → 12.2.16/src}/styles.scss +0 -0
- package/templates/angular/12.2.16/src/tests/app.test.ts +13 -0
- package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts +54 -0
- package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-1-chromium-darwin.png +0 -0
- package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-2-chromium-darwin.png +0 -0
- package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-3-chromium-darwin.png +0 -0
- package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-4-chromium-darwin.png +0 -0
- package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-5-chromium-darwin.png +0 -0
- package/templates/angular/12.2.16/src/tests/playwright/playwright.test.ts-snapshots/code-chromium-darwin.json +16 -0
- package/templates/angular/12.2.16/src/utils/string.utils.ts +1 -0
- package/templates/angular/{tsconfig.app.json → 12.2.16/tsconfig.app.json} +0 -1
- package/templates/angular/{tsconfig.base.json → 12.2.16/tsconfig.base.json} +1 -1
- package/templates/angular/12.2.16/tsconfig.json +8 -0
- package/templates/angular/12.2.16/tsconfig.spec.json +15 -0
- package/templates/angular/{tslint.json → 12.2.16/tslint.json} +0 -0
- package/templates/angular/13.2.4/.browserlistrc +16 -0
- package/templates/angular/13.2.4/.depcheckrc +2 -0
- package/templates/angular/13.2.4/.editorconfig +16 -0
- package/templates/angular/13.2.4/.eslintrc.json +51 -0
- package/templates/{html → angular/13.2.4}/.prettierignore +0 -0
- package/templates/angular/13.2.4/.prettierrc +14 -0
- package/templates/angular/13.2.4/LICENSE.md +29 -0
- package/templates/angular/13.2.4/README.md +32 -0
- package/templates/angular/13.2.4/angular.json +122 -0
- package/templates/angular/13.2.4/config/jest.base.ts +17 -0
- package/templates/angular/13.2.4/config/jest.setup.ts +24 -0
- package/templates/angular/13.2.4/package.file +59 -0
- package/templates/angular/13.2.4/playwright.config.ts +26 -0
- package/templates/angular/13.2.4/src/app/agreement.model.ts +3 -0
- package/templates/angular/13.2.4/src/app/app-routing.module.ts +11 -0
- package/templates/angular/13.2.4/src/app/app.component.html +5 -0
- package/templates/angular/13.2.4/src/app/app.component.scss +0 -0
- package/templates/angular/13.2.4/src/app/app.component.ts +10 -0
- package/templates/angular/13.2.4/src/app/app.module.ts +21 -0
- package/templates/angular/13.2.4/src/app/currency-formatter.service.ts +12 -0
- package/templates/angular/13.2.4/src/app/footer/footer.component.html +22 -0
- package/templates/angular/13.2.4/src/app/footer/footer.component.scss +0 -0
- package/templates/angular/13.2.4/src/app/footer/footer.component.ts +10 -0
- package/templates/angular/13.2.4/src/app/header/header.component.html +1 -0
- package/templates/angular/13.2.4/src/app/header/header.component.scss +0 -0
- package/templates/angular/13.2.4/src/app/header/header.component.ts +10 -0
- package/templates/angular/13.2.4/src/app/index-page/index-page.component.html +49 -0
- package/templates/angular/13.2.4/src/app/index-page/index-page.component.scss +0 -0
- package/templates/angular/13.2.4/src/app/index-page/index-page.component.ts +61 -0
- package/templates/angular/13.2.4/src/app/investment-amount/investment-amount.component.html +87 -0
- package/templates/angular/13.2.4/src/app/investment-amount/investment-amount.component.scss +0 -0
- package/templates/angular/13.2.4/src/app/investment-amount/investment-amount.component.ts +31 -0
- package/templates/angular/13.2.4/src/app/investment-origin/investment-origin.component.html +12 -0
- package/templates/angular/13.2.4/src/app/investment-origin/investment-origin.component.scss +0 -0
- package/templates/angular/13.2.4/src/app/investment-origin/investment-origin.component.ts +24 -0
- package/templates/angular/13.2.4/src/app/summary/summary.component.html +74 -0
- package/templates/angular/13.2.4/src/app/summary/summary.component.scss +0 -0
- package/templates/angular/13.2.4/src/app/summary/summary.component.ts +16 -0
- package/templates/angular/13.2.4/src/assets/.gitkeep +0 -0
- package/templates/{eleventy-ssr → angular/13.2.4}/src/assets/img/android-chrome-192x192.png +0 -0
- package/templates/{eleventy-ssr → angular/13.2.4}/src/assets/img/apple-touch-icon-180x180.png +0 -0
- package/templates/{eleventy-ssr → angular/13.2.4}/src/assets/img/splash-screen-icon-512x512.png +0 -0
- package/templates/angular/13.2.4/src/environments/environment.prod.ts +3 -0
- package/templates/angular/13.2.4/src/environments/environment.ts +16 -0
- package/templates/{eleventy-ssr → angular/13.2.4}/src/favicon.ico +0 -0
- package/templates/angular/13.2.4/src/index.html +24 -0
- package/templates/angular/13.2.4/src/main.ts +13 -0
- package/templates/{react/public → angular/13.2.4/src}/manifest.json +0 -0
- package/templates/angular/13.2.4/src/polyfills.ts +62 -0
- package/templates/angular/13.2.4/src/styles.scss +3 -0
- package/templates/angular/13.2.4/src/tests/app.test.ts +13 -0
- package/templates/angular/13.2.4/src/tests/playwright/playwright.test.ts +54 -0
- package/templates/angular/13.2.4/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-1-chromium-darwin.png +0 -0
- package/templates/angular/13.2.4/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-2-chromium-darwin.png +0 -0
- package/templates/angular/13.2.4/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-3-chromium-darwin.png +0 -0
- package/templates/angular/13.2.4/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-4-chromium-darwin.png +0 -0
- package/templates/angular/13.2.4/src/tests/playwright/playwright.test.ts-snapshots/angular-13-2-4-5-chromium-darwin.png +0 -0
- package/templates/angular/13.2.4/src/tests/playwright/playwright.test.ts-snapshots/code-chromium-darwin.json +16 -0
- package/templates/angular/13.2.4/src/utils/string.utils.ts +1 -0
- package/templates/angular/13.2.4/tsconfig.app.json +9 -0
- package/templates/angular/13.2.4/tsconfig.base.json +17 -0
- package/templates/angular/13.2.4/tsconfig.json +8 -0
- package/templates/angular/13.2.4/tsconfig.spec.json +15 -0
- package/templates/eleventy/{.eleventy.js → 0.10.0/.eleventy.js} +0 -0
- package/templates/eleventy/{.prettierignore → 0.10.0/.prettierignore} +0 -0
- package/templates/eleventy/{README.md → 0.10.0/README.md} +0 -0
- package/templates/eleventy/{gulpfile.js → 0.10.0/gulpfile.js} +0 -0
- package/templates/eleventy/{package.file → 0.10.0/package.file} +0 -0
- package/templates/{react/public → eleventy/0.10.0/src}/assets/img/android-chrome-192x192.png +0 -0
- package/templates/{react/public → eleventy/0.10.0/src}/assets/img/apple-touch-icon-180x180.png +0 -0
- package/templates/{react/public → eleventy/0.10.0/src}/assets/img/splash-screen-icon-512x512.png +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/css/main.scss +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/css/partials/_example.scss +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/data/duet.js +0 -0
- package/templates/{html → eleventy/0.10.0}/src/favicon.ico +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/includes/footer.njk +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/includes/header.njk +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/includes/layout.njk +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/index.njk +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/js/scripts.js +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/manifest.json +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/robots.txt +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/vahinkoasiat.njk +0 -0
- package/templates/eleventy/{src → 0.10.0/src}/vakuutukset.njk +0 -0
- package/templates/eleventy-ssr/{.eleventy.js → 0.10.0/.eleventy.js} +0 -0
- package/templates/eleventy-ssr/{.prettierignore → 0.10.0/.prettierignore} +0 -0
- package/templates/eleventy-ssr/{README.md → 0.10.0/README.md} +0 -0
- package/templates/eleventy-ssr/{gulpfile.js → 0.10.0/gulpfile.js} +0 -0
- package/templates/eleventy-ssr/{package.file → 0.10.0/package.file} +0 -0
- package/templates/{eleventy → eleventy-ssr/0.10.0}/src/assets/img/android-chrome-192x192.png +0 -0
- package/templates/{eleventy → eleventy-ssr/0.10.0}/src/assets/img/apple-touch-icon-180x180.png +0 -0
- package/templates/{eleventy → eleventy-ssr/0.10.0}/src/assets/img/splash-screen-icon-512x512.png +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/css/main.scss +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/css/partials/_example.scss +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/data/duet.js +0 -0
- package/templates/{eleventy → eleventy-ssr/0.10.0}/src/favicon.ico +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/includes/footer.njk +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/includes/header.njk +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/includes/layout.njk +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/index.njk +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/js/scripts.js +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/manifest.json +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/robots.txt +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/vahinkoasiat.njk +0 -0
- package/templates/eleventy-ssr/{src → 0.10.0/src}/vakuutukset.njk +0 -0
- package/templates/{react → html/2.0.0}/.prettierignore +0 -0
- package/templates/html/{README.md → 2.0.0/README.md} +0 -0
- package/templates/html/{package.file → 2.0.0/package.file} +0 -0
- package/templates/{react/public → html/2.0.0/src}/favicon.ico +0 -0
- package/templates/html/{src → 2.0.0/src}/index.html +0 -0
- package/templates/react/16.14.0/.prettierignore +3 -0
- package/templates/react/16.14.0/LICENSE.md +29 -0
- package/templates/react/{README.md → 16.14.0/README.md} +2 -2
- package/templates/react/16.14.0/package-lock.json +15324 -0
- package/templates/react/16.14.0/package.file +39 -0
- package/templates/react/16.14.0/playwright.config.mjs +26 -0
- package/templates/react/16.14.0/public/assets/img/android-chrome-192x192.png +0 -0
- package/templates/react/16.14.0/public/assets/img/apple-touch-icon-180x180.png +0 -0
- package/templates/react/16.14.0/public/assets/img/splash-screen-icon-512x512.png +0 -0
- package/templates/react/16.14.0/public/favicon.ico +0 -0
- package/templates/react/{public → 16.14.0/public}/index.html +1 -1
- package/templates/react/16.14.0/public/manifest.json +19 -0
- package/templates/react/16.14.0/src/App.js +138 -0
- package/templates/react/16.14.0/src/components/Footer.js +24 -0
- package/templates/react/16.14.0/src/components/Header.js +7 -0
- package/templates/react/16.14.0/src/components/InvestmentAmount.js +139 -0
- package/templates/react/16.14.0/src/components/InvestmentOrigin.js +89 -0
- package/templates/react/16.14.0/src/components/Summary.js +96 -0
- package/templates/react/{src → 16.14.0/src}/index.js +0 -0
- package/templates/react/{src → 16.14.0/src}/index.scss +0 -0
- package/templates/react/{src → 16.14.0/src}/serviceWorker.js +0 -0
- package/templates/react/16.14.0/src/tests/playwright/playwright.test.mjs +54 -0
- package/templates/react/16.14.0/src/tests/playwright/playwright.test.mjs-snapshots/app-1-chromium-darwin.png +0 -0
- package/templates/react/16.14.0/src/tests/playwright/playwright.test.mjs-snapshots/app-2-chromium-darwin.png +0 -0
- package/templates/react/16.14.0/src/tests/playwright/playwright.test.mjs-snapshots/app-3-chromium-darwin.png +0 -0
- package/templates/react/16.14.0/src/tests/playwright/playwright.test.mjs-snapshots/app-4-chromium-darwin.png +0 -0
- package/templates/react/16.14.0/src/tests/playwright/playwright.test.mjs-snapshots/app-5-chromium-darwin.png +0 -0
- package/templates/react/16.14.0/src/tests/playwright/playwright.test.mjs-snapshots/code-chromium-darwin.json +16 -0
- package/templates/react/17.0.2/LICENSE.md +29 -0
- package/templates/react/17.0.2/README.md +54 -0
- package/templates/react/17.0.2/package-lock.json +10713 -0
- package/templates/react/17.0.2/package.file +39 -0
- package/templates/react/17.0.2/playwright.config.mjs +26 -0
- package/templates/react/17.0.2/public/assets/img/android-chrome-192x192.png +0 -0
- package/templates/react/17.0.2/public/assets/img/apple-touch-icon-180x180.png +0 -0
- package/templates/react/17.0.2/public/assets/img/splash-screen-icon-512x512.png +0 -0
- package/templates/react/17.0.2/public/favicon.ico +0 -0
- package/templates/react/17.0.2/public/index.html +48 -0
- package/templates/react/17.0.2/public/manifest.json +19 -0
- package/templates/react/17.0.2/src/App.js +138 -0
- package/templates/react/17.0.2/src/components/Footer.js +24 -0
- package/templates/react/17.0.2/src/components/Header.js +7 -0
- package/templates/react/17.0.2/src/components/InvestmentAmount.js +139 -0
- package/templates/react/17.0.2/src/components/InvestmentOrigin.js +89 -0
- package/templates/react/17.0.2/src/components/Summary.js +96 -0
- package/templates/react/17.0.2/src/index.js +17 -0
- package/templates/react/17.0.2/src/index.scss +2 -0
- package/templates/react/17.0.2/src/serviceWorker.js +141 -0
- package/templates/react/17.0.2/src/tests/playwright/playwright.test.mjs +54 -0
- package/templates/react/17.0.2/src/tests/playwright/playwright.test.mjs-snapshots/app-1-chromium-darwin.png +0 -0
- package/templates/react/17.0.2/src/tests/playwright/playwright.test.mjs-snapshots/app-2-chromium-darwin.png +0 -0
- package/templates/react/17.0.2/src/tests/playwright/playwright.test.mjs-snapshots/app-3-chromium-darwin.png +0 -0
- package/templates/react/17.0.2/src/tests/playwright/playwright.test.mjs-snapshots/app-4-chromium-darwin.png +0 -0
- package/templates/react/17.0.2/src/tests/playwright/playwright.test.mjs-snapshots/app-5-chromium-darwin.png +0 -0
- package/templates/react/17.0.2/src/tests/playwright/playwright.test.mjs-snapshots/code-chromium-darwin.json +16 -0
- package/templates/angular/package.file +0 -49
- package/templates/angular/src/app/app-routing.module.ts +0 -17
- package/templates/angular/src/app/footer/footer.component.html +0 -15
- package/templates/angular/src/app/header/header.component.html +0 -22
- package/templates/angular/src/app/header/header.component.scss +0 -3
- package/templates/angular/src/app/header/header.component.ts +0 -54
- package/templates/angular/src/app/index-page/index-page.component.html +0 -53
- package/templates/angular/src/app/index-page/index-page.component.ts +0 -30
- package/templates/angular/src/app/injuries-page/injuries-page.component.html +0 -37
- package/templates/angular/src/app/injuries-page/injuries-page.component.ts +0 -18
- package/templates/angular/src/app/insurance-page/insurance-page.component.html +0 -43
- package/templates/angular/src/app/insurance-page/insurance-page.component.ts +0 -18
- package/templates/angular/tsconfig.json +0 -14
- package/templates/react/package.file +0 -48
- package/templates/react/src/App.js +0 -67
- package/templates/react/src/components/Footer.js +0 -17
- package/templates/react/src/components/Header.js +0 -38
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Component, OnInit, Input } from "@angular/core"
|
|
2
|
+
import { FormGroup } from "@angular/forms"
|
|
3
|
+
import { Agreement } from "../agreement.model"
|
|
4
|
+
import { CurrencyFormatterService } from "../currency-formatter.service"
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: "app-investment-amount",
|
|
8
|
+
templateUrl: "./investment-amount.component.html",
|
|
9
|
+
styleUrls: ["./investment-amount.component.scss"]
|
|
10
|
+
})
|
|
11
|
+
export class InvestmentAmountComponent implements OnInit {
|
|
12
|
+
@Input() agreements: Record<number, Agreement>
|
|
13
|
+
@Input() form: FormGroup
|
|
14
|
+
|
|
15
|
+
constructor(public formatter: CurrencyFormatterService) {}
|
|
16
|
+
|
|
17
|
+
ngOnInit(): void {}
|
|
18
|
+
|
|
19
|
+
get selectedAgreement() {
|
|
20
|
+
return this.agreements[this.form.value.agreement]
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
get agreementOptions() {
|
|
24
|
+
return Object.entries(this.agreements).map(([value, { label, price }]) => {
|
|
25
|
+
return {
|
|
26
|
+
value,
|
|
27
|
+
label: `${label} - ${this.formatter.format(price)}`
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<ng-container [formGroup]="form">
|
|
2
|
+
<duet-checkbox formControlName="salary" label="Valinta 1"></duet-checkbox>
|
|
3
|
+
<duet-checkbox formControlName="gift" label="Valinta 2"></duet-checkbox>
|
|
4
|
+
<duet-checkbox formControlName="heritage" label="Valinta 3"></duet-checkbox>
|
|
5
|
+
<duet-checkbox formControlName="entrepreneurialIncome" label="Valinta 4"></duet-checkbox>
|
|
6
|
+
<duet-checkbox formControlName="assets" label="Valinta 5"></duet-checkbox>
|
|
7
|
+
<duet-checkbox formControlName="otherIncome" label="Valinta 6"></duet-checkbox>
|
|
8
|
+
<duet-checkbox label="Muu, mikä?" (duetChange)="handleExtrasChange($event)"></duet-checkbox>
|
|
9
|
+
<div *ngIf="hasExtras">
|
|
10
|
+
<duet-input formControlName="extras" label="Kerro sijoitettavien varojen muu alkuperä" label-hidden></duet-input>
|
|
11
|
+
</div>
|
|
12
|
+
</ng-container>
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component, OnInit, Input } from "@angular/core"
|
|
2
|
+
import { FormGroup } from "@angular/forms"
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: "app-investment-origin",
|
|
6
|
+
templateUrl: "./investment-origin.component.html",
|
|
7
|
+
styleUrls: ["./investment-origin.component.scss"]
|
|
8
|
+
})
|
|
9
|
+
export class InvestmentOriginComponent implements OnInit {
|
|
10
|
+
@Input() form: FormGroup
|
|
11
|
+
hasExtras = false
|
|
12
|
+
|
|
13
|
+
constructor() {}
|
|
14
|
+
|
|
15
|
+
ngOnInit(): void {}
|
|
16
|
+
|
|
17
|
+
handleExtrasChange(event: CustomEvent) {
|
|
18
|
+
this.hasExtras = event.detail.checked
|
|
19
|
+
|
|
20
|
+
if (!event.detail.checked) {
|
|
21
|
+
this.form.get("extras").setValue(null)
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<ng-container *ngIf="agreement">
|
|
2
|
+
<duet-input expand disabled label="Sopimus" [value]="agreement.label"></duet-input>
|
|
3
|
+
<duet-spacer></duet-spacer>
|
|
4
|
+
<duet-paragraph>Valitsemasi vaihtoehto jakautuu seuraavasti:</duet-paragraph>
|
|
5
|
+
<duet-table variation="plain">
|
|
6
|
+
<table>
|
|
7
|
+
<thead>
|
|
8
|
+
<tr>
|
|
9
|
+
<th>Sijoituskohde</th>
|
|
10
|
+
<th>Osuus</th>
|
|
11
|
+
<th class="duet-text-right">Summa</th>
|
|
12
|
+
</tr>
|
|
13
|
+
</thead>
|
|
14
|
+
<tbody>
|
|
15
|
+
<tr>
|
|
16
|
+
<td>
|
|
17
|
+
<duet-button
|
|
18
|
+
variation="plain"
|
|
19
|
+
margin="none"
|
|
20
|
+
padding="none"
|
|
21
|
+
url="https://www.duetds.com/assets/downloads/localtapiola-brand-guidelines.pdf"
|
|
22
|
+
external
|
|
23
|
+
>
|
|
24
|
+
Kohde 1<duet-spacer size="xx-small" direction="horizontal"></duet-spacer>
|
|
25
|
+
<duet-visually-hidden>, avautuu uuteen ikkunaan</duet-visually-hidden>
|
|
26
|
+
</duet-button>
|
|
27
|
+
</td>
|
|
28
|
+
<td>25%</td>
|
|
29
|
+
<td class="duet-text-right">{{ formatter.format(agreement.price * 0.25) }}</td>
|
|
30
|
+
</tr>
|
|
31
|
+
<tr>
|
|
32
|
+
<td>
|
|
33
|
+
<duet-button
|
|
34
|
+
variation="plain"
|
|
35
|
+
margin="none"
|
|
36
|
+
padding="none"
|
|
37
|
+
url="https://www.duetds.com/assets/downloads/localtapiola-brand-guidelines.pdf"
|
|
38
|
+
external
|
|
39
|
+
>
|
|
40
|
+
Kohde 2<duet-spacer size="xx-small" direction="horizontal"></duet-spacer>
|
|
41
|
+
<duet-visually-hidden>, avautuu uuteen ikkunaan</duet-visually-hidden>
|
|
42
|
+
</duet-button>
|
|
43
|
+
</td>
|
|
44
|
+
<td>25%</td>
|
|
45
|
+
<td class="duet-text-right">{{ formatter.format(agreement.price * 0.25) }}</td>
|
|
46
|
+
</tr>
|
|
47
|
+
<tr>
|
|
48
|
+
<td>
|
|
49
|
+
<duet-button
|
|
50
|
+
variation="plain"
|
|
51
|
+
margin="none"
|
|
52
|
+
padding="none"
|
|
53
|
+
url="https://www.duetds.com/assets/downloads/localtapiola-brand-guidelines.pdf"
|
|
54
|
+
external
|
|
55
|
+
>
|
|
56
|
+
Kohde 3<duet-spacer size="xx-small" direction="horizontal"></duet-spacer>
|
|
57
|
+
<duet-visually-hidden>, avautuu uuteen ikkunaan</duet-visually-hidden>
|
|
58
|
+
</duet-button>
|
|
59
|
+
</td>
|
|
60
|
+
<td>50%</td>
|
|
61
|
+
<td class="duet-text-right">{{ formatter.format(agreement.price * 0.5) }}</td>
|
|
62
|
+
</tr>
|
|
63
|
+
</tbody>
|
|
64
|
+
<tfoot>
|
|
65
|
+
<tr>
|
|
66
|
+
<td colspan="2" class="duet-font-weight-semi-bold">Sijoitettava summa</td>
|
|
67
|
+
<td class="duet-text-right duet-font-weight-semi-bold duet-font-size-large">
|
|
68
|
+
{{ formatter.format(agreement.price) }}
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
</tfoot>
|
|
72
|
+
</table>
|
|
73
|
+
</duet-table>
|
|
74
|
+
</ng-container>
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component, OnInit, Input } from "@angular/core"
|
|
2
|
+
import { Agreement } from "../agreement.model"
|
|
3
|
+
import { CurrencyFormatterService } from "../currency-formatter.service"
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: "app-summary",
|
|
7
|
+
templateUrl: "./summary.component.html",
|
|
8
|
+
styleUrls: ["./summary.component.scss"]
|
|
9
|
+
})
|
|
10
|
+
export class SummaryComponent implements OnInit {
|
|
11
|
+
@Input() agreement: Agreement
|
|
12
|
+
|
|
13
|
+
constructor(public formatter: CurrencyFormatterService) {}
|
|
14
|
+
|
|
15
|
+
ngOnInit(): void {}
|
|
16
|
+
}
|
|
File without changes
|
|
File without changes
|
package/templates/{eleventy-ssr → angular/13.2.4}/src/assets/img/apple-touch-icon-180x180.png
RENAMED
|
File without changes
|
package/templates/{eleventy-ssr → angular/13.2.4}/src/assets/img/splash-screen-icon-512x512.png
RENAMED
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// This file can be replaced during build by using the `fileReplacements` array.
|
|
2
|
+
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
|
|
3
|
+
// The list of file replacements can be found in `angular.json`.
|
|
4
|
+
|
|
5
|
+
export const environment = {
|
|
6
|
+
production: false
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
* For easier debugging in development mode, you can import the following file
|
|
11
|
+
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
|
|
12
|
+
*
|
|
13
|
+
* This import should be commented out in production mode because it will have a negative impact
|
|
14
|
+
* on performance if an error is thrown.
|
|
15
|
+
*/
|
|
16
|
+
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="fi" class="duet-sticky-footer duet-bg-gradient">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<base href="/" />
|
|
6
|
+
<title>LähiTapiola</title>
|
|
7
|
+
<meta name="author" content="LähiTapiola" />
|
|
8
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
9
|
+
<meta name="format-detection" content="telephone=no" />
|
|
10
|
+
<meta name="robots" content="noindex,nofollow" />
|
|
11
|
+
<link rel="apple-touch-icon" href="assets/img/apple-touch-icon-180x180.png" />
|
|
12
|
+
<link rel="manifest" href="manifest.json" />
|
|
13
|
+
<link
|
|
14
|
+
rel="stylesheet"
|
|
15
|
+
href="https://cdn.duetds.com/api/fonts/1.3.12/lib/localtapiola.css"
|
|
16
|
+
integrity="sha384-5JYmtSD7nykpUvSmTW1CHMoBDkBZUpUmG0vuh+NUVtZag3F75Kr7+/JU3J7JV6Wq"
|
|
17
|
+
crossorigin="anonymous"
|
|
18
|
+
/>
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
|
20
|
+
</head>
|
|
21
|
+
<body>
|
|
22
|
+
<app-root class="duet-sticky-body"></app-root>
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { enableProdMode } from "@angular/core"
|
|
2
|
+
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"
|
|
3
|
+
|
|
4
|
+
import { AppModule } from "./app/app.module"
|
|
5
|
+
import { environment } from "./environments/environment"
|
|
6
|
+
|
|
7
|
+
if (environment.production) {
|
|
8
|
+
enableProdMode()
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
platformBrowserDynamic()
|
|
12
|
+
.bootstrapModule(AppModule)
|
|
13
|
+
.catch(err => console.error(err))
|
|
File without changes
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file includes polyfills needed by Angular and is loaded before the app.
|
|
3
|
+
* You can add your own extra polyfills to this file.
|
|
4
|
+
*
|
|
5
|
+
* This file is divided into 2 sections:
|
|
6
|
+
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
|
|
7
|
+
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
|
|
8
|
+
* file.
|
|
9
|
+
*
|
|
10
|
+
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
|
|
11
|
+
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
|
|
12
|
+
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
|
|
13
|
+
*
|
|
14
|
+
* Learn more in https://angular.io/guide/browser-support
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/***************************************************************************************************
|
|
18
|
+
* BROWSER POLYFILLS
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
|
|
22
|
+
// import 'classlist.js'; // Run `npm install --save classlist.js`.
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Web Animations `@angular/platform-browser/animations`
|
|
26
|
+
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
|
|
27
|
+
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
|
|
28
|
+
*/
|
|
29
|
+
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* By default, zone.js will patch all possible macroTask and DomEvents
|
|
33
|
+
* user can disable parts of macroTask/DomEvents patch by setting following flags
|
|
34
|
+
* because those flags need to be set before `zone.js` being loaded, and webpack
|
|
35
|
+
* will put import in the top of bundle, so user need to create a separate file
|
|
36
|
+
* in this directory (for example: zone-flags.ts), and put the following flags
|
|
37
|
+
* into that file, and then add the following code before importing zone.js.
|
|
38
|
+
* import './zone-flags';
|
|
39
|
+
*
|
|
40
|
+
* The flags allowed in zone-flags.ts are listed here.
|
|
41
|
+
*
|
|
42
|
+
* The following flags will work for all browsers.
|
|
43
|
+
*
|
|
44
|
+
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
|
|
45
|
+
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
|
|
46
|
+
* (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
|
|
47
|
+
*
|
|
48
|
+
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
|
|
49
|
+
* with the following flag, it will bypass `zone.js` patch for IE/Edge
|
|
50
|
+
*
|
|
51
|
+
* (window as any).__Zone_enable_cross_context_check = true;
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
/***************************************************************************************************
|
|
56
|
+
* Zone JS is required by default for Angular itself.
|
|
57
|
+
*/
|
|
58
|
+
import "zone.js/dist/zone" // Included with Angular CLI.
|
|
59
|
+
|
|
60
|
+
/***************************************************************************************************
|
|
61
|
+
* APPLICATION IMPORTS
|
|
62
|
+
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {currencyFormatFI} from "../utils/string.utils"
|
|
2
|
+
|
|
3
|
+
describe('Example test of the jest setup running', () => {
|
|
4
|
+
test('formatter should format correctly', () => {
|
|
5
|
+
console.log(currencyFormatFI)
|
|
6
|
+
const formatStub = currencyFormatFI.format(12.90)
|
|
7
|
+
expect(formatStub).toBe("12,90 €")
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
test('Should do another thing', () => {
|
|
11
|
+
// do something...
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { test, expect } from '@playwright/test';
|
|
2
|
+
|
|
3
|
+
test.use({
|
|
4
|
+
viewport: { width: 1800, height: 2500 },
|
|
5
|
+
bypassCSP: true,
|
|
6
|
+
deviceScaleFactor: 1,
|
|
7
|
+
})
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
test('angular 13.2.4 test', async ({ page }, testInfo) => {
|
|
11
|
+
await page.waitForLoadState("networkidle") // This resolves after 'networkidle'
|
|
12
|
+
await page.waitForTimeout(1000 * testInfo.retry + 1)
|
|
13
|
+
await page.setViewportSize({ width: 1600, height: 1200 })
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// initial loading
|
|
17
|
+
await page.goto("http://localhost:4200/");
|
|
18
|
+
await page.goto("http://localhost:4200/#/");
|
|
19
|
+
await page.locator('select');
|
|
20
|
+
expect(await page.screenshot()).toMatchSnapshot("angular_13.2.4_1.png");
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Select 2
|
|
24
|
+
await page.locator('select').selectOption('2');
|
|
25
|
+
await page.waitForLoadState("networkidle")
|
|
26
|
+
expect(await page.screenshot()).toMatchSnapshot("angular_13.2.4_2.png");
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
// Click input[type="number"]
|
|
30
|
+
await page.locator('input[type="number"]').click();
|
|
31
|
+
await page.locator('input[type="number"]').fill('500');
|
|
32
|
+
await page.locator('#step1').click();
|
|
33
|
+
await page.waitForLoadState("networkidle")
|
|
34
|
+
expect(await page.screenshot()).toMatchSnapshot("angular_13.2.4_3.png");
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
// summary loading
|
|
38
|
+
await page.locator('#step2').click();
|
|
39
|
+
await page.waitForLoadState("networkidle")
|
|
40
|
+
expect(await page.screenshot()).toMatchSnapshot("angular_13.2.4_4.png");
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// summary displaying
|
|
44
|
+
await page.locator('#step3').click();
|
|
45
|
+
await page.waitForLoadState("networkidle") // This resolves after 'networkidle'
|
|
46
|
+
expect(await page.screenshot()).toMatchSnapshot("angular_13.2.4_5.png");
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
// Click code, store json
|
|
51
|
+
await page.locator('code').click();
|
|
52
|
+
expect(await page.textContent('code')).toMatchSnapshot('code.json');
|
|
53
|
+
|
|
54
|
+
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"investmentAmount": {
|
|
3
|
+
"agreement": "2",
|
|
4
|
+
"additionalInvestment": 500
|
|
5
|
+
},
|
|
6
|
+
"investmentOrigin": {
|
|
7
|
+
"salary": false,
|
|
8
|
+
"gift": false,
|
|
9
|
+
"heritage": false,
|
|
10
|
+
"entrepreneurialIncome": false,
|
|
11
|
+
"assets": false,
|
|
12
|
+
"otherIncome": false,
|
|
13
|
+
"investment": false,
|
|
14
|
+
"extras": null
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const currencyFormatFI = new Intl.NumberFormat("fi-FI", { style: "currency", currency: "EUR" })
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compileOnSave": false,
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"esModuleInterop":true,
|
|
5
|
+
"baseUrl": "./",
|
|
6
|
+
"outDir": "./dist/out-tsc",
|
|
7
|
+
"sourceMap": true,
|
|
8
|
+
"declaration": false,
|
|
9
|
+
"downlevelIteration": true,
|
|
10
|
+
"experimentalDecorators": true,
|
|
11
|
+
"moduleResolution": "node",
|
|
12
|
+
"importHelpers": true,
|
|
13
|
+
"target": "es2015",
|
|
14
|
+
"module": "es2020",
|
|
15
|
+
"lib": ["es2018", "dom"]
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "./out-tsc/app",
|
|
5
|
+
"types": ["jest","jest-image-snapshot","node"],
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"emitDecoratorMetadata": true
|
|
8
|
+
},
|
|
9
|
+
"files": ["src/main.ts", "src/polyfills.ts"],
|
|
10
|
+
"include": ["src/**/*.d.ts",
|
|
11
|
+
"src/**/*.spec.ts",
|
|
12
|
+
"src/**/*.test.ts",
|
|
13
|
+
"src/**/*.spec.tsx",
|
|
14
|
+
"src/**/*.test.tsx"]
|
|
15
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/{react/public → eleventy/0.10.0/src}/assets/img/android-chrome-192x192.png
RENAMED
|
File without changes
|
package/templates/{react/public → eleventy/0.10.0/src}/assets/img/apple-touch-icon-180x180.png
RENAMED
|
File without changes
|
package/templates/{react/public → eleventy/0.10.0/src}/assets/img/splash-screen-icon-512x512.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/{eleventy → eleventy-ssr/0.10.0}/src/assets/img/android-chrome-192x192.png
RENAMED
|
File without changes
|
package/templates/{eleventy → eleventy-ssr/0.10.0}/src/assets/img/apple-touch-icon-180x180.png
RENAMED
|
File without changes
|
package/templates/{eleventy → eleventy-ssr/0.10.0}/src/assets/img/splash-screen-icon-512x512.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
## Authorization to access
|
|
4
|
+
|
|
5
|
+
Subject to these terms of use, LocalTapiola Services Ltd, on behalf of itself and the companies belonging to the same financial conglomerate (hereafter, individually and collectively, “LocalTapiola”) hereby grants you a limited, non-exclusive, revocable license to access and use the Duet Design System (the “Package”) solely for the purpose of performing your duties for and on behalf of LocalTapiola (the “Purpose”).
|
|
6
|
+
|
|
7
|
+
Except for the Purpose, you may not access or use the Package or reproduce, retransmit, disseminate, sell, publish, broadcast or use any of the information, content or materials available through it for any reason.
|
|
8
|
+
|
|
9
|
+
By accessing and using this Package, you agree to be bound by these terms of use.
|
|
10
|
+
|
|
11
|
+
## Copyright
|
|
12
|
+
|
|
13
|
+
LocalTapiola reserves all copyrights, trademarks and other intellectual property rights in and to the Package and all content on the Package, as well as to any information or materials derived from them. All content and material available through the Package are the copyrighted property of LocalTapiola.
|
|
14
|
+
|
|
15
|
+
## Trademarks
|
|
16
|
+
|
|
17
|
+
“Duet Design System” is a registered trademark of LocalTapiola. All other marks, whether registered or not, that are associated with any LocalTapiola or Turva product or service are trademarks or service marks of LocalTapiola Services Ltd. All non-LocalTapiola names or marks, if any, appearing in the Package are the property of their respective owners.
|
|
18
|
+
|
|
19
|
+
## Disclaimer
|
|
20
|
+
|
|
21
|
+
The use of the Package is at the sole responsibility of the user. The Package is provided “as is” and “as available” without express or implied warranty or condition of any kind. LocalTapiola may at any time make changes to the Package or any of its features or functionalities. LocalTapiola also reserves the right to modify or discontinue, temporarily or permanently, functions and features of the Package, with or without notice, all without liability to you, except where prohibited by law, for any interruption, modification, or discontinuation of the Package or any of its features or functionalities.
|
|
22
|
+
|
|
23
|
+
## Limitation of liability
|
|
24
|
+
|
|
25
|
+
To the fullest extent permitted by law, LocalTapiola accepts no liability to user or any third party for any damages, including without limitation, indirect or consequential damages or any damages whatsoever arising from use or loss of use of the Package or its content.
|
|
26
|
+
|
|
27
|
+
## Governing law
|
|
28
|
+
|
|
29
|
+
These Terms and your use of the Package shall be governed by and construed in accordance with the substantive laws of Finland.
|