mxcad-app 1.0.54 → 1.0.55

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
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -222,10 +222,15 @@ 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;
225
+ TextDecoration: {
226
+ /**
227
+ * Set the font size attribute
228
+ */
229
+ setTextDecoration: (textDecoration: string) => ReturnType;
230
+ /**
231
+ * Unset the font size attribute
232
+ */
233
+ unsetTextDecoration: () => ReturnType;
229
234
  };
230
235
  }
231
236
  }
@@ -233,15 +238,16 @@ declare module '@tiptap/core' {
233
238
 
234
239
  declare module '@tiptap/core' {
235
240
  interface Commands<ReturnType> {
236
- TextDecoration: {
241
+ Overline: {
237
242
  /**
238
243
  * Set the font size attribute
239
244
  */
240
- setTextDecoration: (textDecoration: string) => ReturnType;
245
+ setOverline: () => ReturnType;
241
246
  /**
242
247
  * Unset the font size attribute
243
248
  */
244
- unsetTextDecoration: () => ReturnType;
249
+ unsetOverline: () => ReturnType;
250
+ toggleOverline: () => ReturnType;
245
251
  };
246
252
  }
247
253
  }
@@ -266,15 +272,10 @@ declare module '@tiptap/core' {
266
272
 
267
273
  declare module '@tiptap/core' {
268
274
  interface Commands<ReturnType> {
269
- fontSize: {
270
- /**
271
- * Set the font size attribute
272
- */
273
- setFontSize: (size: string) => ReturnType;
274
- /**
275
- * Unset the font size attribute
276
- */
277
- unsetFontSize: () => ReturnType;
275
+ Underline: {
276
+ setUnderline: () => ReturnType;
277
+ unsetUnderline: () => ReturnType;
278
+ toggleUnderline: () => ReturnType;
278
279
  };
279
280
  }
280
281
  }
@@ -292,16 +293,15 @@ declare module "@tiptap/core" {
292
293
 
293
294
  declare module '@tiptap/core' {
294
295
  interface Commands<ReturnType> {
295
- Overline: {
296
+ fontSize: {
296
297
  /**
297
298
  * Set the font size attribute
298
299
  */
299
- setOverline: () => ReturnType;
300
+ setFontSize: (size: string) => ReturnType;
300
301
  /**
301
302
  * Unset the font size attribute
302
303
  */
303
- unsetOverline: () => ReturnType;
304
- toggleOverline: () => ReturnType;
304
+ unsetFontSize: () => ReturnType;
305
305
  };
306
306
  }
307
307
  }
Binary file
package/dist/mxcad.d.ts CHANGED
@@ -4314,6 +4314,14 @@ declare module "mxcad" {
4314
4314
  * ```
4315
4315
  */
4316
4316
  set linetype(val: string);
4317
+ /**
4318
+ * 得到对象厚度
4319
+ */
4320
+ get thickness(): number;
4321
+ /**
4322
+ * 设置对象厚度
4323
+ */
4324
+ set thickness(val: number);
4317
4325
  /**
4318
4326
  * 得到对象线型比例
4319
4327
  */
@@ -12306,8 +12314,8 @@ declare module "mxcad" {
12306
12314
  /**
12307
12315
  * 将文件保存并转换为网络路径下载
12308
12316
  * @param sSaveProgramUrl 后端 POST请求接口, 接口具体实现: 先下载MxDraw云图开发包<https://www.mxdraw.com/download.html>并解压
12309
- * 找到MxDrawCloudServer\Bin\MxCAD\MxCADSaveFile\server.js 可以找到对应的实现接口"/mxcad/savefiledwg",
12310
- * "/mxcad/savefiledwg":保存dwg文件到服务器
12317
+ * 找到MxDrawCloudServer\Bin\MxCAD\MxCADSaveFile\server.js 可以找到对应的实现接口"/mxcad/savedwg",
12318
+ * "/mxcad/savedwg":保存dwg文件到服务器
12311
12319
  * "/mxcad/savefile":保存mxweb文件到服务器
12312
12320
  * "/mxcad/savepdf":保存pdf文件到服务器
12313
12321
  * 如果没有找到则在该项目下寻找这个接口的定义, 必须符合该接口的定义才能作为参数
@@ -12317,7 +12325,7 @@ declare module "mxcad" {
12317
12325
  * ```ts
12318
12326
  * import { MxCpp, McObject } from "mxcad"
12319
12327
  * const mxcad:McObject = MxCpp.getCurrentMxCAD()
12320
- * MxCpp.getCurrentMxCAD().saveFileToUrl("http://localhost:1337/mxcad/savefiledwg", (iResult, sserverResult) => {
12328
+ * MxCpp.getCurrentMxCAD().saveFileToUrl("http://localhost:1337/mxcad/savedwg", (iResult, sserverResult) => {
12321
12329
  * let ret = JSON.parse(sserverResult);
12322
12330
  * if (ret.ret == "ok") {
12323
12331
  * console.log(ret.file)
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxcad-app",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",