@rxap/handlebars 16.0.0-dev.0 → 16.0.0-dev.2

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.
@@ -1,4 +1,4 @@
1
- import { Pipe, NgModule } from '@angular/core';
1
+ import { Pipe } from '@angular/core';
2
2
  import { compile } from 'handlebars';
3
3
  import * as i0 from "@angular/core";
4
4
  class HandlebarsPipe {
@@ -6,26 +6,14 @@ class HandlebarsPipe {
6
6
  return compile(value)({ context });
7
7
  }
8
8
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, name: "handlebars" }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, isStandalone: true, name: "handlebars" }); }
10
10
  }
11
11
  export { HandlebarsPipe };
12
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, decorators: [{
13
13
  type: Pipe,
14
14
  args: [{
15
- name: 'handlebars'
15
+ name: 'handlebars',
16
+ standalone: true
16
17
  }]
17
18
  }] });
18
- class HandlebarsPipeModule {
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
20
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] }); }
21
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipeModule }); }
22
- }
23
- export { HandlebarsPipeModule };
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
25
- type: NgModule,
26
- args: [{
27
- declarations: [HandlebarsPipe],
28
- exports: [HandlebarsPipe]
29
- }]
30
- }] });
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlYmFycy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9oYW5kbGViYXJzL3NyYy9saWIvaGFuZGxlYmFycy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxJQUFJLEVBRUosUUFBUSxFQUNULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxZQUFZLENBQUM7O0FBRXJDLE1BR2EsY0FBYztJQUV6QixTQUFTLENBQUMsS0FBYSxFQUFFLE9BQVk7UUFDbkMsT0FBTyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxPQUFPLEVBQUUsQ0FBQyxDQUFDO0lBQ3JDLENBQUM7OEdBSlUsY0FBYzs0R0FBZCxjQUFjOztTQUFkLGNBQWM7MkZBQWQsY0FBYztrQkFIMUIsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsWUFBWTtpQkFDbkI7O0FBU0QsTUFJYSxvQkFBb0I7OEdBQXBCLG9CQUFvQjsrR0FBcEIsb0JBQW9CLGlCQVpwQixjQUFjLGFBQWQsY0FBYzsrR0FZZCxvQkFBb0I7O1NBQXBCLG9CQUFvQjsyRkFBcEIsb0JBQW9CO2tCQUpoQyxRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFFLGNBQWMsQ0FBRTtvQkFDaEMsT0FBTyxFQUFPLENBQUUsY0F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8sQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLE9BQU8sRUFBRSxDQUFDLENBQUM7SUFDckMsQ0FBQzs4R0FKVSxjQUFjOzRHQUFkLGNBQWM7O1NBQWQsY0FBYzsyRkFBZCxjQUFjO2tCQUoxQixJQUFJO21CQUFDO29CQUNKLElBQUksRUFBUSxZQUFZO29CQUN4QixVQUFVLEVBQUUsSUFBSTtpQkFDakIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBQaXBlLFxuICBQaXBlVHJhbnNmb3JtXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgY29tcGlsZSB9IGZyb20gJ2hhbmRsZWJhcnMnO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICAgICAgICdoYW5kbGViYXJzJyxcbiAgc3RhbmRhbG9uZTogdHJ1ZVxufSlcbmV4cG9ydCBjbGFzcyBIYW5kbGViYXJzUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuXG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nLCBjb250ZXh0OiBhbnkpOiBzdHJpbmcge1xuICAgIHJldHVybiBjb21waWxlKHZhbHVlKSh7IGNvbnRleHQgfSk7XG4gIH1cblxufVxuXG5cbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Pipe, NgModule } from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
3
  import { compile } from 'handlebars';
4
4
 
5
5
  class HandlebarsPipe {
@@ -7,24 +7,13 @@ class HandlebarsPipe {
7
7
  return compile(value)({ context });
8
8
  }
9
9
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, name: "handlebars" }); }
10
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, isStandalone: true, name: "handlebars" }); }
11
11
  }
