jordium-gantt-vue3 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1772,7 +1772,7 @@ function sF(r) {
1772
1772
  return A(t), e;
1773
1773
  }
1774
1774
  function oF(r, t, e) {
1775
- const A = lt(() => r !== "declarative" ? [] : sF(t)), n = lt(() => r === "declarative" ? A.value : e || []);
1775
+ const A = lt(() => (typeof r == "string" ? r : r.value) !== "declarative" ? [] : sF(t)), n = lt(() => (typeof r == "string" ? r : r.value) === "declarative" ? A.value : e || []);
1776
1776
  return {
1777
1777
  declarativeColumns: A,
1778
1778
  finalColumns: n,
@@ -1814,7 +1814,7 @@ const lF = { class: "task-list-header" }, uF = { class: "col col-name" }, $o = 5
1814
1814
  setup(r, { emit: t }) {
1815
1815
  var xe;
1816
1816
  const e = r, A = t, n = Fc(), a = lt(() => !!n["custom-task-content"]), s = Oy("gantt-column-slots", {}), { t: i } = Ma(), { declarativeColumns: o, getColumnWidthStyle: l } = oF(
1817
- e.taskListColumnRenderMode || "default",
1817
+ lt(() => e.taskListColumnRenderMode || "default"),
1818
1818
  n,
1819
1819
  ((xe = e.taskListConfig) == null ? void 0 : xe.columns) || mf
1820
1820
  ), u = lt(() => {
@@ -2127,7 +2127,7 @@ const lF = { class: "task-list-header" }, uF = { class: "col col-name" }, $o = 5
2127
2127
  ], 544)
2128
2128
  ], 512));
2129
2129
  }
2130
- }), fF = /* @__PURE__ */ xn(cF, [["__scopeId", "data-v-f0f868e5"]]), Ye = {
2130
+ }), fF = /* @__PURE__ */ xn(cF, [["__scopeId", "data-v-0d310224"]]), Ye = {
2131
2131
  HOUR: "hour",
2132
2132
  // 小时视图 - 每列显示一小时
2133
2133
  DAY: "day",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jordium-gantt-vue3",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "A modern, flexible, and feature-rich Gantt chart component library for Vue 3",
5
5
  "main": "dist/jordium-gantt-vue3.cjs.js",
6
6
  "module": "dist/jordium-gantt-vue3.es.js",