@guoyg578/k-ui 0.1.3 → 0.1.5

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,9 +1,10 @@
1
1
  import e from "./KTreeView.vue.js";
2
- import { computed as t, createBlock as n, createCommentVNode as r, createElementVNode as i, createVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, ref as l, toDisplayString as u, unref as d, withCtx as f } from "vue";
2
+ import { computed as t, createBlock as n, createCommentVNode as r, createElementVNode as i, createVNode as a, defineComponent as o, mergeProps as s, openBlock as c, ref as l, toDisplayString as u, unref as d, withCtx as f } from "vue";
3
3
  import { ChevronDown as p, X as m } from "lucide-vue-next";
4
4
  import { PopoverContent as h, PopoverPortal as g, PopoverRoot as _, PopoverTrigger as v } from "reka-ui";
5
5
  //#region components/KTreeSelect.vue?vue&type=script&setup=true&lang.ts
6
6
  var y = ["disabled"], b = { class: "k-tsel-field__text" }, x = /* @__PURE__ */ o({
7
+ inheritAttrs: !1,
7
8
  __name: "KTreeSelect",
8
9
  props: {
9
10
  modelValue: {},
@@ -50,14 +51,14 @@ var y = ["disabled"], b = { class: "k-tsel-field__text" }, x = /* @__PURE__ */ o
50
51
  "as-child": "",
51
52
  disabled: o.disabled
52
53
  }, {
53
- default: f(() => [i("button", {
54
+ default: f(() => [i("button", s(t.$attrs, {
54
55
  type: "button",
55
- class: s(["k-tsel-field", {
56
+ class: ["k-tsel-field", {
56
57
  "k-tsel-field--disabled": o.disabled,
57
58
  "k-tsel-field--placeholder": !D.value
58
- }]),
59
+ }],
59
60
  disabled: o.disabled
60
- }, [
61
+ }), [
61
62
  i("span", b, u(D.value || o.placeholder), 1),
62
63
  o.clearable && D.value && !o.disabled ? (c(), n(d(m), {
63
64
  key: 0,
@@ -69,7 +70,7 @@ var y = ["disabled"], b = { class: "k-tsel-field__text" }, x = /* @__PURE__ */ o
69
70
  size: 15,
70
71
  class: "k-tsel-field__arrow"
71
72
  })
72
- ], 10, y)]),
73
+ ], 16, y)]),
73
74
  _: 1
74
75
  }, 8, ["disabled"]), a(d(g), null, {
75
76
  default: f(() => [a(d(h), {