@republicroad/seal-editor 1.29.0 → 1.31.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
@@ -367,6 +367,7 @@ declare type DecisionGraphEmptyType = {
367
367
  diffBaseline?: DecisionGraphType;
368
368
  components?: DecisionGraphStoreType['state']['components'];
369
369
  customNodes?: DecisionGraphStoreType['state']['customNodes'];
370
+ allowedNamespaces?: Set<string>;
370
371
  hideLeftToolbar?: DecisionGraphStoreType['state']['hideLeftToolbar'];
371
372
  name?: DecisionGraphStoreType['state']['name'];
372
373
  viewConfigCta?: DecisionGraphStoreType['state']['viewConfigCta'];
@@ -416,6 +417,7 @@ declare type DecisionGraphStoreType = {
416
417
  onPanelsChange?: (val?: string) => void;
417
418
  simulate?: Simulation;
418
419
  simulateRuns: SimulateRunEntry[];
420
+ commandMenuOpen: boolean;
419
421
  user: string;
420
422
  simulatorRequest?: string;
421
423
  simulatorExampleBinding?: SimulatorExampleBinding;
@@ -467,6 +469,7 @@ declare type DecisionGraphStoreType = {
467
469
  goToNode: (id: string) => void;
468
470
  setActivePanel: (panel?: string) => void;
469
471
  pushSimulateRun: (entry: SimulateRunEntry) => void;
472
+ setCommandMenuOpen: (open: boolean) => void;
470
473
  setSimulateRunPinned: (id: string, pinned: boolean) => void;
471
474
  hydrateSimulateRuns: (entries: SimulateRunEntry[]) => void;
472
475
  clearSimulateRuns: () => void;
@@ -1205,6 +1208,12 @@ declare const en: {
1205
1208
  readonly 'dg.toolbar.downloadJson': "Download JSON";
1206
1209
  readonly 'dg.toolbar.downloadExcel': "Download Excel";
1207
1210
  readonly 'dg.toolbar.searchNodes': "Search nodes";
1211
+ readonly 'dg.command.open': "Open command menu (Ctrl+K)";
1212
+ readonly 'dg.command.placeholder': "Search commands, nodes, panels…";
1213
+ readonly 'dg.command.empty': "No matching commands";
1214
+ readonly 'dg.command.groupAdd': "Add node";
1215
+ readonly 'dg.command.groupPanels': "Panels";
1216
+ readonly 'dg.command.groupNodes': "Canvas nodes";
1208
1217
  readonly 'dg.toolbar.closeClose': "Close panel";
1209
1218
  readonly 'dg.simulation.toastOk': "Simulation finished";
1210
1219
  readonly 'dg.simulation.toastErr': "Simulation failed";
@@ -2841,16 +2850,16 @@ export declare const writeRequestInputContract: (content: RequestContentLike & R
2841
2850
  export { }
2842
2851
 
2843
2852
 
2844
- declare module '@gorules/zen-engine-wasm' {
2845
- interface VariableType {
2846
- __hash: string;
2853
+ declare global {
2854
+ interface Window {
2855
+ monaco?: Monaco;
2847
2856
  }
2848
2857
  }
2849
2858
 
2850
2859
 
2851
- declare global {
2852
- interface Window {
2853
- monaco?: Monaco;
2860
+ declare module '@gorules/zen-engine-wasm' {
2861
+ interface VariableType {
2862
+ __hash: string;
2854
2863
  }
2855
2864
  }
2856
2865