@oneflowui/ui 0.5.9 → 0.7.0

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 (134) hide show
  1. package/README.en.md +19 -0
  2. package/README.md +23 -0
  3. package/dist/components/Dashboard/charts/BarChart.vue.js +2 -2
  4. package/dist/components/Dashboard/charts/BarChart.vue2.js +56 -23
  5. package/dist/components/Dashboard/charts/NumberCard.vue.js +2 -2
  6. package/dist/components/Dashboard/charts/NumberCard.vue2.js +14 -14
  7. package/dist/components/Dashboard/charts/PieChart.vue.js +1 -1
  8. package/dist/components/Dashboard/charts/PieChart.vue2.js +49 -23
  9. package/dist/components/Dashboard/charts/TableChart.vue.js +1 -1
  10. package/dist/components/Dashboard/index.vue.d.ts +3 -1
  11. package/dist/components/Dashboard/index.vue.js +2 -2
  12. package/dist/components/Dashboard/index.vue2.js +59 -30
  13. package/dist/components/ai/AiMessageBubble.vue.js +3 -3
  14. package/dist/components/ai/AiSender.vue.js +2 -2
  15. package/dist/components/ai/AiThinking.vue.js +1 -1
  16. package/dist/components/ai/UserMessageBubble.vue.js +3 -3
  17. package/dist/components/auxiliary/ColorPanel.vue.js +3 -3
  18. package/dist/components/auxiliary/ColorPanel.vue2.js +9 -9
  19. package/dist/components/auxiliary/FileUpload.vue.js +2 -2
  20. package/dist/components/auxiliary/PersonPanel.vue.js +1 -1
  21. package/dist/components/auxiliary/PersonPanel.vue2.js +10 -10
  22. package/dist/components/base/Accordion.vue.js +1 -1
  23. package/dist/components/base/Avatar.vue.js +3 -3
  24. package/dist/components/base/Avatar.vue2.js +43 -43
  25. package/dist/components/base/Badge.vue.js +1 -1
  26. package/dist/components/base/Badge.vue2.js +35 -35
  27. package/dist/components/base/ButtonGroup.vue.js +2 -2
  28. package/dist/components/base/ChainItem.vue.js +2 -2
  29. package/dist/components/base/ChainItem.vue2.js +30 -30
  30. package/dist/components/base/DescBlock.vue.js +3 -3
  31. package/dist/components/base/DropdownMenu.vue.js +2 -2
  32. package/dist/components/base/EmptyState.vue.js +1 -1
  33. package/dist/components/base/InfoCard.vue.js +2 -2
  34. package/dist/components/base/InfoCard.vue2.js +66 -66
  35. package/dist/components/base/MonitorItem.vue.js +1 -1
  36. package/dist/components/base/MonitorItem.vue2.js +16 -16
  37. package/dist/components/base/PersonaCard.vue.js +1 -1
  38. package/dist/components/base/PersonaCard.vue2.js +81 -81
  39. package/dist/components/base/ProgressBar.vue.js +2 -2
  40. package/dist/components/base/ProgressBar.vue2.js +16 -16
  41. package/dist/components/base/RangeSlider.vue.js +1 -1
  42. package/dist/components/base/RefTag.vue.js +2 -2
  43. package/dist/components/base/RefTag.vue2.js +20 -20
  44. package/dist/components/base/SearchHighlight.vue.js +1 -1
  45. package/dist/components/base/SectionBlock.vue.js +1 -1
  46. package/dist/components/base/SectionBlock.vue2.js +44 -44
  47. package/dist/components/base/StatisticCard.vue.js +2 -2
  48. package/dist/components/base/StatisticCard.vue2.js +24 -24
  49. package/dist/components/base/StatusIndicator.vue.js +2 -2
  50. package/dist/components/base/StatusIndicator.vue2.js +30 -30
  51. package/dist/components/base/StatusSummary.vue.js +2 -2
  52. package/dist/components/base/StatusSummary.vue2.js +23 -23
  53. package/dist/components/base/Stepper.vue.js +2 -2
  54. package/dist/components/base/Switch.vue.js +2 -2
  55. package/dist/components/base/ToolbarBtn.vue.js +1 -1
  56. package/dist/components/base/ViewModeGroup.vue.js +3 -3
  57. package/dist/components/base/ViewSwitcher.vue.js +2 -2
  58. package/dist/components/base/ViewTab.vue.js +4 -4
  59. package/dist/components/breadcrumb/Breadcrumb.vue.js +2 -2
  60. package/dist/components/breadcrumb/BreadcrumbItem.vue.js +1 -1
  61. package/dist/components/database/DatabaseView.vue.js +2 -2
  62. package/dist/components/database/DatabaseView.vue2.js +482 -412
  63. package/dist/components/detail/CommentItem.vue.js +2 -2
  64. package/dist/components/detail/CommentItem.vue2.js +8 -8
  65. package/dist/components/detail/DetailLayout.vue.d.ts +12 -1
  66. package/dist/components/detail/DetailLayout.vue.js +2 -2
  67. package/dist/components/detail/DetailLayout.vue2.js +115 -68
  68. package/dist/components/editor/BlockQuote.vue.js +2 -2
  69. package/dist/components/editor/CodeBlock.vue.js +2 -2
  70. package/dist/components/editor/ContentBlock.vue.js +2 -2
  71. package/dist/components/editor/RefLink.vue.js +2 -2
  72. package/dist/components/editor/RichTextEditor.vue.js +1 -1
  73. package/dist/components/field/FieldAttachment.vue.js +1 -1
  74. package/dist/components/field/FieldCreator.vue.js +1 -1
  75. package/dist/components/field/FieldCurrency.vue.js +2 -2
  76. package/dist/components/field/FieldMarkdownPreview.vue.js +2 -2
  77. package/dist/components/field/FieldMultiSelect.vue.js +2 -2
  78. package/dist/components/field/FieldProgress.vue.js +2 -2
  79. package/dist/components/field/FieldRating.vue.js +2 -2
  80. package/dist/components/field/FieldRelation.vue.js +1 -1
  81. package/dist/components/field/FieldRichText.vue.js +1 -1
  82. package/dist/components/field/FieldSelect.vue.js +2 -2
  83. package/dist/components/gallery/GalleryCard.vue.js +2 -2
  84. package/dist/components/gallery/GalleryCard.vue2.js +34 -30
  85. package/dist/components/gallery/GalleryView.vue.d.ts +3 -1
  86. package/dist/components/gallery/GalleryView.vue.js +1 -1
  87. package/dist/components/gallery/GalleryView.vue2.js +51 -27
  88. package/dist/components/kanban/KanbanBoard.vue.js +4 -4
  89. package/dist/components/kanban/KanbanCard.vue.js +2 -2
  90. package/dist/components/kanban/KanbanColumn.vue.js +2 -2
  91. package/dist/components/kanban/KanbanColumn.vue2.js +16 -16
  92. package/dist/components/kanban/QuickAddRow.vue.js +1 -1
  93. package/dist/components/layout/AppLayout.vue.js +2 -2
  94. package/dist/components/layout/Navbar.vue.js +3 -3
  95. package/dist/components/layout/Sidebar.vue.js +2 -2
  96. package/dist/components/layout/StatusBar.vue.js +2 -2
  97. package/dist/components/mermaid/MermaidChart.vue.js +2 -2
  98. package/dist/components/overlay/Dialog.vue.js +2 -2
  99. package/dist/components/overlay/Drawer.vue.d.ts +2 -0
  100. package/dist/components/overlay/Drawer.vue.js +2 -2
  101. package/dist/components/overlay/Drawer.vue2.js +25 -24
  102. package/dist/components/overlay/Modal.vue.js +1 -1
  103. package/dist/components/overlay/SidePanel.vue.js +2 -2
  104. package/dist/components/overlay/SidePanel.vue2.js +3 -2
  105. package/dist/components/split/SplitPane.vue.js +2 -2
  106. package/dist/components/table/ColumnHeaderMenu.vue.js +1 -1
  107. package/dist/components/table/DataTable.vue.d.ts +26 -2
  108. package/dist/components/table/DataTable.vue.js +2 -2
  109. package/dist/components/table/DataTable.vue2.js +738 -603
  110. package/dist/components/table/DetailSheet.vue.js +1 -1
  111. package/dist/components/table/FieldCell.vue.js +2 -2
  112. package/dist/components/table/FieldCell.vue2.js +26 -24
  113. package/dist/components/table/FieldTypePicker.vue.js +4 -4
  114. package/dist/components/table/MobileListView.vue.js +2 -2
  115. package/dist/components/table/NewRowBtn.vue.js +2 -2
  116. package/dist/components/table/TableColumnManager.vue.js +2 -2
  117. package/dist/components/table/TableDataRow.vue.d.ts +19 -0
  118. package/dist/components/table/TableDataRow.vue.js +1 -1
  119. package/dist/components/table/TableDataRow.vue2.js +110 -73
  120. package/dist/components/table/TableFilterPanel.vue.js +2 -2
  121. package/dist/components/table/TableGroupRow.vue.js +2 -2
  122. package/dist/components/table/TableHeaderRow.vue.js +2 -2
  123. package/dist/components/table/TableToolbar.vue.js +2 -2
  124. package/dist/components/tabs/Tabs.vue.js +1 -1
  125. package/dist/components/timeline/ActivityTimeline.vue.js +1 -1
  126. package/dist/components/timeline/ActivityTimeline.vue2.js +27 -27
  127. package/dist/components/timeline/GanttRow.vue.js +2 -2
  128. package/dist/components/timeline/GanttRow.vue2.js +21 -18
  129. package/dist/components/timeline/GanttTimeline.vue.js +2 -2
  130. package/dist/components/toast/ToastItem.vue.js +2 -2
  131. package/dist/components/toast/ToastItem.vue2.js +39 -39
  132. package/dist/plugin.js +5 -3
  133. package/dist/style.css +1 -1
  134. package/package.json +1 -1
