@burdenoff/microfe-bigconsole 2026.1103.9 → 2026.1103.11
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/dist/bigconsole/components/widgets/PropertiesPanel.js +556 -533
- package/dist/bigconsole/pages/InsightsPage.js +1 -1
- package/dist/bigconsole/pages/WidgetDemoPage.js +1 -1
- package/dist/bigconsole/utils/widgetBinding.d.ts +14 -0
- package/dist/bigconsole/utils/widgetBinding.js +7 -1
- package/package.json +1 -1
|
@@ -1152,7 +1152,7 @@ var P = l(function() {
|
|
|
1152
1152
|
className: "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-bg-surface",
|
|
1153
1153
|
style: T,
|
|
1154
1154
|
"data-testid": "insights-earlier-versions-toggle",
|
|
1155
|
-
children: W ? l("bigconsole.insights.generations.hideEarlier", "Hide earlier versions") : l("bigconsole.insights.generations.showEarlier", "Show {{count}} earlier
|
|
1155
|
+
children: W ? l("bigconsole.insights.generations.hideEarlier", "Hide earlier versions") : mt.length === 1 ? l("bigconsole.insights.generations.showEarlierOne", "Show 1 earlier version") : l("bigconsole.insights.generations.showEarlier", "Show {{count}} earlier versions", { count: mt.length })
|
|
1156
1156
|
})
|
|
1157
1157
|
]
|
|
1158
1158
|
})
|
|
@@ -93,7 +93,7 @@ var v = [
|
|
|
93
93
|
children: s("bigconsole.widgetDemo.header.title", "Widget Demo")
|
|
94
94
|
}), /* @__PURE__ */ h("p", {
|
|
95
95
|
className: "mt-1 text-sm text-text-secondary",
|
|
96
|
-
children: s("bigconsole.widgetDemo.header.
|
|
96
|
+
children: s("bigconsole.widgetDemo.header.subtitleCount", "All {{count}} widget types - connect a DataSink for real data", { count: o.length })
|
|
97
97
|
})]
|
|
98
98
|
}), /* @__PURE__ */ g("div", {
|
|
99
99
|
className: "flex flex-wrap items-center gap-control-gap",
|
|
@@ -45,4 +45,18 @@ export declare function getWidgetBindingStatus({ binding, loading, error, previe
|
|
|
45
45
|
status: WidgetBindingStatus;
|
|
46
46
|
missingFields: string[];
|
|
47
47
|
};
|
|
48
|
+
interface ParserTestResult {
|
|
49
|
+
success: boolean;
|
|
50
|
+
output?: unknown;
|
|
51
|
+
error?: string | null;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* What the Data tab shows for a parser test (BOFF-10172): the output when it
|
|
55
|
+
* ran, otherwise the parser's own error, so a failing binding says so every
|
|
56
|
+
* time the tab opens and not only right after the parser was picked.
|
|
57
|
+
*/
|
|
58
|
+
export declare function parserTestOutcome(result: ParserTestResult | null, fallbackError: string): {
|
|
59
|
+
preview?: unknown;
|
|
60
|
+
error: string | null;
|
|
61
|
+
};
|
|
48
62
|
export {};
|
|
@@ -115,5 +115,11 @@ function d({ binding: e, loading: t = !1, error: n, preview: r, previewComplete:
|
|
|
115
115
|
missingFields: []
|
|
116
116
|
} : u(e, Array.isArray(r) ? r[0] : r);
|
|
117
117
|
}
|
|
118
|
+
function f(e, t) {
|
|
119
|
+
return e?.success ? {
|
|
120
|
+
preview: e.output,
|
|
121
|
+
error: null
|
|
122
|
+
} : { error: e?.error || t };
|
|
123
|
+
}
|
|
118
124
|
//#endregion
|
|
119
|
-
export { o as getBindingForWidget, a as getWidgetBinding, d as getWidgetBindingStatus, s as reconcilePanelConfig, l as resolveBindingPath, c as serializeWidgetBinding, u as validateWidgetBinding };
|
|
125
|
+
export { o as getBindingForWidget, a as getWidgetBinding, d as getWidgetBindingStatus, f as parserTestOutcome, s as reconcilePanelConfig, l as resolveBindingPath, c as serializeWidgetBinding, u as validateWidgetBinding };
|