@elaraai/e3-ui 1.0.25 → 1.0.27

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 (43) hide show
  1. package/dist/src/bind/data.d.ts +103 -0
  2. package/dist/src/bind/data.d.ts.map +1 -1
  3. package/dist/src/bind/data.js +48 -0
  4. package/dist/src/bind/data.js.map +1 -1
  5. package/dist/src/bind/func.d.ts +49 -0
  6. package/dist/src/bind/func.d.ts.map +1 -1
  7. package/dist/src/bind/func.js +39 -0
  8. package/dist/src/bind/func.js.map +1 -1
  9. package/dist/src/bind/record.d.ts +68 -0
  10. package/dist/src/bind/record.d.ts.map +1 -1
  11. package/dist/src/bind/record.js +48 -0
  12. package/dist/src/bind/record.js.map +1 -1
  13. package/dist/src/decision/bind.d.ts +812 -0
  14. package/dist/src/decision/bind.d.ts.map +1 -1
  15. package/dist/src/decision/bind.js +53 -0
  16. package/dist/src/decision/bind.js.map +1 -1
  17. package/dist/src/decision/index.d.ts +17 -0
  18. package/dist/src/decision/index.d.ts.map +1 -1
  19. package/dist/src/decision/queue.d.ts +101 -10
  20. package/dist/src/decision/queue.d.ts.map +1 -1
  21. package/dist/src/decision/queue.js +41 -14
  22. package/dist/src/decision/queue.js.map +1 -1
  23. package/dist/src/decision/types.d.ts +30 -0
  24. package/dist/src/decision/types.d.ts.map +1 -1
  25. package/dist/src/decision/types.js +16 -0
  26. package/dist/src/decision/types.js.map +1 -1
  27. package/dist/src/internal.d.ts +4 -4
  28. package/dist/src/internal.d.ts.map +1 -1
  29. package/dist/src/internal.js +4 -4
  30. package/dist/src/internal.js.map +1 -1
  31. package/dist/test/decision/journal.examples.d.ts +4 -0
  32. package/dist/test/decision/journal.examples.d.ts.map +1 -1
  33. package/dist/test/decision/journal.examples.js +1 -0
  34. package/dist/test/decision/journal.examples.js.map +1 -1
  35. package/dist/test/decision/loop.examples.d.ts +8 -0
  36. package/dist/test/decision/loop.examples.d.ts.map +1 -1
  37. package/dist/test/decision/loop.examples.js +3 -0
  38. package/dist/test/decision/loop.examples.js.map +1 -1
  39. package/dist/test/decision/queue.examples.d.ts +6 -0
  40. package/dist/test/decision/queue.examples.d.ts.map +1 -1
  41. package/dist/test/decision/queue.examples.js +81 -7
  42. package/dist/test/decision/queue.examples.js.map +1 -1
  43. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"bind.d.ts","sourceRoot":"","sources":["../../../src/decision/bind.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAEH,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,QAAQ,EAGR,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,cAAc,EAAiB,MAAM,2BAA2B,CAAC;AAE1E,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACH,YAAY,EACZ,sBAAsB,EAIzB,MAAM,YAAY,CAAC;AAMpB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe;;;;;EAK1B,CAAC;AACH,8CAA8C;AAC9C,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;AAMrD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,QAAQ,GAAG,sBAAsB,EAAE,UAAU,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;IAEzF;AAED,8EAA8E;AAC9E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmB,CAAC;AAC/C,6CAA6C;AAC7C,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,kB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gB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,cAAc,CAAC;AAC3E,wBAAgB,YAAY,CAAC,CAAC,SAAS,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC"}
