@tedi-design-system/angular 9.0.0 → 9.0.1-rc.2
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/package.json
CHANGED
package/tedi/index.d.ts
CHANGED
|
@@ -7459,7 +7459,6 @@ declare class SearchComponent<T = unknown> implements ControlValueAccessor {
|
|
|
7459
7459
|
readonly suggestionTemplate: _angular_core.Signal<SearchSuggestionTemplateDirective<any> | undefined>;
|
|
7460
7460
|
readonly footerTemplate: _angular_core.Signal<SearchFooterTemplateDirective | undefined>;
|
|
7461
7461
|
private readonly inputRef;
|
|
7462
|
-
private readonly overlayOrigin;
|
|
7463
7462
|
private readonly connectedOverlay;
|
|
7464
7463
|
private readonly suggestionRows;
|
|
7465
7464
|
private readonly formDisabled;
|
|
@@ -7483,17 +7482,17 @@ declare class SearchComponent<T = unknown> implements ControlValueAccessor {
|
|
|
7483
7482
|
readonly overlayPositions: ConnectedPosition[];
|
|
7484
7483
|
readonly panelWidth: _angular_core.WritableSignal<number>;
|
|
7485
7484
|
/**
|
|
7486
|
-
*
|
|
7487
|
-
*
|
|
7485
|
+
* The bordered input box, not the whole form field, so the panel overlays the
|
|
7486
|
+
* hint instead of opening below it.
|
|
7488
7487
|
*/
|
|
7489
|
-
readonly
|
|
7488
|
+
readonly panelOrigin: _angular_core.WritableSignal<Element>;
|
|
7490
7489
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
7491
7490
|
readonly fieldIcon: _angular_core.Signal<string | FormFieldIcon | undefined>;
|
|
7492
7491
|
readonly fieldHeight: _angular_core.Signal<"var(--form-field-height-sm)" | "var(--form-field-height-lg)" | "var(--form-field-height)">;
|
|
7493
7492
|
readonly buttonSize: _angular_core.Signal<"small" | "default">;
|
|
7494
7493
|
readonly buttonIconSize: _angular_core.Signal<24 | 18>;
|
|
7495
7494
|
readonly buttonAriaLabel: _angular_core.Signal<string | null>;
|
|
7496
|
-
readonly feedbackId: _angular_core.Signal<string
|
|
7495
|
+
readonly feedbackId: _angular_core.Signal<string>;
|
|
7497
7496
|
readonly searchAriaLabel: _angular_core.Signal<string>;
|
|
7498
7497
|
/**
|
|
7499
7498
|
* Accessible name for the input itself. A visible `label` already names it
|
|
@@ -7527,8 +7526,9 @@ declare class SearchComponent<T = unknown> implements ControlValueAccessor {
|
|
|
7527
7526
|
onBlur(): void;
|
|
7528
7527
|
onInputFocus(): void;
|
|
7529
7528
|
openPanel(): void;
|
|
7529
|
+
/** The box wrapping input and icons, or the input itself when it owns the surface. */
|
|
7530
|
+
private fieldSurface;
|
|
7530
7531
|
closePanel(): void;
|
|
7531
|
-
onPositionChange(change: ConnectedOverlayPositionChange): void;
|
|
7532
7532
|
onOverlayAttach(): void;
|
|
7533
7533
|
onOverlayDetach(): void;
|
|
7534
7534
|
/**
|
|
@@ -8691,6 +8691,11 @@ declare class TimePickerComponent implements ControlValueAccessor, AfterViewInit
|
|
|
8691
8691
|
readonly trapFocus: _angular_core.InputSignal<boolean>;
|
|
8692
8692
|
/** Emitted when the picker requests to be closed (Tab while `trapFocus` is `true`). */
|
|
8693
8693
|
readonly closeRequested: _angular_core.OutputEmitterRef<void>;
|
|
8694
|
+
/**
|
|
8695
|
+
* Emitted when the user explicitly picks a value: a minute click or Enter on the minute column (`scroll`),
|
|
8696
|
+
* or a slot/item selection (`slots`/`dropdown`). Scrolling or arrowing the wheels does not emit.
|
|
8697
|
+
*/
|
|
8698
|
+
readonly selectionCommitted: _angular_core.OutputEmitterRef<void>;
|
|
8694
8699
|
private readonly el;
|
|
8695
8700
|
private readonly uniqueId;
|
|
8696
8701
|
private readonly formDisabled;
|
|
@@ -8791,6 +8796,13 @@ declare class TimePickerComponent implements ControlValueAccessor, AfterViewInit
|
|
|
8791
8796
|
private indexFromScroll;
|
|
8792
8797
|
private setScrollIndex;
|
|
8793
8798
|
private scheduleScrollSelection;
|
|
8799
|
+
/**
|
|
8800
|
+
* Called before a minute commit, which may close the picker. A debounce left
|
|
8801
|
+
* running would fire on the closed column, read scrollTop 0 and overwrite the
|
|
8802
|
+
* value. The pending hour is applied from its highlighted row; the pending
|
|
8803
|
+
* minute is dropped, as the commit picks the minute itself.
|
|
8804
|
+
*/
|
|
8805
|
+
private settlePendingScrollSelection;
|
|
8794
8806
|
/**
|
|
8795
8807
|
* Gecko hands a torn-down scroll container's offset to the one replacing it
|
|
8796
8808
|
* in the same position, so a picker can arrive already scrolled to the
|
|
@@ -8813,7 +8825,7 @@ declare class TimePickerComponent implements ControlValueAccessor, AfterViewInit
|
|
|
8813
8825
|
/** Drops every trace of a programmatic scroll, target offset included. */
|
|
8814
8826
|
private clearProgrammaticScroll;
|
|
8815
8827
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
8816
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "tedi-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "timeSlots": { "alias": "timeSlots"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "showSlotIndicator": { "alias": "showSlotIndicator"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "trapFocus": { "alias": "trapFocus"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "closeRequested": "closeRequested"; }, never, never, true, never>;
|
|
8828
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "tedi-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "timeSlots": { "alias": "timeSlots"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "showSlotIndicator": { "alias": "showSlotIndicator"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "trapFocus": { "alias": "trapFocus"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "closeRequested": "closeRequested"; "selectionCommitted": "selectionCommitted"; }, never, never, true, never>;
|
|
8817
8829
|
}
|
|
8818
8830
|
|
|
8819
8831
|
type ModalSize = "default" | "small";
|
|
@@ -8885,7 +8897,7 @@ declare class TimeFieldComponent implements OnInit, ControlValueAccessor, FormFi
|
|
|
8885
8897
|
* Marks the field as invalid. Sets `aria-invalid` on the input and triggers
|
|
8886
8898
|
* the error styling. Combines with the state derived from reactive forms.
|
|
8887
8899
|
*/
|
|
8888
|
-
|
|
8900
|
+
readonly invalidInput: _angular_core.InputSignal<boolean>;
|
|
8889
8901
|
/** Disables interaction. Combines with the form-control disabled state. */
|
|
8890
8902
|
readonly disabledInput: _angular_core.InputSignal<boolean>;
|
|
8891
8903
|
/**
|
|
@@ -8908,7 +8920,10 @@ declare class TimeFieldComponent implements OnInit, ControlValueAccessor, FormFi
|
|
|
8908
8920
|
readonly useNativePicker: _angular_core.InputSignal<TimeFieldUseNativePicker>;
|
|
8909
8921
|
/** What opens the picker: only the icon (`button`) or also clicking the input (`input`). */
|
|
8910
8922
|
readonly pickerTrigger: _angular_core.InputSignal<TimeFieldPickerTrigger>;
|
|
8911
|
-
/**
|
|
8923
|
+
/**
|
|
8924
|
+
* Close the popover as soon as the user picks a value. In the `scroll` variant only a minute click or
|
|
8925
|
+
* Enter in the minute column closes it — scrolling or arrowing the wheels does not.
|
|
8926
|
+
*/
|
|
8912
8927
|
readonly closeOnSelect: _angular_core.InputSignal<boolean>;
|
|
8913
8928
|
/** Predefined `HH:mm` strings for the `slots` and `dropdown` variants. */
|
|
8914
8929
|
readonly timeSlots: _angular_core.InputSignal<string[]>;
|
|
@@ -8979,6 +8994,7 @@ declare class TimeFieldComponent implements OnInit, ControlValueAccessor, FormFi
|
|
|
8979
8994
|
private openMobileModal;
|
|
8980
8995
|
onPickerOpen(): void;
|
|
8981
8996
|
onPickerValueChange(newValue: string | null): void;
|
|
8997
|
+
onPickerSelectionCommitted(): void;
|
|
8982
8998
|
closePopover(notifyTouched?: boolean): void;
|
|
8983
8999
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimeFieldComponent, never>;
|
|
8984
9000
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeFieldComponent, "tedi-time-field", never, { "inputId": { "alias": "inputId"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "invalidInput": { "alias": "invalid"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "pickerVariant": { "alias": "pickerVariant"; "required": false; "isSignal": true; }; "useNativePicker": { "alias": "useNativePicker"; "required": false; "isSignal": true; }; "pickerTrigger": { "alias": "pickerTrigger"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "timeSlots": { "alias": "timeSlots"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "showSlotIndicator": { "alias": "showSlotIndicator"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|