ato-water-lib 0.0.32 → 0.0.34
Sign up to get free protection for your applications and to get access to all the features.
- package/ng-package.json +11 -0
- package/package.json +3 -22
- package/src/lib/ato-water-lib.component.spec.ts +23 -0
- package/src/lib/ato-water-lib.component.ts +15 -0
- package/src/lib/ato-water-lib.module.ts +31 -0
- package/src/lib/ato-water-lib.service.spec.ts +16 -0
- package/src/lib/ato-water-lib.service.ts +9 -0
- package/src/lib/components/asset-flow/asset-flow.component.html +21 -0
- package/src/lib/components/asset-flow/asset-flow.component.scss +4 -0
- package/src/lib/components/asset-flow/asset-flow.component.spec.ts +23 -0
- package/src/lib/components/asset-flow/asset-flow.component.ts +137 -0
- package/src/lib/components/asset-params-view/asset-params-view.component.html +85 -0
- package/src/lib/components/asset-params-view/asset-params-view.component.scss +37 -0
- package/src/lib/components/asset-params-view/asset-params-view.component.spec.ts +23 -0
- package/src/lib/components/asset-params-view/asset-params-view.component.ts +16 -0
- package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.css +0 -0
- package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.html +25 -0
- package/src/lib/components/flow-diagram-lib/flow-diagram-lib.component.ts +69 -0
- package/src/lib/constants/applicable-prefixes-const.ts +452 -0
- package/src/lib/constants/base64.const.ts +5 -0
- package/src/lib/constants/components-group-const.ts +1637 -0
- package/src/lib/constants/icon-base64.const.ts +3 -0
- package/src/lib/constants/icon-svg.const.ts +8 -0
- package/src/lib/constants/key.const.ts +5 -0
- package/src/lib/constants/plant.constant.ts +52 -0
- package/src/lib/constants/value.const.ts +822 -0
- package/src/lib/directive/ato-loading.directive.ts +55 -0
- package/src/lib/directive/ng-var.directive.ts +28 -0
- package/src/lib/models/default-gojs-editor.model.ts +4906 -0
- package/{lib/models/gojs-data.model.d.ts → src/lib/models/gojs-data.model.ts} +3 -3
- package/src/lib/models/gojs-editor.model.ts +1901 -0
- package/src/lib/services/utils/utils.service.ts +141 -0
- package/{public-api.d.ts → src/public-api.ts} +10 -0
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2020/ato-water-lib.mjs +0 -5
- package/esm2020/lib/ato-water-lib.component.mjs +0 -19
- package/esm2020/lib/ato-water-lib.module.mjs +0 -49
- package/esm2020/lib/ato-water-lib.service.mjs +0 -14
- package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +0 -121
- package/esm2020/lib/components/asset-params-view/asset-params-view.component.mjs +0 -26
- package/esm2020/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +0 -54
- package/esm2020/lib/constants/applicable-prefixes-const.mjs +0 -441
- package/esm2020/lib/constants/base64.const.mjs +0 -5
- package/esm2020/lib/constants/components-group-const.mjs +0 -1476
- package/esm2020/lib/constants/icon-base64.const.mjs +0 -4
- package/esm2020/lib/constants/key.const.mjs +0 -4
- package/esm2020/lib/constants/plant.constant.mjs +0 -51
- package/esm2020/lib/constants/value.const.mjs +0 -782
- package/esm2020/lib/directive/ato-loading.directive.mjs +0 -55
- package/esm2020/lib/directive/ng-var.directive.mjs +0 -31
- package/esm2020/lib/models/default-gojs-editor.model.mjs +0 -3226
- package/esm2020/lib/models/gojs-data.model.mjs +0 -6
- package/esm2020/lib/models/gojs-editor.model.mjs +0 -1754
- package/esm2020/lib/services/utils/utils.service.mjs +0 -133
- package/esm2020/public-api.mjs +0 -15
- package/fesm2015/ato-water-lib.mjs +0 -8017
- package/fesm2015/ato-water-lib.mjs.map +0 -1
- package/fesm2020/ato-water-lib.mjs +0 -8204
- package/fesm2020/ato-water-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/ato-water-lib.component.d.ts +0 -5
- package/lib/ato-water-lib.module.d.ts +0 -13
- package/lib/ato-water-lib.service.d.ts +0 -6
- package/lib/components/asset-flow/asset-flow.component.d.ts +0 -1336
- package/lib/components/asset-params-view/asset-params-view.component.d.ts +0 -10
- package/lib/components/flow-diagram-lib/flow-diagram-lib.component.d.ts +0 -16
- package/lib/constants/applicable-prefixes-const.d.ts +0 -162
- package/lib/constants/base64.const.d.ts +0 -3
- package/lib/constants/components-group-const.d.ts +0 -1561
- package/lib/constants/icon-base64.const.d.ts +0 -3
- package/lib/constants/key.const.d.ts +0 -1
- package/lib/constants/plant.constant.d.ts +0 -7
- package/lib/constants/value.const.d.ts +0 -71
- package/lib/directive/ato-loading.directive.d.ts +0 -14
- package/lib/directive/ng-var.directive.d.ts +0 -12
- package/lib/models/default-gojs-editor.model.d.ts +0 -197
- package/lib/models/gojs-editor.model.d.ts +0 -436
- package/lib/services/utils/utils.service.d.ts +0 -24
@@ -1,10 +0,0 @@
|
|
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
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ElementRef, 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
|
-
set data(v: any);
|
8
|
-
isLoading: boolean;
|
9
|
-
get data(): any;
|
10
|
-
constructor(_elRef: ElementRef);
|
11
|
-
ngOnInit(): void;
|
12
|
-
loadDiagram(): void;
|
13
|
-
findNodeForKey(key: number | string): void;
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtoFlowDiagramLibComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtoFlowDiagramLibComponent, "ato-flow-diagram-lib", never, { "data": "data"; "isLoading": "isLoading"; }, {}, never, never, false, never>;
|
16
|
-
}
|
@@ -1,162 +0,0 @@
|
|
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
|
-
};
|