@arsedizioni/ars-utils 22.1.5 → 22.5.1
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/README.md +97 -10
- package/clipper.ui/clipper.scss +564 -0
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +7 -3
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.date.mjs +609 -0
- package/fesm2022/arsedizioni-ars-utils-core.date.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-core.markdown.mjs +591 -0
- package/fesm2022/arsedizioni-ars-utils-core.markdown.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-core.mjs +270 -1449
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +14 -4108
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs +962 -0
- package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs +506 -0
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs +763 -0
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs +184 -0
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs +825 -0
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.files.mjs +708 -0
- package/fesm2022/arsedizioni-ars-utils-ui.files.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs +426 -0
- package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.help.mjs +531 -0
- package/fesm2022/arsedizioni-ars-utils-ui.help.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +61 -1194
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs +1049 -0
- package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs +263 -0
- package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +4 -3
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs +246 -0
- package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils.mjs +13 -12
- package/fesm2022/arsedizioni-ars-utils.mjs.map +1 -1
- package/help/package.json +4 -0
- package/package.json +72 -14
- package/support.ui/package.json +4 -0
- package/tinymce/package.json +4 -0
- package/types/arsedizioni-ars-utils-clipper.common.d.ts +1 -2
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +4 -2
- package/types/arsedizioni-ars-utils-core.d.ts +684 -1004
- package/types/arsedizioni-ars-utils-core.date.d.ts +304 -0
- package/types/arsedizioni-ars-utils-core.markdown.d.ts +159 -0
- package/types/arsedizioni-ars-utils-ui.application.d.ts +10 -2022
- package/types/arsedizioni-ars-utils-ui.controls.d.ts +413 -0
- package/types/arsedizioni-ars-utils-ui.d.ts +198 -561
- package/types/arsedizioni-ars-utils-ui.dialogs.auth.d.ts +224 -0
- package/types/arsedizioni-ars-utils-ui.dialogs.d.ts +376 -0
- package/types/arsedizioni-ars-utils-ui.dialogs.prompt.d.ts +47 -0
- package/types/arsedizioni-ars-utils-ui.dialogs.select.d.ts +309 -0
- package/types/arsedizioni-ars-utils-ui.files.d.ts +271 -0
- package/types/arsedizioni-ars-utils-ui.filters.d.ts +163 -0
- package/types/arsedizioni-ars-utils-ui.help.d.ts +220 -0
- package/types/arsedizioni-ars-utils-ui.navigation.d.ts +650 -0
- package/types/arsedizioni-ars-utils-ui.notifications.d.ts +73 -0
- package/types/arsedizioni-ars-utils-ui.tinymce.d.ts +63 -0
- package/types/arsedizioni-ars-utils.d.ts +4 -10
- package/ui.tinymce/README.md +12 -0
- package/ui.tinymce/langs/it.js +466 -0
|
@@ -1,13 +1,9 @@
|
|
|
1
|
+
import { Searchable, INode, DateInterval, SearchBag, NameValueItem } from '@arsedizioni/ars-utils/core';
|
|
2
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
1
3
|
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
2
4
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
5
|
-
import { MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
|
|
6
|
-
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
5
|
+
import { TemplateRef, InjectionToken, Signal, ElementRef, Renderer2 } from '@angular/core';
|
|
7
6
|
import { Observable } from 'rxjs';
|
|
8
|
-
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
9
|
-
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
10
|
-
import { PasswordStrength } from '@arsedizioni/ars-utils/core';
|
|
11
7
|
|
|
12
8
|
interface DialogResult {
|
|
13
9
|
result?: 'ok' | 'cancel' | 'other';
|
|
@@ -38,592 +34,233 @@ interface CredentialsDialogResult {
|
|
|
38
34
|
code?: string;
|
|
39
35
|
}
|
|
40
36
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
itemsPerPageLabel: string;
|
|
44
|
-
nextPageLabel: string;
|
|
45
|
-
previousPageLabel: string;
|
|
46
|
-
lastPageLabel: string;
|
|
47
|
-
firstPageLabel: string;
|
|
48
|
-
/**
|
|
49
|
-
* Returns the human-readable range label shown inside the paginator.
|
|
50
|
-
* @param page - Zero-based index of the current page.
|
|
51
|
-
* @param pageSize - Number of items displayed per page.
|
|
52
|
-
* @param length - Total number of items, or `-1` when the total is still being calculated.
|
|
53
|
-
* @returns A formatted string such as `"1 - 25 di 100"`.
|
|
54
|
-
*/
|
|
55
|
-
getRangeLabel: (page: number, pageSize: number, length: number) => string;
|
|
56
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginatorIntl, never>;
|
|
57
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PaginatorIntl>;
|
|
37
|
+
interface SelectDialogResult {
|
|
38
|
+
selectedItems: SelectableItem[];
|
|
58
39
|
}
|
|
59
|
-
|
|
60
|
-
|
|
40
|
+
interface SelectTreeDialogResult {
|
|
41
|
+
selectedItems: ItemNode[];
|
|
61
42
|
}
|
|
62
|
-
interface
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
otherCaption?: string;
|
|
68
|
-
options?: ConfirmDialogOption[];
|
|
69
|
-
details?: string;
|
|
43
|
+
interface SelectDialogLookup {
|
|
44
|
+
items: SelectableItem[];
|
|
45
|
+
filter?: string;
|
|
46
|
+
params?: any;
|
|
47
|
+
owner?: any;
|
|
70
48
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
protected readonly dialogData: _angular_core.WritableSignal<ConfirmDialogData>;
|
|
77
|
-
constructor();
|
|
78
|
-
/**
|
|
79
|
-
* Confirms the dialog, emitting `'ok'` together with the current option selections.
|
|
80
|
-
*/
|
|
81
|
-
ok(): void;
|
|
82
|
-
/**
|
|
83
|
-
* Cancels the dialog, emitting `'cancel'`.
|
|
84
|
-
*/
|
|
85
|
-
cancel(): void;
|
|
86
|
-
/**
|
|
87
|
-
* Triggers the tertiary action, emitting `'other'`.
|
|
88
|
-
*/
|
|
89
|
-
other(): void;
|
|
90
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
|
|
91
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialogComponent, "ng-component", never, {}, { "choosen": "choosen"; }, never, never, true, never>;
|
|
49
|
+
interface SelectDialogFilter {
|
|
50
|
+
items?: SelectableItem[];
|
|
51
|
+
filter?: string;
|
|
52
|
+
filterOption?: SelectableFilter;
|
|
53
|
+
owner?: any;
|
|
92
54
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
message: string;
|
|
97
|
-
details?: string;
|
|
98
|
-
okCaption?: string;
|
|
99
|
-
dismissAfter?: number;
|
|
100
|
-
onNavigate?: (url: string) => void;
|
|
55
|
+
interface SelectDialogAppend {
|
|
56
|
+
items: SelectableItem[];
|
|
57
|
+
owner?: any;
|
|
101
58
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
private readonly dialogRef;
|
|
105
|
-
private dismissTimer?;
|
|
106
|
-
/** Dialog configuration with defaults applied at construction time. */
|
|
107
|
-
protected readonly dialogData: _angular_core.WritableSignal<InfoDialogData>;
|
|
108
|
-
constructor();
|
|
109
|
-
/**
|
|
110
|
-
* (Re)schedules the auto-dismiss timer, cancelling any pending one so that
|
|
111
|
-
* an earlier (shorter) timer can never close a newer message.
|
|
112
|
-
* @param dismissAfter - Delay in milliseconds; no-op when falsy.
|
|
113
|
-
*/
|
|
114
|
-
private scheduleDismiss;
|
|
115
|
-
/**
|
|
116
|
-
* Replaces the dialog data at runtime (e.g. after an async operation resolves).
|
|
117
|
-
* Also re-schedules the auto-dismiss timer if `dismissAfter` is set.
|
|
118
|
-
* @param data - The new dialog data to display.
|
|
119
|
-
*/
|
|
120
|
-
setData(data: InfoDialogData): void;
|
|
121
|
-
/**
|
|
122
|
-
* Invokes the optional navigation callback provided by the caller.
|
|
123
|
-
* @param url - The URL to navigate to.
|
|
124
|
-
*/
|
|
125
|
-
protected navigate(url: string): void;
|
|
126
|
-
/**
|
|
127
|
-
* Copy to clipboard
|
|
128
|
-
*/
|
|
129
|
-
protected copy(): Promise<void>;
|
|
130
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
|
|
131
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
59
|
+
interface SelectDialogEdit extends SelectDialogAppend {
|
|
60
|
+
item: SelectableItem;
|
|
132
61
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
actionCaption?: string;
|
|
62
|
+
interface SelectDialogDelete {
|
|
63
|
+
items: SelectableItem[];
|
|
64
|
+
selectedItems: SelectableItem[];
|
|
65
|
+
owner?: any;
|
|
138
66
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
67
|
+
interface SelectFileOption {
|
|
68
|
+
description: string;
|
|
69
|
+
value: boolean;
|
|
70
|
+
}
|
|
71
|
+
interface SelectFile {
|
|
72
|
+
file: File;
|
|
73
|
+
options?: SelectFileOption[];
|
|
74
|
+
}
|
|
75
|
+
interface SelectableFilter {
|
|
76
|
+
divider?: boolean;
|
|
77
|
+
description?: string;
|
|
78
|
+
group?: number;
|
|
79
|
+
groupName?: string;
|
|
80
|
+
radio?: boolean;
|
|
81
|
+
checked?: boolean;
|
|
82
|
+
value?: any;
|
|
83
|
+
icon?: string;
|
|
84
|
+
title?: string;
|
|
150
85
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
86
|
+
interface SelectDialogData {
|
|
87
|
+
title: string;
|
|
88
|
+
description?: string;
|
|
89
|
+
okCaption?: string;
|
|
90
|
+
maxItems?: number;
|
|
91
|
+
multipleSelection?: boolean;
|
|
92
|
+
mustSelect?: boolean;
|
|
93
|
+
width?: number;
|
|
94
|
+
filter?: string;
|
|
95
|
+
filters?: SelectableFilter[];
|
|
96
|
+
items?: SelectableItem[];
|
|
97
|
+
lookupFields?: NameValueItem<string>[];
|
|
98
|
+
lookupOnInit?: boolean;
|
|
99
|
+
emptyMessage?: string;
|
|
100
|
+
canLookupWithOptions?: boolean;
|
|
101
|
+
canLookupWithInlineOptions?: boolean;
|
|
102
|
+
canLookup?: boolean;
|
|
103
|
+
canDelete?: boolean;
|
|
104
|
+
canAppend?: boolean;
|
|
105
|
+
canEdit?: boolean;
|
|
106
|
+
canView?: boolean;
|
|
107
|
+
canFilter?: boolean;
|
|
108
|
+
canPaginate?: boolean;
|
|
109
|
+
pageSize?: number;
|
|
110
|
+
appearance?: MatFormFieldAppearance;
|
|
111
|
+
header?: string;
|
|
112
|
+
searchLabel?: string;
|
|
113
|
+
searchButtonLabel?: string;
|
|
165
114
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
115
|
+
interface SelectTreeDialogData {
|
|
116
|
+
title: string;
|
|
117
|
+
description?: string;
|
|
118
|
+
okCaption?: string;
|
|
119
|
+
nodes?: ItemNode[];
|
|
120
|
+
initialFilter?: string;
|
|
121
|
+
appearance?: MatFormFieldAppearance;
|
|
122
|
+
owner?: any;
|
|
123
|
+
canAppend?: boolean;
|
|
171
124
|
}
|
|
172
|
-
interface
|
|
173
|
-
title
|
|
174
|
-
|
|
175
|
-
confirmMode: DeleteDialogConfirmMode;
|
|
125
|
+
interface SelectFileDialogData {
|
|
126
|
+
title: string;
|
|
127
|
+
description?: string;
|
|
176
128
|
okCaption?: string;
|
|
177
|
-
|
|
178
|
-
|
|
129
|
+
helpLink?: string;
|
|
130
|
+
helpCaption?: string;
|
|
131
|
+
maxSize?: number;
|
|
132
|
+
options?: any;
|
|
133
|
+
owner?: any;
|
|
134
|
+
accept?: string;
|
|
179
135
|
appearance?: MatFormFieldAppearance;
|
|
180
136
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
private readonly dialogRef;
|
|
185
|
-
/** Dialog configuration with defaults applied at construction time. */
|
|
186
|
-
protected readonly dialogData: _angular_core.WritableSignal<DeleteDialogData>;
|
|
187
|
-
/**
|
|
188
|
-
* Whether the user has confirmed the deletion.
|
|
189
|
-
* Starts as `true` for all modes except `Simple`, which requires explicit checkbox confirmation.
|
|
190
|
-
*/
|
|
191
|
-
protected readonly confirmed: _angular_core.WritableSignal<boolean>;
|
|
192
|
-
/** Current value typed into the strong-confirmation text field. */
|
|
193
|
-
protected confirmValue?: string;
|
|
194
|
-
/**
|
|
195
|
-
* Confirms the deletion, emitting `'ok'` and closing the dialog.
|
|
196
|
-
*/
|
|
197
|
-
ok(): void;
|
|
198
|
-
/**
|
|
199
|
-
* Cancels the operation, emitting `'cancel'` and closing the dialog.
|
|
200
|
-
*/
|
|
201
|
-
cancel(): void;
|
|
202
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DeleteDialogComponent, never>;
|
|
203
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DeleteDialogComponent, "ng-component", never, {}, { "choosen": "choosen"; }, never, never, true, never>;
|
|
137
|
+
interface SelectPictureFileDialogData extends SelectFileDialogData {
|
|
138
|
+
maxWidth?: number;
|
|
139
|
+
maxHeight?: number;
|
|
204
140
|
}
|
|
205
|
-
|
|
206
|
-
|
|
141
|
+
interface ISelectableItem extends Searchable {
|
|
142
|
+
bag: any;
|
|
143
|
+
template: string;
|
|
207
144
|
}
|
|
208
|
-
declare class
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
clear(): void;
|
|
145
|
+
declare class SelectableItem implements ISelectableItem {
|
|
146
|
+
bag: any;
|
|
147
|
+
template: string;
|
|
148
|
+
/** Searchable index bag. */
|
|
149
|
+
searchBag: SearchBag;
|
|
214
150
|
}
|
|
215
|
-
declare class
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
private clearBusyTimer?;
|
|
229
|
-
private errorDialogRef?;
|
|
230
|
-
private readonly popHistory;
|
|
231
|
-
private popState;
|
|
232
|
-
private poppingState;
|
|
233
|
-
constructor();
|
|
234
|
-
/**
|
|
235
|
-
* Removes trailing `#` characters from the current URL (e.g. after a page reload).
|
|
236
|
-
* @param resetPoppingState - When `true`, resets the internal popping-state flag.
|
|
237
|
-
*/
|
|
238
|
-
clearUrl(resetPoppingState?: boolean): void;
|
|
239
|
-
/**
|
|
240
|
-
* Close all dialogs
|
|
241
|
-
*/
|
|
242
|
-
closeAll(): void;
|
|
243
|
-
/**
|
|
244
|
-
* Opens a Material dialog. Returns `null` when not running in a browser.
|
|
245
|
-
* @param component - The component to open as a dialog.
|
|
246
|
-
* @param config - The dialog configuration.
|
|
247
|
-
* @returns The dialog reference, or `null` outside the browser.
|
|
248
|
-
*/
|
|
249
|
-
open<T>(component: ComponentType<T>, config: MatDialogConfig<unknown>): MatDialogRef<T> | null;
|
|
250
|
-
/**
|
|
251
|
-
* Internal helper that wraps `MatDialog.open`, subscribes to lifecycle hooks
|
|
252
|
-
* and manages browser-history push/pop entries.
|
|
253
|
-
* @param component - The component to open.
|
|
254
|
-
* @param config - The dialog configuration.
|
|
255
|
-
* @returns The dialog reference.
|
|
256
|
-
*/
|
|
257
|
-
private openDialog;
|
|
258
|
-
/**
|
|
259
|
-
* Returns the element height including margins
|
|
260
|
-
* @param element - element
|
|
261
|
-
* @returns the height
|
|
262
|
-
*/
|
|
263
|
-
private outerHeight;
|
|
264
|
-
/**
|
|
265
|
-
* Return current dialog height
|
|
266
|
-
*/
|
|
267
|
-
getCurrentDialogHeight(): number;
|
|
268
|
-
/**
|
|
269
|
-
* Returns the scrollable content area height for the topmost open dialog.
|
|
270
|
-
* @param fixedPartsClassName - CSS class names of fixed (non-scrollable) elements whose heights are subtracted.
|
|
271
|
-
* @param minimalHeight - Minimum height floor to use when the dialog height is smaller.
|
|
272
|
-
* @returns The computed scrollable height in pixels.
|
|
273
|
-
*/
|
|
274
|
-
getCurrentDialogScrollableHeight(fixedPartsClassName: string[], minimalHeight: number): number;
|
|
275
|
-
/**
|
|
276
|
-
* Push a dialog into the browser history
|
|
277
|
-
*/
|
|
278
|
-
private pushDialog;
|
|
279
|
-
/**
|
|
280
|
-
* Pop a dialog from the history
|
|
281
|
-
*/
|
|
282
|
-
private popDialog;
|
|
283
|
-
/**
|
|
284
|
-
* Creates the CDK overlay used to host the busy indicator.
|
|
285
|
-
* @returns The new `OverlayRef`.
|
|
286
|
-
*/
|
|
287
|
-
private createBusy;
|
|
288
|
-
/**
|
|
289
|
-
* Clears the busy overlay after a short grace delay (lets very fast
|
|
290
|
-
* operations avoid a visible flicker). The pending detach is cancelled by
|
|
291
|
-
* any new `setBusy()` call, so it can never kill a freshly opened overlay.
|
|
292
|
-
*/
|
|
293
|
-
clearBusy(): void;
|
|
294
|
-
/**
|
|
295
|
-
* Shows or updates the busy overlay.
|
|
296
|
-
* @param message - Text to display inside the overlay.
|
|
297
|
-
* @param progress - Progress value (`-1` = indeterminate). Defaults to `-1`.
|
|
298
|
-
* @param progressMode - Progress bar mode. Defaults to `'indeterminate'`.
|
|
299
|
-
* @param type - Visual style of the overlay. Defaults to `'bar'`.
|
|
300
|
-
* @param action - Optional observable; the overlay is dismissed when it emits.
|
|
301
|
-
* @returns `true` if a new overlay was created, `false` if an existing one was updated.
|
|
302
|
-
*/
|
|
303
|
-
setBusy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', type?: 'bar' | 'spinner' | 'wait' | 'hourglass', action?: Observable<unknown>): boolean;
|
|
304
|
-
/**
|
|
305
|
-
* Shows or updates the busy overlay using the progress-bar style.
|
|
306
|
-
* @param message - Text to display inside the overlay.
|
|
307
|
-
* @param progress - Progress value (`-1` = indeterminate). Defaults to `-1`.
|
|
308
|
-
* @param progressMode - Progress bar mode. Defaults to `'indeterminate'`.
|
|
309
|
-
* @param action - Optional observable; the overlay is dismissed when it emits.
|
|
310
|
-
* @returns `true` if a new overlay was created.
|
|
311
|
-
*/
|
|
312
|
-
busy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<unknown>): boolean;
|
|
313
|
-
/**
|
|
314
|
-
* Returns a `BusyTimer` that shows the busy overlay after a debounce delay.
|
|
315
|
-
* @param message - Text to display. Defaults to `'Operazione in corso...'`.
|
|
316
|
-
* @param due - Delay in milliseconds before the overlay appears. Defaults to `100`.
|
|
317
|
-
* @returns A `BusyTimer` that must be disposed with `clear()` when the operation ends.
|
|
318
|
-
*/
|
|
319
|
-
busyTimer(message?: string, due?: number): BusyTimer;
|
|
320
|
-
/**
|
|
321
|
-
* Shows or updates the busy overlay using the hourglass style.
|
|
322
|
-
* @param message - Text to display inside the overlay.
|
|
323
|
-
* @param action - Optional observable; the overlay is dismissed when it emits.
|
|
324
|
-
* @returns `true` if a new overlay was created.
|
|
325
|
-
*/
|
|
326
|
-
busyHourglass(message: string, action?: Observable<unknown>): boolean;
|
|
327
|
-
/**
|
|
328
|
-
* Shows or updates the busy overlay using the spinner style.
|
|
329
|
-
* @param message - Text to display inside the overlay.
|
|
330
|
-
* @param progress - Progress value (`-1` = indeterminate). Defaults to `-1`.
|
|
331
|
-
* @param progressMode - Progress mode. Defaults to `'indeterminate'`.
|
|
332
|
-
* @param action - Optional observable; the overlay is dismissed when it emits.
|
|
333
|
-
* @returns `true` if a new overlay was created.
|
|
334
|
-
*/
|
|
335
|
-
busySpinner(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<unknown>): boolean;
|
|
336
|
-
/**
|
|
337
|
-
* Shows a minimal wait spinner overlay.
|
|
338
|
-
* @param action - Optional observable; the overlay is dismissed when it emits.
|
|
339
|
-
* @returns `true` if a new overlay was created.
|
|
340
|
-
*/
|
|
341
|
-
wait(action?: Observable<unknown>): boolean;
|
|
342
|
-
/**
|
|
343
|
-
* Opens an informational dialog.
|
|
344
|
-
* @param message - HTML message to display.
|
|
345
|
-
* @param title - Dialog title. Defaults to `'Informazioni'`.
|
|
346
|
-
* @param okCaption - Confirmation button label. Defaults to `'Ok'`.
|
|
347
|
-
* @param width - Maximum dialog width in pixels. Defaults to `500`.
|
|
348
|
-
* @param dismissAfter - Auto-close delay in milliseconds (optional).
|
|
349
|
-
* @param details - Optional secondary details text.
|
|
350
|
-
* @param onNavigate - Optional navigation callback invoked when the user clicks a link.
|
|
351
|
-
* @returns The dialog reference, or `null` outside the browser.
|
|
352
|
-
*/
|
|
353
|
-
info(message: string, title?: string, okCaption?: string, width?: number, dismissAfter?: number, details?: string, onNavigate?: (url: string) => void): MatDialogRef<InfoDialogComponent> | null;
|
|
354
|
-
/**
|
|
355
|
-
* Opens an error dialog. If one is already open, its content is updated in place.
|
|
356
|
-
* @param message - HTML error message to display.
|
|
357
|
-
* @param log - Optional technical log / stack trace shown in the details panel.
|
|
358
|
-
* @param title - Dialog title. Defaults to `'Errore'`.
|
|
359
|
-
* @param okCaption - Confirmation button label. Defaults to `'Ok'`.
|
|
360
|
-
* @param width - Maximum dialog width in pixels. Defaults to `500`.
|
|
361
|
-
* @param dismissAfter - Auto-close delay in milliseconds (optional).
|
|
362
|
-
* @returns The dialog reference, or `null` outside the browser.
|
|
363
|
-
*/
|
|
364
|
-
error(message: string, log?: string, title?: string, okCaption?: string, width?: number, dismissAfter?: number): MatDialogRef<InfoDialogComponent> | null;
|
|
365
|
-
/**
|
|
366
|
-
* Shows a snack-bar toast notification.
|
|
367
|
-
* @param message - HTML message to display.
|
|
368
|
-
* @param duration - Visible duration in milliseconds. Defaults to `2000`.
|
|
369
|
-
* @param icon - Material icon name shown beside the message. Defaults to `'check'`.
|
|
370
|
-
* @param actionCaption - Optional label for the action button.
|
|
371
|
-
* @returns The snack-bar reference.
|
|
372
|
-
*/
|
|
373
|
-
toast(message: string, duration?: number, icon?: string, actionCaption?: string): MatSnackBarRef<ToastComponent>;
|
|
374
|
-
/**
|
|
375
|
-
* Opens a confirmation dialog.
|
|
376
|
-
* @param message - HTML message to display.
|
|
377
|
-
* @param title - Dialog title. Defaults to `'Conferma'`.
|
|
378
|
-
* @param okCaption - Primary action button label. Defaults to `'Si'`.
|
|
379
|
-
* @param cancelCaption - Cancel button label. Defaults to `'No'`.
|
|
380
|
-
* @param otherCaption - Optional tertiary action button label.
|
|
381
|
-
* @param options - Optional list of checkbox options shown to the user.
|
|
382
|
-
* @param width - Maximum dialog width in pixels. Defaults to `500`.
|
|
383
|
-
* @param details - Optional secondary details text.
|
|
384
|
-
* @returns The dialog reference, or `null` outside the browser.
|
|
385
|
-
*/
|
|
386
|
-
confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string, options?: ConfirmDialogOption[], width?: number, details?: string): MatDialogRef<ConfirmDialogComponent> | null;
|
|
151
|
+
declare class ItemNode implements INode {
|
|
152
|
+
id: string;
|
|
153
|
+
name: string;
|
|
154
|
+
count?: number;
|
|
155
|
+
parent?: INode;
|
|
156
|
+
children?: INode[];
|
|
157
|
+
bag?: any;
|
|
158
|
+
}
|
|
159
|
+
declare class SelectableNode extends ItemNode implements Searchable {
|
|
160
|
+
expandable: boolean;
|
|
161
|
+
level: number;
|
|
162
|
+
/** Searchable index bag. */
|
|
163
|
+
searchBag: SearchBag;
|
|
387
164
|
/**
|
|
388
|
-
*
|
|
389
|
-
* @param
|
|
390
|
-
* @param
|
|
391
|
-
* @param confirmMode - Confirmation mode (none / checkbox / type-to-confirm). Defaults to `None`.
|
|
392
|
-
* @param okCaption - Primary action button label. Defaults to `'Si'`.
|
|
393
|
-
* @param cancelCaption - Cancel button label. Defaults to `'No'`.
|
|
394
|
-
* @param width - Maximum dialog width in pixels. Defaults to `500`.
|
|
395
|
-
* @param details - Optional secondary details text.
|
|
396
|
-
* @returns The dialog reference, or `null` outside the browser.
|
|
165
|
+
* Create a flattened tree node from a source ItemNode.
|
|
166
|
+
* @param item - The source tree node.
|
|
167
|
+
* @param level - The depth level of this node in the tree.
|
|
397
168
|
*/
|
|
398
|
-
|
|
399
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogService, never>;
|
|
400
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DialogService>;
|
|
169
|
+
constructor(item: ItemNode, level: number);
|
|
401
170
|
}
|
|
402
|
-
|
|
403
171
|
/**
|
|
404
|
-
*
|
|
405
|
-
*
|
|
172
|
+
* Minimal contract exposed by the send-to dialog to its host.
|
|
173
|
+
* Declared here (and not on the component) so that `ui` never depends on
|
|
174
|
+
* `ui.dialogs.select`, which would create a circular entry point dependency.
|
|
406
175
|
*/
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
176
|
+
interface ISendToDialog {
|
|
177
|
+
/**
|
|
178
|
+
* Replaces the recipient list shown in the dialog.
|
|
179
|
+
* @param recipients - The semicolon separated recipient list.
|
|
180
|
+
*/
|
|
181
|
+
updateRecipients(recipients: string): void;
|
|
182
|
+
}
|
|
183
|
+
interface SendToPopulateData {
|
|
184
|
+
item: SendToDialogResult;
|
|
185
|
+
source: ISendToDialog;
|
|
186
|
+
}
|
|
187
|
+
interface SendToDialogResult {
|
|
188
|
+
recipients?: string;
|
|
189
|
+
subject?: string;
|
|
190
|
+
text?: string;
|
|
191
|
+
options?: any;
|
|
192
|
+
}
|
|
193
|
+
interface PromptDialogResult {
|
|
194
|
+
value?: string;
|
|
195
|
+
type?: PromptDialogType;
|
|
196
|
+
options?: any;
|
|
197
|
+
}
|
|
198
|
+
interface PromptDateDialogResult {
|
|
199
|
+
value?: Date | DateInterval;
|
|
200
|
+
type?: PromptDialogType;
|
|
201
|
+
options?: any;
|
|
202
|
+
}
|
|
203
|
+
interface PromptOtpDialogResult {
|
|
204
|
+
value?: string;
|
|
205
|
+
}
|
|
206
|
+
declare enum PromptDialogType {
|
|
207
|
+
Default = 0,
|
|
208
|
+
Date = 1,
|
|
209
|
+
Number = 2,
|
|
210
|
+
Text = 3,
|
|
211
|
+
DateInterval = 4,
|
|
212
|
+
List = 5,
|
|
213
|
+
Time = 6
|
|
214
|
+
}
|
|
215
|
+
interface PromptDialogData {
|
|
216
|
+
title: string;
|
|
217
|
+
type: PromptDialogType;
|
|
218
|
+
description?: string;
|
|
435
219
|
okCaption?: string;
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
readonly done: _angular_core.OutputEmitterRef<CredentialsDialogResult>;
|
|
442
|
-
/** Emitted when the user requests a password-recovery flow. */
|
|
443
|
-
readonly recoveringPassword: _angular_core.OutputEmitterRef<CredentialsDialogResult>;
|
|
444
|
-
/** Dialog configuration with defaults applied at construction time. */
|
|
445
|
-
protected readonly dialogData: _angular_core.WritableSignal<CredentialsDialogData>;
|
|
446
|
-
/** Current form model, pre-filled with the user name from dialog data when provided. */
|
|
447
|
-
protected item: CredentialsDialogResult;
|
|
448
|
-
/** Whether the password field is currently shown as plain text. */
|
|
449
|
-
protected readonly showPassword: _angular_core.WritableSignal<boolean>;
|
|
450
|
-
/**
|
|
451
|
-
* Switches the input mode of the dialog at runtime (e.g. from login to OTP).
|
|
452
|
-
* Intended to be called from outside via the dialog component reference.
|
|
453
|
-
* @param mode - The new input mode (`'email'`, `'user'`, or `'otp'`).
|
|
454
|
-
* @param message - Optional new message to display above the form.
|
|
455
|
-
*/
|
|
456
|
-
changeMode(mode: 'email' | 'user' | 'otp', message?: string): void;
|
|
457
|
-
/**
|
|
458
|
-
* Emits the current form result and closes the dialog.
|
|
459
|
-
*/
|
|
460
|
-
protected ok(): void;
|
|
461
|
-
/**
|
|
462
|
-
* Emits the current form result for the password-recovery flow and optionally
|
|
463
|
-
* opens the recovery URL in a new tab.
|
|
464
|
-
*/
|
|
465
|
-
protected recoverPassword(): void;
|
|
466
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CredentialsDialogComponent, never>;
|
|
467
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CredentialsDialogComponent, "ng-component", never, {}, { "done": "done"; "recoveringPassword": "recoveringPassword"; }, never, never, true, never>;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
interface RecoverPasswordDialogData {
|
|
471
|
-
appearance?: MatFormFieldAppearance;
|
|
472
|
-
}
|
|
473
|
-
declare class RecoverPasswordDialogComponent {
|
|
474
|
-
/** Emitted when the user submits the recovery request. Carries the entered email and recaptcha state. */
|
|
475
|
-
readonly done: _angular_core.OutputEmitterRef<RecoverPasswordDialogResult>;
|
|
476
|
-
/** Dialog configuration with defaults applied at construction time. */
|
|
477
|
-
protected readonly dialogData: _angular_core.WritableSignal<RecoverPasswordDialogData>;
|
|
478
|
-
/** Current form model bound to the template inputs. */
|
|
479
|
-
protected item: RecoverPasswordDialogResult;
|
|
480
|
-
/**
|
|
481
|
-
* Emits the current form result to trigger the password-recovery flow.
|
|
482
|
-
*/
|
|
483
|
-
protected ok(): void;
|
|
484
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RecoverPasswordDialogComponent, never>;
|
|
485
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RecoverPasswordDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
type ResetPasswordDialogMode = 'admin' | 'old' | 'otp' | 'forgot';
|
|
489
|
-
interface ResetPasswordDialogData {
|
|
490
|
-
mode: ResetPasswordDialogMode;
|
|
491
|
-
userId?: number;
|
|
492
|
-
userEmail?: string;
|
|
220
|
+
cancelCaption?: string;
|
|
221
|
+
initialValue?: any;
|
|
222
|
+
minValue?: number;
|
|
223
|
+
maxValue?: number;
|
|
224
|
+
required?: boolean;
|
|
493
225
|
appearance?: MatFormFieldAppearance;
|
|
226
|
+
options?: any;
|
|
494
227
|
}
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
readonly done: _angular_core.OutputEmitterRef<ResetPasswordDialogResult>;
|
|
498
|
-
private readonly dialogService;
|
|
499
|
-
private readonly dialogRef;
|
|
500
|
-
/** Dialog configuration with defaults applied at construction time. */
|
|
501
|
-
protected readonly dialogData: _angular_core.WritableSignal<ResetPasswordDialogData>;
|
|
502
|
-
/** Current form model bound to the template inputs. */
|
|
503
|
-
protected item: ResetPasswordDialogResult;
|
|
504
|
-
/** Whether the old-password field is currently shown as plain text. */
|
|
505
|
-
protected readonly showOldPassword: _angular_core.WritableSignal<boolean>;
|
|
506
|
-
/** Whether the new-password field is currently shown as plain text. */
|
|
507
|
-
protected readonly showPassword: _angular_core.WritableSignal<boolean>;
|
|
508
|
-
/** Whether the confirm-password field is currently shown as plain text. */
|
|
509
|
-
protected readonly showPassword2: _angular_core.WritableSignal<boolean>;
|
|
510
|
-
constructor();
|
|
511
|
-
/**
|
|
512
|
-
* Emits the current form result to trigger the password-reset flow.
|
|
513
|
-
*/
|
|
514
|
-
protected ok(): void;
|
|
515
|
-
/**
|
|
516
|
-
* Generates a random password and populates both password fields with it.
|
|
517
|
-
*/
|
|
518
|
-
protected generatePassword(): void;
|
|
519
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResetPasswordDialogComponent, never>;
|
|
520
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ResetPasswordDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
|
|
228
|
+
interface PromptTimeDialogData extends PromptDialogData {
|
|
229
|
+
slots?: string;
|
|
521
230
|
}
|
|
522
231
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
/** Whether the control is currently disabled. */
|
|
531
|
-
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
532
|
-
private onChange;
|
|
533
|
-
private onTouched;
|
|
534
|
-
/**
|
|
535
|
-
* Writes a new value into the control from the model.
|
|
536
|
-
* @param value - A string of up to 6 digits to pre-fill the OTP fields.
|
|
537
|
-
*/
|
|
538
|
-
writeValue(value: string): void;
|
|
539
|
-
/**
|
|
540
|
-
* Registers the callback invoked when the control value changes.
|
|
541
|
-
* @param fn - The callback function.
|
|
542
|
-
*/
|
|
543
|
-
registerOnChange(fn: (val: string) => void): void;
|
|
544
|
-
/**
|
|
545
|
-
* Registers the callback invoked when the control is touched.
|
|
546
|
-
* @param fn - The callback function.
|
|
547
|
-
*/
|
|
548
|
-
registerOnTouched(fn: () => void): void;
|
|
549
|
-
/**
|
|
550
|
-
* Enables or disables the control.
|
|
551
|
-
* @param isDisabled - `true` to disable all OTP inputs.
|
|
552
|
-
*/
|
|
553
|
-
setDisabledState(isDisabled: boolean): void;
|
|
554
|
-
/**
|
|
555
|
-
* Validates the OTP value: an empty code is left to `required`, while a
|
|
556
|
-
* PARTIAL code (e.g. "12") is reported as invalid. Without this, the joined
|
|
557
|
-
* value "12" was a non-empty string and `required` let the form submit
|
|
558
|
-
* with an incomplete OTP.
|
|
559
|
-
* @param control - The form control bound to this component.
|
|
560
|
-
* @returns `null` when empty or complete (6 digits), `{ otp: true }` otherwise.
|
|
561
|
-
*/
|
|
562
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
563
|
-
/**
|
|
564
|
-
* Marks the control as touched when an OTP field loses focus.
|
|
565
|
-
*/
|
|
566
|
-
onBlur(): void;
|
|
567
|
-
/**
|
|
568
|
-
* Blocks non-digit characters before they are inserted.
|
|
569
|
-
* @param event - The `beforeinput` event from the input element.
|
|
570
|
-
*/
|
|
571
|
-
onBeforeInput(event: InputEvent): void;
|
|
572
|
-
/**
|
|
573
|
-
* Handles digit input, sanitizes it, syncs the DOM, updates the OTP array, and advances focus.
|
|
574
|
-
* @param event - The `input` event from the digit field.
|
|
575
|
-
* @param index - Zero-based index of the field that received input.
|
|
576
|
-
*/
|
|
577
|
-
onInput(event: Event, index: number): void;
|
|
578
|
-
/**
|
|
579
|
-
* Handles the Backspace key by moving focus to the previous field when the current one is empty.
|
|
580
|
-
* @param event - The `keydown` event.
|
|
581
|
-
* @param index - Zero-based index of the field that received the keydown.
|
|
582
|
-
*/
|
|
583
|
-
onKeyDown(event: KeyboardEvent, index: number): void;
|
|
584
|
-
/**
|
|
585
|
-
* Handles paste events by extracting up to 6 digits and distributing them across the OTP fields.
|
|
586
|
-
* @param event - The `ClipboardEvent` from the paste action.
|
|
587
|
-
*/
|
|
588
|
-
onPaste(event: ClipboardEvent): void;
|
|
589
|
-
/**
|
|
590
|
-
* Clears every digit field, propagates the empty value to the form model and
|
|
591
|
-
* moves focus back to the first field. Does not mark the control as touched,
|
|
592
|
-
* so no validation error is shown right after the reset.
|
|
593
|
-
*/
|
|
594
|
-
clear(): void;
|
|
595
|
-
/**
|
|
596
|
-
* Moves focus to the OTP field at the given index.
|
|
597
|
-
* @param index - Zero-based index of the target field.
|
|
598
|
-
*/
|
|
599
|
-
private focusField;
|
|
232
|
+
/** Italian localisation for the Material paginator labels. */
|
|
233
|
+
declare class PaginatorIntl extends MatPaginatorIntl {
|
|
234
|
+
itemsPerPageLabel: string;
|
|
235
|
+
nextPageLabel: string;
|
|
236
|
+
previousPageLabel: string;
|
|
237
|
+
lastPageLabel: string;
|
|
238
|
+
firstPageLabel: string;
|
|
600
239
|
/**
|
|
601
|
-
*
|
|
240
|
+
* Returns the human-readable range label shown inside the paginator.
|
|
241
|
+
* @param page - Zero-based index of the current page.
|
|
242
|
+
* @param pageSize - Number of items displayed per page.
|
|
243
|
+
* @param length - Total number of items, or `-1` when the total is still being calculated.
|
|
244
|
+
* @returns A formatted string such as `"1 - 25 di 100"`.
|
|
602
245
|
*/
|
|
603
|
-
|
|
604
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
605
|
-
static
|
|
246
|
+
getRangeLabel: (page: number, pageSize: number, length: number) => string;
|
|
247
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginatorIntl, never>;
|
|
248
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PaginatorIntl>;
|
|
606
249
|
}
|
|
607
250
|
|
|
608
|
-
|
|
609
|
-
* Displays a password-strength indicator for the provided password string.
|
|
610
|
-
* Uses `SystemUtils.calculatePasswordStrength` to derive the score and label.
|
|
611
|
-
*/
|
|
612
|
-
declare class PasswordStrengthComponent {
|
|
613
|
-
/** The password to evaluate. An empty string renders the default (score 0) state. */
|
|
614
|
-
readonly password: _angular_core.InputSignal<string>;
|
|
251
|
+
declare class UIService {
|
|
615
252
|
/**
|
|
616
|
-
*
|
|
617
|
-
*
|
|
253
|
+
* The default Material form-field appearance used across dialogs and forms.
|
|
254
|
+
* Defaults to `'fill'`.
|
|
618
255
|
*/
|
|
619
|
-
|
|
256
|
+
readonly appearance: _angular_core.WritableSignal<"fill" | "outline">;
|
|
620
257
|
/**
|
|
621
|
-
*
|
|
622
|
-
*
|
|
258
|
+
* Updates the global form-field appearance.
|
|
259
|
+
* @param value - The new appearance value. Falls back to `'fill'` when `undefined` is passed.
|
|
623
260
|
*/
|
|
624
|
-
|
|
625
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
626
|
-
static
|
|
261
|
+
setAppearance(value: 'fill' | 'outline' | undefined): void;
|
|
262
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UIService, never>;
|
|
263
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<UIService>;
|
|
627
264
|
}
|
|
628
265
|
|
|
629
266
|
declare class IfBpDirective {
|
|
@@ -1292,5 +929,5 @@ declare class FlexLayoutModule {
|
|
|
1292
929
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FlexLayoutModule>;
|
|
1293
930
|
}
|
|
1294
931
|
|
|
1295
|
-
export { ALIAS_FAMILIES, BS5_BREAKPOINTS,
|
|
1296
|
-
export type { BpValues, BreakpointAlias, CanonicalKey,
|
|
932
|
+
export { ALIAS_FAMILIES, BS5_BREAKPOINTS, CANONICAL_ALIASES, FlexLayoutModule, FxClassDirective, FxFlexAlignDirective, FxFlexDirective, FxFlexFillDirective, FxFlexOffsetDirective, FxFlexOrderDirective, FxGridAreaDirective, FxGridColumnDirective, FxGridDirective, FxLayoutAlignDirective, FxLayoutDirective, FxLayoutGapDirective, FxLayoutWrapDirective, FxShowHideDirective, FxStyleDirective, IfBpDirective, ItemNode, LAYOUT_BREAKPOINTS, LAYOUT_VALUES, MediaObserver, NON_CANONICAL_PRIORITY, PaginatorIntl, PromptDialogType, ResponsiveBaseDirective, SelectableItem, SelectableNode, UIService, applyVisibility, buildAlignStyles, buildFlexStyles, buildLayoutCSS, resolve, resolveAll, resolveFlexInput, resolveNonCanonical, resolveParentFlow, validateBasis, validateLayoutValue, validateWrapValue };
|
|
933
|
+
export type { BpValues, BreakpointAlias, CanonicalKey, CredentialsDialogResult, DialogOption, DialogResult, ISelectableItem, ISendToDialog, NcValues, NonCanonicalKey, PromptDateDialogResult, PromptDialogData, PromptDialogResult, PromptOtpDialogResult, PromptTimeDialogData, RecoverPasswordDialogResult, ResetPasswordDialogResult, SelectDialogAppend, SelectDialogData, SelectDialogDelete, SelectDialogEdit, SelectDialogFilter, SelectDialogLookup, SelectDialogResult, SelectFile, SelectFileDialogData, SelectFileOption, SelectPictureFileDialogData, SelectTreeDialogData, SelectTreeDialogResult, SelectableFilter, SendToDialogResult, SendToPopulateData };
|