oxpi-nglib 0.0.1
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 +24 -0
- package/esm2020/lib/controls/busy-indicator/busy-indicator.component.mjs +18 -0
- package/esm2020/lib/oxpi-nglib.module.mjs +21 -0
- package/esm2020/oxpi-nglib.mjs +5 -0
- package/esm2020/public-api.mjs +7 -0
- package/fesm2015/oxpi-nglib.mjs +47 -0
- package/fesm2015/oxpi-nglib.mjs.map +1 -0
- package/fesm2020/oxpi-nglib.mjs +47 -0
- package/fesm2020/oxpi-nglib.mjs.map +1 -0
- package/lib/controls/busy-indicator/busy-indicator.component.d.ts +9 -0
- package/lib/oxpi-nglib.module.d.ts +7 -0
- package/oxpi-nglib.d.ts +5 -0
- package/package.json +31 -0
- package/public-api.d.ts +2 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# OxpiNglib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project oxpi-nglib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project oxpi-nglib`.
|
|
8
|
+
> Note: Don't forget to add `--project oxpi-nglib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build oxpi-nglib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build oxpi-nglib`, go to the dist folder `cd dist/oxpi-nglib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test oxpi-nglib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
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.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class BusyIndicatorComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.isBusy = false;
|
|
6
|
+
}
|
|
7
|
+
ngOnInit() {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
BusyIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BusyIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
BusyIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: { isBusy: "isBusy" }, ngImport: i0, template: "<div class=\"busy-indicator-container\" *ngIf=\"isBusy\">\n <div class=\"busy-indicator\"></div>\n</div>", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:white;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BusyIndicatorComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'ox-busy-indicator', template: "<div class=\"busy-indicator-container\" *ngIf=\"isBusy\">\n <div class=\"busy-indicator\"></div>\n</div>", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:white;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
15
|
+
}], ctorParameters: function () { return []; }, propDecorators: { isBusy: [{
|
|
16
|
+
type: Input
|
|
17
|
+
}] } });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzeS1pbmRpY2F0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvb3hwaS1uZ2xpYi9zcmMvbGliL2NvbnRyb2xzL2J1c3ktaW5kaWNhdG9yL2J1c3ktaW5kaWNhdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL294cGktbmdsaWIvc3JjL2xpYi9jb250cm9scy9idXN5LWluZGljYXRvci9idXN5LWluZGljYXRvci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFPekQsTUFBTSxPQUFPLHNCQUFzQjtJQUVqQztRQURTLFdBQU0sR0FBWSxLQUFLLENBQUM7SUFDakIsQ0FBQztJQUVqQixRQUFRO0lBQ1IsQ0FBQzs7bUhBTFUsc0JBQXNCO3VHQUF0QixzQkFBc0IsdUZDUG5DLDJHQUVNOzJGREtPLHNCQUFzQjtrQkFMbEMsU0FBUzsrQkFDRSxtQkFBbUI7MEVBS3BCLE1BQU07c0JBQWQsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdveC1idXN5LWluZGljYXRvcicsXG4gIHRlbXBsYXRlVXJsOiAnLi9idXN5LWluZGljYXRvci5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2J1c3ktaW5kaWNhdG9yLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgQnVzeUluZGljYXRvckNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIEBJbnB1dCgpIGlzQnVzeTogYm9vbGVhbiA9IGZhbHNlO1xuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIG5nT25Jbml0KCkge1xuICB9XG5cbn1cbiIsIjxkaXYgY2xhc3M9XCJidXN5LWluZGljYXRvci1jb250YWluZXJcIiAqbmdJZj1cImlzQnVzeVwiPlxuICA8ZGl2IGNsYXNzPVwiYnVzeS1pbmRpY2F0b3JcIj48L2Rpdj5cbjwvZGl2PiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { BusyIndicatorComponent } from './controls/busy-indicator/busy-indicator.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class OxpiNglibModule {
|
|
5
|
+
}
|
|
6
|
+
OxpiNglibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
OxpiNglibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, declarations: [BusyIndicatorComponent], exports: [BusyIndicatorComponent] });
|
|
8
|
+
OxpiNglibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, imports: [[]] });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [
|
|
13
|
+
BusyIndicatorComponent
|
|
14
|
+
],
|
|
15
|
+
imports: [],
|
|
16
|
+
exports: [
|
|
17
|
+
BusyIndicatorComponent
|
|
18
|
+
]
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3hwaS1uZ2xpYi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9veHBpLW5nbGliL3NyYy9saWIvb3hwaS1uZ2xpYi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxvREFBb0QsQ0FBQzs7QUFjNUYsTUFBTSxPQUFPLGVBQWU7OzRHQUFmLGVBQWU7NkdBQWYsZUFBZSxpQkFSeEIsc0JBQXNCLGFBS3RCLHNCQUFzQjs2R0FHYixlQUFlLFlBTmpCLEVBQ1I7MkZBS1UsZUFBZTtrQkFWM0IsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUU7d0JBQ1osc0JBQXNCO3FCQUN2QjtvQkFDRCxPQUFPLEVBQUUsRUFDUjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1Asc0JBQXNCO3FCQUN2QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBCdXN5SW5kaWNhdG9yQ29tcG9uZW50IH0gZnJvbSAnLi9jb250cm9scy9idXN5LWluZGljYXRvci9idXN5LWluZGljYXRvci5jb21wb25lbnQnO1xuXG5cblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgQnVzeUluZGljYXRvckNvbXBvbmVudFxuICBdLFxuICBpbXBvcnRzOiBbXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBCdXN5SW5kaWNhdG9yQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgT3hwaU5nbGliTW9kdWxlIHsgfVxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3hwaS1uZ2xpYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL294cGktbmdsaWIvc3JjL294cGktbmdsaWIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of oxpi-nglib
|
|
3
|
+
*/
|
|
4
|
+
//export * from './lib/oxpi-nglib.service';
|
|
5
|
+
export * from './lib/controls/busy-indicator/busy-indicator.component';
|
|
6
|
+
export * from './lib/oxpi-nglib.module';
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL294cGktbmdsaWIvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCwyQ0FBMkM7QUFDM0MsY0FBYyx3REFBd0QsQ0FBQztBQUN2RSxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBveHBpLW5nbGliXG4gKi9cblxuLy9leHBvcnQgKiBmcm9tICcuL2xpYi9veHBpLW5nbGliLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29udHJvbHMvYnVzeS1pbmRpY2F0b3IvYnVzeS1pbmRpY2F0b3IuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL294cGktbmdsaWIubW9kdWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Input, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class BusyIndicatorComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.isBusy = false;
|
|
7
|
+
}
|
|
8
|
+
ngOnInit() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
BusyIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BusyIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
BusyIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: { isBusy: "isBusy" }, ngImport: i0, template: "<div class=\"busy-indicator-container\" *ngIf=\"isBusy\">\n <div class=\"busy-indicator\"></div>\n</div>", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:white;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BusyIndicatorComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ selector: 'ox-busy-indicator', template: "<div class=\"busy-indicator-container\" *ngIf=\"isBusy\">\n <div class=\"busy-indicator\"></div>\n</div>", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:white;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
16
|
+
}], ctorParameters: function () { return []; }, propDecorators: { isBusy: [{
|
|
17
|
+
type: Input
|
|
18
|
+
}] } });
|
|
19
|
+
|
|
20
|
+
class OxpiNglibModule {
|
|
21
|
+
}
|
|
22
|
+
OxpiNglibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
OxpiNglibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, declarations: [BusyIndicatorComponent], exports: [BusyIndicatorComponent] });
|
|
24
|
+
OxpiNglibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, imports: [[]] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [
|
|
29
|
+
BusyIndicatorComponent
|
|
30
|
+
],
|
|
31
|
+
imports: [],
|
|
32
|
+
exports: [
|
|
33
|
+
BusyIndicatorComponent
|
|
34
|
+
]
|
|
35
|
+
}]
|
|
36
|
+
}] });
|
|
37
|
+
|
|
38
|
+
/*
|
|
39
|
+
* Public API Surface of oxpi-nglib
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Generated bundle index. Do not edit.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
export { BusyIndicatorComponent, OxpiNglibModule };
|
|
47
|
+
//# sourceMappingURL=oxpi-nglib.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oxpi-nglib.mjs","sources":["../../../projects/oxpi-nglib/src/lib/controls/busy-indicator/busy-indicator.component.ts","../../../projects/oxpi-nglib/src/lib/controls/busy-indicator/busy-indicator.component.html","../../../projects/oxpi-nglib/src/lib/oxpi-nglib.module.ts","../../../projects/oxpi-nglib/src/public-api.ts","../../../projects/oxpi-nglib/src/oxpi-nglib.ts"],"sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n\n@Component({\n selector: 'ox-busy-indicator',\n templateUrl: './busy-indicator.component.html',\n styleUrls: ['./busy-indicator.component.scss']\n})\nexport class BusyIndicatorComponent implements OnInit {\n @Input() isBusy: boolean = false;\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","<div class=\"busy-indicator-container\" *ngIf=\"isBusy\">\n <div class=\"busy-indicator\"></div>\n</div>","import { NgModule } from '@angular/core';\nimport { BusyIndicatorComponent } from './controls/busy-indicator/busy-indicator.component';\n\n\n\n@NgModule({\n declarations: [\n BusyIndicatorComponent\n ],\n imports: [\n ],\n exports: [\n BusyIndicatorComponent\n ]\n})\nexport class OxpiNglibModule { }\n","/*\n * Public API Surface of oxpi-nglib\n */\n\n//export * from './lib/oxpi-nglib.service';\nexport * from './lib/controls/busy-indicator/busy-indicator.component';\nexport * from './lib/oxpi-nglib.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,sBAAsB;IAEjC;QADS,WAAM,GAAY,KAAK,CAAC;KAChB;IAEjB,QAAQ;KACP;;mHALU,sBAAsB;uGAAtB,sBAAsB,uFCPnC,2GAEM;2FDKO,sBAAsB;kBALlC,SAAS;+BACE,mBAAmB;0EAKpB,MAAM;sBAAd,KAAK;;;MEOK,eAAe;;4GAAf,eAAe;6GAAf,eAAe,iBARxB,sBAAsB,aAKtB,sBAAsB;6GAGb,eAAe,YANjB,EACR;2FAKU,eAAe;kBAV3B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,sBAAsB;qBACvB;oBACD,OAAO,EAAE,EACR;oBACD,OAAO,EAAE;wBACP,sBAAsB;qBACvB;iBACF;;;ACdD;;;;ACAA;;;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Input, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class BusyIndicatorComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.isBusy = false;
|
|
7
|
+
}
|
|
8
|
+
ngOnInit() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
BusyIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BusyIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
BusyIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: { isBusy: "isBusy" }, ngImport: i0, template: "<div class=\"busy-indicator-container\" *ngIf=\"isBusy\">\n <div class=\"busy-indicator\"></div>\n</div>", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:white;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BusyIndicatorComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ selector: 'ox-busy-indicator', template: "<div class=\"busy-indicator-container\" *ngIf=\"isBusy\">\n <div class=\"busy-indicator\"></div>\n</div>", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:white;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
16
|
+
}], ctorParameters: function () { return []; }, propDecorators: { isBusy: [{
|
|
17
|
+
type: Input
|
|
18
|
+
}] } });
|
|
19
|
+
|
|
20
|
+
class OxpiNglibModule {
|
|
21
|
+
}
|
|
22
|
+
OxpiNglibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
OxpiNglibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, declarations: [BusyIndicatorComponent], exports: [BusyIndicatorComponent] });
|
|
24
|
+
OxpiNglibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, imports: [[]] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: OxpiNglibModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [
|
|
29
|
+
BusyIndicatorComponent
|
|
30
|
+
],
|
|
31
|
+
imports: [],
|
|
32
|
+
exports: [
|
|
33
|
+
BusyIndicatorComponent
|
|
34
|
+
]
|
|
35
|
+
}]
|
|
36
|
+
}] });
|
|
37
|
+
|
|
38
|
+
/*
|
|
39
|
+
* Public API Surface of oxpi-nglib
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Generated bundle index. Do not edit.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
export { BusyIndicatorComponent, OxpiNglibModule };
|
|
47
|
+
//# sourceMappingURL=oxpi-nglib.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oxpi-nglib.mjs","sources":["../../../projects/oxpi-nglib/src/lib/controls/busy-indicator/busy-indicator.component.ts","../../../projects/oxpi-nglib/src/lib/controls/busy-indicator/busy-indicator.component.html","../../../projects/oxpi-nglib/src/lib/oxpi-nglib.module.ts","../../../projects/oxpi-nglib/src/public-api.ts","../../../projects/oxpi-nglib/src/oxpi-nglib.ts"],"sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n\n@Component({\n selector: 'ox-busy-indicator',\n templateUrl: './busy-indicator.component.html',\n styleUrls: ['./busy-indicator.component.scss']\n})\nexport class BusyIndicatorComponent implements OnInit {\n @Input() isBusy: boolean = false;\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","<div class=\"busy-indicator-container\" *ngIf=\"isBusy\">\n <div class=\"busy-indicator\"></div>\n</div>","import { NgModule } from '@angular/core';\nimport { BusyIndicatorComponent } from './controls/busy-indicator/busy-indicator.component';\n\n\n\n@NgModule({\n declarations: [\n BusyIndicatorComponent\n ],\n imports: [\n ],\n exports: [\n BusyIndicatorComponent\n ]\n})\nexport class OxpiNglibModule { }\n","/*\n * Public API Surface of oxpi-nglib\n */\n\n//export * from './lib/oxpi-nglib.service';\nexport * from './lib/controls/busy-indicator/busy-indicator.component';\nexport * from './lib/oxpi-nglib.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,sBAAsB;IAEjC;QADS,WAAM,GAAY,KAAK,CAAC;KAChB;IAEjB,QAAQ;KACP;;mHALU,sBAAsB;uGAAtB,sBAAsB,uFCPnC,2GAEM;2FDKO,sBAAsB;kBALlC,SAAS;+BACE,mBAAmB;0EAKpB,MAAM;sBAAd,KAAK;;;MEOK,eAAe;;4GAAf,eAAe;6GAAf,eAAe,iBARxB,sBAAsB,aAKtB,sBAAsB;6GAGb,eAAe,YANjB,EACR;2FAKU,eAAe;kBAV3B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,sBAAsB;qBACvB;oBACD,OAAO,EAAE,EACR;oBACD,OAAO,EAAE;wBACP,sBAAsB;qBACvB;iBACF;;;ACdD;;;;ACAA;;;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BusyIndicatorComponent implements OnInit {
|
|
4
|
+
isBusy: boolean;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BusyIndicatorComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BusyIndicatorComponent, "ox-busy-indicator", never, { "isBusy": "isBusy"; }, {}, never, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./controls/busy-indicator/busy-indicator.component";
|
|
3
|
+
export declare class OxpiNglibModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OxpiNglibModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OxpiNglibModule, [typeof i1.BusyIndicatorComponent], never, [typeof i1.BusyIndicatorComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OxpiNglibModule>;
|
|
7
|
+
}
|
package/oxpi-nglib.d.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oxpi-nglib",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^13.1.0",
|
|
6
|
+
"@angular/core": "^13.1.0"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.3.0"
|
|
10
|
+
},
|
|
11
|
+
"module": "fesm2015/oxpi-nglib.mjs",
|
|
12
|
+
"es2020": "fesm2020/oxpi-nglib.mjs",
|
|
13
|
+
"esm2020": "esm2020/oxpi-nglib.mjs",
|
|
14
|
+
"fesm2020": "fesm2020/oxpi-nglib.mjs",
|
|
15
|
+
"fesm2015": "fesm2015/oxpi-nglib.mjs",
|
|
16
|
+
"typings": "oxpi-nglib.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
"./package.json": {
|
|
19
|
+
"default": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./oxpi-nglib.d.ts",
|
|
23
|
+
"esm2020": "./esm2020/oxpi-nglib.mjs",
|
|
24
|
+
"es2020": "./fesm2020/oxpi-nglib.mjs",
|
|
25
|
+
"es2015": "./fesm2015/oxpi-nglib.mjs",
|
|
26
|
+
"node": "./fesm2015/oxpi-nglib.mjs",
|
|
27
|
+
"default": "./fesm2020/oxpi-nglib.mjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"sideEffects": false
|
|
31
|
+
}
|
package/public-api.d.ts
ADDED