vlite3 1.5.4 → 1.5.6

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 (78) hide show
  1. package/README.md +105 -0
  2. package/VLiteIconsVite.d.ts +36 -0
  3. package/components/AppShell/AppShell.vue.d.ts +1 -1
  4. package/components/AppShell/AppShellLayoutDashboard.vue.js +3 -2
  5. package/components/AppShell/AppShellLayoutDock.vue.js +3 -2
  6. package/components/AppShell/AppShellLayoutHeaderShell.vue.js +28 -27
  7. package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +3 -2
  8. package/components/AsyncSelect/createAsyncSelect.d.ts +4 -4
  9. package/components/AsyncSelect/createAsyncSelect.js +3 -2
  10. package/components/BackButton.vue.d.ts +1 -1
  11. package/components/Calendar/Calendar.vue.js +1 -1
  12. package/components/Calendar/Calendar.vue2.js +29 -29
  13. package/components/CategoryManager/CategoryManager.vue2.js +14 -14
  14. package/components/CategoryManager/CategoryNode.vue.js +16 -16
  15. package/components/CategoryMenu/CategoryMenu.vue.js +9 -8
  16. package/components/Chart/BarChart.vue.d.ts +1 -1
  17. package/components/Chart/GanttChart.vue.d.ts +3 -1
  18. package/components/Chart/GanttChart.vue.js +2 -2
  19. package/components/Chart/GanttChart.vue2.js +591 -656
  20. package/components/Chart/LineChart.vue.d.ts +1 -1
  21. package/components/Chart/TimelineChart.vue.d.ts +1 -1
  22. package/components/ColorPicker/ColorIro.vue3.js +2 -2
  23. package/components/ColorPicker/ColorPicker.vue.js +2 -2
  24. package/components/ConfirmationModal.vue.d.ts +4 -0
  25. package/components/ConfirmationModal.vue.js +47 -39
  26. package/components/DataTable/DataTable.vue.js +319 -294
  27. package/components/DataTable/DataTableRow.vue.d.ts +2 -0
  28. package/components/DataTable/DataTableRow.vue.js +2 -2
  29. package/components/DataTable/DataTableRow.vue2.js +57 -54
  30. package/components/DataTable/types.d.ts +2 -0
  31. package/components/DatePicker.vue.js +5 -4
  32. package/components/Empty/Empty.vue.js +3 -2
  33. package/components/ExportData/ExportData.vue.d.ts +1 -1
  34. package/components/Form/Form.vue2.js +44 -43
  35. package/components/Form/FormField.vue.js +24 -24
  36. package/components/Heatmap/Heatmap.vue2.js +3 -2
  37. package/components/Icon.vue.d.ts +3 -2
  38. package/components/Icon.vue.js +22 -12
  39. package/components/IconPicker.vue.js +5 -133
  40. package/components/IconPicker.vue2.js +218 -2
  41. package/components/ImportData/ImportData.vue.js +3 -2
  42. package/components/ImportData/ImportStep2.vue.js +3 -2
  43. package/components/Kanban/KanbanBoard.vue2.js +4 -2
  44. package/components/List/utils.js +5 -4
  45. package/components/Masonry/Masonry.vue2.js +14 -13
  46. package/components/Navbar/Navbar.vue.d.ts +1 -1
  47. package/components/Price/Price.vue.js +13 -12
  48. package/components/QRCode/QRCode.vue.d.ts +1 -1
  49. package/components/Rating/Rating.vue.js +2 -2
  50. package/components/Rating/Rating.vue2.js +41 -41
  51. package/components/Rating/ReviewSummary.vue.js +20 -20
  52. package/components/ScaleGenerator/ScaleGenerator.vue.d.ts +1 -1
  53. package/components/Screen/ScreenFilter.vue.js +5 -3
  54. package/components/Screen/components/ScreenExportModal.vue.d.ts +2 -2
  55. package/components/SidePanel.vue.js +2 -2
  56. package/components/SidePanel.vue2.js +18 -18
  57. package/components/Stats/StatItem.vue.js +3 -2
  58. package/components/StatusChip/StatusChip.vue.js +6 -5
  59. package/components/Workbook/Sheet.vue.js +11 -11
  60. package/core/CoreScale.d.ts +18 -0
  61. package/core/CoreScale.js +44 -0
  62. package/core/config.d.ts +66 -32
  63. package/core/config.js +24 -12
  64. package/core/index.d.ts +3 -2
  65. package/core/index.js +44 -32
  66. package/icons/IconRegistry.d.ts +38 -0
  67. package/icons/IconRegistry.js +166 -0
  68. package/icons/IconTypes.d.ts +37 -0
  69. package/index.d.ts +3 -1
  70. package/index.js +478 -452
  71. package/package.json +15 -3
  72. package/style.css +45 -15
  73. package/types/config.type.d.ts +23 -0
  74. package/utils/functions.js +44 -43
  75. package/utils/index.d.ts +1 -0
  76. package/vite.d.ts +6 -0
  77. package/vite.js +223 -0
  78. /package/components/ColorPicker/{ColorIro.vue.js → ColorIro.vue2.js} +0 -0
