diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82d30cc --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +node_modules/ diff --git a/dist/boss-library/README.md b/dist/boss-library/README.md new file mode 100644 index 0000000..9b67486 --- /dev/null +++ b/dist/boss-library/README.md @@ -0,0 +1,24 @@ +# BossLibrary + +This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.0. + +## Code scaffolding + +Run `ng generate component component-name --project boss-library` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project boss-library`. +> Note: Don't forget to add `--project boss-library` or else it will be added to the default project in your `angular.json` file. + +## Build + +Run `ng build boss-library` to build the project. The build artifacts will be stored in the `dist/` directory. + +## Publishing + +After building your library with `ng build boss-library`, go to the dist folder `cd dist/boss-library` and run `npm publish`. + +## Running unit tests + +Run `ng test boss-library` to execute the unit tests via [Karma](https://karma-runner.github.io). + +## Further help + +To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. diff --git a/dist/boss-library/esm2020/boss-library.mjs b/dist/boss-library/esm2020/boss-library.mjs new file mode 100644 index 0000000..e188a79 --- /dev/null +++ b/dist/boss-library/esm2020/boss-library.mjs @@ -0,0 +1,5 @@ +/** + * Generated bundle index. Do not edit. + */ +export * from './public-api'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9zcy1saWJyYXJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Jvc3MtbGlicmFyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19 \ No newline at end of file diff --git a/dist/boss-library/esm2020/lib/boss-library.component.mjs b/dist/boss-library/esm2020/lib/boss-library.component.mjs new file mode 100644 index 0000000..0f59e80 --- /dev/null +++ b/dist/boss-library/esm2020/lib/boss-library.component.mjs @@ -0,0 +1,14 @@ +import { Component } from '@angular/core'; +import * as i0 from "@angular/core"; +export class BossLibraryComponent { + constructor() { } + ngOnInit() { + } +} +BossLibraryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); +BossLibraryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: BossLibraryComponent, selector: "boss-library", ngImport: i0, template: `

boss-library works!

`, isInline: true }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, decorators: [{ + type: Component, + args: [{ selector: 'boss-library', template: `

boss-library works!

