@esfaenza/flow-builder 20.3.21 → 20.3.22

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/index.d.ts CHANGED
@@ -1269,6 +1269,69 @@ interface FlowStartInterviewRequest {
1269
1269
  inputs?: Record<string, unknown>;
1270
1270
  debug?: boolean;
1271
1271
  }
1272
+ /**
1273
+ * I comandi «Esegui» e «Debug» della barra dell'editor.
1274
+ *
1275
+ * Non e' una primitiva della §6.5: l'editor **non** esegue niente per conto suo. Raccoglie i
1276
+ * valori di ingresso in una finestra e li consegna all'applicazione ospite, che sa dove gira il
1277
+ * motore e con quale interfaccia lo si guarda — un runner suo, una scheda separata, un
1278
+ * debugger. Senza implementazione il comando fallisce con `MissingService`, che e' la risposta
1279
+ * onesta: un editor che finge di avviare un'esecuzione e' peggio di uno che dice di non poterlo
1280
+ * fare.
1281
+ *
1282
+ * Il flow si identifica per **nome e versione**, non per documento: si esegue cio' che e'
1283
+ * salvato, ed e' per questo che i due comandi sono spenti su un flow mai scritto e avvertono
1284
+ * quando ci sono modifiche non salvate.
1285
+ */
1286
+ interface FlowRunRequest {
1287
+ flowName: string;
1288
+ /** Assente → l'ospite decide (di norma l'attiva, altrimenti l'ultima), come in §6.1. */
1289
+ version?: number;
1290
+ /**
1291
+ * I valori delle variabili `isInput`, per nome. Sono già convertiti al tipo dichiarato: un
1292
+ * `Number` e' un numero, non la stringa digitata. Un'istanza di classe segue la forma della
1293
+ * §4.7 (`{type, instance:{className, members}}`), la stessa in lettura e in scrittura.
1294
+ */
1295
+ inputs?: Record<string, unknown>;
1296
+ /**
1297
+ * `true` sul comando «Debug». L'ospite ne fa cio' che vuole — traccia, breakpoint, passo
1298
+ * passo — ma il contratto ricorda che una traccia riporta i valori di **tutte** le risorse,
1299
+ * dati personali compresi (§6.5).
1300
+ */
1301
+ debug: boolean;
1302
+ }
1303
+ /**
1304
+ * Cio' che l'ospite puo' **restituire** da `runFlow`/`debugFlow`, e che l'editor mostra nel
1305
+ * pannello «Debug».
1306
+ *
1307
+ * Esiste per un caso preciso: un flow che non ha schermate — un `AutoLaunched`, o
1308
+ * un'orchestrazione che gira tutta in background — non ha nessuna interfaccia in cui guardare
1309
+ * cosa e' successo. Non c'e' un form da compilare, non c'e' una finestra del runtime: c'e' solo
1310
+ * la traccia, e il posto in cui la si vuole e' l'editor, accanto al grafo su cui si sta
1311
+ * lavorando. Ogni voce della traccia porta un `elementName`, e il pannello lo usa per portare
1312
+ * l'utente sull'elemento.
1313
+ *
1314
+ * Restituire qualcosa e' **facoltativo**: un ospite che apre un suo runner e ci mostra tutto lì
1315
+ * risolve con `void`, e l'editor si limita a dire che l'esecuzione e' partita. Un ospite che
1316
+ * parla già la §6.5 puo' restituire il suo `FlowInterviewResult` così com'e': i campi
1317
+ * interattivi (token, `pendingScreen`) l'editor non li guarda, perche' non e' lui a condurre
1318
+ * l'esecuzione.
1319
+ *
1320
+ * `trace` e `resources` arrivano solo con `debug: true` e riportano i valori di **tutte** le
1321
+ * risorse, dati personali compresi (§6.5): il pannello lo dice in chiaro.
1322
+ */
1323
+ interface FlowRunOutcome {
1324
+ status?: FlowInterviewStatus;
1325
+ steps?: number;
1326
+ /** L'elemento su cui l'esecuzione si e' fermata: il pannello ci porta sopra. */
1327
+ currentElementName?: string | null;
1328
+ trace?: FlowTraceEntry[];
1329
+ resources?: Record<string, FlowTypedValue>;
1330
+ outputs?: Record<string, FlowTypedValue>;
1331
+ /** `Failed` non e' un errore di trasporto: la chiamata e' riuscita, il flow e' fallito. */
1332
+ errors?: string[];
1333
+ fault?: string | null;
1334
+ }
1272
1335
  interface FlowScreenResponseRequest {
1273
1336
  continuationToken: string;
1274
1337
  screenElementName?: string;
@@ -1564,6 +1627,29 @@ declare abstract class FlowBuilderApi {
1564
1627
  * escluso quello corrente (§5.10).
1565
1628
  */
1566
1629
  abstract listSubflowCandidates(excluding?: string): Promise<FlowSummary[]>;
1630
+ /**
1631
+ * «Esegui»: avvia il flow **salvato** con i valori raccolti dalla finestra.
1632
+ *
1633
+ * Chi integra l'editor la implementa. Non c'e' un default che «prova» il flow: l'editor non
1634
+ * ha un motore, e nascondere l'assenza dietro un'esecuzione finta e' il modo piu' veloce di
1635
+ * far credere che un flow funzioni.
1636
+ *
1637
+ * Il ritorno e' **facoltativo** ed e' l'unica cosa che l'editor sa dell'esecuzione: un
1638
+ * {@link FlowRunOutcome} finisce nel pannello «Debug» — stato, traccia, risorse, output —
1639
+ * mentre `void` significa «guardo altrove», e l'editor dice solo che e' partita. Serve
1640
+ * soprattutto ai flow **senza schermate**: lì non c'e' nessuna interfaccia del runtime in cui
1641
+ * vedere cos'e' successo, e la traccia accanto al grafo e' tutto cio' che si ha.
1642
+ */
1643
+ runFlow(request: FlowRunRequest): Promise<FlowRunOutcome | void>;
1644
+ /**
1645
+ * «Debug»: come {@link runFlow}, ma `request.debug` e' `true` — ed e' il caso in cui il
1646
+ * ritorno conta davvero, perche' `trace` e `resources` esistono solo in debug (§6.5).
1647
+ *
1648
+ * Sono due metodi e non un flag perche' quasi sempre sono due strade diverse dell'ospite —
1649
+ * l'una avvia e basta, l'altra apre un ispettore — e perche' un ambiente puo' esporre l'una
1650
+ * senza l'altra: due `MissingService` distinti dicono quale delle due manca.
1651
+ */
1652
+ debugFlow(request: FlowRunRequest): Promise<FlowRunOutcome | void>;
1567
1653
  /**
1568
1654
  * `POST /interviews` — avvia. Ricorda: `status: 'Failed'` **non** e' un errore
1569
1655
  * di trasporto, e `debug: true` popola `trace` e `resources` con dati che
@@ -3672,7 +3758,7 @@ declare class ReferencePickerComponent {
3672
3758
  * percorso inesistente di uno scope che i percorsi li dichiara, perche' lì il backend
3673
3759
  * risponderebbe `GLOBAL_UNKNOWN`.
3674
3760
  */
3675
- readonly valueState: _angular_core.Signal<"empty" | "unknown" | "member" | "known" | "navigated" | "host" | "containerRoot" | "memberUnknown" | "memberNotWritable" | "pathUnverified" | "globalPathUntyped" | "globalPathInvalid">;
3761
+ readonly valueState: _angular_core.Signal<"member" | "empty" | "unknown" | "known" | "navigated" | "host" | "containerRoot" | "memberUnknown" | "memberNotWritable" | "pathUnverified" | "globalPathUntyped" | "globalPathInvalid">;
3676
3762
  /** Le parole cambiano con la tappa: un campo di un'entita' non e' un membro di una classe. */
3677
3763
  private readonly tailIsObject;
3678
3764
  private readonly tailContainer;
@@ -5236,24 +5322,24 @@ declare class VersionPanelComponent {
5236
5322
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<VersionPanelComponent, "fb-version-panel", never, {}, { "closed": "closed"; "versionOpened": "versionOpened"; "notice": "notice"; }, never, never, true, never>;
5237
5323
  }
5238
5324
 
5239
- declare class DebugPanelComponent {
5240
- private readonly api;
5325
+ declare class RunDialogComponent {
5241
5326
  private readonly store;
5242
- private readonly session;
5243
5327
  private readonly dictionaries;
5244
5328
  private readonly catalog;
5245
- constructor();
5246
- readonly closed: _angular_core.OutputEmitterRef<void>;
5247
- /** Chiede all'host di evidenziare l'elemento corrente dell'esecuzione. */
5248
- readonly elementFocused: _angular_core.OutputEmitterRef<string>;
5249
- readonly result: _angular_core.WritableSignal<FlowInterviewResult | null>;
5250
- readonly isRunning: _angular_core.WritableSignal<boolean>;
5251
- readonly errorMessage: _angular_core.WritableSignal<string | null>;
5252
- readonly debugEnabled: _angular_core.WritableSignal<boolean>;
5253
- /** I valori che l'utente compila nel piccolo form generato dalle variabili di input. */
5254
- readonly inputValues: _angular_core.WritableSignal<Record<string, string>>;
5255
- /** I valori raccolti per lo screen corrente, per nome di `outputParameters`. */
5256
- readonly screenOutputs: _angular_core.WritableSignal<Record<string, string>>;
5329
+ /** `debug` cambia il titolo, l'avviso sui dati e quale primitiva verra' chiamata. */
5330
+ readonly mode: _angular_core.InputSignal<"run" | "debug">;
5331
+ /** Il flow che verra' eseguito: e' quello **salvato**, non il documento in mano. */
5332
+ readonly flowName: _angular_core.InputSignal<string | null>;
5333
+ readonly version: _angular_core.InputSignal<number | null>;
5334
+ /** Con modifiche non salvate si esegue la versione salvata: dirlo evita la sorpresa. */
5335
+ readonly isDirty: _angular_core.InputSignal<boolean>;
5336
+ /** L'ospite sta ancora rispondendo: il bottone resta spento invece di ripartire. */
5337
+ readonly isBusy: _angular_core.InputSignal<boolean>;
5338
+ readonly confirmed: _angular_core.OutputEmitterRef<Record<string, unknown>>;
5339
+ readonly cancelled: _angular_core.OutputEmitterRef<void>;
5340
+ readonly isDebug: _angular_core.Signal<boolean>;
5341
+ /** I valori compilati, come stringhe: la conversione al tipo avviene alla conferma. */
5342
+ private readonly rawValues;
5257
5343
  /** Le variabili `isInput` del flow: il contratto verso chi lo invoca (§4.6). */
5258
5344
  readonly inputVariables: _angular_core.Signal<FlowVariable[]>;
5259
5345
  /**
@@ -5261,27 +5347,45 @@ declare class DebugPanelComponent {
5261
5347
  * compila un membro alla volta: non c'e' un letterale con cui scriverla in un campo solo.
5262
5348
  */
5263
5349
  private readonly membersByClass;
5264
- /** I membri **scrivibili** di una classe: gli altri li calcola il backend. */
5265
- membersOf(className: string | undefined): FlowStructureMember[];
5266
5350
  /**
5267
- * §4.6 — i valori di un tipo di enumerazione, per nome del tipo. Elenco vuoto significa "non lo
5268
- * so" tipo non indicato, primitiva assente, tipo senza valori dichiarati e allora il valore
5269
- * si scrive a mano.
5351
+ * §4.6 — i valori dei tipi `Enum` che compaiono fra gli input. Un insieme chiuso merita una
5352
+ * tendina: qui si scrive un nome che il motore confrontera', e digitarlo e' il modo piu'
5353
+ * facile di sbagliarlo.
5270
5354
  */
5271
5355
  private readonly valuesByEnumType;
5356
+ constructor();
5357
+ /** I membri **scrivibili** di una classe: gli altri li calcola il motore. */
5358
+ membersOf(className: string | undefined): FlowStructureMember[];
5272
5359
  enumValuesOf(enumType: string | null | undefined): FlowEnumValue[];
5273
5360
  isStructureVariable(variable: FlowVariable): boolean;
5274
- readonly canRun: _angular_core.Signal<boolean>;
5361
+ setValue(key: string, value: string): void;
5362
+ /** Il valore di un campo del form: serve a ripopolarlo se la finestra si ridisegna. */
5363
+ valueOf(key: string): string;
5364
+ /** Converte un valore del form nel tipo dichiarato: il tipo vince, anche in scrittura (§6.5). */
5365
+ private static coerce;
5366
+ /**
5367
+ * I valori da mandare. Un campo lasciato vuoto **non** si manda: mandare la stringa vuota
5368
+ * significherebbe assegnare, e un input non valorizzato e' un'altra cosa da un input a "".
5369
+ */
5370
+ private collectInputs;
5371
+ confirm(): void;
5372
+ cancel(): void;
5373
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RunDialogComponent, never>;
5374
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<RunDialogComponent, "fb-run-dialog", never, { "mode": { "alias": "mode"; "required": true; "isSignal": true; }; "flowName": { "alias": "flowName"; "required": false; "isSignal": true; }; "version": { "alias": "version"; "required": false; "isSignal": true; }; "isDirty": { "alias": "isDirty"; "required": false; "isSignal": true; }; "isBusy": { "alias": "isBusy"; "required": false; "isSignal": true; }; }, { "confirmed": "confirmed"; "cancelled": "cancelled"; }, never, never, true, never>;
5375
+ }
5376
+
5377
+ declare class DebugPanelComponent {
5378
+ /** L'esito dell'ultima esecuzione; `null` = non ne e' ancora stata lanciata una. */
5379
+ readonly outcome: _angular_core.InputSignal<FlowRunOutcome | null>;
5380
+ /** L'ultima esecuzione era in debug: senza, traccia e risorse non arrivano ed e' normale. */
5381
+ readonly wasDebug: _angular_core.InputSignal<boolean>;
5382
+ /** L'ospite sta ancora eseguendo: l'esito, se arriva, arriva dopo. */
5383
+ readonly isRunning: _angular_core.InputSignal<boolean>;
5384
+ readonly closed: _angular_core.OutputEmitterRef<void>;
5385
+ /** Chiede all'host di portare l'utente sull'elemento: e' l'ancora della traccia. */
5386
+ readonly elementFocused: _angular_core.OutputEmitterRef<string>;
5387
+ readonly cleared: _angular_core.OutputEmitterRef<void>;
5275
5388
  readonly status: _angular_core.Signal<string | null>;
5276
- readonly pendingScreen: _angular_core.Signal<_esfaenza_flow_builder.FlowPendingScreen | null>;
5277
- readonly isWaitingForScreen: _angular_core.Signal<boolean>;
5278
- /** §5.14 — l'attesa e' su uno step assegnato a una persona, non su un evento. */
5279
- readonly isWaitingForStageStep: _angular_core.Signal<boolean>;
5280
- readonly stageSteps: _angular_core.Signal<FlowStageStepState[]>;
5281
- /** Lo step su cui c'e' un work item aperto: e' quello che si puo' concludere. */
5282
- readonly waitingStageSteps: _angular_core.Signal<FlowStageStepState[]>;
5283
- /** I valori con cui si conclude uno step, per nome di output. */
5284
- readonly stepOutputs: _angular_core.WritableSignal<Record<string, string>>;
5285
5389
  readonly trace: _angular_core.Signal<_esfaenza_flow_builder.FlowTraceEntry[]>;
5286
5390
  /** Le risorse come righe ordinate: il tipo dichiarato vince in lettura (§6.5). */
5287
5391
  readonly resourceRows: _angular_core.Signal<{
@@ -5294,49 +5398,19 @@ declare class DebugPanelComponent {
5294
5398
  type: string;
5295
5399
  value: string;
5296
5400
  }[]>;
5297
- /** Gli input che lo screen corrente riceve, per mostrarli accanto al form generico. */
5298
- readonly screenInputRows: _angular_core.Signal<{
5299
- name: string;
5300
- type: string;
5301
- value: string;
5302
- }[]>;
5303
- /** I nomi degli output dichiarati dallo screen, per generare i campi da compilare. */
5304
- readonly screenOutputNames: _angular_core.Signal<string[]>;
5305
5401
  /**
5306
- * §6.5 il tipo dichiarato vince, e due tipi hanno una forma propria invece di `value`: un
5307
- * record e un'istanza di classe. Cercare `value` su un `Structure` mostrerebbe «—» pur avendo
5308
- * i dati sotto gli occhi (§4.7).
5402
+ * L'ospite ha restituito qualcosa, ma niente di leggibile: nessuno stato, nessuna traccia,
5403
+ * nessun valore. Va distinto dal «non e' stata lanciata nessuna esecuzione», perche' il
5404
+ * rimedio e' diverso si preme «Esegui», qui manca un pezzo dell'implementazione.
5309
5405
  */
5310
- private static render;
5311
- setDebugEnabled(value: boolean): void;
5312
- setInputValue(name: string, value: string): void;
5313
- setScreenOutput(name: string, value: string): void;
5314
- /** Converte un valore del form nel tipo dichiarato: il tipo vince, anche in scrittura (§6.5). */
5315
- private static coerce;
5316
- /** Converte i valori del form nel tipo dichiarato dalla variabile. */
5317
- private coerceInputs;
5318
- start(): Promise<void>;
5319
- respond(navigation: FlowScreenNavigation): Promise<void>;
5320
- setStepOutput(name: string, value: string): void;
5321
- /** Gli output dichiarati dallo step, per generare i campi da compilare. */
5322
- stepOutputNames(stepName: string | undefined): string[];
5323
- /**
5324
- * Conclude uno step come farebbe l'assegnatario. `Rejected` non e' un errore: e' l'esito che
5325
- * prende il ramo «Step rifiutato» dello stage — e se quel ramo non c'e', l'interview fallisce.
5326
- */
5327
- completeStep(stepName: string | undefined, status: FlowStageStepStatus): Promise<void>;
5328
- private apply;
5329
- private handleError;
5330
- reset(): void;
5406
+ readonly isEmptyOutcome: _angular_core.Signal<boolean>;
5331
5407
  close(): void;
5332
- /** L'etichetta dello stato, che non e' un errore anche quando dice "Failed" (§6.5). */
5408
+ clear(): void;
5409
+ /** L'etichetta dello stato, che non e' un errore anche quando dice «Fallita» (§6.5). */
5333
5410
  statusLabel(): string;
5334
5411
  statusNote(): string | null;
5335
- canGoBack(): boolean;
5336
- canFinish(): boolean;
5337
- canPause(): boolean;
5338
5412
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DebugPanelComponent, never>;
5339
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DebugPanelComponent, "fb-debug-panel", never, {}, { "closed": "closed"; "elementFocused": "elementFocused"; }, never, never, true, never>;
5413
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DebugPanelComponent, "fb-debug-panel", never, { "outcome": { "alias": "outcome"; "required": false; "isSignal": true; }; "wasDebug": { "alias": "wasDebug"; "required": false; "isSignal": true; }; "isRunning": { "alias": "isRunning"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "elementFocused": "elementFocused"; "cleared": "cleared"; }, never, never, true, never>;
5340
5414
  }
5341
5415
 
5342
5416
  type SidePanel = 'inspector' | 'resources' | 'versions' | 'debug';
@@ -5452,9 +5526,9 @@ declare class FlowBuilderComponent {
5452
5526
  openSelectedElement(): void;
5453
5527
  closeDialog(): void;
5454
5528
  /**
5455
- * Evidenzia l'elemento sul canvas senza cambiare pannello.
5456
- * Serve durante la prova: l'esecuzione segnala su quale elemento e' ferma, ma sostituire
5457
- * il pannello con l'inspector farebbe sparire il form da compilare a metà interview.
5529
+ * Evidenzia l'elemento sul canvas **senza** cambiare pannello.
5530
+ * Serve alla traccia del debug: portare l'utente sull'elemento e' il punto del pannello, ma
5531
+ * sostituirlo con l'inspector farebbe sparire la traccia che si stava leggendo.
5458
5532
  */
5459
5533
  highlightElement(name: string): void;
5460
5534
  /** Rilascio dalla palette: il punto di rilascio diventa `locationX`/`locationY` (§11). */
@@ -5547,6 +5621,38 @@ declare class FlowBuilderComponent {
5547
5621
  setCopyLabel(value: string): void;
5548
5622
  /** Scrive la copia e continua a lavorare su di essa (§6.2). */
5549
5623
  confirmCopy(): Promise<void>;
5624
+ /** Quale delle due finestre e' aperta; `null` = nessuna. */
5625
+ readonly runMode: _angular_core.WritableSignal<"run" | "debug" | null>;
5626
+ /** La chiamata all'ospite e' in volo: il bottone della finestra resta spento. */
5627
+ readonly isStartingRun: _angular_core.WritableSignal<boolean>;
5628
+ /**
5629
+ * L'esito dell'ultima esecuzione, se l'ospite ne ha restituito uno.
5630
+ *
5631
+ * È tutto cio' che l'editor sa di un'esecuzione, e serve soprattutto ai flow **senza
5632
+ * schermate**: lì non si apre nessuna interfaccia del runtime, quindi senza questo pannello
5633
+ * non ci sarebbe **nessun** posto in cui vedere quali elementi sono stati eseguiti.
5634
+ */
5635
+ readonly runOutcome: _angular_core.WritableSignal<FlowRunOutcome | null>;
5636
+ /** L'ultima esecuzione era in debug: senza, traccia e risorse non arrivano ed e' normale. */
5637
+ readonly wasRunInDebug: _angular_core.WritableSignal<boolean>;
5638
+ /**
5639
+ * Si esegue cio' che e' **salvato**: su un flow mai scritto non c'e' niente da avviare, e il
5640
+ * titolo del bottone lo dice invece di lasciare un comando che non risponde.
5641
+ */
5642
+ readonly canRun: _angular_core.Signal<boolean>;
5643
+ openRun(mode: 'run' | 'debug'): void;
5644
+ closeRun(): void;
5645
+ /** Svuota il pannello: l'esito di prima non riguarda piu' il documento che si sta editando. */
5646
+ clearRunOutcome(): void;
5647
+ /**
5648
+ * Consegna gli ingressi all'ospite.
5649
+ *
5650
+ * La finestra si chiude **subito**, prima che la chiamata risponda: un'esecuzione puo' durare
5651
+ * quanto vuole — con schermate da compilare puo' finire minuti dopo — e tenere aperto il form
5652
+ * degli ingressi per tutto quel tempo coprirebbe proprio il grafo che si sta guardando. Il
5653
+ * pannello «Debug» prende il posto dell'attesa, e l'esito ci arriva quando arriva.
5654
+ */
5655
+ confirmRun(inputs: Record<string, unknown>): Promise<void>;
5550
5656
  createNewVersion(): Promise<void>;
5551
5657
  activate(): Promise<void>;
5552
5658
  /** §9.3 — prima opzione davanti a un conflitto. */
@@ -5582,5 +5688,5 @@ declare class SelectValueDirective implements AfterViewChecked {
5582
5688
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SelectValueDirective, "select[fbValue]", never, { "fbValue": { "alias": "fbValue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5583
5689
  }
5584
5690
 
5585
- export { ConditionEditorComponent, ConnectorEditorComponent, DebugPanelComponent, DynamicScreenInspectorComponent, ElementDialogComponent, ElementInspectorComponent, ElementPaletteComponent, EnumValuePickerComponent, FALLBACK_COLLECTION_BY_TYPE, FALLBACK_TYPE_LABEL, FLOW_BUILDER_HTTP_CONFIG, FLOW_CLIPBOARD_KIND, FLOW_CLIPBOARD_VERSION, FLOW_ELEMENT_ICONS, FLOW_ELEMENT_VARIANT_FIELDS, FLOW_ELEMENT_VARIANT_ICONS, FLOW_ERROR_FALLBACK_MESSAGE, FLOW_ERROR_HTTP_STATUS, FLOW_NAME_PATTERN, FLOW_NODE_COLLECTIONS, FLOW_NODE_HEIGHT, FLOW_NODE_WIDTH, FLOW_REFERENCE_FIELDS, FLOW_RESOURCE_COLLECTIONS, FLOW_VALUE_FIELDS, FLOW_VALUE_LITERAL_FIELDS, FieldAssignmentEditorComponent, FieldPickerComponent, FlowApiError, FlowBuilderApi, FlowBuilderComponent, FlowCanvasComponent, FlowCatalogStore, FlowClipboardService, FlowDictionaryStore, FlowDocumentStore, FlowEditorSession, FlowLayoutService, FlowValidationStore, FormulaEditorComponent, FormulaValidationService, HttpFlowBuilderApi, NamePickerComponent, NodeInspectorBase, ORCHESTRATION_CONDITION_OUTPUT, ObjectPickerComponent, OrchestratedStageInspectorComponent, ParameterEditorComponent, PasteDialogComponent, ProblemsPanelComponent, RecordFilterEditorComponent, ReferencePickerComponent, ResourcePanelComponent, SEVERITY_BUCKETS, SEVERITY_ICON, SEVERITY_LABEL, START_NODE_NAME, SelectValueDirective, StartInspectorComponent, StructureMemberPickerComponent, StructurePickerComponent, TYPES_WITH_AUTOMATIC_OUTPUT, TYPE_BY_COLLECTION, UNSUPPORTED_TYPES, ValueEditorComponent, VersionPanelComponent, allFieldsOf, applyPaste, areTypesComparable, buildClipboardPayload, canvasNodeId, checkConditionLogic, checkFlowName, describePathEntry, duplicateField, elementIcon, emptyFlowDefinition, fieldAt, filterReferences, flattenFields, flowNodeWidth, flowNodeWidthClass, innerNamesOf, insertField, isClipboardPayload, isCustomConditionLogic, isEmptyReferenceFilter, isFieldResource, isGlobalReference, isNumericType, isPathInside, isTypeCheckedOperator, isValidFlowName, isValued, loadPathLevel, matchesReferenceFilter, moveCondition, moveField, navigatePath, outletByKey, outletsOf, parseCanvasNodeId, parseInvariantNumber, parseSourceConnectorId, parseTargetConnectorId, pathAvailableNames, pathContainerLabel, pathKey, pathNotVerifiableMessage, planPaste, referenceRoot, referencedRootsOf, remapConditionLogic, removeCondition, removeField, resolvePath, rewriteReferences, samePath, screenActionNames, screenFieldNames, severityBucket, slugifyFlowName, sourceConnectorId, stageStepNames, stageStepOutputReferenced, stepsOf, targetConnectorId, typeOfCollection, uniqueFlowName, valuedFieldOf, valuedFieldsOf, variantFieldOf, variantOf, variantPresetOf };
5586
- export type { FieldAssignmentHolder, FilterHolder, FlowActionCall, FlowAnyNode, FlowAssignment, FlowAssignmentItem, FlowAssignmentOperator, FlowAssignmentOperatorEntry, FlowBuilderHttpConfig, FlowCanvasEdge, FlowCanvasNode, FlowCatalogEntry, FlowCatalogParameter, FlowChoice, FlowClipboardNode, FlowClipboardPayload, FlowClipboardResource, FlowCloneRequest, FlowCollectionProcessor, FlowCollectionProcessorType, FlowComparisonOperator, FlowComparisonOperatorEntry, FlowCondition, FlowConditionHolder, FlowConditionLogic, FlowConflictState, FlowConnectionKind, FlowConnector, FlowConnectorTarget, FlowConstant, FlowCreateRequest, FlowCustomError, FlowCustomErrorMessage, FlowCustomProperty, FlowDataType, FlowDataTypeEntry, FlowDecision, FlowDecisionRule, FlowDefinition, FlowDictionaries, FlowDictionaryEntry, FlowDynamicChoiceSet, FlowDynamicScreen, FlowEdge, FlowElementType, FlowElementTypeEntry, FlowEnumValue, FlowErrorCategory, FlowExportQuery, FlowFieldDescription, FlowFieldUsage, FlowFieldValue, FlowFormKind, FlowFormula, FlowFormulaIssue, FlowFormulaUsage, FlowFormulaValidationRequest, FlowFormulaValidationResult, FlowGlobalVariableEntry, FlowInputFieldAssignment, FlowInputParameter, FlowInterviewResult, FlowInterviewStatus, FlowIssueSeverity, FlowLayoutDirection, FlowLayoutNodeInput, FlowLayoutOptions, FlowLayoutResult, FlowListQuery, FlowLoop, FlowNameCheck, FlowNameProblem, FlowNewVersionRequest, FlowNodeBase, FlowNodeCollection, FlowNodeRef, FlowObjectDescription, FlowObjectSummary, FlowOffsetUnit, FlowOrchestratedStage, FlowOutlet, FlowOutline, FlowOutlineConnection, FlowOutlineNode, FlowOutputFieldAssignment, FlowOutputParameter, FlowPalettePick, FlowPastePlan, FlowPasteRename, FlowPasteResource, FlowPendingScreen, FlowProcessType, FlowRecordCreate, FlowRecordDelete, FlowRecordFilter, FlowRecordFilterOperator, FlowRecordLookup, FlowRecordRollback, FlowRecordTriggerType, FlowRecordUpdate, FlowRecordValue, FlowReference, FlowReferenceFilter, FlowReferenceKind, FlowRegionContainerType, FlowResourceCollection, FlowResourceKindEntry, FlowResourceRef, FlowResumeRequest, FlowSaveRequest, FlowSaveResult, FlowSchedule, FlowScheduledPath, FlowScreen, FlowScreenAction, FlowScreenField, FlowScreenFieldInputsRevisited, FlowScreenFieldNode, FlowScreenFieldPath, FlowScreenFieldType, FlowScreenFieldTypeEntry, FlowScreenNavigation, FlowScreenResponseRequest, FlowScreenTrigger, FlowScreenTriggerInitBehavior, FlowScreenValidationRule, FlowScriptPluginCall, FlowSeverityBucket, FlowSortOption, FlowSortOrder, FlowStage, FlowStageStep, FlowStageStepActionType, FlowStageStepAssignee, FlowStageStepConditionActionType, FlowStageStepRequest, FlowStageStepState, FlowStageStepStatus, FlowStageStepTypeEntry, FlowStart, FlowStartInterviewRequest, FlowStructureDescribed, FlowStructureDescription, FlowStructureInstance, FlowStructureMember, FlowSubflow, FlowSubflowInputAssignment, FlowSubflowOutputAssignment, FlowSummary, FlowTextTemplate, FlowTraceEntry, FlowTransactionModel, FlowTransform, FlowTransformType, FlowTransformValue, FlowTransformValueAction, FlowTriggerType, FlowTypedEntry, FlowTypedValue, FlowUnsupportedNode, FlowValidationIssue, FlowValidationResult, FlowValue, FlowVariable, FlowVersionStatus, FlowVersionSummary, FlowWait, FlowWaitEvent, NamePickerOption, PaletteGroup, PaletteItem, ParameterHolder, PathCatalog, PathContainer, PathContainerKind, PathEntry, PathLevel, PathLevelStatus, PathNavigation, PathNavigationRequest, PathResolution, PathStopReason, StructureMemberUsage, ValueMode };
5691
+ export { ConditionEditorComponent, ConnectorEditorComponent, DebugPanelComponent, DynamicScreenInspectorComponent, ElementDialogComponent, ElementInspectorComponent, ElementPaletteComponent, EnumValuePickerComponent, FALLBACK_COLLECTION_BY_TYPE, FALLBACK_TYPE_LABEL, FLOW_BUILDER_HTTP_CONFIG, FLOW_CLIPBOARD_KIND, FLOW_CLIPBOARD_VERSION, FLOW_ELEMENT_ICONS, FLOW_ELEMENT_VARIANT_FIELDS, FLOW_ELEMENT_VARIANT_ICONS, FLOW_ERROR_FALLBACK_MESSAGE, FLOW_ERROR_HTTP_STATUS, FLOW_NAME_PATTERN, FLOW_NODE_COLLECTIONS, FLOW_NODE_HEIGHT, FLOW_NODE_WIDTH, FLOW_REFERENCE_FIELDS, FLOW_RESOURCE_COLLECTIONS, FLOW_VALUE_FIELDS, FLOW_VALUE_LITERAL_FIELDS, FieldAssignmentEditorComponent, FieldPickerComponent, FlowApiError, FlowBuilderApi, FlowBuilderComponent, FlowCanvasComponent, FlowCatalogStore, FlowClipboardService, FlowDictionaryStore, FlowDocumentStore, FlowEditorSession, FlowLayoutService, FlowValidationStore, FormulaEditorComponent, FormulaValidationService, HttpFlowBuilderApi, NamePickerComponent, NodeInspectorBase, ORCHESTRATION_CONDITION_OUTPUT, ObjectPickerComponent, OrchestratedStageInspectorComponent, ParameterEditorComponent, PasteDialogComponent, ProblemsPanelComponent, RecordFilterEditorComponent, ReferencePickerComponent, ResourcePanelComponent, RunDialogComponent, SEVERITY_BUCKETS, SEVERITY_ICON, SEVERITY_LABEL, START_NODE_NAME, SelectValueDirective, StartInspectorComponent, StructureMemberPickerComponent, StructurePickerComponent, TYPES_WITH_AUTOMATIC_OUTPUT, TYPE_BY_COLLECTION, UNSUPPORTED_TYPES, ValueEditorComponent, VersionPanelComponent, allFieldsOf, applyPaste, areTypesComparable, buildClipboardPayload, canvasNodeId, checkConditionLogic, checkFlowName, describePathEntry, duplicateField, elementIcon, emptyFlowDefinition, fieldAt, filterReferences, flattenFields, flowNodeWidth, flowNodeWidthClass, innerNamesOf, insertField, isClipboardPayload, isCustomConditionLogic, isEmptyReferenceFilter, isFieldResource, isGlobalReference, isNumericType, isPathInside, isTypeCheckedOperator, isValidFlowName, isValued, loadPathLevel, matchesReferenceFilter, moveCondition, moveField, navigatePath, outletByKey, outletsOf, parseCanvasNodeId, parseInvariantNumber, parseSourceConnectorId, parseTargetConnectorId, pathAvailableNames, pathContainerLabel, pathKey, pathNotVerifiableMessage, planPaste, referenceRoot, referencedRootsOf, remapConditionLogic, removeCondition, removeField, resolvePath, rewriteReferences, samePath, screenActionNames, screenFieldNames, severityBucket, slugifyFlowName, sourceConnectorId, stageStepNames, stageStepOutputReferenced, stepsOf, targetConnectorId, typeOfCollection, uniqueFlowName, valuedFieldOf, valuedFieldsOf, variantFieldOf, variantOf, variantPresetOf };
5692
+ export type { FieldAssignmentHolder, FilterHolder, FlowActionCall, FlowAnyNode, FlowAssignment, FlowAssignmentItem, FlowAssignmentOperator, FlowAssignmentOperatorEntry, FlowBuilderHttpConfig, FlowCanvasEdge, FlowCanvasNode, FlowCatalogEntry, FlowCatalogParameter, FlowChoice, FlowClipboardNode, FlowClipboardPayload, FlowClipboardResource, FlowCloneRequest, FlowCollectionProcessor, FlowCollectionProcessorType, FlowComparisonOperator, FlowComparisonOperatorEntry, FlowCondition, FlowConditionHolder, FlowConditionLogic, FlowConflictState, FlowConnectionKind, FlowConnector, FlowConnectorTarget, FlowConstant, FlowCreateRequest, FlowCustomError, FlowCustomErrorMessage, FlowCustomProperty, FlowDataType, FlowDataTypeEntry, FlowDecision, FlowDecisionRule, FlowDefinition, FlowDictionaries, FlowDictionaryEntry, FlowDynamicChoiceSet, FlowDynamicScreen, FlowEdge, FlowElementType, FlowElementTypeEntry, FlowEnumValue, FlowErrorCategory, FlowExportQuery, FlowFieldDescription, FlowFieldUsage, FlowFieldValue, FlowFormKind, FlowFormula, FlowFormulaIssue, FlowFormulaUsage, FlowFormulaValidationRequest, FlowFormulaValidationResult, FlowGlobalVariableEntry, FlowInputFieldAssignment, FlowInputParameter, FlowInterviewResult, FlowInterviewStatus, FlowIssueSeverity, FlowLayoutDirection, FlowLayoutNodeInput, FlowLayoutOptions, FlowLayoutResult, FlowListQuery, FlowLoop, FlowNameCheck, FlowNameProblem, FlowNewVersionRequest, FlowNodeBase, FlowNodeCollection, FlowNodeRef, FlowObjectDescription, FlowObjectSummary, FlowOffsetUnit, FlowOrchestratedStage, FlowOutlet, FlowOutline, FlowOutlineConnection, FlowOutlineNode, FlowOutputFieldAssignment, FlowOutputParameter, FlowPalettePick, FlowPastePlan, FlowPasteRename, FlowPasteResource, FlowPendingScreen, FlowProcessType, FlowRecordCreate, FlowRecordDelete, FlowRecordFilter, FlowRecordFilterOperator, FlowRecordLookup, FlowRecordRollback, FlowRecordTriggerType, FlowRecordUpdate, FlowRecordValue, FlowReference, FlowReferenceFilter, FlowReferenceKind, FlowRegionContainerType, FlowResourceCollection, FlowResourceKindEntry, FlowResourceRef, FlowResumeRequest, FlowRunOutcome, FlowRunRequest, FlowSaveRequest, FlowSaveResult, FlowSchedule, FlowScheduledPath, FlowScreen, FlowScreenAction, FlowScreenField, FlowScreenFieldInputsRevisited, FlowScreenFieldNode, FlowScreenFieldPath, FlowScreenFieldType, FlowScreenFieldTypeEntry, FlowScreenNavigation, FlowScreenResponseRequest, FlowScreenTrigger, FlowScreenTriggerInitBehavior, FlowScreenValidationRule, FlowScriptPluginCall, FlowSeverityBucket, FlowSortOption, FlowSortOrder, FlowStage, FlowStageStep, FlowStageStepActionType, FlowStageStepAssignee, FlowStageStepConditionActionType, FlowStageStepRequest, FlowStageStepState, FlowStageStepStatus, FlowStageStepTypeEntry, FlowStart, FlowStartInterviewRequest, FlowStructureDescribed, FlowStructureDescription, FlowStructureInstance, FlowStructureMember, FlowSubflow, FlowSubflowInputAssignment, FlowSubflowOutputAssignment, FlowSummary, FlowTextTemplate, FlowTraceEntry, FlowTransactionModel, FlowTransform, FlowTransformType, FlowTransformValue, FlowTransformValueAction, FlowTriggerType, FlowTypedEntry, FlowTypedValue, FlowUnsupportedNode, FlowValidationIssue, FlowValidationResult, FlowValue, FlowVariable, FlowVersionStatus, FlowVersionSummary, FlowWait, FlowWaitEvent, NamePickerOption, PaletteGroup, PaletteItem, ParameterHolder, PathCatalog, PathContainer, PathContainerKind, PathEntry, PathLevel, PathLevelStatus, PathNavigation, PathNavigationRequest, PathResolution, PathStopReason, StructureMemberUsage, ValueMode };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/flow-builder",
3
- "version": "20.3.21",
3
+ "version": "20.3.22",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.2.14",
6
6
  "@angular/common": "^20.3.25",