@sedni/cloud_common 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.jsonc +46 -0
- package/dist/browser-index.cjs +604 -8
- package/dist/browser-index.d.cts +124 -31
- package/dist/browser-index.d.ts +124 -31
- package/dist/browser-index.js +198 -34
- package/dist/chunk-55XBONH2.js +1415 -0
- package/dist/{chunk-FO3TASV6.js → chunk-K5VO2MYI.js} +617 -7
- package/dist/chunk-VQWCQ4E2.js +908 -0
- package/dist/index.cjs +662 -23
- package/dist/index.d.cts +1581 -792
- package/dist/index.d.ts +1581 -792
- package/dist/index.js +217 -17
- package/dist/unit.types-4ZD9ivHi.d.cts +797 -0
- package/dist/unit.types-4ZD9ivHi.d.ts +797 -0
- package/dist/unit.types-BZWIS1vq.d.cts +1246 -0
- package/dist/unit.types-BZWIS1vq.d.ts +1246 -0
- package/dist/{unit.types-BhezeBWA.d.cts → unit.types-CFWDGNUR.d.cts} +517 -8
- package/dist/{unit.types-BhezeBWA.d.ts → unit.types-CFWDGNUR.d.ts} +517 -8
- package/package.json +21 -18
- package/tsconfig.json +2 -1
package/dist/browser-index.js
CHANGED
|
@@ -2,130 +2,188 @@ import {
|
|
|
2
2
|
ActivationModes,
|
|
3
3
|
AddedAlarmsJson,
|
|
4
4
|
AlarmIndicatorJson,
|
|
5
|
+
AlarmIndicatorRequest,
|
|
6
|
+
AlarmIndicatorResponse,
|
|
5
7
|
AlarmPriorities,
|
|
6
8
|
AlarmStates,
|
|
7
9
|
AlarmTypes,
|
|
10
|
+
AutoSemiAutoStates,
|
|
8
11
|
AutomaticSemiAutoJson,
|
|
12
|
+
AutomaticSemiAutoRequest,
|
|
9
13
|
BackgroundJson,
|
|
10
14
|
BreakerJson,
|
|
11
15
|
BreakerPmsJson,
|
|
16
|
+
BreakerPmsRequest,
|
|
17
|
+
BreakerPmsResponse,
|
|
18
|
+
BreakerRequest,
|
|
19
|
+
BreakerResponse,
|
|
12
20
|
CabinetDesigns,
|
|
13
21
|
CabinetJson,
|
|
22
|
+
CabinetRequest,
|
|
23
|
+
CabinetResponse,
|
|
24
|
+
ChannelBaseTypes,
|
|
14
25
|
ChannelJson,
|
|
26
|
+
ChannelRequest,
|
|
27
|
+
ChannelSpecificTypes,
|
|
15
28
|
CloudAlarmStates,
|
|
16
29
|
CommandJson,
|
|
30
|
+
CommandRequest,
|
|
31
|
+
CommandResponse,
|
|
17
32
|
CommandsOpClJson,
|
|
33
|
+
CommandsOpClRequest,
|
|
18
34
|
CommandsStartStopJson,
|
|
35
|
+
CommandsStartStopRequest,
|
|
19
36
|
CompressorDesigns,
|
|
20
37
|
CompressorJson,
|
|
38
|
+
CompressorRequest,
|
|
39
|
+
CompressorResponse,
|
|
21
40
|
ControlLockJson,
|
|
41
|
+
ControlLockRequest,
|
|
22
42
|
DamperAutomatedJson,
|
|
43
|
+
DamperAutomatedRequest,
|
|
44
|
+
DamperAutomatedResponse,
|
|
23
45
|
DamperJson,
|
|
46
|
+
DamperRequest,
|
|
47
|
+
DamperResponse,
|
|
24
48
|
DialJson,
|
|
49
|
+
DialRequest,
|
|
50
|
+
DialResponse,
|
|
25
51
|
DiamarAlarmStates,
|
|
26
52
|
DigitalAlarmStates,
|
|
27
53
|
DigitalJson,
|
|
54
|
+
DigitalRequest,
|
|
55
|
+
DigitalResponse,
|
|
28
56
|
DigitalStates,
|
|
29
57
|
DisplayJson,
|
|
58
|
+
DisplayRequest,
|
|
59
|
+
DisplayResponse,
|
|
30
60
|
DynamicTextJson,
|
|
61
|
+
DynamicTextRequest,
|
|
62
|
+
DynamicTextResponse,
|
|
31
63
|
EventCategories,
|
|
32
64
|
EventCriticalities,
|
|
33
65
|
FanDesigns,
|
|
34
66
|
FanDirections,
|
|
35
67
|
FanJson,
|
|
68
|
+
FanRequest,
|
|
69
|
+
FanResponse,
|
|
36
70
|
FanRunStates,
|
|
37
71
|
FanTypes,
|
|
38
72
|
FeedbackOpClJson,
|
|
73
|
+
FeedbackOpClRequest,
|
|
39
74
|
FeedbackRunningStoppedJson,
|
|
75
|
+
FeedbackRunningStoppedRequest,
|
|
40
76
|
GeneratorJson,
|
|
41
77
|
GeneratorPmsJson,
|
|
78
|
+
GeneratorPmsRequest,
|
|
79
|
+
GeneratorPmsResponse,
|
|
80
|
+
GeneratorRequest,
|
|
81
|
+
GeneratorResponse,
|
|
42
82
|
ImageAuxiliaryJson,
|
|
83
|
+
ImageAuxiliaryRequest,
|
|
84
|
+
ImageAuxiliaryResponse,
|
|
43
85
|
InfoLocations,
|
|
44
86
|
LedTypes,
|
|
45
87
|
LevelBarJson,
|
|
46
88
|
LevelBarOrientations,
|
|
89
|
+
LevelBarRequest,
|
|
90
|
+
LevelBarResponse,
|
|
47
91
|
LineAuxiliaryJson,
|
|
92
|
+
LineAuxiliaryRequest,
|
|
93
|
+
LineAuxiliaryResponse,
|
|
48
94
|
LineJson,
|
|
49
95
|
LinkAuxiliaryJson,
|
|
96
|
+
LinkAuxiliaryRequest,
|
|
97
|
+
LinkAuxiliaryResponse,
|
|
50
98
|
LinkDesigns,
|
|
51
99
|
LocalizedTextJson,
|
|
52
100
|
LocationJson,
|
|
53
101
|
LogicExpressionJson,
|
|
54
102
|
LogicExpressionsJson,
|
|
55
103
|
MarkTypes,
|
|
104
|
+
MimicAlarmStates,
|
|
105
|
+
MimicControlStates,
|
|
56
106
|
MimicElementTypes,
|
|
57
107
|
OpClStates,
|
|
58
108
|
OperationModeStates,
|
|
59
109
|
OperationModesJson,
|
|
110
|
+
OperationModesRequest,
|
|
111
|
+
OperationModesResponse,
|
|
60
112
|
OrderOpClJson,
|
|
113
|
+
OrderOpClRequest,
|
|
61
114
|
OrderStartStopJson,
|
|
115
|
+
OrderStartStopRequest,
|
|
62
116
|
PolylineAuxiliaryJson,
|
|
117
|
+
PolylineAuxiliaryRequest,
|
|
118
|
+
PolylineAuxiliaryResponse,
|
|
63
119
|
PrioritiesJson,
|
|
120
|
+
PrioritiesRequest,
|
|
121
|
+
PrioritiesResponse,
|
|
64
122
|
PriorityDataJson,
|
|
123
|
+
PriorityDataRequest,
|
|
65
124
|
PumpAutomatedJson,
|
|
125
|
+
PumpAutomatedRequest,
|
|
126
|
+
PumpAutomatedResponse,
|
|
66
127
|
PumpJson,
|
|
128
|
+
PumpRequest,
|
|
129
|
+
PumpResponse,
|
|
67
130
|
RemoteLocalJson,
|
|
131
|
+
RemoteLocalRequest,
|
|
132
|
+
RemoteLocalStates,
|
|
68
133
|
RepeaterDesigns,
|
|
69
134
|
RepeaterJson,
|
|
135
|
+
RepeaterRequest,
|
|
136
|
+
RepeaterResponse,
|
|
70
137
|
RunningStoppedStates,
|
|
71
138
|
ScaleJson,
|
|
72
139
|
ScalePositions,
|
|
73
140
|
ShaftJson,
|
|
141
|
+
ShaftRequest,
|
|
142
|
+
ShaftResponse,
|
|
74
143
|
SliderJson,
|
|
75
144
|
SliderOrientations,
|
|
145
|
+
SliderRequest,
|
|
146
|
+
SliderResponse,
|
|
76
147
|
SquareAuxiliaryJson,
|
|
148
|
+
SquareAuxiliaryRequest,
|
|
149
|
+
SquareAuxiliaryResponse,
|
|
77
150
|
StationDesigns,
|
|
78
151
|
StationJson,
|
|
152
|
+
StationRequest,
|
|
153
|
+
StationResponse,
|
|
79
154
|
TankJson,
|
|
155
|
+
TankRequest,
|
|
156
|
+
TankResponse,
|
|
80
157
|
TextAnchorPoints,
|
|
81
158
|
TextAttributesJson,
|
|
82
159
|
TextAuxiliaryJson,
|
|
160
|
+
TextAuxiliaryRequest,
|
|
161
|
+
TextAuxiliaryResponse,
|
|
83
162
|
TextChannelJson,
|
|
163
|
+
TextChannelRequest,
|
|
164
|
+
TextChannelResponse,
|
|
84
165
|
TitleAligns,
|
|
85
166
|
TitleJson,
|
|
86
167
|
ToggleJson,
|
|
168
|
+
ToggleRequest,
|
|
169
|
+
ToggleResponse,
|
|
87
170
|
TripResetJson,
|
|
171
|
+
TripResetRequest,
|
|
88
172
|
UnitDesigns,
|
|
89
173
|
UnitJson,
|
|
174
|
+
UnitRequest,
|
|
175
|
+
UnitResponse,
|
|
90
176
|
UnitTypes,
|
|
91
177
|
ValueTypes,
|
|
92
178
|
ValveAutomatedJson,
|
|
179
|
+
ValveAutomatedRequest,
|
|
180
|
+
ValveAutomatedResponse,
|
|
93
181
|
ValveDesigns,
|
|
94
182
|
ValveJson,
|
|
183
|
+
ValveRequest,
|
|
184
|
+
ValveResponse,
|
|
95
185
|
ZDepths
|
|
96
|
-
} from "./chunk-
|
|
97
|
-
|
|
98
|
-
// app/types/channel.types.ts
|
|
99
|
-
var ChannelBaseTypes = {
|
|
100
|
-
VIRTUAL_ANALOG: "VirtualAnalog",
|
|
101
|
-
VIRTUAL_DIGITAL: "VirtualDigital",
|
|
102
|
-
VIRTUAL_STRING: "VirtualString",
|
|
103
|
-
WIRED_ANALOG: "WiredAnalog",
|
|
104
|
-
WIRED_DIGITAL: "WiredDigital"
|
|
105
|
-
};
|
|
106
|
-
var ChannelSpecificTypes = {
|
|
107
|
-
// Wired types
|
|
108
|
-
DIGITAL_INPUT: "DigitalInput",
|
|
109
|
-
DIGITAL_OUTPUT: "DigitalOutput",
|
|
110
|
-
ANALOG_INPUT: "AnalogInput",
|
|
111
|
-
ANALOG_OUTPUT: "AnalogOutput",
|
|
112
|
-
// Virtual types
|
|
113
|
-
ANALOG_SOFTWARE: "AnalogSoftware",
|
|
114
|
-
DIGITAL_SOFTWARE: "DigitalSoftware",
|
|
115
|
-
VIRTUAL_STRING: "VirtualString",
|
|
116
|
-
COMMAND: "Command",
|
|
117
|
-
// Virtual logic types
|
|
118
|
-
BROADCAST_COMMAND: "BroadcastCommand",
|
|
119
|
-
// To be deleted in the near future
|
|
120
|
-
SOFTWARE: "Software",
|
|
121
|
-
ANALOG_TIMER: "AnalogTimer",
|
|
122
|
-
// Serial types
|
|
123
|
-
SERIAL_DIGITAL_INPUT: "SerialDigitalInput",
|
|
124
|
-
SERIAL_DIGITAL_OUTPUT: "SerialDigitalOutput",
|
|
125
|
-
SERIAL_LINE_COMMAND: "SerialLineCommand",
|
|
126
|
-
SERIAL_ANALOG_INPUT: "SerialAnalogInput",
|
|
127
|
-
SERIAL_ANALOG_OUTPUT: "SerialAnalogOutput"
|
|
128
|
-
};
|
|
186
|
+
} from "./chunk-K5VO2MYI.js";
|
|
129
187
|
|
|
130
188
|
// app/browser-index.ts
|
|
131
189
|
var Mimics = {
|
|
@@ -196,6 +254,106 @@ var Mimics = {
|
|
|
196
254
|
PrioritiesJson,
|
|
197
255
|
ShaftJson
|
|
198
256
|
};
|
|
257
|
+
var MimicsRequest = {
|
|
258
|
+
// Auxiliary
|
|
259
|
+
ImageAuxiliaryRequest,
|
|
260
|
+
LineAuxiliaryRequest,
|
|
261
|
+
LinkAuxiliaryRequest,
|
|
262
|
+
PolylineAuxiliaryRequest,
|
|
263
|
+
SquareAuxiliaryRequest,
|
|
264
|
+
TextAuxiliaryRequest,
|
|
265
|
+
// Channel
|
|
266
|
+
ChannelRequest,
|
|
267
|
+
// Control elements
|
|
268
|
+
CompressorRequest,
|
|
269
|
+
DamperRequest,
|
|
270
|
+
DamperAutomatedRequest,
|
|
271
|
+
FanRequest,
|
|
272
|
+
PumpRequest,
|
|
273
|
+
PumpAutomatedRequest,
|
|
274
|
+
TankRequest,
|
|
275
|
+
ValveRequest,
|
|
276
|
+
ValveAutomatedRequest,
|
|
277
|
+
// Elements
|
|
278
|
+
AlarmIndicatorRequest,
|
|
279
|
+
CommandRequest,
|
|
280
|
+
DialRequest,
|
|
281
|
+
DigitalRequest,
|
|
282
|
+
DisplayRequest,
|
|
283
|
+
DynamicTextRequest,
|
|
284
|
+
LevelBarRequest,
|
|
285
|
+
SliderRequest,
|
|
286
|
+
TextChannelRequest,
|
|
287
|
+
ToggleRequest,
|
|
288
|
+
// IAS elements
|
|
289
|
+
CabinetRequest,
|
|
290
|
+
RepeaterRequest,
|
|
291
|
+
StationRequest,
|
|
292
|
+
UnitRequest,
|
|
293
|
+
// Traits
|
|
294
|
+
AutomaticSemiAutoRequest,
|
|
295
|
+
CommandsOpClRequest,
|
|
296
|
+
CommandsStartStopRequest,
|
|
297
|
+
ControlLockRequest,
|
|
298
|
+
FeedbackOpClRequest,
|
|
299
|
+
FeedbackRunningStoppedRequest,
|
|
300
|
+
OrderOpClRequest,
|
|
301
|
+
OrderStartStopRequest,
|
|
302
|
+
RemoteLocalRequest,
|
|
303
|
+
TripResetRequest,
|
|
304
|
+
// PMS elements
|
|
305
|
+
BreakerRequest,
|
|
306
|
+
BreakerPmsRequest,
|
|
307
|
+
GeneratorRequest,
|
|
308
|
+
GeneratorPmsRequest,
|
|
309
|
+
OperationModesRequest,
|
|
310
|
+
PriorityDataRequest,
|
|
311
|
+
PrioritiesRequest,
|
|
312
|
+
ShaftRequest
|
|
313
|
+
};
|
|
314
|
+
var MimicsResponse = {
|
|
315
|
+
// Auxiliary
|
|
316
|
+
ImageAuxiliaryResponse,
|
|
317
|
+
LineAuxiliaryResponse,
|
|
318
|
+
LinkAuxiliaryResponse,
|
|
319
|
+
PolylineAuxiliaryResponse,
|
|
320
|
+
SquareAuxiliaryResponse,
|
|
321
|
+
TextAuxiliaryResponse,
|
|
322
|
+
// Control elements
|
|
323
|
+
CompressorResponse,
|
|
324
|
+
DamperResponse,
|
|
325
|
+
DamperAutomatedResponse,
|
|
326
|
+
FanResponse,
|
|
327
|
+
PumpResponse,
|
|
328
|
+
PumpAutomatedResponse,
|
|
329
|
+
TankResponse,
|
|
330
|
+
ValveResponse,
|
|
331
|
+
ValveAutomatedResponse,
|
|
332
|
+
// Elements
|
|
333
|
+
AlarmIndicatorResponse,
|
|
334
|
+
CommandResponse,
|
|
335
|
+
DialResponse,
|
|
336
|
+
DigitalResponse,
|
|
337
|
+
DisplayResponse,
|
|
338
|
+
DynamicTextResponse,
|
|
339
|
+
LevelBarResponse,
|
|
340
|
+
SliderResponse,
|
|
341
|
+
TextChannelResponse,
|
|
342
|
+
ToggleResponse,
|
|
343
|
+
// IAS elements
|
|
344
|
+
CabinetResponse,
|
|
345
|
+
RepeaterResponse,
|
|
346
|
+
StationResponse,
|
|
347
|
+
UnitResponse,
|
|
348
|
+
// PMS elements
|
|
349
|
+
BreakerResponse,
|
|
350
|
+
BreakerPmsResponse,
|
|
351
|
+
GeneratorResponse,
|
|
352
|
+
GeneratorPmsResponse,
|
|
353
|
+
OperationModesResponse,
|
|
354
|
+
PrioritiesResponse,
|
|
355
|
+
ShaftResponse
|
|
356
|
+
};
|
|
199
357
|
var MimicsTypes = {
|
|
200
358
|
MimicElementTypes,
|
|
201
359
|
ZDepths,
|
|
@@ -203,6 +361,8 @@ var MimicsTypes = {
|
|
|
203
361
|
DigitalStates,
|
|
204
362
|
DigitalAlarmStates,
|
|
205
363
|
AlarmStates,
|
|
364
|
+
MimicAlarmStates,
|
|
365
|
+
MimicControlStates,
|
|
206
366
|
ActivationModes,
|
|
207
367
|
TextAnchorPoints,
|
|
208
368
|
ValveDesigns,
|
|
@@ -225,7 +385,9 @@ var MimicsTypes = {
|
|
|
225
385
|
CabinetDesigns,
|
|
226
386
|
LinkDesigns,
|
|
227
387
|
OpClStates,
|
|
228
|
-
RunningStoppedStates
|
|
388
|
+
RunningStoppedStates,
|
|
389
|
+
AutoSemiAutoStates,
|
|
390
|
+
RemoteLocalStates
|
|
229
391
|
};
|
|
230
392
|
var Types = {
|
|
231
393
|
AlarmTypes,
|
|
@@ -241,5 +403,7 @@ var Types = {
|
|
|
241
403
|
};
|
|
242
404
|
export {
|
|
243
405
|
Mimics,
|
|
406
|
+
MimicsRequest,
|
|
407
|
+
MimicsResponse,
|
|
244
408
|
Types
|
|
245
409
|
};
|