ngx-mimic 0.0.1 → 0.0.4

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.
@@ -2,8 +2,7 @@ import { Component } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class NgxMimicComponent {
4
4
  constructor() { }
5
- ngOnInit() {
6
- }
5
+ ngOnInit() { }
7
6
  }
8
7
  NgxMimicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
8
  NgxMimicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: NgxMimicComponent, selector: "lib-ngx-mimic", ngImport: i0, template: `
@@ -23,4 +22,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImpor
23
22
  styles: []
24
23
  }]
25
24
  }], ctorParameters: function () { return []; } });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW1pbWljLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1taW1pYy9zcmMvbGliL25neC1taW1pYy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQzs7QUFZbEQsTUFBTSxPQUFPLGlCQUFpQjtJQUU1QixnQkFBZ0IsQ0FBQztJQUVqQixRQUFRO0lBQ1IsQ0FBQzs7OEdBTFUsaUJBQWlCO2tHQUFqQixpQkFBaUIscURBUmxCOzs7O0dBSVQ7MkZBSVUsaUJBQWlCO2tCQVY3QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxlQUFlO29CQUN6QixRQUFRLEVBQUU7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bXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2xpYi1uZ3gtbWltaWMnLFxuICB0ZW1wbGF0ZTogYFxuICAgIDxwPlxuICAgICAgbmd4LW1pbWljIHdvcmtzIVxuICAgIDwvcD5cbiAgYCxcbiAgc3R5bGVzOiBbXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgTmd4TWltaWNDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7fVxuXG59XG4iXX0=
@@ -2,6 +2,12 @@ import { Injectable } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class NgxMimicService {
4
4
  constructor() { }
5
+ getVisualIdentity() {
6
+ return this.visualIdentity;
7
+ }
8
+ setVisualIdentity(visualIdentity) {
9
+ this.visualIdentity = visualIdentity;
10
+ }
5
11
  }
6
12
  NgxMimicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7
13
  NgxMimicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicService, providedIn: 'root' });
@@ -11,4 +17,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImpor
11
17
  providedIn: 'root'
12
18
  }]
13
19
  }], ctorParameters: function () { return []; } });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW1pbWljLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbWltaWMvc3JjL2xpYi9uZ3gtbWltaWMuc2VydmljZS50cyJdLCJ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gModule } from '@angular/core';
3
3
 
4
4
  class NgxMimicService {
5
5
  constructor() { }
6
+ getVisualIdentity() {
7
+ return this.visualIdentity;
8
+ }
9
+ setVisualIdentity(visualIdentity) {
10
+ this.visualIdentity = visualIdentity;
11
+ }
6
12
  }
7
13
  NgxMimicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8
14
  NgxMimicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicService, providedIn: 'root' });
@@ -12,11 +18,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImpor
12
18
  providedIn: 'root'
13
19
  }]
14
20
  }], ctorParameters: function () { return []; } });
21
+ class VisualIdentity {
22
+ }
15
23
 
16
24
  class NgxMimicComponent {
17
25
  constructor() { }
18
- ngOnInit() {
19
- }
26
+ ngOnInit() { }
20
27
  }
21
28
  NgxMimicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
29
  NgxMimicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: NgxMimicComponent, selector: "lib-ngx-mimic", ngImport: i0, template: `
@@ -63,5 +70,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImpor
63
70
  * Generated bundle index. Do not edit.
64
71
  */
65
72
 
