taxtank-core 2.0.116 → 2.0.117

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.
@@ -22098,6 +22098,10 @@ const ENDPOINTS = {
22098
22098
  BUDGET_RULES_PUT: new Endpoint('PUT', '\\/budget-rules\\/\\d+'),
22099
22099
  BUDGET_RULES_DELETE: new Endpoint('DELETE', '\\/budget-rules\\/\\d+'),
22100
22100
  BORROWING_EXPENSES_GET: new Endpoint('GET', '\\/borrowing-expenses'),
22101
+ CALENDAR_REMINDERS_GET: new Endpoint('GET', '\\/calendar-reminders'),
22102
+ CALENDAR_REMINDERS_POST: new Endpoint('POST', '\\/calendar-reminders'),
22103
+ CALENDAR_REMINDERS_PUT: new Endpoint('PUT', '\\/calendar-reminders/\\d+'),
22104
+ CALENDAR_REMINDERS_DELETE: new Endpoint('DELETE', '\\/calendar-reminders/\\d+'),
22101
22105
  CHARTS_INCOME_GET: new Endpoint('GET', '\\/charts\\/\\incomes'),
22102
22106
  CHARTS_EXPENSES_GET: new Endpoint('GET', '\\/charts\\/\\expenses'),
22103
22107
  CHART_ACCOUNTS_GET: new Endpoint('GET', '\\/chart-accounts'),
@@ -23894,7 +23898,8 @@ class CalendarReminderForm extends AbstractForm {
23894
23898
  tankType: new UntypedFormControl(reminder.tankType ?? TankTypeEnum.PERSONAL, Validators.required),
23895
23899
  type: new UntypedFormControl(reminder.type, Validators.required),
23896
23900
  startDate: new FormControl(reminder.startDate, Validators.required),
23897
- endDate: new FormControl({ value: reminder.endDate, disabled: !reminder.frequency }),
23901
+ endDate: new FormControl({ value: reminder.endDate, disabled: !reminder.frequency }, [Validators.required, conditionalValidator(() => this.get('frequency').value, compareWithControlValidator('startDate', '>', 'Reminder start date'))]),
23902
+ frequency: new FormControl(reminder.frequency),
23898
23903
  description: new UntypedFormControl(reminder.description),
23899
23904
  file: new UntypedFormControl(reminder.file),
23900
23905
  property: new FormControl(reminder.property, conditionalValidator(() => this.value.tankType === TankTypeEnum.PROPERTY, Validators.required)),