mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
import { XRayRulesSettings } from '@ghostfolio/common/interfaces';
|
|
import { GfValueComponent } from '@ghostfolio/ui/value';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
import { Component, Inject } from '@angular/core';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
import {
|
|
MAT_DIALOG_DATA,
|
|
MatDialogModule,
|
|
MatDialogRef
|
|
} from '@angular/material/dialog';
|
|
import { MatSliderModule } from '@angular/material/slider';
|
|
|
|
import { RuleSettingsDialogParams } from './interfaces/interfaces';
|
|
|
|
@Component({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
GfValueComponent,
|
|
MatButtonModule,
|
|
MatDialogModule,
|
|
MatSliderModule
|
|
],
|
|
selector: 'gf-rule-settings-dialog',
|
|
styleUrls: ['./rule-settings-dialog.scss'],
|
|
templateUrl: './rule-settings-dialog.html'
|
|
})
|
|
export class GfRuleSettingsDialogComponent {
|
|
public settings: XRayRulesSettings['AccountClusterRiskCurrentInvestment'];
|
|
|
|
public constructor(
|
|
@Inject(MAT_DIALOG_DATA) public data: RuleSettingsDialogParams,
|
|
public dialogRef: MatDialogRef<GfRuleSettingsDialogComponent>
|
|
) {}
|
|
}
|
|
|