@fundamental-ngx/cdk 0.40.4-rc.6 → 0.40.4
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/esm2020/data-source/data-source.directive.mjs +3 -3
- package/esm2020/data-source/data-source.module.mjs +4 -4
- package/esm2020/forms/cva/cva-control.class.mjs +3 -3
- package/esm2020/forms/cva/cva.directive.mjs +3 -3
- package/esm2020/forms/forms.module.mjs +4 -4
- package/esm2020/fundamental-ngx.module.mjs +4 -4
- package/esm2020/utils/abstract-fd-ngx-class.mjs +3 -3
- package/esm2020/utils/directives/auto-complete/auto-complete.directive.mjs +6 -6
- package/esm2020/utils/directives/auto-complete/auto-complete.module.mjs +4 -4
- package/esm2020/utils/directives/breakpoints/breakpoint.directive.mjs +7 -7
- package/esm2020/utils/directives/clicked/clicked-behavior.module.mjs +4 -4
- package/esm2020/utils/directives/clicked/clicked-event.plugin.mjs +3 -3
- package/esm2020/utils/directives/clicked/clicked.directive.mjs +6 -6
- package/esm2020/utils/directives/clicked/fdk-clicked-provider.service.mjs +3 -3
- package/esm2020/utils/directives/disabled/disabled-behavior.directive.mjs +6 -6
- package/esm2020/utils/directives/disabled/disabled-behavior.module.mjs +4 -4
- package/esm2020/utils/directives/disabled/disabled.observer.mjs +3 -3
- package/esm2020/utils/directives/disabled/fdk-disabled-provider.service.mjs +3 -3
- package/esm2020/utils/directives/focus-key-manager/focus-key-manager-helpers.module.mjs +4 -4
- package/esm2020/utils/directives/focus-key-manager/focus-key-manager-item.directive.mjs +6 -6
- package/esm2020/utils/directives/focus-key-manager/focus-key-manager-list.directive.mjs +6 -6
- package/esm2020/utils/directives/focusable-grid/focusable-grid.directive.mjs +3 -3
- package/esm2020/utils/directives/focusable-grid/focusable-grid.module.mjs +4 -4
- package/esm2020/utils/directives/focusable-item/focusable-item.directive.mjs +7 -7
- package/esm2020/utils/directives/focusable-item/focusable-item.module.mjs +4 -4
- package/esm2020/utils/directives/focusable-item/focusable.observer.mjs +3 -3
- package/esm2020/utils/directives/focusable-list/focusable-list.directive.mjs +6 -6
- package/esm2020/utils/directives/focusable-list/focusable-list.module.mjs +4 -4
- package/esm2020/utils/directives/ignore-click-on-selection/ignore-click-on-selection.directive.mjs +6 -6
- package/esm2020/utils/directives/ignore-click-on-selection/ignore-click-on-selection.module.mjs +4 -4
- package/esm2020/utils/directives/initial-focus/initial-focus.directive.mjs +6 -6
- package/esm2020/utils/directives/initial-focus/initial-focus.module.mjs +4 -4
- package/esm2020/utils/directives/line-clamp/line-clamp.directive.mjs +12 -12
- package/esm2020/utils/directives/line-clamp/line-clamp.module.mjs +4 -4
- package/esm2020/utils/directives/only-digits/only-digits.directive.mjs +6 -6
- package/esm2020/utils/directives/only-digits/only-digits.module.mjs +4 -4
- package/esm2020/utils/directives/overflow-list/overflow-list-item.directive.mjs +6 -6
- package/esm2020/utils/directives/overflow-list/overflow-list.directive.mjs +6 -6
- package/esm2020/utils/directives/overflow-list/overflow-list.module.mjs +4 -4
- package/esm2020/utils/directives/readonly/fdk-readonly-provider.service.mjs +3 -3
- package/esm2020/utils/directives/readonly/readonly-behavior.directive.mjs +6 -6
- package/esm2020/utils/directives/readonly/readonly-behavior.module.mjs +4 -4
- package/esm2020/utils/directives/readonly/readonly.observer.mjs +3 -3
- package/esm2020/utils/directives/repeat/repeat.directive.mjs +6 -6
- package/esm2020/utils/directives/repeat/repeat.module.mjs +4 -4
- package/esm2020/utils/directives/resize/resize-handle.directive.mjs +6 -6
- package/esm2020/utils/directives/resize/resize.directive.mjs +6 -6
- package/esm2020/utils/directives/resize/resize.module.mjs +4 -4
- package/esm2020/utils/directives/selectable-list/selectable-item.directive.mjs +3 -3
- package/esm2020/utils/directives/selectable-list/selectable-list.directive.mjs +3 -3
- package/esm2020/utils/directives/selectable-list/selectable-list.module.mjs +4 -4
- package/esm2020/utils/directives/selectable-list/selection.service.mjs +3 -3
- package/esm2020/utils/directives/template/template.directive.mjs +6 -6
- package/esm2020/utils/directives/template/template.module.mjs +4 -4
- package/esm2020/utils/directives/truncate/truncate.directive.mjs +6 -6
- package/esm2020/utils/directives/truncate/truncate.module.mjs +4 -4
- package/esm2020/utils/drag-and-drop/dnd-item/dnd-item.directive.mjs +3 -3
- package/esm2020/utils/drag-and-drop/dnd-keyboard-group/dnd-keyboard-group.directive.mjs +3 -3
- package/esm2020/utils/drag-and-drop/dnd-keyboard-item/dnd-keyboard-item.directive.mjs +3 -3
- package/esm2020/utils/drag-and-drop/dnd-list/dnd-list.directive.mjs +3 -3
- package/esm2020/utils/drag-and-drop/drag-and-drop.module.mjs +4 -4
- package/esm2020/utils/dynamic-component/dynamic-component.service.mjs +3 -3
- package/esm2020/utils/index.mjs +1 -2
- package/esm2020/utils/pipes/async-or-sync.pipe.mjs +3 -3
- package/esm2020/utils/pipes/displayFn.pipe.mjs +3 -3
- package/esm2020/utils/pipes/filter-strings.pipe.mjs +3 -3
- package/esm2020/utils/pipes/is-compact.pipe.mjs +3 -3
- package/esm2020/utils/pipes/make-async.pipe.mjs +3 -3
- package/esm2020/utils/pipes/pipe.module.mjs +4 -4
- package/esm2020/utils/pipes/safe.pipe.mjs +3 -3
- package/esm2020/utils/pipes/search-highlight.pipe.mjs +3 -3
- package/esm2020/utils/pipes/truncate.pipe.mjs +3 -3
- package/esm2020/utils/pipes/two-digits.pipe.mjs +3 -3
- package/esm2020/utils/pipes/value-by-path.pipe.mjs +3 -3
- package/esm2020/utils/services/content-density.service.mjs +3 -3
- package/esm2020/utils/services/destroyed.service.mjs +3 -3
- package/esm2020/utils/services/focus-trap.service.mjs +3 -3
- package/esm2020/utils/services/keyboard-support/keyboard-support.service.mjs +3 -3
- package/esm2020/utils/services/local-storage.service.mjs +3 -3
- package/esm2020/utils/services/observers/attribute.observer.mjs +3 -3
- package/esm2020/utils/services/resize-observer.service.mjs +6 -6
- package/esm2020/utils/services/rtl.service.mjs +3 -3
- package/esm2020/utils/services/tabbable-element.service.mjs +3 -3
- package/esm2020/utils/services/themes.service.mjs +3 -3
- package/esm2020/utils/utils.module.mjs +4 -4
- package/fesm2015/fundamental-ngx-cdk-data-source.mjs +7 -7
- package/fesm2015/fundamental-ngx-cdk-forms.mjs +10 -10
- package/fesm2015/fundamental-ngx-cdk-utils.mjs +328 -372
- package/fesm2015/fundamental-ngx-cdk-utils.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-cdk.mjs +4 -4
- package/fesm2020/fundamental-ngx-cdk-data-source.mjs +7 -7
- package/fesm2020/fundamental-ngx-cdk-forms.mjs +10 -10
- package/fesm2020/fundamental-ngx-cdk-utils.mjs +328 -371
- package/fesm2020/fundamental-ngx-cdk-utils.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-cdk.mjs +4 -4
- package/fundamental-ngx-cdk-v0.40.4.tgz +0 -0
- package/package.json +3 -3
- package/utils/index.d.ts +0 -1
- package/esm2020/utils/components/dynamic-portal/dynamic-portal.component.mjs +0 -47
- package/esm2020/utils/components/index.mjs +0 -2
- package/fundamental-ngx-cdk-v0.40.4-rc.6.tgz +0 -0
- package/utils/components/dynamic-portal/dynamic-portal.component.d.ts +0 -24
- package/utils/components/index.d.ts +0 -1
|
@@ -9,10 +9,10 @@ export * from '@fundamental-ngx/cdk/utils';
|
|
|
9
9
|
|
|
10
10
|
class FundamentalNgxCdkModule {
|
|
11
11
|
}
|
|
12
|
-
FundamentalNgxCdkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13
|
-
FundamentalNgxCdkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
14
|
-
FundamentalNgxCdkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12
|
+
FundamentalNgxCdkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FundamentalNgxCdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
FundamentalNgxCdkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: FundamentalNgxCdkModule, exports: [FormsModule, DataSourceModule, UtilsModule] });
|
|
14
|
+
FundamentalNgxCdkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FundamentalNgxCdkModule, imports: [FormsModule, DataSourceModule, UtilsModule] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FundamentalNgxCdkModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
imports: [],
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/cdk",
|
|
3
|
-
"version": "0.40.4
|
|
3
|
+
"version": "0.40.4",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"description": "Fundamental Library for Angular - CDK",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"@angular/animations": "^15.0.0",
|
|
21
21
|
"@angular/router": "^15.0.0",
|
|
22
22
|
"@angular/cdk": "^15.0.0",
|
|
23
|
-
"rxjs": "^7.
|
|
23
|
+
"rxjs": "^7.5.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@sap-theming/theming-base-content": "^11.3.0",
|
|
27
27
|
"focus-trap": "^7.1.0",
|
|
28
28
|
"fundamental-styles": "0.28.3",
|
|
29
29
|
"@fundamental-styles/cx": "0.28.3",
|
|
30
|
-
"@fundamental-ngx/i18n": "0.40.4
|
|
30
|
+
"@fundamental-ngx/i18n": "0.40.4",
|
|
31
31
|
"fast-deep-equal": "3.1.3",
|
|
32
32
|
"lodash-es": "^4.17.0",
|
|
33
33
|
"tslib": "^2.0.0",
|
package/utils/index.d.ts
CHANGED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Component, inject, Input, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComponentPortal, DomPortal, PortalModule, TemplatePortal } from '@angular/cdk/portal';
|
|
3
|
-
import { coerceElement } from '@angular/cdk/coercion';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/cdk/portal";
|
|
6
|
-
/**
|
|
7
|
-
* A component that can be used to attach a portal to a DOM element, without explicitly creating portal instances on place.
|
|
8
|
-
* This is useful when you have a list of the components or templates, or HTMLElmets, and you want to attach them to the DOM
|
|
9
|
-
* dynamically in a loop.
|
|
10
|
-
*/
|
|
11
|
-
export class DynamicPortalComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
/** @hidden */
|
|
14
|
-
this.viewContainerRef = inject(ViewContainerRef);
|
|
15
|
-
}
|
|
16
|
-
/** @hidden */
|
|
17
|
-
ngOnChanges(changes) {
|
|
18
|
-
this.portal?.detach();
|
|
19
|
-
if (changes['domElement']) {
|
|
20
|
-
this.portal = new DomPortal(coerceElement(this.domElement));
|
|
21
|
-
}
|
|
22
|
-
else if (changes['component']) {
|
|
23
|
-
this.portal = new ComponentPortal(this.component);
|
|
24
|
-
}
|
|
25
|
-
else if (changes['template']) {
|
|
26
|
-
this.portal = new TemplatePortal(this.template, this.viewContainerRef);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
DynamicPortalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: DynamicPortalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
-
DynamicPortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: DynamicPortalComponent, isStandalone: true, selector: "fdk-dynamic-portal", inputs: { domElement: "domElement", component: "component", template: "template" }, usesOnChanges: true, ngImport: i0, template: ` <ng-template [cdkPortalOutlet]="portal"></ng-template>`, isInline: true, dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: DynamicPortalComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{
|
|
35
|
-
selector: 'fdk-dynamic-portal',
|
|
36
|
-
standalone: true,
|
|
37
|
-
imports: [PortalModule],
|
|
38
|
-
template: ` <ng-template [cdkPortalOutlet]="portal"></ng-template>`
|
|
39
|
-
}]
|
|
40
|
-
}], propDecorators: { domElement: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], component: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], template: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy1wb3J0YWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jZGsvc3JjL2xpYi91dGlscy9jb21wb25lbnRzL2R5bmFtaWMtcG9ydGFsL2R5bmFtaWMtcG9ydGFsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsU0FBUyxFQUVULE1BQU0sRUFDTixLQUFLLEVBR0wsV0FBVyxFQUNYLGdCQUFnQixFQUNuQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsZUFBZSxFQUFpQixTQUFTLEVBQVUsWUFBWSxFQUFFLGNBQWMsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3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ICAgICAgIH0gZWxzZSBpZiAoY2hhbmdlc1snY29tcG9uZW50J10pIHtcbiAgICAgICAgICAgIHRoaXMucG9ydGFsID0gbmV3IENvbXBvbmVudFBvcnRhbCh0aGlzLmNvbXBvbmVudCk7XG4gICAgICAgIH0gZWxzZSBpZiAoY2hhbmdlc1sndGVtcGxhdGUnXSkge1xuICAgICAgICAgICAgdGhpcy5wb3J0YWwgPSBuZXcgVGVtcGxhdGVQb3J0YWwodGhpcy50ZW1wbGF0ZSwgdGhpcy52aWV3Q29udGFpbmVyUmVmKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './dynamic-portal/dynamic-portal.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL3V0aWxzL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQ0FBMkMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZHluYW1pYy1wb3J0YWwvZHluYW1pYy1wb3J0YWwuY29tcG9uZW50JztcbiJdfQ==
|
|
Binary file
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ComponentType, Portal } from '@angular/cdk/portal';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A component that can be used to attach a portal to a DOM element, without explicitly creating portal instances on place.
|
|
6
|
-
* This is useful when you have a list of the components or templates, or HTMLElmets, and you want to attach them to the DOM
|
|
7
|
-
* dynamically in a loop.
|
|
8
|
-
*/
|
|
9
|
-
export declare class DynamicPortalComponent implements OnChanges {
|
|
10
|
-
/** The DOM element to attach */
|
|
11
|
-
domElement: HTMLElement | ElementRef<HTMLElement>;
|
|
12
|
-
/** The component to attach */
|
|
13
|
-
component: ComponentType<any>;
|
|
14
|
-
/** The template to attach */
|
|
15
|
-
template: TemplateRef<any>;
|
|
16
|
-
/** Portal associated with the Portal outlet. */
|
|
17
|
-
portal?: Portal<any>;
|
|
18
|
-
/** @hidden */
|
|
19
|
-
private viewContainerRef;
|
|
20
|
-
/** @hidden */
|
|
21
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPortalComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicPortalComponent, "fdk-dynamic-portal", never, { "domElement": "domElement"; "component": "component"; "template": "template"; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dynamic-portal/dynamic-portal.component';
|