fds-vue-core 2.0.42 → 2.0.44

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":"FdsBlockContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockContent/FdsBlockContent.vue"],"names":[],"mappings":"AAuDA,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AA+BnD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB,CAAC;AAiFF,QAAA,MAAM,eAAe;;;;4EAGnB,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
+ {"version":3,"file":"FdsBlockContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockContent/FdsBlockContent.vue"],"names":[],"mappings":"AAgEA,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAwCnD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB,CAAC;AA+EF,QAAA,MAAM,eAAe;;;;4EAGnB,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":"FdsBlockLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockLink/FdsBlockLink.vue"],"names":[],"mappings":"AA2IA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAmRvD,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;AA8BhD,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"}
1
+ {"version":3,"file":"FdsBlockLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockLink/FdsBlockLink.vue"],"names":[],"mappings":"AA2IA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAkRvD,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;AA+BhD,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"}
@@ -1222,7 +1222,7 @@ const _hoisted_2$e = { class: "flex-1 flex" };
1222
1222
  const _hoisted_3$a = ["innerHTML"];
1223
1223
  const _hoisted_4$9 = { key: 1 };
1224
1224
  const _hoisted_5$6 = { key: 0 };
1225
- const _hoisted_6$4 = {
1225
+ const _hoisted_6$3 = {
1226
1226
  key: 2,
1227
1227
  class: "items-center max-h-[28px]"
1228
1228
  };
@@ -1463,7 +1463,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1463
1463
  _: 1
1464
1464
  }, 8, ["id", "checked", "indeterminate"])
1465
1465
  ]),
1466
- vue.unref(treeState)?.isParentOrChildrenSelected(props.nodeId) && !(vue.unref(treeState)?.isNodeIndeterminateById(props.nodeId) ?? false) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$4, [
1466
+ vue.unref(treeState)?.isParentOrChildrenSelected(props.nodeId) && !(vue.unref(treeState)?.isNodeIndeterminateById(props.nodeId) ?? false) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$3, [
1467
1467
  vue.createVNode(_sfc_main$t, {
1468
1468
  ref_key: "triggerRef",
1469
1469
  ref: triggerRef,
@@ -1904,9 +1904,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
1904
1904
  const _hoisted_1$i = ["id"];
1905
1905
  const _hoisted_2$c = { class: "flex items-start justify-between gap-4" };
1906
1906
  const _hoisted_3$8 = { class: "flex items-center gap-3" };
1907
- const _hoisted_4$7 = { class: "mt-0 mb-4 text-lg font-bold tracking-wide" };
1908
- const _hoisted_5$5 = { class: "flex items-start gap-3" };
1909
- const _hoisted_6$3 = { class: "mb-0-last-child" };
1907
+ const _hoisted_4$7 = { class: "flex items-start gap-3" };
1908
+ const _hoisted_5$5 = { class: "mb-0-last-child" };
1910
1909
  const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
1911
1910
  __name: "FdsBlockContent",
1912
1911
  props: {
@@ -1916,12 +1915,18 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
1916
1915
  id: {}
1917
1916
  },
1918
1917
  setup(__props) {
1918
+ const hasSlot = useHasSlot();
1919
1919
  const props = __props;
1920
1920
  const contentClasses = vue.computed(() => [
1921
- "rounded-md p-4 pb-6 bg-white mb-4",
1921
+ "rounded-md p-4 bg-white mb-4",
1922
1922
  props.tight && "pb-2",
1923
1923
  props.tight && "p-4!",
1924
- props.borderLeft && "border-l-4"
1924
+ props.borderLeft && "border-l-4",
1925
+ hasSlot.value ? "pb-6" : "pb-4"
1926
+ ]);
1927
+ const headerClasses = vue.computed(() => [
1928
+ "mt-0 mb-4 text-lg font-bold tracking-wide",
1929
+ !hasSlot.value && "mb-0!"
1925
1930
  ]);
1926
1931
  const borderLeftStyle = vue.computed(() => {
1927
1932
  if (!props.borderLeft) return {};
@@ -1942,13 +1947,15 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
1942
1947
  }, [
1943
1948
  vue.createElementVNode("header", _hoisted_2$c, [
1944
1949
  vue.createElementVNode("div", _hoisted_3$8, [
1945
- vue.createElementVNode("h3", _hoisted_4$7, vue.toDisplayString(_ctx.heading), 1)
1950
+ vue.createElementVNode("h3", {
1951
+ class: vue.normalizeClass(headerClasses.value)
1952
+ }, vue.toDisplayString(_ctx.heading), 3)
1946
1953
  ]),
1947
- vue.createElementVNode("div", _hoisted_5$5, [
1954
+ vue.createElementVNode("div", _hoisted_4$7, [
1948
1955
  vue.renderSlot(_ctx.$slots, "headerInfo")
1949
1956
  ])
1950
1957
  ]),
1951
- vue.createElementVNode("div", _hoisted_6$3, [
1958
+ vue.createElementVNode("div", _hoisted_5$5, [
1952
1959
  vue.renderSlot(_ctx.$slots, "default")
1953
1960
  ])
1954
1961
  ], 14, _hoisted_1$i);
@@ -2816,7 +2823,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
2816
2823
  emits: ["sort"],
2817
2824
  setup(__props) {
2818
2825
  const props = __props;
2819
- const hasSlot = vue.computed(() => useHasSlot());
2826
+ const hasSlot = useHasSlot();
2820
2827
  const headerClasses = vue.computed(() => [
2821
2828
  "appearance-none p-4 bg-transparent flex items-center border-none text-left w-full bg-transparent text-gray-800 whitespace-nowrap text-base font-bold leading-5 tracking-normal",
2822
2829
  props.align === "center" && "text-center justify-center",
@@ -2831,7 +2838,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
2831
2838
  class: vue.normalizeClass(headerClasses.value),
2832
2839
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("sort"))
2833
2840
  }, [
2834
- hasSlot.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$7, [
2841
+ vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$7, [
2835
2842
  vue.renderSlot(_ctx.$slots, "default")
2836
2843
  ])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$4, vue.toDisplayString(_ctx.heading), 1)),
2837
2844
  vue.createVNode(_sfc_main$u, {
@@ -2843,7 +2850,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
2843
2850
  key: 1,
2844
2851
  class: vue.normalizeClass(headerClasses.value)
2845
2852
  }, [
2846
- hasSlot.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$4, [
2853
+ vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$4, [
2847
2854
  vue.renderSlot(_ctx.$slots, "default")
2848
2855
  ])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$2, vue.toDisplayString(_ctx.heading), 1))
2849
2856
  ], 2))
@@ -3122,7 +3129,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
3122
3129
  }
3123
3130
  });
3124
3131
  const _hoisted_1$6 = { class: "block max-w-full mb-4" };
3125
- const _hoisted_2$3 = { class: "fds-interaction-block__inner__meta flex flex-col sm:flex-row flex-wrap justify-between h-fit gap-y-2" };
3132
+ const _hoisted_2$3 = { class: "mb-0-last-child" };
3126
3133
  const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
3127
3134
  __name: "FdsBlockLink",
3128
3135
  props: {
@@ -3146,6 +3153,10 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
3146
3153
  props.disabled ? "cursor-not-allowed shadow-none hover:border-transparent active:bg-transparent" : "cursor-pointer",
3147
3154
  !props.interactive && "cursor-auto"
3148
3155
  ]);
3156
+ const slotWrapperClasses = vue.computed(() => [
3157
+ "flex flex-col sm:flex-row flex-wrap justify-between h-fit gap-y-2",
3158
+ !hasSlot.value && "justify-end"
3159
+ ]);
3149
3160
  const headerClasses = vue.computed(() => [
3150
3161
  !props.arrow && !props.icon && "mb-2",
3151
3162
  !hasSlot.value && "mb-0!",
@@ -3211,12 +3222,16 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
3211
3222
  class: vue.normalizeClass(["flex-1 font-heading text-lg leading-tight tracking-normal m-0", headerTextClasses.value])
3212
3223
  }, vue.toDisplayString(_ctx.label), 3)
3213
3224
  ], 2),
