@oneflowui/ui 0.5.8 → 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 (123) hide show
  1. package/README.en.md +19 -0
  2. package/README.md +23 -0
  3. package/dist/components/ContextMenu/index.vue.js +2 -2
  4. package/dist/components/Dashboard/charts/BarChart.vue.js +2 -2
  5. package/dist/components/Dashboard/charts/BarChart.vue2.js +56 -23
  6. package/dist/components/Dashboard/charts/NumberCard.vue.js +2 -2
  7. package/dist/components/Dashboard/charts/NumberCard.vue2.js +14 -14
  8. package/dist/components/Dashboard/charts/PieChart.vue.js +1 -1
  9. package/dist/components/Dashboard/charts/PieChart.vue2.js +49 -23
  10. package/dist/components/Dashboard/charts/TableChart.vue.js +1 -1
  11. package/dist/components/Dashboard/index.vue.js +3 -3
  12. package/dist/components/ai/AiMessageBubble.vue.js +3 -3
  13. package/dist/components/ai/AiSender.vue.js +2 -2
  14. package/dist/components/ai/AiThinking.vue.js +1 -1
  15. package/dist/components/ai/UserMessageBubble.vue.js +3 -3
  16. package/dist/components/auxiliary/ColorPanel.vue.js +3 -3
  17. package/dist/components/auxiliary/ColorPanel.vue2.js +9 -9
  18. package/dist/components/auxiliary/FileUpload.vue.js +2 -2
  19. package/dist/components/auxiliary/PersonPanel.vue.js +1 -1
  20. package/dist/components/auxiliary/PersonPanel.vue2.js +10 -10
  21. package/dist/components/base/Accordion.vue.js +1 -1
  22. package/dist/components/base/Avatar.vue.js +3 -3
  23. package/dist/components/base/Avatar.vue2.js +43 -43
  24. package/dist/components/base/Badge.vue.js +1 -1
  25. package/dist/components/base/Badge.vue2.js +35 -35
  26. package/dist/components/base/ButtonGroup.vue.js +2 -2
  27. package/dist/components/base/ChainItem.vue.js +2 -2
  28. package/dist/components/base/ChainItem.vue2.js +30 -30
  29. package/dist/components/base/DescBlock.vue.js +3 -3
  30. package/dist/components/base/DropdownMenu.vue.js +2 -2
  31. package/dist/components/base/EmptyState.vue.js +1 -1
  32. package/dist/components/base/InfoCard.vue.js +2 -2
  33. package/dist/components/base/InfoCard.vue2.js +66 -66
  34. package/dist/components/base/MonitorItem.vue.js +1 -1
  35. package/dist/components/base/MonitorItem.vue2.js +16 -16
  36. package/dist/components/base/PersonaCard.vue.js +1 -1
  37. package/dist/components/base/PersonaCard.vue2.js +81 -81
  38. package/dist/components/base/ProgressBar.vue.js +2 -2
  39. package/dist/components/base/ProgressBar.vue2.js +16 -16
  40. package/dist/components/base/RangeSlider.vue.js +1 -1
  41. package/dist/components/base/RefTag.vue.js +2 -2
  42. package/dist/components/base/RefTag.vue2.js +20 -20
  43. package/dist/components/base/SearchHighlight.vue.js +1 -1
  44. package/dist/components/base/SectionBlock.vue.js +1 -1
  45. package/dist/components/base/SectionBlock.vue2.js +44 -44
  46. package/dist/components/base/StatisticCard.vue.js +2 -2
  47. package/dist/components/base/StatisticCard.vue2.js +24 -24
  48. package/dist/components/base/StatusIndicator.vue.js +2 -2
  49. package/dist/components/base/StatusIndicator.vue2.js +30 -30
  50. package/dist/components/base/StatusSummary.vue.js +2 -2
  51. package/dist/components/base/StatusSummary.vue2.js +23 -23
  52. package/dist/components/base/Stepper.vue.js +2 -2
  53. package/dist/components/base/Switch.vue.js +2 -2
  54. package/dist/components/base/ToolbarBtn.vue.js +1 -1
  55. package/dist/components/base/ViewModeGroup.vue.js +3 -3
  56. package/dist/components/base/ViewSwitcher.vue.js +2 -2
  57. package/dist/components/base/ViewTab.vue.js +4 -4
  58. package/dist/components/breadcrumb/Breadcrumb.vue.js +2 -2
  59. package/dist/components/breadcrumb/BreadcrumbItem.vue.js +1 -1
  60. package/dist/components/database/DatabaseView.vue.js +4 -4
  61. package/dist/components/detail/CommentItem.vue.js +2 -2
  62. package/dist/components/detail/CommentItem.vue2.js +8 -8
  63. package/dist/components/detail/DetailLayout.vue.js +1 -1
  64. package/dist/components/editor/BlockQuote.vue.js +2 -2
  65. package/dist/components/editor/CodeBlock.vue.js +2 -2
  66. package/dist/components/editor/ContentBlock.vue.js +2 -2
  67. package/dist/components/editor/RefLink.vue.js +2 -2
  68. package/dist/components/editor/RichTextEditor.vue.js +1 -1
  69. package/dist/components/field/FieldAttachment.vue.js +1 -1
  70. package/dist/components/field/FieldCreator.vue.js +1 -1
  71. package/dist/components/field/FieldCurrency.vue.js +2 -2
  72. package/dist/components/field/FieldMarkdownPreview.vue.js +2 -2
  73. package/dist/components/field/FieldMultiSelect.vue.js +2 -2
  74. package/dist/components/field/FieldProgress.vue.js +2 -2
  75. package/dist/components/field/FieldRating.vue.js +2 -2
  76. package/dist/components/field/FieldRelation.vue.js +1 -1
  77. package/dist/components/field/FieldRichText.vue.js +1 -1
  78. package/dist/components/field/FieldSelect.vue.js +2 -2
  79. package/dist/components/gallery/GalleryCard.vue.js +2 -2
  80. package/dist/components/gallery/GalleryCard.vue2.js +34 -30
  81. package/dist/components/gallery/GalleryView.vue.js +2 -2
  82. package/dist/components/kanban/KanbanBoard.vue.js +4 -4
  83. package/dist/components/kanban/KanbanCard.vue.js +2 -2
  84. package/dist/components/kanban/KanbanColumn.vue.js +2 -2
  85. package/dist/components/kanban/KanbanColumn.vue2.js +16 -16
  86. package/dist/components/kanban/QuickAddRow.vue.js +1 -1
  87. package/dist/components/layout/AppLayout.vue.js +2 -2
  88. package/dist/components/layout/Navbar.vue.js +3 -3
  89. package/dist/components/layout/Sidebar.vue.js +2 -2
  90. package/dist/components/layout/StatusBar.vue.js +2 -2
  91. package/dist/components/mermaid/MermaidChart.vue.js +2 -2
  92. package/dist/components/overlay/Dialog.vue.js +2 -2
  93. package/dist/components/overlay/Drawer.vue.js +2 -2
  94. package/dist/components/overlay/Modal.vue.js +1 -1
  95. package/dist/components/overlay/SidePanel.vue.js +2 -2
  96. package/dist/components/split/SplitPane.vue.js +2 -2
  97. package/dist/components/table/ColumnHeaderMenu.vue.js +1 -1
  98. package/dist/components/table/DataTable.vue.js +4 -4
  99. package/dist/components/table/DetailSheet.vue.js +1 -1
  100. package/dist/components/table/FieldCell.vue.js +1 -1
  101. package/dist/components/table/FieldTypePicker.vue.js +4 -4
  102. package/dist/components/table/MobileListView.vue.js +2 -2
  103. package/dist/components/table/NewRowBtn.vue.js +2 -2
  104. package/dist/components/table/TableColumnManager.vue.js +2 -2
  105. package/dist/components/table/TableDataRow.vue.js +3 -3
  106. package/dist/components/table/TableFilterPanel.vue.js +2 -2
  107. package/dist/components/table/TableGroupRow.vue.js +2 -2
  108. package/dist/components/table/TableHeaderRow.vue.js +2 -2
  109. package/dist/components/table/TableToolbar.vue.js +2 -2
  110. package/dist/components/tabs/Tabs.vue.js +1 -1
  111. package/dist/components/timeline/ActivityTimeline.vue.js +1 -1
  112. package/dist/components/timeline/ActivityTimeline.vue2.js +27 -27
  113. package/dist/components/timeline/GanttRow.vue.js +2 -2
  114. package/dist/components/timeline/GanttRow.vue2.js +21 -18
  115. package/dist/components/timeline/GanttTimeline.vue.js +2 -2
  116. package/dist/components/toast/ToastItem.vue.js +2 -2
  117. package/dist/components/toast/ToastItem.vue2.js +39 -39
  118. package/dist/plugin.js +242 -171
  119. package/dist/style.css +1 -1
  120. package/dist/utils/icon.js +25 -68
  121. package/dist/utils/iconRegistry.d.ts +7 -0
  122. package/dist/utils/iconRegistry.js +60 -0
  123. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./RefLink.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-f83e73bd"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a6ed683d"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./RichTextEditor.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-a112a005"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-75bad3b7"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./FieldAttachment.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-416bbf0b"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-b073b716"]]);
