mxcad-app 1.0.23 → 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.
Binary file
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -220,17 +220,11 @@ declare module '@howdyjs/to-drag' {
220
220
  }
221
221
 
222
222
 
223
- declare module '@tiptap/core' {
223
+ declare module "@tiptap/core" {
224
224
  interface Commands<ReturnType> {
225
- TextDecoration: {
226
- /**
227
- * Set the font size attribute
228
- */
229
- setTextDecoration: (textDecoration: string) => ReturnType;
230
- /**
231
- * Unset the font size attribute
232
- */
233
- unsetTextDecoration: () => ReturnType;
225
+ selectedText: {
226
+ setSelectedText: (from: number, to: number) => ReturnType;
227
+ unsetSelectedText: (from: number, to: number) => ReturnType;
234
228
  };
235
229
  }
236
230
  }
@@ -249,16 +243,15 @@ declare module '@tiptap/core' {
249
243
 
250
244
  declare module '@tiptap/core' {
251
245
  interface Commands<ReturnType> {
252
- Overline: {
246
+ fontSize: {
253
247
  /**
254
248
  * Set the font size attribute
255
249
  */
256
- setOverline: () => ReturnType;
250
+ setFontSize: (size: string) => ReturnType;
257
251
  /**
258
252
  * Unset the font size attribute
259
253
  */
260
- unsetOverline: () => ReturnType;
261
- toggleOverline: () => ReturnType;
254
+ unsetFontSize: () => ReturnType;
262
255
  };
263
256
  }
264
257
  }
@@ -266,15 +259,15 @@ declare module '@tiptap/core' {
266
259
 
267
260
  declare module '@tiptap/core' {
268
261
  interface Commands<ReturnType> {
269
- fontSize: {
262
+ TextDecoration: {
270
263
  /**
271
264
  * Set the font size attribute
272
265
  */
273
- setFontSize: (size: string) => ReturnType;
266
+ setTextDecoration: (textDecoration: string) => ReturnType;
274
267
  /**
275
268
  * Unset the font size attribute
276
269
  */
277
- unsetFontSize: () => ReturnType;
270
+ unsetTextDecoration: () => ReturnType;
278
271
  };
279
272
  }
280
273
  }
@@ -282,26 +275,33 @@ declare module '@tiptap/core' {
282
275
 
283
276
  declare module '@tiptap/core' {
284
277
  interface Commands<ReturnType> {
285
- Strike: {
278
+ Overline: {
286
279
  /**
287
280
  * Set the font size attribute
288
281
  */
289
- setStrike: () => ReturnType;
282
+ setOverline: () => ReturnType;
290
283
  /**
291
284
  * Unset the font size attribute
292
285
  */
293
- unsetStrike: () => ReturnType;
294
- toggleStrike: () => ReturnType;
286
+ unsetOverline: () => ReturnType;
287
+ toggleOverline: () => ReturnType;
295
288
  };
296
289
  }
297
290
  }
298
291
 
299
292
 
300
- declare module "@tiptap/core" {
293
+ declare module '@tiptap/core' {
301
294
  interface Commands<ReturnType> {
302
- selectedText: {
303
- setSelectedText: (from: number, to: number) => ReturnType;
304
- unsetSelectedText: (from: number, to: number) => ReturnType;
295
+ Strike: {
296
+ /**
297
+ * Set the font size attribute
298
+ */
299
+ setStrike: () => ReturnType;
300
+ /**
301
+ * Unset the font size attribute
302
+ */
303
+ unsetStrike: () => ReturnType;
304
+ toggleStrike: () => ReturnType;
305
305
  };
306
306
  }
307
307
  }
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 批量修改图上对象颜色