@posiwise/flows 0.0.8 → 0.0.10
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 +1539 -877
- package/fesm2022/posiwise-flows.mjs.map +1 -1
- package/package.json +1 -1
- package/types/posiwise-flows.d.ts +226 -35
package/package.json
CHANGED
|
@@ -3,9 +3,9 @@ import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, DestroyRef, Element
|
|
|
3
3
|
import * as i1 from "@angular/router";
|
|
4
4
|
import { LazyLoadEvent, MenuItem } from "primeng/api";
|
|
5
5
|
import { AppBaseComponent } from "@posiwise/app-base-component";
|
|
6
|
-
import * as
|
|
6
|
+
import * as i33 from "@posiwise/shared-components";
|
|
7
7
|
import { ConfirmDialogService } from "@posiwise/shared-components";
|
|
8
|
-
import * as
|
|
8
|
+
import * as i35 from "@angular/forms";
|
|
9
9
|
import { UntypedFormGroup } from "@angular/forms";
|
|
10
10
|
import { Paging } from "@posiwise/common-utilities";
|
|
11
11
|
import { ProductsHttpService } from "@posiwise/shared-product-services";
|
|
@@ -14,18 +14,18 @@ import { PermissionService, SubscriptionService } from "@posiwise/common-service
|
|
|
14
14
|
import { TranslocoService } from "@jsverse/transloco";
|
|
15
15
|
import { ClassicPreset, GetSchemes } from "rete";
|
|
16
16
|
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
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
29
|
declare namespace flows_private_routing_module_d_exports {
|
|
30
30
|
export { FlowsPrivateRoutingModule };
|
|
31
31
|
}
|
|
@@ -340,7 +340,7 @@ interface FlowParamDetail {
|
|
|
340
340
|
label?: string;
|
|
341
341
|
description?: string;
|
|
342
342
|
placeholder?: string;
|
|
343
|
-
kind?: 'text' | 'textarea' | 'number' | 'select';
|
|
343
|
+
kind?: 'text' | 'textarea' | 'number' | 'select' | 'choices';
|
|
344
344
|
options?: string[];
|
|
345
345
|
required?: boolean;
|
|
346
346
|
}
|
|
@@ -366,6 +366,8 @@ interface FlowNodeDefinition {
|
|
|
366
366
|
outputs: string[];
|
|
367
367
|
/** Dropped by the product that declared it: kept for flows that use it, not offered for new ones. */
|
|
368
368
|
retired?: boolean;
|
|
369
|
+
/** The product that declared the node; absent on the engine's own. */
|
|
370
|
+
product_key?: string | null;
|
|
369
371
|
}
|
|
370
372
|
interface FlowNodeListResponse {
|
|
371
373
|
flow_nodes: FlowNodeDefinition[];
|
|
@@ -440,11 +442,35 @@ declare function toFlowWorkflowFields(rows: FlowWorkflowFieldsRow[] | undefined)
|
|
|
440
442
|
declare class FlowsNodeService {
|
|
441
443
|
private readonly api;
|
|
442
444
|
private readonly cache;
|
|
445
|
+
private readonly refetched;
|
|
443
446
|
constructor(api: ProductsHttpService);
|
|
444
|
-
|
|
447
|
+
/** A list cached before `needed` types were declared is fetched again. */
|
|
448
|
+
getNodes(subscriptionId: number, needed?: readonly string[]): Observable<FlowNodeDefinition[]>;
|
|
449
|
+
private cached;
|
|
445
450
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsNodeService, never>;
|
|
446
451
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
447
452
|
}
|
|
453
|
+
/** A step error in words the person running the flow can act on: a translation key and its values. */
|
|
454
|
+
interface FlowStepErrorText {
|
|
455
|
+
key: string;
|
|
456
|
+
params: Record<string, string>;
|
|
457
|
+
/** Translation keys, not text. */
|
|
458
|
+
list?: string[];
|
|
459
|
+
}
|
|
460
|
+
interface FlowStepErrorContext {
|
|
461
|
+
system?: string | null;
|
|
462
|
+
product?: string | null;
|
|
463
|
+
}
|
|
464
|
+
/** Null for an empty error. */
|
|
465
|
+
declare function flowStepErrorText(error: string | null | undefined, context?: FlowStepErrorContext): FlowStepErrorText | null;
|
|
466
|
+
interface FlowErrorSource {
|
|
467
|
+
service: string;
|
|
468
|
+
system?: string;
|
|
469
|
+
}
|
|
470
|
+
/** products-api's Settings.endpoints.this_app.path. */
|
|
471
|
+
declare const FLOWS_SERVICE = "products-api";
|
|
472
|
+
/** Service names stay internal: customers see Flows, the product, or the system. */
|
|
473
|
+
declare function flowErrorSourceText(source: FlowErrorSource | null | undefined, product?: string | null): FlowStepErrorText | null;
|
|
448
474
|
type FlowRunStatus = 'running' | 'awaiting' | 'succeeded' | 'failed';
|
|
449
475
|
type FlowRunStepStatus = 'pending' | 'running' | 'awaiting' | 'succeeded' | 'failed' | 'skipped';
|
|
450
476
|
declare const FLOW_RUN_TERMINAL_STATUSES: readonly FlowRunStatus[];
|
|
@@ -471,6 +497,7 @@ interface FlowRunStep {
|
|
|
471
497
|
input_items: unknown[] | null;
|
|
472
498
|
output_items: unknown[] | null;
|
|
473
499
|
error: string | null;
|
|
500
|
+
error_source?: FlowErrorSource | null;
|
|
474
501
|
attempts: number;
|
|
475
502
|
awaiting_since: string | null;
|
|
476
503
|
/** Set while a failed step waits to run again. */
|
|
@@ -984,7 +1011,6 @@ declare class FlowsRunInspectorComponent extends AppBaseComponent implements OnI
|
|
|
984
1011
|
stepBadgeClass(status: FlowRunStepStatus): string;
|
|
985
1012
|
elapsed(from: string | null, to: string | null): number | null;
|
|
986
1013
|
toggleItems(stepId: number): void;
|
|
987
|
-
asJson(value: unknown): string;
|
|
988
1014
|
private watch;
|
|
989
1015
|
private nameNodes;
|
|
990
1016
|
private fail;
|
|
@@ -1039,13 +1065,6 @@ declare class FlowsRunProgressComponent implements OnChanges, OnDestroy {
|
|
|
1039
1065
|
};
|
|
1040
1066
|
}, {}, never, never, false, never>;
|
|
1041
1067
|
}
|
|
1042
|
-
/** A step error in words the person running the flow can act on: a translation key and its values. */
|
|
1043
|
-
interface FlowStepErrorText {
|
|
1044
|
-
key: string;
|
|
1045
|
-
params: Record<string, string>;
|
|
1046
|
-
}
|
|
1047
|
-
/** Null for an empty error. An unknown error keeps its own words, so nothing is hidden. */
|
|
1048
|
-
declare function flowStepErrorText(error: string | null | undefined): FlowStepErrorText | null;
|
|
1049
1068
|
declare namespace flows_step_error_component_d_exports {
|
|
1050
1069
|
export { FlowsStepErrorComponent };
|
|
1051
1070
|
}
|
|
@@ -1057,6 +1076,8 @@ declare class FlowsStepErrorComponent implements OnChanges {
|
|
|
1057
1076
|
error: string | null;
|
|
1058
1077
|
/** The step will run again, so the error is the last try's, not the outcome. */
|
|
1059
1078
|
retrying: boolean;
|
|
1079
|
+
source: FlowErrorSource | null | undefined;
|
|
1080
|
+
product: string | null | undefined;
|
|
1060
1081
|
readonly icons: {
|
|
1061
1082
|
readonly inspect: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1062
1083
|
readonly back: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -1078,6 +1099,7 @@ declare class FlowsStepErrorComponent implements OnChanges {
|
|
|
1078
1099
|
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1079
1100
|
};
|
|
1080
1101
|
text: FlowStepErrorText | null;
|
|
1102
|
+
sourceText: FlowStepErrorText | null;
|
|
1081
1103
|
ngOnChanges(): void;
|
|
1082
1104
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsStepErrorComponent, never>;
|
|
1083
1105
|
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsStepErrorComponent, "pw-flows-step-error", never, {
|
|
@@ -1089,6 +1111,50 @@ declare class FlowsStepErrorComponent implements OnChanges {
|
|
|
1089
1111
|
"alias": "retrying";
|
|
1090
1112
|
"required": false;
|
|
1091
1113
|
};
|
|
1114
|
+
"source": {
|
|
1115
|
+
"alias": "source";
|
|
1116
|
+
"required": false;
|
|
1117
|
+
};
|
|
1118
|
+
"product": {
|
|
1119
|
+
"alias": "product";
|
|
1120
|
+
"required": false;
|
|
1121
|
+
};
|
|
1122
|
+
}, {}, never, never, false, never>;
|
|
1123
|
+
}
|
|
1124
|
+
declare namespace flows_run_error_component_d_exports {
|
|
1125
|
+
export { FlowsRunErrorComponent };
|
|
1126
|
+
}
|
|
1127
|
+
declare class FlowsRunErrorComponent implements OnChanges {
|
|
1128
|
+
error: string | null;
|
|
1129
|
+
steps: FlowRunStep[];
|
|
1130
|
+
nodeTypes: Record<string, string>;
|
|
1131
|
+
definitions: Record<string, FlowNodeDefinition>;
|
|
1132
|
+
readonly labelKey: typeof flowNodeLabelKey;
|
|
1133
|
+
text: FlowStepErrorText | null;
|
|
1134
|
+
step?: FlowRunStep;
|
|
1135
|
+
type?: string;
|
|
1136
|
+
sourceText: FlowStepErrorText | null;
|
|
1137
|
+
ngOnChanges(): void;
|
|
1138
|
+
private source;
|
|
1139
|
+
private product;
|
|
1140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsRunErrorComponent, never>;
|
|
1141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsRunErrorComponent, "pw-flows-run-error", never, {
|
|
1142
|
+
"error": {
|
|
1143
|
+
"alias": "error";
|
|
1144
|
+
"required": false;
|
|
1145
|
+
};
|
|
1146
|
+
"steps": {
|
|
1147
|
+
"alias": "steps";
|
|
1148
|
+
"required": false;
|
|
1149
|
+
};
|
|
1150
|
+
"nodeTypes": {
|
|
1151
|
+
"alias": "nodeTypes";
|
|
1152
|
+
"required": false;
|
|
1153
|
+
};
|
|
1154
|
+
"definitions": {
|
|
1155
|
+
"alias": "definitions";
|
|
1156
|
+
"required": false;
|
|
1157
|
+
};
|
|
1092
1158
|
}, {}, never, never, false, never>;
|
|
1093
1159
|
}
|
|
1094
1160
|
declare const FLOW_INPUT = "in";
|
|
@@ -1098,6 +1164,9 @@ declare class FlowCanvasNode extends ClassicPreset.Node {
|
|
|
1098
1164
|
width: number;
|
|
1099
1165
|
height: number;
|
|
1100
1166
|
constructor(flowNode: FlowGraphNode, definition: FlowNodeDefinition | null, label: string, hasInput: boolean, outputs: readonly string[]);
|
|
1167
|
+
syncOutputs(outputs: readonly string[]): string[];
|
|
1168
|
+
private addBranch;
|
|
1169
|
+
private fitHeight;
|
|
1101
1170
|
}
|
|
1102
1171
|
declare class FlowCanvasConnection extends ClassicPreset.Connection<ClassicPreset.Node, ClassicPreset.Node> {}
|
|
1103
1172
|
type FlowCanvasSchemes = GetSchemes<FlowCanvasNode, FlowCanvasConnection>;
|
|
@@ -1233,7 +1302,7 @@ declare class FlowsNodePaletteComponent implements OnChanges {
|
|
|
1233
1302
|
"add": "add";
|
|
1234
1303
|
}, never, never, false, never>;
|
|
1235
1304
|
}
|
|
1236
|
-
type FlowFieldKind$1 = 'text' | 'textarea' | 'email' | 'member' | 'members' | 'json' | 'pairs' | 'mode' | 'cron' | 'timezone' | 'number' | 'select' | 'list';
|
|
1305
|
+
type FlowFieldKind$1 = 'text' | 'textarea' | 'email' | 'member' | 'members' | 'json' | 'pairs' | 'mode' | 'cron' | 'timezone' | 'number' | 'select' | 'list' | 'choices';
|
|
1237
1306
|
interface FlowNodeField extends Omit<FlowParamDetail, 'kind'> {
|
|
1238
1307
|
key: string;
|
|
1239
1308
|
kind: FlowFieldKind$1;
|
|
@@ -1286,26 +1355,18 @@ declare class FlowsNodeInspectorComponent implements OnChanges, AfterViewChecked
|
|
|
1286
1355
|
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1287
1356
|
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1288
1357
|
};
|
|
1289
|
-
mergeModes: {
|
|
1290
|
-
value: string;
|
|
1291
|
-
label: string;
|
|
1292
|
-
}[];
|
|
1293
|
-
readonly defaultMergeMode: string;
|
|
1294
1358
|
readonly labelKey: typeof flowNodeLabelKey;
|
|
1295
1359
|
readonly paramLabelKey: typeof flowParamLabelKey;
|
|
1296
1360
|
readonly paramHelpKey: typeof flowParamHelpKey;
|
|
1297
|
-
readonly numberValue: typeof flowNumberValue;
|
|
1298
1361
|
/** `id` names the node too, so each node gets its own inputs. */
|
|
1299
1362
|
fields: (FlowNodeField & {
|
|
1300
1363
|
id: string;
|
|
1301
1364
|
})[];
|
|
1302
1365
|
conditionNotAnObject: boolean;
|
|
1303
|
-
constructor(
|
|
1366
|
+
constructor(host: ElementRef<HTMLElement>);
|
|
1304
1367
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1305
1368
|
private saveFieldBeingTyped;
|
|
1306
1369
|
ngAfterViewChecked(): void;
|
|
1307
|
-
/** A list is picked from what is known, and typed when nothing is known yet. */
|
|
1308
|
-
kindOf(field: FlowNodeField): FlowNodeField['kind'];
|
|
1309
1370
|
fieldId(key: string): string;
|
|
1310
1371
|
param(key: string): unknown;
|
|
1311
1372
|
setParam(key: string, value: unknown): void;
|
|
@@ -1537,6 +1598,123 @@ declare class FlowsPairsFieldComponent implements OnChanges {
|
|
|
1537
1598
|
"valueChange": "valueChange";
|
|
1538
1599
|
}, never, never, false, never>;
|
|
1539
1600
|
}
|
|
1601
|
+
declare const FLOW_AI_DECIDE_TYPE = "logic.ai_decide";
|
|
1602
|
+
interface FlowAiChoice {
|
|
1603
|
+
name: string;
|
|
1604
|
+
description: string;
|
|
1605
|
+
}
|
|
1606
|
+
declare function flowAiChoices(node: FlowGraphNode): FlowAiChoice[];
|
|
1607
|
+
/** Must match products-api FlowNodeOutputs.of. */
|
|
1608
|
+
declare function flowNodeOutputs(node: FlowGraphNode, definition: FlowNodeDefinition): string[];
|
|
1609
|
+
declare namespace flows_choices_field_component_d_exports {
|
|
1610
|
+
export { FLOW_RESERVED_CHOICES, FlowsChoicesFieldComponent, flowChoiceName, flowChoiceProblem };
|
|
1611
|
+
}
|
|
1612
|
+
/** Lower snake case, which is what products-api accepts as a branch name. */
|
|
1613
|
+
declare function flowChoiceName(name: string): string;
|
|
1614
|
+
/** products-api FlowAiDecideParams::RESERVED: the node's own branches. */
|
|
1615
|
+
declare const FLOW_RESERVED_CHOICES: string[];
|
|
1616
|
+
/** A name that would get no output of its own: a built-in branch, or one used above. */
|
|
1617
|
+
declare function flowChoiceProblem(names: readonly string[], index: number): string | null;
|
|
1618
|
+
declare class FlowsChoicesFieldComponent implements OnChanges {
|
|
1619
|
+
value: unknown;
|
|
1620
|
+
inputId: string;
|
|
1621
|
+
readOnly: boolean;
|
|
1622
|
+
readonly valueChange: EventEmitter<FlowAiChoice[]>;
|
|
1623
|
+
readonly icons: {
|
|
1624
|
+
readonly inspect: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1625
|
+
readonly back: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1626
|
+
readonly error: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1627
|
+
readonly create: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1628
|
+
readonly edit: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1629
|
+
readonly delete: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1630
|
+
readonly versions: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1631
|
+
readonly search: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1632
|
+
readonly publish: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1633
|
+
readonly duplicate: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1634
|
+
readonly fit: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1635
|
+
readonly diagram: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1636
|
+
readonly json: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1637
|
+
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1638
|
+
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1639
|
+
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1640
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1641
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1642
|
+
};
|
|
1643
|
+
choices: FlowAiChoice[];
|
|
1644
|
+
problems: (string | null)[];
|
|
1645
|
+
private emitted;
|
|
1646
|
+
ngOnChanges(): void;
|
|
1647
|
+
addChoice(): void;
|
|
1648
|
+
removeChoice(index: number): void;
|
|
1649
|
+
commit(): void;
|
|
1650
|
+
private checkNames;
|
|
1651
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsChoicesFieldComponent, never>;
|
|
1652
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsChoicesFieldComponent, "pw-flows-choices-field", never, {
|
|
1653
|
+
"value": {
|
|
1654
|
+
"alias": "value";
|
|
1655
|
+
"required": false;
|
|
1656
|
+
};
|
|
1657
|
+
"inputId": {
|
|
1658
|
+
"alias": "inputId";
|
|
1659
|
+
"required": false;
|
|
1660
|
+
};
|
|
1661
|
+
"readOnly": {
|
|
1662
|
+
"alias": "readOnly";
|
|
1663
|
+
"required": false;
|
|
1664
|
+
};
|
|
1665
|
+
}, {
|
|
1666
|
+
"valueChange": "valueChange";
|
|
1667
|
+
}, never, never, false, never>;
|
|
1668
|
+
}
|
|
1669
|
+
declare namespace flows_param_field_component_d_exports {
|
|
1670
|
+
export { FlowsParamFieldComponent };
|
|
1671
|
+
}
|
|
1672
|
+
declare class FlowsParamFieldComponent {
|
|
1673
|
+
/** `id` names the node too, so each node gets its own inputs. */
|
|
1674
|
+
field: FlowNodeField & {
|
|
1675
|
+
id: string;
|
|
1676
|
+
};
|
|
1677
|
+
value: unknown;
|
|
1678
|
+
readOnly: boolean;
|
|
1679
|
+
subscriptionId: number;
|
|
1680
|
+
/** The lists Split out can pick from; empty until the node before it has run. */
|
|
1681
|
+
listSuggestions: string[];
|
|
1682
|
+
readonly valueChange: EventEmitter<unknown>;
|
|
1683
|
+
mergeModes: {
|
|
1684
|
+
value: string;
|
|
1685
|
+
label: string;
|
|
1686
|
+
}[];
|
|
1687
|
+
readonly defaultMergeMode: string;
|
|
1688
|
+
readonly numberValue: typeof flowNumberValue;
|
|
1689
|
+
constructor(translation: TranslocoService, cdr: ChangeDetectorRef, destroyRef: DestroyRef);
|
|
1690
|
+
/** A list is picked from what is known, and typed when nothing is known yet. */
|
|
1691
|
+
get kind(): FlowNodeField['kind'];
|
|
1692
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsParamFieldComponent, never>;
|
|
1693
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowsParamFieldComponent, "pw-flows-param-field", never, {
|
|
1694
|
+
"field": {
|
|
1695
|
+
"alias": "field";
|
|
1696
|
+
"required": false;
|
|
1697
|
+
};
|
|
1698
|
+
"value": {
|
|
1699
|
+
"alias": "value";
|
|
1700
|
+
"required": false;
|
|
1701
|
+
};
|
|
1702
|
+
"readOnly": {
|
|
1703
|
+
"alias": "readOnly";
|
|
1704
|
+
"required": false;
|
|
1705
|
+
};
|
|
1706
|
+
"subscriptionId": {
|
|
1707
|
+
"alias": "subscriptionId";
|
|
1708
|
+
"required": false;
|
|
1709
|
+
};
|
|
1710
|
+
"listSuggestions": {
|
|
1711
|
+
"alias": "listSuggestions";
|
|
1712
|
+
"required": false;
|
|
1713
|
+
};
|
|
1714
|
+
}, {
|
|
1715
|
+
"valueChange": "valueChange";
|
|
1716
|
+
}, never, never, false, never>;
|
|
1717
|
+
}
|
|
1540
1718
|
interface FlowMember {
|
|
1541
1719
|
id: number;
|
|
1542
1720
|
name: string;
|
|
@@ -1803,8 +1981,21 @@ declare class FlowWorkflowBadgePipe implements PipeTransform {
|
|
|
1803
1981
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowWorkflowBadgePipe, never>;
|
|
1804
1982
|
static ɵpipe: i0.ɵɵPipeDeclaration<FlowWorkflowBadgePipe, "flowWorkflowBadge", false>;
|
|
1805
1983
|
}
|
|
1984
|
+
declare namespace flow_json_lines_pipe_d_exports {
|
|
1985
|
+
export { FlowJsonLine, FlowJsonLinesPipe };
|
|
1986
|
+
}
|
|
1987
|
+
interface FlowJsonLine {
|
|
1988
|
+
depth: number;
|
|
1989
|
+
text: string;
|
|
1990
|
+
}
|
|
1991
|
+
/** Pretty JSON as lines with their depth, so a long value that wraps stays under its own line. */
|
|
1992
|
+
declare class FlowJsonLinesPipe implements PipeTransform {
|
|
1993
|
+
transform(value: unknown): FlowJsonLine[];
|
|
1994
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowJsonLinesPipe, never>;
|
|
1995
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FlowJsonLinesPipe, "flowJsonLines", false>;
|
|
1996
|
+
}
|
|
1806
1997
|
export declare class FlowsPrivateModule {
|
|
1807
1998
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsPrivateModule, never>;
|
|
1808
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowsPrivateModule, [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 FlowsGraphCanvasComponent, typeof FlowsCanvasNodeComponent, typeof FlowsCanvasSocketComponent, typeof FlowsCanvasConnectionComponent, typeof FlowsNodePaletteComponent, typeof FlowsNodeInspectorComponent, typeof FlowsJsonFieldComponent, typeof FlowsConditionFieldComponent, typeof FlowsPairsFieldComponent, typeof FlowsMemberFieldComponent, typeof FlowsRetryFieldComponent, typeof FlowsAvailableFieldsComponent, typeof FlowsUnknownFieldsComponent, typeof FlowsWorkflowStatusComponent, typeof FlowWorkflowBadgePipe], [typeof
|
|
1999
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowsPrivateModule, [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], [typeof i33.PwStickyActionsComponent, typeof i34.CommonModule, typeof i35.FormsModule, typeof i35.ReactiveFormsModule, typeof i36.TrackDirtyFormDirective, typeof i37.CoreTranslocoModule, typeof i38.AppLoaderModule, typeof i33.SharedComponentsModule, typeof i39.DirectivesModule, typeof i40.PipesModule, typeof i41.FontAwesomeModule, typeof i42.IconFieldModule, typeof i43.InputIconModule, typeof i44.AutoCompleteModule, typeof i45.InputTextModule, typeof i46.ReteModule, typeof FlowsPrivateRoutingModule], never>;
|
|
1809
2000
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowsPrivateModule>;
|
|
1810
2001
|
}
|