@posiwise/flows 0.0.10 → 0.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/flows",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.2.0",
6
6
  "@angular/core": "^22.2.0",
@@ -342,6 +342,8 @@ interface FlowParamDetail {
342
342
  placeholder?: string;
343
343
  kind?: 'text' | 'textarea' | 'number' | 'select' | 'choices';
344
344
  options?: string[];
345
+ /** select only: the options are suggestions, and typed text (e.g. a {{placeholder}}) is kept too. */
346
+ editable?: boolean;
345
347
  required?: boolean;
346
348
  }
347
349
  /** Field names of an item, and of the entries of each list in it. */
@@ -408,6 +410,8 @@ interface FlowNodeSelection {
408
410
  listSuggestions: string[];
409
411
  /** The same fields, by the connected node they come from; null when none can ever reach it. */
410
412
  fieldSources: FlowFieldSource[] | null;
413
+ /** The fixed settings of the nodes before it, so a `{{name}}` box can show what it stands for. */
414
+ settingValues: Record<string, string>;
411
415
  }
412
416
  interface FlowGraph {
413
417
  nodes: FlowGraphNode[];
@@ -1328,6 +1332,8 @@ declare class FlowsNodeInspectorComponent implements OnChanges, AfterViewChecked
1328
1332
  fieldSuggestions: string[];
1329
1333
  /** The lists Split out can pick from; empty until the node before it has run. */
1330
1334
  listSuggestions: string[];
1335
+ /** The fixed settings of the nodes before this one, by param name. */
1336
+ settingValues: Record<string, string>;
1331
1337
  /** The same fields, by the connected node they come from; null hides the section. */
1332
1338
  fieldSources: FlowFieldSource[] | null;
1333
1339
  /** The workflow has not run yet, so no fields have been seen. */
@@ -1399,6 +1405,10 @@ declare class FlowsNodeInspectorComponent implements OnChanges, AfterViewChecked
1399
1405
  "alias": "listSuggestions";
1400
1406
  "required": false;
1401
1407
  };
1408
+ "settingValues": {
1409
+ "alias": "settingValues";
1410
+ "required": false;
1411
+ };
1402
1412
  "fieldSources": {
1403
1413
  "alias": "fieldSources";
1404
1414
  "required": false;
@@ -1679,6 +1689,8 @@ declare class FlowsParamFieldComponent {
1679
1689
  subscriptionId: number;
1680
1690
  /** The lists Split out can pick from; empty until the node before it has run. */
1681
1691
  listSuggestions: string[];
1692
+ /** The fixed settings of the nodes before this one, by param name. */
1693
+ settingValues: Record<string, string>;
1682
1694
  readonly valueChange: EventEmitter<unknown>;
1683
1695
  mergeModes: {
1684
1696
  value: string;
@@ -1687,6 +1699,11 @@ declare class FlowsParamFieldComponent {
1687
1699
  readonly defaultMergeMode: string;
1688
1700
  readonly numberValue: typeof flowNumberValue;
1689
1701
  constructor(translation: TranslocoService, cdr: ChangeDetectorRef, destroyRef: DestroyRef);
1702
+ /**
1703
+ * What an editable select shows: `Duo` for a saved `{{vendor_name}}` when an earlier node
1704
+ * is set to Duo. Only the shown text changes; the saved placeholder is untouched.
1705
+ */
1706
+ get shownValue(): unknown;
1690
1707
  /** A list is picked from what is known, and typed when nothing is known yet. */
1691
1708
  get kind(): FlowNodeField['kind'];
1692
1709
  static ɵfac: i0.ɵɵFactoryDeclaration<FlowsParamFieldComponent, never>;
@@ -1711,6 +1728,10 @@ declare class FlowsParamFieldComponent {
1711
1728
  "alias": "listSuggestions";
1712
1729
  "required": false;
1713
1730
  };
1731
+ "settingValues": {
1732
+ "alias": "settingValues";
1733
+ "required": false;
1734
+ };
1714
1735
  }, {
1715
1736
  "valueChange": "valueChange";
1716
1737
  }, never, never, false, never>;