3214
- vue.createElementVNode("div", _hoisted_2$3, [
3215
- vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
3225
+ vue.createElementVNode("div", {
3226
+ class: vue.normalizeClass(slotWrapperClasses.value)
3227
+ }, [
3228
+ vue.createElementVNode("div", _hoisted_2$3, [
3229
+ vue.renderSlot(_ctx.$slots, "default")
3230
+ ]),
3216
3231
  vue.createElementVNode("div", null, [
3217
- vue.renderSlot(_ctx.$slots, "sticker", {}, void 0, true)
3232
+ vue.renderSlot(_ctx.$slots, "sticker")
3218
3233
  ])
3219
- ])
3234
+ ], 2)
3220
3235
  ], 2)
3221
3236
  ], 2),
3222
3237
  _ctx.arrow ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
@@ -3232,14 +3247,6 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
3232
3247
  };
3233
3248
  }
3234
3249
  });
3235
- const _export_sfc = (sfc, props) => {
3236
- const target = sfc.__vccOpts || sfc;
3237
- for (const [key, val] of props) {
3238
- target[key] = val;
3239
- }
3240
- return target;
3241
- };
3242
- const FdsBlockLink = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-4fcf4dc9"]]);
3243
3250
  const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
3244
3251
  __name: "FdsSticker",
3245
3252
  props: {
@@ -3923,6 +3930,13 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
3923
3930
  };
3924
3931
  }
3925
3932
  });
3933
+ const _export_sfc = (sfc, props) => {
3934
+ const target = sfc.__vccOpts || sfc;
3935
+ for (const [key, val] of props) {
3936
+ target[key] = val;
3937
+ }
3938
+ return target;
3939
+ };
3926
3940
  const _sfc_main$1 = {};
3927
3941
  const _hoisted_1$1 = { class: "block border-0 h-px w-full bg-black/12 my-4" };
3928
3942
  function _sfc_render(_ctx, _cache) {
@@ -4005,7 +4019,7 @@ const FdsVueCorePlugin = {
4005
4019
  app.component("FdsBlockInfo", _sfc_main$c);
4006
4020
  app.component("FdsBlockAlert", _sfc_main$b);
4007
4021
  app.component("FdsBlockExpander", _sfc_main$a);
4008
- app.component("FdsBlockLink", FdsBlockLink);
4022
+ app.component("FdsBlockLink", _sfc_main$9);
4009
4023
  app.component("FdsSticker", _sfc_main$8);
4010
4024
  app.component("FdsTabs", _sfc_main$7);
4011
4025
  app.component("FdsTabsItem", _sfc_main$6);
@@ -4022,7 +4036,7 @@ exports.FdsBlockAlert = _sfc_main$b;
4022
4036
  exports.FdsBlockContent = _sfc_main$n;
4023
4037
  exports.FdsBlockExpander = _sfc_main$a;
4024
4038
  exports.FdsBlockInfo = _sfc_main$c;
4025
- exports.FdsBlockLink = FdsBlockLink;
4039
+ exports.FdsBlockLink = _sfc_main$9;
4026
4040
  exports.FdsButtonCopy = _sfc_main$i;
4027
4041
  exports.FdsButtonDownload = _sfc_main$h;
4028
4042
  exports.FdsButtonIcon = _sfc_main$t;