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.
- package/dist/fds-vue-core.cjs.js +7 -7
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +7 -7
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FdsWizard/FdsWizard.vue +8 -9
- package/src/components/Table/FdsTableHead/FdsTableHead.vue +1 -1
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -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
|
|
13007
|
-
const
|
|
13008
|
-
const
|
|
13009
|
-
const
|
|
13010
|
-
const
|
|
13011
|
-
return `${
|
|
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,
|