UNPKG

@empathyco/x-components

Version:
31 lines (28 loc) 1.01 kB
import _sfc_main from './auto-progress-bar.vue2.js'; import { openBlock, createElementBlock, createElementVNode, normalizeStyle, createCommentVNode } from 'vue'; import './auto-progress-bar.vue3.js'; import _export_sfc from '../_virtual/_plugin-vue_export-helper.js'; const _hoisted_1 = { key: 0, class: "x-progress-bar", "data-test": "progress-bar", role: "progressbar" }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return _ctx.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1, [ createElementVNode( "div", { class: "x-progress-bar-fill", style: normalizeStyle(_ctx.cssStyles), "data-test": "progress-bar-line" }, null, 4 /* STYLE */ ) ])) : createCommentVNode("v-if", true); } var autoProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0d4c162e"]]); export { autoProgressBar as default }; //# sourceMappingURL=auto-progress-bar.vue.js.map