@fundamental-ngx/core 0.46.0-rc.39 → 0.46.0-rc.40
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/avatar/avatar.component.d.ts +2 -3
- package/avatar/avatar.module.d.ts +1 -2
- package/avatar-group/README.md +3 -21
- package/avatar-group/avatar-group.component.d.ts +51 -74
- package/avatar-group/avatar-group.module.d.ts +5 -8
- package/avatar-group/components/avatar-group-host.component.d.ts +61 -0
- package/avatar-group/components/avatar-group-overflow-body/avatar-group-overflow-body.component.d.ts +16 -0
- package/avatar-group/components/avatar-group-overflow-button.component.d.ts +36 -0
- package/avatar-group/components/default-avatar-group-overflow-body/default-avatar-group-overflow-body.component.d.ts +42 -0
- package/avatar-group/directives/avatar-group-internal-overflow-button.directive.d.ts +27 -0
- package/avatar-group/directives/avatar-group-item-renderer.directive.d.ts +81 -0
- package/avatar-group/directives/avatar-group-item.directive.d.ts +23 -16
- package/avatar-group/directives/avatar-group-overflow-body.directive.d.ts +13 -38
- package/avatar-group/directives/avatar-group-overflow-button.directive.d.ts +12 -26
- package/avatar-group/index.d.ts +5 -6
- package/avatar-group/tokens.d.ts +2 -6
- package/avatar-group/types.d.ts +9 -0
- package/avatar-group-legacy/README.md +25 -0
- package/avatar-group-legacy/avatar-group-legacy.component.d.ts +76 -0
- package/{avatar-group/avatar-group.interface.d.ts → avatar-group-legacy/avatar-group-legacy.interface.d.ts} +1 -1
- package/avatar-group-legacy/avatar-group-legacy.module.d.ts +14 -0
- package/avatar-group-legacy/directives/avatar-group-legacy-focusable-avatar.directive.d.ts +19 -0
- package/avatar-group-legacy/directives/avatar-group-legacy-item.directive.d.ts +20 -0
- package/avatar-group-legacy/directives/avatar-group-legacy-overflow-body.directive.d.ts +40 -0
- package/avatar-group-legacy/directives/avatar-group-legacy-overflow-button-text.directive.d.ts +5 -0
- package/avatar-group-legacy/directives/avatar-group-legacy-overflow-button.directive.d.ts +28 -0
- package/avatar-group-legacy/directives/avatar-group-legacy-overflow-item.directive.d.ts +6 -0
- package/avatar-group-legacy/directives/avatar-group-legacy-popover-control.directive.d.ts +10 -0
- package/avatar-group-legacy/index.d.ts +10 -0
- package/avatar-group-legacy/tokens.d.ts +7 -0
- package/esm2022/avatar/avatar.component.mjs +5 -5
- package/esm2022/avatar/avatar.module.mjs +5 -7
- package/esm2022/avatar-group/avatar-group.component.mjs +84 -183
- package/esm2022/avatar-group/avatar-group.module.mjs +19 -31
- package/esm2022/avatar-group/components/avatar-group-host.component.mjs +127 -0
- package/esm2022/avatar-group/components/avatar-group-overflow-body/avatar-group-overflow-body.component.mjs +34 -0
- package/esm2022/avatar-group/components/avatar-group-overflow-button.component.mjs +90 -0
- package/esm2022/avatar-group/components/default-avatar-group-overflow-body/default-avatar-group-overflow-body.component.mjs +92 -0
- package/esm2022/avatar-group/directives/avatar-group-internal-overflow-button.directive.mjs +60 -0
- package/esm2022/avatar-group/directives/avatar-group-item-renderer.directive.mjs +139 -0
- package/esm2022/avatar-group/directives/avatar-group-item.directive.mjs +35 -33
- package/esm2022/avatar-group/directives/avatar-group-overflow-body.directive.mjs +13 -99
- package/esm2022/avatar-group/directives/avatar-group-overflow-button.directive.mjs +14 -60
- package/esm2022/avatar-group/index.mjs +6 -7
- package/esm2022/avatar-group/tokens.mjs +2 -3
- package/esm2022/avatar-group/types.mjs +2 -0
- package/esm2022/avatar-group-legacy/avatar-group-legacy.component.mjs +206 -0
- package/esm2022/avatar-group-legacy/avatar-group-legacy.interface.mjs +2 -0
- package/esm2022/avatar-group-legacy/avatar-group-legacy.module.mjs +55 -0
- package/esm2022/avatar-group-legacy/directives/avatar-group-legacy-focusable-avatar.directive.mjs +59 -0
- package/esm2022/avatar-group-legacy/directives/avatar-group-legacy-item.directive.mjs +46 -0
- package/esm2022/avatar-group-legacy/directives/avatar-group-legacy-overflow-body.directive.mjs +109 -0
- package/esm2022/avatar-group-legacy/directives/avatar-group-legacy-overflow-button-text.directive.mjs +16 -0
- package/esm2022/avatar-group-legacy/directives/avatar-group-legacy-overflow-button.directive.mjs +68 -0
- package/esm2022/avatar-group-legacy/directives/avatar-group-legacy-overflow-item.directive.mjs +16 -0
- package/esm2022/avatar-group-legacy/directives/avatar-group-legacy-popover-control.directive.mjs +33 -0
- package/esm2022/avatar-group-legacy/fundamental-ngx-core-avatar-group-legacy.mjs +5 -0
- package/esm2022/avatar-group-legacy/index.mjs +11 -0
- package/esm2022/avatar-group-legacy/tokens.mjs +4 -0
- package/esm2022/breadcrumb/breadcrumb.component.mjs +1 -1
- package/esm2022/button/button.component.mjs +1 -1
- package/esm2022/combobox/combobox.component.mjs +1 -1
- package/esm2022/dialog/dialog-close-button/dialog-close-button.component.mjs +1 -1
- package/esm2022/form/form-label/form-label.component.mjs +2 -2
- package/esm2022/fundamental-ngx.module.mjs +66 -62
- package/esm2022/grid-list/components/grid-list-filter-bar/grid-list-filter-bar.component.mjs +1 -1
- package/esm2022/grid-list/components/grid-list-item/grid-list-item.component.mjs +1 -1
- package/esm2022/icon/icon.component.mjs +7 -2
- package/esm2022/index.mjs +45 -44
- package/esm2022/info-label/info-label.component.mjs +1 -1
- package/esm2022/list/directives/list-navigation-item-arrow.directive.mjs +18 -13
- package/esm2022/list/list-component.interface.mjs +1 -1
- package/esm2022/list/list-navigation-item/list-navigation-item.component.mjs +36 -38
- package/esm2022/message-strip/message-strip.component.mjs +1 -1
- package/esm2022/micro-process-flow/components/micro-process-flow-icon/micro-process-flow-icon.component.mjs +1 -1
- package/esm2022/multi-combobox/multi-combobox.component.mjs +3 -3
- package/esm2022/nested-list/nested-list-directives.mjs +1 -1
- package/esm2022/object-status/object-status.component.mjs +1 -1
- package/esm2022/select/select.component.mjs +1 -1
- package/esm2022/shellbar/product-menu/product-menu.component.mjs +1 -1
- package/esm2022/splitter/splitter-resizer/splitter-resizer.component.mjs +1 -1
- package/esm2022/tabs/tab-item-expand/tab-item-expand.component.mjs +1 -1
- package/esm2022/tabs/tab-utils/tab-directives.mjs +1 -1
- package/esm2022/timeline/components/timeline-node/timeline-node.component.mjs +1 -1
- package/esm2022/token/tokenizer.component.mjs +28 -11
- package/esm2022/tree/components/tree-item/tree-item.component.mjs +1 -1
- package/esm2022/vertical-navigation/vertical-navigation-main-navigation.component.mjs +2 -2
- package/esm2022/vertical-navigation/vertical-navigation.component.mjs +2 -2
- package/esm2022/wizard/wizard-step-indicator/wizard-step-indicator.component.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-avatar-group-legacy.mjs +580 -0
- package/fesm2022/fundamental-ngx-core-avatar-group-legacy.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-core-avatar-group.mjs +597 -432
- package/fesm2022/fundamental-ngx-core-avatar-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-avatar.mjs +8 -10
- package/fesm2022/fundamental-ngx-core-avatar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-breadcrumb.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-button.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-combobox.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-dialog.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-form.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-grid-list.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-grid-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-icon.mjs +6 -1
- package/fesm2022/fundamental-ngx-core-icon.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-info-label.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-info-label.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-list.mjs +51 -48
- package/fesm2022/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-message-strip.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-message-strip.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-nested-list.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-nested-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-status.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-object-status.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-select.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-shellbar.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-splitter.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-splitter.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-tabs.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-tabs.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-timeline.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-timeline.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-token.mjs +23 -6
- package/fesm2022/fundamental-ngx-core-token.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-tree.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-tree.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs +4 -4
- package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-wizard.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-wizard.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core.mjs +126 -120
- package/fesm2022/fundamental-ngx-core.mjs.map +1 -1
- package/fundamental-ngx-core-v0.46.0-rc.40.tgz +0 -0
- package/fundamental-ngx.module.d.ts +16 -15
- package/icon/icon.component.d.ts +3 -1
- package/index.d.ts +44 -43
- package/list/directives/list-navigation-item-arrow.directive.d.ts +4 -7
- package/list/list-component.interface.d.ts +3 -2
- package/list/list-navigation-item/list-navigation-item.component.d.ts +9 -8
- package/package.json +9 -3
- package/schematics/add-dependencies/index.js +4 -4
- package/token/tokenizer.component.d.ts +12 -2
- package/avatar-group/directives/avatar-group-focusable-avatar.directive.d.ts +0 -19
- package/avatar-group/directives/avatar-group-overflow-button-text.directive.d.ts +0 -5
- package/avatar-group/directives/avatar-group-overflow-item.directive.d.ts +0 -6
- package/avatar-group/directives/avatar-group-popover-control.directive.d.ts +0 -10
- package/esm2022/avatar-group/avatar-group.interface.mjs +0 -2
- package/esm2022/avatar-group/directives/avatar-group-focusable-avatar.directive.mjs +0 -58
- package/esm2022/avatar-group/directives/avatar-group-overflow-button-text.directive.mjs +0 -15
- package/esm2022/avatar-group/directives/avatar-group-overflow-item.directive.mjs +0 -15
- package/esm2022/avatar-group/directives/avatar-group-popover-control.directive.mjs +0 -32
- package/fundamental-ngx-core-v0.46.0-rc.39.tgz +0 -0
package/avatar-group/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export * from './avatar-group.module';
|
|
2
1
|
export * from './avatar-group.component';
|
|
2
|
+
export * from './avatar-group.module';
|
|
3
|
+
export * from './components/avatar-group-overflow-body/avatar-group-overflow-body.component';
|
|
4
|
+
export * from './components/avatar-group-overflow-button.component';
|
|
3
5
|
export * from './directives/avatar-group-item.directive';
|
|
4
|
-
export * from './directives/avatar-group-focusable-avatar.directive';
|
|
5
|
-
export * from './directives/avatar-group-popover-control.directive';
|
|
6
6
|
export * from './directives/avatar-group-overflow-body.directive';
|
|
7
|
-
export * from './directives/avatar-group-overflow-item.directive';
|
|
8
7
|
export * from './directives/avatar-group-overflow-button.directive';
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
8
|
+
export * from './tokens';
|
|
9
|
+
export * from './types';
|
package/avatar-group/tokens.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { AvatarGroupInterface } from './avatar-group.interface';
|
|
5
|
-
export type FocusableWithElementRef = FocusableOption & HasElementRef;
|
|
6
|
-
export declare const AVATAR_GROUP_FOCUSABLE_AVATAR_DIRECTIVE: InjectionToken<FocusableWithElementRef>;
|
|
7
|
-
export declare const AVATAR_GROUP_COMPONENT: InjectionToken<AvatarGroupInterface>;
|
|
2
|
+
import { AvatarGroupHostConfig } from './types';
|
|
3
|
+
export declare const AVATAR_GROUP_HOST_CONFIG: InjectionToken<AvatarGroupHostConfig>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Size } from '@fundamental-ngx/cdk/utils';
|
|
2
|
+
export type AvatarGroupType = 'individual' | 'group';
|
|
3
|
+
export type AvatarGroupOrientation = 'horizontal' | 'vertical';
|
|
4
|
+
export type AvatarGroupSize = Size;
|
|
5
|
+
export interface AvatarGroupHostConfig {
|
|
6
|
+
type: AvatarGroupType;
|
|
7
|
+
orientation: AvatarGroupOrientation;
|
|
8
|
+
size: AvatarGroupSize;
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# AvatarGroupLegacy
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.5.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project avatar-group-legacy` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project avatar-group-legacy`.
|
|
8
|
+
|
|
9
|
+
> Note: Don't forget to add `--project avatar-group-legacy` or else it will be added to the default project in your `angular.json` file.
|
|
10
|
+
|
|
11
|
+
## Build
|
|
12
|
+
|
|
13
|
+
Run `ng build avatar-group-legacy` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
14
|
+
|
|
15
|
+
## Publishing
|
|
16
|
+
|
|
17
|
+
After building your library with `ng build avatar-group-legacy`, go to the dist folder `cd dist/avatar-group-legacy` and run `npm publish`.
|
|
18
|
+
|
|
19
|
+
## Running unit tests
|
|
20
|
+
|
|
21
|
+
Run `ng test avatar-group-legacy` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
22
|
+
|
|
23
|
+
## Further help
|
|
24
|
+
|
|
25
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ViewportRuler } from '@angular/cdk/overlay';
|
|
2
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
3
|
+
import { ColorAccent, Nullable, RtlService, Size } from '@fundamental-ngx/cdk/utils';
|
|
4
|
+
import { AvatarGroupLegacyInterface } from './avatar-group-legacy.interface';
|
|
5
|
+
import { AvatarGroupLegacyItemDirective } from './directives/avatar-group-legacy-item.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export type AvatarGroupLegacyType = 'group' | 'individual';
|
|
8
|
+
export type AvatarGroupLegacyOverflowButtonColor = 'neutral' | 'random' | ColorAccent;
|
|
9
|
+
export declare class AvatarGroupLegacyComponent implements AvatarGroupLegacyInterface, OnChanges, OnInit, AfterViewInit, OnDestroy {
|
|
10
|
+
private readonly _viewportRuler;
|
|
11
|
+
private _rtlService;
|
|
12
|
+
/** Id of the Avatar Group. */
|
|
13
|
+
id: string;
|
|
14
|
+
/** Apply user custom class. */
|
|
15
|
+
class: string;
|
|
16
|
+
/** The size of the Avatar Group. Options include: *xs*, *s*, *m*, *l* and *xl* (default: *s*). */
|
|
17
|
+
size: Size;
|
|
18
|
+
/** The type of the Avatar Group. Options include: *group* and *individual* (default: *group*). */
|
|
19
|
+
type: AvatarGroupLegacyType;
|
|
20
|
+
/** Aria-label for Avatar Group. */
|
|
21
|
+
ariaLabel: Nullable<string>;
|
|
22
|
+
/** Counter for all avatars. */
|
|
23
|
+
allItemsCount: number;
|
|
24
|
+
/** Counter for visible in overflow popover avatars. */
|
|
25
|
+
overflowItemsCount: number;
|
|
26
|
+
/** @hidden Avatar Group items. */
|
|
27
|
+
mainItems: QueryList<AvatarGroupLegacyItemDirective>;
|
|
28
|
+
/** @hidden */
|
|
29
|
+
avatarGroupContainer: ElementRef<HTMLDivElement>;
|
|
30
|
+
/** @hidden */
|
|
31
|
+
rootClassNames: Record<string, boolean | undefined | null>;
|
|
32
|
+
/** @hidden */
|
|
33
|
+
get isGroupType(): boolean;
|
|
34
|
+
/** @hidden */
|
|
35
|
+
private get _avatarGroupWidth();
|
|
36
|
+
/** @hidden */
|
|
37
|
+
private get _avatarGroupItemWidth();
|
|
38
|
+
/** @hidden */
|
|
39
|
+
private get _avatarGroupItemWithMarginsWidth();
|
|
40
|
+
/** @hidden FocusKeyManager instance */
|
|
41
|
+
private _keyboardEventsManager;
|
|
42
|
+
/** @hidden */
|
|
43
|
+
private readonly _subscription;
|
|
44
|
+
/** @hidden handles rtl service */
|
|
45
|
+
private _dir;
|
|
46
|
+
/** @hidden */
|
|
47
|
+
constructor(_viewportRuler: ViewportRuler, _rtlService: RtlService);
|
|
48
|
+
/** @hidden */
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
/** @hidden */
|
|
51
|
+
ngOnChanges(): void;
|
|
52
|
+
/** @hidden */
|
|
53
|
+
ngAfterViewInit(): void;
|
|
54
|
+
/** @hidden */
|
|
55
|
+
ngOnDestroy(): void;
|
|
56
|
+
/** @hidden */
|
|
57
|
+
keyUpHandler(event: KeyboardEvent): void;
|
|
58
|
+
/** @hidden */
|
|
59
|
+
_setActiveItem(item: AvatarGroupLegacyItemDirective): void;
|
|
60
|
+
/** @hidden */
|
|
61
|
+
private _onResize;
|
|
62
|
+
/** @hidden */
|
|
63
|
+
private _reset;
|
|
64
|
+
/** @hidden */
|
|
65
|
+
private _collapseItems;
|
|
66
|
+
/** @hidden */
|
|
67
|
+
private _listenForItemChanges;
|
|
68
|
+
/** @hidden */
|
|
69
|
+
private _assignCssClasses;
|
|
70
|
+
/** @hidden */
|
|
71
|
+
private _setKeyboardEventsManager;
|
|
72
|
+
/** @hidden Rtl change subscription */
|
|
73
|
+
private _subscribeToRtl;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyComponent, [null, { optional: true; }]>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarGroupLegacyComponent, "fd-avatar-group-legacy", never, { "id": { "alias": "id"; "required": false; }; "class": { "alias": "class"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, ["mainItems"], ["*"], true, never, false>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./avatar-group-legacy.component";
|
|
3
|
+
import * as i2 from "./directives/avatar-group-legacy-item.directive";
|
|
4
|
+
import * as i3 from "./directives/avatar-group-legacy-focusable-avatar.directive";
|
|
5
|
+
import * as i4 from "./directives/avatar-group-legacy-popover-control.directive";
|
|
6
|
+
import * as i5 from "./directives/avatar-group-legacy-overflow-body.directive";
|
|
7
|
+
import * as i6 from "./directives/avatar-group-legacy-overflow-item.directive";
|
|
8
|
+
import * as i7 from "./directives/avatar-group-legacy-overflow-button.directive";
|
|
9
|
+
import * as i8 from "./directives/avatar-group-legacy-overflow-button-text.directive";
|
|
10
|
+
export declare class AvatarGroupLegacyModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarGroupLegacyModule, never, [typeof i1.AvatarGroupLegacyComponent, typeof i2.AvatarGroupLegacyItemDirective, typeof i3.AvatarGroupLegacyFocusableAvatarDirective, typeof i4.AvatarGroupLegacyPopoverControlDirective, typeof i5.AvatarGroupLegacyOverflowBodyDirective, typeof i6.AvatarGroupLegacyOverflowItemDirective, typeof i7.AvatarGroupLegacyOverflowButtonDirective, typeof i8.AvatarGroupLegacyOverflowButtonTextDirective], [typeof i1.AvatarGroupLegacyComponent, typeof i2.AvatarGroupLegacyItemDirective, typeof i3.AvatarGroupLegacyFocusableAvatarDirective, typeof i4.AvatarGroupLegacyPopoverControlDirective, typeof i5.AvatarGroupLegacyOverflowBodyDirective, typeof i6.AvatarGroupLegacyOverflowItemDirective, typeof i7.AvatarGroupLegacyOverflowButtonDirective, typeof i8.AvatarGroupLegacyOverflowButtonTextDirective]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AvatarGroupLegacyModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FocusableOption } from '@angular/cdk/a11y';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { HasElementRef } from '@fundamental-ngx/cdk/utils';
|
|
4
|
+
import { AvatarGroupLegacyInterface } from '../avatar-group-legacy.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AvatarGroupLegacyFocusableAvatarDirective implements FocusableOption, HasElementRef {
|
|
7
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
8
|
+
private readonly _component;
|
|
9
|
+
/** Tabindex of the Avatar. */
|
|
10
|
+
tabindex: number;
|
|
11
|
+
/** @hidden */
|
|
12
|
+
constructor(elementRef: ElementRef<HTMLElement>, _component: AvatarGroupLegacyInterface);
|
|
13
|
+
/** Handler for mouse events */
|
|
14
|
+
onClick(): void;
|
|
15
|
+
/** @hidden */
|
|
16
|
+
focus(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyFocusableAvatarDirective, [null, { optional: true; }]>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarGroupLegacyFocusableAvatarDirective, "[fd-avatar-group-legacy-focusable-avatar]", never, { "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, never, true, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FocusableOption } from '@angular/cdk/a11y';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { AvatarGroupLegacyInterface } from '../avatar-group-legacy.interface';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AvatarGroupLegacyItemDirective implements FocusableOption {
|
|
6
|
+
private readonly _elementRef;
|
|
7
|
+
private readonly _component;
|
|
8
|
+
/** Item disable state */
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/** @hidden */
|
|
11
|
+
constructor(_elementRef: ElementRef<HTMLElement>, _component: AvatarGroupLegacyInterface);
|
|
12
|
+
/** @hidden */
|
|
13
|
+
get _element(): HTMLElement;
|
|
14
|
+
/** Handler for mouse events */
|
|
15
|
+
onClick(): void;
|
|
16
|
+
/** @hidden */
|
|
17
|
+
focus(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyItemDirective, [null, { optional: true; }]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarGroupLegacyItemDirective, "[fd-avatar-group-legacy-item]", never, {}, {}, never, never, true, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { FocusableOption } from '@angular/cdk/a11y';
|
|
2
|
+
import { AfterViewInit, OnDestroy, QueryList } from '@angular/core';
|
|
3
|
+
import { HasElementRef, RtlService } from '@fundamental-ngx/cdk/utils';
|
|
4
|
+
import { FocusableWithElementRef } from '../tokens';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AvatarGroupLegacyOverflowBodyDirective implements AfterViewInit, OnDestroy {
|
|
7
|
+
private _rtlService;
|
|
8
|
+
/** Remove the padding from the overflow body. */
|
|
9
|
+
noPadding: boolean;
|
|
10
|
+
/** Hide horizontal scrollbar from the overflow body. */
|
|
11
|
+
noHorizontalScroll: boolean;
|
|
12
|
+
/** Hide vertical scrollbar from the overflow body. */
|
|
13
|
+
noVerticalScroll: boolean;
|
|
14
|
+
/** @hidden Avatar Group Overflow items. */
|
|
15
|
+
overflowItems: QueryList<FocusableWithElementRef>;
|
|
16
|
+
/** @hidden FocusKeyManager instance */
|
|
17
|
+
private _keyboardEventsManager;
|
|
18
|
+
/** @hidden */
|
|
19
|
+
private readonly _subscription;
|
|
20
|
+
/** @hidden handles rtl service */
|
|
21
|
+
private _dir;
|
|
22
|
+
/** @hidden */
|
|
23
|
+
constructor(_rtlService: RtlService);
|
|
24
|
+
/** @hidden */
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
/** @hidden */
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
/** @hidden */
|
|
29
|
+
keyUpHandler(event: KeyboardEvent): void;
|
|
30
|
+
/** @hidden */
|
|
31
|
+
_setActiveItem(item: FocusableOption & HasElementRef): void;
|
|
32
|
+
/** @hidden */
|
|
33
|
+
private _listenForItemChanges;
|
|
34
|
+
/** @hidden */
|
|
35
|
+
private _setKeyboardEventsManager;
|
|
36
|
+
/** @hidden Rtl change subscription */
|
|
37
|
+
private _subscribeToRtl;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyOverflowBodyDirective, [{ optional: true; }]>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarGroupLegacyOverflowBodyDirective, "[fd-avatar-group-legacy-overflow-body]", never, { "noPadding": { "alias": "noPadding"; "required": false; }; "noHorizontalScroll": { "alias": "noHorizontalScroll"; "required": false; }; "noVerticalScroll": { "alias": "noVerticalScroll"; "required": false; }; }, {}, ["overflowItems"], never, true, never, false>;
|
|
40
|
+
}
|
package/avatar-group-legacy/directives/avatar-group-legacy-overflow-button-text.directive.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AvatarGroupLegacyOverflowButtonTextDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyOverflowButtonTextDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarGroupLegacyOverflowButtonTextDirective, "[fd-avatar-group-legacy-overflow-button-text]", never, {}, {}, never, never, true, never, false>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnInit } from '@angular/core';
|
|
2
|
+
import { CssClassBuilder, Size } from '@fundamental-ngx/cdk/utils';
|
|
3
|
+
import { AvatarGroupLegacyOverflowButtonColor } from '../avatar-group-legacy.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AvatarGroupLegacyOverflowButtonDirective implements OnInit, OnChanges, CssClassBuilder {
|
|
6
|
+
readonly elementRef: ElementRef;
|
|
7
|
+
/** User's custom classes. */
|
|
8
|
+
class: string;
|
|
9
|
+
/** The size of the overflow button.
|
|
10
|
+
* Should be the same as the Avatar Group and Avatar size.
|
|
11
|
+
* Options include: *xs*, *s*, *m*, *l* and *xl* (default: *s*). */
|
|
12
|
+
size: Size;
|
|
13
|
+
/** A number from 1 to 10 representing the background color of the Avatar Group's overflow button.
|
|
14
|
+
* Options include: *neutral*, *random*, *1*, *2*, *3*, *4*, *5*, *6*, *7*, *8*, *9*, *10* (default: *neutral*). */
|
|
15
|
+
color: AvatarGroupLegacyOverflowButtonColor;
|
|
16
|
+
/** @hidden */
|
|
17
|
+
constructor(elementRef: ElementRef);
|
|
18
|
+
/** @hidden */
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
/** @hidden */
|
|
21
|
+
ngOnChanges(): void;
|
|
22
|
+
/** @hidden */
|
|
23
|
+
buildComponentCssClass(): string[];
|
|
24
|
+
/** @hidden */
|
|
25
|
+
private _getMoreButtonColorCssClass;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyOverflowButtonDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarGroupLegacyOverflowButtonDirective, "[fd-avatar-group-legacy-overflow-button]", never, { "class": { "alias": "class"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never, false>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AvatarGroupLegacyItemDirective } from './avatar-group-legacy-item.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AvatarGroupLegacyOverflowItemDirective extends AvatarGroupLegacyItemDirective {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyOverflowItemDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarGroupLegacyOverflowItemDirective, "[fd-avatar-group-legacy-overflow-item]", never, {}, {}, never, never, true, never, false>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/** Needed to bind specific class to group type popover control. */
|
|
3
|
+
export declare class AvatarGroupLegacyPopoverControlDirective {
|
|
4
|
+
/** Tabindex of the popover control. */
|
|
5
|
+
tabindex: number;
|
|
6
|
+
/** Role of the popover control. */
|
|
7
|
+
role: string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarGroupLegacyPopoverControlDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarGroupLegacyPopoverControlDirective, "[fd-avatar-group-legacy-popover-control]", never, { "tabindex": { "alias": "tabindex"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never, false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './avatar-group-legacy.component';
|
|
2
|
+
export * from './avatar-group-legacy.interface';
|
|
3
|
+
export * from './avatar-group-legacy.module';
|
|
4
|
+
export * from './directives/avatar-group-legacy-focusable-avatar.directive';
|
|
5
|
+
export * from './directives/avatar-group-legacy-item.directive';
|
|
6
|
+
export * from './directives/avatar-group-legacy-overflow-body.directive';
|
|
7
|
+
export * from './directives/avatar-group-legacy-overflow-button-text.directive';
|
|
8
|
+
export * from './directives/avatar-group-legacy-overflow-button.directive';
|
|
9
|
+
export * from './directives/avatar-group-legacy-overflow-item.directive';
|
|
10
|
+
export * from './directives/avatar-group-legacy-popover-control.directive';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FocusableOption } from '@angular/cdk/a11y';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { HasElementRef } from '@fundamental-ngx/cdk/utils';
|
|
4
|
+
import { AvatarGroupLegacyInterface } from './avatar-group-legacy.interface';
|
|
5
|
+
export type FocusableWithElementRef = FocusableOption & HasElementRef;
|
|
6
|
+
export declare const AVATAR_GROUP_LEGACY_FOCUSABLE_AVATAR_DIRECTIVE: InjectionToken<FocusableWithElementRef>;
|
|
7
|
+
export declare const AVATAR_GROUP_LEGACY_COMPONENT: InjectionToken<AvatarGroupLegacyInterface>;
|