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.
- package/README.md +39 -0
- package/dist/fds-vue-core.cjs.js +1 -1
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.es.js +1 -1
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +16 -4
- package/scripts/cz/.cz-config.cjs +22 -0
- package/scripts/cz/cz-adapter.cjs +112 -0
- package/src/components/FdsWizard/FdsWizard.vue +1 -1
package/dist/fds-vue-core.es.js
CHANGED
|
@@ -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(
|
|
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;
|