markuno_lib 1.2.140 → 1.2.141
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 +1 -1
- package/bin/markcad.js +1 -1
- package/package.json +1 -1
- package/types/bus_utils.d.ts +3 -3
- package/types/markcad.d.ts +12 -1
package/package.json
CHANGED
package/types/bus_utils.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const t: {
|
|
|
8
8
|
$emit(e: any, ...t: any[]): void;
|
|
9
9
|
};
|
|
10
10
|
export function formatDate(e: any): string;
|
|
11
|
-
export function getdim(e: any, t: any, r: any, i: any,
|
|
11
|
+
export function getdim(e: any, t: any, r: any, i: any, a: any, n: any, o: any, s: any, m: any): string;
|
|
12
12
|
export function listfromstring(e: any): any[];
|
|
13
13
|
export function myuuid(): number;
|
|
14
14
|
export function post_utils(e?: {}): {
|
|
@@ -22,7 +22,7 @@ export function post_utils(e?: {}): {
|
|
|
22
22
|
isauth(e: any): boolean;
|
|
23
23
|
fullurl(e: any): any;
|
|
24
24
|
fullget(e: any, t: any, i: any): any;
|
|
25
|
-
fetch(e: any, i: any,
|
|
25
|
+
fetch(e: any, i: any, a: any, n?: boolean): Promise<any>;
|
|
26
26
|
post(e: any, t: any, r: any, i?: boolean): Promise<any>;
|
|
27
27
|
};
|
|
28
28
|
PP: (e: any, t: any, i: any, s: any) => Promise<any>;
|
|
@@ -36,7 +36,7 @@ export function post_utils(e?: {}): {
|
|
|
36
36
|
isauth(e: any): boolean;
|
|
37
37
|
fullurl(e: any): any;
|
|
38
38
|
fullget(e: any, t: any, i: any): any;
|
|
39
|
-
fetch(e: any, i: any,
|
|
39
|
+
fetch(e: any, i: any, a: any, n?: boolean): Promise<any>;
|
|
40
40
|
post(e: any, t: any, r: any, i?: boolean): Promise<any>;
|
|
41
41
|
};
|
|
42
42
|
isauth: (e: any) => boolean;
|
package/types/markcad.d.ts
CHANGED
|
@@ -1478,6 +1478,7 @@ export function newgcad(t: any, n: any, i: any, r?: boolean): {
|
|
|
1478
1478
|
getglb: (e: any) => Promise<any>;
|
|
1479
1479
|
get3ds: (n: any, i?: boolean) => Promise<any>;
|
|
1480
1480
|
replacemats: (e: any, t: any, n: any) => any;
|
|
1481
|
+
rescalecomplex: (e: any, t: any, n: any) => any;
|
|
1481
1482
|
islog: boolean;
|
|
1482
1483
|
clear: () => Promise<void>;
|
|
1483
1484
|
clearmat: () => Promise<void>;
|
|
@@ -1492,6 +1493,8 @@ export function newgcad(t: any, n: any, i: any, r?: boolean): {
|
|
|
1492
1493
|
y: number;
|
|
1493
1494
|
z: number;
|
|
1494
1495
|
};
|
|
1496
|
+
min: any;
|
|
1497
|
+
max: any;
|
|
1495
1498
|
position: any;
|
|
1496
1499
|
rotation: {
|
|
1497
1500
|
x: any;
|
|
@@ -1512,6 +1515,8 @@ export function newgcad(t: any, n: any, i: any, r?: boolean): {
|
|
|
1512
1515
|
y: number;
|
|
1513
1516
|
z: number;
|
|
1514
1517
|
};
|
|
1518
|
+
min: any;
|
|
1519
|
+
max: any;
|
|
1515
1520
|
position: any;
|
|
1516
1521
|
rotation: {
|
|
1517
1522
|
x: any;
|
|
@@ -1522,6 +1527,9 @@ export function newgcad(t: any, n: any, i: any, r?: boolean): {
|
|
|
1522
1527
|
}>;
|
|
1523
1528
|
getScript: (e: any) => Promise<any>;
|
|
1524
1529
|
checkScripts: (e: any) => Promise<void>;
|
|
1530
|
+
mapshere: typeof mapshere;
|
|
1531
|
+
mapcilynder: typeof mapcilynder;
|
|
1532
|
+
mappanel: typeof mappanel;
|
|
1525
1533
|
readonly loaderGLTF: GLTFLoader;
|
|
1526
1534
|
readonly BTNS: any[];
|
|
1527
1535
|
readonly gmats: {};
|
|
@@ -1604,7 +1612,7 @@ export function oggetti2d(e?: {}): {
|
|
|
1604
1612
|
linerifMatE: any;
|
|
1605
1613
|
getlayers: (e: any, t: any) => any[];
|
|
1606
1614
|
dopickbox: (e: any, t: any) => any;
|
|
1607
|
-
createBox: ({ x: e, y: n, w: i, h: r, ox: o, oy: a, minx: A, maxx: l, stepx: c, listx: p, miny: h, maxy: u, stepy: d, listy: g, extra: f, rot: m, snappts: y, snapptsadd: b, snaplines: I, snaplinesadd: x, color:
|
|
1615
|
+
createBox: ({ x: e, y: n, w: i, h: r, ox: o, oy: a, minx: A, maxx: l, stepx: c, listx: p, miny: h, maxy: u, stepy: d, listy: g, extra: f, rot: m, snappts: y, snapptsadd: b, snaplines: I, snaplinesadd: x, color: B, layer: C, id: E, name: w }: {
|
|
1608
1616
|
x: any;
|
|
1609
1617
|
y: any;
|
|
1610
1618
|
w: any;
|
|
@@ -2952,6 +2960,9 @@ declare function exportSceneImage(e: any, t: any, n: any): Promise<File>;
|
|
|
2952
2960
|
declare function handleMovimenti(e: any, t?: {}): void;
|
|
2953
2961
|
declare function handlePick(e: any, t?: {}): any;
|
|
2954
2962
|
declare function checkhoverables(e: any, t?: boolean, n?: {}): any;
|
|
2963
|
+
declare function mapshere(t: any, n?: number, i?: number, r?: number): void;
|
|
2964
|
+
declare function mapcilynder(t: any, n?: string, i?: number, r?: number, s?: number, o?: number): void;
|
|
2965
|
+
declare function mappanel(t: any, n?: string, i?: number, r?: number, s?: number, o?: number): void;
|
|
2955
2966
|
declare class GLTFLoader {
|
|
2956
2967
|
constructor(e: any);
|
|
2957
2968
|
dracoLoader: any;
|