` }] + }], ctorParameters: function () { return []; } }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9zcy1saWJyYXJ5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvYm9zcy1saWJyYXJ5LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDOztBQVFsRCxNQUFNLE9BQU8sb0JBQW9CO0lBRS9CLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7SUFDUixDQUFDOztpSEFMVSxvQkFBb0I7cUdBQXBCLG9CQUFvQixvREFKckIsOEJBQThCOzJGQUk3QixvQkFBb0I7a0JBTmhDLFNBQVM7K0JBQ0UsY0FBYyxZQUNkLDhCQUE4QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Jvc3MtbGlicmFyeScsXG4gIHRlbXBsYXRlOiBgPHA+IGJvc3MtbGlicmFyeSB3b3JrcyEgPC9wPmAsXG4gIHN0eWxlczogWyBdXG59KVxuXG5leHBvcnQgY2xhc3MgQm9zc0xpYnJhcnlDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gIH1cblxufVxuIl19 \ No newline at end of file diff --git a/dist/boss-library/esm2020/lib/boss-library.module.mjs b/dist/boss-library/esm2020/lib/boss-library.module.mjs new file mode 100644 index 0000000..e155263 --- /dev/null +++ b/dist/boss-library/esm2020/lib/boss-library.module.mjs @@ -0,0 +1,32 @@ +import { NgModule } from '@angular/core'; +import { FormsModule } from '@angular/forms'; +import { CommonModule } from '@angular/common'; +import { BrowserModule } from '@angular/platform-browser'; +import { BossLibraryComponent } from './boss-library.component'; +import * as i0 from "@angular/core"; +export class BossLibraryModule { +} +BossLibraryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); +BossLibraryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, declarations: [BossLibraryComponent], imports: [FormsModule, + CommonModule, + BrowserModule], exports: [BossLibraryComponent] }); +BossLibraryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, imports: [FormsModule, + CommonModule, + BrowserModule] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, decorators: [{ + type: NgModule, + args: [{ + declarations: [ + BossLibraryComponent + ], + imports: [ + FormsModule, + CommonModule, + BrowserModule + ], + exports: [ + BossLibraryComponent + ] + }] + }] }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9zcy1saWJyYXJ5Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvYm9zcy1saWJyYXJ5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQTtBQUM1QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUE7QUFDOUMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLDJCQUEyQixDQUFBO0FBQ3pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDOztBQWdCaEUsTUFBTSxPQUFPLGlCQUFpQjs7OEdBQWpCLGlCQUFpQjsrR0FBakIsaUJBQWlCLGlCQVoxQixvQkFBb0IsYUFHcEIsV0FBVztRQUNYLFlBQVk7UUFDWixhQUFhLGFBR2Isb0JBQW9COytHQUlYLGlCQUFpQixZQVQxQixXQUFXO1FBQ1gsWUFBWTtRQUNaLGFBQWE7MkZBT0osaUJBQWlCO2tCQWQ3QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixvQkFBb0I7cUJBQ3JCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxXQUFXO3dCQUNYLFlBQVk7d0JBQ1osYUFBYTtxQkFDZDtvQkFDRCxPQUFPLEVBQUU7d0JBQ1Asb0JBQW9CO3FCQUNyQjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3Jtc01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJ1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJ1xuaW1wb3J0IHsgQnJvd3Nlck1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL3BsYXRmb3JtLWJyb3dzZXInXG5pbXBvcnQgeyBCb3NzTGlicmFyeUNvbXBvbmVudCB9IGZyb20gJy4vYm9zcy1saWJyYXJ5LmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEJvc3NMaWJyYXJ5Q29tcG9uZW50XG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBGb3Jtc01vZHVsZSxcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgQnJvd3Nlck1vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgQm9zc0xpYnJhcnlDb21wb25lbnRcbiAgXVxufSlcblxuZXhwb3J0IGNsYXNzIEJvc3NMaWJyYXJ5TW9kdWxlIHsgfVxuIl19 \ No newline at end of file diff --git a/dist/boss-library/esm2020/lib/boss-library.service.mjs b/dist/boss-library/esm2020/lib/boss-library.service.mjs new file mode 100644 index 0000000..f4024ab --- /dev/null +++ b/dist/boss-library/esm2020/lib/boss-library.service.mjs @@ -0,0 +1,14 @@ +import { Injectable } from '@angular/core'; +import * as i0 from "@angular/core"; +export class BossLibraryService { + constructor() { } +} +BossLibraryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); +BossLibraryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, providedIn: 'root' }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, decorators: [{ + type: Injectable, + args: [{ + providedIn: 'root' + }] + }], ctorParameters: function () { return []; } }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9zcy1saWJyYXJ5LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2Jvc3MtbGlicmFyeS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSzNDLE1BQU0sT0FBTyxrQkFBa0I7SUFFN0IsZ0JBQWdCLENBQUM7OytHQUZOLGtCQUFrQjttSEFBbEIsa0JBQWtCLGNBRmpCLE1BQU07MkZBRVAsa0JBQWtCO2tCQUg5QixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgQm9zc0xpYnJhcnlTZXJ2aWNlIHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxufVxuIl19 \ No newline at end of file diff --git a/dist/boss-library/esm2020/public-api.mjs b/dist/boss-library/esm2020/public-api.mjs new file mode 100644 index 0000000..7d57e96 --- /dev/null +++ b/dist/boss-library/esm2020/public-api.mjs @@ -0,0 +1,7 @@ +/* + * Public API Surface of boss-library + */ +export * from './lib/boss-library.service'; +export * from './lib/boss-library.component'; +export * from './lib/boss-library.module'; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGJvc3MtbGlicmFyeVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2Jvc3MtbGlicmFyeS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2Jvc3MtbGlicmFyeS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYm9zcy1saWJyYXJ5Lm1vZHVsZSc7XG4iXX0= \ No newline at end of file diff --git a/dist/boss-library/fesm2015/boss-library.mjs b/dist/boss-library/fesm2015/boss-library.mjs new file mode 100644 index 0000000..009a440 --- /dev/null +++ b/dist/boss-library/fesm2015/boss-library.mjs @@ -0,0 +1,66 @@ +import * as i0 from '@angular/core'; +import { Injectable, Component, NgModule } from '@angular/core'; +import { FormsModule } from '@angular/forms'; +import { CommonModule } from '@angular/common'; +import { BrowserModule } from '@angular/platform-browser'; + +class BossLibraryService { + constructor() { } +} +BossLibraryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); +BossLibraryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, providedIn: 'root' }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, decorators: [{ + type: Injectable, + args: [{ + providedIn: 'root' + }] + }], ctorParameters: function () { return []; } }); + +class BossLibraryComponent { + constructor() { } + ngOnInit() { + } +} +BossLibraryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); +BossLibraryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: BossLibraryComponent, selector: "boss-library", ngImport: i0, template: `

