ato-water-lib 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { GojsEditorModel } from './gojs-editor.model';
2
+ import { AtoGojsEditorModel } from './gojs-editor.model';
3
3
  import * as go from 'gojs';
4
4
  import { Subject } from 'rxjs';
5
5
  import { Subscription } from 'rxjs';
@@ -19,8 +19,8 @@ export declare class AtoDefaultGojsEditor implements OnDestroy {
19
19
  set initialOptions(v: any);
20
20
  get initialOptions(): any;
21
21
  private _editor;
22
- set editor(v: GojsEditorModel);
23
- get editor(): GojsEditorModel;
22
+ set editor(v: AtoGojsEditorModel);
23
+ get editor(): AtoGojsEditorModel;
24
24
  isShowNodeInfo: boolean;
25
25
  plantSatus: string;
26
26
  constructor();
@@ -1,10 +1,10 @@
1
1
  import { ATO_ECOMPONENT_PLANT_TYPE } from '../constants/value.const';
2
- export declare class GojsEditorModel {
2
+ export declare class AtoGojsEditorModel {
3
3
  initialOptions: any;
4
4
  data: any;
5
5
  constructor(data: any);
6
6
  }
7
- export declare namespace GojsEditorModel {
7
+ export declare namespace AtoGojsEditorModel {
8
8
  const GRID_SIZE = 20;
9
9
  const BASIC_GRID_INTERVAL_X = 24;
10
10
  const BASIC_GRID_INTERVAL_Y = 10;
@@ -47,7 +47,10 @@ export declare namespace GojsEditorModel {
47
47
  DANUBE = "#7197CA",
48
48
  DANUBE_ALICE_BLUE = "#F1F5FA",
49
49
  AZURE = "#EEF8F8",
50
- OLD_LACE = "#FCF6EA"
50
+ OLD_LACE = "#FCF6EA",
51
+ CARROT_ORANGE = "#F69122",
52
+ FLAMINGO = "#E95F47",
53
+ SNOW = "#FEF7F6"
51
54
  }
52
55
  enum ENUM_LINK_TYPES {
53
56
  SIMPLE = "simple",
@@ -313,7 +316,7 @@ export declare namespace GojsEditorModel {
313
316
  KEY_MODEL_COMPUTED = "M"
314
317
  }
315
318
  const COLOR_COLLECTION_METHOD: {
316
- [key in GojsEditorModel.DATA_COLLECTION_METHOD]: any;
319
+ [key in AtoGojsEditorModel.DATA_COLLECTION_METHOD]: any;
317
320
  };
318
321
  enum WITH_DRAW_SYSTEM_TYPES {
319
322
  WATER_SOURCE = "WaterSource"
@@ -347,10 +350,10 @@ export declare namespace GojsEditorModel {
347
350
  const PLANT_CELL_PATH = "assets/images/editor/plant-cell";
348
351
  const DATA_BOX = "assets/images/editor/data-box";
349
352
  const LINK_TEMPLATES: {
350
- [key in GojsEditorModel.ENUM_LINK_TYPES]: any;
353
+ [key in AtoGojsEditorModel.ENUM_LINK_TYPES]: any;
351
354
  };
352
355
  interface I_TEMPLATE_ITEM {
353
- name: GojsEditorModel.ENUM_TEMPLATES;
356
+ name: AtoGojsEditorModel.ENUM_TEMPLATES;
354
357
  icon?: string;
355
358
  size?: {
356
359
  w: number;
@@ -360,7 +363,7 @@ export declare namespace GojsEditorModel {
360
363
  }
361
364
  const ATTRNAME_COMPONENT: any[];
362
365
  const NODE_TEMPLATES: {
363
- [key in GojsEditorModel.ENUM_TEMPLATES]: I_TEMPLATE_ITEM;
366
+ [key in AtoGojsEditorModel.ENUM_TEMPLATES]: I_TEMPLATE_ITEM;
364
367
  };
365
368
  const WITHDRAW_DISCHARGE_ICON: {
366
369
  [key in string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ato-water-lib",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"
package/public-api.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './lib/ato-water-lib.service';
2
2
  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
+ export * from './lib/components/asset-flow/asset-flow.component';