@rxap/handlebars 14.0.2 → 16.0.0-dev.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.
@@ -0,0 +1,31 @@
1
+ import { Pipe, NgModule } from '@angular/core';
2
+ import { compile } from 'handlebars';
3
+ import * as i0 from "@angular/core";
4
+ class HandlebarsPipe {
5
+ transform(value, context) {
6
+ return compile(value)({ context });
7
+ }
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" }); }
10
+ }
11
+ export { HandlebarsPipe };
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, decorators: [{
13
+ type: Pipe,
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
+ 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlYmFycy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9oYW5kbGViYXJzL3NyYy9saWIvaGFuZGxlYmFycy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxJQUFJLEVBRUosUUFBUSxFQUNULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxZQUFZLENBQUM7O0FBRXJDLE1BR2EsY0FBYztJQUV6QixTQUFTLENBQUMsS0FBYSxFQUFFLE9BQVk7UUFDbkMsT0FBTyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxPQUFPLEVBQUUsQ0FBQyxDQUFDO0lBQ3JDLENBQUM7OEdBSlUsY0FBYzs0R0FBZCxjQUFjOztTQUFkLGNBQWM7MkZBQWQsY0FBYztrQkFIMUIsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsWUFBWTtpQkFDbkI7O0FBU0QsTUFJYSxvQkFBb0I7OEdBQXBCLG9CQUFvQjsrR0FBcEIsb0JBQW9CLGlCQVpwQixjQUFjLGFBQWQsY0FBYzsrR0FZZCxvQkFBb0I7O1NBQXBCLG9CQUFvQjsyRkFBcEIsb0JBQW9CO2tCQUpoQyxRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFFLGNBQWMsQ0FBRTtvQkFDaEMsT0FBTyxFQUFPLENBQUUsY0FBYyxDQUFFO2lCQUNqQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIFBpcGUsXG4gIFBpcGVUcmFuc2Zvcm0sXG4gIE5nTW9kdWxlXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgY29tcGlsZSB9IGZyb20gJ2hhbmRsZWJhcnMnO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICdoYW5kbGViYXJzJ1xufSlcbmV4cG9ydCBjbGFzcyBIYW5kbGViYXJzUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuXG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nLCBjb250ZXh0OiBhbnkpOiBzdHJpbmcge1xuICAgIHJldHVybiBjb21waWxlKHZhbHVlKSh7IGNvbnRleHQgfSk7XG4gIH1cblxufVxuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFsgSGFuZGxlYmFyc1BpcGUgXSxcbiAgZXhwb3J0czogICAgICBbIEhhbmRsZWJhcnNQaXBlIF1cbn0pXG5leHBvcnQgY2xhc3MgSGFuZGxlYmFyc1BpcGVNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe, NgModule } from '@angular/core';
3
+ import { compile } from 'handlebars';
4
+
5
+ class HandlebarsPipe {
6
+ transform(value, context) {
7
+ return compile(value)({ context });
8
+ }
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" }); }
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HandlebarsPipe, decorators: [{
13
+ type: Pipe,
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]
28
+ }]
29
+ }] });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { HandlebarsPipe, HandlebarsPipeModule };
36
+ //# sourceMappingURL=rxap-handlebars.mjs.map
@@ -0,0 +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;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/handlebars",
3
- "version": "14.0.2",
3
+ "version": "16.0.0-dev.0",
4
4
  "private": false,
5
5
  "author": "Merzough Münker",
6
6
  "homepage": "https://gitlab.com/rxap/packages/libs/handlebars",
@@ -17,9 +17,9 @@
17
17
  "description": "An angular wrapper package for handlebars.",
18
18
  "license": "MIT",
19
19
  "peerDependencies": {
20
- "@angular-devkit/schematics": "^14.2.3",
21
- "@angular/core": "^14.2.2",
22
- "@angular/platform-browser-dynamic": "^14.2.2",
20
+ "@angular-devkit/schematics": "^15.0.3",
21
+ "@angular/core": "^16.0.2",
22
+ "@angular/platform-browser-dynamic": "^16.0.2",
23
23
  "handlebars": "^4.7.7"
24
24
  },
25
25
  "schematics": "./collection.json",
@@ -37,14 +37,10 @@
37
37
  "save": "dependencies"
38
38
  },
39
39
  "dependencies": {
40
- "@rxap/schematics-utilities": "^14.0.0",
40
+ "@rxap/schematics-utilities": "^16.0.0-dev.0",
41
41
  "tslib": "^2.3.1"
42
42
  },
43
- "module": "fesm2015/rxap-handlebars.mjs",
44
- "es2020": "fesm2020/rxap-handlebars.mjs",
45
- "esm2020": "esm2020/rxap-handlebars.mjs",
46
- "fesm2020": "fesm2020/rxap-handlebars.mjs",
47
- "fesm2015": "fesm2015/rxap-handlebars.mjs",
43
+ "module": "fesm2022/rxap-handlebars.mjs",
48
44
  "typings": "index.d.ts",
49
45
  "exports": {
50
46
  "./package.json": {
@@ -52,11 +48,9 @@
52
48
  },
53
49
  ".": {
54
50
  "types": "./index.d.ts",
55
- "esm2020": "./esm2020/rxap-handlebars.mjs",
56
- "es2020": "./fesm2020/rxap-handlebars.mjs",
57
- "es2015": "./fesm2015/rxap-handlebars.mjs",
58
- "node": "./fesm2015/rxap-handlebars.mjs",
59
- "default": "./fesm2020/rxap-handlebars.mjs"
51
+ "esm2022": "./esm2022/rxap-handlebars.mjs",
52
+ "esm": "./esm2022/rxap-handlebars.mjs",
53
+ "default": "./fesm2022/rxap-handlebars.mjs"
60
54
  }
61
55
  },
62
56
  "sideEffects": false
