piral-ng-common 20.0.1 → 21.0.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.
@@ -26,10 +26,10 @@ class NgExtension {
26
26
  params: this.params,
27
27
  });
28
28
  }
29
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: NgExtension, deps: [{ token: i0.ElementRef }, { token: 'piral' }], target: i0.ɵɵFactoryTarget.Component });
30
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0", type: NgExtension, isStandalone: false, selector: "extension-component", inputs: { name: "name", params: "params" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
29
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: NgExtension, deps: [{ token: i0.ElementRef }, { token: 'piral' }], target: i0.ɵɵFactoryTarget.Component });
30
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: NgExtension, isStandalone: false, selector: "extension-component", inputs: { name: "name", params: "params" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: NgExtension, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: NgExtension, decorators: [{
33
33
  type: Component,
34
34
  args: [{
35
35
  selector,
@@ -56,10 +56,10 @@ class ResourceUrlPipe {
56
56
  const { basePath = '/' } = this.piral.meta;
57
57
  return basePath + value;
58
58
  }
59
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ResourceUrlPipe, deps: [{ token: 'piral' }], target: i0.ɵɵFactoryTarget.Pipe });
60
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: ResourceUrlPipe, isStandalone: false, name: "resourceUrl" });
59
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: ResourceUrlPipe, deps: [{ token: 'piral' }], target: i0.ɵɵFactoryTarget.Pipe });
60
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: ResourceUrlPipe, isStandalone: false, name: "resourceUrl" });
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ResourceUrlPipe, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: ResourceUrlPipe, decorators: [{
63
63
  type: Pipe,
64
64
  args: [{ name: 'resourceUrl', standalone: false }]
65
65
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -72,11 +72,11 @@ const exportsDef = [NgExtension, ResourceUrlPipe];
72
72
  const importsDef = [CommonModule];
73
73
  class SharedModule {
74
74
  static props = {};
75
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
76
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: SharedModule, declarations: [NgExtension, ResourceUrlPipe], imports: [CommonModule], exports: [NgExtension, ResourceUrlPipe] });
77
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: SharedModule, imports: [importsDef] });
75
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
76
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: SharedModule, declarations: [NgExtension, ResourceUrlPipe], imports: [CommonModule], exports: [NgExtension, ResourceUrlPipe] });
77
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: SharedModule, imports: [importsDef] });
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: SharedModule, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: SharedModule, decorators: [{
80
80
  type: NgModule,
81
81
  args: [{
82
82
  declarations: declarationsDef,
@@ -1 +1 @@
1
- {"version":3,"file":"piral-ng-common.mjs","sources":["../../src/NgExtension.ts","../../src/ResourceUrlPipe.ts","../../src/SharedModule.ts","../../src/piral-ng-common.ts"],"sourcesContent":["import type { PiletApi } from 'piral-core';\nimport { Component, ElementRef, Input, Inject, OnChanges } from '@angular/core';\n\nconst selector = 'extension-component';\n\n@Component({\n selector,\n standalone: false,\n template: '',\n})\nexport class NgExtension implements OnChanges {\n @Input('name') public name: string | undefined;\n @Input('params') public params: object | undefined;\n\n constructor(private elRef: ElementRef<HTMLElement>, @Inject('piral') private piral: PiletApi) {}\n\n ngOnChanges() {\n this.elRef.nativeElement.dispatchEvent(\n new CustomEvent('extension-props-changed', {\n detail: {\n name: this.name,\n params: this.params,\n },\n }),\n );\n }\n\n ngAfterContentInit() {\n this.piral.renderHtmlExtension(this.elRef.nativeElement, {\n name: this.name,\n params: this.params,\n });\n }\n}\n","import type { PiletApi } from 'piral-core';\nimport { Inject, Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'resourceUrl', standalone: false })\nexport class ResourceUrlPipe implements PipeTransform {\n constructor(@Inject('piral') private piral: PiletApi) {}\n\n transform(value: string): string {\n const { basePath = '/' } = this.piral.meta;\n return basePath + value;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { NgExtension } from './NgExtension';\nimport { ResourceUrlPipe } from './ResourceUrlPipe';\n\nconst declarationsDef = [NgExtension, ResourceUrlPipe];\nconst exportsDef = [NgExtension, ResourceUrlPipe];\nconst importsDef = [CommonModule];\n\n@NgModule({\n declarations: declarationsDef,\n providers: [],\n imports: importsDef,\n exports: exportsDef,\n})\nexport class SharedModule {\n static props = {};\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAGA,MAAM,QAAQ,GAAG,qBAAqB;MAOzB,WAAW,CAAA;AAIF,IAAA,KAAA;AAAyD,IAAA,KAAA;AAHvD,IAAA,IAAI;AACF,IAAA,MAAM;IAE9B,WAAoB,CAAA,KAA8B,EAA2B,KAAe,EAAA;QAAxE,IAAK,CAAA,KAAA,GAAL,KAAK;QAAoD,IAAK,CAAA,KAAA,GAAL,KAAK;;IAElF,WAAW,GAAA;QACT,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CACpC,IAAI,WAAW,CAAC,yBAAyB,EAAE;AACzC,YAAA,MAAM,EAAE;gBACN,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,MAAM,EAAE,IAAI,CAAC,MAAM;AACpB,aAAA;AACF,SAAA,CAAC,CACH;;IAGH,kBAAkB,GAAA;QAChB,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE;YACvD,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,IAAI,CAAC,MAAM;AACpB,SAAA,CAAC;;AArBO,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,4CAIsC,OAAO,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAJxD,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,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G,CAAC,WAAW,EAAE,eAAe,CAAC;AACjD,MAAM,UAAU,GAAG,CAAC,YAAY,CAAC;MAQpB,YAAY,CAAA;AACvB,IAAA,OAAO,KAAK,GAAG,EAAE;uGADN,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAZ,YAAY,EAAA,YAAA,EAAA,CAVA,WAAW,EAAE,eAAe,aAEjC,YAAY,CAAA,EAAA,OAAA,EAAA,CADZ,WAAW,EAAE,eAAe,CAAA,EAAA,CAAA;AASnC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAHd,UAAU,CAAA,EAAA,CAAA;;2FAGR,YAAY,EAAA,UAAA,EAAA,CAAA;kBANxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,eAAe;AAC7B,oBAAA,SAAS,EAAE,EAAE;AACb,oBAAA,OAAO,EAAE,UAAU;AACnB,oBAAA,OAAO,EAAE,UAAU;AACpB,iBAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"piral-ng-common.mjs","sources":["../../src/NgExtension.ts","../../src/ResourceUrlPipe.ts","../../src/SharedModule.ts","../../src/piral-ng-common.ts"],"sourcesContent":["import type { PiletApi } from 'piral-core';\nimport { Component, ElementRef, Input, Inject, OnChanges } from '@angular/core';\n\nconst selector = 'extension-component';\n\n@Component({\n selector,\n standalone: false,\n template: '',\n})\nexport class NgExtension implements OnChanges {\n @Input('name') public name: string | undefined;\n @Input('params') public params: object | undefined;\n\n constructor(private elRef: ElementRef<HTMLElement>, @Inject('piral') private piral: PiletApi) {}\n\n ngOnChanges() {\n this.elRef.nativeElement.dispatchEvent(\n new CustomEvent('extension-props-changed', {\n detail: {\n name: this.name,\n params: this.params,\n },\n }),\n );\n }\n\n ngAfterContentInit() {\n this.piral.renderHtmlExtension(this.elRef.nativeElement, {\n name: this.name!,\n params: this.params,\n });\n }\n}\n","import type { PiletApi } from 'piral-core';\nimport { Inject, Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'resourceUrl', standalone: false })\nexport class ResourceUrlPipe implements PipeTransform {\n constructor(@Inject('piral') private piral: PiletApi) {}\n\n transform(value: string): string {\n const { basePath = '/' } = this.piral.meta;\n return basePath + value;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { NgExtension } from './NgExtension';\nimport { ResourceUrlPipe } from './ResourceUrlPipe';\n\nconst declarationsDef = [NgExtension, ResourceUrlPipe];\nconst exportsDef = [NgExtension, ResourceUrlPipe];\nconst importsDef = [CommonModule];\n\n@NgModule({\n declarations: declarationsDef,\n providers: [],\n imports: importsDef,\n exports: exportsDef,\n})\nexport class SharedModule {\n static props = {};\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAGA,MAAM,QAAQ,GAAG,qBAAqB;MAOzB,WAAW,CAAA;AAIF,IAAA,KAAA;AAAyD,IAAA,KAAA;AAHvD,IAAA,IAAI;AACF,IAAA,MAAM;IAE9B,WAAA,CAAoB,KAA8B,EAA2B,KAAe,EAAA;QAAxE,IAAA,CAAA,KAAK,GAAL,KAAK;QAAoD,IAAA,CAAA,KAAK,GAAL,KAAK;IAAa;IAE/F,WAAW,GAAA;QACT,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CACpC,IAAI,WAAW,CAAC,yBAAyB,EAAE;AACzC,YAAA,MAAM,EAAE;gBACN,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,MAAM,EAAE,IAAI,CAAC,MAAM;AACpB,aAAA;AACF,SAAA,CAAC,CACH;IACH;IAEA,kBAAkB,GAAA;QAChB,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,IAAI,CA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';
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 };
1
+ export * from './public_api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-ng-common",
3
- "version": "20.0.1",
3
+ "version": "21.0.0",
4
4
  "description": "Common module for piral-ng.",
5
5
  "keywords": [],
6
6
  "author": "smapiot",
@@ -19,13 +19,13 @@
19
19
  "tslib": "^2.3.0"
20
20
  },
21
21
  "module": "fesm2022/piral-ng-common.mjs",
22
- "typings": "index.d.ts",
22
+ "typings": "types/piral-ng-common.d.ts",
23
23
  "exports": {
24
24
  "./package.json": {
25
25
  "default": "./package.json"
26
26
  },
27
27
  ".": {
28
- "types": "./index.d.ts",
28
+ "types": "./types/piral-ng-common.d.ts",
29
29
  "default": "./fesm2022/piral-ng-common.mjs"
30
30
  }
31
31
  },
@@ -0,0 +1,3 @@
1
+ exports.NgExtension = class {};
2
+ exports.SharedModule = class {};
3
+ exports.ResourceUrlPipe = class {};
@@ -0,0 +1,33 @@
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 };