@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
|
@@ -2,5 +2,6 @@ import { WidgetItem } from '../utils/parseIndexMd';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
widget: WidgetItem;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ChartType } from './chart-config';
|
|
2
2
|
import { ReportifactChartData } from '../portable/contracts';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
+
caption?: string;
|
|
5
|
+
sourceHref?: string;
|
|
6
|
+
sourceLabel?: string;
|
|
4
7
|
/** Legacy/full-report resource URL. */
|
|
5
8
|
url?: string;
|
|
6
9
|
/** Portable resource URL. */
|
|
@@ -10,17 +13,12 @@ type __VLS_Props = {
|
|
|
10
13
|
type: ChartType;
|
|
11
14
|
options?: Record<string, unknown>;
|
|
12
15
|
};
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
refresh: typeof refresh;
|
|
16
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
17
|
+
refresh: () => void;
|
|
16
18
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
19
|
"row-click": (payload: unknown) => any;
|
|
18
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
21
|
"onRow-click"?: ((payload: unknown) => any) | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
|
|
22
|
-
data: undefined;
|
|
23
|
-
url: string;
|
|
24
|
-
src: string;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
26
24
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
text: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|
|
@@ -2,6 +2,9 @@ import { WidgetItem } from '../utils/parseIndexMd';
|
|
|
2
2
|
import { ReportifactMediaResolver } from '../mediaResolver';
|
|
3
3
|
import { ReportifactImageGalleryData } from '../portable/contracts';
|
|
4
4
|
type __VLS_Props = {
|
|
5
|
+
caption?: string;
|
|
6
|
+
sourceHref?: string;
|
|
7
|
+
sourceLabel?: string;
|
|
5
8
|
widget?: WidgetItem;
|
|
6
9
|
url?: string;
|
|
7
10
|
src?: string;
|
|
@@ -9,18 +12,12 @@ type __VLS_Props = {
|
|
|
9
12
|
options?: Record<string, unknown>;
|
|
10
13
|
mediaResolver?: ReportifactMediaResolver;
|
|
11
14
|
};
|
|
12
|
-
declare const
|
|
13
|
-
refresh()
|
|
15
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
16
|
+
refresh: () => void;
|
|
14
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
18
|
"row-click": (payload: unknown) => any;
|
|
16
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
20
|
"onRow-click"?: ((payload: unknown) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
|
|
20
|
-
data: ReportifactImageGalleryData;
|
|
21
|
-
url: string;
|
|
22
|
-
widget: WidgetItem;
|
|
23
|
-
src: string;
|
|
24
|
-
mediaResolver: ReportifactMediaResolver;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
26
23
|
export default _default;
|
|
@@ -2,7 +2,8 @@ type __VLS_Props = {
|
|
|
2
2
|
url: string;
|
|
3
3
|
options?: Record<string, unknown>;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
6
6
|
refresh(): void;
|
|
7
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
8
9
|
export default _default;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { WidgetItem } from '../utils/parseIndexMd';
|
|
2
2
|
import { ReportifactMetricCalloutData } from '../portable/contracts';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
+
caption?: string;
|
|
5
|
+
sourceHref?: string;
|
|
6
|
+
sourceLabel?: string;
|
|
4
7
|
widget?: WidgetItem;
|
|
5
8
|
data?: ReportifactMetricCalloutData;
|
|
6
9
|
label?: string;
|
|
@@ -8,12 +11,6 @@ type __VLS_Props = {
|
|
|
8
11
|
description?: string;
|
|
9
12
|
html?: string;
|
|
10
13
|
};
|
|
11
|
-
declare const
|
|
12
|
-
|
|
13
|
-
html: string;
|
|
14
|
-
data: ReportifactMetricCalloutData;
|
|
15
|
-
value: string | number;
|
|
16
|
-
widget: WidgetItem;
|
|
17
|
-
description: string;
|
|
18
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
19
16
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { WidgetItem } from '../utils/parseIndexMd';
|
|
2
2
|
import { ReportifactMetricCardData } from '../portable/contracts';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
+
caption?: string;
|
|
5
|
+
sourceHref?: string;
|
|
6
|
+
sourceLabel?: string;
|
|
4
7
|
widget?: WidgetItem;
|
|
5
8
|
content?: string;
|
|
6
9
|
data?: ReportifactMetricCardData[];
|
|
7
10
|
};
|
|
8
|
-
declare const
|
|
9
|
-
|
|
10
|
-
widget: WidgetItem;
|
|
11
|
-
content: string;
|
|
12
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
13
|
export default _default;
|
|
@@ -2,5 +2,6 @@ import { WidgetItem } from '../utils/parseIndexMd';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
widget: WidgetItem;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { ReportifactMetricsTableData } from '../portable/contracts';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
caption?: string;
|
|
4
|
+
sourceHref?: string;
|
|
5
|
+
sourceLabel?: string;
|
|
3
6
|
url?: string;
|
|
4
7
|
src?: string;
|
|
5
8
|
data?: ReportifactMetricsTableData;
|
|
6
9
|
options?: Record<string, unknown>;
|
|
7
10
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
options: Record<string, unknown>;
|
|
13
|
-
data: ReportifactMetricsTableData;
|
|
14
|
-
url: string;
|
|
15
|
-
src: string;
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
12
|
+
refresh: () => void;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
17
15
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
url: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
5
5
|
refresh(): void;
|
|
6
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
@@ -5,11 +5,12 @@ type __VLS_Props = {
|
|
|
5
5
|
url: string;
|
|
6
6
|
mediaResolver?: ReportifactMediaResolver;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
9
9
|
refresh(): void;
|
|
10
10
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
"row-click": (payload: unknown) => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
13
|
"onRow-click"?: ((payload: unknown) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -2,5 +2,6 @@ import { WidgetItem } from '../utils/parseIndexMd';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
widget: WidgetItem;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
customWidgets?: ReportifactCustomWidgets;
|
|
9
9
|
context: ReportifactWidgetContext;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
12
12
|
refresh(): void;
|
|
13
13
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
14
|
"row-click": (payload: unknown) => any;
|
|
@@ -17,7 +17,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
17
17
|
}>, {
|
|
18
18
|
mediaResolver: ReportifactMediaResolver;
|
|
19
19
|
customWidgets: ReportifactCustomWidgets;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
-
|
|
22
|
-
}, any>;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
23
22
|
export default _default;
|
|
@@ -2,7 +2,6 @@ type __VLS_Props = {
|
|
|
2
2
|
url: string;
|
|
3
3
|
options?: Record<string, unknown>;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
}, any>;
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
8
7
|
export default _default;
|
|
@@ -8,11 +8,12 @@ type __VLS_Props = {
|
|
|
8
8
|
url: string;
|
|
9
9
|
options?: TableOptions;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
"row-click": (payload: unknown) => any;
|
|
13
13
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
14
|
"onRow-click"?: ((payload: unknown) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
options: TableOptions;
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
18
19
|
export default _default;
|
|
@@ -7,7 +7,8 @@ type __VLS_Props = {
|
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
declare function refresh(): void;
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
11
11
|
refresh: typeof refresh;
|
|
12
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
13
14
|
export default _default;
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { ReportifactTimelineData } from '../portable/contracts';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
caption?: string;
|
|
4
|
+
sourceHref?: string;
|
|
5
|
+
sourceLabel?: string;
|
|
3
6
|
url?: string;
|
|
4
7
|
src?: string;
|
|
5
8
|
data?: ReportifactTimelineData;
|
|
6
9
|
options?: Record<string, unknown>;
|
|
7
10
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
refresh: typeof refresh;
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
12
|
+
refresh: () => void;
|
|
11
13
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
14
|
"row-click": (payload: unknown) => any;
|
|
13
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
16
|
"onRow-click"?: ((payload: unknown) => any) | undefined;
|
|
15
|
-
}>, {
|
|
16
|
-
|
|
17
|
-
data: ReportifactTimelineData;
|
|
18
|
-
url: string;
|
|
19
|
-
src: string;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
21
19
|
export default _default;
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
caption?: string;
|
|
3
|
+
sourceHref?: string;
|
|
4
|
+
sourceLabel?: string;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
error?: string | null;
|
|
4
7
|
showSkeleton?: boolean;
|
|
5
8
|
};
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
refs: {};
|
|
16
|
-
rootEl: HTMLDivElement;
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {
|
|
10
|
+
error: string;
|
|
11
|
+
}, __VLS_5: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
skeleton?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
fallback?: (props: typeof __VLS_3) => any;
|
|
16
|
+
} & {
|
|
17
|
+
default?: (props: typeof __VLS_5) => any;
|
|
17
18
|
};
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
sourceLabel: string;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
error: string | null;
|
|
20
23
|
showSkeleton: boolean;
|
|
21
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
22
|
-
declare const
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
23
27
|
export default _default;
|
|
24
|
-
type
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
29
|
new (): {
|
|
26
30
|
$slots: S;
|
|
27
31
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GridComponentOption, TitleComponentOption, TooltipComponentOption } from 'echarts';
|
|
2
2
|
import { ChartBuilderOptions } from './types';
|
|
3
|
+
export declare const NEUTRAL_SERIES_COLOR = "#898781";
|
|
3
4
|
export declare function getStringOption(options: ChartBuilderOptions | undefined, key: string, fallback: string): string;
|
|
4
5
|
export declare function buildBaseChartOptions(): {
|
|
5
6
|
animationDurationUpdate: number;
|
|
@@ -7,6 +8,30 @@ export declare function buildBaseChartOptions(): {
|
|
|
7
8
|
};
|
|
8
9
|
export declare function buildChartTitle(options: ChartBuilderOptions | undefined, defaultTitle: string, overrides?: TitleComponentOption): TitleComponentOption;
|
|
9
10
|
export declare function buildStandardGrid(bottom?: string): GridComponentOption;
|
|
11
|
+
export declare function categoriesPaginated(categoryCount: number): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Slider paging over a category axis, or undefined when everything already fits.
|
|
14
|
+
*
|
|
15
|
+
* Only a slider: a `type: 'inside'` zoom swallows the mouse wheel and the report
|
|
16
|
+
* page stops scrolling while the cursor is over the chart.
|
|
17
|
+
*/
|
|
18
|
+
export declare function buildCategoryPagination(categoryCount: number, axis?: 'x' | 'y'): {
|
|
19
|
+
yAxisIndex: number;
|
|
20
|
+
startValue: number;
|
|
21
|
+
endValue: number;
|
|
22
|
+
right: number;
|
|
23
|
+
width: number;
|
|
24
|
+
type: "slider";
|
|
25
|
+
showDetail: boolean;
|
|
26
|
+
}[] | {
|
|
27
|
+
xAxisIndex: number;
|
|
28
|
+
bottom: number;
|
|
29
|
+
height: number;
|
|
30
|
+
type: "slider";
|
|
31
|
+
startValue: number;
|
|
32
|
+
endValue: number;
|
|
33
|
+
showDetail: boolean;
|
|
34
|
+
}[] | undefined;
|
|
10
35
|
export declare function buildTooltip(overrides?: TooltipComponentOption): TooltipComponentOption;
|
|
11
36
|
export declare function heatmapTuple(entry: unknown): [number, number, number] | null;
|
|
12
37
|
export declare function getHeatmapValueRange(data: unknown[]): {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComposeOption } from 'echarts/core';
|
|
2
|
-
import { BarSeriesOption, GaugeSeriesOption, GridComponentOption, HeatmapSeriesOption, LegendComponentOption, LineSeriesOption, PieSeriesOption, RadarComponentOption, RadarSeriesOption, TitleComponentOption, TooltipComponentOption, VisualMapComponentOption } from 'echarts';
|
|
3
|
-
export type ChartOption = ComposeOption<PieSeriesOption | LineSeriesOption | RadarSeriesOption | BarSeriesOption | GaugeSeriesOption | HeatmapSeriesOption | TitleComponentOption | TooltipComponentOption | LegendComponentOption | GridComponentOption | RadarComponentOption | VisualMapComponentOption>;
|
|
2
|
+
import { BarSeriesOption, CustomSeriesOption, GaugeSeriesOption, GridComponentOption, HeatmapSeriesOption, LegendComponentOption, LineSeriesOption, PieSeriesOption, RadarComponentOption, RadarSeriesOption, TitleComponentOption, TooltipComponentOption, VisualMapComponentOption } from 'echarts';
|
|
3
|
+
export type ChartOption = ComposeOption<PieSeriesOption | CustomSeriesOption | LineSeriesOption | RadarSeriesOption | BarSeriesOption | GaugeSeriesOption | HeatmapSeriesOption | TitleComponentOption | TooltipComponentOption | LegendComponentOption | GridComponentOption | RadarComponentOption | VisualMapComponentOption>;
|
|
4
4
|
export type PieChartPoint = {
|
|
5
5
|
value: number;
|
|
6
6
|
name: string;
|
|
@@ -76,7 +76,15 @@ export type GaugeGradeData = {
|
|
|
76
76
|
value: number;
|
|
77
77
|
grade?: string;
|
|
78
78
|
};
|
|
79
|
-
export type
|
|
79
|
+
export type RangeChartPoint = {
|
|
80
|
+
value: [number, number, number];
|
|
81
|
+
clickId?: string;
|
|
82
|
+
};
|
|
83
|
+
export type RangeChartData = {
|
|
84
|
+
xAxis: string[];
|
|
85
|
+
data: RangeChartPoint[];
|
|
86
|
+
};
|
|
87
|
+
export type ChartType = 'pie' | 'line' | 'radar' | 'bar-normalized' | 'heatmap' | 'bar-gradient' | 'bar-grouped' | 'bar-stacked' | 'custom-gauge' | 'gauge-grade' | 'range';
|
|
80
88
|
export type ChartBuilderOptions = Record<string, unknown>;
|
|
81
89
|
export interface ChartDataMap {
|
|
82
90
|
pie: PieChartData;
|
|
@@ -89,6 +97,7 @@ export interface ChartDataMap {
|
|
|
89
97
|
'bar-stacked': BarStackedData;
|
|
90
98
|
'custom-gauge': CustomGaugeData;
|
|
91
99
|
'gauge-grade': GaugeGradeData;
|
|
100
|
+
range: RangeChartData;
|
|
92
101
|
}
|
|
93
102
|
export type ChartConfigBuilder<K extends ChartType = ChartType> = (data: ChartDataMap[K], options?: ChartBuilderOptions) => ChartOption;
|
|
94
103
|
export type ChartConfigBuilders = {
|
package/dist/widgets/chart.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../Chart-jF5jqxGZ.cjs");exports.ReportifactChart=e.t,exports.default=e.t;
|
package/dist/widgets/chart.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '../entries/chart'
|
|
1
|
+
export * from '../entries/chart.js'
|
|
2
2
|
export {}
|
|
3
|
-
import _default from '../entries/chart'
|
|
3
|
+
import _default from '../entries/chart.js'
|
|
4
4
|
export default _default
|
|
5
|
-
export * from '../entries/chart'
|
|
5
|
+
export * from '../entries/chart.js'
|
|
6
6
|
export {}
|
package/dist/widgets/chart.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How many rows the taller card shows at once. Beyond this the matrix keeps that
|
|
3
|
+
* same card and scrolls inside it — the card never grows with the class count.
|
|
4
|
+
*/
|
|
5
|
+
export declare const HEATMAP_VIEWPORT_CATEGORIES = 25;
|
|
6
|
+
export declare function heatmapScrolls(categoryCount: number): boolean;
|
|
7
|
+
/** Message explaining why a matrix is not drawn, or null when it fits. */
|
|
8
|
+
export declare function heatmapTooLarge(xCount: number, yCount: number): string | null;
|
|
9
|
+
/** Taller card height once the default one can no longer label every row, else null. */
|
|
10
|
+
export declare function resolveHeatmapHeight(categoryCount: number): string | null;
|
|
1
11
|
export declare function resolveChartHeight(options?: Record<string, unknown>, fallback?: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../entries/contracts'
|
|
1
|
+
export * from '../entries/contracts.js'
|
|
2
2
|
export {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/widgets/host.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../ReportifactWidgetHost-xDT1ykZc.cjs");exports.ReportifactWidgetHost=e.t,exports.default=e.t;
|
package/dist/widgets/host.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '../entries/host'
|
|
1
|
+
export * from '../entries/host.js'
|
|
2
2
|
export {}
|
|
3
|
-
import _default from '../entries/host'
|
|
3
|
+
import _default from '../entries/host.js'
|
|
4
4
|
export default _default
|
|
5
|
-
export * from '../entries/host'
|
|
5
|
+
export * from '../entries/host.js'
|
|
6
6
|
export {}
|
package/dist/widgets/host.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../ImageGallery-CPZM1tc_.cjs");exports.ReportifactImageGallery=e.t,exports.default=e.t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '../entries/imageGallery'
|
|
1
|
+
export * from '../entries/imageGallery.js'
|
|
2
2
|
export {}
|
|
3
|
-
import _default from '../entries/imageGallery'
|
|
3
|
+
import _default from '../entries/imageGallery.js'
|
|
4
4
|
export default _default
|
|
5
|
-
export * from '../entries/imageGallery'
|
|
5
|
+
export * from '../entries/imageGallery.js'
|
|
6
6
|
export {}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
r as ReportifactImageGallery,
|
|
4
|
-
t as default
|
|
5
|
-
};
|
|
1
|
+
import { t as e } from "../ImageGallery-DQzba-4p.js";
|
|
2
|
+
export { e as ReportifactImageGallery, e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type MarkdownTableRow = Record<string, string>;
|
|
2
2
|
export declare function parseMarkdownTable(content: string): MarkdownTableRow[];
|
|
3
|
-
export declare function metricTone(value: string | number | undefined): 'low' | 'mid' | 'high';
|
|
3
|
+
export declare function metricTone(value: string | number | undefined): 'low' | 'mid' | 'high' | 'none';
|
|
4
4
|
export declare function metricPercent(value: string | number | undefined): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../MetricCallout-CxhVOiqg.cjs");exports.ReportifactMetricCallout=e.t,exports.default=e.t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '../entries/metricCallout'
|
|
1
|
+
export * from '../entries/metricCallout.js'
|
|
2
2
|
export {}
|
|
3
|
-
import _default from '../entries/metricCallout'
|
|
3
|
+
import _default from '../entries/metricCallout.js'
|
|
4
4
|
export default _default
|
|
5
|
-
export * from '../entries/metricCallout'
|
|
5
|
+
export * from '../entries/metricCallout.js'
|
|
6
6
|
export {}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
e as ReportifactMetricCallout,
|
|
4
|
-
o as default
|
|
5
|
-
};
|
|
1
|
+
import { t as e } from "../MetricCallout-C7SUQTrj.js";
|
|
2
|
+
export { e as ReportifactMetricCallout, e as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../MetricCards-DW-_QLhI.cjs");exports.ReportifactMetricCards=e.t,exports.default=e.t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '../entries/metricCards'
|
|
1
|
+
export * from '../entries/metricCards.js'
|
|
2
2
|
export {}
|
|
3
|
-
import _default from '../entries/metricCards'
|
|
3
|
+
import _default from '../entries/metricCards.js'
|
|
4
4
|
export default _default
|
|
5
|
-
export * from '../entries/metricCards'
|
|
5
|
+
export * from '../entries/metricCards.js'
|
|
6
6
|
export {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../MetricsTable-CH8vIbWG.cjs");exports.ReportifactMetricsTable=e.t,exports.default=e.t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from '../entries/metricsTable'
|
|
1
|
+
export * from '../entries/metricsTable.js'
|
|
2
2
|
export {}
|
|
3
|
-
import _default from '../entries/metricsTable'
|
|
3
|
+
import _default from '../entries/metricsTable.js'
|
|
4
4
|
export default _default
|
|
5
|
-
export * from '../entries/metricsTable'
|
|
5
|
+
export * from '../entries/metricsTable.js'
|
|
6
6
|
export {}
|