@fundamental-ngx/cdk 0.58.0-rc.11 → 0.58.0-rc.111
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/data-source/index.d.ts +4 -0
- package/fesm2022/fundamental-ngx-cdk-data-source.mjs +4 -0
- package/fesm2022/fundamental-ngx-cdk-data-source.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk-forms.mjs +4 -0
- package/fesm2022/fundamental-ngx-cdk-forms.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk-utils.mjs +370 -19
- package/fesm2022/fundamental-ngx-cdk-utils.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk.mjs +4 -0
- package/fesm2022/fundamental-ngx-cdk.mjs.map +1 -1
- package/forms/index.d.ts +4 -0
- package/index.d.ts +4 -0
- package/package.json +6 -6
- package/utils/index.d.ts +168 -6
|
@@ -2,10 +2,9 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { INJECTOR, ElementRef, isDevMode, InjectionToken, EventEmitter, inject, NgZone, Input, Output, Directive, NgModule, DestroyRef, Injectable, Optional, Inject, DOCUMENT, booleanAttribute, Renderer2, PLATFORM_ID, Self, SkipSelf, ContentChildren, forwardRef, HostListener, HostBinding, Injector, computed, ContentChild, QueryList, ViewContainerRef, TemplateRef, ViewChild, Component, NgModuleFactory, Pipe, signal } from '@angular/core';
|
|
3
3
|
import { RIGHT_ARROW, DOWN_ARROW, LEFT_ARROW, UP_ARROW, SPACE, ESCAPE, DELETE, ENTER, MAC_ENTER, TAB, HOME, END, ALT, CONTROL, META, SHIFT, BACKSPACE, A, C, V, X, PAGE_UP, PAGE_DOWN, DASH, NUMPAD_MINUS, NUMPAD_ZERO, NUMPAD_ONE, NUMPAD_TWO, NUMPAD_THREE, NUMPAD_FOUR, NUMPAD_FIVE, NUMPAD_SIX, NUMPAD_SEVEN, NUMPAD_EIGHT, NUMPAD_NINE, F2, F7, hasModifierKey } from '@angular/cdk/keycodes';
|
|
4
4
|
import { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';
|
|
5
|
-
import { Observable, NEVER, fromEvent, switchMap, map as map$1, Subject, BehaviorSubject, ReplaySubject, merge, combineLatest, filter as filter$1, firstValueFrom, debounceTime, distinctUntilChanged as distinctUntilChanged$1, startWith as startWith$1, Subscription, of, isObservable, tap as tap$1, take as take$1 } from 'rxjs';
|
|
5
|
+
import { Observable, NEVER, fromEvent, switchMap, map as map$1, Subject, BehaviorSubject, ReplaySubject, merge as merge$1, combineLatest, filter as filter$1, firstValueFrom, debounceTime, distinctUntilChanged as distinctUntilChanged$1, startWith as startWith$1, Subscription, of, isObservable, tap as tap$1, take as take$1 } from 'rxjs';
|
|
6
6
|
import { map, first, distinctUntilChanged, startWith, takeUntil, filter, tap, switchMap as switchMap$1, finalize, take, debounceTime as debounceTime$1, pairwise, shareReplay, delay } from 'rxjs/operators';
|
|
7
7
|
import { coerceElement, coerceBooleanProperty, coerceNumberProperty, coerceArray, coerceCssPixelValue } from '@angular/cdk/coercion';
|
|
8
|
-
import { get, findLastIndex, escape } from 'lodash-es';
|
|
9
8
|
import { createFocusTrap } from 'focus-trap';
|
|
10
9
|
import * as i1$1 from '@angular/cdk/a11y';
|
|
11
10
|
import { FocusKeyManager, LiveAnnouncer, InteractivityChecker } from '@angular/cdk/a11y';
|
|
@@ -200,6 +199,270 @@ class KeyUtil {
|
|
|
200
199
|
}
|
|
201
200
|
}
|
|
202
201
|
|
|
202
|
+
/**
|
|
203
|
+
* Utility functions to replace lodash-es functionality with native JavaScript.
|
|
204
|
+
*/
|
|
205
|
+
/**
|
|
206
|
+
* Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned.
|
|
207
|
+
* @param obj The object to query
|
|
208
|
+
* @param path The path of the property to get
|
|
209
|
+
* @param defaultValue The value returned if the resolved value is undefined
|
|
210
|
+
* @returns The resolved value
|
|
211
|
+
*/
|
|
212
|
+
function get(obj, path, defaultValue) {
|
|
213
|
+
if (obj == null) {
|
|
214
|
+
return defaultValue;
|
|
215
|
+
}
|
|
216
|
+
const pathArray = Array.isArray(path) ? path : path.split('.');
|
|
217
|
+
let result = obj;
|
|
218
|
+
for (const key of pathArray) {
|
|
219
|
+
if (result == null) {
|
|
220
|
+
return defaultValue;
|
|
221
|
+
}
|
|
222
|
+
result = result[key];
|
|
223
|
+
}
|
|
224
|
+
return (result === undefined ? defaultValue : result);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Sets the value at path of object. If a portion of path doesn't exist, it's created.
|
|
228
|
+
* @param obj The object to modify
|
|
229
|
+
* @param path The path of the property to set
|
|
230
|
+
* @param value The value to set
|
|
231
|
+
* @returns The object
|
|
232
|
+
*/
|
|
233
|
+
function set(obj, path, value) {
|
|
234
|
+
const pathArray = Array.isArray(path) ? path : path.split('.');
|
|
235
|
+
const lastIndex = pathArray.length - 1;
|
|
236
|
+
let current = obj;
|
|
237
|
+
for (let i = 0; i < lastIndex; i++) {
|
|
238
|
+
const key = pathArray[i];
|
|
239
|
+
if (!(key in current) || current[key] == null) {
|
|
240
|
+
current[key] = {};
|
|
241
|
+
}
|
|
242
|
+
current = current[key];
|
|
243
|
+
}
|
|
244
|
+
current[pathArray[lastIndex]] = value;
|
|
245
|
+
return obj;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Deep clones an object, handling functions and other non-cloneable values.
|
|
249
|
+
* For objects with functions or class instances, it creates a new object and copies properties.
|
|
250
|
+
* @param obj The object to clone
|
|
251
|
+
* @returns The cloned object
|
|
252
|
+
*/
|
|
253
|
+
function cloneDeep(obj) {
|
|
254
|
+
// Handle primitives, null, and undefined
|
|
255
|
+
if (obj == null || typeof obj !== 'object') {
|
|
256
|
+
return obj;
|
|
257
|
+
}
|
|
258
|
+
// Handle Date
|
|
259
|
+
if (obj instanceof Date) {
|
|
260
|
+
return new Date(obj.getTime());
|
|
261
|
+
}
|
|
262
|
+
// Handle Array
|
|
263
|
+
if (Array.isArray(obj)) {
|
|
264
|
+
return obj.map((item) => cloneDeep(item));
|
|
265
|
+
}
|
|
266
|
+
// Handle RegExp
|
|
267
|
+
if (obj instanceof RegExp) {
|
|
268
|
+
return new RegExp(obj.source, obj.flags);
|
|
269
|
+
}
|
|
270
|
+
// Handle Map
|
|
271
|
+
if (obj instanceof Map) {
|
|
272
|
+
const clonedMap = new Map();
|
|
273
|
+
obj.forEach((value, key) => {
|
|
274
|
+
clonedMap.set(cloneDeep(key), cloneDeep(value));
|
|
275
|
+
});
|
|
276
|
+
return clonedMap;
|
|
277
|
+
}
|
|
278
|
+
// Handle Set
|
|
279
|
+
if (obj instanceof Set) {
|
|
280
|
+
const clonedSet = new Set();
|
|
281
|
+
obj.forEach((value) => {
|
|
282
|
+
clonedSet.add(cloneDeep(value));
|
|
283
|
+
});
|
|
284
|
+
return clonedSet;
|
|
285
|
+
}
|
|
286
|
+
// Handle plain objects
|
|
287
|
+
const clonedObj = {};
|
|
288
|
+
for (const key in obj) {
|
|
289
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
290
|
+
const value = obj[key];
|
|
291
|
+
// Functions and symbols are copied by reference, not cloned
|
|
292
|
+
if (typeof value === 'function' || typeof value === 'symbol') {
|
|
293
|
+
clonedObj[key] = value;
|
|
294
|
+
}
|
|
295
|
+
else {
|
|
296
|
+
clonedObj[key] = cloneDeep(value);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
return clonedObj;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Deep merges two or more objects, with properties from source objects overwriting those in the target.
|
|
304
|
+
* @param target The target object
|
|
305
|
+
* @param sources The source objects
|
|
306
|
+
* @returns The merged object
|
|
307
|
+
*/
|
|
308
|
+
function merge(target, ...sources) {
|
|
309
|
+
// Handle null or undefined target
|
|
310
|
+
if (target == null) {
|
|
311
|
+
target = {};
|
|
312
|
+
}
|
|
313
|
+
const result = cloneDeep(target);
|
|
314
|
+
for (const source of sources) {
|
|
315
|
+
if (source != null) {
|
|
316
|
+
deepMergeInto(result, source);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
return result;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Helper function for deep merge
|
|
323
|
+
*/
|
|
324
|
+
function deepMergeInto(target, source) {
|
|
325
|
+
// Handle null or undefined target
|
|
326
|
+
if (target == null) {
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
for (const key in source) {
|
|
330
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
331
|
+
const sourceValue = source[key];
|
|
332
|
+
const targetValue = target[key];
|
|
333
|
+
// Handle functions and primitives - copy by reference
|
|
334
|
+
if (typeof sourceValue === 'function' || typeof sourceValue !== 'object' || sourceValue === null) {
|
|
335
|
+
target[key] = sourceValue;
|
|
336
|
+
}
|
|
337
|
+
else if (Array.isArray(sourceValue)) {
|
|
338
|
+
// Clone arrays
|
|
339
|
+
target[key] = cloneDeep(sourceValue);
|
|
340
|
+
}
|
|
341
|
+
else if (sourceValue instanceof Date ||
|
|
342
|
+
sourceValue instanceof RegExp ||
|
|
343
|
+
sourceValue instanceof Map ||
|
|
344
|
+
sourceValue instanceof Set) {
|
|
345
|
+
// Clone special objects
|
|
346
|
+
target[key] = cloneDeep(sourceValue);
|
|
347
|
+
}
|
|
348
|
+
else if (targetValue && typeof targetValue === 'object' && !Array.isArray(targetValue)) {
|
|
349
|
+
// Recursively merge plain objects
|
|
350
|
+
deepMergeInto(targetValue, sourceValue);
|
|
351
|
+
}
|
|
352
|
+
else {
|
|
353
|
+
// Clone plain objects
|
|
354
|
+
target[key] = cloneDeep(sourceValue);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Merges two objects with a customizer function.
|
|
361
|
+
* @param target The target object
|
|
362
|
+
* @param source The source object
|
|
363
|
+
* @param customizer The function to customize assigned values
|
|
364
|
+
* @returns The merged object
|
|
365
|
+
*/
|
|
366
|
+
function mergeWith(target, source, customizer) {
|
|
367
|
+
// Handle null or undefined target
|
|
368
|
+
if (target == null) {
|
|
369
|
+
target = {};
|
|
370
|
+
}
|
|
371
|
+
const result = cloneDeep(target);
|
|
372
|
+
for (const key in source) {
|
|
373
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
374
|
+
const sourceValue = source[key];
|
|
375
|
+
const targetValue = result[key];
|
|
376
|
+
const customValue = customizer(targetValue, sourceValue, key);
|
|
377
|
+
if (customValue !== undefined) {
|
|
378
|
+
result[key] = customValue;
|
|
379
|
+
}
|
|
380
|
+
else if (sourceValue && typeof sourceValue === 'object' && !Array.isArray(sourceValue)) {
|
|
381
|
+
if (targetValue && typeof targetValue === 'object' && !Array.isArray(targetValue)) {
|
|
382
|
+
result[key] = mergeWith(targetValue, sourceValue, customizer);
|
|
383
|
+
}
|
|
384
|
+
else {
|
|
385
|
+
result[key] = cloneDeep(sourceValue);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
else {
|
|
389
|
+
result[key] = cloneDeep(sourceValue);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
return result;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Creates an array of unique values from the given array.
|
|
397
|
+
* @param array The array to inspect
|
|
398
|
+
* @returns The new array of unique values
|
|
399
|
+
*/
|
|
400
|
+
function uniq(array) {
|
|
401
|
+
return Array.from(new Set(array));
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* Creates an array of unique values from an array based on a property.
|
|
405
|
+
* @param array The array to inspect
|
|
406
|
+
* @param iteratee The iteratee invoked per element
|
|
407
|
+
* @returns The new duplicate free array
|
|
408
|
+
*/
|
|
409
|
+
function uniqBy(array, iteratee) {
|
|
410
|
+
const seen = new Set();
|
|
411
|
+
const result = [];
|
|
412
|
+
const getter = typeof iteratee === 'function' ? iteratee : (item) => get(item, iteratee);
|
|
413
|
+
for (const item of array) {
|
|
414
|
+
const key = getter(item);
|
|
415
|
+
if (!seen.has(key)) {
|
|
416
|
+
seen.add(key);
|
|
417
|
+
result.push(item);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
return result;
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* Flattens an array a single level deep.
|
|
424
|
+
* @param array The array to flatten
|
|
425
|
+
* @returns The new flattened array
|
|
426
|
+
*/
|
|
427
|
+
function flatten(array) {
|
|
428
|
+
return array.flat();
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Creates an object composed of keys generated from the results of running each element through iteratee.
|
|
432
|
+
* The corresponding value of each key is the number of times the key was returned by iteratee.
|
|
433
|
+
* @param array The array to iterate over
|
|
434
|
+
* @param iteratee The iteratee to transform keys
|
|
435
|
+
* @returns The composed aggregate object
|
|
436
|
+
*/
|
|
437
|
+
function countBy(array, iteratee) {
|
|
438
|
+
const result = {};
|
|
439
|
+
const getter = typeof iteratee === 'function' ? iteratee : (item) => get(item, iteratee);
|
|
440
|
+
for (const item of array) {
|
|
441
|
+
const key = String(getter(item));
|
|
442
|
+
result[key] = (result[key] || 0) + 1;
|
|
443
|
+
}
|
|
444
|
+
return result;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Concatenates arrays.
|
|
448
|
+
* @param arrays The arrays to concatenate
|
|
449
|
+
* @returns The new concatenated array
|
|
450
|
+
*/
|
|
451
|
+
function concat(...arrays) {
|
|
452
|
+
return [].concat(...arrays);
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* Escapes HTML characters in a string.
|
|
456
|
+
* Converts characters like <, >, &, ", and ' to their HTML entity equivalents.
|
|
457
|
+
* @param str The string to escape
|
|
458
|
+
* @returns The escaped string
|
|
459
|
+
*/
|
|
460
|
+
function escape(str) {
|
|
461
|
+
const div = document.createElement('div');
|
|
462
|
+
div.textContent = str;
|
|
463
|
+
return div.innerHTML;
|
|
464
|
+
}
|
|
465
|
+
|
|
203
466
|
const ModuleDeprecations = new InjectionToken('ModuleDeprecations');
|
|
204
467
|
|
|
205
468
|
/** Module deprecations provider */
|
|
@@ -325,7 +588,6 @@ function uuidv4() {
|
|
|
325
588
|
|
|
326
589
|
class AutoCompleteDirective {
|
|
327
590
|
/** @hidden */
|
|
328
|
-
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
329
591
|
constructor() {
|
|
330
592
|
/** Whether the auto complete directive should be enabled */
|
|
331
593
|
this.enable = true;
|
|
@@ -384,6 +646,15 @@ class AutoCompleteDirective {
|
|
|
384
646
|
this._sendCompleteEvent(false);
|
|
385
647
|
}
|
|
386
648
|
else if (!this._isControlKey(event) && this.inputText) {
|
|
649
|
+
const hasSelection = this._elementRef.nativeElement.selectionStart !== this._elementRef.nativeElement.selectionEnd;
|
|
650
|
+
if (hasSelection) {
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
653
|
+
const currentNativeValue = this._elementRef.nativeElement.value;
|
|
654
|
+
if (this.inputText.length > currentNativeValue.length + 1) {
|
|
655
|
+
this.inputText = currentNativeValue;
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
387
658
|
if (!this._triggerTypeAhead()) {
|
|
388
659
|
return;
|
|
389
660
|
}
|
|
@@ -451,6 +722,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
451
722
|
type: Input
|
|
452
723
|
}] } });
|
|
453
724
|
|
|
725
|
+
/**
|
|
726
|
+
* @deprecated
|
|
727
|
+
* Use direct imports of components and directives.
|
|
728
|
+
*/
|
|
454
729
|
class AutoCompleteModule {
|
|
455
730
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
456
731
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AutoCompleteModule, imports: [AutoCompleteDirective], exports: [AutoCompleteDirective] }); }
|
|
@@ -928,7 +1203,7 @@ class KeyboardSupportService {
|
|
|
928
1203
|
};
|
|
929
1204
|
/** Finish all of the streams, form before */
|
|
930
1205
|
this._onRefresh$.next();
|
|
931
|
-
const unsubscribe$ = merge(this._onRefresh$, destroyObservable(this._destroyRef));
|
|
1206
|
+
const unsubscribe$ = merge$1(this._onRefresh$, destroyObservable(this._destroyRef));
|
|
932
1207
|
if (queryList.length) {
|
|
933
1208
|
createEscapeListener(queryList.last, DOWN_ARROW, 'down');
|
|
934
1209
|
createEscapeListener(queryList.first, UP_ARROW, 'up');
|
|
@@ -1406,7 +1681,7 @@ class ClickedDirective {
|
|
|
1406
1681
|
enter$.complete();
|
|
1407
1682
|
space$.complete();
|
|
1408
1683
|
});
|
|
1409
|
-
this.fdkClicked = merge(fromEvent(element, 'click'), enter$, space$);
|
|
1684
|
+
this.fdkClicked = merge$1(fromEvent(element, 'click'), enter$, space$);
|
|
1410
1685
|
}
|
|
1411
1686
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ClickedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1412
1687
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.4", type: ClickedDirective, isStandalone: true, selector: "[fdkClicked]", outputs: { fdkClicked: "fdkClicked" }, ngImport: i0 }); }
|
|
@@ -1706,6 +1981,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
1706
1981
|
type: Input
|
|
1707
1982
|
}] } });
|
|
1708
1983
|
|
|
1984
|
+
/**
|
|
1985
|
+
* @deprecated
|
|
1986
|
+
* Use direct imports of components and directives.
|
|
1987
|
+
*/
|
|
1709
1988
|
class DisabledBehaviorModule {
|
|
1710
1989
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DisabledBehaviorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1711
1990
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: DisabledBehaviorModule, imports: [DisabledBehaviorDirective], exports: [DisabledBehaviorDirective] }); }
|
|
@@ -1995,6 +2274,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
1995
2274
|
args: ['keydown', ['$event']]
|
|
1996
2275
|
}] } });
|
|
1997
2276
|
|
|
2277
|
+
/**
|
|
2278
|
+
* @deprecated
|
|
2279
|
+
* Use direct imports of components and directives.
|
|
2280
|
+
*/
|
|
1998
2281
|
class FocusKeyManagerHelpersModule {
|
|
1999
2282
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FocusKeyManagerHelpersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2000
2283
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FocusKeyManagerHelpersModule, imports: [FocusKeyManagerItemDirective, FocusKeyManagerListDirective], exports: [FocusKeyManagerItemDirective, FocusKeyManagerListDirective] }); }
|
|
@@ -2262,6 +2545,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
2262
2545
|
type: Output
|
|
2263
2546
|
}] } });
|
|
2264
2547
|
|
|
2548
|
+
/**
|
|
2549
|
+
* @deprecated
|
|
2550
|
+
* Use direct imports of components and directives.
|
|
2551
|
+
*/
|
|
2265
2552
|
class FocusableItemModule {
|
|
2266
2553
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FocusableItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2267
2554
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FocusableItemModule, imports: [FocusableItemDirective], exports: [FocusableItemDirective] }); }
|
|
@@ -2645,14 +2932,14 @@ class FocusableListDirective {
|
|
|
2645
2932
|
this._focusableItems.forEach((i) => i.setTabbable(i === directiveItem));
|
|
2646
2933
|
this._keyManager?.setActiveItem(index);
|
|
2647
2934
|
}));
|
|
2648
|
-
merge(...items.map((item) => item.keydown))
|
|
2935
|
+
merge$1(...items.map((item) => item.keydown))
|
|
2649
2936
|
.pipe(tap((event) => {
|
|
2650
2937
|
// Already handled
|
|
2651
2938
|
if (event.defaultPrevented) {
|
|
2652
2939
|
return;
|
|
2653
2940
|
}
|
|
2654
2941
|
this._keyManager?.onKeydown(event);
|
|
2655
|
-
}), takeUntil(merge(this._refreshItems$, destroyObservable(this._destroyRef))), finalize(() => focusListenerDestroyers.forEach((d) => d())))
|
|
2942
|
+
}), takeUntil(merge$1(this._refreshItems$, destroyObservable(this._destroyRef))), finalize(() => focusListenerDestroyers.forEach((d) => d())))
|
|
2656
2943
|
.subscribe();
|
|
2657
2944
|
}
|
|
2658
2945
|
/** @hidden */
|
|
@@ -2661,7 +2948,7 @@ class FocusableListDirective {
|
|
|
2661
2948
|
}
|
|
2662
2949
|
/** @hidden */
|
|
2663
2950
|
_listenOnItems() {
|
|
2664
|
-
const refresh$ = merge(this._refresh$, destroyObservable(this._destroyRef));
|
|
2951
|
+
const refresh$ = merge$1(this._refresh$, destroyObservable(this._destroyRef));
|
|
2665
2952
|
this._refresh$.next();
|
|
2666
2953
|
this._focusableItems.changes
|
|
2667
2954
|
.pipe(startWith(null), map(() => this._focusableItems.toArray()), tap((items) => {
|
|
@@ -2723,6 +3010,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
2723
3010
|
args: ['focus']
|
|
2724
3011
|
}] } });
|
|
2725
3012
|
|
|
3013
|
+
/**
|
|
3014
|
+
* @deprecated
|
|
3015
|
+
* Use direct imports of components and directives.
|
|
3016
|
+
*/
|
|
2726
3017
|
class FocusableListModule {
|
|
2727
3018
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FocusableListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2728
3019
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FocusableListModule, imports: [FocusableItemDirective, FocusableListDirective], exports: [FocusableItemDirective, FocusableListDirective] }); }
|
|
@@ -2775,21 +3066,21 @@ class FocusableGridDirective {
|
|
|
2775
3066
|
this._handleItemSubscriptions(items);
|
|
2776
3067
|
});
|
|
2777
3068
|
this._focusableLists.changes
|
|
2778
|
-
.pipe(startWith$1(this._focusableLists), switchMap((queryList) => merge(...queryList.toArray().map((list) => list._gridListFocused$))), takeUntilDestroyed(this._destroyRef))
|
|
3069
|
+
.pipe(startWith$1(this._focusableLists), switchMap((queryList) => merge$1(...queryList.toArray().map((list) => list._gridListFocused$))), takeUntilDestroyed(this._destroyRef))
|
|
2779
3070
|
.subscribe((focusedEvent) => {
|
|
2780
3071
|
this.rowFocused.emit(focusedEvent);
|
|
2781
3072
|
this._focusableLists.forEach((list) => list.setTabbable(false));
|
|
2782
3073
|
this._focusableLists.forEach((list) => list._setItemsTabbable(false));
|
|
2783
3074
|
});
|
|
2784
3075
|
this._focusableLists.changes
|
|
2785
|
-
.pipe(startWith$1(this._focusableLists), switchMap((queryList) => merge(...queryList.toArray().map((list) => list._gridItemFocused$))), takeUntilDestroyed(this._destroyRef))
|
|
3076
|
+
.pipe(startWith$1(this._focusableLists), switchMap((queryList) => merge$1(...queryList.toArray().map((list) => list._gridItemFocused$))), takeUntilDestroyed(this._destroyRef))
|
|
2786
3077
|
.subscribe((focusedEvent) => {
|
|
2787
3078
|
this.itemFocused.emit(focusedEvent);
|
|
2788
3079
|
this._focusableLists.forEach((list) => list.setTabbable(false));
|
|
2789
3080
|
this._focusableLists.forEach((list) => list._setItemsTabbable(false));
|
|
2790
3081
|
});
|
|
2791
3082
|
this._focusableLists.changes
|
|
2792
|
-
.pipe(startWith$1(this._focusableLists), switchMap((queryList) => merge(...queryList.toArray().map((list) => list._keydown$))), takeUntilDestroyed(this._destroyRef))
|
|
3083
|
+
.pipe(startWith$1(this._focusableLists), switchMap((queryList) => merge$1(...queryList.toArray().map((list) => list._keydown$))), takeUntilDestroyed(this._destroyRef))
|
|
2793
3084
|
.subscribe(({ event, list, activeItemIndex }) => this._onKeydown(event, list, activeItemIndex));
|
|
2794
3085
|
}
|
|
2795
3086
|
/**
|
|
@@ -2842,7 +3133,7 @@ class FocusableGridDirective {
|
|
|
2842
3133
|
break;
|
|
2843
3134
|
case PAGE_DOWN:
|
|
2844
3135
|
event.preventDefault();
|
|
2845
|
-
nextRowIndex = findLastIndex(
|
|
3136
|
+
nextRowIndex = lists.findLastIndex((item) => item._isVisible);
|
|
2846
3137
|
scrollIntoView = 'top';
|
|
2847
3138
|
break;
|
|
2848
3139
|
case PAGE_UP:
|
|
@@ -2938,6 +3229,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
2938
3229
|
args: [FDK_FOCUSABLE_ITEM_DIRECTIVE, { descendants: true }]
|
|
2939
3230
|
}] } });
|
|
2940
3231
|
|
|
3232
|
+
/**
|
|
3233
|
+
* @deprecated
|
|
3234
|
+
* Use direct imports of components and directives.
|
|
3235
|
+
*/
|
|
2941
3236
|
class FocusableGridModule {
|
|
2942
3237
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FocusableGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2943
3238
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FocusableGridModule, imports: [FocusableListModule, FocusableGridDirective], exports: [FocusableListModule, FocusableGridDirective] }); }
|
|
@@ -3004,6 +3299,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
3004
3299
|
args: ['click', ['$event']]
|
|
3005
3300
|
}] } });
|
|
3006
3301
|
|
|
3302
|
+
/**
|
|
3303
|
+
* @deprecated
|
|
3304
|
+
* Use direct imports of components and directives.
|
|
3305
|
+
*/
|
|
3007
3306
|
class IgnoreClickOnSelectionModule {
|
|
3008
3307
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: IgnoreClickOnSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3009
3308
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: IgnoreClickOnSelectionModule, imports: [IgnoreClickOnSelectionDirective], exports: [IgnoreClickOnSelectionDirective] }); }
|
|
@@ -3109,6 +3408,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
3109
3408
|
type: Input
|
|
3110
3409
|
}] } });
|
|
3111
3410
|
|
|
3411
|
+
/**
|
|
3412
|
+
* @deprecated
|
|
3413
|
+
* Use direct imports of components and directives.
|
|
3414
|
+
*/
|
|
3112
3415
|
class InitialFocusModule {
|
|
3113
3416
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: InitialFocusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3114
3417
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: InitialFocusModule, imports: [InitialFocusDirective], exports: [InitialFocusDirective] }); }
|
|
@@ -3366,6 +3669,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
3366
3669
|
type: Output
|
|
3367
3670
|
}] } });
|
|
3368
3671
|
|
|
3672
|
+
/**
|
|
3673
|
+
* @deprecated
|
|
3674
|
+
* Use direct imports of components and directives.
|
|
3675
|
+
*/
|
|
3369
3676
|
class LineClampModule {
|
|
3370
3677
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: LineClampModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3371
3678
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: LineClampModule, imports: [LineClampTargetDirective, LineClampDirective], exports: [LineClampTargetDirective, LineClampDirective] }); }
|
|
@@ -3581,6 +3888,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
3581
3888
|
args: ['drop', ['$event']]
|
|
3582
3889
|
}] } });
|
|
3583
3890
|
|
|
3891
|
+
/**
|
|
3892
|
+
* @deprecated
|
|
3893
|
+
* Use direct imports of components and directives.
|
|
3894
|
+
*/
|
|
3584
3895
|
class OnlyDigitsModule {
|
|
3585
3896
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: OnlyDigitsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3586
3897
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: OnlyDigitsModule, imports: [OnlyDigitsDirective], exports: [OnlyDigitsDirective] }); }
|
|
@@ -3744,6 +4055,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
3744
4055
|
args: [OverflowListItemDirective]
|
|
3745
4056
|
}] } });
|
|
3746
4057
|
|
|
4058
|
+
/**
|
|
4059
|
+
* @deprecated
|
|
4060
|
+
* Use direct imports of components and directives.
|
|
4061
|
+
*/
|
|
3747
4062
|
class OverflowListModule {
|
|
3748
4063
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: OverflowListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3749
4064
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: OverflowListModule, imports: [OverflowListDirective, OverflowListItemDirective], exports: [OverflowListDirective, OverflowListItemDirective] }); }
|
|
@@ -3962,6 +4277,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
3962
4277
|
args: [{ transform: booleanAttribute }]
|
|
3963
4278
|
}] } });
|
|
3964
4279
|
|
|
4280
|
+
/**
|
|
4281
|
+
* @deprecated
|
|
4282
|
+
* Use direct imports of components and directives.
|
|
4283
|
+
*/
|
|
3965
4284
|
class ReadonlyBehaviorModule {
|
|
3966
4285
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ReadonlyBehaviorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3967
4286
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: ReadonlyBehaviorModule, imports: [ReadonlyBehaviorDirective], exports: [ReadonlyBehaviorDirective] }); }
|
|
@@ -4007,6 +4326,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
4007
4326
|
args: ['fdkRepeat']
|
|
4008
4327
|
}] } });
|
|
4009
4328
|
|
|
4329
|
+
/**
|
|
4330
|
+
* @deprecated
|
|
4331
|
+
* Use direct imports of components and directives.
|
|
4332
|
+
*/
|
|
4010
4333
|
class RepeatModule {
|
|
4011
4334
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RepeatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4012
4335
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: RepeatModule, imports: [RepeatDirective], exports: [RepeatDirective] }); }
|
|
@@ -4146,7 +4469,7 @@ class ResizeDirective {
|
|
|
4146
4469
|
const mouseUpEvent$ = fromEvent(window, 'mouseup');
|
|
4147
4470
|
const mouseMoveEvent$ = fromEvent(resizeContainer, 'mousemove');
|
|
4148
4471
|
const mouseDownEvent$ = fromEvent(this.resizeHandleReference.elementRef.nativeElement, 'mousedown');
|
|
4149
|
-
const resizeActive$ = merge(mouseDownEvent$.pipe(map(() => true), tap(() => {
|
|
4472
|
+
const resizeActive$ = merge$1(mouseDownEvent$.pipe(map(() => true), tap(() => {
|
|
4150
4473
|
moveOffset = this._getMoveOffsetFunction();
|
|
4151
4474
|
})), mouseUpEvent$.pipe(map(() => false)));
|
|
4152
4475
|
const emitResizableEvents$ = this._getResizeEventsNotifiers(resizeActive$);
|
|
@@ -4243,7 +4566,7 @@ class ResizeDirective {
|
|
|
4243
4566
|
_getResizeEventsNotifiers(trigger$) {
|
|
4244
4567
|
const emitResizableStart$ = trigger$.pipe(filter((isActive) => isActive), tap(() => this.onResizeStart.emit()));
|
|
4245
4568
|
const emitResizableEnd$ = trigger$.pipe(filter((isActive) => !isActive), tap(() => this.onResizeEnd.emit()));
|
|
4246
|
-
return merge(emitResizableStart$, emitResizableEnd$);
|
|
4569
|
+
return merge$1(emitResizableStart$, emitResizableEnd$);
|
|
4247
4570
|
}
|
|
4248
4571
|
/** @hidden Block resizable container pointer events when resizing */
|
|
4249
4572
|
_blockOtherPointerEvents(trigger$) {
|
|
@@ -4295,6 +4618,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
4295
4618
|
args: [ResizeHandleDirective, { static: false }]
|
|
4296
4619
|
}] } });
|
|
4297
4620
|
|
|
4621
|
+
/**
|
|
4622
|
+
* @deprecated
|
|
4623
|
+
* Use direct imports of components and directives.
|
|
4624
|
+
*/
|
|
4298
4625
|
class ResizeModule {
|
|
4299
4626
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ResizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4300
4627
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: ResizeModule, imports: [ResizeDirective, ResizeHandleDirective], exports: [ResizeDirective, ResizeHandleDirective] }); }
|
|
@@ -4372,12 +4699,12 @@ class SelectionService {
|
|
|
4372
4699
|
* */
|
|
4373
4700
|
listenToItemInteractions() {
|
|
4374
4701
|
this.clear();
|
|
4375
|
-
const unsubscribe$ = merge(destroyObservable(this._destroyRef), this._clear$);
|
|
4702
|
+
const unsubscribe$ = merge$1(destroyObservable(this._destroyRef), this._clear$);
|
|
4376
4703
|
if (this._items$) {
|
|
4377
4704
|
this._items$
|
|
4378
4705
|
.pipe(map((items) => items.filter((itm) => itm.fdkSelectableItem !== false)), switchMap((items) => {
|
|
4379
4706
|
const clickedEvents$ = items.map((item) => item.clicked.pipe(map(() => item)));
|
|
4380
|
-
return merge(...clickedEvents$);
|
|
4707
|
+
return merge$1(...clickedEvents$);
|
|
4381
4708
|
}), tap((clickedItem) => this._itemClicked(clickedItem)), takeUntil(unsubscribe$))
|
|
4382
4709
|
.subscribe();
|
|
4383
4710
|
combineLatest([this._normalizedValue$, this._items$])
|
|
@@ -4524,7 +4851,7 @@ class SelectableItemDirective {
|
|
|
4524
4851
|
if (this.readonly$) {
|
|
4525
4852
|
disablingEvents$.push(this.readonly$);
|
|
4526
4853
|
}
|
|
4527
|
-
merge(...disablingEvents$).subscribe(() => this._updateSelectionAndSelectableWatcher());
|
|
4854
|
+
merge$1(...disablingEvents$).subscribe(() => this._updateSelectionAndSelectableWatcher());
|
|
4528
4855
|
}
|
|
4529
4856
|
/** @hidden */
|
|
4530
4857
|
_updateSelectionAndSelectableWatcher() {
|
|
@@ -4658,6 +4985,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
4658
4985
|
args: [SelectableItemToken]
|
|
4659
4986
|
}] } });
|
|
4660
4987
|
|
|
4988
|
+
/**
|
|
4989
|
+
* @deprecated
|
|
4990
|
+
* Use direct imports of components and directives.
|
|
4991
|
+
*/
|
|
4661
4992
|
class SelectableListModule {
|
|
4662
4993
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SelectableListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4663
4994
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: SelectableListModule, imports: [SelectableListDirective, SelectableItemDirective], exports: [SelectableListDirective, SelectableItemDirective] }); }
|
|
@@ -4694,6 +5025,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
4694
5025
|
args: ['fdkTemplate']
|
|
4695
5026
|
}] } });
|
|
4696
5027
|
|
|
5028
|
+
/**
|
|
5029
|
+
* @deprecated
|
|
5030
|
+
* Use direct imports of components and directives.
|
|
5031
|
+
*/
|
|
4697
5032
|
class TemplateModule {
|
|
4698
5033
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TemplateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4699
5034
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: TemplateModule, imports: [TemplateDirective], exports: [TemplateDirective] }); }
|
|
@@ -4798,6 +5133,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
4798
5133
|
}]
|
|
4799
5134
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
4800
5135
|
|
|
5136
|
+
/**
|
|
5137
|
+
* @deprecated
|
|
5138
|
+
* Use direct imports of components and directives.
|
|
5139
|
+
*/
|
|
4801
5140
|
class TruncateModule {
|
|
4802
5141
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TruncateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4803
5142
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: TruncateModule, imports: [TruncateDirective, TruncatedTitleDirective], exports: [TruncateDirective, TruncatedTitleDirective] }); }
|
|
@@ -5388,7 +5727,7 @@ class DndListDirective {
|
|
|
5388
5727
|
* Refreshes the indexes of the items.
|
|
5389
5728
|
*/
|
|
5390
5729
|
refreshQueryList() {
|
|
5391
|
-
const refresh$ = merge(this._refresh$, destroyObservable(this._destroyRef));
|
|
5730
|
+
const refresh$ = merge$1(this._refresh$, destroyObservable(this._destroyRef));
|
|
5392
5731
|
this._refresh$.next();
|
|
5393
5732
|
this._dndItemReference = this.dndItems.toArray();
|
|
5394
5733
|
this._changeDraggableState(this._draggable);
|
|
@@ -5684,6 +6023,10 @@ function getElementBoundaries(coordinates, threshold) {
|
|
|
5684
6023
|
};
|
|
5685
6024
|
}
|
|
5686
6025
|
|
|
6026
|
+
/**
|
|
6027
|
+
* @deprecated
|
|
6028
|
+
* Use direct imports of components and directives.
|
|
6029
|
+
*/
|
|
5687
6030
|
class DragAndDropModule {
|
|
5688
6031
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DragAndDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5689
6032
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: DragAndDropModule, imports: [DragDropModule, DndItemDirective, DndListDirective, DndKeyboardGroupDirective, DndKeyboardItemDirective], exports: [DndItemDirective, DndListDirective, DndKeyboardGroupDirective, DndKeyboardItemDirective] }); }
|
|
@@ -5697,6 +6040,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
5697
6040
|
}]
|
|
5698
6041
|
}] });
|
|
5699
6042
|
|
|
6043
|
+
/**
|
|
6044
|
+
* @deprecated
|
|
6045
|
+
* Use direct imports of components and directives.
|
|
6046
|
+
*/
|
|
5700
6047
|
class UtilsModule {
|
|
5701
6048
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5702
6049
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: UtilsModule, imports: [FocusableItemModule,
|
|
@@ -6530,6 +6877,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
6530
6877
|
args: [{ name: 'valueByPath', standalone: true }]
|
|
6531
6878
|
}] });
|
|
6532
6879
|
|
|
6880
|
+
/**
|
|
6881
|
+
* @deprecated
|
|
6882
|
+
* Use direct imports of components and directives.
|
|
6883
|
+
*/
|
|
6533
6884
|
class PipeModule {
|
|
6534
6885
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6535
6886
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: PipeModule, imports: [DisplayFnPipe,
|
|
@@ -7341,5 +7692,5 @@ class BaseDismissibleToastService extends BaseToastService {
|
|
|
7341
7692
|
* Generated bundle index. Do not edit.
|
|
7342
7693
|
*/
|
|
7343
7694
|
|
|
7344
|
-
export { ANY_LANGUAGE_LETTERS_GROUP_REGEX, ANY_LANGUAGE_LETTERS_REGEX, AbstractFdNgxClass, AsyncOrSyncPipe, AttributeObserver, AutoCompleteDirective, AutoCompleteModule, BaseAnimatedToastConfig, BaseDismissibleToastService, BaseToastActionDismissibleRef, BaseToastConfig, BaseToastContainerComponent, BaseToastDurationDismissibleConfig, BaseToastDurationDismissibleContainerComponent, BaseToastDurationDismissibleRef, BaseToastOverlayContainer, BaseToastPosition, BaseToastRef, BaseToastService, BreakpointDirective, BreakpointModule, ClickedBehaviorModule, ClickedBehaviorModuleForRootLoadedOnce, ClickedDirective, ContentDensityService, DECIMAL_NUMBER_UNICODE_GROUP_REGEX, DECIMAL_NUMBER_UNICODE_RANGE, DECIMAL_NUMBER_UNICODE_REGEX, DEFAULT_CONTENT_DENSITY, DND_ITEM, DND_LIST, DefaultReadonlyViewModifier, DeprecatedSelector, DestroyedService, DisabledBehaviorDirective, DisabledBehaviorModule, DisabledObserver, DisplayFnPipe, DndItemDirective, DndKeyboardGroupDirective, DndKeyboardItemDirective, DndListDirective, DragAndDropModule, DynamicComponentContainer, DynamicComponentInjector, DynamicComponentService, DynamicPortalComponent, ELEMENT_REF_EXCEPTION, FDK_DISABLED_DIRECTIVE, FDK_FOCUSABLE_GRID_DIRECTIVE, FDK_FOCUSABLE_ITEM_DIRECTIVE, FDK_FOCUSABLE_LIST_DIRECTIVE, FDK_INDIRECT_FOCUSABLE_ITEM_ORDER, FDK_READONLY_DIRECTIVE, FDK_SELECTABLE_ITEM_PROVIDER, FD_DEPRECATED_DIRECTIVE_SELECTOR, FOCUSABLE_ITEM, FdkClickedProvider, FdkDisabledProvider, FdkReadonlyProvider, FilterStringsPipe, FocusKeyManagerHelpersModule, FocusKeyManagerItemDirective, FocusKeyManagerListDirective, FocusTrapService, FocusableGridDirective, FocusableGridModule, FocusableItemDirective, FocusableItemModule, FocusableListDirective, FocusableListModule, FocusableObserver, FunctionStrategy, INVALID_DATE_ERROR, IgnoreClickOnSelectionDirective, IgnoreClickOnSelectionDirectiveToken, IgnoreClickOnSelectionModule, IndirectFocusableItemDirective, IndirectFocusableListDirective, InitialFocusDirective, InitialFocusModule, IntersectionSpyDirective, IsCompactDensityPipe, KeyUtil, KeyboardSupportService, LETTERS_UNICODE_RANGE, LIST_ITEM_COMPONENT, LineClampDirective, LineClampModule, LineClampTargetDirective, LocalStorageService, MOBILE_CONFIG_ERROR, MakeAsyncPipe, ModuleDeprecations, OVERFLOW_PRIORITY_SCORE, ObservableStrategy, OnlyDigitsDirective, OnlyDigitsModule, OverflowListDirective, OverflowListItemDirective, OverflowListModule, PipeModule, PromiseStrategy, RTL_LANGUAGE, RangeSelector, ReadonlyBehaviorDirective, ReadonlyBehaviorModule, ReadonlyObserver, RepeatDirective, RepeatModule, ResizeDirective, ResizeHandleDirective, ResizeModule, ResizeObserverDirective, ResizeObserverFactory, ResizeObserverService, ResponsiveBreakpoints, RtlService, SafePipe, SearchHighlightPipe, SelectComponentRootToken, SelectableItemDirective, SelectableItemToken, SelectableListDirective, SelectableListModule, SelectionService, THEME_SWITCHER_ROUTER_MISSING_ERROR, TabbableElementService, TemplateDirective, TemplateModule, ToastBottomCenterPosition, ToastBottomLeftPosition, ToastBottomRightPosition, ToastTopCenterPosition, ToastTopLeftPosition, ToastTopRightPosition, TruncateDirective, TruncateModule, TruncatePipe, TruncatedTitleDirective, TwoDigitsPipe, UtilsModule, ValueByPathPipe, ValueStrategy, ViewportSizeObservable, alternateSetter, applyCssClass, applyCssStyle, baseToastAnimations, coerceArraySafe, coerceBoolean, coerceCssPixel, consumerProviderFactory, deprecatedModelProvider, destroyObservable, dfs, elementClick$, getBreakpointName, getDeprecatedModel, getDocumentFontSize, getElementCapacity, getElementWidth, getNativeElement, getRandomColorAccent, hasElementRef, intersectionObservable, isBlank, isBoolean, isCompactDensity, isFunction, isItemFocusable, isJsObject, isNumber, isObject, isOdd, isPresent, isPromise, isString, isStringMap, isSubscribable, isType, isValidContentDensity, moduleDeprecationsFactory, moduleDeprecationsProvider, parserFileSize, provideFdkClicked, pxToNum, resizeObservable, scrollIntoView, scrollTop, selectStrategy, setDisabledState, setReadonlyState, toNativeElement, toastConnectedBottomLeftPosition, toastConnectedBottomPosition, toastConnectedBottomRightPosition, toastConnectedTopLeftPosition, toastConnectedTopPosition, toastConnectedTopRightPosition, uuidv4, warnOnce };
|
|
7695
|
+
export { ANY_LANGUAGE_LETTERS_GROUP_REGEX, ANY_LANGUAGE_LETTERS_REGEX, AbstractFdNgxClass, AsyncOrSyncPipe, AttributeObserver, AutoCompleteDirective, AutoCompleteModule, BaseAnimatedToastConfig, BaseDismissibleToastService, BaseToastActionDismissibleRef, BaseToastConfig, BaseToastContainerComponent, BaseToastDurationDismissibleConfig, BaseToastDurationDismissibleContainerComponent, BaseToastDurationDismissibleRef, BaseToastOverlayContainer, BaseToastPosition, BaseToastRef, BaseToastService, BreakpointDirective, BreakpointModule, ClickedBehaviorModule, ClickedBehaviorModuleForRootLoadedOnce, ClickedDirective, ContentDensityService, DECIMAL_NUMBER_UNICODE_GROUP_REGEX, DECIMAL_NUMBER_UNICODE_RANGE, DECIMAL_NUMBER_UNICODE_REGEX, DEFAULT_CONTENT_DENSITY, DND_ITEM, DND_LIST, DefaultReadonlyViewModifier, DeprecatedSelector, DestroyedService, DisabledBehaviorDirective, DisabledBehaviorModule, DisabledObserver, DisplayFnPipe, DndItemDirective, DndKeyboardGroupDirective, DndKeyboardItemDirective, DndListDirective, DragAndDropModule, DynamicComponentContainer, DynamicComponentInjector, DynamicComponentService, DynamicPortalComponent, ELEMENT_REF_EXCEPTION, FDK_DISABLED_DIRECTIVE, FDK_FOCUSABLE_GRID_DIRECTIVE, FDK_FOCUSABLE_ITEM_DIRECTIVE, FDK_FOCUSABLE_LIST_DIRECTIVE, FDK_INDIRECT_FOCUSABLE_ITEM_ORDER, FDK_READONLY_DIRECTIVE, FDK_SELECTABLE_ITEM_PROVIDER, FD_DEPRECATED_DIRECTIVE_SELECTOR, FOCUSABLE_ITEM, FdkClickedProvider, FdkDisabledProvider, FdkReadonlyProvider, FilterStringsPipe, FocusKeyManagerHelpersModule, FocusKeyManagerItemDirective, FocusKeyManagerListDirective, FocusTrapService, FocusableGridDirective, FocusableGridModule, FocusableItemDirective, FocusableItemModule, FocusableListDirective, FocusableListModule, FocusableObserver, FunctionStrategy, INVALID_DATE_ERROR, IgnoreClickOnSelectionDirective, IgnoreClickOnSelectionDirectiveToken, IgnoreClickOnSelectionModule, IndirectFocusableItemDirective, IndirectFocusableListDirective, InitialFocusDirective, InitialFocusModule, IntersectionSpyDirective, IsCompactDensityPipe, KeyUtil, KeyboardSupportService, LETTERS_UNICODE_RANGE, LIST_ITEM_COMPONENT, LineClampDirective, LineClampModule, LineClampTargetDirective, LocalStorageService, MOBILE_CONFIG_ERROR, MakeAsyncPipe, ModuleDeprecations, OVERFLOW_PRIORITY_SCORE, ObservableStrategy, OnlyDigitsDirective, OnlyDigitsModule, OverflowListDirective, OverflowListItemDirective, OverflowListModule, PipeModule, PromiseStrategy, RTL_LANGUAGE, RangeSelector, ReadonlyBehaviorDirective, ReadonlyBehaviorModule, ReadonlyObserver, RepeatDirective, RepeatModule, ResizeDirective, ResizeHandleDirective, ResizeModule, ResizeObserverDirective, ResizeObserverFactory, ResizeObserverService, ResponsiveBreakpoints, RtlService, SafePipe, SearchHighlightPipe, SelectComponentRootToken, SelectableItemDirective, SelectableItemToken, SelectableListDirective, SelectableListModule, SelectionService, THEME_SWITCHER_ROUTER_MISSING_ERROR, TabbableElementService, TemplateDirective, TemplateModule, ToastBottomCenterPosition, ToastBottomLeftPosition, ToastBottomRightPosition, ToastTopCenterPosition, ToastTopLeftPosition, ToastTopRightPosition, TruncateDirective, TruncateModule, TruncatePipe, TruncatedTitleDirective, TwoDigitsPipe, UtilsModule, ValueByPathPipe, ValueStrategy, ViewportSizeObservable, alternateSetter, applyCssClass, applyCssStyle, baseToastAnimations, cloneDeep, coerceArraySafe, coerceBoolean, coerceCssPixel, concat, consumerProviderFactory, countBy, deprecatedModelProvider, destroyObservable, dfs, elementClick$, escape, flatten, get, getBreakpointName, getDeprecatedModel, getDocumentFontSize, getElementCapacity, getElementWidth, getNativeElement, getRandomColorAccent, hasElementRef, intersectionObservable, isBlank, isBoolean, isCompactDensity, isFunction, isItemFocusable, isJsObject, isNumber, isObject, isOdd, isPresent, isPromise, isString, isStringMap, isSubscribable, isType, isValidContentDensity, merge, mergeWith, moduleDeprecationsFactory, moduleDeprecationsProvider, parserFileSize, provideFdkClicked, pxToNum, resizeObservable, scrollIntoView, scrollTop, selectStrategy, set, setDisabledState, setReadonlyState, toNativeElement, toastConnectedBottomLeftPosition, toastConnectedBottomPosition, toastConnectedBottomRightPosition, toastConnectedTopLeftPosition, toastConnectedTopPosition, toastConnectedTopRightPosition, uniq, uniqBy, uuidv4, warnOnce };
|
|
7345
7696
|
//# sourceMappingURL=fundamental-ngx-cdk-utils.mjs.map
|