@@ -147,6 +147,59 @@ export const DecisionHandleRefType = StructType({
147
147
  * `@elaraai/e3-ui-components` via `decisionBindPlatformFn.implement(...)`.
148
148
  */
149
149
  export const decisionBindPlatformFn = East.genericPlatform("decision_bind", ["C"], [ArrayType(DiffBindingType), DiffBindingType, OptionType(SliceStateType)], decisionHandleType("C"), { optional: true });
150
+ // ============================================================================
151
+ // decision_* primitives — low-level host I/O backing the handle's methods
152
+ // (issue #106)
153
+ //
154
+ // The handle's 12 closures become thin IR-bearing `East.function`s over these
155
+ // primitives, capturing only the PLAIN-DATA binding descriptors (the `decisions`
156
+ // array + the `judgements` descriptor) and the derived selection key. The host
157
+ // side-effects — resolving each descriptor to its live `Data.bind` view, the
158
+ // queue union, write-routing by case id, the selection store, the staged
159
+ // judgement reads/writes — live in the primitive impls, resolved from the
160
+ // descriptors at call time. So a captured decision handle (e.g.
161
+ // `onClick={() => handle.resolve(id, verdict)}`) encodes through beast2 and
162
+ // `decodeBeast2For({ platform })` re-binds it instead of throwing
163
+ // "Cannot serialize function: no IR attached".
164
+ //
165
+ // `judgement` / `inject` are generic over the constraint contract `C` (their
166
+ // types depend on it, exactly like the handle type); the rest are concrete.
167
+ // Implemented by `DecisionBindPlatform` in `@elaraai/e3-ui-components`.
168
+ // ----------------------------------------------------------------------------
169
+ const decision_queue = East.platform("decision_queue", [ArrayType(DiffBindingType)], ArrayType(DecisionType), { optional: true });
170
+ const decision_selected = East.platform("decision_selected", [StringType], OptionType(StringType), { optional: true });
171
+ const decision_select = East.platform("decision_select", [StringType, StringType], NullType, { optional: true });
172
+ const decision_clear_selection = East.platform("decision_clear_selection", [StringType], NullType, { optional: true });
173
+ const decision_decision = East.platform("decision_decision", [ArrayType(DiffBindingType), StringType], OptionType(DecisionType), { optional: true });
174
+ const decision_update = East.platform("decision_update", [ArrayType(DiffBindingType), DecisionType], NullType, { optional: true });
175
+ const decision_judgement = East.genericPlatform("decision_judgement", ["C"], [DiffBindingType, StringType], judgementInputType("C"), { optional: true });
176
+ const decision_answer = East.platform("decision_answer", [DiffBindingType, StringType, StringType, AnswerType], NullType, { optional: true });
177
+ const decision_add_knowledge = East.platform("decision_add_knowledge", [DiffBindingType, StringType, StringType], NullType, { optional: true });
178
+ const decision_inject = East.genericPlatform("decision_inject", ["C"], [DiffBindingType, StringType, "C"], NullType, { optional: true });
179
+ const decision_resolve = East.platform("decision_resolve", [ArrayType(DiffBindingType), DiffBindingType, StringType, StringType, VerdictType], NullType, { optional: true });
180
+ const decision_commit_state = East.platform("decision_commit_state", [ArrayType(DiffBindingType), DiffBindingType, StringType], CommitStateType, { optional: true });
181
+ /**
182
+ * Low-level platform primitives that back {@link decisionBind}'s handle methods.
183
+ *
184
+ * @internal Not for direct use — author against `Decision.bind`. These exist so
185
+ * each handle method can be an IR-bearing `East.function` (serializable) rather
186
+ * than a raw host closure. Keyed by the plain-data binding descriptors + the
187
+ * derived selection key; the impls resolve the live views / store at call time.
188
+ */
189
+ export const DecisionBindPrimitives = {
190
+ queue: decision_queue,
191
+ selected: decision_selected,
192
+ select: decision_select,
193
+ clearSelection: decision_clear_selection,
194
+ decision: decision_decision,
195
+ update: decision_update,
196
+ judgement: decision_judgement,
197
+ answer: decision_answer,
198
+ addKnowledge: decision_add_knowledge,
199
+ inject: decision_inject,
200
+ resolve: decision_resolve,
201
+ commitState: decision_commit_state,
202
+ };
150
203
  export function decisionBind(typesOrOptions, maybeOptions) {
151
204
  const [constraint, options] = maybeOptions !== undefined
152
205
  ? [typesOrOptions[0], maybeOptions]
@@ -1 +1 @@
1
- {"version":3,"file":"bind.js","sourceRoot":"","sources":["../../../src/decision/bind.ts"],"names":[],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,IAAI,EAAE,CAAC,CAAC;AAExK;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IAClC,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,MAAM,EAAE,eAAe;IACvB,cAAc,EAAE,wBAAwB;IACxC,QAAQ,EAAE,iBAAiB;IAC3B,MAAM,EAAE,eAAe;IACvB,SAAS,EAAE,kBAAkB;IAC7B,MAAM,EAAE,eAAe;IACvB,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE,eAAe;IACvB,OAAO,EAAE,gBAAgB;IACzB,WAAW,EAAE,qBAAqB;CAC5B,CAAC;AAqDX,MAAM,UAAU,YAAY,CACxB,cAAyC,EACzC,YAAqC;IAErC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,YAAY,KAAK,SAAS;QACpD,CAAC,CAAC,CAAE,cAAsB,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC;QAC5C,CAAC,CAAC,CAAC,sBAAsC,EAAE,cAAmD,CAAC,CAAC;IACpG,OAAO,sBAAsB,CACzB,CAAC,UAAU,CAAC,EACZ,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,EAC3C,OAAO,CAAC,UAAU,CAAC,OAAO,EAC1B,OAAO,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CACvD,CAAC;AACtC,CAAC"}
@@ -669,6 +669,7 @@ export declare const Decision: {
669
669
  readonly fieldId: import("@elaraai/east").StringType;
670
670
  readonly label: import("@elaraai/east").StringType;
671
671
  readonly kind: import("@elaraai/east").StringType;
672
+ readonly hints: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
672
673
  }>>>;
673
674
  readonly searchFieldIds: import("@elaraai/east").FunctionType<[], import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>>;
674
675
  readonly rangeFieldId: import("@elaraai/east").FunctionType<[], import("@elaraai/east").OptionType<import("@elaraai/east").StringType>>;
@@ -865,6 +866,10 @@ export declare const Decision: {
865
866
  readonly format: import("@elaraai/east").StringType;
866
867
  }>;
867
868
  }>>;
869
+ readonly valueAxis: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
870
+ readonly label: import("@elaraai/east").StringType;
871
+ readonly signed: import("@elaraai/east").BooleanType;
872
+ }>>;
868
873
  readonly summary: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
869
874
  readonly downside: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
870
875
  readonly confidence: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
@@ -1065,6 +1070,10 @@ export declare const Decision: {
1065
1070
  readonly format: import("@elaraai/east").StringType;
1066
1071
  }>;
1067
1072
  }>>;
1073
+ readonly valueAxis: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
1074
+ readonly label: import("@elaraai/east").StringType;
1075
+ readonly signed: import("@elaraai/east").BooleanType;
1076
+ }>>;
1068
1077
  readonly summary: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
