@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
70 lines (65 loc) • 1.91 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
require('../../../hooks/index.js');
var check = require('./check.js');
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
var index = require('../../../hooks/use-namespace/index.js');
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode(
"path",
{
fill: "none",
d: "M 4.7071 12.2929 l 5 5 c 0.3905 0.3905 1.0237 0.3905 1.4142 0 l 11 -11"
},
null,
-1
);
const _hoisted_2 = [
_hoisted_1
];
const __default__ = vue.defineComponent({
name: "IconCheck"
});
const _sfc_main = vue.defineComponent({
...__default__,
props: check.checkProps,
setup(__props) {
const ns = index.useNamespace("icon-check");
return (_ctx, _cache) => {
return vue.openBlock(), vue.createElementBlock(
"i",
{
class: vue.normalizeClass([
vue.unref(ns).b(),
vue.unref(ns).is("indeterminate", _ctx.indeterminate),
vue.unref(ns).is("active", _ctx.active)
])
},
[
_ctx.indeterminate ? (vue.openBlock(), vue.createElementBlock(
"div",
{
key: 0,
class: vue.normalizeClass(vue.unref(ns).e("line"))
},
null,
2
)) : (vue.openBlock(), vue.createElementBlock(
"svg",
{
key: 1,
class: vue.normalizeClass(vue.unref(ns).e("check")),
viewBox: "0 0 24 24"
},
_hoisted_2,
2
))
],
2
);
};
}
});
var Check = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/vuesax-alpha/vuesax-alpha/packages/components/icon/src/check.vue"]]);
exports["default"] = Check;
//# sourceMappingURL=check2.js.map