Compare commits
5 commits
9e953c8a44
...
ba83f4308e
Author | SHA1 | Date | |
---|---|---|---|
ba83f4308e | |||
09fdd83192 | |||
8c9d7c498b | |||
abc4277e84 | |||
a7d98e1150 |
4 changed files with 13 additions and 10 deletions
|
@ -39,7 +39,7 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.stripe:stripe-java:20.79.0")
|
implementation("com.stripe:stripe-java:20.136.0")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||||
compileOnly("org.projectlombok:lombok")
|
compileOnly("org.projectlombok:lombok")
|
||||||
|
@ -47,10 +47,10 @@ dependencies {
|
||||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-security")
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server:3.3.3")
|
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server:3.4.3")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-oauth2-client:3.3.3")
|
implementation("org.springframework.boot:spring-boot-starter-oauth2-client:3.4.3")
|
||||||
runtimeOnly("org.postgresql:postgresql")
|
runtimeOnly("org.postgresql:postgresql")
|
||||||
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0")
|
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<Test> {
|
tasks.withType<Test> {
|
||||||
|
|
|
@ -32,7 +32,7 @@ import gsap from 'gsap';
|
||||||
})
|
})
|
||||||
export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
|
export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
|
||||||
@Input() isOpen = false;
|
@Input() isOpen = false;
|
||||||
@Output() close = new EventEmitter<void>();
|
@Output() closeModalEmitter = new EventEmitter<void>();
|
||||||
@ViewChild('modalBg') modalBg!: ElementRef;
|
@ViewChild('modalBg') modalBg!: ElementRef;
|
||||||
@ViewChild('modalCard') modalCard!: ElementRef;
|
@ViewChild('modalCard') modalCard!: ElementRef;
|
||||||
protected form!: FormGroup;
|
protected form!: FormGroup;
|
||||||
|
@ -110,7 +110,7 @@ export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnCha
|
||||||
this.modalAnimationService.closeModal(
|
this.modalAnimationService.closeModal(
|
||||||
this.modalCard.nativeElement,
|
this.modalCard.nativeElement,
|
||||||
this.modalBg.nativeElement,
|
this.modalBg.nativeElement,
|
||||||
() => this.close.emit()
|
() => this.closeModalEmitter.emit()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,10 @@
|
||||||
<h3 class="section-heading text-xl mb-4">Konto</h3>
|
<h3 class="section-heading text-xl mb-4">Konto</h3>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<button class="button-primary w-full py-2" (click)="openDepositModal()">Einzahlen</button>
|
<button class="button-primary w-full py-2" (click)="openDepositModal()">Einzahlen</button>
|
||||||
<app-deposit [isOpen]="isDepositModalOpen" (close)="closeDepositModal()"></app-deposit>
|
<app-deposit
|
||||||
|
[isOpen]="isDepositModalOpen"
|
||||||
|
(closeModalEmitter)="closeDepositModal()"
|
||||||
|
></app-deposit>
|
||||||
<button class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded">
|
<button class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded">
|
||||||
Transaktionen
|
Transaktionen
|
||||||
</button>
|
</button>
|
||||||
|
@ -85,7 +88,7 @@
|
||||||
|
|
||||||
<app-confirmation
|
<app-confirmation
|
||||||
[successful]="isDepositSuccessful"
|
[successful]="isDepositSuccessful"
|
||||||
(close)="closeDepositConfirmationModal()"
|
(closeConfirmation)="closeDepositConfirmationModal()"
|
||||||
></app-confirmation>
|
></app-confirmation>
|
||||||
|
|
||||||
<div class="card p-4">
|
<div class="card p-4">
|
||||||
|
|
|
@ -19,7 +19,7 @@ import gsap from 'gsap';
|
||||||
})
|
})
|
||||||
export class ConfirmationComponent implements AfterViewInit, OnDestroy {
|
export class ConfirmationComponent implements AfterViewInit, OnDestroy {
|
||||||
@Input() successful = true;
|
@Input() successful = true;
|
||||||
@Output() close = new EventEmitter<void>();
|
@Output() closeConfirmation = new EventEmitter<void>();
|
||||||
@ViewChild('modalBg') modalBg!: ElementRef;
|
@ViewChild('modalBg') modalBg!: ElementRef;
|
||||||
@ViewChild('modalCard') modalCard!: ElementRef;
|
@ViewChild('modalCard') modalCard!: ElementRef;
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ export class ConfirmationComponent implements AfterViewInit, OnDestroy {
|
||||||
this.modalAnimationService.closeModal(
|
this.modalAnimationService.closeModal(
|
||||||
this.modalCard.nativeElement,
|
this.modalCard.nativeElement,
|
||||||
this.modalBg.nativeElement,
|
this.modalBg.nativeElement,
|
||||||
() => this.close.emit()
|
() => this.closeConfirmation.emit()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue