@rxap/handlebars 12.0.6 → 13.0.0-next.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,2 @@
1
+ export * from './lib/handlebars.pipe';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2hhbmRsZWJhcnMvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9oYW5kbGViYXJzLnBpcGUnO1xuIl19
@@ -0,0 +1,29 @@
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: "13.2.3", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
10
+ HandlebarsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipe, name: "handlebars" });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", 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: "13.2.3", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
+ HandlebarsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
21
+ HandlebarsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", 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
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnhhcC1oYW5kbGViYXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGlicy9oYW5kbGViYXJzL3NyYy9yeGFwLWhhbmRsZWJhcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
@@ -7,9 +7,9 @@ class HandlebarsPipe {
7
7
  return compile(value)({ context });
8
8
  }
9
9
  }
10
- HandlebarsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
- HandlebarsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipe, name: "handlebars" });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipe, decorators: [{
10
+ HandlebarsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
+ HandlebarsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipe, name: "handlebars" });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipe, decorators: [{
13
13
  type: Pipe,
14
14
  args: [{
15
15
  name: 'handlebars'
@@ -17,10 +17,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
17
17
  }] });
18
18
  class HandlebarsPipeModule {
19
19
  }
20
- HandlebarsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- HandlebarsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
22
- HandlebarsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipeModule });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
20
+ HandlebarsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
+ HandlebarsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
22
+ HandlebarsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
24
24
  type: NgModule,
25
25
  args: [{
26
26
  declarations: [HandlebarsPipe],
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
33
33
  */
34
34
 
35
35
  export { HandlebarsPipe, HandlebarsPipeModule };
36
- //# sourceMappingURL=rxap-handlebars.js.map
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":";;;;MAUa,cAAc;IAEzB,SAAS,CAAC,KAAa,EAAE,OAAY;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;KACpC;;2GAJU,cAAc;yGAAd,cAAc;2FAAd,cAAc;kBAH1B,IAAI;mBAAC;oBACJ,IAAI,EAAE,YAAY;iBACnB;;MAaY,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAZpB,cAAc,aAAd,cAAc;kHAYd,oBAAoB;2FAApB,oBAAoB;kBAJhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,cAAc,CAAE;oBAChC,OAAO,EAAO,CAAE,cAAc,CAAE;iBACjC;;;ACrBD;;;;;;"}
@@ -1,29 +1,36 @@
1
+ import * as i0 from '@angular/core';
1
2
  import { Pipe, NgModule } from '@angular/core';
2
3
  import { compile } from 'handlebars';
3
- import * as i0 from "@angular/core";
4
- export class HandlebarsPipe {
4
+
5
+ class HandlebarsPipe {
5
6
  transform(value, context) {
6
7
  return compile(value)({ context });
7
8
  }
8
9
  }
9
- HandlebarsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
10
- HandlebarsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipe, name: "handlebars" });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipe, decorators: [{
10
+ HandlebarsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
+ HandlebarsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipe, name: "handlebars" });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipe, decorators: [{
12
13
  type: Pipe,
13
14
  args: [{
14
15
  name: 'handlebars'
15
16
  }]
16
17
  }] });
17
- export class HandlebarsPipeModule {
18
+ class HandlebarsPipeModule {
18
19
  }
19
- HandlebarsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
- HandlebarsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
21
- HandlebarsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipeModule });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
20
+ HandlebarsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
+ HandlebarsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
22
+ HandlebarsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: HandlebarsPipeModule, decorators: [{
23
24
  type: NgModule,
24
25
  args: [{
25
26
  declarations: [HandlebarsPipe],
26
27
  exports: [HandlebarsPipe]
27
28
  }]
28
29
  }] });
29
- //# sourceMappingURL=handlebars.pipe.js.map
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":";;;;MAUa,cAAc;IAEzB,SAAS,CAAC,KAAa,EAAE,OAAY;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;KACpC;;2GAJU,cAAc;yGAAd,cAAc;2FAAd,cAAc;kBAH1B,IAAI;mBAAC;oBACJ,IAAI,EAAE,YAAY;iBACnB;;MAaY,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAZpB,cAAc,aAAd,cAAc;kHAYd,oBAAoB;2FAApB,oBAAoB;kBAJhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,cAAc,CAAE;oBAChC,OAAO,EAAO,CAAE,cAAc,CAAE;iBACjC;;;ACrBD;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/handlebars",
3
- "version": "12.0.6",
3
+ "version": "13.0.0-next.0",
4
4
  "private": false,
5
5
  "author": "Merzough Münker",
6
6
  "homepage": "https://gitlab.com/rxap/packages/libs/handlebars",
@@ -17,7 +17,9 @@
17
17
  "description": "An angular wrapper package for handlebars.",
18
18
  "license": "MIT",
19
19
  "peerDependencies": {
20
- "@angular/core": "^12.0.1",
20
+ "@angular-devkit/schematics": "^13.2.4",
21
+ "@angular/core": "^13.2.3",
22
+ "@angular/platform-browser-dynamic": "^13.2.3",
21
23
  "handlebars": "^4.7.7"
22
24
  },
23
25
  "schematics": "./collection.json",
@@ -35,14 +37,27 @@
35
37
  "save": "dependencies"
36
38
  },
37
39
  "dependencies": {
38
- "@rxap/schematics-utilities": "^12.1.0",
39
- "tslib": "^2.2.0"
40
+ "@rxap/schematics-utilities": "^13.0.0-next.0",
41
+ "tslib": "^2.3.1"
40
42
  },
41
- "main": "bundles/rxap-handlebars.umd.js",
42
- "module": "fesm2015/rxap-handlebars.js",
43
- "es2015": "fesm2015/rxap-handlebars.js",
44
- "esm2015": "esm2015/rxap-handlebars.js",
45
- "fesm2015": "fesm2015/rxap-handlebars.js",
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",
46
48
  "typings": "rxap-handlebars.d.ts",
