@oneflowui/ui 0.4.0 → 0.4.1

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 (44) hide show
  1. package/dist/{FieldCheckbox-DdNQUeAv.js → FieldCheckbox-CV3QtQ4Y.js} +3 -3
  2. package/dist/{FieldDate-DYVy9HXM.js → FieldDate-Bljx4jb7.js} +2 -2
  3. package/dist/{FieldDatetime-CxcGkDo4.js → FieldDatetime-B52GfWrK.js} +8 -8
  4. package/dist/{FieldEmail-6t5822TS.js → FieldEmail-UREMoue-.js} +11 -11
  5. package/dist/{FieldMultiSelect-P1pJRMmz.js → FieldMultiSelect-Dlay1Fop.js} +11 -11
  6. package/dist/{FieldNumber-Bt22YSiY.js → FieldNumber-BjhfFhs6.js} +2 -2
  7. package/dist/{FieldRating-CsdZksdO.js → FieldRating-BKHUu-A1.js} +2 -2
  8. package/dist/{FieldSelect-CQysnh7a.js → FieldSelect-B39Ad8VH.js} +2 -2
  9. package/dist/{FieldText-AcMBY3EY.js → FieldText-Ry7f72Ug.js} +5 -5
  10. package/dist/{FieldUrl-CzpC7swD.js → FieldUrl-bv0EB9sh.js} +8 -8
  11. package/dist/components/base/Accordion.vue.d.ts +2 -2
  12. package/dist/components/base/Avatar.vue.d.ts +1 -1
  13. package/dist/components/base/Badge.vue.d.ts +2 -2
  14. package/dist/components/base/ChainItem.vue.d.ts +2 -2
  15. package/dist/components/base/DropdownMenu.vue.d.ts +4 -1
  16. package/dist/components/base/EmptyState.vue.d.ts +1 -1
  17. package/dist/components/base/InfoCard.vue.d.ts +2 -2
  18. package/dist/components/base/MonitorItem.vue.d.ts +1 -1
  19. package/dist/components/base/PersonaCard.vue.d.ts +2 -2
  20. package/dist/components/base/ProgressBar.vue.d.ts +2 -2
  21. package/dist/components/base/RangeSlider.vue.d.ts +1 -16
  22. package/dist/components/base/SectionBlock.vue.d.ts +2 -2
  23. package/dist/components/base/SelectBadge.vue.d.ts +2 -2
  24. package/dist/components/base/StatisticCard.vue.d.ts +1 -14
  25. package/dist/components/base/StatusIndicator.vue.d.ts +2 -2
  26. package/dist/components/base/StatusSummary.vue.d.ts +2 -2
  27. package/dist/components/base/Stepper.vue.d.ts +2 -2
  28. package/dist/components/base/Switch.vue.d.ts +1 -1
  29. package/dist/components/base/ToolbarBtn.vue.d.ts +1 -1
  30. package/dist/components/base/ViewModeGroup.vue.d.ts +1 -1
  31. package/dist/components/base/ViewSwitcher.vue.d.ts +2 -2
  32. package/dist/components/base/ViewTab.vue.d.ts +1 -1
  33. package/dist/components/layout/AppLayout.vue.d.ts +6 -2
  34. package/dist/components/overlay/Drawer.vue.d.ts +6 -2
  35. package/dist/components/overlay/SidePanel.vue.d.ts +6 -2
  36. package/dist/components/table/FieldCell.vue.d.ts +1 -1
  37. package/dist/composables/useTableGroup.d.ts +2 -2
  38. package/dist/{index-Hqg3-HB7.js → index-DQph5iTq.js} +3405 -3155
  39. package/dist/index.d.ts +2 -2
  40. package/dist/oneflow-ui.js +1 -1
  41. package/dist/oneflow-ui.umd.cjs +11 -11
  42. package/dist/style.css +1 -1
  43. package/dist/types/index.d.ts +15 -15
  44. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, computed as f, openBlock as p, createElementBlock as r, withModifiers as d, createElementVNode as m, toDisplayString as _ } from "vue";
