@ethlete/cdk 4.53.5 → 4.54.1
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 +12 -0
- package/fesm2022/ethlete-cdk.mjs +862 -896
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/accordion/{partials/accordion-hint-wrapper → accordion}/accordion-hint-wrapper.directive.d.ts +2 -1
- package/lib/components/accordion/{partials/accordion-label-wrapper → accordion}/accordion-label-wrapper.directive.d.ts +2 -1
- package/lib/components/accordion/accordion/accordion.component.d.ts +19 -0
- package/lib/components/accordion/accordion/index.d.ts +7 -0
- package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +8 -0
- package/lib/components/accordion/accordion.imports.d.ts +2 -6
- package/lib/components/accordion/public-api/index.d.ts +2 -6
- package/lib/components/overlay/components/bottom-sheet/bottom-sheet.imports.d.ts +3 -3
- package/lib/components/overlay/components/dialog/dialog.imports.d.ts +3 -3
- package/lib/components/overlay/components/overlay/utils/overlay-position-builder.d.ts +6 -6
- package/lib/components/sort/components/sort-header/sort-header.component.d.ts +1 -1
- package/lib/components/sort/components/sort-header/sort-header.types.d.ts +1 -1
- package/lib/components/sort/partials/sort/sort.directive.d.ts +2 -2
- package/lib/components/sort/partials/sort/sort.types.d.ts +1 -5
- package/lib/components/sort/public-api/index.d.ts +0 -1
- package/package.json +8 -8
- package/lib/components/accordion/components/accordion/accordion.component.d.ts +0 -28
- package/lib/components/accordion/components/accordion/index.d.ts +0 -3
- package/lib/components/accordion/components/accordion-group/accordion-group.component.d.ts +0 -11
- package/lib/components/accordion/partials/accordion-hint/index.d.ts +0 -1
- package/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.constants.d.ts +0 -3
- package/lib/components/accordion/partials/accordion-hint-wrapper/index.d.ts +0 -2
- package/lib/components/accordion/partials/accordion-label/index.d.ts +0 -1
- package/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.constants.d.ts +0 -3
- package/lib/components/accordion/partials/accordion-label-wrapper/index.d.ts +0 -2
- package/lib/components/sort/types/index.d.ts +0 -1
- package/lib/components/sort/types/sort-direction.d.ts +0 -1
- /package/lib/components/accordion/{partials/accordion-hint → accordion}/accordion-hint.directive.d.ts +0 -0
- /package/lib/components/accordion/{partials/accordion-label → accordion}/accordion-label.directive.d.ts +0 -0
- /package/lib/components/accordion/{components/accordion → accordion}/accordion.component.animations.d.ts +0 -0
- /package/lib/components/accordion/{components/accordion → accordion}/accordion.component.constants.d.ts +0 -0
- /package/lib/components/accordion/{components/accordion-group → accordion-group}/index.d.ts +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
2
|
import { CdkPortal } from '@angular/cdk/portal';
|
|
2
|
-
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const ACCORDION_HINT_WRAPPER_DIRECTIVE: InjectionToken<AccordionHintWrapperDirective>;
|
|
4
5
|
export declare class AccordionHintWrapperDirective extends CdkPortal {
|
|
5
6
|
constructor(templateRef: TemplateRef<unknown>, viewContainerRef: ViewContainerRef);
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionHintWrapperDirective, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
2
|
import { CdkPortal } from '@angular/cdk/portal';
|
|
2
|
-
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const ACCORDION_LABEL_WRAPPER_DIRECTIVE: InjectionToken<AccordionLabelWrapperDirective>;
|
|
4
5
|
export declare class AccordionLabelWrapperDirective extends CdkPortal {
|
|
5
6
|
constructor(templateRef: TemplateRef<unknown>, viewContainerRef: ViewContainerRef);
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionLabelWrapperDirective, never>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AccordionComponent {
|
|
3
|
+
isOpenByDefault: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
5
|
+
label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
isOpen: import("@angular/core").ModelSignal<boolean>;
|
|
7
|
+
isOpen$: import("rxjs").Observable<boolean>;
|
|
8
|
+
templateLabel: import("@angular/core").Signal<import("./accordion-label-wrapper.directive").AccordionLabelWrapperDirective | undefined>;
|
|
9
|
+
templateHint: import("@angular/core").Signal<import("./accordion-hint-wrapper.directive").AccordionHintWrapperDirective | undefined>;
|
|
10
|
+
readonly ID: string;
|
|
11
|
+
readonly BODY_ID: string;
|
|
12
|
+
readonly HEADER_ID: string;
|
|
13
|
+
constructor();
|
|
14
|
+
toggleAccordionOpen(): void;
|
|
15
|
+
open(): void;
|
|
16
|
+
close(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "et-accordion", never, { "isOpenByDefault": { "alias": "isOpenByDefault"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; }, ["templateLabel", "templateHint"], ["*"], true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './accordion-hint-wrapper.directive';
|
|
2
|
+
export * from './accordion-hint.directive';
|
|
3
|
+
export * from './accordion-label-wrapper.directive';
|
|
4
|
+
export * from './accordion-label.directive';
|
|
5
|
+
export * from './accordion.component';
|
|
6
|
+
export * from './accordion.component.animations';
|
|
7
|
+
export * from './accordion.component.constants';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AccordionGroupComponent {
|
|
3
|
+
autoCloseOthers: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4
|
+
accordions: import("@angular/core").Signal<readonly import("../accordion").AccordionComponent[]>;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionGroupComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionGroupComponent, "et-accordion-group", never, { "autoCloseOthers": { "alias": "autoCloseOthers"; "required": false; "isSignal": true; }; }, {}, ["accordions"], ["et-accordion"], true, never>;
|
|
8
|
+
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { AccordionComponent } from './
|
|
2
|
-
import { AccordionGroupComponent } from './
|
|
3
|
-
import { AccordionHintDirective } from './partials/accordion-hint';
|
|
4
|
-
import { AccordionHintWrapperDirective } from './partials/accordion-hint-wrapper';
|
|
5
|
-
import { AccordionLabelDirective } from './partials/accordion-label';
|
|
6
|
-
import { AccordionLabelWrapperDirective } from './partials/accordion-label-wrapper';
|
|
1
|
+
import { AccordionComponent, AccordionHintDirective, AccordionHintWrapperDirective, AccordionLabelDirective, AccordionLabelWrapperDirective } from './accordion';
|
|
2
|
+
import { AccordionGroupComponent } from './accordion-group';
|
|
7
3
|
export declare const AccordionImports: readonly [typeof AccordionHintDirective, typeof AccordionHintWrapperDirective, typeof AccordionLabelDirective, typeof AccordionLabelWrapperDirective, typeof AccordionComponent, typeof AccordionGroupComponent];
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
+
export * from '../accordion';
|
|
2
|
+
export * from '../accordion-group';
|
|
1
3
|
export * from '../accordion.imports';
|
|
2
|
-
export * from '../components/accordion';
|
|
3
|
-
export * from '../components/accordion-group';
|
|
4
|
-
export * from '../partials/accordion-hint';
|
|
5
|
-
export * from '../partials/accordion-hint-wrapper';
|
|
6
|
-
export * from '../partials/accordion-label';
|
|
7
|
-
export * from '../partials/accordion-label-wrapper';
|
|
@@ -11,11 +11,11 @@ export declare const BottomSheetImports: readonly [typeof BottomSheetContainerCo
|
|
|
11
11
|
* @deprecated Will be removed in v5.
|
|
12
12
|
*/
|
|
13
13
|
export declare const provideBottomSheet: () => (typeof Dialog | {
|
|
14
|
-
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-
|
|
14
|
+
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-b1222156").S>;
|
|
15
15
|
deps: typeof import("@angular/core").Injector[];
|
|
16
16
|
useFactory: typeof import("./constants").BOTTOM_SHEET_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
17
17
|
} | typeof BottomSheetService | {
|
|
18
|
-
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-
|
|
19
|
-
deps: (typeof import("@angular/cdk/overlay.d-
|
|
18
|
+
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-b1222156").S>;
|
|
19
|
+
deps: (typeof import("@angular/cdk/overlay.d-651b91d5").O)[];
|
|
20
20
|
useFactory: typeof import("@angular/cdk/dialog").DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
21
21
|
})[];
|
|
@@ -11,11 +11,11 @@ export declare const DialogImports: readonly [typeof DialogContainerComponent, t
|
|
|
11
11
|
* @deprecated Will be removed in v5.
|
|
12
12
|
*/
|
|
13
13
|
export declare const provideDialog: () => (typeof Dialog | {
|
|
14
|
-
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-
|
|
15
|
-
deps: (typeof import("@angular/cdk/overlay.d-
|
|
14
|
+
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-b1222156").S>;
|
|
15
|
+
deps: (typeof import("@angular/cdk/overlay.d-651b91d5").O)[];
|
|
16
16
|
useFactory: typeof import("@angular/cdk/dialog").DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
17
17
|
} | {
|
|
18
|
-
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-
|
|
18
|
+
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-b1222156").S>;
|
|
19
19
|
deps: typeof import("@angular/core").Injector[];
|
|
20
20
|
useFactory: typeof import("./constants").DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
21
21
|
} | typeof DialogService)[];
|
|
@@ -19,7 +19,7 @@ export declare class OverlayPositionBuilder {
|
|
|
19
19
|
minHeight: undefined;
|
|
20
20
|
minWidth: undefined;
|
|
21
21
|
containerClass: string;
|
|
22
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
22
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-651b91d5").G;
|
|
23
23
|
};
|
|
24
24
|
fullScreenDialog: {
|
|
25
25
|
width: string;
|
|
@@ -29,7 +29,7 @@ export declare class OverlayPositionBuilder {
|
|
|
29
29
|
minHeight: undefined;
|
|
30
30
|
minWidth: undefined;
|
|
31
31
|
containerClass: string;
|
|
32
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
32
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-651b91d5").G;
|
|
33
33
|
documentClass: string;
|
|
34
34
|
applyTransformOrigin: true;
|
|
35
35
|
};
|
|
@@ -41,7 +41,7 @@ export declare class OverlayPositionBuilder {
|
|
|
41
41
|
minHeight: undefined;
|
|
42
42
|
minWidth: undefined;
|
|
43
43
|
containerClass: string;
|
|
44
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
44
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-651b91d5").G;
|
|
45
45
|
dragToDismiss: {
|
|
46
46
|
direction: "to-bottom";
|
|
47
47
|
};
|
|
@@ -54,7 +54,7 @@ export declare class OverlayPositionBuilder {
|
|
|
54
54
|
minHeight: undefined;
|
|
55
55
|
minWidth: undefined;
|
|
56
56
|
containerClass: string;
|
|
57
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
57
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-651b91d5").G;
|
|
58
58
|
dragToDismiss: {
|
|
59
59
|
direction: "to-top";
|
|
60
60
|
};
|
|
@@ -67,7 +67,7 @@ export declare class OverlayPositionBuilder {
|
|
|
67
67
|
minHeight: undefined;
|
|
68
68
|
minWidth: undefined;
|
|
69
69
|
containerClass: string;
|
|
70
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
70
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-651b91d5").G;
|
|
71
71
|
dragToDismiss: {
|
|
72
72
|
direction: "to-left";
|
|
73
73
|
};
|
|
@@ -80,7 +80,7 @@ export declare class OverlayPositionBuilder {
|
|
|
80
80
|
minHeight: undefined;
|
|
81
81
|
minWidth: undefined;
|
|
82
82
|
containerClass: string;
|
|
83
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
83
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-651b91d5").G;
|
|
84
84
|
dragToDismiss: {
|
|
85
85
|
direction: "to-right";
|
|
86
86
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SortDirection } from '@ethlete/query';
|
|
2
3
|
import { SortHeaderArrowPosition, Sortable } from '../../partials/sort';
|
|
3
|
-
import { SortDirection } from '../../types';
|
|
4
4
|
import { ArrowViewStateTransition } from './sort-header.types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SortHeaderComponent implements Sortable, OnDestroy, OnInit, AfterViewInit {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, InjectionToken, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Sort, SortDirection } from '@ethlete/query';
|
|
3
4
|
import { Observable, Subject, Subscriber } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import { Sort, SortDefaultOptions, Sortable } from './sort.types';
|
|
5
|
+
import { SortDefaultOptions, Sortable } from './sort.types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const SORT_DEFAULT_OPTIONS: InjectionToken<SortDefaultOptions>;
|
|
8
8
|
export declare class SortDirective implements OnChanges, OnDestroy, OnInit {
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { SortDirection } from '
|
|
1
|
+
import { SortDirection } from '@ethlete/query';
|
|
2
2
|
export type SortHeaderArrowPosition = 'before' | 'after';
|
|
3
3
|
export interface Sortable {
|
|
4
4
|
id: string;
|
|
5
5
|
start: SortDirection;
|
|
6
6
|
disableClear: boolean;
|
|
7
7
|
}
|
|
8
|
-
export interface Sort {
|
|
9
|
-
active: string;
|
|
10
|
-
direction: SortDirection;
|
|
11
|
-
}
|
|
12
8
|
export interface SortDefaultOptions {
|
|
13
9
|
disableClear?: boolean;
|
|
14
10
|
arrowPosition?: SortHeaderArrowPosition;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethlete/cdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.54.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/animations": "19.2.
|
|
17
|
-
"@angular/cdk": "19.2.
|
|
18
|
-
"@angular/common": "19.2.
|
|
19
|
-
"@angular/core": "19.2.
|
|
20
|
-
"@angular/forms": "19.2.
|
|
21
|
-
"@angular/platform-browser": "19.2.
|
|
22
|
-
"@angular/router": "19.2.
|
|
16
|
+
"@angular/animations": "19.2.6",
|
|
17
|
+
"@angular/cdk": "19.2.9",
|
|
18
|
+
"@angular/common": "19.2.6",
|
|
19
|
+
"@angular/core": "19.2.6",
|
|
20
|
+
"@angular/forms": "19.2.6",
|
|
21
|
+
"@angular/platform-browser": "19.2.6",
|
|
22
|
+
"@angular/router": "19.2.6",
|
|
23
23
|
"@ethlete/core": "^4.0.3",
|
|
24
24
|
"@ethlete/query": "^5.0.3",
|
|
25
25
|
"@ethlete/theming": "^2.3.1",
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { AccordionHintWrapperDirective } from '../../partials/accordion-hint-wrapper';
|
|
4
|
-
import { AccordionLabelWrapperDirective } from '../../partials/accordion-label-wrapper';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AccordionComponent implements OnInit {
|
|
7
|
-
private readonly _id;
|
|
8
|
-
isOpenByDefault: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
label: string;
|
|
11
|
-
protected readonly templateLabel: AccordionLabelWrapperDirective;
|
|
12
|
-
protected readonly templateHint: AccordionHintWrapperDirective;
|
|
13
|
-
protected readonly bodyId: string;
|
|
14
|
-
protected readonly headerId: string;
|
|
15
|
-
_isFirst: boolean;
|
|
16
|
-
_isLast: boolean;
|
|
17
|
-
protected readonly _isOpen$: BehaviorSubject<boolean>;
|
|
18
|
-
get isOpen$(): import("rxjs").Observable<boolean>;
|
|
19
|
-
get isOpen(): boolean;
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
toggleAccordionOpen(): void;
|
|
22
|
-
open(): void;
|
|
23
|
-
close(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "et-accordion", never, { "isOpenByDefault": { "alias": "isOpenByDefault"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, ["templateLabel", "templateHint"], ["*"], true, never>;
|
|
26
|
-
static ngAcceptInputType_isOpenByDefault: unknown;
|
|
27
|
-
static ngAcceptInputType_disabled: unknown;
|
|
28
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AccordionGroupComponent implements AfterContentInit {
|
|
4
|
-
private readonly _destroy$;
|
|
5
|
-
autoCloseOthers: boolean;
|
|
6
|
-
private readonly _accordions?;
|
|
7
|
-
ngAfterContentInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionGroupComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionGroupComponent, "et-accordion-group", never, { "autoCloseOthers": { "alias": "autoCloseOthers"; "required": false; }; }, {}, ["_accordions"], ["et-accordion"], true, never>;
|
|
10
|
-
static ngAcceptInputType_autoCloseOthers: unknown;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './accordion-hint.directive';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './accordion-label.directive';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './sort-direction';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type SortDirection = 'asc' | 'desc' | '';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|