boss-library works!

`, isInline: true }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, decorators: [{ + type: Component, + args: [{ selector: 'boss-library', template: `

boss-library works!

` }] + }], ctorParameters: function () { return []; } }); + +class BossLibraryModule { +} +BossLibraryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); +BossLibraryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, declarations: [BossLibraryComponent], imports: [FormsModule, + CommonModule, + BrowserModule], exports: [BossLibraryComponent] }); +BossLibraryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, imports: [FormsModule, + CommonModule, + BrowserModule] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, decorators: [{ + type: NgModule, + args: [{ + declarations: [ + BossLibraryComponent + ], + imports: [ + FormsModule, + CommonModule, + BrowserModule + ], + exports: [ + BossLibraryComponent + ] + }] + }] }); + +/* + * Public API Surface of boss-library + */ + +/** + * Generated bundle index. Do not edit. + */ + +export { BossLibraryComponent, BossLibraryModule, BossLibraryService }; +//# sourceMappingURL=boss-library.mjs.map diff --git a/dist/boss-library/fesm2015/boss-library.mjs.map b/dist/boss-library/fesm2015/boss-library.mjs.map new file mode 100644 index 0000000..50d8a56 --- /dev/null +++ b/dist/boss-library/fesm2015/boss-library.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"boss-library.mjs","sources":["../../../src/lib/boss-library.service.ts","../../../src/lib/boss-library.component.ts","../../../src/lib/boss-library.module.ts","../../../src/public-api.ts","../../../src/boss-library.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BossLibraryService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'boss-library',\n template: `

boss-library works!

`,\n styles: [ ]\n})\n\nexport class BossLibraryComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms'\nimport { CommonModule } from '@angular/common'\nimport { BrowserModule } from '@angular/platform-browser'\nimport { BossLibraryComponent } from './boss-library.component';\n\n@NgModule({\n declarations: [\n BossLibraryComponent\n ],\n imports: [\n FormsModule,\n CommonModule,\n BrowserModule\n ],\n exports: [\n BossLibraryComponent\n ]\n})\n\nexport class BossLibraryModule { }\n","/*\n * Public API Surface of boss-library\n */\n\nexport * from './lib/boss-library.service';\nexport * from './lib/boss-library.component';\nexport * from './lib/boss-library.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKa,kBAAkB,CAAA;AAE7B,IAAA,WAAA,GAAA,GAAiB;;+GAFN,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,MAAM,EAAA,CAAA,CAAA;2FAEP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;iBACnB,CAAA;;;MCIY,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;iHALU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,oDAJrB,8BAA8B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;2FAI7B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;YACE,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,YACd,CAA8B,4BAAA,CAAA,EAAA,CAAA;;;MCgB7B,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAjB,iBAAiB,EAAA,YAAA,EAAA,CAZ1B,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAGpB,WAAW;QACX,YAAY;QACZ,aAAa,aAGb,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAIX,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAT1B,WAAW;QACX,YAAY;QACZ,aAAa,CAAA,EAAA,CAAA,CAAA;2FAOJ,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAd7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,WAAW;wBACX,YAAY;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;iBACF,CAAA;;;AClBD;;AAEG;;ACFH;;AAEG;;;;"} \ No newline at end of file diff --git a/dist/boss-library/fesm2020/boss-library.mjs b/dist/boss-library/fesm2020/boss-library.mjs new file mode 100644 index 0000000..009a440 --- /dev/null +++ b/dist/boss-library/fesm2020/boss-library.mjs @@ -0,0 +1,66 @@ +import * as i0 from '@angular/core'; +import { Injectable, Component, NgModule } from '@angular/core'; +import { FormsModule } from '@angular/forms'; +import { CommonModule } from '@angular/common'; +import { BrowserModule } from '@angular/platform-browser'; + +class BossLibraryService { + constructor() { } +} +BossLibraryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); +BossLibraryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, providedIn: 'root' }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, decorators: [{ + type: Injectable, + args: [{ + providedIn: 'root' + }] + }], ctorParameters: function () { return []; } }); + +class BossLibraryComponent { + constructor() { } + ngOnInit() { + } +} +BossLibraryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); +BossLibraryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: BossLibraryComponent, selector: "boss-library", ngImport: i0, template: `

