@posiwise/flows 0.0.11 → 0.0.12
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/fesm2022/posiwise-flows.mjs +3684 -3561
- package/fesm2022/posiwise-flows.mjs.map +1 -1
- package/package.json +1 -1
- package/types/posiwise-flows.d.ts +155 -234
|
@@ -1,37 +1,32 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { AfterViewChecked, AfterViewInit,
|
|
3
|
-
import * as i1 from "@angular/router";
|
|
2
|
+
import { AfterViewChecked, AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, PipeTransform, SimpleChanges } from "@angular/core";
|
|
3
|
+
import * as i1$1 from "@angular/router";
|
|
4
|
+
import * as i1 from "@posiwise/shared-components";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import { FormGroup } from "@angular/forms";
|
|
8
|
+
import * as i4 from "@posiwise/core-guards";
|
|
9
|
+
import * as i5 from "@posiwise/core-transloco";
|
|
10
|
+
import * as i6 from "@posiwise/app-loader";
|
|
11
|
+
import * as i7 from "@posiwise/directives";
|
|
12
|
+
import * as i8 from "@posiwise/pipes";
|
|
13
|
+
import * as i9 from "@fortawesome/angular-fontawesome";
|
|
14
|
+
import * as i10 from "primeng/iconfield";
|
|
15
|
+
import * as i11 from "primeng/inputicon";
|
|
16
|
+
import * as i12 from "primeng/autocomplete";
|
|
17
|
+
import * as i13 from "primeng/inputtext";
|
|
18
|
+
import * as i14 from "rete-angular-plugin/22";
|
|
4
19
|
import { LazyLoadEvent, MenuItem } from "primeng/api";
|
|
5
20
|
import { AppBaseComponent } from "@posiwise/app-base-component";
|
|
6
|
-
import * as i33 from "@posiwise/shared-components";
|
|
7
|
-
import { ConfirmDialogService } from "@posiwise/shared-components";
|
|
8
|
-
import * as i35 from "@angular/forms";
|
|
9
|
-
import { UntypedFormGroup } from "@angular/forms";
|
|
10
|
-
import { Paging } from "@posiwise/common-utilities";
|
|
11
|
-
import { ProductsHttpService } from "@posiwise/shared-product-services";
|
|
12
21
|
import { Observable } from "rxjs";
|
|
13
|
-
import { PermissionService, SubscriptionService } from "@posiwise/common-services";
|
|
14
|
-
import { TranslocoService } from "@jsverse/transloco";
|
|
15
22
|
import { ClassicPreset, GetSchemes } from "rete";
|
|
16
23
|
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
17
|
-
import * as i34 from "@angular/common";
|
|
18
|
-
import * as i36 from "@posiwise/core-guards";
|
|
19
|
-
import * as i37 from "@posiwise/core-transloco";
|
|
20
|
-
import * as i38 from "@posiwise/app-loader";
|
|
21
|
-
import * as i39 from "@posiwise/directives";
|
|
22
|
-
import * as i40 from "@posiwise/pipes";
|
|
23
|
-
import * as i41 from "@fortawesome/angular-fontawesome";
|
|
24
|
-
import * as i42 from "primeng/iconfield";
|
|
25
|
-
import * as i43 from "primeng/inputicon";
|
|
26
|
-
import * as i44 from "primeng/autocomplete";
|
|
27
|
-
import * as i45 from "primeng/inputtext";
|
|
28
|
-
import * as i46 from "rete-angular-plugin/22";
|
|
29
24
|
declare namespace flows_private_routing_module_d_exports {
|
|
30
25
|
export { FlowsPrivateRoutingModule };
|
|
31
26
|
}
|
|
32
27
|
export declare class FlowsPrivateRoutingModule {
|
|
33
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsPrivateRoutingModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowsPrivateRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowsPrivateRoutingModule, never, [typeof i1$1.RouterModule], [typeof i1$1.RouterModule]>;
|
|
35
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowsPrivateRoutingModule>;
|
|
36
31
|
}
|
|
37
32
|
declare namespace flows_tabs_component_d_exports {
|
|
@@ -41,7 +36,7 @@ declare class FlowsTabsComponent {
|
|
|
41
36
|
items: MenuItem[];
|
|
42
37
|
constructor();
|
|
43
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsTabsComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsTabsComponent, "pw-flows-tabs", never, {}, {}, never, never,
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsTabsComponent, "pw-flows-tabs", never, {}, {}, never, never, true, never>;
|
|
45
40
|
}
|
|
46
41
|
type FlowWorkflowStatus = 'draft' | 'active' | 'paused';
|
|
47
42
|
declare const FLOW_WORKFLOW_STATUS_ORDER: readonly FlowWorkflowStatus[];
|
|
@@ -88,49 +83,10 @@ declare function flowWorkflowStatusOptions(labels: readonly string[]): {
|
|
|
88
83
|
value: FlowWorkflowStatus;
|
|
89
84
|
label: string;
|
|
90
85
|
}[];
|
|
91
|
-
declare function flowWorkflowForm():
|
|
86
|
+
declare function flowWorkflowForm(): FormGroup;
|
|
92
87
|
declare function flowVersionBadgeClass(version: Pick<FlowVersion, 'published_at'>): string;
|
|
93
88
|
declare function flowWorkflowBadgeClass(status: FlowWorkflowStatus): string;
|
|
94
89
|
declare function flowVersionEditorTitleKey(version: FlowVersion | null, duplicateOf?: FlowVersion | null): string;
|
|
95
|
-
/** One finding of FlowGraphCheck on the server; `code` is stable, `message` is the English fallback. */
|
|
96
|
-
interface FlowGraphIssue {
|
|
97
|
-
code: string;
|
|
98
|
-
message: string;
|
|
99
|
-
/** Null for a problem with the graph as a whole. */
|
|
100
|
-
node_id: string | null;
|
|
101
|
-
/** The param it is about, when there is one. */
|
|
102
|
-
field?: string | null;
|
|
103
|
-
}
|
|
104
|
-
interface FlowGraphCheck {
|
|
105
|
-
/** False when publishing would be refused. */
|
|
106
|
-
valid: boolean;
|
|
107
|
-
errors: FlowGraphIssue[];
|
|
108
|
-
/** Allowed by publishing, but most likely not meant. */
|
|
109
|
-
warnings: FlowGraphIssue[];
|
|
110
|
-
}
|
|
111
|
-
declare class FlowsWorkflowService {
|
|
112
|
-
private readonly api;
|
|
113
|
-
constructor(api: ProductsHttpService);
|
|
114
|
-
getWorkflows(subscriptionId: number, status: FlowWorkflowStatus | null, paging?: Paging): Observable<FlowWorkflowListResponse>;
|
|
115
|
-
getWorkflow(id: number, subscriptionId: number): Observable<FlowWorkflow>;
|
|
116
|
-
getVersion(id: number, subscriptionId: number): Observable<FlowVersion>;
|
|
117
|
-
createWorkflow(subscriptionId: number, attrs: FlowWorkflowAttrs): Observable<FlowWorkflow>;
|
|
118
|
-
updateWorkflow(id: number, subscriptionId: number, attrs: FlowWorkflowAttrs): Observable<FlowWorkflow>;
|
|
119
|
-
/** 433 when the workflow has runs. subscription_id is a query param, not a body. */
|
|
120
|
-
deleteWorkflow(id: number, subscriptionId: number): Observable<unknown>;
|
|
121
|
-
getVersions(workflowId: number, subscriptionId: number, paging?: Paging): Observable<FlowVersionListResponse>;
|
|
122
|
-
createVersion(workflowId: number, subscriptionId: number, graph: unknown): Observable<FlowVersion>;
|
|
123
|
-
/** Refused with 433 once the version is published. */
|
|
124
|
-
updateVersion(id: number, subscriptionId: number, graph: unknown): Observable<FlowVersion>;
|
|
125
|
-
/** What publishing would refuse, for a graph saved or not. Writes nothing. */
|
|
126
|
-
checkGraph(workflowId: number, subscriptionId: number, graph: unknown): Observable<FlowGraphCheck>;
|
|
127
|
-
/** Subscription admin only. Re-publishing is a server-side no-op. */
|
|
128
|
-
publishVersion(id: number, subscriptionId: number): Observable<FlowVersion>;
|
|
129
|
-
/** Publishes the version only if it passes the check; otherwise returns the check and writes nothing. */
|
|
130
|
-
publishChecked(workflowId: number, version: FlowVersion, subscriptionId: number): Observable<FlowVersion | FlowGraphCheck>;
|
|
131
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsWorkflowService, never>;
|
|
132
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
133
|
-
}
|
|
134
90
|
declare namespace flows_workflows_component_d_exports {
|
|
135
91
|
export { FlowsWorkflowsComponent };
|
|
136
92
|
}
|
|
@@ -173,7 +129,6 @@ declare class FlowsWorkflowsComponent extends AppBaseComponent implements OnInit
|
|
|
173
129
|
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
174
130
|
};
|
|
175
131
|
readonly badgeClass: typeof flowWorkflowBadgeClass;
|
|
176
|
-
constructor(injector: Injector, workflowService: FlowsWorkflowService, confirmDialog: ConfirmDialogService, cdr: ChangeDetectorRef);
|
|
177
132
|
ngOnInit(): void;
|
|
178
133
|
ngOnDestroy(): void;
|
|
179
134
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
@@ -186,7 +141,7 @@ declare class FlowsWorkflowsComponent extends AppBaseComponent implements OnInit
|
|
|
186
141
|
private load;
|
|
187
142
|
private settle;
|
|
188
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsWorkflowsComponent, never>;
|
|
189
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsWorkflowsComponent, "pw-flows-workflows", never, {}, {}, never, never,
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsWorkflowsComponent, "pw-flows-workflows", never, {}, {}, never, never, true, never>;
|
|
190
145
|
}
|
|
191
146
|
declare namespace flows_workflow_form_component_d_exports {
|
|
192
147
|
export { FlowsWorkflowFormComponent };
|
|
@@ -200,7 +155,7 @@ declare class FlowsWorkflowFormComponent extends AppBaseComponent implements OnI
|
|
|
200
155
|
saving: boolean;
|
|
201
156
|
workflowId: number | null;
|
|
202
157
|
notFound: boolean;
|
|
203
|
-
form:
|
|
158
|
+
form: FormGroup;
|
|
204
159
|
statusOptions: {
|
|
205
160
|
value: FlowWorkflowStatus;
|
|
206
161
|
label: string;
|
|
@@ -225,7 +180,6 @@ declare class FlowsWorkflowFormComponent extends AppBaseComponent implements OnI
|
|
|
225
180
|
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
226
181
|
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
227
182
|
};
|
|
228
|
-
constructor(injector: Injector, workflowService: FlowsWorkflowService, cdr: ChangeDetectorRef);
|
|
229
183
|
get isEdit(): boolean;
|
|
230
184
|
ngOnInit(): void;
|
|
231
185
|
ngOnDestroy(): void;
|
|
@@ -237,7 +191,23 @@ declare class FlowsWorkflowFormComponent extends AppBaseComponent implements OnI
|
|
|
237
191
|
private loadWorkflow;
|
|
238
192
|
private settle;
|
|
239
193
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsWorkflowFormComponent, never>;
|
|
240
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsWorkflowFormComponent, "pw-flows-workflow-form", never, {}, {}, never, never,
|
|
194
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsWorkflowFormComponent, "pw-flows-workflow-form", never, {}, {}, never, never, true, never>;
|
|
195
|
+
}
|
|
196
|
+
/** One finding of FlowGraphCheck on the server; `code` is stable, `message` is the English fallback. */
|
|
197
|
+
interface FlowGraphIssue {
|
|
198
|
+
code: string;
|
|
199
|
+
message: string;
|
|
200
|
+
/** Null for a problem with the graph as a whole. */
|
|
201
|
+
node_id: string | null;
|
|
202
|
+
/** The param it is about, when there is one. */
|
|
203
|
+
field?: string | null;
|
|
204
|
+
}
|
|
205
|
+
interface FlowGraphCheck {
|
|
206
|
+
/** False when publishing would be refused. */
|
|
207
|
+
valid: boolean;
|
|
208
|
+
errors: FlowGraphIssue[];
|
|
209
|
+
/** Allowed by publishing, but most likely not meant. */
|
|
210
|
+
warnings: FlowGraphIssue[];
|
|
241
211
|
}
|
|
242
212
|
/** What the version editor shows. Opening or closing it resets all of this together. */
|
|
243
213
|
declare class FlowVersionEditorState {
|
|
@@ -296,7 +266,7 @@ declare class FlowsWorkflowVersionsComponent extends AppBaseComponent implements
|
|
|
296
266
|
readonly isPublished: typeof isFlowVersionPublished;
|
|
297
267
|
readonly badgeClass: typeof flowVersionBadgeClass;
|
|
298
268
|
readonly canPublish: boolean;
|
|
299
|
-
constructor(
|
|
269
|
+
constructor();
|
|
300
270
|
ngOnInit(): void;
|
|
301
271
|
ngOnDestroy(): void;
|
|
302
272
|
openEditor(version?: FlowVersion | null, duplicateOf?: FlowVersion | null): void;
|
|
@@ -312,7 +282,7 @@ declare class FlowsWorkflowVersionsComponent extends AppBaseComponent implements
|
|
|
312
282
|
private openRequestedVersion;
|
|
313
283
|
private settle;
|
|
314
284
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsWorkflowVersionsComponent, never>;
|
|
315
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsWorkflowVersionsComponent, "pw-flows-workflow-versions", never, {}, {}, never, never,
|
|
285
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsWorkflowVersionsComponent, "pw-flows-workflow-versions", never, {}, {}, never, never, true, never>;
|
|
316
286
|
}
|
|
317
287
|
/** The fields that reach a node from one connected node before it. */
|
|
318
288
|
interface FlowFieldSource {
|
|
@@ -443,124 +413,6 @@ interface FlowWorkflowFields {
|
|
|
443
413
|
declare const NO_FLOW_WORKFLOW_FIELDS: FlowWorkflowFields;
|
|
444
414
|
declare function flowNodeFieldsKey(nodeId: string, type: string | null | undefined): string;
|
|
445
415
|
declare function toFlowWorkflowFields(rows: FlowWorkflowFieldsRow[] | undefined): FlowWorkflowFields;
|
|
446
|
-
declare class FlowsNodeService {
|
|
447
|
-
private readonly api;
|
|
448
|
-
private readonly cache;
|
|
449
|
-
private readonly refetched;
|
|
450
|
-
constructor(api: ProductsHttpService);
|
|
451
|
-
/** A list cached before `needed` types were declared is fetched again. */
|
|
452
|
-
getNodes(subscriptionId: number, needed?: readonly string[]): Observable<FlowNodeDefinition[]>;
|
|
453
|
-
private cached;
|
|
454
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsNodeService, never>;
|
|
455
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
456
|
-
}
|
|
457
|
-
/** A step error in words the person running the flow can act on: a translation key and its values. */
|
|
458
|
-
interface FlowStepErrorText {
|
|
459
|
-
key: string;
|
|
460
|
-
params: Record<string, string>;
|
|
461
|
-
/** Translation keys, not text. */
|
|
462
|
-
list?: string[];
|
|
463
|
-
}
|
|
464
|
-
interface FlowStepErrorContext {
|
|
465
|
-
system?: string | null;
|
|
466
|
-
product?: string | null;
|
|
467
|
-
}
|
|
468
|
-
/** Null for an empty error. */
|
|
469
|
-
declare function flowStepErrorText(error: string | null | undefined, context?: FlowStepErrorContext): FlowStepErrorText | null;
|
|
470
|
-
interface FlowErrorSource {
|
|
471
|
-
service: string;
|
|
472
|
-
system?: string;
|
|
473
|
-
}
|
|
474
|
-
/** products-api's Settings.endpoints.this_app.path. */
|
|
475
|
-
declare const FLOWS_SERVICE = "products-api";
|
|
476
|
-
/** Service names stay internal: customers see Flows, the product, or the system. */
|
|
477
|
-
declare function flowErrorSourceText(source: FlowErrorSource | null | undefined, product?: string | null): FlowStepErrorText | null;
|
|
478
|
-
type FlowRunStatus = 'running' | 'awaiting' | 'succeeded' | 'failed';
|
|
479
|
-
type FlowRunStepStatus = 'pending' | 'running' | 'awaiting' | 'succeeded' | 'failed' | 'skipped';
|
|
480
|
-
declare const FLOW_RUN_TERMINAL_STATUSES: readonly FlowRunStatus[];
|
|
481
|
-
declare const FLOW_RUN_STEP_SETTLED_STATUSES: readonly FlowRunStepStatus[];
|
|
482
|
-
interface FlowRun {
|
|
483
|
-
id: number;
|
|
484
|
-
flow_workflow_id: number;
|
|
485
|
-
flow_version_id: number;
|
|
486
|
-
flow_workflow_name?: string;
|
|
487
|
-
flow_version_number?: number;
|
|
488
|
-
status: FlowRunStatus;
|
|
489
|
-
trigger_payload: unknown;
|
|
490
|
-
error: string | null;
|
|
491
|
-
started_at: string | null;
|
|
492
|
-
finished_at: string | null;
|
|
493
|
-
created_at: string;
|
|
494
|
-
updated_at: string;
|
|
495
|
-
}
|
|
496
|
-
interface FlowRunStep {
|
|
497
|
-
id: number;
|
|
498
|
-
flow_run_id: number;
|
|
499
|
-
node_id: string;
|
|
500
|
-
status: FlowRunStepStatus;
|
|
501
|
-
input_items: unknown[] | null;
|
|
502
|
-
output_items: unknown[] | null;
|
|
503
|
-
error: string | null;
|
|
504
|
-
error_source?: FlowErrorSource | null;
|
|
505
|
-
attempts: number;
|
|
506
|
-
awaiting_since: string | null;
|
|
507
|
-
/** Set while a failed step waits to run again. */
|
|
508
|
-
retry_at?: string | null;
|
|
509
|
-
started_at: string | null;
|
|
510
|
-
finished_at: string | null;
|
|
511
|
-
created_at: string;
|
|
512
|
-
updated_at: string;
|
|
513
|
-
}
|
|
514
|
-
interface FlowRunListResponse {
|
|
515
|
-
flow_runs: FlowRun[];
|
|
516
|
-
object_count: number;
|
|
517
|
-
unfiltered_count: number;
|
|
518
|
-
}
|
|
519
|
-
interface FlowRunStepListResponse {
|
|
520
|
-
flow_run_steps: FlowRunStep[];
|
|
521
|
-
object_count: number;
|
|
522
|
-
unfiltered_count: number;
|
|
523
|
-
}
|
|
524
|
-
interface FlowRunQuery {
|
|
525
|
-
status?: FlowRunStatus;
|
|
526
|
-
flow_workflow_id?: number;
|
|
527
|
-
flow_version_id?: number;
|
|
528
|
-
}
|
|
529
|
-
declare function isFlowRunTerminal(run: Pick<FlowRun, 'status'>): boolean;
|
|
530
|
-
declare function isFlowRunStepSettled(step: Pick<FlowRunStep, 'status'>): boolean;
|
|
531
|
-
declare const FLOW_RUN_STATUS_ORDER: readonly FlowRunStatus[];
|
|
532
|
-
declare const FLOW_RUN_STATUS_KEYS: readonly string[];
|
|
533
|
-
declare function elapsedMs(from: string | null, to: string | null): number | null;
|
|
534
|
-
declare function flowRunBadgeClass(status: FlowRunStatus): string;
|
|
535
|
-
declare function flowRunStepBadgeClass(status: FlowRunStepStatus): string;
|
|
536
|
-
/** The time slot a scheduled run was for, from its trigger payload; null for any other run. */
|
|
537
|
-
declare function flowRunScheduledFor(run: FlowRun | undefined): string | null;
|
|
538
|
-
interface FlowRunDetail {
|
|
539
|
-
run: FlowRun;
|
|
540
|
-
steps: FlowRunStepListResponse;
|
|
541
|
-
}
|
|
542
|
-
/**
|
|
543
|
-
* Polls because the engine emits no run-lifecycle events yet; Part H swaps in
|
|
544
|
-
* a push here without any component changing.
|
|
545
|
-
*/
|
|
546
|
-
declare class FlowsRunService {
|
|
547
|
-
private readonly api;
|
|
548
|
-
RUNS_PATH: string;
|
|
549
|
-
constructor(api: ProductsHttpService);
|
|
550
|
-
getRuns(subscriptionId: number, query?: FlowRunQuery, paging?: Paging): Observable<FlowRunListResponse>;
|
|
551
|
-
getRun(id: number, subscriptionId: number): Observable<FlowRun>;
|
|
552
|
-
getRunSteps(runId: number, subscriptionId: number, paging?: Paging): Observable<FlowRunStepListResponse>;
|
|
553
|
-
/** Never completes on its own. Emits null for a failed poll, so what is shown stays. */
|
|
554
|
-
watchRuns(subscriptionId: number, query?: FlowRunQuery, paging?: Paging): Observable<FlowRunListResponse | null>;
|
|
555
|
-
/** An error before the run first loads ends the watch; after that, the next poll retries. */
|
|
556
|
-
watchRun(id: number, subscriptionId: number, paging?: Paging): Observable<FlowRunDetail>;
|
|
557
|
-
private hasUnsettledRun;
|
|
558
|
-
/** A help for the builder, so a failed load leaves it as it was before the flow ran. */
|
|
559
|
-
getWorkflowFields(workflowId: number, subscriptionId: number): Observable<FlowWorkflowFields>;
|
|
560
|
-
private definedQuery;
|
|
561
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsRunService, never>;
|
|
562
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
563
|
-
}
|
|
564
416
|
declare namespace flows_version_editor_component_d_exports {
|
|
565
417
|
export { FlowsVersionEditorComponent };
|
|
566
418
|
}
|
|
@@ -613,7 +465,6 @@ declare class FlowsVersionEditorComponent implements OnInit, OnChanges, OnDestro
|
|
|
613
465
|
selection: FlowNodeSelection | null;
|
|
614
466
|
dropped: FlowGraphEdge[];
|
|
615
467
|
saving: boolean;
|
|
616
|
-
constructor(workflowService: FlowsWorkflowService, nodeService: FlowsNodeService, runService: FlowsRunService, cdr: ChangeDetectorRef);
|
|
617
468
|
get readOnly(): boolean;
|
|
618
469
|
get headingKey(): string;
|
|
619
470
|
ngOnInit(): void;
|
|
@@ -650,7 +501,7 @@ declare class FlowsVersionEditorComponent implements OnInit, OnChanges, OnDestro
|
|
|
650
501
|
}, {
|
|
651
502
|
"saved": "saved";
|
|
652
503
|
"cancelled": "cancelled";
|
|
653
|
-
}, never, never,
|
|
504
|
+
}, never, never, true, never>;
|
|
654
505
|
}
|
|
655
506
|
declare namespace flows_graph_canvas_component_d_exports {
|
|
656
507
|
export { FlowsGraphCanvasComponent };
|
|
@@ -673,7 +524,6 @@ declare class FlowsGraphCanvasComponent implements AfterViewInit, OnChanges, OnD
|
|
|
673
524
|
private selected;
|
|
674
525
|
private reselect?;
|
|
675
526
|
private pending;
|
|
676
|
-
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
677
527
|
ngAfterViewInit(): void;
|
|
678
528
|
ngOnChanges(changes: SimpleChanges): void;
|
|
679
529
|
addNode(type: string): Promise<void>;
|
|
@@ -708,7 +558,7 @@ declare class FlowsGraphCanvasComponent implements AfterViewInit, OnChanges, OnD
|
|
|
708
558
|
"selectionChange": "selectionChange";
|
|
709
559
|
"graphChange": "graphChange";
|
|
710
560
|
"dropped": "dropped";
|
|
711
|
-
}, never, never,
|
|
561
|
+
}, never, never, true, never>;
|
|
712
562
|
}
|
|
713
563
|
declare namespace flows_graph_check_component_d_exports {
|
|
714
564
|
export { FlowGraphCheckRow, FlowsGraphCheckComponent };
|
|
@@ -751,7 +601,6 @@ declare class FlowsGraphCheckComponent implements OnChanges {
|
|
|
751
601
|
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
752
602
|
};
|
|
753
603
|
rows: FlowGraphCheckRow[];
|
|
754
|
-
constructor(translation: TranslocoService);
|
|
755
604
|
ngOnChanges(): void;
|
|
756
605
|
goTo(issue: FlowGraphIssue): void;
|
|
757
606
|
/** Where it is, for the list: the node's name, or nothing for the graph as a whole. */
|
|
@@ -775,8 +624,89 @@ declare class FlowsGraphCheckComponent implements OnChanges {
|
|
|
775
624
|
"alias": "result";
|
|
776
625
|
"required": false;
|
|
777
626
|
};
|
|
778
|
-
}, {}, never, never,
|
|
627
|
+
}, {}, never, never, true, never>;
|
|
628
|
+
}
|
|
629
|
+
/** A step error in words the person running the flow can act on: a translation key and its values. */
|
|
630
|
+
interface FlowStepErrorText {
|
|
631
|
+
key: string;
|
|
632
|
+
params: Record<string, string>;
|
|
633
|
+
/** Translation keys, not text. */
|
|
634
|
+
list?: string[];
|
|
635
|
+
}
|
|
636
|
+
interface FlowStepErrorContext {
|
|
637
|
+
system?: string | null;
|
|
638
|
+
product?: string | null;
|
|
639
|
+
}
|
|
640
|
+
/** Null for an empty error. */
|
|
641
|
+
declare function flowStepErrorText(error: string | null | undefined, context?: FlowStepErrorContext): FlowStepErrorText | null;
|
|
642
|
+
interface FlowErrorSource {
|
|
643
|
+
service: string;
|
|
644
|
+
system?: string;
|
|
645
|
+
}
|
|
646
|
+
/** products-api's Settings.endpoints.this_app.path. */
|
|
647
|
+
declare const FLOWS_SERVICE = "products-api";
|
|
648
|
+
/** Service names stay internal: customers see Flows, the product, or the system. */
|
|
649
|
+
declare function flowErrorSourceText(source: FlowErrorSource | null | undefined, product?: string | null): FlowStepErrorText | null;
|
|
650
|
+
type FlowRunStatus = 'running' | 'awaiting' | 'succeeded' | 'failed';
|
|
651
|
+
type FlowRunStepStatus = 'pending' | 'running' | 'awaiting' | 'succeeded' | 'failed' | 'skipped';
|
|
652
|
+
declare const FLOW_RUN_TERMINAL_STATUSES: readonly FlowRunStatus[];
|
|
653
|
+
declare const FLOW_RUN_STEP_SETTLED_STATUSES: readonly FlowRunStepStatus[];
|
|
654
|
+
interface FlowRun {
|
|
655
|
+
id: number;
|
|
656
|
+
flow_workflow_id: number;
|
|
657
|
+
flow_version_id: number;
|
|
658
|
+
flow_workflow_name?: string;
|
|
659
|
+
flow_version_number?: number;
|
|
660
|
+
status: FlowRunStatus;
|
|
661
|
+
trigger_payload: unknown;
|
|
662
|
+
error: string | null;
|
|
663
|
+
started_at: string | null;
|
|
664
|
+
finished_at: string | null;
|
|
665
|
+
created_at: string;
|
|
666
|
+
updated_at: string;
|
|
667
|
+
}
|
|
668
|
+
interface FlowRunStep {
|
|
669
|
+
id: number;
|
|
670
|
+
flow_run_id: number;
|
|
671
|
+
node_id: string;
|
|
672
|
+
status: FlowRunStepStatus;
|
|
673
|
+
input_items: unknown[] | null;
|
|
674
|
+
output_items: unknown[] | null;
|
|
675
|
+
error: string | null;
|
|
676
|
+
error_source?: FlowErrorSource | null;
|
|
677
|
+
attempts: number;
|
|
678
|
+
awaiting_since: string | null;
|
|
679
|
+
/** Set while a failed step waits to run again. */
|
|
680
|
+
retry_at?: string | null;
|
|
681
|
+
started_at: string | null;
|
|
682
|
+
finished_at: string | null;
|
|
683
|
+
created_at: string;
|
|
684
|
+
updated_at: string;
|
|
685
|
+
}
|
|
686
|
+
interface FlowRunListResponse {
|
|
687
|
+
flow_runs: FlowRun[];
|
|
688
|
+
object_count: number;
|
|
689
|
+
unfiltered_count: number;
|
|
690
|
+
}
|
|
691
|
+
interface FlowRunStepListResponse {
|
|
692
|
+
flow_run_steps: FlowRunStep[];
|
|
693
|
+
object_count: number;
|
|
694
|
+
unfiltered_count: number;
|
|
695
|
+
}
|
|
696
|
+
interface FlowRunQuery {
|
|
697
|
+
status?: FlowRunStatus;
|
|
698
|
+
flow_workflow_id?: number;
|
|
699
|
+
flow_version_id?: number;
|
|
779
700
|
}
|
|
701
|
+
declare function isFlowRunTerminal(run: Pick<FlowRun, 'status'>): boolean;
|
|
702
|
+
declare function isFlowRunStepSettled(step: Pick<FlowRunStep, 'status'>): boolean;
|
|
703
|
+
declare const FLOW_RUN_STATUS_ORDER: readonly FlowRunStatus[];
|
|
704
|
+
declare const FLOW_RUN_STATUS_KEYS: readonly string[];
|
|
705
|
+
declare function elapsedMs(from: string | null, to: string | null): number | null;
|
|
706
|
+
declare function flowRunBadgeClass(status: FlowRunStatus): string;
|
|
707
|
+
declare function flowRunStepBadgeClass(status: FlowRunStepStatus): string;
|
|
708
|
+
/** The time slot a scheduled run was for, from its trigger payload; null for any other run. */
|
|
709
|
+
declare function flowRunScheduledFor(run: FlowRun | undefined): string | null;
|
|
780
710
|
declare namespace flows_runs_component_d_exports {
|
|
781
711
|
export { FlowsRunsComponent };
|
|
782
712
|
}
|
|
@@ -820,7 +750,6 @@ declare class FlowsRunsComponent extends AppBaseComponent implements OnInit {
|
|
|
820
750
|
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
821
751
|
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
822
752
|
};
|
|
823
|
-
constructor(injector: Injector, flowsRunService: FlowsRunService, cdr: ChangeDetectorRef);
|
|
824
753
|
ngOnInit(): void;
|
|
825
754
|
ngOnDestroy(): void;
|
|
826
755
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
@@ -833,7 +762,7 @@ declare class FlowsRunsComponent extends AppBaseComponent implements OnInit {
|
|
|
833
762
|
private loadRuns;
|
|
834
763
|
private settle;
|
|
835
764
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsRunsComponent, never>;
|
|
836
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsRunsComponent, "pw-flows-runs", never, {}, {}, never, never,
|
|
765
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsRunsComponent, "pw-flows-runs", never, {}, {}, never, never, true, never>;
|
|
837
766
|
}
|
|
838
767
|
declare namespace flows_runs_filters_component_d_exports {
|
|
839
768
|
export { FlowsRunsFiltersComponent };
|
|
@@ -856,7 +785,6 @@ declare class FlowsRunsFiltersComponent implements OnInit, OnDestroy {
|
|
|
856
785
|
statusOptions: Option<FlowRunStatus>[];
|
|
857
786
|
workflowOptions: Option<number>[];
|
|
858
787
|
versionOptions: Option<number>[];
|
|
859
|
-
constructor(translation: TranslocoService, workflowService: FlowsWorkflowService, cdr: ChangeDetectorRef);
|
|
860
788
|
ngOnInit(): void;
|
|
861
789
|
ngOnDestroy(): void;
|
|
862
790
|
onStatus(status: FlowRunStatus | null): void;
|
|
@@ -872,7 +800,7 @@ declare class FlowsRunsFiltersComponent implements OnInit, OnDestroy {
|
|
|
872
800
|
};
|
|
873
801
|
}, {
|
|
874
802
|
"queryChange": "queryChange";
|
|
875
|
-
}, never, never,
|
|
803
|
+
}, never, never, true, never>;
|
|
876
804
|
}
|
|
877
805
|
type FlowCronMode = 'minutes' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
878
806
|
interface FlowCronSchedule {
|
|
@@ -910,7 +838,7 @@ declare class FlowsCronFieldComponent implements OnChanges {
|
|
|
910
838
|
label: string;
|
|
911
839
|
}[];
|
|
912
840
|
private emitted;
|
|
913
|
-
constructor(
|
|
841
|
+
constructor();
|
|
914
842
|
ngOnChanges(): void;
|
|
915
843
|
get time(): string;
|
|
916
844
|
get weekdayLabel(): string;
|
|
@@ -933,7 +861,7 @@ declare class FlowsCronFieldComponent implements OnChanges {
|
|
|
933
861
|
};
|
|
934
862
|
}, {
|
|
935
863
|
"valueChange": "valueChange";
|
|
936
|
-
}, never, never,
|
|
864
|
+
}, never, never, true, never>;
|
|
937
865
|
}
|
|
938
866
|
declare namespace flows_timezone_field_component_d_exports {
|
|
939
867
|
export { FlowsTimezoneFieldComponent };
|
|
@@ -961,7 +889,7 @@ declare class FlowsTimezoneFieldComponent {
|
|
|
961
889
|
};
|
|
962
890
|
}, {
|
|
963
891
|
"valueChange": "valueChange";
|
|
964
|
-
}, never, never,
|
|
892
|
+
}, never, never, true, never>;
|
|
965
893
|
}
|
|
966
894
|
declare namespace flows_run_inspector_component_d_exports {
|
|
967
895
|
export { FlowsRunInspectorComponent };
|
|
@@ -1007,7 +935,6 @@ declare class FlowsRunInspectorComponent extends AppBaseComponent implements OnI
|
|
|
1007
935
|
nodeIds: string[];
|
|
1008
936
|
definitions: Record<string, FlowNodeDefinition>;
|
|
1009
937
|
private namedVersionId?;
|
|
1010
|
-
constructor(injector: Injector, flowsRunService: FlowsRunService, workflowService: FlowsWorkflowService, nodeService: FlowsNodeService, cdr: ChangeDetectorRef);
|
|
1011
938
|
ngOnInit(): void;
|
|
1012
939
|
ngOnDestroy(): void;
|
|
1013
940
|
back(): void;
|
|
@@ -1020,7 +947,7 @@ declare class FlowsRunInspectorComponent extends AppBaseComponent implements OnI
|
|
|
1020
947
|
private fail;
|
|
1021
948
|
private settle;
|
|
1022
949
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsRunInspectorComponent, never>;
|
|
1023
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsRunInspectorComponent, "pw-flows-run-inspector", never, {}, {}, never, never,
|
|
950
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsRunInspectorComponent, "pw-flows-run-inspector", never, {}, {}, never, never, true, never>;
|
|
1024
951
|
}
|
|
1025
952
|
declare namespace flows_run_progress_component_d_exports {
|
|
1026
953
|
export { FlowRunProgress, FlowsRunProgressComponent, flowRunProgress };
|
|
@@ -1048,7 +975,6 @@ declare class FlowsRunProgressComponent implements OnChanges, OnDestroy {
|
|
|
1048
975
|
progress: FlowRunProgress;
|
|
1049
976
|
elapsed: number | null;
|
|
1050
977
|
private tick$?;
|
|
1051
|
-
constructor(cdr: ChangeDetectorRef);
|
|
1052
978
|
get ended(): boolean;
|
|
1053
979
|
ngOnChanges(): void;
|
|
1054
980
|
ngOnDestroy(): void;
|
|
@@ -1067,7 +993,7 @@ declare class FlowsRunProgressComponent implements OnChanges, OnDestroy {
|
|
|
1067
993
|
"alias": "nodeIds";
|
|
1068
994
|
"required": false;
|
|
1069
995
|
};
|
|
1070
|
-
}, {}, never, never,
|
|
996
|
+
}, {}, never, never, true, never>;
|
|
1071
997
|
}
|
|
1072
998
|
declare namespace flows_step_error_component_d_exports {
|
|
1073
999
|
export { FlowsStepErrorComponent };
|
|
@@ -1123,7 +1049,7 @@ declare class FlowsStepErrorComponent implements OnChanges {
|
|
|
1123
1049
|
"alias": "product";
|
|
1124
1050
|
"required": false;
|
|
1125
1051
|
};
|
|
1126
|
-
}, {}, never, never,
|
|
1052
|
+
}, {}, never, never, true, never>;
|
|
1127
1053
|
}
|
|
1128
1054
|
declare namespace flows_run_error_component_d_exports {
|
|
1129
1055
|
export { FlowsRunErrorComponent };
|
|
@@ -1159,7 +1085,7 @@ declare class FlowsRunErrorComponent implements OnChanges {
|
|
|
1159
1085
|
"alias": "definitions";
|
|
1160
1086
|
"required": false;
|
|
1161
1087
|
};
|
|
1162
|
-
}, {}, never, never,
|
|
1088
|
+
}, {}, never, never, true, never>;
|
|
1163
1089
|
}
|
|
1164
1090
|
declare const FLOW_INPUT = "in";
|
|
1165
1091
|
declare class FlowCanvasNode extends ClassicPreset.Node {
|
|
@@ -1204,7 +1130,6 @@ declare class FlowsCanvasNodeComponent implements OnChanges {
|
|
|
1204
1130
|
seed: number;
|
|
1205
1131
|
inputs: SocketEntry[];
|
|
1206
1132
|
outputs: SocketEntry[];
|
|
1207
|
-
constructor(cdr: ChangeDetectorRef);
|
|
1208
1133
|
get width(): number;
|
|
1209
1134
|
get height(): number;
|
|
1210
1135
|
get selected(): boolean;
|
|
@@ -1228,7 +1153,7 @@ declare class FlowsCanvasNodeComponent implements OnChanges {
|
|
|
1228
1153
|
"alias": "rendered";
|
|
1229
1154
|
"required": false;
|
|
1230
1155
|
};
|
|
1231
|
-
}, {}, never, never,
|
|
1156
|
+
}, {}, never, never, true, never>;
|
|
1232
1157
|
}
|
|
1233
1158
|
declare namespace flows_canvas_socket_component_d_exports {
|
|
1234
1159
|
export { FlowsCanvasSocketComponent };
|
|
@@ -1247,7 +1172,7 @@ declare class FlowsCanvasSocketComponent implements OnChanges {
|
|
|
1247
1172
|
"alias": "rendered";
|
|
1248
1173
|
"required": false;
|
|
1249
1174
|
};
|
|
1250
|
-
}, {}, never, never,
|
|
1175
|
+
}, {}, never, never, true, never>;
|
|
1251
1176
|
}
|
|
1252
1177
|
declare namespace flows_canvas_connection_component_d_exports {
|
|
1253
1178
|
export { FlowsCanvasConnectionComponent };
|
|
@@ -1275,7 +1200,7 @@ declare class FlowsCanvasConnectionComponent {
|
|
|
1275
1200
|
"alias": "path";
|
|
1276
1201
|
"required": false;
|
|
1277
1202
|
};
|
|
1278
|
-
}, {}, never, never,
|
|
1203
|
+
}, {}, never, never, true, never>;
|
|
1279
1204
|
}
|
|
1280
1205
|
declare namespace flows_node_palette_component_d_exports {
|
|
1281
1206
|
export { FlowsNodePaletteComponent };
|
|
@@ -1304,7 +1229,7 @@ declare class FlowsNodePaletteComponent implements OnChanges {
|
|
|
1304
1229
|
};
|
|
1305
1230
|
}, {
|
|
1306
1231
|
"add": "add";
|
|
1307
|
-
}, never, never,
|
|
1232
|
+
}, never, never, true, never>;
|
|
1308
1233
|
}
|
|
1309
1234
|
type FlowFieldKind$1 = 'text' | 'textarea' | 'email' | 'member' | 'members' | 'json' | 'pairs' | 'mode' | 'cron' | 'timezone' | 'number' | 'select' | 'list' | 'choices';
|
|
1310
1235
|
interface FlowNodeField extends Omit<FlowParamDetail, 'kind'> {
|
|
@@ -1369,7 +1294,6 @@ declare class FlowsNodeInspectorComponent implements OnChanges, AfterViewChecked
|
|
|
1369
1294
|
id: string;
|
|
1370
1295
|
})[];
|
|
1371
1296
|
conditionNotAnObject: boolean;
|
|
1372
|
-
constructor(host: ElementRef<HTMLElement>);
|
|
1373
1297
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1374
1298
|
private saveFieldBeingTyped;
|
|
1375
1299
|
ngAfterViewChecked(): void;
|
|
@@ -1420,7 +1344,7 @@ declare class FlowsNodeInspectorComponent implements OnChanges, AfterViewChecked
|
|
|
1420
1344
|
}, {
|
|
1421
1345
|
"nodeChange": "nodeChange";
|
|
1422
1346
|
"remove": "remove";
|
|
1423
|
-
}, never, never,
|
|
1347
|
+
}, never, never, true, never>;
|
|
1424
1348
|
}
|
|
1425
1349
|
declare namespace flows_json_field_component_d_exports {
|
|
1426
1350
|
export { FlowsJsonFieldComponent };
|
|
@@ -1450,7 +1374,7 @@ declare class FlowsJsonFieldComponent implements OnChanges {
|
|
|
1450
1374
|
};
|
|
1451
1375
|
}, {
|
|
1452
1376
|
"valueChange": "valueChange";
|
|
1453
|
-
}, never, never,
|
|
1377
|
+
}, never, never, true, never>;
|
|
1454
1378
|
}
|
|
1455
1379
|
type FlowConditionOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains' | 'empty' | 'not_empty';
|
|
1456
1380
|
type FlowConditionValueType = 'text' | 'number' | 'boolean';
|
|
@@ -1516,7 +1440,7 @@ declare class FlowsConditionFieldComponent implements OnChanges {
|
|
|
1516
1440
|
mode: 'rules' | 'json';
|
|
1517
1441
|
incomplete: boolean;
|
|
1518
1442
|
private emitted;
|
|
1519
|
-
constructor(
|
|
1443
|
+
constructor();
|
|
1520
1444
|
ngOnChanges(): void;
|
|
1521
1445
|
get combinesRules(): boolean;
|
|
1522
1446
|
get canUseRules(): boolean;
|
|
@@ -1547,7 +1471,7 @@ declare class FlowsConditionFieldComponent implements OnChanges {
|
|
|
1547
1471
|
};
|
|
1548
1472
|
}, {
|
|
1549
1473
|
"valueChange": "valueChange";
|
|
1550
|
-
}, never, never,
|
|
1474
|
+
}, never, never, true, never>;
|
|
1551
1475
|
}
|
|
1552
1476
|
declare namespace flows_pairs_field_component_d_exports {
|
|
1553
1477
|
export { FlowsPairsFieldComponent };
|
|
@@ -1606,7 +1530,7 @@ declare class FlowsPairsFieldComponent implements OnChanges {
|
|
|
1606
1530
|
};
|
|
1607
1531
|
}, {
|
|
1608
1532
|
"valueChange": "valueChange";
|
|
1609
|
-
}, never, never,
|
|
1533
|
+
}, never, never, true, never>;
|
|
1610
1534
|
}
|
|
1611
1535
|
declare const FLOW_AI_DECIDE_TYPE = "logic.ai_decide";
|
|
1612
1536
|
interface FlowAiChoice {
|
|
@@ -1674,7 +1598,7 @@ declare class FlowsChoicesFieldComponent implements OnChanges {
|
|
|
1674
1598
|
};
|
|
1675
1599
|
}, {
|
|
1676
1600
|
"valueChange": "valueChange";
|
|
1677
|
-
}, never, never,
|
|
1601
|
+
}, never, never, true, never>;
|
|
1678
1602
|
}
|
|
1679
1603
|
declare namespace flows_param_field_component_d_exports {
|
|
1680
1604
|
export { FlowsParamFieldComponent };
|
|
@@ -1698,7 +1622,7 @@ declare class FlowsParamFieldComponent {
|
|
|
1698
1622
|
}[];
|
|
1699
1623
|
readonly defaultMergeMode: string;
|
|
1700
1624
|
readonly numberValue: typeof flowNumberValue;
|
|
1701
|
-
constructor(
|
|
1625
|
+
constructor();
|
|
1702
1626
|
/**
|
|
1703
1627
|
* What an editable select shows: `Duo` for a saved `{{vendor_name}}` when an earlier node
|
|
1704
1628
|
* is set to Duo. Only the shown text changes; the saved placeholder is untouched.
|
|
@@ -1734,7 +1658,7 @@ declare class FlowsParamFieldComponent {
|
|
|
1734
1658
|
};
|
|
1735
1659
|
}, {
|
|
1736
1660
|
"valueChange": "valueChange";
|
|
1737
|
-
}, never, never,
|
|
1661
|
+
}, never, never, true, never>;
|
|
1738
1662
|
}
|
|
1739
1663
|
interface FlowMember {
|
|
1740
1664
|
id: number;
|
|
@@ -1744,7 +1668,6 @@ interface FlowMember {
|
|
|
1744
1668
|
declare class FlowsMemberService {
|
|
1745
1669
|
private readonly subscriptions;
|
|
1746
1670
|
private readonly known;
|
|
1747
|
-
constructor(subscriptions: SubscriptionService);
|
|
1748
1671
|
search(subscriptionId: number, query: string): Observable<FlowMember[]>;
|
|
1749
1672
|
/** Name of a member already seen in a search, for ids stored in a saved graph. */
|
|
1750
1673
|
knownMember(id: number): FlowMember | undefined;
|
|
@@ -1767,7 +1690,6 @@ declare class FlowsMemberFieldComponent implements OnChanges, OnDestroy {
|
|
|
1767
1690
|
suggestions: FlowMember[];
|
|
1768
1691
|
failed: boolean;
|
|
1769
1692
|
private search?;
|
|
1770
|
-
constructor(members: FlowsMemberService, cdr: ChangeDetectorRef);
|
|
1771
1693
|
ngOnChanges(): void;
|
|
1772
1694
|
complete(query: string): void;
|
|
1773
1695
|
changed(selection: FlowMember | FlowMember[] | null): void;
|
|
@@ -1796,7 +1718,7 @@ declare class FlowsMemberFieldComponent implements OnChanges, OnDestroy {
|
|
|
1796
1718
|
};
|
|
1797
1719
|
}, {
|
|
1798
1720
|
"valueChange": "valueChange";
|
|
1799
|
-
}, never, never,
|
|
1721
|
+
}, never, never, true, never>;
|
|
1800
1722
|
}
|
|
1801
1723
|
declare namespace flows_retry_field_component_d_exports {
|
|
1802
1724
|
export { FlowsRetryFieldComponent };
|
|
@@ -1826,7 +1748,7 @@ declare class FlowsRetryFieldComponent {
|
|
|
1826
1748
|
};
|
|
1827
1749
|
}, {
|
|
1828
1750
|
"valueChange": "valueChange";
|
|
1829
|
-
}, never, never,
|
|
1751
|
+
}, never, never, true, never>;
|
|
1830
1752
|
}
|
|
1831
1753
|
declare namespace flows_available_fields_component_d_exports {
|
|
1832
1754
|
export { FlowFieldKind, FlowsAvailableFieldsComponent };
|
|
@@ -1852,7 +1774,7 @@ declare class FlowsAvailableFieldsComponent {
|
|
|
1852
1774
|
/** The box a pick goes into takes a field's name rather than a placeholder. */
|
|
1853
1775
|
names: boolean;
|
|
1854
1776
|
private box?;
|
|
1855
|
-
constructor(
|
|
1777
|
+
constructor();
|
|
1856
1778
|
/** Counts only what the box can take, which is all that is shown. */
|
|
1857
1779
|
get searchable(): boolean;
|
|
1858
1780
|
remember(target: EventTarget | null): void;
|
|
@@ -1891,7 +1813,7 @@ declare class FlowsAvailableFieldsComponent {
|
|
|
1891
1813
|
"alias": "nodeType";
|
|
1892
1814
|
"required": false;
|
|
1893
1815
|
};
|
|
1894
|
-
}, {}, never, never,
|
|
1816
|
+
}, {}, never, never, true, never>;
|
|
1895
1817
|
}
|
|
1896
1818
|
declare namespace flows_unknown_fields_component_d_exports {
|
|
1897
1819
|
export { FlowsUnknownFieldsComponent };
|
|
@@ -1933,7 +1855,7 @@ declare class FlowsUnknownFieldsComponent implements OnChanges {
|
|
|
1933
1855
|
"alias": "known";
|
|
1934
1856
|
"required": false;
|
|
1935
1857
|
};
|
|
1936
|
-
}, {}, never, never,
|
|
1858
|
+
}, {}, never, never, true, never>;
|
|
1937
1859
|
}
|
|
1938
1860
|
declare namespace flows_workflow_status_component_d_exports {
|
|
1939
1861
|
export { FlowsWorkflowStatusComponent };
|
|
@@ -1969,7 +1891,6 @@ declare class FlowsWorkflowStatusComponent {
|
|
|
1969
1891
|
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1970
1892
|
};
|
|
1971
1893
|
saving: boolean;
|
|
1972
|
-
constructor(workflowService: FlowsWorkflowService, confirmDialog: ConfirmDialogService, cdr: ChangeDetectorRef);
|
|
1973
1894
|
get isOn(): boolean;
|
|
1974
1895
|
toggle(): void;
|
|
1975
1896
|
/** Asked right after a publish, so a new workflow goes live in one more click. */
|
|
@@ -1992,7 +1913,7 @@ declare class FlowsWorkflowStatusComponent {
|
|
|
1992
1913
|
};
|
|
1993
1914
|
}, {
|
|
1994
1915
|
"workflowChange": "workflowChange";
|
|
1995
|
-
}, never, never,
|
|
1916
|
+
}, never, never, true, never>;
|
|
1996
1917
|
}
|
|
1997
1918
|
declare namespace flow_workflow_badge_pipe_d_exports {
|
|
1998
1919
|
export { FlowWorkflowBadgePipe };
|
|
@@ -2000,7 +1921,7 @@ declare namespace flow_workflow_badge_pipe_d_exports {
|
|
|
2000
1921
|
declare class FlowWorkflowBadgePipe implements PipeTransform {
|
|
2001
1922
|
transform(status: FlowWorkflowStatus): string;
|
|
2002
1923
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowWorkflowBadgePipe, never>;
|
|
2003
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FlowWorkflowBadgePipe, "flowWorkflowBadge",
|
|
1924
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FlowWorkflowBadgePipe, "flowWorkflowBadge", true>;
|
|
2004
1925
|
}
|
|
2005
1926
|
declare namespace flow_json_lines_pipe_d_exports {
|
|
2006
1927
|
export { FlowJsonLine, FlowJsonLinesPipe };
|
|
@@ -2013,10 +1934,10 @@ interface FlowJsonLine {
|
|
|
2013
1934
|
declare class FlowJsonLinesPipe implements PipeTransform {
|
|
2014
1935
|
transform(value: unknown): FlowJsonLine[];
|
|
2015
1936
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowJsonLinesPipe, never>;
|
|
2016
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FlowJsonLinesPipe, "flowJsonLines",
|
|
1937
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FlowJsonLinesPipe, "flowJsonLines", true>;
|
|
2017
1938
|
}
|
|
2018
1939
|
export declare class FlowsPrivateModule {
|
|
2019
1940
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsPrivateModule, never>;
|
|
2020
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowsPrivateModule, [typeof
|
|
1941
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowsPrivateModule, never, [typeof i1.PwStickyActionsComponent, typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.TrackDirtyFormDirective, typeof i5.CoreTranslocoModule, typeof i6.AppLoaderModule, typeof i1.SharedComponentsModule, typeof i7.DirectivesModule, typeof i8.PipesModule, typeof i9.FontAwesomeModule, typeof i10.IconFieldModule, typeof i11.InputIconModule, typeof i12.AutoCompleteModule, typeof i13.InputTextModule, typeof i14.ReteModule, typeof FlowsPrivateRoutingModule, typeof FlowsTabsComponent, typeof FlowsWorkflowsComponent, typeof FlowsWorkflowFormComponent, typeof FlowsWorkflowVersionsComponent, typeof FlowsVersionEditorComponent, typeof FlowsGraphCheckComponent, typeof FlowsRunsComponent, typeof FlowsRunsFiltersComponent, typeof FlowsCronFieldComponent, typeof FlowsTimezoneFieldComponent, typeof FlowsRunInspectorComponent, typeof FlowsRunProgressComponent, typeof FlowsStepErrorComponent, typeof FlowsRunErrorComponent, typeof FlowsGraphCanvasComponent, typeof FlowsCanvasNodeComponent, typeof FlowsCanvasSocketComponent, typeof FlowsCanvasConnectionComponent, typeof FlowsNodePaletteComponent, typeof FlowsNodeInspectorComponent, typeof FlowsJsonFieldComponent, typeof FlowsConditionFieldComponent, typeof FlowsPairsFieldComponent, typeof FlowsChoicesFieldComponent, typeof FlowsParamFieldComponent, typeof FlowsMemberFieldComponent, typeof FlowsRetryFieldComponent, typeof FlowsAvailableFieldsComponent, typeof FlowsUnknownFieldsComponent, typeof FlowsWorkflowStatusComponent, typeof FlowWorkflowBadgePipe, typeof FlowJsonLinesPipe], never>;
|
|
2021
1942
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowsPrivateModule>;
|
|
2022
1943
|
}
|