@lumx/vue 4.3.2-alpha.30 → 4.3.2-alpha.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.
Files changed (3) hide show
  1. package/index.js +18 -4
  2. package/index.js.map +1 -1
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -768,8 +768,17 @@ function H(e) {
768
768
  }), a = T(
769
769
  () => r.value["aria-disabled"] || r.value.disabled || void 0
770
770
  ), n = T(() => {
771
- const o = typeof e == "function" ? e() : kt(e), { disabled: s, isDisabled: i, "aria-disabled": u, ariaDisabled: c, onClick: d, onChange: f, ...m } = o;
772
- return a.value || (d && (m.onClick = d), f && (m.onChange = f)), m;
771
+ const o = typeof e == "function" ? e() : kt(e), {
772
+ disabled: s,
773
+ isDisabled: i,
774
+ "aria-disabled": u,
775
+ ariaDisabled: c,
776
+ onClick: d,
777
+ onChange: f,
778
+ onKeyPress: m,
779
+ ...p
780
+ } = o;
781
+ return p;
773
782
  });
774
783
  return { disabledStateProps: r, isAnyDisabled: a, otherProps: n };
775
784
  }
@@ -2344,9 +2353,14 @@ const wi = /* @__PURE__ */ y((e, {
2344
2353
  };
2345
2354
  return () => {
2346
2355
  const o = wt("onHeaderClick");
2347
- return console.log({
2356
+ console.log({
2348
2357
  hasClickListener: o
2349
- }), l(Bs, h(e, a, {
2358
+ });
2359
+ const {
2360
+ onHeaderClick: s,
2361
+ ...i
2362
+ } = a;
2363
+ return l(Bs, h(e, i, {
2350
2364
  className: e.class,
2351
2365
  onHeaderClick: n,
2352
2366
  children: r.default?.()