@burdenoff/microfe-bigconsole 2026.1119.7 → 2026.1119.9

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.
Files changed (38) hide show
  1. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +129 -117
  2. package/dist/bigconsole/components/embed/widgets/ChartEmbed.js +70 -66
  3. package/dist/bigconsole/components/insights/GeneratedFormattingReview.d.ts +21 -0
  4. package/dist/bigconsole/components/insights/GeneratedFormattingReview.js +90 -44
  5. package/dist/bigconsole/components/parser/ParserCard.d.ts +3 -1
  6. package/dist/bigconsole/components/parser/ParserCard.js +125 -120
  7. package/dist/bigconsole/components/parser/ParserScopeBadge.d.ts +6 -0
  8. package/dist/bigconsole/components/parser/ParserScopeBadge.js +23 -0
  9. package/dist/bigconsole/components/widgets/chart/ChartWidget.js +1 -0
  10. package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +5 -1
  11. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js +4 -1
  12. package/dist/bigconsole/components/widgets/chart/charts/BarChart.js +53 -45
  13. package/dist/bigconsole/components/widgets/chart/charts/ComboChart.js +5 -1
  14. package/dist/bigconsole/components/widgets/chart/charts/LineChart.js +4 -1
  15. package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts +13 -11
  16. package/dist/bigconsole/components/widgets/chart/charts/referenceElements.js +58 -29
  17. package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +8 -1
  18. package/dist/bigconsole/components/widgets/chart/referenceLineDraft.js +26 -23
  19. package/dist/bigconsole/components/widgets/utils/conditionalFormat.d.ts +41 -0
  20. package/dist/bigconsole/components/widgets/utils/conditionalFormat.js +80 -44
  21. package/dist/bigconsole/hooks/useExportDashboard.d.ts +14 -2
  22. package/dist/bigconsole/hooks/useExportDashboard.js +45 -41
  23. package/dist/bigconsole/hooks/useParserOperations.d.ts +6 -0
  24. package/dist/bigconsole/hooks/useParserOperations.js +64 -65
  25. package/dist/bigconsole/pages/DataParsersPage.js +201 -172
  26. package/dist/bigconsole/pages/InsightsPage.js +458 -451
  27. package/dist/bigconsole/store/parserScope.js +9 -6
  28. package/dist/bigconsole/types/index.d.ts +16 -0
  29. package/dist/bigconsole/utils/parserScopeFilter.d.ts +14 -0
  30. package/dist/bigconsole/utils/parserScopeFilter.js +25 -0
  31. package/dist/bigconsole/utils/pipelineExecutionTimeline.d.ts +13 -1
  32. package/dist/bigconsole/utils/pipelineExecutionTimeline.js +26 -3
  33. package/dist/generated/global-operations.d.ts +45 -6
  34. package/dist/generated/global-types.d.ts +5839 -804
  35. package/dist/generated/wspace-operations.d.ts +48 -1
  36. package/dist/generated/wspace-operations.js +86 -7
  37. package/dist/generated/wspace-types.d.ts +1339 -6
  38. package/package.json +1 -1
@@ -1,17 +1,20 @@
1
1
  // src/bigconsole/store/parserScope.ts
2
2
  var e = "default";
