mxcad-app 1.0.38 → 1.0.40

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
@@ -222,15 +222,16 @@ declare module '@howdyjs/to-drag' {
222
222
 
223
223
  declare module '@tiptap/core' {
224
224
  interface Commands<ReturnType> {
225
- fontSize: {
225
+ Overline: {
226
226
  /**
227
227
  * Set the font size attribute
228
228
  */
229
- setFontSize: (size: string) => ReturnType;
229
+ setOverline: () => ReturnType;
230
230
  /**
231
231
  * Unset the font size attribute
232
232
  */
233
- unsetFontSize: () => ReturnType;
233
+ unsetOverline: () => ReturnType;
234
+ toggleOverline: () => ReturnType;
234
235
  };
235
236
  }
236
237
  }
@@ -238,16 +239,10 @@ declare module '@tiptap/core' {
238
239
 
239
240
  declare module '@tiptap/core' {
240
241
  interface Commands<ReturnType> {
241
- Strike: {
242
- /**
243
- * Set the font size attribute
244
- */
245
- setStrike: () => ReturnType;
246
- /**
247
- * Unset the font size attribute
248
- */
249
- unsetStrike: () => ReturnType;
250
- toggleStrike: () => ReturnType;
242
+ Underline: {
243
+ setUnderline: () => ReturnType;
244
+ unsetUnderline: () => ReturnType;
245
+ toggleUnderline: () => ReturnType;
251
246
  };
252
247
  }
253
248
  }
@@ -265,16 +260,16 @@ declare module "@tiptap/core" {
265
260
 
266
261
  declare module '@tiptap/core' {
267
262
  interface Commands<ReturnType> {
268
- Overline: {
263
+ Strike: {
269
264
  /**
270
265
  * Set the font size attribute
271
266
  */
272
- setOverline: () => ReturnType;
267
+ setStrike: () => ReturnType;
273
268
  /**
274
269
  * Unset the font size attribute
275
270
  */
276
- unsetOverline: () => ReturnType;
277
- toggleOverline: () => ReturnType;
271
+ unsetStrike: () => ReturnType;
272
+ toggleStrike: () => ReturnType;
278
273
  };
279
274
  }
280
275
  }
@@ -282,15 +277,15 @@ declare module '@tiptap/core' {
282
277
 
283
278
  declare module '@tiptap/core' {
284
279
  interface Commands<ReturnType> {
285
- TextDecoration: {
280
+ fontSize: {
286
281
  /**
287
282
  * Set the font size attribute
288
283
  */
289
- setTextDecoration: (textDecoration: string) => ReturnType;
284
+ setFontSize: (size: string) => ReturnType;
290
285
  /**
291
286
  * Unset the font size attribute
292
287
  */
293
- unsetTextDecoration: () => ReturnType;
288
+ unsetFontSize: () => ReturnType;
294
289
  };
295
290
  }
296
291
  }
@@ -298,10 +293,15 @@ declare module '@tiptap/core' {
298
293
 
299
294
  declare module '@tiptap/core' {
300
295
  interface Commands<ReturnType> {
301
- Underline: {
302
- setUnderline: () => ReturnType;
303
- unsetUnderline: () => ReturnType;
304
- toggleUnderline: () => ReturnType;
296
+ TextDecoration: {
297
+ /**
298
+ * Set the font size attribute
299
+ */
300
+ setTextDecoration: (textDecoration: string) => ReturnType;
301
+ /**
302
+ * Unset the font size attribute
303
+ */
304
+ unsetTextDecoration: () => ReturnType;
305
305
  };
306
306
  }
307
307
  }
Binary file
package/dist/mxcad.d.ts CHANGED
@@ -12305,6 +12305,13 @@ declare module "mxcad" {
12305
12305
  * ```
12306
12306
  */
12307
12307
  deleteLayout(sName: string): boolean;
12308
+ /**
12309
+ * 布局改名
12310
+ * @example
12311
+ * ```ts
12312
+ * ```
12313
+ */
12314
+ layoutRename(sName: string, sToName: string): boolean;
12308
12315
  /**
12309
12316
  * 绘制直线
12310
12317
  * @param dX1 起点 X 坐标
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxcad-app",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",