@guoyg578/k-ui 0.1.1 → 0.1.3
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/README.md +11 -9
- package/dist/components/KAffix.vue.d.ts +17 -0
- package/dist/components/KAffix.vue.js +7 -0
- package/dist/components/KAffix.vue_vue_type_script_setup_true_lang.js +18 -0
- package/dist/components/KAnchor.vue.d.ts +14 -0
- package/dist/components/KAnchor.vue.js +7 -0
- package/dist/components/KAnchor.vue_vue_type_script_setup_true_lang.js +40 -0
- package/dist/components/KAutoComplete.vue.d.ts +26 -0
- package/dist/components/KAutoComplete.vue.js +8 -0
- package/dist/components/KAutoComplete.vue_vue_type_script_setup_true_lang.js +58 -0
- package/dist/components/KBackTop.vue.d.ts +24 -0
- package/dist/components/KBackTop.vue.js +7 -0
- package/dist/components/KBackTop.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/components/KBadge.vue.d.ts +31 -0
- package/dist/components/KBadge.vue.js +7 -0
- package/dist/components/KBadge.vue_vue_type_script_setup_true_lang.js +48 -0
- package/dist/components/KButtonGroup.vue.d.ts +18 -0
- package/dist/components/KButtonGroup.vue.js +6 -0
- package/dist/components/KButtonGroup.vue_vue_type_script_setup_true_lang.js +14 -0
- package/dist/components/KCalendar.vue.d.ts +33 -0
- package/dist/components/KCalendar.vue.js +7 -0
- package/dist/components/KCalendar.vue_vue_type_script_setup_true_lang.js +78 -0
- package/dist/components/KCascader.vue.d.ts +29 -0
- package/dist/components/KCascader.vue.js +8 -0
- package/dist/components/KCascader.vue_vue_type_script_setup_true_lang.js +114 -0
- package/dist/components/KCode.vue.d.ts +27 -0
- package/dist/components/KCode.vue.js +7 -0
- package/dist/components/KCode.vue_vue_type_script_setup_true_lang.js +42 -0
- package/dist/components/KCollapse.vue.d.ts +25 -0
- package/dist/components/KCollapse.vue.js +7 -0
- package/dist/components/KCollapse.vue_vue_type_script_setup_true_lang.js +35 -0
- package/dist/components/KCollapseItem.vue.d.ts +22 -0
- package/dist/components/KCollapseItem.vue.js +7 -0
- package/dist/components/KCollapseItem.vue_vue_type_script_setup_true_lang.js +46 -0
- package/dist/components/KCountdown.vue.d.ts +15 -0
- package/dist/components/KCountdown.vue.js +7 -0
- package/dist/components/KCountdown.vue_vue_type_script_setup_true_lang.js +36 -0
- package/dist/components/KDescriptions.vue.d.ts +1 -1
- package/dist/components/KDivider.vue.d.ts +21 -0
- package/dist/components/KDivider.vue.js +7 -0
- package/dist/components/KDivider.vue_vue_type_script_setup_true_lang.js +33 -0
- package/dist/components/KDropdown.vue.d.ts +1 -1
- package/dist/components/KDropdown.vue.js +1 -1
- package/dist/components/KDynamicInput.vue.d.ts +33 -0
- package/dist/components/KDynamicInput.vue.js +7 -0
- package/dist/components/KDynamicInput.vue_vue_type_script_setup_true_lang.js +81 -0
- package/dist/components/KDynamicTags.vue.d.ts +20 -0
- package/dist/components/KDynamicTags.vue.js +7 -0
- package/dist/components/KDynamicTags.vue_vue_type_script_setup_true_lang.js +60 -0
- package/dist/components/KGrid.vue.d.ts +29 -0
- package/dist/components/KGrid.vue.js +7 -0
- package/dist/components/KGrid.vue_vue_type_script_setup_true_lang.js +33 -0
- package/dist/components/KGridItem.vue.d.ts +20 -0
- package/dist/components/KGridItem.vue.js +7 -0
- package/dist/components/KGridItem.vue_vue_type_script_setup_true_lang.js +18 -0
- package/dist/components/KImage.vue.d.ts +2 -0
- package/dist/components/KImage.vue.js +1 -1
- package/dist/components/KImage.vue_vue_type_script_setup_true_lang.js +15 -4
- package/dist/components/KImageViewer.vue.d.ts +2 -0
- package/dist/components/KImageViewer.vue.js +1 -1
- package/dist/components/KImageViewer.vue_vue_type_script_setup_true_lang.js +8 -2
- package/dist/components/KLayout.vue.d.ts +19 -0
- package/dist/components/KLayout.vue.js +7 -0
- package/dist/components/KLayout.vue_vue_type_script_setup_true_lang.js +14 -0
- package/dist/components/KLayoutContent.vue.d.ts +17 -0
- package/dist/components/KLayoutContent.vue.js +7 -0
- package/dist/components/KLayoutContent.vue_vue_type_script_setup_true_lang.js +11 -0
- package/dist/components/KLayoutHeader.vue.d.ts +19 -0
- package/dist/components/KLayoutHeader.vue.js +7 -0
- package/dist/components/KLayoutHeader.vue_vue_type_script_setup_true_lang.js +14 -0
- package/dist/components/KLayoutSider.vue.d.ts +28 -0
- package/dist/components/KLayoutSider.vue.js +7 -0
- package/dist/components/KLayoutSider.vue_vue_type_script_setup_true_lang.js +34 -0
- package/dist/components/KList.vue.d.ts +24 -0
- package/dist/components/KList.vue.js +7 -0
- package/dist/components/KList.vue_vue_type_script_setup_true_lang.js +39 -0
- package/dist/components/KListItem.vue.d.ts +17 -0
- package/dist/components/KListItem.vue.js +7 -0
- package/dist/components/KListItem.vue_vue_type_script_setup_true_lang.js +22 -0
- package/dist/components/KMention.vue.d.ts +27 -0
- package/dist/components/KMention.vue.js +8 -0
- package/dist/components/KMention.vue_vue_type_script_setup_true_lang.js +73 -0
- package/dist/components/KMenu.vue.d.ts +30 -0
- package/dist/components/KMenu.vue.js +9 -0
- package/dist/components/KMenu.vue_vue_type_script_setup_true_lang.js +134 -0
- package/dist/components/KMenuItem.vue.d.ts +10 -0
- package/dist/components/KMenuItem.vue.js +7 -0
- package/dist/components/KMenuItem.vue_vue_type_script_setup_true_lang.js +58 -0
- package/dist/components/KNumberAnimation.vue.d.ts +33 -0
- package/dist/components/KNumberAnimation.vue.js +7 -0
- package/dist/components/KNumberAnimation.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/components/KPopconfirm.vue.d.ts +1 -1
- package/dist/components/KPopover.vue.d.ts +1 -1
- package/dist/components/KRadio.vue.d.ts +4 -2
- package/dist/components/KRadio.vue.js +1 -1
- package/dist/components/KRadio.vue_vue_type_script_setup_true_lang.js +24 -11
- package/dist/components/KRadioGroup.vue.d.ts +3 -0
- package/dist/components/KRadioGroup.vue.js +1 -1
- package/dist/components/KRadioGroup.vue_vue_type_script_setup_true_lang.js +17 -12
- package/dist/components/KRate.vue.d.ts +25 -0
- package/dist/components/KRate.vue.js +7 -0
- package/dist/components/KRate.vue_vue_type_script_setup_true_lang.js +77 -0
- package/dist/components/KSpace.vue.d.ts +32 -0
- package/dist/components/KSpace.vue.js +7 -0
- package/dist/components/KSpace.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/components/KStatistic.vue.d.ts +23 -0
- package/dist/components/KStatistic.vue.js +7 -0
- package/dist/components/KStatistic.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/components/KText.vue.d.ts +26 -0
- package/dist/components/KText.vue.js +7 -0
- package/dist/components/KText.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/KTime.vue.d.ts +14 -0
- package/dist/components/KTime.vue.js +7 -0
- package/dist/components/KTime.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/components/KTimePicker.vue.d.ts +19 -0
- package/dist/components/KTimePicker.vue.js +8 -0
- package/dist/components/KTimePicker.vue_vue_type_script_setup_true_lang.js +116 -0
- package/dist/components/KTimeline.vue.d.ts +13 -0
- package/dist/components/KTimeline.vue.js +7 -0
- package/dist/components/KTimeline.vue_vue_type_script_setup_true_lang.js +10 -0
- package/dist/components/KTimelineItem.vue.d.ts +29 -0
- package/dist/components/KTimelineItem.vue.js +7 -0
- package/dist/components/KTimelineItem.vue_vue_type_script_setup_true_lang.js +37 -0
- package/dist/components/KTransfer.vue.d.ts +24 -0
- package/dist/components/KTransfer.vue.js +7 -0
- package/dist/components/KTransfer.vue_vue_type_script_setup_true_lang.js +114 -0
- package/dist/components/KTreeSelect.vue.d.ts +22 -0
- package/dist/components/KTreeSelect.vue.js +8 -0
- package/dist/components/KTreeSelect.vue_vue_type_script_setup_true_lang.js +100 -0
- package/dist/components/KTypography.vue.d.ts +13 -0
- package/dist/components/KTypography.vue.js +7 -0
- package/dist/components/KTypography.vue_vue_type_script_setup_true_lang.js +10 -0
- package/dist/components/KUpload.vue.d.ts +1 -1
- package/dist/components/KWatermark.vue.d.ts +27 -0
- package/dist/components/KWatermark.vue.js +7 -0
- package/dist/components/KWatermark.vue_vue_type_script_setup_true_lang.js +28 -0
- package/dist/components/list-context.d.ts +6 -0
- package/dist/components/list-context.js +4 -0
- package/dist/components/menu-context.d.ts +26 -0
- package/dist/components/menu-context.js +4 -0
- package/dist/components/radio-context.d.ts +6 -0
- package/dist/components/radio-context.js +4 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +102 -64
- package/dist/k-ui.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, unref as p, watch as m, withCtx as h } from "vue";
|
|
2
|
+
import { ChevronRight as g, X as _ } from "lucide-vue-next";
|
|
3
|
+
import { PopoverContent as v, PopoverPortal as y, PopoverRoot as b, PopoverTrigger as x } from "reka-ui";
|
|
4
|
+
//#region components/KCascader.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var S = ["disabled"], C = { class: "k-casc-field__text" }, w = ["disabled", "onClick"], T = { class: "k-casc-item__label" }, E = /* @__PURE__ */ s({
|
|
6
|
+
__name: "KCascader",
|
|
7
|
+
props: {
|
|
8
|
+
modelValue: {},
|
|
9
|
+
options: {},
|
|
10
|
+
placeholder: { default: "请选择" },
|
|
11
|
+
disabled: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
clearable: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: !0
|
|
18
|
+
},
|
|
19
|
+
separator: { default: " / " },
|
|
20
|
+
changeOnSelect: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !1
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
emits: ["update:modelValue"],
|
|
26
|
+
setup(s, { emit: E }) {
|
|
27
|
+
let D = s, O = E, k = u(!1), A = u([]);
|
|
28
|
+
function j(e, t, n = []) {
|
|
29
|
+
for (let r of e) {
|
|
30
|
+
let e = [...n, r];
|
|
31
|
+
if (r.value === t) return e;
|
|
32
|
+
if (r.children) {
|
|
33
|
+
let n = j(r.children, t, e);
|
|
34
|
+
if (n) return n;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
let M = t(() => D.modelValue == null ? [] : j(D.options, D.modelValue) ?? []), N = t(() => M.value.map((e) => e.label).join(D.separator));
|
|
40
|
+
m(k, (e) => {
|
|
41
|
+
e && (A.value = M.value.slice());
|
|
42
|
+
});
|
|
43
|
+
let P = t(() => {
|
|
44
|
+
let e = [D.options];
|
|
45
|
+
for (let t of A.value) if (t.children?.length) e.push(t.children);
|
|
46
|
+
else break;
|
|
47
|
+
return e;
|
|
48
|
+
});
|
|
49
|
+
function F(e, t) {
|
|
50
|
+
return A.value[e]?.value === t.value;
|
|
51
|
+
}
|
|
52
|
+
function I(e, t) {
|
|
53
|
+
if (t.disabled) return;
|
|
54
|
+
let n = A.value.slice(0, e);
|
|
55
|
+
n[e] = t, A.value = n, t.children?.length ? D.changeOnSelect && O("update:modelValue", t.value) : (O("update:modelValue", t.value), k.value = !1);
|
|
56
|
+
}
|
|
57
|
+
function L(e) {
|
|
58
|
+
e.stopPropagation(), O("update:modelValue", null);
|
|
59
|
+
}
|
|
60
|
+
return (t, u) => (l(), n(p(b), {
|
|
61
|
+
open: k.value,
|
|
62
|
+
"onUpdate:open": u[0] ||= (e) => k.value = e
|
|
63
|
+
}, {
|
|
64
|
+
default: h(() => [o(p(x), {
|
|
65
|
+
"as-child": "",
|
|
66
|
+
disabled: s.disabled
|
|
67
|
+
}, {
|
|
68
|
+
default: h(() => [a("button", {
|
|
69
|
+
type: "button",
|
|
70
|
+
class: c(["k-casc-field", {
|
|
71
|
+
"k-casc-field--disabled": s.disabled,
|
|
72
|
+
"k-casc-field--placeholder": !N.value
|
|
73
|
+
}]),
|
|
74
|
+
disabled: s.disabled
|
|
75
|
+
}, [a("span", C, f(N.value || s.placeholder), 1), s.clearable && N.value && !s.disabled ? (l(), n(p(_), {
|
|
76
|
+
key: 0,
|
|
77
|
+
size: 14,
|
|
78
|
+
class: "k-casc-field__clear",
|
|
79
|
+
onClick: L
|
|
80
|
+
})) : r("", !0)], 10, S)]),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 8, ["disabled"]), o(p(y), null, {
|
|
83
|
+
default: h(() => [o(p(v), {
|
|
84
|
+
class: "k-menu-surface k-casc-panel",
|
|
85
|
+
"side-offset": 6,
|
|
86
|
+
align: "start"
|
|
87
|
+
}, {
|
|
88
|
+
default: h(() => [(l(!0), i(e, null, d(P.value, (t, o) => (l(), i("div", {
|
|
89
|
+
key: o,
|
|
90
|
+
class: "k-casc-col"
|
|
91
|
+
}, [(l(!0), i(e, null, d(t, (e) => (l(), i("button", {
|
|
92
|
+
key: e.value,
|
|
93
|
+
type: "button",
|
|
94
|
+
class: c(["k-casc-item", {
|
|
95
|
+
"k-casc-item--active": F(o, e),
|
|
96
|
+
"k-casc-item--disabled": e.disabled
|
|
97
|
+
}]),
|
|
98
|
+
disabled: e.disabled,
|
|
99
|
+
onClick: (t) => I(o, e)
|
|
100
|
+
}, [a("span", T, f(e.label), 1), e.children?.length ? (l(), n(p(g), {
|
|
101
|
+
key: 0,
|
|
102
|
+
size: 14,
|
|
103
|
+
class: "k-casc-item__arrow"
|
|
104
|
+
})) : r("", !0)], 10, w))), 128))]))), 128))]),
|
|
105
|
+
_: 1
|
|
106
|
+
})]),
|
|
107
|
+
_: 1
|
|
108
|
+
})]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["open"]));
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
//#endregion
|
|
114
|
+
export { E as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
code?: string;
|
|
3
|
+
language?: string;
|
|
4
|
+
inline?: boolean;
|
|
5
|
+
showLineNumbers?: boolean;
|
|
6
|
+
wordWrap?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_3) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
code: string;
|
|
16
|
+
inline: boolean;
|
|
17
|
+
showLineNumbers: boolean;
|
|
18
|
+
wordWrap: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./KCode.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region components/KCode.vue
|
|
5
|
+
var n = /* @__PURE__ */ e(t, [["__scopeId", "data-v-387ef207"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, renderList as l, renderSlot as u, toDisplayString as d } from "vue";
|
|
2
|
+
//#region components/KCode.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var f = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "k-code k-code--inline"
|
|
6
|
+
}, p = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "k-code__lang"
|
|
9
|
+
}, m = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "k-code__numbered"
|
|
12
|
+
}, h = { class: "k-code__num" }, g = { class: "k-code__text" }, _ = { key: 2 }, v = /* @__PURE__ */ o({
|
|
13
|
+
__name: "KCode",
|
|
14
|
+
props: {
|
|
15
|
+
code: { default: "" },
|
|
16
|
+
language: {},
|
|
17
|
+
inline: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
showLineNumbers: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
wordWrap: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !1
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(o) {
|
|
31
|
+
let v = o, y = t(() => (v.code ?? "").replace(/\n$/, "").split("\n"));
|
|
32
|
+
return (t, v) => o.inline ? (c(), r("code", f, [u(t.$slots, "default", {}, () => [a(d(o.code), 1)], !0)])) : (c(), r("pre", {
|
|
33
|
+
key: 1,
|
|
34
|
+
class: s(["k-code k-code--block", { "k-code--wrap": o.wordWrap }])
|
|
35
|
+
}, [o.language ? (c(), r("span", p, d(o.language), 1)) : n("", !0), o.showLineNumbers ? (c(), r("code", m, [(c(!0), r(e, null, l(y.value, (e, t) => (c(), r("span", {
|
|
36
|
+
key: t,
|
|
37
|
+
class: "k-code__row"
|
|
38
|
+
}, [i("span", h, d(t + 1), 1), i("span", g, d(e), 1)]))), 128))])) : (c(), r("code", _, [u(t.$slots, "default", {}, () => [a(d(o.code), 1)], !0)]))], 2));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { v as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string[];
|
|
3
|
+
/** 手风琴模式:同时只展开一项 */
|
|
4
|
+
accordion?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_10: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_10) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
"update:modelValue": (v: string[]) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((v: string[]) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
modelValue: string[];
|
|
16
|
+
accordion: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./KCollapse.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region components/KCollapse.vue
|
|
5
|
+
var n = /* @__PURE__ */ e(t, [["__scopeId", "data-v-6a540b0c"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createBlock as e, defineComponent as t, openBlock as n, renderSlot as r, unref as i, withCtx as a } from "vue";
|
|
2
|
+
import { AccordionRoot as o } from "reka-ui";
|
|
3
|
+
//#region components/KCollapse.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var s = /* @__PURE__ */ t({
|
|
5
|
+
__name: "KCollapse",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: { default: () => [] },
|
|
8
|
+
accordion: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: !1
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(t, { emit: s }) {
|
|
15
|
+
let c = t, l = s;
|
|
16
|
+
function u(e) {
|
|
17
|
+
let t = Array.isArray(e) ? e : e ? [e] : [];
|
|
18
|
+
if (c.accordion && t.length > 1) {
|
|
19
|
+
let e = t.find((e) => !c.modelValue.includes(e));
|
|
20
|
+
l("update:modelValue", e ? [e] : []);
|
|
21
|
+
} else l("update:modelValue", t);
|
|
22
|
+
}
|
|
23
|
+
return (s, c) => (n(), e(i(o), {
|
|
24
|
+
type: "multiple",
|
|
25
|
+
"model-value": t.modelValue,
|
|
26
|
+
class: "k-collapse",
|
|
27
|
+
"onUpdate:modelValue": u
|
|
28
|
+
}, {
|
|
29
|
+
default: a(() => [r(s.$slots, "default", {}, void 0, !0)]),
|
|
30
|
+
_: 3
|
|
31
|
+
}, 8, ["model-value"]));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { s as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_20: {}, __VLS_22: {}, __VLS_35: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
title?: (props: typeof __VLS_20) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'header-extra'?: (props: typeof __VLS_22) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_35) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./KCollapseItem.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region components/KCollapseItem.vue
|
|
5
|
+
var n = /* @__PURE__ */ e(t, [["__scopeId", "data-v-efcf0088"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createBlock as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, createTextVNode as i, createVNode as a, defineComponent as o, openBlock as s, renderSlot as c, toDisplayString as l, unref as u, withCtx as d } from "vue";
|
|
2
|
+
import { ChevronDown as f } from "lucide-vue-next";
|
|
3
|
+
import { AccordionContent as p, AccordionHeader as m, AccordionItem as h, AccordionTrigger as g } from "reka-ui";
|
|
4
|
+
//#region components/KCollapseItem.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _ = { class: "k-collapse-item__title" }, v = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "k-collapse-item__extra"
|
|
8
|
+
}, y = { class: "k-collapse-item__body" }, b = /* @__PURE__ */ o({
|
|
9
|
+
__name: "KCollapseItem",
|
|
10
|
+
props: {
|
|
11
|
+
name: {},
|
|
12
|
+
title: {},
|
|
13
|
+
disabled: { type: Boolean }
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
return (b, x) => (s(), e(u(h), {
|
|
17
|
+
value: o.name,
|
|
18
|
+
disabled: o.disabled,
|
|
19
|
+
class: "k-collapse-item"
|
|
20
|
+
}, {
|
|
21
|
+
default: d(() => [a(u(m), {
|
|
22
|
+
as: "div",
|
|
23
|
+
class: "k-collapse-item__header"
|
|
24
|
+
}, {
|
|
25
|
+
default: d(() => [a(u(g), { class: "k-collapse-item__trigger" }, {
|
|
26
|
+
default: d(() => [
|
|
27
|
+
r("span", _, [c(b.$slots, "title", {}, () => [i(l(o.title), 1)], !0)]),
|
|
28
|
+
b.$slots["header-extra"] ? (s(), n("span", v, [c(b.$slots, "header-extra", {}, void 0, !0)])) : t("", !0),
|
|
29
|
+
a(u(f), {
|
|
30
|
+
size: 16,
|
|
31
|
+
class: "k-collapse-item__arrow"
|
|
32
|
+
})
|
|
33
|
+
]),
|
|
34
|
+
_: 3
|
|
35
|
+
})]),
|
|
36
|
+
_: 3
|
|
37
|
+
}), a(u(p), { class: "k-collapse-item__content" }, {
|
|
38
|
+
default: d(() => [r("div", y, [c(b.$slots, "default", {}, void 0, !0)])]),
|
|
39
|
+
_: 3
|
|
40
|
+
})]),
|
|
41
|
+
_: 3
|
|
42
|
+
}, 8, ["value", "disabled"]));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
//#endregion
|
|
46
|
+
export { b as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
duration: number;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
format?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
finish: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onFinish?: (() => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
format: string;
|
|
12
|
+
active: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./KCountdown.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region components/KCountdown.vue
|
|
5
|
+
var n = /* @__PURE__ */ e(t, [["__scopeId", "data-v-4209c8fc"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { computed as e, createElementBlock as t, defineComponent as n, onMounted as r, onUnmounted as i, openBlock as a, ref as o, toDisplayString as s, watch as c } from "vue";
|
|
2
|
+
//#region components/KCountdown.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var l = { class: "k-countdown" }, u = /* @__PURE__ */ n({
|
|
4
|
+
__name: "KCountdown",
|
|
5
|
+
props: {
|
|
6
|
+
duration: {},
|
|
7
|
+
active: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: !0
|
|
10
|
+
},
|
|
11
|
+
format: { default: "HH:mm:ss" }
|
|
12
|
+
},
|
|
13
|
+
emits: ["finish"],
|
|
14
|
+
setup(n, { emit: u }) {
|
|
15
|
+
let d = n, f = u, p = o(d.duration), m = 0, h = 0;
|
|
16
|
+
function g() {
|
|
17
|
+
cancelAnimationFrame(m), h = performance.now() + p.value;
|
|
18
|
+
let e = () => {
|
|
19
|
+
let t = Math.max(0, h - performance.now());
|
|
20
|
+
p.value = t, t > 0 ? m = requestAnimationFrame(e) : f("finish");
|
|
21
|
+
};
|
|
22
|
+
m = requestAnimationFrame(e);
|
|
23
|
+
}
|
|
24
|
+
let _ = (e, t = 2) => String(e).padStart(t, "0"), v = e(() => {
|
|
25
|
+
let e = p.value, t = Math.floor(e / 1e3), n = Math.floor(t / 3600), r = Math.floor(t % 3600 / 60), i = t % 60;
|
|
26
|
+
return d.format.replace(/HH|mm|ss|SSS/g, (t) => t === "HH" ? _(n) : t === "mm" ? _(r) : t === "ss" ? _(i) : _(Math.floor(e % 1e3), 3));
|
|
27
|
+
});
|
|
28
|
+
return r(() => {
|
|
29
|
+
d.active && g();
|
|
30
|
+
}), i(() => cancelAnimationFrame(m)), c(() => d.active, (e) => e ? g() : cancelAnimationFrame(m)), c(() => d.duration, (e) => {
|
|
31
|
+
p.value = e, d.active && g();
|
|
32
|
+
}), (e, n) => (a(), t("span", l, s(v.value), 1));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { u as default };
|
|
@@ -17,8 +17,8 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
18
|
size: "sm" | "md" | "lg";
|
|
19
19
|
bordered: boolean;
|
|
20
|
-
labelWidth: string;
|
|
21
20
|
columns: number;
|
|
21
|
+
labelWidth: string;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
vertical?: boolean;
|
|
3
|
+
titlePlacement?: 'left' | 'center' | 'right';
|
|
4
|
+
dashed?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
vertical: boolean;
|
|
12
|
+
titlePlacement: "left" | "center" | "right";
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./KDivider.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region components/KDivider.vue
|
|
5
|
+
var n = /* @__PURE__ */ e(t, [["__scopeId", "data-v-d851e413"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { createCommentVNode as e, createElementBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, renderSlot as a, unref as o, useSlots as s } from "vue";
|
|
2
|
+
//#region components/KDivider.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var c = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "k-divider__title"
|
|
6
|
+
}, l = /* @__PURE__ */ n({
|
|
7
|
+
__name: "KDivider",
|
|
8
|
+
props: {
|
|
9
|
+
vertical: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
},
|
|
13
|
+
titlePlacement: { default: "center" },
|
|
14
|
+
dashed: { type: Boolean }
|
|
15
|
+
},
|
|
16
|
+
setup(n) {
|
|
17
|
+
let l = s();
|
|
18
|
+
return (s, u) => n.vertical ? (i(), t("div", {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: r(["k-divider k-divider--vertical", { "k-divider--dashed": n.dashed }]),
|
|
21
|
+
role: "separator"
|
|
22
|
+
}, null, 2)) : (i(), t("div", {
|
|
23
|
+
key: 1,
|
|
24
|
+
class: r(["k-divider k-divider--horizontal", [`k-divider--${n.titlePlacement}`, {
|
|
25
|
+
"k-divider--dashed": n.dashed,
|
|
26
|
+
"k-divider--with-text": !!o(l).default
|
|
27
|
+
}]]),
|
|
28
|
+
role: "separator"
|
|
29
|
+
}, [o(l).default ? (i(), t("span", c, [a(s.$slots, "default", {}, void 0, !0)])) : e("", !0)], 2));
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { l as default };
|
|
@@ -45,9 +45,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
45
45
|
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
disabled: boolean;
|
|
48
|
+
align: "start" | "center" | "end";
|
|
48
49
|
side: "top" | "right" | "bottom" | "left";
|
|
49
50
|
sideOffset: number;
|
|
50
|
-
align: "start" | "center" | "end";
|
|
51
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
52
52
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
53
53
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: any[];
|
|
3
|
+
min?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
/** 新增行的默认值工厂 */
|
|
7
|
+
onCreate?: () => any;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {
|
|
10
|
+
value: any;
|
|
11
|
+
index: number;
|
|
12
|
+
update: (v: any) => void;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
default?: (props: typeof __VLS_1) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
+
"update:modelValue": (v: any[]) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((v: any[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
min: number;
|
|
23
|
+
modelValue: any[];
|
|
24
|
+
placeholder: string;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./KDynamicInput.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region components/KDynamicInput.vue
|
|
5
|
+
var n = /* @__PURE__ */ e(t, [["__scopeId", "data-v-455e370f"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import e from "./KButton.vue.js";
|
|
2
|
+
import t from "./KInput.vue.js";
|
|
3
|
+
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, renderList as d, renderSlot as f, unref as p, withCtx as m } from "vue";
|
|
4
|
+
import { Plus as h, Trash2 as g } from "lucide-vue-next";
|
|
5
|
+
//#region components/KDynamicInput.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var _ = { class: "k-dinput" }, v = { class: "k-dinput__field" }, y = { class: "k-dinput__ops" }, b = /* @__PURE__ */ l({
|
|
7
|
+
__name: "KDynamicInput",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: { default: () => [] },
|
|
10
|
+
min: { default: 0 },
|
|
11
|
+
max: {},
|
|
12
|
+
placeholder: { default: "请输入" },
|
|
13
|
+
onCreate: {}
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:modelValue"],
|
|
16
|
+
setup(l, { emit: b }) {
|
|
17
|
+
let x = l, S = b;
|
|
18
|
+
function C() {
|
|
19
|
+
return x.onCreate ? x.onCreate() : "";
|
|
20
|
+
}
|
|
21
|
+
function w(e) {
|
|
22
|
+
if (x.max != null && x.modelValue.length >= x.max) return;
|
|
23
|
+
let t = x.modelValue.slice();
|
|
24
|
+
t.splice(e == null ? t.length : e + 1, 0, C()), S("update:modelValue", t);
|
|
25
|
+
}
|
|
26
|
+
function T(e) {
|
|
27
|
+
if (x.modelValue.length <= x.min) return;
|
|
28
|
+
let t = x.modelValue.slice();
|
|
29
|
+
t.splice(e, 1), S("update:modelValue", t);
|
|
30
|
+
}
|
|
31
|
+
function E(e, t) {
|
|
32
|
+
let n = x.modelValue.slice();
|
|
33
|
+
n[e] = t, S("update:modelValue", n);
|
|
34
|
+
}
|
|
35
|
+
return (b, x) => (u(), a("div", _, [(u(!0), a(n, null, d(l.modelValue, (n, r) => (u(), a("div", {
|
|
36
|
+
key: r,
|
|
37
|
+
class: "k-dinput__row"
|
|
38
|
+
}, [o("div", v, [f(b.$slots, "default", {
|
|
39
|
+
value: n,
|
|
40
|
+
index: r,
|
|
41
|
+
update: (e) => E(r, e)
|
|
42
|
+
}, () => [c(t, {
|
|
43
|
+
"model-value": n,
|
|
44
|
+
placeholder: l.placeholder,
|
|
45
|
+
"onUpdate:modelValue": (e) => E(r, e)
|
|
46
|
+
}, null, 8, [
|
|
47
|
+
"model-value",
|
|
48
|
+
"placeholder",
|
|
49
|
+
"onUpdate:modelValue"
|
|
50
|
+
])], !0)]), o("div", y, [c(e, {
|
|
51
|
+
size: "sm",
|
|
52
|
+
quaternary: "",
|
|
53
|
+
circle: "",
|
|
54
|
+
disabled: l.modelValue.length <= l.min,
|
|
55
|
+
onClick: (e) => T(r)
|
|
56
|
+
}, {
|
|
57
|
+
icon: m(() => [c(p(g), { size: 15 })]),
|
|
58
|
+
_: 1
|
|
59
|
+
}, 8, ["disabled", "onClick"]), c(e, {
|
|
60
|
+
size: "sm",
|
|
61
|
+
quaternary: "",
|
|
62
|
+
circle: "",
|
|
63
|
+
disabled: l.max != null && l.modelValue.length >= l.max,
|
|
64
|
+
onClick: (e) => w(r)
|
|
65
|
+
}, {
|
|
66
|
+
icon: m(() => [c(p(h), { size: 15 })]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["disabled", "onClick"])])]))), 128)), l.modelValue.length === 0 ? (u(), r(e, {
|
|
69
|
+
key: 0,
|
|
70
|
+
size: "sm",
|
|
71
|
+
disabled: l.max != null && l.modelValue.length >= l.max,
|
|
72
|
+
onClick: x[0] ||= (e) => w()
|
|
73
|
+
}, {
|
|
74
|
+
icon: m(() => [c(p(h), { size: 15 })]),
|
|
75
|
+
default: m(() => [x[1] ||= s(" 添加一行 ", -1)]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["disabled"])) : i("", !0)]));
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
//#endregion
|
|
81
|
+
export { b as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string[];
|
|
3
|
+
max?: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
/** 是否允许重复值 */
|
|
6
|
+
allowDuplicate?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
"update:modelValue": (v: string[]) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((v: string[]) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
modelValue: string[];
|
|
16
|
+
placeholder: string;
|
|
17
|
+
allowDuplicate: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./KDynamicTags.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region components/KDynamicTags.vue
|
|
5
|
+
var n = /* @__PURE__ */ e(t, [["__scopeId", "data-v-084ffc13"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|