mxcad-app 1.0.24 → 1.0.25
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 +29 -29
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +2 -1
- 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
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,27 @@ declare module '@howdyjs/to-drag' {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
|
|
223
|
+
declare module "@tiptap/core" {
|
|
224
|
+
interface Commands<ReturnType> {
|
|
225
|
+
selectedText: {
|
|
226
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
227
|
+
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
declare module '@tiptap/core' {
|
|
234
|
+
interface Commands<ReturnType> {
|
|
235
|
+
Underline: {
|
|
236
|
+
setUnderline: () => ReturnType;
|
|
237
|
+
unsetUnderline: () => ReturnType;
|
|
238
|
+
toggleUnderline: () => ReturnType;
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
|
|
223
244
|
declare module '@tiptap/core' {
|
|
224
245
|
interface Commands<ReturnType> {
|
|
225
246
|
fontSize: {
|
|
@@ -252,39 +273,18 @@ declare module '@tiptap/core' {
|
|
|
252
273
|
}
|
|
253
274
|
|
|
254
275
|
|
|
255
|
-
declare module "@tiptap/core" {
|
|
256
|
-
interface Commands<ReturnType> {
|
|
257
|
-
selectedText: {
|
|
258
|
-
setSelectedText: (from: number, to: number) => ReturnType;
|
|
259
|
-
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
276
|
declare module '@tiptap/core' {
|
|
266
277
|
interface Commands<ReturnType> {
|
|
267
|
-
|
|
268
|
-
setUnderline: () => ReturnType;
|
|
269
|
-
unsetUnderline: () => ReturnType;
|
|
270
|
-
toggleUnderline: () => ReturnType;
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
declare module '@tiptap/core' {
|
|
277
|
-
interface Commands<ReturnType> {
|
|
278
|
-
Strike: {
|
|
278
|
+
Overline: {
|
|
279
279
|
/**
|
|
280
280
|
* Set the font size attribute
|
|
281
281
|
*/
|
|
282
|
-
|
|
282
|
+
setOverline: () => ReturnType;
|
|
283
283
|
/**
|
|
284
284
|
* Unset the font size attribute
|
|
285
285
|
*/
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
unsetOverline: () => ReturnType;
|
|
287
|
+
toggleOverline: () => ReturnType;
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
}
|
|
@@ -292,16 +292,16 @@ declare module '@tiptap/core' {
|
|
|
292
292
|
|
|
293
293
|
declare module '@tiptap/core' {
|
|
294
294
|
interface Commands<ReturnType> {
|
|
295
|
-
|
|
295
|
+
Strike: {
|
|
296
296
|
/**
|
|
297
297
|
* Set the font size attribute
|
|
298
298
|
*/
|
|
299
|
-
|
|
299
|
+
setStrike: () => ReturnType;
|
|
300
300
|
/**
|
|
301
301
|
* Unset the font size attribute
|
|
302
302
|
*/
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
unsetStrike: () => ReturnType;
|
|
304
|
+
toggleStrike: () => ReturnType;
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
}
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -13486,8 +13486,9 @@ declare module "mxcad" {
|
|
|
13486
13486
|
* 把修改的对象,用粉色显示
|
|
13487
13487
|
* 增加的对象,用绿色显示
|
|
13488
13488
|
* 删除的对象,用红色显示
|
|
13489
|
+
* strColor: '{"add_color":0xFF0000,"erase_color":0x00FF00,"modify_color":0x0000FF,"not_modify_color":0x505050}'
|
|
13489
13490
|
*/
|
|
13490
|
-
regenDisplay(): boolean;
|
|
13491
|
+
regenDisplay(strColor?: string): boolean;
|
|
13491
13492
|
}
|
|
13492
13493
|
/**
|
|
13493
13494
|
* MxModifyColor 批量修改图上对象颜色
|
|
Binary file
|
|
Binary file
|