mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-17 11:49:41 +08:00
470 lines
23 KiB
JavaScript
470 lines
23 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[89],{
|
|
|
|
/***/ 610:
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
// ESM COMPAT FLAG
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm-browser.js
|
|
var vue_esm_browser = __webpack_require__(0);
|
|
|
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--2-0!./website/md-loader!./website/docs/es/badge.md?vue&type=template&id=6722d2d1
|
|
|
|
var badgevue_type_template_id_6722d2d1_hoisted_1 = {
|
|
class: "content element-doc"
|
|
};
|
|
|
|
var badgevue_type_template_id_6722d2d1_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("h2", {
|
|
id: "badge"
|
|
}, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("a", {
|
|
class: "header-anchor",
|
|
href: "#badge"
|
|
}, "¶"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" Badge")], -1);
|
|
|
|
var badgevue_type_template_id_6722d2d1_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, "Marcas en forma de número o estado para botones e iconos.", -1);
|
|
|
|
var badgevue_type_template_id_6722d2d1_hoisted_4 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("h3", {
|
|
id: "uso-basico"
|
|
}, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("a", {
|
|
class: "header-anchor",
|
|
href: "#uso-basico"
|
|
}, "¶"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" Uso básico")], -1);
|
|
|
|
var badgevue_type_template_id_6722d2d1_hoisted_5 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, "Muestra la cantidad de mensajes nuevos.", -1);
|
|
|
|
var badgevue_type_template_id_6722d2d1_hoisted_6 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("div", null, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, [/*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])("La cantidad está definida por "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "value"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" que acepta "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "Number"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" o "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "String"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(".")])], -1);
|
|
|
|
var badgevue_type_template_id_6722d2d1_hoisted_7 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("pre", null, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", {
|
|
class: "html"
|
|
}, "<el-badge :value=\"12\" class=\"item\">\n <el-button size=\"small\">comments</el-button>\n</el-badge>\n<el-badge :value=\"3\" class=\"item\">\n <el-button size=\"small\">replies</el-button>\n</el-badge>\n<el-badge :value=\"1\" class=\"item\" type=\"primary\">\n <el-button size=\"small\">comments</el-button>\n</el-badge>\n<el-badge :value=\"2\" class=\"item\" type=\"warning\">\n <el-button size=\"small\">replies</el-button>\n</el-badge>\n\n<el-dropdown trigger=\"click\">\n <span class=\"el-dropdown-link\">\n Click Me<i class=\"el-icon-caret-bottom el-icon--right\"></i>\n </span>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item class=\"clearfix\">\n comments\n <el-badge class=\"mark\" :value=\"12\" />\n </el-dropdown-item>\n <el-dropdown-item class=\"clearfix\">\n replies\n <el-badge class=\"mark\" :value=\"3\" />\n </el-dropdown-item>\n </el-dropdown-menu>\n </template>\n</el-dropdown>\n\n<style>\n.item {\n margin-top: 10px;\n margin-right: 40px;\n}\n</style>\n")], -1);
|
|
|
|
var _hoisted_8 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("h3", {
|
|
id: "valor-maximo"
|
|
}, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("a", {
|
|
class: "header-anchor",
|
|
href: "#valor-maximo"
|
|
}, "¶"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" Valor máximo")], -1);
|
|
|
|
var _hoisted_9 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, "Se puede personalizar el valor máximo.", -1);
|
|
|
|
var _hoisted_10 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("div", null, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, [/*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])("El valor máximo se define como "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "max"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" el cual es un "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "Number"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(". Nota: solo funciona si "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "value"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" es también un "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "Number"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(".")])], -1);
|
|
|
|
var _hoisted_11 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("pre", null, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", {
|
|
class: "html"
|
|
}, "<el-badge :value=\"200\" :max=\"99\" class=\"item\">\n <el-button size=\"small\">comments</el-button>\n</el-badge>\n<el-badge :value=\"100\" :max=\"10\" class=\"item\">\n <el-button size=\"small\">replies</el-button>\n</el-badge>\n\n<style>\n.item {\n margin-top: 10px;\n margin-right: 40px;\n}\n</style>\n")], -1);
|
|
|
|
var _hoisted_12 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("h3", {
|
|
id: "personalizaciones"
|
|
}, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("a", {
|
|
class: "header-anchor",
|
|
href: "#personalizaciones"
|
|
}, "¶"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" Personalizaciones")], -1);
|
|
|
|
var _hoisted_13 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, "Mostrar texto en vez de números.", -1);
|
|
|
|
var _hoisted_14 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("div", null, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, [/*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])("Cuando "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "value"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" es un "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "String"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(", puede mostrar texto personalizado.")])], -1);
|
|
|
|
var _hoisted_15 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("pre", null, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", {
|
|
class: "html"
|
|
}, "<el-badge value=\"new\" class=\"item\">\n <el-button size=\"small\">comments</el-button>\n</el-badge>\n<el-badge value=\"hot\" class=\"item\">\n <el-button size=\"small\">replies</el-button>\n</el-badge>\n\n<style>\n.item {\n margin-top: 10px;\n margin-right: 40px;\n}\n</style>\n")], -1);
|
|
|
|
var _hoisted_16 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("h3", {
|
|
id: "pequeno-punto-rojo"
|
|
}, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("a", {
|
|
class: "header-anchor",
|
|
href: "#pequeno-punto-rojo"
|
|
}, "¶"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(" Pequeño punto rojo")], -1);
|
|
|
|
var _hoisted_17 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, "Puede utilizar un punto rojo para marcar contenido que debe ser notado.", -1);
|
|
|
|
var _hoisted_18 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("div", null, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("p", null, [/*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])("Use el atributo "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "is-dot"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(". Es un "), /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", null, "Boolean"), /*#__PURE__*/Object(vue_esm_browser["n" /* createTextVNode */])(".")])], -1);
|
|
|
|
var _hoisted_19 = /*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("pre", null, [/*#__PURE__*/Object(vue_esm_browser["o" /* createVNode */])("code", {
|
|
class: "html"
|
|
}, "<el-badge is-dot class=\"item\">query</el-badge>\n<el-badge is-dot class=\"item\">\n <el-button class=\"share-button\" icon=\"el-icon-share\" type=\"primary\"></el-button>\n</el-badge>\n\n<style>\n.item {\n margin-top: 10px;\n margin-right: 40px;\n}\n</style>\n")], -1);
|
|
|
|
var _hoisted_20 = /*#__PURE__*/Object(vue_esm_browser["m" /* createStaticVNode */])("<h3 id=\"atributos\"><a class=\"header-anchor\" href=\"#atributos\">¶</a> Atributos</h3><table><thead><tr><th>Atributo</th><th>Descripción</th><th>Tipo</th><th>Valores aceptados</th><th>Por defecto</th></tr></thead><tbody><tr><td>value</td><td>valor a mostrar</td><td>string, number</td><td>—</td><td>—</td></tr><tr><td>max</td><td>valor máximo, Muestra '{max}+' cuando se excede. Solo funciona si <code>value</code> es un <code>Number</code></td><td>number</td><td>—</td><td>—</td></tr><tr><td>is-dot</td><td>si se debe mostrar un pequeño punto</td><td>boolean</td><td>—</td><td>false</td></tr><tr><td>hidden</td><td>oculta el badge</td><td>boolean</td><td>—</td><td>false</td></tr><tr><td>type</td><td>tipo de botón</td><td>string</td><td>primary / success / warning / danger / info</td><td>—</td></tr></tbody></table>", 2);
|
|
|
|
function badgevue_type_template_id_6722d2d1_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
var _component_element_demo0 = Object(vue_esm_browser["P" /* resolveComponent */])("element-demo0");
|
|
|
|
var _component_demo_block = Object(vue_esm_browser["P" /* resolveComponent */])("demo-block");
|
|
|
|
var _component_element_demo1 = Object(vue_esm_browser["P" /* resolveComponent */])("element-demo1");
|
|
|
|
var _component_element_demo2 = Object(vue_esm_browser["P" /* resolveComponent */])("element-demo2");
|
|
|
|
var _component_element_demo3 = Object(vue_esm_browser["P" /* resolveComponent */])("element-demo3");
|
|
|
|
return Object(vue_esm_browser["G" /* openBlock */])(), Object(vue_esm_browser["j" /* createBlock */])("section", badgevue_type_template_id_6722d2d1_hoisted_1, [badgevue_type_template_id_6722d2d1_hoisted_2, badgevue_type_template_id_6722d2d1_hoisted_3, badgevue_type_template_id_6722d2d1_hoisted_4, badgevue_type_template_id_6722d2d1_hoisted_5, Object(vue_esm_browser["o" /* createVNode */])(_component_demo_block, null, {
|
|
source: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [Object(vue_esm_browser["o" /* createVNode */])(_component_element_demo0)];
|
|
}),
|
|
highlight: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [badgevue_type_template_id_6722d2d1_hoisted_7];
|
|
}),
|
|
default: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [badgevue_type_template_id_6722d2d1_hoisted_6];
|
|
}),
|
|
_: 1
|
|
}), _hoisted_8, _hoisted_9, Object(vue_esm_browser["o" /* createVNode */])(_component_demo_block, null, {
|
|
source: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [Object(vue_esm_browser["o" /* createVNode */])(_component_element_demo1)];
|
|
}),
|
|
highlight: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [_hoisted_11];
|
|
}),
|
|
default: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [_hoisted_10];
|
|
}),
|
|
_: 1
|
|
}), _hoisted_12, _hoisted_13, Object(vue_esm_browser["o" /* createVNode */])(_component_demo_block, null, {
|
|
source: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [Object(vue_esm_browser["o" /* createVNode */])(_component_element_demo2)];
|
|
}),
|
|
highlight: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [_hoisted_15];
|
|
}),
|
|
default: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [_hoisted_14];
|
|
}),
|
|
_: 1
|
|
}), _hoisted_16, _hoisted_17, Object(vue_esm_browser["o" /* createVNode */])(_component_demo_block, null, {
|
|
source: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [Object(vue_esm_browser["o" /* createVNode */])(_component_element_demo3)];
|
|
}),
|
|
highlight: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [_hoisted_19];
|
|
}),
|
|
default: Object(vue_esm_browser["db" /* withCtx */])(function () {
|
|
return [_hoisted_18];
|
|
}),
|
|
_: 1
|
|
}), _hoisted_20]);
|
|
}
|
|
// CONCATENATED MODULE: ./website/docs/es/badge.md?vue&type=template&id=6722d2d1
|
|
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
|
|
var helpers_extends = __webpack_require__(8);
|
|
var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
|
|
|
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--2-0!./website/md-loader!./website/docs/es/badge.md?vue&type=script&lang=ts
|
|
|
|
|
|
/* harmony default export */ var badgevue_type_script_lang_ts = ({
|
|
name: 'component-doc',
|
|
components: {
|
|
"element-demo0": function () {
|
|
var _createTextVNode = vue_esm_browser["n" /* createTextVNode */],
|
|
_resolveComponent = vue_esm_browser["P" /* resolveComponent */],
|
|
_withCtx = vue_esm_browser["db" /* withCtx */],
|
|
_createVNode = vue_esm_browser["o" /* createVNode */],
|
|
_openBlock = vue_esm_browser["G" /* openBlock */],
|
|
_createBlock = vue_esm_browser["j" /* createBlock */];
|
|
|
|
var _hoisted_1 = /*#__PURE__*/_createTextVNode("comments");
|
|
|
|
var _hoisted_2 = /*#__PURE__*/_createTextVNode("replies");
|
|
|
|
var _hoisted_3 = /*#__PURE__*/_createTextVNode("comments");
|
|
|
|
var _hoisted_4 = /*#__PURE__*/_createTextVNode("replies");
|
|
|
|
var _hoisted_5 = /*#__PURE__*/_createVNode("span", {
|
|
class: "el-dropdown-link"
|
|
}, [/*#__PURE__*/_createTextVNode(" Click Me"), /*#__PURE__*/_createVNode("i", {
|
|
class: "el-icon-caret-bottom el-icon--right"
|
|
})], -1);
|
|
|
|
var _hoisted_6 = /*#__PURE__*/_createTextVNode(" comments ");
|
|
|
|
var _hoisted_7 = /*#__PURE__*/_createTextVNode(" replies ");
|
|
|
|
function render(_ctx, _cache) {
|
|
var _component_el_button = _resolveComponent("el-button");
|
|
|
|
var _component_el_badge = _resolveComponent("el-badge");
|
|
|
|
var _component_el_dropdown_item = _resolveComponent("el-dropdown-item");
|
|
|
|
var _component_el_dropdown_menu = _resolveComponent("el-dropdown-menu");
|
|
|
|
var _component_el_dropdown = _resolveComponent("el-dropdown");
|
|
|
|
return _openBlock(), _createBlock("div", null, [_createVNode(_component_el_badge, {
|
|
value: 12,
|
|
class: "item"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
size: "small"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_1];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
}), _createVNode(_component_el_badge, {
|
|
value: 3,
|
|
class: "item"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
size: "small"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_2];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
}), _createVNode(_component_el_badge, {
|
|
value: 1,
|
|
class: "item",
|
|
type: "primary"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
size: "small"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_3];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
}), _createVNode(_component_el_badge, {
|
|
value: 2,
|
|
class: "item",
|
|
type: "warning"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
size: "small"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_4];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
}), _createVNode(_component_el_dropdown, {
|
|
trigger: "click"
|
|
}, {
|
|
dropdown: _withCtx(function () {
|
|
return [_createVNode(_component_el_dropdown_menu, null, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_dropdown_item, {
|
|
class: "clearfix"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_6, _createVNode(_component_el_badge, {
|
|
class: "mark",
|
|
value: 12
|
|
})];
|
|
}),
|
|
_: 1
|
|
}), _createVNode(_component_el_dropdown_item, {
|
|
class: "clearfix"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_7, _createVNode(_component_el_badge, {
|
|
class: "mark",
|
|
value: 3
|
|
})];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
default: _withCtx(function () {
|
|
return [_hoisted_5];
|
|
}),
|
|
_: 1
|
|
})]);
|
|
}
|
|
|
|
var democomponentExport = {};
|
|
return extends_default()({
|
|
render: render
|
|
}, democomponentExport);
|
|
}(),
|
|
"element-demo1": function () {
|
|
var _createTextVNode = vue_esm_browser["n" /* createTextVNode */],
|
|
_resolveComponent = vue_esm_browser["P" /* resolveComponent */],
|
|
_withCtx = vue_esm_browser["db" /* withCtx */],
|
|
_createVNode = vue_esm_browser["o" /* createVNode */],
|
|
_openBlock = vue_esm_browser["G" /* openBlock */],
|
|
_createBlock = vue_esm_browser["j" /* createBlock */];
|
|
|
|
var _hoisted_1 = /*#__PURE__*/_createTextVNode("comments");
|
|
|
|
var _hoisted_2 = /*#__PURE__*/_createTextVNode("replies");
|
|
|
|
function render(_ctx, _cache) {
|
|
var _component_el_button = _resolveComponent("el-button");
|
|
|
|
var _component_el_badge = _resolveComponent("el-badge");
|
|
|
|
return _openBlock(), _createBlock("div", null, [_createVNode(_component_el_badge, {
|
|
value: 200,
|
|
max: 99,
|
|
class: "item"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
size: "small"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_1];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
}), _createVNode(_component_el_badge, {
|
|
value: 100,
|
|
max: 10,
|
|
class: "item"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
size: "small"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_2];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
})]);
|
|
}
|
|
|
|
var democomponentExport = {};
|
|
return extends_default()({
|
|
render: render
|
|
}, democomponentExport);
|
|
}(),
|
|
"element-demo2": function () {
|
|
var _createTextVNode = vue_esm_browser["n" /* createTextVNode */],
|
|
_resolveComponent = vue_esm_browser["P" /* resolveComponent */],
|
|
_withCtx = vue_esm_browser["db" /* withCtx */],
|
|
_createVNode = vue_esm_browser["o" /* createVNode */],
|
|
_openBlock = vue_esm_browser["G" /* openBlock */],
|
|
_createBlock = vue_esm_browser["j" /* createBlock */];
|
|
|
|
var _hoisted_1 = /*#__PURE__*/_createTextVNode("comments");
|
|
|
|
var _hoisted_2 = /*#__PURE__*/_createTextVNode("replies");
|
|
|
|
function render(_ctx, _cache) {
|
|
var _component_el_button = _resolveComponent("el-button");
|
|
|
|
var _component_el_badge = _resolveComponent("el-badge");
|
|
|
|
return _openBlock(), _createBlock("div", null, [_createVNode(_component_el_badge, {
|
|
value: "new",
|
|
class: "item"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
size: "small"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_1];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
}), _createVNode(_component_el_badge, {
|
|
value: "hot",
|
|
class: "item"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
size: "small"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_2];
|
|
}),
|
|
_: 1
|
|
})];
|
|
}),
|
|
_: 1
|
|
})]);
|
|
}
|
|
|
|
var democomponentExport = {};
|
|
return extends_default()({
|
|
render: render
|
|
}, democomponentExport);
|
|
}(),
|
|
"element-demo3": function () {
|
|
var _createTextVNode = vue_esm_browser["n" /* createTextVNode */],
|
|
_resolveComponent = vue_esm_browser["P" /* resolveComponent */],
|
|
_withCtx = vue_esm_browser["db" /* withCtx */],
|
|
_createVNode = vue_esm_browser["o" /* createVNode */],
|
|
_openBlock = vue_esm_browser["G" /* openBlock */],
|
|
_createBlock = vue_esm_browser["j" /* createBlock */];
|
|
|
|
var _hoisted_1 = /*#__PURE__*/_createTextVNode("query");
|
|
|
|
function render(_ctx, _cache) {
|
|
var _component_el_badge = _resolveComponent("el-badge");
|
|
|
|
var _component_el_button = _resolveComponent("el-button");
|
|
|
|
return _openBlock(), _createBlock("div", null, [_createVNode(_component_el_badge, {
|
|
"is-dot": "",
|
|
class: "item"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_hoisted_1];
|
|
}),
|
|
_: 1
|
|
}), _createVNode(_component_el_badge, {
|
|
"is-dot": "",
|
|
class: "item"
|
|
}, {
|
|
default: _withCtx(function () {
|
|
return [_createVNode(_component_el_button, {
|
|
class: "share-button",
|
|
icon: "el-icon-share",
|
|
type: "primary"
|
|
})];
|
|
}),
|
|
_: 1
|
|
})]);
|
|
}
|
|
|
|
var democomponentExport = {};
|
|
return extends_default()({
|
|
render: render
|
|
}, democomponentExport);
|
|
}()
|
|
}
|
|
});
|
|
// CONCATENATED MODULE: ./website/docs/es/badge.md?vue&type=script&lang=ts
|
|
|
|
// CONCATENATED MODULE: ./website/docs/es/badge.md
|
|
|
|
|
|
|
|
badgevue_type_script_lang_ts.render = badgevue_type_template_id_6722d2d1_render
|
|
|
|
/* harmony default export */ var badge = __webpack_exports__["default"] = (badgevue_type_script_lang_ts);
|
|
|
|
/***/ })
|
|
|
|
}]); |