fds-vue-core 2.0.76 → 2.0.78
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.
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AA6V5C,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$h = ["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$h), [
|
|
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$g = ["id", "name", "value", "disabled", "required"];
|
|
1144
1144
|
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
1145
1145
|
__name: "FdsRadio",
|
|
1146
1146
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -1203,7 +1203,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
1203
1203
|
required: _ctx.required,
|
|
1204
1204
|
type: "radio",
|
|
1205
1205
|
class: vue.normalizeClass([inputClasses.value, "m-[3px]"])
|
|
1206
|
-
}, null, 10, _hoisted_2$
|
|
1206
|
+
}, null, 10, _hoisted_2$g), [
|
|
1207
1207
|
[vue.vModelRadio, radioModel.value]
|
|
1208
1208
|
]),
|
|
1209
1209
|
vue.unref(hasLabelSlot) || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -1220,7 +1220,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
1220
1220
|
}
|
|
1221
1221
|
});
|
|
1222
1222
|
const _hoisted_1$m = { class: "flex items-start" };
|
|
1223
|
-
const _hoisted_2$
|
|
1223
|
+
const _hoisted_2$f = { class: "flex-1 flex" };
|
|
1224
1224
|
const _hoisted_3$a = ["innerHTML"];
|
|
1225
1225
|
const _hoisted_4$9 = { key: 1 };
|
|
1226
1226
|
const _hoisted_5$7 = { key: 0 };
|
|
@@ -1450,7 +1450,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
1450
1450
|
key: 1,
|
|
1451
1451
|
style: vue.normalizeStyle({ minWidth: `${_ctx.indentation}px` })
|
|
1452
1452
|
}, null, 4)) : vue.createCommentVNode("", true),
|
|
1453
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1453
|
+
vue.createElementVNode("div", _hoisted_2$f, [
|
|
1454
1454
|
vue.createVNode(_sfc_main$v, {
|
|
1455
1455
|
id: `checkbox-${props.nodeId}`,
|
|
1456
1456
|
checked: vue.unref(treeState)?.isNodeSelected(props.nodeId),
|
|
@@ -1673,7 +1673,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
1673
1673
|
}
|
|
1674
1674
|
});
|
|
1675
1675
|
const _hoisted_1$k = ["aria-disabled"];
|
|
1676
|
-
const _hoisted_2$
|
|
1676
|
+
const _hoisted_2$e = { class: "pt-0.5" };
|
|
1677
1677
|
const elBase$2 = "box-border appearance-none inline-flex items-start justify-center w-fit cursor-pointer shadow-none p-0.5 text-base select-none m-0 rounded-md text-left align-start no-underline transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
|
|
1678
1678
|
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
1679
1679
|
...{
|
|
@@ -1767,7 +1767,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1767
1767
|
size: 24
|
|
1768
1768
|
}, null, 8, ["class", "name"])
|
|
1769
1769
|
], 2)) : vue.createCommentVNode("", true),
|
|
1770
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
1770
|
+
vue.createElementVNode("span", _hoisted_2$e, vue.toDisplayString(_ctx.text), 1)
|
|
1771
1771
|
]),
|
|
1772
1772
|
_: 1
|
|
1773
1773
|
}, 16, ["type", "disabled", "target", "rel", "class"]))
|
|
@@ -1776,7 +1776,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1776
1776
|
}
|
|
1777
1777
|
});
|
|
1778
1778
|
const _hoisted_1$j = { class: "w-full mb-4" };
|
|
1779
|
-
const _hoisted_2$
|
|
1779
|
+
const _hoisted_2$d = ["for"];
|
|
1780
1780
|
const _hoisted_3$9 = { class: "relative" };
|
|
1781
1781
|
const _hoisted_4$8 = ["id", "name", "type", "disabled", "required", "size", "maxlength", "aria-invalid"];
|
|
1782
1782
|
const _hoisted_5$6 = {
|
|
@@ -1864,7 +1864,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
1864
1864
|
key: 0,
|
|
1865
1865
|
for: inputId.value,
|
|
1866
1866
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
1867
|
-
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$
|
|
1867
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$d)) : vue.createCommentVNode("", true),
|
|
1868
1868
|
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1869
1869
|
key: 1,
|
|
1870
1870
|
class: vue.normalizeClass(["font-thin", { "mb-1": !_ctx.labelLeft }])
|
|
@@ -1922,7 +1922,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
1922
1922
|
}
|
|
1923
1923
|
});
|
|
1924
1924
|
const _hoisted_1$i = ["id"];
|
|
1925
|
-
const _hoisted_2$
|
|
1925
|
+
const _hoisted_2$c = {
|
|
1926
1926
|
key: 0,
|
|
1927
1927
|
class: "flex items-start justify-between gap-4"
|
|
1928
1928
|
};
|
|
@@ -1968,7 +1968,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
1968
1968
|
class: vue.normalizeClass(contentClasses.value),
|
|
1969
1969
|
style: vue.normalizeStyle(borderLeftStyle.value)
|
|
1970
1970
|
}, [
|
|
1971
|
-
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$
|
|
1971
|
+
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$c, [
|
|
1972
1972
|
vue.createElementVNode("div", _hoisted_3$8, [
|
|
1973
1973
|
vue.createElementVNode("h3", {
|
|
1974
1974
|
class: vue.normalizeClass(headerClasses.value)
|
|
@@ -2012,7 +2012,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
2012
2012
|
}
|
|
2013
2013
|
});
|
|
2014
2014
|
const _hoisted_1$h = { key: 0 };
|
|
2015
|
-
const _hoisted_2$
|
|
2015
|
+
const _hoisted_2$b = {
|
|
2016
2016
|
key: 0,
|
|
2017
2017
|
class: "text-xl"
|
|
2018
2018
|
};
|
|
@@ -2115,7 +2115,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
2115
2115
|
_: 1
|
|
2116
2116
|
}, 8, ["value", "label"]),
|
|
2117
2117
|
props.searchCountTemplate || props.searchCountTemplateUnfiltered ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
|
|
2118
|
-
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$
|
|
2118
|
+
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$b, 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$7, vue.toDisplayString(props.searchCountTemplateUnfiltered?.replace("[[totalNodes]]", totalNodeCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1))
|
|
2119
2119
|
])) : vue.createCommentVNode("", true)
|
|
2120
2120
|
], 512)) : vue.createCommentVNode("", true),
|
|
2121
2121
|
vue.unref(treeState)?.isEmptySearchResult?.value ? (vue.openBlock(), vue.createBlock(_sfc_main$n, {
|
|
@@ -2440,7 +2440,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
2440
2440
|
}
|
|
2441
2441
|
});
|
|
2442
2442
|
const _hoisted_1$d = ["aria-disabled"];
|
|
2443
|
-
const _hoisted_2$
|
|
2443
|
+
const _hoisted_2$a = ["disabled"];
|
|
2444
2444
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
2445
2445
|
...{
|
|
2446
2446
|
inheritAttrs: false
|
|
@@ -2588,13 +2588,13 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
2588
2588
|
}, null, 8, ["class"])
|
|
2589
2589
|
], 2),
|
|
2590
2590
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text), 1)
|
|
2591
|
-
], 16, _hoisted_2$
|
|
2591
|
+
], 16, _hoisted_2$a)
|
|
2592
2592
|
], 10, _hoisted_1$d);
|
|
2593
2593
|
};
|
|
2594
2594
|
}
|
|
2595
2595
|
});
|
|
2596
2596
|
const _hoisted_1$c = { class: "w-full mb-4" };
|
|
2597
|
-
const _hoisted_2$
|
|
2597
|
+
const _hoisted_2$9 = ["for"];
|
|
2598
2598
|
const _hoisted_3$6 = {
|
|
2599
2599
|
key: 1,
|
|
2600
2600
|
class: "font-thin mb-1"
|
|
@@ -2663,7 +2663,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
2663
2663
|
key: 0,
|
|
2664
2664
|
for: textareaId.value,
|
|
2665
2665
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
2666
|
-
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$
|
|
2666
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$9)) : vue.createCommentVNode("", true),
|
|
2667
2667
|
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, vue.toDisplayString(_ctx.meta), 1)) : vue.createCommentVNode("", true),
|
|
2668
2668
|
vue.createElementVNode("div", _hoisted_4$6, [
|
|
2669
2669
|
vue.withDirectives(vue.createElementVNode("textarea", vue.mergeProps({
|
|
@@ -2701,7 +2701,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
2701
2701
|
}
|
|
2702
2702
|
});
|
|
2703
2703
|
const _hoisted_1$b = { class: "w-full mb-4" };
|
|
2704
|
-
const _hoisted_2$
|
|
2704
|
+
const _hoisted_2$8 = ["for"];
|
|
2705
2705
|
const _hoisted_3$5 = {
|
|
2706
2706
|
key: 1,
|
|
2707
2707
|
class: "font-thin mb-1"
|
|
@@ -2776,7 +2776,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2776
2776
|
key: 0,
|
|
2777
2777
|
for: selectId.value,
|
|
2778
2778
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
2779
|
-
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$
|
|
2779
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$8)) : vue.createCommentVNode("", true),
|
|
2780
2780
|
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, vue.toDisplayString(_ctx.meta), 1)) : vue.createCommentVNode("", true),
|
|
2781
2781
|
vue.createElementVNode("div", _hoisted_4$5, [
|
|
2782
2782
|
vue.withDirectives(vue.createElementVNode("select", vue.mergeProps({
|
|
@@ -2841,7 +2841,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
2841
2841
|
}
|
|
2842
2842
|
});
|
|
2843
2843
|
const _hoisted_1$a = { class: "fds-table-head" };
|
|
2844
|
-
const _hoisted_2$
|
|
2844
|
+
const _hoisted_2$7 = { key: 0 };
|
|
2845
2845
|
const _hoisted_3$4 = { key: 1 };
|
|
2846
2846
|
const _hoisted_4$4 = { key: 0 };
|
|
2847
2847
|
const _hoisted_5$2 = { key: 1 };
|
|
@@ -2870,7 +2870,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
2870
2870
|
class: vue.normalizeClass(headerClasses.value),
|
|
2871
2871
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("sort"))
|
|
2872
2872
|
}, [
|
|
2873
|
-
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
2873
|
+
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$7, [
|
|
2874
2874
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2875
2875
|
])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$4, vue.toDisplayString(_ctx.heading), 1)),
|
|
2876
2876
|
vue.createVNode(_sfc_main$u, {
|
|
@@ -2891,7 +2891,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
2891
2891
|
}
|
|
2892
2892
|
});
|
|
2893
2893
|
const _hoisted_1$9 = ["id"];
|
|
2894
|
-
const _hoisted_2$
|
|
2894
|
+
const _hoisted_2$6 = {
|
|
2895
2895
|
key: 0,
|
|
2896
2896
|
class: "flex items-start gap-4"
|
|
2897
2897
|
};
|
|
@@ -2940,7 +2940,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2940
2940
|
id: contentBlockId.value,
|
|
2941
2941
|
class: vue.normalizeClass(contentClasses.value)
|
|
2942
2942
|
}, [
|
|
2943
|
-
_ctx.size === "large" && _ctx.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
2943
|
+
_ctx.size === "large" && _ctx.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$6, [
|
|
2944
2944
|
vue.createVNode(_sfc_main$u, {
|
|
2945
2945
|
name: _ctx.icon,
|
|
2946
2946
|
size: largeIconSize,
|
|
@@ -2988,7 +2988,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2988
2988
|
}
|
|
2989
2989
|
});
|
|
2990
2990
|
const _hoisted_1$8 = ["id"];
|
|
2991
|
-
const _hoisted_2$
|
|
2991
|
+
const _hoisted_2$5 = { class: "flex items-center gap-2" };
|
|
2992
2992
|
const _hoisted_3$2 = { class: "relative" };
|
|
2993
2993
|
const _hoisted_4$2 = {
|
|
2994
2994
|
key: 1,
|
|
@@ -3049,7 +3049,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
3049
3049
|
key: 0,
|
|
3050
3050
|
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) }])
|
|
3051
3051
|
}, [
|
|
3052
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3052
|
+
vue.createElementVNode("div", _hoisted_2$5, [
|
|
3053
3053
|
vue.createVNode(_sfc_main$u, {
|
|
3054
3054
|
name: "alert",
|
|
3055
3055
|
size: 24,
|
|
@@ -3090,7 +3090,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
3090
3090
|
}
|
|
3091
3091
|
});
|
|
3092
3092
|
const _hoisted_1$7 = { class: "inline-flex items-center" };
|
|
3093
|
-
const _hoisted_2$
|
|
3093
|
+
const _hoisted_2$4 = {
|
|
3094
3094
|
key: 0,
|
|
3095
3095
|
class: "flex items-center mr-4"
|
|
3096
3096
|
};
|
|
@@ -3139,7 +3139,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
3139
3139
|
onClick: handleToggle
|
|
3140
3140
|
}, [
|
|
3141
3141
|
vue.createElementVNode("span", _hoisted_1$7, [
|
|
3142
|
-
_ctx.preIcon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
3142
|
+
_ctx.preIcon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$4, [
|
|
3143
3143
|
vue.createVNode(_sfc_main$u, {
|
|
3144
3144
|
name: _ctx.preIcon,
|
|
3145
3145
|
size: 24,
|
|
@@ -3171,7 +3171,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
3171
3171
|
}
|
|
3172
3172
|
});
|
|
3173
3173
|
const _hoisted_1$6 = { class: "mb-0-last-child" };
|
|
3174
|
-
const _hoisted_2$
|
|
3174
|
+
const _hoisted_2$3 = {
|
|
3175
3175
|
key: 0,
|
|
3176
3176
|
class: "flex items-end"
|
|
3177
3177
|
};
|
|
@@ -3281,7 +3281,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3281
3281
|
vue.createElementVNode("div", _hoisted_1$6, [
|
|
3282
3282
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3283
3283
|
]),
|
|
3284
|
-
vue.unref(hasStickerSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
3284
|
+
vue.unref(hasStickerSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$3, [
|
|
3285
3285
|
vue.renderSlot(_ctx.$slots, "sticker")
|
|
3286
3286
|
])) : vue.createCommentVNode("", true)
|
|
3287
3287
|
], 2)
|
|
@@ -3492,6 +3492,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3492
3492
|
}
|
|
3493
3493
|
});
|
|
3494
3494
|
const _hoisted_1$4 = { class: "flex justify-between mb-4" };
|
|
3495
|
+
const _hoisted_2$2 = { class: "mb-0-last-child" };
|
|
3495
3496
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
3496
3497
|
__name: "FdsModal",
|
|
3497
3498
|
props: {
|
|
@@ -3519,7 +3520,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3519
3520
|
"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",
|
|
3520
3521
|
"max-h-[80%] top-1/2 translate-x-[-50%]",
|
|
3521
3522
|
props.alignTop ? "top-[10rem]" : "translate-y-[-50%]",
|
|
3522
|
-
props.stickyFooter ? "pb-
|
|
3523
|
+
props.stickyFooter ? "pb-0" : "pb-8",
|
|
3523
3524
|
{
|
|
3524
3525
|
"max-w-[480px]": props.size === "sm",
|
|
3525
3526
|
"max-w-[588px]": props.size === "md",
|
|
@@ -3549,7 +3550,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3549
3550
|
{
|
|
3550
3551
|
"sm:flex-row sm:justify-end": !props.alignLeftFooter,
|
|
3551
3552
|
"sm:flex-row sm:justify-start": props.alignLeftFooter,
|
|
3552
|
-
"sticky bg-white bottom-0 shadow-[0px_-8px_16px_0px_rgba(255,255,255,0.59)] z-[2]": props.stickyFooter
|
|
3553
|
+
"sticky bg-white bottom-0 shadow-[0px_-8px_16px_0px_rgba(255,255,255,0.59)] z-[2] -mx-6 px-6 pb-6": props.stickyFooter
|
|
3553
3554
|
}
|
|
3554
3555
|
]);
|
|
3555
3556
|
const handleBackdropClick = () => {
|
|
@@ -3687,7 +3688,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3687
3688
|
class: "ml-4"
|
|
3688
3689
|
}, null, 8, ["ariaLabel"])) : vue.createCommentVNode("", true)
|
|
3689
3690
|
]),
|
|
3690
|
-
vue.createElementVNode("div",
|
|
3691
|
+
vue.createElementVNode("div", _hoisted_2$2, [
|
|
3691
3692
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3692
3693
|
]),
|
|
3693
3694
|
vue.unref(hasFooterSlot) ? (vue.openBlock(), vue.createElementBlock("div", {
|