mxcad-app 1.0.21 → 1.0.22

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
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -222,15 +222,25 @@ declare module '@howdyjs/to-drag' {
222
222
 
223
223
  declare module '@tiptap/core' {
224
224
  interface Commands<ReturnType> {
225
- fontSize: {
225
+ TextDecoration: {
226
226
  /**
227
227
  * Set the font size attribute
228
228
  */
229
- setFontSize: (size: string) => ReturnType;
229
+ setTextDecoration: (textDecoration: string) => ReturnType;
230
230
  /**
231
231
  * Unset the font size attribute
232
232
  */
233
- unsetFontSize: () => ReturnType;
233
+ unsetTextDecoration: () => ReturnType;
234
+ };
235
+ }
236
+ }
237
+
238
+
239
+ declare module "@tiptap/core" {
240
+ interface Commands<ReturnType> {
241
+ selectedText: {
242
+ setSelectedText: (from: number, to: number) => ReturnType;
243
+ unsetSelectedText: (from: number, to: number) => ReturnType;
234
244
  };
235
245
  }
236
246
  }
@@ -238,15 +248,16 @@ declare module '@tiptap/core' {
238
248
 
239
249
  declare module '@tiptap/core' {
240
250
  interface Commands<ReturnType> {
241
- TextDecoration: {
251
+ Strike: {
242
252
  /**
243
253
  * Set the font size attribute
244
254
  */
245
- setTextDecoration: (textDecoration: string) => ReturnType;
255
+ setStrike: () => ReturnType;
246
256
  /**
247
257
  * Unset the font size attribute
248
258
  */
249
- unsetTextDecoration: () => ReturnType;
259
+ unsetStrike: () => ReturnType;
260
+ toggleStrike: () => ReturnType;
250
261
  };
251
262
  }
252
263
  }
@@ -271,20 +282,15 @@ declare module '@tiptap/core' {
271
282
 
272
283
  declare module '@tiptap/core' {
273
284
  interface Commands<ReturnType> {
274
- Underline: {
275
- setUnderline: () => ReturnType;
276
- unsetUnderline: () => ReturnType;
277
- toggleUnderline: () => ReturnType;
278
- };
279
- }
280
- }
281
-
282
-
283
- declare module "@tiptap/core" {
284
- interface Commands<ReturnType> {
285
- selectedText: {
286
- setSelectedText: (from: number, to: number) => ReturnType;
287
- unsetSelectedText: (from: number, to: number) => ReturnType;
285
+ fontSize: {
286
+ /**
287
+ * Set the font size attribute
288
+ */
289
+ setFontSize: (size: string) => ReturnType;
290
+ /**
291
+ * Unset the font size attribute
292
+ */
293
+ unsetFontSize: () => ReturnType;
288
294
  };
289
295
  }
290
296
  }
@@ -292,16 +298,10 @@ declare module "@tiptap/core" {
292
298
 
293
299
  declare module '@tiptap/core' {
294
300
  interface Commands<ReturnType> {
295
- Strike: {
296
- /**
297
- * Set the font size attribute
298
- */
299
- setStrike: () => ReturnType;
300
- /**
301
- * Unset the font size attribute
302
- */
303
- unsetStrike: () => ReturnType;
304
- toggleStrike: () => ReturnType;
301
+ Underline: {
302
+ setUnderline: () => ReturnType;
303
+ unsetUnderline: () => ReturnType;
304
+ toggleUnderline: () => ReturnType;
305
305
  };
306
306
  }
307
307
  }
Binary file
package/dist/mxdraw.d.ts CHANGED
@@ -176,7 +176,9 @@ declare module "mxdraw" {
176
176
  MCRX_CMD_NOPRV = 4,
177
177
  MCRX_CMD_NO_RECORD_PRVCMD = 8,
178
178
  MCRX_CMD_NO_CLEAR_SELECT = 16,
179
- MCRX_CMD_NO_CLEAR_SELECT_GRIP_POINT = 32
179
+ MCRX_CMD_NO_CLEAR_SELECT_GRIP_POINT = 32,
180
+ MCRX_JIG_CMD_END_NO_CLEAR_SELECT = 64,
181
+ MCRX_DISABLE_OVERWRITING = 128
180
182
  }
181
183
  /**
182
184
  * 控件对象缺省的绘制顺序
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxcad-app",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "browser": "./dist/index.umd.js",