@lucca-front/ng 21.0.0-rc.4 → 21.0.0-rc.6
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/app-layout/index.d.ts +1 -1
- package/box/index.d.ts +3 -3
- package/breadcrumbs/index.d.ts +3 -3
- package/button/index.d.ts +26 -21
- package/callout/index.d.ts +65 -57
- package/chip/index.d.ts +1 -1
- package/code/index.d.ts +1 -1
- package/comment/index.d.ts +11 -14
- package/core/index.d.ts +10 -7
- package/core-select/index.d.ts +6 -4
- package/core-select/user/index.d.ts +3 -2
- package/data-table/index.d.ts +1 -1
- package/dialog/index.d.ts +65 -48
- package/empty-state/index.d.ts +23 -26
- package/fancy-box/index.d.ts +11 -10
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +59 -90
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +96 -130
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +14 -34
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +3 -3
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +14 -11
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +15 -21
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +6 -4
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +15 -15
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +96 -95
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +27 -68
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +2 -2
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +14 -28
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +2 -2
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +15 -17
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +6 -6
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +99 -187
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +14 -19
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +15 -22
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +27 -61
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +4 -8
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +3 -3
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +7 -11
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +40 -39
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +1 -1
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +8 -17
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +2 -2
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll-box.mjs +26 -24
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +19 -29
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +24 -40
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +31 -42
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +8 -18
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +55 -60
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +85 -108
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +2 -2
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +58 -96
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +6 -6
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/forms/index.d.ts +54 -62
- package/forms/phone-number-input/index.d.ts +13 -13
- package/icon/index.d.ts +10 -10
- package/index-table/index.d.ts +1 -1
- package/inline-message/index.d.ts +9 -11
- package/link/index.d.ts +12 -17
- package/mobile-push/index.d.ts +5 -6
- package/new-badge/index.d.ts +2 -3
- package/numeric-badge/index.d.ts +14 -11
- package/package.json +33 -37
- package/plg-push/index.d.ts +6 -8
- package/read-more/index.d.ts +1 -1
- package/schematics/collection.json +10 -0
- package/schematics/color-text/index.js +55 -0
- package/schematics/color-text/migration.spec.js +50 -0
- package/schematics/color-text/schema.json +23 -0
- package/schematics/lib/angular-component-ast.js +29 -0
- package/schematics/lu-text-input/index.js +24 -0
- package/schematics/lu-text-input/migration.js +116 -0
- package/schematics/lu-text-input/migration.spec.js +23 -0
- package/schematics/lu-text-input/schema.json +23 -0
- package/scroll/index.d.ts +20 -22
- package/scroll-box/index.d.ts +6 -5
- package/skeleton/index.d.ts +27 -32
- package/src/components/cdk/_global.scss +22 -1
- package/tag/index.d.ts +17 -15
- package/time/index.d.ts +5 -5
- package/toast/index.d.ts +23 -25
- package/tooltip/index.d.ts +35 -41
- package/user/index.d.ts +24 -32
- package/vertical-navigation/index.d.ts +16 -16
- package/fesm2022/lucca-front-ng-scrollBox.mjs +0 -6
- package/fesm2022/lucca-front-ng-scrollBox.mjs.map +0 -1
- package/scrollBox/index.d.ts +0 -1
package/scroll/index.d.ts
CHANGED
|
@@ -1,43 +1,41 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { OnInit, ElementRef
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OutputEmitterRef, OnInit, ElementRef } from '@angular/core';
|
|
4
3
|
|
|
5
4
|
interface ILuScrollable {
|
|
6
|
-
onScroll:
|
|
7
|
-
onScrollTop:
|
|
8
|
-
onScrollBottom:
|
|
9
|
-
onScrollLeft:
|
|
10
|
-
onScrollRight:
|
|
5
|
+
onScroll: OutputEmitterRef<Event>;
|
|
6
|
+
onScrollTop: OutputEmitterRef<Event>;
|
|
7
|
+
onScrollBottom: OutputEmitterRef<Event>;
|
|
8
|
+
onScrollLeft: OutputEmitterRef<Event>;
|
|
9
|
+
onScrollRight: OutputEmitterRef<Event>;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* emits on scroll events
|
|
15
14
|
*/
|
|
16
15
|
declare class LuScrollDirective implements ILuScrollable, OnInit {
|
|
16
|
+
#private;
|
|
17
17
|
protected _elementRef: ElementRef<HTMLElement>;
|
|
18
|
-
debounceTime: number
|
|
19
|
-
onScroll:
|
|
20
|
-
onScrollTop:
|
|
21
|
-
onScrollBottom:
|
|
22
|
-
onScrollLeft:
|
|
23
|
-
onScrollRight:
|
|
24
|
-
|
|
25
|
-
private scroll$;
|
|
26
|
-
_scroll($event: Event): void;
|
|
18
|
+
readonly debounceTime: _angular_core.InputSignal<number>;
|
|
19
|
+
readonly onScroll: _angular_core.OutputEmitterRef<Event>;
|
|
20
|
+
readonly onScrollTop: _angular_core.OutputEmitterRef<Event>;
|
|
21
|
+
readonly onScrollBottom: _angular_core.OutputEmitterRef<Event>;
|
|
22
|
+
readonly onScrollLeft: _angular_core.OutputEmitterRef<Event>;
|
|
23
|
+
readonly onScrollRight: _angular_core.OutputEmitterRef<Event>;
|
|
24
|
+
scroll(event: Event): void;
|
|
27
25
|
ngOnInit(): void;
|
|
28
26
|
private emitScrollEvents;
|
|
29
27
|
constructor(_elementRef: ElementRef<HTMLElement>);
|
|
30
|
-
static ɵfac:
|
|
31
|
-
static ɵdir:
|
|
28
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuScrollDirective, never>;
|
|
29
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuScrollDirective, "[luScroll]", ["luScroll"], { "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "onScroll": "onScroll"; "onScrollTop": "onScrollTop"; "onScrollBottom": "onScrollBottom"; "onScrollLeft": "onScrollLeft"; "onScrollRight": "onScrollRight"; }, never, never, true, never>;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
/**
|
|
35
33
|
* @deprecated use `LuScrollDirective` instead
|
|
36
34
|
*/
|
|
37
35
|
declare class LuScrollModule {
|
|
38
|
-
static ɵfac:
|
|
39
|
-
static ɵmod:
|
|
40
|
-
static ɵinj:
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuScrollModule, never>;
|
|
37
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuScrollModule, never, [typeof LuScrollDirective], [typeof LuScrollDirective]>;
|
|
38
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuScrollModule>;
|
|
41
39
|
}
|
|
42
40
|
|
|
43
41
|
export { LuScrollDirective, LuScrollModule };
|
package/scroll-box/index.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
declare class ScrollBoxComponent implements OnInit {
|
|
5
|
-
|
|
6
|
-
last: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
5
|
+
#private;
|
|
7
6
|
isFirstVisible: _angular_core.WritableSignal<boolean>;
|
|
8
7
|
isLastVisible: _angular_core.WritableSignal<boolean>;
|
|
9
|
-
|
|
8
|
+
vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
scroll(): void;
|
|
10
|
+
constructor();
|
|
10
11
|
ngOnInit(): void;
|
|
11
12
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScrollBoxComponent, never>;
|
|
12
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScrollBoxComponent, "lu-scroll-box", never, {}, {}, never, ["*"], true, never>;
|
|
13
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScrollBoxComponent, "lu-scroll-box", never, { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
export { ScrollBoxComponent };
|
package/skeleton/index.d.ts
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class SkeletonButtonComponent {
|
|
4
|
-
dark: boolean
|
|
5
|
-
size:
|
|
4
|
+
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5
|
+
readonly size: _angular_core.InputSignal<"XS" | "S" | "M">;
|
|
6
6
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonButtonComponent, never>;
|
|
7
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonButtonComponent, "lu-skeleton-button", never, { "dark": { "alias": "dark"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
static ngAcceptInputType_dark: unknown;
|
|
7
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonButtonComponent, "lu-skeleton-button", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
declare class SkeletonDataTableComponent {
|
|
12
|
-
dataTableBodyOnly: boolean
|
|
13
|
-
cols: _angular_core.InputSignal<number>;
|
|
14
|
-
colsNumber: _angular_core.Signal<unknown[]>;
|
|
15
|
-
rows: _angular_core.InputSignal<number>;
|
|
16
|
-
rowsNumber: _angular_core.Signal<unknown[]>;
|
|
17
|
-
getRandomPercent: (min?: number, max?: number) => string;
|
|
11
|
+
readonly dataTableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly cols: _angular_core.InputSignal<number>;
|
|
13
|
+
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
14
|
+
readonly rows: _angular_core.InputSignal<number>;
|
|
15
|
+
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
16
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
18
17
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonDataTableComponent, never>;
|
|
19
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonDataTableComponent, "lu-skeleton-data-table", never, { "dataTableBodyOnly": { "alias": "dataTableBodyOnly"; "required": false; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
-
static ngAcceptInputType_dataTableBodyOnly: unknown;
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonDataTableComponent, "lu-skeleton-data-table", never, { "dataTableBodyOnly": { "alias": "dataTableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
declare class SkeletonFieldComponent {
|
|
@@ -25,40 +23,37 @@ declare class SkeletonFieldComponent {
|
|
|
25
23
|
readonly hiddenLabel: _angular_core.InputSignalWithTransform<boolean, boolean | "false" | "true">;
|
|
26
24
|
readonly rows: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
27
25
|
readonly lines: _angular_core.Signal<unknown[]>;
|
|
28
|
-
readonly getRandomPercent: (min?: number, max?: number) =>
|
|
26
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
29
27
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonFieldComponent, never>;
|
|
30
28
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonFieldComponent, "lu-skeleton-field", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
declare class SkeletonHeaderComponent {
|
|
34
|
-
dark: boolean
|
|
32
|
+
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
33
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonHeaderComponent, never>;
|
|
36
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonHeaderComponent, "lu-skeleton-header", never, { "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
-
static ngAcceptInputType_dark: unknown;
|
|
34
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonHeaderComponent, "lu-skeleton-header", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
declare class SkeletonIndexTableComponent {
|
|
41
|
-
tableBodyOnly: boolean
|
|
42
|
-
cols: _angular_core.InputSignal<number>;
|
|
43
|
-
colsNumber: _angular_core.Signal<unknown[]>;
|
|
44
|
-
rows: _angular_core.InputSignal<number>;
|
|
45
|
-
rowsNumber: _angular_core.Signal<unknown[]>;
|
|
46
|
-
getRandomPercent: (min?: number, max?: number) => string;
|
|
38
|
+
readonly tableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
39
|
+
readonly cols: _angular_core.InputSignal<number>;
|
|
40
|
+
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
41
|
+
readonly rows: _angular_core.InputSignal<number>;
|
|
42
|
+
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
43
|
+
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
47
44
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonIndexTableComponent, never>;
|
|
48
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonIndexTableComponent, "lu-skeleton-index-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
49
|
-
static ngAcceptInputType_tableBodyOnly: unknown;
|
|
45
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonIndexTableComponent, "lu-skeleton-index-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
50
46
|
}
|
|
51
47
|
|
|
52
48
|
declare class SkeletonTableComponent {
|
|
53
|
-
tableBodyOnly: boolean
|
|
54
|
-
cols: _angular_core.InputSignal<number>;
|
|
55
|
-
colsNumber: _angular_core.Signal<unknown[]>;
|
|
56
|
-
rows: _angular_core.InputSignal<number>;
|
|
57
|
-
rowsNumber: _angular_core.Signal<unknown[]>;
|
|
58
|
-
|
|
49
|
+
readonly tableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
50
|
+
readonly cols: _angular_core.InputSignal<number>;
|
|
51
|
+
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
52
|
+
readonly rows: _angular_core.InputSignal<number>;
|
|
53
|
+
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
54
|
+
readonly randomPercent: string;
|
|
59
55
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonTableComponent, never>;
|
|
60
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonTableComponent, "lu-skeleton-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
61
|
-
static ngAcceptInputType_tableBodyOnly: unknown;
|
|
56
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonTableComponent, "lu-skeleton-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
62
57
|
}
|
|
63
58
|
|
|
64
59
|
export { SkeletonButtonComponent, SkeletonDataTableComponent, SkeletonFieldComponent, SkeletonHeaderComponent, SkeletonIndexTableComponent, SkeletonTableComponent };
|
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/overflow';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
|
+
|
|
4
|
+
@mixin stacked($level) {
|
|
5
|
+
$selector: '';
|
|
6
|
+
$string: '~ .cdk-global-overlay-wrapper';
|
|
7
|
+
|
|
8
|
+
@for $i from 1 through $level {
|
|
9
|
+
$selector: $selector + $string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:has(#{$selector}) {
|
|
13
|
+
.dialog {
|
|
14
|
+
&.mod-stacked {
|
|
15
|
+
--components-dialog-level: #{$level};
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
2
20
|
|
|
3
21
|
.cdk-global-overlay-wrapper {
|
|
4
22
|
block-size: 100%;
|
|
@@ -9,6 +27,10 @@
|
|
|
9
27
|
display: flex;
|
|
10
28
|
position: absolute;
|
|
11
29
|
z-index: 1000;
|
|
30
|
+
|
|
31
|
+
@for $i from 1 through 3 {
|
|
32
|
+
@include stacked($i);
|
|
33
|
+
}
|
|
12
34
|
}
|
|
13
35
|
|
|
14
36
|
.cdk-global-scrollblock {
|
|
@@ -17,4 +39,3 @@
|
|
|
17
39
|
|
|
18
40
|
@include overflow.scrollblock('!important');
|
|
19
41
|
}
|
|
20
|
-
|
package/tag/index.d.ts
CHANGED
|
@@ -3,37 +3,39 @@ import { LuccaIcon } from '@lucca-front/icons';
|
|
|
3
3
|
import { Palette, DecorativePalette } from '@lucca-front/ng/core';
|
|
4
4
|
|
|
5
5
|
declare class TagComponent {
|
|
6
|
-
withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7
|
-
label: string;
|
|
8
6
|
/**
|
|
9
|
-
* Which
|
|
7
|
+
* Which text should the tag be? Defaults to medium
|
|
10
8
|
*/
|
|
11
|
-
|
|
9
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
12
10
|
/**
|
|
13
|
-
* Which
|
|
11
|
+
* Which size should the tag be? Defaults to medium
|
|
12
|
+
*/
|
|
13
|
+
readonly size: _angular_core.InputSignal<"S" | "M" | "L">;
|
|
14
|
+
/**
|
|
15
|
+
* Which palette should be used for the entire tag.
|
|
14
16
|
* Defaults to none (inherits parent palette)
|
|
15
17
|
*/
|
|
16
|
-
palette: Palette | DecorativePalette
|
|
18
|
+
readonly palette: _angular_core.InputSignal<Palette | DecorativePalette>;
|
|
17
19
|
/**
|
|
18
20
|
* Should display be outlined?
|
|
19
21
|
*/
|
|
20
|
-
outlined: boolean
|
|
22
|
+
readonly outlined: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
21
23
|
/**
|
|
22
24
|
* For routerLink usage
|
|
23
25
|
*/
|
|
24
|
-
link: string
|
|
26
|
+
readonly link: _angular_core.InputSignal<string>;
|
|
25
27
|
/**
|
|
26
|
-
* Which icon should we display in the
|
|
28
|
+
* Which icon should we display in the tag if any?
|
|
27
29
|
* Defaults to no icon.
|
|
28
30
|
*/
|
|
29
|
-
icon: LuccaIcon
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
32
|
+
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
33
|
+
readonly AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
|
+
readonly tagClasses: _angular_core.Signal<{
|
|
32
35
|
[x: string]: boolean;
|
|
33
|
-
}
|
|
36
|
+
}>;
|
|
34
37
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
35
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "
|
|
36
|
-
static ngAcceptInputType_outlined: unknown;
|
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "outlined": { "alias": "outlined"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "withEllipsis": { "alias": "withEllipsis"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
export { TagComponent };
|
package/time/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken, ModelSignal,
|
|
2
|
+
import { InjectionToken, ModelSignal, ElementRef } from '@angular/core';
|
|
3
3
|
import { LuTranslation } from '@lucca-front/ng/core';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
|
|
@@ -28,10 +28,10 @@ declare class TimePickerPartComponent {
|
|
|
28
28
|
hideValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
29
|
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
30
30
|
focused: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
-
prevRequest:
|
|
32
|
-
nextRequest:
|
|
33
|
-
inputControlClick:
|
|
34
|
-
touched:
|
|
31
|
+
prevRequest: _angular_core.OutputEmitterRef<void>;
|
|
32
|
+
nextRequest: _angular_core.OutputEmitterRef<void>;
|
|
33
|
+
inputControlClick: _angular_core.OutputEmitterRef<PickerControlDirection>;
|
|
34
|
+
touched: _angular_core.OutputEmitterRef<void>;
|
|
35
35
|
timePickerInput?: ElementRef<HTMLInputElement>;
|
|
36
36
|
valueLabel: _angular_core.Signal<string | number>;
|
|
37
37
|
protected inputId: string;
|
package/toast/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
3
|
import { LuTranslation, PortalContent } from '@lucca-front/ng/core';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
|
-
import {
|
|
5
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
6
6
|
|
|
7
7
|
declare const LU_TOAST_TRANSLATIONS: InjectionToken<LuTranslation<ILuToastLabel>>;
|
|
8
8
|
interface ILuToastLabel {
|
|
@@ -33,33 +33,20 @@ interface LuToast extends LuToastInput {
|
|
|
33
33
|
id: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
declare class
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
declare class LuToastsComponent implements OnDestroy {
|
|
48
|
-
private toastsService;
|
|
49
|
-
bottom: boolean;
|
|
50
|
-
set sources(sources: Array<Observable<LuToastInput>>);
|
|
51
|
-
toasts$: rxjs.BehaviorSubject<LuToast[]>;
|
|
52
|
-
private destroy$;
|
|
53
|
-
intl: ILuToastLabel;
|
|
54
|
-
constructor(toastsService: LuToastsService);
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
iconClassByToastType: Record<LuToastType, string>;
|
|
57
|
-
paletteClassByToastType: Record<LuToastType, string>;
|
|
36
|
+
declare class LuToastsComponent {
|
|
37
|
+
#private;
|
|
38
|
+
readonly bottom: i0.InputSignal<boolean>;
|
|
39
|
+
readonly sources: i0.InputSignal<Observable<LuToastInput>[]>;
|
|
40
|
+
constructor();
|
|
41
|
+
readonly toasts$: rxjs.BehaviorSubject<LuToast[]>;
|
|
42
|
+
readonly intl: ILuToastLabel;
|
|
43
|
+
readonly iconClassByToastType: Record<LuToastType, string>;
|
|
44
|
+
readonly paletteClassByToastType: Record<LuToastType, string>;
|
|
58
45
|
isStringPortalContent(message: PortalContent): message is string;
|
|
59
46
|
removeToast(toast: LuToast): void;
|
|
60
47
|
isOnlyDismissibleManually(toast: LuToast): boolean;
|
|
61
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuToastsComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuToastsComponent, "lu-toasts", never, { "bottom": { "alias": "bottom"; "required": false; }; "sources": { "alias": "sources"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuToastsComponent, "lu-toasts", never, { "bottom": { "alias": "bottom"; "required": false; "isSignal": true; }; "sources": { "alias": "sources"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
63
50
|
}
|
|
64
51
|
|
|
65
52
|
/**
|
|
@@ -71,5 +58,16 @@ declare class LuToastsModule {
|
|
|
71
58
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuToastsModule>;
|
|
72
59
|
}
|
|
73
60
|
|
|
61
|
+
declare class LuToastsService {
|
|
62
|
+
toasts$: BehaviorSubject<LuToast[]>;
|
|
63
|
+
addToast(toastInput: LuToastInput): LuToast;
|
|
64
|
+
removeToast(toast: LuToast): void;
|
|
65
|
+
isOnlyDismissibleManually({ duration }: LuToastInput): boolean;
|
|
66
|
+
private getToast;
|
|
67
|
+
private generateId;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuToastsService, never>;
|
|
69
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LuToastsService>;
|
|
70
|
+
}
|
|
71
|
+
|
|
74
72
|
export { LU_TOAST_TRANSLATIONS, LuToastsComponent, LuToastsModule, LuToastsService, defaultToastDuration, luToastTranslations };
|
|
75
73
|
export type { ILuToastLabel, LuToast, LuToastInput, LuToastType };
|
package/tooltip/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { DestroyRef, OnDestroy } from '@angular/core';
|
|
2
4
|
import * as i2 from '@angular/cdk/overlay';
|
|
3
5
|
import { HorizontalConnectionPos, VerticalConnectionPos, FlexibleConnectedPositionStrategyOrigin, OverlayRef } from '@angular/cdk/overlay';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import { DestroyRef, Signal, AfterContentInit, OnDestroy } from '@angular/core';
|
|
6
6
|
import { SafeHtml } from '@angular/platform-browser';
|
|
7
7
|
import { Subject, Observable } from 'rxjs';
|
|
8
8
|
import { LuPopoverPosition } from '@lucca-front/ng/popover';
|
|
@@ -10,54 +10,49 @@ import { LuPopoverPosition } from '@lucca-front/ng/popover';
|
|
|
10
10
|
declare const luTransformTooltip: AnimationTriggerMetadata;
|
|
11
11
|
|
|
12
12
|
declare class LuTooltipPanelComponent {
|
|
13
|
-
destroyRef: DestroyRef;
|
|
14
|
-
mouseEnter$: Subject<void>;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
id: string;
|
|
20
|
-
contentPositionClasses: Record<string, boolean>;
|
|
13
|
+
readonly destroyRef: DestroyRef;
|
|
14
|
+
readonly mouseEnter$: Subject<void>;
|
|
15
|
+
readonly mouseLeave$: Subject<void>;
|
|
16
|
+
readonly content: _angular_core.WritableSignal<string | SafeHtml>;
|
|
17
|
+
readonly id: _angular_core.WritableSignal<string>;
|
|
18
|
+
readonly contentPositionClasses: _angular_core.WritableSignal<Record<string, boolean>>;
|
|
21
19
|
setPanelPosition(posX: HorizontalConnectionPos, posY: VerticalConnectionPos): void;
|
|
22
|
-
static ɵfac:
|
|
23
|
-
static ɵcmp:
|
|
20
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipPanelComponent, never>;
|
|
21
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuTooltipPanelComponent, "lu-tooltip-panel", never, {}, {}, never, never, true, never>;
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
/**
|
|
27
25
|
* @deprecated use `LuTooltipPanelComponent` instead
|
|
28
26
|
*/
|
|
29
27
|
declare class LuTooltipPanelModule {
|
|
30
|
-
static ɵfac:
|
|
31
|
-
static ɵmod:
|
|
32
|
-
static ɵinj:
|
|
28
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipPanelModule, never>;
|
|
29
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipPanelModule, never, [typeof LuTooltipPanelComponent], [typeof LuTooltipPanelComponent]>;
|
|
30
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuTooltipPanelModule>;
|
|
33
31
|
}
|
|
34
32
|
|
|
35
|
-
declare class LuTooltipTriggerDirective implements
|
|
33
|
+
declare class LuTooltipTriggerDirective implements OnDestroy {
|
|
36
34
|
#private;
|
|
37
|
-
luTooltip:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
luTooltipDisabled:
|
|
41
|
-
luTooltipOnlyForDisplay: boolean
|
|
42
|
-
luTooltipPosition: LuPopoverPosition
|
|
43
|
-
luTooltipWhenEllipsis:
|
|
44
|
-
luTooltipAnchor:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
close$: Subject<void>;
|
|
35
|
+
readonly luTooltip: _angular_core.InputSignal<string | SafeHtml>;
|
|
36
|
+
readonly luTooltipEnterDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
37
|
+
readonly luTooltipLeaveDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
38
|
+
readonly luTooltipDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
39
|
+
readonly luTooltipOnlyForDisplay: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
40
|
+
readonly luTooltipPosition: _angular_core.InputSignal<LuPopoverPosition>;
|
|
41
|
+
readonly luTooltipWhenEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
42
|
+
readonly luTooltipAnchor: _angular_core.InputSignal<FlexibleConnectedPositionStrategyOrigin>;
|
|
43
|
+
readonly id: _angular_core.InputSignal<string>;
|
|
44
|
+
readonly resize$: Observable<void>;
|
|
48
45
|
onMouseEnter(): void;
|
|
49
46
|
onMouseLeave(): void;
|
|
50
47
|
onFocus(): void;
|
|
51
48
|
onBlur(): void;
|
|
52
|
-
|
|
53
|
-
get ariaDescribedBy(): string;
|
|
49
|
+
readonly ariaDescribedBy: _angular_core.Signal<string>;
|
|
54
50
|
overlayRef?: OverlayRef;
|
|
55
51
|
constructor();
|
|
56
52
|
ngOnDestroy(): void;
|
|
57
53
|
private openTooltip;
|
|
58
54
|
private closeTooltip;
|
|
59
55
|
private setAccessibilityProperties;
|
|
60
|
-
ngAfterContentInit(): void;
|
|
61
56
|
private runOutsideZoneJS;
|
|
62
57
|
/**********************
|
|
63
58
|
*
|
|
@@ -67,29 +62,28 @@ declare class LuTooltipTriggerDirective implements AfterContentInit, OnDestroy {
|
|
|
67
62
|
private legacyPositionBuilder;
|
|
68
63
|
private invertVerticalPos;
|
|
69
64
|
private invertHorizontalPos;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
static
|
|
73
|
-
static
|
|
74
|
-
static ngAcceptInputType_luTooltipOnlyForDisplay: unknown;
|
|
65
|
+
requestClose(): void;
|
|
66
|
+
requestOpen(): void;
|
|
67
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipTriggerDirective, never>;
|
|
68
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuTooltipTriggerDirective, "[luTooltip]", ["luTooltip"], { "luTooltip": { "alias": "luTooltip"; "required": false; "isSignal": true; }; "luTooltipEnterDelay": { "alias": "luTooltipEnterDelay"; "required": false; "isSignal": true; }; "luTooltipLeaveDelay": { "alias": "luTooltipLeaveDelay"; "required": false; "isSignal": true; }; "luTooltipDisabled": { "alias": "luTooltipDisabled"; "required": false; "isSignal": true; }; "luTooltipOnlyForDisplay": { "alias": "luTooltipOnlyForDisplay"; "required": false; "isSignal": true; }; "luTooltipPosition": { "alias": "luTooltipPosition"; "required": false; "isSignal": true; }; "luTooltipWhenEllipsis": { "alias": "luTooltipWhenEllipsis"; "required": false; "isSignal": true; }; "luTooltipAnchor": { "alias": "luTooltipAnchor"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
75
69
|
}
|
|
76
70
|
|
|
77
71
|
/**
|
|
78
72
|
* @deprecated use `LuTooltipTriggerDirective, OverlayModule` instead
|
|
79
73
|
*/
|
|
80
74
|
declare class LuTooltipTriggerModule {
|
|
81
|
-
static ɵfac:
|
|
82
|
-
static ɵmod:
|
|
83
|
-
static ɵinj:
|
|
75
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipTriggerModule, never>;
|
|
76
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipTriggerModule, never, [typeof LuTooltipTriggerDirective, typeof i2.OverlayModule], [typeof LuTooltipTriggerDirective]>;
|
|
77
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuTooltipTriggerModule>;
|
|
84
78
|
}
|
|
85
79
|
|
|
86
80
|
/**
|
|
87
81
|
* @deprecated use `LuTooltipTriggerDirective, OverlayModule, LuTooltipPanelComponent` instead
|
|
88
82
|
*/
|
|
89
83
|
declare class LuTooltipModule {
|
|
90
|
-
static ɵfac:
|
|
91
|
-
static ɵmod:
|
|
92
|
-
static ɵinj:
|
|
84
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipModule, never>;
|
|
85
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipModule, never, [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule], [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule]>;
|
|
86
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuTooltipModule>;
|
|
93
87
|
}
|
|
94
88
|
|
|
95
89
|
export { LuTooltipModule, LuTooltipPanelComponent, LuTooltipPanelModule, LuTooltipTriggerDirective, LuTooltipTriggerModule, luTransformTooltip };
|
package/user/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, PipeTransform,
|
|
2
|
+
import { InjectionToken, PipeTransform, AfterViewInit, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, OnInit, OnDestroy, TemplateRef } from '@angular/core';
|
|
3
3
|
import { EnumValue, LuTranslation, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuOnCloseSubscriber } from '@lucca-front/ng/core';
|
|
4
4
|
import { Overlay } from '@angular/cdk/overlay';
|
|
5
5
|
import { ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
@@ -91,33 +91,27 @@ interface LuUserTileUserInput {
|
|
|
91
91
|
*/
|
|
92
92
|
declare class LuUserTileComponent {
|
|
93
93
|
#private;
|
|
94
|
-
displayPictureFormat: LuDisplayInitials;
|
|
95
|
-
private _user;
|
|
96
94
|
/**
|
|
97
95
|
* LuUserTileUserInput to display.
|
|
98
96
|
*/
|
|
99
|
-
|
|
100
|
-
get user(): LuUserTileUserInput;
|
|
101
|
-
private _displayFormat;
|
|
97
|
+
readonly user: i0.InputSignal<LuUserTileUserInput>;
|
|
102
98
|
/**
|
|
103
99
|
* User Display format.
|
|
104
100
|
* It is set to 'LU_DEFAULT_DISPLAY_POLICY' by default
|
|
105
101
|
*/
|
|
106
|
-
|
|
107
|
-
get displayFormat(): LuDisplayFormat;
|
|
108
|
-
private _role;
|
|
102
|
+
readonly displayFormat: i0.InputSignal<LuDisplayFormat>;
|
|
109
103
|
/**
|
|
110
104
|
* LuUserTileUserInput role to display
|
|
111
105
|
*/
|
|
112
|
-
|
|
113
|
-
get role(): string;
|
|
106
|
+
readonly role: i0.InputSignal<string>;
|
|
114
107
|
/**
|
|
115
108
|
* Which size should the user tile be? Defaults to medium
|
|
116
109
|
*/
|
|
117
|
-
size: i0.InputSignal<"L" | "XS" | "S" | "M">;
|
|
110
|
+
readonly size: i0.InputSignal<"L" | "XS" | "S" | "M">;
|
|
111
|
+
readonly displayPictureFormat: i0.Signal<LuDisplayInitials>;
|
|
118
112
|
constructor();
|
|
119
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserTileComponent, never>;
|
|
120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserTileComponent, "lu-user-tile", never, { "user": { "alias": "user"; "required": false; }; "displayFormat": { "alias": "displayFormat"; "required": false; }; "role": { "alias": "role"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserTileComponent, "lu-user-tile", never, { "user": { "alias": "user"; "required": false; "isSignal": true; }; "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
121
115
|
}
|
|
122
116
|
|
|
123
117
|
/**
|
|
@@ -140,37 +134,35 @@ interface LuUserPictureUserInput {
|
|
|
140
134
|
/**
|
|
141
135
|
* Displays user's picture or a placeholder with his/her initials and random bg color'
|
|
142
136
|
*/
|
|
143
|
-
declare class LuUserPictureComponent
|
|
137
|
+
declare class LuUserPictureComponent {
|
|
138
|
+
#private;
|
|
144
139
|
/**
|
|
145
140
|
* User Display format.
|
|
146
141
|
* It is set to 'LU_DEFAULT_DISPLAY_POLICY' by default
|
|
147
142
|
*/
|
|
148
|
-
displayFormat: LuDisplayInitials
|
|
143
|
+
readonly displayFormat: i0.InputSignal<LuDisplayInitials>;
|
|
144
|
+
readonly user: i0.InputSignal<LuUserPictureUserInput>;
|
|
145
|
+
readonly AI: i0.InputSignalWithTransform<boolean, unknown>;
|
|
146
|
+
readonly size: i0.InputSignal<"L" | "XS" | "S" | "M" | "XL" | "XXL" | "XXXL">;
|
|
149
147
|
/**
|
|
150
148
|
* Image loading attribute
|
|
151
149
|
* It is set to 'lazy' by default
|
|
152
150
|
*
|
|
153
151
|
* (more info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading)
|
|
154
152
|
*/
|
|
155
|
-
imageLoadingAttribute:
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
hasPicture: boolean;
|
|
166
|
-
pictureHref: string;
|
|
167
|
-
style: {};
|
|
168
|
-
modSize: i0.Signal<string>;
|
|
169
|
-
ngOnChanges(): void;
|
|
153
|
+
readonly imageLoadingAttribute: i0.InputSignal<"eager" | "lazy">;
|
|
154
|
+
readonly initials: i0.Signal<string>;
|
|
155
|
+
readonly modSize: i0.Signal<string>;
|
|
156
|
+
readonly hasPicture: i0.WritableSignal<boolean>;
|
|
157
|
+
readonly pictureHref: i0.Signal<string>;
|
|
158
|
+
readonly style: i0.WritableSignal<{
|
|
159
|
+
'background-color': string;
|
|
160
|
+
} | {
|
|
161
|
+
'background-color'?: undefined;
|
|
162
|
+
}>;
|
|
170
163
|
pictureError(): void;
|
|
171
|
-
private getNameHue;
|
|
172
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserPictureComponent, never>;
|
|
173
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; }; "
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
174
166
|
}
|
|
175
167
|
|
|
176
168
|
/**
|