ato-water-lib 0.0.7 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/esm2020/lib/ato-water-lib.module.mjs +16 -8
  2. package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +56 -0
  3. package/esm2020/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +71 -0
  4. package/esm2020/lib/constants/applicable-prefixes-const.mjs +441 -0
  5. package/esm2020/lib/constants/components-group-const.mjs +1289 -0
  6. package/esm2020/lib/constants/key.const.mjs +4 -0
  7. package/esm2020/lib/constants/plant.constant.mjs +51 -0
  8. package/esm2020/lib/constants/value.const.mjs +782 -0
  9. package/esm2020/lib/models/default-gojs-editor.model.mjs +3184 -0
  10. package/esm2020/lib/models/gojs-editor.model.mjs +1750 -0
  11. package/esm2020/lib/services/utils/utils.service.mjs +133 -0
  12. package/esm2020/public-api.mjs +3 -2
  13. package/fesm2015/ato-water-lib.mjs +7645 -14
  14. package/fesm2015/ato-water-lib.mjs.map +1 -1
  15. package/fesm2020/ato-water-lib.mjs +7747 -14
  16. package/fesm2020/ato-water-lib.mjs.map +1 -1
  17. package/lib/ato-water-lib.module.d.ts +4 -2
  18. package/lib/components/asset-flow/asset-flow.component.d.ts +21 -0
  19. package/lib/components/flow-diagram-lib/flow-diagram-lib.component.d.ts +17 -0
  20. package/lib/constants/applicable-prefixes-const.d.ts +162 -0
  21. package/lib/constants/components-group-const.d.ts +1132 -0
  22. package/lib/constants/key.const.d.ts +1 -0
  23. package/lib/constants/plant.constant.d.ts +7 -0
  24. package/lib/constants/value.const.d.ts +71 -0
  25. package/lib/models/default-gojs-editor.model.d.ts +184 -0
  26. package/lib/models/gojs-editor.model.d.ts +435 -0
  27. package/lib/services/utils/utils.service.d.ts +24 -0
  28. package/package.json +1 -1
  29. package/public-api.d.ts +2 -1
  30. package/esm2020/lib/test-button/test-button.component.mjs +0 -11
  31. package/lib/test-button/test-button.component.d.ts +0 -5
@@ -1,8 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ato-water-lib.component";
3
- import * as i2 from "./test-button/test-button.component";
3
+ import * as i2 from "./components/flow-diagram-lib/flow-diagram-lib.component";
4
+ import * as i3 from "./components/asset-flow/asset-flow.component";
5
+ import * as i4 from "@angular/common";
4
6
  export declare class AtoWaterLibModule {
5
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AtoWaterLibModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AtoWaterLibModule, [typeof i1.AtoWaterLibComponent, typeof i2.TestButtonComponent], never, [typeof i1.AtoWaterLibComponent, typeof i2.TestButtonComponent]>;
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]>;
7
9
  static ɵinj: i0.ɵɵInjectorDeclaration<AtoWaterLibModule>;
8
10
  }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as go from 'gojs';
