comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
44 lines (43 loc) • 3.09 kB
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const vue = require("vue");
require("../style/skeleton.css");
const _hoisted_1 = {
key: 0,
viewBox: "0 0 1024 1024",
width: "20%",
height: "20%"
};
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
...{
name: "CuSkeletonItem"
},
__name: "item",
props: {
shape: {
type: String,
default: "row"
},
size: Number
},
setup(__props) {
return (_ctx, _cache) => {
return vue.openBlock(), vue.createElementBlock("div", {
class: vue.normalizeClass(["cu-skeleton-item", __props.shape ? "is-" + __props.shape : void 0]),
style: vue.normalizeStyle({ "--cu-skeleton-size": __props.size })
}, [
__props.shape === "image" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
vue.createElementVNode("path", {
d: "M287.8 288m-96 0a96 96 0 1 0 192 0 96 96 0 1 0-192 0Z",
fill: "#d6d6d6"
}, null, -1),
vue.createElementVNode("path", {
d: "M957.1 161.9c-0.5-2-1-4.1-1.6-6.1-0.6-2-1.2-4-1.9-5.9-0.3-1-0.7-2-1-2.9-1.1-2.9-2.2-5.8-3.5-8.6-1.7-3.7-3.6-7.4-5.6-10.9-1-1.8-2.1-3.5-3.2-5.2-0.6-0.9-1.1-1.7-1.7-2.5-1.7-2.5-3.5-5-5.4-7.4-1.3-1.6-2.6-3.2-3.9-4.7-2.7-3.1-5.5-6-8.4-8.8-22.8-21.7-53.5-35.1-87.3-35.1H190.9c-27.2 0-52.5 8.7-73.2 23.5-0.8 0.6-1.6 1.2-2.5 1.8-2.4 1.8-4.8 3.7-7.1 5.7-0.8 0.7-1.5 1.3-2.3 2-1.1 1-2.2 2.1-3.3 3.1l-2.2 2.2c-2.5 2.5-4.9 5.2-7.1 7.9-0.6 0.8-1.3 1.6-1.9 2.4-1.5 1.9-3 3.9-4.4 5.9-9.6 13.7-16.5 29.3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V190.4c-0.1-9.8-1.3-19.3-3.4-28.5zM752.2 467.2c-25.3-25.3-66.6-25.3-91.8 0l-242 242L304.1 595c-25.3-25.3-66.6-25.3-91.8 0L128 679.3V192c0-17 6.7-33 18.9-45.1C159 134.7 175 128 192 128h640c17 0 33 6.7 45.1 18.9C889.3 159 896 175 896 192v419L752.2 467.2z",
fill: "#d6d6d6"
}, null, -1)
]))) : vue.createCommentVNode("", true)
], 6);
};
}
});
exports.default = _sfc_main;