UNPKG

@ued_fpi/data-visual

Version:

<br /> <br /> <div style="text-align:center"> <b style="font-size:30px">@ued_fpi/data-visual</b> <p>基于Vite4+TypeScript的Vue3大屏组件库开发框架</p> <img style="display:inline" src="https://img.shields.io/npm/v/@ued_fpi/data-visual" />

21 lines (18 loc) 955 B
import _sfc_main from './BarItem.vue2.mjs'; import { openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode } from 'vue'; import './BarItem.vue3.mjs'; import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs'; const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", { class: "progress-bar__outer__top" }, null, -1); const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "progress-bar__outer__bottom" }, null, -1); const _hoisted_3 = [ _hoisted_1, _hoisted_2 ]; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("div", { class: normalizeClass(["dv-ipes-progress-bar", [$props.className]]), style: normalizeStyle({ width: $props.percent > 100 ? "100%" : `${$props.percent}%` }) }, _hoisted_3, 6); } const BarItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { BarItem as default };