fds-vue-core 6.2.10 → 6.2.11

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.
@@ -1007,7 +1007,7 @@ const _hoisted_4$c = {
1007
1007
  const _hoisted_5$b = { class: "flex items-start justify-between gap-4" };
1008
1008
  const _hoisted_6$8 = { class: "m-0 text-base font-main font-bold tracking-wide" };
1009
1009
  const _hoisted_7$8 = { class: "flex items-start gap-3" };
1010
- const _hoisted_8$6 = {
1010
+ const _hoisted_8$5 = {
1011
1011
  key: 1,
1012
1012
  class: "mb-0-last-child"
1013
1013
  };
@@ -1066,7 +1066,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
1066
1066
  ])
1067
1067
  ])
1068
1068
  ])) : vue.createCommentVNode("", true),
1069
- vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$6, [
1069
+ vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$5, [
1070
1070
  vue.renderSlot(_ctx.$slots, "default")
1071
1071
  ])) : vue.createCommentVNode("", true)
1072
1072
  ])
@@ -8987,7 +8987,7 @@ const _hoisted_4$a = { class: "w-full text-left text-xs border-collapse" };
8987
8987
  const _hoisted_5$a = ["onClick"];
8988
8988
  const _hoisted_6$7 = { class: "py-1.5 px-3 font-mono break-all" };
8989
8989
  const _hoisted_7$7 = { class: "py-1.5 px-3 font-mono whitespace-pre-wrap break-all" };
8990
- const _hoisted_8$5 = { class: "mt-4 space-y-2" };
8990
+ const _hoisted_8$4 = { class: "mt-4 space-y-2" };
8991
8991
  const _hoisted_9$3 = { class: "flex flex-col gap-1" };
8992
8992
  const _hoisted_10$2 = { class: "flex flex-col gap-1" };
8993
8993
  const _hoisted_11$2 = {
@@ -9297,7 +9297,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
9297
9297
  ])
9298
9298
  ])
9299
9299
  ])),
9300
- vue.createElementVNode("div", _hoisted_8$5, [
9300
+ vue.createElementVNode("div", _hoisted_8$4, [
9301
9301
  vue.createElementVNode("div", _hoisted_9$3, [
9302
9302
  _cache[13] || (_cache[13] = vue.createElementVNode("label", { class: "text-xs font-semibold" }, "Nyckel", -1)),
9303
9303
  vue.withDirectives(vue.createElementVNode("input", {
@@ -10100,7 +10100,7 @@ const _hoisted_6$5 = {
10100
10100
  class: "flex justify-center p-4"
10101
10101
  };
10102
10102
  const _hoisted_7$5 = ["id", "onMouseup"];
10103
- const _hoisted_8$4 = ["id", "onKeydown"];
10103
+ const _hoisted_8$3 = ["id", "onKeydown"];
10104
10104
  const _hoisted_9$2 = ["for", "innerHTML"];
10105
10105
  const _hoisted_10$1 = {
10106
10106
  key: 2,
@@ -10592,7 +10592,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
10592
10592
  vue.withKeys((e) => handleClick(e, item), ["enter"]),
10593
10593
  vue.withKeys(vue.withModifiers((e) => handleClick(e, item), ["prevent"]), ["space"])
10594
10594
  ]
10595
- }, null, 40, _hoisted_8$4),
10595
+ }, null, 40, _hoisted_8$3),
10596
10596
  vue.createElementVNode("label", {
10597
10597
  for: `search-select-radio-${index}`,
10598
10598
  class: vue.normalizeClass([labelClasses.value, listItemClasses.value]),
@@ -11273,7 +11273,7 @@ const _hoisted_4$6 = {
11273
11273
  const _hoisted_5$6 = ["id", "role", "onMouseup"];
11274
11274
  const _hoisted_6$4 = ["innerHTML"];
11275
11275
  const _hoisted_7$4 = ["onClick"];
11276
- const _hoisted_8$3 = ["innerHTML"];
11276
+ const _hoisted_8$2 = ["innerHTML"];
11277
11277
  const _hoisted_9$1 = ["innerHTML"];
11278
11278
  const _hoisted_10 = {
11279
11279
  key: 0,
@@ -12023,7 +12023,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
12023
12023
  vue.createElementVNode("span", {
12024
12024
  class: "min-w-0 flex-1",
12025
12025
  innerHTML: handleMatchingString(item)
12026
- }, null, 8, _hoisted_8$3)
12026
+ }, null, 8, _hoisted_8$2)
12027
12027
  ]),
12028
12028
  _: 2
12029
12029
  }, 1032, ["id", "name", "checked", "onChange"])) : (vue.openBlock(), vue.createBlock(_sfc_main$i, {
@@ -12499,7 +12499,7 @@ const _hoisted_6$3 = {
12499
12499
  class: "items-center max-h-[28px]"
12500
12500
  };
12501
12501
  const _hoisted_7$3 = { class: "flex flex-col gap-2" };
12502
- const _hoisted_8$2 = ["onClick"];
12502
+ const _hoisted_8$1 = ["onClick"];
12503
12503
  const _hoisted_9 = { key: 0 };
12504
12504
  const popoverWidth = 327;
12505
12505
  const popoverHeight = 80;
@@ -12796,7 +12796,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
12796
12796
  onBlur: closePopover,
12797
12797
  label: option.label
12798
12798
  }, null, 8, ["modelValue", "id", "name", "value", "label"])
12799
- ], 8, _hoisted_8$2);
12799
+ ], 8, _hoisted_8$1);
12800
12800
  }), 64))
