mxcad-app 1.0.41 → 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/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 +21 -21
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +4 -2
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.wasm.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_minst.wasm.gz +0 -0
- package/package.json +1 -1
|
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
|
@@ -220,17 +220,6 @@ declare module '@howdyjs/to-drag' {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
declare module '@tiptap/core' {
|
|
224
|
-
interface Commands<ReturnType> {
|
|
225
|
-
Underline: {
|
|
226
|
-
setUnderline: () => ReturnType;
|
|
227
|
-
unsetUnderline: () => ReturnType;
|
|
228
|
-
toggleUnderline: () => ReturnType;
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
223
|
declare module '@tiptap/core' {
|
|
235
224
|
interface Commands<ReturnType> {
|
|
236
225
|
fontSize: {
|
|
@@ -247,6 +236,16 @@ declare module '@tiptap/core' {
|
|
|
247
236
|
}
|
|
248
237
|
|
|
249
238
|
|
|
239
|
+
declare module "@tiptap/core" {
|
|
240
|
+
interface Commands<ReturnType> {
|
|
241
|
+
selectedText: {
|
|
242
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
243
|
+
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
|
|
250
249
|
declare module '@tiptap/core' {
|
|
251
250
|
interface Commands<ReturnType> {
|
|
252
251
|
Overline: {
|
|
@@ -264,16 +263,6 @@ declare module '@tiptap/core' {
|
|
|
264
263
|
}
|
|
265
264
|
|
|
266
265
|
|
|
267
|
-
declare module "@tiptap/core" {
|
|
268
|
-
interface Commands<ReturnType> {
|
|
269
|
-
selectedText: {
|
|
270
|
-
setSelectedText: (from: number, to: number) => ReturnType;
|
|
271
|
-
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
272
|
-
};
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
|
|
277
266
|
declare module '@tiptap/core' {
|
|
278
267
|
interface Commands<ReturnType> {
|
|
279
268
|
TextDecoration: {
|
|
@@ -305,3 +294,14 @@ declare module '@tiptap/core' {
|
|
|
305
294
|
};
|
|
306
295
|
}
|
|
307
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
|
@@ -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
|
|
Binary file
|
|
Binary file
|