mxcad-app 1.0.34 → 1.0.36
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/LICENSE +3 -0
- package/LICENSE_CN +4 -0
- package/THIRD-PARTY-NOTICES.txt +19058 -0
- package/dist/chunks/index10.js.gz +0 -0
- package/dist/chunks/index11.js.gz +0 -0
- package/dist/chunks/index12.js.gz +0 -0
- package/dist/chunks/index16.js.gz +0 -0
- package/dist/chunks/index18.js.gz +0 -0
- package/dist/chunks/index2.js.gz +0 -0
- package/dist/chunks/index20.js.gz +0 -0
- package/dist/chunks/index21.js.gz +0 -0
- package/dist/chunks/index26.js.gz +0 -0
- package/dist/chunks/index28.js.gz +0 -0
- package/dist/chunks/index30.js.gz +0 -0
- package/dist/chunks/index32.js.gz +0 -0
- package/dist/chunks/index34.js.gz +0 -0
- package/dist/chunks/index35.js.gz +0 -0
- package/dist/chunks/index37.js.gz +0 -0
- package/dist/chunks/index39.js.gz +0 -0
- package/dist/chunks/index4.js.gz +0 -0
- package/dist/chunks/index41.js.gz +0 -0
- package/dist/chunks/index6.js.gz +0 -0
- package/dist/chunks/index7.js.gz +0 -0
- package/dist/chunks/index9.js.gz +0 -0
- package/dist/chunks/lib.js.gz +0 -0
- package/dist/chunks/mxcad.js.gz +0 -0
- package/dist/chunks/mxdraw.js.gz +0 -0
- package/dist/chunks/sandbox.js.gz +0 -0
- package/dist/chunks/vuetify.js.gz +0 -0
- package/dist/chunks/zod.js.gz +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +11 -11
- package/dist/index.js +1 -1
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +35 -0
- package/dist/mxcadAppAssets/mxcad.umd.js.gz +0 -0
- package/dist/mxcadAppAssets/mxdraw.umd.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.wasm.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_min.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_minst.wasm.gz +0 -0
- package/dist/mxdraw.d.ts +2 -1
- package/dist/styles/style.css.gz +0 -0
- package/package.json +2 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/index2.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/index4.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/chunks/index6.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/index7.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/index9.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/lib.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxcad.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxdraw.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/zod.js.gz
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -238,16 +238,15 @@ declare module '@tiptap/core' {
|
|
|
238
238
|
|
|
239
239
|
declare module '@tiptap/core' {
|
|
240
240
|
interface Commands<ReturnType> {
|
|
241
|
-
|
|
241
|
+
TextDecoration: {
|
|
242
242
|
/**
|
|
243
243
|
* Set the font size attribute
|
|
244
244
|
*/
|
|
245
|
-
|
|
245
|
+
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
246
246
|
/**
|
|
247
247
|
* Unset the font size attribute
|
|
248
248
|
*/
|
|
249
|
-
|
|
250
|
-
toggleStrike: () => ReturnType;
|
|
249
|
+
unsetTextDecoration: () => ReturnType;
|
|
251
250
|
};
|
|
252
251
|
}
|
|
253
252
|
}
|
|
@@ -266,15 +265,16 @@ declare module '@tiptap/core' {
|
|
|
266
265
|
|
|
267
266
|
declare module '@tiptap/core' {
|
|
268
267
|
interface Commands<ReturnType> {
|
|
269
|
-
|
|
268
|
+
Overline: {
|
|
270
269
|
/**
|
|
271
270
|
* Set the font size attribute
|
|
272
271
|
*/
|
|
273
|
-
|
|
272
|
+
setOverline: () => ReturnType;
|
|
274
273
|
/**
|
|
275
274
|
* Unset the font size attribute
|
|
276
275
|
*/
|
|
277
|
-
|
|
276
|
+
unsetOverline: () => ReturnType;
|
|
277
|
+
toggleOverline: () => ReturnType;
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
280
|
}
|
|
@@ -292,16 +292,16 @@ declare module "@tiptap/core" {
|
|
|
292
292
|
|
|
293
293
|
declare module '@tiptap/core' {
|
|
294
294
|
interface Commands<ReturnType> {
|
|
295
|
-
|
|
295
|
+
Strike: {
|
|
296
296
|
/**
|
|
297
297
|
* Set the font size attribute
|
|
298
298
|
*/
|
|
299
|
-
|
|
299
|
+
setStrike: () => ReturnType;
|
|
300
300
|
/**
|
|
301
301
|
* Unset the font size attribute
|
|
302
302
|
*/
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
unsetStrike: () => ReturnType;
|
|
304
|
+
toggleStrike: () => ReturnType;
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
}
|
package/dist/index.js
CHANGED
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -2762,11 +2762,16 @@ declare module "mxcad" {
|
|
|
2762
2762
|
* const ret = await MxCADUtility.getCorner("测试");
|
|
2763
2763
|
* if (!ret) return;
|
|
2764
2764
|
* console.log(ret.pt1, ret.pt2)
|
|
2765
|
+
* pt4----pt2
|
|
2766
|
+
* | |
|
|
2767
|
+
* pt1----pt3
|
|
2765
2768
|
* ```
|
|
2766
2769
|
* */
|
|
2767
2770
|
getCorner(strPrompt?: string, pt1?: McGePoint3d, detailedResult?: (retcode: DetailedResult) => any, drawSelectCroner?: boolean, isDisableAllTrace?: boolean, init?: (getPoint: MxCADUiPrPoint) => any): Promise<{
|
|
2768
2771
|
pt1: McGePoint3d;
|
|
2769
2772
|
pt2: McGePoint3d;
|
|
2773
|
+
pt3: McGePoint3d;
|
|
2774
|
+
pt4: McGePoint3d;
|
|
2770
2775
|
} | null>;
|
|
2771
2776
|
/** 获取多个实体形成的包围盒
|
|
2772
2777
|
* @param aryId 实体对象ID数组
|
|
@@ -11673,6 +11678,14 @@ declare module "mxcad" {
|
|
|
11673
11678
|
* ```
|
|
11674
11679
|
*/
|
|
11675
11680
|
getMxDrawObject(): MxDrawObject;
|
|
11681
|
+
/**
|
|
11682
|
+
* 返回与MxCAD当前视区旋转矩阵
|
|
11683
|
+
* @returns McGeMatrix3d对象
|
|
11684
|
+
* @example
|
|
11685
|
+
* ```ts
|
|
11686
|
+
* ```
|
|
11687
|
+
*/
|
|
11688
|
+
getMxCADViewSpinMatrix(): McGeMatrix3d;
|
|
11676
11689
|
/**
|
|
11677
11690
|
* 返回与MxCAD对象绑定的MxDraw对象。
|
|
11678
11691
|
* @returns MxDraw对象
|
|
@@ -11685,6 +11698,10 @@ declare module "mxcad" {
|
|
|
11685
11698
|
* ```
|
|
11686
11699
|
*/
|
|
11687
11700
|
get mxdraw(): MxDrawObject;
|
|
11701
|
+
/**
|
|
11702
|
+
* 把mxcad设置当前的cad对象
|
|
11703
|
+
*/
|
|
11704
|
+
makeCurrent(): void;
|
|
11688
11705
|
/**
|
|
11689
11706
|
* 获取内部实现对象
|
|
11690
11707
|
* @returns 内部实现对象
|
|
@@ -13561,6 +13578,24 @@ declare module "mxcad" {
|
|
|
13561
13578
|
* ```
|
|
13562
13579
|
*/
|
|
13563
13580
|
getCurrentMxCAD(): McObject;
|
|
13581
|
+
/**
|
|
13582
|
+
* 返回当前活动的CAD对象
|
|
13583
|
+
* @example
|
|
13584
|
+
* ```ts
|
|
13585
|
+
* import { MxCpp } from "mxcad";
|
|
13586
|
+
* const mxcad = MxCpp.getCurrentMxCAD();
|
|
13587
|
+
* ```
|
|
13588
|
+
*/
|
|
13589
|
+
get mxcad(): McObject;
|
|
13590
|
+
/**
|
|
13591
|
+
* 返回当前活动的CAD对象的数据库对象.
|
|
13592
|
+
* @example
|
|
13593
|
+
* ```ts
|
|
13594
|
+
* import { MxCpp } from "mxcad";
|
|
13595
|
+
* const dataBase = MxCpp.getCurrentDatabase();
|
|
13596
|
+
* ```
|
|
13597
|
+
*/
|
|
13598
|
+
get currentDatabase(): McDbDatabase;
|
|
13564
13599
|
/**
|
|
13565
13600
|
* 返回当前活动的CAD对象的数据库对象.
|
|
13566
13601
|
* @example
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/mxdraw.d.ts
CHANGED
|
@@ -497,7 +497,7 @@ declare module "mxdraw" {
|
|
|
497
497
|
* ```
|
|
498
498
|
*
|
|
499
499
|
*/
|
|
500
|
-
drawSolid(points: THREE.Vector3[]): void;
|
|
500
|
+
drawSolid(points: THREE.Vector3[], depthTest?: boolean): void;
|
|
501
501
|
/**
|
|
502
502
|
*把一个对象的绘图属性设置到当前绘图上下文
|
|
503
503
|
* @returns
|
|
@@ -5096,6 +5096,7 @@ declare module "mxdraw" {
|
|
|
5096
5096
|
*/
|
|
5097
5097
|
class MxDbHatch extends MxDbEntity {
|
|
5098
5098
|
points: THREE.Vector3[];
|
|
5099
|
+
depthTest: boolean;
|
|
5099
5100
|
worldDraw(pWorldDraw: McGiWorldDraw): void;
|
|
5100
5101
|
getTypeName(): string;
|
|
5101
5102
|
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
|
package/dist/styles/style.css.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mxcad-app",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.36",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"dist",
|
|
56
56
|
"LICENSE",
|
|
57
57
|
"LICENSE_CN",
|
|
58
|
+
"THIRD-PARTY-NOTICES.txt",
|
|
58
59
|
"README.md",
|
|
59
60
|
"packToolPlugin",
|
|
60
61
|
"package.json",
|