@odx/angular 3.2.3 → 4.0.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/components/rich-list/index.d.ts +3 -2
- package/components/rich-list/lib/components/index.d.ts +2 -0
- package/components/rich-list/lib/components/rich-list-content/rich-list-content.component.d.ts +6 -0
- package/components/rich-list/lib/components/rich-list-header/rich-list-header.component.d.ts +9 -0
- package/components/rich-list/lib/components/rich-list-item/rich-list-item.component.d.ts +13 -4
- package/components/rich-list/lib/rich-list.module.d.ts +4 -3
- package/esm2022/components/rich-list/index.mjs +4 -3
- package/esm2022/components/rich-list/lib/components/index.mjs +3 -1
- package/esm2022/components/rich-list/lib/components/rich-list-content/rich-list-content.component.mjs +26 -0
- package/esm2022/components/rich-list/lib/components/rich-list-header/rich-list-header.component.mjs +30 -0
- package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs +28 -9
- package/esm2022/components/rich-list/lib/rich-list.module.mjs +6 -6
- package/fesm2022/odx-angular-components-rich-list.mjs +82 -32
- package/fesm2022/odx-angular-components-rich-list.mjs.map +1 -1
- package/package.json +1 -1
- package/components/rich-list/lib/directives/index.d.ts +0 -1
- package/components/rich-list/lib/directives/rich-list-item-title.d.ts +0 -5
- package/esm2022/components/rich-list/lib/directives/index.mjs +0 -2
- package/esm2022/components/rich-list/lib/directives/rich-list-item-title.mjs +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
export * from './lib/components/rich-list-content/rich-list-content.component';
|
|
2
|
+
export * from './lib/components/rich-list-header/rich-list-header.component';
|
|
3
|
+
export * from './lib/components/rich-list-item/rich-list-item.component';
|
|
1
4
|
export * from './lib/rich-list.component';
|
|
2
5
|
export * from './lib/rich-list.module';
|
|
3
|
-
export * from './lib/components/rich-list-item/rich-list-item.component';
|
|
4
|
-
export * from './lib/directives';
|
package/components/rich-list/lib/components/rich-list-content/rich-list-content.component.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RichListItemContentComponent {
|
|
3
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RichListItemContentComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RichListItemContentComponent, "odx-rich-list-content", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RichListItemHeaderComponent {
|
|
4
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
5
|
+
toggled: EventEmitter<void>;
|
|
6
|
+
toggle(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RichListItemHeaderComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RichListItemHeaderComponent, "odx-rich-list-header", never, {}, { "toggled": "toggled"; }, never, ["odx-checkbox", "odx-avatar", "*", "[odxButton]"], true, never>;
|
|
9
|
+
}
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ExpandableItemDirective } from '@odx/angular/cdk/expandable';
|
|
3
|
+
import { RichListItemContentComponent } from '../rich-list-content/rich-list-content.component';
|
|
4
|
+
import { RichListItemHeaderComponent } from '../rich-list-header/rich-list-header.component';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
import * as i1 from "@odx/angular/cdk/expandable";
|
|
5
|
-
export declare class RichListItemComponent {
|
|
6
|
-
|
|
7
|
+
export declare class RichListItemComponent implements AfterViewInit {
|
|
8
|
+
private readonly disabledController;
|
|
9
|
+
private readonly takeUntilDestroyed;
|
|
10
|
+
readonly expandableItem: ExpandableItemDirective;
|
|
7
11
|
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
8
12
|
expandedChange: EventEmitter<boolean>;
|
|
13
|
+
content?: RichListItemContentComponent;
|
|
14
|
+
header?: RichListItemHeaderComponent;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
9
16
|
get titleId(): string;
|
|
10
17
|
get slotId(): string;
|
|
18
|
+
get empty(): boolean;
|
|
19
|
+
get isDisabled(): boolean;
|
|
11
20
|
onAnimationEnd(): void;
|
|
12
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<RichListItemComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichListItemComponent, "odx-rich-list-item", never, {}, { "expandedChange": "expandedChange"; },
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RichListItemComponent, "odx-rich-list-item", never, {}, { "expandedChange": "expandedChange"; }, ["content", "header"], ["odx-rich-list-header", "odx-rich-list-content"], true, [{ directive: typeof i1.ExpandableItemDirective; inputs: { "expanded": "expanded"; "id": "id"; }; outputs: {}; }]>;
|
|
14
23
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./rich-list.component";
|
|
3
3
|
import * as i2 from "./components/rich-list-item/rich-list-item.component";
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "
|
|
4
|
+
import * as i3 from "./components/rich-list-header/rich-list-header.component";
|
|
5
|
+
import * as i4 from "./components/rich-list-content/rich-list-content.component";
|
|
6
|
+
import * as i5 from "@odx/angular";
|
|
6
7
|
export declare class RichListModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<RichListModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RichListModule, never, [typeof i1.RichListComponent, typeof i2.RichListItemComponent, typeof i3.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RichListModule, never, [typeof i1.RichListComponent, typeof i2.RichListItemComponent, typeof i3.RichListItemHeaderComponent, typeof i4.RichListItemContentComponent], [typeof i5.CoreModule, typeof i1.RichListComponent, typeof i2.RichListItemComponent, typeof i3.RichListItemHeaderComponent, typeof i4.RichListItemContentComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<RichListModule>;
|
|
10
11
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export * from './lib/components/rich-list-content/rich-list-content.component';
|
|
2
|
+
export * from './lib/components/rich-list-header/rich-list-header.component';
|
|
3
|
+
export * from './lib/components/rich-list-item/rich-list-item.component';
|
|
1
4
|
export * from './lib/rich-list.component';
|
|
2
5
|
export * from './lib/rich-list.module';
|
|
3
|
-
|
|
4
|
-
export * from './lib/directives';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy9yaWNoLWxpc3Qvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLDBEQUEwRCxDQUFDO0FBQ3pFLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9yaWNoLWxpc3QuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3JpY2gtbGlzdC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy9yaWNoLWxpc3QtaXRlbS9yaWNoLWxpc3QtaXRlbS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcyc7XG4iXX0=
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy9yaWNoLWxpc3Qvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0VBQWdFLENBQUM7QUFDL0UsY0FBYyw4REFBOEQsQ0FBQztBQUM3RSxjQUFjLDBEQUEwRCxDQUFDO0FBRXpFLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvcmljaC1saXN0LWNvbnRlbnQvcmljaC1saXN0LWNvbnRlbnQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvcmljaC1saXN0LWhlYWRlci9yaWNoLWxpc3QtaGVhZGVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL3JpY2gtbGlzdC1pdGVtL3JpY2gtbGlzdC1pdGVtLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL3JpY2gtbGlzdC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvcmljaC1saXN0Lm1vZHVsZSc7XG4iXX0=
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
export * from './rich-list-content/rich-list-content.component';
|
|
2
|
+
export * from './rich-list-header/rich-list-header.component';
|
|
1
3
|
export * from './rich-list-item/rich-list-item.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy9yaWNoLWxpc3Qvc3JjL2xpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaURBQWlELENBQUM7QUFDaEUsY0FBYywrQ0FBK0MsQ0FBQztBQUM5RCxjQUFjLDJDQUEyQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yaWNoLWxpc3QtY29udGVudC9yaWNoLWxpc3QtY29udGVudC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9yaWNoLWxpc3QtaGVhZGVyL3JpY2gtbGlzdC1oZWFkZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcmljaC1saXN0LWl0ZW0vcmljaC1saXN0LWl0ZW0uY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { CSSComponent } from '@odx/angular/internal';
|
|
4
|
+
import { injectElement } from '@odx/angular/utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export let RichListItemContentComponent = class RichListItemContentComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.element = injectElement();
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemContentComponent, isStandalone: true, selector: "odx-rich-list-content", ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
12
|
+
};
|
|
13
|
+
RichListItemContentComponent = __decorate([
|
|
14
|
+
CSSComponent('rich-list-content')
|
|
15
|
+
], RichListItemContentComponent);
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemContentComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{
|
|
19
|
+
standalone: true,
|
|
20
|
+
selector: 'odx-rich-list-content',
|
|
21
|
+
template: ` <ng-content></ng-content> `,
|
|
22
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
|
+
encapsulation: ViewEncapsulation.None,
|
|
24
|
+
}]
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC1saXN0LWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2NvbXBvbmVudHMvcmljaC1saXN0L3NyYy9saWIvY29tcG9uZW50cy9yaWNoLWxpc3QtY29udGVudC9yaWNoLWxpc3QtY29udGVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3JELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFVNUMsV0FBTSw0QkFBNEIsR0FBbEMsTUFBTSw0QkFBNEI7SUFBbEM7UUFDVyxZQUFPLEdBQUcsYUFBYSxFQUFFLENBQUM7S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YyByZWFkb25seSBlbGVtZW50ID0gaW5qZWN0RWxlbWVudCgpO1xufVxuIl19
|
package/esm2022/components/rich-list/lib/components/rich-list-header/rich-list-header.component.mjs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Output, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { CoreModule } from '@odx/angular';
|
|
4
|
+
import { ActionGroupComponent } from '@odx/angular/components/action-group';
|
|
5
|
+
import { ButtonComponent } from '@odx/angular/components/button';
|
|
6
|
+
import { IconComponent } from '@odx/angular/components/icon';
|
|
7
|
+
import { CSSComponent } from '@odx/angular/internal';
|
|
8
|
+
import { injectElement } from '@odx/angular/utils';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export let RichListItemHeaderComponent = class RichListItemHeaderComponent {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.element = injectElement();
|
|
13
|
+
this.toggled = new EventEmitter();
|
|
14
|
+
}
|
|
15
|
+
toggle() {
|
|
16
|
+
this.toggled.emit();
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemHeaderComponent, isStandalone: true, selector: "odx-rich-list-header", outputs: { toggled: "toggled" }, ngImport: i0, template: "<ng-content select=\"odx-checkbox\"></ng-content>\n<ng-content select=\"odx-avatar\"></ng-content>\n<div class=\"odx-rich-list-header__title\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-rich-list-header__action-group\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n<odx-action-group class=\"odx-rich-list-header__expand-button\">\n <button odxButton (click)=\"toggle()\">\n <odx-icon class=\"odx-rich-list-header__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name", "iconSet"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
20
|
+
};
|
|
21
|
+
RichListItemHeaderComponent = __decorate([
|
|
22
|
+
CSSComponent('rich-list-header')
|
|
23
|
+
], RichListItemHeaderComponent);
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemHeaderComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ standalone: true, selector: 'odx-rich-list-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CoreModule, ActionGroupComponent, IconComponent, ButtonComponent], template: "<ng-content select=\"odx-checkbox\"></ng-content>\n<ng-content select=\"odx-avatar\"></ng-content>\n<div class=\"odx-rich-list-header__title\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-rich-list-header__action-group\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n<odx-action-group class=\"odx-rich-list-header__expand-button\">\n <button odxButton (click)=\"toggle()\">\n <odx-icon class=\"odx-rich-list-header__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n </button>\n</odx-action-group>\n" }]
|
|
27
|
+
}], propDecorators: { toggled: [{
|
|
28
|
+
type: Output
|
|
29
|
+
}] } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC1saXN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lxuPC9kaXY+XG48b2R4LWFjdGlvbi1ncm91cCBjbGFzcz1cIm9keC1yaWNoLWxpc3QtaGVhZGVyX19hY3Rpb24tZ3JvdXBcIj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW29keEJ1dHRvbl1cIiBuZ1Byb2plY3RBcz1cIltvZHhCdXR0b25dXCI+PC9uZy1jb250ZW50PlxuPC9vZHgtYWN0aW9uLWdyb3VwPlxuPG9keC1hY3Rpb24tZ3JvdXAgY2xhc3M9XCJvZHgtcmljaC1saXN0LWhlYWRlcl9fZXhwYW5kLWJ1dHRvblwiPlxuICA8YnV0dG9uIG9keEJ1dHRvbiAoY2xpY2spPVwidG9nZ2xlKClcIj5cbiAgICA8b2R4LWljb24gY2xhc3M9XCJvZHgtcmljaC1saXN0LWhlYWRlcl9faWNvblwiIG5hbWU9XCJjaGV2cm9uLWRvd25cIiBpY29uU2V0PVwiY29yZVwiPjwvb2R4LWljb24+XG4gIDwvYnV0dG9uPlxuPC9vZHgtYWN0aW9uLWdyb3VwPlxuIl19
|
package/esm2022/components/rich-list/lib/components/rich-list-item/rich-list-item.component.mjs
CHANGED
|
@@ -1,45 +1,64 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { transition, trigger, useAnimation } from '@angular/animations';
|
|
3
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Output, ViewEncapsulation, inject } from '@angular/core';
|
|
4
|
-
import { CoreModule } from '@odx/angular';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, Output, ViewEncapsulation, inject } from '@angular/core';
|
|
4
|
+
import { CoreModule, DisabledController } from '@odx/angular';
|
|
5
5
|
import { collapse, expand } from '@odx/angular/animations';
|
|
6
6
|
import { A11yModule } from '@odx/angular/cdk/a11y';
|
|
7
7
|
import { ExpandableItemDirective } from '@odx/angular/cdk/expandable';
|
|
8
|
-
import { IconComponent } from '@odx/angular/components/icon';
|
|
9
8
|
import { CSSComponent } from '@odx/angular/internal';
|
|
10
|
-
import { injectElement } from '@odx/angular/utils';
|
|
9
|
+
import { injectElement, untilDestroyed } from '@odx/angular/utils';
|
|
10
|
+
import { RichListItemContentComponent } from '../rich-list-content/rich-list-content.component';
|
|
11
|
+
import { RichListItemHeaderComponent } from '../rich-list-header/rich-list-header.component';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
import * as i1 from "@odx/angular/cdk/expandable";
|
|
13
14
|
import * as i2 from "@angular/common";
|
|
14
|
-
import * as i3 from "@odx/angular/cdk/a11y";
|
|
15
15
|
export let RichListItemComponent = class RichListItemComponent {
|
|
16
16
|
constructor() {
|
|
17
|
+
this.disabledController = DisabledController.inject();
|
|
18
|
+
this.takeUntilDestroyed = untilDestroyed();
|
|
17
19
|
this.expandableItem = inject(ExpandableItemDirective, { self: true });
|
|
18
20
|
this.element = injectElement();
|
|
19
21
|
this.expandedChange = new EventEmitter();
|
|
20
22
|
}
|
|
23
|
+
ngAfterViewInit() {
|
|
24
|
+
this.header?.toggled.pipe(this.takeUntilDestroyed()).subscribe(() => this.expandableItem.toggle());
|
|
25
|
+
}
|
|
21
26
|
get titleId() {
|
|
22
27
|
return `${this.expandableItem.id}-title`;
|
|
23
28
|
}
|
|
24
29
|
get slotId() {
|
|
25
30
|
return `${this.expandableItem.id}-slot`;
|
|
26
31
|
}
|
|
32
|
+
get empty() {
|
|
33
|
+
return !this.content;
|
|
34
|
+
}
|
|
35
|
+
get isDisabled() {
|
|
36
|
+
return !!this.disabledController?.disabled;
|
|
37
|
+
}
|
|
27
38
|
onAnimationEnd() {
|
|
28
39
|
this.expandedChange.emit(this.expandableItem.expanded);
|
|
29
40
|
}
|
|
30
41
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemComponent, isStandalone: true, selector: "odx-rich-list-item", outputs: { expandedChange: "expandedChange" }, host: { properties: { "class.odx-rich-list-item--expanded": "expandableItem.expanded", "attr.id": "expandableItem.id" } }, hostDirectives: [{ directive: i1.ExpandableItemDirective, inputs: ["expanded", "expanded", "id", "id"] }], ngImport: i0, template: "<div
|
|
42
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemComponent, isStandalone: true, selector: "odx-rich-list-item", outputs: { expandedChange: "expandedChange" }, host: { properties: { "class.is-disabled": "isDisabled", "class.odx-rich-list-item--expanded": "expandableItem.expanded", "class.odx-rich-list-item--empty": "empty", "attr.id": "expandableItem.id" } }, providers: [DisabledController.connect()], queries: [{ propertyName: "content", first: true, predicate: RichListItemContentComponent, descendants: true }, { propertyName: "header", first: true, predicate: RichListItemHeaderComponent, descendants: true }], hostDirectives: [{ directive: i1.ExpandableItemDirective, inputs: ["expanded", "expanded", "id", "id"] }], ngImport: i0, template: "<div class=\"odx-rich-list-item__header\" [attr.id]=\"titleId\" [attr.aria-expanded]=\"expandableItem.expanded\" [attr.aria-controls]=\"slotId\">\n <ng-content select=\"odx-rich-list-header\"></ng-content>\n</div>\n<div\n class=\"odx-rich-list-item__slot\"\n *ngIf=\"expandableItem.expanded\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n [attr.aria-labelledby]=\"titleId\"\n [attr.id]=\"slotId\"\n>\n <ng-content select=\"odx-rich-list-content\"></ng-content>\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreModule }], animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
32
43
|
};
|
|
33
44
|
RichListItemComponent = __decorate([
|
|
34
45
|
CSSComponent('rich-list-item')
|
|
35
46
|
], RichListItemComponent);
|
|
36
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemComponent, decorators: [{
|
|
37
48
|
type: Component,
|
|
38
|
-
args: [{ selector: 'odx-rich-list-item', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [A11yModule, CoreModule,
|
|
49
|
+
args: [{ selector: 'odx-rich-list-item', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [A11yModule, CoreModule], providers: [DisabledController.connect()], hostDirectives: [{ directive: ExpandableItemDirective, inputs: ['expanded', 'id'] }], host: {
|
|
50
|
+
'[class.is-disabled]': 'isDisabled',
|
|
39
51
|
'[class.odx-rich-list-item--expanded]': 'expandableItem.expanded',
|
|
52
|
+
'[class.odx-rich-list-item--empty]': 'empty',
|
|
40
53
|
'[attr.id]': 'expandableItem.id',
|
|
41
|
-
}, animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])], template: "<div
|
|
54
|
+
}, animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])], template: "<div class=\"odx-rich-list-item__header\" [attr.id]=\"titleId\" [attr.aria-expanded]=\"expandableItem.expanded\" [attr.aria-controls]=\"slotId\">\n <ng-content select=\"odx-rich-list-header\"></ng-content>\n</div>\n<div\n class=\"odx-rich-list-item__slot\"\n *ngIf=\"expandableItem.expanded\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n [attr.aria-labelledby]=\"titleId\"\n [attr.id]=\"slotId\"\n>\n <ng-content select=\"odx-rich-list-content\"></ng-content>\n</div>\n" }]
|
|
42
55
|
}], propDecorators: { expandedChange: [{
|
|
43
56
|
type: Output
|
|
57
|
+
}], content: [{
|
|
58
|
+
type: ContentChild,
|
|
59
|
+
args: [RichListItemContentComponent]
|
|
60
|
+
}], header: [{
|
|
61
|
+
type: ContentChild,
|
|
62
|
+
args: [RichListItemHeaderComponent]
|
|
44
63
|
}] } });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC1saXN0LWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2NvbXBvbmVudHMvcmljaC1saXN0L3NyYy9saWIvY29tcG9uZW50cy9yaWNoLWxpc3QtaXRlbS9yaWNoLWxpc3QtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy9yaWNoLWxpc3Qvc3JjL2xpYi9jb21wb25lbnRzL3JpY2gtbGlzdC1pdGVtL3JpY2gtbGlzdC1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN4RSxPQUFPLEVBQWlCLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakosT0FBTyxFQUFFLFVBQVUsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUM5RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzNELE9BQU8sRU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vbkFuaW1hdGlvbkVuZCgpOiB2b2lkIHtcbiAgICB0aGlzLmV4cGFuZGVkQ2hhbmdlLmVtaXQodGhpcy5leHBhbmRhYmxlSXRlbS5leHBhbmRlZCk7XG4gIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJvZHgtcmljaC1saXN0LWl0ZW1fX2hlYWRlclwiIFthdHRyLmlkXT1cInRpdGxlSWRcIiBbYXR0ci5hcmlhLWV4cGFuZGVkXT1cImV4cGFuZGFibGVJdGVtLmV4cGFuZGVkXCIgW2F0dHIuYXJpYS1jb250cm9sc109XCJzbG90SWRcIj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwib2R4LXJpY2gtbGlzdC1oZWFkZXJcIj48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbjxkaXZcbiAgY2xhc3M9XCJvZHgtcmljaC1saXN0LWl0ZW1fX3Nsb3RcIlxuICAqbmdJZj1cImV4cGFuZGFibGVJdGVtLmV4cGFuZGVkXCJcbiAgQGV4cGFuZFNsb3RBbmltYXRpb25cbiAgKEBleHBhbmRTbG90QW5pbWF0aW9uLmRvbmUpPVwib25BbmltYXRpb25FbmQoKVwiXG4gIFthdHRyLmFyaWEtbGFiZWxsZWRieV09XCJ0aXRsZUlkXCJcbiAgW2F0dHIuaWRdPVwic2xvdElkXCJcbj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwib2R4LXJpY2gtbGlzdC1jb250ZW50XCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CoreModule } from '@odx/angular';
|
|
3
|
+
import { RichListItemComponent, RichListItemHeaderComponent } from './components';
|
|
4
|
+
import { RichListItemContentComponent } from './components/rich-list-content/rich-list-content.component';
|
|
3
5
|
import { RichListComponent } from './rich-list.component';
|
|
4
|
-
import { RichListItemComponent } from './components';
|
|
5
|
-
import { RichListItemTitleDirective } from './directives';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
const modules = [RichListComponent, RichListItemComponent,
|
|
7
|
+
const modules = [RichListComponent, RichListItemComponent, RichListItemHeaderComponent, RichListItemContentComponent];
|
|
8
8
|
export class RichListModule {
|
|
9
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, imports: [RichListComponent, RichListItemComponent,
|
|
11
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, imports: [RichListItemComponent, CoreModule] }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, imports: [RichListComponent, RichListItemComponent, RichListItemHeaderComponent, RichListItemContentComponent], exports: [CoreModule, RichListComponent, RichListItemComponent, RichListItemHeaderComponent, RichListItemContentComponent] }); }
|
|
11
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, imports: [RichListItemComponent, RichListItemHeaderComponent, CoreModule] }); }
|
|
12
12
|
}
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17
17
|
exports: [CoreModule, ...modules],
|
|
18
18
|
}]
|
|
19
19
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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zQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29yZU1vZHVsZSB9IGZyb20gJ0BvZHgvYW5ndWxhcic7XG5pbXBvcnQgeyBSaWNoTGlzdEl0ZW1Db21wb25lbnQsIFJpY2hMaXN0SXRlbUhlYWRlckNvbXBvbmVudCB9IGZyb20gJy4vY29tcG9uZW50cyc7XG5pbXBvcnQgeyBSaWNoTGlzdEl0ZW1Db250ZW50Q29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL3JpY2gtbGlzdC1jb250ZW50L3JpY2gtbGlzdC1jb250ZW50LmNvbXBvbmVudCc7XG5pbXBvcnQgeyBSaWNoTGlzdENvbXBvbmVudCB9IGZyb20gJy4vcmljaC1saXN0LmNvbXBvbmVudCc7XG5cbmNvbnN0IG1vZHVsZXMgPSBbUmljaExpc3RDb21wb25lbnQsIFJpY2hMaXN0SXRlbUNvbXBvbmVudCwgUmljaExpc3RJdGVtSGVhZGVyQ29tcG9uZW50LCBSaWNoTGlzdEl0ZW1Db250ZW50Q29tcG9uZW50XTtcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogbW9kdWxlcyxcbiAgZXhwb3J0czogW0NvcmVNb2R1bGUsIC4uLm1vZHVsZXNdLFxufSlcbmV4cG9ydCBjbGFzcyBSaWNoTGlzdE1vZHVsZSB7fVxuIl19
|
|
@@ -1,81 +1,131 @@
|
|
|
1
1
|
import { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation,
|
|
4
|
-
import * as i1 from '@odx/angular/cdk/expandable';
|
|
5
|
-
import { ExpandableContainerDirective, ExpandableItemDirective } from '@odx/angular/cdk/expandable';
|
|
3
|
+
import { Component, ChangeDetectionStrategy, ViewEncapsulation, EventEmitter, Output, inject, ContentChild, NgModule } from '@angular/core';
|
|
6
4
|
import { CSSComponent } from '@odx/angular/internal';
|
|
7
|
-
import { injectElement } from '@odx/angular/utils';
|
|
8
|
-
import { CoreModule } from '@odx/angular';
|
|
5
|
+
import { injectElement, untilDestroyed } from '@odx/angular/utils';
|
|
6
|
+
import { CoreModule, DisabledController } from '@odx/angular';
|
|
7
|
+
import { ActionGroupComponent } from '@odx/angular/components/action-group';
|
|
8
|
+
import { ButtonComponent } from '@odx/angular/components/button';
|
|
9
|
+
import { IconComponent } from '@odx/angular/components/icon';
|
|
9
10
|
import { trigger, transition, useAnimation } from '@angular/animations';
|
|
10
11
|
import { expand, collapse } from '@odx/angular/animations';
|
|
11
|
-
import * as i3 from '@odx/angular/cdk/a11y';
|
|
12
12
|
import { A11yModule } from '@odx/angular/cdk/a11y';
|
|
13
|
-
import
|
|
13
|
+
import * as i1 from '@odx/angular/cdk/expandable';
|
|
14
|
+
import { ExpandableItemDirective, ExpandableContainerDirective } from '@odx/angular/cdk/expandable';
|
|
14
15
|
import * as i2 from '@angular/common';
|
|
15
16
|
|
|
16
|
-
let
|
|
17
|
+
let RichListItemContentComponent = class RichListItemContentComponent {
|
|
17
18
|
constructor() {
|
|
18
19
|
this.element = injectElement();
|
|
19
20
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type:
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemContentComponent, isStandalone: true, selector: "odx-rich-list-content", ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
-
CSSComponent('rich-list')
|
|
25
|
-
],
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
24
|
+
RichListItemContentComponent = __decorate([
|
|
25
|
+
CSSComponent('rich-list-content')
|
|
26
|
+
], RichListItemContentComponent);
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemContentComponent, decorators: [{
|
|
27
28
|
type: Component,
|
|
28
|
-
args: [{
|
|
29
|
+
args: [{
|
|
30
|
+
standalone: true,
|
|
31
|
+
selector: 'odx-rich-list-content',
|
|
32
|
+
template: ` <ng-content></ng-content> `,
|
|
33
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
34
|
+
encapsulation: ViewEncapsulation.None,
|
|
35
|
+
}]
|
|
29
36
|
}] });
|
|
30
37
|
|
|
38
|
+
let RichListItemHeaderComponent = class RichListItemHeaderComponent {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.element = injectElement();
|
|
41
|
+
this.toggled = new EventEmitter();
|
|
42
|
+
}
|
|
43
|
+
toggle() {
|
|
44
|
+
this.toggled.emit();
|
|
45
|
+
}
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemHeaderComponent, isStandalone: true, selector: "odx-rich-list-header", outputs: { toggled: "toggled" }, ngImport: i0, template: "<ng-content select=\"odx-checkbox\"></ng-content>\n<ng-content select=\"odx-avatar\"></ng-content>\n<div class=\"odx-rich-list-header__title\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-rich-list-header__action-group\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n<odx-action-group class=\"odx-rich-list-header__expand-button\">\n <button odxButton (click)=\"toggle()\">\n <odx-icon class=\"odx-rich-list-header__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n </button>\n</odx-action-group>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "component", type: ActionGroupComponent, selector: "odx-action-group", inputs: ["reverse"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name", "iconSet"] }, { kind: "component", type: ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
48
|
+
};
|
|
49
|
+
RichListItemHeaderComponent = __decorate([
|
|
50
|
+
CSSComponent('rich-list-header')
|
|
51
|
+
], RichListItemHeaderComponent);
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemHeaderComponent, decorators: [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{ standalone: true, selector: 'odx-rich-list-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CoreModule, ActionGroupComponent, IconComponent, ButtonComponent], template: "<ng-content select=\"odx-checkbox\"></ng-content>\n<ng-content select=\"odx-avatar\"></ng-content>\n<div class=\"odx-rich-list-header__title\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-rich-list-header__action-group\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n<odx-action-group class=\"odx-rich-list-header__expand-button\">\n <button odxButton (click)=\"toggle()\">\n <odx-icon class=\"odx-rich-list-header__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n </button>\n</odx-action-group>\n" }]
|
|
55
|
+
}], propDecorators: { toggled: [{
|
|
56
|
+
type: Output
|
|
57
|
+
}] } });
|
|
58
|
+
|
|
31
59
|
let RichListItemComponent = class RichListItemComponent {
|
|
32
60
|
constructor() {
|
|
61
|
+
this.disabledController = DisabledController.inject();
|
|
62
|
+
this.takeUntilDestroyed = untilDestroyed();
|
|
33
63
|
this.expandableItem = inject(ExpandableItemDirective, { self: true });
|
|
34
64
|
this.element = injectElement();
|
|
35
65
|
this.expandedChange = new EventEmitter();
|
|
36
66
|
}
|
|
67
|
+
ngAfterViewInit() {
|
|
68
|
+
this.header?.toggled.pipe(this.takeUntilDestroyed()).subscribe(() => this.expandableItem.toggle());
|
|
69
|
+
}
|
|
37
70
|
get titleId() {
|
|
38
71
|
return `${this.expandableItem.id}-title`;
|
|
39
72
|
}
|
|
40
73
|
get slotId() {
|
|
41
74
|
return `${this.expandableItem.id}-slot`;
|
|
42
75
|
}
|
|
76
|
+
get empty() {
|
|
77
|
+
return !this.content;
|
|
78
|
+
}
|
|
79
|
+
get isDisabled() {
|
|
80
|
+
return !!this.disabledController?.disabled;
|
|
81
|
+
}
|
|
43
82
|
onAnimationEnd() {
|
|
44
83
|
this.expandedChange.emit(this.expandableItem.expanded);
|
|
45
84
|
}
|
|
46
85
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemComponent, isStandalone: true, selector: "odx-rich-list-item", outputs: { expandedChange: "expandedChange" }, host: { properties: { "class.odx-rich-list-item--expanded": "expandableItem.expanded", "attr.id": "expandableItem.id" } }, hostDirectives: [{ directive: i1.ExpandableItemDirective, inputs: ["expanded", "expanded", "id", "id"] }], ngImport: i0, template: "<div
|
|
86
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemComponent, isStandalone: true, selector: "odx-rich-list-item", outputs: { expandedChange: "expandedChange" }, host: { properties: { "class.is-disabled": "isDisabled", "class.odx-rich-list-item--expanded": "expandableItem.expanded", "class.odx-rich-list-item--empty": "empty", "attr.id": "expandableItem.id" } }, providers: [DisabledController.connect()], queries: [{ propertyName: "content", first: true, predicate: RichListItemContentComponent, descendants: true }, { propertyName: "header", first: true, predicate: RichListItemHeaderComponent, descendants: true }], hostDirectives: [{ directive: i1.ExpandableItemDirective, inputs: ["expanded", "expanded", "id", "id"] }], ngImport: i0, template: "<div class=\"odx-rich-list-item__header\" [attr.id]=\"titleId\" [attr.aria-expanded]=\"expandableItem.expanded\" [attr.aria-controls]=\"slotId\">\n <ng-content select=\"odx-rich-list-header\"></ng-content>\n</div>\n<div\n class=\"odx-rich-list-item__slot\"\n *ngIf=\"expandableItem.expanded\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n [attr.aria-labelledby]=\"titleId\"\n [attr.id]=\"slotId\"\n>\n <ng-content select=\"odx-rich-list-content\"></ng-content>\n</div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreModule }], animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
48
87
|
};
|
|
49
88
|
RichListItemComponent = __decorate([
|
|
50
89
|
CSSComponent('rich-list-item')
|
|
51
90
|
], RichListItemComponent);
|
|
52
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemComponent, decorators: [{
|
|
53
92
|
type: Component,
|
|
54
|
-
args: [{ selector: 'odx-rich-list-item', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [A11yModule, CoreModule,
|
|
93
|
+
args: [{ selector: 'odx-rich-list-item', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [A11yModule, CoreModule], providers: [DisabledController.connect()], hostDirectives: [{ directive: ExpandableItemDirective, inputs: ['expanded', 'id'] }], host: {
|
|
94
|
+
'[class.is-disabled]': 'isDisabled',
|
|
55
95
|
'[class.odx-rich-list-item--expanded]': 'expandableItem.expanded',
|
|
96
|
+
'[class.odx-rich-list-item--empty]': 'empty',
|
|
56
97
|
'[attr.id]': 'expandableItem.id',
|
|
57
|
-
}, animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])], template: "<div
|
|
98
|
+
}, animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])], template: "<div class=\"odx-rich-list-item__header\" [attr.id]=\"titleId\" [attr.aria-expanded]=\"expandableItem.expanded\" [attr.aria-controls]=\"slotId\">\n <ng-content select=\"odx-rich-list-header\"></ng-content>\n</div>\n<div\n class=\"odx-rich-list-item__slot\"\n *ngIf=\"expandableItem.expanded\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n [attr.aria-labelledby]=\"titleId\"\n [attr.id]=\"slotId\"\n>\n <ng-content select=\"odx-rich-list-content\"></ng-content>\n</div>\n" }]
|
|
58
99
|
}], propDecorators: { expandedChange: [{
|
|
59
100
|
type: Output
|
|
101
|
+
}], content: [{
|
|
102
|
+
type: ContentChild,
|
|
103
|
+
args: [RichListItemContentComponent]
|
|
104
|
+
}], header: [{
|
|
105
|
+
type: ContentChild,
|
|
106
|
+
args: [RichListItemHeaderComponent]
|
|
60
107
|
}] } });
|
|
61
108
|
|
|
62
|
-
class
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
i0.ɵɵ
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
109
|
+
let RichListComponent = class RichListComponent {
|
|
110
|
+
constructor() {
|
|
111
|
+
this.element = injectElement();
|
|
112
|
+
}
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RichListComponent, isStandalone: true, selector: "odx-rich-list", hostDirectives: [{ directive: i1.ExpandableContainerDirective, inputs: ["multiple", "multiple"] }], ngImport: i0, template: "<ng-content select=\"odx-rich-list-item\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
115
|
+
};
|
|
116
|
+
RichListComponent = __decorate([
|
|
117
|
+
CSSComponent('rich-list')
|
|
118
|
+
], RichListComponent);
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListComponent, decorators: [{
|
|
120
|
+
type: Component,
|
|
121
|
+
args: [{ selector: 'odx-rich-list', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [{ directive: ExpandableContainerDirective, inputs: ['multiple'] }], template: "<ng-content select=\"odx-rich-list-item\"></ng-content>\n" }]
|
|
72
122
|
}] });
|
|
73
123
|
|
|
74
|
-
const modules = [RichListComponent, RichListItemComponent,
|
|
124
|
+
const modules = [RichListComponent, RichListItemComponent, RichListItemHeaderComponent, RichListItemContentComponent];
|
|
75
125
|
class RichListModule {
|
|
76
126
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
77
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, imports: [RichListComponent, RichListItemComponent,
|
|
78
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, imports: [RichListItemComponent, CoreModule] }); }
|
|
127
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, imports: [RichListComponent, RichListItemComponent, RichListItemHeaderComponent, RichListItemContentComponent], exports: [CoreModule, RichListComponent, RichListItemComponent, RichListItemHeaderComponent, RichListItemContentComponent] }); }
|
|
128
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, imports: [RichListItemComponent, RichListItemHeaderComponent, CoreModule] }); }
|
|
79
129
|
}
|
|
80
130
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListModule, decorators: [{
|
|
81
131
|
type: NgModule,
|
|
@@ -89,5 +139,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
89
139
|
* Generated bundle index. Do not edit.
|
|
90
140
|
*/
|
|
91
141
|
|
|
92
|
-
export { RichListComponent, RichListItemComponent,
|
|
142
|
+
export { RichListComponent, RichListItemComponent, RichListItemContentComponent, RichListItemHeaderComponent, RichListModule };
|
|
93
143
|
//# sourceMappingURL=odx-angular-components-rich-list.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odx-angular-components-rich-list.mjs","sources":["../../../../libs/angular/components/rich-list/src/lib/rich-list.component.ts","../../../../libs/angular/components/rich-list/src/lib/rich-list.component.html","../../../../libs/angular/components/rich-list/src/lib/components/rich-list-item/rich-list-item.component.ts","../../../../libs/angular/components/rich-list/src/lib/components/rich-list-item/rich-list-item.component.html","../../../../libs/angular/components/rich-list/src/lib/directives/rich-list-item-title.ts","../../../../libs/angular/components/rich-list/src/lib/rich-list.module.ts","../../../../libs/angular/components/rich-list/src/odx-angular-components-rich-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { ExpandableContainerDirective } from '@odx/angular/cdk/expandable';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('rich-list')\n@Component({\n selector: 'odx-rich-list',\n templateUrl: './rich-list.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [{ directive: ExpandableContainerDirective, inputs: ['multiple'] }],\n})\nexport class RichListComponent {\n public readonly element = injectElement();\n}\n","<ng-content select=\"odx-rich-list-item\"></ng-content>\n","import { transition, trigger, useAnimation } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Output, ViewEncapsulation, inject } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { collapse, expand } from '@odx/angular/animations';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { ExpandableItemDirective } from '@odx/angular/cdk/expandable';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('rich-list-item')\n@Component({\n selector: 'odx-rich-list-item',\n templateUrl: './rich-list-item.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [A11yModule, CoreModule, IconComponent],\n hostDirectives: [{ directive: ExpandableItemDirective, inputs: ['expanded', 'id'] }],\n host: {\n '[class.odx-rich-list-item--expanded]': 'expandableItem.expanded',\n '[attr.id]': 'expandableItem.id',\n },\n animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])],\n})\nexport class RichListItemComponent {\n protected readonly expandableItem = inject(ExpandableItemDirective, { self: true });\n public readonly element = injectElement();\n\n @Output()\n public expandedChange: EventEmitter<boolean> = new EventEmitter();\n\n public get titleId(): string {\n return `${this.expandableItem.id}-title`;\n }\n\n public get slotId(): string {\n return `${this.expandableItem.id}-slot`;\n }\n\n public onAnimationEnd(): void {\n this.expandedChange.emit(this.expandableItem.expanded);\n }\n}\n","<div\n class=\"odx-rich-list-item__panel\"\n [attr.id]=\"titleId\"\n [attr.aria-expanded]=\"expandableItem.expanded\"\n [attr.aria-controls]=\"slotId\"\n (odxCdkInteractive)=\"expandableItem.toggle()\"\n>\n <odx-icon class=\"odx-rich-list-item__icon\" name=\"chevron-right\" iconSet=\"core\"></odx-icon>\n <ng-content select=\"odx-rich-list-item-title\"></ng-content>\n</div>\n<div\n class=\"odx-rich-list-item__slot\"\n [attr.id]=\"slotId\"\n [attr.aria-labelledby]=\"titleId\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n *ngIf=\"expandableItem.expanded\"\n>\n <ng-content></ng-content>\n</div>\n","import { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'odx-rich-list-item-title',\n})\nexport class RichListItemTitleDirective {}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { RichListComponent } from './rich-list.component';\nimport { RichListItemComponent } from './components';\nimport { RichListItemTitleDirective } from './directives';\n\nconst modules = [RichListComponent, RichListItemComponent, RichListItemTitleDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class RichListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAca,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAC3C,KAAA;+GAFY,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,C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AAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0BAA0B;AACrC,iBAAA,CAAA;;;ACCD,MAAM,OAAO,GAAG,CAAC,iBAAiB,EAAE,qBAAqB,EAAE,0BAA0B,CAAC,CAAC;MAM1E,cAAc,CAAA;+GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EANV,OAAA,EAAA,CAAA,iBAAiB,EAAE,qBAAqB,EAAE,0BAA0B,CAIzE,EAAA,OAAA,EAAA,CAAA,UAAU,EAJL,iBAAiB,EAAE,qBAAqB,EAAE,0BAA0B,CAAA,EAAA,CAAA,CAAA,EAAA;gHAMxE,cAAc,EAAA,OAAA,EAAA,CANS,qBAAqB,EAI7C,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAET,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"odx-angular-components-rich-list.mjs","sources":["../../../../libs/angular/components/rich-list/src/lib/components/rich-list-content/rich-list-content.component.ts","../../../../libs/angular/components/rich-list/src/lib/components/rich-list-header/rich-list-header.component.ts","../../../../libs/angular/components/rich-list/src/lib/components/rich-list-header/rich-list-header.component.html","../../../../libs/angular/components/rich-list/src/lib/components/rich-list-item/rich-list-item.component.ts","../../../../libs/angular/components/rich-list/src/lib/components/rich-list-item/rich-list-item.component.html","../../../../libs/angular/components/rich-list/src/lib/rich-list.component.ts","../../../../libs/angular/components/rich-list/src/lib/rich-list.component.html","../../../../libs/angular/components/rich-list/src/lib/rich-list.module.ts","../../../../libs/angular/components/rich-list/src/odx-angular-components-rich-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('rich-list-content')\n@Component({\n standalone: true,\n selector: 'odx-rich-list-content',\n template: ` <ng-content></ng-content> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class RichListItemContentComponent {\n public readonly element = injectElement();\n}\n","import { ChangeDetectionStrategy, Component, EventEmitter, Output, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('rich-list-header')\n@Component({\n standalone: true,\n selector: 'odx-rich-list-header',\n templateUrl: 'rich-list-header.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [CoreModule, ActionGroupComponent, IconComponent, ButtonComponent],\n})\nexport class RichListItemHeaderComponent {\n public readonly element = injectElement();\n\n @Output()\n public toggled: EventEmitter<void> = new EventEmitter();\n\n public toggle(): void {\n this.toggled.emit();\n }\n}\n","<ng-content select=\"odx-checkbox\"></ng-content>\n<ng-content select=\"odx-avatar\"></ng-content>\n<div class=\"odx-rich-list-header__title\">\n <ng-content></ng-content>\n</div>\n<odx-action-group class=\"odx-rich-list-header__action-group\">\n <ng-content select=\"[odxButton]\" ngProjectAs=\"[odxButton]\"></ng-content>\n</odx-action-group>\n<odx-action-group class=\"odx-rich-list-header__expand-button\">\n <button odxButton (click)=\"toggle()\">\n <odx-icon class=\"odx-rich-list-header__icon\" name=\"chevron-down\" iconSet=\"core\"></odx-icon>\n </button>\n</odx-action-group>\n","import { transition, trigger, useAnimation } from '@angular/animations';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, Output, ViewEncapsulation, inject } from '@angular/core';\nimport { CoreModule, DisabledController } from '@odx/angular';\nimport { collapse, expand } from '@odx/angular/animations';\nimport { A11yModule } from '@odx/angular/cdk/a11y';\nimport { ExpandableItemDirective } from '@odx/angular/cdk/expandable';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\nimport { RichListItemContentComponent } from '../rich-list-content/rich-list-content.component';\nimport { RichListItemHeaderComponent } from '../rich-list-header/rich-list-header.component';\n\n@CSSComponent('rich-list-item')\n@Component({\n selector: 'odx-rich-list-item',\n templateUrl: './rich-list-item.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [A11yModule, CoreModule],\n providers: [DisabledController.connect()],\n hostDirectives: [{ directive: ExpandableItemDirective, inputs: ['expanded', 'id'] }],\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[class.odx-rich-list-item--expanded]': 'expandableItem.expanded',\n '[class.odx-rich-list-item--empty]': 'empty',\n '[attr.id]': 'expandableItem.id',\n },\n animations: [trigger('expandSlotAnimation', [transition(':enter', [useAnimation(expand)]), transition(':leave', [useAnimation(collapse)])])],\n})\nexport class RichListItemComponent implements AfterViewInit {\n private readonly disabledController = DisabledController.inject();\n private readonly takeUntilDestroyed = untilDestroyed();\n public readonly expandableItem = inject(ExpandableItemDirective, { self: true });\n public readonly element = injectElement();\n\n @Output()\n public expandedChange: EventEmitter<boolean> = new EventEmitter();\n\n @ContentChild(RichListItemContentComponent)\n public content?: RichListItemContentComponent;\n\n @ContentChild(RichListItemHeaderComponent)\n public header?: RichListItemHeaderComponent;\n\n public ngAfterViewInit(): void {\n this.header?.toggled.pipe(this.takeUntilDestroyed()).subscribe(() => this.expandableItem.toggle());\n }\n\n public get titleId(): string {\n return `${this.expandableItem.id}-title`;\n }\n\n public get slotId(): string {\n return `${this.expandableItem.id}-slot`;\n }\n\n public get empty(): boolean {\n return !this.content;\n }\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n public onAnimationEnd(): void {\n this.expandedChange.emit(this.expandableItem.expanded);\n }\n}\n","<div class=\"odx-rich-list-item__header\" [attr.id]=\"titleId\" [attr.aria-expanded]=\"expandableItem.expanded\" [attr.aria-controls]=\"slotId\">\n <ng-content select=\"odx-rich-list-header\"></ng-content>\n</div>\n<div\n class=\"odx-rich-list-item__slot\"\n *ngIf=\"expandableItem.expanded\"\n @expandSlotAnimation\n (@expandSlotAnimation.done)=\"onAnimationEnd()\"\n [attr.aria-labelledby]=\"titleId\"\n [attr.id]=\"slotId\"\n>\n <ng-content select=\"odx-rich-list-content\"></ng-content>\n</div>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { ExpandableContainerDirective } from '@odx/angular/cdk/expandable';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('rich-list')\n@Component({\n selector: 'odx-rich-list',\n templateUrl: './rich-list.component.html',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [{ directive: ExpandableContainerDirective, inputs: ['multiple'] }],\n})\nexport class RichListComponent {\n public readonly element = injectElement();\n}\n","<ng-content select=\"odx-rich-list-item\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { RichListItemComponent, RichListItemHeaderComponent } from './components';\nimport { RichListItemContentComponent } from './components/rich-list-content/rich-list-content.component';\nimport { RichListComponent } from './rich-list.component';\n\nconst modules = [RichListComponent, RichListItemComponent, RichListItemHeaderComponent, RichListItemContentComponent];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class RichListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAYa,IAAA,4BAA4B,GAAlC,MAAM,4BAA4B,CAAA;AAAlC,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAC3C,KAAA;+GAFY,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,4BAA4B,iFAJ7B,CAA6B,2BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;AAI5B,4BAA4B,GAAA,UAAA,CAAA;IARxC,YAAY,CAAC,mBAAmB,CAAC;AAQrB,CAAA,EAAA,4BAA4B,CAExC,CAAA;4FAFY,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAPxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,QAAQ,EAAE,CAA6B,2BAAA,CAAA;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;AACtC,iBAAA,CAAA;;;ACMY,IAAA,2BAA2B,GAAjC,MAAM,2BAA2B,CAAA;AAAjC,IAAA,WAAA,GAAA;QACW,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;A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AA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YANV,iBAAiB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,4BAA4B,CAIxG,EAAA,OAAA,EAAA,CAAA,UAAU,EAJL,iBAAiB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,4BAA4B,CAAA,EAAA,CAAA,CAAA,EAAA;AAMvG,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EANS,OAAA,EAAA,CAAA,qBAAqB,EAAE,2BAA2B,EAI1E,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAET,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;AAClC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './rich-list-item-title';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class RichListItemTitleDirective {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichListItemTitleDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RichListItemTitleDirective, "odx-rich-list-item-title", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './rich-list-item-title';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy9yaWNoLWxpc3Qvc3JjL2xpYi9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3JpY2gtbGlzdC1pdGVtLXRpdGxlJztcbiJdfQ==
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class RichListItemTitleDirective {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RichListItemTitleDirective, isStandalone: true, selector: "odx-rich-list-item-title", ngImport: i0 }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RichListItemTitleDirective, decorators: [{
|
|
8
|
-
type: Directive,
|
|
9
|
-
args: [{
|
|
10
|
-
standalone: true,
|
|
11
|
-
selector: 'odx-rich-list-item-title',
|
|
12
|
-
}]
|
|
13
|
-
}] });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC1saXN0LWl0ZW0tdGl0bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY29tcG9uZW50cy9yaWNoLWxpc3Qvc3JjL2xpYi9kaXJlY3RpdmVzL3JpY2gtbGlzdC1pdGVtLXRpdGxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTFDLE1BQU0sT0FBTywwQkFBMEI7K0dBQTFCLDBCQUEwQjttR0FBMUIsMEJBQTBCOzs0RkFBMUIsMEJBQTBCO2tCQUp0QyxTQUFTO21CQUFDO29CQUNULFVBQVUsRUFBRSxJQUFJO29CQUNoQixRQUFRLEVBQUUsMEJBQTBCO2lCQUNyQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgc2VsZWN0b3I6ICdvZHgtcmljaC1saXN0LWl0ZW0tdGl0bGUnLFxufSlcbmV4cG9ydCBjbGFzcyBSaWNoTGlzdEl0ZW1UaXRsZURpcmVjdGl2ZSB7fVxuIl19
|