66
- export { NgxMimicComponent, NgxMimicModule, NgxMimicService };
73
+ export { NgxMimicComponent, NgxMimicModule, NgxMimicService, VisualIdentity };
67
74
  //# sourceMappingURL=ngx-mimic.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-mimic.mjs","sources":["../../../projects/ngx-mimic/src/lib/ngx-mimic.service.ts","../../../projects/ngx-mimic/src/lib/ngx-mimic.component.ts","../../../projects/ngx-mimic/src/lib/ngx-mimic.module.ts","../../../projects/ngx-mimic/src/public-api.ts","../../../projects/ngx-mimic/src/ngx-mimic.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NgxMimicService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-ngx-mimic',\n template: `\n <p>\n ngx-mimic works!\n </p>\n `,\n styles: [\n ]\n})\nexport class NgxMimicComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { NgxMimicComponent } from './ngx-mimic.component';\n\n\n\n@NgModule({\n declarations: [\n NgxMimicComponent\n ],\n imports: [\n ],\n exports: [\n NgxMimicComponent\n ]\n})\nexport class NgxMimicModule { }\n","/*\n * Public API Surface of ngx-mimic\n */\n\nexport * from './lib/ngx-mimic.service';\nexport * from './lib/ngx-mimic.component';\nexport * from './lib/ngx-mimic.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,eAAe,CAAA;AAE1B,IAAA,WAAA,GAAA,GAAiB;;4GAFN,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAFd,MAAM,EAAA,CAAA,CAAA;2FAEP,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;iBACnB,CAAA;;;MCQY,iBAAiB,CAAA;AAE5B,IAAA,WAAA,GAAA,GAA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AAiB;AAClB,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-mimic.mjs","sources":["../../../projects/ngx-mimic/src/lib/ngx-mimic.service.ts","../../../projects/ngx-mimic/src/lib/ngx-mimic.component.ts","../../../projects/ngx-mimic/src/lib/ngx-mimic.module.ts","../../../projects/ngx-mimic/src/public-api.ts","../../../projects/ngx-mimic/src/ngx-mimic.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\n\nexport class NgxMimicService {\n visualIdentity: VisualIdentity | undefined;\n\n constructor() { }\n\n getVisualIdentity(): VisualIdentity | undefined {\n return this.visualIdentity;\n }\n\n setVisualIdentity(visualIdentity: VisualIdentity): void {\n this.visualIdentity = visualIdentity;\n }\n}\n\nexport class VisualIdentity {\n id: number | undefined;\n theme: number | undefined;\n baseColor: string | undefined;\n primaryColor: string | undefined;\n callToActionColor: string | undefined;\n textColor: string | undefined;\n logoFile: string | undefined;\n logo: any | undefined;\n}","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-ngx-mimic',\n template: `\n <p>\n ngx-mimic works!\n </p>\n `,\n styles: [\n ]\n})\nexport class NgxMimicComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {}\n\n}\n","import { NgModule } from '@angular/core';\nimport { NgxMimicComponent } from './ngx-mimic.component';\n\n\n\n@NgModule({\n declarations: [\n NgxMimicComponent\n ],\n imports: [\n ],\n exports: [\n NgxMimicComponent\n ]\n})\nexport class NgxMimicModule { }\n","/*\n * Public API Surface of ngx-mimic\n */\n\nexport * from './lib/ngx-mimic.service';\nexport * from './lib/ngx-mimic.component';\nexport * from './lib/ngx-mimic.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAMa,eAAe,CAAA;AAG1B,IAAA,WAAA,GAAA,GAAiB;IAEjB,iBAAiB,GAAA;QACf,OAAO,IAAI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CIY,cAAc,CAAA;;2GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4GAAd,cAAc,EAAA,YAAA,EAAA,CARvB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAKjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAGR,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YANhB,EACR,CAAA,EAAA,CAAA,CAAA;2FAKU,cAAc,EAAA,UAAA,EAAA,CAAA;kBAV1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;AAClB,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -3,6 +3,12 @@ import { Injectable, Component, NgModule } from '@angular/core';
3
3
 
4
4
  class NgxMimicService {
5
5
  constructor() { }
6
+ getVisualIdentity() {
7
+ return this.visualIdentity;
8
+ }
9
+ setVisualIdentity(visualIdentity) {
10
+ this.visualIdentity = visualIdentity;
11
+ }
6
12
  }
7
13
  NgxMimicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8
14
  NgxMimicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicService, providedIn: 'root' });
@@ -12,11 +18,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImpor
12
18
  providedIn: 'root'
13
19
  }]
14
20
  }], ctorParameters: function () { return []; } });
21
+ class VisualIdentity {
22
+ }
15
23
 
16
24
  class NgxMimicComponent {
17
25
  constructor() { }
18
- ngOnInit() {
19
- }
26
+ ngOnInit() { }
20
27
  }
21
28
  NgxMimicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: NgxMimicComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
