@fabio.buscaroli/scm-utils 22.0.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 +10 -0
- package/fesm2022/abv-scm-utils-core.mjs +3293 -0
- package/fesm2022/abv-scm-utils-core.mjs.map +1 -0
- package/fesm2022/abv-scm-utils-tinymce.mjs +230 -0
- package/fesm2022/abv-scm-utils-tinymce.mjs.map +1 -0
- package/fesm2022/abv-scm-utils-ui.application.mjs +3396 -0
- package/fesm2022/abv-scm-utils-ui.application.mjs.map +1 -0
- package/fesm2022/abv-scm-utils-ui.mjs +3060 -0
- package/fesm2022/abv-scm-utils-ui.mjs.map +1 -0
- package/fesm2022/abv-scm-utils-ui.oauth.mjs +278 -0
- package/fesm2022/abv-scm-utils-ui.oauth.mjs.map +1 -0
- package/fesm2022/abv-scm-utils.mjs +13 -0
- package/fesm2022/abv-scm-utils.mjs.map +1 -0
- package/fesm2022/fabio.buscaroli-scm-utils-core.mjs +3293 -0
- package/fesm2022/fabio.buscaroli-scm-utils-core.mjs.map +1 -0
- package/fesm2022/fabio.buscaroli-scm-utils-tinymce.mjs +230 -0
- package/fesm2022/fabio.buscaroli-scm-utils-tinymce.mjs.map +1 -0
- package/fesm2022/fabio.buscaroli-scm-utils-ui.application.mjs +3396 -0
- package/fesm2022/fabio.buscaroli-scm-utils-ui.application.mjs.map +1 -0
- package/fesm2022/fabio.buscaroli-scm-utils-ui.mjs +3060 -0
- package/fesm2022/fabio.buscaroli-scm-utils-ui.mjs.map +1 -0
- package/fesm2022/fabio.buscaroli-scm-utils-ui.oauth.mjs +278 -0
- package/fesm2022/fabio.buscaroli-scm-utils-ui.oauth.mjs.map +1 -0
- package/fesm2022/fabio.buscaroli-scm-utils.mjs +13 -0
- package/fesm2022/fabio.buscaroli-scm-utils.mjs.map +1 -0
- package/package.json +58 -0
- package/styles/ui.colors.scss +77 -0
- package/styles/ui.scss +350 -0
- package/tinymce/README.md +12 -0
- package/tinymce/langs/it.js +466 -0
- package/types/abv-scm-utils-core.d.ts +1536 -0
- package/types/abv-scm-utils-tinymce.d.ts +59 -0
- package/types/abv-scm-utils-ui.application.d.ts +1504 -0
- package/types/abv-scm-utils-ui.d.ts +1393 -0
- package/types/abv-scm-utils-ui.oauth.d.ts +68 -0
- package/types/abv-scm-utils.d.ts +4 -0
- package/types/fabio.buscaroli-scm-utils-core.d.ts +1536 -0
- package/types/fabio.buscaroli-scm-utils-tinymce.d.ts +59 -0
- package/types/fabio.buscaroli-scm-utils-ui.application.d.ts +1504 -0
- package/types/fabio.buscaroli-scm-utils-ui.d.ts +1393 -0
- package/types/fabio.buscaroli-scm-utils-ui.oauth.d.ts +68 -0
- package/types/fabio.buscaroli-scm-utils.d.ts +4 -0
|
@@ -0,0 +1,1536 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EnvironmentProviders, PipeTransform, EventEmitter, OnDestroy, Signal } from '@angular/core';
|
|
3
|
+
import { DateAdapter, MatDateFormats } from '@angular/material/core';
|
|
4
|
+
import { Locale } from 'date-fns';
|
|
5
|
+
import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
6
|
+
import { SafeHtml, SafeResourceUrl } from '@angular/platform-browser';
|
|
7
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standalone providers for the scm-utils "core" layer.
|
|
12
|
+
*
|
|
13
|
+
* Registers the core pipes as injectable services so they can be used
|
|
14
|
+
* via `inject()` in services, guards, and resolvers — not only in templates.
|
|
15
|
+
* Components that use these pipes only in templates should import them
|
|
16
|
+
* directly via `imports: [FormatPipe, SafeHtmlPipe, ...]` instead.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* bootstrapApplication(AppComponent, {
|
|
20
|
+
* providers: [provideSCMCore()]
|
|
21
|
+
* });
|
|
22
|
+
*/
|
|
23
|
+
declare function provideSCMCore(): EnvironmentProviders;
|
|
24
|
+
|
|
25
|
+
declare const MAT_DATE_FNS_FORMATS: MatDateFormats;
|
|
26
|
+
/**
|
|
27
|
+
* date-fns adapter that integrates Angular Material's date picker with the date-fns library,
|
|
28
|
+
* applying `Europe/Rome` timezone for all parsed and created dates.
|
|
29
|
+
*/
|
|
30
|
+
declare class DateFnsAdapter extends DateAdapter<Date, Locale> {
|
|
31
|
+
constructor(...args: unknown[]);
|
|
32
|
+
/**
|
|
33
|
+
* Returns the year component of the given date.
|
|
34
|
+
* @param date - The source date.
|
|
35
|
+
*/
|
|
36
|
+
getYear(date: Date): number;
|
|
37
|
+
/**
|
|
38
|
+
* Returns the zero-based month index of the given date (0 = January).
|
|
39
|
+
* @param date - The source date.
|
|
40
|
+
*/
|
|
41
|
+
getMonth(date: Date): number;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the day-of-month of the given date (1-based).
|
|
44
|
+
* @param date - The source date.
|
|
45
|
+
*/
|
|
46
|
+
getDate(date: Date): number;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the day-of-week of the given date (0 = Sunday).
|
|
49
|
+
* @param date - The source date.
|
|
50
|
+
*/
|
|
51
|
+
getDayOfWeek(date: Date): number;
|
|
52
|
+
/**
|
|
53
|
+
* Returns an array of 12 month name strings formatted for the active locale.
|
|
54
|
+
* @param style - One of `'long'`, `'short'`, or `'narrow'`.
|
|
55
|
+
*/
|
|
56
|
+
getMonthNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
57
|
+
/**
|
|
58
|
+
* Returns an array of 31 day-of-month label strings formatted using `Intl.DateTimeFormat`
|
|
59
|
+
* when available, falling back to plain numeric strings.
|
|
60
|
+
*/
|
|
61
|
+
getDateNames(): string[];
|
|
62
|
+
/**
|
|
63
|
+
* Returns an array of 7 day-of-week name strings formatted for the active locale.
|
|
64
|
+
* @param style - One of `'long'`, `'short'`, or `'narrow'`.
|
|
65
|
+
*/
|
|
66
|
+
getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
67
|
+
/**
|
|
68
|
+
* Returns the four-digit year string for the given date.
|
|
69
|
+
* @param date - The source date.
|
|
70
|
+
*/
|
|
71
|
+
getYearName(date: Date): string;
|
|
72
|
+
/**
|
|
73
|
+
* Returns the first day of the week for the active locale (0 = Sunday, 1 = Monday, …).
|
|
74
|
+
*/
|
|
75
|
+
getFirstDayOfWeek(): number;
|
|
76
|
+
/**
|
|
77
|
+
* Returns the number of days in the month of the given date.
|
|
78
|
+
* @param date - The source date.
|
|
79
|
+
*/
|
|
80
|
+
getNumDaysInMonth(date: Date): number;
|
|
81
|
+
/**
|
|
82
|
+
* Creates an independent copy of the given date.
|
|
83
|
+
* @param date - The date to clone.
|
|
84
|
+
*/
|
|
85
|
+
clone(date: Date): Date;
|
|
86
|
+
/**
|
|
87
|
+
* Creates a `Date` in the `Europe/Rome` timezone for the given year, month, and day.
|
|
88
|
+
* Throws an `Error` when any component is out of range.
|
|
89
|
+
* @param year - Full four-digit year.
|
|
90
|
+
* @param month - Zero-based month index (0 = January, 11 = December).
|
|
91
|
+
* @param date - Day-of-month (1-based).
|
|
92
|
+
*/
|
|
93
|
+
createDate(year: number, month: number, date: number): Date;
|
|
94
|
+
/**
|
|
95
|
+
* Returns today's date in the local timezone.
|
|
96
|
+
*/
|
|
97
|
+
today(): Date;
|
|
98
|
+
/**
|
|
99
|
+
* Parses a value into a `Date`.
|
|
100
|
+
* - Strings are first attempted as ISO 8601, then matched against each format in `parseFormat`.
|
|
101
|
+
* - Numbers are treated as Unix timestamps (milliseconds).
|
|
102
|
+
* - Existing `Date` instances are cloned.
|
|
103
|
+
* @param value - The value to parse.
|
|
104
|
+
* @param parseFormat - A format string or an array of format strings (date-fns tokens).
|
|
105
|
+
* @returns A valid `Date` in `Europe/Rome`, an invalid sentinel, or `null` for unrecognised input.
|
|
106
|
+
*/
|
|
107
|
+
parse(value: unknown, parseFormat: string | string[]): Date | null;
|
|
108
|
+
/**
|
|
109
|
+
* Formats a `Date` using the given date-fns display format string.
|
|
110
|
+
* Throws an `Error` when `date` is not valid.
|
|
111
|
+
* @param date - The date to format.
|
|
112
|
+
* @param displayFormat - A date-fns format string (e.g. `'P'`, `'LLL uuuu'`).
|
|
113
|
+
*/
|
|
114
|
+
format(date: Date, displayFormat: string): string;
|
|
115
|
+
/**
|
|
116
|
+
* Adds the given number of whole years to a date.
|
|
117
|
+
* @param date - The base date.
|
|
118
|
+
* @param years - Number of years to add (can be negative).
|
|
119
|
+
*/
|
|
120
|
+
addCalendarYears(date: Date, years: number): Date;
|
|
121
|
+
/**
|
|
122
|
+
* Adds the given number of whole months to a date.
|
|
123
|
+
* @param date - The base date.
|
|
124
|
+
* @param months - Number of months to add (can be negative).
|
|
125
|
+
*/
|
|
126
|
+
addCalendarMonths(date: Date, months: number): Date;
|
|
127
|
+
/**
|
|
128
|
+
* Adds the given number of whole days to a date.
|
|
129
|
+
* @param date - The base date.
|
|
130
|
+
* @param days - Number of days to add (can be negative).
|
|
131
|
+
*/
|
|
132
|
+
addCalendarDays(date: Date, days: number): Date;
|
|
133
|
+
/**
|
|
134
|
+
* Serialises a date to an ISO 8601 date string (`yyyy-MM-dd`).
|
|
135
|
+
* @param date - The date to serialise.
|
|
136
|
+
*/
|
|
137
|
+
toIso8601(date: Date): string;
|
|
138
|
+
/**
|
|
139
|
+
* Returns the given value when it is a valid `Date`, or `null` for an empty string.
|
|
140
|
+
* Deserialises valid ISO 8601 strings into `Date` instances.
|
|
141
|
+
* Delegates all other values to the base-class implementation.
|
|
142
|
+
* @param value - The raw value to deserialise.
|
|
143
|
+
*/
|
|
144
|
+
deserialize(value: unknown): Date | null;
|
|
145
|
+
/**
|
|
146
|
+
* Returns `true` when `obj` is an instance of `Date`.
|
|
147
|
+
* @param obj - The object to test.
|
|
148
|
+
*/
|
|
149
|
+
isDateInstance(obj: unknown): boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Returns `true` when `date` represents a valid point in time.
|
|
152
|
+
* @param date - The date to validate.
|
|
153
|
+
*/
|
|
154
|
+
isValid(date: Date): boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Returns a sentinel `Date` that represents an invalid date (`new Date(NaN)`).
|
|
157
|
+
*/
|
|
158
|
+
invalid(): Date;
|
|
159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFnsAdapter, never>;
|
|
160
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateFnsAdapter>;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Standalone providers for the scm-utils date-fns adapter.
|
|
164
|
+
*
|
|
165
|
+
* Configures Angular Material to use {@link DateFnsAdapter} (Europe/Rome timezone)
|
|
166
|
+
* and the matching {@link MAT_DATE_FNS_FORMATS}.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* bootstrapApplication(AppComponent, {
|
|
170
|
+
* providers: [provideSCMDateFns()]
|
|
171
|
+
* });
|
|
172
|
+
*/
|
|
173
|
+
declare function provideSCMDateFns(): EnvironmentProviders;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Directive that moves browser focus to the host element after the first render cycle.
|
|
177
|
+
* Apply `autoFocus` to any focusable element to set focus automatically on initialisation.
|
|
178
|
+
*/
|
|
179
|
+
declare class AutoFocusDirective {
|
|
180
|
+
private readonly elementRef;
|
|
181
|
+
constructor();
|
|
182
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusDirective, never>;
|
|
183
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoFocusDirective, "[autoFocus]", never, {}, {}, never, never, true, never>;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
interface INode {
|
|
187
|
+
id: string;
|
|
188
|
+
name: string;
|
|
189
|
+
count?: number;
|
|
190
|
+
children?: INode[];
|
|
191
|
+
subFolders?: INode[];
|
|
192
|
+
parent?: INode;
|
|
193
|
+
level?: number;
|
|
194
|
+
bag?: unknown;
|
|
195
|
+
}
|
|
196
|
+
declare enum DateFormat {
|
|
197
|
+
Short = 1,// dd/mm/yyyy
|
|
198
|
+
Long = 2,// d mmmm yyyy
|
|
199
|
+
LongWithShortMonth = 3,// d mmm yyyy
|
|
200
|
+
LongWithWeekDay = 4,// wwww, d mmmm yyyy
|
|
201
|
+
LongWithShortWeekDay = 5,// www, d mmmm yyyy
|
|
202
|
+
MonthAndYear = 6,// mmm yyyy
|
|
203
|
+
LongMonthAndYear = 7,// mmmm yyyy
|
|
204
|
+
WeekDay = 8,// www d
|
|
205
|
+
LongWeekDay = 9,// wwww d
|
|
206
|
+
DayAndMonth = 10,// d mmmm
|
|
207
|
+
ShortUS = 11,// mm/dd/yyyy
|
|
208
|
+
ShortISO8601 = 12
|
|
209
|
+
}
|
|
210
|
+
interface PasswordStrength {
|
|
211
|
+
score: number;
|
|
212
|
+
label?: string;
|
|
213
|
+
color?: string;
|
|
214
|
+
suggestions?: string[];
|
|
215
|
+
isValid: boolean;
|
|
216
|
+
}
|
|
217
|
+
declare class SystemUtils {
|
|
218
|
+
/** Shared collator for locale-aware, case-insensitive string comparison. */
|
|
219
|
+
private static readonly collator;
|
|
220
|
+
/**
|
|
221
|
+
* Array find by key
|
|
222
|
+
* @param array : the array to scan
|
|
223
|
+
* @param key : key name
|
|
224
|
+
* @param value : the value to search for
|
|
225
|
+
* @returns : the property value or null
|
|
226
|
+
*/
|
|
227
|
+
static arrayFindByKey<T>(array: T[] | undefined, key: string, value: unknown): T | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* Array find index by key
|
|
230
|
+
* @param array : the array to scan
|
|
231
|
+
* @param key : the key name
|
|
232
|
+
* @param value : the value to search for
|
|
233
|
+
* @returns : the array index or -1 if not found
|
|
234
|
+
*/
|
|
235
|
+
static arrayFindIndexByKey<T>(array: T[] | undefined, key: string, value: unknown): number;
|
|
236
|
+
/**
|
|
237
|
+
* Get a value from and array made of name|value items
|
|
238
|
+
* @param array : the array to scan
|
|
239
|
+
* @param value : the value to search for
|
|
240
|
+
* @returns : the property value or null if not found
|
|
241
|
+
*/
|
|
242
|
+
static arrayGetValue<T>(array: T[] | undefined, value: unknown): unknown;
|
|
243
|
+
/**
|
|
244
|
+
* Convert items to nodes into a tree structure
|
|
245
|
+
* @param items : list of nodes
|
|
246
|
+
* @param parent : parent node
|
|
247
|
+
* @returns : an array of INode objects
|
|
248
|
+
*/
|
|
249
|
+
static arrayToNodes(items: INode[], parent?: INode): INode[];
|
|
250
|
+
/**
|
|
251
|
+
* Comparator factory for sorting arrays of objects by a given property key.
|
|
252
|
+
* @param key - Name of the property to sort by.
|
|
253
|
+
* @param order - Sort direction: `'asc'` (default) or `'desc'`.
|
|
254
|
+
* @returns A comparator function that returns a negative, zero, or positive number.
|
|
255
|
+
*/
|
|
256
|
+
static arraySortCompare(key: string, order?: string): (a: Record<string, unknown>, b: Record<string, unknown>) => number;
|
|
257
|
+
/**
|
|
258
|
+
* Format weight
|
|
259
|
+
* @param gr : grams
|
|
260
|
+
* @returns : the formatted string
|
|
261
|
+
*/
|
|
262
|
+
static formatWeight(gr: number): string;
|
|
263
|
+
/**
|
|
264
|
+
* Format file size
|
|
265
|
+
* @param bytes : number of bytes
|
|
266
|
+
* @returns : the formatted string
|
|
267
|
+
*/
|
|
268
|
+
static formatFileSize(bytes: number): string;
|
|
269
|
+
/**
|
|
270
|
+
* Compare two strings (case-insensitive, locale-aware, accent-insensitive).
|
|
271
|
+
* @param a : string a
|
|
272
|
+
* @param b : string b
|
|
273
|
+
* @returns : 0 if equals, 1 if bigger, -1 if lower
|
|
274
|
+
*/
|
|
275
|
+
static compareString(a?: string, b?: string): number;
|
|
276
|
+
/**
|
|
277
|
+
* Capitalize a string
|
|
278
|
+
* @param s : the string to capitalize
|
|
279
|
+
* @returns : the capitalized string
|
|
280
|
+
*/
|
|
281
|
+
static capitalize(s?: string): string | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* Truncate a string at the last word boundary before `max`.
|
|
284
|
+
* @param s : the string to truncate
|
|
285
|
+
* @param max : the max number of chars
|
|
286
|
+
* @returns : the truncated string
|
|
287
|
+
*/
|
|
288
|
+
static truncate(s?: string, max?: number): string | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* Join a list of strings
|
|
291
|
+
* @param items : the list of strings
|
|
292
|
+
* @param sep : the separator string
|
|
293
|
+
* @param max : the maximum resulting string
|
|
294
|
+
* @returns : the joined string
|
|
295
|
+
*/
|
|
296
|
+
static join(items?: string[], sep?: string, max?: number): string | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* Normalize a string by converting it to lowercase and removing extra spaces, with special handling for acronyms and camelCase.
|
|
299
|
+
* @param s : the string to normalize
|
|
300
|
+
* @returns : The normalized string, or `undefined` if the input is falsy.
|
|
301
|
+
*/
|
|
302
|
+
static normalizeDisplay(s?: string): string | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* Wraps bare URLs in the given string with `<a>` anchor tags.
|
|
305
|
+
* @param s - The plain-text or HTML string to process.
|
|
306
|
+
* @returns The string with URLs replaced by clickable links, or `''` when `s` is falsy.
|
|
307
|
+
*/
|
|
308
|
+
static replaceAsHtml(s?: string): string;
|
|
309
|
+
/**
|
|
310
|
+
* Convert markdown to html
|
|
311
|
+
* @param markdown : the markdown data
|
|
312
|
+
* @param escapeHtml : true to escape HTML. Default is false
|
|
313
|
+
* @returns the html
|
|
314
|
+
*/
|
|
315
|
+
static markdownToHtml(markdown: string, escapeHtml?: boolean): string;
|
|
316
|
+
/**
|
|
317
|
+
* Compare two names
|
|
318
|
+
* @param a : name a
|
|
319
|
+
* @param b : name b
|
|
320
|
+
* @returns : true if a equals b
|
|
321
|
+
*/
|
|
322
|
+
static compareNames(a?: string, b?: string): boolean;
|
|
323
|
+
/**
|
|
324
|
+
* Cipher a text
|
|
325
|
+
* @param text : the text
|
|
326
|
+
* @param key : the key
|
|
327
|
+
* @param reverse : true to decode, false to encode
|
|
328
|
+
* @returns :the ciphered text
|
|
329
|
+
*/
|
|
330
|
+
static cipher(text: string, key: string, reverse?: boolean): string | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* Clone an object (deep copy).
|
|
333
|
+
* Uses native structuredClone: handles Date, Map, Set, typed arrays and circular references.
|
|
334
|
+
* @param obj : the object to clone
|
|
335
|
+
* @returns : a new object
|
|
336
|
+
*/
|
|
337
|
+
static clone<T>(obj: T): T;
|
|
338
|
+
/**
|
|
339
|
+
* Creates a deep clone of an object.
|
|
340
|
+
* @param obj - The source object to clone.
|
|
341
|
+
* @param dest - Optional pre-allocated destination object to merge the clone into.
|
|
342
|
+
* @returns A deep copy of `obj`.
|
|
343
|
+
*/
|
|
344
|
+
static deepClone<T extends object>(obj: T, dest?: T): T;
|
|
345
|
+
/**
|
|
346
|
+
* Returns `true` when `value` is a syntactically valid UUID string.
|
|
347
|
+
* @param value - The string to validate.
|
|
348
|
+
*/
|
|
349
|
+
static parseUUID(value?: string): boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Returns `true` when `value` is a valid, non-empty (non-zero) UUID.
|
|
352
|
+
* @param value - The string to validate.
|
|
353
|
+
*/
|
|
354
|
+
static parseUUIDNotEmpty(value?: string): boolean;
|
|
355
|
+
/**
|
|
356
|
+
* Return an empty UUID
|
|
357
|
+
* @returns : the empty UUID
|
|
358
|
+
*/
|
|
359
|
+
static emptyUUID(): string;
|
|
360
|
+
/**
|
|
361
|
+
* Create a new UUID
|
|
362
|
+
* @returns : the string UUID
|
|
363
|
+
*/
|
|
364
|
+
static generateUUID(): string;
|
|
365
|
+
/**
|
|
366
|
+
* Reconstruct a standard UUID (with dashes) from a 32-char hex string without dashes.
|
|
367
|
+
* @param value : 32-character hex string
|
|
368
|
+
* @returns : the formatted UUID or the original string if it doesn't match the expected format
|
|
369
|
+
*/
|
|
370
|
+
static inflateUUID(value: string): string;
|
|
371
|
+
/** Precompiled validation patterns. */
|
|
372
|
+
private static readonly emailRegex;
|
|
373
|
+
private static readonly urlRegex;
|
|
374
|
+
/**
|
|
375
|
+
* Parse a text and return true if it is a valid email (or empty)
|
|
376
|
+
* @param value : email
|
|
377
|
+
* @returns : true if the email is valid or empty
|
|
378
|
+
*/
|
|
379
|
+
static parseEmail(value?: string): boolean;
|
|
380
|
+
/**
|
|
381
|
+
* Parse a text containing one or more email addresses separated by `;` or `,`
|
|
382
|
+
* and return true if all of them are valid (or the text is empty).
|
|
383
|
+
* Empty items caused by double or trailing separators are ignored.
|
|
384
|
+
* @param value : the email list to parse (e.g. "a@b.it; c@d.it")
|
|
385
|
+
* @returns : true if all emails are valid or the value is empty
|
|
386
|
+
*/
|
|
387
|
+
static parseEmails(value?: string): boolean;
|
|
388
|
+
/**
|
|
389
|
+
* Parse a text and return true if it is a valid url (or empty)
|
|
390
|
+
* @param value : the url to parse
|
|
391
|
+
* @returns : true if the url is valid or empty
|
|
392
|
+
*/
|
|
393
|
+
static parseUrl(value?: string): boolean;
|
|
394
|
+
/**
|
|
395
|
+
* Get date parts from a string value
|
|
396
|
+
* @param value : the string to parse
|
|
397
|
+
* @returns : an array of numbers with year, month, day
|
|
398
|
+
*/
|
|
399
|
+
static getDateParts(value?: string): number[] | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* Parse a date
|
|
402
|
+
* @param value : the value to check
|
|
403
|
+
* @param locale : the locale to use
|
|
404
|
+
* @returns : a valid Date object or null
|
|
405
|
+
*/
|
|
406
|
+
static parseDate(value?: string | Date, locale?: Locale): Date | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* Format a date
|
|
409
|
+
* @param value : the date or string to format
|
|
410
|
+
* @param fmt : the DateFormat to use or the string pattern
|
|
411
|
+
* @param locale : the locale to use (default is IT)
|
|
412
|
+
* @returns : the formatted string
|
|
413
|
+
*/
|
|
414
|
+
static formatDate(value?: Date | string, fmt?: DateFormat | string, locale?: Locale): string;
|
|
415
|
+
/**
|
|
416
|
+
* Return an italian local date
|
|
417
|
+
* @param value : the date
|
|
418
|
+
* @returns : the new date
|
|
419
|
+
*/
|
|
420
|
+
static toLocalDate(value?: Date | string): Date | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* Update a DateInterval object according to a string
|
|
423
|
+
* @param value : string value
|
|
424
|
+
* @param interval : DateInterval value to update
|
|
425
|
+
* @param end : true if must be updated the first or the end value
|
|
426
|
+
* @param copy : copy the same value (works only if not end element)
|
|
427
|
+
*/
|
|
428
|
+
static changeDateInterval(value: string, interval: DateInterval, end?: boolean, copy?: boolean): void;
|
|
429
|
+
/**
|
|
430
|
+
* Formats a number using `Intl.NumberFormat`.
|
|
431
|
+
* @param value - The number to format.
|
|
432
|
+
* @param decimals - Maximum decimal places (default: `2`).
|
|
433
|
+
* @param locale - BCP 47 locale tag (default: `'it-IT'`).
|
|
434
|
+
* @returns The formatted number string.
|
|
435
|
+
*/
|
|
436
|
+
static formatNumber(value: number, decimals?: number, locale?: string): string;
|
|
437
|
+
/**
|
|
438
|
+
* Formats a number as a currency string using `Intl.NumberFormat`.
|
|
439
|
+
* @param value - The number to format.
|
|
440
|
+
* @param currency - ISO 4217 currency code (default: `'EUR'`).
|
|
441
|
+
* @param decimals - Maximum decimal places (default: `2`).
|
|
442
|
+
* @param locale - BCP 47 locale tag (default: `'it-IT'`).
|
|
443
|
+
* @returns The formatted currency string.
|
|
444
|
+
*/
|
|
445
|
+
static formatCurrency(value: number, currency?: string, decimals?: number, locale?: string): string;
|
|
446
|
+
/**
|
|
447
|
+
* Percent-encodes a string for safe inclusion in a URL.
|
|
448
|
+
* @param value - The string to encode.
|
|
449
|
+
* @returns The encoded string, or `undefined` when `value` is empty.
|
|
450
|
+
*/
|
|
451
|
+
static urlEncode(value: string): string | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* Decodes a percent-encoded URL string, treating `+` as a space.
|
|
454
|
+
* @param value - The encoded string to decode.
|
|
455
|
+
* @returns The decoded string, or `undefined` when `value` is empty or absent.
|
|
456
|
+
*/
|
|
457
|
+
static urlDecode(value?: string): string | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* Reads a query string parameter value from the current page URL.
|
|
460
|
+
* @param name - The parameter name to look up.
|
|
461
|
+
* @returns The decoded parameter value, or `undefined` when absent or running server-side.
|
|
462
|
+
*/
|
|
463
|
+
static getQueryStringValueByName(name: string): string | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* Generate a password
|
|
466
|
+
* @returns : the password string
|
|
467
|
+
*/
|
|
468
|
+
static generatePassword(): string;
|
|
469
|
+
/**
|
|
470
|
+
* Calculate password strength
|
|
471
|
+
* @param password: the password to evaluate
|
|
472
|
+
* @returns the password strength info
|
|
473
|
+
*/
|
|
474
|
+
static calculatePasswordStrength(password?: string): PasswordStrength;
|
|
475
|
+
/**
|
|
476
|
+
* Check if current browser supports touch
|
|
477
|
+
* @returns : true if the display is touchable
|
|
478
|
+
*/
|
|
479
|
+
static isTouchable(): boolean;
|
|
480
|
+
/**
|
|
481
|
+
* This check will prevent 'window' logic to be executed
|
|
482
|
+
* while executing the server rendering
|
|
483
|
+
* @returns : true if using the browser
|
|
484
|
+
*/
|
|
485
|
+
static isBrowser(): boolean;
|
|
486
|
+
/**
|
|
487
|
+
* Convert folders in a tree of Node object.
|
|
488
|
+
* @param folders : the subfolders group or null to root
|
|
489
|
+
* @returns : a node list
|
|
490
|
+
*/
|
|
491
|
+
static toNodes(folders: INode[]): INode[];
|
|
492
|
+
/**
|
|
493
|
+
* Convert folders in a tree of Node object.
|
|
494
|
+
* @param folders : the children group or null to root
|
|
495
|
+
* @param parent : the parent node
|
|
496
|
+
* @returns : a node list
|
|
497
|
+
*/
|
|
498
|
+
private static _toNodes;
|
|
499
|
+
/**
|
|
500
|
+
* Returns an array of individual power-of-2 flag values that are set in `value`.
|
|
501
|
+
* @param value - The bitmask to decompose.
|
|
502
|
+
* @param max - Upper-bound exponent: checks flags from `1` up to `1 << max` (default: `30`).
|
|
503
|
+
* @returns Array of set flag values, or an empty array when `value` is `0`.
|
|
504
|
+
*/
|
|
505
|
+
static getFlags(value: number, max?: number): number[];
|
|
506
|
+
/** Cache for resolved color luminance results. */
|
|
507
|
+
private static readonly colorLightCache;
|
|
508
|
+
/**
|
|
509
|
+
* Check if a color is light or dark
|
|
510
|
+
* @param color : the color
|
|
511
|
+
* @param minimumLuminance : the lumimance to consider
|
|
512
|
+
* @returns true if the color is light
|
|
513
|
+
*/
|
|
514
|
+
static isColorLight(color: string, minimumLuminance?: number): boolean;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
interface DoneResult<T> {
|
|
518
|
+
isNew?: boolean;
|
|
519
|
+
data?: T;
|
|
520
|
+
}
|
|
521
|
+
interface ApiResponse {
|
|
522
|
+
success: boolean;
|
|
523
|
+
message: string;
|
|
524
|
+
}
|
|
525
|
+
interface ApiResult<T> extends ApiResponse {
|
|
526
|
+
value: T;
|
|
527
|
+
}
|
|
528
|
+
interface Folder extends INode {
|
|
529
|
+
teamId?: string;
|
|
530
|
+
parentId?: string;
|
|
531
|
+
position?: number;
|
|
532
|
+
isPrivate?: boolean;
|
|
533
|
+
itemsCount?: number;
|
|
534
|
+
subItemsCount?: number;
|
|
535
|
+
}
|
|
536
|
+
interface FolderTree extends Folder {
|
|
537
|
+
children?: Folder[];
|
|
538
|
+
path?: string;
|
|
539
|
+
}
|
|
540
|
+
interface File<T> {
|
|
541
|
+
ownerId?: T;
|
|
542
|
+
id?: number;
|
|
543
|
+
fileName: string;
|
|
544
|
+
fileData: unknown;
|
|
545
|
+
}
|
|
546
|
+
interface Validated {
|
|
547
|
+
isValid(): boolean;
|
|
548
|
+
}
|
|
549
|
+
declare class FileInfo implements Validated {
|
|
550
|
+
file: any;
|
|
551
|
+
valid: boolean;
|
|
552
|
+
isValid(): boolean;
|
|
553
|
+
}
|
|
554
|
+
interface ErrorInfo {
|
|
555
|
+
invalidateSession?: boolean;
|
|
556
|
+
title?: string;
|
|
557
|
+
message?: string;
|
|
558
|
+
errorStatus?: number;
|
|
559
|
+
service?: string;
|
|
560
|
+
}
|
|
561
|
+
interface NameValueItem<T> {
|
|
562
|
+
name: string;
|
|
563
|
+
value: T;
|
|
564
|
+
shortName?: string;
|
|
565
|
+
parentName?: string;
|
|
566
|
+
parentValue?: T;
|
|
567
|
+
header?: string;
|
|
568
|
+
bag?: any;
|
|
569
|
+
bagInfo?: string;
|
|
570
|
+
disabled?: boolean;
|
|
571
|
+
selected?: boolean;
|
|
572
|
+
}
|
|
573
|
+
interface Checkable {
|
|
574
|
+
checked?: boolean;
|
|
575
|
+
bag: unknown;
|
|
576
|
+
getId(): unknown;
|
|
577
|
+
}
|
|
578
|
+
declare class ValueModel<T> {
|
|
579
|
+
value: T;
|
|
580
|
+
}
|
|
581
|
+
declare class IDModel<T = number> {
|
|
582
|
+
id: T;
|
|
583
|
+
}
|
|
584
|
+
declare class GroupModel<T = number> {
|
|
585
|
+
ids: T[];
|
|
586
|
+
}
|
|
587
|
+
declare class DeleteModel<T = number> extends GroupModel<T> {
|
|
588
|
+
mode?: number;
|
|
589
|
+
parentId?: T;
|
|
590
|
+
}
|
|
591
|
+
interface DeleteResultModel<T> {
|
|
592
|
+
items?: T[];
|
|
593
|
+
deleted: number;
|
|
594
|
+
total: number;
|
|
595
|
+
log?: string;
|
|
596
|
+
}
|
|
597
|
+
declare class RelationModel<T = number> {
|
|
598
|
+
id: T;
|
|
599
|
+
parentId: T;
|
|
600
|
+
}
|
|
601
|
+
declare class UpdateRelationsModel<T = number> {
|
|
602
|
+
id: T;
|
|
603
|
+
relatedIds: T[];
|
|
604
|
+
}
|
|
605
|
+
declare class QueryModel {
|
|
606
|
+
any?: string;
|
|
607
|
+
sortBy?: string;
|
|
608
|
+
sortDescending?: boolean;
|
|
609
|
+
first?: number;
|
|
610
|
+
count?: number;
|
|
611
|
+
}
|
|
612
|
+
interface QueryResultModel<T> {
|
|
613
|
+
interval?: string;
|
|
614
|
+
items: T[];
|
|
615
|
+
total: number;
|
|
616
|
+
}
|
|
617
|
+
interface UpdateModel<T = number> {
|
|
618
|
+
parentId?: T;
|
|
619
|
+
ids: T[];
|
|
620
|
+
}
|
|
621
|
+
interface UpdateResultModel<T> {
|
|
622
|
+
items?: T[];
|
|
623
|
+
updated: number;
|
|
624
|
+
total: number;
|
|
625
|
+
log?: string;
|
|
626
|
+
}
|
|
627
|
+
interface AddModel<T> extends UpdateModel<T> {
|
|
628
|
+
}
|
|
629
|
+
interface AddResultModel<T> {
|
|
630
|
+
items?: T[];
|
|
631
|
+
added: number;
|
|
632
|
+
total: number;
|
|
633
|
+
log?: string;
|
|
634
|
+
}
|
|
635
|
+
declare class ImportModel {
|
|
636
|
+
origin: string;
|
|
637
|
+
dataFile: FileInfo;
|
|
638
|
+
jumpFirstLine?: boolean;
|
|
639
|
+
map?: unknown;
|
|
640
|
+
}
|
|
641
|
+
interface EnableDisableModel {
|
|
642
|
+
value: boolean;
|
|
643
|
+
}
|
|
644
|
+
interface SendToModel {
|
|
645
|
+
sendToRecipients?: string;
|
|
646
|
+
sendToSubject?: string;
|
|
647
|
+
sendToText?: string;
|
|
648
|
+
}
|
|
649
|
+
interface SearchBag {
|
|
650
|
+
name: string;
|
|
651
|
+
}
|
|
652
|
+
interface Searchable {
|
|
653
|
+
searchBag: SearchBag;
|
|
654
|
+
}
|
|
655
|
+
interface SearchFilterMetadata {
|
|
656
|
+
total: number;
|
|
657
|
+
count: number;
|
|
658
|
+
}
|
|
659
|
+
declare class DateInterval {
|
|
660
|
+
from?: Date;
|
|
661
|
+
to?: Date;
|
|
662
|
+
get fromAsDate(): Date | undefined;
|
|
663
|
+
get toAsDate(): Date;
|
|
664
|
+
constructor(from?: Date, to?: Date);
|
|
665
|
+
clear(): void;
|
|
666
|
+
}
|
|
667
|
+
interface LoginResult<T> extends ApiResult<boolean> {
|
|
668
|
+
context: T;
|
|
669
|
+
oauth?: number;
|
|
670
|
+
requiresMfa?: boolean;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Directive that listens to `keyup` events on a date input and debounces changes
|
|
675
|
+
* into a {@link DateInterval} model, converting shorthand strings (e.g. "d/m") to dates.
|
|
676
|
+
* Apply `[dateIntervalChange]="interval"` to the host `<input>` element.
|
|
677
|
+
*/
|
|
678
|
+
declare class DateIntervalChangeDirective {
|
|
679
|
+
/** The date interval model to update when the input value changes. */
|
|
680
|
+
readonly dateIntervalChange: i0.InputSignal<DateInterval>;
|
|
681
|
+
/** When `true`, the directive updates the interval's end date; otherwise the start date. */
|
|
682
|
+
readonly end: i0.InputSignal<boolean>;
|
|
683
|
+
private readonly subject;
|
|
684
|
+
private readonly destroyRef;
|
|
685
|
+
constructor();
|
|
686
|
+
/**
|
|
687
|
+
* Handles `keyup` events on the host element.
|
|
688
|
+
* Prevents default browser behaviour for the space key and forwards the event to the debounce pipeline.
|
|
689
|
+
* @param e - The keyboard event emitted by the host input.
|
|
690
|
+
*/
|
|
691
|
+
onKeyup(e: KeyboardEvent): void;
|
|
692
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateIntervalChangeDirective, never>;
|
|
693
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateIntervalChangeDirective, "[dateIntervalChange]", never, { "dateIntervalChange": { "alias": "dateIntervalChange"; "required": false; "isSignal": true; }; "end": { "alias": "end"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Directive that copies a string payload to the clipboard when the host element is clicked.
|
|
698
|
+
* Bind `[copyClipboard]="text"` to provide the content to copy and listen to `(copied)` for confirmation.
|
|
699
|
+
*/
|
|
700
|
+
declare class CopyClipboardDirective {
|
|
701
|
+
/** The text to copy to the clipboard. Bound via the `copyClipboard` attribute. */
|
|
702
|
+
readonly payload: i0.InputSignal<string>;
|
|
703
|
+
/** Emits the copied text after a successful copy operation. */
|
|
704
|
+
readonly copied: i0.OutputEmitterRef<string>;
|
|
705
|
+
/**
|
|
706
|
+
* Handles click events on the host element and copies the payload to the clipboard.
|
|
707
|
+
* Emits `copied` with the copied text on success.
|
|
708
|
+
* @param e - The mouse click event.
|
|
709
|
+
*/
|
|
710
|
+
onClick(e: MouseEvent): void;
|
|
711
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CopyClipboardDirective, never>;
|
|
712
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyClipboardDirective, "[copyClipboard]", never, { "payload": { "alias": "copyClipboard"; "required": false; "isSignal": true; }; }, { "copied": "copied"; }, never, never, true, never>;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Directive that validates a semicolon-separated list of email addresses.
|
|
717
|
+
* Apply `emails` to a text input containing one or more addresses separated by `;`.
|
|
718
|
+
*/
|
|
719
|
+
declare class EmailsValidatorDirective implements Validator {
|
|
720
|
+
/**
|
|
721
|
+
* Validates each address in a semicolon-separated email list.
|
|
722
|
+
* Returns `null` when the control is empty.
|
|
723
|
+
* @param control - The form control to validate.
|
|
724
|
+
*/
|
|
725
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
726
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailsValidatorDirective, never>;
|
|
727
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EmailsValidatorDirective, "[emails]", never, {}, {}, never, never, true, never>;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Directive that validates that the host control's value equals the value of another control.
|
|
732
|
+
* Bind `[equals]="otherControl"`.
|
|
733
|
+
*/
|
|
734
|
+
declare class EqualsValidatorDirective implements Validator {
|
|
735
|
+
/** The control whose value must match the host control's value. */
|
|
736
|
+
readonly equals: i0.InputSignal<AbstractControl<any, any, any>>;
|
|
737
|
+
/**
|
|
738
|
+
* Validates that the host control value equals the bound control's value.
|
|
739
|
+
* Returns `null` (valid) when no control is bound.
|
|
740
|
+
* @param control - The form control to validate.
|
|
741
|
+
*/
|
|
742
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
743
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EqualsValidatorDirective, never>;
|
|
744
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EqualsValidatorDirective, "[equals]", never, { "equals": { "alias": "equals"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Directive that validates a file size against configurable minimum and maximum bounds.
|
|
749
|
+
* Bind `[fileSize]` together with `[size]="fileSizeInMb"`, `[maxSizeMb]`, and `[minSizeMb]`.
|
|
750
|
+
*/
|
|
751
|
+
declare class FileSizeValidatorDirective implements Validator {
|
|
752
|
+
/** Maximum allowed file size in megabytes. Defaults to 5. */
|
|
753
|
+
readonly maxSizeMb: i0.InputSignal<number>;
|
|
754
|
+
/** Minimum required file size in megabytes. Defaults to 0. */
|
|
755
|
+
readonly minSizeMb: i0.InputSignal<number>;
|
|
756
|
+
/** The actual file size in megabytes to validate against the bounds. */
|
|
757
|
+
readonly size: i0.InputSignal<number>;
|
|
758
|
+
/**
|
|
759
|
+
* Validates that the bound file size falls within the configured min/max range.
|
|
760
|
+
* Returns `null` when no control value is present.
|
|
761
|
+
* @param control - The form control to validate.
|
|
762
|
+
*/
|
|
763
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
764
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileSizeValidatorDirective, never>;
|
|
765
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileSizeValidatorDirective, "[fileSize]", never, { "maxSizeMb": { "alias": "maxSizeMb"; "required": false; "isSignal": true; }; "minSizeMb": { "alias": "minSizeMb"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* Directive that validates a control value as a GUID / UUID string.
|
|
770
|
+
* Apply `guid` to a text input that expects a valid UUID.
|
|
771
|
+
*/
|
|
772
|
+
declare class GuidValidatorDirective implements Validator {
|
|
773
|
+
/**
|
|
774
|
+
* Validates that the control value is a well-formed GUID / UUID.
|
|
775
|
+
* Returns `null` when the control is empty.
|
|
776
|
+
* @param control - The form control to validate.
|
|
777
|
+
*/
|
|
778
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
779
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GuidValidatorDirective, never>;
|
|
780
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GuidValidatorDirective, "[guid]", never, {}, {}, never, never, true, never>;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Directive that validates that a control value does not exceed a maximum word count.
|
|
785
|
+
* Bind `[maxTerms]="10"` to allow at most 10 whitespace-separated terms.
|
|
786
|
+
*/
|
|
787
|
+
declare class MaxTermsValidatorDirective implements Validator {
|
|
788
|
+
/** The maximum number of whitespace-separated terms allowed. */
|
|
789
|
+
readonly maxTerms: i0.InputSignal<number>;
|
|
790
|
+
/**
|
|
791
|
+
* Validates that the control value contains no more than the configured number of terms.
|
|
792
|
+
* Returns `null` when the control is empty.
|
|
793
|
+
* @param control - The form control to validate.
|
|
794
|
+
*/
|
|
795
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
796
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaxTermsValidatorDirective, never>;
|
|
797
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MaxTermsValidatorDirective, "[maxTerms]", never, { "maxTerms": { "alias": "maxTerms"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Directive that validates that a string control value is not blank (whitespace-only).
|
|
802
|
+
* Apply `notEmpty` to a text input where non-blank content is required.
|
|
803
|
+
*/
|
|
804
|
+
declare class NotEmptyValidatorDirective implements Validator {
|
|
805
|
+
/**
|
|
806
|
+
* Validates that the control value is a non-blank string.
|
|
807
|
+
* Returns `null` when the control is empty or not a string.
|
|
808
|
+
* @param control - The form control to validate.
|
|
809
|
+
*/
|
|
810
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
811
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotEmptyValidatorDirective, never>;
|
|
812
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NotEmptyValidatorDirective, "[notEmpty]", never, {}, {}, never, never, true, never>;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Directive that validates that the host control's value is different from another control's value.
|
|
817
|
+
* Bind `[notEqual]="otherControl"`.
|
|
818
|
+
*/
|
|
819
|
+
declare class NotEqualValidatorDirective implements Validator {
|
|
820
|
+
/** The control whose value must differ from the host control's value. */
|
|
821
|
+
readonly notEqual: i0.InputSignal<AbstractControl<any, any, any>>;
|
|
822
|
+
/**
|
|
823
|
+
* Validates that the host control value is not equal to the bound control's value.
|
|
824
|
+
* Also clears the `notequal` error on the other control when the host becomes valid.
|
|
825
|
+
* Returns `null` (valid) when no control is bound.
|
|
826
|
+
* @param control - The form control to validate.
|
|
827
|
+
*/
|
|
828
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
829
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotEqualValidatorDirective, never>;
|
|
830
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NotEqualValidatorDirective, "[notEqual]", never, { "notEqual": { "alias": "notEqual"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Directive that validates that a control value is not a future date.
|
|
835
|
+
* Apply `notFuture` to a text input that expects a date on or before today.
|
|
836
|
+
*/
|
|
837
|
+
declare class NotFutureValidatorDirective implements Validator {
|
|
838
|
+
/**
|
|
839
|
+
* Validates that the control value represents a date that is not in the future.
|
|
840
|
+
* Returns `null` when the control is empty.
|
|
841
|
+
* @param control - The form control to validate.
|
|
842
|
+
*/
|
|
843
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
844
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotFutureValidatorDirective, never>;
|
|
845
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NotFutureValidatorDirective, "[notFuture]", never, {}, {}, never, never, true, never>;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Directive that validates a control value as a sufficiently strong password.
|
|
850
|
+
* Apply `password` to a password input.
|
|
851
|
+
*/
|
|
852
|
+
declare class PasswordValidatorDirective implements Validator {
|
|
853
|
+
/**
|
|
854
|
+
* Validates that the control value meets the minimum password-strength requirements.
|
|
855
|
+
* @param control - The form control to validate.
|
|
856
|
+
*/
|
|
857
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
858
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordValidatorDirective, never>;
|
|
859
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PasswordValidatorDirective, "[password]", never, {}, {}, never, never, true, never>;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Directive that removes focus from the host element after it is clicked,
|
|
864
|
+
* preventing the browser from keeping a visible focus ring post-interaction.
|
|
865
|
+
* Apply `removeFocus` to any focusable element (e.g. a button).
|
|
866
|
+
*/
|
|
867
|
+
declare class RemoveFocusDirective {
|
|
868
|
+
private readonly elementRef;
|
|
869
|
+
/**
|
|
870
|
+
* Handles click events on the host element and blurs it on the next event-loop tick
|
|
871
|
+
* so that the click action completes before focus is removed.
|
|
872
|
+
*/
|
|
873
|
+
onClick(): void;
|
|
874
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveFocusDirective, never>;
|
|
875
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveFocusDirective, "[removeFocus]", never, {}, {}, never, never, true, never>;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Directive that validates a control value as a parseable SQL-compatible date string.
|
|
880
|
+
* Apply `sqlDate` to a text input that expects a date after year 1750.
|
|
881
|
+
*/
|
|
882
|
+
declare class SqlDateValidatorDirective implements Validator {
|
|
883
|
+
/**
|
|
884
|
+
* Validates that the control value can be parsed as a date after 1750.
|
|
885
|
+
* Returns `null` when the control is empty.
|
|
886
|
+
* @param control - The form control to validate.
|
|
887
|
+
*/
|
|
888
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
889
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SqlDateValidatorDirective, never>;
|
|
890
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SqlDateValidatorDirective, "[sqlDate]", never, {}, {}, never, never, true, never>;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Directive that validates a time string against optional allowed time slot ranges.
|
|
895
|
+
* Bind `[time]` and optionally `[slots]="'08:00-12:00|14:00-18:00'"` (pipe-separated ranges).
|
|
896
|
+
*/
|
|
897
|
+
declare class TimeValidatorDirective implements Validator {
|
|
898
|
+
/** Optional pipe-separated list of allowed time ranges, e.g. `"08:00-12:00|14:00-18:00"`. */
|
|
899
|
+
readonly slots: i0.InputSignal<string>;
|
|
900
|
+
/**
|
|
901
|
+
* Parses a `"HH:MM"` time string into a comparable integer (e.g. `"09:30"` -> `930`).
|
|
902
|
+
* Returns `-1` when the string is not a valid time.
|
|
903
|
+
* @param value - The time string to parse.
|
|
904
|
+
*/
|
|
905
|
+
private getTime;
|
|
906
|
+
/**
|
|
907
|
+
* Validates that the control value is a valid time string and, when slots are configured,
|
|
908
|
+
* that it falls within at least one of the allowed ranges.
|
|
909
|
+
* Returns `null` when the control is empty.
|
|
910
|
+
* @param control - The form control to validate.
|
|
911
|
+
*/
|
|
912
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
913
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeValidatorDirective, never>;
|
|
914
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TimeValidatorDirective, "[time]", never, { "slots": { "alias": "slots"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Directive that validates a control value as a well-formed URL.
|
|
919
|
+
* Apply `url` to a text input that expects a URL.
|
|
920
|
+
*/
|
|
921
|
+
declare class UrlValidatorDirective implements Validator {
|
|
922
|
+
/**
|
|
923
|
+
* Validates that the control value is a well-formed URL.
|
|
924
|
+
* Returns `null` (valid) when the control is empty.
|
|
925
|
+
* @param control - The form control to validate.
|
|
926
|
+
*/
|
|
927
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
928
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UrlValidatorDirective, never>;
|
|
929
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UrlValidatorDirective, "[url]", never, {}, {}, never, never, true, never>;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Directive that validates a control using the host object's `isValid()` method
|
|
934
|
+
* or a boolean expression passed via `[validIf]`.
|
|
935
|
+
*/
|
|
936
|
+
declare class ValidIfDirective implements Validator {
|
|
937
|
+
/** When `true`, the control is considered valid regardless of the bound value. */
|
|
938
|
+
readonly validIf: i0.InputSignal<boolean>;
|
|
939
|
+
/**
|
|
940
|
+
* Validates the control value against a boolean flag or the value's own `isValid()` method.
|
|
941
|
+
* @param control - The form control to validate.
|
|
942
|
+
*/
|
|
943
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
944
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidIfDirective, never>;
|
|
945
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValidIfDirective, "[validIf]", never, { "validIf": { "alias": "validIf"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* Directive that delegates validation to an externally provided validator function.
|
|
950
|
+
* Bind `[validator]="myFn"` where `myFn` is `(c: AbstractControl) => ValidationErrors | null`.
|
|
951
|
+
*/
|
|
952
|
+
declare class ValidatorDirective implements Validator {
|
|
953
|
+
/** The custom validator function to apply. */
|
|
954
|
+
readonly validator: i0.InputSignal<(control: AbstractControl) => ValidationErrors | null>;
|
|
955
|
+
/**
|
|
956
|
+
* Invokes the provided validator function against the given control.
|
|
957
|
+
* Returns `null` (valid) when no function is bound.
|
|
958
|
+
* @param control - The form control to validate.
|
|
959
|
+
*/
|
|
960
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
961
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorDirective, never>;
|
|
962
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValidatorDirective, "[validator]", never, { "validator": { "alias": "validator"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Pipe that converts plain-text newlines (`\r\n`, `\r`, `\n`) to HTML `<br>` tags
|
|
967
|
+
* and marks the result as trusted HTML so Angular does not escape it.
|
|
968
|
+
*
|
|
969
|
+
* Usage: `{{ text | formatHtml }}`
|
|
970
|
+
*/
|
|
971
|
+
declare class FormatHtmlPipe implements PipeTransform {
|
|
972
|
+
private readonly sanitizer;
|
|
973
|
+
/**
|
|
974
|
+
* Transforms a plain-text string into sanitized HTML by replacing newline characters
|
|
975
|
+
* with `<br>` tags.
|
|
976
|
+
* @param value - The input string to transform. Treated as an empty string when `undefined`.
|
|
977
|
+
* @returns A `SafeHtml` value that can be rendered with `[innerHTML]`.
|
|
978
|
+
*/
|
|
979
|
+
transform(value?: string): SafeHtml;
|
|
980
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormatHtmlPipe, never>;
|
|
981
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormatHtmlPipe, "formatHtml", true>;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* Pipe that converts a Markdown string to sanitized HTML using `SystemUtils.markdownToHtml`.
|
|
986
|
+
*
|
|
987
|
+
* Usage: `{{ text | formatMarkdown }}`
|
|
988
|
+
*/
|
|
989
|
+
declare class FormatMarkdownPipe implements PipeTransform {
|
|
990
|
+
private readonly sanitizer;
|
|
991
|
+
/**
|
|
992
|
+
* Transforms a Markdown string into sanitized HTML.
|
|
993
|
+
* @param value - The Markdown input to convert. Treated as an empty string when `undefined`.
|
|
994
|
+
* @returns A `SafeHtml` value that can be rendered with `[innerHTML]`.
|
|
995
|
+
*/
|
|
996
|
+
transform(value?: string): SafeHtml;
|
|
997
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormatMarkdownPipe, never>;
|
|
998
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormatMarkdownPipe, "formatMarkdown", true>;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* General-purpose formatting pipe that converts a raw value to a locale-aware string
|
|
1003
|
+
* based on the specified format type.
|
|
1004
|
+
*
|
|
1005
|
+
* Supported types: `'date'` / `'D'`, `'currency'` / `'C'`, `'number'` / `'N'`,
|
|
1006
|
+
* `'number0'` / `'N0'`, `'percentage'` / `'P'`.
|
|
1007
|
+
*
|
|
1008
|
+
* Usage: `{{ value | format:'currency' }}`
|
|
1009
|
+
*/
|
|
1010
|
+
declare class FormatPipe implements PipeTransform {
|
|
1011
|
+
/**
|
|
1012
|
+
* Formats a value according to the specified type and optional pattern.
|
|
1013
|
+
* Returns `undefined` when the value is `null` or `undefined`, or when the type is unrecognised.
|
|
1014
|
+
* @param value - The raw value to format.
|
|
1015
|
+
* @param type - The format type identifier (default: `'date'`).
|
|
1016
|
+
* @param pattern - The date pattern used when `type` is `'date'` (default: `'dd/MM/yyyy'`).
|
|
1017
|
+
* @returns A formatted string, or `undefined` when the value cannot be formatted.
|
|
1018
|
+
*/
|
|
1019
|
+
transform(value?: unknown, type?: string, pattern?: string): string | undefined;
|
|
1020
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormatPipe, never>;
|
|
1021
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormatPipe, "format", true>;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* Pipe that applies a global regex replacement on a string and returns the result
|
|
1026
|
+
* as sanitized HTML. When `regexValue` is `'\n'` and no `replaceValue` is given,
|
|
1027
|
+
* newlines are replaced with `<br>` tags.
|
|
1028
|
+
*
|
|
1029
|
+
* Usage: `{{ text | replace:'\n':'' }}`
|
|
1030
|
+
*/
|
|
1031
|
+
declare class ReplacePipe implements PipeTransform {
|
|
1032
|
+
private readonly sanitizer;
|
|
1033
|
+
/**
|
|
1034
|
+
* Replaces all occurrences of `regexValue` in `value` with `replaceValue`.
|
|
1035
|
+
* Returns `undefined` when `value` is empty or `undefined`.
|
|
1036
|
+
* @param value - The source string to process.
|
|
1037
|
+
* @param regexValue - The regex pattern string to match (applied with the global flag).
|
|
1038
|
+
* @param replaceValue - The replacement string. Defaults to `'<br>'` when `regexValue` is `'\n'` and this is falsy.
|
|
1039
|
+
* @returns A `SafeHtml` value with all matches replaced, or `undefined` when the input is empty.
|
|
1040
|
+
*/
|
|
1041
|
+
transform(value: string | undefined, regexValue: string, replaceValue: string): SafeHtml | undefined;
|
|
1042
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReplacePipe, never>;
|
|
1043
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ReplacePipe, "replace", true>;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* Pipe that marks an HTML string as trusted so Angular does not escape it when
|
|
1048
|
+
* bound via `[innerHTML]`.
|
|
1049
|
+
*
|
|
1050
|
+
* Usage: `<div [innerHTML]="html | safeHtml"></div>`
|
|
1051
|
+
*/
|
|
1052
|
+
declare class SafeHtmlPipe implements PipeTransform {
|
|
1053
|
+
private readonly sanitizer;
|
|
1054
|
+
/**
|
|
1055
|
+
* Bypasses Angular's HTML sanitization and returns a `SafeHtml` instance.
|
|
1056
|
+
* @param value - The raw HTML string to trust. Treated as an empty string when `undefined`.
|
|
1057
|
+
* @returns A `SafeHtml` value that can be bound to `[innerHTML]` without escaping.
|
|
1058
|
+
*/
|
|
1059
|
+
transform(value?: string): SafeHtml;
|
|
1060
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
1061
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Pipe that marks a URL string as a trusted resource URL so Angular does not block it
|
|
1066
|
+
* when bound to attributes such as `[src]` or `[href]` on iframes, objects, or embeds.
|
|
1067
|
+
*
|
|
1068
|
+
* Usage: `<iframe [src]="url | safeUrl"></iframe>`
|
|
1069
|
+
*/
|
|
1070
|
+
declare class SafeUrlPipe implements PipeTransform {
|
|
1071
|
+
private readonly sanitizer;
|
|
1072
|
+
/**
|
|
1073
|
+
* Bypasses Angular's resource-URL sanitization and returns a `SafeResourceUrl` instance.
|
|
1074
|
+
* @param value - The URL string to trust. Treated as an empty string when `undefined`.
|
|
1075
|
+
* @returns A `SafeResourceUrl` that can be bound to resource URL attributes without blocking.
|
|
1076
|
+
*/
|
|
1077
|
+
transform(value?: string): SafeResourceUrl;
|
|
1078
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeUrlPipe, never>;
|
|
1079
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeUrlPipe, "safeUrl", true>;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Impure pipe that filters an array using a caller-provided predicate function.
|
|
1084
|
+
* Because the pipe is impure it re-evaluates on every change-detection cycle,
|
|
1085
|
+
* which is necessary when the predicate's captured state changes.
|
|
1086
|
+
*
|
|
1087
|
+
* Usage: `*ngFor="let item of items | callback:myFilter"`
|
|
1088
|
+
*/
|
|
1089
|
+
declare class SearchCallbackPipe implements PipeTransform {
|
|
1090
|
+
/**
|
|
1091
|
+
* Filters `items` by applying `callback` to each element.
|
|
1092
|
+
* Returns the original array unchanged when either argument is falsy.
|
|
1093
|
+
* @param items - The source array to filter. May be `undefined`.
|
|
1094
|
+
* @param callback - A predicate function that returns `true` for items to keep.
|
|
1095
|
+
* @returns A new filtered array, the original array when no callback is provided,
|
|
1096
|
+
* or `undefined` when `items` is `undefined`.
|
|
1097
|
+
*/
|
|
1098
|
+
transform<T>(items: T[] | undefined, callback: ((item: T) => boolean) | undefined): T[] | undefined;
|
|
1099
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchCallbackPipe, never>;
|
|
1100
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SearchCallbackPipe, "callback", true>;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* Impure pipe that filters an array of searchable items against a text query.
|
|
1105
|
+
*
|
|
1106
|
+
* Each item is matched either via its `searchBag.name` property (when present)
|
|
1107
|
+
* or by converting the item itself to a lowercase string. The optional `metadata`
|
|
1108
|
+
* argument is updated in-place with the total item count and the filtered count,
|
|
1109
|
+
* making it usable in the template alongside `*ngFor`.
|
|
1110
|
+
*
|
|
1111
|
+
* Usage:
|
|
1112
|
+
* ```html
|
|
1113
|
+
* <div *ngFor="let item of items | search:filterText:meta">...</div>
|
|
1114
|
+
* <div>Showing {{ meta.count }} of {{ meta.total }}</div>
|
|
1115
|
+
* ```
|
|
1116
|
+
*/
|
|
1117
|
+
declare class SearchFilterPipe implements PipeTransform {
|
|
1118
|
+
/**
|
|
1119
|
+
* Filters `items` by performing a case-insensitive substring match against `value`.
|
|
1120
|
+
* When `items` or `value` is falsy the original array is returned unfiltered.
|
|
1121
|
+
* @param items - The source array to filter. May be `undefined`.
|
|
1122
|
+
* @param value - The search text to match against each item. May be `undefined`.
|
|
1123
|
+
* @param metadata - Optional object that is updated with `total` and `count` after filtering.
|
|
1124
|
+
* @returns The filtered array, the original array when no filter text is given,
|
|
1125
|
+
* or `undefined` when `items` is `undefined`.
|
|
1126
|
+
*/
|
|
1127
|
+
transform(items?: any[], value?: string, metadata?: SearchFilterMetadata): any[] | undefined;
|
|
1128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterPipe, never>;
|
|
1129
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SearchFilterPipe, "search", true>;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
declare const Breakpoints: {
|
|
1133
|
+
XXSmall: string;
|
|
1134
|
+
XSmall: string;
|
|
1135
|
+
Small: string;
|
|
1136
|
+
SmallMedium: string;
|
|
1137
|
+
Medium: string;
|
|
1138
|
+
MediumLarge: string;
|
|
1139
|
+
Large: string;
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
declare const UtilsMessages: {
|
|
1143
|
+
/**
|
|
1144
|
+
* Messages
|
|
1145
|
+
*/
|
|
1146
|
+
UTILS_DIALOGS_SELECT_OPTIONS_CHANGED: string;
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Generic selection model that tracks a set of selected items identified by a lookup field.
|
|
1151
|
+
* Wraps Angular CDK's `SelectionModel` and adds lookup-based add/remove logic.
|
|
1152
|
+
*
|
|
1153
|
+
* @typeParam T - The item type held in the selection.
|
|
1154
|
+
* @typeParam V - The type of the lookup key used to identify items.
|
|
1155
|
+
*/
|
|
1156
|
+
declare class SelectableModel<T, V> {
|
|
1157
|
+
/**
|
|
1158
|
+
* Emits whenever the selection changes.
|
|
1159
|
+
* Carries the affected item, or `undefined` when the whole selection is cleared.
|
|
1160
|
+
*/
|
|
1161
|
+
readonly changed: EventEmitter<T>;
|
|
1162
|
+
private readonly _all;
|
|
1163
|
+
/**
|
|
1164
|
+
* Snapshot of all items currently tracked by this model (selected or previously toggled).
|
|
1165
|
+
* Backed by a signal — reads are always up to date.
|
|
1166
|
+
*/
|
|
1167
|
+
get all(): T[];
|
|
1168
|
+
private readonly _current;
|
|
1169
|
+
/** The underlying CDK `SelectionModel` (provides `.selected`, `.isSelected`, etc.). */
|
|
1170
|
+
get current(): SelectionModel<T>;
|
|
1171
|
+
private readonly _lookupFieldName;
|
|
1172
|
+
/** Signal that is `true` when at least one item is selected. */
|
|
1173
|
+
readonly hasValue: i0.Signal<boolean>;
|
|
1174
|
+
/**
|
|
1175
|
+
* @param allowMultiSelect - When `true` (default), multiple items can be selected simultaneously.
|
|
1176
|
+
* @param lookupFieldName - Name of the note used as the unique key when searching the internal list (default: `'id'`).
|
|
1177
|
+
*/
|
|
1178
|
+
constructor(allowMultiSelect?: boolean, lookupFieldName?: string);
|
|
1179
|
+
/**
|
|
1180
|
+
* Toggles the CDK selection state of an item that already exists in the tracked list.
|
|
1181
|
+
* Has no effect when `lookupValue` does not match any tracked item.
|
|
1182
|
+
* @param item - The item whose selection state should be toggled.
|
|
1183
|
+
* @param lookupValue - The key value used to locate the item in the internal list.
|
|
1184
|
+
*/
|
|
1185
|
+
updateCurrent(item: T, lookupValue: V): void;
|
|
1186
|
+
/**
|
|
1187
|
+
* Toggles an item in both the internal list and the CDK selection.
|
|
1188
|
+
* Adds the item when it is not yet tracked; removes it when it is.
|
|
1189
|
+
* @param item - The item to toggle.
|
|
1190
|
+
* @param lookupValue - The key value used to locate or register the item.
|
|
1191
|
+
*/
|
|
1192
|
+
toggle(item: T, lookupValue?: V): void;
|
|
1193
|
+
/**
|
|
1194
|
+
* Adds an item to the internal list (when not already present) and marks it as selected.
|
|
1195
|
+
* @param item - The item to select.
|
|
1196
|
+
* @param lookupValue - The key value used to locate or register the item.
|
|
1197
|
+
*/
|
|
1198
|
+
select(item: T, lookupValue?: V): void;
|
|
1199
|
+
/**
|
|
1200
|
+
* Removes an item from the internal list and deselects it in the CDK model.
|
|
1201
|
+
* Has no effect when the item is not currently tracked.
|
|
1202
|
+
* @param item - The item to deselect.
|
|
1203
|
+
* @param lookupValue - The key value used to locate the item in the internal list.
|
|
1204
|
+
*/
|
|
1205
|
+
deselect(item: T, lookupValue?: V): void;
|
|
1206
|
+
/**
|
|
1207
|
+
* Deselects all items whose lookup key is contained in `lookupValues`.
|
|
1208
|
+
* @param lookupValues - Array of key values identifying the items to deselect.
|
|
1209
|
+
*/
|
|
1210
|
+
deselectByValues(lookupValues: V[]): void;
|
|
1211
|
+
/**
|
|
1212
|
+
* Runs `clearFunc` against every currently selected item, then clears the CDK selection.
|
|
1213
|
+
* The internal tracked list is **not** affected; only the CDK selection is cleared.
|
|
1214
|
+
* @param clearFunc - Callback invoked for each currently selected item before clearing.
|
|
1215
|
+
*/
|
|
1216
|
+
clearCurrent(clearFunc: (item: T) => void): void;
|
|
1217
|
+
/**
|
|
1218
|
+
* Clears both the internal tracked list and the CDK selection.
|
|
1219
|
+
*/
|
|
1220
|
+
clear(): void;
|
|
1221
|
+
/**
|
|
1222
|
+
* Returns `true` when the item identified by `lookupValue` is present in the tracked list.
|
|
1223
|
+
* @param lookupValue - The key value to look up.
|
|
1224
|
+
*/
|
|
1225
|
+
isSelected(lookupValue?: V): boolean;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Standard Broadcast Messages Manager
|
|
1230
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel
|
|
1231
|
+
*/
|
|
1232
|
+
/** The typed message payload exchanged over the broadcast channel. */
|
|
1233
|
+
interface BroadcastChannelMessageBag<T> {
|
|
1234
|
+
/** Unique identifier for the message type. */
|
|
1235
|
+
messageId: string;
|
|
1236
|
+
/** Identifier of the sender. */
|
|
1237
|
+
sender?: string;
|
|
1238
|
+
/** Optional typed data attached to the message. */
|
|
1239
|
+
data?: T;
|
|
1240
|
+
}
|
|
1241
|
+
/** Subscription descriptor that pairs a message type identifier with its handler. */
|
|
1242
|
+
interface BroadcastChannelSubscriberInfo<T> {
|
|
1243
|
+
/** The message type identifier to listen for. */
|
|
1244
|
+
messageId: string;
|
|
1245
|
+
/** Callback invoked with the full message bag when a matching message is received. */
|
|
1246
|
+
action: (bag: BroadcastChannelMessageBag<T>) => void;
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* Wrapper around the native Web `BroadcastChannel` API that adds typed messaging,
|
|
1250
|
+
* multiple named subscriptions, and a graceful disposal mechanism.
|
|
1251
|
+
*
|
|
1252
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel
|
|
1253
|
+
*/
|
|
1254
|
+
declare class BroadcastChannelManager {
|
|
1255
|
+
private channel?;
|
|
1256
|
+
private readonly subject;
|
|
1257
|
+
private subscriptions;
|
|
1258
|
+
/**
|
|
1259
|
+
* The name of the underlying `BroadcastChannel`, or `undefined` when the API
|
|
1260
|
+
* is not supported by the current browser.
|
|
1261
|
+
*/
|
|
1262
|
+
get currentBus(): string | undefined;
|
|
1263
|
+
/**
|
|
1264
|
+
* Opens a `BroadcastChannel` with the given name (when the API is available).
|
|
1265
|
+
* @param bus - The channel name to open (default: `'ARS-CHANNEL'`).
|
|
1266
|
+
*/
|
|
1267
|
+
constructor(bus?: string);
|
|
1268
|
+
/**
|
|
1269
|
+
* Closes the underlying channel and completes the internal subject after a short delay
|
|
1270
|
+
* to allow any in-flight messages to be delivered.
|
|
1271
|
+
*/
|
|
1272
|
+
dispose(): void;
|
|
1273
|
+
/**
|
|
1274
|
+
* Sends a typed message bag immediately.
|
|
1275
|
+
* @param bag - The message bag to send.
|
|
1276
|
+
* @example
|
|
1277
|
+
* channel.sendMessage({ messageId: 'my-message', sender: 'me', data: value });
|
|
1278
|
+
*/
|
|
1279
|
+
sendMessage<T>(bag: BroadcastChannelMessageBag<T>): void;
|
|
1280
|
+
/**
|
|
1281
|
+
* Sends a typed message bag after an optional delay.
|
|
1282
|
+
* @param bag - The message bag to send.
|
|
1283
|
+
* @param delay - Milliseconds to wait before posting the message.
|
|
1284
|
+
* @example
|
|
1285
|
+
* channel.sendMessage({ messageId: 'my-message', sender: 'me', data: value }, 250);
|
|
1286
|
+
*/
|
|
1287
|
+
sendMessage<T>(bag: BroadcastChannelMessageBag<T>, delay?: number): void;
|
|
1288
|
+
/**
|
|
1289
|
+
* Sends a message identified by a string ID with optional data.
|
|
1290
|
+
* @param messageId - The message type identifier.
|
|
1291
|
+
* @param data - Optional typed payload.
|
|
1292
|
+
* @example
|
|
1293
|
+
* channel.sendMessage('my-message', value);
|
|
1294
|
+
*/
|
|
1295
|
+
sendMessage<T>(messageId: string, data?: T): void;
|
|
1296
|
+
/**
|
|
1297
|
+
* Sends a message identified by a string ID with optional data after an optional delay.
|
|
1298
|
+
* @param messageId - The message type identifier.
|
|
1299
|
+
* @param data - Optional typed payload.
|
|
1300
|
+
* @param delay - Milliseconds to wait before posting the message.
|
|
1301
|
+
* @example
|
|
1302
|
+
* channel.sendMessage('my-message', value, 250);
|
|
1303
|
+
*/
|
|
1304
|
+
sendMessage<T>(messageId: string, data?: T, delay?: number): void;
|
|
1305
|
+
/**
|
|
1306
|
+
* Registers a handler for messages with the given `messageId`.
|
|
1307
|
+
* If a handler for the same `messageId` is already registered it is replaced.
|
|
1308
|
+
* @param args - The subscription descriptor containing the message ID and handler.
|
|
1309
|
+
*/
|
|
1310
|
+
subscribe<T>(args: BroadcastChannelSubscriberInfo<T>): void;
|
|
1311
|
+
/**
|
|
1312
|
+
* Removes the subscription for the given message ID, if one exists.
|
|
1313
|
+
* @param messageId - The message type identifier whose subscription should be removed.
|
|
1314
|
+
*/
|
|
1315
|
+
unsubscribe(messageId: string): void;
|
|
1316
|
+
/**
|
|
1317
|
+
* Removes all registered subscriptions.
|
|
1318
|
+
*/
|
|
1319
|
+
unsubscribeAll(): void;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
/** Payload carried by every in-process broadcast message. */
|
|
1323
|
+
interface BroadcastMessageInfo {
|
|
1324
|
+
/** Unique identifier for the message type. */
|
|
1325
|
+
id: string;
|
|
1326
|
+
/** Optional data attached to the message. */
|
|
1327
|
+
data?: any;
|
|
1328
|
+
}
|
|
1329
|
+
interface BroadcastMessageToastData {
|
|
1330
|
+
message: string;
|
|
1331
|
+
icon?: string;
|
|
1332
|
+
duration?: number;
|
|
1333
|
+
}
|
|
1334
|
+
/**
|
|
1335
|
+
* Application-level messaging service that combines two transports:
|
|
1336
|
+
* - An in-process RxJS `Subject` for same-tab communication (`sendMessage` / `getMessage`).
|
|
1337
|
+
* - A native `BroadcastChannel` for cross-tab communication (`sendChannelMessage` / `subscribeChannelMessage`).
|
|
1338
|
+
*/
|
|
1339
|
+
declare class BroadcastService implements OnDestroy {
|
|
1340
|
+
private readonly subject;
|
|
1341
|
+
private readonly channel;
|
|
1342
|
+
/**
|
|
1343
|
+
* Creates a new standalone `BroadcastChannelManager` instance bound to the shared ARS channel.
|
|
1344
|
+
* Useful when a caller needs direct channel access outside the service.
|
|
1345
|
+
* @returns A new `BroadcastChannelManager` connected to `'ARS-CHANNEL'`.
|
|
1346
|
+
*/
|
|
1347
|
+
static createChannel(): BroadcastChannelManager;
|
|
1348
|
+
ngOnDestroy(): void;
|
|
1349
|
+
/**
|
|
1350
|
+
* Publishes a message to the in-process subject, optionally after a delay.
|
|
1351
|
+
* @param id - The message type identifier.
|
|
1352
|
+
* @param data - Optional payload to attach to the message.
|
|
1353
|
+
* @param delay - Milliseconds to wait before publishing (default: `0`).
|
|
1354
|
+
*/
|
|
1355
|
+
sendMessage(id: string, data?: any, delay?: number): void;
|
|
1356
|
+
/**
|
|
1357
|
+
* Publishes a typed message over the native `BroadcastChannel` (cross-tab), optionally after a delay.
|
|
1358
|
+
* @param id - The message type identifier.
|
|
1359
|
+
* @param data - Optional typed payload to send.
|
|
1360
|
+
* @param delay - Milliseconds to wait before sending (forwarded to the channel manager).
|
|
1361
|
+
*/
|
|
1362
|
+
sendChannelMessage<T>(id: string, data?: T, delay?: number): void;
|
|
1363
|
+
/**
|
|
1364
|
+
* Registers a handler that is invoked whenever a channel message with the given `id` is received.
|
|
1365
|
+
* @param id - The message type identifier to listen for.
|
|
1366
|
+
* @param action - Callback invoked with the full `BroadcastChannelMessageBag` when a matching message arrives.
|
|
1367
|
+
*/
|
|
1368
|
+
subscribeChannelMessage<T>(id: string, action: (bag: BroadcastChannelMessageBag<T>) => void): void;
|
|
1369
|
+
/**
|
|
1370
|
+
* Removes the channel subscription previously registered for the given `id`, if any.
|
|
1371
|
+
* @param id - The message type identifier whose subscription should be removed.
|
|
1372
|
+
*/
|
|
1373
|
+
unsubscribeChannelMessage(id: string): void;
|
|
1374
|
+
/**
|
|
1375
|
+
* Returns an `Observable` that emits every in-process message published via `sendMessage`.
|
|
1376
|
+
* @returns An observable stream of `BroadcastMessageInfo` objects.
|
|
1377
|
+
*/
|
|
1378
|
+
getMessage(): Observable<BroadcastMessageInfo>;
|
|
1379
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BroadcastService, never>;
|
|
1380
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BroadcastService>;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Application-wide environment configuration service.
|
|
1385
|
+
* Exposes writable signals for the base URIs used throughout the application.
|
|
1386
|
+
* Values should be set once during application bootstrap (e.g. in `APP_INITIALIZER`).
|
|
1387
|
+
*/
|
|
1388
|
+
declare class EnvironmentService {
|
|
1389
|
+
/** Writable signal holding the base URI of the frontend application (e.g. `https://app.example.com`). */
|
|
1390
|
+
readonly appUriSignal: i0.WritableSignal<string>;
|
|
1391
|
+
/** Writable signal holding the base URI of the backend API service (e.g. `https://api.example.com`). */
|
|
1392
|
+
readonly appServiceUriSignal: i0.WritableSignal<string>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Writable signal holding the redirect URI used after login.
|
|
1395
|
+
* When empty, `appLoginRedirectUri` falls back to `appUri`.
|
|
1396
|
+
*/
|
|
1397
|
+
readonly appLoginRedirectUriSignal: i0.WritableSignal<string>;
|
|
1398
|
+
/**
|
|
1399
|
+
* Writable signal holding the login endpoint URI of the backend service.
|
|
1400
|
+
* When empty, `appServiceLoginUri` falls back to `appServiceUri`.
|
|
1401
|
+
*/
|
|
1402
|
+
readonly appServiceLoginUriSignal: i0.WritableSignal<string>;
|
|
1403
|
+
private readonly _effectiveLoginRedirectUri;
|
|
1404
|
+
private readonly _effectiveServiceLoginUri;
|
|
1405
|
+
/** Base URI of the frontend application. */
|
|
1406
|
+
get appUri(): string;
|
|
1407
|
+
/** @param value - The base URI of the frontend application. */
|
|
1408
|
+
set appUri(value: string);
|
|
1409
|
+
/** Base URI of the backend API service. */
|
|
1410
|
+
get appServiceUri(): string;
|
|
1411
|
+
/** @param value - The base URI of the backend API service. */
|
|
1412
|
+
set appServiceUri(value: string);
|
|
1413
|
+
/**
|
|
1414
|
+
* Effective login redirect URI.
|
|
1415
|
+
* Returns the explicitly set value, or falls back to `appUri` when empty.
|
|
1416
|
+
*/
|
|
1417
|
+
get appLoginRedirectUri(): string;
|
|
1418
|
+
/** @param value - The redirect URI to use after login. */
|
|
1419
|
+
set appLoginRedirectUri(value: string);
|
|
1420
|
+
/**
|
|
1421
|
+
* Effective service login URI.
|
|
1422
|
+
* Returns the explicitly set value, or falls back to `appServiceUri` when empty.
|
|
1423
|
+
*/
|
|
1424
|
+
get appServiceLoginUri(): string;
|
|
1425
|
+
/** @param value - The login endpoint URI of the backend service. */
|
|
1426
|
+
set appServiceLoginUri(value: string);
|
|
1427
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
1428
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* Service that exposes reactive screen and device-capability information.
|
|
1433
|
+
*/
|
|
1434
|
+
declare class ScreenService {
|
|
1435
|
+
/**
|
|
1436
|
+
* Writable signal that holds the current Material breakpoint alias
|
|
1437
|
+
* (e.g. `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`).
|
|
1438
|
+
* Updated externally by the breakpoint observer in the consuming component or module.
|
|
1439
|
+
*/
|
|
1440
|
+
readonly mq: i0.WritableSignal<string>;
|
|
1441
|
+
/**
|
|
1442
|
+
* Returns `true` when the primary input mechanism can hover over elements
|
|
1443
|
+
* with coarse pointer precision (i.e. a touch screen).
|
|
1444
|
+
*/
|
|
1445
|
+
get isTouchable(): boolean;
|
|
1446
|
+
/**
|
|
1447
|
+
* Returns `true` when the current browser is Internet Explorer or the legacy Edge (EdgeHTML).
|
|
1448
|
+
* Modern Chromium-based Edge reports a different user-agent and will return `false`.
|
|
1449
|
+
*/
|
|
1450
|
+
get isIEOrEdge(): boolean;
|
|
1451
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenService, never>;
|
|
1452
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenService>;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/** The three available theme modes: follow system preference, force light, or force dark. */
|
|
1456
|
+
type ThemeType = 'auto' | 'light' | 'dark';
|
|
1457
|
+
/**
|
|
1458
|
+
* Application-level theme management service.
|
|
1459
|
+
*
|
|
1460
|
+
* Responsibilities:
|
|
1461
|
+
* - Persists the user's preferred theme in `localStorage`.
|
|
1462
|
+
* - Applies `'light'` or `'dark'` CSS class to `<body>`.
|
|
1463
|
+
* - Reacts to OS-level colour-scheme changes when the theme is set to `'auto'`.
|
|
1464
|
+
* - Synchronises theme changes across browser tabs via `BroadcastChannel`.
|
|
1465
|
+
* - Exposes reactive signals (`themeIcon`, `themeName`, `toggleTooltip`) for the UI.
|
|
1466
|
+
*/
|
|
1467
|
+
declare class ThemeService implements OnDestroy {
|
|
1468
|
+
private readonly broadcastChannel;
|
|
1469
|
+
private readonly broadcastMessage;
|
|
1470
|
+
private readonly prefersColorSchemeMediaQueryList;
|
|
1471
|
+
/**
|
|
1472
|
+
* Observable that emits the resolved (`'light'` or `'dark'`) theme whenever it changes.
|
|
1473
|
+
* Useful for components that cannot consume signals directly (e.g. class-based guards).
|
|
1474
|
+
* @example
|
|
1475
|
+
* this.themeService.changed
|
|
1476
|
+
* .pipe(takeUntilDestroyed(this.destroyRef))
|
|
1477
|
+
* .subscribe(theme => { ... });
|
|
1478
|
+
*/
|
|
1479
|
+
readonly changed: Observable<ThemeType>;
|
|
1480
|
+
private readonly themeChanged;
|
|
1481
|
+
private readonly renderFactory2;
|
|
1482
|
+
private readonly renderer;
|
|
1483
|
+
/** The currently selected `ThemeType` (may be `'auto'`). */
|
|
1484
|
+
private readonly theme;
|
|
1485
|
+
/** `true` when the theme is set to follow the system preference. */
|
|
1486
|
+
private readonly auto;
|
|
1487
|
+
private readonly themeInfo;
|
|
1488
|
+
/** Reactive Material icon code for the current theme (use with `<mat-icon>`). */
|
|
1489
|
+
readonly themeIcon: Signal<string>;
|
|
1490
|
+
/** Reactive human-readable name of the current theme. */
|
|
1491
|
+
readonly themeName: Signal<string>;
|
|
1492
|
+
/** Reactive tooltip text for the theme toggle button. */
|
|
1493
|
+
readonly toggleTooltip: Signal<string>;
|
|
1494
|
+
constructor();
|
|
1495
|
+
/**
|
|
1496
|
+
* Initialises the service: loads the preferred theme, registers OS-change listener,
|
|
1497
|
+
* and subscribes to cross-tab broadcast messages.
|
|
1498
|
+
* Call this once during application bootstrap (e.g. in `APP_INITIALIZER`).
|
|
1499
|
+
* @param theme - The initial theme to apply (defaults to the value stored in `localStorage`).
|
|
1500
|
+
*/
|
|
1501
|
+
initialize(theme?: ThemeType): void;
|
|
1502
|
+
ngOnDestroy(): void;
|
|
1503
|
+
/**
|
|
1504
|
+
* Advances the theme through the cycle: `auto` → `light` → `dark` → `auto`.
|
|
1505
|
+
*/
|
|
1506
|
+
toggleTheme(): void;
|
|
1507
|
+
/**
|
|
1508
|
+
* Returns the resolved effective theme (`'light'` or `'dark'`), taking the OS preference
|
|
1509
|
+
* into account when the current mode is `'auto'`.
|
|
1510
|
+
* @returns `'light'` or `'dark'` — never `'auto'`.
|
|
1511
|
+
*/
|
|
1512
|
+
getTheme(): ThemeType;
|
|
1513
|
+
/**
|
|
1514
|
+
* Reads the theme stored in `localStorage` and validates it.
|
|
1515
|
+
* Falls back to `'auto'` when the stored value is missing or invalid.
|
|
1516
|
+
* @returns The persisted `ThemeType`, or `'auto'` as default.
|
|
1517
|
+
*/
|
|
1518
|
+
private getPreferredTheme;
|
|
1519
|
+
/**
|
|
1520
|
+
* Returns `true` when `value` is a valid `ThemeType` string.
|
|
1521
|
+
* Acts as a TypeScript type guard.
|
|
1522
|
+
* @param value - The string to check.
|
|
1523
|
+
*/
|
|
1524
|
+
private isTheme;
|
|
1525
|
+
/**
|
|
1526
|
+
* Applies the given theme to `<body>` (CSS class), persists it to `localStorage`,
|
|
1527
|
+
* notifies the `changed` observable, and broadcasts the change to other tabs.
|
|
1528
|
+
* @param theme - The `ThemeType` to apply (defaults to `'auto'`).
|
|
1529
|
+
*/
|
|
1530
|
+
private setTheme;
|
|
1531
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
1532
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
export { AutoFocusDirective, Breakpoints, BroadcastChannelManager, BroadcastService, CopyClipboardDirective, DateFnsAdapter, DateFormat, DateInterval, DateIntervalChangeDirective, DeleteModel, EmailsValidatorDirective, EnvironmentService, EqualsValidatorDirective, FileInfo, FileSizeValidatorDirective, FormatHtmlPipe, FormatMarkdownPipe, FormatPipe, GroupModel, GuidValidatorDirective, IDModel, ImportModel, MAT_DATE_FNS_FORMATS, MaxTermsValidatorDirective, NotEmptyValidatorDirective, NotEqualValidatorDirective, NotFutureValidatorDirective, PasswordValidatorDirective, QueryModel, RelationModel, RemoveFocusDirective, ReplacePipe, SafeHtmlPipe, SafeUrlPipe, ScreenService, SearchCallbackPipe, SearchFilterPipe, SelectableModel, SqlDateValidatorDirective, SystemUtils, ThemeService, TimeValidatorDirective, UpdateRelationsModel, UrlValidatorDirective, UtilsMessages, ValidIfDirective, ValidatorDirective, ValueModel, provideSCMCore, provideSCMDateFns };
|
|
1536
|
+
export type { AddModel, AddResultModel, ApiResponse, ApiResult, BroadcastChannelMessageBag, BroadcastChannelSubscriberInfo, BroadcastMessageInfo, BroadcastMessageToastData, Checkable, DeleteResultModel, DoneResult, EnableDisableModel, ErrorInfo, File, Folder, FolderTree, INode, LoginResult, NameValueItem, PasswordStrength, QueryResultModel, SearchBag, SearchFilterMetadata, Searchable, SendToModel, ThemeType, UpdateModel, UpdateResultModel, Validated };
|