1069
1078
  readonly downside: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
1070
1079
  readonly confidence: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
@@ -1262,6 +1271,10 @@ export declare const Decision: {
1262
1271
  readonly format: import("@elaraai/east").StringType;
1263
1272
  }>;
1264
1273
  }>>;
1274
+ readonly valueAxis: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
1275
+ readonly label: import("@elaraai/east").StringType;
1276
+ readonly signed: import("@elaraai/east").BooleanType;
1277
+ }>>;
1265
1278
  readonly summary: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
1266
1279
  readonly downside: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
1267
1280
  readonly confidence: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
@@ -1581,6 +1594,10 @@ export declare const Decision: {
1581
1594
  readonly format: import("@elaraai/east").StringType;
1582
1595
  }>;
1583
1596
  }>>;
1597
+ readonly valueAxis: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
1598
+ readonly label: import("@elaraai/east").StringType;
1599
+ readonly signed: import("@elaraai/east").BooleanType;
1600
+ }>>;
1584
1601
  readonly summary: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
1585
1602
  readonly downside: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
1586
1603
  readonly confidence: import("@elaraai/east").OptionType<import("@elaraai/east").FloatType>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decision/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAWH,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAuC,MAAM,WAAW,CAAC;AAElH,eAAO,MAAM,QAAQ;IAEjB;;;OAGG;;;QAIC;sEAC8D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGtC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  * routine tail collapsed. The case view is the row's expanded state, not a
9
9
  * sibling component: selecting a row opens one compact facet at a time
10
10
  * beneath it — `Evidence` (the model's argument + the host's per-decision
11
- * `detail` canvas), `Options` (the ranked stack), `Judgement` (prompts ·
11
+ * `evidence` canvas), `Options` (the ranked stack), `Judgement` (prompts ·
12
12
  * knowledge · lever builder, gating Apply), `Modify` (the host's per-kind
13
13
  * probe via the `modify` slot). Apply / Reject stay on the row and resolve
14
14
  * through the handle.