5
5
  export {
6
6
  e as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldCreator.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e68ff06a"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-812bc12f"]]);
5
5
  export {
6
6
  f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldCurrency.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-891caf93"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-392a09d7"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldMarkdownPreview.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f0714bc5"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7b782dfb"]]);
5
5
  export {
6
- f as default
6
+ d as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./FieldMultiSelect.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-a4e34f12"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-0b439976"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldProgress.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-35c4fb4c"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0321305d"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldRating.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-40f59bfd"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d9b295b6"]]);
5
5
  export {
6
- i as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldRelation.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-30a94df6"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a6bb4f81"]]);
5
5
  export {
6
6
  f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldRichText.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-062bed7a"]]);
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5641f071"]]);
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldSelect.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-31d8cba6"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f5b2319c"]]);
5
5
  export {
6
- c as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./GalleryCard.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-e54afcc3"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5bdeb1c6"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,65 +1,69 @@
1
- import { defineComponent as D, computed as i, openBlock as r, createElementBlock as l, normalizeStyle as _, createElementVNode as t, toDisplayString as c, createCommentVNode as u, Fragment as I, renderList as S, createBlock as B, resolveDynamicComponent as F, createTextVNode as w } from "vue";
2
- import { CircleIcon as g, FolderIcon as x, CalendarIcon as $, UserIcon as E, TagIcon as N } from "lucide-vue-next";
3
- const V = ["src"], z = { class: "gallery-card__body" }, A = { class: "gallery-card__title" }, L = {
1
+ import { defineComponent as h, computed as d, openBlock as r, createElementBlock as l, normalizeStyle as y, createElementVNode as t, toDisplayString as c, createCommentVNode as g, Fragment as I, renderList as D, createBlock as S, resolveDynamicComponent as $, createTextVNode as w } from "vue";
2
+ import { CircleIcon as u, FolderIcon as B, CalendarIcon as F, UserIcon as N, TagIcon as V } from "lucide-vue-next";
3
+ const z = ["src"], A = { class: "gallery-card__body" }, E = { class: "gallery-card__title" }, L = {
4
4
  key: 0,
5
5
  class: "gallery-card__desc"
6
6
  }, M = {
7
7
  key: 1,
8
8
  class: "gallery-card__props"
9
- }, P = { class: "gallery-card__prop-key" }, T = { class: "gallery-card__prop-value" }, G = { class: "gallery-card__footer" }, U = { class: "gallery-card__task-id" }, Y = { class: "gallery-card__date" }, H = /* @__PURE__ */ D({
9
+ }, P = { class: "gallery-card__prop-key" }, T = { class: "gallery-card__prop-value" }, G = { class: "gallery-card__footer" }, U = { class: "gallery-card__task-id" }, Y = { class: "gallery-card__date" }, H = /* @__PURE__ */ h({
10
10
  __name: "GalleryCard",
11
11
  props: {
12
12
  item: {}
13
13
  },
14
14
  emits: ["click"],
15
- setup(o, { emit: y }) {
16
- const a = o, m = y, v = i(() => a.item.bannerColor ?? "#BFDBFE"), p = i(
15
+ setup(o, { emit: _ }) {
16
+ const a = o, v = _, m = d(
17
+ () => a.item.bannerColor ?? "var(--of-surface-selected, var(--of-color-gray-100, #f3f4f6))"
18
+ ), f = d(
17
19
  () => typeof a.item.cover == "string" && /^https?:\/\//.test(a.item.cover)
18
- ), d = i(() => (a.item.extraProps ?? []).slice(0, 2)), f = {
19
- tag: N,
20
- user: E,
21
- calendar: $,
22
- folder: x
20
+ ), i = d(() => (a.item.extraProps ?? []).slice(0, 2)), p = {
21
+ tag: V,
22
+ user: N,
23
+ calendar: F,
24
+ folder: B
23
25
  };
24
26
  function k(s) {
25
- return s ? f[s.toLowerCase()] ?? g : g;
27
+ return s ? p[s.toLowerCase()] ?? u : u;
26
28
  }
27
- const C = i(() => {
29
+ const C = d(() => {
28
30
  const s = a.item.updatedAt ?? a.item.createdAt;
29
31
  if (!s) return "";
30
32
  const e = new Date(s);
31
33
  return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
32
34
  }), b = {
33
- todo: "var(--of-color-gray-400)",
34
- in_progress: "var(--of-color-info)",
35
- blocked: "var(--of-color-warning)",
36
- done: "var(--of-color-success)"
37
- }, h = i(() => b[a.item.status] ?? "var(--of-color-gray-400)");
35
+ todo: "var(--of-text-tertiary, var(--of-color-gray-400))",
36
+ in_progress: "var(--of-accent-default, var(--of-text-secondary, var(--of-color-gray-500)))",
37
+ blocked: "var(--of-accent-strong, var(--of-color-error, #dc2626))",
38
+ done: "var(--of-text-strong, var(--of-color-gray-700, #374151))"
39
+ }, x = d(
40
+ () => b[a.item.status] ?? "var(--of-text-tertiary, var(--of-color-gray-400))"
41
+ );
38
42
  return (s, e) => (r(), l("button", {
39
43
  class: "gallery-card",
40
44
  type: "button",
41
- onClick: e[0] || (e[0] = (n) => m("click", o.item))
45
+ onClick: e[0] || (e[0] = (n) => v("click", o.item))
42
46
  }, [
43
- p.value ? (r(), l("img", {
47
+ f.value ? (r(), l("img", {
44
48
  key: 0,
45
49
  class: "gallery-card__cover",
46
50
  src: o.item.cover,
47
51
  alt: ""
48
- }, null, 8, V)) : (r(), l("div", {
52
+ }, null, 8, z)) : (r(), l("div", {
49
53
  key: 1,
50
54
  class: "gallery-card__banner",
51
- style: _({ backgroundColor: v.value })
55
+ style: y({ backgroundColor: m.value })
52
56
  }, null, 4)),
53
- t("div", z, [
54
- t("div", A, c(o.item.title), 1),
55
- o.item.description ? (r(), l("div", L, c(o.item.description), 1)) : u("", !0),
57
+ t("div", A, [
58
+ t("div", E, c(o.item.title), 1),
59
+ o.item.description ? (r(), l("div", L, c(o.item.description), 1)) : g("", !0),
56
60
  e[3] || (e[3] = t("div", { class: "gallery-card__divider" }, null, -1)),
57
- d.value.length > 0 ? (r(), l("div", M, [
58
- (r(!0), l(I, null, S(d.value, (n) => (r(), l("div", {
61
+ i.value.length > 0 ? (r(), l("div", M, [
62
+ (r(!0), l(I, null, D(i.value, (n) => (r(), l("div", {
59
63
  key: n.key,
60
64
  class: "gallery-card__prop-row"
61
65
  }, [
62
- (r(), B(F(k(n.icon)), {
66
+ (r(), S($(k(n.icon)), {
63
67
  class: "gallery-card__prop-icon",
64
68
  size: 12
65
69
  })),
@@ -67,12 +71,12 @@ const V = ["src"], z = { class: "gallery-card__body" }, A = { class: "gallery-ca
67
71
  e[1] || (e[1] = t("span", { class: "gallery-card__prop-spacer" }, null, -1)),
68
72
  t("span", T, c(n.value), 1)
69
73
  ]))), 128))
70
- ])) : u("", !0),
74
+ ])) : g("", !0),
71
75
  t("div", G, [
72
76
  t("span", U, [
73
77
  t("span", {
74
78
  class: "gallery-card__status-dot",
75
- style: _({ backgroundColor: h.value })
79
+ style: y({ backgroundColor: x.value })
76
80
  }, null, 4),
77
81
  w(" " + c(o.item.id), 1)
78
82
  ]),
@@ -1,7 +1,7 @@
1
1
  import o from "./GalleryView.vue2.js";
2
2
  /* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b432e370"]]);
3
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-28632dee"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import a from "./KanbanBoard.vue2.js";
1
+ import o from "./KanbanBoard.vue2.js";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(a, [["__scopeId", "data-v-5b7aa191"]]);
3
+ import a from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-f7c07951"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import a from "./KanbanCard.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(a, [["__scopeId", "data-v-560dac24"]]);
4
+ const m = /* @__PURE__ */ o(a, [["__scopeId", "data-v-f48f4a85"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./KanbanColumn.vue2.js";
2
2
  /* empty css */
3
3
  import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ a(o, [["__scopeId", "data-v-f34d289a"]]);
4
+ const p = /* @__PURE__ */ a(o, [["__scopeId", "data-v-daa8ed09"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, ref as g, watch as k, computed as C, openBlock as r, createElementBlock as d, createElementVNode as n, normalizeStyle as m, toDisplayString as y, createVNode as E, unref as c, createBlock as f, withCtx as H, Fragment as h, renderList as b } from "vue";
1
+ import { defineComponent as D, ref as g, watch as k, computed as y, openBlock as r, createElementBlock as d, createElementVNode as n, normalizeStyle as m, toDisplayString as C, createVNode as E, unref as c, createBlock as f, withCtx as H, Fragment as h, renderList as b } from "vue";
2
2
  import { Plus as L } from "lucide-vue-next";
3
3
  import { VueDraggable as R } from "vue-draggable-plus";
4
4
  import { useVirtualList as U } from "../../composables/useVirtualList.js";
@@ -14,19 +14,19 @@ const z = { class: "of-kanban-column" }, F = { class: "of-col-header" }, I = { c
14
14
  },
15
15
  emits: ["add-card", "card-click", "update:column"],
16
16
  setup(i, { emit: x }) {
17
- const a = i, u = x, l = g([...a.column.tasks]);
17
+ const s = i, u = x, l = g([...s.column.tasks]);
18
18
  k(
19
- () => a.column.tasks,
20
- (s) => {
21
- s.length === l.value.length && s.every((o, e) => {
19
+ () => s.column.tasks,
20
+ (a) => {
21
+ a.length === l.value.length && a.every((o, e) => {
22
22
  var v;
23
23
  return o.id === ((v = l.value[e]) == null ? void 0 : v.id);
24
- }) || (l.value = [...s]);
24
+ }) || (l.value = [...a]);
25
25
  }
26
- ), k(l, (s) => {
27
- u("update:column", { ...a.column, tasks: s });
26
+ ), k(l, (a) => {
27
+ u("update:column", { ...s.column, tasks: a });
28
28
  });
29
- const S = C(() => l.value.length > 50), p = g(null), {
29
+ const S = y(() => l.value.length > 50), p = g(null), {
30
30
  visibleItems: T,
31
31
  totalHeight: M,
32
32
  offsetY: A
@@ -35,19 +35,19 @@ const z = { class: "of-kanban-column" }, F = { class: "of-col-header" }, I = { c
35
35
  itemHeight: 120,
36
36
  overscan: 3,
37
37
  containerRef: p
38
- }), B = C(() => {
39
- if (a.column.color) return a.column.color;
40
- const s = Y(w, a.statusColorMap), t = s[a.column.id], o = s[a.column.title], e = t ?? o;
41
- return (e == null ? void 0 : e.dot) ?? (e == null ? void 0 : e.text) ?? "var(--of-color-gray-400)";
38
+ }), B = y(() => {
39
+ if (s.column.color) return s.column.color;
40
+ const a = Y(w, s.statusColorMap), t = a[s.column.id], o = a[s.column.title], e = t ?? o;
41
+ return (e == null ? void 0 : e.dot) ?? (e == null ? void 0 : e.text) ?? "var(--of-text-tertiary, var(--of-color-gray-400))";
42
42
  });
43
- return (s, t) => (r(), d("div", z, [
43
+ return (a, t) => (r(), d("div", z, [
44
44
  n("div", F, [
45
45
  n("span", {
46
46
  class: "of-col-dot",
47
47
  style: m({ background: B.value })
48
48
  }, null, 4),
49
- n("span", I, y(i.column.title), 1),
50
- n("span", K, y(l.value.length), 1),
49
+ n("span", I, C(i.column.title), 1),
50
+ n("span", K, C(l.value.length), 1),
51
51
  t[4] || (t[4] = n("span", { class: "of-col-spacer" }, null, -1)),
52
52
  n("button", {
53
53
  class: "of-col-add-btn",
@@ -1,7 +1,7 @@
1
1
  import o from "./QuickAddRow.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-47c0eb81"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8eaba792"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./AppLayout.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8488617f"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8bdb327a"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Navbar.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ a(o, [["__scopeId", "data-v-ed7a40bd"]]);
3
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e6532c9f"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Sidebar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9ea7f9dc"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-19ff2e4b"]]);
5
5
  export {
6
- f as default
6
+ e as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./StatusBar.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-06dfdfe7"]]);
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-e56cdf6e"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./MermaidChart.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cc130f1a"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e3840a02"]]);
5
5
  export {
6
- c as default
6
+ e as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Dialog.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-118545d6"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9e87dcef"]]);
5
5
  export {
6
- p as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Drawer.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-10de0e6f"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9cd908b5"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Modal.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-3d6d6bd1"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d941ad2e"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./SidePanel.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bf2b5d9f"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6f065a71"]]);
5
5
  export {
6
- e as default
6
+ f as default
7
7
  };
@@ -2,7 +2,7 @@ import o from "./SplitPane.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9ba00779"]]);
5
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5fcfe2e7"]]);
6
6
  export {
7
- i as default
7
+ m as default
8
8
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ColumnHeaderMenu.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7d9517c4"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5c015f78"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import o from "./DataTable.vue2.js";
1
+ import a from "./DataTable.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-204347d4"]]);
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ o(a, [["__scopeId", "data-v-1fb9662a"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./DetailSheet.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-bac586d2"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-53b37775"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./FieldCell.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-8e46c20b"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c27b1b16"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import e from "./FieldTypePicker.vue2.js";
1
+ import o from "./FieldTypePicker.vue2.js";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-8b7ffaee"]]);
3
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e50c5383"]]);
5
5
  export {
6
- p as default
6
+ c as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./MobileListView.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ccf7d630"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e5391fd2"]]);
5
5
  export {
6
- e as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./NewRowBtn.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-612639d1"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6a136c2a"]]);
5
5
  export {
6
- _ as default
6
+ p as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./TableColumnManager.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-bade90c0"]]);
3
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-8d96e6ee"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./TableDataRow.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-4ecab060"]]);
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2e39c1f1"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./TableFilterPanel.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3e9c57c5"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-66f74376"]]);
5
5
  export {
6
- c as default
6
+ f as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./TableGroupRow.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-42db94c3"]]);
4
+ const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-2d6dc6c9"]]);
5
5
  export {
6
- m as default
6
+ c as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./TableHeaderRow.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-9b7b027a"]]);
3
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-67029c0e"]]);
5
5
  export {
6
6
  m as default
7
7
  };