mxcad-app 1.0.53 → 1.0.54

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.
Files changed (70) hide show
  1. package/dist/chunks/@howdyjs/mouse-menu.js.gz +0 -0
  2. package/dist/chunks/@tiptap/vue-3.js.gz +0 -0
  3. package/dist/chunks/@voerkai18n/vue.js.gz +0 -0
  4. package/dist/chunks/@vueuse/core.js.gz +0 -0
  5. package/dist/chunks/es.regexp.constructor.js.gz +0 -0
  6. package/dist/chunks/hooks.js +1 -1
  7. package/dist/chunks/hooks2.js.gz +0 -0
  8. package/dist/chunks/hooks3.js +1 -1
  9. package/dist/chunks/index.js.gz +0 -0
  10. package/dist/chunks/index10.js.gz +0 -0
  11. package/dist/chunks/index11.js.gz +0 -0
  12. package/dist/chunks/index12.js.gz +0 -0
  13. package/dist/chunks/index13.js.gz +0 -0
  14. package/dist/chunks/index14.js.gz +0 -0
  15. package/dist/chunks/index15.js.gz +0 -0
  16. package/dist/chunks/index16.js.gz +0 -0
  17. package/dist/chunks/index17.js.gz +0 -0
  18. package/dist/chunks/index18.js.gz +0 -0
  19. package/dist/chunks/index19.js.gz +0 -0
  20. package/dist/chunks/index2.js.gz +0 -0
  21. package/dist/chunks/index20.js.gz +0 -0
  22. package/dist/chunks/index21.js.gz +0 -0
  23. package/dist/chunks/index22.js.gz +0 -0
  24. package/dist/chunks/index23.js.gz +0 -0
  25. package/dist/chunks/index24.js.gz +0 -0
  26. package/dist/chunks/index25.js.gz +0 -0
  27. package/dist/chunks/index26.js.gz +0 -0
  28. package/dist/chunks/index27.js.gz +0 -0
  29. package/dist/chunks/index28.js.gz +0 -0
  30. package/dist/chunks/index29.js.gz +0 -0
  31. package/dist/chunks/index3.js.gz +0 -0
  32. package/dist/chunks/index30.js.gz +0 -0
  33. package/dist/chunks/index31.js.gz +0 -0
  34. package/dist/chunks/index32.js.gz +0 -0
  35. package/dist/chunks/index33.js.gz +0 -0
  36. package/dist/chunks/index34.js.gz +0 -0
  37. package/dist/chunks/index35.js.gz +0 -0
  38. package/dist/chunks/index36.js.gz +0 -0
  39. package/dist/chunks/index37.js.gz +0 -0
  40. package/dist/chunks/index38.js.gz +0 -0
  41. package/dist/chunks/index39.js.gz +0 -0
  42. package/dist/chunks/index4.js.gz +0 -0
  43. package/dist/chunks/index40.js.gz +0 -0
  44. package/dist/chunks/index41.js.gz +0 -0
  45. package/dist/chunks/index45.js.gz +0 -0
  46. package/dist/chunks/index5.js.gz +0 -0
  47. package/dist/chunks/index6.js.gz +0 -0
  48. package/dist/chunks/index7.js.gz +0 -0
  49. package/dist/chunks/index8.js.gz +0 -0
  50. package/dist/chunks/index9.js.gz +0 -0
  51. package/dist/chunks/lib.js.gz +0 -0
  52. package/dist/chunks/mxcad.js.gz +0 -0
  53. package/dist/chunks/mxdraw.js.gz +0 -0
  54. package/dist/chunks/pinia.js.gz +0 -0
  55. package/dist/chunks/useMultilineTextDialog.js +1 -1
  56. package/dist/chunks/vue-draggable-plus.js.gz +0 -0
  57. package/dist/chunks/vue.js.gz +0 -0
  58. package/dist/chunks/vuetify.js.gz +0 -0
  59. package/dist/index.cjs.gz +0 -0
  60. package/dist/index.d.ts +23 -23
  61. package/dist/index.umd.js.gz +0 -0
  62. package/dist/mxcad.d.ts +5 -4
  63. package/dist/mxcadAppAssets/mxServerConfig.json.gz +0 -0
  64. package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.js.gz +0 -0
  65. package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.wasm.gz +0 -0
  66. package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_min.js.gz +0 -0
  67. package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_minst.wasm.gz +0 -0
  68. package/dist/styles/style.css.gz +0 -0
  69. package/packToolPlugin/shared/types/mxServerConfig.d.ts +9 -0
  70. package/package.json +1 -1
