x-block-lib 0.10.30 → 0.10.31

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.
@@ -1,4 +1,4 @@
1
- import { n as e } from "./rolldown-runtime.gq4dspr5.js";
1
+ import { n as e } from "./rolldown-runtime.expcly8c.js";
2
2
  //#region src/core/locale/msg/en.ts
3
3
  var t = /* @__PURE__ */ e({ default: () => n }), n = {
4
4
  ADD_COMMENT: "Add Comment",
@@ -1,4 +1,4 @@
1
- import { n as e } from "./rolldown-runtime.gq4dspr5.js";
1
+ import { n as e } from "./rolldown-runtime.expcly8c.js";
2
2
  //#region src/core/locale/msg/zhHans.ts
3
3
  var t = /* @__PURE__ */ e({ default: () => n }), n = {
4
4
  ADD_COMMENT: "添加注释",
@@ -1,5 +1,5 @@
1
1
  //#region \0rolldown/runtime.js
2
- var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, n) => {
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
3
3
  let r = {};
4
4
  for (var i in e) t(r, i, {
5
5
  get: e[i],
@@ -1,4 +1,4 @@
1
- import { r as e, t } from "./rolldown-runtime.gq4dspr5.js";
1
+ import { r as e, t } from "./rolldown-runtime.expcly8c.js";
2
2
  import { computed as n, defineComponent as r, getCurrentInstance as i, getCurrentScope as a, h as o, isRef as s, nextTick as c, onMounted as l, onScopeDispose as u, onUnmounted as d, reactive as f, ref as p, shallowRef as m, toRefs as h, toValue as g, unref as _, watch as v } from "vue";
3
3
  //#region node_modules/.pnpm/blockly@12.5.1/node_modules/blockly/blockly_compressed.js
4
4
  var y = /* @__PURE__ */ t(((e, t) => {
@@ -17127,7 +17127,8 @@ function Vo(e, t) {
17127
17127
  //#endregion
17128
17128
  //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
17129
17129
  function Ho(e) {
17130
- this.size = (this.__data__ = new Oa(e)).size;
17130
+ var t = this.__data__ = new Oa(e);
17131
+ this.size = t.size;
17131
17132
  }
17132
17133
  Ho.prototype.clear = Io, Ho.prototype.delete = Lo, Ho.prototype.get = Ro, Ho.prototype.has = zo, Ho.prototype.set = Vo;
17133
17134
  //#endregion
@@ -21285,7 +21286,7 @@ var Hl = new class {
21285
21286
  })());
21286
21287
  }));
21287
21288
  //#endregion
21288
- //#region node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
21289
+ //#region node_modules/.pnpm/@vueuse+shared@14.3.0_vue@3.5.34_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
21289
21290
  function Gl(e, t) {
21290
21291
  return a() ? (u(e, t), !0) : !1;
21291
21292
  }
@@ -22478,7 +22479,8 @@ function Lf() {}
22478
22479
  Lf.prototype = {
22479
22480
  startIndex: null,
22480
22481
  dragStart: function(e) {
22481
- this.startIndex = e.oldDraggableIndex;
22482
+ var t = e.oldDraggableIndex;
22483
+ this.startIndex = t;
22482
22484
  },
22483
22485
  onSpill: function(e) {
22484
22486
  var t = e.dragEl, n = e.putSortable;
@@ -22713,7 +22715,7 @@ var Jf = [
22713
22715
  };
22714
22716
  Xf.mounted, Xf.unmounted;
22715
22717
  //#endregion
22716
- //#region node_modules/.pnpm/@blockly+shadow-block-converter@7.0.9_blockly@12.5.1/node_modules/@blockly/shadow-block-converter/dist/index.js
22718
+ //#region node_modules/.pnpm/@blockly+shadow-block-converter@7.0.10_blockly@12.5.1/node_modules/@blockly/shadow-block-converter/dist/index.js
22717
22719
  var Zf = /* @__PURE__ */ t(((e, t) => {
22718
22720
  (function(n, r) {
22719
22721
  if (typeof e == "object" && typeof t == "object") t.exports = r(y());
@@ -23198,7 +23200,9 @@ var Zf = /* @__PURE__ */ t(((e, t) => {
23198
23200
  t.position = this.position++, this.matchIndexes[this.matchAt] = t, this.regexes.push([t, e]), this.matchAt += ee(e) + 1;
23199
23201
  }
23200
23202
  compile() {
23201
- this.regexes.length === 0 && (this.exec = () => null), this.matcherRe = t(ne(this.regexes.map((e) => e[1]), { joinWith: "|" }), !0), this.lastIndex = 0;
23203
+ this.regexes.length === 0 && (this.exec = () => null);
23204
+ let e = this.regexes.map((e) => e[1]);
23205
+ this.matcherRe = t(ne(e, { joinWith: "|" }), !0), this.lastIndex = 0;
23202
23206
  }
23203
23207
  exec(e) {
23204
23208
  this.matcherRe.lastIndex = this.lastIndex;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.10.30",
4
+ "version": "0.10.31",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "peerDependencies": {
43
43
  "x-error-lib": "^0.5.18",
44
44
  "x-essential-lib": "^0.9.31",
45
- "x-runtime-lib": "^0.9.42",
45
+ "x-runtime-lib": "^0.9.45",
46
46
  "x-state-lib": "^0.3.43"
47
47
  },
48
48
  "devDependencies": {