{"version":3,"file":"NcEmptyContent-D03x2I6w.chunk.mjs","sources":["../node_modules/@nextcloud/vue/dist/Components/NcEmptyContent.mjs"],"sourcesContent":["import '../assets/NcEmptyContent-CUFc_Dds.css';\nimport { c as createElementId } from \"../chunks/createElementId-DhjFt1I9.mjs\";\nimport { n as normalizeComponent } from \"../chunks/_plugin-vue2_normalizer-DU4iP6Vu.mjs\";\nconst _sfc_main = {\n name: \"NcEmptyContent\",\n props: {\n /**\n * A header message about an empty content shown\n *\n * @example 'No comments'\n */\n name: {\n type: String,\n default: \"\"\n },\n /**\n * Desription of the empty content\n *\n * @example 'No comments yet, start the conversation!'\n */\n description: {\n type: String,\n default: \"\"\n }\n },\n setup() {\n return {\n nameId: createElementId()\n };\n },\n computed: {\n hasName() {\n return this.name !== \"\" || this.$slots.name;\n },\n /**\n * Check if a description is given as either property or slot\n */\n hasDescription() {\n return this.description !== \"\" || this.$slots.description?.[0];\n }\n }\n};\nvar _sfc_render = function render() {\n var _vm = this, _c = _vm._self._c;\n return _c(\"div\", { staticClass: \"empty-content\", attrs: { \"aria-labelledby\": _vm.nameId, \"role\": \"note\" } }, [_vm.$slots.icon ? _c(\"div\", { staticClass: \"empty-content__icon\", attrs: { \"aria-hidden\": \"true\" } }, [_vm._t(\"icon\")], 2) : _vm._e(), _vm.hasName ? _c(\"div\", { staticClass: \"empty-content__name\", attrs: { \"id\": _vm.nameId } }, [_vm._t(\"name\", function() {\n return [_vm._v(\" \" + _vm._s(_vm.name) + \" \")];\n })], 2) : _vm._e(), _vm.hasDescription ? _c(\"p\", { staticClass: \"empty-content__description\" }, [_vm._t(\"description\", function() {\n return [_vm._v(\" \" + _vm._s(_vm.description) + \" \")];\n })], 2) : _vm._e(), _vm.$slots.action ? _c(\"div\", { staticClass: \"empty-content__action\" }, [_vm._t(\"action\")], 2) : _vm._e()]);\n};\nvar _sfc_staticRenderFns = [];\nvar __component__ = /* @__PURE__ */ normalizeComponent(\n _sfc_main,\n _sfc_render,\n _sfc_staticRenderFns,\n false,\n null,\n \"c3123941\"\n);\nconst NcEmptyContent = __component__.exports;\nexport {\n NcEmptyContent as default\n};\n//# sourceMappingURL=NcEmptyContent.mjs.map\n"],"names":["_sfc_main","createElementId","_sfc_render","_vm","_c","_sfc_staticRenderFns","__component__","normalizeComponent","NcEmptyContent"],"mappings":"iHAGA,MAAMA,EAAY,CAChB,KAAM,iBACN,MAAO,CAML,KAAM,CACJ,KAAM,OACN,QAAS,EACf,EAMI,YAAa,CACX,KAAM,OACN,QAAS,EACf,CACA,EACE,OAAQ,CACN,MAAO,CACL,OAAQC,EAAe,CAC7B,CACE,EACA,SAAU,CACR,SAAU,CACR,OAAO,KAAK,OAAS,IAAM,KAAK,OAAO,IACzC,EAIA,gBAAiB,CACf,OAAO,KAAK,cAAgB,IAAM,KAAK,OAAO,cAAc,CAAC,CAC/D,CACJ,CACA,EACA,IAAIC,EAAc,UAAkB,CAClC,IAAIC,EAAM,KAAMC,EAAKD,EAAI,MAAM,GAC/B,OAAOC,EAAG,MAAO,CAAE,YAAa,gBAAiB,MAAO,CAAE,kBAAmBD,EAAI,OAAQ,KAAQ,MAAM,GAAM,CAACA,EAAI,OAAO,KAAOC,EAAG,MAAO,CAAE,YAAa,sBAAuB,MAAO,CAAE,cAAe,MAAM,CAAE,EAAI,CAACD,EAAI,GAAG,MAAM,CAAC,EAAG,CAAC,EAAIA,EAAI,GAAE,EAAIA,EAAI,QAAUC,EAAG,MAAO,CAAE,YAAa,sBAAuB,MAAO,CAAE,GAAMD,EAAI,MAAM,CAAE,EAAI,CAACA,EAAI,GAAG,OAAQ,UAAW,CAC3W,MAAO,CAACA,EAAI,GAAG,IAAMA,EAAI,GAAGA,EAAI,IAAI,EAAI,GAAG,CAAC,CAC9C,CAAC,CAAC,EAAG,CAAC,EAAIA,EAAI,GAAE,EAAIA,EAAI,eAAiBC,EAAG,IAAK,CAAE,YAAa,4BAA4B,EAAI,CAACD,EAAI,GAAG,cAAe,UAAW,CAChI,MAAO,CAACA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