@nextcloud/vue
Version:
Nextcloud vue components
15 lines (14 loc) • 1.18 kB
JavaScript
import "../assets/index33.css";
import { A as s } from "../chunks/actionText-6c35d3fc.mjs";
import { n as a } from "../chunks/_plugin-vue2_normalizer-5b4c43a4.mjs";
const o = { name: "NcActionText", mixins: [s] };
var i = function() {
var t = this, n = t._self._c;
return n("li", { staticClass: "action" }, [n("span", { staticClass: "action-text", on: { click: t.onClick } }, [t._t("icon", function() {
return [t.icon !== "" ? n("span", { staticClass: "action-text__icon", class: [t.isIconUrl ? "action-text__icon--url" : t.icon], style: { backgroundImage: t.isIconUrl ? `url(${t.icon})` : null }, attrs: { "aria-hidden": t.ariaHidden } }) : t._e()];
}), t.name ? n("p", [n("strong", { staticClass: "action-text__name" }, [t._v(" " + t._s(t.name) + " ")]), n("br"), n("span", { staticClass: "action-text__longtext", domProps: { textContent: t._s(t.text) } })]) : t.isLongText ? n("p", { staticClass: "action-text__longtext", domProps: { textContent: t._s(t.text) } }) : n("span", { staticClass: "action-text__text" }, [t._v(t._s(t.text))]), t._e()], 2)]);
}, c = [], e = a(o, i, c, !1, null, "586705f8", null, null);
const x = e.exports;
export {
x as default
};