@lucca-front/ng 20.2.2 → 20.2.3-rc.1

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/date2/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, ElementRef, Signal } from '@angular/core';
2
+ import { OnInit, ElementRef } from '@angular/core';
3
3
  import { Palette, PortalContent } from '@lucca-front/ng/core';
4
4
  import { ConnectionPositionPair } from '@angular/cdk/overlay';
5
5
  import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
@@ -257,10 +257,10 @@ declare const PremadeShortcuts: Record<string, (locale: string) => DateRange>;
257
257
 
258
258
  declare class DateRangeInputComponent extends AbstractDateComponent implements OnInit, ControlValueAccessor, Validator, FilterPillInputComponent {
259
259
  #private;
260
- hasTwoCalendars: Signal<boolean>;
260
+ hasTwoCalendars: _angular_core.Signal<boolean>;
261
261
  idSuffix: number;
262
- startTextInputRef: Signal<ElementRef<HTMLInputElement>>;
263
- endTextInputRef: Signal<ElementRef<HTMLInputElement>>;
262
+ startTextInputRef: _angular_core.Signal<ElementRef<HTMLInputElement>>;
263
+ endTextInputRef: _angular_core.Signal<ElementRef<HTMLInputElement>>;
264
264
  initialValue: _angular_core.WritableSignal<DateRange>;
265
265
  selectedRange: _angular_core.WritableSignal<DateRange>;
266
266
  dateHovered: _angular_core.WritableSignal<Date>;
@@ -273,24 +273,22 @@ declare class DateRangeInputComponent extends AbstractDateComponent implements O
273
273
  highlightedField: _angular_core.WritableSignal<0 | 1 | -1>;
274
274
  shortcuts: _angular_core.InputSignal<readonly CalendarShortcut[]>;
275
275
  autocomplete: _angular_core.InputSignal<AutoFill>;
276
- protected currentRightDate: Signal<Date>;
277
- protected currentStartDisplayDate: Signal<Date>;
278
- protected currentEndDisplayDate: Signal<Date>;
279
- calendars: Signal<readonly Calendar2Component[]>;
276
+ protected currentRightDate: _angular_core.Signal<Date>;
277
+ protected currentStartDisplayDate: _angular_core.Signal<Date>;
278
+ protected currentEndDisplayDate: _angular_core.Signal<Date>;
279
+ calendars: _angular_core.Signal<readonly Calendar2Component[]>;
280
280
  combinedGetCellInfo: (date: Date, mode: CalendarMode) => CellStatus;
281
- calendarRanges: Signal<DateRange[]>;
282
- startLabel: Signal<string>;
283
- startTextInput: _angular_core.WritableSignal<string>;
284
- endLabel: Signal<string>;
285
- endTextInput: _angular_core.WritableSignal<string>;
286
- previousButton: Signal<ElementRef<Element>>;
287
- nextButton: Signal<ElementRef<Element>>;
281
+ calendarRanges: _angular_core.Signal<DateRange[]>;
282
+ startLabel: _angular_core.Signal<string>;
283
+ endLabel: _angular_core.Signal<string>;
284
+ previousButton: _angular_core.Signal<ElementRef<Element>>;
285
+ nextButton: _angular_core.Signal<ElementRef<Element>>;
288
286
  focusedCalendarIndex: _angular_core.WritableSignal<number>;
289
- focusedCalendar: Signal<Calendar2Component>;
287
+ focusedCalendar: _angular_core.Signal<Calendar2Component>;
290
288
  isFilterPill: boolean;
291
289
  get isWidthAuto(): boolean;
292
- isFilterPillEmpty: Signal<boolean>;
293
- isFilterPillClearable: Signal<boolean>;
290
+ isFilterPillEmpty: _angular_core.Signal<boolean>;
291
+ isFilterPillClearable: _angular_core.Signal<boolean>;
294
292
  filterPillPopoverCloseFn?: () => void;
295
293
  filterPillDisabled: _angular_core.WritableSignal<boolean>;
296
294
  get isNavigationButtonFocused(): boolean;
@@ -298,7 +296,6 @@ declare class DateRangeInputComponent extends AbstractDateComponent implements O
298
296
  ngOnInit(): void;
299
297
  getNextCalendarDate(date: Date): Date;
300
298
  popoverClosed(): void;
301
- setupInputEffect(inputSignal: Signal<string | null>, rangeProperty: 'start' | 'end'): void;
302
299
  inputBlur(): void;
303
300
  fixOrderIfNeeded(): void;
304
301
  tabbableDateChange(date: Date, calendarIndex: number): void;
@@ -317,6 +314,7 @@ declare class DateRangeInputComponent extends AbstractDateComponent implements O
317
314
  enableFilterPillMode(): void;
318
315
  clearFilterPillValue(): void;
319
316
  getDefaultFilterPillIcon(): LuccaIcon;
317
+ textInputChange(inputValue: string, rangeProperty: 'start' | 'end'): void;
320
318
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateRangeInputComponent, never>;
321
319
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateRangeInputComponent, "lu-date-range-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "widthAuto": { "alias": "widthAuto"; "required": false; "isSignal": true; }; "shortcuts": { "alias": "shortcuts"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
322
320
  }