mxcad-app 1.0.28 → 1.0.29

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,25 +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;
234
- };
235
- }
236
- }
237
-
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;
233
+ unsetOverline: () => ReturnType;
234
+ toggleOverline: () => ReturnType;
244
235
  };
245
236
  }
246
237
  }
@@ -248,27 +239,25 @@ declare module "@tiptap/core" {
248
239
 
249
240
  declare module '@tiptap/core' {
250
241
  interface Commands<ReturnType> {
251
- Overline: {
242
+ fontSize: {
252
243
  /**
253
244
  * Set the font size attribute
254
245
  */
255
- setOverline: () => ReturnType;
246
+ setFontSize: (size: string) => ReturnType;
256
247
  /**
257
248
  * Unset the font size attribute
258
249
  */
259
- unsetOverline: () => ReturnType;
260
- toggleOverline: () => ReturnType;
250
+ unsetFontSize: () => ReturnType;
261
251
  };
262
252
  }
263
253
  }
264
254
 
265
255
 
266
- declare module '@tiptap/core' {
256
+ declare module "@tiptap/core" {
267
257
  interface Commands<ReturnType> {
268
- Underline: {
269
- setUnderline: () => ReturnType;
270
- unsetUnderline: () => ReturnType;
271
- toggleUnderline: () => ReturnType;
258
+ selectedText: {
259
+ setSelectedText: (from: number, to: number) => ReturnType;
260
+ unsetSelectedText: (from: number, to: number) => ReturnType;
272
261
  };
273
262
  }
274
263
  }
@@ -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
+ }
Binary file
package/dist/mxcad.d.ts CHANGED
@@ -2710,7 +2710,7 @@ declare module "mxcad" {
2710
2710
  console.log(objIds);
2711
2711
  * ```
2712
2712
  */
2713
- getCurrentSelect(filter?: MxCADResbuf | null, returnMxCADObject?: boolean, returnMxDrawObject?: boolean): McObjectId[];
2713
+ getCurrentSelect(filter?: MxCADResbuf | null, returnMxCADObject?: boolean, returnMxDrawObject?: boolean, whenEmptyReturnPrvSelect?: boolean): McObjectId[];
2714
2714
  /** 用户选择
2715
2715
  * @param strPrompt 字符串提示
2716
2716
  * @param filter 过滤对象