@republicroad/seal-editor 1.30.0 → 1.32.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 +31 -5
- package/dist/index.js +2681 -2616
- 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
|
@@ -367,6 +367,15 @@ declare type DecisionGraphEmptyType = {
|
|
|
367
367
|
diffBaseline?: DecisionGraphType;
|
|
368
368
|
components?: DecisionGraphStoreType['state']['components'];
|
|
369
369
|
customNodes?: DecisionGraphStoreType['state']['customNodes'];
|
|
370
|
+
allowedNamespaces?: Set<string>;
|
|
371
|
+
extraCommands?: Array<{
|
|
372
|
+
id: string;
|
|
373
|
+
group: string;
|
|
374
|
+
label: string;
|
|
375
|
+
icon?: default_2.ReactNode;
|
|
376
|
+
keywords: string;
|
|
377
|
+
run: () => void;
|
|
378
|
+
}>;
|
|
370
379
|
hideLeftToolbar?: DecisionGraphStoreType['state']['hideLeftToolbar'];
|
|
371
380
|
name?: DecisionGraphStoreType['state']['name'];
|
|
372
381
|
viewConfigCta?: DecisionGraphStoreType['state']['viewConfigCta'];
|
|
@@ -417,6 +426,14 @@ declare type DecisionGraphStoreType = {
|
|
|
417
426
|
simulate?: Simulation;
|
|
418
427
|
simulateRuns: SimulateRunEntry[];
|
|
419
428
|
commandMenuOpen: boolean;
|
|
429
|
+
extraCommands: Array<{
|
|
430
|
+
id: string;
|
|
431
|
+
group: string;
|
|
432
|
+
label: string;
|
|
433
|
+
icon?: default_2.ReactNode;
|
|
434
|
+
keywords: string;
|
|
435
|
+
run: () => void;
|
|
436
|
+
}>;
|
|
420
437
|
user: string;
|
|
421
438
|
simulatorRequest?: string;
|
|
422
439
|
simulatorExampleBinding?: SimulatorExampleBinding;
|
|
@@ -469,6 +486,14 @@ declare type DecisionGraphStoreType = {
|
|
|
469
486
|
setActivePanel: (panel?: string) => void;
|
|
470
487
|
pushSimulateRun: (entry: SimulateRunEntry) => void;
|
|
471
488
|
setCommandMenuOpen: (open: boolean) => void;
|
|
489
|
+
setExtraCommands: (commands: Array<{
|
|
490
|
+
id: string;
|
|
491
|
+
group: string;
|
|
492
|
+
label: string;
|
|
493
|
+
icon?: default_2.ReactNode;
|
|
494
|
+
keywords: string;
|
|
495
|
+
run: () => void;
|
|
496
|
+
}>) => void;
|
|
472
497
|
setSimulateRunPinned: (id: string, pinned: boolean) => void;
|
|
473
498
|
hydrateSimulateRuns: (entries: SimulateRunEntry[]) => void;
|
|
474
499
|
clearSimulateRuns: () => void;
|
|
@@ -1219,6 +1244,7 @@ declare const en: {
|
|
|
1219
1244
|
readonly 'dg.simulation.runsEmpty': "No runs yet — run a simulation to build history";
|
|
1220
1245
|
readonly 'dg.simulation.pin': "Pin run (keep output across reloads)";
|
|
1221
1246
|
readonly 'dg.simulation.unpin': "Unpin run";
|
|
1247
|
+
readonly 'dg.simulation.copy': "Copy JSON";
|
|
1222
1248
|
readonly 'dg.simulation.payloadEvicted': "Run payload evicted (unpinned) — re-run to inspect";
|
|
1223
1249
|
readonly 'dg.simulation.runsClear': "Clear history";
|
|
1224
1250
|
readonly 'dg.toolbar.schema': "JSON Schema";
|
|
@@ -2856,17 +2882,17 @@ declare global {
|
|
|
2856
2882
|
}
|
|
2857
2883
|
|
|
2858
2884
|
|
|
2859
|
-
declare namespace ContextMenuSub {
|
|
2860
|
-
var displayName: string;
|
|
2861
|
-
}
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
2885
|
declare module '@gorules/zen-engine-wasm' {
|
|
2865
2886
|
interface VariableType {
|
|
2866
2887
|
__hash: string;
|
|
2867
2888
|
}
|
|
2868
2889
|
}
|
|
2869
2890
|
|
|
2891
|
+
|
|
2892
|
+
declare namespace ContextMenuSub {
|
|
2893
|
+
var displayName: string;
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2870
2896
|
declare namespace console {
|
|
2871
2897
|
function log(...args: any[]): void;
|
|
2872
2898
|
async function sleep(durationMs: number): Promise<void>;
|