@@ -11,8 +11,8 @@ const C = { class: "of-person-panel__row" }, B = ["src", "alt"], N = { key: 1 },
11
11
  disabled: { type: Boolean }
12
12
  },
13
13
  emits: ["update:modelValue", "change"],
14
- setup(n, { emit: _ }) {
15
- const c = n, u = _, r = p({
14
+ setup(s, { emit: _ }) {
15
+ const c = s, u = _, r = p({
16
16
  get: () => c.modelValue,
17
17
  set: (a) => {
18
18
  u("update:modelValue", a), u("change", a);
@@ -23,15 +23,15 @@ const C = { class: "of-person-panel__row" }, B = ["src", "alt"], N = { key: 1 },
23
23
  function f(a) {
24
24
  return (a || "?").trim().slice(0, 1).toUpperCase();
25
25
  }
26
- return (a, s) => (e(), l("div", {
27
- class: b(["of-person-panel", { disabled: n.disabled }])
26
+ return (a, n) => (e(), l("div", {
27
+ class: b(["of-person-panel", { disabled: s.disabled }])
28
28
  }, [
29
- s[1] || (s[1] = d("span", { class: "of-person-panel__label" }, "负责人", -1)),
29
+ n[1] || (n[1] = d("span", { class: "of-person-panel__label" }, "负责人", -1)),
30
30
  d("div", C, [
31
31
  o.value ? (e(), l("div", {
32
32
  key: 0,
33
33
  class: "of-person-panel__avatar",
34
- style: k({ background: o.value.color || "var(--of-color-primary-500)" })
34
+ style: k({ background: o.value.color || "var(--of-surface-selected)" })
35
35
  }, [
36
36
  o.value.avatar ? (e(), l("img", {
37
37
  key: 0,
@@ -40,13 +40,13 @@ const C = { class: "of-person-panel__row" }, B = ["src", "alt"], N = { key: 1 },
40
40
  }, null, 8, B)) : (e(), l("span", N, i(f(o.value.name)), 1))
41
41
  ], 4)) : (e(), l("div", P, "-")),
42
42
  h(d("select", {
43
- "onUpdate:modelValue": s[0] || (s[0] = (t) => r.value = t),
43
+ "onUpdate:modelValue": n[0] || (n[0] = (t) => r.value = t),
44
44
  class: "of-person-panel__select",
45
45
  "aria-label": "负责人",
46
- disabled: n.disabled
46
+ disabled: s.disabled
47
47
  }, [
48
- d("option", w, i(n.placeholder), 1),
49
- (e(!0), l(m, null, V(n.people, (t) => (e(), l("option", {
48
+ d("option", w, i(s.placeholder), 1),
49
+ (e(!0), l(m, null, V(s.people, (t) => (e(), l("option", {
50
50
  key: t.id,
51
51
  value: t.id
52
52
  }, [
@@ -1,7 +1,7 @@
1
1
  import o from "./Accordion.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6e41a457"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-062c67ea"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import f from "./Avatar.vue2.js";
1
+ import o from "./Avatar.vue2.js";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(f, [["__scopeId", "data-v-f1ff554f"]]);
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-29ae0fc9"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as v, computed as c, openBlock as p, createElementBlock as i, mergeProps as d, toDisplayString as u } from "vue";
2
- const F = /* @__PURE__ */ v({
1
+ import { defineComponent as g, computed as l, openBlock as d, createElementBlock as i, mergeProps as p, toDisplayString as b } from "vue";
2
+ const h = /* @__PURE__ */ g({
3
3
  name: "Avatar",
4
4
  inheritAttrs: !1,
5
5
  __name: "Avatar",
@@ -11,62 +11,62 @@ const F = /* @__PURE__ */ v({
11
11
  role: { default: void 0 }
12
12
  },
13
13
  setup(n) {
14
- const r = n, a = {
15
- BE: { color: "var(--of-role-be-text, #4F46E5)", bg: "var(--of-role-be-bg, #EEF2FF)" },
16
- FE: { color: "var(--of-role-fe-text, #059669)", bg: "var(--of-role-fe-bg, #ECFDF5)" },
17
- PM: { color: "var(--of-role-pm-text, #db2777)", bg: "var(--of-role-pm-bg, #fce7f3)" },
18
- DBA: { color: "var(--of-role-dba-text, #c2410c)", bg: "var(--of-role-dba-bg, #fff7ed)" },
19
- ARCH: { color: "var(--of-role-arch-text, #7C3AED)", bg: "var(--of-role-arch-bg, #F5F3FF)" },
20
- OPM: { color: "var(--of-role-pm-text, #db2777)", bg: "var(--of-role-pm-bg, #fce7f3)" }
21
- }, l = [
22
- { color: "var(--of-role-be-text, #4F46E5)", bg: "var(--of-role-be-bg, #EEF2FF)" },
23
- { color: "var(--of-role-fe-text, #059669)", bg: "var(--of-role-fe-bg, #ECFDF5)" },
24
- { color: "var(--of-role-pm-text, #db2777)", bg: "var(--of-role-pm-bg, #fce7f3)" },
25
- { color: "var(--of-role-dba-text, #c2410c)", bg: "var(--of-role-dba-bg, #fff7ed)" },
26
- { color: "var(--of-role-arch-text, #7C3AED)", bg: "var(--of-role-arch-bg, #F5F3FF)" },
27
- { color: "var(--of-role-pm-text, #db2777)", bg: "var(--of-role-pm-bg, #fce7f3)" }
14
+ const r = n, t = {
15
+ BE: { color: "var(--of-accent-strong)", bg: "var(--of-surface-selected)" },
16
+ FE: { color: "var(--of-text-strong)", bg: "var(--of-surface-panel)" },
17
+ PM: { color: "var(--of-text-primary)", bg: "var(--of-surface-muted)" },
18
+ DBA: { color: "var(--of-accent-default)", bg: "var(--of-surface-elevated)" },
19
+ ARCH: { color: "var(--of-text-secondary)", bg: "var(--of-surface-selected)" },
20
+ OPM: { color: "var(--of-text-primary)", bg: "var(--of-surface-muted)" }
21
+ }, c = [
22
+ { color: "var(--of-accent-default)", bg: "var(--of-surface-muted)" },
23
+ { color: "var(--of-accent-strong)", bg: "var(--of-surface-panel)" },
24
+ { color: "var(--of-text-primary)", bg: "var(--of-surface-selected)" },
25
+ { color: "var(--of-text-secondary)", bg: "var(--of-surface-elevated)" },
26
+ { color: "var(--of-text-strong)", bg: "var(--of-surface-muted)" },
27
+ { color: "var(--of-accent-default)", bg: "var(--of-surface-panel)" }
28
28
  ];
29
- function b(o) {
30
- let e = 0;
31
- for (let t = 0; t < o.length; t++)
32
- e = (e << 5) - e + o.charCodeAt(t), e |= 0;
33
- return Math.abs(e);
29
+ function f(e) {
30
+ let o = 0;
31
+ for (let a = 0; a < e.length; a++)
32
+ o = (o << 5) - o + e.charCodeAt(a), o |= 0;
33
+ return Math.abs(o);
34
34
  }
35
- const f = c(() => {
36
- var t;
35
+ const s = l(() => {
36
+ var a;
37
37
  if (r.color && r.bg)
38
38
  return { color: r.color, bg: r.bg };
39
- const o = (t = r.role) == null ? void 0 : t.toUpperCase();
40
- if (o && a[o])
39
+ const e = (a = r.role) == null ? void 0 : a.toUpperCase();
40
+ if (e && t[e])
41
41
  return {
42
- color: r.color || a[o].color,
43
- bg: r.bg || a[o].bg
42
+ color: r.color || t[e].color,
43
+ bg: r.bg || t[e].bg
44
44
  };
45
- const e = b(r.name) % l.length;
45
+ const o = f(r.name) % c.length;
46
46
  return {
47
- color: r.color || l[e].color,
48
- bg: r.bg || l[e].bg
47
+ color: r.color || c[o].color,
48
+ bg: r.bg || c[o].bg
49
49
  };
50
- }), s = c(() => {
50
+ }), u = l(() => {
51
51
  if (r.role)
52
52
  return r.role.slice(0, 2).toUpperCase();
53
- const o = r.name.trim();
54
- return o ? /[\u4e00-\u9fff]/.test(o.charAt(0)) ? o.charAt(0) : o.replace(/[^a-zA-Z]/g, "").slice(0, 2).toUpperCase() : "";
55
- }), g = c(() => {
56
- const o = r.size, e = Math.round(o * 0.36);
53
+ const e = r.name.trim();
54
+ return e ? /[\u4e00-\u9fff]/.test(e.charAt(0)) ? e.charAt(0) : e.replace(/[^a-zA-Z]/g, "").slice(0, 2).toUpperCase() : "";
55
+ }), v = l(() => {
56
+ const e = r.size, o = Math.round(e * 0.36);
57
57
  return {
58
- "--one-avatar-size": `${o}px`,
59
- "--one-avatar-bg": f.value.bg,
60
- "--one-avatar-color": f.value.color,
61
- "--one-avatar-font-size": `${e}px`
58
+ "--one-avatar-size": `${e}px`,
59
+ "--one-avatar-bg": s.value.bg,
60
+ "--one-avatar-color": s.value.color,
61
+ "--one-avatar-font-size": `${o}px`
62
62
  };
63
63
  });
64
- return (o, e) => (p(), i("span", d({
64
+ return (e, o) => (d(), i("span", p({
65
65
  class: "one-avatar",
66
- style: g.value
67
- }, o.$attrs), u(s.value), 17));
66
+ style: v.value
67
+ }, e.$attrs), b(u.value), 17));
68
68
  }
69
69
  });
70
70
  export {
71
- F as default
71
+ h as default
72
72
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Badge.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d612270f"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c1252ffd"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as n, computed as d, openBlock as u, createElementBlock as f, mergeProps as l, renderSlot as c } from "vue";
2
- const p = /* @__PURE__ */ n({
1
+ import { defineComponent as u, computed as a, openBlock as c, createElementBlock as f, mergeProps as b, renderSlot as l } from "vue";
2
+ const i = /* @__PURE__ */ u({
3
3
  inheritAttrs: !1,
4
4
  __name: "Badge",
5
5
  props: {
@@ -8,63 +8,63 @@ const p = /* @__PURE__ */ n({
8
8
  size: { default: "md" }
9
9
  },
10
10
  setup(o) {
11
- const r = o, a = {
11
+ const e = o, t = {
12
12
  default: {
13
- background: "var(--of-badge-gray-bg)",
14
- text: "var(--of-badge-gray-text)",
15
- border: "var(--of-badge-gray-border)"
13
+ background: "var(--of-surface-muted)",
14
+ text: "var(--of-text-secondary)",
15
+ border: "var(--of-border-subtle)"
16
16
  },
17
17
  blue: {
18
- background: "var(--of-badge-blue-bg)",
19
- text: "var(--of-badge-blue-text)",
20
- border: "var(--of-badge-blue-border)"
18
+ background: "var(--of-surface-selected)",
19
+ text: "var(--of-accent-strong)",
20
+ border: "var(--of-border-subtle)"
21
21
  },
22
22
  green: {
23
- background: "var(--of-badge-green-bg)",
24
- text: "var(--of-badge-green-text)",
25
- border: "var(--of-badge-green-border)"
23
+ background: "var(--of-surface-panel)",
24
+ text: "var(--of-text-strong)",
25
+ border: "var(--of-border-subtle)"
26
26
  },
27
27
  orange: {
28
- background: "var(--of-badge-orange-bg)",
29
- text: "var(--of-badge-orange-text)",
30
- border: "var(--of-badge-orange-border)"
28
+ background: "var(--of-surface-muted)",
29
+ text: "var(--of-text-primary)",
30
+ border: "var(--of-border-strong)"
31
31
  },
32
32
  red: {
33
- background: "var(--of-badge-red-bg)",
34
- text: "var(--of-badge-red-text)",
35
- border: "var(--of-badge-red-border)"
33
+ background: "var(--of-surface-selected)",
34
+ text: "var(--of-text-strong)",
35
+ border: "var(--of-border-strong)"
36
36
  },
37
37
  purple: {
38
- background: "var(--of-badge-purple-bg)",
39
- text: "var(--of-badge-purple-text)",
40
- border: "var(--of-badge-purple-border)"
38
+ background: "var(--of-surface-panel)",
39
+ text: "var(--of-text-secondary)",
40
+ border: "var(--of-border-subtle)"
41
41
  },
42
42
  gray: {
43
- background: "var(--of-badge-gray-bg)",
44
- text: "var(--of-badge-gray-text)",
45
- border: "var(--of-badge-gray-border)"
43
+ background: "var(--of-surface-muted)",
44
+ text: "var(--of-text-secondary)",
45
+ border: "var(--of-border-subtle)"
46
46
  }
47
- }, t = {
47
+ }, d = {
48
48
  P0: "red",
49
49
  P1: "orange",
50
50
  P2: "blue",
51
51
  P3: "green"
52
- }, b = d(() => r.priority ? t[r.priority] : r.color ? r.color in a ? r.color : "default" : "gray"), g = d(() => {
53
- const e = a[b.value];
52
+ }, n = a(() => e.priority ? d[e.priority] : e.color ? e.color in t ? e.color : "default" : "gray"), s = a(() => {
53
+ const r = t[n.value];
54
54
  return {
55
- "--one-badge-bg": e.background,
56
- "--one-badge-color": e.text,
57
- "--one-badge-border": e.border
55
+ "--one-badge-bg": r.background,
56
+ "--one-badge-color": r.text,
57
+ "--one-badge-border": r.border
58
58
  };
59
59
  });
60
- return (e, v) => (u(), f("span", l({
60
+ return (r, g) => (c(), f("span", b({
61
61
  class: ["one-badge", `one-badge--${o.size}`],
62
- style: g.value
63
- }, e.$attrs), [
64
- c(e.$slots, "default", {}, void 0, !0)
62
+ style: s.value
63
+ }, r.$attrs), [
64
+ l(r.$slots, "default", {}, void 0, !0)
65
65
  ], 16));
66
66
  }
67
67
  });
68
68
  export {
69
- p as default
69
+ i as default
70
70
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ButtonGroup.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c13fafa6"]]);
4
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c8222931"]]);
5
5
  export {
6
- p as default
6
+ _ as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ChainItem.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-329c8055"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-33f87d67"]]);
5
5
  export {
6
- p as default
6
+ f as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as h, computed as e, openBlock as l, createElementBlock as c, mergeProps as y, createElementVNode as s, normalizeStyle as d, toDisplayString as t, createCommentVNode as u } from "vue";
2
- const F = { class: "one-chain-item__header" }, B = {
1
+ import { defineComponent as h, computed as e, openBlock as l, createElementBlock as c, mergeProps as C, createElementVNode as s, normalizeStyle as d, toDisplayString as r, createCommentVNode as u } from "vue";
2
+ const _ = { class: "one-chain-item__header" }, B = {
3
3
  key: 0,
4
4
  class: "one-chain-item__duration"
5
- }, A = /* @__PURE__ */ h({
5
+ }, S = /* @__PURE__ */ h({
6
6
  inheritAttrs: !1,
7
7
  __name: "ChainItem",
8
8
  props: {
@@ -15,54 +15,54 @@ const F = { class: "one-chain-item__header" }, B = {
15
15
  bg: { default: void 0 },
16
16
  borderColor: { default: void 0 }
17
17
  },
18
- setup(o) {
19
- const r = o, i = {
18
+ setup(a) {
19
+ const t = a, i = {
20
20
  source: {
21
- color: "var(--of-badge-purple-text, #7C3AED)",
22
- bg: "var(--of-badge-purple-bg, #F9F0FF)",
23
- border: "var(--of-badge-purple-border, #E9D5FF)",
24
- avatarBg: "var(--of-badge-purple-border, #E9D5FF)",
25
- descColor: "var(--of-badge-purple-text, #6B21A8)",
21
+ color: "var(--of-accent-strong)",
22
+ bg: "var(--of-surface-panel)",
23
+ border: "var(--of-border-subtle)",
24
+ avatarBg: "var(--of-surface-selected)",
25
+ descColor: "var(--of-text-secondary)",
26
26
  defaultAvatar: "A"
27
27
  },
28
28
  result: {
29
- color: "var(--of-color-success, #22C55E)",
30
- bg: "var(--of-color-success-light, #F6FFED)",
31
- border: "var(--of-color-success-border, #B7EB8F)",
32
- avatarBg: "var(--of-color-success-border, #B7EB8F)",
33
- descColor: "var(--of-color-success-dark, #165E26)",
29
+ color: "var(--of-accent-default)",
30
+ bg: "var(--of-surface-muted)",
31
+ border: "var(--of-border-subtle)",
32
+ avatarBg: "var(--of-surface-selected)",
33
+ descColor: "var(--of-text-primary)",
34
34
  defaultAvatar: "✓"
35
35
  }
36
- }, a = e(() => i[r.type || "source"]), n = e(() => r.color || a.value.color), v = e(() => r.bg || a.value.bg), f = e(() => r.borderColor || a.value.border), b = e(() => a.value.descColor), p = e(() => r.avatar || a.value.defaultAvatar), g = e(() => ({
36
+ }, o = e(() => i[t.type || "source"]), n = e(() => t.color || o.value.color), v = e(() => t.bg || o.value.bg), f = e(() => t.borderColor || o.value.border), m = e(() => o.value.descColor), b = e(() => t.avatar || o.value.defaultAvatar), y = e(() => ({
37
37
  background: v.value,
38
38
  borderColor: f.value
39
- })), m = e(() => ({
40
- backgroundColor: a.value.avatarBg,
39
+ })), g = e(() => ({
40
+ backgroundColor: o.value.avatarBg,
41
41
  color: n.value
42
42
  }));
43
- return (C, E) => (l(), c("div", y({
43
+ return (p, k) => (l(), c("div", C({
44
44
  class: "one-chain-item",
45
- style: g.value
46
- }, C.$attrs), [
47
- s("div", F, [
45
+ style: y.value
46
+ }, p.$attrs), [
47
+ s("div", _, [
48
48
  s("span", {
49
49
  class: "one-chain-item__avatar",
50
- style: d(m.value)
51
- }, t(p.value), 5),
50
+ style: d(g.value)
51
+ }, r(b.value), 5),
52
52
  s("span", {
53
53
  class: "one-chain-item__title",
54
54
  style: d({ color: n.value })
55
- }, t(o.title), 5),
56
- o.duration ? (l(), c("span", B, t(o.duration), 1)) : u("", !0)
55
+ }, r(a.title), 5),
56
+ a.duration ? (l(), c("span", B, r(a.duration), 1)) : u("", !0)
57
57
  ]),
58
- o.description ? (l(), c("div", {
58
+ a.description ? (l(), c("div", {
59
59
  key: 0,
60
60
  class: "one-chain-item__desc",
61
- style: d({ color: b.value })
62
- }, t(o.description), 5)) : u("", !0)
61
+ style: d({ color: m.value })
62
+ }, r(a.description), 5)) : u("", !0)
63
63
  ], 16));
64
64
  }
65
65
  });
66
66
  export {
67
- A as default
67
+ S as default
68
68
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./DescBlock.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3d0716d4"]]);
3
+ import c from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ c(o, [["__scopeId", "data-v-2ce164cb"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./DropdownMenu.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a8f0ddac"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0531c21a"]]);
5
5
  export {
6
- d as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./EmptyState.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-a4f8b1ed"]]);
4
+ const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-20f94f3d"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./InfoCard.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e865ef8d"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-3d068732"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };