UNPKG

@konnectio/core

Version:

Konnectio Core Frontend Integration.

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