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.
- package/dist/chunks/@howdyjs/mouse-menu.js.gz +0 -0
- package/dist/chunks/@tiptap/vue-3.js.gz +0 -0
- package/dist/chunks/@voerkai18n/vue.js.gz +0 -0
- package/dist/chunks/@vueuse/core.js.gz +0 -0
- package/dist/chunks/es.regexp.constructor.js.gz +0 -0
- package/dist/chunks/hooks.js +1 -1
- package/dist/chunks/hooks2.js.gz +0 -0
- package/dist/chunks/hooks3.js +1 -1
- package/dist/chunks/index.js.gz +0 -0
- package/dist/chunks/index10.js.gz +0 -0
- package/dist/chunks/index11.js.gz +0 -0
- package/dist/chunks/index12.js.gz +0 -0
- package/dist/chunks/index13.js.gz +0 -0
- package/dist/chunks/index14.js.gz +0 -0
- package/dist/chunks/index15.js.gz +0 -0
- package/dist/chunks/index16.js.gz +0 -0
- package/dist/chunks/index17.js.gz +0 -0
- package/dist/chunks/index18.js.gz +0 -0
- package/dist/chunks/index19.js.gz +0 -0
- package/dist/chunks/index2.js.gz +0 -0
- package/dist/chunks/index20.js.gz +0 -0
- package/dist/chunks/index21.js.gz +0 -0
- package/dist/chunks/index22.js.gz +0 -0
- package/dist/chunks/index23.js.gz +0 -0
- package/dist/chunks/index24.js.gz +0 -0
- package/dist/chunks/index25.js.gz +0 -0
- package/dist/chunks/index26.js.gz +0 -0
- package/dist/chunks/index27.js.gz +0 -0
- package/dist/chunks/index28.js.gz +0 -0
- package/dist/chunks/index29.js.gz +0 -0
- package/dist/chunks/index3.js.gz +0 -0
- package/dist/chunks/index30.js.gz +0 -0
- package/dist/chunks/index31.js.gz +0 -0
- package/dist/chunks/index32.js.gz +0 -0
- package/dist/chunks/index33.js.gz +0 -0
- package/dist/chunks/index34.js.gz +0 -0
- package/dist/chunks/index35.js.gz +0 -0
- package/dist/chunks/index36.js.gz +0 -0
- package/dist/chunks/index37.js.gz +0 -0
- package/dist/chunks/index38.js.gz +0 -0
- package/dist/chunks/index39.js.gz +0 -0
- package/dist/chunks/index4.js.gz +0 -0
- package/dist/chunks/index40.js.gz +0 -0
- package/dist/chunks/index41.js.gz +0 -0
- package/dist/chunks/index45.js.gz +0 -0
- package/dist/chunks/index5.js.gz +0 -0
- package/dist/chunks/index6.js.gz +0 -0
- package/dist/chunks/index7.js.gz +0 -0
- package/dist/chunks/index8.js.gz +0 -0
- package/dist/chunks/index9.js.gz +0 -0
- package/dist/chunks/lib.js.gz +0 -0
- package/dist/chunks/mxcad.js.gz +0 -0
- package/dist/chunks/mxdraw.js.gz +0 -0
- package/dist/chunks/pinia.js.gz +0 -0
- package/dist/chunks/useMultilineTextDialog.js +1 -1
- package/dist/chunks/vue-draggable-plus.js.gz +0 -0
- package/dist/chunks/vue.js.gz +0 -0
- package/dist/chunks/vuetify.js.gz +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +23 -23
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +5 -4
- package/dist/mxcadAppAssets/mxServerConfig.json.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.wasm.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_min.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_minst.wasm.gz +0 -0
- package/dist/styles/style.css.gz +0 -0
- package/packToolPlugin/shared/types/mxServerConfig.d.ts +9 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/hooks.js
CHANGED
package/dist/chunks/hooks2.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/hooks3.js
CHANGED
package/dist/chunks/index.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/index2.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/index3.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/index4.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/index5.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/index6.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/index7.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/index8.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/index9.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/lib.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxcad.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxdraw.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/pinia.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/chunks/vue.js.gz
CHANGED
|
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
|
-
|
|
236
|
+
TextDecoration: {
|
|
254
237
|
/**
|
|
255
238
|
* Set the font size attribute
|
|
256
239
|
*/
|
|
257
|
-
|
|
240
|
+
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
258
241
|
/**
|
|
259
242
|
* Unset the font size attribute
|
|
260
243
|
*/
|
|
261
|
-
|
|
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
|
-
|
|
269
|
+
fontSize: {
|
|
287
270
|
/**
|
|
288
271
|
* Set the font size attribute
|
|
289
272
|
*/
|
|
290
|
-
|
|
273
|
+
setFontSize: (size: string) => ReturnType;
|
|
291
274
|
/**
|
|
292
275
|
* Unset the font size attribute
|
|
293
276
|
*/
|
|
294
|
-
|
|
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
|
+
}
|
package/dist/index.umd.js.gz
CHANGED
|
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,
|
|
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?: (
|
|
14233
|
+
createWrok(retCall?: (wrokId: number) => void): number;
|
|
14233
14234
|
/**
|
|
14234
14235
|
*得到当前正在协同的工作名列表
|
|
14235
14236
|
*/
|
|
14236
|
-
getWorks(retCall: (workNames:
|
|
14237
|
+
getWorks(retCall: (workNames: number[]) => void): number;
|
|
14237
14238
|
/**
|
|
14238
14239
|
*创建协同工作
|
|
14239
14240
|
*/
|
|
14240
|
-
joinWork(
|
|
14241
|
+
joinWork(workId: number, retCall?: (iRet: number) => void): number;
|
|
14241
14242
|
/**
|
|
14242
14243
|
*初始化参数
|
|
14243
14244
|
*比如:{server_addres:"http://localhost:3091"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/styles/style.css.gz
CHANGED
|
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文件和相关胶水代码的相关配置
|