@@ -1,29 +0,0 @@
1
- import { Pipe, NgModule } from '@angular/core';
2
- import { compile } from 'handlebars';
3
- import * as i0 from "@angular/core";
4
- export class HandlebarsPipe {
5
- transform(value, context) {
6
- return compile(value)({ context });
7
- }
8
- }
9
- HandlebarsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
10
- HandlebarsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, name: "handlebars" });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, decorators: [{
12
- type: Pipe,
13
- args: [{
14
- name: 'handlebars'
15
- }]
16
- }] });
17
- export class HandlebarsPipeModule {
18
- }
19
- HandlebarsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
- HandlebarsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
21
- HandlebarsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
23
- type: NgModule,
24
- args: [{
25
- declarations: [HandlebarsPipe],
26
- exports: [HandlebarsPipe]
27
- }]
28
- }] });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlYmFycy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9oYW5kbGViYXJzL3NyYy9saWIvaGFuZGxlYmFycy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxJQUFJLEVBRUosUUFBUSxFQUNULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxZQUFZLENBQUM7O0FBS3JDLE1BQU0sT0FBTyxjQUFjO0lBRXpCLFNBQVMsQ0FBQyxLQUFhLEVBQUUsT0FBWTtRQUNuQyxPQUFPLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLE9BQU8sRUFBRSxDQUFDLENBQUM7SUFDckMsQ0FBQzs7MkdBSlUsY0FBYzt5R0FBZCxjQUFjOzJGQUFkLGNBQWM7a0JBSDFCLElBQUk7bUJBQUM7b0JBQ0osSUFBSSxFQUFFLFlBQVk7aUJBQ25COztBQWFELE1BQU0sT0FBTyxvQkFBb0I7O2lIQUFwQixvQkFBb0I7a0hBQXBCLG9CQUFvQixpQkFacEIsY0FBYyxhQUFkLGNBQWM7a0hBWWQsb0JBQW9COzJGQUFwQixvQkFBb0I7a0JBSmhDLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUUsY0FBYyxDQUFFO29CQUNoQyxPQUFPLEVBQU8sQ0FBRSxjQUFjLENBQUU7aUJBQ2pDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgUGlwZSxcbiAgUGlwZVRyYW5zZm9ybSxcbiAgTmdNb2R1bGVcbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBjb21waWxlIH0gZnJvbSAnaGFuZGxlYmFycyc7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ2hhbmRsZWJhcnMnXG59KVxuZXhwb3J0IGNsYXNzIEhhbmRsZWJhcnNQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG5cbiAgdHJhbnNmb3JtKHZhbHVlOiBzdHJpbmcsIGNvbnRleHQ6IGFueSk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGNvbXBpbGUodmFsdWUpKHsgY29udGV4dCB9KTtcbiAgfVxuXG59XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogWyBIYW5kbGViYXJzUGlwZSBdLFxuICBleHBvcnRzOiAgICAgIFsgSGFuZGxlYmFyc1BpcGUgXVxufSlcbmV4cG9ydCBjbGFzcyBIYW5kbGViYXJzUGlwZU1vZHVsZSB7fVxuIl19
@@ -1,36 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe, NgModule } from '@angular/core';
3
- import { compile } from 'handlebars';
4
-
5
- class HandlebarsPipe {
6
- transform(value, context) {
7
- return compile(value)({ context });
8
- }
9
- }
10
- HandlebarsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
- HandlebarsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, name: "handlebars" });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, decorators: [{
13
- type: Pipe,
14
- args: [{
15
- name: 'handlebars'
16
- }]
17
- }] });
18
- class HandlebarsPipeModule {
19
- }
20
- HandlebarsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- HandlebarsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
22
- HandlebarsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
24
- type: NgModule,
25
- args: [{
26
- declarations: [HandlebarsPipe],
27
- exports: [HandlebarsPipe]
28
- }]
29
- }] });
30
-
31
- /**
32
- * Generated bundle index. Do not edit.
33
- */
34
-
35
- export { HandlebarsPipe, HandlebarsPipeModule };
36
- //# sourceMappingURL=rxap-handlebars.mjs.map
@@ -1 +0,0 @@
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":";;;;MAUa,cAAc,CAAA;IAEzB,SAAS,CAAC,KAAa,EAAE,OAAY,EAAA;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;KACpC;;2GAJU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAd,cAAc,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,YAAY;iBACnB,CAAA;;MAaY,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAApB,oBAAoB,EAAA,YAAA,EAAA,CAZpB,cAAc,CAAA,EAAA,OAAA,EAAA,CAAd,cAAc,CAAA,EAAA,CAAA,CAAA;kHAYd,oBAAoB,EAAA,CAAA,CAAA;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;iBACjC,CAAA;;;ACrBD;;AAEG;;;;"}
@@ -1,36 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe, NgModule } from '@angular/core';
3
- import { compile } from 'handlebars';
4
-
5
- class HandlebarsPipe {
6
- transform(value, context) {
7
- return compile(value)({ context });
8
- }
9
- }
10
- HandlebarsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
- HandlebarsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, name: "handlebars" });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipe, decorators: [{
13
- type: Pipe,
14
- args: [{
15
- name: 'handlebars'
16
- }]
17
- }] });
18
- class HandlebarsPipeModule {
19
- }
20
- HandlebarsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- HandlebarsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
22
- HandlebarsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
24
- type: NgModule,
25
- args: [{
26
- declarations: [HandlebarsPipe],
27
- exports: [HandlebarsPipe]
28
- }]
29
- }] });
30
-
31
- /**
32
- * Generated bundle index. Do not edit.
33
- */
34
-
35
- export { HandlebarsPipe, HandlebarsPipeModule };
36
- //# sourceMappingURL=rxap-handlebars.mjs.map
@@ -1 +0,0 @@
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":";;;;MAUa,cAAc,CAAA;IAEzB,SAAS,CAAC,KAAa,EAAE,OAAY,EAAA;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;KACpC;;2GAJU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAd,cAAc,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,YAAY;AACnB,iBAAA,CAAA;;MAaY,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAApB,oBAAoB,EAAA,YAAA,EAAA,CAZpB,cAAc,CAAA,EAAA,OAAA,EAAA,CAAd,cAAc,CAAA,EAAA,CAAA,CAAA;kHAYd,oBAAoB,EAAA,CAAA,CAAA;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;;;;"}
File without changes
File without changes