UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

54 lines (49 loc) 1.74 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var loading_vue_vue_type_script_lang = require('./loading.vue2.js'); var vue = require('vue'); var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js'); const _hoisted_1 = { key: 0, class: "ui-loading-content" }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_UiIcon = vue.resolveComponent("UiIcon"); return vue.openBlock(), vue.createBlock(vue.Transition, { onEnter: _ctx.entranceAnimation, onLeave: _ctx.departureAnimation, onBeforeEnter: _ctx.entrancePreAnimation }, { default: vue.withCtx(() => [ _ctx.visible ? (vue.openBlock(), vue.createElementBlock( "div", { key: 0, class: vue.normalizeClass(["ui-loading ui-mask", _ctx.className]), style: vue.normalizeStyle(_ctx.style) }, [ vue.createVNode(_component_UiIcon, { class: "ui-loading-icon", ref: "iconNode", name: _ctx.icon }, null, 8, ["name"]), _ctx.message ? (vue.openBlock(), vue.createElementBlock( "div", _hoisted_1, vue.toDisplayString(_ctx.message), 1 /* TEXT */ )) : vue.createCommentVNode("v-if", true) ], 6 /* CLASS, STYLE */ )) : vue.createCommentVNode("v-if", true) ]), _: 1 /* STABLE */ }, 8, ["onEnter", "onLeave", "onBeforeEnter"]); } var UiLoading = /* @__PURE__ */ _pluginVue_exportHelper.default(loading_vue_vue_type_script_lang.default, [["render", _sfc_render]]); exports.default = UiLoading; //# sourceMappingURL=loading.vue.js.map