12801
12801
  ]),
12802
12802
  vue.createVNode(_sfc_main$I, vue.mergeProps({
@@ -14784,7 +14784,7 @@ const _hoisted_7$2 = {
14784
14784
  key: 0,
14785
14785
  class: "mt-6 flex w-full flex-row items-center gap-2"
14786
14786
  };
14787
- const _hoisted_8$1 = { class: "m-0 font-bold text-blue-700" };
14787
+ const _hoisted_8 = { class: "m-0 font-bold text-blue-700" };
14788
14788
  const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
14789
14789
  __name: "FdsWeekCalendar",
14790
14790
  props: {
@@ -14966,7 +14966,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
14966
14966
  ]),
14967
14967
  __props.loading?.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2, [
14968
14968
  vue.createVNode(_sfc_main$B),
14969
- vue.createElementVNode("p", _hoisted_8$1, vue.toDisplayString(__props.loading.label), 1)
14969
+ vue.createElementVNode("p", _hoisted_8, vue.toDisplayString(__props.loading.label), 1)
14970
14970
  ])) : vue.createCommentVNode("", true)
14971
14971
  ])
14972
14972
  ]);
@@ -15019,20 +15019,19 @@ const hasStepLabelOverlap = (labels, minGapBeforeHidePx = STEP_LABEL_MIN_GAP_BEF
15019
15019
  }
15020
15020
  return false;
15021
15021
  };
15022
- const _hoisted_1$4 = { class: "max-w-[480px] mx-auto" };
15023
- const _hoisted_2$3 = { class: "mb-6" };
15024
- const _hoisted_3$3 = {
15022
+ const _hoisted_1$4 = { class: "mb-6" };
15023
+ const _hoisted_2$3 = {
15025
15024
  key: 0,
15026
15025
  class: "mb-0"
15027
15026
  };
15028
- const _hoisted_4$3 = {
15027
+ const _hoisted_3$3 = {
15029
15028
  key: 1,
15030
15029
  class: "mt-2 mb-0"
15031
15030
  };
15032
- const _hoisted_5$3 = { class: "h-[2px] absolute top-[22px] left-[50%] bg-white-solid transform -translate-x-1/2 w-[calc(100%-50px)]" };
15033
- const _hoisted_6$1 = { class: "flex justify-between list-none mb-8 p-0" };
15034
- const _hoisted_7$1 = ["onClick", "disabled"];
15035
- const _hoisted_8 = { key: 0 };
15031
+ const _hoisted_4$3 = { class: "h-[2px] absolute top-[22px] left-[50%] bg-white-solid transform -translate-x-1/2 w-[calc(100%-50px)]" };
15032
+ const _hoisted_5$3 = { class: "flex justify-between list-none mb-8 p-0" };
15033
+ const _hoisted_6$1 = ["onClick", "disabled"];
15034
+ const _hoisted_7$1 = { key: 0 };
15036
15035
  const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
15037
15036
  __name: "FdsWizard",
15038
15037
  props: {
@@ -15043,6 +15042,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
15043
15042
  disableStepJump: { type: Boolean, default: false },
15044
15043
  activeRouteName: { default: void 0 },
15045
15044
  dataTestid: { default: void 0 },
15045
+ wizardClass: { default: "max-w-[480px]" },
15046
15046
  onGo: {}
15047
15047
  },
15048
15048
  emits: ["go"],
@@ -15385,16 +15385,18 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
15385
15385
  });