12
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, decorators: [{
13
13
  type: Pipe,
14
14
  args: [{
15
- name: 'handlebars'
16
- }]
17
- }] });
18
- class HandlebarsPipeModule {
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
20
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] }); }
21
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipeModule }); }
22
- }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
24
- type: NgModule,
25
- args: [{
26
- declarations: [HandlebarsPipe],
27
- exports: [HandlebarsPipe]
15
+ name: 'handlebars',
16
+ standalone: true
28
17
  }]
29
18
  }] });
30
19
 
@@ -32,5 +21,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
32
21
  * Generated bundle index. Do not edit.
33
22
  */
34
23
 
35
- export { HandlebarsPipe, HandlebarsPipeModule };
24
+ export { HandlebarsPipe };
36
25
  //# sourceMappingURL=rxap-handlebars.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"rxap-handlebars.mjs","sources":["../../../../libs/handlebars/src/lib/handlebars.pipe.ts","../../../../libs/handlebars/src/rxap-handlebars.ts"],"sourcesContent":["import {\n Pipe,\n PipeTransform,\n NgModule\n} from '@angular/core';\nimport { compile } from 'handlebars';\n\n@Pipe({\n name: 'handlebars'\n})\nexport class HandlebarsPipe implements PipeTransform {\n\n transform(value: string, context: any): string {\n return compile(value)({ context });\n }\n\n}\n\n@NgModule({\n declarations: [ HandlebarsPipe ],\n exports: [ HandlebarsPipe ]\n})\nexport class HandlebarsPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAOA,MAGa,cAAc,CAAA;IAEzB,SAAS,CAAC,KAAa,EAAE,OAAY,EAAA;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;KACpC;8GAJU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAd,cAAc,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,YAAY;AACnB,iBAAA,CAAA;;AASD,MAIa,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAApB,oBAAoB,EAAA,YAAA,EAAA,CAZpB,cAAc,CAAA,EAAA,OAAA,EAAA,CAAd,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;+GAYd,oBAAoB,EAAA,CAAA,CAAA,EAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAE,cAAc,CAAE;oBAChC,OAAO,EAAO,CAAE,cAAc,CAAE;AACjC,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
1
+ {"version":3,"file":"rxap-handlebars.mjs","sources":["../../../../libs/handlebars/src/lib/handlebars.pipe.ts","../../../../libs/handlebars/src/rxap-handlebars.ts"],"sourcesContent":["import {\n Pipe,\n PipeTransform\n} from '@angular/core';\nimport { compile } from 'handlebars';\n\n@Pipe({\n name: 'handlebars',\n standalone: true\n})\nexport class HandlebarsPipe implements PipeTransform {\n\n transform(value: string, context: any): string {\n return compile(value)({ context });\n }\n\n}\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAMA,MAIa,cAAc,CAAA;IAEzB,SAAS,CAAC,KAAa,EAAE,OAAY,EAAA;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;KACpC;8GAJU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAQ,YAAY;AACxB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
@@ -3,10 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class HandlebarsPipe implements PipeTransform {
4
4
  transform(value: string, context: any): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<HandlebarsPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<HandlebarsPipe, "handlebars", false>;
7
- }
8
- export declare class HandlebarsPipeModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<HandlebarsPipeModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<HandlebarsPipeModule, [typeof HandlebarsPipe], never, [typeof HandlebarsPipe]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<HandlebarsPipeModule>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<HandlebarsPipe, "handlebars", true>;
12
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/handlebars",
3
- "version": "16.0.0-dev.0",
3
+ "version": "16.0.0-dev.2",
4
4
  "private": false,
5
5
  "author": "Merzough Münker",
6
6
  "homepage": "https://gitlab.com/rxap/packages/libs/handlebars",
@@ -37,7 +37,7 @@
37
37
  "save": "dependencies"
38
38
  },
39
39
  "dependencies": {
40
- "@rxap/schematics-utilities": "^16.0.0-dev.0",
40
+ "@rxap/schematics-utilities": "^16.0.0-dev.1",
41
41
  "tslib": "^2.3.1"
42
42
  },
43
43
  "module": "fesm2022/rxap-handlebars.mjs",