mxcad-app 1.0.39 → 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,16 +222,16 @@ declare module '@howdyjs/to-drag' {
222
222
 
223
223
  declare module '@tiptap/core' {
224
224
  interface Commands<ReturnType> {
225
- Strike: {
225
+ Overline: {
226
226
  /**
227
227
  * Set the font size attribute
228
228
  */
229
- setStrike: () => ReturnType;
229
+ setOverline: () => ReturnType;
230
230
  /**
231
231
  * Unset the font size attribute
232
232
  */
233
- unsetStrike: () => ReturnType;
234
- toggleStrike: () => ReturnType;
233
+ unsetOverline: () => ReturnType;
234
+ toggleOverline: () => ReturnType;
235
235
  };
236
236
  }
237
237
  }
@@ -239,16 +239,37 @@ declare module '@tiptap/core' {
239
239
 
240
240
  declare module '@tiptap/core' {
241
241
  interface Commands<ReturnType> {
242
- Overline: {
242
+ Underline: {
243
+ setUnderline: () => ReturnType;
244
+ unsetUnderline: () => ReturnType;
245
+ toggleUnderline: () => ReturnType;
246
+ };
247
+ }
248
+ }
249
+
250
+
251
+ declare module "@tiptap/core" {
252
+ interface Commands<ReturnType> {
253
+ selectedText: {
254
+ setSelectedText: (from: number, to: number) => ReturnType;
255
+ unsetSelectedText: (from: number, to: number) => ReturnType;
256
+ };
257
+ }
258
+ }
259
+
260
+
261
+ declare module '@tiptap/core' {
262
+ interface Commands<ReturnType> {
263
+ Strike: {
243
264
  /**
244
265
  * Set the font size attribute
245
266
  */
246
- setOverline: () => ReturnType;
267
+ setStrike: () => ReturnType;
247
268
  /**
248
269
  * Unset the font size attribute
249
270
  */
250
- unsetOverline: () => ReturnType;
251
- toggleOverline: () => ReturnType;
271
+ unsetStrike: () => ReturnType;
272
+ toggleStrike: () => ReturnType;
252
273
  };
253
274
  }
254
275
  }
@@ -284,24 +305,3 @@ declare module '@tiptap/core' {
284
305
  };
285
306
  }
286
307
  }
287
-
288
-
289
- declare module "@tiptap/core" {
290
- interface Commands<ReturnType> {
291
- selectedText: {
292
- setSelectedText: (from: number, to: number) => ReturnType;
293
- unsetSelectedText: (from: number, to: number) => ReturnType;
294
- };
295
- }
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
- }
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.39",
3
+ "version": "1.0.40",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",