@oneflowui/ui 0.5.9 → 0.6.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 (119) 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.js +2 -2
  11. package/dist/components/ai/AiMessageBubble.vue.js +3 -3
  12. package/dist/components/ai/AiSender.vue.js +2 -2
  13. package/dist/components/ai/AiThinking.vue.js +1 -1
  14. package/dist/components/ai/UserMessageBubble.vue.js +3 -3
  15. package/dist/components/auxiliary/ColorPanel.vue.js +3 -3
  16. package/dist/components/auxiliary/ColorPanel.vue2.js +9 -9
  17. package/dist/components/auxiliary/FileUpload.vue.js +2 -2
  18. package/dist/components/auxiliary/PersonPanel.vue.js +1 -1
  19. package/dist/components/auxiliary/PersonPanel.vue2.js +10 -10
  20. package/dist/components/base/Accordion.vue.js +1 -1
  21. package/dist/components/base/Avatar.vue.js +3 -3
  22. package/dist/components/base/Avatar.vue2.js +43 -43
  23. package/dist/components/base/Badge.vue.js +1 -1
  24. package/dist/components/base/Badge.vue2.js +35 -35
  25. package/dist/components/base/ButtonGroup.vue.js +2 -2
  26. package/dist/components/base/ChainItem.vue.js +2 -2
  27. package/dist/components/base/ChainItem.vue2.js +30 -30
  28. package/dist/components/base/DescBlock.vue.js +3 -3
  29. package/dist/components/base/DropdownMenu.vue.js +2 -2
  30. package/dist/components/base/EmptyState.vue.js +1 -1
  31. package/dist/components/base/InfoCard.vue.js +2 -2
  32. package/dist/components/base/InfoCard.vue2.js +66 -66
  33. package/dist/components/base/MonitorItem.vue.js +1 -1
  34. package/dist/components/base/MonitorItem.vue2.js +16 -16
  35. package/dist/components/base/PersonaCard.vue.js +1 -1
  36. package/dist/components/base/PersonaCard.vue2.js +81 -81
  37. package/dist/components/base/ProgressBar.vue.js +2 -2
  38. package/dist/components/base/ProgressBar.vue2.js +16 -16
  39. package/dist/components/base/RangeSlider.vue.js +1 -1
  40. package/dist/components/base/RefTag.vue.js +2 -2
  41. package/dist/components/base/RefTag.vue2.js +20 -20
  42. package/dist/components/base/SearchHighlight.vue.js +1 -1
  43. package/dist/components/base/SectionBlock.vue.js +1 -1
  44. package/dist/components/base/SectionBlock.vue2.js +44 -44
  45. package/dist/components/base/StatisticCard.vue.js +2 -2
  46. package/dist/components/base/StatisticCard.vue2.js +24 -24
  47. package/dist/components/base/StatusIndicator.vue.js +2 -2
  48. package/dist/components/base/StatusIndicator.vue2.js +30 -30
  49. package/dist/components/base/StatusSummary.vue.js +2 -2
  50. package/dist/components/base/StatusSummary.vue2.js +23 -23
  51. package/dist/components/base/Stepper.vue.js +2 -2
  52. package/dist/components/base/Switch.vue.js +2 -2
  53. package/dist/components/base/ToolbarBtn.vue.js +1 -1
  54. package/dist/components/base/ViewModeGroup.vue.js +3 -3
  55. package/dist/components/base/ViewSwitcher.vue.js +2 -2
  56. package/dist/components/base/ViewTab.vue.js +4 -4
  57. package/dist/components/breadcrumb/Breadcrumb.vue.js +2 -2
  58. package/dist/components/breadcrumb/BreadcrumbItem.vue.js +1 -1
  59. package/dist/components/database/DatabaseView.vue.js +4 -4
  60. package/dist/components/detail/CommentItem.vue.js +2 -2
  61. package/dist/components/detail/CommentItem.vue2.js +8 -8
  62. package/dist/components/detail/DetailLayout.vue.js +1 -1
  63. package/dist/components/editor/BlockQuote.vue.js +2 -2
  64. package/dist/components/editor/CodeBlock.vue.js +2 -2
  65. package/dist/components/editor/ContentBlock.vue.js +2 -2
  66. package/dist/components/editor/RefLink.vue.js +2 -2
  67. package/dist/components/editor/RichTextEditor.vue.js +1 -1
  68. package/dist/components/field/FieldAttachment.vue.js +1 -1
  69. package/dist/components/field/FieldCreator.vue.js +1 -1
  70. package/dist/components/field/FieldCurrency.vue.js +2 -2
  71. package/dist/components/field/FieldMarkdownPreview.vue.js +2 -2
  72. package/dist/components/field/FieldMultiSelect.vue.js +2 -2
  73. package/dist/components/field/FieldProgress.vue.js +2 -2
  74. package/dist/components/field/FieldRating.vue.js +2 -2
  75. package/dist/components/field/FieldRelation.vue.js +1 -1
  76. package/dist/components/field/FieldRichText.vue.js +1 -1
  77. package/dist/components/field/FieldSelect.vue.js +2 -2
  78. package/dist/components/gallery/GalleryCard.vue.js +2 -2
  79. package/dist/components/gallery/GalleryCard.vue2.js +34 -30
  80. package/dist/components/gallery/GalleryView.vue.js +2 -2
  81. package/dist/components/kanban/KanbanBoard.vue.js +4 -4
  82. package/dist/components/kanban/KanbanCard.vue.js +2 -2
  83. package/dist/components/kanban/KanbanColumn.vue.js +2 -2
  84. package/dist/components/kanban/KanbanColumn.vue2.js +16 -16
  85. package/dist/components/kanban/QuickAddRow.vue.js +1 -1
  86. package/dist/components/layout/AppLayout.vue.js +2 -2
  87. package/dist/components/layout/Navbar.vue.js +3 -3
  88. package/dist/components/layout/Sidebar.vue.js +2 -2
  89. package/dist/components/layout/StatusBar.vue.js +2 -2
  90. package/dist/components/mermaid/MermaidChart.vue.js +2 -2
  91. package/dist/components/overlay/Dialog.vue.js +2 -2
  92. package/dist/components/overlay/Drawer.vue.js +2 -2
  93. package/dist/components/overlay/Modal.vue.js +1 -1
  94. package/dist/components/overlay/SidePanel.vue.js +2 -2
  95. package/dist/components/split/SplitPane.vue.js +2 -2
  96. package/dist/components/table/ColumnHeaderMenu.vue.js +1 -1
  97. package/dist/components/table/DataTable.vue.js +4 -4
  98. package/dist/components/table/DetailSheet.vue.js +1 -1
  99. package/dist/components/table/FieldCell.vue.js +1 -1
  100. package/dist/components/table/FieldTypePicker.vue.js +4 -4
  101. package/dist/components/table/MobileListView.vue.js +2 -2
  102. package/dist/components/table/NewRowBtn.vue.js +2 -2
  103. package/dist/components/table/TableColumnManager.vue.js +2 -2
  104. package/dist/components/table/TableDataRow.vue.js +3 -3
  105. package/dist/components/table/TableFilterPanel.vue.js +2 -2
  106. package/dist/components/table/TableGroupRow.vue.js +2 -2
  107. package/dist/components/table/TableHeaderRow.vue.js +2 -2
  108. package/dist/components/table/TableToolbar.vue.js +2 -2
  109. package/dist/components/tabs/Tabs.vue.js +1 -1
  110. package/dist/components/timeline/ActivityTimeline.vue.js +1 -1
  111. package/dist/components/timeline/ActivityTimeline.vue2.js +27 -27
  112. package/dist/components/timeline/GanttRow.vue.js +2 -2
  113. package/dist/components/timeline/GanttRow.vue2.js +21 -18
  114. package/dist/components/timeline/GanttTimeline.vue.js +2 -2
  115. package/dist/components/toast/ToastItem.vue.js +2 -2
  116. package/dist/components/toast/ToastItem.vue2.js +39 -39
  117. package/dist/plugin.js +5 -3
  118. package/dist/style.css +1 -1
  119. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, computed as a, openBlock as l, createElementBlock as c, mergeProps as A, createElementVNode as t, withKeys as k, withModifiers as u, createBlock as L, resolveDynamicComponent as $, createCommentVNode as b, toDisplayString as y, normalizeStyle as z, renderSlot as f, normalizeClass as g } from "vue";
1
+ import { defineComponent as T, computed as a, openBlock as n, createElementBlock as c, mergeProps as A, createElementVNode as o, withKeys as p, withModifiers as u, createBlock as L, resolveDynamicComponent as $, createCommentVNode as f, toDisplayString as _, normalizeStyle as z, renderSlot as b, normalizeClass as g } from "vue";
2
2
  import { resolveIcon as D } from "../../utils/icon.js";
3
3
  const K = ["onKeydown"], N = { class: "of-section-block__header-left" }, U = { class: "of-section-block__title" }, M = ["aria-expanded", "aria-label"], P = { class: "of-section-block__body" }, I = /* @__PURE__ */ T({
4
4
  name: "SectionBlock",
@@ -13,29 +13,29 @@ const K = ["onKeydown"], N = { class: "of-section-block__header-left" }, U = { c
13
13
  statusLabels: { default: void 0 }
14
14
  },
15
15
  emits: ["update:collapsed", "edit", "save"],
16
- setup(e, { emit: m }) {
17
- const o = e, i = m, _ = {
18
- pending: { background: "var(--of-color-gray-100)", text: "var(--of-color-gray-400)" },
19
- updating: { background: "var(--of-color-primary-50)", text: "var(--of-color-primary-500)" },
20
- done: { background: "var(--of-color-success-light)", text: "var(--of-badge-green-text)" },
21
- editing: { background: "var(--of-color-primary-50)", text: "var(--of-color-primary-500)" }
16
+ setup(t, { emit: m }) {
17
+ const e = t, i = m, y = {
18
+ pending: { background: "var(--of-surface-muted)", text: "var(--of-text-tertiary)" },
19
+ updating: { background: "var(--of-surface-selected)", text: "var(--of-accent-default)" },
20
+ done: { background: "var(--of-surface-muted)", text: "var(--of-text-strong)" },
21
+ editing: { background: "var(--of-surface-selected)", text: "var(--of-accent-strong)" }
22
22
  }, h = {
23
23
  pending: "待处理",
24
24
  updating: "更新中",
25
25
  done: "已完成",
26
26
  editing: "编辑中"
27
- }, r = a(() => o.status ? _[o.status] ?? null : null), C = a(() => {
27
+ }, r = a(() => e.status ? y[e.status] ?? null : null), C = a(() => {
28
28
  var s;
29
- return o.status ? ((s = o.statusLabels) == null ? void 0 : s[o.status]) ?? h[o.status] ?? o.status : null;
29
+ return e.status ? ((s = e.statusLabels) == null ? void 0 : s[e.status]) ?? h[e.status] ?? e.status : null;
30
30
  }), S = a(() => r.value ? {
31
31
  backgroundColor: r.value.background,
32
32
  color: r.value.text
33
- } : {}), x = a(() => o.status === "editing" ? {
34
- borderColor: "var(--of-color-primary-500)",
35
- boxShadow: "0 0 0 3px color-mix(in srgb, var(--of-color-primary-500) 8%, transparent)"
36
- } : o.status === "done" ? { borderColor: "var(--of-color-success-light)" } : {}), d = a(() => o.status === "editing"), B = a(() => o.editable && o.status === "done"), p = a(() => D(o.icon));
37
- function n() {
38
- i("update:collapsed", !o.collapsed);
33
+ } : {}), x = a(() => e.status === "editing" ? {
34
+ borderColor: "var(--of-border-strong)",
35
+ boxShadow: "0 0 0 3px color-mix(in srgb, var(--of-accent-default) 10%, transparent)"
36
+ } : e.status === "done" ? { borderColor: "var(--of-border-subtle)" } : {}), d = a(() => e.status === "editing"), B = a(() => e.editable && e.status === "done"), v = a(() => D(e.icon));
37
+ function l() {
38
+ i("update:collapsed", !e.collapsed);
39
39
  }
40
40
  function w() {
41
41
  i("edit");
@@ -43,74 +43,74 @@ const K = ["onKeydown"], N = { class: "of-section-block__header-left" }, U = { c
43
43
  function E() {
44
44
  i("save");
45
45
  }
46
- return (s, v) => (l(), c("div", A({
46
+ return (s, k) => (n(), c("div", A({
47
47
  class: ["of-section-block", {
48
- "of-section-block--collapsed": e.collapsed,
48
+ "of-section-block--collapsed": t.collapsed,
49
49
  "of-section-block--editing": d.value,
50
- "of-section-block--done": e.status === "done"
50
+ "of-section-block--done": t.status === "done"
51
51
  }],
52
52
  style: x.value
53
53
  }, s.$attrs), [
54
- t("div", {
54
+ o("div", {
55
55
  class: "of-section-block__header",
56
56
  role: "button",
57
57
  tabindex: "0",
58
- onClick: n,
58
+ onClick: l,
59
59
  onKeydown: [
60
- k(u(n, ["prevent"]), ["enter"]),
61
- k(u(n, ["prevent"]), ["space"])
60
+ p(u(l, ["prevent"]), ["enter"]),
61
+ p(u(l, ["prevent"]), ["space"])
62
62
  ]
63
63
  }, [
64
- t("div", N, [
65
- p.value ? (l(), L($(p.value), {
64
+ o("div", N, [
65
+ v.value ? (n(), L($(v.value), {
66
66
  key: 0,
67
67
  class: "of-section-block__icon",
68
68
  size: 14,
69
69
  "aria-hidden": "true"
70
- })) : b("", !0),
71
- t("span", U, y(e.title), 1),
72
- e.status ? (l(), c("span", {
70
+ })) : f("", !0),
71
+ o("span", U, _(t.title), 1),
72
+ t.status ? (n(), c("span", {
73
73
  key: 1,
74
74
  class: "of-section-block__status-badge",
75
75
  style: z(S.value)
76
- }, y(C.value), 5)) : b("", !0)
76
+ }, _(C.value), 5)) : f("", !0)
77
77
  ]),
78
- t("div", {
78
+ o("div", {
79
79
  class: "of-section-block__header-right",
80
- onClick: v[0] || (v[0] = u(() => {
80
+ onClick: k[0] || (k[0] = u(() => {
81
81
  }, ["stop"]))
82
82
  }, [
83
- f(s.$slots, "header-extra", {}, void 0, !0),
84
- d.value ? (l(), c("button", {
83
+ b(s.$slots, "header-extra", {}, void 0, !0),
84
+ d.value ? (n(), c("button", {
85
85
  key: 0,
86
86
  type: "button",
87
87
  class: "of-section-block__action-btn of-section-block__action-btn--save",
88
88
  onClick: E
89
- }, " 保存 ")) : B.value ? (l(), c("button", {
89
+ }, " 保存 ")) : B.value ? (n(), c("button", {
90
90
  key: 1,
91
91
  type: "button",
92
92
  class: "of-section-block__action-btn",
93
93
  onClick: w
94
- }, " 编辑 ")) : b("", !0),
95
- t("button", {
94
+ }, " 编辑 ")) : f("", !0),
95
+ o("button", {
96
96
  type: "button",
97
97
  class: "of-section-block__collapse-btn",
98
- "aria-expanded": !e.collapsed,
99
- "aria-label": e.collapsed ? "展开" : "折叠",
100
- onClick: n
98
+ "aria-expanded": !t.collapsed,
99
+ "aria-label": t.collapsed ? "展开" : "折叠",
100
+ onClick: l
101
101
  }, [
102
- t("span", {
103
- class: g(["of-section-block__collapse-icon", { "of-section-block__collapse-icon--collapsed": e.collapsed }]),
102
+ o("span", {
103
+ class: g(["of-section-block__collapse-icon", { "of-section-block__collapse-icon--collapsed": t.collapsed }]),
104
104
  "aria-hidden": "true"
105
105
  }, " ▾ ", 2)
106
106
  ], 8, M)
107
107
  ])
108
108
  ], 40, K),
109
- t("div", {
110
- class: g(["of-section-block__body-wrapper", { "of-section-block__body-wrapper--collapsed": e.collapsed }])
109
+ o("div", {
110
+ class: g(["of-section-block__body-wrapper", { "of-section-block__body-wrapper--collapsed": t.collapsed }])
111
111
  }, [
112
- t("div", P, [
113
- d.value ? f(s.$slots, "editor", { key: 0 }, void 0, !0) : f(s.$slots, "default", { key: 1 }, void 0, !0)
112
+ o("div", P, [
113
+ d.value ? b(s.$slots, "editor", { key: 0 }, void 0, !0) : b(s.$slots, "default", { key: 1 }, void 0, !0)
114
114
  ])
115
115
  ], 2)
116
116
  ], 16));
@@ -1,7 +1,7 @@
1
1
  import t from "./StatisticCard.vue2.js";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-241b23d2"]]);
3
+ import a from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-5de633aa"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as i, computed as f, openBlock as l, createElementBlock as u, mergeProps as d, createElementVNode as e, normalizeStyle as a, createBlock as v, resolveDynamicComponent as p, unref as b, toDisplayString as s } from "vue";
2
- import { resolveIcon as g } from "../../utils/icon.js";
3
- const _ = { class: "of-statistic-card__content" }, m = { class: "of-statistic-card__value" }, x = { class: "of-statistic-card__label" }, k = /* @__PURE__ */ i({
1
+ import { defineComponent as i, computed as f, openBlock as r, createElementBlock as u, mergeProps as d, createElementVNode as e, normalizeStyle as s, createBlock as v, resolveDynamicComponent as m, unref as p, toDisplayString as l } from "vue";
2
+ import { resolveIcon as _ } from "../../utils/icon.js";
3
+ const b = { class: "of-statistic-card__content" }, g = { class: "of-statistic-card__value" }, x = { class: "of-statistic-card__label" }, k = /* @__PURE__ */ i({
4
4
  inheritAttrs: !1,
5
5
  __name: "StatisticCard",
6
6
  props: {
@@ -9,45 +9,45 @@ const _ = { class: "of-statistic-card__content" }, m = { class: "of-statistic-ca
9
9
  value: {},
10
10
  label: {}
11
11
  },
12
- setup(o) {
13
- const n = o, r = {
12
+ setup(t) {
13
+ const n = t, a = {
14
14
  blue: {
15
- bg: "var(--of-color-blue-50)",
16
- text: "var(--of-color-blue-600)"
15
+ bg: "var(--of-surface-muted)",
16
+ text: "var(--of-accent-default)"
17
17
  },
18
18
  green: {
19
- bg: "var(--of-color-green-50)",
20
- text: "var(--of-color-green-600)"
19
+ bg: "var(--of-surface-panel)",
20
+ text: "var(--of-text-strong)"
21
21
  },
22
22
  orange: {
23
- bg: "var(--of-color-orange-50)",
24
- text: "var(--of-color-orange-600)"
23
+ bg: "var(--of-surface-selected)",
24
+ text: "var(--of-accent-strong)"
25
25
  },
26
26
  red: {
27
- bg: "var(--of-color-red-50)",
28
- text: "var(--of-color-red-600)"
27
+ bg: "var(--of-surface-muted)",
28
+ text: "var(--of-text-primary)"
29
29
  },
30
30
  purple: {
31
- bg: "var(--of-color-purple-50)",
32
- text: "var(--of-color-purple-600)"
31
+ bg: "var(--of-surface-panel)",
32
+ text: "var(--of-text-secondary)"
33
33
  }
34
34
  }, c = f(() => {
35
- const t = n.iconColor || "blue";
36
- return r[t] || r.blue;
35
+ const o = n.iconColor || "blue";
36
+ return a[o] || a.blue;
37
37
  });
38
- return (t, C) => (l(), u("div", d({ class: "of-statistic-card" }, t.$attrs), [
38
+ return (o, y) => (r(), u("div", d({ class: "of-statistic-card" }, o.$attrs), [
39
39
  e("div", {
40
40
  class: "of-statistic-card__icon-container",
41
- style: a({ backgroundColor: c.value.bg })
41
+ style: s({ backgroundColor: c.value.bg })
42
42
  }, [
43
- (l(), v(p(b(g)(o.icon)), {
43
+ (r(), v(m(p(_)(t.icon)), {
44
44
  class: "of-statistic-card__icon",
45
- style: a({ color: c.value.text })
45
+ style: s({ color: c.value.text })
46
46
  }, null, 8, ["style"]))
47
47
  ], 4),
48
- e("div", _, [
49
- e("p", m, s(o.value), 1),
50
- e("p", x, s(o.label), 1)
48
+ e("div", b, [
49
+ e("p", g, l(t.value), 1),
50
+ e("p", x, l(t.label), 1)
51
51
  ])
52
52
  ], 16));
53
53
  }
@@ -1,7 +1,7 @@
1
1
  import t from "./StatusIndicator.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-01dbeff6"]]);
4
+ const d = /* @__PURE__ */ o(t, [["__scopeId", "data-v-59ddaff7"]]);
5
5
  export {
6
- m as default
6
+ d as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as d, computed as e, openBlock as f, createElementBlock as v, mergeProps as p, createElementVNode as c, normalizeStyle as m, renderSlot as _, toDisplayString as g } from "vue";
2
- const y = { class: "of-status-indicator__label" }, h = /* @__PURE__ */ d({
1
+ import { defineComponent as i, computed as e, openBlock as f, createElementBlock as v, mergeProps as p, createElementVNode as n, normalizeStyle as m, renderSlot as b, toDisplayString as _ } from "vue";
2
+ const g = { class: "of-status-indicator__label" }, y = /* @__PURE__ */ i({
3
3
  inheritAttrs: !1,
4
4
  __name: "StatusIndicator",
5
5
  props: {
@@ -8,47 +8,47 @@ const y = { class: "of-status-indicator__label" }, h = /* @__PURE__ */ d({
8
8
  size: { default: "md" },
9
9
  color: { default: void 0 }
10
10
  },
11
- setup(t) {
12
- const o = t, n = {
13
- in_progress: "var(--of-color-info)",
14
- executing: "var(--of-color-info)",
15
- analysing: "var(--of-color-info)",
16
- completed: "var(--of-color-success)",
17
- resolved: "var(--of-color-success)",
18
- closed: "var(--of-color-success)",
19
- reviewing: "var(--of-color-warning)",
20
- blocked: "var(--of-color-error)",
21
- cancelled: "var(--of-color-error)",
22
- open: "var(--of-color-gray-300)",
23
- idle: "var(--of-color-gray-400)",
24
- draft: "var(--of-color-gray-400)"
25
- }, i = {
11
+ setup(o) {
12
+ const t = o, d = {
13
+ in_progress: "var(--of-accent-default)",
14
+ executing: "var(--of-accent-default)",
15
+ analysing: "var(--of-accent-default)",
16
+ completed: "var(--of-text-strong)",
17
+ resolved: "var(--of-text-strong)",
18
+ closed: "var(--of-text-strong)",
19
+ reviewing: "var(--of-border-strong)",
20
+ blocked: "var(--of-text-tertiary)",
21
+ cancelled: "var(--of-text-tertiary)",
22
+ open: "var(--of-border-subtle)",
23
+ idle: "var(--of-border-subtle)",
24
+ draft: "var(--of-border-subtle)"
25
+ }, c = {
26
26
  sm: "6px",
27
27
  md: "8px"
28
- }, u = e(() => o.status.trim().toLowerCase()), r = e(() => o.label ?? o.status), a = e(
29
- () => o.color ?? n[u.value] ?? "var(--of-color-gray-300)"
30
- ), s = e(() => i[o.size]);
28
+ }, u = e(() => t.status.trim().toLowerCase()), a = e(() => t.label ?? t.status), s = e(
29
+ () => t.color ?? d[u.value] ?? "var(--of-border-subtle)"
30
+ ), r = e(() => c[t.size]);
31
31
  return (l, S) => (f(), v("span", p({
32
32
  class: "of-status-indicator",
33
- style: { "--of-status-dot-color": a.value }
33
+ style: { "--of-status-dot-color": s.value }
34
34
  }, l.$attrs), [
35
- c("span", {
35
+ n("span", {
36
36
  class: "of-status-indicator__dot",
37
37
  style: m({
38
- width: s.value,
39
- height: s.value
38
+ width: r.value,
39
+ height: r.value
40
40
  })
41
41
  }, null, 4),
42
- _(l.$slots, "default", {
43
- status: t.status,
44
- label: r.value,
45
- color: a.value
42
+ b(l.$slots, "default", {
43
+ status: o.status,
44
+ label: a.value,
45
+ color: s.value
46
46
  }, () => [
47
- c("span", y, g(r.value), 1)
47
+ n("span", g, _(a.value), 1)
48
48
  ], !0)
49
49
  ], 16));
50
50
  }
51
51
  });
52
52
  export {
53
- h as default
53
+ y as default
54
54
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./StatusSummary.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-3ee84048"]]);
4
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-ac111d85"]]);
5
5
  export {
6
- e as default
6
+ p as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as _, computed as i, openBlock as e, createElementBlock as a, mergeProps as g, Fragment as f, renderList as S, createCommentVNode as d, createElementVNode as r, normalizeStyle as n, toDisplayString as y, renderSlot as z } from "vue";
2
- const v = {
1
+ import { defineComponent as _, computed as i, openBlock as s, createElementBlock as a, mergeProps as g, Fragment as c, renderList as S, createCommentVNode as f, createElementVNode as r, normalizeStyle as n, toDisplayString as d, renderSlot as v } from "vue";
2
+ const z = {
3
3
  key: 0,
4
4
  class: "of-status-summary__sep",
5
5
  "aria-hidden": "true"
6
6
  }, k = { class: "of-status-summary__item" }, x = {
7
7
  key: 0,
8
8
  class: "of-status-summary__extra"
9
- }, b = /* @__PURE__ */ _({
9
+ }, $ = /* @__PURE__ */ _({
10
10
  name: "StatusSummary",
11
11
  inheritAttrs: !1,
12
12
  __name: "StatusSummary",
@@ -16,49 +16,49 @@ const v = {
16
16
  separator: { type: Boolean, default: !1 }
17
17
  },
18
18
  setup(o) {
19
- const l = o, u = i(() => l.size === "sm" ? "6px" : "7px"), m = i(() => l.size === "sm" ? "10px" : "11px");
20
- function c(t) {
21
- return t.color ?? "var(--of-color-gray-300)";
22
- }
19
+ const u = o, l = i(() => u.size === "sm" ? "6px" : "7px"), m = i(() => u.size === "sm" ? "10px" : "11px");
23
20
  function p(t) {
24
- return t.highlight ? c(t) : "var(--of-color-text-primary)";
21
+ return t.color ?? "var(--of-border-subtle)";
22
+ }
23
+ function y(t) {
24
+ return t.highlight ? "var(--of-accent-strong)" : "var(--of-text-primary)";
25
25
  }
26
- return (t, C) => (e(), a("div", g({
26
+ return (t, b) => (s(), a("div", g({
27
27
  class: ["of-status-summary", `of-status-summary--${o.size}`]
28
28
  }, t.$attrs), [
29
- (e(!0), a(f, null, S(o.items, (s, h) => (e(), a(f, {
30
- key: s.key
29
+ (s(!0), a(c, null, S(o.items, (e, h) => (s(), a(c, {
30
+ key: e.key
31
31
  }, [
32
- o.separator && h > 0 ? (e(), a("span", v)) : d("", !0),
32
+ o.separator && h > 0 ? (s(), a("span", z)) : f("", !0),
33
33
  r("span", k, [
34
34
  r("span", {
35
35
  class: "of-status-summary__dot",
36
36
  style: n({
37
- width: u.value,
38
- height: u.value,
39
- backgroundColor: c(s)
37
+ width: l.value,
38
+ height: l.value,
39
+ backgroundColor: p(e)
40
40
  })
41
41
  }, null, 4),
42
42
  r("span", {
43
43
  class: "of-status-summary__label",
44
44
  style: n({ fontSize: m.value })
45
- }, y(s.label), 5),
45
+ }, d(e.label), 5),
46
46
  r("span", {
47
47
  class: "of-status-summary__count",
48
48
  style: n({
49
49
  fontSize: m.value,
50
- color: p(s),
51
- fontWeight: s.highlight ? "700" : "600"
50
+ color: y(e),
51
+ fontWeight: e.highlight ? "700" : "600"
52
52
  })
53
- }, y(s.count), 5)
53
+ }, d(e.count), 5)
54
54
  ])
55
55
  ], 64))), 128)),
56
- t.$slots.extra ? (e(), a("span", x, [
57
- z(t.$slots, "extra", {}, void 0, !0)
58
- ])) : d("", !0)
56
+ t.$slots.extra ? (s(), a("span", x, [
57
+ v(t.$slots, "extra", {}, void 0, !0)
58
+ ])) : f("", !0)
59
59
  ], 16));
60
60
  }
61
61
  });
62
62
  export {
63
- b as default
63
+ $ as default
64
64
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Stepper.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1a3ce664"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9e34c6b5"]]);
5
5
  export {
6
- a as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Switch.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-d3f7ed37"]]);
4
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-55260377"]]);
5
5
  export {
6
- p as default
6
+ _ as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ToolbarBtn.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-8c5c7168"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d6e24cde"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ViewModeGroup.vue2.js";
2
2
  /* empty css */
3
- import e from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-0862eed2"]]);
3
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6b7abc7e"]]);
5
5
  export {
6
- m as default
6
+ a as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ViewSwitcher.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2a0e75d0"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fe64afc2"]]);
5
5
  export {
6
- i as default
6
+ a as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import o from "./ViewTab.vue2.js";
1
+ import a from "./ViewTab.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-7743a555"]]);
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = /* @__PURE__ */ o(a, [["__scopeId", "data-v-efba57aa"]]);
5
5
  export {
6
- p as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Breadcrumb.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-bd4d4440"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-48627afb"]]);
5
5
  export {
6
- d as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./BreadcrumbItem.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-03aeb53d"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-90919624"]]);
5
5
  export {
6
6
  e as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import o from "./DatabaseView.vue2.js";
1
+ import a from "./DatabaseView.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-de3fe42f"]]);
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = /* @__PURE__ */ o(a, [["__scopeId", "data-v-da61dfa4"]]);
5
5
  export {
6
- r as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./CommentItem.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-6050ee55"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-378cc0aa"]]);
5
5
  export {
6
- p as default
6
+ c as default
7
7
  };
@@ -1,22 +1,22 @@
1
- import { defineComponent as c, openBlock as o, createElementBlock as n, createElementVNode as e, normalizeStyle as a, toDisplayString as m, createCommentVNode as i } from "vue";
2
- const s = { class: "comment-item" }, _ = { class: "comment-item__content" }, l = { class: "comment-item__header" }, r = { class: "comment-item__author" }, d = {
1
+ import { defineComponent as c, openBlock as o, createElementBlock as n, createElementVNode as e, normalizeStyle as a, toDisplayString as m, createCommentVNode as s } from "vue";
2
+ const i = { class: "comment-item" }, _ = { class: "comment-item__content" }, l = { class: "comment-item__header" }, d = { class: "comment-item__author" }, r = {
3
3
  key: 0,
4
4
  class: "comment-item__action"
5
- }, h = { class: "comment-item__time" }, u = { class: "comment-item__text" }, C = /* @__PURE__ */ c({
5
+ }, h = { class: "comment-item__time" }, u = { class: "comment-item__text" }, k = /* @__PURE__ */ c({
6
6
  __name: "CommentItem",
7
7
  props: {
8
8
  comment: {}
9
9
  },
10
10
  setup(t) {
11
- return (v, f) => (o(), n("div", s, [
11
+ return (v, f) => (o(), n("div", i, [
12
12
  e("div", {
13
13
  class: "comment-item__avatar",
14
- style: a({ backgroundColor: t.comment.avatarColor ?? "var(--of-color-primary-500)" })
14
+ style: a({ backgroundColor: t.comment.avatarColor ?? "var(--of-accent-default)" })
15
15
  }, m(t.comment.authorInitial), 5),
16
16
  e("div", _, [
17
17
  e("div", l, [
18
- e("span", r, m(t.comment.author), 1),
19
- t.comment.action ? (o(), n("span", d, m(t.comment.action), 1)) : i("", !0),
18
+ e("span", d, m(t.comment.author), 1),
19
+ t.comment.action ? (o(), n("span", r, m(t.comment.action), 1)) : s("", !0),
20
20
  e("span", h, m(t.comment.time), 1)
21
21
  ]),
22
22
  e("div", u, m(t.comment.content), 1)
@@ -25,5 +25,5 @@ const s = { class: "comment-item" }, _ = { class: "comment-item__content" }, l =
25
25
  }
26
26
  });
27
27
  export {
28
- C as default
28
+ k as default
29
29
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./DetailLayout.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-dedb9066"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f887b37a"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./BlockQuote.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-cc957432"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-74634abe"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./CodeBlock.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-5d72fbc6"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-badd36eb"]]);
5
5
  export {
6
- m as default
6
+ e as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ContentBlock.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4899d060"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5458915e"]]);
5
5
  export {
6
- _ as default
6
+ p as default
7
7
  };