@republicroad/seal-editor 1.29.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 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,7 @@ 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;
470
472
  setSimulateRunPinned: (id: string, pinned: boolean) => void;
471
473
  hydrateSimulateRuns: (entries: SimulateRunEntry[]) => void;
472
474
  clearSimulateRuns: () => void;
@@ -1205,6 +1207,12 @@ declare const en: {
1205
1207
  readonly 'dg.toolbar.downloadJson': "Download JSON";
1206
1208
  readonly 'dg.toolbar.downloadExcel': "Download Excel";
1207
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";
1208
1216
  readonly 'dg.toolbar.closeClose': "Close panel";
1209
1217
  readonly 'dg.simulation.toastOk': "Simulation finished";
1210
1218
  readonly 'dg.simulation.toastErr': "Simulation failed";
@@ -2841,13 +2849,6 @@ export declare const writeRequestInputContract: (content: RequestContentLike & R
2841
2849
  export { }
2842
2850
 
2843
2851
 
2844
- declare module '@gorules/zen-engine-wasm' {
2845
- interface VariableType {
2846
- __hash: string;
2847
- }
2848
- }
2849
-
2850
-
2851
2852
  declare global {
2852
2853
  interface Window {
2853
2854
  monaco?: Monaco;
@@ -2859,6 +2860,13 @@ declare namespace ContextMenuSub {
2859
2860
  var displayName: string;
2860
2861
  }
2861
2862
 
2863
+
2864
+ declare module '@gorules/zen-engine-wasm' {
2865
+ interface VariableType {
2866
+ __hash: string;
2867
+ }
2868
+ }
2869
+
2862
2870
  declare namespace console {
2863
2871
  function log(...args: any[]): void;
2864
2872
  async function sleep(durationMs: number): Promise<void>;