x-runtime-lib 0.8.180 → 0.8.181

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 +18 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3476,7 +3476,14 @@ const Wl = /* @__PURE__ */ He(Bl, [["render", Rl]]), Fl = /* @__PURE__ */ I({
3476
3476
  const r = J();
3477
3477
  ke(r);
3478
3478
  const l = x(() => t.refContext.compId);
3479
- Ve(l, i, r), Pe("elementSlot", o.value.basic.id, "append", se(), i, r), Ie("append", "reset", () => {
3479
+ Ve(l, i, r), Pe(
3480
+ "elementSlot",
3481
+ o.value.basic.id,
3482
+ "append",
3483
+ se(),
3484
+ i,
3485
+ r
3486
+ ), Ie("append", "reset", () => {
3480
3487
  t.reset();
3481
3488
  }), Ie("append", "resetValidation", () => {
3482
3489
  t.resetValidation();
@@ -3534,7 +3541,14 @@ const Wl = /* @__PURE__ */ He(Bl, [["render", Rl]]), Fl = /* @__PURE__ */ I({
3534
3541
  const r = J();
3535
3542
  ke(r);
3536
3543
  const l = x(() => t.refContext.compId);
3537
- Ve(l, i, r), Pe("elementSlot", o.value.basic.id, "prepend", se(), i, r), Ie("prepend", "reset", () => {
3544
+ Ve(l, i, r), Pe(
3545
+ "elementSlot",
3546
+ o.value.basic.id,
3547
+ "prepend",
3548
+ se(),
3549
+ i,
3550
+ r
3551
+ ), Ie("prepend", "reset", () => {
3538
3552
  t.reset();
3539
3553
  }), Ie("prepend", "resetValidation", () => {
3540
3554
  t.resetValidation();
@@ -9913,7 +9927,7 @@ class Pc {
9913
9927
  const i = `${t}(${e.map((y) => JSON.stringify(y)).join(", ")})`;
9914
9928
  Fi.includes(t) || this.debugTrace(`${i}`);
9915
9929
  const r = Xe(p, o.getProp(o.global, t));
9916
- if (!r)
9930
+ if (o.typeof(r) !== "function")
9917
9931
  throw new Error(`function<${t}> not available`);
9918
9932
  const l = e.map((y) => Me(o, y));
9919
9933
  const u = o.unwrapResult(o.callFunction(r, o.undefined, ...l)).consume((y) => o.dump(y));
@@ -9934,7 +9948,7 @@ class Pc {
9934
9948
  const i = `${t}(${e.map((b) => JSON.stringify(b)).join(", ")})`;
9935
9949
  Fi.includes(t) || this.debugTrace(`${i}`);
9936
9950
  const r = Xe(d, o.getProp(o.global, t));
9937
- if (!r)
9951
+ if (o.typeof(r) !== "function")
9938
9952
  throw new Error(`function<${t}> not available`);
9939
9953
  const l = e.map((b) => Me(o, b));
9940
9954
  const u = o.unwrapResult(o.callFunction(r, o.undefined, ...l)).consume((b) => o.resolvePromise(b));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.180",
4
+ "version": "0.8.181",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",