mxcad-app 1.0.27 → 1.0.28

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
@@ -220,17 +220,6 @@ declare module '@howdyjs/to-drag' {
220
220
  }
221
221
 
222
222
 
223
- declare module '@tiptap/core' {
224
- interface Commands<ReturnType> {
225
- Underline: {
226
- setUnderline: () => ReturnType;
227
- unsetUnderline: () => ReturnType;
228
- toggleUnderline: () => ReturnType;
229
- };
230
- }
231
- }
232
-
233
-
234
223
  declare module '@tiptap/core' {
235
224
  interface Commands<ReturnType> {
236
225
  fontSize: {
@@ -247,28 +236,39 @@ declare module '@tiptap/core' {
247
236
  }
248
237
 
249
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;
244
+ };
245
+ }
246
+ }
247
+
248
+
250
249
  declare module '@tiptap/core' {
251
250
  interface Commands<ReturnType> {
252
- Strike: {
251
+ Overline: {
253
252
  /**
254
253
  * Set the font size attribute
255
254
  */
256
- setStrike: () => ReturnType;
255
+ setOverline: () => ReturnType;
257
256
  /**
258
257
  * Unset the font size attribute
259
258
  */
260
- unsetStrike: () => ReturnType;
261
- toggleStrike: () => ReturnType;
259
+ unsetOverline: () => ReturnType;
260
+ toggleOverline: () => ReturnType;
262
261
  };
263
262
  }
264
263
  }
265
264
 
266
265
 
267
- declare module "@tiptap/core" {
266
+ declare module '@tiptap/core' {
268
267
  interface Commands<ReturnType> {
269
- selectedText: {
270
- setSelectedText: (from: number, to: number) => ReturnType;
271
- unsetSelectedText: (from: number, to: number) => ReturnType;
268
+ Underline: {
269
+ setUnderline: () => ReturnType;
270
+ unsetUnderline: () => ReturnType;
271
+ toggleUnderline: () => ReturnType;
272
272
  };
273
273
  }
274
274
  }
@@ -292,16 +292,16 @@ declare module '@tiptap/core' {
292
292
 
293
293
  declare module '@tiptap/core' {
294
294
  interface Commands<ReturnType> {
295
- Overline: {
295
+ Strike: {
296
296
  /**
297
297
  * Set the font size attribute
298
298
  */
299
- setOverline: () => ReturnType;
299
+ setStrike: () => ReturnType;
300
300
  /**
301
301
  * Unset the font size attribute
302
302
  */
303
- unsetOverline: () => ReturnType;
304
- toggleOverline: () => ReturnType;
303
+ unsetStrike: () => ReturnType;
304
+ toggleStrike: () => ReturnType;
305
305
  };
306
306
  }
307
307
  }
Binary file
package/dist/mxcad.d.ts CHANGED
@@ -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 {