mxcad-app 1.0.22 → 1.0.24
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 +27 -27
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +9 -2
- package/dist/mxcadAppAssets/plugins/pluginIdentifyPattern/index.js +70 -70
- 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
|
@@ -220,6 +220,22 @@ declare module '@howdyjs/to-drag' {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
|
|
223
|
+
declare module '@tiptap/core' {
|
|
224
|
+
interface Commands<ReturnType> {
|
|
225
|
+
fontSize: {
|
|
226
|
+
/**
|
|
227
|
+
* Set the font size attribute
|
|
228
|
+
*/
|
|
229
|
+
setFontSize: (size: string) => ReturnType;
|
|
230
|
+
/**
|
|
231
|
+
* Unset the font size attribute
|
|
232
|
+
*/
|
|
233
|
+
unsetFontSize: () => ReturnType;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
|
|
223
239
|
declare module '@tiptap/core' {
|
|
224
240
|
interface Commands<ReturnType> {
|
|
225
241
|
TextDecoration: {
|
|
@@ -246,6 +262,17 @@ declare module "@tiptap/core" {
|
|
|
246
262
|
}
|
|
247
263
|
|
|
248
264
|
|
|
265
|
+
declare module '@tiptap/core' {
|
|
266
|
+
interface Commands<ReturnType> {
|
|
267
|
+
Underline: {
|
|
268
|
+
setUnderline: () => ReturnType;
|
|
269
|
+
unsetUnderline: () => ReturnType;
|
|
270
|
+
toggleUnderline: () => ReturnType;
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
|
|
249
276
|
declare module '@tiptap/core' {
|
|
250
277
|
interface Commands<ReturnType> {
|
|
251
278
|
Strike: {
|
|
@@ -278,30 +305,3 @@ declare module '@tiptap/core' {
|
|
|
278
305
|
};
|
|
279
306
|
}
|
|
280
307
|
}
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
declare module '@tiptap/core' {
|
|
284
|
-
interface Commands<ReturnType> {
|
|
285
|
-
fontSize: {
|
|
286
|
-
/**
|
|
287
|
-
* Set the font size attribute
|
|
288
|
-
*/
|
|
289
|
-
setFontSize: (size: string) => ReturnType;
|
|
290
|
-
/**
|
|
291
|
-
* Unset the font size attribute
|
|
292
|
-
*/
|
|
293
|
-
unsetFontSize: () => 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
|
-
};
|
|
306
|
-
}
|
|
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 批量修改图上对象颜色
|