mxcad-app 1.0.31 → 1.0.32
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/@tiptap/pm.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/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/index28.js.gz +0 -0
- package/dist/chunks/index29.js.gz +0 -0
- package/dist/chunks/index30.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/index40.js.gz +0 -0
- package/dist/chunks/index41.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/sandbox.js.gz +0 -0
- package/dist/chunks/useMultilineTextDialog.js +4 -4
- package/dist/chunks/zod.js.gz +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +23 -23
- package/dist/index.js +3 -3
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +17 -2
- package/dist/mxcadAppAssets/mxServerConfig.json.gz +0 -0
- package/dist/mxcadAppAssets/mxcad.umd.js.gz +0 -0
- package/dist/mxcadAppAssets/mxcadUiConfig.json.gz +0 -0
- package/dist/mxcadAppAssets/mxdraw.umd.js.gz +0 -0
- package/dist/mxcadAppAssets/plugins/config.json +22 -28
- package/dist/mxcadAppAssets/plugins/pluginCodeEdit/assets/editor.worker-dd870843.js.gz +0 -0
- package/dist/mxcadAppAssets/plugins/pluginCodeEdit/assets/ts.worker-cb1a2713.js.gz +0 -0
- package/dist/mxcadAppAssets/plugins/pluginCodeEdit/index.js.gz +0 -0
- package/dist/mxcadAppAssets/plugins/pluginIdentifyPattern/index.js.gz +0 -0
- package/dist/mxcadAppAssets/plugins/test.js.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/{index-BY3sPnaT.mjs → index-BjWOMSdo.mjs} +42 -13
- package/packToolPlugin/{index-CA3neWUU.js → index-COZtdG6B.js} +43 -14
- package/packToolPlugin/rollup/index.cjs +1 -1
- package/packToolPlugin/rollup/index.mjs +1 -1
- package/packToolPlugin/shared/index.d.ts.map +1 -1
- package/packToolPlugin/shared/types/mxServerConfig.d.ts +4 -0
- package/packToolPlugin/shared/types/mxcadUiConfig.d.ts +2 -2
- package/packToolPlugin/vite/index.cjs +1 -1
- package/packToolPlugin/vite/index.mjs +1 -1
- package/packToolPlugin/webpack/index.cjs +1 -1
- package/packToolPlugin/webpack/index.mjs +1 -1
- package/package.json +1 -1
- package/postinstall.js +36 -47
- package/dist/chunks/es.regexp.constructor.js.gz +0 -0
- package/dist/mxcadAppAssets/plugins/loginPlugin.js +0 -3
- package/dist/mxcadAppAssets/plugins/pluginBaseTemplate/index.js +0 -2
- package/dist/mxcadAppAssets/plugins/pluginCodeEdit/assets/editor.worker-dd870843.js +0 -14
- package/dist/mxcadAppAssets/plugins/pluginCodeEdit/assets/ts.worker-cb1a2713.js +0 -51336
- package/dist/mxcadAppAssets/plugins/pluginCodeEdit/index.js +0 -1943
- package/dist/mxcadAppAssets/plugins/pluginIdentifyPattern/index.js +0 -124
- package/dist/mxcadAppAssets/plugins/test.js +0 -3904
|
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
|
|
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
|
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
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
1
|
+
import { bl as n, _ as l, a as t } from "./lib.js";
|
|
2
|
+
var c = function(o) {
|
|
3
3
|
return new Promise(/* @__PURE__ */ function() {
|
|
4
|
-
var u =
|
|
4
|
+
var u = l(/* @__PURE__ */ t.mark(function r(a) {
|
|
5
5
|
return t.wrap(function(e) {
|
|
6
6
|
for (; ; ) switch (e.prev = e.next) {
|
|
7
7
|
case 0:
|
|
@@ -23,7 +23,7 @@ var l = function(o) {
|
|
|
23
23
|
}, p = function() {
|
|
24
24
|
return {
|
|
25
25
|
dialog: n,
|
|
26
|
-
open:
|
|
26
|
+
open: c
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export {
|
package/dist/chunks/zod.js.gz
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -255,20 +255,15 @@ declare module '@tiptap/core' {
|
|
|
255
255
|
|
|
256
256
|
declare module '@tiptap/core' {
|
|
257
257
|
interface Commands<ReturnType> {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
declare module "@tiptap/core" {
|
|
268
|
-
interface Commands<ReturnType> {
|
|
269
|
-
selectedText: {
|
|
270
|
-
setSelectedText: (from: number, to: number) => ReturnType;
|
|
271
|
-
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
258
|
+
fontSize: {
|
|
259
|
+
/**
|
|
260
|
+
* Set the font size attribute
|
|
261
|
+
*/
|
|
262
|
+
setFontSize: (size: string) => ReturnType;
|
|
263
|
+
/**
|
|
264
|
+
* Unset the font size attribute
|
|
265
|
+
*/
|
|
266
|
+
unsetFontSize: () => ReturnType;
|
|
272
267
|
};
|
|
273
268
|
}
|
|
274
269
|
}
|
|
@@ -291,17 +286,22 @@ declare module '@tiptap/core' {
|
|
|
291
286
|
}
|
|
292
287
|
|
|
293
288
|
|
|
289
|
+
declare module "@tiptap/core" {
|
|
290
|
+
interface Commands<ReturnType> {
|
|
291
|
+
selectedText: {
|
|
292
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
293
|
+
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
|
|
294
299
|
declare module '@tiptap/core' {
|
|
295
300
|
interface Commands<ReturnType> {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
setFontSize: (size: string) => ReturnType;
|
|
301
|
-
/**
|
|
302
|
-
* Unset the font size attribute
|
|
303
|
-
*/
|
|
304
|
-
unsetFontSize: () => ReturnType;
|
|
301
|
+
Underline: {
|
|
302
|
+
setUnderline: () => ReturnType;
|
|
303
|
+
unsetUnderline: () => ReturnType;
|
|
304
|
+
toggleUnderline: () => ReturnType;
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
}
|
package/dist/index.js
CHANGED
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -2710,7 +2710,7 @@ declare module "mxcad" {
|
|
|
2710
2710
|
console.log(objIds);
|
|
2711
2711
|
* ```
|
|
2712
2712
|
*/
|
|
2713
|
-
getCurrentSelect(filter?: MxCADResbuf | null, returnMxCADObject?: boolean, returnMxDrawObject?: boolean, whenEmptyReturnPrvSelect?: boolean): McObjectId[];
|
|
2713
|
+
getCurrentSelect(filter?: MxCADResbuf | null, returnMxCADObject?: boolean, returnMxDrawObject?: boolean, whenEmptyReturnPrvSelect?: boolean, isFilterLockLayer?: boolean): McObjectId[];
|
|
2714
2714
|
/** 用户选择
|
|
2715
2715
|
* @param strPrompt 字符串提示
|
|
2716
2716
|
* @param filter 过滤对象
|
|
@@ -2724,7 +2724,7 @@ declare module "mxcad" {
|
|
|
2724
2724
|
console.log(aryId);
|
|
2725
2725
|
* ```
|
|
2726
2726
|
* */
|
|
2727
|
-
userSelect(strPrompt?: string, filter?: MxCADResbuf | null, init?: (ss: MxCADSelectionSet, getPoint: MrxDbgUiPrPoint) => any): Promise<McObjectId[]>;
|
|
2727
|
+
userSelect(strPrompt?: string, filter?: MxCADResbuf | null, init?: (ss: MxCADSelectionSet, getPoint: MrxDbgUiPrPoint) => any, isRetCurrentSelect?: boolean, isFilterLockLayer?: boolean): Promise<McObjectId[]>;
|
|
2728
2728
|
/**
|
|
2729
2729
|
* 初始化
|
|
2730
2730
|
* @example
|
|
@@ -2883,6 +2883,14 @@ declare module "mxcad" {
|
|
|
2883
2883
|
* ```
|
|
2884
2884
|
* */
|
|
2885
2885
|
isSelectHighlight: boolean;
|
|
2886
|
+
/**
|
|
2887
|
+
* 是过滤掉锁定的图层
|
|
2888
|
+
* @example
|
|
2889
|
+
* ```ts
|
|
2890
|
+
* ```
|
|
2891
|
+
* */
|
|
2892
|
+
get isFilterLockLayer(): boolean;
|
|
2893
|
+
set isFilterLockLayer(val: boolean);
|
|
2886
2894
|
private selectPoints;
|
|
2887
2895
|
/**
|
|
2888
2896
|
* 构造函数
|
|
@@ -3057,6 +3065,13 @@ declare module "mxcad" {
|
|
|
3057
3065
|
* ```
|
|
3058
3066
|
* */
|
|
3059
3067
|
getIds(): McObjectId[];
|
|
3068
|
+
/** 得到当前已经选择的对象
|
|
3069
|
+
* @returns 选中id对象数组
|
|
3070
|
+
* @example
|
|
3071
|
+
* ```ts
|
|
3072
|
+
* ```
|
|
3073
|
+
* */
|
|
3074
|
+
currentSelect(filter?: MxCADResbuf | null): number;
|
|
3060
3075
|
/** 用户选择
|
|
3061
3076
|
* @param strPrompt 字符串提示
|
|
3062
3077
|
* @param filter 提示
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
{
|
|
2
|
-
"plugins": [
|
|
3
|
-
{
|
|
4
|
-
"name": "test",
|
|
5
|
-
"isAfterLoad": false
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"name": "loginPlugin",
|
|
9
|
-
"isAfterLoad": false
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"name": "pluginCodeEdit",
|
|
13
|
-
"isAfterLoad": true,
|
|
14
|
-
"dir": true
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"name": "pluginBaseTemplate",
|
|
24
|
-
"isAfterLoad": false,
|
|
25
|
-
"dir": true
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"plugins": [
|
|
3
|
+
{
|
|
4
|
+
"name": "test",
|
|
5
|
+
"isAfterLoad": false
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "loginPlugin",
|
|
9
|
+
"isAfterLoad": false
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "pluginCodeEdit",
|
|
13
|
+
"isAfterLoad": true,
|
|
14
|
+
"dir": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "pluginIdentifyPattern",
|
|
18
|
+
"isAfterLoad": true,
|
|
19
|
+
"dir": true
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/styles/style.css.gz
CHANGED
|
Binary file
|