mxcad-app 1.0.22 → 1.0.23
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/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 +20 -20
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +9 -2
- 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/package.json +1 -1
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
|
@@ -236,11 +236,12 @@ declare module '@tiptap/core' {
|
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
|
|
239
|
-
declare module
|
|
239
|
+
declare module '@tiptap/core' {
|
|
240
240
|
interface Commands<ReturnType> {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
241
|
+
Underline: {
|
|
242
|
+
setUnderline: () => ReturnType;
|
|
243
|
+
unsetUnderline: () => ReturnType;
|
|
244
|
+
toggleUnderline: () => ReturnType;
|
|
244
245
|
};
|
|
245
246
|
}
|
|
246
247
|
}
|
|
@@ -248,16 +249,16 @@ declare module "@tiptap/core" {
|
|
|
248
249
|
|
|
249
250
|
declare module '@tiptap/core' {
|
|
250
251
|
interface Commands<ReturnType> {
|
|
251
|
-
|
|
252
|
+
Overline: {
|
|
252
253
|
/**
|
|
253
254
|
* Set the font size attribute
|
|
254
255
|
*/
|
|
255
|
-
|
|
256
|
+
setOverline: () => ReturnType;
|
|
256
257
|
/**
|
|
257
258
|
* Unset the font size attribute
|
|
258
259
|
*/
|
|
259
|
-
|
|
260
|
-
|
|
260
|
+
unsetOverline: () => ReturnType;
|
|
261
|
+
toggleOverline: () => ReturnType;
|
|
261
262
|
};
|
|
262
263
|
}
|
|
263
264
|
}
|
|
@@ -265,16 +266,15 @@ declare module '@tiptap/core' {
|
|
|
265
266
|
|
|
266
267
|
declare module '@tiptap/core' {
|
|
267
268
|
interface Commands<ReturnType> {
|
|
268
|
-
|
|
269
|
+
fontSize: {
|
|
269
270
|
/**
|
|
270
271
|
* Set the font size attribute
|
|
271
272
|
*/
|
|
272
|
-
|
|
273
|
+
setFontSize: (size: string) => ReturnType;
|
|
273
274
|
/**
|
|
274
275
|
* Unset the font size attribute
|
|
275
276
|
*/
|
|
276
|
-
|
|
277
|
-
toggleOverline: () => ReturnType;
|
|
277
|
+
unsetFontSize: () => ReturnType;
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
280
|
}
|
|
@@ -282,26 +282,26 @@ declare module '@tiptap/core' {
|
|
|
282
282
|
|
|
283
283
|
declare module '@tiptap/core' {
|
|
284
284
|
interface Commands<ReturnType> {
|
|
285
|
-
|
|
285
|
+
Strike: {
|
|
286
286
|
/**
|
|
287
287
|
* Set the font size attribute
|
|
288
288
|
*/
|
|
289
|
-
|
|
289
|
+
setStrike: () => ReturnType;
|
|
290
290
|
/**
|
|
291
291
|
* Unset the font size attribute
|
|
292
292
|
*/
|
|
293
|
-
|
|
293
|
+
unsetStrike: () => ReturnType;
|
|
294
|
+
toggleStrike: () => ReturnType;
|
|
294
295
|
};
|
|
295
296
|
}
|
|
296
297
|
}
|
|
297
298
|
|
|
298
299
|
|
|
299
|
-
declare module
|
|
300
|
+
declare module "@tiptap/core" {
|
|
300
301
|
interface Commands<ReturnType> {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
toggleUnderline: () => ReturnType;
|
|
302
|
+
selectedText: {
|
|
303
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
304
|
+
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
}
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -13474,13 +13474,20 @@ declare module "mxcad" {
|
|
|
13474
13474
|
constructor();
|
|
13475
13475
|
private getTypeString;
|
|
13476
13476
|
/**
|
|
13477
|
-
* 把当前控件显示的内容和
|
|
13477
|
+
* 把当前控件显示的内容和base_database的图纸进行比较,base_database可认为是原始图纸,当前控件上新绘制的对象就是新增对象。
|
|
13478
13478
|
*/
|
|
13479
|
-
do(
|
|
13479
|
+
do(base_database: McDbDatabase): boolean;
|
|
13480
13480
|
/**
|
|
13481
13481
|
* 得到图纸比较结果
|
|
13482
13482
|
*/
|
|
13483
13483
|
getResult(): any[];
|
|
13484
|
+
/**
|
|
13485
|
+
* 通过当前的比较结果,重新生成显示。用不同颜色标注修改地方。
|
|
13486
|
+
* 把修改的对象,用粉色显示
|
|
13487
|
+
* 增加的对象,用绿色显示
|
|
13488
|
+
* 删除的对象,用红色显示
|
|
13489
|
+
*/
|
|
13490
|
+
regenDisplay(): boolean;
|
|
13484
13491
|
}
|
|
13485
13492
|
/**
|
|
13486
13493
|
* MxModifyColor 批量修改图上对象颜色
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|