boss-library works!

`, isInline: true }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, decorators: [{ + type: Component, + args: [{ selector: 'boss-library', template: `

boss-library works!

` }] + }], ctorParameters: function () { return []; } }); + +class BossLibraryModule { +} +BossLibraryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); +BossLibraryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, declarations: [BossLibraryComponent], imports: [FormsModule, + CommonModule, + BrowserModule], exports: [BossLibraryComponent] }); +BossLibraryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, imports: [FormsModule, + CommonModule, + BrowserModule] }); +i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, decorators: [{ + type: NgModule, + args: [{ + declarations: [ + BossLibraryComponent + ], + imports: [ + FormsModule, + CommonModule, + BrowserModule + ], + exports: [ + BossLibraryComponent + ] + }] + }] }); + +/* + * Public API Surface of boss-library + */ + +/** + * Generated bundle index. Do not edit. + */ + +export { BossLibraryComponent, BossLibraryModule, BossLibraryService }; +//# sourceMappingURL=boss-library.mjs.map diff --git a/dist/boss-library/fesm2020/boss-library.mjs.map b/dist/boss-library/fesm2020/boss-library.mjs.map new file mode 100644 index 0000000..17c069d --- /dev/null +++ b/dist/boss-library/fesm2020/boss-library.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"boss-library.mjs","sources":["../../../src/lib/boss-library.service.ts","../../../src/lib/boss-library.component.ts","../../../src/lib/boss-library.module.ts","../../../src/public-api.ts","../../../src/boss-library.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BossLibraryService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'boss-library',\n template: `

boss-library works!

