@morozeckiy/dd-lib 0.1.19 → 0.1.21

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.
@@ -0,0 +1,21 @@
1
+ import { TemplateRef, Type } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { DDDialogRef } from "../dialog-ref";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ModalBaseComponent {
6
+ private route;
7
+ private router;
8
+ private dialog;
9
+ content: TemplateRef<any> | undefined;
10
+ component: Type<any> | null | undefined;
11
+ clearFragment: boolean;
12
+ padding: string;
13
+ data: any;
14
+ destroy: (() => {}) | undefined;
15
+ constructor(route: ActivatedRoute, router: Router, dialog: DDDialogRef<ModalBaseComponent>);
16
+ onKeydownComponent(event: KeyboardEvent): void;
17
+ afterDestroy: () => void;
18
+ close(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalBaseComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalBaseComponent, "dd-modal-base", never, { "content": { "alias": "content"; "required": false; }; "component": { "alias": "component"; "required": false; }; "clearFragment": { "alias": "clearFragment"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; }, {}, never, ["*"], true, never>;
21
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare abstract class ModalCommonComponent {
3
+ destroy: (() => {}) | undefined;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalCommonComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalCommonComponent, "ng-component", never, {}, {}, never, never, false, never>;
6
+ }
@@ -22,3 +22,5 @@ export * from './toast/toast.service';
22
22
  export * from './toast/toast-placeholder/toast-placeholder.component';
23
23
  export * from './toast/toast-base/toast-base.component';
24
24
  export * from './dialog/dialog.service';
25
+ export * from './dialog/modal-base/modal-common.component';
26
+ export * from './dialog/modal-base/modal-base.component';
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
2
2
  export declare class SvgIconsService {
3
3
  private registry;
4
4
  registerIcons(icons: any[]): void;
5
- getIcon(iconName: string | null): string | undefined;
5
+ getIcon(iconName: string | null | undefined): string | undefined;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconsService, never>;
7
7
  static ɵprov: i0.ɵɵInjectableDeclaration<SvgIconsService>;
8
8
  }
@@ -9,7 +9,7 @@ export declare class LibSvgIconComponent {
9
9
  width: string | undefined;
10
10
  height: string | undefined;
11
11
  color: string | undefined;
12
- set icon(iconName: string | null);
12
+ set icon(iconName: string | null | undefined);
13
13
  private svgIcon;
14
14
  constructor(el: ElementRef, rdr: Renderer2, svgIconRegistry: SvgIconsService, document: any);
15
15
  private svgElementFromString;
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morozeckiy/dd-lib",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "license": "MIT",
5
5
  "repository": "https://gitlab.com/Morozeckiy/dd-lib",
6
6
  "publishConfig": {
Binary file