@ethlete/cdk 3.19.1 → 3.20.0
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 +14 -0
- package/esm2022/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.mjs +9 -3
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.mjs +69 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.mjs +15 -5
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.mjs +8 -4
- package/esm2022/lib/components/forms/components/select/components/select/directives/select/select.directive.mjs +4 -1
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.mjs +9 -3
- package/esm2022/lib/components/overlay/components/overlay/components/overlay-container/overlay-container.component.mjs +11 -4
- package/esm2022/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.mjs +9 -3
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +4 -1
- package/esm2022/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.mjs +9 -3
- package/esm2022/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.mjs +4 -1
- package/esm2022/lib/components/picture/picture.component.mjs +7 -4
- package/fesm2022/ethlete-cdk.mjs +133 -21
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.d.ts +30 -1
- package/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.d.ts +8 -3
- package/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.d.ts +3 -0
- package/lib/components/forms/components/select/components/select/directives/select/select.directive.d.ts +1 -0
- package/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.d.ts +5 -1
- package/lib/components/overlay/components/overlay/components/overlay-container/overlay-container.component.d.ts +4 -1
- package/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.d.ts +5 -1
- package/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.d.ts +1 -0
- package/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.d.ts +5 -1
- package/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.d.ts +1 -0
- package/package.json +3 -3
|
@@ -8,5 +8,5 @@ export declare class ComboboxComponent extends DecoratedInputBase {
|
|
|
8
8
|
protected readonly combobox: ComboboxDirective;
|
|
9
9
|
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "et-combobox", never, {}, {}, never, ["[etInputPrefix]", "[etInputSuffix]", "*"], true, [{ directive: typeof i1.AnimatedOverlayDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.InputDirective; inputs: { "placeholder": "placeholder"; }; outputs: {}; }, { directive: typeof i3.ComboboxDirective; inputs: { "options": "options"; "initialValue": "initialValue"; "filterInternal": "filterInternal"; "loading": "loading"; "error": "error"; "emptyText": "emptyText"; "placeholder": "placeholder"; "multiple": "multiple"; "bindLabel": "bindLabel"; "bindValue": "bindValue"; "allowCustomValues": "allowCustomValues"; "selectedOptionComponent": "selectedOptionComponent"; "optionComponent": "optionComponent"; "bodyErrorComponent": "bodyErrorComponent"; "bodyLoadingComponent": "bodyLoadingComponent"; "bodyEmptyComponent": "bodyEmptyComponent"; "bodyMoreItemsHintComponent": "bodyMoreItemsHintComponent"; "showBodyMoreItemsHint": "showBodyMoreItemsHint"; "bodyEmptyText": "bodyEmptyText"; "bodyMoreItemsHintText": "bodyMoreItemsHintText"; }; outputs: { "filterChange": "filterChange"; }; }]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "et-combobox", never, {}, {}, never, ["[etInputPrefix]", "[etInputSuffix]", "*"], true, [{ directive: typeof i1.AnimatedOverlayDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.InputDirective; inputs: { "placeholder": "placeholder"; }; outputs: {}; }, { directive: typeof i3.ComboboxDirective; inputs: { "options": "options"; "initialValue": "initialValue"; "filterInternal": "filterInternal"; "loading": "loading"; "error": "error"; "emptyText": "emptyText"; "placeholder": "placeholder"; "multiple": "multiple"; "bindLabel": "bindLabel"; "bindValue": "bindValue"; "allowCustomValues": "allowCustomValues"; "selectedOptionComponent": "selectedOptionComponent"; "optionComponent": "optionComponent"; "bodyErrorComponent": "bodyErrorComponent"; "bodyLoadingComponent": "bodyLoadingComponent"; "bodyEmptyComponent": "bodyEmptyComponent"; "bodyMoreItemsHintComponent": "bodyMoreItemsHintComponent"; "showBodyMoreItemsHint": "showBodyMoreItemsHint"; "bodyEmptyText": "bodyEmptyText"; "bodyMoreItemsHintText": "bodyMoreItemsHintText"; "optionComponentInputs": "optionComponentInputs"; "selectedOptionComponentInputs": "selectedOptionComponentInputs"; "bodyErrorComponentInputs": "bodyErrorComponentInputs"; "bodyLoadingComponentInputs": "bodyLoadingComponentInputs"; "bodyEmptyComponentInputs": "bodyEmptyComponentInputs"; "bodyMoreItemsHintComponentInputs": "bodyMoreItemsHintComponentInputs"; }; outputs: { "filterChange": "filterChange"; }; }]>;
|
|
12
12
|
}
|
|
@@ -21,6 +21,7 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
21
21
|
private readonly _selectField;
|
|
22
22
|
private readonly _animatedOverlay;
|
|
23
23
|
private readonly _comboboxConfig;
|
|
24
|
+
private readonly _themeProvider;
|
|
24
25
|
get options(): unknown[];
|
|
25
26
|
set options(value: unknown[]);
|
|
26
27
|
set initialValue(value: unknown);
|
|
@@ -35,6 +36,7 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
35
36
|
get error(): unknown;
|
|
36
37
|
set error(value: unknown);
|
|
37
38
|
private _error$;
|
|
39
|
+
readonly error$: import("rxjs").Observable<unknown>;
|
|
38
40
|
/**
|
|
39
41
|
* @deprecated Use `bodyEmptyText` instead. Will be removed in v4.
|
|
40
42
|
*/
|
|
@@ -61,21 +63,39 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
61
63
|
get optionComponent(): ComponentWithOption | null;
|
|
62
64
|
set optionComponent(component: ComponentWithOption | null);
|
|
63
65
|
private readonly _optionComponent$;
|
|
66
|
+
get optionComponentInputs(): Record<string, unknown> | null | undefined;
|
|
67
|
+
set optionComponentInputs(value: Record<string, unknown> | null | undefined);
|
|
68
|
+
private _optionComponentInputs$;
|
|
64
69
|
get selectedOptionComponent(): ComponentWithOption | null;
|
|
65
70
|
set selectedOptionComponent(component: ComponentWithOption | null);
|
|
66
71
|
private readonly _selectedOptionComponent$;
|
|
72
|
+
get selectedOptionComponentInputs(): Record<string, unknown> | null | undefined;
|
|
73
|
+
set selectedOptionComponentInputs(value: Record<string, unknown> | null | undefined);
|
|
74
|
+
private _selectedOptionComponentInputs$;
|
|
67
75
|
get bodyErrorComponent(): ComponentWithError | null;
|
|
68
76
|
set bodyErrorComponent(value: ComponentWithError | null);
|
|
69
77
|
private _bodyErrorComponent$;
|
|
78
|
+
get bodyErrorComponentInputs(): Record<string, unknown> | null | undefined;
|
|
79
|
+
set bodyErrorComponentInputs(value: Record<string, unknown> | null | undefined);
|
|
80
|
+
private _bodyErrorComponentInputs$;
|
|
70
81
|
get bodyLoadingComponent(): ComponentType<unknown> | null;
|
|
71
82
|
set bodyLoadingComponent(value: ComponentType<unknown> | null);
|
|
72
83
|
private _bodyLoadingComponent$;
|
|
84
|
+
get bodyLoadingComponentInputs(): Record<string, unknown> | null | undefined;
|
|
85
|
+
set bodyLoadingComponentInputs(value: Record<string, unknown> | null | undefined);
|
|
86
|
+
private _bodyLoadingComponentInputs$;
|
|
73
87
|
get bodyEmptyComponent(): ComponentType<unknown> | null;
|
|
74
88
|
set bodyEmptyComponent(value: ComponentType<unknown> | null);
|
|
75
89
|
private _bodyEmptyComponent$;
|
|
90
|
+
get bodyEmptyComponentInputs(): Record<string, unknown> | null | undefined;
|
|
91
|
+
set bodyEmptyComponentInputs(value: Record<string, unknown> | null | undefined);
|
|
92
|
+
private _bodyEmptyComponentInputs$;
|
|
76
93
|
get bodyMoreItemsHintComponent(): ComponentType<unknown> | null;
|
|
77
94
|
set bodyMoreItemsHintComponent(value: ComponentType<unknown> | null);
|
|
78
95
|
private _bodyMoreItemsHintComponent$;
|
|
96
|
+
get bodyMoreItemsHintComponentInputs(): Record<string, unknown> | null | undefined;
|
|
97
|
+
set bodyMoreItemsHintComponentInputs(value: Record<string, unknown> | null | undefined);
|
|
98
|
+
private _bodyMoreItemsHintComponentInputs$;
|
|
79
99
|
protected readonly filterChange: EventEmitter<string>;
|
|
80
100
|
private _shouldIgnoreNextBlurEvent;
|
|
81
101
|
private _deletedSearchWithKeyPress;
|
|
@@ -127,11 +147,20 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
127
147
|
readonly customBodyEmptyComponent$: import("rxjs").Observable<ComponentType<unknown> | null>;
|
|
128
148
|
readonly customBodyMoreItemsHintTpl$: import("rxjs").Observable<TemplateRef<unknown> | null>;
|
|
129
149
|
readonly customBodyMoreItemsHintComponent$: import("rxjs").Observable<ComponentType<unknown> | null>;
|
|
150
|
+
readonly customOptionComponentInputs$: import("rxjs").Observable<Record<string, unknown>>;
|
|
151
|
+
readonly customSelectedOptionComponentInputs$: import("rxjs").Observable<Record<string, unknown>>;
|
|
152
|
+
readonly customBodyLoadingComponentInputs$: import("rxjs").Observable<Record<string, unknown>>;
|
|
153
|
+
readonly customBodyErrorComponentInputs$: import("rxjs").Observable<Record<string, unknown>>;
|
|
154
|
+
readonly customBodyEmptyComponentInputs$: import("rxjs").Observable<Record<string, unknown>>;
|
|
155
|
+
readonly customBodyMoreItemsHintComponentInputs$: import("rxjs").Observable<Record<string, unknown>>;
|
|
130
156
|
constructor();
|
|
131
157
|
ngOnInit(): void;
|
|
132
158
|
setBodyComponent(component: ComponentType<AbstractComboboxBody>): void;
|
|
133
159
|
getOptionLabel(option: unknown): import("rxjs").Observable<unknown>;
|
|
134
160
|
getOptionValue(option: unknown): import("rxjs").Observable<unknown>;
|
|
161
|
+
combineSelectedOptionWithComponentInputs(option: unknown): import("rxjs").Observable<{
|
|
162
|
+
option: unknown;
|
|
163
|
+
}>;
|
|
135
164
|
removeSelectedOption(option: unknown): void;
|
|
136
165
|
open(): void;
|
|
137
166
|
close(): void;
|
|
@@ -153,6 +182,6 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
153
182
|
private _debugValidateComboboxConfig;
|
|
154
183
|
private _debugValidateOptionAndInitialValueSchema;
|
|
155
184
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxDirective, never>;
|
|
156
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxDirective, never, never, { "options": { "alias": "options"; "required": true; }; "initialValue": { "alias": "initialValue"; "required": false; }; "filterInternal": { "alias": "filterInternal"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "bodyEmptyText": { "alias": "bodyEmptyText"; "required": false; }; "bodyMoreItemsHintText": { "alias": "bodyMoreItemsHintText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindKey": { "alias": "bindKey"; "required": false; }; "allowCustomValues": { "alias": "allowCustomValues"; "required": false; }; "showBodyMoreItemsHint": { "alias": "showBodyMoreItemsHint"; "required": false; }; "optionComponent": { "alias": "optionComponent"; "required": false; }; "selectedOptionComponent": { "alias": "selectedOptionComponent"; "required": false; }; "bodyErrorComponent": { "alias": "bodyErrorComponent"; "required": false; }; "bodyLoadingComponent": { "alias": "bodyLoadingComponent"; "required": false; }; "bodyEmptyComponent": { "alias": "bodyEmptyComponent"; "required": false; }; "bodyMoreItemsHintComponent": { "alias": "bodyMoreItemsHintComponent"; "required": false; }; }, { "filterChange": "filterChange"; }, ["optionTemplate", "selectedOptionTemplate", "bodyLoadingTemplate", "bodyErrorTemplate", "bodyEmptyTemplate", "bodyMoreItemsHintTemplate"], never, true, never>;
|
|
185
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxDirective, never, never, { "options": { "alias": "options"; "required": true; }; "initialValue": { "alias": "initialValue"; "required": false; }; "filterInternal": { "alias": "filterInternal"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "bodyEmptyText": { "alias": "bodyEmptyText"; "required": false; }; "bodyMoreItemsHintText": { "alias": "bodyMoreItemsHintText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindKey": { "alias": "bindKey"; "required": false; }; "allowCustomValues": { "alias": "allowCustomValues"; "required": false; }; "showBodyMoreItemsHint": { "alias": "showBodyMoreItemsHint"; "required": false; }; "optionComponent": { "alias": "optionComponent"; "required": false; }; "optionComponentInputs": { "alias": "optionComponentInputs"; "required": false; }; "selectedOptionComponent": { "alias": "selectedOptionComponent"; "required": false; }; "selectedOptionComponentInputs": { "alias": "selectedOptionComponentInputs"; "required": false; }; "bodyErrorComponent": { "alias": "bodyErrorComponent"; "required": false; }; "bodyErrorComponentInputs": { "alias": "bodyErrorComponentInputs"; "required": false; }; "bodyLoadingComponent": { "alias": "bodyLoadingComponent"; "required": false; }; "bodyLoadingComponentInputs": { "alias": "bodyLoadingComponentInputs"; "required": false; }; "bodyEmptyComponent": { "alias": "bodyEmptyComponent"; "required": false; }; "bodyEmptyComponentInputs": { "alias": "bodyEmptyComponentInputs"; "required": false; }; "bodyMoreItemsHintComponent": { "alias": "bodyMoreItemsHintComponent"; "required": false; }; "bodyMoreItemsHintComponentInputs": { "alias": "bodyMoreItemsHintComponentInputs"; "required": false; }; }, { "filterChange": "filterChange"; }, ["optionTemplate", "selectedOptionTemplate", "bodyLoadingTemplate", "bodyErrorTemplate", "bodyEmptyTemplate", "bodyMoreItemsHintTemplate"], never, true, never>;
|
|
157
186
|
static ngAcceptInputType_showBodyMoreItemsHint: unknown;
|
|
158
187
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { ElementRef, InjectionToken, OnInit, TemplateRef, TrackByFunction } from '@angular/core';
|
|
2
2
|
import { AnimatedLifecycleDirective, TypedQueryList } from '@ethlete/core';
|
|
3
|
+
import { ProvideThemeDirective } from '@ethlete/theming';
|
|
3
4
|
import { BehaviorSubject } from 'rxjs';
|
|
4
5
|
import { AbstractComboboxBody, AbstractComboboxOption } from '../../directives';
|
|
5
6
|
import { ComboboxOptionComponent } from '../combobox-option';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
import * as i1 from "@ethlete/core";
|
|
9
|
+
import * as i2 from "@ethlete/theming";
|
|
8
10
|
export declare const COMBOBOX_BODY_TOKEN: InjectionToken<ComboboxBodyComponent>;
|
|
9
11
|
export declare class ComboboxBodyComponent implements OnInit, AbstractComboboxBody {
|
|
10
12
|
readonly id: string;
|
|
11
|
-
_elementRef?: ElementRef<HTMLElement> | undefined;
|
|
12
|
-
_markForCheck?: (() => void) | undefined;
|
|
13
13
|
private readonly _destroy$;
|
|
14
14
|
private readonly _clickOutside;
|
|
15
|
+
private readonly _themeProvider;
|
|
15
16
|
protected readonly combobox: import("../../directives").ComboboxDirective;
|
|
16
17
|
readonly _containerElementRef: ElementRef<HTMLElement> | undefined;
|
|
17
18
|
readonly _animatedLifecycle?: AnimatedLifecycleDirective;
|
|
@@ -25,9 +26,13 @@ export declare class ComboboxBodyComponent implements OnInit, AbstractComboboxBo
|
|
|
25
26
|
remove: (...tokens: string[]) => void;
|
|
26
27
|
has: (token: string) => boolean;
|
|
27
28
|
};
|
|
29
|
+
protected readonly customErrorComponentInputs$: import("rxjs").Observable<{
|
|
30
|
+
error: unknown;
|
|
31
|
+
}>;
|
|
28
32
|
_bodyTemplate: TemplateRef<unknown> | null;
|
|
29
33
|
ngOnInit(): void;
|
|
30
34
|
protected trackByFn: TrackByFunction<unknown>;
|
|
35
|
+
_setThemeFromProvider(provider: ProvideThemeDirective): void;
|
|
31
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxBodyComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxBodyComponent, "et-combobox-body", never, {}, {}, never, never, true, [{ directive: typeof i1.ClickOutsideDirective; inputs: {}; outputs: {}; }]>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxBodyComponent, "et-combobox-body", never, {}, {}, never, never, true, [{ directive: typeof i1.ClickOutsideDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.ProvideThemeDirective; inputs: {}; outputs: {}; }]>;
|
|
33
38
|
}
|
|
@@ -13,6 +13,9 @@ export declare class ComboboxOptionComponent implements AbstractComboboxOption {
|
|
|
13
13
|
protected readonly disabled$: import("rxjs").Observable<boolean>;
|
|
14
14
|
protected readonly selected$: import("rxjs").Observable<boolean>;
|
|
15
15
|
protected readonly active$: import("rxjs").Observable<boolean>;
|
|
16
|
+
protected readonly customOptionComponentInputs$: import("rxjs").Observable<{
|
|
17
|
+
option: unknown;
|
|
18
|
+
}>;
|
|
16
19
|
readonly hostClassBindings: {
|
|
17
20
|
remove: (...tokens: string[]) => void;
|
|
18
21
|
has: (token: string) => boolean;
|
|
@@ -20,6 +20,7 @@ export declare class SelectDirective<T extends SelectDirectiveBodyComponentBase>
|
|
|
20
20
|
private readonly _destroy$;
|
|
21
21
|
private readonly _liveAnnouncer;
|
|
22
22
|
private readonly _selectField;
|
|
23
|
+
private readonly _themeProvider;
|
|
23
24
|
readonly input: import("../../../../../../directives").InputDirective<unknown, HTMLInputElement>;
|
|
24
25
|
private readonly _selectBodyId$;
|
|
25
26
|
private readonly _isOpen$;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { AnimatedLifecycleDirective } from '@ethlete/core';
|
|
3
|
+
import { ProvideThemeDirective } from '@ethlete/theming';
|
|
3
4
|
import { SelectBodyDirective } from '../../directives';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
import * as i1 from "../../directives/select-body/select-body.directive";
|
|
7
|
+
import * as i2 from "@ethlete/theming";
|
|
6
8
|
export declare class SelectBodyComponent {
|
|
7
9
|
readonly selectBody: SelectBodyDirective;
|
|
10
|
+
private readonly _themeProvider;
|
|
8
11
|
readonly _animatedLifecycle?: AnimatedLifecycleDirective;
|
|
9
12
|
_bodyTemplate: TemplateRef<unknown> | null;
|
|
13
|
+
_setThemeFromProvider(provider: ProvideThemeDirective): void;
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectBodyComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectBodyComponent, "et-select-body", never, {}, {}, never, never, true, [{ directive: typeof i1.SelectBodyDirective; inputs: {}; outputs: {}; }]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectBodyComponent, "et-select-body", never, {}, {}, never, never, true, [{ directive: typeof i1.SelectBodyDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.ProvideThemeDirective; inputs: {}; outputs: {}; }]>;
|
|
12
16
|
}
|
|
@@ -6,9 +6,12 @@ import { OverlayConfig, OverlayDragToDismissConfig } from '../../types';
|
|
|
6
6
|
import { OverlayRef } from '../../utils';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@ethlete/core";
|
|
9
|
+
import * as i2 from "@ethlete/theming";
|
|
9
10
|
export declare class OverlayContainerComponent extends CdkDialogContainer<OverlayConfig> {
|
|
10
11
|
private readonly _swipeHandlerService;
|
|
11
12
|
private readonly _dragToDismissStop$;
|
|
13
|
+
private readonly _themeProvider;
|
|
14
|
+
private readonly _parentThemeProvider;
|
|
12
15
|
readonly _animatedLifecycle: AnimatedLifecycleDirective;
|
|
13
16
|
readonly cdkOverlayRef: CdkOverlayRef;
|
|
14
17
|
overlayRef: OverlayRef | null;
|
|
@@ -22,5 +25,5 @@ export declare class OverlayContainerComponent extends CdkDialogContainer<Overla
|
|
|
22
25
|
private _defaultSwipeMoveStyleInterpolator;
|
|
23
26
|
private _defaultSwipeEndStyleInterpolator;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainerComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayContainerComponent, "et-overlay-container", never, {}, {}, never, never, true, [{ directive: typeof i1.AnimatedLifecycleDirective; inputs: {}; outputs: {}; }]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayContainerComponent, "et-overlay-container", never, {}, {}, never, never, true, [{ directive: typeof i1.AnimatedLifecycleDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.ProvideThemeDirective; inputs: {}; outputs: {}; }]>;
|
|
26
29
|
}
|
package/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ElementRef, InjectionToken, Injector } from '@angular/core';
|
|
2
2
|
import { AnimatedLifecycleDirective } from '@ethlete/core';
|
|
3
|
+
import { ProvideThemeDirective } from '@ethlete/theming';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@ethlete/theming";
|
|
4
6
|
export declare const TOGGLETIP: InjectionToken<ToggletipComponent>;
|
|
5
7
|
export declare class ToggletipComponent {
|
|
6
8
|
readonly _animatedLifecycle?: AnimatedLifecycleDirective;
|
|
7
9
|
private readonly _config;
|
|
8
10
|
protected readonly toggletipText: string | null;
|
|
9
11
|
protected readonly toggletipTemplate: import("@angular/core").TemplateRef<unknown> | null;
|
|
12
|
+
private readonly _themeProvider;
|
|
10
13
|
protected readonly injector: Injector;
|
|
11
14
|
private readonly _cdr;
|
|
12
15
|
readonly _trigger: import("../../directives").ToggletipDirective;
|
|
@@ -15,6 +18,7 @@ export declare class ToggletipComponent {
|
|
|
15
18
|
get usesDefaultAnimation(): boolean;
|
|
16
19
|
get containerClass(): string | string[] | undefined;
|
|
17
20
|
_markForCheck(): void;
|
|
21
|
+
_setThemeFromProvider(provider: ProvideThemeDirective): void;
|
|
18
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggletipComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggletipComponent, "et-toggletip", never, {}, {}, never, never, true,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggletipComponent, "et-toggletip", never, {}, {}, never, never, true, [{ directive: typeof i1.ProvideThemeDirective; inputs: {}; outputs: {}; }]>;
|
|
20
24
|
}
|
package/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class ToggletipDirective implements OnInit, OnDestroy {
|
|
|
9
9
|
private readonly _destroy$;
|
|
10
10
|
private readonly _defaultConfig;
|
|
11
11
|
readonly _animatedOverlay: AnimatedOverlayDirective<ToggletipComponent>;
|
|
12
|
+
private readonly _themeProvider;
|
|
12
13
|
get toggletip(): ToggletipTemplate | null;
|
|
13
14
|
set toggletip(v: ToggletipTemplate | null);
|
|
14
15
|
private _toggletip;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ElementRef, InjectionToken, Injector } from '@angular/core';
|
|
2
2
|
import { AnimatedLifecycleDirective } from '@ethlete/core';
|
|
3
|
+
import { ProvideThemeDirective } from '@ethlete/theming';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@ethlete/theming";
|
|
4
6
|
export declare const TOOLTIP: InjectionToken<TooltipComponent>;
|
|
5
7
|
export declare class TooltipComponent {
|
|
6
8
|
readonly _animatedLifecycle?: AnimatedLifecycleDirective;
|
|
7
9
|
private readonly _config;
|
|
8
10
|
protected tooltipText: string | null;
|
|
9
11
|
protected tooltipTemplate: import("@angular/core").TemplateRef<unknown> | null;
|
|
12
|
+
private readonly _themeProvider;
|
|
10
13
|
protected readonly injector: Injector;
|
|
11
14
|
private readonly _cdr;
|
|
12
15
|
readonly _trigger: import("../../directives").TooltipDirective;
|
|
@@ -15,6 +18,7 @@ export declare class TooltipComponent {
|
|
|
15
18
|
get usesDefaultAnimation(): boolean;
|
|
16
19
|
get containerClass(): string | string[] | undefined;
|
|
17
20
|
_markForCheck(): void;
|
|
21
|
+
_setThemeFromProvider(provider: ProvideThemeDirective): void;
|
|
18
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "et-tooltip", never, {}, {}, never, never, true,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "et-tooltip", never, {}, {}, never, never, true, [{ directive: typeof i1.ProvideThemeDirective; inputs: {}; outputs: {}; }]>;
|
|
20
24
|
}
|
|
@@ -6,6 +6,7 @@ export declare const TOOLTIP_DIRECTIVE: InjectionToken<TooltipDirective>;
|
|
|
6
6
|
export declare class TooltipDirective implements OnDestroy {
|
|
7
7
|
private readonly _defaultConfig;
|
|
8
8
|
private readonly _animatedOverlay;
|
|
9
|
+
private readonly _themeProvider;
|
|
9
10
|
get tooltip(): TooltipTemplate | null;
|
|
10
11
|
set tooltip(v: TooltipTemplate | null);
|
|
11
12
|
private _tooltip;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethlete/cdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.20.0",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"css": "./src/lib/styles/index.css",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@angular/core": "^15.2.1 || ^16.0.0",
|
|
22
22
|
"@angular/animations": "16.2.5",
|
|
23
23
|
"@angular/platform-browser": "16.2.5",
|
|
24
|
-
"@angular/cdk": "16.2.
|
|
25
|
-
"@ethlete/core": "3.11.
|
|
24
|
+
"@angular/cdk": "16.2.7",
|
|
25
|
+
"@ethlete/core": "3.11.1",
|
|
26
26
|
"@ethlete/query": "4.16.3"
|
|
27
27
|
},
|
|
28
28
|
"module": "fesm2022/ethlete-cdk.mjs",
|