2
- import { _ as u } from "./index-Hqg3-HB7.js";
2
+ import { _ as u } from "./index-DQph5iTq.js";
3
3
  const k = { class: "of-field-checkbox__icon" }, x = /* @__PURE__ */ s({
4
4
  __name: "FieldCheckbox",
5
5
  props: {
@@ -15,7 +15,7 @@ const k = { class: "of-field-checkbox__icon" }, x = /* @__PURE__ */ s({
15
15
  function l(e) {
16
16
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), c()), e.key === "Escape" && (e.preventDefault(), t("cancel")), e.key === "Tab" && (e.preventDefault(), t("tabNext"));
17
17
  }
18
- return (e, b) => (p(), r("div", {
18
+ return (e, v) => (p(), r("div", {
19
19
  class: "of-field-checkbox",
20
20
  tabindex: "0",
21
21
  onClick: d(c, ["stop"]),
@@ -24,7 +24,7 @@ const k = { class: "of-field-checkbox__icon" }, x = /* @__PURE__ */ s({
24
24
  m("span", k, _(o.value ? "☑" : "☐"), 1)
25
25
  ], 32));
26
26
  }
27
- }), y = /* @__PURE__ */ u(x, [["__scopeId", "data-v-e5dffacb"]]);
27
+ }), y = /* @__PURE__ */ u(x, [["__scopeId", "data-v-85298790"]]);
28
28
  export {
29
29
  y as default
30
30
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, ref as u, onMounted as m, nextTick as s, withDirectives as d, openBlock as v, createElementBlock as y, vModelText as _ } from "vue";
2
- import { _ as k } from "./index-Hqg3-HB7.js";
2
+ import { _ as k } from "./index-DQph5iTq.js";
3
3
  const x = /* @__PURE__ */ f({
4
4
  __name: "FieldDate",
5
5
  props: {
@@ -28,7 +28,7 @@ const x = /* @__PURE__ */ f({
28
28
  [_, n.value]
29
29
  ]);
30
30
  }
31
- }), B = /* @__PURE__ */ k(x, [["__scopeId", "data-v-3acdd712"]]);
31
+ }), B = /* @__PURE__ */ k(x, [["__scopeId", "data-v-e0c4ed7c"]]);
32
32
  export {
33
33
  B as default
34
34
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, ref as i, onMounted as p, nextTick as s, withDirectives as d, openBlock as v, createElementBlock as y, vModelText as _ } from "vue";
2
- import { _ as k } from "./index-Hqg3-HB7.js";
3
- const x = /* @__PURE__ */ f({
1
+ import { defineComponent as p, ref as i, onMounted as f, nextTick as s, withDirectives as d, openBlock as v, createElementBlock as y, vModelText as _ } from "vue";
2
+ import { _ as k } from "./index-DQph5iTq.js";
3
+ const x = /* @__PURE__ */ p({
4
4
  __name: "FieldDatetime",
5
5
  props: {
6
6
  value: { type: [String, Number, Boolean, Array, null] },
@@ -8,12 +8,12 @@ const x = /* @__PURE__ */ f({
8
8
  },
9
9
  emits: ["commit", "cancel", "tabNext"],
10
10
  setup(u, { emit: r }) {
11
- const c = u, t = r, o = i(null), n = i(String(c.value ?? ""));
12
- p(() => s(() => {
11
+ const m = u, t = r, o = i(null), n = i(String(m.value ?? ""));
12
+ f(() => s(() => {
13
13
  var e;
14
14
  return (e = o.value) == null ? void 0 : e.focus();
15
15
  }));
16
- function m(e) {
16
+ function c(e) {
17
17
  e.key === "Enter" && (e.preventDefault(), t("commit", n.value || null)), e.key === "Escape" && (e.preventDefault(), t("cancel")), e.key === "Tab" && (e.preventDefault(), t("commit", n.value || null), t("tabNext"));
18
18
  }
19
19
  return (e, l) => d((v(), y("input", {
@@ -22,13 +22,13 @@ const x = /* @__PURE__ */ f({
22
22
  "onUpdate:modelValue": l[0] || (l[0] = (a) => n.value = a),
23
23
  class: "of-field-input",
24
24
  type: "datetime-local",
25
- onKeydown: m,
25
+ onKeydown: c,
26
26
  onBlur: l[1] || (l[1] = (a) => t("commit", n.value || null))
27
27
  }, null, 544)), [
28
28
  [_, n.value]
29
29
  ]);
30
30
  }
31
- }), B = /* @__PURE__ */ k(x, [["__scopeId", "data-v-bedfdcc6"]]);
31
+ }), B = /* @__PURE__ */ k(x, [["__scopeId", "data-v-80796d5b"]]);
32
32
  export {
33
33
  B as default
34
34
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, ref as a, onMounted as p, nextTick as s, withDirectives as d, openBlock as v, createElementBlock as y, vModelText as _ } from "vue";
2
- import { _ as k } from "./index-Hqg3-HB7.js";
3
- const x = /* @__PURE__ */ f({
1
+ import { defineComponent as c, ref as i, onMounted as f, nextTick as s, withDirectives as v, openBlock as d, createElementBlock as y, vModelText as _ } from "vue";
2
+ import { _ as k } from "./index-DQph5iTq.js";
3
+ const x = /* @__PURE__ */ c({
4
4
  __name: "FieldEmail",
5
5
  props: {
6
6
  value: { type: [String, Number, Boolean, Array, null] },
@@ -8,27 +8,27 @@ const x = /* @__PURE__ */ f({
8
8
  },
9
9
  emits: ["commit", "cancel", "tabNext"],
10
10
  setup(u, { emit: r }) {
11
- const c = u, t = r, o = a(null), n = a(String(c.value ?? ""));
12
- p(() => s(() => {
11
+ const m = u, t = r, o = i(null), n = i(String(m.value ?? ""));
12
+ f(() => s(() => {
13
13
  var e;
14
14
  return (e = o.value) == null ? void 0 : e.focus();
15
15
  }));
16
- function m(e) {
16
+ function p(e) {
17
17
  e.key === "Enter" && (e.preventDefault(), t("commit", n.value)), e.key === "Escape" && (e.preventDefault(), t("cancel")), e.key === "Tab" && (e.preventDefault(), t("commit", n.value), t("tabNext"));
18
18
  }
19
- return (e, l) => d((v(), y("input", {
19
+ return (e, l) => v((d(), y("input", {
20
20
  ref_key: "inputRef",
21
21
  ref: o,
22
22
  class: "of-field-input",
23
23
  type: "email",
24
- "onUpdate:modelValue": l[0] || (l[0] = (i) => n.value = i),
25
- onKeydown: m,
26
- onBlur: l[1] || (l[1] = (i) => t("commit", n.value))
24
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => n.value = a),
25
+ onKeydown: p,
26
+ onBlur: l[1] || (l[1] = (a) => t("commit", n.value))
27
27
  }, null, 544)), [
28
28
  [_, n.value]
29
29
  ]);
30
30
  }
31
- }), B = /* @__PURE__ */ k(x, [["__scopeId", "data-v-cdd23fdc"]]);
31
+ }), B = /* @__PURE__ */ k(x, [["__scopeId", "data-v-57da6247"]]);
32
32
  export {
33
33
  B as default
34
34
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as $, ref as a, computed as M, onMounted as z, nextTick as F, onBeforeUnmount as O, watch as T, openBlock as l, createElementBlock as i, Fragment as A, renderList as L, normalizeStyle as w, toDisplayString as k, createBlock as I, Teleport as P, withModifiers as m, normalizeClass as U, createElementVNode as p, createCommentVNode as V } from "vue";
2
- import { _ as K } from "./index-Hqg3-HB7.js";
1
+ import { defineComponent as $, ref as r, computed as M, onMounted as z, nextTick as F, onBeforeUnmount as O, watch as T, openBlock as l, createElementBlock as i, Fragment as A, renderList as L, normalizeStyle as w, toDisplayString as k, createBlock as I, Teleport as P, withModifiers as m, normalizeClass as U, createElementVNode as p, createCommentVNode as V } from "vue";
2
+ import { _ as K } from "./index-DQph5iTq.js";
3
3
  const W = {
4
4
  key: 0,
5
5
  class: "of-field-multiselect__chips"
@@ -14,7 +14,7 @@ const W = {
14
14
  },
15
15
  emits: ["commit", "cancel", "tabNext"],
16
16
  setup(S, { emit: B }) {
17
- const d = S, _ = B, s = a(null), b = a(null), h = a({ top: "0px", left: "0px", width: "0px" }), f = a(!0), v = M(() => d.field.options ?? []), o = a([]), r = a(0), x = M(() => {
17
+ const d = S, _ = B, s = r(null), b = r(null), h = r({ top: "0px", left: "0px", width: "0px" }), f = r(!0), v = M(() => d.field.options ?? []), o = r([]), a = r(0), x = M(() => {
18
18
  const e = new Set(o.value);
19
19
  return v.value.filter((n) => e.has(n.value));
20
20
  });
@@ -45,16 +45,16 @@ const W = {
45
45
  }
46
46
  function N(e) {
47
47
  if (e.key === "ArrowDown") {
48
- e.preventDefault(), r.value = Math.min(r.value + 1, Math.max(v.value.length - 1, 0));
48
+ e.preventDefault(), a.value = Math.min(a.value + 1, Math.max(v.value.length - 1, 0));
49
49
  return;
50
50
  }
51
51
  if (e.key === "ArrowUp") {
52
- e.preventDefault(), r.value = Math.max(r.value - 1, 0);
52
+ e.preventDefault(), a.value = Math.max(a.value - 1, 0);
53
53
  return;
54
54
  }
55
55
  if (e.key === " " || e.key === "Enter") {
56
56
  e.preventDefault();
57
- const n = v.value[r.value];
57
+ const n = v.value[a.value];
58
58
  n && C(n.value);
59
59
  return;
60
60
  }
@@ -105,8 +105,8 @@ const W = {
105
105
  }, [
106
106
  (l(!0), i(A, null, L(v.value, (t, c) => (l(), i("div", {
107
107
  key: t.value,
108
- class: U(["of-field-multiselect__option", { active: c === r.value, selected: o.value.includes(t.value) }]),
109
- onMouseenter: (R) => r.value = c,
108
+ class: U(["of-field-multiselect__option", { active: c === a.value, selected: o.value.includes(t.value) }]),
109
+ onMouseenter: (R) => a.value = c,
110
110
  onClick: m((R) => C(t.value), ["stop"])
111
111
  }, [
112
112
  p("input", {
@@ -128,18 +128,18 @@ const W = {
128
128
  class: "of-field-multiselect__btn",
129
129
  type: "button",
130
130
  onClick: m(D, ["stop"])
131
- }, "取消"),
131
+ }, " 取消 "),
132
132
  p("button", {
133
133
  class: "of-field-multiselect__btn of-field-multiselect__btn--primary",
134
134
  type: "button",
135
135
  onClick: m(y, ["stop"])
136
- }, "完成")
136
+ }, " 完成 ")
137
137
  ])
138
138
  ], 4)) : V("", !0)
139
139
  ]))
140
140
  ], 544));
141
141
  }
142
- }), Z = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-21240742"]]);
142
+ }), Z = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-ca07bc35"]]);
143
143
  export {
144
144
  Z as default
145
145
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, ref as m, onMounted as v, nextTick as d, withDirectives as N, openBlock as b, createElementBlock as y, vModelText as k } from "vue";
2
- import { _ } from "./index-Hqg3-HB7.js";
2
+ import { _ } from "./index-DQph5iTq.js";
3
3
  const x = /* @__PURE__ */ p({
4
4
  __name: "FieldNumber",
5
5
  props: {
@@ -37,7 +37,7 @@ const x = /* @__PURE__ */ p({
37
37
  [k, t.value]
38
38
  ]);
39
39
  }
40
- }), B = /* @__PURE__ */ _(x, [["__scopeId", "data-v-81dd7528"]]);
40
+ }), B = /* @__PURE__ */ _(x, [["__scopeId", "data-v-a09e5dea"]]);
41
41
  export {
42
42
  B as default
43
43
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as _, openBlock as o, createElementBlock as r, withKeys as x, Fragment as g, renderList as k, unref as c, withModifiers as y, normalizeClass as b } from "vue";
2
- import { _ as C } from "./index-Hqg3-HB7.js";
2
+ import { _ as C } from "./index-DQph5iTq.js";
3
3
  const M = ["onMouseenter", "onClick"], $ = /* @__PURE__ */ v({
4
4
  __name: "FieldRating",
5
5
  props: {
@@ -26,7 +26,7 @@ const M = ["onMouseenter", "onClick"], $ = /* @__PURE__ */ v({
26
26
  }, "★", 42, M))), 128))
27
27
  ], 32));
28
28
  }
29
- }), F = /* @__PURE__ */ C($, [["__scopeId", "data-v-ced77f03"]]);
29
+ }), F = /* @__PURE__ */ C($, [["__scopeId", "data-v-58a68101"]]);
30
30
  export {
31
31
  F as default
32
32
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as N, ref as f, computed as x, onMounted as R, nextTick as V, onBeforeUnmount as z, watch as A, openBlock as l, createElementBlock as a, normalizeStyle as b, toDisplayString as w, createBlock as I, Teleport as F, createElementVNode as T, withModifiers as C, normalizeClass as L, Fragment as O, renderList as P, createCommentVNode as U } from "vue";
2
- import { _ as K } from "./index-Hqg3-HB7.js";
2
+ import { _ as K } from "./index-DQph5iTq.js";
3
3
  const W = {
4
4
  key: 1,
5
5
  class: "of-field-select__display"
@@ -116,7 +116,7 @@ const W = {
116
116
  ], 544);
