piral-ng-common 20.0.0 → 20.0.1

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/index.d.ts CHANGED
@@ -1 +1,33 @@
1
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnChanges, ElementRef, PipeTransform } from '@angular/core';
3
+ import { PiletApi } from 'piral-core';
4
+ import * as i3 from '@angular/common';
5
+
6
+ declare class NgExtension implements OnChanges {
7
+ private elRef;
8
+ private piral;
9
+ name: string | undefined;
10
+ params: object | undefined;
11
+ constructor(elRef: ElementRef<HTMLElement>, piral: PiletApi);
12
+ ngOnChanges(): void;
13
+ ngAfterContentInit(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgExtension, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgExtension, "extension-component", never, { "name": { "alias": "name"; "required": false; }; "params": { "alias": "params"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
17
+
18
+ declare class ResourceUrlPipe implements PipeTransform {
19
+ private piral;
20
+ constructor(piral: PiletApi);
21
+ transform(value: string): string;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceUrlPipe, never>;
23
+ static ɵpipe: i0.ɵɵPipeDeclaration<ResourceUrlPipe, "resourceUrl", false>;
24
+ }
25
+
26
+ declare class SharedModule {
27
+ static props: {};
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof NgExtension, typeof ResourceUrlPipe], [typeof i3.CommonModule], [typeof NgExtension, typeof ResourceUrlPipe]>;
30
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
31
+ }
32
+
33
+ export { NgExtension, ResourceUrlPipe, SharedModule };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-ng-common",
3
- "version": "20.0.0",
3
+ "version": "20.0.1",
4
4
  "description": "Common module for piral-ng.",
5
5
  "keywords": [],
6
6
  "author": "smapiot",
@@ -1,3 +0,0 @@
1
- exports.NgExtension = class {};
2
- exports.SharedModule = class {};
3
- exports.ResourceUrlPipe = class {};