ato-water-lib 0.0.17 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AtoAssetParamsViewComponent {
4
+ isEditView: boolean;
5
+ data: any[];
6
+ clickParamTableRow: EventEmitter<any>;
7
+ onClickRowParam(itemTable: any): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtoAssetParamsViewComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtoAssetParamsViewComponent, "ato-asset-params-view", never, { "isEditView": "isEditView"; "data": "data"; }, { "clickParamTableRow": "clickParamTableRow"; }, never, never, false, never>;
10
+ }
@@ -279,6 +279,375 @@ export declare enum COMPONENTS_GROUP_TYPE {
279
279
  RECIRCULATED_VALUE = "RecirculatedValue"
280
280
  }
281
281
  export declare const ATO_COMPONENTS_GROUP_DATA: {
282
+ [x: string]: {
283
+ nodeDataArray: ({
284
+ key: number;
285
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
286
+ name: string;
287
+ value: string;
288
+ color: AtoGojsEditorModel.ENUM_COLORS;
289
+ group: number;
290
+ loc: string;
291
+ colorValue?: undefined;
292
+ isGroup?: undefined;
293
+ } | {
294
+ key: number;
295
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
296
+ name: string;
297
+ value: string;
298
+ color: AtoGojsEditorModel.ENUM_COLORS;
299
+ group: number;
300
+ colorValue: AtoGojsEditorModel.ENUM_COLORS;
301
+ loc: string;
302
+ isGroup?: undefined;
303
+ } | {
304
+ key: number;
305
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
306
+ group: number;
307
+ loc: string;
308
+ name?: undefined;
309
+ value?: undefined;
310
+ color?: undefined;
311
+ colorValue?: undefined;
312
+ isGroup?: undefined;
313
+ } | {
314
+ key: number;
315
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
316
+ isGroup: boolean;
317
+ name: string;
318
+ value?: undefined;
319
+ color?: undefined;
320
+ group?: undefined;
321
+ loc?: undefined;
322
+ colorValue?: undefined;
323
+ })[];
324
+ linkDataArray: ({
325
+ from: number;
326
+ to: number;
327
+ color: AtoGojsEditorModel.ENUM_COLORS;
328
+ fromPort?: undefined;
329
+ toPort?: undefined;
330
+ } | {
331
+ from: number;
332
+ to: number;
333
+ color: AtoGojsEditorModel.ENUM_COLORS;
334
+ fromPort: string;
335
+ toPort: string;
336
+ })[];
337
+ } | {
338
+ nodeDataArray: ({
339
+ key: number;
340
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
341
+ group: number;
342
+ loc: string;
343
+ selectable: boolean;
344
+ value: string;
345
+ font: string;
346
+ colorValue: string;
347
+ tooltip: string;
348
+ source?: undefined;
349
+ margin?: undefined;
350
+ isGroup?: undefined;
351
+ name?: undefined;
352
+ } | {
353
+ minSizeValue: go.Size;
354
+ selectable: boolean;
355
+ dataTable: {
356
+ key: string;
357
+ name: ENUM_ASSET_PARAMETERS;
358
+ value: string;
359
+ isEditable: boolean;
360
+ }[];
361
+ borderTable: AtoGojsEditorModel.ENUM_COLORS;
362
+ bgColor: AtoGojsEditorModel.ENUM_COLORS;
363
+ key: number;
364
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
365
+ group: number;
366
+ loc: string;
367
+ padding: go.Margin;
368
+ value?: undefined;
369
+ font?: undefined;
370
+ colorValue?: undefined;
371
+ tooltip?: undefined;
372
+ source?: undefined;
373
+ margin?: undefined;
374
+ isGroup?: undefined;
375
+ name?: undefined;
376
+ } | {
377
+ minSizeValue: go.Size;
378
+ selectable: boolean;
379
+ dataTable: {
380
+ key: string;
381
+ name: ENUM_ASSET_PARAMETERS;
382
+ value: string;
383
+ isEditable: boolean;
384
+ }[];
385
+ borderTable: AtoGojsEditorModel.ENUM_COLORS;
386
+ bgColor: AtoGojsEditorModel.ENUM_COLORS;
387
+ key: number;
388
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
389
+ group: number;
390
+ loc: string;
391
+ value?: undefined;
392
+ font?: undefined;
393
+ colorValue?: undefined;
394
+ tooltip?: undefined;
395
+ source?: undefined;
396
+ margin?: undefined;
397
+ isGroup?: undefined;
398
+ name?: undefined;
399
+ } | {
400
+ key: number;
401
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
402
+ source: string;
403
+ group: number;
404
+ loc: string;
405
+ margin: go.Margin;
406
+ selectable: boolean;
407
+ value?: undefined;
408
+ font?: undefined;
409
+ colorValue?: undefined;
410
+ tooltip?: undefined;
411
+ isGroup?: undefined;
412
+ name?: undefined;
413
+ } | {
414
+ key: number;
415
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
416
+ isGroup: boolean;
417
+ name: string;
418
+ loc: string;
419
+ selectable: boolean;
420
+ group?: undefined;
421
+ value?: undefined;
422
+ font?: undefined;
423
+ colorValue?: undefined;
424
+ tooltip?: undefined;
425
+ source?: undefined;
426
+ margin?: undefined;
427
+ })[];
428
+ linkDataArray: never[];
429
+ } | {
430
+ nodeDataArray: ({
431
+ key: number;
432
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
433
+ group: number;
434
+ loc: string;
435
+ data: {
436
+ quantity: number;
437
+ unit: string;
438
+ };
439
+ name: string;
440
+ color: string;
441
+ source?: undefined;
442
+ margin?: undefined;
443
+ selectable?: undefined;
444
+ isGroup?: undefined;
445
+ } | {
446
+ minSizeValue: go.Size;
447
+ selectable: boolean;
448
+ dataTable: {
449
+ value: string;
450
+ isEditable: boolean;
451
+ maxSizeValue: number;
452
+ name: string;
453
+ key: ENUM_ASSET_PARAMETERS;
454
+ waterSystem: WATER_SYSTEMS_NAME;
455
+ }[];
456
+ visible: boolean;
457
+ title: WATER_SYSTEMS_NAME;
458
+ color: AtoGojsEditorModel.ENUM_COLORS;
459
+ borderTable: AtoGojsEditorModel.ENUM_COLORS;
460
+ bgColor: AtoGojsEditorModel.ENUM_COLORS;
461
+ key: number;
462
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
463
+ group: number;
464
+ loc: string;
465
+ padding: go.Margin;
466
+ data?: undefined;
467
+ name?: undefined;
468
+ source?: undefined;
469
+ margin?: undefined;
470
+ isGroup?: undefined;
471
+ } | {
472
+ minSizeValue: go.Size;
473
+ selectable: boolean;
474
+ dataTable: {
475
+ value: string;
476
+ isEditable: boolean;
477
+ maxSizeValue: number;
478
+ name: string;
479
+ key: ENUM_ASSET_PARAMETERS;
480
+ waterSystem: WATER_SYSTEMS_NAME;
481
+ }[];
482
+ title: WATER_SYSTEMS_NAME;
483
+ color: AtoGojsEditorModel.ENUM_COLORS;
484
+ borderTable: AtoGojsEditorModel.ENUM_COLORS;
485
+ bgColor: AtoGojsEditorModel.ENUM_COLORS;
486
+ key: number;
487
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
488
+ group: number;
489
+ padding: go.Margin;
490
+ loc: string;
491
+ data?: undefined;
492
+ name?: undefined;
493
+ source?: undefined;
494
+ margin?: undefined;
495
+ isGroup?: undefined;
496
+ } | {
497
+ key: number;
498
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
499
+ source: string;
500
+ group: number;
501
+ loc: string;
502
+ margin: go.Margin;
503
+ selectable: boolean;
504
+ data?: undefined;
505
+ name?: undefined;
506
+ color?: undefined;
507
+ isGroup?: undefined;
508
+ } | {
509
+ key: number;
510
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
511
+ isGroup: boolean;
512
+ name: string;
513
+ group?: undefined;
514
+ loc?: undefined;
515
+ data?: undefined;
516
+ color?: undefined;
517
+ source?: undefined;
518
+ margin?: undefined;
519
+ selectable?: undefined;
520
+ })[];
521
+ linkDataArray: never[];
522
+ } | {
523
+ nodeDataArray: ({
524
+ key: number;
525
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
526
+ group: number;
527
+ loc: string;
528
+ data: {
529
+ quantity: number;
530
+ unit: string;
531
+ };
532
+ name: string;
533
+ color: string;
534
+ source?: undefined;
535
+ margin?: undefined;
536
+ selectable?: undefined;
537
+ isGroup?: undefined;
538
+ } | {
539
+ minSizeValue: go.Size;
540
+ selectable: boolean;
541
+ dataTable: {
542
+ value: string;
543
+ isEditable: boolean;
544
+ maxSizeValue: number;
545
+ name: string;
546
+ key: ENUM_ASSET_PARAMETERS;
547
+ waterSystem: WATER_SYSTEMS_NAME;
548
+ }[];
549
+ visible: boolean;
550
+ title: WATER_SYSTEMS_NAME;
551
+ color: AtoGojsEditorModel.ENUM_COLORS;
552
+ borderTable: AtoGojsEditorModel.ENUM_COLORS;
553
+ bgColor: AtoGojsEditorModel.ENUM_COLORS;
554
+ key: number;
555
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
556
+ group: number;
557
+ padding: go.Margin;
558
+ loc?: undefined;
559
+ data?: undefined;
560
+ name?: undefined;
561
+ source?: undefined;
562
+ margin?: undefined;
563
+ isGroup?: undefined;
564
+ } | {
565
+ key: number;
566
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
567
+ source: string;
568
+ group: number;
569
+ loc: string;
570
+ margin: go.Margin;
571
+ selectable: boolean;
572
+ data?: undefined;
573
+ name?: undefined;
574
+ color?: undefined;
575
+ isGroup?: undefined;
576
+ } | {
577
+ key: number;
578
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
579
+ group: number;
580
+ loc: string;
581
+ name: string;
582
+ color: AtoGojsEditorModel.ENUM_COLORS;
583
+ data?: undefined;
584
+ source?: undefined;
585
+ margin?: undefined;
586
+ selectable?: undefined;
587
+ isGroup?: undefined;
588
+ } | {
589
+ key: number;
590
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
591
+ isGroup: boolean;
592
+ name: string;
593
+ group?: undefined;
594
+ loc?: undefined;
595
+ data?: undefined;
596
+ color?: undefined;
597
+ source?: undefined;
598
+ margin?: undefined;
599
+ selectable?: undefined;
600
+ })[];
601
+ linkDataArray: never[];
602
+ } | {
603
+ nodeDataArray: ({
604
+ key: number;
605
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
606
+ source: string;
607
+ group: number;
608
+ loc: string;
609
+ margin: go.Margin;
610
+ selectable: boolean;
611
+ width: number;
612
+ height: number;
613
+ data?: undefined;
614
+ name?: undefined;
615
+ color?: undefined;
616
+ isGroup?: undefined;
617
+ } | {
618
+ key: number;
619
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
620
+ group: number;
621
+ loc: string;
622
+ data: {
623
+ quantity: number;
624
+ unit: string;
625
+ };
626
+ name: COMPONENTS_GROUP_TYPE;
627
+ color: string;
628
+ source?: undefined;
629
+ margin?: undefined;
630
+ selectable?: undefined;
631
+ width?: undefined;
632
+ height?: undefined;
633
+ isGroup?: undefined;
634
+ } | {
635
+ key: number;
636
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
637
+ isGroup: boolean;
638
+ name: string;
639
+ loc: string;
640
+ selectable: boolean;
641
+ source?: undefined;
642
+ group?: undefined;
643
+ margin?: undefined;
644
+ width?: undefined;
645
+ height?: undefined;
646
+ data?: undefined;
647
+ color?: undefined;
648
+ })[];
649
+ linkDataArray: never[];
650
+ };
282
651
  WaterStorageTanks: {
283
652
  nodeDataArray: ({
284
653
  key: number;
@@ -943,6 +1312,7 @@ export declare const ATO_COMPONENTS_GROUP_DATA: {
943
1312
  key: ENUM_ASSET_PARAMETERS;
944
1313
  waterSystem: WATER_SYSTEMS_NAME;
945
1314
  }[];
1315
+ visible: boolean;
946
1316
  title: WATER_SYSTEMS_NAME;
947
1317
  color: AtoGojsEditorModel.ENUM_COLORS;
948
1318
  borderTable: AtoGojsEditorModel.ENUM_COLORS;
@@ -957,6 +1327,31 @@ export declare const ATO_COMPONENTS_GROUP_DATA: {
957
1327
  source?: undefined;
958
1328
  margin?: undefined;
959
1329
  isGroup?: undefined;
1330
+ } | {
1331
+ minSizeValue: go.Size;
1332
+ selectable: boolean;
1333
+ dataTable: {
1334
+ value: string;
1335
+ isEditable: boolean;
1336
+ maxSizeValue: number;
1337
+ name: string;
1338
+ key: ENUM_ASSET_PARAMETERS;
1339
+ waterSystem: WATER_SYSTEMS_NAME;
1340
+ }[];
1341
+ title: WATER_SYSTEMS_NAME;
1342
+ color: AtoGojsEditorModel.ENUM_COLORS;
1343
+ borderTable: AtoGojsEditorModel.ENUM_COLORS;
1344
+ bgColor: AtoGojsEditorModel.ENUM_COLORS;
1345
+ key: number;
1346
+ type: AtoGojsEditorModel.ENUM_TEMPLATES;
1347
+ group: number;
1348
+ padding: go.Margin;
1349
+ loc: string;
1350
+ data?: undefined;
1351
+ name?: undefined;
1352
+ source?: undefined;
1353
+ margin?: undefined;
1354
+ isGroup?: undefined;
960
1355
  } | {
961
1356
  key: number;
962
1357
  type: AtoGojsEditorModel.ENUM_TEMPLATES;
@@ -0,0 +1,3 @@
1
+ export declare const ICONS_BASE64: {
2
+ uf044: string;
3
+ };
@@ -0,0 +1,12 @@
1
+ import { TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AtoNgVarDirective {
4
+ private templateRef;
5
+ private vcRef;
6
+ set ngVar(context: unknown);
7
+ private context;
8
+ private hasView;
9
+ constructor(templateRef: TemplateRef<any>, vcRef: ViewContainerRef);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtoNgVarDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AtoNgVarDirective, "[ngVar]", never, { "ngVar": "ngVar"; }, {}, never, never, false, never>;
12
+ }
@@ -73,6 +73,10 @@ export declare class AtoDefaultGojsEditor implements OnDestroy {
73
73
  w: number;
74
74
  h: number;
75
75
  }): void;
76
+ makeTextLabelTemplate(size?: {
77
+ w: number;
78
+ h: number;
79
+ }): void;
76
80
  makeTextTemplate(size?: {
77
81
  w: number;
78
82
  h: number;
@@ -181,7 +181,8 @@ export declare namespace AtoGojsEditorModel {
181
181
  EXPANSION_TANKS = "Expansion Tanks",
182
182
  HEAT_EXCHANGERS = "Heat Exchangers",
183
183
  TURBINES = "Turbines",
184
- GROUP_BASIC_COMPONENT = "Group Basic Component"
184
+ GROUP_BASIC_COMPONENT = "Group Basic Component",
185
+ TEXT_LABEL = "label"
185
186
  }
186
187
  enum ENUM_TYPES {
187
188
  STORAGE = "WaterStorageTanks",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ato-water-lib",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0 || ^16.2.0",
6
6
  "@angular/core": "^15.1.0 || ^16.2.0",
package/public-api.d.ts CHANGED
@@ -3,4 +3,6 @@ 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/components/asset-params-view/asset-params-view.component';
6
7
  export * from './lib/directive/ato-loading.directive';
8
+ export * from './lib/directive/ng-var.directive';