@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
1 lines • 1.78 kB
Source Map (JSON)
{"version":3,"file":"combobox-empty-list.cjs","sources":["../../../components/combobox/combobox_empty-list.vue"],"sourcesContent":["<template>\n <ol\n class=\"d-combobox__empty-list\"\n data-qa=\"dt-combobox-empty-list\"\n >\n <slot>\n <dt-list-item\n role=\"option\"\n navigation-type=\"none\"\n type=\"custom\"\n :class=\"['d-combobox__empty-list-item', itemClass]\"\n >\n <span>{{ message }}</span>\n </dt-list-item>\n </slot>\n </ol>\n</template>\n\n<script>\nimport { DtListItem } from '@/components/list_item';\n\nexport default {\n name: 'ComboboxEmptyList',\n\n components: { DtListItem },\n\n props: {\n /**\n * Message to display when list is empty\n */\n message: {\n type: String,\n required: true,\n },\n\n /**\n * Additional class name for the empty list element.\n * Can accept all of String, Object, and Array, i.e. has the\n * same api as Vue's built-in handling of the class attribute.\n */\n itemClass: {\n type: [String, Object, Array],\n default: '',\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtListItem","_openBlock","_createElementBlock","_hoisted_1","_renderSlot","_ctx","_createVNode","_component_dt_list_item","_normalizeClass","$props","_withCtx","_createElementVNode"],"mappings":"qOAqBKA,EAAU,CACb,KAAM,oBAEN,WAAY,CAAA,WAAEC,EAAAA,OAAS,EAEvB,MAAO,CAIL,QAAS,CACP,KAAM,OACN,SAAU,IAQZ,UAAW,CACT,KAAM,CAAC,OAAQ,OAAQ,KAAK,EAC5B,QAAS,IAGf,KA3CI,MAAM,yBACN,UAAQ,6FAFV,OAAAC,YAAA,EAAAC,qBAcK,KAdLC,EAcK,CAVHC,EAAAA,WASOC,sBATP,IASO,CARLC,EAAAA,YAOeC,EAAA,CANb,KAAK,SACL,kBAAgB,OAChB,KAAK,SACJ,MAVTC,EAAAA,8CAUgDC,EAAA,SAAS,CAAA,IAVzD,QAAAC,EAAAA,QAYQ,IAA0B,CAA1BC,EAAAA,mBAA0B,8BAAjBF,EAAA,OAAO,EAAA,CAAA,IAZxB,EAAA"}