@kong-ui-public/entities-certificates 2.3.19 → 2.3.20

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.
@@ -11782,14 +11782,17 @@ const K0 = { class: "yaml-config" }, Bp = /* @__PURE__ */ Be({
11782
11782
  }
11783
11783
  },
11784
11784
  setup(e) {
11785
- const t = e, r = R(() => t.yamlRecord);
11785
+ const t = e, r = R(() => {
11786
+ const i = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, n]) => n && (Array.isArray(n) ? n.length !== 0 : !0)));
11787
+ return Object.keys(i).length === 0 && i.constructor === Object ? "" : q0.dump(i).trim();
11788
+ });
11786
11789
  return (i, n) => {
11787
11790
  const o = ee("KCodeBlock");
11788
11791
  return E(), L("div", K0, [
11789
11792
  t.yamlRecord ? (E(), ne(o, {
11790
11793
  key: 0,
11791
11794
  id: "yaml-codeblock",
11792
- code: k(q0).dump(r.value),
11795
+ code: r.value,
11793
11796
  language: "yaml",
11794
11797
  theme: "dark"
11795
11798
  }, null, 8, ["code"])) : ye("", !0)