117
117
  };
118
118
  }
119
- }), Q = /* @__PURE__ */ K(G, [["__scopeId", "data-v-736a9686"]]);
119
+ }), Q = /* @__PURE__ */ K(G, [["__scopeId", "data-v-a280810a"]]);
120
120
  export {
121
121
  Q as default
122
122
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, ref as a, onMounted as m, nextTick as s, withDirectives as v, openBlock as d, createElementBlock as x, vModelText as y } from "vue";
2
- import { _ } from "./index-Hqg3-HB7.js";
2
+ import { _ } from "./index-DQph5iTq.js";
3
3
  const k = /* @__PURE__ */ f({
4
4
  __name: "FieldText",
5
5
  props: {
@@ -8,12 +8,12 @@ const k = /* @__PURE__ */ f({
8
8
  },
9
9
  emits: ["commit", "cancel", "tabNext"],
10
10
  setup(u, { emit: r }) {
11
- const c = u, t = r, l = a(null), n = a(String(c.value ?? ""));
11
+ const p = u, t = r, l = a(null), n = a(String(p.value ?? ""));
12
12
  m(() => s(() => {
13
13
  var e;
14
14
  return (e = l.value) == null ? void 0 : e.focus();
15
15
  }));
16
- function p(e) {
16
+ function c(e) {
17
17
  e.key === "Enter" && (e.preventDefault(), t("commit", n.value)), e.key === "Escape" && (e.preventDefault(), t("cancel")), e.key === "Tab" && (e.preventDefault(), t("commit", n.value), t("tabNext"));
18
18
  }
19
19
  return (e, o) => v((d(), x("input", {
@@ -22,13 +22,13 @@ const k = /* @__PURE__ */ f({
22
22
  class: "of-field-input",
23
23
  type: "text",
24
24
  "onUpdate:modelValue": o[0] || (o[0] = (i) => n.value = i),
25
- onKeydown: p,
25
+ onKeydown: c,
26
26
  onBlur: o[1] || (o[1] = (i) => t("commit", n.value))
27
27
  }, null, 544)), [
28
28
  [y, n.value]
29
29
  ]);
30
30
  }
31
- }), B = /* @__PURE__ */ _(k, [["__scopeId", "data-v-14e46c45"]]);
31
+ }), B = /* @__PURE__ */ _(k, [["__scopeId", "data-v-836136e5"]]);
32
32
  export {
33
33
  B as default
34
34
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as f, ref as a, onMounted as m, nextTick as s, withDirectives as v, openBlock as d, createElementBlock as y, vModelText as _ } from "vue";
2
- import { _ as k } from "./index-Hqg3-HB7.js";
1
+ import { defineComponent as f, ref as i, onMounted as m, nextTick as s, withDirectives as d, openBlock as v, createElementBlock as y, vModelText as _ } from "vue";
2
+ import { _ as k } from "./index-DQph5iTq.js";
3
3
  const x = /* @__PURE__ */ f({
4
4
  __name: "FieldUrl",
5
5
  props: {
@@ -7,28 +7,28 @@ const x = /* @__PURE__ */ f({
7
7
  field: {}
8
8
  },
9
9
  emits: ["commit", "cancel", "tabNext"],
10
- setup(i, { emit: u }) {
11
- const c = i, t = u, o = a(null), n = a(String(c.value ?? ""));
10
+ setup(u, { emit: a }) {
11
+ const p = u, t = a, o = i(null), n = i(String(p.value ?? ""));
12
12
  m(() => s(() => {
13
13
  var e;
14
14
  return (e = o.value) == null ? void 0 : e.focus();
15
15
  }));
16
- function p(e) {
16
+ function c(e) {
17
17
  e.key === "Enter" && (e.preventDefault(), t("commit", n.value)), e.key === "Escape" && (e.preventDefault(), t("cancel")), e.key === "Tab" && (e.preventDefault(), t("commit", n.value), t("tabNext"));
18
18
  }
19
- return (e, l) => v((d(), y("input", {
19
+ return (e, l) => d((v(), y("input", {
20
20
  ref_key: "inputRef",
21
21
  ref: o,
22
22
  class: "of-field-input",
23
23
  type: "url",
24
24
  "onUpdate:modelValue": l[0] || (l[0] = (r) => n.value = r),
25
- onKeydown: p,
25
+ onKeydown: c,
26
26
  onBlur: l[1] || (l[1] = (r) => t("commit", n.value))
27
27
  }, null, 544)), [
28
28
  [_, n.value]
29
29
  ]);
30
30
  }
31
- }), D = /* @__PURE__ */ k(x, [["__scopeId", "data-v-7c8b4ad8"]]);
31
+ }), D = /* @__PURE__ */ k(x, [["__scopeId", "data-v-8d4527db"]]);
32
32
  export {
33
33
  D as default
34
34
  };
@@ -30,7 +30,7 @@ declare function __VLS_template(): {
30
30
  }) => unknown;
31
31
  };
32
32
  refs: {};
33
- rootEl: HTMLDivElement;
33
+ rootEl: any;
34
34
  };
35
35
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
36
  declare const __VLS_component: import('vue').DefineComponent<AccordionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -41,7 +41,7 @@ declare const __VLS_component: import('vue').DefineComponent<AccordionProps, {},
41
41
  modelValue: string | string[];
42
42
  multiple: boolean;
43
43
  lazy: boolean;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
45
45
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
46
  export default _default;
47
47
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -7,5 +7,5 @@ export interface AvatarProps {
7
7
  }
8
8
  declare const _default: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
9
9
  size: number;
10
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
@@ -13,12 +13,12 @@ declare function __VLS_template(): {
13
13
  default?: () => VNode[];
14
14
  };
15
15
  refs: {};
16
- rootEl: HTMLSpanElement;
16
+ rootEl: any;
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
20
20
  size: "sm" | "md";
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
23
  export default _default;
24
24
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  export interface ChainItemProps {
2
- type?: 'source' | 'result';
2
+ type?: "source" | "result";
3
3
  title: string;
4
4
  description?: string;
5
5
  avatar?: string;
@@ -10,5 +10,5 @@ export interface ChainItemProps {
10
10
  }
11
11
  declare const _default: import('vue').DefineComponent<ChainItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ChainItemProps> & Readonly<{}>, {
12
12
  type: "source" | "result";
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -21,5 +21,8 @@ export interface MenuItem {
21
21
  type __VLS_Props = {
22
22
  items: MenuItem[];
23
23
  };
24
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
+ triggerRef: HTMLButtonElement;
26
+ menuRef: HTMLDivElement;
27
+ }, any>;
25
28
  export default _default;
@@ -22,5 +22,5 @@ type __VLS_Props = {
22
22
  description?: string;
23
23
  action?: EmptyStateAction;
24
24
  };
25
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
25
+ declare const _default: 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>;
26
26
  export default _default;
@@ -27,7 +27,7 @@ declare function __VLS_template(): {
27
27
  icon?: () => VNode[];
28
28
  };
29
29
  refs: {};
30
- rootEl: HTMLDivElement;
30
+ rootEl: any;
31
31
  };
32
32
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
33
  declare const __VLS_component: import('vue').DefineComponent<InfoCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -39,7 +39,7 @@ declare const __VLS_component: import('vue').DefineComponent<InfoCardProps, {},
39
39
  contentLines: number;
40
40
  importance: "normal" | "high";
41
41
  unread: boolean;
42
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
44
  export default _default;
45
45
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -15,5 +15,5 @@ declare const _default: import('vue').DefineComponent<MonitorItemProps, {}, {},
15
15
  clickable: boolean;
16
16
  subtitle: string;
17
17
  count: string;
18
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
19
  export default _default;
@@ -19,7 +19,7 @@ declare function __VLS_template(): {
19
19
  default?(_: {}): any;
20
20
  };
21
21
  refs: {};
22
- rootEl: HTMLDivElement;
22
+ rootEl: any;
23
23
  };
24
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
25
  declare const __VLS_component: import('vue').DefineComponent<PersonaCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -34,7 +34,7 @@ declare const __VLS_component: import('vue').DefineComponent<PersonaCardProps, {
34
34
  active: boolean;
35
35
  disabled: boolean;
36
36
  expanded: boolean;
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
39
  export default _default;
40
40
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
15
15
  default?: () => VNodeChild;
16
16
  };
17
17
  refs: {};
18
- rootEl: HTMLDivElement;
18
+ rootEl: any;
19
19
  };
20
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
21
  declare const __VLS_component: import('vue').DefineComponent<ProgressBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
@@ -23,7 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<ProgressBarProps, {
23
23
  bgColor: string;
24
24
  showLabel: boolean;
25
25
  borderRadius: number;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
28
  export default _default;
29
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,18 +1,3 @@
1
- /**
2
- * RangeSlider 组件 - 范围滑块输入
3
- *
4
- * 用于快速创建 label + range input + description 三件套
5
- *
6
- * @example
7
- * <RangeSlider
8
- * label="最大长度"
9
- * v-model="maxLength"
10
- * :min="100"
11
- * :max="2000"
12
- * :step="100"
13
- * description="调整文本长度限制"
14
- * />
15
- */
16
1
  type __VLS_Props = {
17
2
  label: string;
18
3
  modelValue: number;
@@ -25,5 +10,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
25
10
  "update:modelValue": (value: number) => any;
26
11
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
27
12
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
28
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
14
  export default _default;
@@ -20,7 +20,7 @@ declare function __VLS_template(): {
20
20
  "header-extra"?: () => unknown;
21
21
  };
22
22
  refs: {};
23
- rootEl: HTMLDivElement;
23
+ rootEl: any;
24
24
  };
25
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
26
  declare const __VLS_component: import('vue').DefineComponent<SectionBlockProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -37,7 +37,7 @@ declare const __VLS_component: import('vue').DefineComponent<SectionBlockProps,
37
37
  collapsed: boolean;
38
38
  editable: boolean;
39
39
  statusLabels: Record<string, string>;
40
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
41
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
42
  export default _default;
43
43
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -16,7 +16,7 @@ declare function __VLS_template(): {
16
16
  default?: () => VNode[];
17
17
  };
18
18
  refs: {};
19
- rootEl: HTMLSpanElement;
19
+ rootEl: any;
20
20
  };
21
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
22
  declare const __VLS_component: import('vue').DefineComponent<SelectBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -26,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<SelectBadgeProps, {
26
26
  }>, {
27
27
  dot: boolean;
28
28
  clickable: boolean;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
31
  export default _default;
32
32
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,22 +1,9 @@
1
1
  import { Component } from 'vue';
2
- /**
3
- * StatisticCard 组件 - 统计卡片
4
- *
5
- * 用于在仪表板中展示统计数据
6
- *
7
- * @example
8
- * <StatisticCard
9
- * icon="database"
10
- * icon-color="blue"
11
- * value="1,234"
12
- * label="知识库数量"
13
- * />
14
- */
15
2
  type __VLS_Props = {
16
3
  icon: string | Component;
17
4
  iconColor?: "blue" | "green" | "orange" | "red" | "purple";
18
5
  value: string | number;
19
6
  label: string;
20
7
  };
21
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ declare const _default: 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>;
22
9
  export default _default;
@@ -15,14 +15,14 @@ declare function __VLS_template(): {
15
15
  }): any;
16
16
  };
17
17
  refs: {};
18
- rootEl: HTMLSpanElement;
18
+ rootEl: any;
19
19
  };
20
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
21
  declare const __VLS_component: import('vue').DefineComponent<StatusIndicatorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatusIndicatorProps> & Readonly<{}>, {
22
22
  size: "sm" | "md";
23
23
  color: string;
24
24
  label: string;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
27
  export default _default;
28
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -19,13 +19,13 @@ declare function __VLS_template(): {
19
19
  extra?: () => VNode[];
20
20
  };
21
21
  refs: {};
22
- rootEl: HTMLDivElement;
22
+ rootEl: any;
23
23
  };
24
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
25
  declare const __VLS_component: import('vue').DefineComponent<StatusSummaryProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatusSummaryProps> & Readonly<{}>, {
26
26
  size: "sm" | "md";
27
27
  separator: boolean;
28
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
30
  export default _default;
31
31
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -24,12 +24,12 @@ declare function __VLS_template(): {
24
24
  }) => unknown;
25
25
  };
26
26
  refs: {};
27
- rootEl: HTMLDivElement;
27
+ rootEl: any;
28
28
  };
29
29
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
30
  declare const __VLS_component: import('vue').DefineComponent<StepperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StepperProps> & Readonly<{}>, {
31
31
  direction: "horizontal" | "vertical";
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
34
  export default _default;
35
35
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -14,5 +14,5 @@ declare const _default: import('vue').DefineComponent<SwitchProps, {}, {}, {}, {
14
14
  size: "sm" | "md";
15
15
  label: string;
16
16
  disabled: boolean;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
18
  export default _default;
@@ -7,5 +7,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
7
7
  click: (event: MouseEvent) => any;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onClick?: ((event: MouseEvent) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;