@xenosystem/blocks 0.13.32 → 0.13.34
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/agent/index.d.ts +5 -0
- package/dist/agent/index.js +5 -7
- package/dist/auth/index.d.ts +5 -0
- package/dist/auth/index.js +5 -7
- package/dist/data/index.d.ts +25 -0
- package/dist/data/index.js +25 -35
- package/dist/edit/index.d.ts +50 -0
- package/dist/edit/index.js +49 -69
- package/dist/ops/index.d.ts +20 -0
- package/dist/ops/index.js +20 -28
- package/dist/time/index.d.ts +15 -0
- package/dist/time/index.js +15 -21
- package/dist/trust/index.d.ts +5 -0
- package/dist/trust/index.js +5 -7
- package/package.json +1 -1
package/dist/agent/index.d.ts
CHANGED
|
@@ -604,6 +604,11 @@ type AgentUiIntent = {
|
|
|
604
604
|
kind: 'cancel';
|
|
605
605
|
};
|
|
606
606
|
/** The manifest the declaration validates against — the agent panel's id, its PRESENTATION ports. */
|
|
607
|
+
/**
|
|
608
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
609
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
610
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
611
|
+
*/
|
|
607
612
|
declare const agentViewManifest: PanelManifest;
|
|
608
613
|
declare const LANE_LABEL: Record<XenoAgentLane, string>;
|
|
609
614
|
declare const TURN: Record<XenoAgentTurnState, {
|
package/dist/agent/index.js
CHANGED
|
@@ -1052,13 +1052,11 @@ import {
|
|
|
1052
1052
|
|
|
1053
1053
|
// src/agent/agent/declaration.ts
|
|
1054
1054
|
var agentViewManifest = {
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The AgentViewState the controller derives from the host ports." }],
|
|
1061
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, id?, draft? } \u2014 applied by the controller." }],
|
|
1055
|
+
...agentManifest,
|
|
1056
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
1057
|
+
capabilities: [],
|
|
1058
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The AgentViewState the controller derives from the host ports." }],
|
|
1059
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, draft? } \u2014 applied by the controller." }],
|
|
1062
1060
|
commands: []
|
|
1063
1061
|
};
|
|
1064
1062
|
var LANE_LABEL = { cloud: "Cloud", local: "Local", acp: "ACP" };
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -642,6 +642,11 @@ type AccountUiIntent = {
|
|
|
642
642
|
kind: 'ledgerCollapsed';
|
|
643
643
|
collapsed: boolean;
|
|
644
644
|
};
|
|
645
|
+
/**
|
|
646
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
647
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
648
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
649
|
+
*/
|
|
645
650
|
declare const accountViewManifest: PanelManifest;
|
|
646
651
|
declare const STATUS_LABEL: Record<XenoAccountStatus, string>;
|
|
647
652
|
declare const STATUS_TONE: Record<XenoAccountStatus, PanelTone>;
|
package/dist/auth/index.js
CHANGED
|
@@ -449,13 +449,11 @@ function formatAge(ms) {
|
|
|
449
449
|
|
|
450
450
|
// src/auth/account/declaration.ts
|
|
451
451
|
var accountViewManifest = {
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The AccountViewState the controller derives from the host ports." }],
|
|
458
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, seatId?, collapsed? } \u2014 applied by the controller." }],
|
|
452
|
+
...accountManifest,
|
|
453
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
454
|
+
capabilities: [],
|
|
455
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The AccountViewState the controller derives from the host ports." }],
|
|
456
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, seatId?, collapsed? } \u2014 applied by the controller." }],
|
|
459
457
|
commands: []
|
|
460
458
|
};
|
|
461
459
|
var STATUS_LABEL = {
|
package/dist/data/index.d.ts
CHANGED
|
@@ -829,6 +829,11 @@ type TableUiIntent = {
|
|
|
829
829
|
declare function tableViewState(c: TableController, options?: TableViewOptions): TableViewModel;
|
|
830
830
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
831
831
|
declare function applyTableUi(c: TableController, intent: TableUiIntent): void;
|
|
832
|
+
/**
|
|
833
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
834
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
835
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
836
|
+
*/
|
|
832
837
|
declare const tableViewManifest: PanelManifest;
|
|
833
838
|
declare const BEHAVIOURS$4: {
|
|
834
839
|
'data/tablePanelView': (inputs: Record<string, unknown>) => TableViewModel;
|
|
@@ -1326,6 +1331,11 @@ interface ChartViewOptions {
|
|
|
1326
1331
|
/** Derive the view from the live controller — the runtime calls this on every draw. */
|
|
1327
1332
|
declare function chartViewState(c: ChartController, options?: ChartViewOptions): ChartViewModel;
|
|
1328
1333
|
declare function applyChartUi(c: ChartController, intent: ChartUiIntent): void;
|
|
1334
|
+
/**
|
|
1335
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
1336
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
1337
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
1338
|
+
*/
|
|
1329
1339
|
declare const chartViewManifest: PanelManifest;
|
|
1330
1340
|
declare const BEHAVIOURS$3: {
|
|
1331
1341
|
'data/chartPanelView': (inputs: Record<string, unknown>) => ChartViewModel;
|
|
@@ -1694,6 +1704,11 @@ interface MetricsViewOptions {
|
|
|
1694
1704
|
/** Derive the view from the live controller — the runtime calls this on every draw. */
|
|
1695
1705
|
declare function metricsViewState(c: MetricsController, options?: MetricsViewOptions): MetricsViewModel;
|
|
1696
1706
|
declare function applyMetricsUi(c: MetricsController, intent: MetricsUiIntent): void;
|
|
1707
|
+
/**
|
|
1708
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
1709
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
1710
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
1711
|
+
*/
|
|
1697
1712
|
declare const metricsViewManifest: PanelManifest;
|
|
1698
1713
|
declare const BEHAVIOURS$2: {
|
|
1699
1714
|
'data/metricsPanelView': (inputs: Record<string, unknown>) => MetricsViewModel;
|
|
@@ -2180,6 +2195,11 @@ interface FieldsViewOptions {
|
|
|
2180
2195
|
declare function fieldsViewState(c: FieldsController, options?: FieldsViewOptions): FieldsViewModel;
|
|
2181
2196
|
/** Apply a `ui` intent to the controller. */
|
|
2182
2197
|
declare function applyFieldsUi(c: FieldsController, intent: FieldsUiIntent): void;
|
|
2198
|
+
/**
|
|
2199
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
2200
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
2201
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
2202
|
+
*/
|
|
2183
2203
|
declare const fieldsViewManifest: PanelManifest;
|
|
2184
2204
|
declare const BEHAVIOURS$1: {
|
|
2185
2205
|
'data/fieldsPanelView': (inputs: Record<string, unknown>) => FieldsViewModel;
|
|
@@ -3736,6 +3756,11 @@ interface ConnectorsViewOptions {
|
|
|
3736
3756
|
/** Derive the view from the live controller — the runtime calls this on every draw. */
|
|
3737
3757
|
declare function connectorsViewState(c: ConnectorsController, options?: ConnectorsViewOptions): ConnectorsViewModel;
|
|
3738
3758
|
declare function applyConnectorsUi(c: ConnectorsController, intent: ConnectorsUiIntent): void;
|
|
3759
|
+
/**
|
|
3760
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
3761
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
3762
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
3763
|
+
*/
|
|
3739
3764
|
declare const connectorsViewManifest: PanelManifest;
|
|
3740
3765
|
declare const BEHAVIOURS: {
|
|
3741
3766
|
'data/connectorsPanelView': (inputs: Record<string, unknown>) => ConnectorsViewModel;
|
package/dist/data/index.js
CHANGED
|
@@ -1164,13 +1164,11 @@ function applyTableUi(c, intent) {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
}
|
|
1166
1166
|
var tableViewManifest = {
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The TableViewModel the runtime derives from the controller on every draw." }],
|
|
1173
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, mode?, columnId?, id?, rowId?, value?, key?, shiftKey?, ctrlKey?, metaKey? } \u2014 applied by the runtime to the controller." }],
|
|
1167
|
+
...tableManifest,
|
|
1168
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
1169
|
+
capabilities: [],
|
|
1170
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The TableViewModel the runtime derives from the controller on every draw." }],
|
|
1171
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, mode?, columnId?, id?, rowId?, value?, key?, shiftKey?, ctrlKey?, metaKey? } \u2014 applied by the runtime to the controller." }],
|
|
1174
1172
|
commands: []
|
|
1175
1173
|
};
|
|
1176
1174
|
var EMPTY = {
|
|
@@ -2317,13 +2315,11 @@ function applyChartUi(c, intent) {
|
|
|
2317
2315
|
}
|
|
2318
2316
|
}
|
|
2319
2317
|
var chartViewManifest = {
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The ChartViewModel the runtime derives from the controller on every draw." }],
|
|
2326
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind: type | export, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
2318
|
+
...chartManifest,
|
|
2319
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
2320
|
+
capabilities: [],
|
|
2321
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The ChartViewModel the runtime derives from the controller on every draw." }],
|
|
2322
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind: type | export, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
2327
2323
|
commands: []
|
|
2328
2324
|
};
|
|
2329
2325
|
var EMPTY2 = { types: [], type: "bar", partial: false, aggregating: false, errored: false, empty: true, emptyHint: "Wire a result into this chart to plot it.", unplottable: false, noRenderer: false, plot: false };
|
|
@@ -3034,13 +3030,11 @@ function applyMetricsUi(c, intent) {
|
|
|
3034
3030
|
}
|
|
3035
3031
|
}
|
|
3036
3032
|
var metricsViewManifest = {
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The MetricsViewModel the runtime derives from the controller on every draw." }],
|
|
3043
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind: range | activate, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
3033
|
+
...metricsManifest,
|
|
3034
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
3035
|
+
capabilities: [],
|
|
3036
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The MetricsViewModel the runtime derives from the controller on every draw." }],
|
|
3037
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind: range | activate, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
3044
3038
|
commands: []
|
|
3045
3039
|
};
|
|
3046
3040
|
var EMPTY3 = { hasRanges: false, ranges: [], rangeId: "", partial: false, partialHint: "", errored: false, empty: true, emptyHint: "Configure a metric, or wire a result into this panel.", ready: false, layout: "grid", columns: 4, tiles: [], countLabel: "0 metrics" };
|
|
@@ -4114,13 +4108,11 @@ function applyFieldsUi(c, intent) {
|
|
|
4114
4108
|
}
|
|
4115
4109
|
}
|
|
4116
4110
|
var fieldsViewManifest = {
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The FieldsViewModel the runtime derives from the controller on every draw." }],
|
|
4123
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
4111
|
+
...fieldsManifest,
|
|
4112
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
4113
|
+
capabilities: [],
|
|
4114
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The FieldsViewModel the runtime derives from the controller on every draw." }],
|
|
4115
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
4124
4116
|
commands: []
|
|
4125
4117
|
};
|
|
4126
4118
|
var EMPTY4 = { hasColumns: false, noColumns: true, sampled: false, manualApply: false, applyDisabled: true, columns: [], shelves: [], filters: [], filterCount: 0, hasFilters: false, noFilters: true, combinator: "and", countLabel: "0 fields" };
|
|
@@ -6753,13 +6745,11 @@ function applyConnectorsUi(c, intent) {
|
|
|
6753
6745
|
}
|
|
6754
6746
|
}
|
|
6755
6747
|
var connectorsViewManifest = {
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The ConnectorsViewModel the runtime derives from the controller on every draw." }],
|
|
6762
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
6748
|
+
...connectorsManifest,
|
|
6749
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
6750
|
+
capabilities: [],
|
|
6751
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The ConnectorsViewModel the runtime derives from the controller on every draw." }],
|
|
6752
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
6763
6753
|
commands: []
|
|
6764
6754
|
};
|
|
6765
6755
|
var EMPTY5 = { listing: true, sources: [], empty: true, emptyHint: "Paste CSV or JSON to start with an inline source \u2014 no setup needed.", listed: false, countLabel: "0 sources", form: false, formTitle: "", formBroken: false, formReady: false, fields: [], submitDisabled: true };
|
package/dist/edit/index.d.ts
CHANGED
|
@@ -826,6 +826,11 @@ type LayersUiIntent = {
|
|
|
826
826
|
declare function layersViewState(c: LayersPanelController): LayersViewState;
|
|
827
827
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
828
828
|
declare function applyLayersUi(c: LayersPanelController, intent: LayersUiIntent): void;
|
|
829
|
+
/**
|
|
830
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
831
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
832
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
833
|
+
*/
|
|
829
834
|
declare const layersViewManifest: PanelManifest;
|
|
830
835
|
declare const BEHAVIOURS$9: {
|
|
831
836
|
'edit/layersPanelView': (inputs: Record<string, unknown>) => LayersViewState;
|
|
@@ -1722,6 +1727,11 @@ type InspectorUiIntent = {
|
|
|
1722
1727
|
declare function inspectorViewState(c: InspectorPanelController): InspectorViewState;
|
|
1723
1728
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
1724
1729
|
declare function applyInspectorUi(c: InspectorPanelController, intent: InspectorUiIntent): void;
|
|
1730
|
+
/**
|
|
1731
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
1732
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
1733
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
1734
|
+
*/
|
|
1725
1735
|
declare const inspectorViewManifest: PanelManifest;
|
|
1726
1736
|
declare const BEHAVIOURS$8: {
|
|
1727
1737
|
'edit/inspectorPanelView': (inputs: Record<string, unknown>) => InspectorViewState;
|
|
@@ -2333,6 +2343,11 @@ type HistoryUiIntent = {
|
|
|
2333
2343
|
declare function historyViewState(c: HistoryPanelController): HistoryViewState;
|
|
2334
2344
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
2335
2345
|
declare function applyHistoryUi(c: HistoryPanelController, intent: HistoryUiIntent): void;
|
|
2346
|
+
/**
|
|
2347
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
2348
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
2349
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
2350
|
+
*/
|
|
2336
2351
|
declare const historyViewManifest: PanelManifest;
|
|
2337
2352
|
declare const BEHAVIOURS$7: {
|
|
2338
2353
|
'edit/historyPanelView': (inputs: Record<string, unknown>) => HistoryViewState;
|
|
@@ -2895,6 +2910,11 @@ type ColorUiIntent = {
|
|
|
2895
2910
|
declare function colorViewState(c: ColorPanelController): ColorViewState;
|
|
2896
2911
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
2897
2912
|
declare function applyColorUi(c: ColorPanelController, intent: ColorUiIntent): void;
|
|
2913
|
+
/**
|
|
2914
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
2915
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
2916
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
2917
|
+
*/
|
|
2898
2918
|
declare const colorViewManifest: PanelManifest;
|
|
2899
2919
|
declare const BEHAVIOURS$6: {
|
|
2900
2920
|
'edit/colorPanelView': (inputs: Record<string, unknown>) => ColorViewState;
|
|
@@ -3955,6 +3975,11 @@ type CurveUiIntent = {
|
|
|
3955
3975
|
declare function curveViewState(c: CurveController, options?: CurveViewOptions): CurveViewModel;
|
|
3956
3976
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
3957
3977
|
declare function applyCurveUi(c: CurveController, intent: CurveUiIntent): void;
|
|
3978
|
+
/**
|
|
3979
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
3980
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
3981
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
3982
|
+
*/
|
|
3958
3983
|
declare const curveViewManifest: PanelManifest;
|
|
3959
3984
|
declare const BEHAVIOURS$5: {
|
|
3960
3985
|
'edit/curvePanelView': (inputs: Record<string, unknown>) => CurveViewModel;
|
|
@@ -4398,6 +4423,11 @@ interface ViewportViewModel {
|
|
|
4398
4423
|
}
|
|
4399
4424
|
/** Derive the view model from the live controller — the runtime calls this on every draw. */
|
|
4400
4425
|
declare function viewportViewState(c: ViewportController, options?: ViewportViewOptions): ViewportViewModel;
|
|
4426
|
+
/**
|
|
4427
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
4428
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
4429
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
4430
|
+
*/
|
|
4401
4431
|
declare const viewportViewManifest: PanelManifest;
|
|
4402
4432
|
declare const BEHAVIOURS$4: {
|
|
4403
4433
|
'edit/viewportPanelView': (inputs: Record<string, unknown>) => ViewportViewModel;
|
|
@@ -4941,6 +4971,11 @@ interface FindViewOptions {
|
|
|
4941
4971
|
declare function findViewState(c: FindController, options?: FindViewOptions): FindViewModel;
|
|
4942
4972
|
/** Apply a `ui` intent to the controller — the runtime's one job besides drawing. */
|
|
4943
4973
|
declare function applyFindUi(c: FindController, intent: FindUiIntent): void;
|
|
4974
|
+
/**
|
|
4975
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
4976
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
4977
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
4978
|
+
*/
|
|
4944
4979
|
declare const findViewManifest: PanelManifest;
|
|
4945
4980
|
declare const BEHAVIOURS$3: {
|
|
4946
4981
|
'edit/findPanelView': (inputs: Record<string, unknown>) => FindViewModel;
|
|
@@ -5531,6 +5566,11 @@ interface CommentsViewOptions {
|
|
|
5531
5566
|
/** Derive the view from the live controller — the runtime calls this on every draw. */
|
|
5532
5567
|
declare function commentsViewState(c: CommentsController, options?: CommentsViewOptions): CommentsViewModel;
|
|
5533
5568
|
declare function applyCommentsUi(c: CommentsController, intent: CommentsUiIntent): void;
|
|
5569
|
+
/**
|
|
5570
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
5571
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
5572
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
5573
|
+
*/
|
|
5534
5574
|
declare const commentsViewManifest: PanelManifest;
|
|
5535
5575
|
declare const BEHAVIOURS$2: {
|
|
5536
5576
|
'edit/commentsPanelView': (inputs: Record<string, unknown>) => CommentsViewModel;
|
|
@@ -6510,6 +6550,11 @@ type NodeGraphUiIntent = {
|
|
|
6510
6550
|
declare function nodegraphViewState(c: GraphController, _options?: NodeGraphViewOptions): NodeGraphViewModel;
|
|
6511
6551
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
6512
6552
|
declare function applyNodeGraphUi(c: GraphController, intent: NodeGraphUiIntent): void;
|
|
6553
|
+
/**
|
|
6554
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
6555
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
6556
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
6557
|
+
*/
|
|
6513
6558
|
declare const nodegraphViewManifest: PanelManifest;
|
|
6514
6559
|
declare const BEHAVIOURS$1: {
|
|
6515
6560
|
'edit/nodegraphPanelView': (inputs: Record<string, unknown>) => NodeGraphViewModel;
|
|
@@ -7491,6 +7536,11 @@ type TreeUiIntent = {
|
|
|
7491
7536
|
declare function treeViewState(c: TreeController, options?: TreeViewOptions): TreeViewModel;
|
|
7492
7537
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
7493
7538
|
declare function applyTreeUi(c: TreeController, intent: TreeUiIntent, options?: TreeViewOptions): void;
|
|
7539
|
+
/**
|
|
7540
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
7541
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
7542
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
7543
|
+
*/
|
|
7494
7544
|
declare const treeViewManifest: PanelManifest;
|
|
7495
7545
|
declare const BEHAVIOURS: {
|
|
7496
7546
|
'edit/treePanelView': (inputs: Record<string, unknown>) => TreeViewModel;
|
package/dist/edit/index.js
CHANGED
|
@@ -1302,13 +1302,11 @@ function applyLayersUi(c, intent) {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
var layersViewManifest = {
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The LayersViewState the runtime derives from the controller on every draw." }],
|
|
1311
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, id?, prop?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
|
|
1305
|
+
...layersManifest,
|
|
1306
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
1307
|
+
capabilities: [],
|
|
1308
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The LayersViewState the runtime derives from the controller on every draw." }],
|
|
1309
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, prop?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
|
|
1312
1310
|
commands: []
|
|
1313
1311
|
};
|
|
1314
1312
|
var EMPTY = { searchShown: true, filter: "", totalHeight: 0, offsetTop: 0, rows: [], empty: true, count: "0 layers", thumbnailSize: 24 };
|
|
@@ -3080,13 +3078,11 @@ function applyInspectorUi(c, intent) {
|
|
|
3080
3078
|
}
|
|
3081
3079
|
}
|
|
3082
3080
|
var inspectorViewManifest = {
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The InspectorViewState the runtime derives from the controller on every draw." }],
|
|
3089
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, sectionId?, fieldId?, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
3081
|
+
...inspectorManifest,
|
|
3082
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
3083
|
+
capabilities: [],
|
|
3084
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The InspectorViewState the runtime derives from the controller on every draw." }],
|
|
3085
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, sectionId?, fieldId?, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
3090
3086
|
commands: []
|
|
3091
3087
|
};
|
|
3092
3088
|
var EMPTY2 = { searchShown: true, filter: "", hasTarget: false, targetLabel: "", multi: false, banner: "", sections: [], empty: true, emptyTitle: "Nothing selected" };
|
|
@@ -4746,13 +4742,11 @@ function applyHistoryUi(c, intent) {
|
|
|
4746
4742
|
}
|
|
4747
4743
|
}
|
|
4748
4744
|
var historyViewManifest = {
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The HistoryViewState the runtime derives from the controller on every draw." }],
|
|
4755
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, entryId?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
|
|
4745
|
+
...historyManifest,
|
|
4746
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
4747
|
+
capabilities: [],
|
|
4748
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The HistoryViewState the runtime derives from the controller on every draw." }],
|
|
4749
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, entryId?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
|
|
4756
4750
|
commands: []
|
|
4757
4751
|
};
|
|
4758
4752
|
var EMPTY3 = { canUndo: false, canRedo: false, searchShown: true, filter: "", counter: "0 / 0", clearAllowed: false, confirmingClear: false, pruned: false, totalHeight: 0, offsetTop: 0, rows: [], empty: true, hasMemory: false, memoryText: "" };
|
|
@@ -6088,13 +6082,11 @@ function applyColorUi(c, intent) {
|
|
|
6088
6082
|
}
|
|
6089
6083
|
}
|
|
6090
6084
|
var colorViewManifest = {
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The ColorViewState the runtime derives from the controller on every draw." }],
|
|
6097
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
6085
|
+
...colorManifest,
|
|
6086
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
6087
|
+
capabilities: [],
|
|
6088
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The ColorViewState the runtime derives from the controller on every draw." }],
|
|
6089
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
6098
6090
|
commands: []
|
|
6099
6091
|
};
|
|
6100
6092
|
var EMPTY4 = { hex: "", bound: false, fgBg: false, fgActive: true, bgActive: false, space: "hex", spaceOptions: EDIT_SPACES.map((sp) => ({ value: sp, label: SPACE_LABEL[sp] })), isHex: true, isComponents: false, components: [], alphaShown: false, alphaPercent: 100, hasTokens: false, boundTokenId: "", tokenOptions: [], swatches: [], hasRecent: false, recent: [] };
|
|
@@ -7735,13 +7727,11 @@ function applyCurveUi(c, intent) {
|
|
|
7735
7727
|
}
|
|
7736
7728
|
}
|
|
7737
7729
|
var curveViewManifest = {
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The CurveViewModel the runtime derives from the controller on every draw." }],
|
|
7744
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, mode?, id? } \u2014 applied by the runtime to the controller." }],
|
|
7730
|
+
...curveManifest,
|
|
7731
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
7732
|
+
capabilities: [],
|
|
7733
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The CurveViewModel the runtime derives from the controller on every draw." }],
|
|
7734
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, mode?, id? } \u2014 applied by the runtime to the controller." }],
|
|
7745
7735
|
commands: []
|
|
7746
7736
|
};
|
|
7747
7737
|
var EMPTY5 = { interpolations: INTERPOLATIONS, tangentModes: TANGENT_MODES, presetsShown: true, presets: PRESETS, empty: true, drawn: false, channelsLabel: "0 channels", playheadLabel: "" };
|
|
@@ -8648,12 +8638,10 @@ function viewportViewState(c, options = {}) {
|
|
|
8648
8638
|
};
|
|
8649
8639
|
}
|
|
8650
8640
|
var viewportViewManifest = {
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
layout: { slot: "center" },
|
|
8656
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The ViewportViewModel the runtime derives from the controller on every draw." }],
|
|
8641
|
+
...viewportManifest,
|
|
8642
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
8643
|
+
capabilities: [],
|
|
8644
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The ViewportViewModel the runtime derives from the controller on every draw." }],
|
|
8657
8645
|
outputs: [],
|
|
8658
8646
|
commands: []
|
|
8659
8647
|
};
|
|
@@ -9527,13 +9515,11 @@ function applyFindUi(c, intent) {
|
|
|
9527
9515
|
}
|
|
9528
9516
|
}
|
|
9529
9517
|
var findViewManifest = {
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The FindViewModel the runtime derives from the controller on every draw." }],
|
|
9536
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, value?, option?, matchId?, x?, y? } \u2014 applied by the runtime to the controller." }],
|
|
9518
|
+
...findManifest,
|
|
9519
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
9520
|
+
capabilities: [],
|
|
9521
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The FindViewModel the runtime derives from the controller on every draw." }],
|
|
9522
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, value?, option?, matchId?, x?, y? } \u2014 applied by the runtime to the controller." }],
|
|
9537
9523
|
commands: []
|
|
9538
9524
|
};
|
|
9539
9525
|
var EMPTY7 = {
|
|
@@ -10553,13 +10539,11 @@ function applyCommentsUi(c, intent) {
|
|
|
10553
10539
|
}
|
|
10554
10540
|
}
|
|
10555
10541
|
var commentsViewManifest = {
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
|
|
10561
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The CommentsViewModel the runtime derives from the controller on every draw." }],
|
|
10562
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
10542
|
+
...commentsManifest,
|
|
10543
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
10544
|
+
capabilities: [],
|
|
10545
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The CommentsViewModel the runtime derives from the controller on every draw." }],
|
|
10546
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
10563
10547
|
commands: []
|
|
10564
10548
|
};
|
|
10565
10549
|
var EMPTY8 = { show: "open", shows: [], sort: "document", sorts: [], orphanedHidden: false, filteredEmpty: false, filteredHint: "", empty: true, emptyHint: "Select something and add a comment.", listed: false, open: [], hasResolved: false, resolvedTitle: "", resolved: [], draft: "", placeholder: "", composerDisabled: true, commentDisabled: true, countLabel: "0 open" };
|
|
@@ -11892,13 +11876,11 @@ function applyNodeGraphUi(c, intent) {
|
|
|
11892
11876
|
}
|
|
11893
11877
|
}
|
|
11894
11878
|
var nodegraphViewManifest = {
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The NodeGraphViewModel the runtime derives from the controller on every draw." }],
|
|
11901
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind } \u2014 applied by the runtime to the controller." }],
|
|
11879
|
+
...nodegraphManifest,
|
|
11880
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
11881
|
+
capabilities: [],
|
|
11882
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The NodeGraphViewModel the runtime derives from the controller on every draw." }],
|
|
11883
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind } \u2014 applied by the runtime to the controller." }],
|
|
11902
11884
|
commands: []
|
|
11903
11885
|
};
|
|
11904
11886
|
var EMPTY9 = { empty: true, drawn: false, nodesLabel: "0 nodes", zoomLabel: "100%" };
|
|
@@ -13617,13 +13599,11 @@ function applyTreeUi(c, intent, options = {}) {
|
|
|
13617
13599
|
}
|
|
13618
13600
|
}
|
|
13619
13601
|
var treeViewManifest = {
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The TreeViewModel the runtime derives from the controller on every draw." }],
|
|
13626
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, id?, value?, key?, actionId?, x?, y?, ctrlKey?, metaKey?, shiftKey?, altKey? } \u2014 applied by the runtime to the controller." }],
|
|
13602
|
+
...treeManifest,
|
|
13603
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
13604
|
+
capabilities: [],
|
|
13605
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The TreeViewModel the runtime derives from the controller on every draw." }],
|
|
13606
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, value?, key?, actionId?, x?, y?, ctrlKey?, metaKey?, shiftKey?, altKey? } \u2014 applied by the runtime to the controller." }],
|
|
13627
13607
|
commands: []
|
|
13628
13608
|
};
|
|
13629
13609
|
var EMPTY10 = {
|
package/dist/ops/index.d.ts
CHANGED
|
@@ -606,6 +606,11 @@ interface ConsoleViewOptions {
|
|
|
606
606
|
/** Derive the view from the live controller — the runtime calls this on every draw. */
|
|
607
607
|
declare function consoleViewState(c: ConsoleController, options?: ConsoleViewOptions): ConsoleViewModel;
|
|
608
608
|
declare function applyConsoleUi(c: ConsoleController, intent: ConsoleUiIntent): void;
|
|
609
|
+
/**
|
|
610
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
611
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
612
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
613
|
+
*/
|
|
609
614
|
declare const consoleViewManifest: PanelManifest;
|
|
610
615
|
declare const BEHAVIOURS$3: {
|
|
611
616
|
'ops/consolePanelView': (inputs: Record<string, unknown>) => ConsoleViewModel;
|
|
@@ -1517,6 +1522,11 @@ interface RunsViewOptions {
|
|
|
1517
1522
|
/** Derive the view from the live controller — the runtime calls this on every draw. */
|
|
1518
1523
|
declare function runsViewState(c: RunsController, options?: RunsViewOptions): RunsViewModel;
|
|
1519
1524
|
declare function applyRunsUi(c: RunsController, intent: RunsUiIntent): void;
|
|
1525
|
+
/**
|
|
1526
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
1527
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
1528
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
1529
|
+
*/
|
|
1520
1530
|
declare const runsViewManifest: PanelManifest;
|
|
1521
1531
|
declare const BEHAVIOURS$2: {
|
|
1522
1532
|
'ops/runsPanelView': (inputs: Record<string, unknown>) => RunsViewModel;
|
|
@@ -2042,6 +2052,11 @@ type TerminalUiIntent = {
|
|
|
2042
2052
|
declare function terminalViewState(c: TerminalController, options?: TerminalViewOptions): TerminalViewModel;
|
|
2043
2053
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
2044
2054
|
declare function applyTerminalUi(c: TerminalController, intent: TerminalUiIntent): void;
|
|
2055
|
+
/**
|
|
2056
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
2057
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
2058
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
2059
|
+
*/
|
|
2045
2060
|
declare const terminalViewManifest: PanelManifest;
|
|
2046
2061
|
declare const BEHAVIOURS$1: {
|
|
2047
2062
|
'ops/terminalPanelView': (inputs: Record<string, unknown>) => TerminalViewModel;
|
|
@@ -2634,6 +2649,11 @@ type DiffUiIntent = {
|
|
|
2634
2649
|
declare function diffViewState(c: DiffController, options?: DiffViewOptions): DiffViewModel;
|
|
2635
2650
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
2636
2651
|
declare function applyDiffUi(c: DiffController, intent: DiffUiIntent): void;
|
|
2652
|
+
/**
|
|
2653
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
2654
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
2655
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
2656
|
+
*/
|
|
2637
2657
|
declare const diffViewManifest: PanelManifest;
|
|
2638
2658
|
declare const BEHAVIOURS: {
|
|
2639
2659
|
'ops/diffPanelView': (inputs: Record<string, unknown>) => DiffViewModel;
|
package/dist/ops/index.js
CHANGED
|
@@ -718,13 +718,11 @@ function applyConsoleUi(c, intent) {
|
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
var consoleViewManifest = {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The ConsoleViewModel the runtime derives from the controller on every draw." }],
|
|
727
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
721
|
+
...consoleManifest,
|
|
722
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
723
|
+
capabilities: [],
|
|
724
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The ConsoleViewModel the runtime derives from the controller on every draw." }],
|
|
725
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
728
726
|
commands: []
|
|
729
727
|
};
|
|
730
728
|
var EMPTY = { search: "", levels: [], level: "trace", multiSource: false, sources: [], empty: true, emptyTitle: "No output", emptyHint: "Run something to see its output here.", listed: false, rowHeight: 20, totalHeight: 0, offsetTop: 0, rows: [], countLabel: "0 of 0" };
|
|
@@ -1965,13 +1963,11 @@ function applyRunsUi(c, intent) {
|
|
|
1965
1963
|
}
|
|
1966
1964
|
}
|
|
1967
1965
|
var runsViewManifest = {
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The RunsViewModel the runtime derives from the controller on every draw." }],
|
|
1974
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
1966
|
+
...runsManifest,
|
|
1967
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
1968
|
+
capabilities: [],
|
|
1969
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The RunsViewModel the runtime derives from the controller on every draw." }],
|
|
1970
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
1975
1971
|
commands: []
|
|
1976
1972
|
};
|
|
1977
1973
|
var EMPTY2 = { search: "", statuses: [], multiSource: false, sources: [], hasChips: false, empty: true, emptyTitle: "No runs yet", emptyHint: "Run something to see it here.", listed: false, rows: [], countLabel: "0 of 0" };
|
|
@@ -2740,13 +2736,11 @@ function applyTerminalUi(c, intent) {
|
|
|
2740
2736
|
}
|
|
2741
2737
|
}
|
|
2742
2738
|
var terminalViewManifest = {
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The TerminalViewModel the runtime derives from the controller on every draw." }],
|
|
2749
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, id?, value?, direction? } \u2014 applied by the runtime to the controller." }],
|
|
2739
|
+
...terminalManifest,
|
|
2740
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
2741
|
+
capabilities: [],
|
|
2742
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The TerminalViewModel the runtime derives from the controller on every draw." }],
|
|
2743
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, value?, direction? } \u2014 applied by the runtime to the controller." }],
|
|
2750
2744
|
commands: []
|
|
2751
2745
|
};
|
|
2752
2746
|
var EMPTY3 = { noEmulator: false, ready: true, stripShown: true, tabs: [], tabIds: [], activeId: "", findShown: false, find: "", empty: true, surfacesShown: false };
|
|
@@ -3651,13 +3645,11 @@ function applyDiffUi(c, intent) {
|
|
|
3651
3645
|
}
|
|
3652
3646
|
}
|
|
3653
3647
|
var diffViewManifest = {
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The DiffViewModel the runtime derives from the controller on every draw." }],
|
|
3660
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, view?, path?, id?, collapsed?, action?, x?, y? } \u2014 applied by the runtime to the controller." }],
|
|
3648
|
+
...diffManifest,
|
|
3649
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
3650
|
+
capabilities: [],
|
|
3651
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The DiffViewModel the runtime derives from the controller on every draw." }],
|
|
3652
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, view?, path?, id?, collapsed?, action?, x?, y? } \u2014 applied by the runtime to the controller." }],
|
|
3661
3653
|
commands: []
|
|
3662
3654
|
};
|
|
3663
3655
|
var EMPTY5 = {
|
package/dist/time/index.d.ts
CHANGED
|
@@ -413,6 +413,11 @@ type TransportUiIntent = {
|
|
|
413
413
|
declare function transportViewState(c: TransportPanelController): TransportViewState;
|
|
414
414
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
415
415
|
declare function applyTransportUi(c: TransportPanelController, intent: TransportUiIntent): void;
|
|
416
|
+
/**
|
|
417
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
418
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
419
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
420
|
+
*/
|
|
416
421
|
declare const transportViewManifest: PanelManifest;
|
|
417
422
|
/** The view model both renderers draw from: the state plus every derived label. */
|
|
418
423
|
interface TransportPanelViewModel extends TransportViewState {
|
|
@@ -2019,6 +2024,11 @@ type TimelineUiIntent = {
|
|
|
2019
2024
|
declare function timelineViewState(c: TimelineController, _options?: TimelineViewOptions): TimelineViewModel;
|
|
2020
2025
|
/** Apply a `ui` intent to the controller — the runtime's half of the contract. */
|
|
2021
2026
|
declare function applyTimelineUi(c: TimelineController, intent: TimelineUiIntent): void;
|
|
2027
|
+
/**
|
|
2028
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
2029
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
2030
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
2031
|
+
*/
|
|
2022
2032
|
declare const timelineViewManifest: PanelManifest;
|
|
2023
2033
|
declare const BEHAVIOURS$1: {
|
|
2024
2034
|
'time/timelinePanelView': (inputs: Record<string, unknown>) => TimelineViewModel;
|
|
@@ -2578,6 +2588,11 @@ declare function formatMinutes(minutes: number | null): string;
|
|
|
2578
2588
|
declare function calendarViewState(c: CalendarController, options?: CalendarViewOptions): CalendarViewModel;
|
|
2579
2589
|
/** Apply a `ui` intent to the controller. */
|
|
2580
2590
|
declare function applyCalendarUi(c: CalendarController, intent: CalendarUiIntent): void;
|
|
2591
|
+
/**
|
|
2592
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
2593
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
2594
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
2595
|
+
*/
|
|
2581
2596
|
declare const calendarViewManifest: PanelManifest;
|
|
2582
2597
|
declare const BEHAVIOURS: {
|
|
2583
2598
|
'time/calendarPanelView': (inputs: Record<string, unknown>) => CalendarViewModel;
|
package/dist/time/index.js
CHANGED
|
@@ -888,13 +888,11 @@ function applyTransportUi(c, intent) {
|
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
890
|
var transportViewManifest = {
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The TransportViewState the runtime derives from the controller on every draw." }],
|
|
897
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, bpm?, fraction?, phase? } \u2014 applied by the runtime to the controller." }],
|
|
891
|
+
...transportManifest,
|
|
892
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
893
|
+
capabilities: [],
|
|
894
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The TransportViewState the runtime derives from the controller on every draw." }],
|
|
895
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, bpm?, fraction?, phase? } \u2014 applied by the runtime to the controller." }],
|
|
898
896
|
commands: []
|
|
899
897
|
};
|
|
900
898
|
function transportPanelView(state) {
|
|
@@ -2894,13 +2892,11 @@ function applyTimelineUi(c, intent) {
|
|
|
2894
2892
|
}
|
|
2895
2893
|
}
|
|
2896
2894
|
var timelineViewManifest = {
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The TimelineViewModel the runtime derives from the controller on every draw." }],
|
|
2903
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, tool?, on? } \u2014 applied by the runtime to the controller." }],
|
|
2895
|
+
...timelineManifest,
|
|
2896
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
2897
|
+
capabilities: [],
|
|
2898
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The TimelineViewModel the runtime derives from the controller on every draw." }],
|
|
2899
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, tool?, on? } \u2014 applied by the runtime to the controller." }],
|
|
2904
2900
|
commands: []
|
|
2905
2901
|
};
|
|
2906
2902
|
var EMPTY2 = { tools: TOOLS, tool: "select", snapOn: true, empty: true, drawn: false, playheadLabel: "" };
|
|
@@ -4264,13 +4260,11 @@ function applyCalendarUi(c, intent) {
|
|
|
4264
4260
|
}
|
|
4265
4261
|
}
|
|
4266
4262
|
var calendarViewManifest = {
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The CalendarViewModel the runtime derives from the controller on every draw." }],
|
|
4273
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
4263
|
+
...calendarManifest,
|
|
4264
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
4265
|
+
capabilities: [],
|
|
4266
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The CalendarViewModel the runtime derives from the controller on every draw." }],
|
|
4267
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
4274
4268
|
commands: []
|
|
4275
4269
|
};
|
|
4276
4270
|
var EMPTY3 = {
|
package/dist/trust/index.d.ts
CHANGED
|
@@ -856,6 +856,11 @@ interface ConsentViewOptions {
|
|
|
856
856
|
/** Derive the view from the live controller — the runtime calls this on every draw. */
|
|
857
857
|
declare function consentViewState(c: ConsentController, options?: ConsentViewOptions): ConsentViewModel;
|
|
858
858
|
declare function applyConsentUi(c: ConsentController, intent: ConsentUiIntent): void;
|
|
859
|
+
/**
|
|
860
|
+
* The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
|
|
861
|
+
* sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
|
|
862
|
+
* two ports in place of the host contract's, and no capability claim: a declaration has no code.
|
|
863
|
+
*/
|
|
859
864
|
declare const consentViewManifest: PanelManifest;
|
|
860
865
|
declare const BEHAVIOURS: {
|
|
861
866
|
'trust/consentPanelView': (inputs: Record<string, unknown>) => ConsentViewModel;
|
package/dist/trust/index.js
CHANGED
|
@@ -782,13 +782,11 @@ function applyConsentUi(c, intent) {
|
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
var consentViewManifest = {
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
inputs: [{ id: "view", type: "object", label: "View state", description: "The ConsentViewModel the runtime derives from the controller on every draw." }],
|
|
791
|
-
outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
785
|
+
...consentManifest,
|
|
786
|
+
// presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
|
|
787
|
+
capabilities: [],
|
|
788
|
+
inputs: [{ id: "view", name: "View state", type: "object", description: "The ConsentViewModel the runtime derives from the controller on every draw." }],
|
|
789
|
+
outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
|
|
792
790
|
commands: []
|
|
793
791
|
};
|
|
794
792
|
var EMPTY = { idle: true, emptyHint: "Requests needing your approval appear here.", active: false, riskLabel: "", riskTone: "neutral", kindLabel: "", title: "", facts: [], permission: false, scopes: [], durations: [], duration: "once", unrememberable: false, allowDisabled: true, question: false, hasOptions: false, options: [], wantsText: false, multiline: false, placeholder: "", draft: "", hasCounter: false, counter: "", overLimit: false, submitLabel: "Submit", submitDisabled: true, pendingLabel: "0 pending" };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/blocks",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.34",
|
|
4
4
|
"description": "XENO Blocks — rung 3 of the front ladder: components composed into a contract-bearing unit (manifest: ports, intents, commands, agent surface), rendered by @xenosystem/workbench. ONE package, one subpath per family (/auth, /edit, /data, /time, /ops, /trust, /agent), one named export per block — XENO PACKAGE NAMING - STANDARD.md.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|