@@ -19,7 +19,7 @@ import "v-datepicker-lite/style.css";
19
19
  /* empty css */
20
20
  import "@jaames/iro";
21
21
  import "@vueuse/core";
22
- /* empty css */
22
+ /* empty css */
23
23
  import qe from "../IconPicker.vue.js";
24
24
  /* empty css */
25
25
  /* empty css */
@@ -32,10 +32,10 @@ import "../../core/config.js";
32
32
  /* empty css */
33
33
  import { getUniqueId as _ } from "../../utils/functions.js";
34
34
  import { buildTreeFromRaw as ze, ensureMeta as w } from "./utils.js";
35
- const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "text-lg font-bold text-foreground" }, Fe = { class: "text-sm text-muted-foreground mt-0.5" }, $e = {
35
+ const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "text-lg font-bold text-foreground" }, Fe = { class: "text-sm text-muted-foreground mt-0.5" }, Be = {
36
36
  key: 0,
37
37
  class: "flex flex-col items-center justify-center py-10 px-4 text-center border border-dashed border-border rounded-xl bg-background"
38
- }, Be = { class: "w-12 h-12 bg-muted rounded-full flex items-center justify-center mb-4" }, Je = { class: "text-base font-medium text-foreground" }, je = { class: "text-sm text-muted-foreground mt-1 max-w-sm" }, Ge = {
38
+ }, Je = { class: "w-12 h-12 bg-muted rounded-full flex items-center justify-center mb-4" }, $e = { class: "text-base font-medium text-foreground" }, je = { class: "text-sm text-muted-foreground mt-1 max-w-sm" }, Ge = {
39
39
  key: 1,
40
40
  class: "w-full tree-wrapper scrollable-container",
41
41
  style: { "will-change": "transform", contain: "layout style" }
@@ -326,7 +326,7 @@ const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "t
326
326
  if (e.categoryTitlePlaceholder) return e.categoryTitlePlaceholder;
327
327
  const t = a("vlite.categoryManager.categoryTitlePlaceholder");
328
328
  return t !== "vlite.categoryManager.categoryTitlePlaceholder" ? t : "Category title...";
329
- }), Te = s(() => e.quickAddTooltipI18n ? a(e.quickAddTooltipI18n) : e.quickAddTooltip ? e.quickAddTooltip : a("vlite.categoryManager.quickAddTooltip") !== "vlite.categoryManager.quickAddTooltip" ? a("vlite.categoryManager.quickAddTooltip") : "Quick Add Subcategory"), he = s(() => e.advancedDetailsTooltipI18n ? a(e.advancedDetailsTooltipI18n) : e.advancedDetailsTooltip ? e.advancedDetailsTooltip : a("vlite.categoryManager.advancedDetailsTooltip") !== "vlite.categoryManager.advancedDetailsTooltip" ? a("vlite.categoryManager.advancedDetailsTooltip") : "Advanced Details"), xe = s(() => e.deleteTooltipI18n ? a(e.deleteTooltipI18n) : e.deleteTooltip ? e.deleteTooltip : a("vlite.categoryManager.deleteTooltip") !== "vlite.categoryManager.deleteTooltip" ? a("vlite.categoryManager.deleteTooltip") : "Delete"), $ = s(() => e.saveTooltipI18n ? a(e.saveTooltipI18n) : e.saveTooltip ? e.saveTooltip : a("vlite.categoryManager.saveTooltip") !== "vlite.categoryManager.saveTooltip" ? a("vlite.categoryManager.saveTooltip") : "Save"), B = s(() => e.cancelTooltipI18n ? a(e.cancelTooltipI18n) : e.cancelTooltip ? e.cancelTooltip : a("vlite.categoryManager.cancelTooltip") !== "vlite.categoryManager.cancelTooltip" ? a("vlite.categoryManager.cancelTooltip") : "Cancel");
329
+ }), Te = s(() => e.quickAddTooltipI18n ? a(e.quickAddTooltipI18n) : e.quickAddTooltip ? e.quickAddTooltip : a("vlite.categoryManager.quickAddTooltip") !== "vlite.categoryManager.quickAddTooltip" ? a("vlite.categoryManager.quickAddTooltip") : "Quick Add Subcategory"), he = s(() => e.advancedDetailsTooltipI18n ? a(e.advancedDetailsTooltipI18n) : e.advancedDetailsTooltip ? e.advancedDetailsTooltip : a("vlite.categoryManager.advancedDetailsTooltip") !== "vlite.categoryManager.advancedDetailsTooltip" ? a("vlite.categoryManager.advancedDetailsTooltip") : "Advanced Details"), xe = s(() => e.deleteTooltipI18n ? a(e.deleteTooltipI18n) : e.deleteTooltip ? e.deleteTooltip : a("vlite.categoryManager.deleteTooltip") !== "vlite.categoryManager.deleteTooltip" ? a("vlite.categoryManager.deleteTooltip") : "Delete"), B = s(() => e.saveTooltipI18n ? a(e.saveTooltipI18n) : e.saveTooltip ? e.saveTooltip : a("vlite.categoryManager.saveTooltip") !== "vlite.categoryManager.saveTooltip" ? a("vlite.categoryManager.saveTooltip") : "Save"), J = s(() => e.cancelTooltipI18n ? a(e.cancelTooltipI18n) : e.cancelTooltip ? e.cancelTooltip : a("vlite.categoryManager.cancelTooltip") !== "vlite.categoryManager.cancelTooltip" ? a("vlite.categoryManager.cancelTooltip") : "Cancel");
330
330
  Ce("categoryManager", {
331
331
  expandedIds: g,
332
332
  inlineState: y,
@@ -344,8 +344,8 @@ const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "t
344
344
  quickAddTooltipText: Te,
345
345
  advancedDetailsTooltipText: he,
346
346
  deleteTooltipText: xe,
347
- saveTooltipText: $,
348
- cancelTooltipText: B
347
+ saveTooltipText: B,
348
+ cancelTooltipText: J
349
349
  });