3
- function t(e, t) {
3
+ function t(t) {
4
+ return t.consoleId === e;
5
+ }
6
+ function n(e, t) {
4
7
  return t.kind === "all" || e.consoleId === t.consoleId;
5
8
  }
6
- function n(e, n) {
9
+ function r(e, t) {
7
10
  let r = [];
8
- for (let i of e.values()) t(i, n) && r.push(i);
11
+ for (let i of e.values()) n(i, t) && r.push(i);
9
12
  return r;
10
13
  }
11
- function r(e, n, r) {
14
+ function i(e, t, r) {
12
15
  let i = /* @__PURE__ */ new Map();
13
- for (let [r, a] of e) t(a, n) || i.set(r, a);
16
+ for (let [r, a] of e) n(a, t) || i.set(r, a);
14
17
  for (let e of r) i.set(e.id, e);
15
18
  return i;
16
19
  }
17
- export { e as GLOBAL_PARSER_CONSOLE_ID, r as replaceParsersInScope, n as selectParsersInScope };
20
+ export { e as GLOBAL_PARSER_CONSOLE_ID, t as isGlobalParser, i as replaceParsersInScope, r as selectParsersInScope };
@@ -20,6 +20,8 @@ export interface ChartReferenceLine {
20
20
  color?: import('../components/widgets/utils/conditionalFormat').SemanticIntent;
21
21
  /** Dashed stroke for lines. */
22
22
  dashed?: boolean;
23
+ /** Per-category threshold `value` away from this row field (BOFF-10145). */
24
+ relativeTo?: import('../components/widgets/utils/conditionalFormat').ConditionalComparison;
23
25
  }
24
26
  /**
25
27
  * Per-series descriptor for combo / dual-axis charts. Lets a single chart mix
@@ -1092,6 +1094,14 @@ export interface Parser {
1092
1094
  workspaceId: string;
1093
1095
  tenantId?: string;
1094
1096
  consoleId: string;
1097
+ /**
1098
+ * The dashboard a dashboard-scoped parser belongs to (BOFF-9770). `null` for a
1099
+ * global parser; absent when the query did not select it.
1100
+ */
1101
+ console?: {
1102
+ id: string;
1103
+ name: string;
1104
+ } | null;
1095
1105
  name: string;
1096
1106
  description: string | null;
1097
1107
  type: ParserType;
@@ -1229,6 +1239,12 @@ export interface PipelineStageResult {
1229
1239
  id: string;
1230
1240
  stageId: string;
1231
1241
  stageName: string | null;
1242
+ /**
1243
+ * 0-based order the stage ran in within the execution (BOFF-10074). Absent
1244
+ * on results cached before the field existed; the timeline then falls back
1245
+ * to the pipeline's configured stage order.
1246
+ */
1247
+ position?: number | null;
1232
1248
  status: StageExecutionStatus;
1233
1249
  executionTimeMs: number;
1234
1250
  output: unknown | null;
@@ -0,0 +1,14 @@
1
+ import { Parser } from '../types';
2
+ /** `all`, `global`, or `dashboard:<consoleId>`. */
3
+ export type ParserScopeFilter = 'all' | 'global' | `dashboard:${string}`;
4
+ export interface ParserScopeDashboardOption {
5
+ value: `dashboard:${string}`;
6
+ /** The dashboard's name, or its id when the name is not known. */
7
+ label: string;
8
+ }
9
+ /** Parse a Select value back into a filter; unknown values mean `all`. */
10
+ export declare function toParserScopeFilter(value: string): ParserScopeFilter;
11
+ /** Whether `parser` passes the scope filter. */
12
+ export declare function matchesParserScopeFilter(parser: Pick<Parser, 'consoleId'>, filter: ParserScopeFilter): boolean;
13
+ /** One option per dashboard that has parsers, sorted by label. */
14
+ export declare function parserScopeDashboardOptions(parsers: readonly Pick<Parser, 'consoleId' | 'console'>[]): ParserScopeDashboardOption[];
@@ -0,0 +1,25 @@
1
+ import { isGlobalParser as e } from "../store/parserScope.js";
2
+ // src/bigconsole/utils/parserScopeFilter.ts
3
+ var t = "dashboard:";
4
+ function n(e) {
5
+ return e.startsWith(t) && e.length > 10;
6
+ }
7
+ function r(e) {
8
+ return e === "global" ? "global" : n(e) ? e : "all";
9
+ }
10
+ function i(t, n) {
11
+ return n === "all" ? !0 : n === "global" ? e(t) : t.consoleId === n.slice(10);
12
+ }
13
+ function a(n) {
14
+ let r = /* @__PURE__ */ new Map();
15
+ for (let t of n) {
16
+ if (e(t)) continue;
17
+ let n = r.get(t.consoleId), i = t.console?.name;
18
+ (n === void 0 || i && n === t.consoleId) && r.set(t.consoleId, i || t.consoleId);
19
+ }
20
+ return [...r.entries()].map(([e, n]) => ({
21
+ value: `${t}${e}`,
22
+ label: n
23
+ })).sort((e, t) => e.label.localeCompare(t.label));
24
+ }
25
+ export { i as matchesParserScopeFilter, a as parserScopeDashboardOptions, r as toParserScopeFilter };
@@ -1,4 +1,4 @@
1
- import { PipelineExecution, PipelineExecutionStatus, PipelineStage, StageExecutionStatus } from '../types';
1
+ import { PipelineExecution, PipelineExecutionStatus, PipelineStage, PipelineStageResult, StageExecutionStatus } from '../types';
2
2
  /** Visual tone shared by run and stage statuses. */
3
3
  export type ExecutionTone = 'success' | 'danger' | 'warning' | 'info' | 'neutral';
4
4
  export interface StageTimelineRow {
@@ -43,5 +43,17 @@ export declare function formatDurationMs(ms: number | null | undefined): string;
43
43
  * viewer themselves so the caller can render a translated "You".
44
44
  */
45
45
  export declare function triggeredByLabel(executedBy: string, currentActorId: string | null | undefined): string | null;
46
+ /**
47
+ * A run's stage results in the order the stages ran (BOFF-10074).
48
+ *
49
+ * The backend records each result's 0-based `position`; when every result has
50
+ * a distinct one, it decides the order. Otherwise (results from a backend or
51
+ * cache without the field, or legacy rows with tied positions) each result is
52
+ * placed by the configured position of its stage, matched by stage id or, when
53
+ * the stages were since replaced, by a unique stage name. Results that match no
54
+ * stage keep their relative order after the matched ones. The sort is stable,
55
+ * so equal keys keep the order the server returned.
56
+ */
57
+ export declare function orderStageResults(results: readonly PipelineStageResult[], stages: readonly PipelineStage[] | null | undefined): PipelineStageResult[];
46
58
  /** Build the waterfall rows for one run against the pipeline's current stages. */
47
59
  export declare function buildStageTimeline(execution: PipelineExecution, stages: readonly PipelineStage[] | null | undefined): StageTimeline;
@@ -53,8 +53,31 @@ function u(e, t) {
53
53
  function d(e, t, n) {
54
54
  return e.stageName || t?.parserName || `Stage ${n}`;
55
55
  }
56
- function f(e, t) {
57
- let r = new Map((t ?? []).map((e) => [e.id, e])), a = e.stageResults ?? [], o = a.map((e) => e.executionTimeMs != null && Number.isFinite(e.executionTimeMs) && e.executionTimeMs > 0 ? e.executionTimeMs : 0), s = o.reduce((e, t) => e + t, 0), c = {
56
+ function f(e) {
57
+ let t = /* @__PURE__ */ new Set();
58
+ for (let n of e) {
59
+ let e = n.position;
60
+ if (e == null || !Number.isFinite(e) || t.has(e)) return !1;
61
+ t.add(e);
62
+ }
63
+ return !0;
64
+ }
65
+ function p(e, t) {
66
+ let n = e.map((e, t) => ({
67
+ result: e,
68
+ index: t
69
+ }));
70
+ if (f(e)) return n.sort((e, t) => (e.result.position ?? 0) - (t.result.position ?? 0) || e.index - t.index).map(({ result: e }) => e);
71
+ let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
72
+ for (let e of t ?? []) r.set(e.id, e.position), e.parserName && i.set(e.parserName, i.has(e.parserName) ? null : e.position);
73
+ let a = (e) => r.get(e.stageId) ?? (e.stageName ? i.get(e.stageName) : void 0) ?? Infinity;
74
+ return n.map((e) => ({
75
+ ...e,
76
+ rank: a(e.result)
77
+ })).sort((e, t) => e.rank === t.rank ? e.index - t.index : e.rank < t.rank ? -1 : 1).map(({ result: e }) => e);
78
+ }
79
+ function m(e, t) {
80
+ let r = new Map((t ?? []).map((e) => [e.id, e])), a = p(e.stageResults ?? [], t), o = a.map((e) => e.executionTimeMs != null && Number.isFinite(e.executionTimeMs) && e.executionTimeMs > 0 ? e.executionTimeMs : 0), s = o.reduce((e, t) => e + t, 0), c = {
58
81
  success: 0,
59
82
  skipped: 0,
60
83
  failed: 0,
@@ -83,4 +106,4 @@ function f(e, t) {
83
106
  counts: c
84
107
  };
85
108
  }
86
- export { f as buildStageTimeline, l as formatDurationMs, o as orderExecutionsForPipeline, s as pickSelectedExecution, c as runDurationMs, r as runStatusTone, i as stageStatusTone, u as triggeredByLabel };
109
+ export { m as buildStageTimeline, l as formatDurationMs, o as orderExecutionsForPipeline, p as orderStageResults, s as pickSelectedExecution, c as runDurationMs, r as runStatusTone, i as stageStatusTone, u as triggeredByLabel };
@@ -27,7 +27,10 @@ export type CreateApplicationInput = {
27
27
  appId?: string | number | null | undefined;
28
28
  appType: AppType;
29
29
  category?: string | null | undefined;
30
- /** Which products this item is compatible with (e.g. "fluidgrids", "workspaces"). Stored in manifest.compatibility.products and extracted to the store on publish. */
30
+ /**
31
+ * Which products this item is compatible with (e.g. "fluidgrids", "workspaces").
32
+ * Stored in manifest.compatibility.products and extracted to the store on publish.
33
+ */
31
34
  compatibleProducts?: Array<string> | null | undefined;
32
35
  description?: string | null | undefined;
33
36
  developerOrganizationId?: string | number | null | undefined;
@@ -55,21 +58,41 @@ export type CreateApplicationVersionInput = {
55
58
  manifest?: Record<string, unknown> | null | undefined;
56
59
  maxPlatformVersion?: string | null | undefined;
57
60
  minPlatformVersion?: string | null | undefined;
61
+ /**
62
+ * wspace-files-svc File id of the uploaded package, captured with packageUrl
63
+ * at upload time. Fresh download URLs are minted by the canonical file owner
64
+ * from it (BOFF-5311). The File must be ACTIVE and uploaded by the caller; it
65
+ * is verified with files-svc, and derived from a files-bucket packageUrl when
66
+ * omitted (BOFF-11221).
67
+ */
68
+ packageFileId?: string | null | undefined;
58
69
  packageHash?: string | null | undefined;
59
70
  packageSize?: string | null | undefined;
60
71
  packageUrl?: string | null | undefined;
72
+ /**
73
+ * Workspace that owns the files-svc File referenced by packageFileId.
74
+ * Required together with packageFileId for the files-svc download-URL path.
75
+ */
76
+ packageWorkspaceId?: string | null | undefined;
61
77
  releaseNotes?: string | null | undefined;
62
78
  requiredScopes?: Array<string> | null | undefined;
63
79
  version: string;
64
80
  };
65
- /** DIGITAL orgs publish Applications to the store; PHYSICAL orgs list physical goods via the seller portal. Not user-selectable — fixed at creation by which flow provisioned the org. See BOFF-7285. */
81
+ /**
82
+ * DIGITAL orgs publish Applications to the store; PHYSICAL orgs list physical
83
+ * goods via the seller portal. Not user-selectable — fixed at creation by which
84
+ * flow provisioned the org. See BOFF-7285.
85
+ */
66
86
  export type DeveloperOrgKind = 'DIGITAL' | 'PHYSICAL';
67
87
  export type DeveloperOrgRole = 'ADMIN' | 'DEVELOPER' | 'OWNER' | 'VIEWER';
68
88
  export type PricingModel = 'FREE' | 'PAID_ONETIME' | 'SUBSCRIPTION';
69
89
  export type ProductNature = 'DIGITAL' | 'PHYSICAL';
70
90
  export type ProductStatus = 'ARCHIVED' | 'DEPRECATED' | 'DRAFT' | 'PENDING_REVIEW' | 'PUBLISHED' | 'REJECTED' | 'UNLISTED';
71
91
  export type ProductType = 'ACCESSORY' | 'AGENT' | 'APP' | 'APPAREL' | 'BOOK' | 'BOTAPP' | 'COLLECTIBLE' | 'COMPONENT' | 'CONSOLE' | 'CONSUMABLE' | 'DASHBOARD' | 'DATASINK' | 'EQUIPMENT' | 'EXTENSION' | 'HARDWARE' | 'INTEGRATION' | 'MERCHANDISE' | 'NODE' | 'PARSER' | 'PLUGIN' | 'TEMPLATE' | 'THEME' | 'VIBEMODULE' | 'WIDGET' | 'WORKFLOW';
72
- /** Unified filter input for browsing/searching store products. All filters combine with AND logic - search is treated as a filter. */
92
+ /**
93
+ * Unified filter input for browsing/searching store products.
94
+ * All filters combine with AND logic - search is treated as a filter.
95
+ */
73
96
  export type StoreFilterInput = {
74
97
  /** Filter by author name (partial match) */
75
98
  authorName?: string | null | undefined;
@@ -79,7 +102,10 @@ export type StoreFilterInput = {
79
102
  categories?: Array<string> | null | undefined;
80
103
  /** Filter by exact category match (e.g., "Customer Support", "Notification") */
81
104
  category?: string | null | undefined;
82
- /** Filter by compatible product (e.g., "workspaces", "fluidgrids", "bigconsole") Products must be compatible with this product. */
105
+ /**
106
+ * Filter by compatible product (e.g., "workspaces", "fluidgrids", "bigconsole")
107
+ * Products must be compatible with this product.
108
+ */
83
109
  compatibleWith?: string | null | undefined;
84
110
  /** Filter only featured products */
85
111
  featured?: boolean | null | undefined;
@@ -109,11 +135,24 @@ export type StoreFilterInput = {
109
135
  publisherId?: string | null | undefined;
110
136
  /** Filter products that require shipping */
111
137
  requiresShipping?: boolean | null | undefined;
112
- /** Full-text search query. Searches across: - name (highest priority) - description - tags - authorName, category (lowest priority) Uses PostgreSQL tsvector with weighted ranking. */
138
+ /**
139
+ * Full-text search query. Searches across:
140
+ * - name (highest priority)
141
+ * - description
142
+ * - tags
143
+ * - authorName, category (lowest priority)
144
+ * Uses PostgreSQL tsvector with weighted ranking.
145
+ */
113
146
  search?: string | null | undefined;
114
147
  /** Filter by product status (defaults to PUBLISHED for consumer queries) */
115
148
  status?: ProductStatus | null | undefined;
116
- /** Filter by type-specific subtype. Examples: - For AGENT: "task_automation", "conversational", "research" - For NODE: "action", "trigger", "integration", "ai" - For WIDGET: "chart", "metric", "table", "map" */
149
+ /**
150
+ * Filter by type-specific subtype.
151
+ * Examples:
152
+ * - For AGENT: "task_automation", "conversational", "research"
153
+ * - For NODE: "action", "trigger", "integration", "ai"
154
+ * - For WIDGET: "chart", "metric", "table", "map"
155
+ */
117
156
  subType?: string | null | undefined;
118
157
  /** Filter by multiple subtypes (OR within this filter) */
119
158
  subTypes?: Array<string> | null | undefined;