alimetry-hello-world 1.2.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.
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # HelloWorld
2
+
3
+ The purpose of this widget is for us to be able to check the current value of the config object, for testing purposes
4
+
5
+ ## Use Details
6
+
7
+ Selector: `lib-hello-world`
8
+
9
+ ### Config Object
10
+
11
+ ```js
12
+ {
13
+ owners: string[], // user ids
14
+ deviceDataModelId: string,
15
+ currentUserId: string,
16
+ tenantId: string,
17
+ }
18
+ ```
19
+
20
+ ### Dependencies
21
+
22
+ `ngx-json-viewer` library as a peer dependency
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxpbWV0cnktaGVsbG8td29ybGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9oZWxsby13b3JsZC9zcmMvYWxpbWV0cnktaGVsbG8td29ybGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,49 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "ngx-json-viewer";
4
+ export class HelloWorldComponent {
5
+ constructor(kvDiffers, itDiffers) {
6
+ this.kvDiffers = kvDiffers;
7
+ this.itDiffers = itDiffers;
8
+ this.json = structuredClone(this.config);
9
+ }
10
+ // NOTE: there could be something wrong / unusual here but it seems to work ok
11
+ ngOnInit() {
12
+ if (this.config && !this.configDiffer)
13
+ this.configDiffer = this.kvDiffers.find(this.config).create();
14
+ if (this.config?.owners && !this.ownersDiffer)
15
+ this.ownersDiffer = this.itDiffers.find(this.config.owners).create();
16
+ }
17
+ ngDoCheck() {
18
+ const configChanges = this.configDiffer?.diff(this.config);
19
+ const ownersChanges = this.ownersDiffer?.diff(this.config?.owners);
20
+ if (configChanges || ownersChanges) {
21
+ this.json = structuredClone(this.config);
22
+ }
23
+ }
24
+ }
25
+ HelloWorldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldComponent, deps: [{ token: i0.KeyValueDiffers }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Component });
26
+ HelloWorldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HelloWorldComponent, selector: "lib-hello-world", inputs: { config: "config" }, ngImport: i0, template: `
27
+ <div>
28
+ <h1>Hello World</h1>
29
+ <div>
30
+ <h3>Config Object:</h3>
31
+ <ngx-json-viewer [json]="json" [depth]="1"></ngx-json-viewer>
32
+ </div>
33
+ </div>
34
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.NgxJsonViewerComponent, selector: "ngx-json-viewer", inputs: ["json", "expanded", "depth", "_currentDepth"] }] });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ selector: 'lib-hello-world', template: `
38
+ <div>
39
+ <h1>Hello World</h1>
40
+ <div>
41
+ <h3>Config Object:</h3>
42
+ <ngx-json-viewer [json]="json" [depth]="1"></ngx-json-viewer>
43
+ </div>
44
+ </div>
45
+ ` }]
46
+ }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }, { type: i0.IterableDiffers }]; }, propDecorators: { config: [{
47
+ type: Input
48
+ }] } });
49
+ //# sourceMappingURL=data:application/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yPy5kaWZmKHRoaXMuY29uZmlnPy5vd25lcnMpO1xuXG4gICAgaWYgKGNvbmZpZ0NoYW5nZXMgfHwgb3duZXJzQ2hhbmdlcykge1xuICAgICAgdGhpcy5qc29uID0gc3RydWN0dXJlZENsb25lKHRoaXMuY29uZmlnKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,28 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { HelloWorldComponent } from './hello-world.component';
4
+ import { NgxJsonViewerModule } from 'ngx-json-viewer';
5
+ import * as i0 from "@angular/core";
6
+ export class HelloWorldModule {
7
+ }
8
+ HelloWorldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ HelloWorldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, declarations: [HelloWorldComponent], imports: [CommonModule,
10
+ NgxJsonViewerModule], exports: [HelloWorldComponent] });
11
+ HelloWorldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, imports: [CommonModule,
12
+ NgxJsonViewerModule] });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, decorators: [{
14
+ type: NgModule,
15
+ args: [{
16
+ declarations: [
17
+ HelloWorldComponent
18
+ ],
19
+ imports: [
20
+ CommonModule,
21
+ NgxJsonViewerModule,
22
+ ],
23
+ exports: [
24
+ HelloWorldComponent
25
+ ]
26
+ }]
27
+ }] });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVsbG8td29ybGQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4v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yYXRpb25zOiBbXG4gICAgSGVsbG9Xb3JsZENvbXBvbmVudFxuICBdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIE5neEpzb25WaWV3ZXJNb2R1bGUsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBIZWxsb1dvcmxkQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgSGVsbG9Xb3JsZE1vZHVsZSB7IH1cbiJdfQ==
@@ -0,0 +1,14 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class HelloWorldService {
4
+ constructor() { }
5
+ }
6
+ HelloWorldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7
+ HelloWorldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, providedIn: 'root' });
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, decorators: [{
9
+ type: Injectable,
10
+ args: [{
11
+ providedIn: 'root'
12
+ }]
13
+ }], ctorParameters: function () { return []; } });
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVsbG8td29ybGQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2hlbGxvLXdvcmxkL3NyYy9saWIvaGVsbG8td29ybGQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUszQyxNQUFNLE9BQU8saUJBQWlCO0lBRTVCLGdCQUFnQixDQUFDOzsrR0FGTixpQkFBaUI7bUhBQWpCLGlCQUFpQixjQUZoQixNQUFNOzRGQUVQLGlCQUFpQjtrQkFIN0IsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIEhlbGxvV29ybGRTZXJ2aWNlIHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxufVxuIl19
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Public API Surface of hello-world
3
+ */
4
+ export * from './lib/hello-world.service';
5
+ export * from './lib/hello-world.component';
6
+ export * from './lib/hello-world.module';
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2hlbGxvLXdvcmxkL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGhlbGxvLXdvcmxkXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvaGVsbG8td29ybGQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9oZWxsby13b3JsZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvaGVsbG8td29ybGQubW9kdWxlJztcbiJdfQ==
@@ -0,0 +1,99 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component, Input, NgModule } from '@angular/core';
3
+ import * as i1 from 'ngx-json-viewer';
4
+ import { NgxJsonViewerModule } from 'ngx-json-viewer';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ class HelloWorldService {
8
+ constructor() { }
9
+ }
10
+ HelloWorldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
11
+ HelloWorldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, providedIn: 'root' });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, decorators: [{
13
+ type: Injectable,
14
+ args: [{
15
+ providedIn: 'root'
16
+ }]
17
+ }], ctorParameters: function () { return []; } });
18
+
19
+ class HelloWorldComponent {
20
+ constructor(kvDiffers, itDiffers) {
21
+ this.kvDiffers = kvDiffers;
22
+ this.itDiffers = itDiffers;
23
+ this.json = structuredClone(this.config);
24
+ }
25
+ // NOTE: there could be something wrong / unusual here but it seems to work ok
26
+ ngOnInit() {
27
+ var _a;
28
+ if (this.config && !this.configDiffer)
29
+ this.configDiffer = this.kvDiffers.find(this.config).create();
30
+ if (((_a = this.config) === null || _a === void 0 ? void 0 : _a.owners) && !this.ownersDiffer)
31
+ this.ownersDiffer = this.itDiffers.find(this.config.owners).create();
32
+ }
33
+ ngDoCheck() {
34
+ var _a, _b, _c;
35
+ const configChanges = (_a = this.configDiffer) === null || _a === void 0 ? void 0 : _a.diff(this.config);
36
+ const ownersChanges = (_b = this.ownersDiffer) === null || _b === void 0 ? void 0 : _b.diff((_c = this.config) === null || _c === void 0 ? void 0 : _c.owners);
37
+ if (configChanges || ownersChanges) {
38
+ this.json = structuredClone(this.config);
39
+ }
40
+ }
41
+ }
42
+ HelloWorldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldComponent, deps: [{ token: i0.KeyValueDiffers }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Component });
43
+ HelloWorldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HelloWorldComponent, selector: "lib-hello-world", inputs: { config: "config" }, ngImport: i0, template: `
44
+ <div>
45
+ <h1>Hello World</h1>
46
+ <div>
47
+ <h3>Config Object:</h3>
48
+ <ngx-json-viewer [json]="json" [depth]="1"></ngx-json-viewer>
49
+ </div>
50
+ </div>
51
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.NgxJsonViewerComponent, selector: "ngx-json-viewer", inputs: ["json", "expanded", "depth", "_currentDepth"] }] });
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldComponent, decorators: [{
53
+ type: Component,
54
+ args: [{ selector: 'lib-hello-world', template: `
55
+ <div>
56
+ <h1>Hello World</h1>
57
+ <div>
58
+ <h3>Config Object:</h3>
59
+ <ngx-json-viewer [json]="json" [depth]="1"></ngx-json-viewer>
60
+ </div>
61
+ </div>
62
+ ` }]
63
+ }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }, { type: i0.IterableDiffers }]; }, propDecorators: { config: [{
64
+ type: Input
65
+ }] } });
66
+
67
+ class HelloWorldModule {
68
+ }
69
+ HelloWorldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
70
+ HelloWorldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, declarations: [HelloWorldComponent], imports: [CommonModule,
71
+ NgxJsonViewerModule], exports: [HelloWorldComponent] });
72
+ HelloWorldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, imports: [CommonModule,
73
+ NgxJsonViewerModule] });
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, decorators: [{
75
+ type: NgModule,
76
+ args: [{
77
+ declarations: [
78
+ HelloWorldComponent
79
+ ],
80
+ imports: [
81
+ CommonModule,
82
+ NgxJsonViewerModule,
83
+ ],
84
+ exports: [
85
+ HelloWorldComponent
86
+ ]
87
+ }]
88
+ }] });
89
+
90
+ /*
91
+ * Public API Surface of hello-world
92
+ */
93
+
94
+ /**
95
+ * Generated bundle index. Do not edit.
96
+ */
97
+
98
+ export { HelloWorldComponent, HelloWorldModule, HelloWorldService };
99
+ //# sourceMappingURL=alimetry-hello-world.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alimetry-hello-world.mjs","sources":["../../../projects/hello-world/src/lib/hello-world.service.ts","../../../projects/hello-world/src/lib/hello-world.component.ts","../../../projects/hello-world/src/lib/hello-world.module.ts","../../../projects/hello-world/src/public-api.ts","../../../projects/hello-world/src/alimetry-hello-world.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HelloWorldService {\n\n constructor() { }\n}\n","import { Component, DoCheck, Input, IterableDiffer, IterableDiffers, KeyValueDiffer, KeyValueDiffers } from '@angular/core';\nimport { Config } from 'alimetry-shared';\n\n@Component({\n selector: 'lib-hello-world',\n template: `\n <div>\n <h1>Hello World</h1>\n <div>\n <h3>Config Object:</h3>\n <ngx-json-viewer [json]=\"json\" [depth]=\"1\"></ngx-json-viewer>\n </div>\n </div>\n `,\n styles: [\n ]\n})\nexport class HelloWorldComponent implements DoCheck {\n @Input() config!: Config;\n\n json = structuredClone(this.config);\n\n private configDiffer?: KeyValueDiffer<keyof Config, any>;\n private ownersDiffer?: IterableDiffer<string>;\n\n constructor(private kvDiffers: KeyValueDiffers, private itDiffers: IterableDiffers) { }\n\n // NOTE: there could be something wrong / unusual here but it seems to work ok\n ngOnInit() {\n if (this.config && !this.configDiffer) this.configDiffer = this.kvDiffers.find(this.config).create();\n if (this.config?.owners && !this.ownersDiffer) this.ownersDiffer = this.itDiffers.find(this.config.owners).create();\n }\n\n ngDoCheck() {\n const configChanges = this.configDiffer?.diff(this.config);\n const ownersChanges = this.ownersDiffer?.diff(this.config?.owners);\n\n if (configChanges || ownersChanges) {\n this.json = structuredClone(this.config);\n }\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { HelloWorldComponent } from './hello-world.component';\nimport { NgxJsonViewerModule } from 'ngx-json-viewer';\n\n\n@NgModule({\n declarations: [\n HelloWorldComponent\n ],\n imports: [\n CommonModule,\n NgxJsonViewerModule,\n ],\n exports: [\n HelloWorldComponent\n ]\n})\nexport class HelloWorldModule { }\n","/*\n * Public API Surface of hello-world\n */\n\nexport * from './lib/hello-world.service';\nexport * from './lib/hello-world.component';\nexport * from './lib/hello-world.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKa,iBAAiB,CAAA;AAE5B,IAAA,WAAA,GAAA,GAAiB;;+GAFN,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,cAFhB,MAAM,EAAA,CAAA,CAAA;4FAEP,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;iBACnB,CAAA;;;MCaY,mBAAmB,CAAA;IAQ9B,WAAoB,CAAA,SAA0B,EAAU,SAA0B,EAAA;AAA9D,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AAmB,aAGnB,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAGV,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAPzB,YAAY;QACZ,mBAAmB,CAAA,EAAA,CAAA,CAAA;4FAMV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAZ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,mBAAmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,mBAAmB;AACpB,qBAAA;iBACF,CAAA;;;ACjBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -0,0 +1,97 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component, Input, NgModule } from '@angular/core';
3
+ import * as i1 from 'ngx-json-viewer';
4
+ import { NgxJsonViewerModule } from 'ngx-json-viewer';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ class HelloWorldService {
8
+ constructor() { }
9
+ }
10
+ HelloWorldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
11
+ HelloWorldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, providedIn: 'root' });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldService, decorators: [{
13
+ type: Injectable,
14
+ args: [{
15
+ providedIn: 'root'
16
+ }]
17
+ }], ctorParameters: function () { return []; } });
18
+
19
+ class HelloWorldComponent {
20
+ constructor(kvDiffers, itDiffers) {
21
+ this.kvDiffers = kvDiffers;
22
+ this.itDiffers = itDiffers;
23
+ this.json = structuredClone(this.config);
24
+ }
25
+ // NOTE: there could be something wrong / unusual here but it seems to work ok
26
+ ngOnInit() {
27
+ if (this.config && !this.configDiffer)
28
+ this.configDiffer = this.kvDiffers.find(this.config).create();
29
+ if (this.config?.owners && !this.ownersDiffer)
30
+ this.ownersDiffer = this.itDiffers.find(this.config.owners).create();
31
+ }
32
+ ngDoCheck() {
33
+ const configChanges = this.configDiffer?.diff(this.config);
34
+ const ownersChanges = this.ownersDiffer?.diff(this.config?.owners);
35
+ if (configChanges || ownersChanges) {
36
+ this.json = structuredClone(this.config);
37
+ }
38
+ }
39
+ }
40
+ HelloWorldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldComponent, deps: [{ token: i0.KeyValueDiffers }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Component });
41
+ HelloWorldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HelloWorldComponent, selector: "lib-hello-world", inputs: { config: "config" }, ngImport: i0, template: `
42
+ <div>
43
+ <h1>Hello World</h1>
44
+ <div>
45
+ <h3>Config Object:</h3>
46
+ <ngx-json-viewer [json]="json" [depth]="1"></ngx-json-viewer>
47
+ </div>
48
+ </div>
49
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.NgxJsonViewerComponent, selector: "ngx-json-viewer", inputs: ["json", "expanded", "depth", "_currentDepth"] }] });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldComponent, decorators: [{
51
+ type: Component,
52
+ args: [{ selector: 'lib-hello-world', template: `
53
+ <div>
54
+ <h1>Hello World</h1>
55
+ <div>
56
+ <h3>Config Object:</h3>
57
+ <ngx-json-viewer [json]="json" [depth]="1"></ngx-json-viewer>
58
+ </div>
59
+ </div>
60
+ ` }]
61
+ }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }, { type: i0.IterableDiffers }]; }, propDecorators: { config: [{
62
+ type: Input
63
+ }] } });
64
+
65
+ class HelloWorldModule {
66
+ }
67
+ HelloWorldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
68
+ HelloWorldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, declarations: [HelloWorldComponent], imports: [CommonModule,
69
+ NgxJsonViewerModule], exports: [HelloWorldComponent] });
70
+ HelloWorldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, imports: [CommonModule,
71
+ NgxJsonViewerModule] });
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HelloWorldModule, decorators: [{
73
+ type: NgModule,
74
+ args: [{
75
+ declarations: [
76
+ HelloWorldComponent
77
+ ],
78
+ imports: [
79
+ CommonModule,
80
+ NgxJsonViewerModule,
81
+ ],
82
+ exports: [
83
+ HelloWorldComponent
84
+ ]
85
+ }]
86
+ }] });
87
+
88
+ /*
89
+ * Public API Surface of hello-world
90
+ */
91
+
92
+ /**
93
+ * Generated bundle index. Do not edit.
94
+ */
95
+
96
+ export { HelloWorldComponent, HelloWorldModule, HelloWorldService };
97
+ //# sourceMappingURL=alimetry-hello-world.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alimetry-hello-world.mjs","sources":["../../../projects/hello-world/src/lib/hello-world.service.ts","../../../projects/hello-world/src/lib/hello-world.component.ts","../../../projects/hello-world/src/lib/hello-world.module.ts","../../../projects/hello-world/src/public-api.ts","../../../projects/hello-world/src/alimetry-hello-world.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HelloWorldService {\n\n constructor() { }\n}\n","import { Component, DoCheck, Input, IterableDiffer, IterableDiffers, KeyValueDiffer, KeyValueDiffers } from '@angular/core';\nimport { Config } from 'alimetry-shared';\n\n@Component({\n selector: 'lib-hello-world',\n template: `\n <div>\n <h1>Hello World</h1>\n <div>\n <h3>Config Object:</h3>\n <ngx-json-viewer [json]=\"json\" [depth]=\"1\"></ngx-json-viewer>\n </div>\n </div>\n `,\n styles: [\n ]\n})\nexport class HelloWorldComponent implements DoCheck {\n @Input() config!: Config;\n\n json = structuredClone(this.config);\n\n private configDiffer?: KeyValueDiffer<keyof Config, any>;\n private ownersDiffer?: IterableDiffer<string>;\n\n constructor(private kvDiffers: KeyValueDiffers, private itDiffers: IterableDiffers) { }\n\n // NOTE: there could be something wrong / unusual here but it seems to work ok\n ngOnInit() {\n if (this.config && !this.configDiffer) this.configDiffer = this.kvDiffers.find(this.config).create();\n if (this.config?.owners && !this.ownersDiffer) this.ownersDiffer = this.itDiffers.find(this.config.owners).create();\n }\n\n ngDoCheck() {\n const configChanges = this.configDiffer?.diff(this.config);\n const ownersChanges = this.ownersDiffer?.diff(this.config?.owners);\n\n if (configChanges || ownersChanges) {\n this.json = structuredClone(this.config);\n }\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { HelloWorldComponent } from './hello-world.component';\nimport { NgxJsonViewerModule } from 'ngx-json-viewer';\n\n\n@NgModule({\n declarations: [\n HelloWorldComponent\n ],\n imports: [\n CommonModule,\n NgxJsonViewerModule,\n ],\n exports: [\n HelloWorldComponent\n ]\n})\nexport class HelloWorldModule { }\n","/*\n * Public API Surface of hello-world\n */\n\nexport * from './lib/hello-world.service';\nexport * from './lib/hello-world.component';\nexport * from './lib/hello-world.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKa,iBAAiB,CAAA;AAE5B,IAAA,WAAA,GAAA,GAAiB;;+GAFN,iBAAiB,EAAA,IA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AA,CAAA,CAAA;+GAAhB,gBAAgB,EAAA,YAAA,EAAA,CAVzB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAGnB,YAAY;AACZ,QAAA,mBAAmB,aAGnB,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAGV,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAPzB,YAAY;QACZ,mBAAmB,CAAA,EAAA,CAAA,CAAA;4FAMV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAZ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,mBAAmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,mBAAmB;AACpB,qBAAA;AACF,iBAAA,CAAA;;;ACjBD;;AAEG;;ACFH;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="alimetry-hello-world" />
5
+ export * from './public-api';
@@ -0,0 +1,16 @@
1
+ import { DoCheck, IterableDiffers, KeyValueDiffers } from '@angular/core';
2
+ import { Config } from 'alimetry-shared';
3
+ import * as i0 from "@angular/core";
4
+ export declare class HelloWorldComponent implements DoCheck {
5
+ private kvDiffers;
6
+ private itDiffers;
7
+ config: Config;
8
+ json: any;
9
+ private configDiffer?;
10
+ private ownersDiffer?;
11
+ constructor(kvDiffers: KeyValueDiffers, itDiffers: IterableDiffers);
12
+ ngOnInit(): void;
13
+ ngDoCheck(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<HelloWorldComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<HelloWorldComponent, "lib-hello-world", never, { "config": "config"; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./hello-world.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ngx-json-viewer";
5
+ export declare class HelloWorldModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HelloWorldModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HelloWorldModule, [typeof i1.HelloWorldComponent], [typeof i2.CommonModule, typeof i3.NgxJsonViewerModule], [typeof i1.HelloWorldComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<HelloWorldModule>;
9
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class HelloWorldService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<HelloWorldService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<HelloWorldService>;
6
+ }
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "alimetry-hello-world",
3
+ "version": "1.2.0",
4
+ "peerDependencies": {
5
+ "@angular/common": "^15.2.0",
6
+ "@angular/core": "^15.2.0",
7
+ "ngx-json-viewer": "^3.2.1"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
11
+ },
12
+ "sideEffects": false,
13
+ "module": "fesm2015/alimetry-hello-world.mjs",
14
+ "es2020": "fesm2020/alimetry-hello-world.mjs",
15
+ "esm2020": "esm2020/alimetry-hello-world.mjs",
16
+ "fesm2020": "fesm2020/alimetry-hello-world.mjs",
17
+ "fesm2015": "fesm2015/alimetry-hello-world.mjs",
18
+ "typings": "index.d.ts",
19
+ "exports": {
20
+ "./package.json": {
21
+ "default": "./package.json"
22
+ },
23
+ ".": {
24
+ "types": "./index.d.ts",
25
+ "esm2020": "./esm2020/alimetry-hello-world.mjs",
26
+ "es2020": "./fesm2020/alimetry-hello-world.mjs",
27
+ "es2015": "./fesm2015/alimetry-hello-world.mjs",
28
+ "node": "./fesm2015/alimetry-hello-world.mjs",
29
+ "default": "./fesm2020/alimetry-hello-world.mjs"
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,3 @@
1
+ export * from './lib/hello-world.service';
2
+ export * from './lib/hello-world.component';
3
+ export * from './lib/hello-world.module';