@lucca-front/ng 22.0.5-rc.1 → 22.0.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/fesm2022/lucca-front-ng-a11y.mjs +1 -0
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +6 -6
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs +3 -3
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +1 -1
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +14 -7
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +22 -27
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +12 -7
- 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-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +86 -9
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +6 -6
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +24 -7
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +76 -26
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +2 -2
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +1 -1
- 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 +12 -11
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +11 -6
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +1 -1
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +3 -3
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +2 -2
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +2 -2
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +4 -4
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +1 -1
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +9 -6
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +2 -2
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +9 -4
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +10 -5
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +1 -1
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/package.json +4 -4
- package/types/lucca-front-ng-activity-feed.d.ts +13 -9
- package/types/lucca-front-ng-approbation-inbox.d.ts +32 -25
- package/types/lucca-front-ng-box.d.ts +12 -6
- package/types/lucca-front-ng-breadcrumbs.d.ts +12 -7
- package/types/lucca-front-ng-chip.d.ts +16 -9
- package/types/lucca-front-ng-clear.d.ts +12 -8
- package/types/lucca-front-ng-data-table.d.ts +13 -9
- package/types/lucca-front-ng-date.d.ts +12 -10
- package/types/lucca-front-ng-date2.d.ts +21 -18
- package/types/lucca-front-ng-file-upload.d.ts +41 -36
- package/types/lucca-front-ng-filter-pills.d.ts +27 -16
- package/types/lucca-front-ng-form-field.d.ts +22 -1
- package/types/lucca-front-ng-form-label.d.ts +13 -8
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +38 -34
- package/types/lucca-front-ng-forms.d.ts +29 -42
- package/types/lucca-front-ng-impersonation.d.ts +14 -9
- package/types/lucca-front-ng-index-table.d.ts +3 -1
- package/types/lucca-front-ng-link.d.ts +11 -6
- package/types/lucca-front-ng-mobile-push.d.ts +18 -12
- package/types/lucca-front-ng-multi-select.d.ts +1 -1
- package/types/lucca-front-ng-pagination.d.ts +15 -10
- package/types/lucca-front-ng-plg-push.d.ts +12 -6
- package/types/lucca-front-ng-read-more.d.ts +13 -9
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +5 -1
- package/types/lucca-front-ng-segmented-control.d.ts +5 -1
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Signal, InjectionToken, ElementRef, TemplateRef } from '@angular/core';
|
|
3
|
+
import * as _lucca_front_ng_filter_pills from '@lucca-front/ng/filter-pills';
|
|
3
4
|
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
4
5
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
5
6
|
import { PopoverDirective } from '@lucca-front/ng/popover2';
|
|
6
|
-
|
|
7
|
-
interface LuFilterPillsLabel {
|
|
8
|
-
clear: string;
|
|
9
|
-
placeholder: string;
|
|
10
|
-
additionalFilters: string;
|
|
11
|
-
selectView: string;
|
|
12
|
-
viewOptions: string;
|
|
13
|
-
renameView: string;
|
|
14
|
-
deleteView: string;
|
|
15
|
-
}
|
|
7
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
16
8
|
|
|
17
9
|
type FilterPillLayout = 'checkable';
|
|
18
10
|
interface FilterPillInputComponent {
|
|
@@ -65,7 +57,7 @@ declare class FilterPillLabelDirective {
|
|
|
65
57
|
|
|
66
58
|
declare class FilterPillComponent {
|
|
67
59
|
#private;
|
|
68
|
-
readonly intl: _angular_core.InputSignalWithTransform<LuFilterPillsLabel, Partial<LuFilterPillsLabel>>;
|
|
60
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_filter_pills.LuFilterPillsLabel, Partial<_lucca_front_ng_filter_pills.LuFilterPillsLabel>>;
|
|
69
61
|
readonly elementRef: ElementRef<any>;
|
|
70
62
|
readonly layout: _angular_core.Signal<"checkable" | "default">;
|
|
71
63
|
readonly childInputComponentRef: _angular_core.Signal<FilterPillInputComponent>;
|
|
@@ -111,14 +103,20 @@ declare class FilterPillComponent {
|
|
|
111
103
|
}
|
|
112
104
|
|
|
113
105
|
declare class FilterBarComponent {
|
|
114
|
-
readonly intl: _angular_core.InputSignalWithTransform<LuFilterPillsLabel, Partial<LuFilterPillsLabel>>;
|
|
106
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_filter_pills.LuFilterPillsLabel, Partial<_lucca_front_ng_filter_pills.LuFilterPillsLabel>>;
|
|
107
|
+
/**
|
|
108
|
+
* Set when results only update after an explicit "Apply" action, to remove the hidden message
|
|
109
|
+
* telling assistive technology users that the results list updates automatically
|
|
110
|
+
*/
|
|
111
|
+
readonly manualApply: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
112
|
+
readonly autoApplyAnnouncementId: string;
|
|
115
113
|
readonly addonBefore: _angular_core.WritableSignal<TemplateRef<unknown>>;
|
|
116
114
|
readonly addonAfter: _angular_core.WritableSignal<TemplateRef<unknown>>;
|
|
117
115
|
popoverPositions: ConnectionPositionPair[];
|
|
118
116
|
readonly pills: _angular_core.Signal<readonly FilterPillComponent[]>;
|
|
119
117
|
readonly optionalPills: _angular_core.Signal<FilterPillComponent[]>;
|
|
120
118
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterBarComponent, never>;
|
|
121
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterBarComponent, "lu-filter-bar", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, ["pills"], ["*"], true, never>;
|
|
119
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterBarComponent, "lu-filter-bar", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "manualApply": { "alias": "manualApply"; "required": false; "isSignal": true; }; }, {}, ["pills"], ["*"], true, never>;
|
|
122
120
|
}
|
|
123
121
|
|
|
124
122
|
declare const LU_FILTER_BAR_INSTANCE: InjectionToken<FilterBarComponent>;
|
|
@@ -127,7 +125,7 @@ type LuOptionComparer<T> = (a: T, b: T) => boolean;
|
|
|
127
125
|
declare const filterViewDefaultOptionComparer: LuOptionComparer<unknown>;
|
|
128
126
|
declare const filterViewDefaultOptionKey: (option: unknown) => unknown;
|
|
129
127
|
declare class FilterViewSelectorComponent<T> {
|
|
130
|
-
readonly intl: _angular_core.InputSignalWithTransform<LuFilterPillsLabel, Partial<LuFilterPillsLabel>>;
|
|
128
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_filter_pills.LuFilterPillsLabel, Partial<_lucca_front_ng_filter_pills.LuFilterPillsLabel>>;
|
|
131
129
|
readonly popoverRef: _angular_core.Signal<PopoverDirective>;
|
|
132
130
|
/** The list of saved views to pick from. */
|
|
133
131
|
readonly views: _angular_core.InputSignal<T[]>;
|
|
@@ -169,5 +167,18 @@ declare class FilterPillAddonAfterDirective {
|
|
|
169
167
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FilterPillAddonAfterDirective, "[luFilterPillAddonAfter]", never, {}, {}, never, never, true, never>;
|
|
170
168
|
}
|
|
171
169
|
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
declare const LU_FILTER_PILLS_TRANSLATIONS: InjectionToken<LuTranslation<LuFilterPillsLabel>>;
|
|
171
|
+
interface LuFilterPillsLabel {
|
|
172
|
+
clear: string;
|
|
173
|
+
placeholder: string;
|
|
174
|
+
additionalFilters: string;
|
|
175
|
+
autoApplyAnnouncement: string;
|
|
176
|
+
selectView: string;
|
|
177
|
+
viewOptions: string;
|
|
178
|
+
renameView: string;
|
|
179
|
+
deleteView: string;
|
|
180
|
+
}
|
|
181
|
+
declare const luFilterPillsTranslations: LuTranslation<LuFilterPillsLabel>;
|
|
182
|
+
|
|
183
|
+
export { FILTER_PILL_HOST_COMPONENT, FILTER_PILL_INPUT_COMPONENT, FilterBarComponent, FilterPillAddonAfterDirective, FilterPillAddonBeforeDirective, FilterPillComponent, FilterPillDisplayerDirective, FilterPillLabelDirective, FilterViewSelectorComponent, LU_FILTER_BAR_INSTANCE, LU_FILTER_PILLS_TRANSLATIONS, filterViewDefaultOptionComparer, filterViewDefaultOptionKey, luFilterPillsTranslations };
|
|
184
|
+
export type { FilterPillInputComponent, FilterPillLayout, LuFilterPillsLabel, LuOptionComparer };
|
|
@@ -20,15 +20,27 @@ declare const FORM_FIELD_LAYOUT: readonly ["default", "checkable", "fieldset"];
|
|
|
20
20
|
type FormFieldLayout = (typeof FORM_FIELD_LAYOUT)[number];
|
|
21
21
|
|
|
22
22
|
declare class InputDirective implements OnInit {
|
|
23
|
+
#private;
|
|
23
24
|
readonly host: ElementRef<HTMLElement>;
|
|
24
25
|
readonly formFieldRef: _lucca_front_ng_form_field.FormFieldComponent;
|
|
25
26
|
/**
|
|
26
27
|
* Prevents message and label ids from being propagated, useful if the input holds its own message and label (like for radios)
|
|
27
28
|
*/
|
|
28
29
|
readonly standalone: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
30
|
+
/**
|
|
31
|
+
* Space-separated ids labelling the input, appended to the ones provided by the parent form field.
|
|
32
|
+
* Use it instead of binding `aria-labelledby`, which the form field would override.
|
|
33
|
+
*/
|
|
34
|
+
readonly labelledBy: _angular_core.InputSignal<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Space-separated ids describing the input, placed before the ones provided by the parent form field.
|
|
37
|
+
* Use it instead of binding `aria-describedby`, which the form field would override.
|
|
38
|
+
*/
|
|
39
|
+
readonly describedBy: _angular_core.InputSignal<string>;
|
|
40
|
+
constructor();
|
|
29
41
|
ngOnInit(): void;
|
|
30
42
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputDirective, never>;
|
|
31
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InputDirective, "[luInput]", never, { "standalone": { "alias": "luInputStandalone"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
43
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InputDirective, "[luInput]", never, { "standalone": { "alias": "luInputStandalone"; "required": false; "isSignal": true; }; "labelledBy": { "alias": "luInputLabelledBy"; "required": false; "isSignal": true; }; "describedBy": { "alias": "luInputDescribedBy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
44
|
}
|
|
33
45
|
|
|
34
46
|
declare class FormFieldComponent implements OnDestroy, DoCheck {
|
|
@@ -88,11 +100,20 @@ declare class FormFieldComponent implements OnDestroy, DoCheck {
|
|
|
88
100
|
readonly presentation: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
89
101
|
readonly presentationMode: _angular_core.Signal<boolean>;
|
|
90
102
|
readonly presentationDisplayTpl: _angular_core.WritableSignal<TemplateRef<unknown>>;
|
|
103
|
+
readonly hasInlineMessage: _angular_core.Signal<boolean>;
|
|
91
104
|
addInput(input: InputDirective): void;
|
|
92
105
|
get inputs(): InputDirective[];
|
|
93
106
|
readonly id: _angular_core.WritableSignal<string>;
|
|
94
107
|
readonly ready$: BehaviorSubject<boolean>;
|
|
95
108
|
get ready(): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Ids labelling the inputs of this field, applied by each non-standalone `luInput`
|
|
111
|
+
*/
|
|
112
|
+
readonly ariaLabelledBy: _angular_core.Signal<string[]>;
|
|
113
|
+
/**
|
|
114
|
+
* Ids describing the inputs of this field, applied by each non-standalone `luInput`
|
|
115
|
+
*/
|
|
116
|
+
readonly ariaDescribedBy: _angular_core.Signal<string[]>;
|
|
96
117
|
constructor();
|
|
97
118
|
addLabelledBy(id: string, prepend?: boolean): void;
|
|
98
119
|
removeLabelledBy(id: string): void;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import * as _lucca_front_ng_form_label from '@lucca-front/ng/form-label';
|
|
2
4
|
import { SafeHtml } from '@angular/platform-browser';
|
|
5
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
6
|
|
|
4
7
|
/**
|
|
5
8
|
* Available FormLabelComponent Types
|
|
@@ -7,13 +10,8 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
7
10
|
declare const FORM_LABEL_SIZE: readonly ["XS", "S"];
|
|
8
11
|
type FormLabelSize = (typeof FORM_LABEL_SIZE)[number];
|
|
9
12
|
|
|
10
|
-
interface LuFormLabelTranslations {
|
|
11
|
-
counterAlt: string;
|
|
12
|
-
tooltipAlt: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
13
|
declare class FormLabelComponent {
|
|
16
|
-
protected readonly intl: _angular_core.InputSignalWithTransform<LuFormLabelTranslations, Partial<LuFormLabelTranslations>>;
|
|
14
|
+
protected readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_form_label.LuFormLabelTranslations, Partial<_lucca_front_ng_form_label.LuFormLabelTranslations>>;
|
|
17
15
|
readonly required: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
18
16
|
readonly error: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
19
17
|
readonly tooltip: _angular_core.InputSignal<string | SafeHtml>;
|
|
@@ -26,5 +24,12 @@ declare class FormLabelComponent {
|
|
|
26
24
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormLabelComponent, "label[luFormLabel], legend[luFormLabel]", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "counterStatus": { "alias": "counterStatus"; "required": false; "isSignal": true; }; "counterMax": { "alias": "counterMax"; "required": false; "isSignal": true; }; "counterId": { "alias": "counterId"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
27
25
|
}
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
declare const LU_FORM_LABEL_TRANSLATIONS: InjectionToken<LuTranslation<LuFormLabelTranslations>>;
|
|
28
|
+
interface LuFormLabelTranslations {
|
|
29
|
+
counterAlt: string;
|
|
30
|
+
tooltipAlt: string;
|
|
31
|
+
}
|
|
32
|
+
declare const luFormLabelTranslations: LuTranslation<LuFormLabelTranslations>;
|
|
33
|
+
|
|
34
|
+
export { FORM_LABEL_SIZE, FormLabelComponent, LU_FORM_LABEL_TRANSLATIONS, luFormLabelTranslations };
|
|
35
|
+
export type { FormLabelSize, LuFormLabelTranslations };
|
|
@@ -2,12 +2,14 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, Signal, WritableSignal, OnInit, OnDestroy, ElementRef, ViewContainerRef, TemplateRef } from '@angular/core';
|
|
3
3
|
import * as lexical from 'lexical';
|
|
4
4
|
import { LexicalEditor, Klass, LexicalNode, LexicalNodeReplacement, NodeKey, EditorConfig, ElementDOMSlot, DOMExportOutput, DecoratorNode, DOMConversionMap, Spread, SerializedLexicalNode, LexicalUpdateJSON, TextFormatType } from 'lexical';
|
|
5
|
+
import * as _lucca_front_ng_forms_rich_text_input from '@lucca-front/ng/forms/rich-text-input';
|
|
5
6
|
import { DomPortal } from '@angular/cdk/portal';
|
|
6
7
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
7
8
|
import { LuSimpleSelectInputComponent } from '@lucca-front/ng/simple-select';
|
|
8
9
|
import { LinkNode, LinkAttributes, SerializedLinkNode, AutoLinkNode, SerializedAutoLinkNode } from '@lexical/link';
|
|
9
10
|
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
10
11
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
12
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
11
13
|
|
|
12
14
|
type UnregisterFn = () => void;
|
|
13
15
|
declare abstract class RichTextFormatter {
|
|
@@ -18,32 +20,6 @@ declare abstract class RichTextFormatter {
|
|
|
18
20
|
}
|
|
19
21
|
declare const RICH_TEXT_FORMATTER: InjectionToken<RichTextFormatter>;
|
|
20
22
|
|
|
21
|
-
interface ILuRichTextInputLabel {
|
|
22
|
-
clearFormat: string;
|
|
23
|
-
linksCancel: string;
|
|
24
|
-
linksDelete: string;
|
|
25
|
-
linksHref: string;
|
|
26
|
-
linksLabel: string;
|
|
27
|
-
linksSubmit: string;
|
|
28
|
-
linksPlaceholder: string;
|
|
29
|
-
listsNumberedLabel: string;
|
|
30
|
-
listsBulletLabel: string;
|
|
31
|
-
headingsLabel: string;
|
|
32
|
-
headings0: string;
|
|
33
|
-
headings1: string;
|
|
34
|
-
headings2: string;
|
|
35
|
-
headings3: string;
|
|
36
|
-
headings4: string;
|
|
37
|
-
headings5: string;
|
|
38
|
-
headings6: string;
|
|
39
|
-
stylesItalic: string;
|
|
40
|
-
stylesBold: string;
|
|
41
|
-
stylesUnderline: string;
|
|
42
|
-
stylesStrikethrough: string;
|
|
43
|
-
insertTag: string;
|
|
44
|
-
selectTag: string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
23
|
declare const INITIAL_UPDATE_TAG = "initial-update";
|
|
48
24
|
interface RichTextPluginComponent {
|
|
49
25
|
setEditorInstance(editor: LexicalEditor): void;
|
|
@@ -84,7 +60,7 @@ declare class RichTextInputComponent implements OnInit, OnDestroy, ControlValueA
|
|
|
84
60
|
|
|
85
61
|
declare class ClearFormatComponent implements RichTextPluginComponent, OnDestroy {
|
|
86
62
|
#private;
|
|
87
|
-
readonly intl: _angular_core.InputSignalWithTransform<ILuRichTextInputLabel, Partial<ILuRichTextInputLabel>>;
|
|
63
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel, Partial<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel>>;
|
|
88
64
|
readonly element: _angular_core.Signal<ElementRef<any>>;
|
|
89
65
|
readonly tabindex: _angular_core.WritableSignal<number>;
|
|
90
66
|
readonly isDisabled: _angular_core.WritableSignal<boolean>;
|
|
@@ -103,7 +79,7 @@ declare class HeadingsComponent implements OnDestroy, RichTextPluginComponent {
|
|
|
103
79
|
readonly tabindex: _angular_core.WritableSignal<number>;
|
|
104
80
|
readonly maxHeadingLevel: _angular_core.InputSignalWithTransform<1 | 2 | 3 | 4 | 5 | 6, 1 | "1" | "2" | "3" | 2 | 3 | 4 | 5 | 6 | "4" | "5" | "6">;
|
|
105
81
|
readonly headingOptions: _angular_core.Signal<("h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "paragraph")[]>;
|
|
106
|
-
readonly intl: _angular_core.InputSignalWithTransform<ILuRichTextInputLabel, Partial<ILuRichTextInputLabel>>;
|
|
82
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel, Partial<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel>>;
|
|
107
83
|
readonly headingLabels: _angular_core.Signal<Record<"h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "paragraph", [string, number]>>;
|
|
108
84
|
readonly formControl: FormControl<"h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "paragraph">;
|
|
109
85
|
setEditorInstance(editor: LexicalEditor): void;
|
|
@@ -172,7 +148,7 @@ declare class LinkComponent implements OnDestroy, RichTextPluginComponent {
|
|
|
172
148
|
readonly tabindex: _angular_core.WritableSignal<number>;
|
|
173
149
|
readonly active: _angular_core.WritableSignal<boolean>;
|
|
174
150
|
readonly isDisabled: _angular_core.WritableSignal<boolean>;
|
|
175
|
-
readonly intl: _angular_core.InputSignalWithTransform<ILuRichTextInputLabel, Partial<ILuRichTextInputLabel>>;
|
|
151
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel, Partial<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel>>;
|
|
176
152
|
readonly isEditable: _angular_core.WritableSignal<boolean>;
|
|
177
153
|
setEditorInstance(editor: LexicalEditor): void;
|
|
178
154
|
getLexicalNodes(): (typeof PopoverLinkNode | typeof PopoverAutoLinkNode | {
|
|
@@ -196,7 +172,7 @@ declare class LinkComponent implements OnDestroy, RichTextPluginComponent {
|
|
|
196
172
|
declare class ListStyleToolbarComponent implements OnDestroy, RichTextPluginComponent {
|
|
197
173
|
#private;
|
|
198
174
|
readonly pluginComponents: _angular_core.Signal<readonly RichTextPluginComponent[]>;
|
|
199
|
-
readonly intl: _angular_core.InputSignalWithTransform<ILuRichTextInputLabel, Partial<ILuRichTextInputLabel>>;
|
|
175
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel, Partial<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel>>;
|
|
200
176
|
setEditorInstance(editor: LexicalEditor): void;
|
|
201
177
|
getLexicalNodes?(): Klass<LexicalNode>[];
|
|
202
178
|
setDisabledState(isDisabled: boolean): void;
|
|
@@ -214,7 +190,7 @@ type Tag = {
|
|
|
214
190
|
|
|
215
191
|
declare class RichTextPluginTagComponent implements RichTextPluginComponent, OnDestroy {
|
|
216
192
|
#private;
|
|
217
|
-
readonly intl: _angular_core.InputSignalWithTransform<ILuRichTextInputLabel, Partial<ILuRichTextInputLabel>>;
|
|
193
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel, Partial<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel>>;
|
|
218
194
|
readonly tags: _angular_core.InputSignal<Tag[]>;
|
|
219
195
|
readonly isDisabled: _angular_core.WritableSignal<boolean>;
|
|
220
196
|
readonly focusIndex: _angular_core.WritableSignal<number>;
|
|
@@ -297,7 +273,7 @@ declare class TextStyleComponent implements OnDestroy, RichTextPluginComponent {
|
|
|
297
273
|
|
|
298
274
|
declare class TextStyleToolbarComponent implements RichTextPluginComponent {
|
|
299
275
|
readonly pluginComponents: _angular_core.Signal<readonly RichTextPluginComponent[]>;
|
|
300
|
-
readonly intl: _angular_core.InputSignalWithTransform<ILuRichTextInputLabel, Partial<ILuRichTextInputLabel>>;
|
|
276
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel, Partial<_lucca_front_ng_forms_rich_text_input.ILuRichTextInputLabel>>;
|
|
301
277
|
setEditorInstance(editor: LexicalEditor): void;
|
|
302
278
|
setDisabledState(isDisabled: boolean): void;
|
|
303
279
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextStyleToolbarComponent, never>;
|
|
@@ -313,5 +289,33 @@ declare class RichTextInputToolbarComponent implements RichTextPluginComponent {
|
|
|
313
289
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextInputToolbarComponent, "lu-rich-text-input-toolbar", never, {}, {}, never, never, true, never>;
|
|
314
290
|
}
|
|
315
291
|
|
|
316
|
-
|
|
317
|
-
|
|
292
|
+
declare const LU_RICH_TEXT_INPUT_TRANSLATIONS: InjectionToken<LuTranslation<ILuRichTextInputLabel>>;
|
|
293
|
+
interface ILuRichTextInputLabel {
|
|
294
|
+
clearFormat: string;
|
|
295
|
+
linksCancel: string;
|
|
296
|
+
linksDelete: string;
|
|
297
|
+
linksHref: string;
|
|
298
|
+
linksLabel: string;
|
|
299
|
+
linksSubmit: string;
|
|
300
|
+
linksPlaceholder: string;
|
|
301
|
+
listsNumberedLabel: string;
|
|
302
|
+
listsBulletLabel: string;
|
|
303
|
+
headingsLabel: string;
|
|
304
|
+
headings0: string;
|
|
305
|
+
headings1: string;
|
|
306
|
+
headings2: string;
|
|
307
|
+
headings3: string;
|
|
308
|
+
headings4: string;
|
|
309
|
+
headings5: string;
|
|
310
|
+
headings6: string;
|
|
311
|
+
stylesItalic: string;
|
|
312
|
+
stylesBold: string;
|
|
313
|
+
stylesUnderline: string;
|
|
314
|
+
stylesStrikethrough: string;
|
|
315
|
+
insertTag: string;
|
|
316
|
+
selectTag: string;
|
|
317
|
+
}
|
|
318
|
+
declare const luRichTextInputTranslations: LuTranslation<ILuRichTextInputLabel>;
|
|
319
|
+
|
|
320
|
+
export { $createTagNode, $isTagNode, ClearFormatComponent, HeadingsComponent, INITIAL_UPDATE_TAG, LU_RICH_TEXT_INPUT_TRANSLATIONS, LinkComponent, ListStyleToolbarComponent, RICH_TEXT_FORMATTER, RICH_TEXT_PLUGIN_COMPONENT, RichTextFormatter, RichTextInputComponent, RichTextInputToolbarComponent, RichTextPluginTagComponent, TagNode, TextStyleComponent, TextStyleToolbarComponent, luRichTextInputTranslations, registerTagChipsCleanup };
|
|
321
|
+
export type { ILuRichTextInputLabel, RichTextPluginComponent, SerializedTagNode, Tag };
|
|
@@ -4,11 +4,11 @@ import * as _angular_forms from '@angular/forms';
|
|
|
4
4
|
import { NgModel, FormControlDirective, FormControlName, NgControl, FormControl, ControlValueAccessor, ValidatorFn } from '@angular/forms';
|
|
5
5
|
import { FilterPillInputComponent, FilterPillLayout } from '@lucca-front/ng/filter-pills';
|
|
6
6
|
import { FormFieldComponent } from '@lucca-front/ng/form-field';
|
|
7
|
+
import * as _lucca_front_ng_forms from '@lucca-front/ng/forms';
|
|
7
8
|
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
8
9
|
import { NumberFormatStyle, NumberFormatCurrencyDisplay, NumberFormatUnit, NumberFormatUnitDisplay } from '@lucca-front/ng/number-format';
|
|
9
10
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
10
11
|
import { PortalContent, LuTranslation } from '@lucca-front/ng/core';
|
|
11
|
-
import * as _lucca_front_ng_forms from '@lucca-front/ng/forms';
|
|
12
12
|
|
|
13
13
|
declare class FormFieldIdDirective implements OnDestroy {
|
|
14
14
|
#private;
|
|
@@ -89,35 +89,7 @@ declare const INVARIANT_CULTURE_CODE = "invariant";
|
|
|
89
89
|
|
|
90
90
|
declare class MultilanguageInputComponent implements ControlValueAccessor {
|
|
91
91
|
#private;
|
|
92
|
-
readonly intl: _angular_core.InputSignalWithTransform<
|
|
93
|
-
clear: string;
|
|
94
|
-
toggleMultilanguage: string;
|
|
95
|
-
translateTo: string;
|
|
96
|
-
translateWithAI: string;
|
|
97
|
-
invariantInfo: string;
|
|
98
|
-
requiredError: string;
|
|
99
|
-
} | {
|
|
100
|
-
clear: string;
|
|
101
|
-
toggleMultilanguage: string;
|
|
102
|
-
translateTo: string;
|
|
103
|
-
translateWithAI: string;
|
|
104
|
-
invariantInfo: string;
|
|
105
|
-
requiredError: string;
|
|
106
|
-
}, Partial<{
|
|
107
|
-
clear: string;
|
|
108
|
-
toggleMultilanguage: string;
|
|
109
|
-
translateTo: string;
|
|
110
|
-
translateWithAI: string;
|
|
111
|
-
invariantInfo: string;
|
|
112
|
-
requiredError: string;
|
|
113
|
-
} | {
|
|
114
|
-
clear: string;
|
|
115
|
-
toggleMultilanguage: string;
|
|
116
|
-
translateTo: string;
|
|
117
|
-
translateWithAI: string;
|
|
118
|
-
invariantInfo: string;
|
|
119
|
-
requiredError: string;
|
|
120
|
-
}>>;
|
|
92
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms.LuMultilanguageInputTranslations, Partial<_lucca_front_ng_forms.LuMultilanguageInputTranslations>>;
|
|
121
93
|
readonly formFieldRef: FormFieldComponent;
|
|
122
94
|
readonly formFieldSize: _angular_core.InputSignal<"XS" | "S" | "M">;
|
|
123
95
|
protected onTouched: () => void;
|
|
@@ -159,10 +131,6 @@ declare function areAllLanguagesFilled(model: MultilanguageTranslation[]): boole
|
|
|
159
131
|
declare function isInvariantFilled(model: MultilanguageTranslation[]): boolean;
|
|
160
132
|
declare const MultiLanguageInputValidators: Record<'allLanguagesRequired' | 'invariantRequired', ValidatorFn>;
|
|
161
133
|
|
|
162
|
-
interface LuNumberFormatFieldLabel {
|
|
163
|
-
clear: string;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
134
|
type TextfieldIconAddon = {
|
|
167
135
|
icon: LuccaIcon;
|
|
168
136
|
ariaLabel: string;
|
|
@@ -206,7 +174,7 @@ declare class NumberFormatInputComponent implements AfterViewInit {
|
|
|
206
174
|
unitDisplay: NumberFormatUnitDisplay;
|
|
207
175
|
}>;
|
|
208
176
|
readonly formattedValue: _angular_core.Signal<string>;
|
|
209
|
-
readonly intl: _angular_core.InputSignalWithTransform<LuNumberFormatFieldLabel, Partial<LuNumberFormatFieldLabel>>;
|
|
177
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms.LuNumberFormatFieldLabel, Partial<_lucca_front_ng_forms.LuNumberFormatFieldLabel>>;
|
|
210
178
|
clearValue(): void;
|
|
211
179
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatInputComponent, never>;
|
|
212
180
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NumberFormatInputComponent, "lu-number-format-input", never, { "formatStyle": { "alias": "formatStyle"; "required": false; "isSignal": true; }; "useAutoPrefixSuffix": { "alias": "useAutoPrefixSuffix"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "currencyDisplay": { "alias": "currencyDisplay"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "unitDisplay": { "alias": "unitDisplay"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "hasClearer": { "alias": "hasClearer"; "required": false; "isSignal": true; }; "valueAlignRight": { "alias": "valueAlignRight"; "required": false; "isSignal": true; }; "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
|
|
@@ -352,6 +320,23 @@ interface LuNumberFieldLabel {
|
|
|
352
320
|
}
|
|
353
321
|
declare const luNumberFieldTranslations: LuTranslation<LuNumberFieldLabel>;
|
|
354
322
|
|
|
323
|
+
interface LuMultilanguageInputTranslations {
|
|
324
|
+
clear: string;
|
|
325
|
+
toggleMultilanguage: string;
|
|
326
|
+
translateTo: string;
|
|
327
|
+
translateWithAI: string;
|
|
328
|
+
invariantInfo: string;
|
|
329
|
+
requiredError: string;
|
|
330
|
+
}
|
|
331
|
+
declare const LU_MULTILANGUAGE_INPUT_TRANSLATIONS: InjectionToken<LuTranslation<LuMultilanguageInputTranslations>>;
|
|
332
|
+
declare const luMultilanguageInputTranslations: LuTranslation<LuMultilanguageInputTranslations>;
|
|
333
|
+
|
|
334
|
+
declare const LU_NUMBERFORMATFIELD_TRANSLATIONS: InjectionToken<LuTranslation<LuNumberFormatFieldLabel>>;
|
|
335
|
+
interface LuNumberFormatFieldLabel {
|
|
336
|
+
clear: string;
|
|
337
|
+
}
|
|
338
|
+
declare const luNumberFormatFieldTranslations: LuTranslation<LuNumberFormatFieldLabel>;
|
|
339
|
+
|
|
355
340
|
declare const LU_TEXTFIELD_TRANSLATIONS: InjectionToken<LuTranslation<LuTextfieldLabel>>;
|
|
356
341
|
interface LuTextfieldLabel {
|
|
357
342
|
clear: string;
|
|
@@ -386,12 +371,8 @@ interface ColorOption {
|
|
|
386
371
|
borderColor?: string;
|
|
387
372
|
}
|
|
388
373
|
|
|
389
|
-
interface LuColorLabel {
|
|
390
|
-
color: string;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
374
|
declare class ColorInputComponent {
|
|
394
|
-
readonly intl: _angular_core.InputSignalWithTransform<LuColorLabel, Partial<LuColorLabel>>;
|
|
375
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms.LuColorLabel, Partial<_lucca_front_ng_forms.LuColorLabel>>;
|
|
395
376
|
readonly pointerNavigation: Signal<boolean>;
|
|
396
377
|
readonly mouseHighlighted: _angular_core.WritableSignal<string>;
|
|
397
378
|
readonly keyboardHighlighted: _angular_core.WritableSignal<string>;
|
|
@@ -410,5 +391,11 @@ declare class ColorInputComponent {
|
|
|
410
391
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorInputComponent, "lu-color-input", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": true; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
|
|
411
392
|
}
|
|
412
393
|
|
|
413
|
-
|
|
414
|
-
|
|
394
|
+
declare const LU_COLOR_TRANSLATIONS: InjectionToken<LuTranslation<LuColorLabel>>;
|
|
395
|
+
interface LuColorLabel {
|
|
396
|
+
color: string;
|
|
397
|
+
}
|
|
398
|
+
declare const luColorTranslations: LuTranslation<LuColorLabel>;
|
|
399
|
+
|
|
400
|
+
export { CheckboxInputComponent, ColorInputComponent, FIELDSET_SIZE, FORM_FIELD_ID_LABELLED_BY_STRATEGY, FieldsetComponent, FormFieldIdDirective, INVARIANT_CULTURE_CODE, LU_COLOR_TRANSLATIONS, LU_MULTILANGUAGE_INPUT_TRANSLATIONS, LU_NUMBERFIELD_TRANSLATIONS, LU_NUMBERFORMATFIELD_TRANSLATIONS, LU_TEXTFIELD_TRANSLATIONS, MultiLanguageInputValidators, MultilanguageInputComponent, NoopValueAccessorDirective, NumberFormatInputComponent, NumberInputComponent, RADIO_GROUP_INPUT_ARROW, RADIO_GROUP_INPUT_FRAMED_SIZE, RADIO_GROUP_INPUT_SIZE, RadioComponent, RadioGroupInputComponent, SwitchInputComponent, TextInputComponent, TextareaInputComponent, areAllLanguagesFilled, injectNgControl, isInvariantFilled, luColorTranslations, luMultilanguageInputTranslations, luNumberFieldTranslations, luNumberFormatFieldTranslations, luTextfieldTranslations };
|
|
401
|
+
export type { ColorOption, FieldsetSize, FormFieldIdLabelledByStrategy, LuColorLabel, LuMultilanguageInputTranslations, LuNumberFieldLabel, LuNumberFormatFieldLabel, LuTextfieldLabel, MultilanguageTranslation, RadioGroupInputArrow, RadioGroupInputFramedSize, RadioGroupInputSize, TextInputAddon, TextfieldIconAddon, TextfieldTextAddon };
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ElementRef, InjectionToken } from '@angular/core';
|
|
3
|
+
import * as _lucca_front_ng_impersonation from '@lucca-front/ng/impersonation';
|
|
3
4
|
import * as _lucca_front_ng_core_select_user from '@lucca-front/ng/core-select/user';
|
|
4
5
|
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
5
6
|
import { PopoverDirective } from '@lucca-front/ng/popover2';
|
|
6
7
|
import { LuSimpleSelectInputComponent } from '@lucca-front/ng/simple-select';
|
|
7
8
|
import { ILuUser } from '@lucca-front/ng/user';
|
|
8
|
-
|
|
9
|
-
interface LuImpersonationTranslations {
|
|
10
|
-
a11yNavigationDescription: string;
|
|
11
|
-
switchProfile: string;
|
|
12
|
-
clear: string;
|
|
13
|
-
}
|
|
9
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
14
10
|
|
|
15
11
|
declare class ImpersonationComponent {
|
|
16
12
|
protected readonly elementRef: ElementRef<any>;
|
|
17
|
-
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_core_select_user.LuCoreSelectUserTranslations & LuImpersonationTranslations, Partial<_lucca_front_ng_core_select_user.LuCoreSelectUserTranslations & LuImpersonationTranslations>>;
|
|
13
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_core_select_user.LuCoreSelectUserTranslations & _lucca_front_ng_impersonation.LuImpersonationTranslations, Partial<_lucca_front_ng_core_select_user.LuCoreSelectUserTranslations & _lucca_front_ng_impersonation.LuImpersonationTranslations>>;
|
|
18
14
|
protected readonly currentUserId: number;
|
|
19
15
|
readonly inputComponentRef: _angular_core.Signal<LuSimpleSelectInputComponent<ILuUser>>;
|
|
20
16
|
readonly popoverRef: _angular_core.Signal<PopoverDirective>;
|
|
@@ -30,4 +26,13 @@ declare class ImpersonationComponent {
|
|
|
30
26
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImpersonationComponent, "lu-impersonation", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "selectedUser": { "alias": "selectedUser"; "required": false; "isSignal": true; }; "enableFormerEmployees": { "alias": "enableFormerEmployees"; "required": false; "isSignal": true; }; }, { "selectedUser": "selectedUserChange"; "clear": "clear"; }, never, never, true, never>;
|
|
31
27
|
}
|
|
32
28
|
|
|
33
|
-
|
|
29
|
+
declare const LU_IMPERSONATION_TRANSLATIONS: InjectionToken<LuTranslation<LuImpersonationTranslations>>;
|
|
30
|
+
interface LuImpersonationTranslations {
|
|
31
|
+
a11yNavigationDescription: string;
|
|
32
|
+
switchProfile: string;
|
|
33
|
+
clear: string;
|
|
34
|
+
}
|
|
35
|
+
declare const luImpersonationTranslations: LuTranslation<LuImpersonationTranslations>;
|
|
36
|
+
|
|
37
|
+
export { ImpersonationComponent, LU_IMPERSONATION_TRANSLATIONS, luImpersonationTranslations };
|
|
38
|
+
export type { LuImpersonationTranslations };
|
|
@@ -45,9 +45,11 @@ declare class IndexTableRowCellHeaderComponent extends BaseIndexTableCell {
|
|
|
45
45
|
readonly hiddenLabel: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
46
46
|
readonly actions: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
47
47
|
readonly inlineSize: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
48
|
+
readonly sortWithEllipsis: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
49
|
+
protected readonly sortButtonRef: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
48
50
|
toggleSort(): void;
|
|
49
51
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IndexTableRowCellHeaderComponent, never>;
|
|
50
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IndexTableRowCellHeaderComponent, "th[luIndexTableCell]", never, { "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "inlineSize": { "alias": "inlineSize"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; }, never, ["*"], true, never>;
|
|
52
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IndexTableRowCellHeaderComponent, "th[luIndexTableCell]", never, { "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "inlineSize": { "alias": "inlineSize"; "required": false; "isSignal": true; }; "sortWithEllipsis": { "alias": "sortWithEllipsis"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; }, never, ["*"], true, never>;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
declare class IndexTableRowCellComponent extends BaseIndexTableCell {
|
|
@@ -2,12 +2,10 @@ import * as _lucca_front_ng_data_table from '@lucca-front/ng/data-table';
|
|
|
2
2
|
import * as _lucca_front_ng_index_table from '@lucca-front/ng/index-table';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
4
|
import { Renderer2, ElementRef, WritableSignal, InjectionToken } from '@angular/core';
|
|
5
|
+
import * as _lucca_front_ng_link from '@lucca-front/ng/link';
|
|
5
6
|
import { LocationStrategy, Location } from '@angular/common';
|
|
6
7
|
import { RouterLink, Router, ActivatedRoute, UrlTree } from '@angular/router';
|
|
7
|
-
|
|
8
|
-
interface LinkTranslate {
|
|
9
|
-
external: string;
|
|
10
|
-
}
|
|
8
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
11
9
|
|
|
12
10
|
declare class LuRouterLink extends RouterLink {
|
|
13
11
|
constructor(router: Router, route: ActivatedRoute, tabIndexAttribute: string | null | undefined, renderer: Renderer2, el: ElementRef, locationStrategy?: LocationStrategy);
|
|
@@ -18,7 +16,7 @@ declare class LuRouterLink extends RouterLink {
|
|
|
18
16
|
|
|
19
17
|
declare class LinkComponent {
|
|
20
18
|
#private;
|
|
21
|
-
readonly intl: _angular_core.InputSignalWithTransform<LinkTranslate, Partial<LinkTranslate>>;
|
|
19
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_link.LinkTranslate, Partial<_lucca_front_ng_link.LinkTranslate>>;
|
|
22
20
|
readonly routerLink: LuRouterLink;
|
|
23
21
|
readonly router: Router;
|
|
24
22
|
readonly location: Location;
|
|
@@ -57,4 +55,11 @@ declare class LinkComponent {
|
|
|
57
55
|
|
|
58
56
|
declare const LU_LINK_INSTANCE: InjectionToken<boolean>;
|
|
59
57
|
|
|
60
|
-
|
|
58
|
+
declare const LU_LINK_TRANSLATIONS: InjectionToken<LuTranslation<LinkTranslate>>;
|
|
59
|
+
interface LinkTranslate {
|
|
60
|
+
external: string;
|
|
61
|
+
}
|
|
62
|
+
declare const luLinkTranslations: LuTranslation<LinkTranslate>;
|
|
63
|
+
|
|
64
|
+
export { LU_LINK_INSTANCE, LU_LINK_TRANSLATIONS, LinkComponent, LuRouterLink, luLinkTranslations };
|
|
65
|
+
export type { LinkTranslate };
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
urlGooglePlay: string;
|
|
6
|
-
altAppStore: string;
|
|
7
|
-
altGooglePlay: string;
|
|
8
|
-
srcAppStore: string;
|
|
9
|
-
srcGooglePlay: string;
|
|
10
|
-
newTab: string;
|
|
11
|
-
}
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import * as _lucca_front_ng_mobile_push from '@lucca-front/ng/mobile-push';
|
|
4
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
12
5
|
|
|
13
6
|
declare class MobilePushComponent {
|
|
14
|
-
readonly intl: _angular_core.InputSignalWithTransform<MobilePushTranslate, Partial<MobilePushTranslate>>;
|
|
7
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_mobile_push.MobilePushTranslate, Partial<_lucca_front_ng_mobile_push.MobilePushTranslate>>;
|
|
15
8
|
/**
|
|
16
9
|
* Emit event when appStoreLink is clicked
|
|
17
10
|
*/
|
|
@@ -24,4 +17,17 @@ declare class MobilePushComponent {
|
|
|
24
17
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MobilePushComponent, "lu-mobile-push", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, { "appStoreLinkClicked": "appStoreLinkClicked"; "googlePlayLinkClicked": "googlePlayLinkClicked"; }, never, ["*"], true, never>;
|
|
25
18
|
}
|
|
26
19
|
|
|
27
|
-
|
|
20
|
+
declare const LU_MOBILE_PUSH_TRANSLATIONS: InjectionToken<LuTranslation<MobilePushTranslate>>;
|
|
21
|
+
interface MobilePushTranslate {
|
|
22
|
+
urlAppStore: string;
|
|
23
|
+
urlGooglePlay: string;
|
|
24
|
+
altAppStore: string;
|
|
25
|
+
altGooglePlay: string;
|
|
26
|
+
srcAppStore: string;
|
|
27
|
+
srcGooglePlay: string;
|
|
28
|
+
newTab: string;
|
|
29
|
+
}
|
|
30
|
+
declare const luMobilePushTranslations: LuTranslation<MobilePushTranslate>;
|
|
31
|
+
|
|
32
|
+
export { LU_MOBILE_PUSH_TRANSLATIONS, MobilePushComponent, luMobilePushTranslations };
|
|
33
|
+
export type { MobilePushTranslate };
|
|
@@ -226,7 +226,7 @@ declare class LuMultiSelectDisplayerInputDirective<T> implements OnInit {
|
|
|
226
226
|
constructor();
|
|
227
227
|
ngOnInit(): void;
|
|
228
228
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuMultiSelectDisplayerInputDirective<any>, never>;
|
|
229
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuMultiSelectDisplayerInputDirective<any>, "[luMultiSelectDisplayerInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.InputDirective; inputs: {}; outputs: {}; }]>;
|
|
229
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuMultiSelectDisplayerInputDirective<any>, "[luMultiSelectDisplayerInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.InputDirective; inputs: { "luInputLabelledBy": "luInputLabelledBy"; }; outputs: {}; }]>;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
declare class LuMultiDisplayerDirective<T> {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import * as _lucca_front_ng_pagination from '@lucca-front/ng/pagination';
|
|
4
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* Available PaginationComponent Mods
|
|
@@ -6,15 +9,8 @@ import * as _angular_core from '@angular/core';
|
|
|
6
9
|
declare const PAGINATION_MOD: readonly ["default", "compact"];
|
|
7
10
|
type PaginationMod = (typeof PAGINATION_MOD)[number];
|
|
8
11
|
|
|
9
|
-
interface LuPaginationLabel {
|
|
10
|
-
results: string;
|
|
11
|
-
previous: string;
|
|
12
|
-
next: string;
|
|
13
|
-
resultsA11y: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
12
|
declare class PaginationComponent {
|
|
17
|
-
readonly intl: _angular_core.InputSignalWithTransform<LuPaginationLabel, Partial<LuPaginationLabel>>;
|
|
13
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_pagination.LuPaginationLabel, Partial<_lucca_front_ng_pagination.LuPaginationLabel>>;
|
|
18
14
|
/**
|
|
19
15
|
* Disabled the previous page arrow
|
|
20
16
|
*/
|
|
@@ -52,5 +48,14 @@ declare class PaginationComponent {
|
|
|
52
48
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationComponent, "lu-pagination", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "isFirstPage": { "alias": "isFirstPage"; "required": false; "isSignal": true; }; "isLastPage": { "alias": "isLastPage"; "required": false; "isSignal": true; }; "from": { "alias": "from"; "required": false; "isSignal": true; }; "to": { "alias": "to"; "required": false; "isSignal": true; }; "itemsCount": { "alias": "itemsCount"; "required": false; "isSignal": true; }; "mod": { "alias": "mod"; "required": false; "isSignal": true; }; }, { "previousPage": "previousPage"; "nextPage": "nextPage"; }, never, never, true, never>;
|
|
53
49
|
}
|
|
54
50
|
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
declare const LU_PAGINATION_TRANSLATIONS: InjectionToken<LuTranslation<LuPaginationLabel>>;
|
|
52
|
+
interface LuPaginationLabel {
|
|
53
|
+
results: string;
|
|
54
|
+
previous: string;
|
|
55
|
+
next: string;
|
|
56
|
+
resultsA11y: string;
|
|
57
|
+
}
|
|
58
|
+
declare const luPaginationTranslations: LuTranslation<LuPaginationLabel>;
|
|
59
|
+
|
|
60
|
+
export { LU_PAGINATION_TRANSLATIONS, PAGINATION_MOD, PaginationComponent, luPaginationTranslations };
|
|
61
|
+
export type { LuPaginationLabel, PaginationMod };
|