@republicroad/seal-editor 1.2.0 → 1.4.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
@@ -393,6 +393,11 @@ declare type DecisionGraphStoreType = {
393
393
  addNodes: (nodes: DecisionNode[]) => void;
394
394
  updateNode: (id: string, updater: DraftUpdateCallback<DecisionNode>) => void;
395
395
  removeNodes: (ids: string[]) => void;
396
+ autoLayout: (options?: {
397
+ ranksep?: number;
398
+ nodesep?: number;
399
+ fitView?: boolean;
400
+ }) => Promise<void>;
396
401
  duplicateNodes: (ids: string[]) => void;
397
402
  copyNodes: (ids: string[]) => void;
398
403
  pasteNodes: () => void;
@@ -1103,6 +1108,7 @@ declare const en: {
1103
1108
  readonly 'vh.compare.entry': "comparing";
1104
1109
  readonly 'dg.toolbar.uploadJson': "Upload JSON";
1105
1110
  readonly 'dg.toolbar.uploadExcel': "Upload Excel";
1111
+ readonly 'dg.toolbar.autoLayout': "Auto layout";
1106
1112
  readonly 'dg.toolbar.downloadJson': "Download JSON";
1107
1113
  readonly 'dg.toolbar.downloadExcel': "Download Excel";
1108
1114
  readonly 'dg.toolbar.searchNodes': "Search nodes";
@@ -1123,6 +1129,7 @@ declare const en: {
1123
1129
  readonly 'dg.excel.wrapQuotes': "Wrap value in quotes";
1124
1130
  readonly 'dg.excel.enterFieldName': "Enter field name";
1125
1131
  readonly 'dg.condition.removeConfirm': "Remove condition?";
1132
+ readonly 'dg.condition.namePlaceholder': "Path name";
1126
1133
  readonly 'expression.placeholder': "Expression";
1127
1134
  readonly 'expression.key': "Key";
1128
1135
  readonly 'expression.addRowAbove': "Add row above";
@@ -2260,6 +2267,7 @@ declare type SwitchStatement = {
2260
2267
  id: string;
2261
2268
  condition?: string;
2262
2269
  isDefault?: boolean;
2270
+ name?: string;
2263
2271
  } & Diff;
2264
2272
 
2265
2273
  export declare type TabCustomFunctionProps = {