@lucca-front/ng 21.0.0-rc.1 → 21.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +90 -86
- package/chip/index.d.ts +12 -3
- package/clear/index.d.ts +5 -2
- package/code/index.d.ts +5 -5
- package/comment/index.d.ts +11 -14
- package/core/index.d.ts +5 -5
- package/core-select/index.d.ts +6 -4
- package/core-select/user/index.d.ts +3 -2
- package/data-table/index.d.ts +3 -2
- package/dialog/index.d.ts +3 -3
- package/empty-state/index.d.ts +23 -26
- package/fancy-box/index.d.ts +11 -10
- package/fesm2022/lucca-front-ng-api.mjs +1 -1
- 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 +151 -212
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +31 -5
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +22 -10
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +5 -5
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +15 -35
- 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 +3 -3
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +9 -4
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +6 -6
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +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-establishment.mjs +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 +2 -2
- 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-form.mjs +2 -2
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +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 +101 -188
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +20 -5
- package/fesm2022/lucca-front-ng-grid.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 +6 -6
- 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-popover2.mjs +2 -2
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +16 -12
- package/fesm2022/lucca-front-ng-read-more.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 +3 -3
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +34 -44
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +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 +80 -107
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +45 -85
- 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 +55 -62
- package/forms/phone-number-input/index.d.ts +13 -13
- package/grid/index.d.ts +9 -5
- 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 +27 -27
- package/plg-push/index.d.ts +6 -8
- package/read-more/index.d.ts +3 -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 +33 -41
- package/user/index.d.ts +17 -28
- 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
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, ElementRef, TemplateRef, 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:
|
|
8
|
-
static ɵfac:
|
|
9
|
-
static ɵcmp:
|
|
7
|
+
readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
8
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutActionsComponent, never>;
|
|
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,71 +21,69 @@ 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
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
static
|
|
29
|
+
}>;
|
|
30
|
+
openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
31
|
+
onToggle(event: Event): void;
|
|
32
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutDisclosureComponent, never>;
|
|
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 {
|
|
44
|
-
static ɵfac:
|
|
45
|
-
static ɵdir:
|
|
37
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutFeedbackItemDescriptionDirective, never>;
|
|
38
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CalloutFeedbackItemDescriptionDirective, "lu-feedback-item-description", never, {}, {}, never, never, true, never>;
|
|
46
39
|
}
|
|
47
40
|
declare class CalloutFeedbackItemComponent {
|
|
48
|
-
static ɵfac:
|
|
49
|
-
static ɵcmp:
|
|
41
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutFeedbackItemComponent, never>;
|
|
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
|
-
|
|
57
|
-
static ɵfac:
|
|
58
|
-
static ɵcmp:
|
|
47
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
48
|
+
readonly size: _angular_core.InputSignal<"M" | "S">;
|
|
49
|
+
constructor();
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutFeedbackListComponent, 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 implements OnDestroy {
|
|
62
55
|
#private;
|
|
63
|
-
overlayOrigin: ElementRef
|
|
64
|
-
overlayContent: TemplateRef<unknown
|
|
65
|
-
private _hideDelayId;
|
|
66
|
-
private _showDelayId;
|
|
56
|
+
readonly overlayOrigin: _angular_core.Signal<ElementRef<any>>;
|
|
57
|
+
readonly overlayContent: _angular_core.Signal<TemplateRef<unknown>>;
|
|
67
58
|
/**
|
|
68
59
|
* Debounce for the popover to open (mouse will have to be on the element fox openDelay milliseconds for popover to show)
|
|
69
60
|
*/
|
|
70
|
-
readonly openDelay
|
|
61
|
+
readonly openDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
71
62
|
/**
|
|
72
63
|
* Debounce for the popover to close (mouse will have to be out of both popover and trigger for closeDelay milliseconds for it to close)
|
|
73
64
|
*/
|
|
74
|
-
readonly closeDelay
|
|
65
|
+
readonly closeDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
75
66
|
/**
|
|
76
67
|
* Label (visual only) to put inside the button, often used to show just a number
|
|
77
68
|
*/
|
|
78
|
-
buttonLabel: string
|
|
69
|
+
readonly buttonLabel: _angular_core.InputSignal<string>;
|
|
79
70
|
/**
|
|
80
71
|
* Alternative for the button
|
|
81
72
|
*/
|
|
82
|
-
buttonAlt:
|
|
83
|
-
headingHiddenIfSingleItem:
|
|
73
|
+
readonly buttonAlt: _angular_core.InputSignal<string>;
|
|
74
|
+
readonly headingHiddenIfSingleItem: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
84
75
|
/**
|
|
85
76
|
* Palette for both the button and the popover content
|
|
86
77
|
*/
|
|
87
|
-
palette: Palette
|
|
78
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
88
79
|
/**
|
|
89
80
|
* Size for both button and popover content
|
|
90
81
|
*/
|
|
91
|
-
size
|
|
82
|
+
readonly size: _angular_core.InputSignal<"M" | "S" | "XS">;
|
|
92
83
|
/**
|
|
93
84
|
* Icon shows in button and next to popover's title
|
|
94
85
|
*/
|
|
95
|
-
icon: LuccaIcon
|
|
86
|
+
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
96
87
|
/**
|
|
97
88
|
* State is a shorthand to set the icon and the palette to the recommended values for the icon and palette based on
|
|
98
89
|
* the provided state.
|
|
@@ -100,32 +91,38 @@ declare class CalloutPopoverComponent implements OnDestroy {
|
|
|
100
91
|
* If one of the icon or palette inputs are filled along with the state input, their values will have the priority over
|
|
101
92
|
* state (so setting state to success and palette to warning will make the palette warning)
|
|
102
93
|
*/
|
|
103
|
-
state:
|
|
94
|
+
readonly state: _angular_core.InputSignal<"success" | "warning" | "error">;
|
|
104
95
|
/**
|
|
105
96
|
* Heading for the details popover
|
|
106
97
|
*/
|
|
107
|
-
heading: PortalContent
|
|
108
|
-
feedbackItems:
|
|
109
|
-
|
|
110
|
-
|
|
98
|
+
readonly heading: _angular_core.InputSignal<PortalContent>;
|
|
99
|
+
readonly feedbackItems: _angular_core.Signal<readonly CalloutFeedbackItemComponent[]>;
|
|
100
|
+
readonly contentSize: _angular_core.Signal<"M" | "S">;
|
|
101
|
+
readonly calloutOverlayClasses: _angular_core.Signal<{
|
|
111
102
|
[x: string]: boolean;
|
|
112
|
-
}
|
|
113
|
-
|
|
103
|
+
}>;
|
|
104
|
+
readonly calloutPalette: _angular_core.Signal<string>;
|
|
105
|
+
readonly calloutClasses: _angular_core.Signal<{
|
|
114
106
|
[x: string]: boolean;
|
|
115
|
-
}
|
|
116
|
-
|
|
107
|
+
}>;
|
|
108
|
+
readonly calloutOverlayHeadClasses: _angular_core.Signal<{
|
|
117
109
|
[x: string]: boolean;
|
|
118
|
-
}
|
|
110
|
+
}>;
|
|
119
111
|
showContent(): void;
|
|
120
112
|
private createPanelContent;
|
|
121
113
|
hideContent(event: MouseEvent | null): void;
|
|
122
114
|
ngOnDestroy(): void;
|
|
123
|
-
static ɵfac:
|
|
124
|
-
static ɵcmp:
|
|
125
|
-
static ngAcceptInputType_openDelay: unknown;
|
|
126
|
-
static ngAcceptInputType_closeDelay: unknown;
|
|
115
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutPopoverComponent, never>;
|
|
116
|
+
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>;
|
|
127
117
|
}
|
|
128
118
|
|
|
119
|
+
declare const CalloutStates: readonly ["success", "warning", "error"];
|
|
120
|
+
type CalloutState = (typeof CalloutStates)[number];
|
|
121
|
+
declare const CalloutStateMap: Record<CalloutState, {
|
|
122
|
+
icon: LuccaIcon;
|
|
123
|
+
palette: Palette;
|
|
124
|
+
}>;
|
|
125
|
+
|
|
129
126
|
declare const LU_CALLOUT_TRANSLATIONS: InjectionToken<LuTranslation<LuCalloutLabel>>;
|
|
130
127
|
interface LuCalloutLabel {
|
|
131
128
|
close: string;
|
|
@@ -133,52 +130,59 @@ interface LuCalloutLabel {
|
|
|
133
130
|
declare const luCalloutTranslations: LuTranslation<LuCalloutLabel>;
|
|
134
131
|
|
|
135
132
|
declare class CalloutComponent {
|
|
133
|
+
intl: LuCalloutLabel;
|
|
136
134
|
/**
|
|
137
135
|
* The title of the callout
|
|
138
136
|
*/
|
|
139
|
-
heading: PortalContent
|
|
137
|
+
readonly heading: _angular_core.InputSignal<PortalContent>;
|
|
140
138
|
/**
|
|
141
139
|
* Which palette should be used for the entire callout.
|
|
142
140
|
* Defaults to none (inherits parent palette)
|
|
143
141
|
*/
|
|
144
|
-
palette: Palette
|
|
142
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
145
143
|
/**
|
|
146
144
|
* Which size should the callout be? Defaults to medium
|
|
147
145
|
*/
|
|
148
|
-
size:
|
|
146
|
+
readonly size: _angular_core.InputSignal<"M" | "S">;
|
|
149
147
|
/**
|
|
150
|
-
*
|
|
148
|
+
* State is a shorthand to set the icon and the palette to the recommended values for the icon and palette based on
|
|
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)
|
|
151
153
|
*/
|
|
152
|
-
|
|
154
|
+
readonly state: _angular_core.InputSignal<"success" | "warning" | "error">;
|
|
153
155
|
/**
|
|
154
156
|
* Which icon should we display in the callout if any?
|
|
155
157
|
* Defaults to no icon.
|
|
156
158
|
*/
|
|
157
|
-
icon: LuccaIcon
|
|
159
|
+
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
158
160
|
/**
|
|
159
|
-
*
|
|
160
|
-
* the provided state.
|
|
161
|
-
*
|
|
162
|
-
* If one of the icon or palette inputs are filled along with the state input, their values will have the priority over
|
|
163
|
-
* state (so setting state to success and palette to warning will make the palette warning)
|
|
161
|
+
* Should we display the remove icon?
|
|
164
162
|
*/
|
|
165
|
-
|
|
163
|
+
readonly removable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
166
164
|
/**
|
|
167
165
|
* Is the callout removed? Works with two way binding too.
|
|
168
166
|
*/
|
|
169
|
-
removed: boolean
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
iconAlt:
|
|
174
|
-
|
|
175
|
-
|
|
167
|
+
readonly removed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
168
|
+
/**
|
|
169
|
+
* Defines the icon’s alt attribute used for accessibility
|
|
170
|
+
*/
|
|
171
|
+
readonly iconAlt: _angular_core.InputSignal<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Displayed in AI mode
|
|
174
|
+
*/
|
|
175
|
+
readonly AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
176
|
+
/**
|
|
177
|
+
* Emit event when button removed is click
|
|
178
|
+
*/
|
|
179
|
+
readonly removedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
180
|
+
readonly removedRef: _angular_core.WritableSignal<boolean>;
|
|
181
|
+
readonly calloutClasses: _angular_core.Signal<{
|
|
176
182
|
[x: string]: boolean;
|
|
177
|
-
}
|
|
178
|
-
static ɵfac:
|
|
179
|
-
static ɵcmp:
|
|
180
|
-
static ngAcceptInputType_removable: unknown;
|
|
181
|
-
static ngAcceptInputType_removed: unknown;
|
|
183
|
+
}>;
|
|
184
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutComponent, never>;
|
|
185
|
+
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>;
|
|
182
186
|
}
|
|
183
187
|
|
|
184
188
|
export { CalloutActionsComponent, CalloutComponent, CalloutDisclosureComponent, CalloutFeedbackItemComponent, CalloutFeedbackItemDescriptionDirective, CalloutFeedbackListComponent, CalloutPopoverComponent, CalloutStateMap, CalloutStates, LU_CALLOUT_TRANSLATIONS, luCalloutTranslations };
|
package/chip/index.d.ts
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { LuccaIcon } from '@lucca-front/icons';
|
|
2
3
|
|
|
3
4
|
interface ChipTranslate {
|
|
4
5
|
delete: string;
|
|
6
|
+
error: string;
|
|
7
|
+
warning: string;
|
|
5
8
|
}
|
|
6
9
|
|
|
7
10
|
declare class ChipComponent {
|
|
8
11
|
intl: ChipTranslate;
|
|
9
|
-
withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
10
13
|
readonly unkillable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
11
14
|
readonly palette: _angular_core.InputSignal<string>;
|
|
12
15
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13
|
-
readonly
|
|
16
|
+
readonly size: _angular_core.InputSignal<"S">;
|
|
17
|
+
readonly state: _angular_core.InputSignal<"warning" | "critical">;
|
|
18
|
+
readonly stateAlt: _angular_core.Signal<string>;
|
|
19
|
+
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
14
20
|
readonly kill: _angular_core.OutputEmitterRef<Event>;
|
|
21
|
+
readonly isWarning: _angular_core.Signal<boolean>;
|
|
22
|
+
readonly isCritical: _angular_core.Signal<boolean>;
|
|
23
|
+
readonly displayedIcon: _angular_core.Signal<LuccaIcon>;
|
|
15
24
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
16
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChipComponent, "lu-chip", never, { "withEllipsis": { "alias": "withEllipsis"; "required": false; "isSignal": true; }; "unkillable": { "alias": "unkillable"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "kill": "kill"; }, never, ["*"], true, never>;
|
|
25
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChipComponent, "lu-chip, button[luChip], a[luChip]", never, { "withEllipsis": { "alias": "withEllipsis"; "required": false; "isSignal": true; }; "unkillable": { "alias": "unkillable"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "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; }; }, { "kill": "kill"; }, never, ["*"], true, never>;
|
|
17
26
|
}
|
|
18
27
|
|
|
19
28
|
export { ChipComponent };
|
package/clear/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { EventEmitter, ElementRef } from '@angular/core';
|
|
3
|
+
import { Palette } from '@lucca-front/ng/core';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
4
5
|
|
|
5
6
|
interface LuClearLabel {
|
|
@@ -14,16 +15,18 @@ declare abstract class ALuClear<T> implements ILuClear<T> {
|
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
declare class ClearComponent<T> extends ALuClear<T> implements ILuClear<T> {
|
|
18
|
+
#private;
|
|
17
19
|
intl: LuClearLabel;
|
|
18
20
|
size: _angular_core.InputSignal<"S">;
|
|
19
21
|
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
|
-
|
|
22
|
+
palette: _angular_core.InputSignal<Palette>;
|
|
21
23
|
inverted: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
24
|
onClear: EventEmitter<T>;
|
|
23
25
|
contentRef: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
26
|
+
constructor();
|
|
24
27
|
clear($event: Event): void;
|
|
25
28
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClearComponent<any>, never>;
|
|
26
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClearComponent<any>, "lu-clear", ["luClearer"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "
|
|
29
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClearComponent<any>, "lu-clear", ["luClearer"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; }, { "onClear": "onClear"; }, ["contentRef"], ["*"], true, never>;
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
export { ALuClear, ClearComponent };
|
package/code/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
|
-
declare class
|
|
4
|
-
block: i0.InputSignalWithTransform<boolean, unknown>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
3
|
+
declare class CodeComponent {
|
|
4
|
+
readonly block: i0.InputSignalWithTransform<boolean, unknown>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CodeComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CodeComponent, "lu-code", never, { "block": { "alias": "block"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { CodeComponent };
|
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: string
|
|
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: _angular_core.Signal<string>;
|
|
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.
|
|
@@ -184,7 +184,7 @@ declare class PortalDirective<T = unknown> implements OnDestroy {
|
|
|
184
184
|
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
185
|
}
|
|
186
186
|
|
|
187
|
-
type
|
|
187
|
+
type SignalsValue<T> = T extends readonly unknown[] ? TupleOfSignalValues<T> : [RecordOfSignalValues<T>];
|
|
188
188
|
type TupleOfSignalValues<T> = T extends readonly [Signal<infer U>, ...infer R] ? [U, ...TupleOfSignalValues<R>] : [];
|
|
189
189
|
type RecordOfSignalValues<T> = {
|
|
190
190
|
[K in keyof T]: T[K] extends Signal<infer U> ? U : never;
|
|
@@ -193,9 +193,9 @@ type EffectWithDepsInput = ReadonlyArray<Signal<unknown>> | Record<string, Signa
|
|
|
193
193
|
/**
|
|
194
194
|
* Effect peut être dangereux car l'action accomplie peut elle-même déclencher des écritures dans des signaux.
|
|
195
195
|
* C'est une mauvaise pratique, interdite par défaut par Angular.
|
|
196
|
-
* La
|
|
196
|
+
* La plupart du temps, seule la lecture des signaux est intéressante à tracker, pas les actions qui en découlent.
|
|
197
197
|
*/
|
|
198
|
-
declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependencies: T, action: (...values:
|
|
198
|
+
declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependencies: T, action: (...values: [...SignalsValue<T>, EffectCleanupRegisterFn]) => unknown, options?: CreateEffectOptions): EffectRef;
|
|
199
199
|
|
|
200
200
|
type LuClassSupportedTypes = string | string[] | Set<string> | {
|
|
201
201
|
[klass: string]: boolean;
|
|
@@ -237,4 +237,4 @@ interface ILuTree<T> {
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
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 };
|
|
240
|
+
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/data-table/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _lucca_front_ng_data_table from '@lucca-front/ng/data-table';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { AfterContentInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { AfterContentInit, ElementRef, OnInit } from '@angular/core';
|
|
4
4
|
import { PortalContent } from '@lucca-front/ng/core';
|
|
5
5
|
|
|
6
6
|
declare class DataTableBodyComponent {
|
|
@@ -85,7 +85,7 @@ declare class DataTableRowComponent {
|
|
|
85
85
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowComponent, "tr[luDataTableRow]", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["cells"], ["*"], true, never>;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
declare class DataTableComponent {
|
|
88
|
+
declare class DataTableComponent implements OnInit {
|
|
89
89
|
#private;
|
|
90
90
|
tableRef: _angular_core.Signal<ElementRef<Element>>;
|
|
91
91
|
readonly hover: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -127,6 +127,7 @@ declare class DataTableComponent {
|
|
|
127
127
|
}>;
|
|
128
128
|
scroll(): void;
|
|
129
129
|
constructor();
|
|
130
|
+
ngOnInit(): void;
|
|
130
131
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
131
132
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableComponent, "lu-data-table", never, { "hover": { "alias": "hover"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "layoutFixed": { "alias": "layoutFixed"; "required": false; "isSignal": true; }; "cellBorder": { "alias": "cellBorder"; "required": false; "isSignal": true; }; "nested": { "alias": "nested"; "required": false; "isSignal": true; }; "drag": { "alias": "drag"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; "isSignal": true; }; "stickyColsStart": { "alias": "stickyColsStart"; "required": false; "isSignal": true; }; "stickyColsEnd": { "alias": "stickyColsEnd"; "required": false; "isSignal": true; }; }, {}, ["rows", "header"], ["*", "[dataTablePagination]"], true, never>;
|
|
132
133
|
}
|