add-calculator-mdimran0509 0.0.1 → 0.0.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.
@@ -0,0 +1,42 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component } from '@angular/core';
3
+
4
+ class AddCalculatorService {
5
+ constructor() { }
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorService, providedIn: 'root' });
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorService, decorators: [{
10
+ type: Injectable,
11
+ args: [{
12
+ providedIn: 'root'
13
+ }]
14
+ }], ctorParameters: () => [] });
15
+
16
+ class AddCalculatorComponent {
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", type: AddCalculatorComponent, isStandalone: true, selector: "lib-add-calculator", ngImport: i0, template: `
19
+ <p>
20
+ add-calculator works!
21
+ </p>
22
+ `, isInline: true, styles: [""] });
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorComponent, decorators: [{
25
+ type: Component,
26
+ args: [{ selector: 'lib-add-calculator', imports: [], template: `
27
+ <p>
28
+ add-calculator works!
29
+ </p>
30
+ ` }]
31
+ }] });
32
+
33
+ /*
34
+ * Public API Surface of add-calculator
35
+ */
36
+
37
+ /**
38
+ * Generated bundle index. Do not edit.
39
+ */
40
+
41
+ export { AddCalculatorComponent, AddCalculatorService };
42
+ //# sourceMappingURL=add-calculator-mdimran0509.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-calculator-mdimran0509.mjs","sources":["../../../projects/add-calculator/src/lib/add-calculator.service.ts","../../../projects/add-calculator/src/lib/add-calculator.component.ts","../../../projects/add-calculator/src/public-api.ts","../../../projects/add-calculator/src/add-calculator-mdimran0509.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AddCalculatorService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-add-calculator',\r\n imports: [],\r\n template: `\r\n <p>\r\n add-calculator works!\r\n </p>\r\n `,\r\n styles: ``\r\n})\r\nexport class AddCalculatorComponent {\r\n\r\n}\r\n","/*\r\n * Public API Surface of add-calculator\r\n */\r\n\r\nexport * from './lib/add-calculator.service';\r\nexport * from './lib/add-calculator.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA;wGAFW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAApB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,cAFnB,MAAM,EAAA,CAAA;;4FAEP,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;MCQY,sBAAsB,CAAA;wGAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAPvB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAGU,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;+BACE,oBAAoB,EAAA,OAAA,EACrB,EAAE,EACD,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA;;;ACTH;;AAEG;;ACFH;;AAEG;;;;"}
@@ -0,0 +1,42 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component } from '@angular/core';
3
+
4
+ class AddCalculatorService {
5
+ constructor() { }
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorService, providedIn: 'root' });
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorService, decorators: [{
10
+ type: Injectable,
11
+ args: [{
12
+ providedIn: 'root'
13
+ }]
14
+ }], ctorParameters: () => [] });
15
+
16
+ class AddCalculatorComponent {
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", type: AddCalculatorComponent, isStandalone: true, selector: "lib-add-calculator", ngImport: i0, template: `
19
+ <p>
20
+ add-calculator works!
21
+ </p>
22
+ `, isInline: true, styles: [""] });
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: AddCalculatorComponent, decorators: [{
25
+ type: Component,
26
+ args: [{ selector: 'lib-add-calculator', imports: [], template: `
27
+ <p>
28
+ add-calculator works!
29
+ </p>
30
+ ` }]
31
+ }] });
32
+
33
+ /*
34
+ * Public API Surface of add-calculator
35
+ */
36
+
37
+ /**
38
+ * Generated bundle index. Do not edit.
39
+ */
40
+
41
+ export { AddCalculatorComponent, AddCalculatorService };
42
+ //# sourceMappingURL=mdimran-add-calculator.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mdimran-add-calculator.mjs","sources":["../../../projects/add-calculator/src/lib/add-calculator.service.ts","../../../projects/add-calculator/src/lib/add-calculator.component.ts","../../../projects/add-calculator/src/public-api.ts","../../../projects/add-calculator/src/mdimran-add-calculator.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AddCalculatorService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-add-calculator',\r\n imports: [],\r\n template: `\r\n <p>\r\n add-calculator works!\r\n </p>\r\n `,\r\n styles: ``\r\n})\r\nexport class AddCalculatorComponent {\r\n\r\n}\r\n","/*\r\n * Public API Surface of add-calculator\r\n */\r\n\r\nexport * from './lib/add-calculator.service';\r\nexport * from './lib/add-calculator.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA;wGAFW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAApB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,cAFnB,MAAM,EAAA,CAAA;;4FAEP,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;MCQY,sBAAsB,CAAA;wGAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAPvB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAGU,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;+BACE,oBAAoB,EAAA,OAAA,EACrB,EAAE,EACD,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA;;;ACTH;;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="add-calculator-mdimran0509" />
5
+ export * from './public-api';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AddCalculatorComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddCalculatorComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddCalculatorComponent, "lib-add-calculator", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AddCalculatorService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddCalculatorService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<AddCalculatorService>;
6
+ }
package/package.json CHANGED
@@ -1,13 +1,23 @@
1
- {
2
- "name": "add-calculator-mdimran0509",
3
- "version": "0.0.1",
4
- "main": "bundles/add-calculator.umd.js",
5
- "peerDependencies": {
6
- "@angular/common": "^19.2.0",
7
- "@angular/core": "^19.2.0"
8
- },
9
- "dependencies": {
10
- "tslib": "^2.3.0"
11
- },
12
- "sideEffects": false
13
- }
1
+ {
2
+ "name": "add-calculator-mdimran0509",
3
+ "version": "0.0.2",
4
+ "peerDependencies": {
5
+ "@angular/common": "^19.2.0",
6
+ "@angular/core": "^19.2.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false,
12
+ "module": "fesm2022/add-calculator-mdimran0509.mjs",
13
+ "typings": "index.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "default": "./fesm2022/add-calculator-mdimran0509.mjs"
21
+ }
22
+ }
23
+ }
@@ -1,6 +1,2 @@
1
- /*
2
- * Public API Surface of add-calculator
3
- */
4
-
5
- export * from './lib/add-calculator.service';
6
- export * from './lib/add-calculator.component';
1
+ export * from './lib/add-calculator.service';
2
+ export * from './lib/add-calculator.component';
File without changes
@@ -1 +0,0 @@
1
- <p>add-calculator works!</p>
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AddCalculatorComponent } from './add-calculator.component';
4
-
5
- describe('AddCalculatorComponent', () => {
6
- let component: AddCalculatorComponent;
7
- let fixture: ComponentFixture<AddCalculatorComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- imports: [AddCalculatorComponent]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AddCalculatorComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,22 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'lib-add-calculator',
5
- template: `
6
- <div>
7
- <input type="number" [(ngModel)]="num1" placeholder="Enter first number" />
8
- <input type="number" [(ngModel)]="num2" placeholder="Enter second number" />
9
- <button (click)="addNumbers()">Add</button>
10
- <div *ngIf="result !== null">Result: {{ result }}</div>
11
- </div>
12
- `,
13
- })
14
- export class AddCalculatorComponent {
15
- num1: number = 0;
16
- num2: number = 0;
17
- result: number | null = null;
18
-
19
- addNumbers() {
20
- this.result = this.num1 + this.num2;
21
- }
22
- }
package/ng-package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/add-calculator",
4
- "lib": {
5
- "entryFile": "src/public-api.ts"
6
- }
7
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AddCalculatorComponent } from './add-calculator.component';
4
-
5
- describe('AddCalculatorComponent', () => {
6
- let component: AddCalculatorComponent;
7
- let fixture: ComponentFixture<AddCalculatorComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- imports: [AddCalculatorComponent]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AddCalculatorComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,15 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'lib-add-calculator',
5
- imports: [],
6
- template: `
7
- <p>
8
- add-calculator works!
9
- </p>
10
- `,
11
- styles: ``
12
- })
13
- export class AddCalculatorComponent {
14
-
15
- }
@@ -1,11 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { FormsModule } from '@angular/forms';
4
- import { AddCalculatorComponent } from './add-calculator.component';
5
-
6
- @NgModule({
7
- declarations: [AddCalculatorComponent],
8
- imports: [CommonModule, FormsModule],
9
- exports: [AddCalculatorComponent],
10
- })
11
- export class AddCalculatorModule {}
@@ -1,16 +0,0 @@
1
- import { TestBed } from '@angular/core/testing';
2
-
3
- import { AddCalculatorService } from './add-calculator.service';
4
-
5
- describe('AddCalculatorService', () => {
6
- let service: AddCalculatorService;
7
-
8
- beforeEach(() => {
9
- TestBed.configureTestingModule({});
10
- service = TestBed.inject(AddCalculatorService);
11
- });
12
-
13
- it('should be created', () => {
14
- expect(service).toBeTruthy();
15
- });
16
- });
@@ -1,9 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
-
3
- @Injectable({
4
- providedIn: 'root'
5
- })
6
- export class AddCalculatorService {
7
-
8
- constructor() { }
9
- }
package/tsconfig.lib.json DELETED
@@ -1,15 +0,0 @@
1
- /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
- /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
- {
4
- "extends": "../../tsconfig.json",
5
- "compilerOptions": {
6
- "outDir": "../../out-tsc/lib",
7
- "declaration": true,
8
- "declarationMap": true,
9
- "inlineSources": true,
10
- "types": []
11
- },
12
- "exclude": [
13
- "**/*.spec.ts"
14
- ]
15
- }
@@ -1,11 +0,0 @@
1
- /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
- /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
- {
4
- "extends": "./tsconfig.lib.json",
5
- "compilerOptions": {
6
- "declarationMap": false
7
- },
8
- "angularCompilerOptions": {
9
- "compilationMode": "partial"
10
- }
11
- }
@@ -1,15 +0,0 @@
1
- /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
- /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
- {
4
- "extends": "../../tsconfig.json",
5
- "compilerOptions": {
6
- "outDir": "../../out-tsc/spec",
7
- "types": [
8
- "jasmine"
9
- ]
10
- },
11
- "include": [
12
- "**/*.spec.ts",
13
- "**/*.d.ts"
14
- ]
15
- }