mxcad-app 1.0.37 → 1.0.38

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
@@ -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
@@ -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
@@ -1,4 +1,4 @@
1
- import { bQ as n, _ as c, j as t } from "./lib.js";
1
+ import { bU as n, _ as c, j as t } from "./lib.js";
2
2
  var l = function(o) {
3
3
  return new Promise(/* @__PURE__ */ function() {
4
4
  var u = c(/* @__PURE__ */ t.mark(function r(a) {
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -222,16 +222,32 @@ declare module '@howdyjs/to-drag' {
222
222
 
223
223
  declare module '@tiptap/core' {
224
224
  interface Commands<ReturnType> {
225
- Overline: {
225
+ fontSize: {
226
226
  /**
227
227
  * Set the font size attribute
228
228
  */
229
- setOverline: () => ReturnType;
229
+ setFontSize: (size: string) => ReturnType;
230
230
  /**
231
231
  * Unset the font size attribute
232
232
  */
233
- unsetOverline: () => ReturnType;
234
- toggleOverline: () => ReturnType;
233
+ unsetFontSize: () => ReturnType;
234
+ };
235
+ }
236
+ }
237
+
238
+
239
+ declare module '@tiptap/core' {
240
+ interface Commands<ReturnType> {
241
+ Strike: {
242
+ /**
243
+ * Set the font size attribute
244
+ */
245
+ setStrike: () => ReturnType;
246
+ /**
247
+ * Unset the font size attribute
248
+ */
249
+ unsetStrike: () => ReturnType;
250
+ toggleStrike: () => ReturnType;
235
251
  };
236
252
  }
237
253
  }
@@ -249,15 +265,16 @@ declare module "@tiptap/core" {
249
265
 
250
266
  declare module '@tiptap/core' {
251
267
  interface Commands<ReturnType> {
252
- TextDecoration: {
268
+ Overline: {
253
269
  /**
254
270
  * Set the font size attribute
255
271
  */
256
- setTextDecoration: (textDecoration: string) => ReturnType;
272
+ setOverline: () => ReturnType;
257
273
  /**
258
274
  * Unset the font size attribute
259
275
  */
260
- unsetTextDecoration: () => ReturnType;
276
+ unsetOverline: () => ReturnType;
277
+ toggleOverline: () => ReturnType;
261
278
  };
262
279
  }
263
280
  }
@@ -265,16 +282,15 @@ declare module '@tiptap/core' {
265
282
 
266
283
  declare module '@tiptap/core' {
267
284
  interface Commands<ReturnType> {
268
- Strike: {
285
+ TextDecoration: {
269
286
  /**
270
287
  * Set the font size attribute
271
288
  */
272
- setStrike: () => ReturnType;
289
+ setTextDecoration: (textDecoration: string) => ReturnType;
273
290
  /**
274
291
  * Unset the font size attribute
275
292
  */
276
- unsetStrike: () => ReturnType;
277
- toggleStrike: () => ReturnType;
293
+ unsetTextDecoration: () => ReturnType;
278
294
  };
279
295
  }
280
296
  }
@@ -289,19 +305,3 @@ declare module '@tiptap/core' {
289
305
  };
290
306
  }
291
307
  }
292
-
293
-
294
- declare module '@tiptap/core' {
295
- 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;
305
- };
306
- }
307
- }
Binary file
package/dist/mxcad.d.ts CHANGED
@@ -10275,7 +10275,7 @@ declare module "mxcad" {
10275
10275
  * ```ts
10276
10276
  * ```
10277
10277
  */
10278
- wblock(database: McDbDatabase, aryId: McObjectId[], ptBase?: McGePoint3d): boolean;
10278
+ wblock(database: McDbDatabase, aryId: McObjectId[], ptBase?: McGePoint3d, param?: object): boolean;
10279
10279
  /**
10280
10280
  * 插入图块
10281
10281
  * @example
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxcad-app",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- Array.prototype.findLast || (Array.prototype.findLast = function(r, n) {
2
- for (var t = this.length - 1; t >= 0; t--)
3
- if (r.call(n, this[t], t, this))
4
- return this[t];
5
- });