49
+ "exports": {
50
+ "./package.json": {
51
+ "default": "./package.json"
52
+ },
53
+ ".": {
54
+ "types": "./rxap-handlebars.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"
60
+ }
61
+ },
47
62
  "sideEffects": false
48
63
  }
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const schematics_utilities_1 = require("@rxap/schematics-utilities");
4
4
  function default_1() {
5
- return schematics_utilities_1.InstallPeerDependencies();
5
+ return (0, schematics_utilities_1.InstallPeerDependencies)();
6
6
  }
7
7
  exports.default = default_1;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/handlebars/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,8CAAuB,EAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/handlebars/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,IAAA,8CAAuB,GAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
@@ -1,71 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('handlebars')) :
3
- typeof define === 'function' && define.amd ? define('@rxap/handlebars', ['exports', '@angular/core', 'handlebars'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.rxap = global.rxap || {}, global.rxap.handlebars = {}), global.ng.core, global.handlebars));
5
- }(this, (function (exports, i0, handlebars) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () {
17
- return e[k];
18
- }
19
- });
20
- }
21
- });
22
- }
23
- n['default'] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
-
29
- var HandlebarsPipe = /** @class */ (function () {
30
- function HandlebarsPipe() {
31
- }
32
- HandlebarsPipe.prototype.transform = function (value, context) {
33
- return handlebars.compile(value)({ context: context });
34
- };
35
- return HandlebarsPipe;
36
- }());
37
- HandlebarsPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: HandlebarsPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
38
- HandlebarsPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: HandlebarsPipe, name: "handlebars" });
39
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: HandlebarsPipe, decorators: [{
40
- type: i0.Pipe,
41
- args: [{
42
- name: 'handlebars'
43
- }]
44
- }] });
45
- var HandlebarsPipeModule = /** @class */ (function () {
46
- function HandlebarsPipeModule() {
47
- }
48
- return HandlebarsPipeModule;
49
- }());
50
- HandlebarsPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: HandlebarsPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
51
- HandlebarsPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: HandlebarsPipeModule, declarations: [HandlebarsPipe], exports: [HandlebarsPipe] });
52
- HandlebarsPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: HandlebarsPipeModule });
53
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: HandlebarsPipeModule, decorators: [{
54
- type: i0.NgModule,
55
- args: [{
56
- declarations: [HandlebarsPipe],
57
- exports: [HandlebarsPipe]
58
- }]
59
- }] });
60
-
61
- /**
62
- * Generated bundle index. Do not edit.
63
- */
64
-
65
- exports.HandlebarsPipe = HandlebarsPipe;
66
- exports.HandlebarsPipeModule = HandlebarsPipeModule;
67
-
68
- Object.defineProperty(exports, '__esModule', { value: true });
69
-
70
- })));
71
- //# sourceMappingURL=rxap-handlebars.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rxap-handlebars.umd.js","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":["compile","Pipe","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAUA;;QAEE,kCAAS,GAAT,UAAU,KAAa,EAAE,OAAY;YACnC,OAAOA,kBAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,SAAA,EAAE,CAAC,CAAC;SACpC;;;qIAJU,cAAc;mIAAd,cAAc;qHAAd,cAAc;sBAH1BC,OAAI;uBAAC;wBACJ,IAAI,EAAE,YAAY;qBACnB;;;QAaD;;;;2IAAa,oBAAoB;4IAApB,oBAAoB,iBAZpB,cAAc,aAAd,cAAc;4IAYd,oBAAoB;qHAApB,oBAAoB;sBAJhCC,WAAQ;uBAAC;wBACR,YAAY,EAAE,CAAE,cAAc,CAAE;wBAChC,OAAO,EAAO,CAAE,cAAc,CAAE;qBACjC;;;ICrBD;;;;;;;;;;;;;"}
package/esm2015/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './lib/handlebars.pipe';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/handlebars/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC","sourcesContent":["export * from './lib/handlebars.pipe';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"handlebars.pipe.js","sourceRoot":"","sources":["../../../../../libs/handlebars/src/lib/handlebars.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EAEJ,QAAQ,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;;AAKrC,MAAM,OAAO,cAAc;IAEzB,SAAS,CAAC,KAAa,EAAE,OAAY;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;IACrC,CAAC;;2GAJU,cAAc;yGAAd,cAAc;2FAAd,cAAc;kBAH1B,IAAI;mBAAC;oBACJ,IAAI,EAAE,YAAY;iBACnB;;AAaD,MAAM,OAAO,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAZpB,cAAc,aAAd,cAAc;kHAYd,oBAAoB;2FAApB,oBAAoB;kBAJhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,cAAc,CAAE;oBAChC,OAAO,EAAO,CAAE,cAAc,CAAE;iBACjC","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"]}
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=rxap-handlebars.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rxap-handlebars.js","sourceRoot":"","sources":["../../../../libs/handlebars/src/rxap-handlebars.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rxap-handlebars.js","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;IAEzB,SAAS,CAAC,KAAa,EAAE,OAAY;QACnC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;KACpC;;2GAJU,cAAc;yGAAd,cAAc;2FAAd,cAAc;kBAH1B,IAAI;mBAAC;oBACJ,IAAI,EAAE,YAAY;iBACnB;;MAaY,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAZpB,cAAc,aAAd,cAAc;kHAYd,oBAAoB;2FAApB,oBAAoB;kBAJhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,cAAc,CAAE;oBAChC,OAAO,EAAO,CAAE,cAAc,CAAE;iBACjC;;;ACrBD;;;;;;"}