UNPKG

@dialpad/dialtone-vue

Version:

Vue component library for Dialpad's design system Dialtone

40 lines (39 loc) 1.15 kB
import { n as o } from "../../_plugin-vue2_normalizer-DSLOjnn3.js"; import s from "../list-item/list-item.js"; const r = { name: "ComboboxEmptyList", components: { DtListItem: s }, props: { /** * Message to display when list is empty */ message: { type: String, required: !0 }, /** * Additional class name for the empty list element. * Can accept all of String, Object, and Array, i.e. has the * same api as Vue's built-in handling of the class attribute. */ itemClass: { type: [String, Object, Array], default: "" } } }; var n = function() { var t = this, e = t._self._c; return e("ol", { staticClass: "d-combobox__empty-list", attrs: { "data-qa": "dt-combobox-empty-list" } }, [t._t("default", function() { return [e("dt-list-item", { class: ["d-combobox__empty-list-item", t.itemClass], attrs: { role: "option", "navigation-type": "none", type: "custom" } }, [e("span", [t._v(t._s(t.message))])])]; })], 2); }, a = [], m = /* @__PURE__ */ o( r, n, a ); const c = m.exports; export { c as default }; //# sourceMappingURL=combobox-empty-list.js.map