@@ -36,6 +36,20 @@ export declare const FacetType: VariantType<{
36
36
  export type FacetType = typeof FacetType;
37
37
  /** String-literal proxy for {@link FacetType}. */
38
38
  export type FacetLiteral = "evidence" | "options" | "judgement" | "modify";
39
+ /**
40
+ * The author-selectable *data* facets — `modify` is excluded because it is
41
+ * gated purely by its callback prop. The `facets` include-list is typed over
42
+ * this subset so listing a facet without its data is impossible.
43
+ */
44
+ export declare const DataFacetType: VariantType<{
45
+ readonly evidence: NullType;
46
+ readonly options: NullType;
47
+ readonly judgement: NullType;
48
+ }>;
49
+ /** Type alias for {@link DataFacetType}. */
50
+ export type DataFacetType = typeof DataFacetType;
51
+ /** String-literal proxy for {@link DataFacetType}. */
52
+ export type DataFacetLiteral = "evidence" | "options" | "judgement";
39
53
  /**
40
54
  * The `DecisionQueue` component payload.
41
55
  *
@@ -44,7 +58,7 @@ export type FacetLiteral = "evidence" | "options" | "judgement" | "modify";
44
58
  * @property modify - Optional per-kind probe editor: `(decision, update) =>
45
59
  * UIComponentType`; renders as the expanded row's Modify facet.
46
60
  * `update(edited)` writes the decision back through its owning binding.
47
- * @property detail - Optional per-decision canvas: `(decision) =>
61
+ * @property evidence - Optional per-decision Evidence-tab canvas: `(decision) =>
48
62
  * UIComponentType`; renders inside the Evidence facet (the host's chart /
49
63
  * working surface / trajectory).
50
64
  * @property defaultExpanded - The case shown expanded before any selection
@@ -52,6 +66,9 @@ export type FacetLiteral = "evidence" | "options" | "judgement" | "modify";
52
66
  * selection).
53
67
  * @property defaultFacet - The facet the expansion opens with (defaults to
54
68
  * `evidence`).
69
+ * @property facets - Optional include-list of data facets to show
70
+ * (`evidence` / `options` / `judgement`); absent ⇒ all. `modify` is always
71
+ * callback-gated and composes with this list.
55
72
  * @property onApply - Optional side-effect hook fired with the decision when
56
73
  * Apply resolves it (the resolution itself goes through the handle).
57
74
  * @property onReject - Optional side-effect hook fired with the decision
@@ -397,6 +414,10 @@ export declare const DecisionQueuePayloadType: StructType<{
397
414
  readonly format: StringType;
398
415
  }>;
399
416
  }>>;
417
+ readonly valueAxis: OptionType<StructType<{
418
+ readonly label: StringType;
419
+ readonly signed: import("@elaraai/east").BooleanType;
420
+ }>>;
400
421
  readonly summary: OptionType<StringType>;
401
422
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
402
423
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -593,6 +614,10 @@ export declare const DecisionQueuePayloadType: StructType<{
593
614
  readonly format: StringType;
594
615
  }>;
595
616
  }>>;
617
+ readonly valueAxis: OptionType<StructType<{
618
+ readonly label: StringType;
619
+ readonly signed: import("@elaraai/east").BooleanType;
620
+ }>>;
596
621
  readonly summary: OptionType<StringType>;
597
622
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
598
623
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -625,7 +650,7 @@ export declare const DecisionQueuePayloadType: StructType<{
625
650
  readonly note: OptionType<StringType>;
626
651
  }>>;
627
652
  }>], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
628
- readonly detail: OptionType<FunctionType<[StructType<{
653
+ readonly evidence: OptionType<FunctionType<[StructType<{
629
654
  readonly id: StringType;
630
655
  readonly kind: StringType;
631
656
  readonly title: StringType;
@@ -790,6 +815,10 @@ export declare const DecisionQueuePayloadType: StructType<{
790
815
  readonly format: StringType;
791
816
  }>;
792
817
  }>>;
818
+ readonly valueAxis: OptionType<StructType<{
819
+ readonly label: StringType;
820
+ readonly signed: import("@elaraai/east").BooleanType;
821
+ }>>;
793
822
  readonly summary: OptionType<StringType>;
794
823
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
795
824
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -987,6 +1016,10 @@ export declare const DecisionQueuePayloadType: StructType<{
987
1016
  readonly format: StringType;
988
1017
  }>;
989
1018
  }>>;
1019
+ readonly valueAxis: OptionType<StructType<{
1020
+ readonly label: StringType;
1021
+ readonly signed: import("@elaraai/east").BooleanType;
1022
+ }>>;
990
1023
  readonly summary: OptionType<StringType>;
991
1024
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
992
1025
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -1025,6 +1058,11 @@ export declare const DecisionQueuePayloadType: StructType<{
1025
1058
  readonly judgement: NullType;
1026
1059
  readonly modify: NullType;
1027
1060
  }>>;
1061
+ readonly facets: OptionType<ArrayType<VariantType<{
1062
+ readonly evidence: NullType;
1063
+ readonly options: NullType;
1064
+ readonly judgement: NullType;
1065
+ }>>>;
1028
1066
  readonly onApply: OptionType<FunctionType<[StructType<{
1029
1067
  readonly id: StringType;
1030
1068
  readonly kind: StringType;
@@ -1190,6 +1228,10 @@ export declare const DecisionQueuePayloadType: StructType<{
1190
1228
  readonly format: StringType;
1191
1229
  }>;
1192
1230
  }>>;
1231
+ readonly valueAxis: OptionType<StructType<{
1232
+ readonly label: StringType;
1233
+ readonly signed: import("@elaraai/east").BooleanType;
1234
+ }>>;
1193
1235
  readonly summary: OptionType<StringType>;
1194
1236
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
1195
1237
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -1387,6 +1429,10 @@ export declare const DecisionQueuePayloadType: StructType<{
1387
1429
  readonly format: StringType;
1388
1430
  }>;
1389
1431
  }>>;
1432
+ readonly valueAxis: OptionType<StructType<{
1433
+ readonly label: StringType;
1434
+ readonly signed: import("@elaraai/east").BooleanType;
1435
+ }>>;
1390
1436
  readonly summary: OptionType<StringType>;
1391
1437
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
1392
1438
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -1774,6 +1820,10 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
1774
1820
  readonly format: StringType;
1775
1821
  }>;
1776
1822
  }>>;
1823
+ readonly valueAxis: OptionType<StructType<{
1824
+ readonly label: StringType;
1825
+ readonly signed: import("@elaraai/east").BooleanType;
1826
+ }>>;
1777
1827
  readonly summary: OptionType<StringType>;
1778
1828
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
1779
1829
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -1970,6 +2020,10 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
1970
2020
  readonly format: StringType;
1971
2021
  }>;
1972
2022
  }>>;
2023
+ readonly valueAxis: OptionType<StructType<{
2024
+ readonly label: StringType;
2025
+ readonly signed: import("@elaraai/east").BooleanType;
2026
+ }>>;
1973
2027
  readonly summary: OptionType<StringType>;
1974
2028
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
1975
2029
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -2002,7 +2056,7 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
2002
2056
  readonly note: OptionType<StringType>;
2003
2057
  }>>;
2004
2058
  }>], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
2005
- readonly detail: OptionType<FunctionType<[StructType<{
2059
+ readonly evidence: OptionType<FunctionType<[StructType<{
2006
2060
  readonly id: StringType;
2007
2061
  readonly kind: StringType;
2008
2062
  readonly title: StringType;
@@ -2167,6 +2221,10 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
2167
2221
  readonly format: StringType;
2168
2222
  }>;
2169
2223
  }>>;
2224
+ readonly valueAxis: OptionType<StructType<{
2225
+ readonly label: StringType;
2226
+ readonly signed: import("@elaraai/east").BooleanType;
2227
+ }>>;
2170
2228
  readonly summary: OptionType<StringType>;
2171
2229
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
2172
2230
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -2364,6 +2422,10 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
2364
2422
  readonly format: StringType;
2365
2423
  }>;
2366
2424
  }>>;
2425
+ readonly valueAxis: OptionType<StructType<{
2426
+ readonly label: StringType;
2427
+ readonly signed: import("@elaraai/east").BooleanType;
2428
+ }>>;
2367
2429
  readonly summary: OptionType<StringType>;
2368
2430
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
2369
2431
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -2402,6 +2464,11 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
2402
2464
  readonly judgement: NullType;
2403
2465
  readonly modify: NullType;
2404
2466
  }>>;
2467
+ readonly facets: OptionType<ArrayType<VariantType<{
2468
+ readonly evidence: NullType;
2469
+ readonly options: NullType;
2470
+ readonly judgement: NullType;
2471
+ }>>>;
2405
2472
  readonly onApply: OptionType<FunctionType<[StructType<{
2406
2473
  readonly id: StringType;
2407
2474
  readonly kind: StringType;
@@ -2567,6 +2634,10 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
2567
2634
  readonly format: StringType;
2568
2635
  }>;
2569
2636
  }>>;
2637
+ readonly valueAxis: OptionType<StructType<{
2638
+ readonly label: StringType;
2639
+ readonly signed: import("@elaraai/east").BooleanType;
2640
+ }>>;
2570
2641
  readonly summary: OptionType<StringType>;
2571
2642
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
2572
2643
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -2764,6 +2835,10 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
2764
2835
  readonly format: StringType;
2765
2836
  }>;
2766
2837
  }>>;
2838
+ readonly valueAxis: OptionType<StructType<{
2839
+ readonly label: StringType;
2840
+ readonly signed: import("@elaraai/east").BooleanType;
2841
+ }>>;
2767
2842
  readonly summary: OptionType<StringType>;
2768
2843
  readonly downside: OptionType<import("@elaraai/east").FloatType>;
2769
2844
  readonly confidence: OptionType<import("@elaraai/east").FloatType>;
@@ -2819,7 +2894,7 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
2819
2894
  * @property modify - Optional per-kind probe editor `(decision, update) =>
2820
2895
  * UIComponentType` — the expanded row's Modify facet. (A typed arrow; the
2821
2896
  * factory lifts it to an `East.function`.)
2822
- * @property detail - Optional per-decision canvas `(decision) =>
2897
+ * @property evidence - Optional per-decision Evidence-tab canvas `(decision) =>
2823
2898
  * UIComponentType` — rendered inside the Evidence facet.
2824
2899
  * @property defaultExpanded - The case shown expanded before any selection
2825
2900
  * exists — an *option*: pass a `firstMap` predicate's result directly.
@@ -2845,12 +2920,27 @@ export declare const DecisionQueueComponent: import("@elaraai/east-ui").UICompon
2845
2920
  export interface DecisionQueueOptions {
2846
2921
  handle: DecisionHandleLike;
2847
2922
  heading?: SubtypeExprOrValue<StringType>;
2848
- modify?: (decision: ExprType<DecisionType>, update: ExprType<DecisionUpdateType>) => SubtypeExprOrValue<UIComponentType>;
2849
- detail?: (decision: ExprType<DecisionType>) => SubtypeExprOrValue<UIComponentType>;
2923
+ /**
2924
+ * Per-kind probe editor — a pass-through `East.function` value (like
2925
+ * `Table` column `render`), not invoked at build time. Authoring it as a
2926
+ * real function means the host builds the editor inside (capturing only the
2927
+ * `decision` + `update` params + plain data / bind-handles), so the body
2928
+ * never captures a pre-built `UIComponentType` — which crashes the beast2
2929
+ * encoder (#136).
2930
+ */
2931
+ modify?: SubtypeExprOrValue<FunctionType<[DecisionType, DecisionUpdateType], UIComponentType>>;
2932
+ /** Per-decision Evidence-tab canvas — a pass-through `East.function` value, not invoked at build time (#136). */
2933
+ evidence?: SubtypeExprOrValue<FunctionType<[DecisionType], UIComponentType>>;
2850
2934
  defaultExpanded?: SubtypeExprOrValue<OptionType<DecisionType>>;
2851
2935
  defaultFacet?: FacetLiteral | SubtypeExprOrValue<FacetType>;
2852
- onApply?: (decision: ExprType<DecisionType>) => SubtypeExprOrValue<NullType>;
2853
- onReject?: (decision: ExprType<DecisionType>) => SubtypeExprOrValue<NullType>;
2936
+ /** Include-list of data facets to show (`evidence` / `options` / `judgement`); omit ⇒ all.
2937
+ * `modify` stays callback-gated. Accepts a string-literal array OR a runtime
2938
+ * `Array<DataFacet>` expression (mirrors `defaultFacet`). */
2939
+ facets?: DataFacetLiteral[] | SubtypeExprOrValue<ArrayType<DataFacetType>>;
2940
+ /** Per-row Apply side-effect hook — a pass-through `East.function` value (like `modify`/`evidence`), not invoked at build time. */
2941
+ onApply?: SubtypeExprOrValue<FunctionType<[DecisionType], NullType>>;
2942
+ /** Per-row Reject side-effect hook — a pass-through `East.function` value, not invoked at build time. */
2943
+ onReject?: SubtypeExprOrValue<FunctionType<[DecisionType], NullType>>;
2854
2944
  slice?: SliceAffordanceLiteral[] | true;
2855
2945
  maxHeight?: SubtypeExprOrValue<StringType>;
2856
2946
  density?: SubtypeExprOrValue<OptionType<DensityType>> | DensityLiteral;
@@ -2859,7 +2949,7 @@ export interface DecisionQueueOptions {
2859
2949
  * The Decision queue component namespace — the Decide surface.
2860
2950
  *
2861
2951
  * @remarks
2862
- * Use `DecisionQueue.Root({ handle, modify: …, detail: … })` inside a
2952
+ * Use `DecisionQueue.Root({ handle, modify: …, evidence: … })` inside a
2863
2953
  * `Reactive` block, with the handle from `Decision.bind`. The `Component`
2864
2954
  * property is the {@link EastUI.component} carrier the renderer registers
2865
2955
  * against.
@@ -2871,6 +2961,7 @@ export declare const DecisionQueue: {
2871
2961
  Payload: DecisionQueuePayloadType;
2872
2962
  Update: DecisionUpdateType;
2873
2963
  Facet: FacetType;
2964
+ DataFacet: DataFacetType;
2874
2965
  };
2875
2966
  };
2876
2967
  //# sourceMappingURL=queue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../src/decision/queue.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAEH,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,QAAQ,EACR,YAAY,EAIZ,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAU,WAAW,EAAE,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7F,OAAO,EAAuB,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAE7F,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAMhD,gCAAgC;AAChC,eAAO,MAAM,SAAS;;;;;EAKpB,CAAC;AACH,wCAAwC;AACxC,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC;AACzC,kDAAkD;AAClD,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,EAAE,gBAAgB,EAAE,GAAG,kBAAkB,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;IAC3E,mIAAmI;IACnI,OAAO,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;IACrE,yGAAyG;IACzG,QAAQ,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;IACtE,KAAK,CAAC,EAAE,sBAAsB,EAAE,GAAG,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,GAAG,cAAc,CAAC;CAC1E;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,EAAE;IACxB,IAAI,CAAC,OAAO,EAAE,oBAAoB,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;IAC/D,SAAS,EAAE,OAAO,sBAAsB,CAAC;IACzC,KAAK,EAAE;QACH,OAAO,EAAE,wBAAwB,CAAC;QAClC,MAAM,EAAE,kBAAkB,CAAC;QAC3B,KAAK,EAAE,SAAS,CAAC;QACjB,SAAS,EAAE,aAAa,CAAC;KAC5B,CAAC;CAuFI,CAAC"}
@@ -8,7 +8,7 @@
8
8
  * routine tail collapsed. The case view is the row's expanded state, not a
9
9
  * sibling component: selecting a row opens one compact facet at a time
10
10
  * beneath it — `Evidence` (the model's argument + the host's per-decision
11
- * `detail` canvas), `Options` (the ranked stack), `Judgement` (prompts ·
11
+ * `evidence` canvas), `Options` (the ranked stack), `Judgement` (prompts ·
12
12
  * knowledge · lever builder, gating Apply), `Modify` (the host's per-kind
13
13
  * probe via the `modify` slot). Apply / Reject stay on the row and resolve
14
14
  * through the handle.
@@ -35,6 +35,16 @@ export const FacetType = VariantType({
35
35
  judgement: NullType,
36
36
  modify: NullType,
37
37
  });
38
+ /**
39
+ * The author-selectable *data* facets — `modify` is excluded because it is
40
+ * gated purely by its callback prop. The `facets` include-list is typed over
41
+ * this subset so listing a facet without its data is impossible.
42
+ */
43
+ export const DataFacetType = VariantType({
44
+ evidence: NullType,
45
+ options: NullType,
46
+ judgement: NullType,
47
+ });
38
48
  /**
39
49
  * The `DecisionQueue` component payload.
40
50
  *
@@ -43,7 +53,7 @@ export const FacetType = VariantType({
43
53
  * @property modify - Optional per-kind probe editor: `(decision, update) =>
44
54
  * UIComponentType`; renders as the expanded row's Modify facet.
45
55
  * `update(edited)` writes the decision back through its owning binding.
46
- * @property detail - Optional per-decision canvas: `(decision) =>
56
+ * @property evidence - Optional per-decision Evidence-tab canvas: `(decision) =>
47
57
  * UIComponentType`; renders inside the Evidence facet (the host's chart /
48
58
  * working surface / trajectory).
49
59
  * @property defaultExpanded - The case shown expanded before any selection
@@ -51,6 +61,9 @@ export const FacetType = VariantType({
51
61
  * selection).
52
62
  * @property defaultFacet - The facet the expansion opens with (defaults to
53
63
  * `evidence`).
64
+ * @property facets - Optional include-list of data facets to show
65
+ * (`evidence` / `options` / `judgement`); absent ⇒ all. `modify` is always
66
+ * callback-gated and composes with this list.
54
67
  * @property onApply - Optional side-effect hook fired with the decision when
55
68
  * Apply resolves it (the resolution itself goes through the handle).
56
69
  * @property onReject - Optional side-effect hook fired with the decision
@@ -66,9 +79,10 @@ export const DecisionQueuePayloadType = StructType({
66
79
  handle: DecisionHandleRefType,
67
80
  heading: OptionType(StringType),
68
81
  modify: OptionType(FunctionType([DecisionType, DecisionUpdateType], UIComponentType)),
69
- detail: OptionType(FunctionType([DecisionType], UIComponentType)),
82
+ evidence: OptionType(FunctionType([DecisionType], UIComponentType)),
70
83
  defaultExpanded: OptionType(DecisionType),
71
84
  defaultFacet: OptionType(FacetType),
85
+ facets: OptionType(ArrayType(DataFacetType)),
72
86
  onApply: OptionType(FunctionType([DecisionType], NullType)),
73
87
  onReject: OptionType(FunctionType([DecisionType], NullType)),
74
88
  slice: OptionType(ArrayType(SliceAffordanceType)),
@@ -84,7 +98,7 @@ export const DecisionQueueComponent = EastUI.component("DecisionQueue", Decision
84
98
  * The Decision queue component namespace — the Decide surface.
85
99
  *
86
100
  * @remarks
87
- * Use `DecisionQueue.Root({ handle, modify: …, detail: … })` inside a
101
+ * Use `DecisionQueue.Root({ handle, modify: …, evidence: … })` inside a
88
102
  * `Reactive` block, with the handle from `Decision.bind`. The `Component`
89
103
  * property is the {@link EastUI.component} carrier the renderer registers
90
104
  * against.
@@ -97,27 +111,37 @@ export const DecisionQueue = {
97
111
  * @returns An East expression of {@link UIComponentType}.
98
112
  */
99
113
  Root(options) {
114
+ // Pass the render functions through untouched (like Table column
115
+ // `render`) — never invoke them at build time, so the host builds the
116
+ // editor inside the function and captures no pre-built UIComponentType.
100
117
  const modify = options.modify === undefined
101
118
  ? none
102
- : some(East.function([DecisionType, DecisionUpdateType], UIComponentType, (_$, decision, update) => East.value(options.modify(decision, update), UIComponentType)));
103
- const detail = options.detail === undefined
119
+ : some(East.value(options.modify, FunctionType([DecisionType, DecisionUpdateType], UIComponentType)));
120
+ const evidence = options.evidence === undefined
104
121
  ? none
105
- : some(East.function([DecisionType], UIComponentType, (_$, decision) => East.value(options.detail(decision), UIComponentType)));
122
+ : some(East.value(options.evidence, FunctionType([DecisionType], UIComponentType)));
123
+ // Apply / Reject hooks pass through untouched (like `modify`/`evidence`) —
124
+ // never invoked at build time, so the author writes them as real
125
+ // `East.function` values that capture only data + bind-handles.
106
126
  const onApply = options.onApply === undefined
107
127
  ? none
108
- : some(East.function([DecisionType], NullType, ($, decision) => {
109
- $(East.value(options.onApply(decision), NullType));
110
- }));
128
+ : some(East.value(options.onApply, FunctionType([DecisionType], NullType)));
111
129
  const onReject = options.onReject === undefined
112
130
  ? none
113
- : some(East.function([DecisionType], NullType, ($, decision) => {
114
- $(East.value(options.onReject(decision), NullType));
115
- }));
131
+ : some(East.value(options.onReject, FunctionType([DecisionType], NullType)));
116
132
  const defaultFacet = options.defaultFacet === undefined
117
133
  ? none
118
134
  : some(typeof options.defaultFacet === "string"
119
135
  ? East.value(variant(options.defaultFacet, null), FacetType)
120
136
  : options.defaultFacet);
137
+ const facets = options.facets === undefined
138
+ ? none
139
+ // A plain string-literal include-list → lift each into its DataFacet
140
+ // variant; anything else (a `DataFacet` value array or a runtime
141
+ // `Array<DataFacet>` expression) passes straight through.
142
+ : some(Array.isArray(options.facets) && options.facets.every(f => typeof f === "string")
143
+ ? East.value(options.facets.map(f => variant(f, null)), ArrayType(DataFacetType))
144
+ : East.value(options.facets, ArrayType(DataFacetType)));
121
145
  const sliceAffordances = options.slice === undefined
122
146
  ? undefined
123
147
  : options.slice === true ? ["filter", "search"] : options.slice;
@@ -140,11 +164,12 @@ export const DecisionQueue = {
140
164
  }, DecisionHandleRefType),
141
165
  heading: options.heading !== undefined ? some(options.heading) : none,
142
166
  modify,
143
- detail,
167
+ evidence,
144
168
  defaultExpanded: options.defaultExpanded !== undefined
145
169
  ? East.value(options.defaultExpanded, OptionType(DecisionType))
146
170
  : none,
147
171
  defaultFacet,
172
+ facets,
148
173
  onApply,
149
174
  onReject,
150
175
  slice,
@@ -161,6 +186,8 @@ export const DecisionQueue = {
161
186
  Update: DecisionUpdateType,
162
187
  /** The expanded row's facet variant. */
163
188
  Facet: FacetType,
189
+ /** The author-selectable data-facet subset (`evidence` / `options` / `judgement`). */
190
+ DataFacet: DataFacetType,
164
191
  },
165
192
  };
166
193
  //# sourceMappingURL=queue.js.map