fds-vue-core 2.0.63 → 2.0.65
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":"FdsBlockLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockLink/FdsBlockLink.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsBlockLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockLink/FdsBlockLink.vue"],"names":[],"mappings":"AA4IA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAuRvD,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,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAgChD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6EAInB,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
|
@@ -1220,7 +1220,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
1220
1220
|
});
|
|
1221
1221
|
const _hoisted_1$m = { class: "flex items-start" };
|
|
1222
1222
|
const _hoisted_2$e = { class: "flex-1 flex" };
|
|
1223
|
-
const _hoisted_3$
|
|
1223
|
+
const _hoisted_3$b = ["innerHTML"];
|
|
1224
1224
|
const _hoisted_4$9 = { key: 1 };
|
|
1225
1225
|
const _hoisted_5$7 = { key: 0 };
|
|
1226
1226
|
const _hoisted_6$3 = {
|
|
@@ -1461,7 +1461,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
1461
1461
|
shouldHighlightSearch.value && _ctx.title ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
1462
1462
|
key: 0,
|
|
1463
1463
|
innerHTML: vue.unref(treeState)?.highlightText(_ctx.title, vue.unref(treeState)?.searchTerm?.value)
|
|
1464
|
-
}, null, 8, _hoisted_3$
|
|
1464
|
+
}, null, 8, _hoisted_3$b)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$9, vue.toDisplayString(_ctx.title), 1))
|
|
1465
1465
|
]),
|
|
1466
1466
|
childCount.value !== null ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$7, " (+" + vue.toDisplayString(childCount.value) + ")", 1)) : vue.createCommentVNode("", true)
|
|
1467
1467
|
]),
|
|
@@ -1767,7 +1767,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
1767
1767
|
});
|
|
1768
1768
|
const _hoisted_1$j = { class: "w-full mb-4" };
|
|
1769
1769
|
const _hoisted_2$d = ["for"];
|
|
1770
|
-
const _hoisted_3$
|
|
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 = {
|
|
1773
1773
|
key: 0,
|
|
@@ -1861,7 +1861,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
1861
1861
|
}, vue.toDisplayString(_ctx.meta), 3)) : vue.createCommentVNode("", true)
|
|
1862
1862
|
]),
|
|
1863
1863
|
vue.createElementVNode("div", null, [
|
|
1864
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1864
|
+
vue.createElementVNode("div", _hoisted_3$a, [
|
|
1865
1865
|
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
1866
1866
|
id: inputId.value,
|
|
1867
1867
|
name: _ctx.name || void 0,
|
|
@@ -1916,7 +1916,7 @@ const _hoisted_2$c = {
|
|
|
1916
1916
|
key: 0,
|
|
1917
1917
|
class: "flex items-start justify-between gap-4"
|
|
1918
1918
|
};
|
|
1919
|
-
const _hoisted_3$
|
|
1919
|
+
const _hoisted_3$9 = { class: "flex items-center gap-3" };
|
|
1920
1920
|
const _hoisted_4$7 = { class: "flex items-start gap-3" };
|
|
1921
1921
|
const _hoisted_5$5 = { class: "mb-0-last-child" };
|
|
1922
1922
|
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -1959,7 +1959,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
1959
1959
|
style: vue.normalizeStyle(borderLeftStyle.value)
|
|
1960
1960
|
}, [
|
|
1961
1961
|
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$c, [
|
|
1962
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1962
|
+
vue.createElementVNode("div", _hoisted_3$9, [
|
|
1963
1963
|
vue.createElementVNode("h3", {
|
|
1964
1964
|
class: vue.normalizeClass(headerClasses.value)
|
|
1965
1965
|
}, vue.toDisplayString(_ctx.heading), 3)
|
|
@@ -2006,7 +2006,7 @@ const _hoisted_2$b = {
|
|
|
2006
2006
|
key: 0,
|
|
2007
2007
|
class: "text-xl"
|
|
2008
2008
|
};
|
|
2009
|
-
const _hoisted_3$
|
|
2009
|
+
const _hoisted_3$8 = {
|
|
2010
2010
|
key: 1,
|
|
2011
2011
|
class: "text-xl"
|
|
2012
2012
|
};
|
|
@@ -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$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$
|
|
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$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$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, {
|
|
@@ -2585,7 +2585,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
2585
2585
|
});
|
|
2586
2586
|
const _hoisted_1$c = { class: "w-full mb-4" };
|
|
2587
2587
|
const _hoisted_2$9 = ["for"];
|
|
2588
|
-
const _hoisted_3$
|
|
2588
|
+
const _hoisted_3$7 = {
|
|
2589
2589
|
key: 1,
|
|
2590
2590
|
class: "font-thin mb-1"
|
|
2591
2591
|
};
|
|
@@ -2654,7 +2654,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
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
2656
|
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$9)) : vue.createCommentVNode("", true),
|
|
2657
|
-
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
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({
|
|
2660
2660
|
id: textareaId.value,
|
|
@@ -2692,7 +2692,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
2692
2692
|
});
|
|
2693
2693
|
const _hoisted_1$b = { class: "w-full mb-4" };
|
|
2694
2694
|
const _hoisted_2$8 = ["for"];
|
|
2695
|
-
const _hoisted_3$
|
|
2695
|
+
const _hoisted_3$6 = {
|
|
2696
2696
|
key: 1,
|
|
2697
2697
|
class: "font-thin mb-1"
|
|
2698
2698
|
};
|
|
@@ -2767,7 +2767,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
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
2769
|
}, vue.toDisplayString(_ctx.label), 11, _hoisted_2$8)) : vue.createCommentVNode("", true),
|
|
2770
|
-
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
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({
|
|
2773
2773
|
id: selectId.value,
|
|
@@ -2832,7 +2832,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
2832
2832
|
});
|
|
2833
2833
|
const _hoisted_1$a = { class: "fds-table-head" };
|
|
2834
2834
|
const _hoisted_2$7 = { key: 0 };
|
|
2835
|
-
const _hoisted_3$
|
|
2835
|
+
const _hoisted_3$5 = { key: 1 };
|
|
2836
2836
|
const _hoisted_4$4 = { key: 0 };
|
|
2837
2837
|
const _hoisted_5$2 = { key: 1 };
|
|
2838
2838
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -2862,7 +2862,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
2862
2862
|
}, [
|
|
2863
2863
|
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$7, [
|
|
2864
2864
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2865
|
-
])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
2865
|
+
])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$5, vue.toDisplayString(_ctx.heading), 1)),
|
|
2866
2866
|
vue.createVNode(_sfc_main$u, {
|
|
2867
2867
|
name: iconName.value,
|
|
2868
2868
|
size: "24px",
|
|
@@ -2885,7 +2885,7 @@ const _hoisted_2$6 = {
|
|
|
2885
2885
|
key: 0,
|
|
2886
2886
|
class: "flex items-start gap-4"
|
|
2887
2887
|
};
|
|
2888
|
-
const _hoisted_3$
|
|
2888
|
+
const _hoisted_3$4 = { class: "flex-1" };
|
|
2889
2889
|
const _hoisted_4$3 = {
|
|
2890
2890
|
key: 0,
|
|
2891
2891
|
class: "mb-1"
|
|
@@ -2936,7 +2936,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2936
2936
|
size: largeIconSize,
|
|
2937
2937
|
class: "fill-blue-500"
|
|
2938
2938
|
}, null, 8, ["name"]),
|
|
2939
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2939
|
+
vue.createElementVNode("div", _hoisted_3$4, [
|
|
2940
2940
|
_ctx.heading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [
|
|
2941
2941
|
vue.createElementVNode("header", _hoisted_5$1, [
|
|
2942
2942
|
vue.createElementVNode("h3", _hoisted_6, vue.toDisplayString(_ctx.heading), 1),
|
|
@@ -2979,7 +2979,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2979
2979
|
});
|
|
2980
2980
|
const _hoisted_1$8 = ["id"];
|
|
2981
2981
|
const _hoisted_2$5 = { class: "flex items-center gap-2" };
|
|
2982
|
-
const _hoisted_3$
|
|
2982
|
+
const _hoisted_3$3 = { class: "relative" };
|
|
2983
2983
|
const _hoisted_4$2 = {
|
|
2984
2984
|
key: 1,
|
|
2985
2985
|
class: "mb-0-last-child"
|
|
@@ -3047,7 +3047,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
3047
3047
|
}),
|
|
3048
3048
|
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.label), 1)
|
|
3049
3049
|
]),
|
|
3050
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
3050
|
+
vue.createElementVNode("div", _hoisted_3$3, [
|
|
3051
3051
|
_ctx.closeable ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
3052
3052
|
key: 0,
|
|
3053
3053
|
icon: "cross",
|
|
@@ -3084,7 +3084,7 @@ const _hoisted_2$4 = {
|
|
|
3084
3084
|
key: 0,
|
|
3085
3085
|
class: "flex items-center mr-4"
|
|
3086
3086
|
};
|
|
3087
|
-
const _hoisted_3$
|
|
3087
|
+
const _hoisted_3$2 = { class: "inline-flex items-center" };
|
|
3088
3088
|
const _hoisted_4$1 = ["aria-hidden"];
|
|
3089
3089
|
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
3090
3090
|
__name: "FdsBlockExpander",
|
|
@@ -3136,7 +3136,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
3136
3136
|
class: vue.normalizeClass(["fill-blue-500", { "fill-gray-500": _ctx.disabled }])
|
|
3137
3137
|
}, null, 8, ["name", "class"])
|
|
3138
3138
|
])) : vue.createCommentVNode("", true),
|
|
3139
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
3139
|
+
vue.createElementVNode("span", _hoisted_3$2, [
|
|
3140
3140
|
vue.createElementVNode("span", {
|
|
3141
3141
|
class: vue.normalizeClass(["font-bold font-heading text-lg", { "text-gray-500": _ctx.disabled }])
|
|
3142
3142
|
}, vue.toDisplayString(_ctx.label), 3)
|
|
@@ -3162,6 +3162,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
3162
3162
|
});
|
|
3163
3163
|
const _hoisted_1$6 = { class: "block max-w-full mb-4" };
|
|
3164
3164
|
const _hoisted_2$3 = { class: "mb-0-last-child" };
|
|
3165
|
+
const _hoisted_3$1 = { key: 0 };
|
|
3165
3166
|
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
3166
3167
|
__name: "FdsBlockLink",
|
|
3167
3168
|
props: {
|
|
@@ -3180,6 +3181,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3180
3181
|
setup(__props, { emit: __emit }) {
|
|
3181
3182
|
const props = __props;
|
|
3182
3183
|
const hasSlot = useHasSlot();
|
|
3184
|
+
const hasStickerSlot = useHasSlot("sticker");
|
|
3183
3185
|
const emit = __emit;
|
|
3184
3186
|
const innerClasses = vue.computed(() => [
|
|
3185
3187
|
props.disabled ? "cursor-not-allowed shadow-none hover:border-transparent active:bg-transparent" : "cursor-pointer",
|
|
@@ -3260,9 +3262,9 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3260
3262
|
vue.createElementVNode("div", _hoisted_2$3, [
|
|
3261
3263
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3262
3264
|
]),
|
|
3263
|
-
vue.
|
|
3265
|
+
vue.unref(hasStickerSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, [
|
|
3264
3266
|
vue.renderSlot(_ctx.$slots, "sticker")
|
|
3265
|
-
])
|
|
3267
|
+
])) : vue.createCommentVNode("", true)
|
|
3266
3268
|
], 2)
|
|
3267
3269
|
], 2)
|
|
3268
3270
|
], 2),
|
|
@@ -3288,7 +3290,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3288
3290
|
setup(__props) {
|
|
3289
3291
|
const props = __props;
|
|
3290
3292
|
const stickerClasses = vue.computed(() => [
|
|
3291
|
-
"font-bold text-sm leading-tight tracking-normal py-0.5 px-2 rounded-xl border border-transparent whitespace-nowrap max-w-full",
|
|
3293
|
+
"inline-block font-bold text-sm leading-tight tracking-normal py-0.5 px-2 rounded-xl border border-transparent whitespace-nowrap max-w-full",
|
|
3292
3294
|
props.bullet ? "text-base! bg-transparent flex-wrap justify-start items-baseline text-base font-normal leading-5 text-gray-700 border-transparent p-0 mr-3" : "",
|
|
3293
3295
|
// Variant colors
|
|
3294
3296
|
props.variant === "blue" && !props.bullet && "bg-blue-600 text-white",
|