UNPKG

tav-ui

Version:
34 lines (29 loc) 1.33 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); var antDesignVue = require('ant-design-vue'); var types = require('./types2.js'); var pluginVue_exportHelper = require('../../../../_virtual/plugin-vue_export-helper.js'); const _sfc_main = vue.defineComponent({ name: "TaLoading", components: { Spin: antDesignVue.Spin }, props: types.loadingProps }); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_Spin = vue.resolveComponent("Spin"); return vue.withDirectives((vue.openBlock(), vue.createElementBlock("section", { class: vue.normalizeClass(["full-loading", { absolute: _ctx.absolute, [_ctx.theme]: !!_ctx.theme }]), style: vue.normalizeStyle([_ctx.background ? `background-color: ${_ctx.background}` : ""]) }, [ vue.createVNode(_component_Spin, vue.mergeProps(_ctx.$attrs, { tip: _ctx.tip, size: _ctx.size, spinning: _ctx.loading }), null, 16, ["tip", "size", "spinning"]) ], 6)), [ [vue.vShow, _ctx.loading] ]); } var Loading = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/tav-ui/tav-ui/packages/components/loading/src/loading.vue"]]); exports["default"] = Loading; //# sourceMappingURL=loading2.js.map