@lumx/vue 4.3.2-alpha.27 → 4.3.2-alpha.29

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 +21 -8
  2. package/index.js.map +1 -1
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -2283,7 +2283,12 @@ const wi = /* @__PURE__ */ y((e, {
2283
2283
  sortOrder: i,
2284
2284
  variant: u = Os.variant,
2285
2285
  ...c
2286
- } = e, d = o ? "button" : "div", f = d === "button" ? {
2286
+ } = e;
2287
+ console.log({
2288
+ onHeaderClick: o,
2289
+ isSortable: n
2290
+ });
2291
+ const d = o ? "button" : "div", f = d === "button" ? {
2287
2292
  type: "button",
2288
2293
  onClick: o
2289
2294
  } : void 0;
@@ -2324,7 +2329,10 @@ const wi = /* @__PURE__ */ y((e, {
2324
2329
  }), [l("div", {
2325
2330
  className: `${z}-content`
2326
2331
  }, [t])])]);
2327
- }, wt = (e) => Wr()?.vnode.props?.[e] !== void 0, js = {
2332
+ }, wt = (e) => {
2333
+ const t = Wr();
2334
+ return console.log({ eventName: e }), console.log(t?.vnode.props), t?.vnode.props?.[e] !== void 0;
2335
+ }, js = {
2328
2336
  headerClick: () => !0
2329
2337
  }, Mi = /* @__PURE__ */ y((e, {
2330
2338
  emit: t,
@@ -2333,12 +2341,17 @@ const wi = /* @__PURE__ */ y((e, {
2333
2341
  }) => {
2334
2342
  const n = () => {
2335
2343
  t("headerClick");
2336
- }, o = wt("onHeaderClick");
2337
- return () => l(Bs, h(e, a, {
2338
- className: e.class,
2339
- onHeaderClick: o ? n : void 0,
2340
- children: r.default?.()
2341
- }), null);
2344
+ };
2345
+ return () => {
2346
+ const o = wt("onHeaderClick");
2347
+ return console.log({
2348
+ hasClickListener: o
2349
+ }), l(Bs, h(e, a, {
2350
+ className: e.class,
2351
+ onHeaderClick: o ? n : void 0,
2352
+ children: r.default?.()
2353
+ }), null);
2354
+ };
2342
2355
  }, {
2343
2356
  name: "LumxTableCell",
2344
2357
  inheritAttrs: !1,