ato-water-lib 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,10 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ato-water-lib.component";
3
3
  import * as i2 from "./components/flow-diagram-lib/flow-diagram-lib.component";
4
4
  import * as i3 from "./components/asset-flow/asset-flow.component";
5
- import * as i4 from "@angular/common";
5
+ import * as i4 from "./directive/ato-loading.directive";
6
+ import * as i5 from "@angular/common";
6
7
  export declare class AtoWaterLibModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AtoWaterLibModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<AtoWaterLibModule, [typeof i1.AtoWaterLibComponent, typeof i2.AtoFlowDiagramLibComponent, typeof i3.AssetFlowComponent], [typeof i4.CommonModule], [typeof i1.AtoWaterLibComponent, typeof i2.AtoFlowDiagramLibComponent, typeof i3.AssetFlowComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AtoWaterLibModule, [typeof i1.AtoWaterLibComponent, typeof i2.AtoFlowDiagramLibComponent, typeof i3.AssetFlowComponent, typeof i4.AtoLoadingDirective], [typeof i5.CommonModule], [typeof i1.AtoWaterLibComponent, typeof i2.AtoFlowDiagramLibComponent, typeof i3.AssetFlowComponent, typeof i4.AtoLoadingDirective]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<AtoWaterLibModule>;
10
11
  }
@@ -0,0 +1,14 @@
1
+ import { ElementRef, Renderer2, OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AtoLoadingDirective implements OnChanges {
4
+ private el;
5
+ private renderer;
6
+ appLoading: boolean;
7
+ private spinnerWrapper;
8
+ constructor(el: ElementRef, renderer: Renderer2);
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ private showSpinner;
11
+ private hideSpinner;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtoLoadingDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AtoLoadingDirective, "[atoLoading]", never, { "appLoading": "appLoading"; }, {}, never, never, false, never>;
14
+ }
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "ato-water-lib",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "peerDependencies": {
5
- "@angular/common": "^15.1.0",
6
- "@angular/core": "^15.1.0"
5
+ "@angular/common": "^15.1.0 || ^16.2.0",
6
+ "@angular/core": "^15.1.0 || ^16.2.0",
7
+ "gojs": "^2.1.56",
8
+ "lodash": "^4.17.21",
9
+ "moment": "^2.30.1"
7
10
  },
8
11
  "dependencies": {
9
12
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from './lib/ato-water-lib.component';
3
3
  export * from './lib/ato-water-lib.module';
4
4
  export * from './lib/components/flow-diagram-lib/flow-diagram-lib.component';
5
5
  export * from './lib/components/asset-flow/asset-flow.component';
6
+ export * from './lib/directive/ato-loading.directive';