@ethlete/components 0.1.0-beta.4 → 0.1.0-next.11
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/CHANGELOG.md +46 -0
- package/fesm2022/ethlete-components.mjs +7004 -2320
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ethlete-components.d.ts +1190 -58
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Signal, WritableSignal, InjectionToken, ElementRef, Type, InputSignal, ViewContainerRef, Injector, StaticProvider, TemplateRef, computed,
|
|
2
|
+
import { Signal, WritableSignal, InjectionToken, ElementRef, Type, InputSignal, ViewContainerRef, Injector, StaticProvider, TemplateRef, OnInit, ComponentRef, OnDestroy, computed, Provider, EnvironmentInjector, ApplicationRef, Binding } from '@angular/core';
|
|
3
3
|
import * as _ethlete_core from '@ethlete/core';
|
|
4
|
-
import { AnimatableDirective, DragHandleDirective, ResizeEdge, ResizeMoveEvent, OverlayRuntimePositionStrategy, OverlayRuntimeRef, AnimatedLifecycleDirective, ScrollObserverDirective, ScrollToElementOptions, ConsentHandler, ProvideColorDirective, ProvideSurfaceDirective } from '@ethlete/core';
|
|
4
|
+
import { AnimatableDirective, DragHandleDirective, ResizeEdge, ResizeMoveEvent, OverlayRuntimePositionStrategy, Breakpoint, OverlayRuntimeRef, AnimatedLifecycleDirective, OverlayRuntimeCloseSource, AnimatedLifecycleState, AngularRenderer, OverlayRuntimeAnimationDelegate, ScrollObserverDirective, ScrollToElementOptions, ConsentHandler, ProvideColorDirective, ProvideSurfaceDirective } from '@ethlete/core';
|
|
5
5
|
import * as _angular_forms_signals from '@angular/forms/signals';
|
|
6
6
|
import { ValidationError, FormCheckboxControl, FormValueControl } from '@angular/forms/signals';
|
|
7
7
|
import * as _ethlete_components from '@ethlete/components';
|
|
@@ -31,11 +31,12 @@ declare class ButtonDirective {
|
|
|
31
31
|
type: _angular_core.InputSignal<ButtonType>;
|
|
32
32
|
pressed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
33
33
|
emitAriaPressed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
|
+
mutedUntilPressed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
35
|
readonly IS_BUTTON: boolean;
|
|
35
36
|
readonly IS_ANCHOR: boolean;
|
|
36
37
|
isInactive: _angular_core.Signal<boolean>;
|
|
37
38
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonDirective, never>;
|
|
38
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ButtonDirective, "[etButton]", ["etButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "emitAriaPressed": { "alias": "emitAriaPressed"; "required": false; "isSignal": true; }; }, {}, never, never, true,
|
|
39
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ButtonDirective, "[etButton]", ["etButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "emitAriaPressed": { "alias": "emitAriaPressed"; "required": false; "isSignal": true; }; "mutedUntilPressed": { "alias": "mutedUntilPressed"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ethlete_core.SurfaceInteractiveDirective; inputs: {}; outputs: {}; }]>;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
declare class FocusRingDirective {
|
|
@@ -85,7 +86,7 @@ declare class ButtonComponent {
|
|
|
85
86
|
}>;
|
|
86
87
|
pressedVariant: _angular_core.Signal<string | null>;
|
|
87
88
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
88
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "[et-button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconAlignment": { "alias": "iconAlignment"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[etIcon]"], true, [{ directive: typeof ButtonDirective; inputs: { "disabled": "disabled"; "loading": "loading"; "type": "type"; "pressed": "pressed"; }; outputs: {}; }, { directive: typeof ButtonStylesDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ColorInteractiveDirective; inputs: {}; outputs: {}; }, { directive: typeof FocusRingDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ProvideColorDirective; inputs: { "etProvideColor": "color"; }; outputs: {}; }]>;
|
|
89
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "[et-button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconAlignment": { "alias": "iconAlignment"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[etIcon]"], true, [{ directive: typeof ButtonDirective; inputs: { "disabled": "disabled"; "loading": "loading"; "type": "type"; "pressed": "pressed"; "mutedUntilPressed": "mutedUntilPressed"; }; outputs: {}; }, { directive: typeof ButtonStylesDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ColorInteractiveDirective; inputs: {}; outputs: {}; }, { directive: typeof FocusRingDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ProvideColorDirective; inputs: { "etProvideColor": "color"; }; outputs: {}; }]>;
|
|
89
90
|
}
|
|
90
91
|
|
|
91
92
|
type FabVariant = (typeof BUTTON_VARIANTS)[keyof typeof BUTTON_VARIANTS];
|
|
@@ -121,7 +122,7 @@ declare class IconButtonComponent {
|
|
|
121
122
|
}>;
|
|
122
123
|
pressedVariant: _angular_core.Signal<string | null>;
|
|
123
124
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconButtonComponent, never>;
|
|
124
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconButtonComponent, "[et-icon-button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["[etIcon]"], true, [{ directive: typeof ButtonDirective; inputs: { "disabled": "disabled"; "loading": "loading"; "type": "type"; "pressed": "pressed"; }; outputs: {}; }, { directive: typeof ButtonStylesDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ColorInteractiveDirective; inputs: {}; outputs: {}; }, { directive: typeof FocusRingDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ProvideColorDirective; inputs: { "etProvideColor": "color"; }; outputs: {}; }]>;
|
|
125
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconButtonComponent, "[et-icon-button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["[etIcon]"], true, [{ directive: typeof ButtonDirective; inputs: { "disabled": "disabled"; "loading": "loading"; "type": "type"; "pressed": "pressed"; "mutedUntilPressed": "mutedUntilPressed"; }; outputs: {}; }, { directive: typeof ButtonStylesDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ColorInteractiveDirective; inputs: {}; outputs: {}; }, { directive: typeof FocusRingDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ProvideColorDirective; inputs: { "etProvideColor": "color"; }; outputs: {}; }]>;
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
declare class TextButtonComponent {
|
|
@@ -179,6 +180,7 @@ declare const FORM_FIELD_ERROR_CODES: {
|
|
|
179
180
|
|
|
180
181
|
declare const FORM_FIELD_CONTROL_TYPES: {
|
|
181
182
|
readonly TEXT_INPUT: "text-input";
|
|
183
|
+
readonly RICH_TEXT: "rich-text";
|
|
182
184
|
readonly CHECKBOX: "checkbox";
|
|
183
185
|
readonly RADIO: "radio";
|
|
184
186
|
readonly SWITCH: "switch";
|
|
@@ -573,6 +575,125 @@ declare class InputComponent {
|
|
|
573
575
|
|
|
574
576
|
declare const INPUT_IMPORTS: readonly [typeof InputComponent, typeof InputDirective];
|
|
575
577
|
|
|
578
|
+
type InlineTag = 'strong' | 'em' | 'del';
|
|
579
|
+
type ListTag = 'ul' | 'ol';
|
|
580
|
+
type EditableSelection = {
|
|
581
|
+
selection: Selection;
|
|
582
|
+
range: Range;
|
|
583
|
+
};
|
|
584
|
+
type RichTextMarkStates = {
|
|
585
|
+
bold: boolean;
|
|
586
|
+
italic: boolean;
|
|
587
|
+
strike: boolean;
|
|
588
|
+
unorderedList: boolean;
|
|
589
|
+
orderedList: boolean;
|
|
590
|
+
link: boolean;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
declare class RichTextEditorDirective implements FormValueControl<string>, FormFieldControl {
|
|
594
|
+
private formField;
|
|
595
|
+
private destroyRef;
|
|
596
|
+
private document;
|
|
597
|
+
value: _angular_core.ModelSignal<string>;
|
|
598
|
+
touched: _angular_core.ModelSignal<boolean>;
|
|
599
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
600
|
+
readonly: _angular_core.InputSignal<boolean>;
|
|
601
|
+
hidden: _angular_core.InputSignal<boolean>;
|
|
602
|
+
invalid: _angular_core.InputSignal<boolean>;
|
|
603
|
+
errors: _angular_core.InputSignal<readonly ValidationError.WithOptionalFieldTree[]>;
|
|
604
|
+
required: _angular_core.InputSignal<boolean>;
|
|
605
|
+
name: _angular_core.InputSignal<string>;
|
|
606
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
607
|
+
shouldDisplayError: _angular_core.Signal<boolean>;
|
|
608
|
+
hasValue: _angular_core.Signal<boolean>;
|
|
609
|
+
describedBy: _angular_core.WritableSignal<string | null>;
|
|
610
|
+
controlType: _angular_core.WritableSignal<"rich-text">;
|
|
611
|
+
focused: _angular_core.WritableSignal<boolean>;
|
|
612
|
+
labelId: _angular_core.Signal<string | null>;
|
|
613
|
+
describedById: _angular_core.Signal<string | null>;
|
|
614
|
+
boldActive: _angular_core.WritableSignal<boolean>;
|
|
615
|
+
italicActive: _angular_core.WritableSignal<boolean>;
|
|
616
|
+
strikeActive: _angular_core.WritableSignal<boolean>;
|
|
617
|
+
unorderedListActive: _angular_core.WritableSignal<boolean>;
|
|
618
|
+
orderedListActive: _angular_core.WritableSignal<boolean>;
|
|
619
|
+
linkActive: _angular_core.WritableSignal<boolean>;
|
|
620
|
+
/** @internal */
|
|
621
|
+
lastEmittedMarkdown: string | null;
|
|
622
|
+
/** @internal */
|
|
623
|
+
editorDom: {
|
|
624
|
+
root: _angular_core.WritableSignal<HTMLElement | null>;
|
|
625
|
+
getSelection: () => EditableSelection | null;
|
|
626
|
+
closestWithin: (node: Node | null, selector: string) => HTMLElement | null;
|
|
627
|
+
markStates: () => RichTextMarkStates | null;
|
|
628
|
+
toggleInline: (tag: InlineTag) => void;
|
|
629
|
+
toggleList: (listTag: ListTag) => void;
|
|
630
|
+
applyLink: (href: string) => void;
|
|
631
|
+
removeLink: () => void;
|
|
632
|
+
insertToken: (node: Node) => void;
|
|
633
|
+
handleBackspace: () => boolean;
|
|
634
|
+
};
|
|
635
|
+
constructor();
|
|
636
|
+
activate(): void;
|
|
637
|
+
syncFromDom(): void;
|
|
638
|
+
refreshActiveMarks(): void;
|
|
639
|
+
toggleBold(): void;
|
|
640
|
+
toggleItalic(): void;
|
|
641
|
+
toggleStrikethrough(): void;
|
|
642
|
+
toggleUnorderedList(): void;
|
|
643
|
+
toggleOrderedList(): void;
|
|
644
|
+
setLink(href: string): void;
|
|
645
|
+
promptForLink(): void;
|
|
646
|
+
handleBackspace(): boolean;
|
|
647
|
+
/**
|
|
648
|
+
* @internal Extension seam for the follow-up `@`/`#` autocomplete: inserts an atomic inline
|
|
649
|
+
* node (a mention/placeholder token) at the caret, then re-syncs.
|
|
650
|
+
*/
|
|
651
|
+
insertAtomicToken(node: Node): void;
|
|
652
|
+
private serializeCleanHtml;
|
|
653
|
+
private runCommand;
|
|
654
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextEditorDirective, never>;
|
|
655
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RichTextEditorDirective, "[etRichTextEditor]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; }, never, never, true, never>;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
declare class RichTextEditorFloatingToolbarComponent {
|
|
659
|
+
protected dir: RichTextEditorDirective;
|
|
660
|
+
private document;
|
|
661
|
+
private renderer;
|
|
662
|
+
private destroyRef;
|
|
663
|
+
private host;
|
|
664
|
+
protected visible: _angular_core.WritableSignal<boolean>;
|
|
665
|
+
private activeRange;
|
|
666
|
+
private floatingReference;
|
|
667
|
+
private floatingCleanup;
|
|
668
|
+
private pointerSelectingInContent;
|
|
669
|
+
constructor();
|
|
670
|
+
private selectableRange;
|
|
671
|
+
private onDocumentPointerUp;
|
|
672
|
+
private evaluate;
|
|
673
|
+
private reposition;
|
|
674
|
+
private start;
|
|
675
|
+
private updatePosition;
|
|
676
|
+
private hide;
|
|
677
|
+
private stop;
|
|
678
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextEditorFloatingToolbarComponent, never>;
|
|
679
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextEditorFloatingToolbarComponent, "et-rich-text-editor-floating-toolbar", never, {}, {}, never, never, true, never>;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
declare class RichTextEditorComponent {
|
|
683
|
+
protected dir: RichTextEditorDirective;
|
|
684
|
+
private document;
|
|
685
|
+
private editable;
|
|
686
|
+
constructor();
|
|
687
|
+
protected onInput(): void;
|
|
688
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
689
|
+
protected onBeforeInput(event: InputEvent): void;
|
|
690
|
+
private renderExternalValue;
|
|
691
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
|
|
692
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextEditorComponent, "et-rich-text-editor", never, {}, {}, never, never, true, [{ directive: typeof RichTextEditorDirective; inputs: { "value": "value"; "disabled": "disabled"; "readonly": "readonly"; "hidden": "hidden"; "invalid": "invalid"; "errors": "errors"; "required": "required"; "name": "name"; "placeholder": "placeholder"; }; outputs: { "valueChange": "valueChange"; "touchedChange": "touchedChange"; }; }]>;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
declare const RICH_TEXT_EDITOR_IMPORTS: readonly [typeof RichTextEditorComponent, typeof RichTextEditorDirective];
|
|
696
|
+
|
|
576
697
|
declare const SELECTION_LIST_TOKEN: InjectionToken<SelectionListDirectiveBase<unknown>>;
|
|
577
698
|
declare const SELECTION_LIST_MULTIPLE: InjectionToken<boolean>;
|
|
578
699
|
type SelectionListItem<TValue = unknown> = {
|
|
@@ -934,6 +1055,8 @@ declare class GridDirective {
|
|
|
934
1055
|
restoreState(state: GridSerializedState): void;
|
|
935
1056
|
private placeItem;
|
|
936
1057
|
private shrinkNeighbors;
|
|
1058
|
+
/** Compact all visited breakpoints (layoutOverrides entries) after an item is removed. */
|
|
1059
|
+
private compactOtherBreakpoints;
|
|
937
1060
|
private updateLayoutForCurrentBreakpoint;
|
|
938
1061
|
private updateItemLayout;
|
|
939
1062
|
private emitLayoutChange;
|
|
@@ -957,13 +1080,8 @@ declare class GridItemDirective {
|
|
|
957
1080
|
currentRow: _angular_core.Signal<number>;
|
|
958
1081
|
currentColSpan: _angular_core.Signal<number>;
|
|
959
1082
|
currentRowSpan: _angular_core.Signal<number>;
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
removeMany: (tokens: string[]) => void;
|
|
963
|
-
has: (tokens: string) => boolean;
|
|
964
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
965
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
966
|
-
};
|
|
1083
|
+
protected gridColumn: _angular_core.Signal<string>;
|
|
1084
|
+
protected gridRow: _angular_core.Signal<string>;
|
|
967
1085
|
constructor();
|
|
968
1086
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridItemDirective, never>;
|
|
969
1087
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridItemDirective, "[etGridItem]", ["etGridItem"], { "itemId": { "alias": "itemId"; "required": true; "isSignal": true; }; "minColSpan": { "alias": "minColSpan"; "required": false; "isSignal": true; }; "maxColSpan": { "alias": "maxColSpan"; "required": false; "isSignal": true; }; "minRowSpan": { "alias": "minRowSpan"; "required": false; "isSignal": true; }; "maxRowSpan": { "alias": "maxRowSpan"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -978,13 +1096,7 @@ declare class GridDragDirective {
|
|
|
978
1096
|
private renderer;
|
|
979
1097
|
private dragStartClient;
|
|
980
1098
|
private dragPixelOffset;
|
|
981
|
-
|
|
982
|
-
remove: (tokens: string) => void;
|
|
983
|
-
removeMany: (tokens: string[]) => void;
|
|
984
|
-
has: (tokens: string) => boolean;
|
|
985
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
986
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
987
|
-
};
|
|
1099
|
+
protected dragTransform: _angular_core.Signal<string>;
|
|
988
1100
|
constructor();
|
|
989
1101
|
private applyFixed;
|
|
990
1102
|
private releaseFixed;
|
|
@@ -1013,6 +1125,10 @@ type GridConfig = {
|
|
|
1013
1125
|
readonlyAriaLabel: string;
|
|
1014
1126
|
dragHandleAriaLabel: string;
|
|
1015
1127
|
transformer: (text: string, locale: string) => string;
|
|
1128
|
+
/** Replaces the default drag handle for all registered items. Receives `data` and `itemId` as inputs. */
|
|
1129
|
+
dragHandleComponent?: Type<unknown>;
|
|
1130
|
+
/** Replaces the default ✕ button for all registered items. Receives `data` and `itemId` as inputs. */
|
|
1131
|
+
actionsComponent?: Type<unknown>;
|
|
1016
1132
|
};
|
|
1017
1133
|
declare const provideGridConfig: (valueOverride?: Partial<GridConfig> | undefined) => _angular_core.Provider[];
|
|
1018
1134
|
declare const injectGridConfig: {
|
|
@@ -1048,14 +1164,17 @@ declare class GridComponent {
|
|
|
1048
1164
|
private ghostRef;
|
|
1049
1165
|
private gridConfig;
|
|
1050
1166
|
private locale;
|
|
1167
|
+
protected isReadOnly: _angular_core.Signal<boolean>;
|
|
1168
|
+
protected dragHandleComponent: _angular_core.Signal<_angular_core.Type<unknown> | undefined>;
|
|
1169
|
+
protected actionsComponent: _angular_core.Signal<_angular_core.Type<unknown> | undefined>;
|
|
1170
|
+
protected registeredItems: _angular_core.Signal<{
|
|
1171
|
+
item: _ethlete_components.GridItemConfig;
|
|
1172
|
+
reg: _ethlete_components.GridComponentRegistration;
|
|
1173
|
+
}[]>;
|
|
1051
1174
|
protected ariaLabel: _angular_core.Signal<string>;
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
has: (tokens: string) => boolean;
|
|
1056
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1057
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1058
|
-
};
|
|
1175
|
+
protected gridColumns: _angular_core.Signal<number>;
|
|
1176
|
+
protected gridGap: _angular_core.Signal<string>;
|
|
1177
|
+
protected gridRowHeight: _angular_core.Signal<string>;
|
|
1059
1178
|
constructor();
|
|
1060
1179
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridComponent, never>;
|
|
1061
1180
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GridComponent, "et-grid, [et-grid]", never, {}, {}, never, ["*"], true, [{ directive: typeof GridDirective; inputs: { "breakpoints": "breakpoints"; "rowHeight": "rowHeight"; "gap": "gap"; "initialItems": "initialItems"; "readOnly": "readOnly"; }; outputs: { "layoutChange": "layoutChange"; }; }]>;
|
|
@@ -1064,17 +1183,65 @@ declare class GridComponent {
|
|
|
1064
1183
|
declare class GridItemComponent {
|
|
1065
1184
|
private grid;
|
|
1066
1185
|
private gridItem;
|
|
1186
|
+
private provideSurface;
|
|
1187
|
+
private parentSurfaceProvider;
|
|
1067
1188
|
gridDrag: GridDragDirective;
|
|
1068
1189
|
gridResize: GridResizeDirective;
|
|
1069
1190
|
ariaLabel: _angular_core.InputSignal<string>;
|
|
1070
1191
|
removed: _angular_core.OutputEmitterRef<void>;
|
|
1192
|
+
private surfaceThemes;
|
|
1071
1193
|
private gridConfig;
|
|
1072
1194
|
private locale;
|
|
1073
1195
|
protected isReadOnly: _angular_core.Signal<boolean>;
|
|
1074
1196
|
protected dragHandleAriaLabel: _angular_core.Signal<string>;
|
|
1197
|
+
private resolvedSurface;
|
|
1198
|
+
constructor();
|
|
1075
1199
|
applyKeyboardShortcut(event: KeyboardEvent): void;
|
|
1076
1200
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridItemComponent, never>;
|
|
1077
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GridItemComponent, "et-grid-item, [et-grid-item]", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "removed": "removed"; }, never, ["[etGridItemDragHandle]", "*", "[etGridItemAction]"], true, [{ directive: typeof GridItemDirective; inputs: { "itemId": "itemId"; "minColSpan": "minColSpan"; "maxColSpan": "maxColSpan"; "minRowSpan": "minRowSpan"; "maxRowSpan": "maxRowSpan"; }; outputs: {}; }, { directive: typeof GridDragDirective; inputs: {}; outputs: {}; }, { directive: typeof GridResizeDirective; inputs: {}; outputs: {}; }]>;
|
|
1201
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GridItemComponent, "et-grid-item, [et-grid-item]", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "removed": "removed"; }, never, ["[etGridItemDragHandle]", "*", "[etGridItemAction]"], true, [{ directive: typeof GridItemDirective; inputs: { "itemId": "itemId"; "minColSpan": "minColSpan"; "maxColSpan": "maxColSpan"; "minRowSpan": "minRowSpan"; "maxRowSpan": "maxRowSpan"; }; outputs: {}; }, { directive: typeof GridDragDirective; inputs: {}; outputs: {}; }, { directive: typeof GridResizeDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ProvideSurfaceDirective; inputs: {}; outputs: {}; }]>;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* Development-only debug overlay for an `et-grid` instance.
|
|
1206
|
+
*
|
|
1207
|
+
* ```html
|
|
1208
|
+
* <et-grid #myGrid [initialItems]="items()" ...></et-grid>
|
|
1209
|
+
* <et-grid-debug [grid]="myGrid" [externalItems]="items()" />
|
|
1210
|
+
* ```
|
|
1211
|
+
*
|
|
1212
|
+
* Pass `externalItems` to detect divergence between the host signal
|
|
1213
|
+
* and the grid's internal itemConfigs. The **Copy JSON** button writes
|
|
1214
|
+
* a full diagnostic snapshot to the clipboard without any console output.
|
|
1215
|
+
*/
|
|
1216
|
+
declare class GridDebugComponent {
|
|
1217
|
+
private destroyRef;
|
|
1218
|
+
grid: _angular_core.InputSignal<GridComponent>;
|
|
1219
|
+
externalItems: _angular_core.InputSignal<GridItemConfig[] | null>;
|
|
1220
|
+
activeBreakpoint: _angular_core.Signal<string>;
|
|
1221
|
+
containerWidth: _angular_core.Signal<number>;
|
|
1222
|
+
breakpoints: _angular_core.Signal<_ethlete_components.GridBreakpointConfig[]>;
|
|
1223
|
+
items: _angular_core.Signal<GridItemConfig[]>;
|
|
1224
|
+
layout: _angular_core.Signal<_ethlete_components.GridLayoutEntry[]>;
|
|
1225
|
+
hasDrag: _angular_core.Signal<boolean>;
|
|
1226
|
+
hasExternal: _angular_core.Signal<boolean>;
|
|
1227
|
+
copied: _angular_core.WritableSignal<boolean>;
|
|
1228
|
+
rows: _angular_core.Signal<{
|
|
1229
|
+
id: string;
|
|
1230
|
+
type: string;
|
|
1231
|
+
cells: {
|
|
1232
|
+
bp: string;
|
|
1233
|
+
int: GridItemPosition | undefined;
|
|
1234
|
+
ext: GridItemPosition | undefined;
|
|
1235
|
+
intMissing: boolean;
|
|
1236
|
+
extMissing: boolean;
|
|
1237
|
+
mismatch: boolean;
|
|
1238
|
+
}[];
|
|
1239
|
+
}[]>;
|
|
1240
|
+
issueCount: _angular_core.Signal<number>;
|
|
1241
|
+
fmtPos(pos: GridItemPosition | undefined): string;
|
|
1242
|
+
copyJson($event: Event): void;
|
|
1243
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridDebugComponent, never>;
|
|
1244
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GridDebugComponent, "et-grid-debug", never, { "grid": { "alias": "grid"; "required": true; "isSignal": true; }; "externalItems": { "alias": "externalItems"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1078
1245
|
}
|
|
1079
1246
|
|
|
1080
1247
|
declare const GRID_ERROR_CODES: {
|
|
@@ -1084,7 +1251,7 @@ declare const GRID_ERROR_CODES: {
|
|
|
1084
1251
|
readonly INVALID_LAYOUT_STATE: 1903;
|
|
1085
1252
|
};
|
|
1086
1253
|
|
|
1087
|
-
declare const GridImports: readonly [typeof GridComponent, typeof GridItemComponent];
|
|
1254
|
+
declare const GridImports: readonly [typeof GridComponent, typeof GridItemComponent, typeof GridDebugComponent];
|
|
1088
1255
|
|
|
1089
1256
|
type IconDefinition = {
|
|
1090
1257
|
name: string;
|
|
@@ -1100,6 +1267,8 @@ declare const ARROW_OUT_UP_RIGHT_ICON: IconDefinition;
|
|
|
1100
1267
|
|
|
1101
1268
|
declare const ARROW_RIGHT_ICON: IconDefinition;
|
|
1102
1269
|
|
|
1270
|
+
declare const BOLD_ICON: IconDefinition;
|
|
1271
|
+
|
|
1103
1272
|
declare const CHEVRON_ICON: IconDefinition;
|
|
1104
1273
|
|
|
1105
1274
|
declare const CLIPBOARD_CHECK_ICON: IconDefinition;
|
|
@@ -1133,12 +1302,22 @@ declare class IconDirective {
|
|
|
1133
1302
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IconDirective, "[etIcon]", never, { "iconNameToUse": { "alias": "etIcon"; "required": true; "isSignal": true; }; "allowHardcodedColor": { "alias": "allowHardcodedColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1134
1303
|
}
|
|
1135
1304
|
|
|
1305
|
+
declare const ITALIC_ICON: IconDefinition;
|
|
1306
|
+
|
|
1307
|
+
declare const LINK_ICON: IconDefinition;
|
|
1308
|
+
|
|
1309
|
+
declare const LIST_BULLETED_ICON: IconDefinition;
|
|
1310
|
+
|
|
1311
|
+
declare const LIST_NUMBERED_ICON: IconDefinition;
|
|
1312
|
+
|
|
1136
1313
|
declare const LOCK_ICON: IconDefinition;
|
|
1137
1314
|
|
|
1138
1315
|
declare const PENCIL_ICON: IconDefinition;
|
|
1139
1316
|
|
|
1140
1317
|
declare const PLUS_ICON: IconDefinition;
|
|
1141
1318
|
|
|
1319
|
+
declare const STRIKETHROUGH_ICON: IconDefinition;
|
|
1320
|
+
|
|
1142
1321
|
declare const TIMES_ICON: IconDefinition;
|
|
1143
1322
|
|
|
1144
1323
|
declare const TRIANGLE_EXCLAMATION_ICON: IconDefinition;
|
|
@@ -1411,29 +1590,156 @@ declare class NotificationComponent {
|
|
|
1411
1590
|
|
|
1412
1591
|
declare const NOTIFICATION_IMPORTS: readonly [typeof NotificationComponent, typeof NotificationDirective, typeof NotificationActionDirective, typeof NotificationDismissDirective];
|
|
1413
1592
|
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1593
|
+
type OverlayStrategyContext = {
|
|
1594
|
+
overlayRef: OverlayRef<object, unknown>;
|
|
1595
|
+
runtimeRef: OverlayRuntimeRef<object, unknown>;
|
|
1596
|
+
/** The mounted container component's host element (the runtime pane element). */
|
|
1597
|
+
containerEl: HTMLElement;
|
|
1598
|
+
/** The runtime host element wrapping backdrop and pane. */
|
|
1599
|
+
hostEl: HTMLElement;
|
|
1600
|
+
backdropEl: HTMLElement | null;
|
|
1601
|
+
/** The container's animated lifecycle, driving enter/leave transitions. */
|
|
1602
|
+
lifecycle: AnimatedLifecycleDirective;
|
|
1603
|
+
config: OverlayBreakpointConfig;
|
|
1604
|
+
previousConfig?: OverlayBreakpointConfig;
|
|
1605
|
+
origin?: HTMLElement | Event;
|
|
1606
|
+
};
|
|
1607
|
+
type OverlayStrategy = {
|
|
1608
|
+
/** Unique identifier for the strategy */
|
|
1609
|
+
id: string;
|
|
1610
|
+
/** Configuration for the overlay when this strategy is applied */
|
|
1611
|
+
config: OverlayBreakpointConfig;
|
|
1612
|
+
/**
|
|
1613
|
+
* Called when the overlay transitions FROM another strategy TO this strategy.
|
|
1614
|
+
* Only called during breakpoint changes, not on initial open.
|
|
1615
|
+
* @example Fullscreen dialog → Regular dialog on viewport resize
|
|
1616
|
+
*/
|
|
1617
|
+
onSwitchedTo?: (context: OverlayStrategyContext) => void;
|
|
1618
|
+
/**
|
|
1619
|
+
* Called when the overlay transitions FROM this strategy TO another strategy.
|
|
1620
|
+
* Only called during breakpoint changes, not on close.
|
|
1621
|
+
* Use this to cleanup strategy-specific state when transitioning layouts.
|
|
1622
|
+
* @example Regular dialog → Fullscreen dialog on viewport resize
|
|
1623
|
+
*/
|
|
1624
|
+
onSwitchedAwayFrom?: (context: OverlayStrategyContext) => void;
|
|
1625
|
+
/**
|
|
1626
|
+
* Called when the overlay is first opened with this strategy.
|
|
1627
|
+
* Use this for initial setup and enter animations.
|
|
1628
|
+
* The hook is responsible for starting the enter transition (e.g. `context.lifecycle.enter()`).
|
|
1629
|
+
*/
|
|
1630
|
+
onBeforeEnter?: (context: OverlayStrategyContext) => void;
|
|
1631
|
+
/**
|
|
1632
|
+
* Called after the overlay has completed its enter animation.
|
|
1633
|
+
*/
|
|
1634
|
+
onAfterEnter?: (context: OverlayStrategyContext) => void;
|
|
1635
|
+
/**
|
|
1636
|
+
* Called when the overlay is about to close (beforeClosed).
|
|
1637
|
+
* The hook is responsible for starting the leave transition (e.g. `context.lifecycle.leave()`).
|
|
1638
|
+
*/
|
|
1639
|
+
onBeforeLeave?: (context: OverlayStrategyContext) => void;
|
|
1640
|
+
/**
|
|
1641
|
+
* Called after the overlay has been closed (afterClosed).
|
|
1642
|
+
* Use this for final cleanup.
|
|
1643
|
+
*/
|
|
1644
|
+
onAfterLeave?: (context: OverlayStrategyContext) => void;
|
|
1645
|
+
};
|
|
1646
|
+
type OverlayStrategyBreakpoint = {
|
|
1647
|
+
/**
|
|
1648
|
+
* Breakpoint to apply the strategy for. If a number is provided, it will be used as a pixel value.
|
|
1649
|
+
* Always uses the min-width media query.
|
|
1650
|
+
*
|
|
1651
|
+
* @default 'xs' // 0px
|
|
1652
|
+
*/
|
|
1653
|
+
breakpoint?: Breakpoint | number;
|
|
1654
|
+
/** Overlay strategy to be applied when the breakpoint is active. */
|
|
1655
|
+
strategy: OverlayStrategy;
|
|
1656
|
+
};
|
|
1657
|
+
type OverlayDragToDismissConfig = {
|
|
1658
|
+
/** Direction in which the overlay can be dragged. */
|
|
1659
|
+
direction: 'to-top' | 'to-bottom' | 'to-left' | 'to-right';
|
|
1660
|
+
/**
|
|
1661
|
+
* The minimum distance in pixels that the user must swipe to dismiss the overlay.
|
|
1662
|
+
*
|
|
1663
|
+
* @default 150 // 150px
|
|
1664
|
+
*/
|
|
1665
|
+
minDistanceToDismiss?: number;
|
|
1666
|
+
/**
|
|
1667
|
+
* The minimum velocity in pixels per second that the user must swipe to dismiss the overlay.
|
|
1668
|
+
*
|
|
1669
|
+
* @default 150 // 150px/s
|
|
1670
|
+
*/
|
|
1671
|
+
minVelocityToDismiss?: number;
|
|
1672
|
+
};
|
|
1673
|
+
type OverlayBreakpointConfig = {
|
|
1674
|
+
/** Min-width of the overlay. If a number is provided, assumes pixel units. */
|
|
1675
|
+
minWidth?: number | string;
|
|
1676
|
+
/** Max-width of the overlay. If a number is provided, assumes pixel units. */
|
|
1677
|
+
maxWidth?: number | string;
|
|
1678
|
+
/** Min-height of the overlay. If a number is provided, assumes pixel units. */
|
|
1679
|
+
minHeight?: number | string;
|
|
1680
|
+
/** Max-height of the overlay. If a number is provided, assumes pixel units. */
|
|
1681
|
+
maxHeight?: number | string;
|
|
1682
|
+
/** Width of the overlay. */
|
|
1683
|
+
width?: number | string;
|
|
1684
|
+
/** Height of the overlay. */
|
|
1685
|
+
height?: number | string;
|
|
1686
|
+
/** Position strategy to be used for the overlay. */
|
|
1687
|
+
positionStrategy?: (origin?: HTMLElement) => OverlayRuntimePositionStrategy;
|
|
1688
|
+
/** Custom class for the overlay container (the runtime pane element hosting the overlay content). */
|
|
1689
|
+
containerClass?: string | string[];
|
|
1690
|
+
/** Custom class for the runtime host element wrapping backdrop and pane. */
|
|
1691
|
+
hostClass?: string | string[];
|
|
1692
|
+
/** Custom class for the backdrop. */
|
|
1693
|
+
backdropClass?: string | string[];
|
|
1694
|
+
/** Custom class for the document (`<html>` element). */
|
|
1695
|
+
documentClass?: string | string[];
|
|
1696
|
+
/** Custom class for the `<body>` element */
|
|
1697
|
+
bodyClass?: string | string[];
|
|
1698
|
+
/** Determine if and in what direction the overlay should be able to be dragged to dismiss it. */
|
|
1699
|
+
dragToDismiss?: OverlayDragToDismissConfig;
|
|
1700
|
+
/**
|
|
1701
|
+
* Whether a backdrop element is rendered behind the overlay. Only applied at mount time (the
|
|
1702
|
+
* initially matched strategy) — it cannot change during breakpoint switches. An explicit
|
|
1703
|
+
* `hasBackdrop` on the overlay config always wins over this strategy default.
|
|
1704
|
+
*
|
|
1705
|
+
* @default undefined // falls back to the overlay config / modal behavior
|
|
1706
|
+
*/
|
|
1707
|
+
hasBackdrop?: boolean;
|
|
1708
|
+
/**
|
|
1709
|
+
* Whether the transform origin should be set using the config's `origin` property value.
|
|
1710
|
+
*
|
|
1711
|
+
* @default false
|
|
1712
|
+
*/
|
|
1713
|
+
applyTransformOrigin?: boolean;
|
|
1714
|
+
/**
|
|
1715
|
+
* Renders a floating-ui-positioned arrow on the overlay container that points at the origin.
|
|
1716
|
+
* Only meaningful for anchored positioning. The arrow inherits the pane background; combine with
|
|
1717
|
+
* an `offset` so the pane leaves room for it.
|
|
1718
|
+
*
|
|
1719
|
+
* @default false
|
|
1720
|
+
*/
|
|
1721
|
+
arrow?: boolean;
|
|
1722
|
+
};
|
|
1422
1723
|
|
|
1423
1724
|
type OverlayAutoFocusTarget = 'container' | 'first-heading' | 'first-tabbable';
|
|
1424
1725
|
type OverlayRole = 'dialog' | 'alertdialog';
|
|
1425
1726
|
type OverlayMode = 'modal' | 'non-modal';
|
|
1426
|
-
type OverlayPositionStrategy = OverlayRuntimePositionStrategy;
|
|
1427
1727
|
type OverlayConfig = {
|
|
1428
1728
|
viewContainerRef?: ViewContainerRef;
|
|
1429
1729
|
injector?: Injector;
|
|
1430
1730
|
id?: string;
|
|
1431
|
-
|
|
1731
|
+
/**
|
|
1732
|
+
* The element or event the overlay was opened from. Used as the anchor reference
|
|
1733
|
+
* for anchored positioning and as the transform origin for strategy animations.
|
|
1734
|
+
* When omitted and strategies are used, falls back to the currently focused element.
|
|
1735
|
+
*/
|
|
1736
|
+
origin?: HTMLElement | Event;
|
|
1432
1737
|
role?: OverlayRole;
|
|
1433
|
-
positionStrategy?: OverlayPositionStrategy;
|
|
1434
1738
|
hasBackdrop?: boolean;
|
|
1435
1739
|
disableClose?: boolean;
|
|
1436
1740
|
inputBindings?: Record<string, unknown>;
|
|
1741
|
+
/** Event listeners bound to the overlay component's outputs. */
|
|
1742
|
+
outputBindings?: Record<string, (event: unknown) => unknown>;
|
|
1437
1743
|
ariaDescribedBy?: string | null;
|
|
1438
1744
|
ariaLabelledBy?: string | null;
|
|
1439
1745
|
ariaLabel?: string | null;
|
|
@@ -1446,37 +1752,76 @@ type OverlayConfig = {
|
|
|
1446
1752
|
mode?: OverlayMode;
|
|
1447
1753
|
closeOnOutsidePointer?: boolean;
|
|
1448
1754
|
closeOnEscape?: boolean;
|
|
1755
|
+
/**
|
|
1756
|
+
* Breakpoint-driven overlay strategies (dialog, sheets, full-screen, …).
|
|
1757
|
+
* When set, position, sizing and classes are controlled by the active strategy.
|
|
1758
|
+
*/
|
|
1759
|
+
strategies?: () => OverlayStrategyBreakpoint[];
|
|
1760
|
+
/**
|
|
1761
|
+
* Disables the default overlay animations so custom ones can be applied.
|
|
1762
|
+
*
|
|
1763
|
+
* @default false
|
|
1764
|
+
*/
|
|
1765
|
+
customAnimated?: boolean;
|
|
1449
1766
|
};
|
|
1450
1767
|
|
|
1451
1768
|
declare const createOverlayRef: <TComponent extends object, TResult = unknown>(config: OverlayConfig) => {
|
|
1452
1769
|
readonly id: string;
|
|
1770
|
+
readonly elements: _ethlete_core.OverlayRuntimeElements | null;
|
|
1453
1771
|
config: OverlayConfig;
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1772
|
+
headerTemplate: _angular_core.Signal<TemplateRef<unknown> | null>;
|
|
1773
|
+
/** @internal Set (or clear) the active header template. */
|
|
1774
|
+
setHeaderTemplate: (template: TemplateRef<unknown> | null) => void;
|
|
1775
|
+
componentInstance: () => TComponent | null;
|
|
1776
|
+
close: (result?: TResult) => void;
|
|
1777
|
+
closeVia: (source: OverlayRuntimeCloseSource, result?: TResult) => void;
|
|
1778
|
+
attachComponentInstanceOverride: (getter: () => TComponent | null) => void;
|
|
1779
|
+
afterOpened: () => Observable<void>;
|
|
1780
|
+
beforeClosed: () => Observable<TResult | undefined>;
|
|
1781
|
+
afterClosed: () => Observable<TResult | undefined>;
|
|
1782
|
+
attachRuntime: (runtimeRef: OverlayRuntimeRef<TComponent, TResult>) => void;
|
|
1460
1783
|
};
|
|
1461
1784
|
type OverlayRef<TComponent extends object = object, TResult = unknown> = ReturnType<typeof createOverlayRef<TComponent, TResult>>;
|
|
1462
1785
|
declare const OVERLAY_REF: InjectionToken<{
|
|
1463
1786
|
readonly id: string;
|
|
1787
|
+
readonly elements: _ethlete_core.OverlayRuntimeElements | null;
|
|
1464
1788
|
config: OverlayConfig;
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1789
|
+
headerTemplate: _angular_core.Signal<TemplateRef<unknown> | null>;
|
|
1790
|
+
/** @internal Set (or clear) the active header template. */
|
|
1791
|
+
setHeaderTemplate: (template: TemplateRef<unknown> | null) => void;
|
|
1792
|
+
componentInstance: () => object | null;
|
|
1793
|
+
close: (result?: unknown) => void;
|
|
1794
|
+
closeVia: (source: OverlayRuntimeCloseSource, result?: unknown) => void;
|
|
1795
|
+
attachComponentInstanceOverride: (getter: () => object | null) => void;
|
|
1796
|
+
afterOpened: () => Observable<void>;
|
|
1797
|
+
beforeClosed: () => Observable<unknown>;
|
|
1798
|
+
afterClosed: () => Observable<unknown>;
|
|
1799
|
+
attachRuntime: (runtimeRef: OverlayRuntimeRef<object, unknown>) => void;
|
|
1471
1800
|
}>;
|
|
1472
1801
|
|
|
1802
|
+
declare const getClosestOverlay: (element: ElementRef<HTMLElement>, openOverlays: OverlayRef<object, unknown>[]) => OverlayRef<object, unknown> | null;
|
|
1803
|
+
type ResolveClosestOverlayOptions = {
|
|
1804
|
+
overlayRef: OverlayRef<object, unknown> | null;
|
|
1805
|
+
element: ElementRef<HTMLElement>;
|
|
1806
|
+
openOverlays: OverlayRef<object, unknown>[];
|
|
1807
|
+
};
|
|
1808
|
+
/** Returns the given ref or resolves the overlay the element is rendered inside of. Throws if neither exists. */
|
|
1809
|
+
declare const resolveClosestOverlay: (options: ResolveClosestOverlayOptions) => OverlayRef<object, unknown>;
|
|
1810
|
+
|
|
1811
|
+
declare class OverlayAnchorDirective {
|
|
1812
|
+
private overlay;
|
|
1813
|
+
private destroyRef;
|
|
1814
|
+
elementRef: ElementRef<HTMLElement>;
|
|
1815
|
+
constructor();
|
|
1816
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayAnchorDirective, never>;
|
|
1817
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayAnchorDirective, "[etOverlayAnchor]", ["etOverlayAnchor"], {}, {}, never, never, true, never>;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1473
1820
|
declare class OverlayTemplateHostComponent {
|
|
1474
|
-
private animatedLifecycleInstance;
|
|
1475
1821
|
protected template: _angular_core.InputSignal<TemplateRef<OverlaySurfaceContext>>;
|
|
1476
1822
|
protected context: _angular_core.InputSignal<OverlaySurfaceContext>;
|
|
1477
|
-
animatedLifecycle: _angular_core.WritableSignal<AnimatedLifecycleDirective>;
|
|
1478
1823
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayTemplateHostComponent, never>;
|
|
1479
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayTemplateHostComponent, "et-overlay-template-host", never, { "template": { "alias": "template"; "required": true; "isSignal": true; }; "context": { "alias": "context"; "required": true; "isSignal": true; }; }, {}, never, never, true,
|
|
1824
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayTemplateHostComponent, "et-overlay-template-host", never, { "template": { "alias": "template"; "required": true; "isSignal": true; }; "context": { "alias": "context"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1480
1825
|
}
|
|
1481
1826
|
|
|
1482
1827
|
declare class OverlayTriggerDirective {
|
|
@@ -1555,13 +1900,204 @@ declare class OverlaySurfaceDirective {
|
|
|
1555
1900
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlaySurfaceDirective, "ng-template[etOverlaySurface]", ["etOverlaySurface"], {}, {}, never, never, true, never>;
|
|
1556
1901
|
}
|
|
1557
1902
|
|
|
1903
|
+
declare const OVERLAY_BODY_TOKEN: InjectionToken<OverlayBodyComponent>;
|
|
1904
|
+
type OverlayBodyDividerType = 'static' | 'dynamic' | false;
|
|
1905
|
+
declare class OverlayBodyComponent implements OnInit {
|
|
1906
|
+
private overlayRef;
|
|
1907
|
+
private elementRef;
|
|
1908
|
+
private scrollObserver;
|
|
1909
|
+
dividers: _angular_core.InputSignal<OverlayBodyDividerType>;
|
|
1910
|
+
private overlayManager;
|
|
1911
|
+
dividersEnabled: _angular_core.Signal<boolean>;
|
|
1912
|
+
dynamicDividersEnabled: _angular_core.Signal<boolean>;
|
|
1913
|
+
containerScrollState: _angular_core.Signal<_ethlete_core.ElementScrollState>;
|
|
1914
|
+
canScroll: _angular_core.Signal<boolean>;
|
|
1915
|
+
isAtStart: _angular_core.Signal<boolean>;
|
|
1916
|
+
isAtEnd: _angular_core.Signal<boolean>;
|
|
1917
|
+
enableDividerAnimations: _angular_core.WritableSignal<boolean>;
|
|
1918
|
+
constructor();
|
|
1919
|
+
ngOnInit(): void;
|
|
1920
|
+
scrollToTop(behavior?: ScrollBehavior): void;
|
|
1921
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayBodyComponent, never>;
|
|
1922
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayBodyComponent, "[et-overlay-body], et-overlay-body", never, { "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof _ethlete_core.ScrollObserverDirective; inputs: {}; outputs: {}; }]>;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
declare class OverlayCloseDirective implements OnInit {
|
|
1926
|
+
private overlayRef;
|
|
1927
|
+
private elementRef;
|
|
1928
|
+
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
1929
|
+
type: _angular_core.InputSignal<"button" | "submit" | "reset">;
|
|
1930
|
+
closeResult: _angular_core.InputSignal<unknown>;
|
|
1931
|
+
closeResultAlt: _angular_core.InputSignal<unknown>;
|
|
1932
|
+
private overlayManager;
|
|
1933
|
+
constructor();
|
|
1934
|
+
ngOnInit(): void;
|
|
1935
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayCloseDirective, never>;
|
|
1936
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayCloseDirective, "[et-overlay-close], [etOverlayClose]", ["etOverlayClose"], { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "closeResult": { "alias": "etOverlayClose"; "required": false; "isSignal": true; }; "closeResultAlt": { "alias": "et-overlay-close"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
declare class OverlayContainerComponent {
|
|
1940
|
+
private ownColorProvider;
|
|
1941
|
+
private ownSurfaceProvider;
|
|
1942
|
+
private parentColorProvider;
|
|
1943
|
+
private parentSurfaceProvider;
|
|
1944
|
+
private destroyRef;
|
|
1945
|
+
private elementRef;
|
|
1946
|
+
protected overlayRef: {
|
|
1947
|
+
readonly id: string;
|
|
1948
|
+
readonly elements: _ethlete_core.OverlayRuntimeElements | null;
|
|
1949
|
+
config: _ethlete_components.OverlayConfig;
|
|
1950
|
+
headerTemplate: _angular_core.Signal<_angular_core.TemplateRef<unknown> | null>;
|
|
1951
|
+
setHeaderTemplate: (template: _angular_core.TemplateRef<unknown> | null) => void;
|
|
1952
|
+
componentInstance: () => object | null;
|
|
1953
|
+
close: (result?: unknown) => void;
|
|
1954
|
+
closeVia: (source: _ethlete_core.OverlayRuntimeCloseSource, result?: unknown) => void;
|
|
1955
|
+
attachComponentInstanceOverride: (getter: () => object | null) => void;
|
|
1956
|
+
afterOpened: () => rxjs.Observable<void>;
|
|
1957
|
+
beforeClosed: () => rxjs.Observable<unknown>;
|
|
1958
|
+
afterClosed: () => rxjs.Observable<unknown>;
|
|
1959
|
+
attachRuntime: (runtimeRef: _ethlete_core.OverlayRuntimeRef<object, unknown>) => void;
|
|
1960
|
+
};
|
|
1961
|
+
component: _angular_core.InputSignal<Type<object>>;
|
|
1962
|
+
componentInputs: _angular_core.InputSignal<Record<string, unknown> | undefined>;
|
|
1963
|
+
componentOutputs: _angular_core.InputSignal<Record<string, (event: unknown) => unknown> | undefined>;
|
|
1964
|
+
renderArrow: _angular_core.InputSignal<boolean>;
|
|
1965
|
+
private contentOutlet;
|
|
1966
|
+
private surfaceThemes;
|
|
1967
|
+
private surfaceContextTracker;
|
|
1968
|
+
private renderer;
|
|
1969
|
+
rootBoundary: {
|
|
1970
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
1971
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
1972
|
+
};
|
|
1973
|
+
animatedLifecycle: _angular_core.WritableSignal<AnimatedLifecycleDirective>;
|
|
1974
|
+
contentComponentRef: _angular_core.WritableSignal<ComponentRef<object> | null>;
|
|
1975
|
+
constructor();
|
|
1976
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayContainerComponent, never>;
|
|
1977
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayContainerComponent, "et-overlay-container", never, { "component": { "alias": "component"; "required": true; "isSignal": true; }; "componentInputs": { "alias": "componentInputs"; "required": false; "isSignal": true; }; "componentOutputs": { "alias": "componentOutputs"; "required": false; "isSignal": true; }; "renderArrow": { "alias": "renderArrow"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ethlete_core.AnimatedLifecycleDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ProvideColorDirective; inputs: {}; outputs: {}; }, { directive: typeof _ethlete_core.ProvideSurfaceDirective; inputs: {}; outputs: {}; }]>;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1558
1980
|
declare const OVERLAY_ERROR_CODES: {
|
|
1559
1981
|
readonly MISSING_OVERLAY_SURFACE: 1200;
|
|
1560
1982
|
readonly TRIGGER_OUTSIDE_OVERLAY: 1201;
|
|
1561
1983
|
readonly ANCHOR_OUTSIDE_OVERLAY: 1202;
|
|
1562
1984
|
readonly SURFACE_OUTSIDE_OVERLAY: 1203;
|
|
1985
|
+
readonly MULTIPLE_LAYOUT_CLASSES: 1204;
|
|
1986
|
+
readonly NO_CLOSEST_OVERLAY: 1205;
|
|
1987
|
+
readonly NESTED_OVERLAY_MAIN: 1206;
|
|
1563
1988
|
};
|
|
1564
1989
|
|
|
1990
|
+
declare const OVERLAY_FOOTER_TOKEN: InjectionToken<OverlayFooterDirective>;
|
|
1991
|
+
declare class OverlayFooterDirective implements OnInit {
|
|
1992
|
+
private overlayRef;
|
|
1993
|
+
private elementRef;
|
|
1994
|
+
private overlayManager;
|
|
1995
|
+
ngOnInit(): void;
|
|
1996
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayFooterDirective, never>;
|
|
1997
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayFooterDirective, "[etOverlayFooter], et-overlay-footer", never, {}, {}, never, never, true, never>;
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
type CreateOverlayHandlerConfig<TComponent extends object> = OverlayConfig & {
|
|
2001
|
+
/** The overlay component. */
|
|
2002
|
+
component: Type<TComponent>;
|
|
2003
|
+
};
|
|
2004
|
+
/** Per-open config overrides. Strategies are fixed by the handler's root config. */
|
|
2005
|
+
type OverlayConsumerConfig = Omit<OverlayConfig, 'strategies'>;
|
|
2006
|
+
type OverlayHandler<TComponent extends object, TResult = unknown> = {
|
|
2007
|
+
/** Open the overlay using a combination of the given configs */
|
|
2008
|
+
open: (config?: OverlayConsumerConfig) => OverlayRef<TComponent, TResult>;
|
|
2009
|
+
/**
|
|
2010
|
+
* Returns the typed overlay ref.
|
|
2011
|
+
* @throws Error if the overlay ref gets accessed outside of the overlay component
|
|
2012
|
+
*/
|
|
2013
|
+
injectOverlayRef: () => OverlayRef<TComponent, TResult>;
|
|
2014
|
+
};
|
|
2015
|
+
type CreateOverlayHandlerInnerConfig<TResult = unknown> = {
|
|
2016
|
+
/** A callback function to be executed once the overlay has been closed */
|
|
2017
|
+
afterClosed?: (result: TResult | null) => void;
|
|
2018
|
+
/** A callback function to be executed before the overlay is closed */
|
|
2019
|
+
beforeClosed?: (result: TResult | null) => void;
|
|
2020
|
+
/** A callback function to be executed once the overlay has been opened */
|
|
2021
|
+
afterOpened?: () => void;
|
|
2022
|
+
};
|
|
2023
|
+
declare const createOverlayHandler: <TComponent extends object, TResult = unknown>(rootConfig: CreateOverlayHandlerConfig<TComponent>) => (innerConfig?: CreateOverlayHandlerInnerConfig<TResult>) => OverlayHandler<TComponent, TResult>;
|
|
2024
|
+
/** The name of the model the overlay component must expose to participate in query-param sync. */
|
|
2025
|
+
declare const OVERLAY_QUERY_PARAM_INPUT_NAME = "overlayQueryParam";
|
|
2026
|
+
type OverlayHandlerWithQueryParamLifecycle<TQueryParam extends string = string> = {
|
|
2027
|
+
/** Open the overlay by writing the given value to the query param. */
|
|
2028
|
+
open: (value: TQueryParam) => void;
|
|
2029
|
+
/** Close the overlay by removing the query param. */
|
|
2030
|
+
close: () => void;
|
|
2031
|
+
};
|
|
2032
|
+
type CreateOverlayHandlerWithQueryParamLifecycleConfig<TComponent extends object> = CreateOverlayHandlerConfig<TComponent> & {
|
|
2033
|
+
/** The query param key that drives this overlay's open/close lifecycle. */
|
|
2034
|
+
queryParamKey: string;
|
|
2035
|
+
};
|
|
2036
|
+
/**
|
|
2037
|
+
* Drives an overlay's lifecycle from a URL query param: the overlay opens while the param is present
|
|
2038
|
+
* and closes (clearing the param) when dismissed. The param value is forwarded to the overlay via an
|
|
2039
|
+
* `overlayQueryParam` {@link https://angular.dev/api/core/model | model}, which is kept in two-way sync
|
|
2040
|
+
* with the URL — reading the model reflects the URL, and writing it updates the URL.
|
|
2041
|
+
*
|
|
2042
|
+
* Open it declaratively with {@link OverlayHandlerLinkDirective}, or imperatively via the returned
|
|
2043
|
+
* handler's `open()` / `close()`.
|
|
2044
|
+
*
|
|
2045
|
+
* @example
|
|
2046
|
+
* // in the overlay component:
|
|
2047
|
+
* readonly overlayQueryParam = model<string>();
|
|
2048
|
+
*
|
|
2049
|
+
* // once, in a long-lived component (e.g. AppComponent):
|
|
2050
|
+
* private handler = createProductOverlay(); // returned by this factory
|
|
2051
|
+
*/
|
|
2052
|
+
declare const createOverlayHandlerWithQueryParamLifecycle: <TComponent extends object, TQueryParam extends string = string, TResult = unknown>(config: CreateOverlayHandlerWithQueryParamLifecycleConfig<TComponent>) => {
|
|
2053
|
+
(innerConfig?: CreateOverlayHandlerInnerConfig<TResult>): OverlayHandlerWithQueryParamLifecycle<TQueryParam>;
|
|
2054
|
+
injectOverlayRef(): OverlayRef<TComponent, TResult>;
|
|
2055
|
+
};
|
|
2056
|
+
|
|
2057
|
+
declare class OverlayHandlerLinkDirective {
|
|
2058
|
+
private routerLink;
|
|
2059
|
+
linkValue: _angular_core.InputSignal<string | number>;
|
|
2060
|
+
linkKey: _angular_core.InputSignal<string>;
|
|
2061
|
+
constructor();
|
|
2062
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayHandlerLinkDirective, never>;
|
|
2063
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayHandlerLinkDirective, "[etOverlayHandlerLink]", never, { "linkValue": { "alias": "etOverlayHandlerLink"; "required": true; "isSignal": true; }; "linkKey": { "alias": "etOverlayHandlerQueryParamName"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RouterLink; inputs: {}; outputs: {}; }]>;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
declare const OVERLAY_HEADER_TOKEN: InjectionToken<OverlayHeaderDirective>;
|
|
2067
|
+
declare class OverlayHeaderDirective implements OnInit {
|
|
2068
|
+
private overlayRef;
|
|
2069
|
+
private elementRef;
|
|
2070
|
+
private overlayManager;
|
|
2071
|
+
ngOnInit(): void;
|
|
2072
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayHeaderDirective, never>;
|
|
2073
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayHeaderDirective, "[etOverlayHeader], et-overlay-header", never, {}, {}, never, never, true, never>;
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
declare const OVERLAY_HEADER_TEMPLATE_TOKEN: InjectionToken<OverlayHeaderTemplateDirective>;
|
|
2077
|
+
declare class OverlayHeaderTemplateDirective implements OnInit, OnDestroy {
|
|
2078
|
+
private overlayRef;
|
|
2079
|
+
private elementRef;
|
|
2080
|
+
template: TemplateRef<unknown>;
|
|
2081
|
+
private overlayManager;
|
|
2082
|
+
constructor();
|
|
2083
|
+
ngOnInit(): void;
|
|
2084
|
+
ngOnDestroy(): void;
|
|
2085
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayHeaderTemplateDirective, never>;
|
|
2086
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayHeaderTemplateDirective, "ng-template[etOverlayHeaderTemplate]", never, {}, {}, never, never, true, never>;
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
declare const OVERLAY_MAIN_TOKEN: InjectionToken<OverlayMainDirective>;
|
|
2090
|
+
declare class OverlayMainDirective implements OnInit {
|
|
2091
|
+
private parent;
|
|
2092
|
+
private elementRef;
|
|
2093
|
+
private overlayRef;
|
|
2094
|
+
enabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2095
|
+
private overlayManager;
|
|
2096
|
+
ngOnInit(): void;
|
|
2097
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayMainDirective, never>;
|
|
2098
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayMainDirective, "[etOverlayMain], et-overlay-main", never, { "enabled": { "alias": "etOverlayMain"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
1565
2101
|
type OverlayManager = {
|
|
1566
2102
|
open: <TComponent extends object, TResult = unknown>(component: Type<TComponent>, config?: OverlayConfig) => OverlayRef<TComponent, TResult>;
|
|
1567
2103
|
openOverlays: ReturnType<typeof computed<OverlayRef<object, unknown>[]>>;
|
|
@@ -1575,7 +2111,605 @@ declare const injectOverlayManager: {
|
|
|
1575
2111
|
(options: _angular_core.InjectOptions): OverlayManager | null;
|
|
1576
2112
|
};
|
|
1577
2113
|
|
|
2114
|
+
/**
|
|
2115
|
+
* Blocks body scrolling while a modal overlay is open.
|
|
2116
|
+
* Register once via `provideOverlay()` (or call `injectOverlayScrollBlocker()` in an environment initializer).
|
|
2117
|
+
*/
|
|
2118
|
+
declare const provideOverlayScrollBlocker: () => _angular_core.Provider[];
|
|
2119
|
+
declare const injectOverlayScrollBlocker: {
|
|
2120
|
+
(): void;
|
|
2121
|
+
(options: _angular_core.InjectOptions & {
|
|
2122
|
+
optional?: false;
|
|
2123
|
+
}): void;
|
|
2124
|
+
(options: _angular_core.InjectOptions): void | null;
|
|
2125
|
+
};
|
|
2126
|
+
|
|
2127
|
+
declare class OverlayTitleDirective implements OnInit {
|
|
2128
|
+
private overlayRef;
|
|
2129
|
+
private elementRef;
|
|
2130
|
+
id: _angular_core.InputSignal<string>;
|
|
2131
|
+
private overlayManager;
|
|
2132
|
+
private renderer;
|
|
2133
|
+
ngOnInit(): void;
|
|
2134
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayTitleDirective, never>;
|
|
2135
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayTitleDirective, "[et-overlay-title], [etOverlayTitle]", ["etOverlayTitle"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
1578
2138
|
declare const OVERLAY_IMPORTS: readonly [typeof OverlayDirective, typeof OverlayTriggerDirective, typeof OverlayAnchorDirective, typeof OverlaySurfaceDirective];
|
|
2139
|
+
declare const OVERLAY_CONTENT_IMPORTS: readonly [typeof OverlayCloseDirective, typeof OverlayTitleDirective, typeof OverlayHeaderDirective, typeof OverlayBodyComponent, typeof OverlayFooterDirective, typeof OverlayMainDirective];
|
|
2140
|
+
declare const provideOverlay: () => _angular_core.EnvironmentProviders[];
|
|
2141
|
+
|
|
2142
|
+
declare const OVERLAY_BACK_OR_CLOSE_TOKEN: InjectionToken<OverlayBackOrCloseDirective>;
|
|
2143
|
+
declare class OverlayBackOrCloseDirective {
|
|
2144
|
+
private overlayRef;
|
|
2145
|
+
private elementRef;
|
|
2146
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2147
|
+
private router;
|
|
2148
|
+
constructor();
|
|
2149
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayBackOrCloseDirective, never>;
|
|
2150
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayBackOrCloseDirective, "[etOverlayBackOrClose]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
declare class OverlayRouteHeaderTemplateOutletComponent {
|
|
2154
|
+
protected overlay: {
|
|
2155
|
+
readonly id: string;
|
|
2156
|
+
readonly elements: _ethlete_core.OverlayRuntimeElements | null;
|
|
2157
|
+
config: _ethlete_components.OverlayConfig;
|
|
2158
|
+
headerTemplate: _angular_core.Signal<_angular_core.TemplateRef<unknown> | null>;
|
|
2159
|
+
setHeaderTemplate: (template: _angular_core.TemplateRef<unknown> | null) => void;
|
|
2160
|
+
componentInstance: () => object | null;
|
|
2161
|
+
close: (result?: unknown) => void;
|
|
2162
|
+
closeVia: (source: _ethlete_core.OverlayRuntimeCloseSource, result?: unknown) => void;
|
|
2163
|
+
attachComponentInstanceOverride: (getter: () => object | null) => void;
|
|
2164
|
+
afterOpened: () => rxjs.Observable<void>;
|
|
2165
|
+
beforeClosed: () => rxjs.Observable<unknown>;
|
|
2166
|
+
afterClosed: () => rxjs.Observable<unknown>;
|
|
2167
|
+
attachRuntime: (runtimeRef: _ethlete_core.OverlayRuntimeRef<object, unknown>) => void;
|
|
2168
|
+
};
|
|
2169
|
+
animatedLifecycle: _angular_core.Signal<AnimatedLifecycleDirective>;
|
|
2170
|
+
protected router: _ethlete_components.OverlayRouter;
|
|
2171
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayRouteHeaderTemplateOutletComponent, never>;
|
|
2172
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayRouteHeaderTemplateOutletComponent, "et-overlay-route-header-template-outlet", never, {}, {}, never, never, true, never>;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
declare const OVERLAY_ROUTER_CONFIG_TOKEN: InjectionToken<OverlayRouterConfig>;
|
|
2176
|
+
type OverlayRoute = {
|
|
2177
|
+
/** The component to render. */
|
|
2178
|
+
component: Type<unknown>;
|
|
2179
|
+
/**
|
|
2180
|
+
* The route of the page.
|
|
2181
|
+
*
|
|
2182
|
+
* @example
|
|
2183
|
+
* "/" // The root route
|
|
2184
|
+
* "/two" // The route "two"
|
|
2185
|
+
*/
|
|
2186
|
+
path: `/${string}`;
|
|
2187
|
+
/** The inputs to pass to the component. Signal values are unwrapped. */
|
|
2188
|
+
inputs?: Record<string, unknown>;
|
|
2189
|
+
/**
|
|
2190
|
+
* Overrides the animation direction used when navigating to or away from this route.
|
|
2191
|
+
* Useful for routes that conceptually sit "before" the others, like a sidebar page that
|
|
2192
|
+
* should slide in from the left. An explicit direction passed to `navigate()` always wins.
|
|
2193
|
+
*/
|
|
2194
|
+
navigationDirection?: {
|
|
2195
|
+
/** Direction to play when this route becomes active. */
|
|
2196
|
+
to?: OverlayRouterNavigationDirection;
|
|
2197
|
+
/** Direction to play when navigating away from this route. */
|
|
2198
|
+
from?: OverlayRouterNavigationDirection;
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
type OverlayRouterConfig = {
|
|
2202
|
+
/** The routes to be able to navigate to. */
|
|
2203
|
+
routes: OverlayRoute[];
|
|
2204
|
+
/**
|
|
2205
|
+
* The route on which to start.
|
|
2206
|
+
* @default routes[0].path // The first route, or "/" if none is defined
|
|
2207
|
+
*/
|
|
2208
|
+
initialRoute?: string;
|
|
2209
|
+
/**
|
|
2210
|
+
* Mirror the active overlay route into the browser URL as a query param, enabling deep-linking and
|
|
2211
|
+
* browser back/forward integration. Requires the Angular `Router` to be available.
|
|
2212
|
+
*
|
|
2213
|
+
* @default false
|
|
2214
|
+
*/
|
|
2215
|
+
syncUrl?: boolean;
|
|
2216
|
+
};
|
|
2217
|
+
type OverlayRouterNavigationDirection = 'forward' | 'backward';
|
|
2218
|
+
type OverlayRouterNavigateConfig = {
|
|
2219
|
+
navigationDirection?: OverlayRouterNavigationDirection;
|
|
2220
|
+
};
|
|
2221
|
+
type OverlayRouterTransitionType = 'slide' | 'fade' | 'overlay' | 'vertical' | 'none';
|
|
2222
|
+
type OverlayRouterResolvedPath = {
|
|
2223
|
+
route: string;
|
|
2224
|
+
type: 'back' | 'replace-current' | 'absolute' | 'forward';
|
|
2225
|
+
};
|
|
2226
|
+
type OverlayRouter = {
|
|
2227
|
+
/** The current route, but delayed by one frame to ensure that the needed animation classes are applied. */
|
|
2228
|
+
currentRoute: Signal<string>;
|
|
2229
|
+
/** Routes registered at runtime in addition to the configured ones. */
|
|
2230
|
+
extraRoutes: WritableSignal<OverlayRoute[]>;
|
|
2231
|
+
/** The transition to play when navigating between routes. */
|
|
2232
|
+
transitionType: WritableSignal<OverlayRouterTransitionType>;
|
|
2233
|
+
/** The direction of the current navigation. */
|
|
2234
|
+
navigationDirection: WritableSignal<OverlayRouterNavigationDirection>;
|
|
2235
|
+
/** Whether an in-memory history entry exists to go back to. */
|
|
2236
|
+
canGoBack: Signal<boolean>;
|
|
2237
|
+
/** All navigable routes (configured + extra) with signal inputs unwrapped. */
|
|
2238
|
+
routes: Signal<OverlayRoute[]>;
|
|
2239
|
+
/** The route currently being displayed. */
|
|
2240
|
+
currentPage: Signal<OverlayRoute | null>;
|
|
2241
|
+
navigate: (route: string | (string | number)[], config?: OverlayRouterNavigateConfig) => void;
|
|
2242
|
+
back: () => boolean;
|
|
2243
|
+
resolvePath: (route: string | (string | number)[]) => OverlayRouterResolvedPath;
|
|
2244
|
+
addRoute: (route: OverlayRoute) => void;
|
|
2245
|
+
removeRoute: (path: string) => void;
|
|
2246
|
+
/** @internal Returns `true` when the route actually changed. */
|
|
2247
|
+
updateCurrentRoute: (route: string) => boolean;
|
|
2248
|
+
/** @internal */
|
|
2249
|
+
navigateToInitialRoute: () => void;
|
|
2250
|
+
};
|
|
2251
|
+
declare const provideOverlayRouterService: () => Provider[];
|
|
2252
|
+
declare const injectOverlayRouter: {
|
|
2253
|
+
(): OverlayRouter;
|
|
2254
|
+
(options: _angular_core.InjectOptions & {
|
|
2255
|
+
optional?: false;
|
|
2256
|
+
}): OverlayRouter;
|
|
2257
|
+
(options: _angular_core.InjectOptions): OverlayRouter | null;
|
|
2258
|
+
};
|
|
2259
|
+
declare const OVERLAY_ROUTER_TOKEN: InjectionToken<OverlayRouter>;
|
|
2260
|
+
declare const provideOverlayRouterConfig: (config: OverlayRouterConfig) => Provider[];
|
|
2261
|
+
/**
|
|
2262
|
+
* Provides both the overlay router config and the overlay router itself, so a consumer only needs
|
|
2263
|
+
* a single entry in the overlay's `providers` instead of wiring the router separately.
|
|
2264
|
+
*
|
|
2265
|
+
* @example
|
|
2266
|
+
* overlayManager.open(MyOverlay, {
|
|
2267
|
+
* strategies: dialogOverlayStrategy(),
|
|
2268
|
+
* providers: [provideOverlayRouter({ routes: [...] })],
|
|
2269
|
+
* });
|
|
2270
|
+
*/
|
|
2271
|
+
declare const provideOverlayRouter: (config: OverlayRouterConfig) => Provider[];
|
|
2272
|
+
|
|
2273
|
+
declare const OVERLAY_ROUTER_LINK_TOKEN: InjectionToken<OverlayRouterLinkDirective>;
|
|
2274
|
+
declare class OverlayRouterLinkDirective {
|
|
2275
|
+
private elementRef;
|
|
2276
|
+
path: _angular_core.InputSignal<string | (string | number)[]>;
|
|
2277
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2278
|
+
navigationDirection: _angular_core.InputSignal<OverlayRouterNavigationDirection | null>;
|
|
2279
|
+
private router;
|
|
2280
|
+
isActive: _angular_core.Signal<boolean>;
|
|
2281
|
+
constructor();
|
|
2282
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayRouterLinkDirective, never>;
|
|
2283
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayRouterLinkDirective, "[etOverlayRouterLink]", never, { "path": { "alias": "etOverlayRouterLink"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "navigationDirection": { "alias": "navigationDirection"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
declare const OVERLAY_ROUTER_OUTLET_DISABLED_TEMPLATE_TOKEN: InjectionToken<OverlayRouterOutletDisabledTemplateDirective>;
|
|
2287
|
+
declare class OverlayRouterOutletDisabledTemplateDirective {
|
|
2288
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayRouterOutletDisabledTemplateDirective, never>;
|
|
2289
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlayRouterOutletDisabledTemplateDirective, "ng-template[etOverlayRouterOutletDisabledTemplate]", never, {}, {}, never, never, true, never>;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
declare const OVERLAY_ROUTER_OUTLET_TOKEN: InjectionToken<OverlayRouterOutletComponent>;
|
|
2293
|
+
declare class OverlayRouterOutletComponent {
|
|
2294
|
+
private injector;
|
|
2295
|
+
private overlayRef;
|
|
2296
|
+
private elementRef;
|
|
2297
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2298
|
+
sharedRouteTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2299
|
+
outletDisabledTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2300
|
+
pageWrappers: _angular_core.Signal<readonly ElementRef<HTMLElement>[]>;
|
|
2301
|
+
protected router: _ethlete_components.OverlayRouter;
|
|
2302
|
+
private renderer;
|
|
2303
|
+
readonly hasSidebar: boolean;
|
|
2304
|
+
wasDisabled: _angular_core.WritableSignal<boolean>;
|
|
2305
|
+
keepDisabledTransition: _angular_core.Signal<boolean>;
|
|
2306
|
+
activePageElement: _angular_core.Signal<HTMLElement | null>;
|
|
2307
|
+
protected transitionType: _angular_core.Signal<_ethlete_components.OverlayRouterTransitionType>;
|
|
2308
|
+
constructor();
|
|
2309
|
+
scrollActivePageTo(options?: ScrollToOptions | undefined): void;
|
|
2310
|
+
disabledPageAnimationStateChange(state: AnimatedLifecycleState): void;
|
|
2311
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayRouterOutletComponent, never>;
|
|
2312
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayRouterOutletComponent, "et-overlay-router-outlet", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["sharedRouteTemplate", "outletDisabledTemplate"], ["*"], true, never>;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
declare class OverlaySharedRouteTemplateOutletComponent {
|
|
2316
|
+
protected routerOutlet: _ethlete_components.OverlayRouterOutletComponent;
|
|
2317
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlaySharedRouteTemplateOutletComponent, never>;
|
|
2318
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlaySharedRouteTemplateOutletComponent, "et-overlay-shared-route-template-outlet", never, {}, {}, never, never, true, never>;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
declare const OVERLAY_SHARED_ROUTE_TEMPLATE_TOKEN: InjectionToken<OverlaySharedRouteTemplateDirective>;
|
|
2322
|
+
declare class OverlaySharedRouteTemplateDirective {
|
|
2323
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlaySharedRouteTemplateDirective, never>;
|
|
2324
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverlaySharedRouteTemplateDirective, "ng-template[etOverlaySharedRouteTemplate]", never, {}, {}, never, never, true, never>;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
declare class OverlaySidebarPageComponent {
|
|
2328
|
+
headerTemplate: _angular_core.InputSignal<OverlayHeaderTemplateDirective | null>;
|
|
2329
|
+
bodyTemplate: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
2330
|
+
pageDividers: _angular_core.InputSignal<OverlayBodyDividerType>;
|
|
2331
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlaySidebarPageComponent, never>;
|
|
2332
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlaySidebarPageComponent, "et-overlay-sidebar-page", never, { "headerTemplate": { "alias": "headerTemplate"; "required": true; "isSignal": true; }; "bodyTemplate": { "alias": "bodyTemplate"; "required": true; "isSignal": true; }; "pageDividers": { "alias": "pageDividers"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof OverlayMainDirective; inputs: {}; outputs: {}; }]>;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
declare class OverlaySidebarComponent {
|
|
2336
|
+
pageDividers: _angular_core.InputSignal<OverlayBodyDividerType>;
|
|
2337
|
+
sidebarContent: _angular_core.Signal<TemplateRef<unknown>>;
|
|
2338
|
+
sidebarHeaderContent: _angular_core.Signal<_ethlete_components.OverlayHeaderTemplateDirective | undefined>;
|
|
2339
|
+
protected sidebar: _ethlete_components.SidebarOverlay;
|
|
2340
|
+
constructor();
|
|
2341
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlaySidebarComponent, never>;
|
|
2342
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlaySidebarComponent, "et-overlay-sidebar", never, { "pageDividers": { "alias": "pageDividers"; "required": false; "isSignal": true; }; }, {}, ["sidebarHeaderContent"], ["*"], true, never>;
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
declare const SIDEBAR_OVERLAY_CONFIG: InjectionToken<SidebarOverlayConfig>;
|
|
2346
|
+
type SidebarOverlayConfig = {
|
|
2347
|
+
/**
|
|
2348
|
+
* On mobile devices, the sidebar is shown as a separate page that can be navigated to.
|
|
2349
|
+
* This is the route to that sidebar page.
|
|
2350
|
+
*
|
|
2351
|
+
* @default "/sidebar"
|
|
2352
|
+
*/
|
|
2353
|
+
sidebarPageRoute?: `/${string}`;
|
|
2354
|
+
/**
|
|
2355
|
+
* The width from which the sidebar renders inline (rather than collapsing into a page). Compared
|
|
2356
|
+
* against the overlay's own pane width — not the viewport — so a narrow dialog collapses its
|
|
2357
|
+
* sidebar even on a wide screen. Can be a breakpoint name or a pixel number. Works best with an
|
|
2358
|
+
* overlay that has a defined width.
|
|
2359
|
+
*
|
|
2360
|
+
* @default "md"
|
|
2361
|
+
*/
|
|
2362
|
+
renderSidebarFrom?: Breakpoint | number;
|
|
2363
|
+
};
|
|
2364
|
+
type SidebarOverlay = {
|
|
2365
|
+
/** Whether the sidebar renders inline (`true`) or is collapsed into a navigable page (`false`). */
|
|
2366
|
+
renderSidebar: Signal<boolean>;
|
|
2367
|
+
sidebarContentTemplate: WritableSignal<TemplateRef<unknown> | null>;
|
|
2368
|
+
sidebarHeaderTemplate: WritableSignal<OverlayHeaderTemplateDirective | null>;
|
|
2369
|
+
sidebarPageDividers: WritableSignal<OverlayBodyDividerType>;
|
|
2370
|
+
};
|
|
2371
|
+
declare const provideSidebarOverlayService: () => Provider[];
|
|
2372
|
+
declare const injectSidebarOverlay: {
|
|
2373
|
+
(): SidebarOverlay;
|
|
2374
|
+
(options: _angular_core.InjectOptions & {
|
|
2375
|
+
optional?: false;
|
|
2376
|
+
}): SidebarOverlay;
|
|
2377
|
+
(options: _angular_core.InjectOptions): SidebarOverlay | null;
|
|
2378
|
+
};
|
|
2379
|
+
declare const SIDEBAR_OVERLAY_TOKEN: InjectionToken<SidebarOverlay>;
|
|
2380
|
+
declare const provideSidebarOverlayConfig: (config: SidebarOverlayConfig) => Provider[];
|
|
2381
|
+
/**
|
|
2382
|
+
* Provides both the sidebar config and the sidebar overlay service in one call, mirroring
|
|
2383
|
+
* {@link provideOverlayRouter}. Requires an overlay router to also be provided.
|
|
2384
|
+
*/
|
|
2385
|
+
declare const provideSidebarOverlay: (config?: SidebarOverlayConfig) => Provider[];
|
|
2386
|
+
|
|
2387
|
+
type AnchoredOverlayStrategyOptions = {
|
|
2388
|
+
containerClass?: string | string[];
|
|
2389
|
+
hostClass?: string | string[];
|
|
2390
|
+
maxWidth?: number | string;
|
|
2391
|
+
maxHeight?: number | string;
|
|
2392
|
+
minWidth?: number | string;
|
|
2393
|
+
minHeight?: number | string;
|
|
2394
|
+
placement?: Placement;
|
|
2395
|
+
fallbackPlacements?: Placement[];
|
|
2396
|
+
offset?: OffsetOptions | null;
|
|
2397
|
+
arrowPadding?: Padding | null;
|
|
2398
|
+
viewportPadding?: Padding | null;
|
|
2399
|
+
shift?: boolean;
|
|
2400
|
+
autoResize?: boolean;
|
|
2401
|
+
autoHide?: boolean;
|
|
2402
|
+
autoCloseIfReferenceHidden?: boolean;
|
|
2403
|
+
mirrorWidth?: boolean;
|
|
2404
|
+
/** Render a floating-ui-positioned arrow on the container pointing at the origin. */
|
|
2405
|
+
arrow?: boolean;
|
|
2406
|
+
};
|
|
2407
|
+
type CenteredOverlayStrategyOptions = {
|
|
2408
|
+
containerClass?: string | string[];
|
|
2409
|
+
hostClass?: string | string[];
|
|
2410
|
+
maxWidth?: number | string;
|
|
2411
|
+
maxHeight?: number | string;
|
|
2412
|
+
minWidth?: number | string;
|
|
2413
|
+
minHeight?: number | string;
|
|
2414
|
+
};
|
|
2415
|
+
type AnchoredPositionOptions = Pick<AnchoredOverlayStrategyOptions, 'placement' | 'fallbackPlacements' | 'offset' | 'arrowPadding' | 'viewportPadding' | 'shift' | 'autoResize' | 'autoHide' | 'autoCloseIfReferenceHidden' | 'mirrorWidth'>;
|
|
2416
|
+
declare const buildAnchoredRuntimePositionStrategy: (options?: AnchoredPositionOptions) => (origin?: HTMLElement) => OverlayRuntimePositionStrategy;
|
|
2417
|
+
declare const anchoredOverlayStrategy: (options?: AnchoredOverlayStrategyOptions) => (() => OverlayStrategyBreakpoint[]);
|
|
2418
|
+
declare const centeredOverlayStrategy: (options?: CenteredOverlayStrategyOptions) => (() => OverlayStrategyBreakpoint[]);
|
|
2419
|
+
|
|
2420
|
+
type AnchoredDialogOverlayStrategyOptions = Partial<OverlayBreakpointConfig> & AnchoredPositionOptions;
|
|
2421
|
+
declare const provideAnchoredDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
|
|
2422
|
+
declare const injectAnchoredDialogStrategyDefaults: {
|
|
2423
|
+
(): OverlayBreakpointConfig;
|
|
2424
|
+
(options: _angular_core.InjectOptions & {
|
|
2425
|
+
optional?: false;
|
|
2426
|
+
}): OverlayBreakpointConfig;
|
|
2427
|
+
(options: _angular_core.InjectOptions): OverlayBreakpointConfig | null;
|
|
2428
|
+
};
|
|
2429
|
+
declare const provideAnchoredDialogStrategy: () => _angular_core.Provider[];
|
|
2430
|
+
declare const injectAnchoredDialogStrategy: {
|
|
2431
|
+
(): {
|
|
2432
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2433
|
+
};
|
|
2434
|
+
(options: _angular_core.InjectOptions & {
|
|
2435
|
+
optional?: false;
|
|
2436
|
+
}): {
|
|
2437
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2438
|
+
};
|
|
2439
|
+
(options: _angular_core.InjectOptions): {
|
|
2440
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2441
|
+
} | null;
|
|
2442
|
+
};
|
|
2443
|
+
declare const anchoredDialogOverlayStrategy: (options?: AnchoredDialogOverlayStrategyOptions) => (() => OverlayStrategyBreakpoint[]);
|
|
2444
|
+
|
|
2445
|
+
declare const provideBottomSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
|
|
2446
|
+
declare const injectBottomSheetStrategyDefaults: {
|
|
2447
|
+
(): OverlayBreakpointConfig;
|
|
2448
|
+
(options: _angular_core.InjectOptions & {
|
|
2449
|
+
optional?: false;
|
|
2450
|
+
}): OverlayBreakpointConfig;
|
|
2451
|
+
(options: _angular_core.InjectOptions): OverlayBreakpointConfig | null;
|
|
2452
|
+
};
|
|
2453
|
+
declare const provideBottomSheetStrategy: () => _angular_core.Provider[];
|
|
2454
|
+
declare const injectBottomSheetStrategy: {
|
|
2455
|
+
(): {
|
|
2456
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2457
|
+
};
|
|
2458
|
+
(options: _angular_core.InjectOptions & {
|
|
2459
|
+
optional?: false;
|
|
2460
|
+
}): {
|
|
2461
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2462
|
+
};
|
|
2463
|
+
(options: _angular_core.InjectOptions): {
|
|
2464
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2465
|
+
} | null;
|
|
2466
|
+
};
|
|
2467
|
+
declare const bottomSheetOverlayStrategy: (config?: Partial<OverlayBreakpointConfig>) => (() => OverlayStrategyBreakpoint[]);
|
|
2468
|
+
|
|
2469
|
+
declare const provideDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
|
|
2470
|
+
declare const injectDialogStrategyDefaults: {
|
|
2471
|
+
(): OverlayBreakpointConfig;
|
|
2472
|
+
(options: _angular_core.InjectOptions & {
|
|
2473
|
+
optional?: false;
|
|
2474
|
+
}): OverlayBreakpointConfig;
|
|
2475
|
+
(options: _angular_core.InjectOptions): OverlayBreakpointConfig | null;
|
|
2476
|
+
};
|
|
2477
|
+
declare const provideDialogStrategy: () => _angular_core.Provider[];
|
|
2478
|
+
declare const injectDialogStrategy: {
|
|
2479
|
+
(): {
|
|
2480
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2481
|
+
};
|
|
2482
|
+
(options: _angular_core.InjectOptions & {
|
|
2483
|
+
optional?: false;
|
|
2484
|
+
}): {
|
|
2485
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2486
|
+
};
|
|
2487
|
+
(options: _angular_core.InjectOptions): {
|
|
2488
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2489
|
+
} | null;
|
|
2490
|
+
};
|
|
2491
|
+
declare const dialogOverlayStrategy: (config?: Partial<OverlayBreakpointConfig>) => (() => OverlayStrategyBreakpoint[]);
|
|
2492
|
+
|
|
2493
|
+
declare const provideFullscreenDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
|
|
2494
|
+
declare const injectFullscreenDialogStrategyDefaults: {
|
|
2495
|
+
(): OverlayBreakpointConfig;
|
|
2496
|
+
(options: _angular_core.InjectOptions & {
|
|
2497
|
+
optional?: false;
|
|
2498
|
+
}): OverlayBreakpointConfig;
|
|
2499
|
+
(options: _angular_core.InjectOptions): OverlayBreakpointConfig | null;
|
|
2500
|
+
};
|
|
2501
|
+
declare const provideFullscreenDialogStrategy: () => _angular_core.Provider[];
|
|
2502
|
+
declare const injectFullscreenDialogStrategy: {
|
|
2503
|
+
(): {
|
|
2504
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2505
|
+
};
|
|
2506
|
+
(options: _angular_core.InjectOptions & {
|
|
2507
|
+
optional?: false;
|
|
2508
|
+
}): {
|
|
2509
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2510
|
+
};
|
|
2511
|
+
(options: _angular_core.InjectOptions): {
|
|
2512
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => OverlayStrategy;
|
|
2513
|
+
} | null;
|
|
2514
|
+
};
|
|
2515
|
+
declare const fullScreenDialogOverlayStrategy: (config?: Partial<OverlayBreakpointConfig>) => (() => OverlayStrategyBreakpoint[]);
|
|
2516
|
+
|
|
2517
|
+
declare class OverlayOriginCloneComponent {
|
|
2518
|
+
animatedLifecycle: AnimatedLifecycleDirective;
|
|
2519
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayOriginCloneComponent, never>;
|
|
2520
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayOriginCloneComponent, "et-overlay-origin-clone", never, {}, {}, never, ["*"], true, [{ directive: typeof _ethlete_core.AnimatedLifecycleDirective; inputs: {}; outputs: {}; }]>;
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
type ViewportTransformData = {
|
|
2524
|
+
viewportWidth: number;
|
|
2525
|
+
viewportHeight: number;
|
|
2526
|
+
rect: DOMRect;
|
|
2527
|
+
scaleUpX: number;
|
|
2528
|
+
scaleUpY: number;
|
|
2529
|
+
viewportCenterX: number;
|
|
2530
|
+
viewportCenterY: number;
|
|
2531
|
+
buttonCenterX: number;
|
|
2532
|
+
buttonCenterY: number;
|
|
2533
|
+
cloneTranslateX: number;
|
|
2534
|
+
cloneTranslateY: number;
|
|
2535
|
+
containerTranslateX: number;
|
|
2536
|
+
containerTranslateY: number;
|
|
2537
|
+
scaleX: number;
|
|
2538
|
+
scaleY: number;
|
|
2539
|
+
};
|
|
2540
|
+
type FullscreenAnimationCancellable = {
|
|
2541
|
+
unsubscribe: () => void;
|
|
2542
|
+
};
|
|
2543
|
+
type FullscreenAnimationState = {
|
|
2544
|
+
readonly originElement: HTMLElement | null;
|
|
2545
|
+
readonly cloneComponentRef: ComponentRef<OverlayOriginCloneComponent> | null;
|
|
2546
|
+
readonly subscriptions: FullscreenAnimationCancellable[];
|
|
2547
|
+
readonly isOriginHidden: boolean;
|
|
2548
|
+
};
|
|
2549
|
+
type FullscreenAnimationDeps = {
|
|
2550
|
+
readonly injector: EnvironmentInjector;
|
|
2551
|
+
readonly document: Document;
|
|
2552
|
+
readonly appRef: ApplicationRef;
|
|
2553
|
+
readonly renderer: AngularRenderer;
|
|
2554
|
+
};
|
|
2555
|
+
declare const cleanupFullscreenAnimationStyles: (options: {
|
|
2556
|
+
containerEl: HTMLElement;
|
|
2557
|
+
renderer: AngularRenderer;
|
|
2558
|
+
state: FullscreenAnimationState | null;
|
|
2559
|
+
}) => void;
|
|
2560
|
+
declare const startFullscreenEnterAnimation: (options: {
|
|
2561
|
+
context: OverlayStrategyContext;
|
|
2562
|
+
deps: FullscreenAnimationDeps;
|
|
2563
|
+
applyTransformOrigin: boolean;
|
|
2564
|
+
skipAnimation: boolean;
|
|
2565
|
+
}) => FullscreenAnimationState;
|
|
2566
|
+
declare const startFullscreenLeaveAnimation: (options: {
|
|
2567
|
+
context: OverlayStrategyContext;
|
|
2568
|
+
state: FullscreenAnimationState;
|
|
2569
|
+
deps: FullscreenAnimationDeps;
|
|
2570
|
+
applyTransformOrigin: boolean;
|
|
2571
|
+
}) => FullscreenAnimationState;
|
|
2572
|
+
declare const cleanupFullscreenAnimation: (state: FullscreenAnimationState, deps: FullscreenAnimationDeps) => void;
|
|
2573
|
+
declare const abortFullscreenAnimation: (options: {
|
|
2574
|
+
context: OverlayStrategyContext;
|
|
2575
|
+
state: FullscreenAnimationState;
|
|
2576
|
+
deps: FullscreenAnimationDeps;
|
|
2577
|
+
}) => void;
|
|
2578
|
+
|
|
2579
|
+
declare const provideLeftSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
|
|
2580
|
+
declare const injectLeftSheetStrategyDefaults: {
|
|
2581
|
+
(): OverlayBreakpointConfig;
|
|
2582
|
+
(options: _angular_core.InjectOptions & {
|
|
2583
|
+
optional?: false;
|
|
2584
|
+
}): OverlayBreakpointConfig;
|
|
2585
|
+
(options: _angular_core.InjectOptions): OverlayBreakpointConfig | null;
|
|
2586
|
+
};
|
|
2587
|
+
declare const provideLeftSheetStrategy: () => _angular_core.Provider[];
|
|
2588
|
+
declare const injectLeftSheetStrategy: {
|
|
2589
|
+
(): {
|
|
2590
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2591
|
+
};
|
|
2592
|
+
(options: _angular_core.InjectOptions & {
|
|
2593
|
+
optional?: false;
|
|
2594
|
+
}): {
|
|
2595
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2596
|
+
};
|
|
2597
|
+
(options: _angular_core.InjectOptions): {
|
|
2598
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2599
|
+
} | null;
|
|
2600
|
+
};
|
|
2601
|
+
declare const leftSheetOverlayStrategy: (config?: Partial<OverlayBreakpointConfig>) => (() => OverlayStrategyBreakpoint[]);
|
|
2602
|
+
|
|
2603
|
+
type DragToDismissContext = {
|
|
2604
|
+
element: HTMLElement;
|
|
2605
|
+
overlayRef: OverlayRef<object, unknown>;
|
|
2606
|
+
config: OverlayDragToDismissConfig;
|
|
2607
|
+
renderer: AngularRenderer;
|
|
2608
|
+
};
|
|
2609
|
+
type DragToDismissRef = {
|
|
2610
|
+
unsubscribe: () => void;
|
|
2611
|
+
};
|
|
2612
|
+
/**
|
|
2613
|
+
* Enables drag-to-dismiss functionality on an overlay element.
|
|
2614
|
+
* Returns a cleanup function to disable the feature.
|
|
2615
|
+
*/
|
|
2616
|
+
declare const enableDragToDismiss: (context: DragToDismissContext) => DragToDismissRef;
|
|
2617
|
+
|
|
2618
|
+
declare const isHtmlElement: (element: unknown) => element is HTMLElement;
|
|
2619
|
+
declare const isTouchEvent: (event: Event) => event is TouchEvent;
|
|
2620
|
+
declare const isPointerEvent: (event: Event) => event is PointerEvent;
|
|
2621
|
+
declare const findNextRelevantHtmlElement: (element: HTMLElement | null, depth?: number) => HTMLElement | null;
|
|
2622
|
+
declare const getOriginCoordinatesAndDimensions: (origin: HTMLElement | Event | undefined) => {
|
|
2623
|
+
x: number;
|
|
2624
|
+
y: number;
|
|
2625
|
+
width: number;
|
|
2626
|
+
height: number;
|
|
2627
|
+
element: HTMLElement;
|
|
2628
|
+
} | null;
|
|
2629
|
+
|
|
2630
|
+
declare const OVERLAY_CONFIG_CLASS_KEYS: Set<string>;
|
|
2631
|
+
declare const mergeOverlayBreakpointConfigs: (...configs: OverlayBreakpointConfig[]) => OverlayBreakpointConfig;
|
|
2632
|
+
|
|
2633
|
+
type OverlayStrategyControllerMountConfig = {
|
|
2634
|
+
positionStrategy: OverlayRuntimePositionStrategy;
|
|
2635
|
+
paneClass: string[];
|
|
2636
|
+
hostClass: string[];
|
|
2637
|
+
backdropClass: string[];
|
|
2638
|
+
animationDelegate: OverlayRuntimeAnimationDelegate;
|
|
2639
|
+
renderArrow: boolean;
|
|
2640
|
+
hasBackdrop: boolean | undefined;
|
|
2641
|
+
};
|
|
2642
|
+
type OverlayStrategyController = {
|
|
2643
|
+
/** Values the overlay manager merges into the runtime mount config before mounting. */
|
|
2644
|
+
initialMountConfig: OverlayStrategyControllerMountConfig;
|
|
2645
|
+
/** Wires strategy lifecycle hooks and breakpoint switching. Must be called right after mounting. */
|
|
2646
|
+
attach: (runtimeRef: OverlayRuntimeRef<object, unknown>, overlayRef: OverlayRef<object, unknown>) => void;
|
|
2647
|
+
};
|
|
2648
|
+
declare const createOverlayStrategyController: (config: OverlayConfig, parentInjector: EnvironmentInjector) => OverlayStrategyController;
|
|
2649
|
+
|
|
2650
|
+
declare const transformingBottomSheetToDialogOverlayStrategy: (customConfig?: {
|
|
2651
|
+
bottomSheet?: OverlayBreakpointConfig;
|
|
2652
|
+
dialog?: OverlayBreakpointConfig;
|
|
2653
|
+
breakpoint?: Breakpoint | number;
|
|
2654
|
+
}) => (() => OverlayStrategyBreakpoint[]);
|
|
2655
|
+
declare const transformingFullScreenDialogToRightSheetOverlayStrategy: (customConfig?: {
|
|
2656
|
+
fullScreenDialog?: OverlayBreakpointConfig;
|
|
2657
|
+
rightSheet?: OverlayBreakpointConfig;
|
|
2658
|
+
breakpoint?: Breakpoint | number;
|
|
2659
|
+
}) => (() => OverlayStrategyBreakpoint[]);
|
|
2660
|
+
declare const transformingFullScreenDialogToDialogOverlayStrategy: (customConfig?: {
|
|
2661
|
+
fullScreenDialog?: OverlayBreakpointConfig;
|
|
2662
|
+
dialog?: OverlayBreakpointConfig;
|
|
2663
|
+
breakpoint?: Breakpoint | number;
|
|
2664
|
+
}) => (() => OverlayStrategyBreakpoint[]);
|
|
2665
|
+
|
|
2666
|
+
declare const provideRightSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
|
|
2667
|
+
declare const injectRightSheetStrategyDefaults: {
|
|
2668
|
+
(): OverlayBreakpointConfig;
|
|
2669
|
+
(options: _angular_core.InjectOptions & {
|
|
2670
|
+
optional?: false;
|
|
2671
|
+
}): OverlayBreakpointConfig;
|
|
2672
|
+
(options: _angular_core.InjectOptions): OverlayBreakpointConfig | null;
|
|
2673
|
+
};
|
|
2674
|
+
declare const provideRightSheetStrategy: () => _angular_core.Provider[];
|
|
2675
|
+
declare const injectRightSheetStrategy: {
|
|
2676
|
+
(): {
|
|
2677
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2678
|
+
};
|
|
2679
|
+
(options: _angular_core.InjectOptions & {
|
|
2680
|
+
optional?: false;
|
|
2681
|
+
}): {
|
|
2682
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2683
|
+
};
|
|
2684
|
+
(options: _angular_core.InjectOptions): {
|
|
2685
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2686
|
+
} | null;
|
|
2687
|
+
};
|
|
2688
|
+
declare const rightSheetOverlayStrategy: (config?: Partial<OverlayBreakpointConfig>) => (() => OverlayStrategyBreakpoint[]);
|
|
2689
|
+
|
|
2690
|
+
declare const provideTopSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
|
|
2691
|
+
declare const injectTopSheetStrategyDefaults: {
|
|
2692
|
+
(): OverlayBreakpointConfig;
|
|
2693
|
+
(options: _angular_core.InjectOptions & {
|
|
2694
|
+
optional?: false;
|
|
2695
|
+
}): OverlayBreakpointConfig;
|
|
2696
|
+
(options: _angular_core.InjectOptions): OverlayBreakpointConfig | null;
|
|
2697
|
+
};
|
|
2698
|
+
declare const provideTopSheetStrategy: () => _angular_core.Provider[];
|
|
2699
|
+
declare const injectTopSheetStrategy: {
|
|
2700
|
+
(): {
|
|
2701
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2702
|
+
};
|
|
2703
|
+
(options: _angular_core.InjectOptions & {
|
|
2704
|
+
optional?: false;
|
|
2705
|
+
}): {
|
|
2706
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2707
|
+
};
|
|
2708
|
+
(options: _angular_core.InjectOptions): {
|
|
2709
|
+
build: (config?: Partial<OverlayBreakpointConfig>) => _ethlete_components.OverlayStrategy;
|
|
2710
|
+
} | null;
|
|
2711
|
+
};
|
|
2712
|
+
declare const topSheetOverlayStrategy: (config?: Partial<OverlayBreakpointConfig>) => (() => OverlayStrategyBreakpoint[]);
|
|
1579
2713
|
|
|
1580
2714
|
declare class ScrollableActiveChildDirective {
|
|
1581
2715
|
private scrollable;
|
|
@@ -3597,7 +4731,6 @@ declare class ToggletipComponent {
|
|
|
3597
4731
|
content: _angular_core.InputSignal<ToggletipContent>;
|
|
3598
4732
|
colorProvider: _angular_core.InputSignal<ProvideColorDirective | null>;
|
|
3599
4733
|
surfaceProvider: _angular_core.InputSignal<ProvideSurfaceDirective | null>;
|
|
3600
|
-
animatedLifecycle: _angular_core.Signal<AnimatedLifecycleDirective | undefined>;
|
|
3601
4734
|
private surfaceThemes;
|
|
3602
4735
|
hasTemplate: _angular_core.Signal<boolean>;
|
|
3603
4736
|
contentText: _angular_core.Signal<string | null>;
|
|
@@ -3643,7 +4776,6 @@ declare class TooltipComponent {
|
|
|
3643
4776
|
content: _angular_core.InputSignal<TooltipContent>;
|
|
3644
4777
|
colorProvider: _angular_core.InputSignal<ProvideColorDirective | null>;
|
|
3645
4778
|
surfaceProvider: _angular_core.InputSignal<ProvideSurfaceDirective | null>;
|
|
3646
|
-
animatedLifecycle: _angular_core.Signal<AnimatedLifecycleDirective | undefined>;
|
|
3647
4779
|
private surfaceThemes;
|
|
3648
4780
|
hasTemplate: _angular_core.Signal<boolean>;
|
|
3649
4781
|
contentText: _angular_core.Signal<string | null>;
|
|
@@ -3698,5 +4830,5 @@ declare const TOOLTIP_ERROR_CODES: {
|
|
|
3698
4830
|
|
|
3699
4831
|
declare const TOOLTIP_IMPORTS: readonly [typeof TooltipDirective, typeof TooltipComponent];
|
|
3700
4832
|
|
|
3701
|
-
export { ARROW_OUT_UP_RIGHT_ICON, ARROW_RIGHT_ICON, BUTTON_ICON_ALIGNMENTS, BUTTON_IMPORTS, BUTTON_SIZES, BUTTON_SPINNER_CONFIG, BUTTON_TYPES, BUTTON_VARIANTS, BrandLoaderComponent, ButtonComponent, ButtonDirective, ButtonStylesDirective, CHECKBOX_IMPORTS, CHEVRON_ICON, CHOICE_FIELD_IMPORTS, CLIPBOARD_CHECK_ICON, CheckboxComponent, CheckboxDirective, CheckboxGroupComponent, CheckboxOptionComponent, ChoiceFieldComponent, DAILYMOTION_PLAYER_TOKEN, DEFAULT_NOTIFICATION_MANAGER_CONFIG, DEFAULT_PIP_WINDOW_CONFIG, DEFAULT_STREAM_PLAYER_STATE, DailymotionPlayerComponent, DailymotionPlayerDirective, DailymotionPlayerParamsDirective, DailymotionPlayerSlotComponent, DescriptionComponent, FACEBOOK_PLAYER_TOKEN, FLOPPY_DISK_ICON, FOCUS_FRAME_ICON, FORM_FIELD_APPEARANCES, FORM_FIELD_CONTROL_TYPES, FORM_FIELD_ERROR_CODES, FORM_FIELD_FILLS, FORM_FIELD_IMPORTS, FORM_FIELD_LABEL_MODES, FORM_FIELD_SIZES, FORM_FIELD_TOKEN, FabComponent, FacebookPlayerComponent, FacebookPlayerDirective, FacebookPlayerParamsDirective, FacebookPlayerSlotComponent, FocusRingDirective, FormErrorComponent, FormFieldComponent, FormFieldDirective, GRID_2X2_ICON, GRID_ERROR_CODES, GRID_TOKEN, GridComponent, GridDirective, GridDragDirective, GridImports, GridItemComponent, GridItemDirective, GridItemRef, GridResizeDirective, HintComponent, ICONS_TOKEN, ICON_DIRECTIVE_TOKEN, ICON_ERROR_CODES, ICON_IMPORTS, INPUT_IMPORTS, INPUT_TEXT_ALIGNMENTS, INPUT_TYPES, IconButtonComponent, IconDirective, InputComponent, InputDirective, InputPrefixDirective, InputSuffixDirective, KICK_PLAYER_TOKEN, KickPlayerComponent, KickPlayerDirective, KickPlayerParamsDirective, KickPlayerSlotComponent, LOCK_ICON, LabelDirective, NAV_TABS_TOKEN, NOTIFICATION_ERROR_CODES, NOTIFICATION_IMPORTS, NOTIFICATION_STACK_CONTEXT_TOKEN, NOTIFICATION_STATUS, NavTabImports, NavTabLinkComponent, NavTabLinkDirective, NavTabsComponent, NavTabsDirective, NavTabsOutletComponent, NavTabsOutletDirective, NotificationActionDirective, NotificationComponent, NotificationDirective, NotificationDismissDirective, NotificationItemDirective, NotificationStackDirective, OVERLAY_ERROR_CODES, OVERLAY_IMPORTS, OVERLAY_REF, OverlayAnchorDirective, OverlayDirective, OverlaySurfaceDirective, OverlayTriggerDirective, PENCIL_ICON, PIP_CHROME_REF_TOKEN, PIP_ENTRY_TOKEN, PIP_WINDOW_ASPECT_RATIO_TOKEN, PLUS_ICON, PipBackDirective, PipBringBackDirective, PipCellDirective, PipCloseDirective, PipCollapseOverlayDirective, PipGridToggleDirective, PipPlayerComponent, PipSlotPlaceholderComponent, PipStageDirective, PipTitleBarDirective, PipTitleBarTemplateDirective, PipWindowComponent, PipWindowParamsDirective, ProgressBarComponent, RadioComponent, RadioGroupComponent, SCROLLABLE_IMPORTS, SELECTION_LIST_MULTIPLE, SELECTION_LIST_TOKEN, SOOP_PLAYER_TOKEN, STREAM_CONSENT_TOKEN, STREAM_PLAYER_COMPONENT_TOKEN, STREAM_PLAYER_ERROR_CONTEXT_TOKEN, STREAM_PLAYER_ERROR_TOKEN, STREAM_PLAYER_PARAMS_TOKEN, STREAM_PLAYER_SLOT_TOKEN, STREAM_PLAYER_TOKEN, STREAM_SLOT_PLAYER_ID_TOKEN, STREAM_USER_CONSENT_PROVIDER_TOKEN, SWITCH_IMPORTS, ScrollableActiveChildDirective, ScrollableButtonsDirective, ScrollableComponent, ScrollableDarkenDirective, ScrollableDirective, ScrollableDragDirective, ScrollableErrorCode, ScrollableIgnoreChildDirective, ScrollableLoadingTemplateDirective, ScrollableMasksDirective, ScrollableNavigationDirective, ScrollableSnapDirective, SegmentedButtonComponent, SegmentedButtonGroupComponent, SelectionListControlDirective, SelectionListDirective, SelectionOptionDirective, SoopPlayerComponent, SoopPlayerDirective, SoopPlayerParamsDirective, SoopPlayerSlotComponent, SpinnerComponent, StreamConsentAcceptDirective, StreamConsentComponent, StreamConsentDirective, StreamImports, StreamPipChromeComponent, StreamPlayerErrorComponent, StreamPlayerErrorDirective, StreamPlayerLoadingComponent, StreamPlayerSlotDirective, SwitchComponent, SwitchDirective, TAB_BAR_FITS, TAB_BAR_ORIENTATIONS, TAB_BAR_TOKEN, TAB_BAR_TRIGGER_TOKEN, TAB_BAR_VARIANTS, TAB_ERROR_CODES, TAB_GROUP_TOKEN, TAB_PANEL_TOKEN, TAB_SIZES, TIKTOK_PLAYER_TOKEN, TIMES_ICON, TOGGLETIP_ERROR_CODES, TOGGLETIP_IMPORTS, TOOLTIP_ERROR_CODES, TOOLTIP_IMPORTS, TRIANGLE_EXCLAMATION_ICON, TWITCH_PLAYER_TOKEN, TabBarDirective, TabBarTriggerDirective, TabBarUnderlineDirective, TabComponent, TabGroupComponent, TabGroupDirective, TabImports, TabLabelDirective, TabPanelDirective, TabTriggerDirective, TextButtonComponent, TikTokPlayerComponent, TikTokPlayerDirective, TikTokPlayerParamsDirective, TikTokPlayerSlotComponent, ToggletipCloseDirective, ToggletipComponent, ToggletipDirective, ToggletipTriggerDirective, TooltipComponent, TooltipDirective, TwitchPlayerComponent, TwitchPlayerDirective, TwitchPlayerParamsDirective, TwitchPlayerSlotComponent, VIMEO_PLAYER_TOKEN, VimeoPlayerComponent, VimeoPlayerDirective, VimeoPlayerParamsDirective, VimeoPlayerSlotComponent, WINDOW_CONTROL_BUTTON_KINDS, WINDOW_CONTROL_BUTTON_SIZES, WindowControlButtonComponent, YOUTUBE_PLAYER_SLOT_TOKEN, YOUTUBE_PLAYER_TOKEN, YoutubePlayerComponent, YoutubePlayerDirective, YoutubePlayerParamsDirective, YoutubePlayerSlotComponent, YoutubePlayerSlotDirective, createGridAdapter, createNotificationRef, createOverlayRef, createPipChromeAnimations, createPipChromeState, createStreamConfig, createStreamPlayerSlot, fromGridPosition, injectFormSupport, injectGridConfig, injectNotificationManager, injectNotificationManagerConfig, injectOverlayManager, injectPipChromeManager, injectPipManager, injectPipSlotPlaceholderConfig, injectStreamConfig, injectStreamConsentConfig, injectStreamManager, injectStreamPlayerErrorConfig, injectStreamPlayerLoadingConfig, injectStreamScriptLoader, injectStreamUserConsentProvider, provideFormSupport, provideGridConfig, provideIcons, provideNotificationManager, provideNotificationManagerConfig, provideNotificationManagerInstance, provideOverlayManager, providePipChromeManager, providePipManager, providePipSlotPlaceholderConfig, provideStreamConfig, provideStreamConsentConfig, provideStreamManager, provideStreamPlayerErrorConfig, provideStreamPlayerLoadingConfig, toGridPosition };
|
|
3702
|
-
export type { ButtonIconAlignment, ButtonSize, FacebookVideoPlayer, FacebookWindow, FormFieldAppearance, FormFieldControl, FormFieldControlType, FormFieldDirectiveBase, FormFieldFill, FormFieldLabelMode, FormFieldSize, GridAdapter, GridBreakpointConfig, GridBreakpointName, GridComponentRegistration, GridConfig, GridItemConfig, GridItemConstraints, GridItemPosition, GridLayoutEntry, GridSerializedState, HintComponentBase, IconDefinition, InputTextAlignment, LabelDirectiveBase, NotificationAction, NotificationConfig, NotificationEntry, NotificationManager, NotificationManagerConfig, NotificationRef, NotificationStackContext, NotificationStatus, OverlayAutoFocusTarget, OverlayConfig, OverlayManager, OverlayMode,
|
|
4833
|
+
export { ARROW_OUT_UP_RIGHT_ICON, ARROW_RIGHT_ICON, BOLD_ICON, BUTTON_ICON_ALIGNMENTS, BUTTON_IMPORTS, BUTTON_SIZES, BUTTON_SPINNER_CONFIG, BUTTON_TYPES, BUTTON_VARIANTS, BrandLoaderComponent, ButtonComponent, ButtonDirective, ButtonStylesDirective, CHECKBOX_IMPORTS, CHEVRON_ICON, CHOICE_FIELD_IMPORTS, CLIPBOARD_CHECK_ICON, CheckboxComponent, CheckboxDirective, CheckboxGroupComponent, CheckboxOptionComponent, ChoiceFieldComponent, DAILYMOTION_PLAYER_TOKEN, DEFAULT_NOTIFICATION_MANAGER_CONFIG, DEFAULT_PIP_WINDOW_CONFIG, DEFAULT_STREAM_PLAYER_STATE, DailymotionPlayerComponent, DailymotionPlayerDirective, DailymotionPlayerParamsDirective, DailymotionPlayerSlotComponent, DescriptionComponent, FACEBOOK_PLAYER_TOKEN, FLOPPY_DISK_ICON, FOCUS_FRAME_ICON, FORM_FIELD_APPEARANCES, FORM_FIELD_CONTROL_TYPES, FORM_FIELD_ERROR_CODES, FORM_FIELD_FILLS, FORM_FIELD_IMPORTS, FORM_FIELD_LABEL_MODES, FORM_FIELD_SIZES, FORM_FIELD_TOKEN, FabComponent, FacebookPlayerComponent, FacebookPlayerDirective, FacebookPlayerParamsDirective, FacebookPlayerSlotComponent, FocusRingDirective, FormErrorComponent, FormFieldComponent, FormFieldDirective, GRID_2X2_ICON, GRID_ERROR_CODES, GRID_TOKEN, GridComponent, GridDebugComponent, GridDirective, GridDragDirective, GridImports, GridItemComponent, GridItemDirective, GridItemRef, GridResizeDirective, HintComponent, ICONS_TOKEN, ICON_DIRECTIVE_TOKEN, ICON_ERROR_CODES, ICON_IMPORTS, INPUT_IMPORTS, INPUT_TEXT_ALIGNMENTS, INPUT_TYPES, ITALIC_ICON, IconButtonComponent, IconDirective, InputComponent, InputDirective, InputPrefixDirective, InputSuffixDirective, KICK_PLAYER_TOKEN, KickPlayerComponent, KickPlayerDirective, KickPlayerParamsDirective, KickPlayerSlotComponent, LINK_ICON, LIST_BULLETED_ICON, LIST_NUMBERED_ICON, LOCK_ICON, LabelDirective, NAV_TABS_TOKEN, NOTIFICATION_ERROR_CODES, NOTIFICATION_IMPORTS, NOTIFICATION_STACK_CONTEXT_TOKEN, NOTIFICATION_STATUS, NavTabImports, NavTabLinkComponent, NavTabLinkDirective, NavTabsComponent, NavTabsDirective, NavTabsOutletComponent, NavTabsOutletDirective, NotificationActionDirective, NotificationComponent, NotificationDirective, NotificationDismissDirective, NotificationItemDirective, NotificationStackDirective, OVERLAY_BACK_OR_CLOSE_TOKEN, OVERLAY_BODY_TOKEN, OVERLAY_CONFIG_CLASS_KEYS, OVERLAY_CONTENT_IMPORTS, OVERLAY_ERROR_CODES, OVERLAY_FOOTER_TOKEN, OVERLAY_HEADER_TEMPLATE_TOKEN, OVERLAY_HEADER_TOKEN, OVERLAY_IMPORTS, OVERLAY_MAIN_TOKEN, OVERLAY_QUERY_PARAM_INPUT_NAME, OVERLAY_REF, OVERLAY_ROUTER_CONFIG_TOKEN, OVERLAY_ROUTER_LINK_TOKEN, OVERLAY_ROUTER_OUTLET_DISABLED_TEMPLATE_TOKEN, OVERLAY_ROUTER_OUTLET_TOKEN, OVERLAY_ROUTER_TOKEN, OVERLAY_SHARED_ROUTE_TEMPLATE_TOKEN, OverlayAnchorDirective, OverlayBackOrCloseDirective, OverlayBodyComponent, OverlayCloseDirective, OverlayContainerComponent, OverlayDirective, OverlayFooterDirective, OverlayHandlerLinkDirective, OverlayHeaderDirective, OverlayHeaderTemplateDirective, OverlayMainDirective, OverlayOriginCloneComponent, OverlayRouteHeaderTemplateOutletComponent, OverlayRouterLinkDirective, OverlayRouterOutletComponent, OverlayRouterOutletDisabledTemplateDirective, OverlaySharedRouteTemplateDirective, OverlaySharedRouteTemplateOutletComponent, OverlaySidebarComponent, OverlaySidebarPageComponent, OverlaySurfaceDirective, OverlayTitleDirective, OverlayTriggerDirective, PENCIL_ICON, PIP_CHROME_REF_TOKEN, PIP_ENTRY_TOKEN, PIP_WINDOW_ASPECT_RATIO_TOKEN, PLUS_ICON, PipBackDirective, PipBringBackDirective, PipCellDirective, PipCloseDirective, PipCollapseOverlayDirective, PipGridToggleDirective, PipPlayerComponent, PipSlotPlaceholderComponent, PipStageDirective, PipTitleBarDirective, PipTitleBarTemplateDirective, PipWindowComponent, PipWindowParamsDirective, ProgressBarComponent, RICH_TEXT_EDITOR_IMPORTS, RadioComponent, RadioGroupComponent, RichTextEditorComponent, RichTextEditorDirective, RichTextEditorFloatingToolbarComponent, SCROLLABLE_IMPORTS, SELECTION_LIST_MULTIPLE, SELECTION_LIST_TOKEN, SIDEBAR_OVERLAY_CONFIG, SIDEBAR_OVERLAY_TOKEN, SOOP_PLAYER_TOKEN, STREAM_CONSENT_TOKEN, STREAM_PLAYER_COMPONENT_TOKEN, STREAM_PLAYER_ERROR_CONTEXT_TOKEN, STREAM_PLAYER_ERROR_TOKEN, STREAM_PLAYER_PARAMS_TOKEN, STREAM_PLAYER_SLOT_TOKEN, STREAM_PLAYER_TOKEN, STREAM_SLOT_PLAYER_ID_TOKEN, STREAM_USER_CONSENT_PROVIDER_TOKEN, STRIKETHROUGH_ICON, SWITCH_IMPORTS, ScrollableActiveChildDirective, ScrollableButtonsDirective, ScrollableComponent, ScrollableDarkenDirective, ScrollableDirective, ScrollableDragDirective, ScrollableErrorCode, ScrollableIgnoreChildDirective, ScrollableLoadingTemplateDirective, ScrollableMasksDirective, ScrollableNavigationDirective, ScrollableSnapDirective, SegmentedButtonComponent, SegmentedButtonGroupComponent, SelectionListControlDirective, SelectionListDirective, SelectionOptionDirective, SoopPlayerComponent, SoopPlayerDirective, SoopPlayerParamsDirective, SoopPlayerSlotComponent, SpinnerComponent, StreamConsentAcceptDirective, StreamConsentComponent, StreamConsentDirective, StreamImports, StreamPipChromeComponent, StreamPlayerErrorComponent, StreamPlayerErrorDirective, StreamPlayerLoadingComponent, StreamPlayerSlotDirective, SwitchComponent, SwitchDirective, TAB_BAR_FITS, TAB_BAR_ORIENTATIONS, TAB_BAR_TOKEN, TAB_BAR_TRIGGER_TOKEN, TAB_BAR_VARIANTS, TAB_ERROR_CODES, TAB_GROUP_TOKEN, TAB_PANEL_TOKEN, TAB_SIZES, TIKTOK_PLAYER_TOKEN, TIMES_ICON, TOGGLETIP_ERROR_CODES, TOGGLETIP_IMPORTS, TOOLTIP_ERROR_CODES, TOOLTIP_IMPORTS, TRIANGLE_EXCLAMATION_ICON, TWITCH_PLAYER_TOKEN, TabBarDirective, TabBarTriggerDirective, TabBarUnderlineDirective, TabComponent, TabGroupComponent, TabGroupDirective, TabImports, TabLabelDirective, TabPanelDirective, TabTriggerDirective, TextButtonComponent, TikTokPlayerComponent, TikTokPlayerDirective, TikTokPlayerParamsDirective, TikTokPlayerSlotComponent, ToggletipCloseDirective, ToggletipComponent, ToggletipDirective, ToggletipTriggerDirective, TooltipComponent, TooltipDirective, TwitchPlayerComponent, TwitchPlayerDirective, TwitchPlayerParamsDirective, TwitchPlayerSlotComponent, VIMEO_PLAYER_TOKEN, VimeoPlayerComponent, VimeoPlayerDirective, VimeoPlayerParamsDirective, VimeoPlayerSlotComponent, WINDOW_CONTROL_BUTTON_KINDS, WINDOW_CONTROL_BUTTON_SIZES, WindowControlButtonComponent, YOUTUBE_PLAYER_SLOT_TOKEN, YOUTUBE_PLAYER_TOKEN, YoutubePlayerComponent, YoutubePlayerDirective, YoutubePlayerParamsDirective, YoutubePlayerSlotComponent, YoutubePlayerSlotDirective, abortFullscreenAnimation, anchoredDialogOverlayStrategy, anchoredOverlayStrategy, bottomSheetOverlayStrategy, buildAnchoredRuntimePositionStrategy, centeredOverlayStrategy, cleanupFullscreenAnimation, cleanupFullscreenAnimationStyles, createGridAdapter, createNotificationRef, createOverlayHandler, createOverlayHandlerWithQueryParamLifecycle, createOverlayRef, createOverlayStrategyController, createPipChromeAnimations, createPipChromeState, createStreamConfig, createStreamPlayerSlot, dialogOverlayStrategy, enableDragToDismiss, findNextRelevantHtmlElement, fromGridPosition, fullScreenDialogOverlayStrategy, getClosestOverlay, getOriginCoordinatesAndDimensions, injectAnchoredDialogStrategy, injectAnchoredDialogStrategyDefaults, injectBottomSheetStrategy, injectBottomSheetStrategyDefaults, injectDialogStrategy, injectDialogStrategyDefaults, injectFormSupport, injectFullscreenDialogStrategy, injectFullscreenDialogStrategyDefaults, injectGridConfig, injectLeftSheetStrategy, injectLeftSheetStrategyDefaults, injectNotificationManager, injectNotificationManagerConfig, injectOverlayManager, injectOverlayRouter, injectOverlayScrollBlocker, injectPipChromeManager, injectPipManager, injectPipSlotPlaceholderConfig, injectRightSheetStrategy, injectRightSheetStrategyDefaults, injectSidebarOverlay, injectStreamConfig, injectStreamConsentConfig, injectStreamManager, injectStreamPlayerErrorConfig, injectStreamPlayerLoadingConfig, injectStreamScriptLoader, injectStreamUserConsentProvider, injectTopSheetStrategy, injectTopSheetStrategyDefaults, isHtmlElement, isPointerEvent, isTouchEvent, leftSheetOverlayStrategy, mergeOverlayBreakpointConfigs, provideAnchoredDialogStrategy, provideAnchoredDialogStrategyDefaults, provideBottomSheetStrategy, provideBottomSheetStrategyDefaults, provideDialogStrategy, provideDialogStrategyDefaults, provideFormSupport, provideFullscreenDialogStrategy, provideFullscreenDialogStrategyDefaults, provideGridConfig, provideIcons, provideLeftSheetStrategy, provideLeftSheetStrategyDefaults, provideNotificationManager, provideNotificationManagerConfig, provideNotificationManagerInstance, provideOverlay, provideOverlayManager, provideOverlayRouter, provideOverlayRouterConfig, provideOverlayRouterService, provideOverlayScrollBlocker, providePipChromeManager, providePipManager, providePipSlotPlaceholderConfig, provideRightSheetStrategy, provideRightSheetStrategyDefaults, provideSidebarOverlay, provideSidebarOverlayConfig, provideSidebarOverlayService, provideStreamConfig, provideStreamConsentConfig, provideStreamManager, provideStreamPlayerErrorConfig, provideStreamPlayerLoadingConfig, provideTopSheetStrategy, provideTopSheetStrategyDefaults, resolveClosestOverlay, rightSheetOverlayStrategy, startFullscreenEnterAnimation, startFullscreenLeaveAnimation, toGridPosition, topSheetOverlayStrategy, transformingBottomSheetToDialogOverlayStrategy, transformingFullScreenDialogToDialogOverlayStrategy, transformingFullScreenDialogToRightSheetOverlayStrategy };
|
|
4834
|
+
export type { AnchoredDialogOverlayStrategyOptions, AnchoredOverlayStrategyOptions, AnchoredPositionOptions, ButtonIconAlignment, ButtonSize, CenteredOverlayStrategyOptions, CreateOverlayHandlerConfig, CreateOverlayHandlerInnerConfig, CreateOverlayHandlerWithQueryParamLifecycleConfig, DragToDismissContext, DragToDismissRef, FacebookVideoPlayer, FacebookWindow, FormFieldAppearance, FormFieldControl, FormFieldControlType, FormFieldDirectiveBase, FormFieldFill, FormFieldLabelMode, FormFieldSize, FullscreenAnimationCancellable, FullscreenAnimationDeps, FullscreenAnimationState, GridAdapter, GridBreakpointConfig, GridBreakpointName, GridComponentRegistration, GridConfig, GridItemConfig, GridItemConstraints, GridItemPosition, GridLayoutEntry, GridSerializedState, HintComponentBase, IconDefinition, InputTextAlignment, LabelDirectiveBase, NotificationAction, NotificationConfig, NotificationEntry, NotificationManager, NotificationManagerConfig, NotificationRef, NotificationStackContext, NotificationStatus, OverlayAutoFocusTarget, OverlayBodyDividerType, OverlayBreakpointConfig, OverlayConfig, OverlayConsumerConfig, OverlayDragToDismissConfig, OverlayHandler, OverlayHandlerWithQueryParamLifecycle, OverlayManager, OverlayMode, OverlayRef, OverlayRole, OverlayRoute, OverlayRouter, OverlayRouterConfig, OverlayRouterNavigateConfig, OverlayRouterNavigationDirection, OverlayRouterResolvedPath, OverlayRouterTransitionType, OverlayStrategy, OverlayStrategyBreakpoint, OverlayStrategyContext, OverlayStrategyController, OverlayStrategyControllerMountConfig, OverlaySurfaceContext, PipCellData, PipChromeAnimations, PipChromeRef, PipChromeState, PipManager, PipSlotPlaceholderConfig, ResolveClosestOverlayOptions, ScrollableActiveChildRef, ScrollableButtonPosition, ScrollableDirection, ScrollableIntersectionChange, ScrollableItemSize, ScrollableLoadingTemplatePosition, ScrollableLoadingTemplateRef, ScrollableMaskVariant, ScrollableNavigation, ScrollableNavigationItem, ScrollableScrollMode, ScrollableScrollOrigin, ScrollableScrollState, SelectionListDirectiveBase, SelectionListItem, SidebarOverlay, SidebarOverlayConfig, StreamConfig, StreamConsentConfig, StreamManager, StreamPipEntry, StreamPipWindowConfig, StreamPlayer, StreamPlayerCapabilities, StreamPlayerEntry, StreamPlayerErrorConfig, StreamPlayerErrorContext, StreamPlayerId, StreamPlayerLoadingConfig, StreamPlayerParams, StreamPlayerSlotHandle, StreamPlayerSlotOptions, StreamPlayerState, StreamScriptLoader, StreamSlotEntry, TabBarFit, TabBarOrientation, TabBarVariant, TabSize, ToggletipContent, TooltipContent, TwitchEmbed, TwitchEmbedConstructor, TwitchEmbedPlayer, TwitchPlayerParams, TwitchWindow, ViewportTransformData, VimeoDurationChangeEvent, VimeoPlaybackEvent, VimeoPlayer, VimeoPlayerOptions, VimeoWindow, WindowControlButtonKind, WindowControlButtonSize, YtPlayer, YtPlayerConfig, YtPlayerErrorEvent, YtPlayerEvent, YtPlayerStateChangeEvent, YtPlayerVars, YtWindow };
|