`,\n styles: [ ]\n})\n\nexport class BossLibraryComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms'\nimport { CommonModule } from '@angular/common'\nimport { BrowserModule } from '@angular/platform-browser'\nimport { BossLibraryComponent } from './boss-library.component';\n\n@NgModule({\n declarations: [\n BossLibraryComponent\n ],\n imports: [\n FormsModule,\n CommonModule,\n BrowserModule\n ],\n exports: [\n BossLibraryComponent\n ]\n})\n\nexport class BossLibraryModule { }\n","/*\n * Public API Surface of boss-library\n */\n\nexport * from './lib/boss-library.service';\nexport * from './lib/boss-library.component';\nexport * from './lib/boss-library.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKa,kBAAkB,CAAA;AAE7B,IAAA,WAAA,GAAA,GAAiB;;+GAFN,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,MAAM,EAAA,CAAA,CAAA;2FAEP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCIY,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;iHALU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,oDAJrB,CAA8B,4BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;2FAI7B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,YACd,CAA8B,4BAAA,CAAA,EAAA,CAAA;;;MCgB7B,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAjB,iBAAiB,EAAA,YAAA,EAAA,CAZ1B,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAGpB,WAAW;QACX,YAAY;AACZ,QAAA,aAAa,aAGb,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAIX,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAT1B,WAAW;QACX,YAAY;QACZ,aAAa,CAAA,EAAA,CAAA,CAAA;2FAOJ,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAd7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,WAAW;wBACX,YAAY;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;AACF,iBAAA,CAAA;;;AClBD;;AAEG;;ACFH;;AAEG;;;;"} \ No newline at end of file diff --git a/dist/boss-library/index.d.ts b/dist/boss-library/index.d.ts new file mode 100644 index 0000000..2b3b2f6 --- /dev/null +++ b/dist/boss-library/index.d.ts @@ -0,0 +1,5 @@ +/** + * Generated bundle index. Do not edit. + */ +/// +export * from './public-api'; diff --git a/dist/boss-library/lib/boss-library.component.d.ts b/dist/boss-library/lib/boss-library.component.d.ts new file mode 100644 index 0000000..37f9c0f --- /dev/null +++ b/dist/boss-library/lib/boss-library.component.d.ts @@ -0,0 +1,8 @@ +import { OnInit } from '@angular/core'; +import * as i0 from "@angular/core"; +export declare class BossLibraryComponent implements OnInit { + constructor(); + ngOnInit(): void; + static ɵfac: i0.ɵɵFactoryDeclaration; + static ɵcmp: i0.ɵɵComponentDeclaration; +} diff --git a/dist/boss-library/lib/boss-library.module.d.ts b/dist/boss-library/lib/boss-library.module.d.ts new file mode 100644 index 0000000..52f54d1 --- /dev/null +++ b/dist/boss-library/lib/boss-library.module.d.ts @@ -0,0 +1,10 @@ +import * as i0 from "@angular/core"; +import * as i1 from "./boss-library.component"; +import * as i2 from "@angular/forms"; +import * as i3 from "@angular/common"; +import * as i4 from "@angular/platform-browser"; +export declare class BossLibraryModule { + static ɵfac: i0.ɵɵFactoryDeclaration; + static ɵmod: i0.ɵɵNgModuleDeclaration; + static ɵinj: i0.ɵɵInjectorDeclaration; +} diff --git a/dist/boss-library/lib/boss-library.service.d.ts b/dist/boss-library/lib/boss-library.service.d.ts new file mode 100644 index 0000000..98207ba --- /dev/null +++ b/dist/boss-library/lib/boss-library.service.d.ts @@ -0,0 +1,6 @@ +import * as i0 from "@angular/core"; +export declare class BossLibraryService { + constructor(); + static ɵfac: i0.ɵɵFactoryDeclaration; + static ɵprov: i0.ɵɵInjectableDeclaration; +} diff --git a/dist/boss-library/node_modules/tslib/README.md b/dist/boss-library/node_modules/tslib/README.md new file mode 100644 index 0000000..290cc61 --- /dev/null +++ b/dist/boss-library/node_modules/tslib/README.md @@ -0,0 +1,164 @@ +# tslib + +This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions. + +This library is primarily used by the `--importHelpers` flag in TypeScript. +When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: + +```ts +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +exports.x = {}; +exports.y = __assign({}, exports.x); + +``` + +will instead be emitted as something like the following: + +```ts +var tslib_1 = require("tslib"); +exports.x = {}; +exports.y = tslib_1.__assign({}, exports.x); +``` + +Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. +For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. + +# Installing + +For the latest stable version, run: + +## npm + +```sh +# TypeScript 3.9.2 or later +npm install tslib + +# TypeScript 3.8.4 or earlier +npm install tslib@^1 + +# TypeScript 2.3.2 or earlier +npm install tslib@1.6.1 +``` + +## yarn + +```sh +# TypeScript 3.9.2 or later +yarn add tslib + +# TypeScript 3.8.4 or earlier +yarn add tslib@^1 + +# TypeScript 2.3.2 or earlier +yarn add tslib@1.6.1 +``` + +## bower + +```sh +# TypeScript 3.9.2 or later +bower install tslib + +# TypeScript 3.8.4 or earlier +bower install tslib@^1 + +# TypeScript 2.3.2 or earlier +bower install tslib@1.6.1 +``` + +## JSPM + +```sh +# TypeScript 3.9.2 or later +jspm install tslib + +# TypeScript 3.8.4 or earlier +jspm install tslib@^1 + +# TypeScript 2.3.2 or earlier +jspm install tslib@1.6.1 +``` + +# Usage + +Set the `importHelpers` compiler option on the command line: + +``` +tsc --importHelpers file.ts +``` + +or in your tsconfig.json: + +```json +{ + "compilerOptions": { + "importHelpers": true + } +} +``` + +#### For bower and JSPM users + +You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: + +```json +{ + "compilerOptions": { + "module": "amd", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["bower_components/tslib/tslib.d.ts"] + } + } +} +``` + +For JSPM users: + +```json +{ + "compilerOptions": { + "module": "system", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["jspm_packages/npm/tslib@2.x.y/tslib.d.ts"] + } + } +} +``` + +## Deployment + +- Choose your new version number +- Set it in `package.json` and `bower.json` +- Create a tag: `git tag [version]` +- Push the tag: `git push --tags` +- Create a [release in GitHub](https://github.com/microsoft/tslib/releases) +- Run the [publish to npm](https://github.com/microsoft/tslib/actions?query=workflow%3A%22Publish+to+NPM%22) workflow + +Done. + +# Contribute + +There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. + +* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. +* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). +* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). +* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. +* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). + +# Documentation + +* [Quick tutorial](http://www.typescriptlang.org/Tutorial) +* [Programming handbook](http://www.typescriptlang.org/Handbook) +* [Homepage](http://www.typescriptlang.org/) diff --git a/dist/boss-library/package.json b/dist/boss-library/package.json new file mode 100644 index 0000000..3b6a5b4 --- /dev/null +++ b/dist/boss-library/package.json @@ -0,0 +1,31 @@ +{ + "name": "boss-library", + "version": "0.0.6", + "peerDependencies": { + "@angular/common": "^14.0.0", + "@angular/core": "^14.0.0" + }, + "dependencies": { + "tslib": "^2.3.0" + }, + "module": "fesm2015/boss-library.mjs", + "es2020": "fesm2020/boss-library.mjs", + "esm2020": "esm2020/boss-library.mjs", + "fesm2020": "fesm2020/boss-library.mjs", + "fesm2015": "fesm2015/boss-library.mjs", + "typings": "index.d.ts", + "exports": { + "./package.json": { + "default": "./package.json" + }, + ".": { + "types": "./index.d.ts", + "esm2020": "./esm2020/boss-library.mjs", + "es2020": "./fesm2020/boss-library.mjs", + "es2015": "./fesm2015/boss-library.mjs", + "node": "./fesm2015/boss-library.mjs", + "default": "./fesm2020/boss-library.mjs" + } + }, + "sideEffects": false +} \ No newline at end of file diff --git a/dist/boss-library/public-api.d.ts b/dist/boss-library/public-api.d.ts new file mode 100644 index 0000000..9fae9f8 --- /dev/null +++ b/dist/boss-library/public-api.d.ts @@ -0,0 +1,3 @@ +export * from './lib/boss-library.service'; +export * from './lib/boss-library.component'; +export * from './lib/boss-library.module'; diff --git a/ng-package.json b/ng-package.json index de3bccd..673a55c 100644 --- a/ng-package.json +++ b/ng-package.json @@ -1,7 +1,7 @@ { "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../../dist/boss-library", + "dest": "./dist/boss-library", "lib": { "entryFile": "src/public-api.ts" } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 552096e..4147cd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "boss-library", - "version": "0.0.1", + "version": "0.0.7", "peerDependencies": { "@angular/common": "^14.0.0", "@angular/core": "^14.0.0" @@ -8,4 +8,4 @@ "dependencies": { "tslib": "^2.3.0" } -} \ No newline at end of file +} diff --git a/src/lib/boss-library.component.ts b/src/lib/boss-library.component.ts index 33b5172..9b4ac49 100644 --- a/src/lib/boss-library.component.ts +++ b/src/lib/boss-library.component.ts @@ -1,15 +1,11 @@ import { Component, OnInit } from '@angular/core'; @Component({ - selector: 'lib-boss-library', - template: ` -

