mxcad-app 1.0.27 → 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
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -222,26 +222,16 @@ declare module '@howdyjs/to-drag' {
222
222
 
223
223
  declare module '@tiptap/core' {
224
224
  interface Commands<ReturnType> {
225
- Underline: {
226
- setUnderline: () => ReturnType;
227
- unsetUnderline: () => ReturnType;
228
- toggleUnderline: () => ReturnType;
229
- };
230
- }
231
- }
232
-
233
-
234
- declare module '@tiptap/core' {
235
- interface Commands<ReturnType> {
236
- fontSize: {
225
+ Overline: {
237
226
  /**
238
227
  * Set the font size attribute
239
228
  */
240
- setFontSize: (size: string) => ReturnType;
229
+ setOverline: () => ReturnType;
241
230
  /**
242
231
  * Unset the font size attribute
243
232
  */
244
- unsetFontSize: () => ReturnType;
233
+ unsetOverline: () => ReturnType;
234
+ toggleOverline: () => ReturnType;
245
235
  };
246
236
  }
247
237
  }
@@ -249,16 +239,15 @@ declare module '@tiptap/core' {
249
239
 
250
240
  declare module '@tiptap/core' {
251
241
  interface Commands<ReturnType> {
252
- Strike: {
242
+ fontSize: {
253
243
  /**
254
244
  * Set the font size attribute
255
245
  */
256
- setStrike: () => ReturnType;
246
+ setFontSize: (size: string) => ReturnType;
257
247
  /**
258
248
  * Unset the font size attribute
259
249
  */
260
- unsetStrike: () => ReturnType;
261
- toggleStrike: () => ReturnType;
250
+ unsetFontSize: () => ReturnType;
262
251
  };
263
252
  }
264
253
  }
@@ -292,16 +281,27 @@ declare module '@tiptap/core' {
292
281
 
293
282
  declare module '@tiptap/core' {
294
283
  interface Commands<ReturnType> {
295
- Overline: {
284
+ Strike: {
296
285
  /**
297
286
  * Set the font size attribute
298
287
  */
299
- setOverline: () => ReturnType;
288
+ setStrike: () => ReturnType;
300
289
  /**
301
290
  * Unset the font size attribute
302
291
  */
303
- unsetOverline: () => ReturnType;
304
- toggleOverline: () => ReturnType;
292
+ unsetStrike: () => ReturnType;
293
+ toggleStrike: () => 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
305
  };
306
306
  }
307
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 过滤对象
@@ -6872,7 +6872,7 @@ declare module "mxcad" {
6872
6872
  * dim.recomputeDimBlock()
6873
6873
  * ```
6874
6874
  */
6875
- recomputeDimBlock(): void;
6875
+ recomputeDimBlock(forceUpdate?: boolean, onlyCloneDimBlockRecord?: boolean): void;
6876
6876
  /**
6877
6877
  * 获取标注变量整数值
6878
6878
  * @param iType 标注变量类型
@@ -10199,7 +10199,7 @@ declare module "mxcad" {
10199
10199
  * ```ts
10200
10200
  * ```
10201
10201
  */
10202
- saveAs(sFilePath: string): boolean;
10202
+ saveAs(sFilePath: string, sJsonParam?: string): boolean;
10203
10203
  /**
10204
10204
  * 获取层表
10205
10205
  * @example
@@ -11473,6 +11473,13 @@ declare module "mxcad" {
11473
11473
  * ```
11474
11474
  */
11475
11475
  worldDrawMcDbEntitys(ent: McDbEntity): boolean;
11476
+ /**
11477
+ * 禁用McDbEntitys临时绘制的OpenGL的DepthTest
11478
+ * @example
11479
+ * ```ts
11480
+ * ```
11481
+ */
11482
+ disableDepthTestMcDbEntitysDisplay(isDisable?: boolean): void;
11476
11483
  /**
11477
11484
  * 添加临时绘制线条数据
11478
11485
  * @example
@@ -14242,6 +14249,8 @@ declare module "mxcad" {
14242
14249
  widthFactor?: number;
14243
14250
  /** 文本位置: 'superscript' - 上标, 'subscript' - 下标,undefined - 正常 */
14244
14251
  textPosition?: "superscript" | "subscript";
14252
+ /** 垂直对齐方式: 'top' - 顶部对齐, 'bottom' - 底部对齐, 'middle' - 中间对齐 */
14253
+ verticalAlign?: "top" | "bottom" | "middle";
14245
14254
  }
14246
14255
  export type CustomText = MarksStyleText;
14247
14256
  export interface BaseElement {