@ovalbee/reportifact 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -16
- package/dist/Chart-Cmh3H_Wv.js +5634 -0
- package/dist/Chart-jF5jqxGZ.cjs +1 -0
- package/dist/ImageGallery-CPZM1tc_.cjs +1 -0
- package/dist/ImageGallery-DQzba-4p.js +163 -0
- package/dist/MetricCallout-C7SUQTrj.js +39 -0
- package/dist/MetricCallout-CxhVOiqg.cjs +1 -0
- package/dist/MetricCards-DW-_QLhI.cjs +1 -0
- package/dist/MetricCards-JR4hUW4_.js +61 -0
- package/dist/MetricsTable-CH8vIbWG.cjs +1 -0
- package/dist/MetricsTable-OXsVygq0.js +98 -0
- package/dist/Reportifact.vue.d.ts +3 -2
- package/dist/ReportifactWidgetHost-DIlz4TxO.js +13 -0
- package/dist/ReportifactWidgetHost-xDT1ykZc.cjs +1 -0
- package/dist/Timeline-DSGSvRjj.js +295 -0
- package/dist/Timeline-P3CpGmBD.cjs +1 -0
- package/dist/WidgetWrapper-AmnP99H8.js +62 -0
- package/dist/WidgetWrapper-C0lc1m0V.cjs +1 -0
- package/dist/components/TableOfContents.vue.d.ts +3 -4
- package/dist/dist-DBIuOmpr.cjs +27 -0
- package/dist/dist-DEKe39T1.js +23629 -0
- package/dist/markdownTable-BCLRoyPL.cjs +2 -0
- package/dist/markdownTable-DHdS_81b.js +40 -0
- package/dist/middleware.cjs +1 -1
- package/dist/middleware.js +146 -175
- package/dist/portable/ReportifactWidgetHost.vue.d.ts +7 -11
- package/dist/portable/contracts.d.ts +6 -1
- package/dist/portable/usePortableSource.d.ts +18 -0
- package/dist/reportifact.cjs +63 -64
- package/dist/reportifact.d.ts +1 -1
- package/dist/reportifact.js +4909 -5223
- package/dist/rolldown-runtime-DF3sbh8G.cjs +1 -0
- package/dist/style.css +2 -13
- package/dist/usePortableSource--y_qMDXB.js +55 -0
- package/dist/usePortableSource-CN5URH4d.cjs +1 -0
- package/dist/utils/tfeventsParser.cjs +1 -1
- package/dist/utils/tfeventsParser.js +298 -327
- package/dist/widgets/Card.vue.d.ts +2 -1
- package/dist/widgets/Chart.vue.d.ts +7 -9
- package/dist/widgets/HelpTooltip.vue.d.ts +2 -1
- package/dist/widgets/ImageGallery.vue.d.ts +7 -10
- package/dist/widgets/Markdown.vue.d.ts +3 -2
- package/dist/widgets/MetricCallout.vue.d.ts +5 -8
- package/dist/widgets/MetricCards.vue.d.ts +5 -5
- package/dist/widgets/MetricTable.vue.d.ts +2 -1
- package/dist/widgets/MetricsTable.vue.d.ts +7 -9
- package/dist/widgets/ModelClassComparison.vue.d.ts +3 -2
- package/dist/widgets/ModelComparisonGallery.vue.d.ts +3 -2
- package/dist/widgets/Notice.vue.d.ts +2 -1
- package/dist/widgets/ReportifactWidget.vue.d.ts +3 -4
- package/dist/widgets/Scope.vue.d.ts +2 -3
- package/dist/widgets/Table.vue.d.ts +3 -2
- package/dist/widgets/Tensorboard.vue.d.ts +3 -2
- package/dist/widgets/Timeline.vue.d.ts +7 -9
- package/dist/widgets/WidgetWrapper.vue.d.ts +22 -18
- package/dist/widgets/chart-config/range.d.ts +2 -0
- package/dist/widgets/chart-config/shared.d.ts +25 -0
- package/dist/widgets/chart-config/types.d.ts +12 -3
- package/dist/widgets/chart.cjs +1 -1
- package/dist/widgets/chart.d.ts +3 -3
- package/dist/widgets/chart.js +2 -5
- package/dist/widgets/chartSizing.d.ts +10 -0
- package/dist/widgets/contracts.cjs +1 -1
- package/dist/widgets/contracts.d.ts +1 -1
- package/dist/widgets/contracts.js +0 -1
- package/dist/widgets/host.cjs +1 -1
- package/dist/widgets/host.d.ts +3 -3
- package/dist/widgets/host.js +2 -5
- package/dist/widgets/image-gallery.cjs +1 -1
- package/dist/widgets/image-gallery.d.ts +3 -3
- package/dist/widgets/image-gallery.js +2 -5
- package/dist/widgets/markdownTable.d.ts +1 -1
- package/dist/widgets/metric-callout.cjs +1 -1
- package/dist/widgets/metric-callout.d.ts +3 -3
- package/dist/widgets/metric-callout.js +2 -5
- package/dist/widgets/metric-cards.cjs +1 -1
- package/dist/widgets/metric-cards.d.ts +3 -3
- package/dist/widgets/metric-cards.js +2 -5
- package/dist/widgets/metrics-table.cjs +1 -1
- package/dist/widgets/metrics-table.d.ts +3 -3
- package/dist/widgets/metrics-table.js +2 -5
- package/dist/widgets/timeline.cjs +1 -1
- package/dist/widgets/timeline.d.ts +3 -3
- package/dist/widgets/timeline.js +2 -5
- package/package.json +5 -10
- package/dist/Chart.vue_vue_type_style_index_0_lang-Bp14Es_r.js +0 -5946
- package/dist/Chart.vue_vue_type_style_index_0_lang-Dj7m6i3v.cjs +0 -1
- package/dist/ImageGallery.vue_vue_type_style_index_0_lang-BB4dG0CB.cjs +0 -1
- package/dist/ImageGallery.vue_vue_type_style_index_0_lang-DPY6mSdA.js +0 -191
- package/dist/MetricCallout.vue_vue_type_style_index_0_lang-BZbc-Wkf.js +0 -49
- package/dist/MetricCallout.vue_vue_type_style_index_0_lang-WpuALh8Z.cjs +0 -1
- package/dist/MetricCards.vue_vue_type_style_index_0_lang-CDPSu7no.cjs +0 -1
- package/dist/MetricCards.vue_vue_type_style_index_0_lang-CfxCCXmB.js +0 -33
- package/dist/MetricsTable.vue_vue_type_style_index_0_lang-BzrxoJW4.cjs +0 -1
- package/dist/MetricsTable.vue_vue_type_style_index_0_lang-CO9HvYfr.js +0 -132
- package/dist/ReportifactWidgetHost-A73gQ3bT.cjs +0 -1
- package/dist/ReportifactWidgetHost-BjKBwCWI.js +0 -17
- package/dist/Timeline.vue_vue_type_style_index_0_lang-BTA6fIp9.js +0 -2640
- package/dist/Timeline.vue_vue_type_style_index_0_lang-CZ8Y2pXG.cjs +0 -2
- package/dist/WidgetWrapper.vue_vue_type_style_index_0_lang-BQQ4Vv5j.cjs +0 -1
- package/dist/WidgetWrapper.vue_vue_type_style_index_0_lang-D-oXqmI2.js +0 -59
- package/dist/entries/figure.d.ts +0 -1
- package/dist/index-3DTuh2Dr.cjs +0 -47
- package/dist/index-DevYhXSC.js +0 -22104
- package/dist/markdownTable-B5207r3E.js +0 -32
- package/dist/markdownTable-Cbn1Du3L.cjs +0 -2
- package/dist/portable/ReportifactFigure.vue.d.ts +0 -40
- package/dist/useFetch-BfOAq-Kg.cjs +0 -1
- package/dist/useFetch-CHQm_TmB.js +0 -35
- package/dist/widgets/figure.cjs +0 -1
- package/dist/widgets/figure.d.ts +0 -6
- package/dist/widgets/figure.js +0 -84
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("./markdownTable-Cbn1Du3L.cjs"),u={class:"reportifact-metric-callout"},m={class:"reportifact-metric-callout-header"},p={class:"reportifact-metric-callout-label"},v={class:"reportifact-metric-callout-description"},_=["innerHTML"],f=e.defineComponent({__name:"MetricCallout",props:{widget:{default:void 0},data:{default:void 0},label:{default:void 0},value:{default:void 0},description:{default:void 0},html:{default:void 0}},setup(i){const t=i,r=e.computed(()=>{var o,a;return String(t.label??((o=t.data)==null?void 0:o.label)??((a=t.widget)==null?void 0:a.options.label)??"Metric")}),l=e.computed(()=>{var o,a;return String(t.value??((o=t.data)==null?void 0:o.value)??((a=t.widget)==null?void 0:a.options.value)??"")}),n=e.computed(()=>{var o,a;return String(t.description??((o=t.data)==null?void 0:o.description)??((a=t.widget)==null?void 0:a.options.description)??"")}),c=e.computed(()=>{var o,a;return t.html??((o=t.data)==null?void 0:o.html)??((a=t.widget)==null?void 0:a.html)??""}),d=e.computed(()=>s.metricTone(l.value));return(o,a)=>(e.openBlock(),e.createElementBlock("section",u,[e.createElementVNode("header",m,[e.createElementVNode("div",null,[e.createElementVNode("div",p,e.toDisplayString(r.value),1),e.createElementVNode("strong",{class:e.normalizeClass(["reportifact-metric-callout-value",`reportifact-metric-callout-value--${d.value}`])},e.toDisplayString(l.value),3)]),e.createElementVNode("div",v,e.toDisplayString(n.value),1)]),c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"reportifact-metric-callout-body reportifact-markdown",innerHTML:c.value},null,8,_)):e.createCommentVNode("",!0)]))}});exports._sfc_main=f;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./markdownTable-Cbn1Du3L.cjs"),i={class:"reportifact-metric-cards"},d={class:"reportifact-metric-card-label"},p={class:"reportifact-metric-card-value"},m={class:"reportifact-metric-card-description"},u=e.defineComponent({__name:"MetricCards",props:{widget:{default:void 0},content:{default:void 0},data:{default:void 0}},setup(n){const c=n,o=e.computed(()=>{var r;return c.data??a.parseMarkdownTable(c.content??((r=c.widget)==null?void 0:r.content)??"")}),l=a.metricTone,s=a.metricPercent;return(r,f)=>(e.openBlock(),e.createElementBlock("div",i,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,t=>(e.openBlock(),e.createElementBlock("article",{key:t.label,class:e.normalizeClass(["reportifact-metric-card",`reportifact-metric-card--${e.unref(l)(t.value)}`])},[e.createElementVNode("span",{class:"reportifact-metric-card-fill",style:e.normalizeStyle({height:`${e.unref(s)(t.value)}%`})},null,4),e.createElementVNode("span",d,e.toDisplayString(t.label),1),e.createElementVNode("strong",p,e.toDisplayString(t.value),1),e.createElementVNode("p",m,e.toDisplayString(t.description),1)],2))),128))]))}});exports._sfc_main=u;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, computed as u, createElementBlock as c, openBlock as s, Fragment as f, renderList as _, normalizeClass as v, unref as n, createElementVNode as t, normalizeStyle as h, toDisplayString as o } from "vue";
|
|
2
|
-
import { p as g, m as b, a as k } from "./markdownTable-B5207r3E.js";
|
|
3
|
-
const y = { class: "reportifact-metric-cards" }, C = { class: "reportifact-metric-card-label" }, x = { class: "reportifact-metric-card-value" }, z = { class: "reportifact-metric-card-description" }, S = /* @__PURE__ */ m({
|
|
4
|
-
__name: "MetricCards",
|
|
5
|
-
props: {
|
|
6
|
-
widget: { default: void 0 },
|
|
7
|
-
content: { default: void 0 },
|
|
8
|
-
data: { default: void 0 }
|
|
9
|
-
},
|
|
10
|
-
setup(i) {
|
|
11
|
-
const r = i, l = u(() => {
|
|
12
|
-
var a;
|
|
13
|
-
return r.data ?? g(r.content ?? ((a = r.widget) == null ? void 0 : a.content) ?? "");
|
|
14
|
-
}), d = b, p = k;
|
|
15
|
-
return (a, B) => (s(), c("div", y, [
|
|
16
|
-
(s(!0), c(f, null, _(l.value, (e) => (s(), c("article", {
|
|
17
|
-
key: e.label,
|
|
18
|
-
class: v(["reportifact-metric-card", `reportifact-metric-card--${n(d)(e.value)}`])
|
|
19
|
-
}, [
|
|
20
|
-
t("span", {
|
|
21
|
-
class: "reportifact-metric-card-fill",
|
|
22
|
-
style: h({ height: `${n(p)(e.value)}%` })
|
|
23
|
-
}, null, 4),
|
|
24
|
-
t("span", C, o(e.label), 1),
|
|
25
|
-
t("strong", x, o(e.value), 1),
|
|
26
|
-
t("p", z, o(e.description), 1)
|
|
27
|
-
], 2))), 128))
|
|
28
|
-
]));
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
export {
|
|
32
|
-
S as _
|
|
33
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),b=require("./useFetch-BfOAq-Kg.cjs"),F=require("./WidgetWrapper.vue_vue_type_style_index_0_lang-BQQ4Vv5j.cjs"),C={class:"rm-skeleton"},D={key:0,class:"rm-title"},S={key:0,class:"rm-empty"},L={class:"rm-name"},A={class:"rm-value"},M={class:"rm-bar-track"},R={key:0,class:"rm-pct"},q={key:2,class:"rm-table"},W=e.defineComponent({__name:"MetricsTable",props:{url:{default:void 0},src:{default:void 0},data:{default:void 0},options:{default:void 0}},setup(d,{expose:m}){const l=d,c=e.computed(()=>{var t;return typeof((t=l.options)==null?void 0:t.title)=="string"?l.options.title:""}),s=e.computed(()=>{var t;return((t=l.options)==null?void 0:t.show_pct)===!0}),n=e.ref(null),p=e.computed(()=>l.data===void 0?l.src??l.url??"":""),{loading:v,error:k,fetchData:f}=b.useFetch(p,{async onSuccess(t){n.value=await t.json()}}),y=e.computed(()=>l.data===void 0&&v.value),_=e.computed(()=>l.data!==void 0?null:l.src||l.url?k.value:"Resource not found in asset");e.watch(()=>l.data,t=>{t!==void 0&&(n.value=t)},{immediate:!0,deep:!0});function B(){l.data!==void 0?n.value=l.data:f()}m({refresh:B});const i=e.computed(()=>{const t=n.value;if(!t||!Array.isArray(t.rows))return!1;const r=t.rows[0];return r===void 0||typeof r=="object"&&"value"in r}),a=e.computed(()=>{const t=n.value;return!!t&&Array.isArray(t.columns)}),u=e.computed(()=>i.value?n.value.rows:[]),E=e.computed(()=>a.value?n.value.columns:[]),h=e.computed(()=>a.value?n.value.rows:[]);function g(t){return t.toFixed(3)}function V(t,r){return Math.min(100,Math.max(0,t/(r??1)*100))}return(t,r)=>(e.openBlock(),e.createBlock(F._sfc_main,{loading:y.value,error:_.value},{skeleton:e.withCtx(()=>[e.createElementVNode("div",C,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(4,o=>e.createElementVNode("div",{key:o,class:"rm-skeleton-row"},[...r[0]||(r[0]=[e.createElementVNode("div",{class:"reportifact-skeleton-line",style:{width:"80px"}},null,-1),e.createElementVNode("div",{class:"reportifact-skeleton-line",style:{width:"40px"}},null,-1),e.createElementVNode("div",{class:"reportifact-skeleton-line",style:{flex:"1"}},null,-1)])])),64))])]),default:e.withCtx(()=>[c.value?(e.openBlock(),e.createElementBlock("div",D,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["rm-metrics",{"rm-metrics--with-pct":s.value}])},[u.value.length===0?(e.openBlock(),e.createElementBlock("div",S," Waiting for first evaluation… ")):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(u.value,o=>(e.openBlock(),e.createElementBlock("div",{key:o.name,class:"rm-row"},[e.createElementVNode("span",L,e.toDisplayString(o.name),1),e.createElementVNode("span",A,e.toDisplayString(g(o.value)),1),e.createElementVNode("div",M,[e.createElementVNode("div",{class:"rm-bar-fill",style:e.normalizeStyle({width:V(o.value,o.max)+"%"})},null,4)]),s.value?(e.openBlock(),e.createElementBlock("span",R,e.toDisplayString((o.value*100).toFixed(1))+"%",1)):e.createCommentVNode("",!0)]))),128))],2)):a.value?(e.openBlock(),e.createElementBlock("table",q,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,o=>(e.openBlock(),e.createElementBlock("th",{key:o},e.toDisplayString(o),1))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,N)=>(e.openBlock(),e.createElementBlock("tr",{key:N},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(w,x)=>(e.openBlock(),e.createElementBlock("td",{key:x},e.toDisplayString(w),1))),128))]))),128))])])):e.createCommentVNode("",!0)]),_:1},8,["loading","error"]))}});exports._sfc_main=W;
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { defineComponent as z, computed as o, ref as L, watch as N, createBlock as P, openBlock as t, withCtx as h, createElementBlock as s, createCommentVNode as m, toDisplayString as u, normalizeClass as T, Fragment as c, renderList as d, createElementVNode as a, normalizeStyle as W } from "vue";
|
|
2
|
-
import { u as $ } from "./useFetch-CHQm_TmB.js";
|
|
3
|
-
import { _ as q } from "./WidgetWrapper.vue_vue_type_style_index_0_lang-D-oXqmI2.js";
|
|
4
|
-
const G = { class: "rm-skeleton" }, H = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "rm-title"
|
|
7
|
-
}, I = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "rm-empty"
|
|
10
|
-
}, J = { class: "rm-name" }, K = { class: "rm-value" }, O = { class: "rm-bar-track" }, Q = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "rm-pct"
|
|
13
|
-
}, U = {
|
|
14
|
-
key: 2,
|
|
15
|
-
class: "rm-table"
|
|
16
|
-
}, ee = /* @__PURE__ */ z({
|
|
17
|
-
__name: "MetricsTable",
|
|
18
|
-
props: {
|
|
19
|
-
url: { default: void 0 },
|
|
20
|
-
src: { default: void 0 },
|
|
21
|
-
data: { default: void 0 },
|
|
22
|
-
options: { default: void 0 }
|
|
23
|
-
},
|
|
24
|
-
setup(k, { expose: w }) {
|
|
25
|
-
const l = k, f = o(() => {
|
|
26
|
-
var e;
|
|
27
|
-
return typeof ((e = l.options) == null ? void 0 : e.title) == "string" ? l.options.title : "";
|
|
28
|
-
}), p = o(() => {
|
|
29
|
-
var e;
|
|
30
|
-
return ((e = l.options) == null ? void 0 : e.show_pct) === !0;
|
|
31
|
-
}), n = L(null), b = o(() => l.data === void 0 ? l.src ?? l.url ?? "" : ""), { loading: x, error: g, fetchData: C } = $(b, {
|
|
32
|
-
async onSuccess(e) {
|
|
33
|
-
n.value = await e.json();
|
|
34
|
-
}
|
|
35
|
-
}), A = o(() => l.data === void 0 && x.value), F = o(() => l.data !== void 0 ? null : l.src || l.url ? g.value : "Resource not found in asset");
|
|
36
|
-
N(
|
|
37
|
-
() => l.data,
|
|
38
|
-
(e) => {
|
|
39
|
-
e !== void 0 && (n.value = e);
|
|
40
|
-
},
|
|
41
|
-
{ immediate: !0, deep: !0 }
|
|
42
|
-
);
|
|
43
|
-
function M() {
|
|
44
|
-
l.data !== void 0 ? n.value = l.data : C();
|
|
45
|
-
}
|
|
46
|
-
w({ refresh: M });
|
|
47
|
-
const y = o(() => {
|
|
48
|
-
const e = n.value;
|
|
49
|
-
if (!e || !Array.isArray(e.rows)) return !1;
|
|
50
|
-
const i = e.rows[0];
|
|
51
|
-
return i === void 0 || typeof i == "object" && "value" in i;
|
|
52
|
-
}), v = o(() => {
|
|
53
|
-
const e = n.value;
|
|
54
|
-
return !!e && Array.isArray(e.columns);
|
|
55
|
-
}), _ = o(
|
|
56
|
-
() => y.value ? n.value.rows : []
|
|
57
|
-
), R = o(
|
|
58
|
-
() => v.value ? n.value.columns : []
|
|
59
|
-
), B = o(
|
|
60
|
-
() => v.value ? n.value.rows : []
|
|
61
|
-
);
|
|
62
|
-
function D(e) {
|
|
63
|
-
return e.toFixed(3);
|
|
64
|
-
}
|
|
65
|
-
function E(e, i) {
|
|
66
|
-
return Math.min(100, Math.max(0, e / (i ?? 1) * 100));
|
|
67
|
-
}
|
|
68
|
-
return (e, i) => (t(), P(q, {
|
|
69
|
-
loading: A.value,
|
|
70
|
-
error: F.value
|
|
71
|
-
}, {
|
|
72
|
-
skeleton: h(() => [
|
|
73
|
-
a("div", G, [
|
|
74
|
-
(t(), s(c, null, d(4, (r) => a("div", {
|
|
75
|
-
key: r,
|
|
76
|
-
class: "rm-skeleton-row"
|
|
77
|
-
}, [...i[0] || (i[0] = [
|
|
78
|
-
a("div", {
|
|
79
|
-
class: "reportifact-skeleton-line",
|
|
80
|
-
style: { width: "80px" }
|
|
81
|
-
}, null, -1),
|
|
82
|
-
a("div", {
|
|
83
|
-
class: "reportifact-skeleton-line",
|
|
84
|
-
style: { width: "40px" }
|
|
85
|
-
}, null, -1),
|
|
86
|
-
a("div", {
|
|
87
|
-
class: "reportifact-skeleton-line",
|
|
88
|
-
style: { flex: "1" }
|
|
89
|
-
}, null, -1)
|
|
90
|
-
])])), 64))
|
|
91
|
-
])
|
|
92
|
-
]),
|
|
93
|
-
default: h(() => [
|
|
94
|
-
f.value ? (t(), s("div", H, u(f.value), 1)) : m("", !0),
|
|
95
|
-
y.value ? (t(), s("div", {
|
|
96
|
-
key: 1,
|
|
97
|
-
class: T(["rm-metrics", { "rm-metrics--with-pct": p.value }])
|
|
98
|
-
}, [
|
|
99
|
-
_.value.length === 0 ? (t(), s("div", I, " Waiting for first evaluation… ")) : (t(!0), s(c, { key: 1 }, d(_.value, (r) => (t(), s("div", {
|
|
100
|
-
key: r.name,
|
|
101
|
-
class: "rm-row"
|
|
102
|
-
}, [
|
|
103
|
-
a("span", J, u(r.name), 1),
|
|
104
|
-
a("span", K, u(D(r.value)), 1),
|
|
105
|
-
a("div", O, [
|
|
106
|
-
a("div", {
|
|
107
|
-
class: "rm-bar-fill",
|
|
108
|
-
style: W({ width: E(r.value, r.max) + "%" })
|
|
109
|
-
}, null, 4)
|
|
110
|
-
]),
|
|
111
|
-
p.value ? (t(), s("span", Q, u((r.value * 100).toFixed(1)) + "%", 1)) : m("", !0)
|
|
112
|
-
]))), 128))
|
|
113
|
-
], 2)) : v.value ? (t(), s("table", U, [
|
|
114
|
-
a("thead", null, [
|
|
115
|
-
a("tr", null, [
|
|
116
|
-
(t(!0), s(c, null, d(R.value, (r) => (t(), s("th", { key: r }, u(r), 1))), 128))
|
|
117
|
-
])
|
|
118
|
-
]),
|
|
119
|
-
a("tbody", null, [
|
|
120
|
-
(t(!0), s(c, null, d(B.value, (r, S) => (t(), s("tr", { key: S }, [
|
|
121
|
-
(t(!0), s(c, null, d(r, (V, j) => (t(), s("td", { key: j }, u(V), 1))), 128))
|
|
122
|
-
]))), 128))
|
|
123
|
-
])
|
|
124
|
-
])) : m("", !0)
|
|
125
|
-
]),
|
|
126
|
-
_: 1
|
|
127
|
-
}, 8, ["loading", "error"]));
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
export {
|
|
131
|
-
ee as _
|
|
132
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),r=(t,o)=>{const c=t.__vccOpts||t;for(const[s,n]of o)c[s]=n;return c},i={},_={class:"reportifact reportifact-widget-host"};function a(t,o){return e.openBlock(),e.createElementBlock("div",_,[e.renderSlot(t.$slots,"default")])}const f=r(i,[["render",a]]);exports.ReportifactWidgetHost=f;exports._export_sfc=r;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as s, openBlock as n, renderSlot as a } from "vue";
|
|
2
|
-
const _ = (t, e) => {
|
|
3
|
-
const o = t.__vccOpts || t;
|
|
4
|
-
for (const [r, c] of e)
|
|
5
|
-
o[r] = c;
|
|
6
|
-
return o;
|
|
7
|
-
}, f = {}, i = { class: "reportifact reportifact-widget-host" };
|
|
8
|
-
function d(t, e) {
|
|
9
|
-
return n(), s("div", i, [
|
|
10
|
-
a(t.$slots, "default")
|
|
11
|
-
]);
|
|
12
|
-
}
|
|
13
|
-
const p = /* @__PURE__ */ _(f, [["render", d]]);
|
|
14
|
-
export {
|
|
15
|
-
p as R,
|
|
16
|
-
_
|
|
17
|
-
};
|