29
  NgxMimicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: NgxMimicComponent, selector: "lib-ngx-mimic", ngImport: i0, template: `
@@ -63,5 +70,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImpor
63
70
  * Generated bundle index. Do not edit.
64
71
  */
65
72
 
66
- export { NgxMimicComponent, NgxMimicModule, NgxMimicService };
73
+ export { NgxMimicComponent, NgxMimicModule, NgxMimicService, VisualIdentity };
67
74
  //# sourceMappingURL=ngx-mimic.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-mimic.mjs","sources":["../../../projects/ngx-mimic/src/lib/ngx-mimic.service.ts","../../../projects/ngx-mimic/src/lib/ngx-mimic.component.ts","../../../projects/ngx-mimic/src/lib/ngx-mimic.module.ts","../../../projects/ngx-mimic/src/public-api.ts","../../../projects/ngx-mimic/src/ngx-mimic.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NgxMimicService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-ngx-mimic',\n template: `\n <p>\n ngx-mimic works!\n </p>\n `,\n styles: [\n ]\n})\nexport class NgxMimicComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { NgxMimicComponent } from './ngx-mimic.component';\n\n\n\n@NgModule({\n declarations: [\n NgxMimicComponent\n ],\n imports: [\n ],\n exports: [\n NgxMimicComponent\n ]\n})\nexport class NgxMimicModule { }\n","/*\n * Public API Surface of ngx-mimic\n */\n\nexport * from './lib/ngx-mimic.service';\nexport * from './lib/ngx-mimic.component';\nexport * from './lib/ngx-mimic.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,eAAe,CAAA;AAE1B,IAAA,WAAA,GAAA,GAAiB;;4GAFN,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAFd,MAAM,EAAA,CAAA,CAAA;2FAEP,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCQY,iBAAiB,CAAA;AAE5B,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;8GALU,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,EARlB,QAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;2FAIU,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAV7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,QAAQ,EAAE,CAAA;;;;AAIT,EAAA,CAAA;AACD,oBAAA,MAAM,EAAE,EACP;AACF,iBAAA,CAAA;;;MCIY,cAAc,CAAA;;2GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4GAAd,cAAc,EAAA,YAAA,EAAA,CARvB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAKjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAGR,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YANhB,EACR,CAAA,EAAA,CAAA,CAAA;2FAKU,cAAc,EAAA,UAAA,EAAA,CAAA;kBAV1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;AAClB,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-mimic.mjs","sources":["../../../projects/ngx-mimic/src/lib/ngx-mimic.service.ts","../../../projects/ngx-mimic/src/lib/ngx-mimic.component.ts","../../../projects/ngx-mimic/src/lib/ngx-mimic.module.ts","../../../projects/ngx-mimic/src/public-api.ts","../../../projects/ngx-mimic/src/ngx-mimic.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\n\nexport class NgxMimicService {\n visualIdentity: VisualIdentity | undefined;\n\n constructor() { }\n\n getVisualIdentity(): VisualIdentity | undefined {\n return this.visualIdentity;\n }\n\n setVisualIdentity(visualIdentity: VisualIdentity): void {\n this.visualIdentity = visualIdentity;\n }\n}\n\nexport class VisualIdentity {\n id: number | undefined;\n theme: number | undefined;\n baseColor: string | undefined;\n primaryColor: string | undefined;\n callToActionColor: string | undefined;\n textColor: string | undefined;\n logoFile: string | undefined;\n logo: any | undefined;\n}","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-ngx-mimic',\n template: `\n <p>\n ngx-mimic works!\n </p>\n `,\n styles: [\n ]\n})\nexport class NgxMimicComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {}\n\n}\n","import { NgModule } from '@angular/core';\nimport { NgxMimicComponent } from './ngx-mimic.component';\n\n\n\n@NgModule({\n declarations: [\n NgxMimicComponent\n ],\n imports: [\n ],\n exports: [\n NgxMimicComponent\n ]\n})\nexport class NgxMimicModule { }\n","/*\n * Public API Surface of ngx-mimic\n */\n\nexport * from './lib/ngx-mimic.service';\nexport * from './lib/ngx-mimic.component';\nexport * from './lib/ngx-mimic.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAMa,eAAe,CAAA;AAG1B,IAAA,WAAA,GAAA,GAAiB;IAEjB,iBAAiB,GAAA;QACf,OAAO,IAAI,CAAC,cAAc,CAAC;KAC5B;AAED,IAAA,iBAAiB,CAAC,cAA8B,EAAA;AAC9C,QAAA,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;KACtC;;4GAXU,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAHd,MAAM,EAAA,CAAA,CAAA;2FAGP,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBA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A,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;AAClB,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,6 +1,19 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class NgxMimicService {
3
+ visualIdentity: VisualIdentity | undefined;
3
4
  constructor();
5
+ getVisualIdentity(): VisualIdentity | undefined;
6
+ setVisualIdentity(visualIdentity: VisualIdentity): void;
4
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxMimicService, never>;
5
8
  static ɵprov: i0.ɵɵInjectableDeclaration<NgxMimicService>;
6
9
  }
10
+ export declare class VisualIdentity {
11
+ id: number | undefined;
12
+ theme: number | undefined;
13
+ baseColor: string | undefined;
14
+ primaryColor: string | undefined;
15
+ callToActionColor: string | undefined;
16
+ textColor: string | undefined;
17
+ logoFile: string | undefined;
18
+ logo: any | undefined;
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-mimic",
3
- "version": "0.0.1",
3
+ "version": "0.0.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0"