@bcc-code/component-library-vue 0.7.9 → 0.7.11

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.
@@ -7343,8 +7343,8 @@ const gC = {
7343
7343
  setup(t) {
7344
7344
  const e = t, n = li(t, "modelValue"), r = Re(() => ({
7345
7345
  current: n.value + 1,
7346
- total: e.steps.length,
7347
- label: e.steps[n.value] ?? ""
7346
+ total: Array.isArray(e.steps) ? e.steps.length : e.steps,
7347
+ label: Array.isArray(e.steps) ? e.steps[n.value] ?? "" : ""
7348
7348
  }));
7349
7349
  return (i, o) => (d(), f("div", {
7350
7350
  class: x(["bcc-step-indicator col gap-2", [{ left: t.left, right: t.right }, `ctx-${t.context}`]])