fds-vue-core 2.0.65 → 2.0.67
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/components/Blocks/FdsBlockAlert/FdsBlockAlert.vue.d.ts.map +1 -1
- package/dist/components/FdsModal/FdsModal.vue.d.ts.map +1 -1
- package/dist/fds-vue-core.cjs.js +38 -40
- 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 +38 -40
- package/dist/fds-vue-core.es.js.map +1 -1
- package/dist/slot-styles.css +7 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsBlockAlert.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockAlert/FdsBlockAlert.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"FdsBlockAlert.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockAlert/FdsBlockAlert.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAwNjD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA8BhD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FdsModal/FdsModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FdsModal/FdsModal.vue"],"names":[],"mappings":"AA8PA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AA2V5C,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA+BvD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -415,7 +415,7 @@ function useHasSlot(name = "default") {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
const _hoisted_1$q = ["for"];
|
|
418
|
-
const _hoisted_2$
|
|
418
|
+
const _hoisted_2$f = ["id", "name", "value", "disabled", "required"];
|
|
419
419
|
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
420
420
|
__name: "FdsCheckbox",
|
|
421
421
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -527,7 +527,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
527
527
|
required: _ctx.required,
|
|
528
528
|
type: "checkbox",
|
|
529
529
|
class: vue.normalizeClass([checkboxClasses.value])
|
|
530
|
-
}, null, 10, _hoisted_2$
|
|
530
|
+
}, null, 10, _hoisted_2$f), [
|
|
531
531
|
[vue.vModelCheckbox, internalChecked.value]
|
|
532
532
|
]),
|
|
533
533
|
vue.unref(hasLabelSlot) || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -1140,7 +1140,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
1140
1140
|
}
|
|
1141
1141
|
});
|
|
1142
1142
|
const _hoisted_1$n = ["for"];
|
|
1143
|
-
const _hoisted_2$
|
|
1143
|
+
const _hoisted_2$e = ["id", "name", "value", "disabled", "required"];
|
|
1144
1144
|
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
1145
1145
|
__name: "FdsRadio",
|
|
1146
1146
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -1202,7 +1202,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
1202
1202
|
required: _ctx.required,
|
|
1203
1203
|
type: "radio",
|
|
1204
1204
|
class: vue.normalizeClass([inputClasses.value, "m-[3px]"])
|
|
1205
|
-
}, null, 10, _hoisted_2$
|
|
1205
|
+
}, null, 10, _hoisted_2$e), [
|
|
1206
1206
|
[vue.vModelRadio, radioModel.value]
|
|
1207
1207
|
]),
|
|
1208
1208
|
vue.unref(hasLabelSlot) || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -1219,7 +1219,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
1219
1219
|
}
|
|
1220
1220
|
});
|
|
1221
1221
|
const _hoisted_1$m = { class: "flex items-start" };
|
|
1222
|
-
const _hoisted_2$
|
|
1222
|
+
const _hoisted_2$d = { class: "flex-1 flex" };
|
|
1223
1223
|
const _hoisted_3$b = ["innerHTML"];
|
|
1224
1224
|
const _hoisted_4$9 = { key: 1 };
|
|
1225
1225
|
const _hoisted_5$7 = { key: 0 };
|
|
@@ -1449,7 +1449,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
1449
1449
|
key: 1,
|
|
1450
1450
|
style: vue.normalizeStyle({ minWidth: `${_ctx.indentation}px` })
|
|
1451
1451
|
}, null, 4)) : vue.createCommentVNode("", true),
|
|
1452
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1452
|
+
vue.createElementVNode("div", _hoisted_2$d, [
|
|
1453
1453
|
vue.createVNode(_sfc_main$v, {
|
|
1454
1454
|
id: `checkbox-${props.nodeId}`,
|
|
1455
1455
|
checked: vue.unref(treeState)?.isNodeSelected(props.nodeId),
|
|
@@ -1766,7 +1766,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1766
1766
|
}
|
|
1767
1767
|
});
|
|
1768
1768
|
const _hoisted_1$j = { class: "w-full mb-4" };
|
|
1769
|
-
const _hoisted_2$
|
|
1769
|
+
const _hoisted_2$c = ["for"];
|
|
1770
1770
|
const _hoisted_3$a = { class: "relative" };
|
|
1771
1771
|
const _hoisted_4$8 = ["id", "name", "type", "disabled", "required", "size", "maxlength", "aria-invalid"];
|
|
1772
1772
|
const _hoisted_5$6 = {
|
|
@@ -1854,7 +1854,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
1854
1854
|
key: 0,
|
|
1855
1855
|
for: inputId.value,
|
|
1856
1856
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
1857
|
-
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$
|
|
1857
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$c)) : vue.createCommentVNode("", true),
|
|
1858
1858
|
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1859
1859
|
key: 1,
|
|
1860
1860
|
class: vue.normalizeClass(["font-thin", { "mb-1": !_ctx.labelLeft }])
|
|
@@ -1912,7 +1912,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
1912
1912
|
}
|
|
1913
1913
|
});
|
|
1914
1914
|
const _hoisted_1$i = ["id"];
|
|
1915
|
-
const _hoisted_2$
|
|
1915
|
+
const _hoisted_2$b = {
|
|
1916
1916
|
key: 0,
|
|
1917
1917
|
class: "flex items-start justify-between gap-4"
|
|
1918
1918
|
};
|
|
@@ -1958,7 +1958,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
1958
1958
|
class: vue.normalizeClass(contentClasses.value),
|
|
1959
1959
|
style: vue.normalizeStyle(borderLeftStyle.value)
|
|
1960
1960
|
}, [
|
|
1961
|
-
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$
|
|
1961
|
+
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$b, [
|
|
1962
1962
|
vue.createElementVNode("div", _hoisted_3$9, [
|
|
1963
1963
|
vue.createElementVNode("h3", {
|
|
1964
1964
|
class: vue.normalizeClass(headerClasses.value)
|
|
@@ -2002,7 +2002,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
2002
2002
|
}
|
|
2003
2003
|
});
|
|
2004
2004
|
const _hoisted_1$h = { key: 0 };
|
|
2005
|
-
const _hoisted_2$
|
|
2005
|
+
const _hoisted_2$a = {
|
|
2006
2006
|
key: 0,
|
|
2007
2007
|
class: "text-xl"
|
|
2008
2008
|
};
|
|
@@ -2105,7 +2105,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
2105
2105
|
_: 1
|
|
2106
2106
|
}, 8, ["value", "label"]),
|
|
2107
2107
|
props.searchCountTemplate || props.searchCountTemplateUnfiltered ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
|
|
2108
|
-
props.searchCountTemplate && vue.unref(treeState)?.searchTerm?.value && String(vue.unref(treeState)?.searchTerm?.value || "").trim().length >= (vue.unref(treeState)?.triggerLength ?? 1) ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$
|
|
2108
|
+
props.searchCountTemplate && vue.unref(treeState)?.searchTerm?.value && String(vue.unref(treeState)?.searchTerm?.value || "").trim().length >= (vue.unref(treeState)?.triggerLength ?? 1) ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$a, vue.toDisplayString(props.searchCountTemplate.replace("[[filteredNodes]]", vue.unref(treeState)?.filteredMatchCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1)) : (vue.openBlock(), vue.createElementBlock("h2", _hoisted_3$8, vue.toDisplayString(props.searchCountTemplateUnfiltered?.replace("[[totalNodes]]", totalNodeCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1))
|
|
2109
2109
|
])) : vue.createCommentVNode("", true)
|
|
2110
2110
|
], 512)) : vue.createCommentVNode("", true),
|
|
2111
2111
|
vue.unref(treeState)?.isEmptySearchResult?.value ? (vue.openBlock(), vue.createBlock(_sfc_main$n, {
|
|
@@ -2430,7 +2430,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
2430
2430
|
}
|
|
2431
2431
|
});
|
|
2432
2432
|
const _hoisted_1$d = ["aria-disabled"];
|
|
2433
|
-
const _hoisted_2$
|
|
2433
|
+
const _hoisted_2$9 = ["disabled"];
|
|
2434
2434
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
2435
2435
|
...{
|
|
2436
2436
|
inheritAttrs: false
|
|
@@ -2578,13 +2578,13 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
2578
2578
|
}, null, 8, ["class"])
|
|
2579
2579
|
], 2),
|
|
2580
2580
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text), 1)
|
|
2581
|
-
], 16, _hoisted_2$
|
|
2581
|
+
], 16, _hoisted_2$9)
|
|
2582
2582
|
], 10, _hoisted_1$d);
|
|
2583
2583
|
};
|
|
2584
2584
|
}
|
|
2585
2585
|
});
|
|
2586
2586
|
const _hoisted_1$c = { class: "w-full mb-4" };
|
|
2587
|
-
const _hoisted_2$
|
|
2587
|
+
const _hoisted_2$8 = ["for"];
|
|
2588
2588
|
const _hoisted_3$7 = {
|
|
2589
2589
|
key: 1,
|
|
2590
2590
|
class: "font-thin mb-1"
|
|
@@ -2653,7 +2653,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
2653
2653
|
key: 0,
|
|
2654
2654
|
for: textareaId.value,
|
|
2655
2655
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
2656
|
-
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$
|
|
2656
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$8)) : vue.createCommentVNode("", true),
|
|
2657
2657
|
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$7, vue.toDisplayString(_ctx.meta), 1)) : vue.createCommentVNode("", true),
|
|
2658
2658
|
vue.createElementVNode("div", _hoisted_4$6, [
|
|
2659
2659
|
vue.withDirectives(vue.createElementVNode("textarea", vue.mergeProps({
|
|
@@ -2691,7 +2691,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
2691
2691
|
}
|
|
2692
2692
|
});
|
|
2693
2693
|
const _hoisted_1$b = { class: "w-full mb-4" };
|
|
2694
|
-
const _hoisted_2$
|
|
2694
|
+
const _hoisted_2$7 = ["for"];
|
|
2695
2695
|
const _hoisted_3$6 = {
|
|
2696
2696
|
key: 1,
|
|
2697
2697
|
class: "font-thin mb-1"
|
|
@@ -2766,7 +2766,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2766
2766
|
key: 0,
|
|
2767
2767
|
for: selectId.value,
|
|
2768
2768
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
2769
|
-
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$
|
|
2769
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$7)) : vue.createCommentVNode("", true),
|
|
2770
2770
|
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, vue.toDisplayString(_ctx.meta), 1)) : vue.createCommentVNode("", true),
|
|
2771
2771
|
vue.createElementVNode("div", _hoisted_4$5, [
|
|
2772
2772
|
vue.withDirectives(vue.createElementVNode("select", vue.mergeProps({
|
|
@@ -2831,7 +2831,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
2831
2831
|
}
|
|
2832
2832
|
});
|
|
2833
2833
|
const _hoisted_1$a = { class: "fds-table-head" };
|
|
2834
|
-
const _hoisted_2$
|
|
2834
|
+
const _hoisted_2$6 = { key: 0 };
|
|
2835
2835
|
const _hoisted_3$5 = { key: 1 };
|
|
2836
2836
|
const _hoisted_4$4 = { key: 0 };
|
|
2837
2837
|
const _hoisted_5$2 = { key: 1 };
|
|
@@ -2860,7 +2860,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
2860
2860
|
class: vue.normalizeClass(headerClasses.value),
|
|
2861
2861
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("sort"))
|
|
2862
2862
|
}, [
|
|
2863
|
-
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
2863
|
+
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$6, [
|
|
2864
2864
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2865
2865
|
])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$5, vue.toDisplayString(_ctx.heading), 1)),
|
|
2866
2866
|
vue.createVNode(_sfc_main$u, {
|
|
@@ -2881,7 +2881,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
2881
2881
|
}
|
|
2882
2882
|
});
|
|
2883
2883
|
const _hoisted_1$9 = ["id"];
|
|
2884
|
-
const _hoisted_2$
|
|
2884
|
+
const _hoisted_2$5 = {
|
|
2885
2885
|
key: 0,
|
|
2886
2886
|
class: "flex items-start gap-4"
|
|
2887
2887
|
};
|
|
@@ -2930,7 +2930,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2930
2930
|
id: contentBlockId.value,
|
|
2931
2931
|
class: vue.normalizeClass(contentClasses.value)
|
|
2932
2932
|
}, [
|
|
2933
|
-
_ctx.size === "large" && _ctx.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
2933
|
+
_ctx.size === "large" && _ctx.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, [
|
|
2934
2934
|
vue.createVNode(_sfc_main$u, {
|
|
2935
2935
|
name: _ctx.icon,
|
|
2936
2936
|
size: largeIconSize,
|
|
@@ -2978,11 +2978,11 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2978
2978
|
}
|
|
2979
2979
|
});
|
|
2980
2980
|
const _hoisted_1$8 = ["id"];
|
|
2981
|
-
const _hoisted_2$
|
|
2981
|
+
const _hoisted_2$4 = { class: "flex items-center gap-2" };
|
|
2982
2982
|
const _hoisted_3$3 = { class: "relative" };
|
|
2983
2983
|
const _hoisted_4$2 = {
|
|
2984
2984
|
key: 1,
|
|
2985
|
-
class: "mb-0-last-child"
|
|
2985
|
+
class: "fds-block-alert-slot mb-0-last-child"
|
|
2986
2986
|
};
|
|
2987
2987
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
2988
2988
|
__name: "FdsBlockAlert",
|
|
@@ -3039,7 +3039,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
3039
3039
|
key: 0,
|
|
3040
3040
|
class: vue.normalizeClass(["font-bold w-full justify-between items-center h-[24px] flex gap-2", { "mb-4": (isExpanded.value || !_ctx.collapsable) && vue.unref(hasSlot) }])
|
|
3041
3041
|
}, [
|
|
3042
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3042
|
+
vue.createElementVNode("div", _hoisted_2$4, [
|
|
3043
3043
|
vue.createVNode(_sfc_main$u, {
|
|
3044
3044
|
name: "alert",
|
|
3045
3045
|
size: 24,
|
|
@@ -3080,7 +3080,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
3080
3080
|
}
|
|
3081
3081
|
});
|
|
3082
3082
|
const _hoisted_1$7 = { class: "inline-flex items-center" };
|
|
3083
|
-
const _hoisted_2$
|
|
3083
|
+
const _hoisted_2$3 = {
|
|
3084
3084
|
key: 0,
|
|
3085
3085
|
class: "flex items-center mr-4"
|
|
3086
3086
|
};
|
|
@@ -3129,7 +3129,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
3129
3129
|
onClick: handleToggle
|
|
3130
3130
|
}, [
|
|
3131
3131
|
vue.createElementVNode("span", _hoisted_1$7, [
|
|
3132
|
-
_ctx.preIcon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
3132
|
+
_ctx.preIcon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$3, [
|
|
3133
3133
|
vue.createVNode(_sfc_main$u, {
|
|
3134
3134
|
name: _ctx.preIcon,
|
|
3135
3135
|
size: 24,
|
|
@@ -3161,7 +3161,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
3161
3161
|
}
|
|
3162
3162
|
});
|
|
3163
3163
|
const _hoisted_1$6 = { class: "block max-w-full mb-4" };
|
|
3164
|
-
const _hoisted_2$
|
|
3164
|
+
const _hoisted_2$2 = { class: "mb-0-last-child" };
|
|
3165
3165
|
const _hoisted_3$1 = { key: 0 };
|
|
3166
3166
|
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
3167
3167
|
__name: "FdsBlockLink",
|
|
@@ -3259,7 +3259,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3259
3259
|
vue.createElementVNode("div", {
|
|
3260
3260
|
class: vue.normalizeClass(slotWrapperClasses.value)
|
|
3261
3261
|
}, [
|
|
3262
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3262
|
+
vue.createElementVNode("div", _hoisted_2$2, [
|
|
3263
3263
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3264
3264
|
]),
|
|
3265
3265
|
vue.unref(hasStickerSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [
|
|
@@ -3332,11 +3332,11 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3332
3332
|
setup(__props) {
|
|
3333
3333
|
const props = __props;
|
|
3334
3334
|
const tabsClasses = vue.computed(() => [
|
|
3335
|
-
"inline-flex overflow-auto max-w-full p-0.5 gap-0.5
|
|
3335
|
+
"inline-flex overflow-auto max-w-full p-0.5 gap-0.5",
|
|
3336
3336
|
{
|
|
3337
3337
|
"flex justify-between w-full": props.block,
|
|
3338
|
-
"bg-blue_t-100 rounded-[10px]": props.variant === "primary",
|
|
3339
|
-
"gap-2": props.variant === "secondary"
|
|
3338
|
+
"bg-blue_t-100 rounded-[10px] mb-8": props.variant === "primary",
|
|
3339
|
+
"gap-2 mb-4": props.variant === "secondary"
|
|
3340
3340
|
}
|
|
3341
3341
|
]);
|
|
3342
3342
|
vue.provide("tabsVariant", props.variant);
|
|
@@ -3474,7 +3474,6 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3474
3474
|
}
|
|
3475
3475
|
});
|
|
3476
3476
|
const _hoisted_1$4 = { class: "flex justify-between mb-4" };
|
|
3477
|
-
const _hoisted_2$2 = { class: "mb-0-last-child" };
|
|
3478
3477
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
3479
3478
|
__name: "FdsModal",
|
|
3480
3479
|
props: {
|
|
@@ -3499,16 +3498,15 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3499
3498
|
const hasFooterSlot = useHasSlot("modal-footer");
|
|
3500
3499
|
const modalOuterClasses = vue.computed(() => ["fixed top-0 left-0 w-full h-full overflow-auto z-100"]);
|
|
3501
3500
|
const modalInnerClasses = vue.computed(() => [
|
|
3502
|
-
"relative min-w-[288px] w-[calc(100%-5rem)]
|
|
3501
|
+
"relative min-w-[288px] w-[calc(100%-5rem)] bg-white rounded-lg overflow-auto z-[99999] shadow-lg px-6 pt-6.5 left-1/2",
|
|
3503
3502
|
"max-h-[80%] top-1/2 translate-x-[-50%]",
|
|
3504
3503
|
props.alignTop ? "top-[10rem]" : "translate-y-[-50%]",
|
|
3505
|
-
|
|
3504
|
+
props.stickyFooter ? "pb-6" : "pb-8",
|
|
3506
3505
|
{
|
|
3507
3506
|
"max-w-[480px]": props.size === "sm",
|
|
3508
3507
|
"max-w-[588px]": props.size === "md",
|
|
3509
3508
|
"max-w-[768px]": props.size === "lg",
|
|
3510
|
-
"max-w-[1200px]": props.size === "xl"
|
|
3511
|
-
"pb-0": hasFooterSlot.value
|
|
3509
|
+
"max-w-[1200px]": props.size === "xl"
|
|
3512
3510
|
}
|
|
3513
3511
|
]);
|
|
3514
3512
|
const headerTitleClasses = vue.computed(() => ["m-0"]);
|
|
@@ -3529,11 +3527,11 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3529
3527
|
() => props.locale === "sv" ? "Stäng dialogruta" : "Close modal window"
|
|
3530
3528
|
);
|
|
3531
3529
|
const footerClasses = vue.computed(() => [
|
|
3532
|
-
"mt-6 flex flex-col gap-4
|
|
3530
|
+
"mt-6 flex flex-col gap-4 left-0 right-0",
|
|
3533
3531
|
{
|
|
3534
3532
|
"sm:flex-row sm:justify-end": !props.alignLeftFooter,
|
|
3535
3533
|
"sm:flex-row sm:justify-start": props.alignLeftFooter,
|
|
3536
|
-
"sticky
|
|
3534
|
+
"sticky bg-white bottom-0 shadow-[0px_-8px_16px_0px_rgba(255,255,255,0.59)] z-[2]": props.stickyFooter
|
|
3537
3535
|
}
|
|
3538
3536
|
]);
|
|
3539
3537
|
const handleBackdropClick = () => {
|
|
@@ -3671,7 +3669,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3671
3669
|
class: "ml-4"
|
|
3672
3670
|
}, null, 8, ["ariaLabel"])) : vue.createCommentVNode("", true)
|
|
3673
3671
|
]),
|
|
3674
|
-
vue.createElementVNode("div",
|
|
3672
|
+
vue.createElementVNode("div", null, [
|
|
3675
3673
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3676
3674
|
]),
|
|
3677
3675
|
vue.unref(hasFooterSlot) ? (vue.openBlock(), vue.createElementBlock("div", {
|