UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

42 lines (41 loc) 1.36 kB
import normalizeComponent from "../../_virtual/_plugin-vue2_normalizer.js"; import DtListItem from "../list_item/list_item.vue.js"; const _sfc_main = { name: "ComboboxEmptyList", components: { DtListItem }, props: { /** * Message to display when list is empty */ message: { type: String, required: true }, /** * 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 _sfc_render = function render() { var _vm = this, _c = _vm._self._c; return _c("ol", { staticClass: "d-combobox__empty-list", attrs: { "data-qa": "dt-combobox-empty-list" } }, [_vm._t("default", function() { return [_c("dt-list-item", { class: ["d-combobox__empty-list-item", _vm.itemClass], attrs: { "role": "option", "navigation-type": "none", "type": "custom" } }, [_c("span", [_vm._v(_vm._s(_vm.message))])])]; })], 2); }; var _sfc_staticRenderFns = []; var __component__ = /* @__PURE__ */ normalizeComponent( _sfc_main, _sfc_render, _sfc_staticRenderFns ); const ComboboxEmptyList = __component__.exports; export { ComboboxEmptyList as default }; //# sourceMappingURL=combobox_empty-list.vue.js.map