UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

42 lines (41 loc) 1.53 kB
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); const _pluginVue2_normalizer = require("../../_virtual/_plugin-vue2_normalizer.cjs"); const list_item = require("../list_item/list_item.vue.cjs"); const _sfc_main = { name: "ComboboxEmptyList", components: { DtListItem: list_item.default }, 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__ */ _pluginVue2_normalizer.default( _sfc_main, _sfc_render, _sfc_staticRenderFns ); const ComboboxEmptyList = __component__.exports; exports.default = ComboboxEmptyList; //# sourceMappingURL=combobox_empty-list.vue.cjs.map