fds-vue-core 6.0.13 → 6.1.2

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.
@@ -13036,7 +13036,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
13036
13036
  const entries = visibleStepEntries.value ?? [];
13037
13037
  const stepsCount = entries.length;
13038
13038
  if (stepsCount <= 1) return "0%";
13039
- const targetFullIndex = Math.max(internalMaxStep.value, internalCompletedTo.value, currentStepIndex.value);
13039
+ const targetFullIndex = Math.max(currentStepIndex.value, maxCompletedStepIndex.value, 0);
13040
13040
  const targetVisibleEntries = entries.map(({ index }, visibleIndex) => ({ fullIndex: index, visibleIndex })).filter(({ fullIndex }) => fullIndex <= targetFullIndex);
13041
13041
  const lastTargetEntry = targetVisibleEntries.length > 0 ? targetVisibleEntries[targetVisibleEntries.length - 1] : void 0;
13042
13042
  const targetVisibleIndex = lastTargetEntry?.visibleIndex ?? 0;