mxcad-app 1.0.50 → 1.0.52

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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -222,15 +222,16 @@ declare module '@howdyjs/to-drag' {
222
222
 
223
223
  declare module '@tiptap/core' {
224
224
  interface Commands<ReturnType> {
225
- TextDecoration: {
225
+ Overline: {
226
226
  /**
227
227
  * Set the font size attribute
228
228
  */
229
- setTextDecoration: (textDecoration: string) => ReturnType;
229
+ setOverline: () => ReturnType;
230
230
  /**
231
231
  * Unset the font size attribute
232
232
  */
233
- unsetTextDecoration: () => ReturnType;
233
+ unsetOverline: () => ReturnType;
234
+ toggleOverline: () => ReturnType;
234
235
  };
235
236
  }
236
237
  }
@@ -238,15 +239,15 @@ declare module '@tiptap/core' {
238
239
 
239
240
  declare module '@tiptap/core' {
240
241
  interface Commands<ReturnType> {
241
- fontSize: {
242
+ TextDecoration: {
242
243
  /**
243
244
  * Set the font size attribute
244
245
  */
245
- setFontSize: (size: string) => ReturnType;
246
+ setTextDecoration: (textDecoration: string) => ReturnType;
246
247
  /**
247
248
  * Unset the font size attribute
248
249
  */
249
- unsetFontSize: () => ReturnType;
250
+ unsetTextDecoration: () => ReturnType;
250
251
  };
251
252
  }
252
253
  }
@@ -254,16 +255,16 @@ declare module '@tiptap/core' {
254
255
 
255
256
  declare module '@tiptap/core' {
256
257
  interface Commands<ReturnType> {
257
- Overline: {
258
+ Strike: {
258
259
  /**
259
260
  * Set the font size attribute
260
261
  */
261
- setOverline: () => ReturnType;
262
+ setStrike: () => ReturnType;
262
263
  /**
263
264
  * Unset the font size attribute
264
265
  */
265
- unsetOverline: () => ReturnType;
266
- toggleOverline: () => ReturnType;
266
+ unsetStrike: () => ReturnType;
267
+ toggleStrike: () => ReturnType;
267
268
  };
268
269
  }
269
270
  }
@@ -271,10 +272,15 @@ declare module '@tiptap/core' {
271
272
 
272
273
  declare module '@tiptap/core' {
273
274
  interface Commands<ReturnType> {
274
- Underline: {
275
- setUnderline: () => ReturnType;
276
- unsetUnderline: () => ReturnType;
277
- toggleUnderline: () => ReturnType;
275
+ fontSize: {
276
+ /**
277
+ * Set the font size attribute
278
+ */
279
+ setFontSize: (size: string) => ReturnType;
280
+ /**
281
+ * Unset the font size attribute
282
+ */
283
+ unsetFontSize: () => ReturnType;
278
284
  };
279
285
  }
280
286
  }
@@ -282,16 +288,10 @@ declare module '@tiptap/core' {
282
288
 
283
289
  declare module '@tiptap/core' {
284
290
  interface Commands<ReturnType> {
285
- Strike: {
286
- /**
287
- * Set the font size attribute
288
- */
289
- setStrike: () => ReturnType;
290
- /**
291
- * Unset the font size attribute
292
- */
293
- unsetStrike: () => ReturnType;
294
- toggleStrike: () => ReturnType;
291
+ Underline: {
292
+ setUnderline: () => ReturnType;
293
+ unsetUnderline: () => ReturnType;
294
+ toggleUnderline: () => ReturnType;
295
295
  };
296
296
  }
297
297
  }
Binary file
package/dist/mxcad.d.ts CHANGED
@@ -2657,7 +2657,7 @@ declare module "mxcad" {
2657
2657
  * @param dX - 坐标点的 X 坐标值
2658
2658
  * @param dY - 坐标点的 Y 坐标值
2659
2659
  * @param dZ - 坐标点的 Z 坐标值
2660
- * @param dSearhRange - 查找范围,默认为 -1(表示查找整个绘图区域)
2660
+ * @param dSearhRange - 设置选取范围,默认为 -1 表示自适应,或者输入对应的CAD坐标长度
2661
2661
  * @param filter - 过滤器,用于过滤查找到的图形对象,默认为 null(表示不进行过滤)
2662
2662
  * @returns 返回查找到的图形对象的 ID
2663
2663
  * @example
@@ -1527,5 +1527,6 @@ export default {
1527
1527
  "4608": "Add Layout",
1528
1528
  "4609": "black and white printing",
1529
1529
  "4610": "ray",
1530
- "4611": "construction line"
1530
+ "4611": "Construction line",
1531
+ "4612": "region"
1531
1532
  }
@@ -1527,5 +1527,6 @@ export default {
1527
1527
  "4608": "레이아웃 추가",
1528
1528
  "4609": "흑백 인쇄",
1529
1529
  "4610": "방사선",
1530
- "4611": "구성선"
1530
+ "4611": "구성선",
1531
+ "4612": "영역"
1531
1532
  }
@@ -1527,5 +1527,6 @@ export default {
1527
1527
  "4608": "添加布局",
1528
1528
  "4609": "黑白打印",
1529
1529
  "4610": "射线",
1530
- "4611": "构造线"
1530
+ "4611": "构造线",
1531
+ "4612": "面域"
1531
1532
  }
@@ -1527,5 +1527,6 @@ export default {
1527
1527
  "4608": "添加佈局",
1528
1528
  "4609": "黑白列印",
1529
1529
  "4610": "射線",
1530
- "4611": "構造線"
1530
+ "4611": "構造線",
1531
+ "4612": "面域"
1531
1532
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxcad-app",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",