x-block-lib 0.10.16 → 0.10.18

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 (2) hide show
  1. package/dist/index.js +6 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -38,7 +38,8 @@ function P(e) {
38
38
  var Gt = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTggMTBoLTR2LTRjMC0xLjEwNC0uODk2LTItMi0ycy0yIC44OTYtMiAybC4wNzEgNGgtNC4wNzFjLTEuMTA0IDAtMiAuODk2LTIgMnMuODk2IDIgMiAybDQuMDcxLS4wNzEtLjA3MSA0LjA3MWMwIDEuMTA0Ljg5NiAyIDIgMnMyLS44OTYgMi0ydi00LjA3MWw0IC4wNzFjMS4xMDQgMCAyLS44OTYgMi0ycy0uODk2LTItMi0yeiIgZmlsbD0id2hpdGUiIC8+PC9zdmc+Cg==", Kt = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTggMTFoLTEyYy0xLjEwNCAwLTIgLjg5Ni0yIDJzLjg5NiAyIDIgMmgxMmMxLjEwNCAwIDItLjg5NiAyLTJzLS44OTYtMi0yLTJ6IiBmaWxsPSJ3aGl0ZSIgLz48L3N2Zz4K";
39
39
  function qt(e) {
40
40
  let t = e.lastIndexOf("V");
41
- return t <= 0 || t >= e.length - 1 ? (console.assert(!1, `invalid key=${e}`), "") : `${pe(e.substring(0, t - 1))}_${"v" + e.substring(t + 1)}`;
41
+ if (t <= 0 || t >= e.length - 1) throw Error("must has V");
42
+ return `${pe(e.substring(0, t))}_${"v" + e.substring(t + 1)}`;
42
43
  }
43
44
  function Jt(e) {
44
45
  let t = e.lastIndexOf("V");
@@ -293,7 +294,7 @@ var Tn = (e, t) => {
293
294
  };
294
295
  for (let e in Ke) {
295
296
  let t = Ke[e];
296
- for (let e in t.items) Tn(e, Me(t.items[e]));
297
+ for (let e of t.items) Tn(e, Me(e));
297
298
  }
298
299
  //#endregion
299
300
  //#region src/core/blocks/app/define/types/v1/index.ts
@@ -377,7 +378,7 @@ var En = ye(), Dn = (e, t) => {
377
378
  };
378
379
  for (let e in Ke) {
379
380
  let t = Ke[e];
380
- for (let e in t.types) Dn(e, Pe(t.types[e]));
381
+ for (let e of t.types) Dn(e, Pe(e));
381
382
  }
382
383
  //#endregion
383
384
  //#region src/core/utils/app/app.ts
@@ -8903,12 +8904,13 @@ var Ui = /* @__PURE__ */ vt({
8903
8904
  let t = {
8904
8905
  position: "relative",
8905
8906
  background: o.value ? i.value : r.value,
8907
+ boxSizing: "border-box",
8906
8908
  width: "100%",
8907
8909
  height: "48px",
8908
8910
  marginTop: "1px",
8909
8911
  userSelect: "none"
8910
8912
  };
8911
- return e.select ? t.outline = "1px solid " + n.value : t.outline = void 0, t;
8913
+ return e.select ? (t.borderTop = "1px solid " + n.value, t.borderBottom = "1px solid " + n.value) : (t.borderTop = void 0, t.borderBottom = void 0), t;
8912
8914
  });
8913
8915
  return (t, n) => {
8914
8916
  let r = M("v-spacer"), i = M("v-icon"), c = jt("ripple");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.10.16",
4
+ "version": "0.10.18",
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.16",
44
44
  "x-essential-lib": "^0.9.29",
45
- "x-runtime-lib": "^0.9.7",
45
+ "x-runtime-lib": "^0.9.10",
46
46
  "x-state-lib": "^0.3.42"
47
47
  },
48
48
  "devDependencies": {