mxcad-app 1.0.40 → 1.0.42
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/dist/chunks/index28.js.gz +0 -0
- package/dist/chunks/index44.js.gz +0 -0
- package/dist/chunks/index45.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/index.cjs.gz +0 -0
- package/dist/index.d.ts +25 -25
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +13 -5
- 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 +1 -1
- package/dist/styles/style.css.gz +0 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
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
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -222,27 +222,15 @@ declare module '@howdyjs/to-drag' {
|
|
|
222
222
|
|
|
223
223
|
declare module '@tiptap/core' {
|
|
224
224
|
interface Commands<ReturnType> {
|
|
225
|
-
|
|
225
|
+
fontSize: {
|
|
226
226
|
/**
|
|
227
227
|
* Set the font size attribute
|
|
228
228
|
*/
|
|
229
|
-
|
|
229
|
+
setFontSize: (size: string) => ReturnType;
|
|
230
230
|
/**
|
|
231
231
|
* Unset the font size attribute
|
|
232
232
|
*/
|
|
233
|
-
|
|
234
|
-
toggleOverline: () => ReturnType;
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
declare module '@tiptap/core' {
|
|
241
|
-
interface Commands<ReturnType> {
|
|
242
|
-
Underline: {
|
|
243
|
-
setUnderline: () => ReturnType;
|
|
244
|
-
unsetUnderline: () => ReturnType;
|
|
245
|
-
toggleUnderline: () => ReturnType;
|
|
233
|
+
unsetFontSize: () => ReturnType;
|
|
246
234
|
};
|
|
247
235
|
}
|
|
248
236
|
}
|
|
@@ -260,16 +248,16 @@ declare module "@tiptap/core" {
|
|
|
260
248
|
|
|
261
249
|
declare module '@tiptap/core' {
|
|
262
250
|
interface Commands<ReturnType> {
|
|
263
|
-
|
|
251
|
+
Overline: {
|
|
264
252
|
/**
|
|
265
253
|
* Set the font size attribute
|
|
266
254
|
*/
|
|
267
|
-
|
|
255
|
+
setOverline: () => ReturnType;
|
|
268
256
|
/**
|
|
269
257
|
* Unset the font size attribute
|
|
270
258
|
*/
|
|
271
|
-
|
|
272
|
-
|
|
259
|
+
unsetOverline: () => ReturnType;
|
|
260
|
+
toggleOverline: () => ReturnType;
|
|
273
261
|
};
|
|
274
262
|
}
|
|
275
263
|
}
|
|
@@ -277,15 +265,15 @@ declare module '@tiptap/core' {
|
|
|
277
265
|
|
|
278
266
|
declare module '@tiptap/core' {
|
|
279
267
|
interface Commands<ReturnType> {
|
|
280
|
-
|
|
268
|
+
TextDecoration: {
|
|
281
269
|
/**
|
|
282
270
|
* Set the font size attribute
|
|
283
271
|
*/
|
|
284
|
-
|
|
272
|
+
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
285
273
|
/**
|
|
286
274
|
* Unset the font size attribute
|
|
287
275
|
*/
|
|
288
|
-
|
|
276
|
+
unsetTextDecoration: () => ReturnType;
|
|
289
277
|
};
|
|
290
278
|
}
|
|
291
279
|
}
|
|
@@ -293,15 +281,27 @@ declare module '@tiptap/core' {
|
|
|
293
281
|
|
|
294
282
|
declare module '@tiptap/core' {
|
|
295
283
|
interface Commands<ReturnType> {
|
|
296
|
-
|
|
284
|
+
Strike: {
|
|
297
285
|
/**
|
|
298
286
|
* Set the font size attribute
|
|
299
287
|
*/
|
|
300
|
-
|
|
288
|
+
setStrike: () => ReturnType;
|
|
301
289
|
/**
|
|
302
290
|
* Unset the font size attribute
|
|
303
291
|
*/
|
|
304
|
-
|
|
292
|
+
unsetStrike: () => ReturnType;
|
|
293
|
+
toggleStrike: () => ReturnType;
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
declare module '@tiptap/core' {
|
|
300
|
+
interface Commands<ReturnType> {
|
|
301
|
+
Underline: {
|
|
302
|
+
setUnderline: () => ReturnType;
|
|
303
|
+
unsetUnderline: () => ReturnType;
|
|
304
|
+
toggleUnderline: () => ReturnType;
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
}
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -2724,7 +2724,7 @@ declare module "mxcad" {
|
|
|
2724
2724
|
console.log(objIds);
|
|
2725
2725
|
* ```
|
|
2726
2726
|
*/
|
|
2727
|
-
getCurrentSelect(filter?: MxCADResbuf | null, returnMxCADObject?: boolean, returnMxDrawObject?: boolean, whenEmptyReturnPrvSelect?: boolean, isFilterLockLayer?: boolean): McObjectId[];
|
|
2727
|
+
getCurrentSelect(filter?: MxCADResbuf | null | Object, returnMxCADObject?: boolean, returnMxDrawObject?: boolean, whenEmptyReturnPrvSelect?: boolean, isFilterLockLayer?: boolean): McObjectId[];
|
|
2728
2728
|
/** 用户选择
|
|
2729
2729
|
* @param strPrompt 字符串提示
|
|
2730
2730
|
* @param filter 过滤对象
|
|
@@ -2738,7 +2738,7 @@ declare module "mxcad" {
|
|
|
2738
2738
|
console.log(aryId);
|
|
2739
2739
|
* ```
|
|
2740
2740
|
* */
|
|
2741
|
-
userSelect(strPrompt?: string, filter?: MxCADResbuf | null, init?: (ss: MxCADSelectionSet, getPoint: MrxDbgUiPrPoint) => any, isRetCurrentSelect?: boolean, isFilterLockLayer?: boolean): Promise<McObjectId[]>;
|
|
2741
|
+
userSelect(strPrompt?: string | Object, filter?: MxCADResbuf | null, init?: (ss: MxCADSelectionSet, getPoint: MrxDbgUiPrPoint) => any, isRetCurrentSelect?: boolean, isFilterLockLayer?: boolean): Promise<McObjectId[]>;
|
|
2742
2742
|
/**
|
|
2743
2743
|
* 初始化
|
|
2744
2744
|
* @example
|
|
@@ -3108,7 +3108,7 @@ declare module "mxcad" {
|
|
|
3108
3108
|
console.log(ids);
|
|
3109
3109
|
* ```
|
|
3110
3110
|
* */
|
|
3111
|
-
userSelect(strPrompt?: string, filter?: MxCADResbuf | null, init?: (getPoint: MrxDbgUiPrPoint) => any): Promise<boolean>;
|
|
3111
|
+
userSelect(strPrompt?: string | Object, filter?: MxCADResbuf | null, init?: (getPoint: MrxDbgUiPrPoint) => any): Promise<boolean>;
|
|
3112
3112
|
fenceSelect(strPrompt?: string, filter?: MxCADResbuf | null, init?: (getPoint: MrxDbgUiPrPoint) => any): Promise<boolean>;
|
|
3113
3113
|
}
|
|
3114
3114
|
/** MxCADUiPrBase 作为 MxCADUiPr* 系列的基类,提供了一些基础的功能。 */
|
|
@@ -11657,8 +11657,10 @@ declare module "mxcad" {
|
|
|
11657
11657
|
/**
|
|
11658
11658
|
* 设置对象的一些属性设置
|
|
11659
11659
|
* @param val 属性设置内容.
|
|
11660
|
-
* 1. DisplayPrecision 显示精度设置,默认为0,可以取0 ~1000,1000为最高精度了
|
|
11661
|
-
* 2. EnableUndo 启用undo功能,默认是没有启动的
|
|
11660
|
+
* 1. DisplayPrecision:number 显示精度设置,默认为0,可以取0 ~1000,1000为最高精度了
|
|
11661
|
+
* 2. EnableUndo:boolean 启用undo功能,默认是没有启动的
|
|
11662
|
+
* 3. ShowCoordinate:boolean 是否显示XY坐标轴
|
|
11663
|
+
* 4. BlackWhiteDisplay:boolean 是否黑白显示
|
|
11662
11664
|
* @example
|
|
11663
11665
|
* ```ts
|
|
11664
11666
|
* 启用undo
|
|
@@ -11949,6 +11951,12 @@ declare module "mxcad" {
|
|
|
11949
11951
|
* ```
|
|
11950
11952
|
*/
|
|
11951
11953
|
newFile(): boolean;
|
|
11954
|
+
/**
|
|
11955
|
+
* 当回当前打开的文件的在md5码。
|
|
11956
|
+
* @example
|
|
11957
|
+
* ```
|
|
11958
|
+
*/
|
|
11959
|
+
getCurrentOpenFileMd5(): string;
|
|
11952
11960
|
/**
|
|
11953
11961
|
* 插件图块文件
|
|
11954
11962
|
* @param sFileUrl 网络文件路径 该文件为mxweb格式
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/mxdraw.d.ts
CHANGED
|
@@ -1799,7 +1799,7 @@ declare module "mxdraw" {
|
|
|
1799
1799
|
EnableIntelliSelect?: boolean;
|
|
1800
1800
|
/** 启动O 捕捉功能 */
|
|
1801
1801
|
EnableOsnapFunction?: boolean;
|
|
1802
|
-
/** 启动夹点编辑,true,1表示启用,0,fase表示禁用,2
|
|
1802
|
+
/** 启动夹点编辑,true,1表示启用,0,fase表示禁用,2表示只显示夹点,但不响应夹点编辑. */
|
|
1803
1803
|
EnableGripEdit?: boolean | number;
|
|
1804
1804
|
/** 启动多选,框选功能,默认值是false */
|
|
1805
1805
|
multipleSelect?: boolean;
|
package/dist/styles/style.css.gz
CHANGED
|
Binary file
|