fds-vue-core 4.7.1 → 4.7.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/dist/fds-vue-core.cjs.js +211 -143
- 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 +212 -144
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FdsWizard/FdsWizard.vue +151 -56
- package/src/.DS_Store +0 -0
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -1004,12 +1004,12 @@ const _hoisted_4$9 = {
|
|
|
1004
1004
|
};
|
|
1005
1005
|
const _hoisted_5$8 = { class: "flex items-start justify-between gap-4" };
|
|
1006
1006
|
const _hoisted_6$5 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
1007
|
-
const _hoisted_7$
|
|
1008
|
-
const _hoisted_8$
|
|
1007
|
+
const _hoisted_7$5 = { class: "flex items-start gap-3" };
|
|
1008
|
+
const _hoisted_8$4 = {
|
|
1009
1009
|
key: 1,
|
|
1010
1010
|
class: "mb-0-last-child"
|
|
1011
1011
|
};
|
|
1012
|
-
const _hoisted_9$
|
|
1012
|
+
const _hoisted_9$4 = { key: 1 };
|
|
1013
1013
|
const _hoisted_10$2 = { class: "flex items-start justify-between gap-4" };
|
|
1014
1014
|
const _hoisted_11$2 = { class: "flex items-center gap-3" };
|
|
1015
1015
|
const _hoisted_12$1 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
@@ -1059,16 +1059,16 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
1059
1059
|
__props.heading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [
|
|
1060
1060
|
vue.createElementVNode("header", _hoisted_5$8, [
|
|
1061
1061
|
vue.createElementVNode("h3", _hoisted_6$5, vue.toDisplayString(__props.heading), 1),
|
|
1062
|
-
vue.createElementVNode("div", _hoisted_7$
|
|
1062
|
+
vue.createElementVNode("div", _hoisted_7$5, [
|
|
1063
1063
|
vue.renderSlot(_ctx.$slots, "headerInfo")
|
|
1064
1064
|
])
|
|
1065
1065
|
])
|
|
1066
1066
|
])) : vue.createCommentVNode("", true),
|
|
1067
|
-
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$
|
|
1067
|
+
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$4, [
|
|
1068
1068
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1069
1069
|
])) : vue.createCommentVNode("", true)
|
|
1070
1070
|
])
|
|
1071
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$
|
|
1071
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$4, [
|
|
1072
1072
|
__props.heading ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1073
1073
|
key: 0,
|
|
1074
1074
|
class: vue.normalizeClass({ "mb-2": vue.unref(hasSlot) })
|
|
@@ -8828,9 +8828,9 @@ const _hoisted_3$8 = {
|
|
|
8828
8828
|
const _hoisted_4$7 = { class: "w-full text-left text-xs border-collapse" };
|
|
8829
8829
|
const _hoisted_5$7 = ["onClick"];
|
|
8830
8830
|
const _hoisted_6$4 = { class: "py-1.5 px-3 font-mono break-all" };
|
|
8831
|
-
const _hoisted_7$
|
|
8832
|
-
const _hoisted_8$
|
|
8833
|
-
const _hoisted_9$
|
|
8831
|
+
const _hoisted_7$4 = { class: "py-1.5 px-3 font-mono whitespace-pre-wrap break-all" };
|
|
8832
|
+
const _hoisted_8$3 = { class: "mt-4 space-y-2" };
|
|
8833
|
+
const _hoisted_9$3 = { class: "flex flex-col gap-1" };
|
|
8834
8834
|
const _hoisted_10$1 = { class: "flex flex-col gap-1" };
|
|
8835
8835
|
const _hoisted_11$1 = {
|
|
8836
8836
|
key: 0,
|
|
@@ -9133,14 +9133,14 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
9133
9133
|
onClick: ($event) => selectLocalEntry(entry)
|
|
9134
9134
|
}, [
|
|
9135
9135
|
vue.createElementVNode("td", _hoisted_6$4, vue.toDisplayString(entry.key), 1),
|
|
9136
|
-
vue.createElementVNode("td", _hoisted_7$
|
|
9136
|
+
vue.createElementVNode("td", _hoisted_7$4, vue.toDisplayString(entry.value), 1)
|
|
9137
9137
|
], 8, _hoisted_5$7);
|
|
9138
9138
|
}), 128))
|
|
9139
9139
|
])
|
|
9140
9140
|
])
|
|
9141
9141
|
])),
|
|
9142
|
-
vue.createElementVNode("div", _hoisted_8$
|
|
9143
|
-
vue.createElementVNode("div", _hoisted_9$
|
|
9142
|
+
vue.createElementVNode("div", _hoisted_8$3, [
|
|
9143
|
+
vue.createElementVNode("div", _hoisted_9$3, [
|
|
9144
9144
|
_cache[13] || (_cache[13] = vue.createElementVNode("label", { class: "text-xs font-semibold" }, "Nyckel", -1)),
|
|
9145
9145
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
9146
9146
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => localEditKey.value = $event),
|
|
@@ -9710,9 +9710,9 @@ const _hoisted_6$3 = {
|
|
|
9710
9710
|
key: 0,
|
|
9711
9711
|
class: "flex justify-center p-4"
|
|
9712
9712
|
};
|
|
9713
|
-
const _hoisted_7$
|
|
9714
|
-
const _hoisted_8$
|
|
9715
|
-
const _hoisted_9$
|
|
9713
|
+
const _hoisted_7$3 = ["id", "onMouseup"];
|
|
9714
|
+
const _hoisted_8$2 = ["id", "onKeydown"];
|
|
9715
|
+
const _hoisted_9$2 = ["for", "innerHTML"];
|
|
9716
9716
|
const _hoisted_10 = {
|
|
9717
9717
|
key: 2,
|
|
9718
9718
|
class: "block m-0 list-none p-0"
|
|
@@ -10203,13 +10203,13 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
10203
10203
|
vue.withKeys((e) => handleClick(e, item), ["enter"]),
|
|
10204
10204
|
vue.withKeys(vue.withModifiers((e) => handleClick(e, item), ["prevent"]), ["space"])
|
|
10205
10205
|
]
|
|
10206
|
-
}, null, 40, _hoisted_8$
|
|
10206
|
+
}, null, 40, _hoisted_8$2),
|
|
10207
10207
|
vue.createElementVNode("label", {
|
|
10208
10208
|
for: `search-select-radio-${index}`,
|
|
10209
10209
|
class: vue.normalizeClass([labelClasses.value, listItemClasses.value]),
|
|
10210
10210
|
innerHTML: handleMatchingString(item)
|
|
10211
|
-
}, null, 10, _hoisted_9$
|
|
10212
|
-
], 42, _hoisted_7$
|
|
10211
|
+
}, null, 10, _hoisted_9$2)
|
|
10212
|
+
], 42, _hoisted_7$3);
|
|
10213
10213
|
}), 128))
|
|
10214
10214
|
], 32),
|
|
10215
10215
|
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$j, {
|
|
@@ -10957,9 +10957,9 @@ const _hoisted_6$2 = {
|
|
|
10957
10957
|
key: 2,
|
|
10958
10958
|
class: "items-center max-h-[28px]"
|
|
10959
10959
|
};
|
|
10960
|
-
const _hoisted_7$
|
|
10961
|
-
const _hoisted_8 = ["onClick"];
|
|
10962
|
-
const _hoisted_9 = { key: 0 };
|
|
10960
|
+
const _hoisted_7$2 = { class: "flex flex-col gap-2" };
|
|
10961
|
+
const _hoisted_8$1 = ["onClick"];
|
|
10962
|
+
const _hoisted_9$1 = { key: 0 };
|
|
10963
10963
|
const popoverWidth = 327;
|
|
10964
10964
|
const popoverHeight = 80;
|
|
10965
10965
|
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -11234,7 +11234,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
11234
11234
|
}, ["stop"])),
|
|
11235
11235
|
onFocusout: onPanelFocusOut
|
|
11236
11236
|
}, [
|
|
11237
|
-
vue.createElementVNode("div", _hoisted_7$
|
|
11237
|
+
vue.createElementVNode("div", _hoisted_7$2, [
|
|
11238
11238
|
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(options, (option) => {
|
|
11239
11239
|
return vue.createElementVNode("div", {
|
|
11240
11240
|
key: option.value,
|
|
@@ -11254,7 +11254,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
11254
11254
|
onBlur: closePopover,
|
|
11255
11255
|
label: option.label
|
|
11256
11256
|
}, null, 8, ["modelValue", "id", "name", "value", "label"])
|
|
11257
|
-
], 8, _hoisted_8);
|
|
11257
|
+
], 8, _hoisted_8$1);
|
|
11258
11258
|
}), 64))
|
|
11259
11259
|
]),
|
|
11260
11260
|
vue.createVNode(_sfc_main$D, vue.mergeProps({
|
|
@@ -11272,7 +11272,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
11272
11272
|
])) : vue.createCommentVNode("", true)
|
|
11273
11273
|
])
|
|
11274
11274
|
], 4),
|
|
11275
|
-
vue.unref(expandedNodes).has(props.nodeId) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
|
|
11275
|
+
vue.unref(expandedNodes).has(props.nodeId) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$1, [
|
|
11276
11276
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredNodes.value, (child) => {
|
|
11277
11277
|
return vue.openBlock(), vue.createBlock(_component_TreeNode, {
|
|
11278
11278
|
key: child.nodeId,
|
|
@@ -11572,13 +11572,41 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
11572
11572
|
};
|
|
11573
11573
|
}
|
|
11574
11574
|
});
|
|
11575
|
-
const _hoisted_1$4 = { class: "h-[2px] absolute top-[22px] left-[50%] bg-white-solid transform -translate-x-1/2 w-[calc(100%-50px)]" };
|
|
11576
|
-
const _hoisted_2$3 = { class: "flex justify-between list-none mb-8 p-0" };
|
|
11577
|
-
const _hoisted_3$3 = { class: "flex justify-between w-full" };
|
|
11578
|
-
const _hoisted_4$3 = ["onClick", "disabled"];
|
|
11579
|
-
const _hoisted_5$3 = { key: 0 };
|
|
11580
|
-
const _hoisted_6$1 = { class: "text-blue-600 font-bold text-sm" };
|
|
11581
11575
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
11576
|
+
...{
|
|
11577
|
+
inheritAttrs: false
|
|
11578
|
+
},
|
|
11579
|
+
__name: "FdsLead",
|
|
11580
|
+
props: {
|
|
11581
|
+
dataTestid: { default: void 0 }
|
|
11582
|
+
},
|
|
11583
|
+
setup(__props) {
|
|
11584
|
+
const props = __props;
|
|
11585
|
+
const attrs = vue.useAttrs();
|
|
11586
|
+
const rootAttrs = vue.computed(() => {
|
|
11587
|
+
const result = { ...attrs };
|
|
11588
|
+
if (props.dataTestid) {
|
|
11589
|
+
result["data-testid"] = props.dataTestid;
|
|
11590
|
+
}
|
|
11591
|
+
return result;
|
|
11592
|
+
});
|
|
11593
|
+
return (_ctx, _cache) => {
|
|
11594
|
+
return vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: "inline-block font-light text-lg" }, rootAttrs.value), [
|
|
11595
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
11596
|
+
], 16);
|
|
11597
|
+
};
|
|
11598
|
+
}
|
|
11599
|
+
});
|
|
11600
|
+
const _hoisted_1$4 = { class: "mb-6" };
|
|
11601
|
+
const _hoisted_2$3 = { class: "mb-0" };
|
|
11602
|
+
const _hoisted_3$3 = { class: "relative" };
|
|
11603
|
+
const _hoisted_4$3 = { class: "h-[2px] absolute top-[22px] left-[50%] bg-white-solid transform -translate-x-1/2 w-[calc(100%-50px)]" };
|
|
11604
|
+
const _hoisted_5$3 = { class: "flex justify-between list-none mb-8 p-0" };
|
|
11605
|
+
const _hoisted_6$1 = { class: "flex justify-between w-full" };
|
|
11606
|
+
const _hoisted_7$1 = ["onClick", "disabled"];
|
|
11607
|
+
const _hoisted_8 = { key: 0 };
|
|
11608
|
+
const _hoisted_9 = { class: "text-blue-600 font-bold text-sm" };
|
|
11609
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
11582
11610
|
__name: "FdsWizard",
|
|
11583
11611
|
props: {
|
|
11584
11612
|
routes: {},
|
|
@@ -11592,11 +11620,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
11592
11620
|
},
|
|
11593
11621
|
emits: ["go"],
|
|
11594
11622
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
11623
|
+
const mainHeading = vue.ref("");
|
|
11624
|
+
const mainLead = vue.ref("");
|
|
11625
|
+
const contentClass = vue.ref("max-w-screen-sm");
|
|
11595
11626
|
const props = __props;
|
|
11596
11627
|
const emit = __emit;
|
|
11597
11628
|
const instance = vue.getCurrentInstance();
|
|
11598
11629
|
const internalCompletedTo = vue.ref(0);
|
|
11599
11630
|
const internalMaxStep = vue.ref(0);
|
|
11631
|
+
const wizardData = vue.ref({});
|
|
11632
|
+
const validatedRouteNames = vue.ref({});
|
|
11600
11633
|
const router = vue.computed(() => {
|
|
11601
11634
|
try {
|
|
11602
11635
|
return instance?.appContext.config.globalProperties.$router;
|
|
@@ -11686,29 +11719,50 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
11686
11719
|
}
|
|
11687
11720
|
return classes.join(" ");
|
|
11688
11721
|
};
|
|
11689
|
-
const
|
|
11690
|
-
|
|
11691
|
-
|
|
11692
|
-
|
|
11693
|
-
|
|
11722
|
+
const isRouteValidated = (route) => {
|
|
11723
|
+
if (!route) return false;
|
|
11724
|
+
return validatedRouteNames.value[route.routeName] === true;
|
|
11725
|
+
};
|
|
11726
|
+
const canGoToStep = (from, to) => {
|
|
11727
|
+
const toRoute = props.routes[to];
|
|
11728
|
+
if (!toRoute) return false;
|
|
11729
|
+
if (toRoute.disabled === true) return false;
|
|
11730
|
+
if (to === from) return false;
|
|
11731
|
+
if (to < from) return true;
|
|
11732
|
+
const anyValidated = Object.keys(validatedRouteNames.value).length > 0;
|
|
11733
|
+
if (!anyValidated) return false;
|
|
11734
|
+
return isRouteValidated(toRoute);
|
|
11735
|
+
};
|
|
11736
|
+
const validateStep = (routeName2) => {
|
|
11737
|
+
if (!routeName2) return;
|
|
11738
|
+
validatedRouteNames.value = {
|
|
11739
|
+
...validatedRouteNames.value,
|
|
11740
|
+
[routeName2]: true
|
|
11741
|
+
};
|
|
11742
|
+
};
|
|
11743
|
+
const setWizardData = (patch) => {
|
|
11744
|
+
wizardData.value = {
|
|
11745
|
+
...wizardData.value,
|
|
11746
|
+
...patch
|
|
11747
|
+
};
|
|
11694
11748
|
};
|
|
11695
11749
|
const goToStep = (step) => {
|
|
11696
|
-
|
|
11750
|
+
const from = currentStepIndex.value;
|
|
11697
11751
|
const route = props.routes[step];
|
|
11698
11752
|
if (!route) return;
|
|
11699
|
-
if (router.value)
|
|
11700
|
-
|
|
11701
|
-
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
}
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
}
|
|
11753
|
+
if (!router.value) return;
|
|
11754
|
+
if (!canGoToStep(from, step)) return;
|
|
11755
|
+
if (route.routeName) {
|
|
11756
|
+
router.value.push({
|
|
11757
|
+
name: route.routeName,
|
|
11758
|
+
params: route.params,
|
|
11759
|
+
query: route.query
|
|
11760
|
+
});
|
|
11761
|
+
} else if (route.to) {
|
|
11762
|
+
router.value.push({
|
|
11763
|
+
path: route.to,
|
|
11764
|
+
query: route.query
|
|
11765
|
+
});
|
|
11712
11766
|
}
|
|
11713
11767
|
emit("go", { index: step, route });
|
|
11714
11768
|
};
|
|
@@ -11724,63 +11778,102 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
11724
11778
|
goToStep(prev);
|
|
11725
11779
|
}
|
|
11726
11780
|
};
|
|
11781
|
+
const setHeading = (heading) => {
|
|
11782
|
+
mainHeading.value = heading;
|
|
11783
|
+
};
|
|
11784
|
+
const setLead = (lead) => {
|
|
11785
|
+
mainLead.value = lead;
|
|
11786
|
+
};
|
|
11787
|
+
const setContentClass = (classes) => {
|
|
11788
|
+
contentClass.value = classes;
|
|
11789
|
+
};
|
|
11727
11790
|
__expose({
|
|
11728
11791
|
goToStep,
|
|
11729
11792
|
nextStep,
|
|
11730
11793
|
previousStep,
|
|
11731
11794
|
currentStep: currentStepIndex,
|
|
11732
11795
|
completedTo: internalCompletedTo,
|
|
11733
|
-
maxStep: internalMaxStep
|
|
11796
|
+
maxStep: internalMaxStep,
|
|
11797
|
+
wizardData,
|
|
11798
|
+
setWizardData,
|
|
11799
|
+
validateStep,
|
|
11800
|
+
setHeading,
|
|
11801
|
+
setLead,
|
|
11802
|
+
setContentClass
|
|
11734
11803
|
});
|
|
11735
11804
|
return (_ctx, _cache) => {
|
|
11736
11805
|
return vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.guardReactiveProps(rootAttrs.value)), [
|
|
11737
11806
|
!shouldHideEntireSteps.value ? (vue.openBlock(), vue.createElementBlock("nav", {
|
|
11738
11807
|
key: 0,
|
|
11739
|
-
class: "max-w-[480px] mx-auto
|
|
11808
|
+
class: "max-w-[480px] mx-auto",
|
|
11740
11809
|
style: vue.normalizeStyle(stepWidthStyle.value)
|
|
11741
11810
|
}, [
|
|
11742
|
-
vue.createElementVNode("
|
|
11743
|
-
vue.createElementVNode("
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
},
|
|
11811
|
+
vue.createElementVNode("header", _hoisted_1$4, [
|
|
11812
|
+
vue.createElementVNode("h1", {
|
|
11813
|
+
ref: "mainHeader",
|
|
11814
|
+
tabindex: "-1"
|
|
11815
|
+
}, vue.toDisplayString(mainHeading.value), 513),
|
|
11816
|
+
vue.createVNode(_sfc_main$b, null, {
|
|
11817
|
+
default: vue.withCtx(() => [
|
|
11818
|
+
vue.createElementVNode("p", _hoisted_2$3, vue.toDisplayString(mainLead.value), 1)
|
|
11819
|
+
]),
|
|
11820
|
+
_: 1
|
|
11821
|
+
})
|
|
11747
11822
|
]),
|
|
11748
|
-
vue.createElementVNode("div",
|
|
11749
|
-
vue.createElementVNode("
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11823
|
+
vue.createElementVNode("div", _hoisted_3$3, [
|
|
11824
|
+
vue.createElementVNode("span", _hoisted_4$3, [
|
|
11825
|
+
vue.createElementVNode("span", {
|
|
11826
|
+
class: "block h-full max-w-full bg-blue-600",
|
|
11827
|
+
style: vue.normalizeStyle({ width: progressWidth.value })
|
|
11828
|
+
}, null, 4)
|
|
11829
|
+
]),
|
|
11830
|
+
vue.createElementVNode("div", _hoisted_5$3, [
|
|
11831
|
+
vue.createElementVNode("ol", _hoisted_6$1, [
|
|
11832
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(visibleStepEntries.value, (entry) => {
|
|
11833
|
+
return vue.openBlock(), vue.createElementBlock("li", {
|
|
11834
|
+
class: "flex flex-col justify-center items-center mb-0",
|
|
11835
|
+
key: entry.route.id
|
|
11760
11836
|
}, [
|
|
11761
|
-
vue.createElementVNode("
|
|
11762
|
-
|
|
11837
|
+
vue.createElementVNode("button", {
|
|
11838
|
+
type: "button",
|
|
11839
|
+
class: vue.normalizeClass(["flex flex-col items-center", { "cursor-not-allowed": !canGoToStep(currentStepIndex.value, entry.index) }]),
|
|
11840
|
+
onClick: ($event) => __props.disableStepJump ? null : goToStep(entry.index),
|
|
11841
|
+
disabled: !canGoToStep(currentStepIndex.value, entry.index)
|
|
11763
11842
|
}, [
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11843
|
+
vue.createElementVNode("span", {
|
|
11844
|
+
class: vue.normalizeClass(["relative flex flex-col items-center text-blue-600 font-bold justify-center transition-all duration-200 ease-in-out mb-2 rounded-full w-[44px] h-[44px] bg-white-solid", setStepClasses(entry.index)])
|
|
11845
|
+
}, [
|
|
11846
|
+
entry.index >= effectiveCompletedTo.value + 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, vue.toDisplayString(entry.index + 1), 1)) : (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
11847
|
+
key: 1,
|
|
11848
|
+
name: "checkmark",
|
|
11849
|
+
size: 24
|
|
11850
|
+
}))
|
|
11851
|
+
], 2),
|
|
11852
|
+
vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(entry.route.name), 1)
|
|
11853
|
+
], 10, _hoisted_7$1)
|
|
11854
|
+
]);
|
|
11855
|
+
}), 128))
|
|
11856
|
+
])
|
|
11774
11857
|
])
|
|
11775
11858
|
])
|
|
11776
11859
|
], 4)) : vue.createCommentVNode("", true),
|
|
11777
|
-
vue.
|
|
11778
|
-
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11860
|
+
vue.createElementVNode("div", {
|
|
11861
|
+
class: vue.normalizeClass([contentClass.value, "mx-auto"])
|
|
11862
|
+
}, [
|
|
11863
|
+
vue.renderSlot(_ctx.$slots, "default", {
|
|
11864
|
+
currentStepIndex: currentStepIndex.value,
|
|
11865
|
+
currentRoute: currentRoute.value,
|
|
11866
|
+
goToStep,
|
|
11867
|
+
nextStep,
|
|
11868
|
+
previousStep,
|
|
11869
|
+
wizardData: wizardData.value,
|
|
11870
|
+
setWizardData,
|
|
11871
|
+
validateStep,
|
|
11872
|
+
setHeading,
|
|
11873
|
+
setLead,
|
|
11874
|
+
setContentClass
|
|
11875
|
+
})
|
|
11876
|
+
], 2)
|
|
11784
11877
|
], 16);
|
|
11785
11878
|
};
|
|
11786
11879
|
}
|
|
@@ -11802,7 +11895,7 @@ const _hoisted_7 = {
|
|
|
11802
11895
|
key: 2,
|
|
11803
11896
|
class: "text-red-600 font-bold mt-1"
|
|
11804
11897
|
};
|
|
11805
|
-
const _sfc_main$
|
|
11898
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
11806
11899
|
...{
|
|
11807
11900
|
inheritAttrs: false
|
|
11808
11901
|
},
|
|
@@ -11940,7 +12033,7 @@ const _hoisted_5$1 = {
|
|
|
11940
12033
|
key: 2,
|
|
11941
12034
|
class: "text-red-600 font-bold mt-1"
|
|
11942
12035
|
};
|
|
11943
|
-
const _sfc_main$
|
|
12036
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
11944
12037
|
...{
|
|
11945
12038
|
inheritAttrs: false
|
|
11946
12039
|
},
|
|
@@ -12066,7 +12159,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12066
12159
|
};
|
|
12067
12160
|
}
|
|
12068
12161
|
});
|
|
12069
|
-
const _sfc_main$
|
|
12162
|
+
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
12070
12163
|
__name: "FdsTable",
|
|
12071
12164
|
props: {
|
|
12072
12165
|
bordered: { type: Boolean, default: false },
|
|
@@ -12099,7 +12192,7 @@ const _hoisted_2 = { key: 0 };
|
|
|
12099
12192
|
const _hoisted_3 = { key: 1 };
|
|
12100
12193
|
const _hoisted_4 = { key: 0 };
|
|
12101
12194
|
const _hoisted_5 = { key: 1 };
|
|
12102
|
-
const _sfc_main$
|
|
12195
|
+
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
12103
12196
|
__name: "FdsTableHead",
|
|
12104
12197
|
props: {
|
|
12105
12198
|
heading: { default: void 0 },
|
|
@@ -12160,7 +12253,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12160
12253
|
};
|
|
12161
12254
|
}
|
|
12162
12255
|
});
|
|
12163
|
-
const _sfc_main$
|
|
12256
|
+
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
12164
12257
|
...{
|
|
12165
12258
|
inheritAttrs: false
|
|
12166
12259
|
},
|
|
@@ -12202,7 +12295,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12202
12295
|
};
|
|
12203
12296
|
}
|
|
12204
12297
|
});
|
|
12205
|
-
const _sfc_main$
|
|
12298
|
+
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
12206
12299
|
...{
|
|
12207
12300
|
inheritAttrs: false
|
|
12208
12301
|
},
|
|
@@ -12244,7 +12337,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12244
12337
|
};
|
|
12245
12338
|
}
|
|
12246
12339
|
});
|
|
12247
|
-
const _sfc_main$
|
|
12340
|
+
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
12248
12341
|
...{
|
|
12249
12342
|
inheritAttrs: false
|
|
12250
12343
|
},
|
|
@@ -12286,7 +12379,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12286
12379
|
};
|
|
12287
12380
|
}
|
|
12288
12381
|
});
|
|
12289
|
-
const _sfc_main$
|
|
12382
|
+
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
12290
12383
|
...{
|
|
12291
12384
|
inheritAttrs: false
|
|
12292
12385
|
},
|
|
@@ -12309,7 +12402,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12309
12402
|
};
|
|
12310
12403
|
}
|
|
12311
12404
|
});
|
|
12312
|
-
const _sfc_main$
|
|
12405
|
+
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
12313
12406
|
...{
|
|
12314
12407
|
inheritAttrs: false
|
|
12315
12408
|
},
|
|
@@ -12334,31 +12427,6 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12334
12427
|
};
|
|
12335
12428
|
}
|
|
12336
12429
|
});
|
|
12337
|
-
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
12338
|
-
...{
|
|
12339
|
-
inheritAttrs: false
|
|
12340
|
-
},
|
|
12341
|
-
__name: "FdsLead",
|
|
12342
|
-
props: {
|
|
12343
|
-
dataTestid: { default: void 0 }
|
|
12344
|
-
},
|
|
12345
|
-
setup(__props) {
|
|
12346
|
-
const props = __props;
|
|
12347
|
-
const attrs = vue.useAttrs();
|
|
12348
|
-
const rootAttrs = vue.computed(() => {
|
|
12349
|
-
const result = { ...attrs };
|
|
12350
|
-
if (props.dataTestid) {
|
|
12351
|
-
result["data-testid"] = props.dataTestid;
|
|
12352
|
-
}
|
|
12353
|
-
return result;
|
|
12354
|
-
});
|
|
12355
|
-
return (_ctx, _cache) => {
|
|
12356
|
-
return vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: "inline-block font-light text-lg" }, rootAttrs.value), [
|
|
12357
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
12358
|
-
], 16);
|
|
12359
|
-
};
|
|
12360
|
-
}
|
|
12361
|
-
});
|
|
12362
12430
|
const _hoisted_1 = {
|
|
12363
12431
|
key: 1,
|
|
12364
12432
|
class: "heading font-heading text-xl m-0"
|
|
@@ -12488,10 +12556,10 @@ const FdsVueCorePlugin = {
|
|
|
12488
12556
|
app.component("FdsSpinner", _sfc_main$w);
|
|
12489
12557
|
app.component("FdsRadio", _sfc_main$g);
|
|
12490
12558
|
app.component("FdsCheckbox", _sfc_main$h);
|
|
12491
|
-
app.component("FdsTextarea", _sfc_main$
|
|
12492
|
-
app.component("FdsSelect", _sfc_main$
|
|
12493
|
-
app.component("FdsTable", _sfc_main$
|
|
12494
|
-
app.component("FdsTableHead", _sfc_main$
|
|
12559
|
+
app.component("FdsTextarea", _sfc_main$8);
|
|
12560
|
+
app.component("FdsSelect", _sfc_main$9);
|
|
12561
|
+
app.component("FdsTable", _sfc_main$7);
|
|
12562
|
+
app.component("FdsTableHead", _sfc_main$6);
|
|
12495
12563
|
app.component("FdsInput", _sfc_main$o);
|
|
12496
12564
|
app.component("FdsBlockContent", _sfc_main$B);
|
|
12497
12565
|
app.component("FdsBlockInfo", _sfc_main$y);
|
|
@@ -12505,13 +12573,13 @@ const FdsVueCorePlugin = {
|
|
|
12505
12573
|
app.component("FdsPagination", _sfc_main$j);
|
|
12506
12574
|
app.component("FdsSearchSelect", _sfc_main$i);
|
|
12507
12575
|
app.component("FdsTruncatedText", _sfc_main$c);
|
|
12508
|
-
app.component("FdsWizard", _sfc_main$
|
|
12509
|
-
app.component("FdsH1", _sfc_main$
|
|
12510
|
-
app.component("FdsH2", _sfc_main$
|
|
12511
|
-
app.component("FdsH3", _sfc_main$
|
|
12512
|
-
app.component("FdsHr", _sfc_main$
|
|
12513
|
-
app.component("FdsLabel", _sfc_main$
|
|
12514
|
-
app.component("FdsLead", _sfc_main$
|
|
12576
|
+
app.component("FdsWizard", _sfc_main$a);
|
|
12577
|
+
app.component("FdsH1", _sfc_main$5);
|
|
12578
|
+
app.component("FdsH2", _sfc_main$4);
|
|
12579
|
+
app.component("FdsH3", _sfc_main$3);
|
|
12580
|
+
app.component("FdsHr", _sfc_main$2);
|
|
12581
|
+
app.component("FdsLabel", _sfc_main$1);
|
|
12582
|
+
app.component("FdsLead", _sfc_main$b);
|
|
12515
12583
|
app.component("FdsMeta", _sfc_main$e);
|
|
12516
12584
|
app.component("FdsListHeading", _sfc_main);
|
|
12517
12585
|
}
|
|
@@ -12529,31 +12597,31 @@ exports.FdsButtonPrimary = _sfc_main$s;
|
|
|
12529
12597
|
exports.FdsButtonSecondary = _sfc_main$r;
|
|
12530
12598
|
exports.FdsCheckbox = _sfc_main$h;
|
|
12531
12599
|
exports.FdsDevMode = _sfc_main$k;
|
|
12532
|
-
exports.FdsH1 = _sfc_main$
|
|
12533
|
-
exports.FdsH2 = _sfc_main$
|
|
12534
|
-
exports.FdsH3 = _sfc_main$
|
|
12535
|
-
exports.FdsHr = _sfc_main$
|
|
12600
|
+
exports.FdsH1 = _sfc_main$5;
|
|
12601
|
+
exports.FdsH2 = _sfc_main$4;
|
|
12602
|
+
exports.FdsH3 = _sfc_main$3;
|
|
12603
|
+
exports.FdsHr = _sfc_main$2;
|
|
12536
12604
|
exports.FdsIcon = _sfc_main$E;
|
|
12537
12605
|
exports.FdsInput = _sfc_main$o;
|
|
12538
|
-
exports.FdsLabel = _sfc_main$
|
|
12539
|
-
exports.FdsLead = _sfc_main$
|
|
12606
|
+
exports.FdsLabel = _sfc_main$1;
|
|
12607
|
+
exports.FdsLead = _sfc_main$b;
|
|
12540
12608
|
exports.FdsListHeading = _sfc_main;
|
|
12541
12609
|
exports.FdsMeta = _sfc_main$e;
|
|
12542
12610
|
exports.FdsModal = _sfc_main$p;
|
|
12543
12611
|
exports.FdsPagination = _sfc_main$j;
|
|
12544
12612
|
exports.FdsRadio = _sfc_main$g;
|
|
12545
12613
|
exports.FdsSearchSelect = _sfc_main$i;
|
|
12546
|
-
exports.FdsSelect = _sfc_main$
|
|
12614
|
+
exports.FdsSelect = _sfc_main$9;
|
|
12547
12615
|
exports.FdsSpinner = _sfc_main$w;
|
|
12548
12616
|
exports.FdsSticker = _sfc_main$A;
|
|
12549
|
-
exports.FdsTable = _sfc_main$
|
|
12550
|
-
exports.FdsTableHead = _sfc_main$
|
|
12617
|
+
exports.FdsTable = _sfc_main$7;
|
|
12618
|
+
exports.FdsTableHead = _sfc_main$6;
|
|
12551
12619
|
exports.FdsTabs = _sfc_main$n;
|
|
12552
12620
|
exports.FdsTabsItem = _sfc_main$m;
|
|
12553
|
-
exports.FdsTextarea = _sfc_main$
|
|
12621
|
+
exports.FdsTextarea = _sfc_main$8;
|
|
12554
12622
|
exports.FdsTreeView = _sfc_main$d;
|
|
12555
12623
|
exports.FdsTruncatedText = _sfc_main$c;
|
|
12556
|
-
exports.FdsWizard = _sfc_main$
|
|
12624
|
+
exports.FdsWizard = _sfc_main$a;
|
|
12557
12625
|
exports.bankid = bankid;
|
|
12558
12626
|
exports.default = FdsVueCorePlugin;
|
|
12559
12627
|
exports.isPidString = isPidString;
|