@republicroad/seal-editor 1.28.0 → 1.30.0
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/index.d.ts +21 -6
- package/dist/index.js +2845 -2614
- package/dist/index.js.map +1 -1
- package/dist/schema.d.ts +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -416,6 +416,7 @@ declare type DecisionGraphStoreType = {
|
|
|
416
416
|
onPanelsChange?: (val?: string) => void;
|
|
417
417
|
simulate?: Simulation;
|
|
418
418
|
simulateRuns: SimulateRunEntry[];
|
|
419
|
+
commandMenuOpen: boolean;
|
|
419
420
|
user: string;
|
|
420
421
|
simulatorRequest?: string;
|
|
421
422
|
simulatorExampleBinding?: SimulatorExampleBinding;
|
|
@@ -467,6 +468,9 @@ declare type DecisionGraphStoreType = {
|
|
|
467
468
|
goToNode: (id: string) => void;
|
|
468
469
|
setActivePanel: (panel?: string) => void;
|
|
469
470
|
pushSimulateRun: (entry: SimulateRunEntry) => void;
|
|
471
|
+
setCommandMenuOpen: (open: boolean) => void;
|
|
472
|
+
setSimulateRunPinned: (id: string, pinned: boolean) => void;
|
|
473
|
+
hydrateSimulateRuns: (entries: SimulateRunEntry[]) => void;
|
|
470
474
|
clearSimulateRuns: () => void;
|
|
471
475
|
setCompactMode: (mode: boolean) => void;
|
|
472
476
|
toggleCompactMode: () => void;
|
|
@@ -1203,10 +1207,19 @@ declare const en: {
|
|
|
1203
1207
|
readonly 'dg.toolbar.downloadJson': "Download JSON";
|
|
1204
1208
|
readonly 'dg.toolbar.downloadExcel': "Download Excel";
|
|
1205
1209
|
readonly 'dg.toolbar.searchNodes': "Search nodes";
|
|
1210
|
+
readonly 'dg.command.open': "Open command menu (Ctrl+K)";
|
|
1211
|
+
readonly 'dg.command.placeholder': "Search commands, nodes, panels…";
|
|
1212
|
+
readonly 'dg.command.empty': "No matching commands";
|
|
1213
|
+
readonly 'dg.command.groupAdd': "Add node";
|
|
1214
|
+
readonly 'dg.command.groupPanels': "Panels";
|
|
1215
|
+
readonly 'dg.command.groupNodes': "Canvas nodes";
|
|
1206
1216
|
readonly 'dg.toolbar.closeClose': "Close panel";
|
|
1207
1217
|
readonly 'dg.simulation.toastOk': "Simulation finished";
|
|
1208
1218
|
readonly 'dg.simulation.toastErr': "Simulation failed";
|
|
1209
1219
|
readonly 'dg.simulation.runsEmpty': "No runs yet — run a simulation to build history";
|
|
1220
|
+
readonly 'dg.simulation.pin': "Pin run (keep output across reloads)";
|
|
1221
|
+
readonly 'dg.simulation.unpin': "Unpin run";
|
|
1222
|
+
readonly 'dg.simulation.payloadEvicted': "Run payload evicted (unpinned) — re-run to inspect";
|
|
1210
1223
|
readonly 'dg.simulation.runsClear': "Clear history";
|
|
1211
1224
|
readonly 'dg.toolbar.schema': "JSON Schema";
|
|
1212
1225
|
readonly 'dg.tabs.close': "Close";
|
|
@@ -1680,6 +1693,7 @@ declare type GraphRef = DecisionGraphStoreType['actions'] & {
|
|
|
1680
1693
|
export declare const GraphSimulator: default_2.FC<GraphSimulatorProps>;
|
|
1681
1694
|
|
|
1682
1695
|
export declare type GraphSimulatorProps = {
|
|
1696
|
+
runsPersistenceKey?: string;
|
|
1683
1697
|
onClear?: () => void;
|
|
1684
1698
|
loading?: boolean;
|
|
1685
1699
|
simulationFooter?: default_2.ReactNode;
|
|
@@ -2458,7 +2472,8 @@ declare type SimulateRunEntry = {
|
|
|
2458
2472
|
ok: boolean;
|
|
2459
2473
|
performance?: string;
|
|
2460
2474
|
error?: string;
|
|
2461
|
-
|
|
2475
|
+
pinned?: boolean;
|
|
2476
|
+
snapshot?: Simulation;
|
|
2462
2477
|
};
|
|
2463
2478
|
|
|
2464
2479
|
export declare type Simulation = {
|
|
@@ -2841,17 +2856,17 @@ declare global {
|
|
|
2841
2856
|
}
|
|
2842
2857
|
|
|
2843
2858
|
|
|
2859
|
+
declare namespace ContextMenuSub {
|
|
2860
|
+
var displayName: string;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
|
|
2844
2864
|
declare module '@gorules/zen-engine-wasm' {
|
|
2845
2865
|
interface VariableType {
|
|
2846
2866
|
__hash: string;
|
|
2847
2867
|
}
|
|
2848
2868
|
}
|
|
2849
2869
|
|
|
2850
|
-
|
|
2851
|
-
declare namespace ContextMenuSub {
|
|
2852
|
-
var displayName: string;
|
|
2853
|
-
}
|
|
2854
|
-
|
|
2855
2870
|
declare namespace console {
|
|
2856
2871
|
function log(...args: any[]): void;
|
|
2857
2872
|
async function sleep(durationMs: number): Promise<void>;
|