@ethlete/cdk 4.26.0 → 4.27.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 +6 -0
- package/esm2022/lib/components/overlay/components/menu/components/menu/menu.component.mjs +41 -8
- package/esm2022/lib/components/overlay/components/menu/directives/menu-search-template/index.mjs +2 -0
- package/esm2022/lib/components/overlay/components/menu/directives/menu-search-template/menu-search-template.directive.mjs +29 -0
- package/esm2022/lib/components/overlay/components/menu/directives/menu-trigger/menu-trigger.directive.mjs +16 -3
- package/esm2022/lib/components/overlay/components/menu/menu.imports.mjs +3 -1
- package/esm2022/lib/components/overlay/public-api/index.mjs +2 -1
- package/fesm2022/ethlete-cdk.mjs +79 -8
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/overlay/components/menu/components/menu/menu.component.d.ts +10 -1
- package/lib/components/overlay/components/menu/directives/menu-search-template/index.d.ts +1 -0
- package/lib/components/overlay/components/menu/directives/menu-search-template/menu-search-template.directive.d.ts +8 -0
- package/lib/components/overlay/components/menu/menu.imports.d.ts +2 -1
- package/lib/components/overlay/public-api/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -17,6 +17,15 @@ export declare class MenuComponent implements OnDestroy {
|
|
|
17
17
|
private readonly _menuItemList;
|
|
18
18
|
private set __orientation(value);
|
|
19
19
|
readonly orientation: import("@angular/core").WritableSignal<"vertical" | "horizontal">;
|
|
20
|
+
menuSearchTemplate: import("@angular/core").Signal<import("../../directives/menu-search-template").MenuSearchTemplateDirective | undefined>;
|
|
21
|
+
searchInput: import("@angular/core").Signal<import("../../../../../forms/directives/input").InputDirective<unknown, HTMLElement> | undefined>;
|
|
22
|
+
hostClassBindings: {
|
|
23
|
+
remove: (tokens: string) => void;
|
|
24
|
+
removeMany: (tokens: string[]) => void;
|
|
25
|
+
has: (tokens: string) => boolean;
|
|
26
|
+
push: (tokens: string, signal: import("@angular/core").Signal<unknown>) => void;
|
|
27
|
+
pushMany: (map: Record<string, import("@angular/core").Signal<unknown>>) => void;
|
|
28
|
+
};
|
|
20
29
|
readonly hostAttributeBindings: {
|
|
21
30
|
remove: (tokens: string) => void;
|
|
22
31
|
removeMany: (tokens: string[]) => void;
|
|
@@ -32,7 +41,7 @@ export declare class MenuComponent implements OnDestroy {
|
|
|
32
41
|
focusPreviousItem(): void;
|
|
33
42
|
_handleKeydown(event: KeyboardEvent): void;
|
|
34
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "et-menu", never, { "__id": { "alias": "id"; "required": false; }; "__renderScrollableMasks": { "alias": "renderScrollableMasks"; "required": false; }; "__renderScrollableButtons": { "alias": "renderScrollableButtons"; "required": false; }; "_scrollableClass": { "alias": "scrollableClass"; "required": false; }; "__orientation": { "alias": "orientation"; "required": false; }; }, {}, ["__menuItemList"], ["*"], true, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "et-menu", never, { "__id": { "alias": "id"; "required": false; }; "__renderScrollableMasks": { "alias": "renderScrollableMasks"; "required": false; }; "__renderScrollableButtons": { "alias": "renderScrollableButtons"; "required": false; }; "_scrollableClass": { "alias": "scrollableClass"; "required": false; }; "__orientation": { "alias": "orientation"; "required": false; }; }, {}, ["menuSearchTemplate", "searchInput", "__menuItemList"], ["*"], true, never>;
|
|
36
45
|
static ngAcceptInputType___renderScrollableMasks: unknown;
|
|
37
46
|
static ngAcceptInputType___renderScrollableButtons: unknown;
|
|
38
47
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './menu-search-template.directive';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const MENU_SEARCH_TEMPLATE_TOKEN: InjectionToken<MenuSearchTemplateDirective>;
|
|
4
|
+
export declare class MenuSearchTemplateDirective {
|
|
5
|
+
templateRef: TemplateRef<any>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuSearchTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuSearchTemplateDirective, "ng-template[etMenuSearchTemplate]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -6,5 +6,6 @@ import { MenuGroupDirective } from './directives/menu-group';
|
|
|
6
6
|
import { MenuGroupTitleDirective } from './directives/menu-group-title';
|
|
7
7
|
import { MenuItemDirective } from './directives/menu-item';
|
|
8
8
|
import { MenuRadioGroupDirective } from './directives/menu-radio-group';
|
|
9
|
+
import { MenuSearchTemplateDirective } from './directives/menu-search-template';
|
|
9
10
|
import { MenuTriggerDirective } from './directives/menu-trigger';
|
|
10
|
-
export declare const MenuImports: readonly [typeof MenuGroupDirective, typeof MenuCheckboxItemComponent, typeof MenuRadioItemComponent, typeof MenuGroupTitleDirective, typeof MenuItemDirective, typeof MenuTriggerDirective, typeof MenuCheckboxGroupDirective, typeof MenuRadioGroupDirective, typeof MenuComponent];
|
|
11
|
+
export declare const MenuImports: readonly [typeof MenuGroupDirective, typeof MenuCheckboxItemComponent, typeof MenuRadioItemComponent, typeof MenuGroupTitleDirective, typeof MenuItemDirective, typeof MenuTriggerDirective, typeof MenuCheckboxGroupDirective, typeof MenuRadioGroupDirective, typeof MenuComponent, typeof MenuSearchTemplateDirective];
|
|
@@ -25,6 +25,7 @@ export * from '../components/menu/directives/menu-group';
|
|
|
25
25
|
export * from '../components/menu/directives/menu-group-title';
|
|
26
26
|
export * from '../components/menu/directives/menu-item';
|
|
27
27
|
export * from '../components/menu/directives/menu-radio-group';
|
|
28
|
+
export * from '../components/menu/directives/menu-search-template';
|
|
28
29
|
export * from '../components/menu/directives/menu-trigger';
|
|
29
30
|
export * from '../components/menu/menu.imports';
|
|
30
31
|
export * from '../components/menu-deprecated';
|