markuno_lib 1.1.29 → 1.1.31
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/bin/bus_utils.js +3 -3
- package/bin/markcad.js +6 -6
- package/bin/markcad3d.js +7 -7
- package/bin/marked.js +4 -4
- package/bin/markuno.js +21 -21
- package/package.json +1 -1
- package/types/bus_utils.d.ts +0 -1
- package/types/markcad.d.ts +7 -2
- package/types/markcad3d.d.ts +4 -5
- package/types/markuno.d.ts +10 -10
package/types/markuno.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export class Ambiente {
|
|
|
24
24
|
varelenco: {};
|
|
25
25
|
macroelenco: {};
|
|
26
26
|
scripts: {};
|
|
27
|
-
setfndot(fndotcallback: any):
|
|
27
|
+
setfndot(fndotcallback: any): void;
|
|
28
28
|
fndotcallback: any;
|
|
29
29
|
parseheaderfrominfo(tm: any): void;
|
|
30
30
|
setitem(item: any, rule: any, model: any, datadelgiorno: any): void;
|
|
@@ -76,8 +76,8 @@ export class CodiceBarra {
|
|
|
76
76
|
compila(vettore: any, headers: any): void;
|
|
77
77
|
}
|
|
78
78
|
export class Macro {
|
|
79
|
-
constructor(amb: any,
|
|
80
|
-
name:
|
|
79
|
+
constructor(amb: any, _name: any);
|
|
80
|
+
name: string;
|
|
81
81
|
cat: string;
|
|
82
82
|
/** @type {Ambiente} */
|
|
83
83
|
amb: any;
|
|
@@ -110,7 +110,7 @@ export class Macro {
|
|
|
110
110
|
getmacro(): any;
|
|
111
111
|
setmacro(vv: any): void;
|
|
112
112
|
load(xname: any, xcat: any): Promise<boolean>;
|
|
113
|
-
loadAndCompile(file: any,
|
|
113
|
+
loadAndCompile(file: any, _cat: any, acapo?: boolean): Promise<any>;
|
|
114
114
|
parsedata(res: any, acapo?: boolean): Promise<void>;
|
|
115
115
|
cleanfiltraparametri(key: any, codice: any, acapo: any): any[];
|
|
116
116
|
#private;
|
|
@@ -179,11 +179,11 @@ export class Variabile {
|
|
|
179
179
|
* @param {string} id - Identificativo univoco della variante
|
|
180
180
|
* @param {string} cat - Categoria di appartenenza
|
|
181
181
|
* @returns {Object} Oggetto contenente nome e categoria normalizzati
|
|
182
|
-
*/ setheader(id: string,
|
|
182
|
+
*/ setheader(id: string, _cat: any): any;
|
|
183
183
|
cat: string;
|
|
184
184
|
alias: string;
|
|
185
185
|
obbligo: boolean;
|
|
186
|
-
des:
|
|
186
|
+
des: string;
|
|
187
187
|
vdef: any[] | string[];
|
|
188
188
|
h: any[] | {
|
|
189
189
|
des: string;
|
|
@@ -200,7 +200,7 @@ export class Variabile {
|
|
|
200
200
|
* @param {string} cat - Categoria della variante
|
|
201
201
|
* @param {boolean} nofilter - Se true, non carica i filtri associati
|
|
202
202
|
* @returns {Promise<boolean>} Promise che risolve a true se il caricamento ha successo
|
|
203
|
-
*/ load(id: string,
|
|
203
|
+
*/ load(id: string, _cat: any, nofilter?: boolean): Promise<boolean>;
|
|
204
204
|
limits: {}[] | {
|
|
205
205
|
v: any[];
|
|
206
206
|
datai: number;
|
|
@@ -251,7 +251,7 @@ export class Variabile {
|
|
|
251
251
|
*/ loadContentExtended(content: any | string): Promise<void>;
|
|
252
252
|
todata(): {
|
|
253
253
|
name: string;
|
|
254
|
-
des:
|
|
254
|
+
des: string;
|
|
255
255
|
alias: string;
|
|
256
256
|
obbligo: boolean;
|
|
257
257
|
h: any[] | {
|
|
@@ -352,7 +352,7 @@ export function gettipofolder(cod: any): string;
|
|
|
352
352
|
export function hash(obj: any): string;
|
|
353
353
|
export function impostavariante(amb: any, macro: any, a: any, b: any, head: any): Promise<any>;
|
|
354
354
|
export function intvaluta(amb: any, mac: any, str: any): Promise<any>;
|
|
355
|
-
export function isJsonStr():
|
|
355
|
+
export function isJsonStr(str: any): boolean;
|
|
356
356
|
export function isObject(value: any): boolean;
|
|
357
357
|
export function muInit(cat: any, cbGetMacro: any, cbGetVariante: any, cbFunc: any, cbInfo: any, cbGetFile: any, cbLogga: any): Ambiente;
|
|
358
358
|
/**
|
|
@@ -505,7 +505,7 @@ export function parselimitifromrule(limvec: any): {
|
|
|
505
505
|
i: number;
|
|
506
506
|
res: string[];
|
|
507
507
|
};
|
|
508
|
-
export function poppars(amb: any, tm: any):
|
|
508
|
+
export function poppars(amb: any, tm: any): void;
|
|
509
509
|
export function pushpars(amb: any, macro: any, parsfunzione: any, parsinit: any): Promise<{
|
|
510
510
|
v: string;
|
|
511
511
|
o: any;
|