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.
Files changed (83) hide show
  1. package/dist/chunks/@tiptap/pm.js.gz +0 -0
  2. package/dist/chunks/hooks.js +1 -1
  3. package/dist/chunks/hooks2.js.gz +0 -0
  4. package/dist/chunks/hooks3.js +1 -1
  5. package/dist/chunks/index.js.gz +0 -0
  6. package/dist/chunks/index10.js.gz +0 -0
  7. package/dist/chunks/index11.js.gz +0 -0
  8. package/dist/chunks/index12.js.gz +0 -0
  9. package/dist/chunks/index13.js.gz +0 -0
  10. package/dist/chunks/index14.js.gz +0 -0
  11. package/dist/chunks/index15.js.gz +0 -0
  12. package/dist/chunks/index16.js.gz +0 -0
  13. package/dist/chunks/index17.js.gz +0 -0
  14. package/dist/chunks/index18.js.gz +0 -0
  15. package/dist/chunks/index19.js.gz +0 -0
  16. package/dist/chunks/index20.js.gz +0 -0
  17. package/dist/chunks/index21.js.gz +0 -0
  18. package/dist/chunks/index22.js.gz +0 -0
  19. package/dist/chunks/index23.js.gz +0 -0
  20. package/dist/chunks/index24.js.gz +0 -0
  21. package/dist/chunks/index25.js.gz +0 -0
  22. package/dist/chunks/index26.js.gz +0 -0
  23. package/dist/chunks/index28.js.gz +0 -0
  24. package/dist/chunks/index29.js.gz +0 -0
  25. package/dist/chunks/index30.js.gz +0 -0
  26. package/dist/chunks/index32.js.gz +0 -0
  27. package/dist/chunks/index33.js.gz +0 -0
  28. package/dist/chunks/index34.js.gz +0 -0
  29. package/dist/chunks/index35.js.gz +0 -0
  30. package/dist/chunks/index36.js.gz +0 -0
  31. package/dist/chunks/index37.js.gz +0 -0
  32. package/dist/chunks/index38.js.gz +0 -0
  33. package/dist/chunks/index39.js.gz +0 -0
  34. package/dist/chunks/index40.js.gz +0 -0
  35. package/dist/chunks/index41.js.gz +0 -0
  36. package/dist/chunks/index9.js.gz +0 -0
  37. package/dist/chunks/lib.js.gz +0 -0
  38. package/dist/chunks/mxcad.js.gz +0 -0
  39. package/dist/chunks/mxdraw.js.gz +0 -0
  40. package/dist/chunks/sandbox.js.gz +0 -0
  41. package/dist/chunks/useMultilineTextDialog.js +4 -4
  42. package/dist/chunks/zod.js.gz +0 -0
  43. package/dist/index.cjs.gz +0 -0
  44. package/dist/index.d.ts +23 -23
  45. package/dist/index.js +3 -3
  46. package/dist/index.umd.js.gz +0 -0
  47. package/dist/mxcad.d.ts +17 -2
  48. package/dist/mxcadAppAssets/mxServerConfig.json.gz +0 -0
  49. package/dist/mxcadAppAssets/mxcad.umd.js.gz +0 -0
  50. package/dist/mxcadAppAssets/mxcadUiConfig.json.gz +0 -0
  51. package/dist/mxcadAppAssets/mxdraw.umd.js.gz +0 -0
  52. package/dist/mxcadAppAssets/plugins/config.json +22 -28
  53. package/dist/mxcadAppAssets/plugins/pluginCodeEdit/assets/editor.worker-dd870843.js.gz +0 -0
  54. package/dist/mxcadAppAssets/plugins/pluginCodeEdit/assets/ts.worker-cb1a2713.js.gz +0 -0
  55. package/dist/mxcadAppAssets/plugins/pluginCodeEdit/index.js.gz +0 -0
  56. package/dist/mxcadAppAssets/plugins/pluginIdentifyPattern/index.js.gz +0 -0
  57. package/dist/mxcadAppAssets/plugins/test.js.gz +0 -0
  58. package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.js.gz +0 -0
  59. package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.wasm.gz +0 -0
  60. package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_min.js.gz +0 -0
  61. package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_minst.wasm.gz +0 -0
  62. package/dist/styles/style.css.gz +0 -0
  63. package/packToolPlugin/{index-BY3sPnaT.mjs → index-BjWOMSdo.mjs} +42 -13
  64. package/packToolPlugin/{index-CA3neWUU.js → index-COZtdG6B.js} +43 -14
  65. package/packToolPlugin/rollup/index.cjs +1 -1
  66. package/packToolPlugin/rollup/index.mjs +1 -1
  67. package/packToolPlugin/shared/index.d.ts.map +1 -1
  68. package/packToolPlugin/shared/types/mxServerConfig.d.ts +4 -0
  69. package/packToolPlugin/shared/types/mxcadUiConfig.d.ts +2 -2
  70. package/packToolPlugin/vite/index.cjs +1 -1
  71. package/packToolPlugin/vite/index.mjs +1 -1
  72. package/packToolPlugin/webpack/index.cjs +1 -1
  73. package/packToolPlugin/webpack/index.mjs +1 -1
  74. package/package.json +1 -1
  75. package/postinstall.js +36 -47
  76. package/dist/chunks/es.regexp.constructor.js.gz +0 -0
  77. package/dist/mxcadAppAssets/plugins/loginPlugin.js +0 -3
  78. package/dist/mxcadAppAssets/plugins/pluginBaseTemplate/index.js +0 -2
  79. package/dist/mxcadAppAssets/plugins/pluginCodeEdit/assets/editor.worker-dd870843.js +0 -14
  80. package/dist/mxcadAppAssets/plugins/pluginCodeEdit/assets/ts.worker-cb1a2713.js +0 -51336
  81. package/dist/mxcadAppAssets/plugins/pluginCodeEdit/index.js +0 -1943
  82. package/dist/mxcadAppAssets/plugins/pluginIdentifyPattern/index.js +0 -124
  83. package/dist/mxcadAppAssets/plugins/test.js +0 -3904
Binary file
@@ -1,4 +1,4 @@
1
- import { bR as e } from "./lib.js";
1
+ import { bv 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 { bS as e } from "./lib.js";
1
+ import { bw 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
@@ -1,7 +1,7 @@
1
- import { bH as n, _ as c, a as t } from "./lib.js";
2
- var l = function(o) {
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 = c(/* @__PURE__ */ t.mark(function r(a) {
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: l
26
+ open: c
27
27
  };
28
28
  };
29
29
  export {
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
- Underline: {
259
- setUnderline: () => ReturnType;
260
- unsetUnderline: () => ReturnType;
261
- toggleUnderline: () => ReturnType;
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
- fontSize: {
297
- /**
298
- * Set the font size attribute
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
@@ -1,6 +1,6 @@
1
- import { cl as e, ck as m, cm as p } from "./chunks/lib.js";
1
+ import { c4 as e, c3 as p, c5 as s } from "./chunks/lib.js";
2
2
  export {
3
3
  e as MxCADView,
4
- m as default,
5
- p as mxcadApp
4
+ p as default,
5
+ s as mxcadApp
6
6
  };
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 提示
@@ -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
- "name": "pluginIdentifyPattern",
19
- "isAfterLoad": true,
20
- "dir": true
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