@leanix/components 0.2.214 → 0.2.217
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/bundles/leanix-components.umd.js +43 -11
- package/bundles/leanix-components.umd.js.map +1 -1
- package/esm2015/index.js +1 -0
- package/esm2015/index.js.map +1 -1
- package/esm2015/lib/forms-ui/components/basic-dropdown/basic-dropdown.component.js +2 -2
- package/esm2015/lib/forms-ui/directives/form-error.directive.js +1 -1
- package/esm2015/lib/forms-ui/directives/form-error.directive.js.map +1 -1
- package/esm2015/lib/forms-ui/directives/form-submit.directive.js +3 -2
- package/esm2015/lib/forms-ui/directives/form-submit.directive.js.map +1 -1
- package/esm2015/lib/forms-ui/models/base-select.directive.js +3 -0
- package/esm2015/lib/forms-ui/models/base-select.directive.js.map +1 -1
- package/esm2015/lib/modal-ui/components/modal/modal.component.js +14 -4
- package/esm2015/lib/modal-ui/components/modal/modal.component.js.map +1 -1
- package/esm2015/lib/modal-ui/directives/modal-content.directive.js +13 -0
- package/esm2015/lib/modal-ui/directives/modal-content.directive.js.map +1 -0
- package/esm2015/lib/modal-ui/modal.module.js +4 -3
- package/esm2015/lib/modal-ui/modal.module.js.map +1 -1
- package/fesm2015/leanix-components.js +36 -12
- package/fesm2015/leanix-components.js.map +1 -1
- package/index.d.ts +1 -0
- package/lib/forms-ui/directives/form-error.directive.d.ts +1 -1
- package/lib/forms-ui/directives/form-submit.directive.d.ts +1 -1
- package/lib/forms-ui/models/base-select.directive.d.ts +1 -0
- package/lib/modal-ui/components/modal/modal.component.d.ts +5 -2
- package/lib/modal-ui/directives/modal-content.directive.d.ts +5 -0
- package/lib/modal-ui/modal.module.d.ts +7 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -88,6 +88,7 @@ export * from './lib/modal-ui/modal.constants';
|
|
88
88
|
export * from './lib/modal-ui/components/modal/modal.component';
|
89
89
|
export * from './lib/modal-ui/components/modal-header/modal-header.component';
|
90
90
|
export * from './lib/modal-ui/components/modal-footer/modal-footer.component';
|
91
|
+
export * from './lib/modal-ui/directives/modal-content.directive';
|
91
92
|
export * from './lib/popover-ui/popover-ui.module';
|
92
93
|
export * from './lib/popover-ui/components/popover/popover.component';
|
93
94
|
export * from './lib/popover-ui/directives/popover-click.directive';
|
@@ -23,7 +23,7 @@ export declare class FormErrorDirective implements OnInit, OnDestroy {
|
|
23
23
|
private formSubmitDirective?;
|
24
24
|
private namespace?;
|
25
25
|
private strategy?;
|
26
|
-
ctrl?: AbstractControl;
|
26
|
+
ctrl?: AbstractControl | '';
|
27
27
|
controlName?: string;
|
28
28
|
private subscritpion?;
|
29
29
|
private ref?;
|
@@ -8,5 +8,5 @@ export declare class FormSubmitDirective implements OnDestroy {
|
|
8
8
|
constructor(elementRef: ElementRef);
|
9
9
|
ngOnDestroy(): void;
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmitDirective, never>;
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormSubmitDirective, "
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormSubmitDirective, "form", never, {}, {}, never>;
|
12
12
|
}
|
@@ -42,6 +42,7 @@ export declare abstract class BaseSelectDirective implements AfterViewInit, OnCh
|
|
42
42
|
*/
|
43
43
|
handleClick(toggle: boolean): void;
|
44
44
|
handleBackdropClick(event: MouseEvent): void;
|
45
|
+
closeInput(): void;
|
45
46
|
protected setOpenDirection(): void;
|
46
47
|
protected resetSelectState(): void;
|
47
48
|
protected mapToEventSet(event: KeyboardEvent, input: HTMLInputElement, virtualCursorPosition: number, selectionLength?: number): EventSet;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
|
2
2
|
import { Overlay } from '@angular/cdk/overlay';
|
3
3
|
import { CdkPortal, Portal } from '@angular/cdk/portal';
|
4
|
-
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
4
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, TemplateRef } from '@angular/core';
|
5
5
|
import { Observable, Subject } from 'rxjs';
|
6
6
|
import { ModalFooterComponent } from '../modal-footer/modal-footer.component';
|
7
7
|
import { ModalHeaderComponent } from '../modal-header/modal-header.component';
|
@@ -42,6 +42,9 @@ export declare class ModalComponent implements OnChanges, OnInit, OnDestroy, Aft
|
|
42
42
|
private overlayRef;
|
43
43
|
private oldOverflow?;
|
44
44
|
readonly destroyed$: Subject<void>;
|
45
|
+
implicitContent: TemplateRef<any>;
|
46
|
+
explicitContent?: TemplateRef<any>;
|
47
|
+
get content(): TemplateRef<any>;
|
45
48
|
onEscape(): void;
|
46
49
|
constructor(overlay: Overlay, renderer: Renderer2, closeModal$: Observable<boolean>, focusTrap: ConfigurableFocusTrapFactory);
|
47
50
|
ngOnInit(): void;
|
@@ -53,5 +56,5 @@ export declare class ModalComponent implements OnChanges, OnInit, OnDestroy, Aft
|
|
53
56
|
closeModal(): Promise<void>;
|
54
57
|
private trapFocusInModal;
|
55
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, [null, null, { optional: true; }, null]>;
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "lx-modal", never, { "open": "open"; "showCloseButton": "showCloseButton"; "showBackButton": "showBackButton"; "verticalScroll": "verticalScroll"; "size": "size"; "isFocusTrap": "isFocusTrap"; "canModalBeClosed": "canModalBeClosed"; }, { "close": "close"; "back": "back"; }, ["header", "footer"], ["lx-modal-header", "
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "lx-modal", never, { "open": "open"; "showCloseButton": "showCloseButton"; "showBackButton": "showBackButton"; "verticalScroll": "verticalScroll"; "size": "size"; "isFocusTrap": "isFocusTrap"; "canModalBeClosed": "canModalBeClosed"; }, { "close": "close"; "back": "back"; }, ["header", "footer", "explicitContent"], ["lx-modal-header", "lx-modal-footer", "*"]>;
|
57
60
|
}
|
@@ -2,13 +2,14 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./components/modal/modal.component";
|
3
3
|
import * as i2 from "./components/modal-header/modal-header.component";
|
4
4
|
import * as i3 from "./components/modal-footer/modal-footer.component";
|
5
|
-
import * as i4 from "
|
6
|
-
import * as i5 from "@angular/
|
7
|
-
import * as i6 from "@angular/cdk/
|
8
|
-
import * as i7 from "@angular/cdk/
|
9
|
-
import * as i8 from "@
|
5
|
+
import * as i4 from "./directives/modal-content.directive";
|
6
|
+
import * as i5 from "@angular/common";
|
7
|
+
import * as i6 from "@angular/cdk/portal";
|
8
|
+
import * as i7 from "@angular/cdk/overlay";
|
9
|
+
import * as i8 from "@angular/cdk/a11y";
|
10
|
+
import * as i9 from "@ngx-translate/core";
|
10
11
|
export declare class LxModalModule {
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<LxModalModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LxModalModule, [typeof i1.ModalComponent, typeof i2.ModalHeaderComponent, typeof i3.ModalFooterComponent], [typeof
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LxModalModule, [typeof i1.ModalComponent, typeof i2.ModalHeaderComponent, typeof i3.ModalFooterComponent, typeof i4.ModalContentDirective], [typeof i5.CommonModule, typeof i6.PortalModule, typeof i7.OverlayModule, typeof i8.A11yModule, typeof i9.TranslateModule], [typeof i1.ModalComponent, typeof i2.ModalHeaderComponent, typeof i3.ModalFooterComponent, typeof i4.ModalContentDirective]>;
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<LxModalModule>;
|
14
15
|
}
|