350
350
  const Ie = {
351
351
  mounted: (t) => {
@@ -356,7 +356,7 @@ const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "t
356
356
  g.value = t;
357
357
  }, we = () => {
358
358
  g.value = /* @__PURE__ */ new Set();
359
- }, J = (...t) => {
359
+ }, $ = (...t) => {
360
360
  const o = new Set(g.value);
361
361
  t.forEach((l) => o.add(l)), g.value = o;
362
362
  }, Se = (...t) => {
@@ -364,12 +364,12 @@ const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "t
364
364
  t.forEach((l) => o.delete(l)), g.value = o;
365
365
  };
366
366
  return De(() => {
367
- e.defaultExpanded && e.defaultExpanded.length > 0 && J(...e.defaultExpanded);
367
+ e.defaultExpanded && e.defaultExpanded.length > 0 && $(...e.defaultExpanded);
368
368
  }), L({
369
369
  expandedIds: g,
370
370
  expandAll: be,
371
371
  collapseAll: we,
372
- expand: J,
372
+ expand: $,
373
373
  collapse: Se
374
374
  }), (t, o) => (I(), C("div", {
375
375
  class: Ae(["category-manager-container w-full bg-muted/10 rounded-xl border border-border p-4 lg:p-6 relative", { "category-manager--loading": M.loading }])
@@ -394,14 +394,14 @@ const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "t
394
394
  }))
395
395
  ], !0)
396
396
  ]),
