fds-vue-core 6.0.7 → 6.0.9

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.
@@ -13003,12 +13003,12 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
13003
13003
  const entries = visibleStepEntries.value ?? [];
13004
13004
  const stepsCount = entries.length;
13005
13005
  if (stepsCount <= 1) return "0%";
13006
- const completedFullIndex = internalCompletedTo.value;
13007
- const completedVisibleEntries = entries.map(({ index }, visibleIndex) => ({ fullIndex: index, visibleIndex })).filter(({ fullIndex }) => fullIndex <= completedFullIndex);
13008
- const lastCompletedEntry = completedVisibleEntries.length > 0 ? completedVisibleEntries[completedVisibleEntries.length - 1] : void 0;
13009
- const completedVisibleIndex = lastCompletedEntry?.visibleIndex ?? 0;
13010
- const completedStep = Math.min(completedVisibleIndex, stepsCount - 1);
13011
- return `${completedStep / (stepsCount - 1) * 100}%`;
13006
+ const targetFullIndex = Math.max(internalMaxStep.value, internalCompletedTo.value, currentStepIndex.value);
13007
+ const targetVisibleEntries = entries.map(({ index }, visibleIndex) => ({ fullIndex: index, visibleIndex })).filter(({ fullIndex }) => fullIndex <= targetFullIndex);
13008
+ const lastTargetEntry = targetVisibleEntries.length > 0 ? targetVisibleEntries[targetVisibleEntries.length - 1] : void 0;
13009
+ const targetVisibleIndex = lastTargetEntry?.visibleIndex ?? 0;
13010
+ const targetStep = Math.min(targetVisibleIndex, stepsCount - 1);
13011
+ return `${targetStep / (stepsCount - 1) * 100}%`;
13012
13012
  });
13013
13013
  const stepWidthStyle = vue.computed(() => props.stepWidth ? `width: ${props.stepWidth}px` : "");
13014
13014
  const isStepperHidden = vue.computed(() => {
@@ -13681,7 +13681,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
13681
13681
  vue.createVNode(_sfc_main$H, {
13682
13682
  name: iconName.value,
13683
13683
  size: "24px",
13684
- class: "fill-blue-500"
13684
+ class: "fill-blue-500 ml-1"
13685
13685
  }, null, 8, ["name"])
13686
13686
  ], 42, _hoisted_1$1)) : (vue.openBlock(), vue.createElementBlock("div", {
13687
13687
  key: 1,