some ui fix and debug input field, separate price field

This commit is contained in:
2026-06-02 12:22:32 +03:30
parent ae963a60ce
commit 1f9166bed3
34 changed files with 335 additions and 282 deletions
@@ -5,7 +5,6 @@ import { Component, computed, EventEmitter, Input, Output, signal } from '@angul
import { FormsModule } from '@angular/forms';
import { ButtonDirective, ButtonSeverity } from 'primeng/button';
import { SharedLightBottomsheetComponent } from '../dialog/light-bottomsheet.component';
import { FormFooterActionsComponent } from '../formFooterActions/form-footer-actions.component';
type SeasonKey = 0 | 1 | 2 | 3;
@@ -22,7 +21,6 @@ interface SeasonItem {
CommonModule,
FormsModule,
SharedLightBottomsheetComponent,
FormFooterActionsComponent,
ButtonDirective,
UikitLabelComponent,
],
@@ -40,10 +38,11 @@ export class SeasonPickerDialogComponent extends AbstractDialog {
isSeasonDisabled = computed(() => this.selectedYear >= this.selectedYearDraft());
onSubmit(): void {
selectSeason(season: SeasonItem) {
this.selectedSeasonDraft.set(season.key);
this.submit.emit({
year: this.selectedYearDraft(),
season: this.selectedSeasonDraft(),
season: season.key,
});
this.close();
}