397
- d.value.length === 0 && y.value.mode !== "add-root" ? (I(), C("div", $e, [
398
- m("div", Be, [
397
+ d.value.length === 0 && y.value.mode !== "add-root" ? (I(), C("div", Be, [
398
+ m("div", Je, [
399
399
  T(Q, {
400
400
  icon: "lucide:folder-tree",
401
401
  class: "w-6 h-6 text-muted-foreground"
402
402
  })
403
403
  ]),
404
- m("h4", Je, b(de.value), 1),
404
+ m("h4", $e, b(de.value), 1),
405
405
  m("p", je, b(ce.value), 1),
406
406
  M.readonly ? E("", !0) : (I(), G(R, {
407
407
  key: 0,
@@ -447,7 +447,7 @@ const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "t
447
447
  size: "xs",
448
448
  icon: "lucide:check",
449
449
  class: "shrink-0 h-7 w-7 px-0",
450
- title: $.value,
450
+ title: B.value,
451
451
  onClick: V
452
452
  }, null, 8, ["title"]),
453
453
  T(R, {
@@ -455,7 +455,7 @@ const Ue = { class: "flex items-center justify-between mb-6" }, Oe = { class: "t
455
455
  size: "xs",
456
456
  icon: "lucide:x",
457
457
  class: "shrink-0 h-7 w-7 px-0",
458
- title: B.value,
458
+ title: J.value,
459
459
  onClick: D
460
460
  }, null, 8, ["title"])
461
461
  ])) : E("", !0)
@@ -1,8 +1,8 @@
1
- import { defineComponent as A, inject as F, computed as g, resolveComponent as K, openBlock as a, createBlock as f, unref as l, withCtx as P, createElementBlock as i, Fragment as R, renderList as L, isMemoSame as O, createElementVNode as y, normalizeClass as u, createVNode as s, createCommentVNode as c, withDirectives as k, withModifiers as q, withKeys as w, vModelText as _, toDisplayString as Q, vShow as G } from "vue";
1
+ import { defineComponent as P, inject as A, computed as g, resolveComponent as F, openBlock as a, createBlock as f, unref as l, withCtx as K, createElementBlock as i, Fragment as R, renderList as L, isMemoSame as O, createElementVNode as y, normalizeClass as u, createVNode as s, createCommentVNode as c, withDirectives as k, withModifiers as q, withKeys as w, vModelText as z, toDisplayString as Q, vShow as G } from "vue";
2
2
  import { VueDraggable as H } from "vue-draggable-plus";
3
3
  import C from "../Icon.vue.js";
4
4
  import m from "../Button.vue.js";
5
- import z from "../IconPicker.vue.js";
5
+ import _ from "../IconPicker.vue.js";
6
6
  const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["onClick"], X = { class: "flex items-center gap-1.5 overflow-hidden flex-1 w-full" }, Y = {
7
7
  key: 0,
8
8
  class: "drag-handle cursor-grab active:cursor-grabbing text-muted hover:text-foreground transition-colors p-0.5 shrink-0"
@@ -15,7 +15,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
15
15
  }, le = {
16
16
  key: 1,
17
17
  class: "flex items-center gap-1.5 py-1.5 px-2 bg-background border border-border shadow-sm rounded-lg w-full mb-1.5"
18
- }, ne = ["placeholder"], ce = /* @__PURE__ */ A({
18
+ }, ne = ["placeholder"], ce = /* @__PURE__ */ P({
19
19
  __name: "CategoryNode",
20
20
  props: {
21
21
  modelValue: {},
@@ -23,7 +23,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
23
23
  },
24
24
  emits: ["update:modelValue", "change", "dragEnd"],
25
25
  setup(V, { emit: E }) {
26
- const S = V, p = E, t = F("categoryManager"), b = g({
26
+ const S = V, p = E, t = A("categoryManager"), b = g({
27
27
  get: () => S.modelValue,
28
28
  set: (d) => p("update:modelValue", d)
29
29
  }), D = (d, n) => {
@@ -31,7 +31,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
31
31
  }, U = () => p("change"), N = (d) => {
32
32
  const n = d.item?.dataset?.id;
33
33
  n && p("dragEnd", n);
34
- }, v = g(() => t?.readonly.value || !1), r = g(() => t?.size.value || "md"), M = g(() => r.value === "sm" ? "p-1 md:p-1.5" : r.value === "lg" ? "p-2 md:p-2.5" : "py-1.5 px-2"), T = g(() => {
34
+ }, v = g(() => t?.readonly.value || !1), r = g(() => t?.size.value || "md"), M = g(() => r.value === "sm" ? "p-1 md:p-1.5" : r.value === "lg" ? "p-2 md:p-2.5" : "py-1.5 px-2"), I = g(() => {
35
35
  const n = S.level === 0 ? "font-semibold" : "font-medium";
36
36
  return r.value === "sm" ? `text-xs ${n} text-foreground` : r.value === "lg" ? `-text-fs-1 ${n} text-foreground` : `text-sm ${n} text-foreground`;
37
37
  }), h = g(() => r.value === "sm" ? "w-3.5 h-3.5" : r.value === "lg" ? "w-4.5 h-4.5" : "w-4 h-4"), j = {
@@ -40,7 +40,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
40
40
  }
41
41
  };
42
42
  return (d, n) => {
43
- const B = K("CategoryNode", !0);
43
+ const B = F("CategoryNode", !0);
44
44
  return a(), f(l(H), {
45
45
  modelValue: b.value,
46
46
  "onUpdate:modelValue": n[11] || (n[11] = (e) => b.value = e),
@@ -52,9 +52,9 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
52
52
  class: "min-h-[2px]",
53
53
  onEnd: N
54
54
  }, {
55
- default: P(() => [
55
+ default: K(() => [
56
56
  (a(!0), i(R, null, L(b.value, (e, oe, ae, x) => {
57
- const I = [
57
+ const T = [
58
58
  e.id,
59
59
  e.title,
60
60
  e.icon,
@@ -65,7 +65,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
65
65
  v.value,
66
66
  r.value
67
67
  ];
68
- if (x && x.key === e.id && O(x, I)) return x;
68
+ if (x && x.key === e.id && O(x, T)) return x;
69
69
  const $ = (a(), i("div", {
70
70
  key: e.id,
71
71
  "data-id": e.id,
@@ -102,7 +102,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
102
102
  key: 2,
103
103
  icon: e.icon,
104
104
  class: u([h.value, "shrink-0 text-muted-foreground"])
105
- }, null, 8, ["icon", "class"])) : c("", !0) : (a(), f(z, {
105
+ }, null, 8, ["icon", "class"])) : c("", !0) : (a(), f(_, {
106
106
  key: 1,
107
107
  value: e.icon,
108
108
  "btn-props": {
@@ -118,13 +118,13 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
118
118
  }, null, 8, ["value", "btn-props", "onOnSelect"])),
119
119
  v.value ? (a(), i("span", {
120
120
  key: 4,
121
- class: u(["truncate", T.value])
121
+ class: u(["truncate", I.value])
122
122
  }, Q(e.title), 3)) : k((a(), i("input", {
123
123
  key: 3,
124
124
  "onUpdate:modelValue": (o) => e.title = o,
125
125
  class: u([
126
126
  "bg-transparent border-0 outline-none focus:ring-0 px-1 py-0.5 -ml-1 transition-colors w-full truncate cursor-text min-w-0 shadow-none caret-primary",
127
- T.value
127
+ I.value
128
128
  ]),
129
129
  placeholder: l(t)?.categoryTitlePlaceholderText.value || "Category title...",
130
130
  onChange: (o) => l(t)?.saveItem(e),
@@ -132,7 +132,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
132
132
  onClick: n[1] || (n[1] = q(() => {
133
133
  }, ["stop"]))
134
134
  }, null, 42, Z)), [
135
- [_, e.title]
135
+ [z, e.title]
136
136
  ])
137
137
  ])
138
138
  ]),
@@ -174,7 +174,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
174
174
  onDragEnd: n[2] || (n[2] = (o) => p("dragEnd", o))
175
175
  }, null, 8, ["modelValue", "onUpdate:modelValue", "level"])) : c("", !0),
176
176
  l(t)?.inlineState.value.mode === "add-child" && l(t).inlineState.value.targetId === e.id ? (a(), i("div", le, [
177
- s(z, {
177
+ s(_, {
178
178
  modelValue: l(t).inlineState.value.icon,
179
179
  "onUpdate:modelValue": n[3] || (n[3] = (o) => l(t).inlineState.value.icon = o),
180
180
  "btn-props": {
@@ -194,7 +194,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
194
194
  ]
195
195
  }, null, 40, ne), [
196
196
  [j],
197
- [_, l(t).inlineState.value.title]
197
+ [z, l(t).inlineState.value.title]
198
198
  ]),
199
199
  s(m, {
200
200
  variant: "primary",
@@ -217,7 +217,7 @@ const J = { class: "flex items-center gap-px overflow-hidden flex-1" }, W = ["on
217
217
  [G, l(t)?.expandedIds.value.has(e.id)]
218
218
  ]) : c("", !0)
219
219
  ], 8, ["data-id"]));
220
- return $.memo = I, $;
220
+ return $.memo = T, $;
221
221
  }, n, 9), 128))
222
222
  ]),
223
223
  _: 1
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, computed as o, markRaw as u, inject as B, openBlock as m, createElementBlock as D, createBlock as f, unref as E, normalizeClass as h, resolveDynamicComponent as S } from "vue";
1
+ import { defineComponent as C, computed as o, markRaw as m, inject as B, openBlock as u, createElementBlock as D, createBlock as f, unref as E, normalizeClass as h, resolveDynamicComponent as S } from "vue";
2
2
  import v from "./CategoryMenuVariant1.vue.js";
3
3
  import k from "./CategoryMenuVariant2.vue.js";
4
4
  import { CATEGORY_MENU_ROUTE_PREFIX_KEY as R, buildCategoryRoute as A } from "./utils.js";
@@ -6,6 +6,7 @@ import P from "../SidebarMenu/SidebarMenu.vue.js";
6
6
  /* empty css */
7
7
  import "vue-router";
8
8
  import "@iconify/vue";
9
+ import "../../icons/IconRegistry.js";
9
10
  import "v-tooltip-lite/style.css";
10
11
  import "v-tooltip-lite";
11
12
  import "../../core/config.js";
@@ -21,7 +22,7 @@ const L = {
21
22
  class: "w-full text-center text-xs text-muted-foreground py-3"
22
23
  }, M = {
23
24
  name: "CategoryMenu"
24
- }, ee = /* @__PURE__ */ C({
25
+ }, te = /* @__PURE__ */ C({
25
26
  ...M,
26
27
  props: {
27
28
  items: { default: () => [] },
@@ -46,11 +47,11 @@ const L = {
46
47
  const e = w, n = g, i = o(() => e.rawData && e.rawData.length > 0 ? j(e.rawData) : e.items || []), x = o(() => {
47
48
  switch (e.variant) {
48
49
  case "tabs":
49
- return u(v);
50
+ return m(v);
50
51
  case "mega":
51
- return u(k);
52
+ return m(k);
52
53
  default:
53
- return u(v);
54
+ return m(v);
54
55
  }
55
56
  }), l = B(
56
57
  R,
@@ -81,13 +82,13 @@ const L = {
81
82
  action: () => n("select", { id: "all", title: e.allItemLabel })
82
83
  }), r;
83
84
  }), I = (a) => n("select", a), b = o(() => !i.value || i.value.length === 0);
84
- return (a, r) => b.value ? (m(), D("div", L, " No categories to display. ")) : e.variant === "sidebar" ? (m(), f(E(P), {
85
+ return (a, r) => b.value ? (u(), D("div", L, " No categories to display. ")) : e.variant === "sidebar" ? (u(), f(E(P), {
85
86
  key: 1,
86
87
  items: y.value,
87
88
  "allow-multiple": e.multiExpand,
88
89
  "default-expanded": e.activeId ? [String(e.activeId)] : [],
89
90
  class: h(e.class)
90
- }, null, 8, ["items", "allow-multiple", "default-expanded", "class"])) : (m(), f(S(x.value), {
91
+ }, null, 8, ["items", "allow-multiple", "default-expanded", "class"])) : (u(), f(S(x.value), {
91
92
  key: 2,
92
93
  items: i.value,
93
94
  "max-depth": e.maxDepth,
@@ -107,5 +108,5 @@ const L = {
107
108
  }
108
109
  });
109
110
  export {
110
- ee as default
111
+ te as default
111
112
  };
@@ -29,8 +29,8 @@ export interface BarChartProps {
29
29
  yLabelWidth?: number;
30
30
  }
31
31
  declare const _default: import('vue').DefineComponent<BarChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BarChartProps> & Readonly<{}>, {
32
- animate: boolean;
33
32
  height: number;
33
+ animate: boolean;
34
34
  orientation: "vertical" | "horizontal";
35
35
  colors: string[];
36
36
  showGrid: boolean;
@@ -105,6 +105,8 @@ declare const _default: import('vue').DefineComponent<GanttChartProps, {
105
105
  setZoom: typeof setZoom;
106
106
  resetZoom: typeof resetZoom;
107
107
  scrollToToday: typeof scrollToToday;
108
+ /** Whether "today" falls inside the rendered date range (read-only). */
109
+ isTodayVisible: () => boolean;
108
110
  /** Current zoom level (read-only). */
109
111
  getZoom: () => number;
110
112
  /** Collapse / expand the task sidebar. */
@@ -134,8 +136,8 @@ declare const _default: import('vue').DefineComponent<GanttChartProps, {
134
136
  "onZoom-change"?: (payload: GanttZoomState) => any;
135
137
  "onSidebar-toggle"?: (collapsed: boolean) => any;
136
138
  }>, {
137
- animate: boolean;
138
139
  height: number;
140
+ animate: boolean;
139
141
  draggable: boolean;
140
142
  showHeader: boolean;
141
143
  colors: string[];
@@ -1,7 +1,7 @@
1
1
  import t from "./GanttChart.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-b7dc343d"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-7aff7e2f"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };