@porscheinformatik/clr-addons 19.11.1 → 19.11.3
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/export-datagrid-button/export-datagrid-button.component.d.ts +5 -2
- package/fesm2022/clr-addons.mjs +144 -77
- package/fesm2022/clr-addons.mjs.map +1 -1
- package/package.json +1 -1
- package/summary-area/summary-area/summary-area-state.service.d.ts +3 -2
- package/summary-area/summary-area/summary-area.d.ts +9 -8
- package/summary-area/summary-item/summary-item.d.ts +2 -1
- package/summary-area/summary-item-value/summary-item-value.d.ts +6 -0
- package/summary-area/summary-item-value-copy-button/summary-item-value-copy-button.d.ts +14 -4
package/package.json
CHANGED
|
@@ -3,11 +3,12 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare const defaultSummaryAreaCollapsedKey = "clrSummaryAreaCollapsed";
|
|
4
4
|
export declare class ClrSummaryAreaStateService {
|
|
5
5
|
private readonly collapsedMap;
|
|
6
|
+
private readonly effectsInitialized;
|
|
7
|
+
private readonly injector;
|
|
6
8
|
collapsed(key?: string): Signal<boolean>;
|
|
9
|
+
private scheduleEffectCreation;
|
|
7
10
|
toggle(key?: string): void;
|
|
8
11
|
setCollapsed(key: string, value: boolean): void;
|
|
9
|
-
private getOrCreateEntry;
|
|
10
|
-
private persistToStorage;
|
|
11
12
|
private readInitialState;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSummaryAreaStateService, never>;
|
|
13
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClrSummaryAreaStateService>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { AfterViewInit, QueryList, Signal } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, OnInit, QueryList, Signal } from '@angular/core';
|
|
2
2
|
import { ClrSummaryItem } from '../summary-item/summary-item';
|
|
3
3
|
import { ClrSummaryAreaColumns, ClrSummaryAreaRows, ClrSummaryAreaError, ClrSummaryAreaWarning, ClrSummaryAreaLoading } from './summary-area.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ClrSummaryArea implements AfterViewInit {
|
|
5
|
+
export declare class ClrSummaryArea implements OnInit, AfterViewInit {
|
|
6
6
|
items: QueryList<ClrSummaryItem>;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
isCollapsed: Signal<boolean>;
|
|
8
|
+
rows: import("@angular/core").InputSignal<ClrSummaryAreaRows>;
|
|
9
|
+
localStorageKey: import("@angular/core").InputSignal<string>;
|
|
10
|
+
error: import("@angular/core").InputSignal<ClrSummaryAreaError>;
|
|
11
|
+
warning: import("@angular/core").InputSignal<ClrSummaryAreaWarning>;
|
|
12
|
+
loading: import("@angular/core").InputSignal<ClrSummaryAreaLoading>;
|
|
12
13
|
currentColumns: ClrSummaryAreaColumns;
|
|
13
14
|
currentRows: ClrSummaryAreaRows;
|
|
14
15
|
private readonly state;
|
|
@@ -17,8 +18,8 @@ export declare class ClrSummaryArea implements AfterViewInit {
|
|
|
17
18
|
private readonly defaultErrorText;
|
|
18
19
|
private readonly defaultWarningText;
|
|
19
20
|
private readonly maxColumns;
|
|
20
|
-
readonly isCollapsed: Signal<boolean>;
|
|
21
21
|
constructor();
|
|
22
|
+
ngOnInit(): void;
|
|
22
23
|
/**
|
|
23
24
|
* Depending on the current rows input only a specific amount of items can be visible to the user.
|
|
24
25
|
* The summary area only supports up to 5 columns.
|
|
@@ -13,6 +13,7 @@ export declare class ClrSummaryItem implements AfterContentInit, AfterViewChecke
|
|
|
13
13
|
editConfig: import("@angular/core").InputSignal<ClrSummaryItemEditConfig>;
|
|
14
14
|
showOnEmptyValue: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
valueCopyable: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
copyButtonTooltip: import("@angular/core").InputSignal<string>;
|
|
16
17
|
hasProjectedContent: boolean;
|
|
17
18
|
private readonly cdr;
|
|
18
19
|
private mutationObserver?;
|
|
@@ -53,5 +54,5 @@ export declare class ClrSummaryItem implements AfterContentInit, AfterViewChecke
|
|
|
53
54
|
private scheduleContentCheck;
|
|
54
55
|
private updateProjectedContentFlag;
|
|
55
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSummaryItem, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSummaryItem, "clr-summary-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "warning": { "alias": "warning"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "editConfig": { "alias": "editConfig"; "required": false; "isSignal": true; }; "showOnEmptyValue": { "alias": "showOnEmptyValue"; "required": false; "isSignal": true; }; "valueCopyable": { "alias": "valueCopyable"; "required": false; "isSignal": true; }; }, {}, ["valueChildren"], ["clr-summary-item-value", "*"], true, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSummaryItem, "clr-summary-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "warning": { "alias": "warning"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "editConfig": { "alias": "editConfig"; "required": false; "isSignal": true; }; "showOnEmptyValue": { "alias": "showOnEmptyValue"; "required": false; "isSignal": true; }; "valueCopyable": { "alias": "valueCopyable"; "required": false; "isSignal": true; }; "copyButtonTooltip": { "alias": "copyButtonTooltip"; "required": false; "isSignal": true; }; }, {}, ["valueChildren"], ["clr-summary-item-value", "*"], true, never>;
|
|
57
58
|
}
|
|
@@ -16,6 +16,7 @@ export declare class ClrSummaryItemValue implements OnInit, AfterContentInit, Af
|
|
|
16
16
|
private contentCheckScheduled;
|
|
17
17
|
private readonly ngZone;
|
|
18
18
|
private readonly cdr;
|
|
19
|
+
constructor();
|
|
19
20
|
get hasIcon(): boolean;
|
|
20
21
|
get hasText(): boolean;
|
|
21
22
|
get isHidden(): boolean;
|
|
@@ -46,6 +47,11 @@ export declare class ClrSummaryItemValue implements OnInit, AfterContentInit, Af
|
|
|
46
47
|
private scheduleContentCheck;
|
|
47
48
|
private setupOverflowDetection;
|
|
48
49
|
private checkTextOverflowSync;
|
|
50
|
+
/**
|
|
51
|
+
* Schedule an overflow check after the DOM has been updated.
|
|
52
|
+
* Uses setTimeout to ensure the check runs outside of change detection.
|
|
53
|
+
*/
|
|
54
|
+
private scheduleOverflowCheck;
|
|
49
55
|
/** @internal - Manually trigger projected content check. Useful for testing. */
|
|
50
56
|
checkProjectedContent(): void;
|
|
51
57
|
private hasMeaningfulContentRecursive;
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ClrSummaryItemValueCopyButton {
|
|
3
|
+
export declare class ClrSummaryItemValueCopyButton implements OnInit, OnDestroy {
|
|
3
4
|
value: import("@angular/core").InputSignal<string>;
|
|
4
|
-
|
|
5
|
+
tooltipText: import("@angular/core").InputSignal<string>;
|
|
6
|
+
showCopiedIcon: boolean;
|
|
7
|
+
protected tooltipSize: string;
|
|
5
8
|
private readonly cdr;
|
|
6
|
-
|
|
9
|
+
private resetTimeout;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
/**
|
|
13
|
+
* Called when the clipboard copy operation completes.
|
|
14
|
+
* @param success Whether the copy was successful
|
|
15
|
+
*/
|
|
16
|
+
onCopied(success: boolean): void;
|
|
7
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSummaryItemValueCopyButton, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSummaryItemValueCopyButton, "clr-summary-area-value-copy-button", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSummaryItemValueCopyButton, "clr-summary-area-value-copy-button", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "tooltipText": { "alias": "tooltipText"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
19
|
}
|