- boss-library works! -

- `, - styles: [ - ] + selector: 'boss-library', + template: `

BOSS-library works!

`, + styles: [ ] }) + export class BossLibraryComponent implements OnInit { constructor() { } diff --git a/src/lib/boss-library.module.ts b/src/lib/boss-library.module.ts index 8a9d083..0ca41f5 100644 --- a/src/lib/boss-library.module.ts +++ b/src/lib/boss-library.module.ts @@ -1,16 +1,21 @@ import { NgModule } from '@angular/core'; +import { FormsModule } from '@angular/forms' +import { CommonModule } from '@angular/common' +import { BrowserModule } from '@angular/platform-browser' import { BossLibraryComponent } from './boss-library.component'; - - @NgModule({ declarations: [ BossLibraryComponent ], imports: [ + FormsModule, + CommonModule, + BrowserModule ], exports: [ BossLibraryComponent ] }) + export class BossLibraryModule { } diff --git a/src/lib/package.json b/src/lib/package.json new file mode 100644 index 0000000..4988807 --- /dev/null +++ b/src/lib/package.json @@ -0,0 +1,11 @@ +{ + "name": "boss-library", + "version": "0.0.6", + "peerDependencies": { + "@angular/common": "^14.0.0", + "@angular/core": "^14.0.0" + }, + "dependencies": { + "tslib": "^2.3.0" + } +} diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..8039af2 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +tslib@^2.3.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3" + integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==