UNPKG

@konnectio/core

Version:

Konnectio Core Frontend Integration.

45 lines (44 loc) 1.29 kB
import { d as s, h as a, b as t, n as i, f as l, a as n, i as d } from "./mitt-CvmiLPAX.js"; import { E as o } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CRft4dYF.js"; import { _ as r } from "./SelectField.vue_vue_type_style_index_0_lang-C60Scz2U.js"; const c = { key: 0, class: "skeleton-field-label" }, h = { key: 1 }, f = /* @__PURE__ */ s({ __name: "Field", props: { withIcon: { type: Boolean, default: !1 }, noLabel: { type: Boolean, default: !1 }, isTextArea: { type: Boolean, default: !1 } }, setup(e) { return (m, x) => (t(), a("div", { class: i([ "skeleton-field", { "is-text-area": e.isTextArea }, { "no-label": e.noLabel } ]) }, [ e.noLabel ? (t(), a("div", h)) : (t(), a("div", c, [ e.withIcon ? (t(), n(o, { key: 0, height: "15px", width: "15px" })) : d("", !0), l(o, { height: "15px", width: "30%" }) ])), l(o, { height: e.isTextArea ? "82px" : "44px", width: "100%", "border-radius": "6px" }, null, 8, ["height"]) ], 2)); } }), b = /* @__PURE__ */ r(f, [["__scopeId", "data-v-6ef33e68"]]); export { b as F }; //# sourceMappingURL=Field-C2VGW-Eu.js.map