@posiwise/flows 0.0.5 → 0.0.6
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 +232 -145
- package/fesm2022/posiwise-flows.mjs.map +1 -1
- package/package.json +1 -1
- package/types/posiwise-flows.d.ts +69 -18
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, PipeTransform, SimpleChanges } from "@angular/core";
|
|
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 i34 from "@posiwise/shared-components";
|
|
7
7
|
import { ConfirmDialogService } from "@posiwise/shared-components";
|
|
8
|
-
import * as
|
|
8
|
+
import * as i30 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 i29 from "@angular/common";
|
|
18
|
+
import * as i31 from "@posiwise/core-guards";
|
|
19
|
+
import * as i32 from "@posiwise/core-transloco";
|
|
20
|
+
import * as i33 from "@posiwise/app-loader";
|
|
21
|
+
import * as i35 from "@posiwise/directives";
|
|
22
|
+
import * as i36 from "@posiwise/pipes";
|
|
23
|
+
import * as i37 from "@fortawesome/angular-fontawesome";
|
|
24
|
+
import * as i38 from "primeng/iconfield";
|
|
25
|
+
import * as i39 from "primeng/inputicon";
|
|
26
|
+
import * as i40 from "primeng/autocomplete";
|
|
27
|
+
import * as i41 from "primeng/inputtext";
|
|
28
|
+
import * as i42 from "rete-angular-plugin/22";
|
|
29
29
|
declare namespace flows_private_routing_module_d_exports {
|
|
30
30
|
export { FlowsPrivateRoutingModule };
|
|
31
31
|
}
|
|
@@ -169,6 +169,8 @@ declare class FlowsWorkflowsComponent extends AppBaseComponent implements OnInit
|
|
|
169
169
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
170
170
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
171
171
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
172
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
173
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
172
174
|
};
|
|
173
175
|
readonly badgeClass: typeof flowWorkflowBadgeClass;
|
|
174
176
|
constructor(injector: Injector, workflowService: FlowsWorkflowService, confirmDialog: ConfirmDialogService, cdr: ChangeDetectorRef);
|
|
@@ -220,6 +222,8 @@ declare class FlowsWorkflowFormComponent extends AppBaseComponent implements OnI
|
|
|
220
222
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
221
223
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
222
224
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
225
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
226
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
223
227
|
};
|
|
224
228
|
constructor(injector: Injector, workflowService: FlowsWorkflowService, cdr: ChangeDetectorRef);
|
|
225
229
|
get isEdit(): boolean;
|
|
@@ -286,6 +290,8 @@ declare class FlowsWorkflowVersionsComponent extends AppBaseComponent implements
|
|
|
286
290
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
287
291
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
288
292
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
293
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
294
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
289
295
|
};
|
|
290
296
|
readonly isPublished: typeof isFlowVersionPublished;
|
|
291
297
|
readonly badgeClass: typeof flowVersionBadgeClass;
|
|
@@ -560,6 +566,8 @@ declare class FlowsVersionEditorComponent implements OnInit, OnChanges, OnDestro
|
|
|
560
566
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
561
567
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
562
568
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
569
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
570
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
563
571
|
};
|
|
564
572
|
definitions: FlowNodeDefinition[];
|
|
565
573
|
/** The fields each node handed on the last time the workflow ran. */
|
|
@@ -706,6 +714,8 @@ declare class FlowsGraphCheckComponent implements OnChanges {
|
|
|
706
714
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
707
715
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
708
716
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
717
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
718
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
709
719
|
};
|
|
710
720
|
rows: FlowGraphCheckRow[];
|
|
711
721
|
constructor(translation: TranslocoService);
|
|
@@ -774,6 +784,8 @@ declare class FlowsRunsComponent extends AppBaseComponent implements OnInit {
|
|
|
774
784
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
775
785
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
776
786
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
787
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
788
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
777
789
|
};
|
|
778
790
|
constructor(injector: Injector, flowsRunService: FlowsRunService, cdr: ChangeDetectorRef);
|
|
779
791
|
ngOnInit(): void;
|
|
@@ -950,6 +962,8 @@ declare class FlowsRunInspectorComponent extends AppBaseComponent implements OnI
|
|
|
950
962
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
951
963
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
952
964
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
965
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
966
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
953
967
|
};
|
|
954
968
|
readonly openSteps: Set<number>;
|
|
955
969
|
readonly trackByStep: (_: number, step: FlowRunStep) => number;
|
|
@@ -1058,6 +1072,8 @@ declare class FlowsStepErrorComponent implements OnChanges {
|
|
|
1058
1072
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1059
1073
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1060
1074
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1075
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1076
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1061
1077
|
};
|
|
1062
1078
|
text: FlowStepErrorText | null;
|
|
1063
1079
|
ngOnChanges(): void;
|
|
@@ -1265,6 +1281,8 @@ declare class FlowsNodeInspectorComponent implements OnChanges, AfterViewChecked
|
|
|
1265
1281
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1266
1282
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1267
1283
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1284
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1285
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1268
1286
|
};
|
|
1269
1287
|
mergeModes: {
|
|
1270
1288
|
value: string;
|
|
@@ -1414,6 +1432,8 @@ declare class FlowsConditionFieldComponent implements OnChanges {
|
|
|
1414
1432
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1415
1433
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1416
1434
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1435
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1436
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1417
1437
|
};
|
|
1418
1438
|
options: Record<string, ConditionOption[]>;
|
|
1419
1439
|
readonly takesValue: typeof takesValue;
|
|
@@ -1487,6 +1507,8 @@ declare class FlowsPairsFieldComponent implements OnChanges {
|
|
|
1487
1507
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1488
1508
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1489
1509
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1510
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1511
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1490
1512
|
};
|
|
1491
1513
|
pairs: Pair[];
|
|
1492
1514
|
private emitted;
|
|
@@ -1695,6 +1717,8 @@ declare class FlowsUnknownFieldsComponent implements OnChanges {
|
|
|
1695
1717
|
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1696
1718
|
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1697
1719
|
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1720
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1721
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1698
1722
|
};
|
|
1699
1723
|
unknown: string;
|
|
1700
1724
|
ngOnChanges(): void;
|
|
@@ -1713,7 +1737,7 @@ declare class FlowsUnknownFieldsComponent implements OnChanges {
|
|
|
1713
1737
|
declare namespace flows_workflow_status_component_d_exports {
|
|
1714
1738
|
export { FlowsWorkflowStatusComponent };
|
|
1715
1739
|
}
|
|
1716
|
-
/**
|
|
1740
|
+
/** Turns the workflow on or off. Only an active workflow starts runs from its trigger. */
|
|
1717
1741
|
declare class FlowsWorkflowStatusComponent {
|
|
1718
1742
|
private readonly workflowService;
|
|
1719
1743
|
private readonly confirmDialog;
|
|
@@ -1723,7 +1747,26 @@ declare class FlowsWorkflowStatusComponent {
|
|
|
1723
1747
|
/** With nothing published, an active workflow would have nothing to run. */
|
|
1724
1748
|
hasPublished: boolean;
|
|
1725
1749
|
readonly workflowChange: EventEmitter<FlowWorkflow>;
|
|
1726
|
-
readonly
|
|
1750
|
+
readonly icons: {
|
|
1751
|
+
readonly inspect: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1752
|
+
readonly back: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1753
|
+
readonly error: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1754
|
+
readonly create: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1755
|
+
readonly edit: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1756
|
+
readonly delete: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1757
|
+
readonly versions: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1758
|
+
readonly search: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1759
|
+
readonly publish: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1760
|
+
readonly duplicate: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1761
|
+
readonly fit: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1762
|
+
readonly diagram: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1763
|
+
readonly json: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1764
|
+
readonly warning: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1765
|
+
readonly collapsed: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1766
|
+
readonly expanded: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1767
|
+
readonly turnOn: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1768
|
+
readonly turnOff: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
1769
|
+
};
|
|
1727
1770
|
saving: boolean;
|
|
1728
1771
|
constructor(workflowService: FlowsWorkflowService, confirmDialog: ConfirmDialogService, cdr: ChangeDetectorRef);
|
|
1729
1772
|
get isOn(): boolean;
|
|
@@ -1750,8 +1793,16 @@ declare class FlowsWorkflowStatusComponent {
|
|
|
1750
1793
|
"workflowChange": "workflowChange";
|
|
1751
1794
|
}, never, never, false, never>;
|
|
1752
1795
|
}
|
|
1796
|
+
declare namespace flow_workflow_badge_pipe_d_exports {
|
|
1797
|
+
export { FlowWorkflowBadgePipe };
|
|
1798
|
+
}
|
|
1799
|
+
declare class FlowWorkflowBadgePipe implements PipeTransform {
|
|
1800
|
+
transform(status: FlowWorkflowStatus): string;
|
|
1801
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowWorkflowBadgePipe, never>;
|
|
1802
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FlowWorkflowBadgePipe, "flowWorkflowBadge", false>;
|
|
1803
|
+
}
|
|
1753
1804
|
export declare class FlowsPrivateModule {
|
|
1754
1805
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlowsPrivateModule, never>;
|
|
1755
|
-
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
|
|
1806
|
+
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 i29.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i31.TrackDirtyFormDirective, typeof i32.CoreTranslocoModule, typeof i33.AppLoaderModule, typeof i34.SharedComponentsModule, typeof i35.DirectivesModule, typeof i36.PipesModule, typeof i37.FontAwesomeModule, typeof i38.IconFieldModule, typeof i39.InputIconModule, typeof i40.AutoCompleteModule, typeof i41.InputTextModule, typeof i42.ReteModule, typeof FlowsPrivateRoutingModule], never>;
|
|
1756
1807
|
static ɵinj: i0.ɵɵInjectorDeclaration<FlowsPrivateModule>;
|
|
1757
1808
|
}
|