@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.
- package/dist/components/KCascader.vue.js +1 -1
- package/dist/components/KCascader.vue_vue_type_script_setup_true_lang.js +43 -42
- package/dist/components/KCombobox.vue.js +1 -1
- package/dist/components/KCombobox.vue_vue_type_script_setup_true_lang.js +48 -47
- package/dist/components/KDialog.vue.js +1 -1
- package/dist/components/KDialog.vue_vue_type_script_setup_true_lang.js +40 -39
- package/dist/components/KDrawer.vue.js +1 -1
- package/dist/components/KDrawer.vue_vue_type_script_setup_true_lang.js +36 -35
- package/dist/components/KDropdown.vue_vue_type_script_setup_true_lang.js +28 -27
- package/dist/components/KImageViewer.vue.js +1 -1
- package/dist/components/KImageViewer.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/KPopover.vue_vue_type_script_setup_true_lang.js +15 -14
- package/dist/components/KSelect.vue.js +1 -1
- package/dist/components/KSelect.vue_vue_type_script_setup_true_lang.js +60 -59
- package/dist/components/KTimePicker.vue.js +1 -1
- package/dist/components/KTimePicker.vue_vue_type_script_setup_true_lang.js +45 -44
- package/dist/components/KTooltip.vue_vue_type_script_setup_true_lang.js +13 -12
- package/dist/components/KTreeSelect.vue.js +1 -1
- package/dist/components/KTreeSelect.vue_vue_type_script_setup_true_lang.js +7 -6
- package/dist/k-ui.css +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
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:
|
|
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
|
-
],
|
|
73
|
+
], 16, y)]),
|
|
73
74
|
_: 1
|
|
74
75
|
}, 8, ["disabled"]), a(d(g), null, {
|
|
75
76
|
default: f(() => [a(d(h), {
|