mxcad-app 1.0.21 → 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 +26 -26
- 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/dist/mxdraw.d.ts +3 -1
- 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
|
@@ -222,15 +222,15 @@ declare module '@howdyjs/to-drag' {
|
|
|
222
222
|
|
|
223
223
|
declare module '@tiptap/core' {
|
|
224
224
|
interface Commands<ReturnType> {
|
|
225
|
-
|
|
225
|
+
TextDecoration: {
|
|
226
226
|
/**
|
|
227
227
|
* Set the font size attribute
|
|
228
228
|
*/
|
|
229
|
-
|
|
229
|
+
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
230
230
|
/**
|
|
231
231
|
* Unset the font size attribute
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
unsetTextDecoration: () => ReturnType;
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
}
|
|
@@ -238,15 +238,10 @@ declare module '@tiptap/core' {
|
|
|
238
238
|
|
|
239
239
|
declare module '@tiptap/core' {
|
|
240
240
|
interface Commands<ReturnType> {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
246
|
-
/**
|
|
247
|
-
* Unset the font size attribute
|
|
248
|
-
*/
|
|
249
|
-
unsetTextDecoration: () => ReturnType;
|
|
241
|
+
Underline: {
|
|
242
|
+
setUnderline: () => ReturnType;
|
|
243
|
+
unsetUnderline: () => ReturnType;
|
|
244
|
+
toggleUnderline: () => ReturnType;
|
|
250
245
|
};
|
|
251
246
|
}
|
|
252
247
|
}
|
|
@@ -271,20 +266,15 @@ declare module '@tiptap/core' {
|
|
|
271
266
|
|
|
272
267
|
declare module '@tiptap/core' {
|
|
273
268
|
interface Commands<ReturnType> {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
declare module "@tiptap/core" {
|
|
284
|
-
interface Commands<ReturnType> {
|
|
285
|
-
selectedText: {
|
|
286
|
-
setSelectedText: (from: number, to: number) => ReturnType;
|
|
287
|
-
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
269
|
+
fontSize: {
|
|
270
|
+
/**
|
|
271
|
+
* Set the font size attribute
|
|
272
|
+
*/
|
|
273
|
+
setFontSize: (size: string) => ReturnType;
|
|
274
|
+
/**
|
|
275
|
+
* Unset the font size attribute
|
|
276
|
+
*/
|
|
277
|
+
unsetFontSize: () => ReturnType;
|
|
288
278
|
};
|
|
289
279
|
}
|
|
290
280
|
}
|
|
@@ -305,3 +295,13 @@ declare module '@tiptap/core' {
|
|
|
305
295
|
};
|
|
306
296
|
}
|
|
307
297
|
}
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
declare module "@tiptap/core" {
|
|
301
|
+
interface Commands<ReturnType> {
|
|
302
|
+
selectedText: {
|
|
303
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
304
|
+
unsetSelectedText: (from: number, to: number) => 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 批量修改图上对象颜色
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/mxdraw.d.ts
CHANGED
|
@@ -176,7 +176,9 @@ declare module "mxdraw" {
|
|
|
176
176
|
MCRX_CMD_NOPRV = 4,
|
|
177
177
|
MCRX_CMD_NO_RECORD_PRVCMD = 8,
|
|
178
178
|
MCRX_CMD_NO_CLEAR_SELECT = 16,
|
|
179
|
-
MCRX_CMD_NO_CLEAR_SELECT_GRIP_POINT = 32
|
|
179
|
+
MCRX_CMD_NO_CLEAR_SELECT_GRIP_POINT = 32,
|
|
180
|
+
MCRX_JIG_CMD_END_NO_CLEAR_SELECT = 64,
|
|
181
|
+
MCRX_DISABLE_OVERWRITING = 128
|
|
180
182
|
}
|
|
181
183
|
/**
|
|
182
184
|
* 控件对象缺省的绘制顺序
|