15386
15386
  return (_ctx, _cache) => {
15387
15387
  return vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.guardReactiveProps(rootAttrs.value)), [
15388
- vue.createElementVNode("nav", _hoisted_1$4, [
15389
- vue.createElementVNode("header", _hoisted_2$3, [
15388
+ vue.createElementVNode("nav", {
15389
+ class: vue.normalizeClass([__props.wizardClass, "mx-auto"])
15390
+ }, [
15391
+ vue.createElementVNode("header", _hoisted_1$4, [
15390
15392
  vue.createElementVNode("h1", {
15391
15393
  ref: "mainHeader",
15392
15394
  tabindex: "-1"
15393
15395
  }, vue.toDisplayString(mainHeading.value), 513),
15394
15396
  mainLead.value || subCategories.value.length > 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$b, { key: 0 }, {
15395
15397
  default: vue.withCtx(() => [
15396
- mainLead.value ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$3, vue.toDisplayString(mainLead.value), 1)) : vue.createCommentVNode("", true),
15397
- subCategories.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_4$3, [
15398
+ mainLead.value ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$3, vue.toDisplayString(mainLead.value), 1)) : vue.createCommentVNode("", true),
15399
+ subCategories.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_3$3, [
15398
15400
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(subCategories.value, (subCat) => {
15399
15401
  return vue.openBlock(), vue.createElementBlock("li", {
15400
15402
  key: subCat.id,
@@ -15418,13 +15420,13 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
15418
15420
  style: vue.normalizeStyle(stepWidthStyle.value),
15419
15421
  class: "relative"
15420
15422
  }, [
15421
- vue.createElementVNode("span", _hoisted_5$3, [
15423
+ vue.createElementVNode("span", _hoisted_4$3, [
15422
15424
  vue.createElementVNode("span", {
15423
15425
  class: "block h-full max-w-full bg-blue-600",
15424
15426
  style: vue.normalizeStyle({ width: progressWidth.value })
15425
15427
  }, null, 4)
15426
15428
  ]),
15427
- vue.createElementVNode("div", _hoisted_6$1, [
15429
+ vue.createElementVNode("div", _hoisted_5$3, [
15428
15430
  vue.createElementVNode("ol", {
15429
15431
  ref_key: "stepperListRef",
15430
15432
  ref: stepperListRef,
@@ -15444,7 +15446,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
15444
15446
  vue.createElementVNode("span", {
15445
15447
  class: vue.normalizeClass(["relative mb-6 flex flex-col items-center text-blue-600 font-bold justify-center transition-all duration-200 ease-in-out rounded-full w-[44px] h-[44px] bg-white-solid", setStepClasses(entry.index)])
15446
15448
  }, [
15447
- entry.index >= internalCompletedTo.value + 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, vue.toDisplayString(entry.index + 1), 1)) : (vue.openBlock(), vue.createBlock(_sfc_main$J, {
15449
+ entry.index >= internalCompletedTo.value + 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$1, vue.toDisplayString(entry.index + 1), 1)) : (vue.openBlock(), vue.createBlock(_sfc_main$J, {
15448
15450
  key: 1,
15449
15451
  name: "checkmark",
15450
15452
  size: 24
@@ -15455,13 +15457,13 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
15455
15457
  ref: (el) => setStepLabelRef(el, visibleIndex),
15456
15458
  class: vue.normalizeClass(["absolute bottom-0 text-blue-600 font-bold text-sm", { invisible: !showStepLabels.value }])
15457
15459
  }, vue.toDisplayString(entry.route.meta.wizard.name), 3)
15458
- ], 10, _hoisted_7$1)
15460
+ ], 10, _hoisted_6$1)
15459
15461
  ]);
15460
15462
  }), 128))
15461
15463
  ], 512)
15462
15464
  ])
15463
15465
  ], 4)) : vue.createCommentVNode("", true)
15464
- ]),
15466
+ ], 2),
15465
15467
  vue.createElementVNode("div", {
15466
15468
  class: vue.normalizeClass([contentClass.value, "mx-auto"])
15467
15469
  }, [