@tedi-design-system/angular 8.1.0-rc.8 → 8.1.0-rc.9
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { AfterContentChecked, AfterViewInit, InputSignal, Signal, PipeTransform, OnInit, OnDestroy, TemplateRef, ElementRef, Injector, WritableSignal, InjectionToken, AfterViewChecked, AfterContentInit, QueryList, EnvironmentProviders } from '@angular/core';
|
|
3
|
-
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
3
|
+
import { _IdGenerator, Highlightable } from '@angular/cdk/a11y';
|
|
4
4
|
import * as _tedi_design_system_angular_tedi from '@tedi-design-system/angular/tedi';
|
|
5
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
6
|
import * as _tanstack_table_core from '@tanstack/table-core';
|
|
@@ -354,6 +354,27 @@ declare const translationsMap: {
|
|
|
354
354
|
en: string;
|
|
355
355
|
ru: string;
|
|
356
356
|
};
|
|
357
|
+
"search.no-results": {
|
|
358
|
+
description: string;
|
|
359
|
+
components: string[];
|
|
360
|
+
et: string;
|
|
361
|
+
en: string;
|
|
362
|
+
ru: string;
|
|
363
|
+
};
|
|
364
|
+
"search.loading": {
|
|
365
|
+
description: string;
|
|
366
|
+
components: string[];
|
|
367
|
+
et: string;
|
|
368
|
+
en: string;
|
|
369
|
+
ru: string;
|
|
370
|
+
};
|
|
371
|
+
"search.results-count": {
|
|
372
|
+
description: string;
|
|
373
|
+
components: string[];
|
|
374
|
+
et: (count: number) => string;
|
|
375
|
+
en: (count: number) => string;
|
|
376
|
+
ru: (count: number) => string;
|
|
377
|
+
};
|
|
357
378
|
required: {
|
|
358
379
|
description: string;
|
|
359
380
|
components: string[];
|
|
@@ -6770,7 +6791,78 @@ declare class FormFieldComponent implements FieldContext {
|
|
|
6770
6791
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "tedi-form-field", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "characterLimit": { "alias": "characterLimit"; "required": false; "isSignal": true; }; }, {}, ["control", "feedback"], ["label[tedi-label], tedi-label-row", "*", "tedi-feedback-text", "[tediFormFieldExtra]"], true, never>;
|
|
6771
6792
|
}
|
|
6772
6793
|
|
|
6794
|
+
/**
|
|
6795
|
+
* Context passed to a custom suggestion row template.
|
|
6796
|
+
*/
|
|
6797
|
+
interface SearchSuggestionContext<T = unknown> {
|
|
6798
|
+
/** The suggestion, so `let-item` works without naming a context key. */
|
|
6799
|
+
$implicit: T;
|
|
6800
|
+
/** The same suggestion under a name, for `let-item="item"`. */
|
|
6801
|
+
item: T;
|
|
6802
|
+
/** Position in the rendered list, matching the row's `aria-activedescendant` id. */
|
|
6803
|
+
index: number;
|
|
6804
|
+
/** Resolved display label, via `bindLabel`. */
|
|
6805
|
+
label: string;
|
|
6806
|
+
/** Resolved secondary line, via `bindDescription`. Empty when unbound. */
|
|
6807
|
+
description: string;
|
|
6808
|
+
/** Whether the row is unselectable, via `bindDisabled`. */
|
|
6809
|
+
disabled: boolean;
|
|
6810
|
+
/** Current trimmed field value, for custom match highlighting. */
|
|
6811
|
+
query: string;
|
|
6812
|
+
}
|
|
6813
|
+
/**
|
|
6814
|
+
* Renders each suggestion row. Without it, rows show the resolved label with the
|
|
6815
|
+
* matched substring bolded.
|
|
6816
|
+
*
|
|
6817
|
+
* @example
|
|
6818
|
+
* ```html
|
|
6819
|
+
* <tedi-search [suggestions]="people" bindLabel="name">
|
|
6820
|
+
* <ng-template tediSearchSuggestion let-item>
|
|
6821
|
+
* <span tedi-text modifiers="bold">{{ item.name }}</span>
|
|
6822
|
+
* <span tedi-text color="tertiary">{{ item.code }}</span>
|
|
6823
|
+
* </ng-template>
|
|
6824
|
+
* </tedi-search>
|
|
6825
|
+
* ```
|
|
6826
|
+
*/
|
|
6827
|
+
declare class SearchSuggestionTemplateDirective<T = unknown> {
|
|
6828
|
+
template: TemplateRef<SearchSuggestionContext<T>>;
|
|
6829
|
+
static ngTemplateContextGuard<T>(_dir: SearchSuggestionTemplateDirective<T>, _ctx: unknown): _ctx is SearchSuggestionContext<T>;
|
|
6830
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchSuggestionTemplateDirective<any>, never>;
|
|
6831
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SearchSuggestionTemplateDirective<any>, "[tediSearchSuggestion]", never, {}, {}, never, never, true, never>;
|
|
6832
|
+
}
|
|
6833
|
+
/**
|
|
6834
|
+
* Extra content pinned below the suggestions — fallback actions and a hint, for
|
|
6835
|
+
* example. It shows whenever the panel is open, including the no-results state,
|
|
6836
|
+
* which is what makes it useful for "nothing matched, try this instead".
|
|
6837
|
+
*
|
|
6838
|
+
* Suggestions keep behaving exactly as they do without it: filtering, arrow-key
|
|
6839
|
+
* navigation and Enter to select are unchanged. Tab moves from the field into the
|
|
6840
|
+
* footer's controls.
|
|
6841
|
+
*
|
|
6842
|
+
* @example
|
|
6843
|
+
* ```html
|
|
6844
|
+
* <tedi-search [suggestions]="matches()">
|
|
6845
|
+
* <ng-template tediSearchFooter>
|
|
6846
|
+
* <tedi-search-footer-actions>
|
|
6847
|
+
* <button tedi-button variant="secondary">Isik teadmata</button>
|
|
6848
|
+
* </tedi-search-footer-actions>
|
|
6849
|
+
* </ng-template>
|
|
6850
|
+
* </tedi-search>
|
|
6851
|
+
* ```
|
|
6852
|
+
*/
|
|
6853
|
+
declare class SearchFooterTemplateDirective {
|
|
6854
|
+
template: TemplateRef<unknown>;
|
|
6855
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchFooterTemplateDirective, never>;
|
|
6856
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SearchFooterTemplateDirective, "[tediSearchFooter]", never, {}, {}, never, never, true, never>;
|
|
6857
|
+
}
|
|
6858
|
+
|
|
6773
6859
|
type SearchSize = InputSize;
|
|
6860
|
+
interface SearchSuggestionView<T = unknown> {
|
|
6861
|
+
item: T;
|
|
6862
|
+
label: string;
|
|
6863
|
+
description: string;
|
|
6864
|
+
disabled: boolean;
|
|
6865
|
+
}
|
|
6774
6866
|
interface SearchButton {
|
|
6775
6867
|
/**
|
|
6776
6868
|
* Visible button text. When omitted, the button is rendered icon-only.
|
|
@@ -6792,7 +6884,7 @@ interface SearchButton {
|
|
|
6792
6884
|
*/
|
|
6793
6885
|
ariaLabel?: string;
|
|
6794
6886
|
}
|
|
6795
|
-
declare class SearchComponent implements ControlValueAccessor {
|
|
6887
|
+
declare class SearchComponent<T = unknown> implements ControlValueAccessor {
|
|
6796
6888
|
/**
|
|
6797
6889
|
* Unique identifier for the input element, used to associate the label.
|
|
6798
6890
|
*/
|
|
@@ -6842,6 +6934,62 @@ declare class SearchComponent implements ControlValueAccessor {
|
|
|
6842
6934
|
* `placeholder`, then the translated "search" label.
|
|
6843
6935
|
*/
|
|
6844
6936
|
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
6937
|
+
/**
|
|
6938
|
+
* Suggestions to show in the panel, already filtered by the consumer. Bind an
|
|
6939
|
+
* empty array to keep the combobox behaviour while nothing matches; leave it
|
|
6940
|
+
* unbound for a plain search field.
|
|
6941
|
+
*/
|
|
6942
|
+
suggestions: _angular_core.InputSignal<T[] | undefined>;
|
|
6943
|
+
/**
|
|
6944
|
+
* Property holding the display label when suggestions are objects.
|
|
6945
|
+
* @default "label"
|
|
6946
|
+
*/
|
|
6947
|
+
bindLabel: _angular_core.InputSignal<string>;
|
|
6948
|
+
/**
|
|
6949
|
+
* Property holding a secondary line shown under the label. Unset by default,
|
|
6950
|
+
* so rows are a single line unless asked for.
|
|
6951
|
+
*/
|
|
6952
|
+
bindDescription: _angular_core.InputSignal<string | undefined>;
|
|
6953
|
+
/**
|
|
6954
|
+
* Property marking a suggestion as unselectable. Disabled rows are greyed out
|
|
6955
|
+
* and skipped by keyboard navigation.
|
|
6956
|
+
* @default "disabled"
|
|
6957
|
+
*/
|
|
6958
|
+
bindDisabled: _angular_core.InputSignal<string>;
|
|
6959
|
+
/**
|
|
6960
|
+
* Characters required before the panel opens. Below it nothing is shown, not
|
|
6961
|
+
* even the no-results row, so short queries stay quiet.
|
|
6962
|
+
* @default 0
|
|
6963
|
+
*/
|
|
6964
|
+
minQueryLength: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
6965
|
+
/**
|
|
6966
|
+
* Shows a loading row instead of results.
|
|
6967
|
+
* @default false
|
|
6968
|
+
*/
|
|
6969
|
+
loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6970
|
+
/**
|
|
6971
|
+
* Closes the suggestion panel when the page (or a scrollable ancestor)
|
|
6972
|
+
* scrolls. Scrolling the option list itself keeps the panel open.
|
|
6973
|
+
* @default false
|
|
6974
|
+
*/
|
|
6975
|
+
hideOnScroll: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6976
|
+
/**
|
|
6977
|
+
* Whether the suggestion panel is open.
|
|
6978
|
+
* @default false
|
|
6979
|
+
*/
|
|
6980
|
+
panelOpen: _angular_core.ModelSignal<boolean>;
|
|
6981
|
+
/**
|
|
6982
|
+
* Overrides the translated "no results" row.
|
|
6983
|
+
*/
|
|
6984
|
+
noResultsText: _angular_core.InputSignal<string | undefined>;
|
|
6985
|
+
/**
|
|
6986
|
+
* Overrides the translated loading row.
|
|
6987
|
+
*/
|
|
6988
|
+
loadingText: _angular_core.InputSignal<string | undefined>;
|
|
6989
|
+
/**
|
|
6990
|
+
* Overrides the translated screen-reader result count.
|
|
6991
|
+
*/
|
|
6992
|
+
resultsCountText: _angular_core.InputSignal<((count: number) => string) | undefined>;
|
|
6845
6993
|
/**
|
|
6846
6994
|
* Emitted when the search is executed (Enter key or button click).
|
|
6847
6995
|
*/
|
|
@@ -6850,11 +6998,41 @@ declare class SearchComponent implements ControlValueAccessor {
|
|
|
6850
6998
|
* Emitted when the clear button is clicked.
|
|
6851
6999
|
*/
|
|
6852
7000
|
readonly clear: _angular_core.OutputEmitterRef<void>;
|
|
7001
|
+
/**
|
|
7002
|
+
* Emitted when a suggestion is accepted. The field is filled with its label.
|
|
7003
|
+
*/
|
|
7004
|
+
readonly suggestionSelect: _angular_core.OutputEmitterRef<T>;
|
|
7005
|
+
readonly suggestionTemplate: _angular_core.Signal<SearchSuggestionTemplateDirective<any> | undefined>;
|
|
7006
|
+
readonly footerTemplate: _angular_core.Signal<SearchFooterTemplateDirective | undefined>;
|
|
6853
7007
|
private readonly inputRef;
|
|
7008
|
+
private readonly overlayOrigin;
|
|
7009
|
+
private readonly connectedOverlay;
|
|
7010
|
+
private readonly suggestionRows;
|
|
6854
7011
|
private readonly formDisabled;
|
|
7012
|
+
private readonly hostElement;
|
|
6855
7013
|
private readonly translationService;
|
|
7014
|
+
private readonly renderer;
|
|
7015
|
+
private readonly document;
|
|
7016
|
+
private readonly injector;
|
|
7017
|
+
private scrollListener?;
|
|
6856
7018
|
private onChange;
|
|
6857
7019
|
private onTouched;
|
|
7020
|
+
/** Suppresses the focus-driven reopen after a selection, until the next edit. */
|
|
7021
|
+
private justSelected;
|
|
7022
|
+
/**
|
|
7023
|
+
* Navigation is driven from `event.key` via the explicit `set*ItemActive`
|
|
7024
|
+
* methods rather than `keyManager.onKeydown`, which switches on the deprecated
|
|
7025
|
+
* `event.keyCode` and so ignores synthesised events.
|
|
7026
|
+
*/
|
|
7027
|
+
private readonly keyManager;
|
|
7028
|
+
private readonly activeIndex;
|
|
7029
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
7030
|
+
readonly panelWidth: _angular_core.WritableSignal<number>;
|
|
7031
|
+
/**
|
|
7032
|
+
* True while the panel sits above the field on the fallback position, so the
|
|
7033
|
+
* rounded edge can move to the side that is not joined to the field.
|
|
7034
|
+
*/
|
|
7035
|
+
readonly panelAbove: _angular_core.WritableSignal<boolean>;
|
|
6858
7036
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
6859
7037
|
readonly fieldIcon: _angular_core.Signal<string | FormFieldIcon | undefined>;
|
|
6860
7038
|
readonly fieldHeight: _angular_core.Signal<"var(--form-field-height-sm)" | "var(--form-field-height-lg)" | "var(--form-field-height)">;
|
|
@@ -6869,18 +7047,120 @@ declare class SearchComponent implements ControlValueAccessor {
|
|
|
6869
7047
|
* otherwise `aria-label` would silently override the visible text.
|
|
6870
7048
|
*/
|
|
6871
7049
|
readonly inputAriaLabel: _angular_core.Signal<string | null>;
|
|
7050
|
+
/**
|
|
7051
|
+
* Derived from capability, never from current content — an empty
|
|
7052
|
+
* `suggestions` array still means the consumer opted into the combobox.
|
|
7053
|
+
*/
|
|
7054
|
+
readonly autocomplete: _angular_core.Signal<boolean>;
|
|
7055
|
+
readonly resolvedSuggestions: _angular_core.Signal<SearchSuggestionView<T>[]>;
|
|
7056
|
+
readonly query: _angular_core.Signal<string>;
|
|
7057
|
+
readonly hasSuggestions: _angular_core.Signal<boolean>;
|
|
7058
|
+
readonly listboxId: _angular_core.Signal<string>;
|
|
7059
|
+
readonly meetsMinQueryLength: _angular_core.Signal<boolean>;
|
|
7060
|
+
readonly panelVisible: _angular_core.Signal<boolean>;
|
|
7061
|
+
readonly inputRole: _angular_core.Signal<"combobox" | "searchbox">;
|
|
7062
|
+
readonly ariaAutocomplete: _angular_core.Signal<"list" | null>;
|
|
7063
|
+
readonly ariaExpanded: _angular_core.Signal<boolean | null>;
|
|
7064
|
+
readonly ariaControls: _angular_core.Signal<string | null>;
|
|
7065
|
+
readonly activeOptionId: _angular_core.Signal<string | null>;
|
|
7066
|
+
readonly resolvedNoResultsText: _angular_core.Signal<string>;
|
|
7067
|
+
readonly resolvedLoadingText: _angular_core.Signal<string>;
|
|
7068
|
+
readonly announcement: _angular_core.Signal<string>;
|
|
7069
|
+
constructor();
|
|
7070
|
+
optionId(index: number): string;
|
|
6872
7071
|
onInputValue(value: string): void;
|
|
6873
7072
|
onClear(): void;
|
|
6874
7073
|
onBlur(): void;
|
|
7074
|
+
onInputFocus(): void;
|
|
7075
|
+
openPanel(): void;
|
|
7076
|
+
closePanel(): void;
|
|
7077
|
+
onPositionChange(change: ConnectedOverlayPositionChange): void;
|
|
7078
|
+
onOverlayAttach(): void;
|
|
7079
|
+
onOverlayDetach(): void;
|
|
7080
|
+
/**
|
|
7081
|
+
* Listens on the document in the capture phase so scrolls in any ancestor are
|
|
7082
|
+
* seen — a scroll event does not bubble past the element that scrolled.
|
|
7083
|
+
*/
|
|
7084
|
+
private setupScrollListener;
|
|
7085
|
+
private cleanupScrollListener;
|
|
7086
|
+
/** Closes the panel and hands focus back to the input. */
|
|
7087
|
+
closeAndRestoreFocus(): void;
|
|
7088
|
+
onKeydown(event: KeyboardEvent): void;
|
|
7089
|
+
/**
|
|
7090
|
+
* Footer controls live in the overlay, which sits at the end of the document,
|
|
7091
|
+
* so they are not next in tab order. Tab reaches them explicitly; without this
|
|
7092
|
+
* they would be mouse-only.
|
|
7093
|
+
*/
|
|
7094
|
+
private onTabFromInput;
|
|
7095
|
+
/**
|
|
7096
|
+
* Tabbing past the footer leaves the component: close the panel and continue to
|
|
7097
|
+
* whatever follows the field in document order, so the footer is not a trap.
|
|
7098
|
+
*/
|
|
7099
|
+
onFooterKeydown(event: KeyboardEvent): void;
|
|
7100
|
+
private footerFocusables;
|
|
7101
|
+
private focusAfterField;
|
|
7102
|
+
selectSuggestion(suggestion: SearchSuggestionView<T>): void;
|
|
7103
|
+
/**
|
|
7104
|
+
* The panel is portalled into the overlay container, so it is not a descendant
|
|
7105
|
+
* of the host — both roots have to be consulted before deciding focus left.
|
|
7106
|
+
*/
|
|
7107
|
+
onFocusOut(event: FocusEvent): void;
|
|
6875
7108
|
emitSearch(): void;
|
|
6876
7109
|
focus(): void;
|
|
6877
7110
|
writeValue(value: string | null): void;
|
|
6878
7111
|
registerOnChange(fn: (value: string) => void): void;
|
|
6879
7112
|
registerOnTouched(fn: () => void): void;
|
|
6880
7113
|
setDisabledState(isDisabled: boolean): void;
|
|
6881
|
-
|
|
6882
|
-
|
|
7114
|
+
private onArrowKey;
|
|
7115
|
+
private onEnter;
|
|
7116
|
+
private panelElement;
|
|
7117
|
+
private resetActiveOption;
|
|
7118
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchComponent<any>, never>;
|
|
7119
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchComponent<any>, "tedi-search", never, { "inputId": { "alias": "inputId"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchIcon": { "alias": "searchIcon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "button": { "alias": "button"; "required": false; "isSignal": true; }; "feedbackText": { "alias": "feedbackText"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "bindLabel": { "alias": "bindLabel"; "required": false; "isSignal": true; }; "bindDescription": { "alias": "bindDescription"; "required": false; "isSignal": true; }; "bindDisabled": { "alias": "bindDisabled"; "required": false; "isSignal": true; }; "minQueryLength": { "alias": "minQueryLength"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "hideOnScroll": { "alias": "hideOnScroll"; "required": false; "isSignal": true; }; "panelOpen": { "alias": "panelOpen"; "required": false; "isSignal": true; }; "noResultsText": { "alias": "noResultsText"; "required": false; "isSignal": true; }; "loadingText": { "alias": "loadingText"; "required": false; "isSignal": true; }; "resultsCountText": { "alias": "resultsCountText"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "panelOpen": "panelOpenChange"; "searchEvent": "searchEvent"; "clear": "clear"; "suggestionSelect": "suggestionSelect"; }, ["suggestionTemplate", "footerTemplate"], never, true, never>;
|
|
7120
|
+
}
|
|
7121
|
+
|
|
7122
|
+
declare class SearchSuggestionComponent implements Highlightable {
|
|
7123
|
+
/** Resolved display label. */
|
|
7124
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
7125
|
+
/** Secondary line under the label. */
|
|
7126
|
+
readonly description: _angular_core.InputSignal<string>;
|
|
7127
|
+
/** Current field value, used to bold the matching segment. */
|
|
7128
|
+
readonly query: _angular_core.InputSignal<string>;
|
|
7129
|
+
/** Whether a custom suggestion template supplies the row content. */
|
|
7130
|
+
readonly custom: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7131
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7132
|
+
readonly host: ElementRef<HTMLLIElement>;
|
|
7133
|
+
private readonly active;
|
|
7134
|
+
readonly isActive: _angular_core.Signal<boolean>;
|
|
7135
|
+
readonly parts: _angular_core.Signal<_tedi_design_system_angular_tedi.SearchHighlightPart[]>;
|
|
7136
|
+
/**
|
|
7137
|
+
* `Highlightable` requires a plain boolean, so the signal input is aliased and
|
|
7138
|
+
* this getter satisfies the CDK contract — a signal would always read truthy.
|
|
7139
|
+
*/
|
|
7140
|
+
get disabled(): boolean;
|
|
7141
|
+
setActiveStyles(): void;
|
|
7142
|
+
setInactiveStyles(): void;
|
|
7143
|
+
getLabel(): string;
|
|
7144
|
+
scrollIntoView(): void;
|
|
7145
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchSuggestionComponent, never>;
|
|
7146
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchSuggestionComponent, "li[tedi-search-suggestion]", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "custom": { "alias": "custom"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7147
|
+
}
|
|
7148
|
+
|
|
7149
|
+
/**
|
|
7150
|
+
* Row of buttons inside a `tediSearchFooter`. Centres them and wraps to a new
|
|
7151
|
+
* line when they no longer fit side by side.
|
|
7152
|
+
*/
|
|
7153
|
+
declare class SearchFooterActionsComponent {
|
|
7154
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchFooterActionsComponent, never>;
|
|
7155
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchFooterActionsComponent, "tedi-search-footer-actions", never, {}, {}, never, ["*"], true, never>;
|
|
7156
|
+
}
|
|
7157
|
+
|
|
7158
|
+
interface SearchHighlightPart {
|
|
7159
|
+
text: string;
|
|
7160
|
+
match: boolean;
|
|
6883
7161
|
}
|
|
7162
|
+
/** Splits `text` so the segment matching `query` can be emphasised. */
|
|
7163
|
+
declare function highlightParts(text: string, query: string): SearchHighlightPart[];
|
|
6884
7164
|
|
|
6885
7165
|
/**
|
|
6886
7166
|
* Context provided to custom option templates.
|
|
@@ -10460,6 +10740,6 @@ declare function isValidTime(time: string | null | undefined): boolean;
|
|
|
10460
10740
|
*/
|
|
10461
10741
|
declare function normalizeTime(input: string): string | null;
|
|
10462
10742
|
|
|
10463
|
-
export { AVAILABLE_LANGUAGES, AccordionComponent, AccordionItemComponent, AccordionItemContentComponent, AccordionItemHeaderComponent, AlertComponent, AttachmentActionsComponent, AttachmentComponent, BREAKPOINTS, BaseButtonDirective, BreadcrumbItemDirective, BreadcrumbSeparatorDirective, BreadcrumbsComponent, BreakpointService, ButtonComponent, ButtonGroupButtonDirective, ButtonGroupComponent, COUNTER_TAG_WIDTH, CalendarComponent, CardButtonComponent, CardComponent, CardContentComponent, CardHeaderComponent, CardIconComponent, CardRowComponent, CarouselComponent, CarouselContentComponent, CarouselFooterComponent, CarouselHeaderComponent, CarouselIndicatorsComponent, CarouselNavigationComponent, CarouselSlideDirective, CheckboxCardComponent, CheckboxCardGroupComponent, CheckboxComponent, CheckboxGroupComponent, ClosingButtonComponent, ColComponent, CollapseButtonComponent, CollapseComponent, DROPDOWN_API, DROPDOWN_CONTENT_API, DateFieldComponent, DatePickerComponent, DropdownComponent, DropdownContentComponent, DropdownItemComponent, DropdownItemValueComponent, DropdownItemValueLabelComponent, DropdownItemValueMetaComponent, DropdownTriggerDirective, EllipsisComponent, EmptyStateComponent, FeedbackTextComponent, FilterComponent, FilterContentDirective, FilterGroupComponent, FilterPrependDirective, FooterBodyComponent, FooterBottomComponent, FooterComponent, FooterSectionComponent, FooterSideComponent, FormFieldComponent, FormFieldExtraDirective, HeaderActionsComponent, HeaderBottomComponent, HeaderComponent, HeaderContentComponent, HeaderLanguageComponent, HeaderLoginComponent, HeaderLogoComponent, HeaderLogoDarkDirective, HeaderLogoutComponent, HeaderMobileButtonComponent, HeaderProfileComponent, HeaderRoleComponent, HeaderRoleContentDirective, HeaderRoleNoResultsDirective, HeaderRoleTitleDirective, HeaderSearchComponent, HeaderTopComponent, HeadingWithIconComponent, HideAtDirective, HorizontalPushHandler, HorizontalStepperComponent, HorizontalStepperItemComponent, IconComponent, InfoButtonComponent, InfoTooltipComponent, InputGroupComponent, InputGroupPrefixDirective, InputGroupSuffixDirective, LANGUAGE_COOKIE_NAME, LANGUAGE_FALLBACK_VALUE, LabelComponent, LabelRowComponent, LinkComponent, ListComponent, MODAL_DATA, MODAL_SIZE, ModalComponent, ModalContentComponent, ModalFooterComponent, ModalHeaderComponent, ModalRef, ModalService, NumberFieldComponent, PaginationComponent, PopoverComponent, PopoverContentComponent, PopoverTriggerDirective, ProgressBarComponent, RadioCardComponent, RadioCardGroupComponent, RadioComponent, RadioGroupComponent, RowComponent, ScrollFadeComponent, SearchComponent, SelectComponent, SelectOptionTemplateDirective, SelectTooltipTemplateDirective, SelectValueTemplateDirective, SeparatorComponent, ShowAtDirective, SideNavComponent, SideNavDropdownComponent, SideNavDropdownGroupComponent, SideNavDropdownItemComponent, SideNavGroupTitleComponent, SideNavItemComponent, SideNavOverlayComponent, SideNavToggleComponent, SkeletonBlockComponent, SkeletonComponent, SliderComponent, SpecialOptionControls, SpinnerComponent, StatusBadgeComponent, StatusIndicatorComponent, TAG_GAP, TEDI_FIELD_CONTEXT, TEDI_FORM_FIELD_CONTROL, TEDI_INPUT_GROUP, TEDI_TABLE_CONTEXT, TEDI_THEME_DEFAULT_TOKEN, TEDI_TRANSLATION_DEFAULT_TOKEN, THEME_CLASS_PREFIX, THEME_COOKIE_NAME, THEME_FALLBACK_VALUE, TOAST_DEFAULT_DURATION, TabsComponent, TabsContentComponent, TabsListComponent, TabsTriggerComponent, TagComponent, TediPaginationResultsDirective, TediTableColumnsMenuComponent, TediTableComponent, TediTableHeaderButtonComponent, TediTableToolbarComponent, TediTranslationPipe, TediTranslationService, TextComponent, TextFieldComponent, TextGroupComponent, TextGroupLabelComponent, TextGroupValueComponent, TextareaComponent, ThemeService, TimeFieldComponent, TimePickerComponent, TimelineComponent, TimelineDescriptionComponent, TimelineItemComponent, TimelineTimingsBottomDirective, TimelineTitleComponent, ToastComponent, ToastService, ToggleComponent, TooltipComponent, TooltipContentComponent, TooltipTriggerComponent, TruncateComponent, VerticalSpacingDirective, VerticalSpacingItemDirective, addDays, addMonths, addYears, breakpointInput, buildMonthGrid, calculateArrowOffset, calculateVisibleTagCount, computeGroupSpans, controlDescribedBy, cookieSignal, createTablePersistence, deriveControlState, endOfMonth, formatDate, formatLocaleDate, formatLocaleDateHint, formatLocaleDateLong, formatMonthYear, generateUUID, getCardBorderPlacementColor, getDaysInMonth, getFirstDayOfWeek, getFocusableElements, getISOWeek, getMonthNames, getPaddingCssVariables, getPlacementFromPositionChange, getWeekdayNames, groupRowSpan, injectTediTableContext, isAfterDay, isBeforeDay, isDateInRange, isSameDay, isSameMonth, isSameYear, isValidTime, matchAny, matchDate, normalizeTime, parseDate, parseLocaleDate, provideTedi, resolveCardBorderRadius, startOfMonth, startOfWeek, toConnectedPositions, toggleDateInArray, usePagination };
|
|
10464
|
-
export type { AccordionInputs, AlertRole, AlertSize, AlertTitleType, AlertType, AlertVariant, AlignItems, AlignSelf, ArrowOffset, ArrowType, AttachmentDirection, BreadcrumbsInputs, BreadcrumbsVariant, Breakpoint, BreakpointFlag, BreakpointInput, BreakpointInputs, BreakpointInputsWithoutSignals, BreakpointObject, BulletColor, ButtonGroupDropdownLabelMode, ButtonSize, ButtonVariant, CalendarView, CardBackground, CardBorderPlacement, CardBorderRadius, CardBorderType, CardContentInputs, CardIconSize, CardIconType, CardInputs, CardPadding, CardPaddingNumber, CardResolvedCorners, CardRowDirection, CardRowInputs, CarouselIndicatorsVariant, CheckboxCardVariant, CheckboxGroupDirection, CheckboxSize, ClosingButtonIconSize, ClosingButtonSize, ColInputs, ColWidth, CollapseButtonArrowType, CollapseButtonSize, CollapseSize, Cols, ColumnReorderPhase, CompareWithFn, ComponentInputs, ControlDescribedBy, DateAfter, DateBefore, DateFieldMode, DateInterval, DatePickerDay, DatePickerInputSize, DatePickerInputState, DatePickerMatcher, DatePickerSelectorMode, DatePickerView, DateRange, DayOfWeek, DerivedControlState, DropdownApi, DropdownContentApi, DropdownItemValueLayout, DropdownItemValueType, DropdownPosition, DropdownRole, DropdownTriggerAriaHasPopup, EllipsisPosition, EmptyStateSize, EmptyStateType, FeedbackTextPosition, FeedbackTextType, FieldContext, FilterOption, FilterSize, FilterVariant, FooterSidePlacement, FooterSidePosition, FormFieldControl, FormFieldIcon, Gap, GroupByFn, HeaderContentAlignment, HeaderLanguage, HeaderLanguageLabelPosition, HeaderLoginInputs, HeaderLoginSize, HeaderLogoutInputs, HeaderLogoutSize, HeaderProfileInputs, HeaderProfileSize, HeaderSearchMobileLabels, HeaderSearchMobileVariant, HeaderTopAlignment, HeaderTopInputs, HeadingLevel, HeadingModifiers, HorizontalStepperBackground, IconBackgroundColor, IconColor, IconSize, IconType, IconVariant, InputGroupContext, InputSize, InputState, JustifyItems, JustifySelf, LabelColor, LabelSize, LabelVisuallyHidden, Language, LinkInputs, LinkSize, LinkVariant, Matcher, ModalConfig, ModalFullscreen, ModalPosition, ModalScrollBehavior, ModalSize, ModalWidth, ModalWidthPreset, NumberFieldSize, OverlayPosition, OverlaySide, PaginationBackground, PaginationDividerPosition, PaginationItem, PaginationItemType, PaginationLabels, PaginationVisibility, PopoverPosition, PopoverWidth, PopoverWidthPreset, ProgressBarAnnounce, ProgressBarInputs, ProgressBarLabelPosition, ProgressBarSize, ProgressBarValuePosition, RadioCardVariant, RadioGroupDirection, RadioSize, Representative, RepresentativeIcon, RowInputs, ScrollFadePosition, ScrollFadeScrollbar, ScrollFadeSize, SearchButton, SearchSize, SelectInputSize, SelectOption, SelectOptionContext, SelectOptionGroup, SelectValueContext, SeparatorAxis, SeparatorColor, SeparatorDotSize, SeparatorSpacing, SeparatorSpacingValue, SeparatorThickness, SeparatorVariant, SideNavItemSize, SkeletonBlockHeight, SkeletonBlockInputs, SkeletonBlockTextHeight, SkeletonBlockWidth, SliderHideLabel, SpinnerColor, SpinnerSize, StatusBadgeColor, StatusBadgeSize, StatusBadgeStatus, StatusBadgeVariant, StatusIndicatorPosition, StatusIndicatorSize, StatusIndicatorType, TEDITheme, TableColumnMeta, TableControlColumn, TableControlColumnOrder, TableExpandTrigger, TableFilterModalData, TableFilterOptions, TablePaginationOptions, TablePersistOptions, TablePersistenceController, TableSelectionMode, TableSize, TableState, TableStatePatch, TabsOverflowMode, TagEllipsis, TagOverflowOptions, TagType, TediColumnDef, TediConfig, TediTableContextValue, TediTableFilterContext, TextColor, TextGroupInputs, TextGroupType, TextModifiers, TextareaSize, Theme, TimeFieldFullscreen, TimeFieldModal, TimeFieldPickerTrigger, TimeFieldPickerVariant, TimeFieldUseNativePicker, TimePickerVariant, TimelineCardPadding, TimelineVariant, ToastConfig, ToastPosition, ToastRole, ToastType, ToggleSize, ToggleType, ToggleVariant, TooltipOpenWith, TooltipPosition, TooltipWidth, UsePaginationArgs, VerticalSpacingSize, VirtualRow };
|
|
10743
|
+
export { AVAILABLE_LANGUAGES, AccordionComponent, AccordionItemComponent, AccordionItemContentComponent, AccordionItemHeaderComponent, AlertComponent, AttachmentActionsComponent, AttachmentComponent, BREAKPOINTS, BaseButtonDirective, BreadcrumbItemDirective, BreadcrumbSeparatorDirective, BreadcrumbsComponent, BreakpointService, ButtonComponent, ButtonGroupButtonDirective, ButtonGroupComponent, COUNTER_TAG_WIDTH, CalendarComponent, CardButtonComponent, CardComponent, CardContentComponent, CardHeaderComponent, CardIconComponent, CardRowComponent, CarouselComponent, CarouselContentComponent, CarouselFooterComponent, CarouselHeaderComponent, CarouselIndicatorsComponent, CarouselNavigationComponent, CarouselSlideDirective, CheckboxCardComponent, CheckboxCardGroupComponent, CheckboxComponent, CheckboxGroupComponent, ClosingButtonComponent, ColComponent, CollapseButtonComponent, CollapseComponent, DROPDOWN_API, DROPDOWN_CONTENT_API, DateFieldComponent, DatePickerComponent, DropdownComponent, DropdownContentComponent, DropdownItemComponent, DropdownItemValueComponent, DropdownItemValueLabelComponent, DropdownItemValueMetaComponent, DropdownTriggerDirective, EllipsisComponent, EmptyStateComponent, FeedbackTextComponent, FilterComponent, FilterContentDirective, FilterGroupComponent, FilterPrependDirective, FooterBodyComponent, FooterBottomComponent, FooterComponent, FooterSectionComponent, FooterSideComponent, FormFieldComponent, FormFieldExtraDirective, HeaderActionsComponent, HeaderBottomComponent, HeaderComponent, HeaderContentComponent, HeaderLanguageComponent, HeaderLoginComponent, HeaderLogoComponent, HeaderLogoDarkDirective, HeaderLogoutComponent, HeaderMobileButtonComponent, HeaderProfileComponent, HeaderRoleComponent, HeaderRoleContentDirective, HeaderRoleNoResultsDirective, HeaderRoleTitleDirective, HeaderSearchComponent, HeaderTopComponent, HeadingWithIconComponent, HideAtDirective, HorizontalPushHandler, HorizontalStepperComponent, HorizontalStepperItemComponent, IconComponent, InfoButtonComponent, InfoTooltipComponent, InputGroupComponent, InputGroupPrefixDirective, InputGroupSuffixDirective, LANGUAGE_COOKIE_NAME, LANGUAGE_FALLBACK_VALUE, LabelComponent, LabelRowComponent, LinkComponent, ListComponent, MODAL_DATA, MODAL_SIZE, ModalComponent, ModalContentComponent, ModalFooterComponent, ModalHeaderComponent, ModalRef, ModalService, NumberFieldComponent, PaginationComponent, PopoverComponent, PopoverContentComponent, PopoverTriggerDirective, ProgressBarComponent, RadioCardComponent, RadioCardGroupComponent, RadioComponent, RadioGroupComponent, RowComponent, ScrollFadeComponent, SearchComponent, SearchFooterActionsComponent, SearchFooterTemplateDirective, SearchSuggestionComponent, SearchSuggestionTemplateDirective, SelectComponent, SelectOptionTemplateDirective, SelectTooltipTemplateDirective, SelectValueTemplateDirective, SeparatorComponent, ShowAtDirective, SideNavComponent, SideNavDropdownComponent, SideNavDropdownGroupComponent, SideNavDropdownItemComponent, SideNavGroupTitleComponent, SideNavItemComponent, SideNavOverlayComponent, SideNavToggleComponent, SkeletonBlockComponent, SkeletonComponent, SliderComponent, SpecialOptionControls, SpinnerComponent, StatusBadgeComponent, StatusIndicatorComponent, TAG_GAP, TEDI_FIELD_CONTEXT, TEDI_FORM_FIELD_CONTROL, TEDI_INPUT_GROUP, TEDI_TABLE_CONTEXT, TEDI_THEME_DEFAULT_TOKEN, TEDI_TRANSLATION_DEFAULT_TOKEN, THEME_CLASS_PREFIX, THEME_COOKIE_NAME, THEME_FALLBACK_VALUE, TOAST_DEFAULT_DURATION, TabsComponent, TabsContentComponent, TabsListComponent, TabsTriggerComponent, TagComponent, TediPaginationResultsDirective, TediTableColumnsMenuComponent, TediTableComponent, TediTableHeaderButtonComponent, TediTableToolbarComponent, TediTranslationPipe, TediTranslationService, TextComponent, TextFieldComponent, TextGroupComponent, TextGroupLabelComponent, TextGroupValueComponent, TextareaComponent, ThemeService, TimeFieldComponent, TimePickerComponent, TimelineComponent, TimelineDescriptionComponent, TimelineItemComponent, TimelineTimingsBottomDirective, TimelineTitleComponent, ToastComponent, ToastService, ToggleComponent, TooltipComponent, TooltipContentComponent, TooltipTriggerComponent, TruncateComponent, VerticalSpacingDirective, VerticalSpacingItemDirective, addDays, addMonths, addYears, breakpointInput, buildMonthGrid, calculateArrowOffset, calculateVisibleTagCount, computeGroupSpans, controlDescribedBy, cookieSignal, createTablePersistence, deriveControlState, endOfMonth, formatDate, formatLocaleDate, formatLocaleDateHint, formatLocaleDateLong, formatMonthYear, generateUUID, getCardBorderPlacementColor, getDaysInMonth, getFirstDayOfWeek, getFocusableElements, getISOWeek, getMonthNames, getPaddingCssVariables, getPlacementFromPositionChange, getWeekdayNames, groupRowSpan, highlightParts, injectTediTableContext, isAfterDay, isBeforeDay, isDateInRange, isSameDay, isSameMonth, isSameYear, isValidTime, matchAny, matchDate, normalizeTime, parseDate, parseLocaleDate, provideTedi, resolveCardBorderRadius, startOfMonth, startOfWeek, toConnectedPositions, toggleDateInArray, usePagination };
|
|
10744
|
+
export type { AccordionInputs, AlertRole, AlertSize, AlertTitleType, AlertType, AlertVariant, AlignItems, AlignSelf, ArrowOffset, ArrowType, AttachmentDirection, BreadcrumbsInputs, BreadcrumbsVariant, Breakpoint, BreakpointFlag, BreakpointInput, BreakpointInputs, BreakpointInputsWithoutSignals, BreakpointObject, BulletColor, ButtonGroupDropdownLabelMode, ButtonSize, ButtonVariant, CalendarView, CardBackground, CardBorderPlacement, CardBorderRadius, CardBorderType, CardContentInputs, CardIconSize, CardIconType, CardInputs, CardPadding, CardPaddingNumber, CardResolvedCorners, CardRowDirection, CardRowInputs, CarouselIndicatorsVariant, CheckboxCardVariant, CheckboxGroupDirection, CheckboxSize, ClosingButtonIconSize, ClosingButtonSize, ColInputs, ColWidth, CollapseButtonArrowType, CollapseButtonSize, CollapseSize, Cols, ColumnReorderPhase, CompareWithFn, ComponentInputs, ControlDescribedBy, DateAfter, DateBefore, DateFieldMode, DateInterval, DatePickerDay, DatePickerInputSize, DatePickerInputState, DatePickerMatcher, DatePickerSelectorMode, DatePickerView, DateRange, DayOfWeek, DerivedControlState, DropdownApi, DropdownContentApi, DropdownItemValueLayout, DropdownItemValueType, DropdownPosition, DropdownRole, DropdownTriggerAriaHasPopup, EllipsisPosition, EmptyStateSize, EmptyStateType, FeedbackTextPosition, FeedbackTextType, FieldContext, FilterOption, FilterSize, FilterVariant, FooterSidePlacement, FooterSidePosition, FormFieldControl, FormFieldIcon, Gap, GroupByFn, HeaderContentAlignment, HeaderLanguage, HeaderLanguageLabelPosition, HeaderLoginInputs, HeaderLoginSize, HeaderLogoutInputs, HeaderLogoutSize, HeaderProfileInputs, HeaderProfileSize, HeaderSearchMobileLabels, HeaderSearchMobileVariant, HeaderTopAlignment, HeaderTopInputs, HeadingLevel, HeadingModifiers, HorizontalStepperBackground, IconBackgroundColor, IconColor, IconSize, IconType, IconVariant, InputGroupContext, InputSize, InputState, JustifyItems, JustifySelf, LabelColor, LabelSize, LabelVisuallyHidden, Language, LinkInputs, LinkSize, LinkVariant, Matcher, ModalConfig, ModalFullscreen, ModalPosition, ModalScrollBehavior, ModalSize, ModalWidth, ModalWidthPreset, NumberFieldSize, OverlayPosition, OverlaySide, PaginationBackground, PaginationDividerPosition, PaginationItem, PaginationItemType, PaginationLabels, PaginationVisibility, PopoverPosition, PopoverWidth, PopoverWidthPreset, ProgressBarAnnounce, ProgressBarInputs, ProgressBarLabelPosition, ProgressBarSize, ProgressBarValuePosition, RadioCardVariant, RadioGroupDirection, RadioSize, Representative, RepresentativeIcon, RowInputs, ScrollFadePosition, ScrollFadeScrollbar, ScrollFadeSize, SearchButton, SearchHighlightPart, SearchSize, SearchSuggestionContext, SearchSuggestionView, SelectInputSize, SelectOption, SelectOptionContext, SelectOptionGroup, SelectValueContext, SeparatorAxis, SeparatorColor, SeparatorDotSize, SeparatorSpacing, SeparatorSpacingValue, SeparatorThickness, SeparatorVariant, SideNavItemSize, SkeletonBlockHeight, SkeletonBlockInputs, SkeletonBlockTextHeight, SkeletonBlockWidth, SliderHideLabel, SpinnerColor, SpinnerSize, StatusBadgeColor, StatusBadgeSize, StatusBadgeStatus, StatusBadgeVariant, StatusIndicatorPosition, StatusIndicatorSize, StatusIndicatorType, TEDITheme, TableColumnMeta, TableControlColumn, TableControlColumnOrder, TableExpandTrigger, TableFilterModalData, TableFilterOptions, TablePaginationOptions, TablePersistOptions, TablePersistenceController, TableSelectionMode, TableSize, TableState, TableStatePatch, TabsOverflowMode, TagEllipsis, TagOverflowOptions, TagType, TediColumnDef, TediConfig, TediTableContextValue, TediTableFilterContext, TextColor, TextGroupInputs, TextGroupType, TextModifiers, TextareaSize, Theme, TimeFieldFullscreen, TimeFieldModal, TimeFieldPickerTrigger, TimeFieldPickerVariant, TimeFieldUseNativePicker, TimePickerVariant, TimelineCardPadding, TimelineVariant, ToastConfig, ToastPosition, ToastRole, ToastType, ToggleSize, ToggleType, ToggleVariant, TooltipOpenWith, TooltipPosition, TooltipWidth, UsePaginationArgs, VerticalSpacingSize, VirtualRow };
|
|
10465
10745
|
//# sourceMappingURL=index.d.ts.map
|