@fundamental-ngx/cdk 0.58.1 → 0.59.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/fundamental-ngx-cdk-data-source.mjs +7 -7
- package/fesm2022/fundamental-ngx-cdk-data-source.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk-forms.mjs +10 -10
- package/fesm2022/fundamental-ngx-cdk-forms.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk-utils.mjs +317 -317
- package/fesm2022/fundamental-ngx-cdk-utils.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk.mjs +4 -4
- package/fesm2022/fundamental-ngx-cdk.mjs.map +1 -1
- package/package.json +13 -13
- package/{utils/index.d.ts → types/fundamental-ngx-cdk-utils.d.ts} +47 -48
- /package/{data-source/index.d.ts → types/fundamental-ngx-cdk-data-source.d.ts} +0 -0
- /package/{forms/index.d.ts → types/fundamental-ngx-cdk-forms.d.ts} +0 -0
- /package/{index.d.ts → types/fundamental-ngx-cdk.d.ts} +0 -0
|
@@ -12,11 +12,11 @@ import { NgModule } from '@angular/core';
|
|
|
12
12
|
* Use direct imports of components and directives.
|
|
13
13
|
*/
|
|
14
14
|
class FundamentalNgxCdkModule {
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
17
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FundamentalNgxCdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: FundamentalNgxCdkModule, exports: [FormsModule, DataSourceModule, UtilsModule] }); }
|
|
17
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FundamentalNgxCdkModule, imports: [FormsModule, DataSourceModule, UtilsModule] }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FundamentalNgxCdkModule, decorators: [{
|
|
20
20
|
type: NgModule,
|
|
21
21
|
args: [{
|
|
22
22
|
imports: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-cdk.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-cdk.mjs","sources":["../../../../libs/cdk/fundamental-ngx.module.ts","../../../../libs/cdk/fundamental-ngx-cdk.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { DataSourceModule } from '@fundamental-ngx/cdk/data-source';\nimport { FormsModule } from '@fundamental-ngx/cdk/forms';\nimport { UtilsModule } from '@fundamental-ngx/cdk/utils';\n\n/**\n * @deprecated\n * Use direct imports of components and directives.\n */\n@NgModule({\n imports: [],\n declarations: [],\n exports: [FormsModule, DataSourceModule, UtilsModule]\n})\nexport class FundamentalNgxCdkModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAKA;;;AAGG;MAMU,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAAA,OAAA,EAAA,CAFtB,WAAW,EAAE,gBAAgB,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;AAE3C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAAA,OAAA,EAAA,CAFtB,WAAW,EAAE,gBAAgB,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;;2FAE3C,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,WAAW;AACvD,iBAAA;;;ACbD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/cdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0-rc.0",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"description": "Fundamental Library for Angular - CDK",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"node": ">= 10"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/animations": "^
|
|
17
|
-
"@angular/cdk": "^
|
|
18
|
-
"@angular/common": "^
|
|
19
|
-
"@angular/core": "^
|
|
20
|
-
"@angular/forms": "^
|
|
21
|
-
"@angular/platform-browser": "^
|
|
22
|
-
"@angular/router": "^
|
|
16
|
+
"@angular/animations": "^21.0.0",
|
|
17
|
+
"@angular/cdk": "^21.0.0",
|
|
18
|
+
"@angular/common": "^21.0.0",
|
|
19
|
+
"@angular/core": "^21.0.0",
|
|
20
|
+
"@angular/forms": "^21.0.0",
|
|
21
|
+
"@angular/platform-browser": "^21.0.0",
|
|
22
|
+
"@angular/router": "^21.0.0",
|
|
23
23
|
"rxjs": "^7.8.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
@@ -36,25 +36,25 @@
|
|
|
36
36
|
"save": "dependencies"
|
|
37
37
|
},
|
|
38
38
|
"module": "fesm2022/fundamental-ngx-cdk.mjs",
|
|
39
|
-
"typings": "
|
|
39
|
+
"typings": "types/fundamental-ngx-cdk.d.ts",
|
|
40
40
|
"exports": {
|
|
41
41
|
"./package.json": {
|
|
42
42
|
"default": "./package.json"
|
|
43
43
|
},
|
|
44
44
|
".": {
|
|
45
|
-
"types": "./
|
|
45
|
+
"types": "./types/fundamental-ngx-cdk.d.ts",
|
|
46
46
|
"default": "./fesm2022/fundamental-ngx-cdk.mjs"
|
|
47
47
|
},
|
|
48
48
|
"./data-source": {
|
|
49
|
-
"types": "./data-source
|
|
49
|
+
"types": "./types/fundamental-ngx-cdk-data-source.d.ts",
|
|
50
50
|
"default": "./fesm2022/fundamental-ngx-cdk-data-source.mjs"
|
|
51
51
|
},
|
|
52
52
|
"./forms": {
|
|
53
|
-
"types": "./forms
|
|
53
|
+
"types": "./types/fundamental-ngx-cdk-forms.d.ts",
|
|
54
54
|
"default": "./fesm2022/fundamental-ngx-cdk-forms.mjs"
|
|
55
55
|
},
|
|
56
56
|
"./utils": {
|
|
57
|
-
"types": "./utils
|
|
57
|
+
"types": "./types/fundamental-ngx-cdk-utils.d.ts",
|
|
58
58
|
"default": "./fesm2022/fundamental-ngx-cdk-utils.mjs"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, EventEmitter, DestroyRef, NgZone, InjectionToken,
|
|
2
|
+
import { ElementRef, EventEmitter, DestroyRef, NgZone, InjectionToken, Injector, OnChanges, AfterViewInit, OnDestroy, SimpleChanges, AfterContentInit, Renderer2, QueryList, Signal, ChangeDetectorRef, OnInit, AfterContentChecked, TemplateRef, ViewContainerRef, ModuleWithProviders, Provider, EmbeddedViewRef, ComponentRef, ValueProvider, InputSignal, Type, ComponentFactoryResolver, ApplicationRef, Compiler, NgModuleFactory, FactorySansProvider, PipeTransform, StaticProvider } from '@angular/core';
|
|
3
3
|
import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
4
4
|
import { FocusableOption, InteractivityChecker, FocusKeyManager } from '@angular/cdk/a11y';
|
|
5
5
|
import * as i1 from '@angular/cdk/drag-drop';
|
|
6
6
|
import { DragDrop } from '@angular/cdk/drag-drop';
|
|
7
7
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
8
|
-
import { MutationObserverFactory } from '@angular/cdk/observers';
|
|
9
8
|
import { ComponentType, CdkPortalOutlet, ComponentPortal, TemplatePortal, BasePortalOutlet } from '@angular/cdk/portal';
|
|
10
9
|
import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
11
10
|
import { Options, FocusTrap } from 'focus-trap';
|
|
11
|
+
import { MutationObserverFactory } from '@angular/cdk/observers';
|
|
12
12
|
import { AnimationTriggerMetadata, AnimationEvent } from '@angular/animations';
|
|
13
13
|
import { ConnectedPosition, ScrollStrategy, OverlayRef, Overlay, ComponentType as ComponentType$1, OverlayContainer } from '@angular/cdk/overlay';
|
|
14
14
|
|
|
@@ -121,32 +121,9 @@ interface FocusableListPosition {
|
|
|
121
121
|
totalRows: number;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
declare class AttributeObserver implements OnDestroy {
|
|
125
|
-
private _mutationObserverFactory;
|
|
126
|
-
/** @Hidden */
|
|
127
|
-
private readonly _observedElements;
|
|
128
|
-
/** @hidden */
|
|
129
|
-
constructor(_mutationObserverFactory: MutationObserverFactory);
|
|
130
|
-
/** @hidden */
|
|
131
|
-
ngOnDestroy(): void;
|
|
132
|
-
/** @Hidden */
|
|
133
|
-
observe(elementOrRef: Element | ElementRef<Element> | HasElementRef<Element>): Observable<MutationRecord[]>;
|
|
134
|
-
/** @Hidden */
|
|
135
|
-
unobserve(element: HasElementRef<Element> | Element | ElementRef<Element>): void;
|
|
136
|
-
/** @hidden */
|
|
137
|
-
private _observeElement;
|
|
138
|
-
/** @Hidden */
|
|
139
|
-
private _unobserveElement;
|
|
140
|
-
/** @hidden */
|
|
141
|
-
private _cleanupObserver;
|
|
142
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AttributeObserver, never>;
|
|
143
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AttributeObserver>;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
124
|
declare class FocusableObserver {
|
|
147
|
-
private _attributeObserver;
|
|
148
125
|
/** @hidden */
|
|
149
|
-
|
|
126
|
+
private readonly _attributeObserver;
|
|
150
127
|
/** @Hidden */
|
|
151
128
|
static isFocusable(element: Element, respectTabIndex: boolean): boolean;
|
|
152
129
|
/** @hidden */
|
|
@@ -1437,9 +1414,8 @@ declare class SelectableListDirective<T extends Element = HTMLElement, V = any>
|
|
|
1437
1414
|
}
|
|
1438
1415
|
|
|
1439
1416
|
declare class DisabledObserver {
|
|
1440
|
-
private _attributeObserver;
|
|
1441
1417
|
/** @hidden */
|
|
1442
|
-
|
|
1418
|
+
private readonly _attributeObserver;
|
|
1443
1419
|
/** @hidden */
|
|
1444
1420
|
static isDisabled(el: Element): boolean;
|
|
1445
1421
|
/** @hidden */
|
|
@@ -1453,7 +1429,6 @@ declare class DisabledObserver {
|
|
|
1453
1429
|
declare class FdkDisabledProvider extends ReplaySubject<boolean> implements DisabledBehavior, OnDestroy {
|
|
1454
1430
|
private ngZone;
|
|
1455
1431
|
private elementRef;
|
|
1456
|
-
private disabledObserver;
|
|
1457
1432
|
private selfDisabled$?;
|
|
1458
1433
|
private parentDisabled$?;
|
|
1459
1434
|
/** @Hidden */
|
|
@@ -1461,11 +1436,13 @@ declare class FdkDisabledProvider extends ReplaySubject<boolean> implements Disa
|
|
|
1461
1436
|
/** @Hidden */
|
|
1462
1437
|
private readonly _destroyRef;
|
|
1463
1438
|
/** @hidden */
|
|
1439
|
+
private readonly disabledObserver;
|
|
1440
|
+
/** @hidden */
|
|
1464
1441
|
private readonly _viewModifiers$;
|
|
1465
1442
|
/** @hidden */
|
|
1466
1443
|
private _disabledChange$;
|
|
1467
1444
|
/** @hidden */
|
|
1468
|
-
constructor(ngZone: NgZone, elementRef: ElementRef<HTMLElement>,
|
|
1445
|
+
constructor(ngZone: NgZone, elementRef: ElementRef<HTMLElement>, selfDisabled$?: DisabledBehavior | undefined, parentDisabled$?: DisabledBehavior | undefined);
|
|
1469
1446
|
/** @hidden */
|
|
1470
1447
|
addViewModifier(modifier: DisabledViewModifier): void;
|
|
1471
1448
|
/** @hidden */
|
|
@@ -1476,7 +1453,7 @@ declare class FdkDisabledProvider extends ReplaySubject<boolean> implements Disa
|
|
|
1476
1453
|
private _getDisabledChange$;
|
|
1477
1454
|
/** @hidden */
|
|
1478
1455
|
private _getInitialViewModifiers;
|
|
1479
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FdkDisabledProvider, [null, null,
|
|
1456
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FdkDisabledProvider, [null, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }]>;
|
|
1480
1457
|
static ɵprov: i0.ɵɵInjectableDeclaration<FdkDisabledProvider>;
|
|
1481
1458
|
}
|
|
1482
1459
|
|
|
@@ -1502,24 +1479,9 @@ interface ReadonlyBehavior extends Base {
|
|
|
1502
1479
|
fdkReadonly: boolean;
|
|
1503
1480
|
}
|
|
1504
1481
|
|
|
1505
|
-
declare class ReadonlyObserver {
|
|
1506
|
-
private _attributeObserver;
|
|
1507
|
-
/** @Hidden */
|
|
1508
|
-
constructor(_attributeObserver: AttributeObserver);
|
|
1509
|
-
/** @Hidden */
|
|
1510
|
-
static isReadonly(element: Element): boolean;
|
|
1511
|
-
/** @hidden */
|
|
1512
|
-
observe(element: HasElementRef<Element> | Element | ElementRef<Element>): Observable<boolean>;
|
|
1513
|
-
/** @Hidden */
|
|
1514
|
-
unobserve(element: HasElementRef<Element> | Element | ElementRef<Element>): void;
|
|
1515
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReadonlyObserver, never>;
|
|
1516
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ReadonlyObserver>;
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
1482
|
declare class FdkReadonlyProvider extends ReplaySubject<boolean> implements ReadonlyBehavior, OnDestroy {
|
|
1520
1483
|
private ngZone;
|
|
1521
1484
|
private elementRef;
|
|
1522
|
-
private readonlyObserver;
|
|
1523
1485
|
private selfReadonly$;
|
|
1524
1486
|
private parentReadonly$;
|
|
1525
1487
|
/** @Hidden */
|
|
@@ -1531,7 +1493,9 @@ declare class FdkReadonlyProvider extends ReplaySubject<boolean> implements Read
|
|
|
1531
1493
|
/** @hidden */
|
|
1532
1494
|
private readonly _destroyRef;
|
|
1533
1495
|
/** @hidden */
|
|
1534
|
-
|
|
1496
|
+
private readonly readonlyObserver;
|
|
1497
|
+
/** @hidden */
|
|
1498
|
+
constructor(ngZone: NgZone, elementRef: ElementRef<Element>, selfReadonly$: ReadonlyBehavior, parentReadonly$: ReadonlyBehavior);
|
|
1535
1499
|
/** @hidden */
|
|
1536
1500
|
addViewModifier(modifier: ReadonlyViewModifier): void;
|
|
1537
1501
|
/** @hidden */
|
|
@@ -1542,7 +1506,7 @@ declare class FdkReadonlyProvider extends ReplaySubject<boolean> implements Read
|
|
|
1542
1506
|
private _getReadonlyChange$;
|
|
1543
1507
|
/** @hidden */
|
|
1544
1508
|
private _getInitialViewModifiers;
|
|
1545
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FdkReadonlyProvider, [null, null,
|
|
1509
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FdkReadonlyProvider, [null, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }]>;
|
|
1546
1510
|
static ɵprov: i0.ɵɵInjectableDeclaration<FdkReadonlyProvider>;
|
|
1547
1511
|
}
|
|
1548
1512
|
|
|
@@ -1579,6 +1543,19 @@ declare class ReadonlyBehaviorModule {
|
|
|
1579
1543
|
static ɵinj: i0.ɵɵInjectorDeclaration<ReadonlyBehaviorModule>;
|
|
1580
1544
|
}
|
|
1581
1545
|
|
|
1546
|
+
declare class ReadonlyObserver {
|
|
1547
|
+
/** @Hidden */
|
|
1548
|
+
private readonly _attributeObserver;
|
|
1549
|
+
/** @Hidden */
|
|
1550
|
+
static isReadonly(element: Element): boolean;
|
|
1551
|
+
/** @hidden */
|
|
1552
|
+
observe(element: HasElementRef<Element> | Element | ElementRef<Element>): Observable<boolean>;
|
|
1553
|
+
/** @Hidden */
|
|
1554
|
+
unobserve(element: HasElementRef<Element> | Element | ElementRef<Element>): void;
|
|
1555
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadonlyObserver, never>;
|
|
1556
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReadonlyObserver>;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1582
1559
|
/** @Hidden */
|
|
1583
1560
|
declare function setReadonlyState(element: HasElementRef<Element> | Element | ElementRef<Element>, isReadonly: boolean): void;
|
|
1584
1561
|
|
|
@@ -2775,6 +2752,28 @@ declare class LocalStorageService {
|
|
|
2775
2752
|
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
2776
2753
|
}
|
|
2777
2754
|
|
|
2755
|
+
declare class AttributeObserver implements OnDestroy {
|
|
2756
|
+
private _mutationObserverFactory;
|
|
2757
|
+
/** @Hidden */
|
|
2758
|
+
private readonly _observedElements;
|
|
2759
|
+
/** @hidden */
|
|
2760
|
+
constructor(_mutationObserverFactory: MutationObserverFactory);
|
|
2761
|
+
/** @hidden */
|
|
2762
|
+
ngOnDestroy(): void;
|
|
2763
|
+
/** @Hidden */
|
|
2764
|
+
observe(elementOrRef: Element | ElementRef<Element> | HasElementRef<Element>): Observable<MutationRecord[]>;
|
|
2765
|
+
/** @Hidden */
|
|
2766
|
+
unobserve(element: HasElementRef<Element> | Element | ElementRef<Element>): void;
|
|
2767
|
+
/** @hidden */
|
|
2768
|
+
private _observeElement;
|
|
2769
|
+
/** @Hidden */
|
|
2770
|
+
private _unobserveElement;
|
|
2771
|
+
/** @hidden */
|
|
2772
|
+
private _cleanupObserver;
|
|
2773
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttributeObserver, never>;
|
|
2774
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AttributeObserver>;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2778
2777
|
declare class ResizeObserverFactory {
|
|
2779
2778
|
/** Factory to create ResizeObserver if it's present in browser. */
|
|
2780
2779
|
create(callback: ResizeObserverCallback): ResizeObserver | null;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|