mxcad-app 1.0.65 → 1.0.66
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/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/identificationFrame.js.gz +0 -0
- 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/index44.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/mapbox.js.gz +0 -0
- package/dist/chunks/mxcad.js.gz +0 -0
- package/dist/chunks/mxdraw.js.gz +0 -0
- package/dist/chunks/useMultilineTextDialog.js +1 -1
- package/dist/chunks/vuetify.js.gz +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +80 -32
- package/dist/index.js +4 -4
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +2 -2
- package/dist/mxcadAppAssets/vuetifyThemeConfig.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/package.json +1 -1
|
Binary file
|
package/dist/chunks/hooks.js
CHANGED
package/dist/chunks/hooks2.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/hooks3.js
CHANGED
|
Binary file
|
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
|
|
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/mapbox.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxcad.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxdraw.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,21 @@ declare interface AppConfig {
|
|
|
25
25
|
themeConfig?: string;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
declare interface CutBox {
|
|
29
|
+
imgBase64: string;
|
|
30
|
+
param: CutBoxParam;
|
|
31
|
+
exportStatus: 'ready' | 'exporting' | 'success' | 'error';
|
|
32
|
+
fileName?: string;
|
|
33
|
+
selected?: boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare interface CutBoxParam {
|
|
37
|
+
bd_pt1_x: string;
|
|
38
|
+
bd_pt1_y: string;
|
|
39
|
+
bd_pt2_x: string;
|
|
40
|
+
bd_pt2_y: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
28
43
|
/**
|
|
29
44
|
* 事件总线类
|
|
30
45
|
*/
|
|
@@ -62,6 +77,10 @@ declare class MxCADApp extends MxCADEvents {
|
|
|
62
77
|
setStaticAssetPath(url: string): void;
|
|
63
78
|
getStaticAssetPath(): string;
|
|
64
79
|
initConfig(config: AppConfig): void;
|
|
80
|
+
/** 设置打印配置和回调 */
|
|
81
|
+
initPrintConfig(config: MxCADPrintCallConfig): void;
|
|
82
|
+
/** 设置剪切图纸设置和回调 */
|
|
83
|
+
initCutConfig(config: MxCADCutCallConfig): void;
|
|
65
84
|
/** 获取mxcad-app使用的vuetify实例 */
|
|
66
85
|
getVuetify(): Promise<{
|
|
67
86
|
install: (app: App) => void;
|
|
@@ -161,6 +180,13 @@ declare namespace mxcadApp_2 {
|
|
|
161
180
|
}
|
|
162
181
|
export default mxcadApp_2;
|
|
163
182
|
|
|
183
|
+
declare type MxCADCutCallBack = (data: Blob, box: CutBox) => (void | string) | Promise<void | string>;
|
|
184
|
+
|
|
185
|
+
declare interface MxCADCutCallConfig {
|
|
186
|
+
/** 剪切图纸回调函数 */
|
|
187
|
+
callback: MxCADCutCallBack;
|
|
188
|
+
}
|
|
189
|
+
|
|
164
190
|
declare class MxCADEvents extends EventBus<MxCADEventsMap> {
|
|
165
191
|
/**
|
|
166
192
|
* 创建vue app 实例
|
|
@@ -185,6 +211,28 @@ declare interface MxCADEventsMap {
|
|
|
185
211
|
"mountedVueApp": App;
|
|
186
212
|
}
|
|
187
213
|
|
|
214
|
+
declare type MxCADPrintCallBack = (data: Blob, param: MxCADPrintParam) => (void | string) | Promise<void | string>;
|
|
215
|
+
|
|
216
|
+
declare interface MxCADPrintCallConfig {
|
|
217
|
+
/** 打印预览回调函数 */
|
|
218
|
+
callback: MxCADPrintCallBack;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
declare interface MxCADPrintParam {
|
|
222
|
+
width: string;
|
|
223
|
+
height: string;
|
|
224
|
+
roate_angle: number;
|
|
225
|
+
view_angle: number;
|
|
226
|
+
bd_pt1_x: string;
|
|
227
|
+
bd_pt1_y: string;
|
|
228
|
+
bd_pt2_x: string;
|
|
229
|
+
bd_pt2_y: string;
|
|
230
|
+
colorPolicy: 'mono' | 'default';
|
|
231
|
+
open_file_md5: string;
|
|
232
|
+
layout_name?: string;
|
|
233
|
+
create_clip_block?: boolean;
|
|
234
|
+
}
|
|
235
|
+
|
|
188
236
|
export declare class MxCADView {
|
|
189
237
|
constructor(config?: MxCADViewConfig);
|
|
190
238
|
private vueApp?;
|
|
@@ -222,18 +270,28 @@ declare module '@howdyjs/to-drag' {
|
|
|
222
270
|
}
|
|
223
271
|
|
|
224
272
|
|
|
273
|
+
declare module "@tiptap/core" {
|
|
274
|
+
interface Commands<ReturnType> {
|
|
275
|
+
selectedText: {
|
|
276
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
277
|
+
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
|
|
225
283
|
declare module '@tiptap/core' {
|
|
226
284
|
interface Commands<ReturnType> {
|
|
227
|
-
|
|
285
|
+
Overline: {
|
|
228
286
|
/**
|
|
229
287
|
* Set the font size attribute
|
|
230
288
|
*/
|
|
231
|
-
|
|
289
|
+
setOverline: () => ReturnType;
|
|
232
290
|
/**
|
|
233
291
|
* Unset the font size attribute
|
|
234
292
|
*/
|
|
235
|
-
|
|
236
|
-
|
|
293
|
+
unsetOverline: () => ReturnType;
|
|
294
|
+
toggleOverline: () => ReturnType;
|
|
237
295
|
};
|
|
238
296
|
}
|
|
239
297
|
}
|
|
@@ -241,15 +299,27 @@ declare module '@tiptap/core' {
|
|
|
241
299
|
|
|
242
300
|
declare module '@tiptap/core' {
|
|
243
301
|
interface Commands<ReturnType> {
|
|
244
|
-
|
|
302
|
+
Underline: {
|
|
303
|
+
setUnderline: () => ReturnType;
|
|
304
|
+
unsetUnderline: () => ReturnType;
|
|
305
|
+
toggleUnderline: () => ReturnType;
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
declare module '@tiptap/core' {
|
|
312
|
+
interface Commands<ReturnType> {
|
|
313
|
+
Strike: {
|
|
245
314
|
/**
|
|
246
315
|
* Set the font size attribute
|
|
247
316
|
*/
|
|
248
|
-
|
|
317
|
+
setStrike: () => ReturnType;
|
|
249
318
|
/**
|
|
250
319
|
* Unset the font size attribute
|
|
251
320
|
*/
|
|
252
|
-
|
|
321
|
+
unsetStrike: () => ReturnType;
|
|
322
|
+
toggleStrike: () => ReturnType;
|
|
253
323
|
};
|
|
254
324
|
}
|
|
255
325
|
}
|
|
@@ -271,39 +341,17 @@ declare module '@tiptap/core' {
|
|
|
271
341
|
}
|
|
272
342
|
|
|
273
343
|
|
|
274
|
-
declare module "@tiptap/core" {
|
|
275
|
-
interface Commands<ReturnType> {
|
|
276
|
-
selectedText: {
|
|
277
|
-
setSelectedText: (from: number, to: number) => ReturnType;
|
|
278
|
-
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
284
344
|
declare module '@tiptap/core' {
|
|
285
345
|
interface Commands<ReturnType> {
|
|
286
|
-
|
|
287
|
-
setUnderline: () => ReturnType;
|
|
288
|
-
unsetUnderline: () => ReturnType;
|
|
289
|
-
toggleUnderline: () => ReturnType;
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
declare module '@tiptap/core' {
|
|
296
|
-
interface Commands<ReturnType> {
|
|
297
|
-
Overline: {
|
|
346
|
+
fontSize: {
|
|
298
347
|
/**
|
|
299
348
|
* Set the font size attribute
|
|
300
349
|
*/
|
|
301
|
-
|
|
350
|
+
setFontSize: (size: string) => ReturnType;
|
|
302
351
|
/**
|
|
303
352
|
* Unset the font size attribute
|
|
304
353
|
*/
|
|
305
|
-
|
|
306
|
-
toggleOverline: () => ReturnType;
|
|
354
|
+
unsetFontSize: () => ReturnType;
|
|
307
355
|
};
|
|
308
356
|
}
|
|
309
357
|
}
|
package/dist/index.js
CHANGED
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -14434,7 +14434,7 @@ declare module "mxcad" {
|
|
|
14434
14434
|
/**
|
|
14435
14435
|
*创建协同工作
|
|
14436
14436
|
*/
|
|
14437
|
-
createWrok(retCall?: (wrokId: number) => void,
|
|
14437
|
+
createWrok(retCall?: (wrokId: number) => void, sWorkData?: string, sUserId?: string, sUserData?: string): number;
|
|
14438
14438
|
/**
|
|
14439
14439
|
*得到当前正在协同的工作名列表
|
|
14440
14440
|
*/
|
|
@@ -14442,7 +14442,7 @@ declare module "mxcad" {
|
|
|
14442
14442
|
/**
|
|
14443
14443
|
*创建协同工作
|
|
14444
14444
|
*/
|
|
14445
|
-
joinWork(workId: number, retCall?: (iRet: number) => void): number;
|
|
14445
|
+
joinWork(workId: number, retCall?: (iRet: number) => void, sUserId?: string, sUserData?: string): number;
|
|
14446
14446
|
/**
|
|
14447
14447
|
*初始化参数
|
|
14448
14448
|
*比如:{server_addres:"http://localhost:3091"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/styles/style.css.gz
CHANGED
|
Binary file
|