@denevads/dnv-smo 1.1.0 → 1.1.3

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.
Binary file
@@ -1,6 +1,12 @@
1
1
  export interface setDatasource {
2
2
  xml: string;
3
3
  }
4
+ export interface setBorradoAviso {
5
+ args: any;
6
+ }
7
+ export interface setAviso {
8
+ args: any;
9
+ }
4
10
  export interface start {
5
11
  }
6
12
  export interface dispose {
@@ -33,6 +39,10 @@ export interface Notify {
33
39
  destion: string;
34
40
  value: any;
35
41
  }
42
+ export interface NotifyEditor {
43
+ formInputs?: any[];
44
+ behaviors?: any[];
45
+ }
36
46
  export interface GetRecursosByCodigo {
37
47
  recursos?: Recurso[];
38
48
  }
package/dist/smo.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { setDatasource, variable, location, DataSalida, ExecFunction, Notify, start, GetRecursosByCodigo, GetRecursos, GetRecursosRelleno, GetRecursosMetadatos, RecursosMetadato, DatasourceMap, ValorCalendario } from "./interfaces/callbacks";
1
+ import { setDatasource, setAviso, setBorradoAviso, variable, location, DataSalida, ExecFunction, Notify, start, NotifyEditor, GetRecursosByCodigo, GetRecursos, GetRecursosRelleno, GetRecursosMetadatos, RecursosMetadato, DatasourceMap, ValorCalendario } from "./interfaces/callbacks";
2
2
  import { Subject } from 'rxjs';
3
3
  export declare class SMO {
4
4
  vars: any;
@@ -14,6 +14,8 @@ export declare class SMO {
14
14
  start(): void;
15
15
  dispose(): void;
16
16
  setDatasource(datasource: setDatasource): void;
17
+ setAvisos(aviso: setAviso): void;
18
+ setBorradoAviso(aviso: setBorradoAviso): void;
17
19
  getVariable(variable: variable): void;
18
20
  setCurrentStream(stream: string): void;
19
21
  infoCurrentLocation(location: location): void;
@@ -35,6 +37,8 @@ declare class SmoEvents {
35
37
  start: Subject<start>;
36
38
  dispose: Subject<start>;
37
39
  setDatasource: Subject<setDatasource>;
40
+ setAvisos: Subject<setAviso>;
41
+ setBorradoAviso: Subject<setBorradoAviso>;
38
42
  setDatasourceJson: Subject<any>;
39
43
  getVariable: Subject<variable>;
40
44
  setCurrentStream: Subject<string>;
@@ -76,12 +80,14 @@ declare class smoCallBacks {
76
80
  getLocalData(variable: string): void;
77
81
  getCurrentStream(): void;
78
82
  finAviso(id: string): void;
83
+ setEstadoAviso(params: string): void;
79
84
  refreshDatasource(codigo: string): void;
80
85
  getLocation(): void;
81
86
  getSalidaData(data: string): void;
82
87
  ejecutaFuncion(data: ExecFunction): void;
83
88
  addObserver(data: string): void;
84
89
  notify(data: Notify): void;
90
+ notifyEditor(data: NotifyEditor): void;
85
91
  playOnceChannelByTrigger(trigger: string): void;
86
92
  stopPlayOnceChannelByTrigger(): void;
87
93
  playOnceChannel(codigoCanal: string): void;
@@ -113,6 +119,7 @@ declare class Utils {
113
119
  smo: SMO;
114
120
  smoCallBacks: smoCallBacks;
115
121
  constructor(_smo: SMO, _smoCallBacks: smoCallBacks);
122
+ writeVars(): void;
116
123
  xmlToJSON(xml: string): string;
117
124
  jsonToStr(js_obj: any): string;
118
125
  sendToParent(obj: any, dest: string): void;
@@ -123,6 +130,10 @@ export declare enum SMO_EVENT_TYPE {
123
130
  start = "start",
124
131
  dispose = "dispose",
125
132
  setDatasource = "setDatasource",
133
+ setAvisoArgs = "setAvisoArgs",
134
+ setAvisoLogotipoArgs = "setAvisoLogotipoArgs",
135
+ setAvisoDuracionArgs = "setAvisoDuracionArgs",
136
+ setBorradoAviso = "setBorradoAviso",
126
137
  getVariable = "getVariable",
127
138
  setCurrentStream = "setCurrentStream",
128
139
  infoCurrentLocation = "infoCurrentLocation",
@@ -145,7 +156,8 @@ export declare enum LogLevel {
145
156
  Debug = 0,
146
157
  Info = 1,
147
158
  Warning = 2,
148
- Error = 3
159
+ Error = 3,
160
+ Fatal = 4
149
161
  }
150
162
  export declare enum AlarmaLevel {
151
163
  Ok_off = 0,
@@ -161,6 +173,7 @@ export interface ObjJSType {
161
173
  logFlash: () => void;
162
174
  pageInit: () => void;
163
175
  finAviso: () => void;
176
+ setEstadoAviso: () => void;
164
177
  exitInteractivity: () => void;
165
178
  logWeb: () => void;
166
179
  refreshPage: () => void;
package/dist/smo.js CHANGED
@@ -13,6 +13,7 @@ var SMO = /** @class */ (function () {
13
13
  this.utils = new Utils(this, this.smoCallBacks);
14
14
  this.events = new SmoEvents(this);
15
15
  this.init();
16
+ this.utils.writeVars();
16
17
  }
17
18
  SMO.prototype.init = function () {
18
19
  var _this = this;
@@ -33,6 +34,12 @@ var SMO = /** @class */ (function () {
33
34
  window.sendToIframefromNet = function (target, iframeID, objData) {
34
35
  console.log("sendToIframefromNet->", JSON.stringify(target));
35
36
  switch (target) {
37
+ case "SMO.setAvisos":
38
+ _this.events.setAvisos.next(objData);
39
+ break;
40
+ case "SMO.setBorradoAviso":
41
+ _this.events.setBorradoAviso.next(objData);
42
+ break;
36
43
  case "SMO.setDatasource":
37
44
  _this.events.setDatasource.next(objData);
38
45
  break;
@@ -54,6 +61,8 @@ var SMO = /** @class */ (function () {
54
61
  // @ts-ignore
55
62
  FinAviso: window.objJS.finAviso,
56
63
  // @ts-ignore
64
+ SetEstadoAviso: window.objJS.setEstadoAviso,
65
+ // @ts-ignore
57
66
  ExitInteractivity: window.objJS.exitInteractivity,
58
67
  // @ts-ignore
59
68
  LogWeb: window.objJS.logWeb,
@@ -164,6 +173,16 @@ var SMO = /** @class */ (function () {
164
173
  selft.setDatasource(e.data.objData);
165
174
  return;
166
175
  }
176
+ /* METODOS DE AVISOS */
177
+ if (func == SMO_EVENT_TYPE.setAvisoArgs || func == SMO_EVENT_TYPE.setAvisoDuracionArgs || func == SMO_EVENT_TYPE.setAvisoLogotipoArgs) {
178
+ selft.setAvisos(e.data.objData);
179
+ return;
180
+ }
181
+ if (func == SMO_EVENT_TYPE.setBorradoAviso) {
182
+ selft.setBorradoAviso(e.data.objData);
183
+ return;
184
+ }
185
+ /* ----------------------------------- */
167
186
  if (func == SMO_EVENT_TYPE.getVariable) {
168
187
  selft.getVariable(e.data.objData);
169
188
  return;
@@ -242,6 +261,12 @@ var SMO = /** @class */ (function () {
242
261
  this.events.setDatasource.next(datasource);
243
262
  this.events.setDatasourceJson.next(this.utils.xmlToJSON(datasource.xml));
244
263
  };
264
+ SMO.prototype.setAvisos = function (aviso) {
265
+ this.events.setAvisos.next(aviso);
266
+ };
267
+ SMO.prototype.setBorradoAviso = function (aviso) {
268
+ this.events.setBorradoAviso.next(aviso);
269
+ };
245
270
  SMO.prototype.getVariable = function (variable) {
246
271
  this.events.getVariable.next(variable);
247
272
  };
@@ -298,6 +323,8 @@ var SmoEvents = /** @class */ (function () {
298
323
  this.start = new rxjs_1.Subject();
299
324
  this.dispose = new rxjs_1.Subject();
300
325
  this.setDatasource = new rxjs_1.Subject();
326
+ this.setAvisos = new rxjs_1.Subject();
327
+ this.setBorradoAviso = new rxjs_1.Subject();
301
328
  this.setDatasourceJson = new rxjs_1.Subject();
302
329
  this.getVariable = new rxjs_1.Subject();
303
330
  this.setCurrentStream = new rxjs_1.Subject();
@@ -350,7 +377,7 @@ var smoCallBacks = /** @class */ (function () {
350
377
  if (level == LogLevel.Warning) {
351
378
  console.warn(msn);
352
379
  }
353
- if (level == LogLevel.Error) {
380
+ if (level == LogLevel.Error || level == LogLevel.Fatal) {
354
381
  console.error(msn);
355
382
  }
356
383
  if (window.parent != window) {
@@ -485,6 +512,13 @@ var smoCallBacks = /** @class */ (function () {
485
512
  idSmo: this.smo.id
486
513
  }, this.smo.vars.idSmo);
487
514
  };
515
+ smoCallBacks.prototype.setEstadoAviso = function (params) {
516
+ this.smo.utils.sendToParent({
517
+ target: "Dnv.smoCallbacks.setEstadoAviso",
518
+ objData: params, // id del aviso
519
+ idSmo: this.smo.id
520
+ }, this.smo.vars.idSmo);
521
+ };
488
522
  smoCallBacks.prototype.refreshDatasource = function (codigo) {
489
523
  this.smo.utils.sendToParent({
490
524
  target: "Dnv.smoCallbacks.refreshDatasource",
@@ -539,6 +573,17 @@ var smoCallBacks = /** @class */ (function () {
539
573
  idSmo: this.smo.id
540
574
  }, this.smo.vars.idSmo);
541
575
  };
576
+ smoCallBacks.prototype.notifyEditor = function (data) {
577
+ /*data ={
578
+ destino: "fruta",
579
+ value: "{'fruta':'manzana', 'color':'roja'}"
580
+ } */
581
+ parent.postMessage({
582
+ target: "Dnv.smoCallbacks.notifyEditor",
583
+ objData: data,
584
+ idSmo: this.smo.id
585
+ }, "*");
586
+ };
542
587
  smoCallBacks.prototype.playOnceChannelByTrigger = function (trigger) {
543
588
  this.smo.utils.sendToParent({
544
589
  target: "Dnv.smoCallbacks.playOnceChannelByTrigger",
@@ -710,6 +755,15 @@ var Utils = /** @class */ (function () {
710
755
  this.smo = _smo;
711
756
  this.smoCallBacks = _smoCallBacks;
712
757
  }
758
+ Utils.prototype.writeVars = function () {
759
+ var out = "";
760
+ for (var k in this.smo.vars) {
761
+ if (this.smo.vars.hasOwnProperty(k))
762
+ out += k + "=" + this.smo.vars[k] + "&";
763
+ }
764
+ if (out)
765
+ this.smoCallBacks.smoLog(out, LogLevel.Debug);
766
+ };
713
767
  // Funciones para XML to JSON
714
768
  Utils.prototype.xmlToJSON = function (xml) {
715
769
  var getxml = new DOMParser();
@@ -865,6 +919,10 @@ var SMO_EVENT_TYPE;
865
919
  SMO_EVENT_TYPE["start"] = "start";
866
920
  SMO_EVENT_TYPE["dispose"] = "dispose";
867
921
  SMO_EVENT_TYPE["setDatasource"] = "setDatasource";
922
+ SMO_EVENT_TYPE["setAvisoArgs"] = "setAvisoArgs";
923
+ SMO_EVENT_TYPE["setAvisoLogotipoArgs"] = "setAvisoLogotipoArgs";
924
+ SMO_EVENT_TYPE["setAvisoDuracionArgs"] = "setAvisoDuracionArgs";
925
+ SMO_EVENT_TYPE["setBorradoAviso"] = "setBorradoAviso";
868
926
  SMO_EVENT_TYPE["getVariable"] = "getVariable";
869
927
  SMO_EVENT_TYPE["setCurrentStream"] = "setCurrentStream";
870
928
  SMO_EVENT_TYPE["infoCurrentLocation"] = "infoCurrentLocation";
@@ -889,6 +947,7 @@ var LogLevel;
889
947
  LogLevel[LogLevel["Info"] = 1] = "Info";
890
948
  LogLevel[LogLevel["Warning"] = 2] = "Warning";
891
949
  LogLevel[LogLevel["Error"] = 3] = "Error";
950
+ LogLevel[LogLevel["Fatal"] = 4] = "Fatal";
892
951
  })(LogLevel || (exports.LogLevel = LogLevel = {}));
893
952
  var AlarmaLevel;
894
953
  (function (AlarmaLevel) {
@@ -0,0 +1 @@
1
+ export * from "./";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./"), exports);
@@ -0,0 +1,99 @@
1
+ export interface setDatasource {
2
+ xml: string;
3
+ }
4
+ export interface start {
5
+ }
6
+ export interface dispose {
7
+ }
8
+ export interface variable {
9
+ variable: string;
10
+ valor: string;
11
+ }
12
+ export interface location {
13
+ top: string;
14
+ left: string;
15
+ width: string;
16
+ height: string;
17
+ }
18
+ export interface Slide {
19
+ codigo: string;
20
+ idioma: string;
21
+ denominacion: string;
22
+ hash: string;
23
+ }
24
+ export interface DataSalida {
25
+ dataKey: string;
26
+ data: Slide[];
27
+ }
28
+ export interface ExecFunction {
29
+ funcion: string;
30
+ params: string;
31
+ }
32
+ export interface Notify {
33
+ destion: string;
34
+ value: any;
35
+ }
36
+ export interface NotifyEditor {
37
+ formInputs?: any[];
38
+ behaviors?: any[];
39
+ }
40
+ export interface GetRecursosByCodigo {
41
+ recursos?: Recurso[];
42
+ }
43
+ export interface GetRecursos {
44
+ codigo: number;
45
+ fechaInicio: string;
46
+ fechaFin: string;
47
+ ocultarVideos?: boolean;
48
+ recursos?: Recurso[];
49
+ canales?: Canal[];
50
+ }
51
+ export interface Canal {
52
+ codigo: number;
53
+ pases: number;
54
+ recursos: Recurso[];
55
+ }
56
+ export interface GetRecursosRelleno {
57
+ codigo: number;
58
+ recursos: Recurso[];
59
+ }
60
+ export interface GetRecursosMetadatos {
61
+ metadato: string;
62
+ valor: string;
63
+ }
64
+ export interface RecursosMetadato {
65
+ metadato: string;
66
+ valor: string;
67
+ recursos?: Recurso[];
68
+ }
69
+ export interface Recurso {
70
+ codigo: number;
71
+ url: string;
72
+ duracion: number;
73
+ tipo: number;
74
+ disponible: boolean;
75
+ vigencia_inicio: string;
76
+ vigencia_fin: string;
77
+ hora_inicio: string;
78
+ hora_fin: string;
79
+ dias: string;
80
+ nombre: string;
81
+ metadatos?: {
82
+ [key: string]: string;
83
+ };
84
+ }
85
+ export interface Datasource {
86
+ data: string;
87
+ tipo: string;
88
+ }
89
+ export interface DatasourceMap {
90
+ [codigo: string]: Datasource;
91
+ }
92
+ export interface ValorCalendario {
93
+ codigo: number;
94
+ valor: any;
95
+ tipo: number;
96
+ inicio: string;
97
+ fin: string;
98
+ objIdDispositivo: number;
99
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,203 @@
1
+ import { setDatasource, variable, location, DataSalida, ExecFunction, Notify, start, NotifyEditor, GetRecursosByCodigo, GetRecursos, GetRecursosRelleno, GetRecursosMetadatos, RecursosMetadato, DatasourceMap, ValorCalendario } from "./interfaces/callbacks";
2
+ import { Subject } from 'rxjs';
3
+ export declare class SMO {
4
+ version: string;
5
+ vars: any;
6
+ id: string;
7
+ width: number;
8
+ height: number;
9
+ private intervalsubscriptionDataSource;
10
+ intervalDataSource$: import("rxjs").Observable<number>;
11
+ smoCallBacks: smoCallBacks;
12
+ utils: Utils;
13
+ events: SmoEvents;
14
+ constructor();
15
+ init(): void;
16
+ initOnMessage(): void;
17
+ start(): void;
18
+ dispose(): void;
19
+ setDatasource(datasource: setDatasource): void;
20
+ getVariable(variable: variable): void;
21
+ setCurrentStream(stream: string): void;
22
+ infoCurrentLocation(location: location): void;
23
+ setSalidaData(data: DataSalida): void;
24
+ updatefromsalida(data: any): void;
25
+ getRecursosByCodigo(data: GetRecursosByCodigo): void;
26
+ getRecursosByMetadato(data: GetRecursosByCodigo): void;
27
+ getRecursosByMetadatos(data: RecursosMetadato[]): void;
28
+ getRecursos(data: GetRecursos): void;
29
+ getRecursosDefault(data: GetRecursos): void;
30
+ getRecursosRelleno(data: GetRecursosRelleno): void;
31
+ getVariableStorage(variable: variable): void;
32
+ checkHealth(json: string): void;
33
+ checkHealthPrinter(json: string): void;
34
+ getValorCalendario(data: ValorCalendario | any): void;
35
+ getLocalDatasource(data: DatasourceMap): void;
36
+ }
37
+ declare class SmoEvents {
38
+ start: Subject<start>;
39
+ dispose: Subject<start>;
40
+ setDatasource: Subject<setDatasource>;
41
+ setDatasourceJson: Subject<any>;
42
+ getVariable: Subject<variable>;
43
+ setCurrentStream: Subject<string>;
44
+ infoCurrentLocation: Subject<location>;
45
+ setSalidaData: Subject<DataSalida>;
46
+ updatefromsalida: Subject<any>;
47
+ getRecursosByCodigo: Subject<GetRecursosByCodigo>;
48
+ getRecursosByMetadato: Subject<GetRecursosByCodigo>;
49
+ getRecursosByMetadatos: Subject<RecursosMetadato[]>;
50
+ getRecursos: Subject<GetRecursos>;
51
+ getRecursosDefault: Subject<GetRecursos>;
52
+ getRecursosRelleno: Subject<GetRecursosRelleno>;
53
+ getVariableStorage: Subject<variable>;
54
+ checkHealth: Subject<string>;
55
+ checkHealthPrinter: Subject<string>;
56
+ getValorCalendario: Subject<ValorCalendario | any>;
57
+ getLocalDatasource: Subject<DatasourceMap>;
58
+ constructor(smo: SMO);
59
+ }
60
+ declare class smoCallBacks {
61
+ smo: SMO;
62
+ constructor(_smo: SMO);
63
+ onSmoLoad(): void;
64
+ onSmoReady(): void;
65
+ smoLog(msn: string, level: LogLevel): void;
66
+ smoAlarma(msn: string, level: AlarmaLevel): void;
67
+ smoLogStash(msn: string): void;
68
+ smoLogNowShowing(msn: any): void;
69
+ reiniciarDispositivo(msn: string): void;
70
+ urlNext(): void;
71
+ exitInteractivity(): void;
72
+ showBrowser(): void;
73
+ closeBrowser(): void;
74
+ urlNextDirectamente(): void;
75
+ setVariable(variable: string, valor: string): void;
76
+ getVariable(variable: string): void;
77
+ getFile(file: string): void;
78
+ setLocalData(variable: string, valor: string): void;
79
+ getLocalData(variable: string): void;
80
+ getCurrentStream(): void;
81
+ finAviso(id: string): void;
82
+ setEstadoAviso(params: string): void;
83
+ refreshDatasource(codigo: string): void;
84
+ getLocation(): void;
85
+ getSalidaData(data: string): void;
86
+ ejecutaFuncion(data: ExecFunction): void;
87
+ addObserver(data: string): void;
88
+ notify(data: Notify): void;
89
+ notifyEditor(data: NotifyEditor): void;
90
+ playOnceChannelByTrigger(trigger: string): void;
91
+ stopPlayOnceChannelByTrigger(): void;
92
+ playOnceChannel(codigoCanal: string): void;
93
+ stopPlayChannel(): void;
94
+ editWrapperStyle(obj: any): void;
95
+ getRecursosByCodigo(codigos: any): void;
96
+ getRecursosByMetadato(metadato: string, valor: string): void;
97
+ getRecursosByMetadatos(data: GetRecursosMetadatos[]): void;
98
+ getRecursos(): void;
99
+ getRecursosDefault(): void;
100
+ getRecursosRelleno(): void;
101
+ setVariableStorage(variable: string, valor: string): void;
102
+ getVariableStorage(variable: string): void;
103
+ printTextLine(txt: string): void;
104
+ printBarcode(code: string, width: number, height: number): void;
105
+ cutPaper(percent: number): void;
106
+ checkHealth(): void;
107
+ checkHealthPrinter(): void;
108
+ printImage(image: string): void;
109
+ getValorCalendario(codigo: number, compleja?: boolean, tipoObjeto?: number): void;
110
+ /**
111
+ * Funcion que permite obtener uno o varios datasources pasando su/sus codigos
112
+ * Permite un solo codigo o un array de codigos
113
+ * @param codDS Puede ser un número o un array de números
114
+ */
115
+ getLocalDatasource(codDS: number | number[]): void;
116
+ }
117
+ declare class Utils {
118
+ smo: SMO;
119
+ smoCallBacks: smoCallBacks;
120
+ constructor(_smo: SMO, _smoCallBacks: smoCallBacks);
121
+ exceptionToString(exception: any): string;
122
+ writeVars(): void;
123
+ xmlToJSON(xml: string): string;
124
+ jsonToStr(js_obj: any): string;
125
+ sendToParent(obj: any, dest: string): void;
126
+ setJsonObj(xml: any): any;
127
+ dataToJSON(data: setDatasource): any;
128
+ }
129
+ export declare enum SMO_EVENT_TYPE {
130
+ start = "start",
131
+ dispose = "dispose",
132
+ setDatasource = "setDatasource",
133
+ getVariable = "getVariable",
134
+ setCurrentStream = "setCurrentStream",
135
+ infoCurrentLocation = "infoCurrentLocation",
136
+ setSalidaData = "setSalidaData",
137
+ updatefromsalida = "updatefromsalida",
138
+ setDatasourceJson = "setDatasourceJson",
139
+ getRecursosByCodigo = "getRecursosByCodigo",
140
+ getRecursosByMetadato = "getRecursosByMetadato",
141
+ getRecursosByMetadatos = "getRecursosByMetadatos",
142
+ getRecursos = "getRecursos",
143
+ getRecursosDefault = "getRecursosDefault",
144
+ getRecursosRelleno = "getRecursosRelleno",
145
+ getVariableStorage = "getVariableStorage",
146
+ checkHealth = "checkHealth",
147
+ checkHealthPrinter = "checkHealthPrinter",
148
+ getValorCalendario = "getValorCalendario",
149
+ getLocalDatasource = "getLocalDatasource"
150
+ }
151
+ export declare enum LogLevel {
152
+ Debug = 0,
153
+ Info = 1,
154
+ Warning = 2,
155
+ Error = 3,
156
+ Fatal = 4
157
+ }
158
+ export declare enum AlarmaLevel {
159
+ Ok_off = 0,
160
+ Ok = 1,
161
+ Scanning = 2,
162
+ Timeout = 3,
163
+ Warning = 4,
164
+ Error = 5
165
+ }
166
+ export interface ObjJSType {
167
+ urlNext: () => void;
168
+ limpiaCapa: () => void;
169
+ logFlash: () => void;
170
+ pageInit: () => void;
171
+ finAviso: () => void;
172
+ setEstadoAviso: () => void;
173
+ exitInteractivity: () => void;
174
+ logWeb: () => void;
175
+ refreshPage: () => void;
176
+ refreshPageByError: () => void;
177
+ refreshPageByVideoEvent: () => void;
178
+ auditarRecurso: () => void;
179
+ initSMO: () => void;
180
+ getFile: () => void;
181
+ showBrowser: () => void;
182
+ closeBrowser: () => void;
183
+ refreshDataSource: () => void;
184
+ setVariable: () => void;
185
+ getVariable: () => void;
186
+ getLocation: () => void;
187
+ salirApp: () => void;
188
+ setLocalData: () => void;
189
+ getLocalData: () => void;
190
+ getSalidaData: () => void;
191
+ ejecutaFuncion: () => void;
192
+ addObserver: () => void;
193
+ notifyToObservers: () => void;
194
+ printTextLine: () => void;
195
+ printBarcode: () => void;
196
+ cutPaper: () => void;
197
+ printImage: () => void;
198
+ checkHealthPrinter: () => void;
199
+ checkHealth: () => void;
200
+ getValorCalendario: () => void;
201
+ getLocalDatasource: () => void;
202
+ }
203
+ export {};