@lucca-front/ng 21.0.0-rc.4 → 21.0.0-rc.5
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/dialog/index.d.ts +21 -5
- 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.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 +14 -20
- 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-dialog.mjs +22 -25
- 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-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-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 +2 -2
- 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-inline-message.mjs +15 -22
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +20 -28
- 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 +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 +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-plg-push.mjs +8 -17
- package/fesm2022/lucca-front-ng-plg-push.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-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 +86 -107
- package/fesm2022/lucca-front-ng-tooltip.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/inline-message/index.d.ts +9 -11
- package/link/index.d.ts +11 -13
- 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 +37 -37
- package/plg-push/index.d.ts +6 -8
- package/read-more/index.d.ts +1 -1
- package/scroll/index.d.ts +20 -22
- package/skeleton/index.d.ts +27 -32
- 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/app-layout/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class AppLayoutComponent {
|
|
4
|
-
mobileNavSideBottom: i0.InputSignalWithTransform<boolean, unknown>;
|
|
4
|
+
readonly mobileNavSideBottom: i0.InputSignalWithTransform<boolean, unknown>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppLayoutComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppLayoutComponent, "lu-app-layout", never, { "mobileNavSideBottom": { "alias": "mobileNavSideBottom"; "required": false; "isSignal": true; }; }, {}, never, ["[appLayoutBanner]", "[appLayoutNavSide]", "*"], true, never>;
|
|
7
7
|
}
|
package/box/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class BoxComponent {
|
|
4
|
-
toggle: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5
|
-
neutral: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6
|
-
killable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4
|
+
readonly toggle: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5
|
+
readonly neutral: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6
|
+
readonly killable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7
7
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BoxComponent, never>;
|
|
8
8
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BoxComponent, "lu-box", never, { "toggle": { "alias": "toggle"; "required": false; "isSignal": true; }; "neutral": { "alias": "neutral"; "required": false; "isSignal": true; }; "killable": { "alias": "killable"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
9
9
|
}
|
package/breadcrumbs/index.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ interface LuBreadcrumbsLabel {
|
|
|
13
13
|
|
|
14
14
|
declare class BreadcrumbsComponent {
|
|
15
15
|
intl: LuBreadcrumbsLabel;
|
|
16
|
-
disableCompact: i0.InputSignalWithTransform<boolean, unknown>;
|
|
17
|
-
links: i0.Signal<readonly BreadcrumbsLinkDirective[]>;
|
|
18
|
-
isCompact: i0.Signal<boolean>;
|
|
16
|
+
readonly disableCompact: i0.InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
readonly links: i0.Signal<readonly BreadcrumbsLinkDirective[]>;
|
|
18
|
+
readonly isCompact: i0.Signal<boolean>;
|
|
19
19
|
readonly id: string;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
|
|
21
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsComponent, "lu-breadcrumbs", never, { "disableCompact": { "alias": "disableCompact"; "required": false; "isSignal": true; }; }, {}, ["links"], never, true, never>;
|
package/button/index.d.ts
CHANGED
|
@@ -1,35 +1,40 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
3
|
import { Palette } from '@lucca-front/ng/core';
|
|
4
4
|
|
|
5
|
-
declare class ButtonComponent
|
|
5
|
+
declare class ButtonComponent {
|
|
6
6
|
#private;
|
|
7
|
-
notifyError:
|
|
8
|
-
size:
|
|
9
|
-
block: boolean
|
|
10
|
-
critical: boolean
|
|
11
|
-
delete: boolean
|
|
12
|
-
disclosure: boolean
|
|
13
|
-
palette: Palette
|
|
14
|
-
state:
|
|
7
|
+
readonly notifyError: _angular_core.WritableSignal<boolean>;
|
|
8
|
+
readonly size: _angular_core.InputSignal<"M" | "S" | "XS">;
|
|
9
|
+
readonly block: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
readonly critical: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
readonly delete: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly disclosure: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
14
|
+
readonly state: _angular_core.InputSignal<"success" | "error" | "default" | "loading">;
|
|
15
15
|
/**
|
|
16
16
|
* '' is the default value when you just set the `luButton` directive without a value attached to it.
|
|
17
17
|
* We just make this explicit here.
|
|
18
18
|
*/
|
|
19
|
-
luButton:
|
|
20
|
-
|
|
19
|
+
readonly luButton: _angular_core.InputSignal<"" | "outlined" | "AI" | "ghost" | "ghost-invert" | "text" | "text-invert">;
|
|
20
|
+
readonly iconComponentRef: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
21
|
+
readonly classesConfig: _angular_core.Signal<{
|
|
22
|
+
[x: string]: boolean;
|
|
23
|
+
"mod-block": boolean;
|
|
24
|
+
"mod-onlyIcon": boolean;
|
|
25
|
+
"mod-iconOnLeft": boolean;
|
|
26
|
+
"mod-iconOnRight": boolean;
|
|
27
|
+
"mod-withIcon": boolean;
|
|
28
|
+
"mod-critical": boolean;
|
|
29
|
+
"mod-disclosure": boolean;
|
|
30
|
+
}>;
|
|
21
31
|
private get iconOnly();
|
|
22
32
|
private get iconOnLeft();
|
|
23
33
|
private get iconOnRight();
|
|
24
|
-
|
|
34
|
+
constructor();
|
|
25
35
|
triggerErrorIfNeeded(): void;
|
|
26
|
-
|
|
27
|
-
static
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[luButton],a[luButton]", never, { "size": { "alias": "size"; "required": false; }; "block": { "alias": "block"; "required": false; }; "critical": { "alias": "critical"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "disclosure": { "alias": "disclosure"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "state": { "alias": "state"; "required": false; }; "luButton": { "alias": "luButton"; "required": false; }; }, {}, ["iconComponentRef"], ["*"], true, never>;
|
|
29
|
-
static ngAcceptInputType_block: unknown;
|
|
30
|
-
static ngAcceptInputType_critical: unknown;
|
|
31
|
-
static ngAcceptInputType_delete: unknown;
|
|
32
|
-
static ngAcceptInputType_disclosure: unknown;
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
37
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "button[luButton],a[luButton]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "critical": { "alias": "critical"; "required": false; "isSignal": true; }; "delete": { "alias": "delete"; "required": false; "isSignal": true; }; "disclosure": { "alias": "disclosure"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "luButton": { "alias": "luButton"; "required": false; "isSignal": true; }; }, {}, ["iconComponentRef"], ["*"], true, never>;
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
export { ButtonComponent };
|
package/callout/index.d.ts
CHANGED
|
@@ -1,26 +1,19 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
3
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
4
|
-
import {
|
|
4
|
+
import { PortalContent, Palette, LuTranslation } from '@lucca-front/ng/core';
|
|
5
5
|
|
|
6
6
|
declare class CalloutActionsComponent {
|
|
7
|
-
inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7
|
+
readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
8
8
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutActionsComponent, never>;
|
|
9
9
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutActionsComponent, "lu-callout-actions", never, { "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
declare const CalloutStates: readonly ["success", "warning", "error"];
|
|
13
|
-
type CalloutState = (typeof CalloutStates)[number];
|
|
14
|
-
declare const CalloutStateMap: Record<CalloutState, {
|
|
15
|
-
icon: LuccaIcon;
|
|
16
|
-
palette: Palette;
|
|
17
|
-
}>;
|
|
18
|
-
|
|
19
12
|
declare class CalloutDisclosureComponent {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
palette: Palette
|
|
23
|
-
size:
|
|
13
|
+
readonly heading: _angular_core.InputSignal<PortalContent>;
|
|
14
|
+
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
15
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
16
|
+
readonly size: _angular_core.InputSignal<"M" | "S">;
|
|
24
17
|
/**
|
|
25
18
|
* State is a shorthand to set the icon and the palette to the recommended values for the icon and palette based on
|
|
26
19
|
* the provided state.
|
|
@@ -28,16 +21,16 @@ declare class CalloutDisclosureComponent {
|
|
|
28
21
|
* If one of the icon or palette inputs are filled along with the state input, their values will have the priority over
|
|
29
22
|
* state (so setting state to success and palette to warning will make the palette warning)
|
|
30
23
|
*/
|
|
31
|
-
state:
|
|
32
|
-
open: boolean
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
get calloutClasses(): {
|
|
24
|
+
readonly state: _angular_core.InputSignal<"success" | "warning" | "error">;
|
|
25
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
|
+
readonly calloutPalette: _angular_core.Signal<string>;
|
|
27
|
+
readonly calloutClasses: _angular_core.Signal<{
|
|
36
28
|
[x: string]: boolean;
|
|
37
|
-
}
|
|
29
|
+
}>;
|
|
30
|
+
openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
31
|
+
onToggle(event: Event): void;
|
|
38
32
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutDisclosureComponent, never>;
|
|
39
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutDisclosureComponent, "lu-callout-disclosure", never, { "
|
|
40
|
-
static ngAcceptInputType_open: unknown;
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutDisclosureComponent, "lu-callout-disclosure", never, { "heading": { "alias": "heading"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; }, never, ["*"], true, never>;
|
|
41
34
|
}
|
|
42
35
|
|
|
43
36
|
declare class CalloutFeedbackItemDescriptionDirective {
|
|
@@ -49,13 +42,13 @@ declare class CalloutFeedbackItemComponent {
|
|
|
49
42
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutFeedbackItemComponent, "li[lu-callout-feedback-item]", never, {}, {}, never, ["lu-feedback-item-description", "[lu-feedback-item-action]"], true, never>;
|
|
50
43
|
}
|
|
51
44
|
|
|
52
|
-
declare class CalloutFeedbackListComponent
|
|
45
|
+
declare class CalloutFeedbackListComponent {
|
|
53
46
|
#private;
|
|
54
|
-
palette: Palette
|
|
55
|
-
size:
|
|
56
|
-
|
|
47
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
48
|
+
readonly size: _angular_core.InputSignal<"M" | "S">;
|
|
49
|
+
constructor();
|
|
57
50
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutFeedbackListComponent, never>;
|
|
58
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutFeedbackListComponent, "ul[lu-callout-feedback-list]", never, { "palette": { "alias": "palette"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutFeedbackListComponent, "ul[lu-callout-feedback-list]", never, { "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
59
52
|
}
|
|
60
53
|
|
|
61
54
|
declare class CalloutPopoverComponent {
|
|
@@ -74,8 +67,8 @@ declare class CalloutPopoverComponent {
|
|
|
74
67
|
/**
|
|
75
68
|
* Alternative for the button
|
|
76
69
|
*/
|
|
77
|
-
buttonAlt: _angular_core.InputSignal<string>;
|
|
78
|
-
headingHiddenIfSingleItem: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
70
|
+
readonly buttonAlt: _angular_core.InputSignal<string>;
|
|
71
|
+
readonly headingHiddenIfSingleItem: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
79
72
|
/**
|
|
80
73
|
* Palette for both the button and the popover content
|
|
81
74
|
*/
|
|
@@ -100,21 +93,29 @@ declare class CalloutPopoverComponent {
|
|
|
100
93
|
* Heading for the details popover
|
|
101
94
|
*/
|
|
102
95
|
readonly heading: _angular_core.InputSignal<PortalContent>;
|
|
103
|
-
feedbackItems: _angular_core.Signal<readonly CalloutFeedbackItemComponent[]>;
|
|
104
|
-
contentSize: _angular_core.Signal<"M" | "S">;
|
|
105
|
-
|
|
96
|
+
readonly feedbackItems: _angular_core.Signal<readonly CalloutFeedbackItemComponent[]>;
|
|
97
|
+
readonly contentSize: _angular_core.Signal<"M" | "S">;
|
|
98
|
+
readonly calloutOverlayClasses: _angular_core.Signal<{
|
|
106
99
|
[x: string]: boolean;
|
|
107
100
|
}>;
|
|
108
|
-
|
|
101
|
+
readonly calloutPalette: _angular_core.Signal<string>;
|
|
102
|
+
readonly calloutClasses: _angular_core.Signal<{
|
|
109
103
|
[x: string]: boolean;
|
|
110
104
|
}>;
|
|
111
|
-
calloutOverlayHeadClasses: _angular_core.Signal<{
|
|
105
|
+
readonly calloutOverlayHeadClasses: _angular_core.Signal<{
|
|
112
106
|
[x: string]: boolean;
|
|
113
107
|
}>;
|
|
114
108
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutPopoverComponent, never>;
|
|
115
109
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutPopoverComponent, "lu-callout-popover", never, { "openDelay": { "alias": "openDelay"; "required": false; "isSignal": true; }; "closeDelay": { "alias": "closeDelay"; "required": false; "isSignal": true; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "buttonAlt": { "alias": "buttonAlt"; "required": false; "isSignal": true; }; "headingHiddenIfSingleItem": { "alias": "headingHiddenIfSingleItem"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; }, {}, ["feedbackItems"], ["*"], true, never>;
|
|
116
110
|
}
|
|
117
111
|
|
|
112
|
+
declare const CalloutStates: readonly ["success", "warning", "error"];
|
|
113
|
+
type CalloutState = (typeof CalloutStates)[number];
|
|
114
|
+
declare const CalloutStateMap: Record<CalloutState, {
|
|
115
|
+
icon: LuccaIcon;
|
|
116
|
+
palette: Palette;
|
|
117
|
+
}>;
|
|
118
|
+
|
|
118
119
|
declare const LU_CALLOUT_TRANSLATIONS: InjectionToken<LuTranslation<LuCalloutLabel>>;
|
|
119
120
|
interface LuCalloutLabel {
|
|
120
121
|
close: string;
|
|
@@ -122,52 +123,59 @@ interface LuCalloutLabel {
|
|
|
122
123
|
declare const luCalloutTranslations: LuTranslation<LuCalloutLabel>;
|
|
123
124
|
|
|
124
125
|
declare class CalloutComponent {
|
|
126
|
+
intl: LuCalloutLabel;
|
|
125
127
|
/**
|
|
126
128
|
* The title of the callout
|
|
127
129
|
*/
|
|
128
|
-
heading: PortalContent
|
|
130
|
+
readonly heading: _angular_core.InputSignal<PortalContent>;
|
|
129
131
|
/**
|
|
130
132
|
* Which palette should be used for the entire callout.
|
|
131
133
|
* Defaults to none (inherits parent palette)
|
|
132
134
|
*/
|
|
133
|
-
palette: Palette
|
|
135
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
134
136
|
/**
|
|
135
137
|
* Which size should the callout be? Defaults to medium
|
|
136
138
|
*/
|
|
137
|
-
size:
|
|
139
|
+
readonly size: _angular_core.InputSignal<"M" | "S">;
|
|
138
140
|
/**
|
|
139
|
-
*
|
|
141
|
+
* State is a shorthand to set the icon and the palette to the recommended values for the icon and palette based on
|
|
142
|
+
* the provided state.
|
|
143
|
+
*
|
|
144
|
+
* If one of the icon or palette inputs are filled along with the state input, their values will have the priority over
|
|
145
|
+
* state (so setting state to success and palette to warning will make the palette warning)
|
|
140
146
|
*/
|
|
141
|
-
|
|
147
|
+
readonly state: _angular_core.InputSignal<"success" | "warning" | "error">;
|
|
142
148
|
/**
|
|
143
149
|
* Which icon should we display in the callout if any?
|
|
144
150
|
* Defaults to no icon.
|
|
145
151
|
*/
|
|
146
|
-
icon: LuccaIcon
|
|
152
|
+
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
147
153
|
/**
|
|
148
|
-
*
|
|
149
|
-
* the provided state.
|
|
150
|
-
*
|
|
151
|
-
* If one of the icon or palette inputs are filled along with the state input, their values will have the priority over
|
|
152
|
-
* state (so setting state to success and palette to warning will make the palette warning)
|
|
154
|
+
* Should we display the remove icon?
|
|
153
155
|
*/
|
|
154
|
-
|
|
156
|
+
readonly removable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
155
157
|
/**
|
|
156
158
|
* Is the callout removed? Works with two way binding too.
|
|
157
159
|
*/
|
|
158
|
-
removed: boolean
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
iconAlt: _angular_core.InputSignal<string>;
|
|
163
|
-
|
|
164
|
-
|
|
160
|
+
readonly removed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
161
|
+
/**
|
|
162
|
+
* Defines the icon’s alt attribute used for accessibility
|
|
163
|
+
*/
|
|
164
|
+
readonly iconAlt: _angular_core.InputSignal<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Displayed in AI mode
|
|
167
|
+
*/
|
|
168
|
+
readonly AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
169
|
+
/**
|
|
170
|
+
* Emit event when button removed is click
|
|
171
|
+
*/
|
|
172
|
+
readonly removedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
173
|
+
readonly removedRef: _angular_core.WritableSignal<boolean>;
|
|
174
|
+
readonly calloutClasses: _angular_core.Signal<{
|
|
165
175
|
[x: string]: boolean;
|
|
166
|
-
}
|
|
176
|
+
}>;
|
|
167
177
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutComponent, never>;
|
|
168
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutComponent, "lu-callout", never, { "heading": { "alias": "heading"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "size": { "alias": "size"; "required": false; }; "
|
|
169
|
-
static ngAcceptInputType_removable: unknown;
|
|
170
|
-
static ngAcceptInputType_removed: unknown;
|
|
178
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutComponent, "lu-callout", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "removed": { "alias": "removed"; "required": false; "isSignal": true; }; "iconAlt": { "alias": "iconAlt"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, { "removedChange": "removedChange"; }, never, ["*"], true, never>;
|
|
171
179
|
}
|
|
172
180
|
|
|
173
181
|
export { CalloutActionsComponent, CalloutComponent, CalloutDisclosureComponent, CalloutFeedbackItemComponent, CalloutFeedbackItemDescriptionDirective, CalloutFeedbackListComponent, CalloutPopoverComponent, CalloutStateMap, CalloutStates, LU_CALLOUT_TRANSLATIONS, luCalloutTranslations };
|
package/chip/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface ChipTranslate {
|
|
|
9
9
|
|
|
10
10
|
declare class ChipComponent {
|
|
11
11
|
intl: ChipTranslate;
|
|
12
|
-
withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13
13
|
readonly unkillable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14
14
|
readonly palette: _angular_core.InputSignal<string>;
|
|
15
15
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
package/code/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class CodeComponent {
|
|
4
|
-
block: i0.InputSignalWithTransform<boolean, unknown>;
|
|
4
|
+
readonly block: i0.InputSignalWithTransform<boolean, unknown>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodeComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodeComponent, "lu-code", never, { "block": { "alias": "block"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
package/comment/index.d.ts
CHANGED
|
@@ -27,21 +27,18 @@ declare class CommentComponent {
|
|
|
27
27
|
|
|
28
28
|
declare class CommentBlockComponent {
|
|
29
29
|
#private;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
authorName: _angular_core.InputSignal<PortalContent>;
|
|
35
|
-
avatar: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
36
|
-
size: _angular_core.InputSignal<"S" | "M">;
|
|
37
|
-
noAvatar: _angular_core.Signal<boolean>;
|
|
38
|
-
isSingleComment: _angular_core.Signal<boolean>;
|
|
39
|
-
role
|
|
30
|
+
readonly comments: _angular_core.Signal<readonly CommentComponent[]>;
|
|
31
|
+
readonly compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly small: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
33
|
+
readonly chatAnswer: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
|
+
readonly authorName: _angular_core.InputSignal<PortalContent>;
|
|
35
|
+
readonly avatar: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
36
|
+
readonly size: _angular_core.InputSignal<"S" | "M">;
|
|
37
|
+
readonly noAvatar: _angular_core.Signal<boolean>;
|
|
38
|
+
readonly isSingleComment: _angular_core.Signal<boolean>;
|
|
39
|
+
readonly role = "listitem";
|
|
40
40
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommentBlockComponent, never>;
|
|
41
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentBlockComponent, "lu-comment-block", never, { "compact": { "alias": "compact"; "required": false; }; "small": { "alias": "small"; "required": false; }; "chatAnswer": { "alias": "chatAnswer"; "required": false; }; "authorName": { "alias": "authorName"; "required": false; "isSignal": true; }; "avatar": { "alias": "avatar"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, ["comments"], ["*"], true, never>;
|
|
42
|
-
static ngAcceptInputType_compact: unknown;
|
|
43
|
-
static ngAcceptInputType_small: unknown;
|
|
44
|
-
static ngAcceptInputType_chatAnswer: unknown;
|
|
41
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentBlockComponent, "lu-comment-block", never, { "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "small": { "alias": "small"; "required": false; "isSignal": true; }; "chatAnswer": { "alias": "chatAnswer"; "required": false; "isSignal": true; }; "authorName": { "alias": "authorName"; "required": false; "isSignal": true; }; "avatar": { "alias": "avatar"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, ["comments"], ["*"], true, never>;
|
|
45
42
|
}
|
|
46
43
|
|
|
47
44
|
declare class CommentChatComponent {
|
package/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, TemplateRef, Type, OnDestroy, Signal, CreateEffectOptions, PipeTransform } from '@angular/core';
|
|
2
|
+
import { InjectionToken, TemplateRef, Type, OnDestroy, Signal, EffectCleanupRegisterFn, CreateEffectOptions, EffectRef, PipeTransform } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Extracts the values of an enum as a union type.
|
|
@@ -153,8 +153,11 @@ interface ILuGroup<TItem, TKey> {
|
|
|
153
153
|
|
|
154
154
|
declare function generateId(): string;
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
type Nil = null | undefined;
|
|
157
|
+
declare const isNil: <T>(value: T | Nil) => value is Nil;
|
|
157
158
|
declare const isNotNil: <T>(value: T) => value is NonNullable<T>;
|
|
159
|
+
declare const isNilOrEmptyString: (str: string | Nil) => str is Nil | "";
|
|
160
|
+
declare const isNotNilOrEmptyString: (str: string | Nil) => str is string;
|
|
158
161
|
|
|
159
162
|
type PortalContent<T = unknown> = string | TemplateRef<T> | Type<unknown>;
|
|
160
163
|
declare const PORTAL_CONTEXT: InjectionToken<unknown>;
|
|
@@ -184,7 +187,7 @@ declare class PortalDirective<T = unknown> implements OnDestroy {
|
|
|
184
187
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PortalDirective<any>, "[luPortal]", never, { "luPortal": { "alias": "luPortal"; "required": true; "isSignal": true; }; "luPortalContext": { "alias": "luPortalContext"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
185
188
|
}
|
|
186
189
|
|
|
187
|
-
type
|
|
190
|
+
type SignalsValue<T> = T extends readonly unknown[] ? TupleOfSignalValues<T> : [RecordOfSignalValues<T>];
|
|
188
191
|
type TupleOfSignalValues<T> = T extends readonly [Signal<infer U>, ...infer R] ? [U, ...TupleOfSignalValues<R>] : [];
|
|
189
192
|
type RecordOfSignalValues<T> = {
|
|
190
193
|
[K in keyof T]: T[K] extends Signal<infer U> ? U : never;
|
|
@@ -193,9 +196,9 @@ type EffectWithDepsInput = ReadonlyArray<Signal<unknown>> | Record<string, Signa
|
|
|
193
196
|
/**
|
|
194
197
|
* Effect peut être dangereux car l'action accomplie peut elle-même déclencher des écritures dans des signaux.
|
|
195
198
|
* C'est une mauvaise pratique, interdite par défaut par Angular.
|
|
196
|
-
* La
|
|
199
|
+
* La plupart du temps, seule la lecture des signaux est intéressante à tracker, pas les actions qui en découlent.
|
|
197
200
|
*/
|
|
198
|
-
declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependencies: T, action: (...values:
|
|
201
|
+
declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependencies: T, action: (...values: [...SignalsValue<T>, EffectCleanupRegisterFn]) => unknown, options?: CreateEffectOptions): EffectRef;
|
|
199
202
|
|
|
200
203
|
type LuClassSupportedTypes = string | string[] | Set<string> | {
|
|
201
204
|
[klass: string]: boolean;
|
|
@@ -236,5 +239,5 @@ interface ILuTree<T> {
|
|
|
236
239
|
disabled?: boolean;
|
|
237
240
|
}
|
|
238
241
|
|
|
239
|
-
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuClass, LuNativeDateAdapter, LuStringDateAdapter, PORTAL_CONTEXT, PortalDirective, generateId, getIntl, isNil, isNotNil, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
240
|
-
export type { At, Breakpoint, DecorativePalette, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuTranslation, Palette, PortalContent, ResponsiveConfig, ResponsiveProperty };
|
|
242
|
+
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuClass, LuNativeDateAdapter, LuStringDateAdapter, PORTAL_CONTEXT, PortalDirective, generateId, getIntl, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
243
|
+
export type { At, Breakpoint, DecorativePalette, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuTranslation, Palette, PortalContent, ResponsiveConfig, ResponsiveProperty };
|
package/core-select/index.d.ts
CHANGED
|
@@ -293,10 +293,12 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
293
293
|
*/
|
|
294
294
|
set grouping(grouping: LuOptionGrouping<TOption, unknown> | undefined);
|
|
295
295
|
treeGenerator?: TreeGenerator<TOption, TreeNode<TOption>>;
|
|
296
|
-
clueChange
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
296
|
+
clueChange$: Subject<string>;
|
|
297
|
+
clueChange: i0.OutputRef<string>;
|
|
298
|
+
nextPage$: Subject<void>;
|
|
299
|
+
nextPage: i0.OutputRef<void>;
|
|
300
|
+
previousPage: i0.OutputEmitterRef<void>;
|
|
301
|
+
addOption: i0.OutputEmitterRef<string>;
|
|
300
302
|
valueSignal: i0.WritableSignal<TValue>;
|
|
301
303
|
isFilterPillEmpty: i0.Signal<boolean>;
|
|
302
304
|
isFilterPillClearable: i0.Signal<boolean>;
|
|
@@ -71,12 +71,13 @@ declare class LuCoreSelectUsersDirective<T extends LuCoreSelectUser = LuCoreSele
|
|
|
71
71
|
}
|
|
72
72
|
declare class LuCoreSelectUserOptionDirective<T extends LuCoreSelectUser = LuCoreSelectUser> {
|
|
73
73
|
#private;
|
|
74
|
-
|
|
74
|
+
readonly usersDirective: _angular_core.InputSignal<LuCoreSelectUsersDirective<T>>;
|
|
75
|
+
constructor();
|
|
75
76
|
static ngTemplateContextGuard<T extends LuCoreSelectUser>(_dir: LuCoreSelectUserOptionDirective<T>, ctx: unknown): ctx is {
|
|
76
77
|
$implicit: T;
|
|
77
78
|
};
|
|
78
79
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectUserOptionDirective<any>, never>;
|
|
79
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectUserOptionDirective<any>, "[luUserOption]", never, { "usersDirective": { "alias": "luUserOptionUsersRef"; "required": false; }; }, {}, never, never, true, never>;
|
|
80
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectUserOptionDirective<any>, "[luUserOption]", never, { "usersDirective": { "alias": "luUserOptionUsersRef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
export { LU_CORE_SELECT_USER_TRANSLATIONS, LuCoreSelectUserOptionDirective, LuCoreSelectUsersDirective, luCoreSelectUserTranslations, provideCoreSelectCurrentUserId, provideCoreSelectUsersContext };
|
package/dialog/index.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, OnInit, EnvironmentProviders, Provider, TemplateRef, AfterViewInit, OnDestroy, Injector } from '@angular/core';
|
|
3
3
|
import { LuTranslation } from '@lucca-front/ng/core';
|
|
4
|
+
import * as _angular_cdk_dialog from '@angular/cdk/dialog';
|
|
4
5
|
import { AutoFocusTarget, DialogConfig, DialogRef } from '@angular/cdk/dialog';
|
|
5
6
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
7
|
+
import * as rxjs from 'rxjs';
|
|
6
8
|
import { Observable, Subscription } from 'rxjs';
|
|
9
|
+
import * as _angular_cdk_portal_directives_d_DbeNrI5D from '@angular/cdk/portal-directives.d-DbeNrI5D';
|
|
7
10
|
import { Route, CanDeactivateFn, DeprecatedGuard, GuardResult } from '@angular/router';
|
|
8
11
|
|
|
9
12
|
declare class DialogContentComponent {
|
|
@@ -55,7 +58,7 @@ type DialogRefProps<C> = {
|
|
|
55
58
|
[K in keyof C]: C[K] extends ɵDialogResultFlag<unknown> ? K : never;
|
|
56
59
|
}[keyof C] & keyof C;
|
|
57
60
|
type LuDialogResult<C> = DialogRefProps<C> extends never ? void : C[DialogRefProps<C>] extends ɵDialogResultFlag<infer T> ? T : void;
|
|
58
|
-
|
|
61
|
+
type BaseLuDialogConfig<C, TData = LuDialogData<C>> = {
|
|
59
62
|
/**
|
|
60
63
|
* The component or template to put inside the dialog container
|
|
61
64
|
*/
|
|
@@ -116,7 +119,7 @@ interface BaseLuDialogConfig<C, TData = LuDialogData<C>> {
|
|
|
116
119
|
* Classes to add to the panel
|
|
117
120
|
*/
|
|
118
121
|
panelClasses?: string[];
|
|
119
|
-
}
|
|
122
|
+
};
|
|
120
123
|
type LuDialogConfig<T, TData = LuDialogData<T>> = [TData] extends [never] ? Omit<BaseLuDialogConfig<T, TData>, 'data'> : BaseLuDialogConfig<T, TData>;
|
|
121
124
|
|
|
122
125
|
declare const DISMISSED_VALUE: {};
|
|
@@ -191,11 +194,24 @@ declare class DialogDismissDirective {
|
|
|
191
194
|
|
|
192
195
|
declare class DialogOpenDirective {
|
|
193
196
|
#private;
|
|
194
|
-
dialog: TemplateRef<void
|
|
195
|
-
luDialogConfig:
|
|
197
|
+
readonly dialog: i0.InputSignal<TemplateRef<void>>;
|
|
198
|
+
readonly luDialogConfig: i0.InputSignal<Omit<{
|
|
199
|
+
content: _angular_cdk_portal_directives_d_DbeNrI5D.a<unknown> | TemplateRef<unknown>;
|
|
200
|
+
data: never;
|
|
201
|
+
modal?: boolean;
|
|
202
|
+
alert?: boolean;
|
|
203
|
+
ariaLabel?: string;
|
|
204
|
+
autoFocus?: _angular_cdk_dialog.AutoFocusTarget | "first-input" | string;
|
|
205
|
+
cdkConfigOverride?: _angular_cdk_dialog.DialogConfig<unknown, unknown, _angular_cdk_portal_directives_d_DbeNrI5D.B>;
|
|
206
|
+
canClose?: (comp: unknown) => boolean | rxjs.Observable<boolean>;
|
|
207
|
+
canCloseWithBackdrop?: boolean;
|
|
208
|
+
size?: "XS" | "S" | "M" | "L" | "XL" | "XXL" | "fitContent" | `maxContent` | "fullScreen";
|
|
209
|
+
mode?: "default" | "drawer" | "drawer-from-bottom";
|
|
210
|
+
panelClasses?: string[];
|
|
211
|
+
}, "data">>;
|
|
196
212
|
click(): void;
|
|
197
213
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogOpenDirective, never>;
|
|
198
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogOpenDirective, "[luDialogOpen]", never, { "dialog": { "alias": "luDialogOpen"; "required": true; }; "luDialogConfig": { "alias": "luDialogConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
214
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogOpenDirective, "[luDialogOpen]", never, { "dialog": { "alias": "luDialogOpen"; "required": true; "isSignal": true; }; "luDialogConfig": { "alias": "luDialogConfig"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
199
215
|
}
|
|
200
216
|
|
|
201
217
|
type Deferrable<T> = Promise<T> | Observable<T> | T;
|
package/empty-state/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { PortalContent, Palette } from '@lucca-front/ng/core';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
3
|
|
|
4
4
|
type Hx = 1 | 2 | 3 | 4 | 5 | 6;
|
|
5
5
|
|
|
@@ -7,53 +7,50 @@ declare class EmptyStatePageComponent {
|
|
|
7
7
|
/**
|
|
8
8
|
* Icon image (URL)
|
|
9
9
|
*/
|
|
10
|
-
icon:
|
|
10
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
11
11
|
/**
|
|
12
12
|
* Top right background image (URL)
|
|
13
13
|
*/
|
|
14
|
-
topRightBackground: string
|
|
14
|
+
readonly topRightBackground: _angular_core.InputSignal<string>;
|
|
15
15
|
/**
|
|
16
16
|
* Top right foreground image (URL)
|
|
17
17
|
*/
|
|
18
|
-
topRightForeground: string
|
|
18
|
+
readonly topRightForeground: _angular_core.InputSignal<string>;
|
|
19
19
|
/**
|
|
20
20
|
* Bottom left background image (URL)
|
|
21
21
|
*/
|
|
22
|
-
bottomLeftBackground: string
|
|
22
|
+
readonly bottomLeftBackground: _angular_core.InputSignal<string>;
|
|
23
23
|
/**
|
|
24
24
|
* Bottom left foreground image (URL)
|
|
25
25
|
*/
|
|
26
|
-
bottomLeftForeground: string
|
|
26
|
+
readonly bottomLeftForeground: _angular_core.InputSignal<string>;
|
|
27
27
|
/**
|
|
28
28
|
* Background color for content (text)
|
|
29
29
|
*/
|
|
30
|
-
contentBackgroundColor: string
|
|
31
|
-
slotTop: PortalContent
|
|
32
|
-
heading: string
|
|
33
|
-
description: PortalContent
|
|
34
|
-
hx: Hx
|
|
35
|
-
static ɵfac:
|
|
36
|
-
static ɵcmp:
|
|
37
|
-
static ngAcceptInputType_hx: unknown;
|
|
30
|
+
readonly contentBackgroundColor: _angular_core.InputSignal<string>;
|
|
31
|
+
readonly slotTop: _angular_core.InputSignal<PortalContent>;
|
|
32
|
+
readonly heading: _angular_core.InputSignal<string>;
|
|
33
|
+
readonly description: _angular_core.InputSignal<PortalContent>;
|
|
34
|
+
readonly hx: _angular_core.InputSignalWithTransform<Hx, Hx | "1" | "2" | "3" | "4" | "5" | "6">;
|
|
35
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmptyStatePageComponent, never>;
|
|
36
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStatePageComponent, "lu-empty-state-page", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "topRightBackground": { "alias": "topRightBackground"; "required": false; "isSignal": true; }; "topRightForeground": { "alias": "topRightForeground"; "required": false; "isSignal": true; }; "bottomLeftBackground": { "alias": "bottomLeftBackground"; "required": false; "isSignal": true; }; "bottomLeftForeground": { "alias": "bottomLeftForeground"; "required": false; "isSignal": true; }; "contentBackgroundColor": { "alias": "contentBackgroundColor"; "required": false; "isSignal": true; }; "slotTop": { "alias": "slotTop"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "hx": { "alias": "hx"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
declare class EmptyStateSectionComponent {
|
|
41
40
|
/**
|
|
42
41
|
* Icon URL
|
|
43
42
|
*/
|
|
44
|
-
icon: string
|
|
45
|
-
palette: Palette
|
|
46
|
-
center: boolean
|
|
47
|
-
heading: string
|
|
48
|
-
description: PortalContent
|
|
49
|
-
hx: Hx
|
|
50
|
-
|
|
43
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
44
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
45
|
+
readonly center: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
46
|
+
readonly heading: _angular_core.InputSignal<string>;
|
|
47
|
+
readonly description: _angular_core.InputSignal<PortalContent>;
|
|
48
|
+
readonly hx: _angular_core.InputSignalWithTransform<Hx, Hx | "1" | "2" | "3" | "4" | "5" | "6">;
|
|
49
|
+
readonly emptyStateClasses: _angular_core.Signal<{
|
|
51
50
|
[x: string]: boolean;
|
|
52
|
-
}
|
|
53
|
-
static ɵfac:
|
|
54
|
-
static ɵcmp:
|
|
55
|
-
static ngAcceptInputType_center: unknown;
|
|
56
|
-
static ngAcceptInputType_hx: unknown;
|
|
51
|
+
}>;
|
|
52
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmptyStateSectionComponent, never>;
|
|
53
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateSectionComponent, "lu-empty-state-section", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "center": { "alias": "center"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "hx": { "alias": "hx"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
57
54
|
}
|
|
58
55
|
|
|
59
56
|
export { EmptyStatePageComponent, EmptyStateSectionComponent };
|