UNPKG

@agendize/vue-settings

Version:
34 lines (33 loc) 1.24 kB
import { defineComponent as _, openBlock as e, createElementBlock as r, toDisplayString as t, createCommentVNode as s, createElementVNode as n, Fragment as a, renderList as c, createTextVNode as p } from "vue"; const m = { class: "az-flex az-gap-2 az-flex-col az-p-2" }, f = { key: 0 }, h = { class: "az-flex az-gap-4" }, g = { key: 0, class: "fa fa-period" }, z = { class: "exclude-weglot" }, k = { key: 0 }, x = /* @__PURE__ */ _({ __name: "ConferenceFormError", props: { presentationLabel: {}, errors: {} }, setup(i) { return console.log(i.errors), (o, N) => (e(), r("div", m, [ o.errors.length > 1 ? (e(), r("span", f, t(o.presentationLabel), 1)) : s("", !0), n("ul", null, [ (e(!0), r(a, null, c(o.errors, (l) => (e(), r("li", null, [ n("div", h, [ o.errors.length > 1 ? (e(), r("i", g)) : s("", !0), n("span", null, [ p(t(l.label) + " ", 1), (e(!0), r(a, null, c(l.fieldNames, (u, d) => (e(), r("span", z, [ d > 0 ? (e(), r("span", k, ",")) : s("", !0), p(" " + t(u), 1) ]))), 256)) ]) ]) ]))), 256)) ]) ])); } }); export { x as default };