@lucca-front/ng 21.0.0-rc.3 → 21.0.0-rc.4
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 +21 -26
- package/callout/index.d.ts +58 -73
- package/chip/index.d.ts +1 -1
- package/code/index.d.ts +1 -1
- package/comment/index.d.ts +14 -11
- package/core/index.d.ts +5 -5
- package/core-select/index.d.ts +4 -6
- package/core-select/user/index.d.ts +2 -3
- package/data-table/index.d.ts +2 -1
- package/dialog/index.d.ts +3 -3
- package/empty-state/index.d.ts +26 -23
- package/fancy-box/index.d.ts +10 -11
- 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 +90 -59
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +131 -165
- package/fesm2022/lucca-front-ng-callout.mjs.map +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 +35 -15
- 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 +11 -14
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +20 -14
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +3 -3
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +5 -3
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +25 -22
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +68 -27
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +28 -14
- 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-forms-phone-number-input.mjs +17 -15
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +2 -2
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +184 -96
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +19 -14
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +22 -15
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +28 -20
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +8 -4
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +1 -1
- 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 +11 -7
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +39 -40
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +2 -2
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +17 -8
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +29 -19
- 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 +44 -34
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +42 -31
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +18 -8
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +60 -55
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +107 -80
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +84 -44
- 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 +61 -53
- package/forms/phone-number-input/index.d.ts +13 -13
- package/icon/index.d.ts +10 -10
- package/inline-message/index.d.ts +11 -9
- package/link/index.d.ts +13 -11
- package/mobile-push/index.d.ts +6 -5
- package/new-badge/index.d.ts +3 -2
- package/numeric-badge/index.d.ts +11 -14
- package/package.json +31 -31
- package/plg-push/index.d.ts +8 -6
- package/scroll/index.d.ts +22 -20
- package/skeleton/index.d.ts +32 -27
- package/tag/index.d.ts +15 -17
- package/time/index.d.ts +5 -5
- package/toast/index.d.ts +25 -23
- package/tooltip/index.d.ts +41 -33
- package/user/index.d.ts +28 -17
- package/vertical-navigation/index.d.ts +16 -16
package/plg-push/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
interface LuPlgPushLabel {
|
|
4
4
|
close: string;
|
|
@@ -6,14 +6,16 @@ interface LuPlgPushLabel {
|
|
|
6
6
|
|
|
7
7
|
declare class PLGPushComponent {
|
|
8
8
|
protected intl: LuPlgPushLabel;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
heading: string;
|
|
10
|
+
removable: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* Is the callout removed? Works with two way binding too.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
static
|
|
14
|
+
removed: i0.ModelSignal<boolean>;
|
|
15
|
+
get hiddenAttr(): 'hidden' | null;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PLGPushComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PLGPushComponent, "lu-plg-push", never, { "heading": { "alias": "heading"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "removed": { "alias": "removed"; "required": false; "isSignal": true; }; }, { "removed": "removedChange"; }, never, ["*"], true, never>;
|
|
18
|
+
static ngAcceptInputType_removable: unknown;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
export { PLGPushComponent };
|
package/scroll/index.d.ts
CHANGED
|
@@ -1,41 +1,43 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
3
4
|
|
|
4
5
|
interface ILuScrollable {
|
|
5
|
-
onScroll:
|
|
6
|
-
onScrollTop:
|
|
7
|
-
onScrollBottom:
|
|
8
|
-
onScrollLeft:
|
|
9
|
-
onScrollRight:
|
|
6
|
+
onScroll: Observable<Event>;
|
|
7
|
+
onScrollTop: Observable<Event>;
|
|
8
|
+
onScrollBottom: Observable<Event>;
|
|
9
|
+
onScrollLeft: Observable<Event>;
|
|
10
|
+
onScrollRight: Observable<Event>;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* emits on scroll events
|
|
14
15
|
*/
|
|
15
16
|
declare class LuScrollDirective implements ILuScrollable, OnInit {
|
|
16
|
-
#private;
|
|
17
17
|
protected _elementRef: ElementRef<HTMLElement>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
debounceTime: number;
|
|
19
|
+
onScroll: EventEmitter<Event>;
|
|
20
|
+
onScrollTop: EventEmitter<Event>;
|
|
21
|
+
onScrollBottom: EventEmitter<Event>;
|
|
22
|
+
onScrollLeft: EventEmitter<Event>;
|
|
23
|
+
onScrollRight: EventEmitter<Event>;
|
|
24
|
+
private scrollSubject;
|
|
25
|
+
private scroll$;
|
|
26
|
+
_scroll($event: Event): void;
|
|
25
27
|
ngOnInit(): void;
|
|
26
28
|
private emitScrollEvents;
|
|
27
29
|
constructor(_elementRef: ElementRef<HTMLElement>);
|
|
28
|
-
static ɵfac:
|
|
29
|
-
static ɵdir:
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuScrollDirective, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuScrollDirective, "[luScroll]", ["luScroll"], { "debounceTime": { "alias": "debounceTime"; "required": false; }; }, { "onScroll": "onScroll"; "onScrollTop": "onScrollTop"; "onScrollBottom": "onScrollBottom"; "onScrollLeft": "onScrollLeft"; "onScrollRight": "onScrollRight"; }, never, never, true, never>;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
/**
|
|
33
35
|
* @deprecated use `LuScrollDirective` instead
|
|
34
36
|
*/
|
|
35
37
|
declare class LuScrollModule {
|
|
36
|
-
static ɵfac:
|
|
37
|
-
static ɵmod:
|
|
38
|
-
static ɵinj:
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuScrollModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LuScrollModule, never, [typeof LuScrollDirective], [typeof LuScrollDirective]>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LuScrollModule>;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
export { LuScrollDirective, LuScrollModule };
|
package/skeleton/index.d.ts
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class SkeletonButtonComponent {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
dark: boolean;
|
|
5
|
+
size: '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;
|
|
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;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
declare class SkeletonDataTableComponent {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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;
|
|
17
18
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonDataTableComponent, never>;
|
|
18
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonDataTableComponent, "lu-skeleton-data-table", never, { "dataTableBodyOnly": { "alias": "dataTableBodyOnly"; "required": false;
|
|
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;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
declare class SkeletonFieldComponent {
|
|
@@ -23,37 +25,40 @@ declare class SkeletonFieldComponent {
|
|
|
23
25
|
readonly hiddenLabel: _angular_core.InputSignalWithTransform<boolean, boolean | "false" | "true">;
|
|
24
26
|
readonly rows: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
25
27
|
readonly lines: _angular_core.Signal<unknown[]>;
|
|
26
|
-
|
|
28
|
+
readonly getRandomPercent: (min?: number, max?: number) => number;
|
|
27
29
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonFieldComponent, never>;
|
|
28
30
|
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>;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
declare class SkeletonHeaderComponent {
|
|
32
|
-
|
|
34
|
+
dark: boolean;
|
|
33
35
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonHeaderComponent, never>;
|
|
34
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonHeaderComponent, "lu-skeleton-header", never, { "dark": { "alias": "dark"; "required": false;
|
|
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;
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
declare class SkeletonIndexTableComponent {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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;
|
|
44
47
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonIndexTableComponent, never>;
|
|
45
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonIndexTableComponent, "lu-skeleton-index-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false;
|
|
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;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
declare class SkeletonTableComponent {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
+
getRandomPercent: (min?: number, max?: number) => string;
|
|
55
59
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonTableComponent, never>;
|
|
56
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonTableComponent, "lu-skeleton-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false;
|
|
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;
|
|
57
62
|
}
|
|
58
63
|
|
|
59
64
|
export { SkeletonButtonComponent, SkeletonDataTableComponent, SkeletonFieldComponent, SkeletonHeaderComponent, SkeletonIndexTableComponent, SkeletonTableComponent };
|
package/tag/index.d.ts
CHANGED
|
@@ -3,39 +3,37 @@ 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;
|
|
6
8
|
/**
|
|
7
|
-
* Which
|
|
9
|
+
* Which size should the callout be? Defaults to medium
|
|
8
10
|
*/
|
|
9
|
-
|
|
11
|
+
size: 'S' | 'M' | 'L';
|
|
10
12
|
/**
|
|
11
|
-
* Which
|
|
12
|
-
*/
|
|
13
|
-
readonly size: _angular_core.InputSignal<"S" | "M" | "L">;
|
|
14
|
-
/**
|
|
15
|
-
* Which palette should be used for the entire tag.
|
|
13
|
+
* Which palette should be used for the entire callout.
|
|
16
14
|
* Defaults to none (inherits parent palette)
|
|
17
15
|
*/
|
|
18
|
-
|
|
16
|
+
palette: Palette | DecorativePalette;
|
|
19
17
|
/**
|
|
20
18
|
* Should display be outlined?
|
|
21
19
|
*/
|
|
22
|
-
|
|
20
|
+
outlined: boolean;
|
|
23
21
|
/**
|
|
24
22
|
* For routerLink usage
|
|
25
23
|
*/
|
|
26
|
-
|
|
24
|
+
link: string;
|
|
27
25
|
/**
|
|
28
|
-
* Which icon should we display in the
|
|
26
|
+
* Which icon should we display in the callout if any?
|
|
29
27
|
* Defaults to no icon.
|
|
30
28
|
*/
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
readonly tagClasses: _angular_core.Signal<{
|
|
29
|
+
icon: LuccaIcon | undefined;
|
|
30
|
+
AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
get tagClasses(): {
|
|
35
32
|
[x: string]: boolean;
|
|
36
|
-
}
|
|
33
|
+
};
|
|
37
34
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
38
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "
|
|
35
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "withEllipsis": { "alias": "withEllipsis"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; }; "size": { "alias": "size"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "link": { "alias": "link"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
|
+
static ngAcceptInputType_outlined: unknown;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
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, ElementRef } from '@angular/core';
|
|
2
|
+
import { InjectionToken, ModelSignal, EventEmitter, 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: EventEmitter<void>;
|
|
32
|
+
nextRequest: EventEmitter<void>;
|
|
33
|
+
inputControlClick: EventEmitter<PickerControlDirection>;
|
|
34
|
+
touched: EventEmitter<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 } from '@angular/core';
|
|
2
|
+
import { InjectionToken, OnDestroy } from '@angular/core';
|
|
3
3
|
import { LuTranslation, PortalContent } from '@lucca-front/ng/core';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
|
-
import {
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
6
|
|
|
7
7
|
declare const LU_TOAST_TRANSLATIONS: InjectionToken<LuTranslation<ILuToastLabel>>;
|
|
8
8
|
interface ILuToastLabel {
|
|
@@ -33,20 +33,33 @@ interface LuToast extends LuToastInput {
|
|
|
33
33
|
id: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
declare class
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
declare class LuToastsService {
|
|
37
|
+
toasts$: BehaviorSubject<LuToast[]>;
|
|
38
|
+
addToast(toastInput: LuToastInput): LuToast;
|
|
39
|
+
removeToast(toast: LuToast): void;
|
|
40
|
+
isOnlyDismissibleManually({ duration }: LuToastInput): boolean;
|
|
41
|
+
private getToast;
|
|
42
|
+
private generateId;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuToastsService, never>;
|
|
44
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LuToastsService>;
|
|
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>;
|
|
45
58
|
isStringPortalContent(message: PortalContent): message is string;
|
|
46
59
|
removeToast(toast: LuToast): void;
|
|
47
60
|
isOnlyDismissibleManually(toast: LuToast): boolean;
|
|
48
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuToastsComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuToastsComponent, "lu-toasts", never, { "bottom": { "alias": "bottom"; "required": false;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuToastsComponent, "lu-toasts", never, { "bottom": { "alias": "bottom"; "required": false; }; "sources": { "alias": "sources"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
63
|
}
|
|
51
64
|
|
|
52
65
|
/**
|
|
@@ -58,16 +71,5 @@ declare class LuToastsModule {
|
|
|
58
71
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuToastsModule>;
|
|
59
72
|
}
|
|
60
73
|
|
|
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
|
-
|
|
72
74
|
export { LU_TOAST_TRANSLATIONS, LuToastsComponent, LuToastsModule, LuToastsService, defaultToastDuration, luToastTranslations };
|
|
73
75
|
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';
|
|
4
2
|
import * as i2 from '@angular/cdk/overlay';
|
|
5
3
|
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,49 +10,54 @@ import { LuPopoverPosition } from '@lucca-front/ng/popover';
|
|
|
10
10
|
declare const luTransformTooltip: AnimationTriggerMetadata;
|
|
11
11
|
|
|
12
12
|
declare class LuTooltipPanelComponent {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
destroyRef: DestroyRef;
|
|
14
|
+
mouseEnter$: Subject<void>;
|
|
15
|
+
mouseEnter(): void;
|
|
16
|
+
mouseLeave$: Subject<void>;
|
|
17
|
+
mouseLeave(): void;
|
|
18
|
+
content: Signal<string | SafeHtml>;
|
|
19
|
+
id: string;
|
|
20
|
+
contentPositionClasses: Record<string, boolean>;
|
|
19
21
|
setPanelPosition(posX: HorizontalConnectionPos, posY: VerticalConnectionPos): void;
|
|
20
|
-
static ɵfac:
|
|
21
|
-
static ɵcmp:
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipPanelComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuTooltipPanelComponent, "lu-tooltip-panel", never, {}, {}, never, never, true, never>;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/**
|
|
25
27
|
* @deprecated use `LuTooltipPanelComponent` instead
|
|
26
28
|
*/
|
|
27
29
|
declare class LuTooltipPanelModule {
|
|
28
|
-
static ɵfac:
|
|
29
|
-
static ɵmod:
|
|
30
|
-
static ɵinj:
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipPanelModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LuTooltipPanelModule, never, [typeof LuTooltipPanelComponent], [typeof LuTooltipPanelComponent]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LuTooltipPanelModule>;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
declare class LuTooltipTriggerDirective implements OnDestroy {
|
|
35
|
+
declare class LuTooltipTriggerDirective implements AfterContentInit, OnDestroy {
|
|
34
36
|
#private;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
luTooltip: i0.InputSignal<string | SafeHtml>;
|
|
38
|
+
set luTooltipEnterDelay(delay: number);
|
|
39
|
+
set luTooltipLeaveDelay(delay: number);
|
|
40
|
+
luTooltipDisabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
41
|
+
luTooltipOnlyForDisplay: boolean;
|
|
42
|
+
luTooltipPosition: LuPopoverPosition;
|
|
43
|
+
luTooltipWhenEllipsis: i0.InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
luTooltipAnchor: i0.InputSignal<FlexibleConnectedPositionStrategyOrigin>;
|
|
45
|
+
resize$: Observable<void>;
|
|
46
|
+
open$: Subject<void>;
|
|
47
|
+
close$: Subject<void>;
|
|
44
48
|
onMouseEnter(): void;
|
|
45
49
|
onMouseLeave(): void;
|
|
46
50
|
onFocus(): void;
|
|
47
51
|
onBlur(): void;
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
_id: string;
|
|
53
|
+
get ariaDescribedBy(): string;
|
|
50
54
|
overlayRef?: OverlayRef;
|
|
51
55
|
constructor();
|
|
52
56
|
ngOnDestroy(): void;
|
|
53
57
|
private openTooltip;
|
|
54
58
|
private closeTooltip;
|
|
55
59
|
private setAccessibilityProperties;
|
|
60
|
+
ngAfterContentInit(): void;
|
|
56
61
|
private runOutsideZoneJS;
|
|
57
62
|
/**********************
|
|
58
63
|
*
|
|
@@ -62,26 +67,29 @@ declare class LuTooltipTriggerDirective implements OnDestroy {
|
|
|
62
67
|
private legacyPositionBuilder;
|
|
63
68
|
private invertVerticalPos;
|
|
64
69
|
private invertHorizontalPos;
|
|
65
|
-
static ɵfac:
|
|
66
|
-
static ɵdir:
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipTriggerDirective, never>;
|
|
71
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuTooltipTriggerDirective, "[luTooltip]", ["luTooltip"], { "luTooltip": { "alias": "luTooltip"; "required": false; "isSignal": true; }; "luTooltipEnterDelay": { "alias": "luTooltipEnterDelay"; "required": false; }; "luTooltipLeaveDelay": { "alias": "luTooltipLeaveDelay"; "required": false; }; "luTooltipDisabled": { "alias": "luTooltipDisabled"; "required": false; "isSignal": true; }; "luTooltipOnlyForDisplay": { "alias": "luTooltipOnlyForDisplay"; "required": false; }; "luTooltipPosition": { "alias": "luTooltipPosition"; "required": false; }; "luTooltipWhenEllipsis": { "alias": "luTooltipWhenEllipsis"; "required": false; "isSignal": true; }; "luTooltipAnchor": { "alias": "luTooltipAnchor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
72
|
+
static ngAcceptInputType_luTooltipEnterDelay: unknown;
|
|
73
|
+
static ngAcceptInputType_luTooltipLeaveDelay: unknown;
|
|
74
|
+
static ngAcceptInputType_luTooltipOnlyForDisplay: unknown;
|
|
67
75
|
}
|
|
68
76
|
|
|
69
77
|
/**
|
|
70
78
|
* @deprecated use `LuTooltipTriggerDirective, OverlayModule` instead
|
|
71
79
|
*/
|
|
72
80
|
declare class LuTooltipTriggerModule {
|
|
73
|
-
static ɵfac:
|
|
74
|
-
static ɵmod:
|
|
75
|
-
static ɵinj:
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipTriggerModule, never>;
|
|
82
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LuTooltipTriggerModule, never, [typeof LuTooltipTriggerDirective, typeof i2.OverlayModule], [typeof LuTooltipTriggerDirective]>;
|
|
83
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LuTooltipTriggerModule>;
|
|
76
84
|
}
|
|
77
85
|
|
|
78
86
|
/**
|
|
79
87
|
* @deprecated use `LuTooltipTriggerDirective, OverlayModule, LuTooltipPanelComponent` instead
|
|
80
88
|
*/
|
|
81
89
|
declare class LuTooltipModule {
|
|
82
|
-
static ɵfac:
|
|
83
|
-
static ɵmod:
|
|
84
|
-
static ɵinj:
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipModule, never>;
|
|
91
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LuTooltipModule, never, [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule], [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule]>;
|
|
92
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LuTooltipModule>;
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
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, AfterViewInit, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, OnInit, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import { InjectionToken, PipeTransform, OnChanges, 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,27 +91,33 @@ interface LuUserTileUserInput {
|
|
|
91
91
|
*/
|
|
92
92
|
declare class LuUserTileComponent {
|
|
93
93
|
#private;
|
|
94
|
+
displayPictureFormat: LuDisplayInitials;
|
|
95
|
+
private _user;
|
|
94
96
|
/**
|
|
95
97
|
* LuUserTileUserInput to display.
|
|
96
98
|
*/
|
|
97
|
-
|
|
99
|
+
set user(user: LuUserTileUserInput);
|
|
100
|
+
get user(): LuUserTileUserInput;
|
|
101
|
+
private _displayFormat;
|
|
98
102
|
/**
|
|
99
103
|
* User Display format.
|
|
100
104
|
* It is set to 'LU_DEFAULT_DISPLAY_POLICY' by default
|
|
101
105
|
*/
|
|
102
|
-
|
|
106
|
+
set displayFormat(displayFormat: LuDisplayFormat);
|
|
107
|
+
get displayFormat(): LuDisplayFormat;
|
|
108
|
+
private _role;
|
|
103
109
|
/**
|
|
104
110
|
* LuUserTileUserInput role to display
|
|
105
111
|
*/
|
|
106
|
-
|
|
112
|
+
set role(role: string);
|
|
113
|
+
get role(): string;
|
|
107
114
|
/**
|
|
108
115
|
* Which size should the user tile be? Defaults to medium
|
|
109
116
|
*/
|
|
110
|
-
|
|
111
|
-
readonly displayPictureFormat: i0.Signal<LuDisplayInitials>;
|
|
117
|
+
size: i0.InputSignal<"L" | "XS" | "S" | "M">;
|
|
112
118
|
constructor();
|
|
113
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserTileComponent, never>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserTileComponent, "lu-user-tile", never, { "user": { "alias": "user"; "required": false;
|
|
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>;
|
|
115
121
|
}
|
|
116
122
|
|
|
117
123
|
/**
|
|
@@ -134,32 +140,37 @@ interface LuUserPictureUserInput {
|
|
|
134
140
|
/**
|
|
135
141
|
* Displays user's picture or a placeholder with his/her initials and random bg color'
|
|
136
142
|
*/
|
|
137
|
-
declare class LuUserPictureComponent {
|
|
143
|
+
declare class LuUserPictureComponent implements OnChanges {
|
|
138
144
|
/**
|
|
139
145
|
* User Display format.
|
|
140
146
|
* It is set to 'LU_DEFAULT_DISPLAY_POLICY' by default
|
|
141
147
|
*/
|
|
142
|
-
|
|
143
|
-
readonly user: i0.InputSignal<LuUserPictureUserInput>;
|
|
144
|
-
readonly AI: i0.InputSignalWithTransform<boolean, unknown>;
|
|
145
|
-
readonly size: i0.InputSignal<"L" | "XS" | "S" | "M" | "XL" | "XXL" | "XXXL">;
|
|
148
|
+
displayFormat: LuDisplayInitials;
|
|
146
149
|
/**
|
|
147
150
|
* Image loading attribute
|
|
148
151
|
* It is set to 'lazy' by default
|
|
149
152
|
*
|
|
150
153
|
* (more info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading)
|
|
151
154
|
*/
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
imageLoadingAttribute: HTMLImageElement['loading'];
|
|
156
|
+
/**
|
|
157
|
+
* UserPictureUserInput whose picture you want to display.
|
|
158
|
+
*/
|
|
159
|
+
private _user;
|
|
160
|
+
set user(user: LuUserPictureUserInput);
|
|
161
|
+
AI: i0.InputSignalWithTransform<boolean, unknown>;
|
|
162
|
+
size: i0.InputSignal<"L" | "XS" | "S" | "M" | "XL" | "XXL" | "XXXL">;
|
|
163
|
+
get user(): LuUserPictureUserInput;
|
|
164
|
+
initials: string;
|
|
155
165
|
hasPicture: boolean;
|
|
156
166
|
pictureHref: string;
|
|
157
167
|
style: {};
|
|
158
|
-
|
|
168
|
+
modSize: i0.Signal<string>;
|
|
169
|
+
ngOnChanges(): void;
|
|
159
170
|
pictureError(): void;
|
|
160
171
|
private getNameHue;
|
|
161
172
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserPictureComponent, never>;
|
|
162
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false;
|
|
173
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; }; "user": { "alias": "user"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
163
174
|
}
|
|
164
175
|
|
|
165
176
|
/**
|