@lucca-front/ng 21.3.0-rc.7 → 21.3.0
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 +110 -6
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +2 -2
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +10 -10
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +35 -15
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +18 -12
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +2 -2
- package/fesm2022/lucca-front-ng-date.mjs.map +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 +2 -2
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +2 -2
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +2 -2
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +2 -2
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +6 -6
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +2 -2
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +7 -4
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +19 -4
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +11 -7
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +2 -2
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +2 -2
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +10 -10
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +15 -4
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +36 -18
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +2 -2
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +2 -2
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +2 -2
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +2 -2
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +2 -2
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +2 -2
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +12 -12
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +4 -4
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +2 -2
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +4 -4
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +4 -4
- package/schematics/lu-grid/migration.js +4 -4
- package/types/lucca-front-ng-a11y.d.ts +30 -2
- package/types/lucca-front-ng-core.d.ts +12 -8
- package/types/lucca-front-ng-data-table.d.ts +15 -12
- package/types/lucca-front-ng-form-label.d.ts +5 -4
- package/types/lucca-front-ng-forms.d.ts +3 -1
- package/types/lucca-front-ng-index-table.d.ts +12 -10
- package/types/lucca-front-ng-link.d.ts +13 -3
- package/types/lucca-front-ng-vertical-navigation.d.ts +1 -1
|
@@ -116,7 +116,7 @@ function migrateGridNode(grid, templateUpdate) {
|
|
|
116
116
|
// Modify class attribute — remove 'grid' and mode-related classes
|
|
117
117
|
if (classesNode && classesNode.keySpan) {
|
|
118
118
|
const classes = classesNode.value;
|
|
119
|
-
const cleanedClasses = classes.split(' ').filter((c) => c !== 'grid' && c !== 'mod-auto').join(' ');
|
|
119
|
+
const cleanedClasses = classes.split(' ').filter((c) => c !== 'grid' && c !== 'mod-auto' && c !== 'mod-form').join(' ');
|
|
120
120
|
templateUpdate.remove(nodeOffset + classesNode.keySpan.start.offset - 1, classesNode.sourceSpan.toString().length + 1);
|
|
121
121
|
if (cleanedClasses) {
|
|
122
122
|
templateUpdate.insertRight(nodeOffset + classesNode.keySpan.start.offset, ` class="${cleanedClasses}"`);
|
|
@@ -205,7 +205,7 @@ function findHTMLGrids(sourceFile, basePath, tree) {
|
|
|
205
205
|
ngTemplates.forEach((template) => {
|
|
206
206
|
const htmlAst = new lib_1.HtmlAst(template.content);
|
|
207
207
|
htmlAst.visitNodes((node) => {
|
|
208
|
-
if (!(0, lib_1.isInterestingNode)(node)) {
|
|
208
|
+
if (!(0, lib_1.isInterestingNode)(node) || node.name !== 'div') {
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
211
|
const classes = node.attributes.find((attr) => attr.name === 'class')?.value;
|
|
@@ -215,9 +215,9 @@ function findHTMLGrids(sourceFile, basePath, tree) {
|
|
|
215
215
|
const styleAttr = node.attributes.find((attr) => attr.name === 'style')?.value || '';
|
|
216
216
|
const cssProps = parseCssCustomProperties(styleAttr);
|
|
217
217
|
const classParts = classes.split(' ');
|
|
218
|
-
const extraClasses = classParts.filter((c) => c !== 'grid' && c !== 'mod-auto').join(' ');
|
|
218
|
+
const extraClasses = classParts.filter((c) => c !== 'grid' && c !== 'mod-auto' && c !== 'mod-form').join(' ');
|
|
219
219
|
const inputs = {
|
|
220
|
-
mode: classParts.includes('mod-auto') ? 'auto' : undefined,
|
|
220
|
+
mode: classParts.includes('mod-auto') ? 'auto' : classParts.includes('mod-form') ? 'form' : undefined,
|
|
221
221
|
columns: cssProps['--grid-columns'],
|
|
222
222
|
extraClasses: extraClasses || undefined,
|
|
223
223
|
};
|
|
@@ -1,10 +1,38 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { OnDestroy, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_a11y from '@lucca-front/ng/a11y';
|
|
4
4
|
import { LuTranslation } from '@lucca-front/ng/core';
|
|
5
5
|
|
|
6
|
+
interface LuSkipLink {
|
|
7
|
+
label: string;
|
|
8
|
+
id: string;
|
|
9
|
+
host: HTMLElement;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare class SkipLinkDirective implements OnDestroy {
|
|
13
|
+
#private;
|
|
14
|
+
link: LuSkipLink;
|
|
15
|
+
luSkipLinkLabel: i0.InputSignal<string>;
|
|
16
|
+
luSkipLinkTarget: i0.InputSignal<string>;
|
|
17
|
+
linkTarget: i0.WritableSignal<string>;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
constructor();
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkipLinkDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SkipLinkDirective, "[luSkipLinkTarget]", never, { "luSkipLinkLabel": { "alias": "luSkipLinkLabel"; "required": true; "isSignal": true; }; "luSkipLinkTarget": { "alias": "luSkipLinkTarget"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare class SkipLinksService {
|
|
25
|
+
#private;
|
|
26
|
+
links: i0.Signal<LuSkipLink[]>;
|
|
27
|
+
register(link: LuSkipLink): void;
|
|
28
|
+
unregister(link: LuSkipLink): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkipLinksService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SkipLinksService>;
|
|
31
|
+
}
|
|
32
|
+
|
|
6
33
|
declare class LuSkipLinksComponent {
|
|
7
34
|
#private;
|
|
35
|
+
skipLinksService: SkipLinksService;
|
|
8
36
|
readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_a11y.ILuSkipLinksLabel, Partial<_lucca_front_ng_a11y.ILuSkipLinksLabel>>;
|
|
9
37
|
anchor(hash: string, e: Event): void;
|
|
10
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSkipLinksComponent, never>;
|
|
@@ -26,5 +54,5 @@ declare abstract class ALuSkipLinksLabel {
|
|
|
26
54
|
}
|
|
27
55
|
declare const luSkipLinksTranslations: LuTranslation<ILuSkipLinksLabel>;
|
|
28
56
|
|
|
29
|
-
export { ALuSkipLinksLabel, LU_SKIP_LINKS_TRANSLATIONS, LuSkipLinksComponent, luSkipLinksTranslations };
|
|
57
|
+
export { ALuSkipLinksLabel, LU_SKIP_LINKS_TRANSLATIONS, LuSkipLinksComponent, SkipLinkDirective, SkipLinksService, luSkipLinksTranslations };
|
|
30
58
|
export type { ILuSkipLinksLabel };
|
|
@@ -236,6 +236,13 @@ type EffectWithDepsInput = ReadonlyArray<Signal<unknown>> | Record<string, Signa
|
|
|
236
236
|
*/
|
|
237
237
|
declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependencies: T, action: (...values: [...SignalsValue<T>, EffectCleanupRegisterFn]) => unknown, options?: CreateEffectOptions): EffectRef;
|
|
238
238
|
|
|
239
|
+
declare class IntlParamsPipe implements PipeTransform {
|
|
240
|
+
#private;
|
|
241
|
+
transform(value: string, args: Record<string, string | number>): string;
|
|
242
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntlParamsPipe, never>;
|
|
243
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IntlParamsPipe, "intlParams", true>;
|
|
244
|
+
}
|
|
245
|
+
|
|
239
246
|
/**
|
|
240
247
|
* @deprecated use `LuTranslation` instead.
|
|
241
248
|
*/
|
|
@@ -249,6 +256,8 @@ interface ILuTranslation<T> {
|
|
|
249
256
|
pt?: T;
|
|
250
257
|
}
|
|
251
258
|
type LuTranslation<T> = Record<string, T>;
|
|
259
|
+
type LuPluralForms = Partial<Record<Intl.LDMLPluralRule, string>>;
|
|
260
|
+
declare function getIntlPluralLabel(pluralForms: Intl.PluralRules, label: LuPluralForms, count: number): string;
|
|
252
261
|
|
|
253
262
|
declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>> | InjectionToken<ILuTranslation<T>>): T;
|
|
254
263
|
/**
|
|
@@ -273,12 +282,7 @@ declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>>
|
|
|
273
282
|
declare function intlInputOptions<T1>(token1: InjectionToken<LuTranslation<T1>>): [T1, InputOptionsWithTransform<T1, Partial<T1>>];
|
|
274
283
|
declare function intlInputOptions<T1, T2>(token1: InjectionToken<LuTranslation<T1>>, token2: InjectionToken<LuTranslation<T2>>): [T1 & T2, InputOptionsWithTransform<T1 & T2, Partial<T1 & T2>>];
|
|
275
284
|
|
|
276
|
-
declare
|
|
277
|
-
#private;
|
|
278
|
-
transform(value: string, args: Record<string, string | number>): string;
|
|
279
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IntlParamsPipe, never>;
|
|
280
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IntlParamsPipe, "intlParams", true>;
|
|
281
|
-
}
|
|
285
|
+
declare const LOCALE_PLURAL_RULES: InjectionToken<Intl.PluralRules>;
|
|
282
286
|
|
|
283
287
|
interface ILuTree<T> {
|
|
284
288
|
value: T;
|
|
@@ -286,5 +290,5 @@ interface ILuTree<T> {
|
|
|
286
290
|
disabled?: boolean;
|
|
287
291
|
}
|
|
288
292
|
|
|
289
|
-
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, defaultBreakpoints, generateId, getIntl, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
290
|
-
export type { At, Breakpoint, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuTranslation, PortalContent, ResponsiveConfig, ResponsiveProperty, RouterLinkParam };
|
|
293
|
+
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LOCALE_PLURAL_RULES, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, defaultBreakpoints, generateId, getIntl, getIntlPluralLabel, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
294
|
+
export type { At, Breakpoint, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuPluralForms, LuTranslation, PortalContent, ResponsiveConfig, ResponsiveProperty, RouterLinkParam };
|
|
@@ -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, OnInit } from '@angular/core';
|
|
3
|
+
import { AfterContentInit, ElementRef, OnInit, InjectionToken } from '@angular/core';
|
|
4
4
|
import { PortalContent } from '@lucca-front/ng/core';
|
|
5
5
|
|
|
6
6
|
declare class DataTableBodyComponent {
|
|
@@ -39,6 +39,7 @@ declare class DataTableRowCellHeaderComponent extends BaseDataTableCell implemen
|
|
|
39
39
|
insetInlineEnd: _angular_core.Signal<string>;
|
|
40
40
|
inlineSizePx: _angular_core.Signal<number>;
|
|
41
41
|
ngAfterContentInit(): void;
|
|
42
|
+
toggleSort(): void;
|
|
42
43
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableRowCellHeaderComponent, never>;
|
|
43
44
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowCellHeaderComponent, "th[luDataTableCell]", never, { "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "fixedWidth": { "alias": "fixedWidth"; "required": false; "isSignal": true; }; "inlineSize": { "alias": "inlineSize"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; }, never, ["*"], true, never>;
|
|
44
45
|
}
|
|
@@ -85,16 +86,6 @@ declare class DataTableRowComponent {
|
|
|
85
86
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowComponent, "tr[luDataTableRow]", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "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
87
|
}
|
|
87
88
|
|
|
88
|
-
/**
|
|
89
|
-
* Available DataTableComponent Types
|
|
90
|
-
*/
|
|
91
|
-
declare const DATA_TABLE_SORT: readonly ["none", "ascending", "descending"];
|
|
92
|
-
type DataTableSort = (typeof DATA_TABLE_SORT)[number];
|
|
93
|
-
declare const DATA_TABLE_VERTICAL_ALIGN: readonly ["top", "middle", "bottom"];
|
|
94
|
-
type DataTableVerticalAlign = (typeof DATA_TABLE_VERTICAL_ALIGN)[number];
|
|
95
|
-
declare const DATA_TABLE_ALIGN: readonly ["start", "center", "end"];
|
|
96
|
-
type DataTableAlign = (typeof DATA_TABLE_ALIGN)[number];
|
|
97
|
-
|
|
98
89
|
declare class DataTableComponent implements OnInit {
|
|
99
90
|
#private;
|
|
100
91
|
tableRef: _angular_core.Signal<ElementRef<Element>>;
|
|
@@ -143,5 +134,17 @@ declare class DataTableComponent implements OnInit {
|
|
|
143
134
|
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; }; "noOverflow": { "alias": "noOverflow"; "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>;
|
|
144
135
|
}
|
|
145
136
|
|
|
146
|
-
|
|
137
|
+
declare const LU_DATA_TABLE_INSTANCE: InjectionToken<DataTableComponent>;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Available DataTableComponent Types
|
|
141
|
+
*/
|
|
142
|
+
declare const DATA_TABLE_SORT: readonly ["none", "ascending", "descending"];
|
|
143
|
+
type DataTableSort = (typeof DATA_TABLE_SORT)[number];
|
|
144
|
+
declare const DATA_TABLE_VERTICAL_ALIGN: readonly ["top", "middle", "bottom"];
|
|
145
|
+
type DataTableVerticalAlign = (typeof DATA_TABLE_VERTICAL_ALIGN)[number];
|
|
146
|
+
declare const DATA_TABLE_ALIGN: readonly ["start", "center", "end"];
|
|
147
|
+
type DataTableAlign = (typeof DATA_TABLE_ALIGN)[number];
|
|
148
|
+
|
|
149
|
+
export { DATA_TABLE_ALIGN, DATA_TABLE_SORT, DATA_TABLE_VERTICAL_ALIGN, DataTableBodyComponent, DataTableComponent, DataTableFootComponent, DataTableHeadComponent, DataTableRowCellComponent, DataTableRowCellHeaderComponent, DataTableRowComponent, LU_DATA_TABLE_INSTANCE };
|
|
147
150
|
export type { DataTableAlign, DataTableSort, DataTableVerticalAlign };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { LuPluralForms } from '@lucca-front/ng/core';
|
|
2
3
|
import { SafeHtml } from '@angular/platform-browser';
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -8,15 +9,15 @@ declare const FORM_LABEL_SIZE: readonly ["XS", "S"];
|
|
|
8
9
|
type FormLabelSize = (typeof FORM_LABEL_SIZE)[number];
|
|
9
10
|
|
|
10
11
|
interface LuFormLabelTranslations {
|
|
11
|
-
counterAlt:
|
|
12
|
-
one: string;
|
|
13
|
-
other: string;
|
|
14
|
-
};
|
|
12
|
+
counterAlt: LuPluralForms;
|
|
15
13
|
tooltipAlt: string;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
declare class FormLabelComponent {
|
|
19
17
|
protected readonly intl: _angular_core.InputSignalWithTransform<LuFormLabelTranslations, Partial<LuFormLabelTranslations>>;
|
|
18
|
+
readonly locale: string;
|
|
19
|
+
readonly pluralRules: Intl.PluralRules;
|
|
20
|
+
readonly counterAltLabel: _angular_core.Signal<string>;
|
|
20
21
|
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
21
22
|
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
23
|
readonly tooltip: _angular_core.InputSignal<string | SafeHtml>;
|
|
@@ -116,6 +116,7 @@ declare class MultilanguageInputComponent implements ControlValueAccessor {
|
|
|
116
116
|
openOnFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
117
117
|
autocomplete: _angular_core.InputSignal<AutoFill>;
|
|
118
118
|
hasNoInvariant: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
119
|
+
hasAIButtons: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
119
120
|
displayLocale: _angular_core.InputSignal<string>;
|
|
120
121
|
translateWithAI: _angular_core.OutputEmitterRef<string>;
|
|
121
122
|
shouldOpenOnFocus: _angular_core.Signal<boolean>;
|
|
@@ -126,6 +127,7 @@ declare class MultilanguageInputComponent implements ControlValueAccessor {
|
|
|
126
127
|
required: boolean;
|
|
127
128
|
cultureCode: string;
|
|
128
129
|
}>;
|
|
130
|
+
cultureCodeDisplay: _angular_core.Signal<string>;
|
|
129
131
|
panelInputs: _angular_core.Signal<MultilanguageTranslation[]>;
|
|
130
132
|
presentationValue: _angular_core.Signal<string>;
|
|
131
133
|
popoverPositions: ConnectionPositionPair[];
|
|
@@ -138,7 +140,7 @@ declare class MultilanguageInputComponent implements ControlValueAccessor {
|
|
|
138
140
|
setDisabledState?(isDisabled: boolean): void;
|
|
139
141
|
valueChange(): void;
|
|
140
142
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultilanguageInputComponent, never>;
|
|
141
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultilanguageInputComponent, "lu-multilanguage-input", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "openOnFocus": { "alias": "openOnFocus"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "hasNoInvariant": { "alias": "hasNoInvariant"; "required": false; "isSignal": true; }; "displayLocale": { "alias": "displayLocale"; "required": false; "isSignal": true; }; }, { "translateWithAI": "translateWithAI"; }, never, never, true, never>;
|
|
143
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultilanguageInputComponent, "lu-multilanguage-input", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "openOnFocus": { "alias": "openOnFocus"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "hasNoInvariant": { "alias": "hasNoInvariant"; "required": false; "isSignal": true; }; "hasAIButtons": { "alias": "hasAIButtons"; "required": false; "isSignal": true; }; "displayLocale": { "alias": "displayLocale"; "required": false; "isSignal": true; }; }, { "translateWithAI": "translateWithAI"; }, never, never, true, never>;
|
|
142
144
|
}
|
|
143
145
|
|
|
144
146
|
declare function areAllLanguagesFilled(model: MultilanguageTranslation[]): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ElementRef, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_index_table from '@lucca-front/ng/index-table';
|
|
4
4
|
import { PortalContent } from '@lucca-front/ng/core';
|
|
5
5
|
import { LuTooltipAnchorRef } from '@lucca-front/ng/tooltip';
|
|
@@ -86,14 +86,6 @@ declare class IndexTableRowComponent implements LuTooltipAnchorRef {
|
|
|
86
86
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IndexTableRowComponent, "tr[luIndexTableRow]", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["cells"], ["*"], true, never>;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
/**
|
|
90
|
-
* Available IndexTableComponent types
|
|
91
|
-
*/
|
|
92
|
-
declare const INDEX_TABLE_ALIGN: readonly ["start", "center", "end"];
|
|
93
|
-
type IndexTableAlign = (typeof INDEX_TABLE_ALIGN)[number];
|
|
94
|
-
declare const INDEX_TABLE_SORT: readonly ["none", "ascending", "descending"];
|
|
95
|
-
type IndexTableSort = (typeof INDEX_TABLE_SORT)[number];
|
|
96
|
-
|
|
97
89
|
declare class IndexTableComponent {
|
|
98
90
|
tableRef: _angular_core.Signal<ElementRef<Element>>;
|
|
99
91
|
selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -112,5 +104,15 @@ declare class IndexTableComponent {
|
|
|
112
104
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IndexTableComponent, "lu-index-table", never, { "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "layoutFixed": { "alias": "layoutFixed"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; }, {}, ["rows", "header"], ["*", "[indexTablePagination]"], true, never>;
|
|
113
105
|
}
|
|
114
106
|
|
|
115
|
-
|
|
107
|
+
declare const LU_INDEX_TABLE_INSTANCE: InjectionToken<IndexTableComponent>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Available IndexTableComponent types
|
|
111
|
+
*/
|
|
112
|
+
declare const INDEX_TABLE_ALIGN: readonly ["start", "center", "end"];
|
|
113
|
+
type IndexTableAlign = (typeof INDEX_TABLE_ALIGN)[number];
|
|
114
|
+
declare const INDEX_TABLE_SORT: readonly ["none", "ascending", "descending"];
|
|
115
|
+
type IndexTableSort = (typeof INDEX_TABLE_SORT)[number];
|
|
116
|
+
|
|
117
|
+
export { INDEX_TABLE_ALIGN, INDEX_TABLE_SORT, IndexTableActionComponent, IndexTableActionFileComponent, IndexTableBodyComponent, IndexTableComponent, IndexTableFootComponent, IndexTableHeadComponent, IndexTableRowCellComponent, IndexTableRowCellHeaderComponent, IndexTableRowComponent, LU_INDEX_TABLE_INSTANCE };
|
|
116
118
|
export type { IndexTableAlign, IndexTableSort };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import * as _lucca_front_ng_data_table from '@lucca-front/ng/data-table';
|
|
2
|
+
import * as _lucca_front_ng_index_table from '@lucca-front/ng/index-table';
|
|
1
3
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Renderer2, ElementRef, WritableSignal } from '@angular/core';
|
|
4
|
+
import { Renderer2, ElementRef, WritableSignal, InjectionToken } from '@angular/core';
|
|
3
5
|
import { LocationStrategy, Location } from '@angular/common';
|
|
4
6
|
import { RouterLink, Router, ActivatedRoute, UrlTree } from '@angular/router';
|
|
5
7
|
|
|
@@ -20,6 +22,8 @@ declare class LinkComponent {
|
|
|
20
22
|
routerLink: LuRouterLink;
|
|
21
23
|
router: Router;
|
|
22
24
|
location: Location;
|
|
25
|
+
insideIndexTable: _lucca_front_ng_index_table.IndexTableComponent;
|
|
26
|
+
insideDataTable: _lucca_front_ng_data_table.DataTableComponent;
|
|
23
27
|
/**
|
|
24
28
|
* Target page address. Use only for external links or pages not recognized by the router.
|
|
25
29
|
*/
|
|
@@ -40,11 +44,17 @@ declare class LinkComponent {
|
|
|
40
44
|
* Indicates that the link will open in a new tab
|
|
41
45
|
*/
|
|
42
46
|
readonly external: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
47
|
+
/**
|
|
48
|
+
* External icon only visible on hover/focus
|
|
49
|
+
*/
|
|
50
|
+
readonly hiddenIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
43
51
|
hrefBackup: string;
|
|
44
52
|
constructor();
|
|
45
53
|
redirect(): void;
|
|
46
54
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LinkComponent, never>;
|
|
47
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LinkComponent, "a[luLink], button[luLink]", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "luHref": { "alias": "href"; "required": false; "isSignal": true; }; "routerLinkCommands": { "alias": "luLink"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "decorationHover": { "alias": "decorationHover"; "required": false; "isSignal": true; }; "external": { "alias": "external"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof LuRouterLink; inputs: { "preserveFragment": "preserveFragment"; "skipLocationChange": "skipLocationChange"; "replaceUrl": "replaceUrl"; "queryParams": "queryParams"; "fragment": "fragment"; "queryParamsHandling": "queryParamsHandling"; "state": "state"; "info": "info"; "relativeTo": "relativeTo"; }; outputs: {}; }]>;
|
|
55
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LinkComponent, "a[luLink], button[luLink]", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "luHref": { "alias": "href"; "required": false; "isSignal": true; }; "routerLinkCommands": { "alias": "luLink"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "decorationHover": { "alias": "decorationHover"; "required": false; "isSignal": true; }; "external": { "alias": "external"; "required": false; "isSignal": true; }; "hiddenIcon": { "alias": "hiddenIcon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof LuRouterLink; inputs: { "preserveFragment": "preserveFragment"; "skipLocationChange": "skipLocationChange"; "replaceUrl": "replaceUrl"; "queryParams": "queryParams"; "fragment": "fragment"; "queryParamsHandling": "queryParamsHandling"; "state": "state"; "info": "info"; "relativeTo": "relativeTo"; }; outputs: {}; }]>;
|
|
48
56
|
}
|
|
49
57
|
|
|
50
|
-
|
|
58
|
+
declare const LU_LINK_INSTANCE: InjectionToken<boolean>;
|
|
59
|
+
|
|
60
|
+
export { LU_LINK_INSTANCE, LinkComponent, LuRouterLink };
|
|
@@ -47,7 +47,7 @@ declare class VerticalNavigationComponent {
|
|
|
47
47
|
readonly verticalNavigationLinks: _angular_core.Signal<readonly VerticalNavigationLinkComponent[]>;
|
|
48
48
|
readonly isIconless: _angular_core.Signal<boolean>;
|
|
49
49
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VerticalNavigationComponent, never>;
|
|
50
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<VerticalNavigationComponent, "lu-vertical-navigation", never, { "heading": { "alias": "heading"; "required":
|
|
50
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<VerticalNavigationComponent, "lu-vertical-navigation", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; }, {}, ["verticalNavigationGroup", "verticalNavigationLinks"], ["*"], true, never>;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
declare class VerticalNavigationItemComponent {
|