@opencitylabs/formio-custom-components 0.7.5 → 0.7.7

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/index.js CHANGED
@@ -7791,13 +7791,24 @@ var cr = t.Components.components.field, lr = ({ component: e, current: t, onChan
7791
7791
  className: "d-flex justify-content-between align-items-start",
7792
7792
  children: /* @__PURE__ */ a("div", {
7793
7793
  className: "flex-grow-1",
7794
- children: [/* @__PURE__ */ i("h5", {
7795
- className: "h6 fw-bold mb-2 text-dark",
7796
- children: e.name
7797
- }), e?.abstract && /* @__PURE__ */ i("p", {
7798
- className: "text-muted small mb-0",
7799
- dangerouslySetInnerHTML: { __html: n }
7800
- })]
7794
+ children: [
7795
+ /* @__PURE__ */ i("h5", {
7796
+ className: "h6 fw-bold mb-2 text-dark",
7797
+ children: e.name
7798
+ }),
7799
+ e?.abstract && /* @__PURE__ */ i("p", {
7800
+ className: "text-muted small mb-0",
7801
+ dangerouslySetInnerHTML: { __html: n }
7802
+ }),
7803
+ e?.page_url && /* @__PURE__ */ i("a", {
7804
+ href: e.page_url,
7805
+ target: "_blank",
7806
+ rel: "noopener noreferrer",
7807
+ className: "small mt-2 d-inline-block",
7808
+ onClick: (e) => e.stopPropagation(),
7809
+ children: r.t("Vai alla scheda del servizio")
7810
+ })
7811
+ ]
7801
7812
  })
7802
7813
  })
7803
7814
  }, e.id);