3
+ import { AtoGojsEditorModel } from '../../models/gojs-editor.model';
4
+ import { AtoFlowDiagramLibComponent } from '../flow-diagram-lib/flow-diagram-lib.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AssetFlowComponent implements OnInit {
7
+ gjFlowDiagramTemp: AtoFlowDiagramLibComponent;
8
+ selectedComponent: any;
9
+ systemType: AtoGojsEditorModel.ENUM_TYPES;
10
+ onClickParamOfTableEvent: EventEmitter<any>;
11
+ $: typeof go.GraphObject.make;
12
+ options: {
13
+ layout: go.LayeredDigraphLayout;
14
+ };
15
+ flowData: any;
16
+ ngOnInit(): void;
17
+ onClickParamOfTable($event: any): void;
18
+ getDefaultFlowData(): any;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<AssetFlowComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AssetFlowComponent, "ato-asset-flow", never, { "selectedComponent": "selectedComponent"; "systemType": "systemType"; "flowData": "flowData"; }, { "onClickParamOfTableEvent": "onClickParamOfTableEvent"; }, never, never, false, never>;
21
+ }
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AtoDefaultGojsEditor } from '../../models/default-gojs-editor.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor implements OnInit {
5
+ myDiagramDivTemp: any;
6
+ _data: any;
7
+ showNotificationIcon: any;
8
+ set data(v: any);
9
+ isLoading: boolean;
10
+ get data(): any;
11
+ constructor();
12
+ ngOnInit(): void;
13
+ loadDiagram(): void;
14
+ findNodeForKey(key: number | string): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtoFlowDiagramLibComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtoFlowDiagramLibComponent, "ato-flow-diagram-lib", never, { "showNotificationIcon": "showNotificationIcon"; "data": "data"; "isLoading": "isLoading"; }, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,162 @@
1
+ export declare enum ATO_ABBREVIATION {
2
+ L = "L",
3
+ KL = "KL",
4
+ gal = "gal",
5
+ kGal = "Kgal",
6
+ m3 = "m3",
7
+ m3_Special = "m\u00B3",
8
+ Wh = "Wh",
9
+ kWh = "kWh",
10
+ cf = "cf",
11
+ th = "th",
12
+ BTU = "BTU",
13
+ BTU_UNIT = "BTU/unit",
14
+ MM_BTU = "MMBTU",
15
+ m3_unit = "m3/unit",
16
+ m3_unit_Special = "m\u00B3/unit",
17
+ J = "J",
18
+ Bbl = "Bbl",
19
+ mg = "mg",
20
+ ALL = "ALL",
21
+ AFN = "AFN",
22
+ ARS = "ARS",
23
+ AWG = "AWG",
24
+ AUD = "AUD",
25
+ AZN = "AZN",
26
+ BSD = "BSD",
27
+ BBD = "BBD",
28
+ BYN = "BYN",
29
+ BZD = "BZD",
30
+ BMD = "BMD",
31
+ BOB = "BOB",
32
+ BAM = "BAM",
33
+ BWP = "BWP",
34
+ BGN = "BGN",
35
+ BRL = "BRL",
36
+ BND = "BND",
37
+ KHR = "KHR",
38
+ CAD = "CAD",
39
+ KYD = "KYD",
40
+ CLP = "CLP",
41
+ CNY = "CNY",
42
+ COP = "COP",
43
+ CRC = "CRC",
44
+ HRK = "HRK",
45
+ CUP = "CUP",
46
+ CZK = "CZK",
47
+ DKK = "DKK",
48
+ DOP = "DOP",
49
+ XCD = "XCD",
50
+ EGP = "EGP",
51
+ SVC = "SVC",
52
+ EUR = "EUR",
53
+ FKP = "FKP",
54
+ FJD = "FJD",
55
+ GHS = "GHS",
56
+ GIP = "GIP",
57
+ GTQ = "GTQ",
58
+ GGP = "GGP",
59
+ GYD = "GYD",
60
+ HNL = "HNL",
61
+ HKD = "HKD",
62
+ HUF = "HUF",
63
+ ISK = "ISK",
64
+ INR = "INR",
65
+ IDR = "IDR",
66
+ IRR = "IRR",
67
+ IMP = "IMP",
68
+ ILS = "ILS",
69
+ JMD = "JMD",
70
+ JPY = "JPY",
71
+ JEP = "JEP",
72
+ KZT = "KZT",
73
+ KPW = "KPW",
74
+ KRW = "KRW",
75
+ KGS = "KGS",
76
+ LAK = "LAK",
77
+ LBP = "LBP",
78
+ LRD = "LRD",
79
+ MKD = "MKD",
80
+ MYR = "MYR",
81
+ MUR = "MUR",
82
+ MXN = "MXN",
83
+ MNT = "MNT",
84
+ MZN = "MZN",
85
+ NAD = "NAD",
86
+ NPR = "NPR",
87
+ ANG = "ANG",
88
+ NZD = "NZD",
89
+ NIO = "NIO",
90
+ NGN = "NGN",
91
+ NOK = "NOK",
92
+ OMR = "OMR",
93
+ PKR = "PKR",
94
+ PAB = "PAB",
95
+ PYG = "PYG",
96
+ PEN = "PEN",
97
+ PHP = "PHP",
98
+ PLN = "PLN",
99
+ QAR = "QAR",
100
+ RON = "RON",
101
+ RUB = "RUB",
102
+ SHP = "SHP",
103
+ SAR = "SAR",
104
+ RSD = "RSD",
105
+ SCR = "SCR",
106
+ SGD = "SGD",
107
+ SBD = "SBD",
108
+ SOS = "SOS",
109
+ ZAR = "ZAR",
110
+ LKR = "LKR",
111
+ SEK = "SEK",
112
+ CHF = "CHF",
113
+ SRD = "SRD",
114
+ SYP = "SYP",
115
+ TWD = "TWD",
116
+ THB = "THB",
117
+ TTD = "TTD",
118
+ TRY = "TRY",
119
+ TVD = "TVD",
120
+ UAH = "UAH",
121
+ AED = "AED",
122
+ GBP = "GBP",
123
+ USD = "USD",
124
+ UYU = "UYU",
125
+ UZS = "UZS",
126
+ VEF = "VEF",
127
+ VND = "VND",
128
+ YER = "YER",
129
+ ZWD = "ZWD",
130
+ g = "g",
131
+ lbs = "lbs",
132
+ g_hr = "g/hr",
133
+ lbs_hr = "lbs/hr",
134
+ MPa = "MPa",
135
+ GPa = "GPa",
136
+ psi = "psi",
137
+ degC = "degC",
138
+ degF = "degF",
139
+ degC_unit_Special = "\u00B0C",
140
+ degF_unit_Special = "\u00B0F",
141
+ ton = "ton",
142
+ kg = "kg",
143
+ CO2 = "CO2",
144
+ CO2_Special = "CO\u2082"
145
+ }
146
+ export declare enum METRIC_PREFIXES {
147
+ K = "K",
148
+ Mn = "Mn",
149
+ Bn = "Bn",
150
+ M = "M",
151
+ MM = "MM",
152
+ B = "B",
153
+ G = "G"
154
+ }
155
+ export declare enum ROUNDED_NUMBER {
156
+ THOUSAND = 1000,
157
+ MILLION = 1000000,
158
+ BILLION = 1000000000
159
+ }
160
+ export declare const APPLICABLE_PREFIXES: {
161
+ [key in ATO_ABBREVIATION]: any;
162
+ };