@lucca-front/ng 21.3.0-rc.4 → 21.3.0-rc.6
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-callout.mjs +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +2 -2
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -2
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +135 -102
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +3 -3
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +2 -2
- 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-forms-rich-text-input.mjs +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +86 -35
- 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-multi-select.mjs +18 -5
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +4 -4
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +8 -4
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +20 -7
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +2 -2
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +22 -10
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +17 -2
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/package.json +4 -4
- package/schematics/collection.json +10 -0
- package/schematics/deprecated-resolver/index.js +70 -0
- package/schematics/deprecated-resolver/migration.spec.js +25 -0
- package/schematics/deprecated-resolver/schema.json +23 -0
- package/schematics/lib/deprecated-mapper.js +109 -0
- package/schematics/lib/index.js +1 -0
- package/schematics/lu-grid/index.js +23 -0
- package/schematics/lu-grid/migration.js +264 -0
- package/schematics/lu-grid/migration.spec.js +23 -0
- package/schematics/lu-grid/schema.json +23 -0
- package/src/definitions/option/_option-item.scss +4 -24
- package/types/lucca-front-ng-core-select.d.ts +5 -0
- package/types/lucca-front-ng-forms.d.ts +30 -5
- package/types/lucca-front-ng-popover2.d.ts +5 -1
- package/types/lucca-front-ng-simple-select.d.ts +3 -0
- package/types/lucca-front-ng-time.d.ts +3 -1
- package/types/lucca-front-ng-title.d.ts +5 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const path = require("path");
|
|
4
|
+
const lib_1 = require("../lib");
|
|
5
|
+
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
6
|
+
const testsRoot = path.join(__dirname, 'tests');
|
|
7
|
+
describe('lu-grid Migration', () => {
|
|
8
|
+
it('should handle basic case files', async () => {
|
|
9
|
+
// Arrange
|
|
10
|
+
const tree = (0, lib_1.createTreeFromFolder)(path.join(testsRoot, 'input'));
|
|
11
|
+
const expectedTree = (0, lib_1.createTreeFromFolder)(path.join(testsRoot, 'output'));
|
|
12
|
+
// Act
|
|
13
|
+
try {
|
|
14
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'lu-grid', { skipInstallation: true }, tree);
|
|
15
|
+
}
|
|
16
|
+
catch (error) {
|
|
17
|
+
// eslint-disable-next-line no-console
|
|
18
|
+
console.log(error);
|
|
19
|
+
}
|
|
20
|
+
// Assert
|
|
21
|
+
(0, lib_1.expectTree)(tree).toMatchTree(expectedTree);
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "LuccaFrontLuGrid",
|
|
4
|
+
"title": "Migrate HTML Grid to the new lu-grid component",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"dryRun": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"description": "Run through the migration without making any changes.",
|
|
10
|
+
"default": false
|
|
11
|
+
},
|
|
12
|
+
"skipInstall": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"description": "Skip installing dependencies.",
|
|
15
|
+
"default": false
|
|
16
|
+
},
|
|
17
|
+
"verbose": {
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"description": "Enable verbose logging.",
|
|
20
|
+
"default": false
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -76,39 +76,19 @@
|
|
|
76
76
|
border-end-end-radius: var(--pr-t-border-radius-default);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
:host-context(.optionItem.is-highlighted) & {
|
|
80
80
|
background-color: var(--palettes-100, var(--palettes-product-100));
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
&:active {
|
|
84
84
|
background-color: var(--palettes-200, var(--palettes-product-200));
|
|
85
85
|
}
|
|
86
|
-
|
|
87
|
-
:host-context(.is-highlighted) & {
|
|
88
|
-
background-color: var(--palettes-100, var(--palettes-product-100));
|
|
89
|
-
|
|
90
|
-
&:hover {
|
|
91
|
-
background-color: var(--palettes-200, var(--palettes-product-200));
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
86
|
}
|
|
95
87
|
|
|
96
|
-
|
|
88
|
+
:host-context(.optionItem.is-highlighted) & {
|
|
97
89
|
background-color: var(--palettes-neutral-50);
|
|
98
90
|
}
|
|
99
91
|
|
|
100
|
-
:host-context(.is-highlighted) & {
|
|
101
|
-
background-color: var(--palettes-neutral-50);
|
|
102
|
-
|
|
103
|
-
&:hover {
|
|
104
|
-
background-color: var(--palettes-neutral-50);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&:active {
|
|
108
|
-
background-color: var(--palettes-neutral-100);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
92
|
&:active {
|
|
113
93
|
background-color: var(--palettes-neutral-100);
|
|
114
94
|
}
|
|
@@ -132,7 +112,7 @@
|
|
|
132
112
|
|
|
133
113
|
@layer mods {
|
|
134
114
|
&:hover,
|
|
135
|
-
:host-context(.is-highlighted) & {
|
|
115
|
+
:host-context(.optionItem.is-highlighted) & {
|
|
136
116
|
background-color: inherit;
|
|
137
117
|
}
|
|
138
118
|
}
|
|
@@ -206,7 +186,7 @@
|
|
|
206
186
|
--components-options-checkbox-border-color: var(--palettes-neutral-500); // disabled token candidate
|
|
207
187
|
}
|
|
208
188
|
|
|
209
|
-
&:not(.is-disabled)
|
|
189
|
+
:host-context(.optionItem.is-highlighted) &:not(.is-disabled) {
|
|
210
190
|
&::before {
|
|
211
191
|
box-shadow: inset 0 0 0 2px var(--components-options-checkbox-color);
|
|
212
192
|
}
|
|
@@ -129,11 +129,13 @@ declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
|
129
129
|
ngOnDestroy(): void;
|
|
130
130
|
setActiveStyles(): void;
|
|
131
131
|
setInactiveStyles(): void;
|
|
132
|
+
onMouseEnter(): void;
|
|
132
133
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectPanelElement<any>, never>;
|
|
133
134
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSelectPanelElement<any>, "[luCoreSelectPanelElement]", ["luCoreSelectPanelElement"], { "elementId": { "alias": "elementId"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "isSelected": "isSelectedChange"; "selected": "selected"; }, never, never, true, never>;
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
138
|
+
#private;
|
|
137
139
|
protected selectableItem: CoreSelectPanelElement<any>;
|
|
138
140
|
readonly intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
|
|
139
141
|
hasOptionItemClass: boolean;
|
|
@@ -185,6 +187,7 @@ declare class CoreSelectKeyManager<T> {
|
|
|
185
187
|
get activeItem(): CoreSelectPanelElement<T> | undefined;
|
|
186
188
|
get activeItemIndex(): number;
|
|
187
189
|
setActiveItem(index: number): void;
|
|
190
|
+
setActiveItemByElement(item: CoreSelectPanelElement<T>): void;
|
|
188
191
|
highlightOption(option: T): void;
|
|
189
192
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectKeyManager<any>, never>;
|
|
190
193
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CoreSelectKeyManager<any>>;
|
|
@@ -216,6 +219,7 @@ declare abstract class LuSelectPanelRef<TOption, TValue> {
|
|
|
216
219
|
|
|
217
220
|
interface CoreSelectPanelInstance<T = unknown> {
|
|
218
221
|
options: WritableSignal<CoreSelectPanelElement<T>[]>;
|
|
222
|
+
pointerNavigation: Signal<boolean>;
|
|
219
223
|
}
|
|
220
224
|
declare const SELECT_PANEL_INSTANCE: InjectionToken<CoreSelectPanelInstance<unknown>>;
|
|
221
225
|
|
|
@@ -273,6 +277,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
273
277
|
protected abstract hasValue(): boolean;
|
|
274
278
|
get isPanelOpen(): boolean;
|
|
275
279
|
isPanelOpen$: BehaviorSubject<boolean>;
|
|
280
|
+
panelOpenSignal: Signal<boolean>;
|
|
276
281
|
activeDescendant$: BehaviorSubject<string>;
|
|
277
282
|
get ariaControls(): string;
|
|
278
283
|
overlayConfig?: OverlayConfig;
|
|
@@ -7,8 +7,8 @@ import { FormFieldComponent } from '@lucca-front/ng/form-field';
|
|
|
7
7
|
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
8
8
|
import { NumberFormatStyle, NumberFormatCurrencyDisplay, NumberFormatUnit, NumberFormatUnitDisplay } from '@lucca-front/ng/number-format';
|
|
9
9
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
10
|
-
import * as _lucca_front_ng_forms from '@lucca-front/ng/forms';
|
|
11
10
|
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;
|
|
@@ -83,41 +83,62 @@ declare class MultilanguageInputComponent implements ControlValueAccessor {
|
|
|
83
83
|
clear: string;
|
|
84
84
|
toggleMultilanguage: string;
|
|
85
85
|
translateTo: string;
|
|
86
|
+
translateWithAI: string;
|
|
87
|
+
invariantInfo: string;
|
|
88
|
+
requiredError: string;
|
|
86
89
|
} | {
|
|
87
90
|
clear: string;
|
|
88
91
|
toggleMultilanguage: string;
|
|
89
92
|
translateTo: string;
|
|
93
|
+
translateWithAI: string;
|
|
94
|
+
invariantInfo: string;
|
|
95
|
+
requiredError: string;
|
|
90
96
|
}, Partial<{
|
|
91
97
|
clear: string;
|
|
92
98
|
toggleMultilanguage: string;
|
|
93
99
|
translateTo: string;
|
|
100
|
+
translateWithAI: string;
|
|
101
|
+
invariantInfo: string;
|
|
102
|
+
requiredError: string;
|
|
94
103
|
} | {
|
|
95
104
|
clear: string;
|
|
96
105
|
toggleMultilanguage: string;
|
|
97
106
|
translateTo: string;
|
|
107
|
+
translateWithAI: string;
|
|
108
|
+
invariantInfo: string;
|
|
109
|
+
requiredError: string;
|
|
98
110
|
}>>;
|
|
111
|
+
protected formFieldRef: FormFieldComponent;
|
|
99
112
|
formFieldSize: _angular_core.InputSignal<"XS" | "S" | "M">;
|
|
100
113
|
protected onTouched: () => void;
|
|
101
114
|
protected onChange: (_value: MultilanguageTranslation[]) => void;
|
|
102
115
|
placeholder: _angular_core.InputSignal<string>;
|
|
103
116
|
openOnFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
104
117
|
autocomplete: _angular_core.InputSignal<AutoFill>;
|
|
118
|
+
hasNoInvariant: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
119
|
+
displayLocale: _angular_core.InputSignal<string>;
|
|
120
|
+
translateWithAI: _angular_core.OutputEmitterRef<string>;
|
|
121
|
+
shouldOpenOnFocus: _angular_core.Signal<boolean>;
|
|
105
122
|
disabledInternal: WritableSignal<boolean>;
|
|
106
123
|
model: WritableSignal<MultilanguageTranslation[]>;
|
|
107
|
-
|
|
124
|
+
displayRow: _angular_core.Signal<MultilanguageTranslation | {
|
|
108
125
|
value: string;
|
|
126
|
+
required: boolean;
|
|
127
|
+
cultureCode: string;
|
|
109
128
|
}>;
|
|
110
129
|
panelInputs: _angular_core.Signal<MultilanguageTranslation[]>;
|
|
111
130
|
presentationValue: _angular_core.Signal<string>;
|
|
112
131
|
popoverPositions: ConnectionPositionPair[];
|
|
132
|
+
constructor();
|
|
113
133
|
getLocaleDisplayName(locale: string): string;
|
|
134
|
+
protected getPopoverInlineSizeRem(inputElement: HTMLInputElement): number;
|
|
114
135
|
writeValue(value: MultilanguageTranslation[]): void;
|
|
115
136
|
registerOnChange(fn: (value: MultilanguageTranslation[]) => void): void;
|
|
116
137
|
registerOnTouched(fn: () => void): void;
|
|
117
138
|
setDisabledState?(isDisabled: boolean): void;
|
|
118
139
|
valueChange(): void;
|
|
119
140
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultilanguageInputComponent, never>;
|
|
120
|
-
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; }; }, {}, never, never, true, 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>;
|
|
121
142
|
}
|
|
122
143
|
|
|
123
144
|
declare function areAllLanguagesFilled(model: MultilanguageTranslation[]): boolean;
|
|
@@ -133,7 +154,7 @@ type TextfieldIconAddon = {
|
|
|
133
154
|
ariaLabel: string;
|
|
134
155
|
};
|
|
135
156
|
type TextfieldTextAddon = {
|
|
136
|
-
content:
|
|
157
|
+
content: PortalContent;
|
|
137
158
|
ariaLabel: string;
|
|
138
159
|
};
|
|
139
160
|
type TextInputAddon = TextfieldIconAddon | TextfieldTextAddon;
|
|
@@ -328,10 +349,11 @@ declare class FieldsetComponent {
|
|
|
328
349
|
readonly size: _angular_core.InputSignal<"S">;
|
|
329
350
|
readonly horizontal: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
330
351
|
readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
352
|
+
readonly hiddenLegend: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
331
353
|
expanded: _angular_core.ModelSignal<boolean>;
|
|
332
354
|
id: string;
|
|
333
355
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldsetComponent, never>;
|
|
334
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldsetComponent, "lu-fieldset", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "helper": { "alias": "helper"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["*"], true, never>;
|
|
356
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldsetComponent, "lu-fieldset", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "helper": { "alias": "helper"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "hiddenLegend": { "alias": "hiddenLegend"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["*"], true, never>;
|
|
335
357
|
}
|
|
336
358
|
|
|
337
359
|
/**
|
|
@@ -353,6 +375,7 @@ interface LuColorLabel {
|
|
|
353
375
|
|
|
354
376
|
declare class ColorInputComponent {
|
|
355
377
|
intl: _angular_core.InputSignalWithTransform<LuColorLabel, Partial<LuColorLabel>>;
|
|
378
|
+
pointerNavigation: _angular_core.WritableSignal<boolean>;
|
|
356
379
|
mouseHighlighted: _angular_core.WritableSignal<string>;
|
|
357
380
|
keyboardHighlighted: _angular_core.WritableSignal<string>;
|
|
358
381
|
highlighted: Signal<string>;
|
|
@@ -366,6 +389,8 @@ declare class ColorInputComponent {
|
|
|
366
389
|
currentColorPresentation: Signal<ColorOption | null>;
|
|
367
390
|
constructor();
|
|
368
391
|
filteredColors: Signal<ColorOption[]>;
|
|
392
|
+
onKeydown(): void;
|
|
393
|
+
onMousemove(): void;
|
|
369
394
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInputComponent, never>;
|
|
370
395
|
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: {}; }]>;
|
|
371
396
|
}
|
|
@@ -17,6 +17,8 @@ declare class PopoverDirective implements OnDestroy {
|
|
|
17
17
|
intl: _angular_core.InputSignalWithTransform<LuCalloutLabel, Partial<LuCalloutLabel>>;
|
|
18
18
|
content: TemplateRef<unknown> | Type<unknown>;
|
|
19
19
|
luPopoverPosition: InputSignal<PopoverPosition>;
|
|
20
|
+
luPopoverMaxBlockSize: InputSignal<string>;
|
|
21
|
+
luPopoverMaxInlineSize: InputSignal<string>;
|
|
20
22
|
overlayScrollStrategy: 'reposition' | 'block' | 'close';
|
|
21
23
|
luPopoverDisabled: boolean;
|
|
22
24
|
luPopoverTrigger: _angular_core.ModelSignal<"click" | "click+hover" | "hover+focus">;
|
|
@@ -53,7 +55,7 @@ declare class PopoverDirective implements OnDestroy {
|
|
|
53
55
|
focusOutBefore(): void;
|
|
54
56
|
updatePosition(): void;
|
|
55
57
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
56
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[luPopover2]", ["luPopover2"], { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "content": { "alias": "luPopover2"; "required": false; }; "luPopoverPosition": { "alias": "luPopoverPosition"; "required": false; "isSignal": true; }; "overlayScrollStrategy": { "alias": "overlayScrollStrategy"; "required": false; }; "luPopoverDisabled": { "alias": "luPopoverDisabled"; "required": false; }; "luPopoverTrigger": { "alias": "luPopoverTrigger"; "required": false; "isSignal": true; }; "customPositions": { "alias": "customPositions"; "required": false; }; "luPopoverNoCloseButton": { "alias": "luPopoverNoCloseButton"; "required": false; }; "luPopoverAnchor": { "alias": "luPopoverAnchor"; "required": false; "isSignal": true; }; "luPopoverOpenDelay": { "alias": "luPopoverOpenDelay"; "required": false; "isSignal": true; }; "luPopoverCloseDelay": { "alias": "luPopoverCloseDelay"; "required": false; "isSignal": true; }; }, { "luPopoverTrigger": "luPopoverTriggerChange"; "luPopoverClosed": "luPopoverClosed"; "luPopoverOpened": "luPopoverOpened"; }, never, never, true, never>;
|
|
58
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[luPopover2]", ["luPopover2"], { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "content": { "alias": "luPopover2"; "required": false; }; "luPopoverPosition": { "alias": "luPopoverPosition"; "required": false; "isSignal": true; }; "luPopoverMaxBlockSize": { "alias": "luPopoverMaxBlockSize"; "required": false; "isSignal": true; }; "luPopoverMaxInlineSize": { "alias": "luPopoverMaxInlineSize"; "required": false; "isSignal": true; }; "overlayScrollStrategy": { "alias": "overlayScrollStrategy"; "required": false; }; "luPopoverDisabled": { "alias": "luPopoverDisabled"; "required": false; }; "luPopoverTrigger": { "alias": "luPopoverTrigger"; "required": false; "isSignal": true; }; "customPositions": { "alias": "customPositions"; "required": false; }; "luPopoverNoCloseButton": { "alias": "luPopoverNoCloseButton"; "required": false; }; "luPopoverAnchor": { "alias": "luPopoverAnchor"; "required": false; "isSignal": true; }; "luPopoverOpenDelay": { "alias": "luPopoverOpenDelay"; "required": false; "isSignal": true; }; "luPopoverCloseDelay": { "alias": "luPopoverCloseDelay"; "required": false; "isSignal": true; }; }, { "luPopoverTrigger": "luPopoverTriggerChange"; "luPopoverClosed": "luPopoverClosed"; "luPopoverOpened": "luPopoverOpened"; }, never, never, true, never>;
|
|
57
59
|
static ngAcceptInputType_luPopoverDisabled: unknown;
|
|
58
60
|
static ngAcceptInputType_luPopoverNoCloseButton: unknown;
|
|
59
61
|
}
|
|
@@ -93,6 +95,8 @@ interface PopoverConfig {
|
|
|
93
95
|
content: TemplateRef<unknown> | Type<unknown>;
|
|
94
96
|
ref: OverlayRef;
|
|
95
97
|
contentId: string;
|
|
98
|
+
maxBlockSize: string | null;
|
|
99
|
+
maxInlineSize: string | null;
|
|
96
100
|
disableCloseButtonFocus: boolean;
|
|
97
101
|
disableInitialTriggerFocus: boolean;
|
|
98
102
|
noCloseButton: boolean;
|
|
@@ -58,6 +58,9 @@ declare class LuSelectPanelComponent<T> implements AfterViewInit, CoreSelectPane
|
|
|
58
58
|
initialValue: T | undefined;
|
|
59
59
|
optionTpl: _angular_core.ModelSignal<_angular_core.Type<unknown> | _angular_core.TemplateRef<_lucca_front_ng_core_select.LuOptionContext<T>>>;
|
|
60
60
|
options: _angular_core.WritableSignal<_CoreSelectPanelElement<T>[]>;
|
|
61
|
+
pointerNavigation: _angular_core.WritableSignal<boolean>;
|
|
62
|
+
onKeydown(): void;
|
|
63
|
+
onMousemove(): void;
|
|
61
64
|
keyManager: CoreSelectKeyManager<T>;
|
|
62
65
|
selected: _angular_core.Signal<T>;
|
|
63
66
|
hasGrouping$: rxjs.Observable<boolean>;
|
|
@@ -216,6 +216,7 @@ interface TimeRangePickerRange {
|
|
|
216
216
|
|
|
217
217
|
declare class TimeRangePickerComponent implements ControlValueAccessor, OnInit, Validator {
|
|
218
218
|
#private;
|
|
219
|
+
readonly inputFocused: _angular_core.WritableSignal<boolean>;
|
|
219
220
|
readonly value: _angular_core.WritableSignal<TimeRangePickerRange>;
|
|
220
221
|
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_time.TimeRangePickerTranslations, Partial<_lucca_front_ng_time.TimeRangePickerTranslations>>;
|
|
221
222
|
readonly displayArrows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -240,7 +241,8 @@ declare class TimeRangePickerComponent implements ControlValueAccessor, OnInit,
|
|
|
240
241
|
setDisabledState(isDisabled: boolean): void;
|
|
241
242
|
onStartChange(start: ISO8601Time): void;
|
|
242
243
|
onEndChange(end: ISO8601Time): void;
|
|
243
|
-
|
|
244
|
+
onFocusIn(): void;
|
|
245
|
+
onFocusOut(): void;
|
|
244
246
|
partToFocus(): 'meridiem' | 'minutes';
|
|
245
247
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimeRangePickerComponent, never>;
|
|
246
248
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeRangePickerComponent, "lu-time-range-picker", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "forceMeridiemDisplay": { "alias": "forceMeridiemDisplay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -49,6 +49,7 @@ declare class LuTitleService {
|
|
|
49
49
|
declare const ɵAPP_TITLE: InjectionToken<string | Observable<string>>;
|
|
50
50
|
type LuTitleNamingStrategy = 'product' | 'other';
|
|
51
51
|
declare const ɵNAMING_STRATEGY: InjectionToken<LuTitleNamingStrategy>;
|
|
52
|
+
declare const ɵREAD_TITLE_BY_LIVE_ANNOUNCER: InjectionToken<boolean>;
|
|
52
53
|
/**
|
|
53
54
|
* @deprecated Use `provideLuTitleStrategy` instead.
|
|
54
55
|
*/
|
|
@@ -59,6 +60,8 @@ declare class LuTitleStrategy extends TitleStrategy {
|
|
|
59
60
|
private translateService;
|
|
60
61
|
private appTitle;
|
|
61
62
|
private namingStrategy;
|
|
63
|
+
private readTitleByLiveAnnouncer;
|
|
64
|
+
private liveAnnouncer;
|
|
62
65
|
private luccaTitle$;
|
|
63
66
|
private titlePartsSubject;
|
|
64
67
|
titleParts$: Observable<(string | ObservableInput<string>)[]>;
|
|
@@ -74,8 +77,9 @@ interface LuTitleStrategyOptions {
|
|
|
74
77
|
appTitle?: () => string | Observable<string>;
|
|
75
78
|
translateService?: () => ILuTitleTranslateService;
|
|
76
79
|
namingStrategy?: LuTitleNamingStrategy;
|
|
80
|
+
readTitleByLiveAnnouncer?: boolean;
|
|
77
81
|
}
|
|
78
82
|
declare function provideLuTitleStrategy(options: LuTitleStrategyOptions): Provider[];
|
|
79
83
|
|
|
80
|
-
export { APP_TITLE, LU_TITLE_TRANSLATE_SERVICE, LuTitleModule, LuTitleService, LuTitleStrategy, TitleSeparator, provideLuTitleStrategy, ɵAPP_TITLE, ɵNAMING_STRATEGY };
|
|
84
|
+
export { APP_TITLE, LU_TITLE_TRANSLATE_SERVICE, LuTitleModule, LuTitleService, LuTitleStrategy, TitleSeparator, provideLuTitleStrategy, ɵAPP_TITLE, ɵNAMING_STRATEGY, ɵREAD_TITLE_BY_LIVE_ANNOUNCER };
|
|
81
85
|
export type { ILuTitleTranslateService, LuTitleNamingStrategy, LuTitleStrategyOptions, PageTitle };
|