Binary file
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { bV as e } from "./lib.js";
1
+ import { bA as e } from "./lib.js";
2
2
  var i = function() {
3
3
  return {
4
4
  dialog: e
Binary file
@@ -1,4 +1,4 @@
1
- import { bW as e } from "./lib.js";
1
+ import { bB as e } from "./lib.js";
2
2
  var r = function() {
3
3
  return {
4
4
  dialog: e
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { bU as n, _ as c, j as t } from "./lib.js";
1
+ import { bx as n, _ as c, j as t } from "./lib.js";
2
2
  var l = function(o) {
3
3
  return new Promise(/* @__PURE__ */ function() {
4
4
  var u = c(/* @__PURE__ */ t.mark(function r(a) {
Binary file
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -220,23 +220,6 @@ declare module '@howdyjs/to-drag' {
220
220
  }
221
221
 
222
222
 
223
- declare module '@tiptap/core' {
224
- interface Commands<ReturnType> {
225
- Overline: {
226
- /**
227
- * Set the font size attribute
228
- */
229
- setOverline: () => ReturnType;
230
- /**
231
- * Unset the font size attribute
232
- */
233
- unsetOverline: () => ReturnType;
234
- toggleOverline: () => ReturnType;
235
- };
236
- }
237
- }
238
-
239
-
240
223
  declare module '@tiptap/core' {
241
224
  interface Commands<ReturnType> {
242
225
  Underline: {
@@ -250,15 +233,15 @@ declare module '@tiptap/core' {
250
233
 
251
234
  declare module '@tiptap/core' {
252
235
  interface Commands<ReturnType> {
253
- fontSize: {
236
+ TextDecoration: {
254
237
  /**
255
238
  * Set the font size attribute
256
239
  */
257
- setFontSize: (size: string) => ReturnType;
240
+ setTextDecoration: (textDecoration: string) => ReturnType;
258
241
  /**
259
242
  * Unset the font size attribute
260
243
  */
261
- unsetFontSize: () => ReturnType;
244
+ unsetTextDecoration: () => ReturnType;
262
245
  };
263
246
  }
264
247
  }
@@ -283,15 +266,15 @@ declare module '@tiptap/core' {
283
266
 
284
267
  declare module '@tiptap/core' {
285
268
  interface Commands<ReturnType> {
286
- TextDecoration: {
269
+ fontSize: {
287
270
  /**
288
271
  * Set the font size attribute
289
272
  */
290
- setTextDecoration: (textDecoration: string) => ReturnType;
273
+ setFontSize: (size: string) => ReturnType;
291
274
  /**
292
275
  * Unset the font size attribute
293
276
  */
294
- unsetTextDecoration: () => ReturnType;
277
+ unsetFontSize: () => ReturnType;
295
278
  };
296
279
  }
297
280
  }
@@ -305,3 +288,20 @@ declare module "@tiptap/core" {
305
288
  };
306
289
  }
307
290
  }
291
+
292
+
293
+ declare module '@tiptap/core' {
294
+ interface Commands<ReturnType> {
295
+ Overline: {
296
+ /**
297
+ * Set the font size attribute
298
+ */
299
+ setOverline: () => ReturnType;
300
+ /**
301
+ * Unset the font size attribute
302
+ */
303
+ unsetOverline: () => ReturnType;
304
+ toggleOverline: () => ReturnType;
305
+ };
306
+ }
307
+ }
Binary file
package/dist/mxcad.d.ts CHANGED
@@ -12241,6 +12241,7 @@ declare module "mxcad" {
12241
12241
  * @param sFileUrl 网络文件路径
12242
12242
  * @param retCall 回调函数,可选参数,打开文件完成后的回调函数,参数为打开文件的结果,0表示成功,其他值表示失败
12243
12243
  * @param isWorkThread 是否使用工作线程打开文件,默认为 true
12244
+ * @param obj_param: 打开参数,比如传一个请求头{requestHeaders:{aaa:"xxxxx"}}
12244
12245
  * @param fetchAttributes 1:EMSCRIPTEN_FETCH_LOAD_TO_MEMORY,把图纸数据加载内存中,0:EMSCRIPTEN_FETCH_LOAD_TO_MEMORY | EMSCRIPTEN_FETCH_PERSIST_FILE | EMSCRIPTEN_FETCH_APPEND,把图纸数据加到IndexedDB。
12245
12246
  * @returns 是否成功打开文件
12246
12247
  * @example
@@ -12250,7 +12251,7 @@ declare module "mxcad" {
12250
12251
  * mxcad.openWebFile("http://localhost:1337/mxcad/file/a9cbed3d3a351b79f24484e87bd78338.DWG.mxweb");
12251
12252
  * ```
12252
12253
  */
12253
- openWebFile(sFileUrl: string, retCall?: (iRet: number) => void, isWorkThread?: boolean, initialParameter?: object, fetchAttributes?: number, isFetchTzFile?: boolean): boolean;
12254
+ openWebFile(sFileUrl: string, retCall?: (iRet: number) => void, isWorkThread?: boolean, obj_param?: object, fetchAttributes?: number, isFetchTzFile?: boolean): boolean;
12254
12255
  /**
12255
12256
  * 清空当前图上内容,新建一个文件
12256
12257
  * @example
@@ -14229,15 +14230,15 @@ declare module "mxcad" {
14229
14230
  /**
14230
14231
  *创建协同工作
14231
14232
  */
14232
- createWrok(retCall?: (iRet: number, workName: string) => void): number;
14233
+ createWrok(retCall?: (wrokId: number) => void): number;
14233
14234
  /**
14234
14235
  *得到当前正在协同的工作名列表
14235
14236
  */
14236
- getWorks(retCall: (workNames: string[]) => void): number;
14237
+ getWorks(retCall: (workNames: number[]) => void): number;
14237
14238
  /**
14238
14239
  *创建协同工作
14239
14240
  */
14240
- joinWork(wrokName: string, retCall?: (iRet: number) => void): number;
14241
+ joinWork(workId: number, retCall?: (iRet: number) => void): number;
14241
14242
  /**
14242
14243
  *初始化参数
14243
14244
  *比如:{server_addres:"http://localhost:3091"}
Binary file
@@ -55,6 +55,14 @@ export interface MxServerConfigUploadFileConfig {
55
55
  [k: string]: any;
56
56
  }
57
57
 
58
+ export interface MxServerConfigCooperateConfig {
59
+ /**
60
+ * 协同服务地址
61
+ */
62
+ url: string;
63
+ [k: string]: any;
64
+ }
65
+
58
66
  export interface MxServerConfigAiConfig {
59
67
  /**
60
68
  * ai服务地址
@@ -88,6 +96,7 @@ export interface MxServerConfig {
88
96
  * 上传文件相关配置
89
97
  */
90
98
  uploadFileConfig: MxServerConfigUploadFileConfig;
99
+ cooperateConfig: MxServerConfigCooperateConfig;
91
100
  aiConfig: MxServerConfigAiConfig;
92
101
  /**
93
102
  * 在本项目中使用了mxcad库中提供的WebAssembly wasm文件和相关胶水代码的相关配置
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxcad-app",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",