@valtimo/process-link 12.0.0
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/README.md +32 -0
- package/esm2022/lib/components/choose-process-link-type/choose-process-link-type.component.mjs +38 -0
- package/esm2022/lib/components/choose-process-link-type/index.mjs +17 -0
- package/esm2022/lib/components/form-flow/form-flow.component.mjs +117 -0
- package/esm2022/lib/components/form-flow-configuration-container/form-flow-configuration-container.component.mjs +107 -0
- package/esm2022/lib/components/form-flow-configuration-container/index.mjs +17 -0
- package/esm2022/lib/components/form-link-process-diagram/form-link-process-diagram.component.mjs +150 -0
- package/esm2022/lib/components/plugin-action-configuration/plugin-action-configuration.component.mjs +126 -0
- package/esm2022/lib/components/process-link/process-link.component.mjs +69 -0
- package/esm2022/lib/components/process-link-modal/process-link-modal.component.mjs +79 -0
- package/esm2022/lib/components/select-form/index.mjs +17 -0
- package/esm2022/lib/components/select-form/select-form.component.mjs +121 -0
- package/esm2022/lib/components/select-form-flow/index.mjs +17 -0
- package/esm2022/lib/components/select-form-flow/select-form-flow.component.mjs +120 -0
- package/esm2022/lib/components/select-plugin-action/select-plugin-action.component.mjs +75 -0
- package/esm2022/lib/components/select-plugin-configuration/select-plugin-configuration.component.mjs +75 -0
- package/esm2022/lib/constants/index.mjs +17 -0
- package/esm2022/lib/constants/injection-tokens.mjs +19 -0
- package/esm2022/lib/models/form-flow.model.mjs +17 -0
- package/esm2022/lib/models/form-link.model.mjs +17 -0
- package/esm2022/lib/models/index.mjs +19 -0
- package/esm2022/lib/models/process-link.model.mjs +17 -0
- package/esm2022/lib/process-link-routing.module.mjs +44 -0
- package/esm2022/lib/process-link.module.mjs +169 -0
- package/esm2022/lib/services/form-flow-component.service.mjs +44 -0
- package/esm2022/lib/services/form-flow.service.mjs +53 -0
- package/esm2022/lib/services/index.mjs +23 -0
- package/esm2022/lib/services/plugin-state.service.mjs +90 -0
- package/esm2022/lib/services/process-link-button.service.mjs +106 -0
- package/esm2022/lib/services/process-link-state.service.mjs +143 -0
- package/esm2022/lib/services/process-link-step.service.mjs +235 -0
- package/esm2022/lib/services/process-link.service.mjs +89 -0
- package/esm2022/public-api.mjs +31 -0
- package/esm2022/valtimo-process-link.mjs +5 -0
- package/fesm2022/valtimo-process-link.mjs +2119 -0
- package/fesm2022/valtimo-process-link.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/components/choose-process-link-type/choose-process-link-type.component.d.ts +11 -0
- package/lib/components/choose-process-link-type/choose-process-link-type.component.d.ts.map +1 -0
- package/lib/components/choose-process-link-type/index.d.ts +2 -0
- package/lib/components/choose-process-link-type/index.d.ts.map +1 -0
- package/lib/components/form-flow/form-flow.component.d.ts +33 -0
- package/lib/components/form-flow/form-flow.component.d.ts.map +1 -0
- package/lib/components/form-flow-configuration-container/form-flow-configuration-container.component.d.ts +30 -0
- package/lib/components/form-flow-configuration-container/form-flow-configuration-container.component.d.ts.map +1 -0
- package/lib/components/form-flow-configuration-container/index.d.ts +2 -0
- package/lib/components/form-flow-configuration-container/index.d.ts.map +1 -0
- package/lib/components/form-link-process-diagram/form-link-process-diagram.component.d.ts +34 -0
- package/lib/components/form-link-process-diagram/form-link-process-diagram.component.d.ts.map +1 -0
- package/lib/components/plugin-action-configuration/plugin-action-configuration.component.d.ts +33 -0
- package/lib/components/plugin-action-configuration/plugin-action-configuration.component.d.ts.map +1 -0
- package/lib/components/process-link/process-link.component.d.ts +14 -0
- package/lib/components/process-link/process-link.component.d.ts.map +1 -0
- package/lib/components/process-link-modal/process-link-modal.component.d.ts +30 -0
- package/lib/components/process-link-modal/process-link-modal.component.d.ts.map +1 -0
- package/lib/components/select-form/index.d.ts +2 -0
- package/lib/components/select-form/index.d.ts.map +1 -0
- package/lib/components/select-form/select-form.component.d.ts +29 -0
- package/lib/components/select-form/select-form.component.d.ts.map +1 -0
- package/lib/components/select-form-flow/index.d.ts +2 -0
- package/lib/components/select-form-flow/index.d.ts.map +1 -0
- package/lib/components/select-form-flow/select-form-flow.component.d.ts +28 -0
- package/lib/components/select-form-flow/select-form-flow.component.d.ts.map +1 -0
- package/lib/components/select-plugin-action/select-plugin-action.component.d.ts +29 -0
- package/lib/components/select-plugin-action/select-plugin-action.component.d.ts.map +1 -0
- package/lib/components/select-plugin-configuration/select-plugin-configuration.component.d.ts +29 -0
- package/lib/components/select-plugin-configuration/select-plugin-configuration.component.d.ts.map +1 -0
- package/lib/constants/index.d.ts +2 -0
- package/lib/constants/index.d.ts.map +1 -0
- package/lib/constants/injection-tokens.d.ts +5 -0
- package/lib/constants/injection-tokens.d.ts.map +1 -0
- package/lib/models/form-flow.model.d.ts +18 -0
- package/lib/models/form-flow.model.d.ts.map +1 -0
- package/lib/models/form-link.model.d.ts +46 -0
- package/lib/models/form-link.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +4 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/process-link.model.d.ts +65 -0
- package/lib/models/process-link.model.d.ts.map +1 -0
- package/lib/process-link-routing.module.d.ts +8 -0
- package/lib/process-link-routing.module.d.ts.map +1 -0
- package/lib/process-link.module.d.ts +25 -0
- package/lib/process-link.module.d.ts.map +1 -0
- package/lib/services/form-flow-component.service.d.ts +13 -0
- package/lib/services/form-flow-component.service.d.ts.map +1 -0
- package/lib/services/form-flow.service.d.ts +20 -0
- package/lib/services/form-flow.service.d.ts.map +1 -0
- package/lib/services/index.d.ts +8 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/plugin-state.service.d.ts +29 -0
- package/lib/services/plugin-state.service.d.ts.map +1 -0
- package/lib/services/process-link-button.service.d.ts +37 -0
- package/lib/services/process-link-button.service.d.ts.map +1 -0
- package/lib/services/process-link-state.service.d.ts +48 -0
- package/lib/services/process-link-state.service.d.ts.map +1 -0
- package/lib/services/process-link-step.service.d.ts +41 -0
- package/lib/services/process-link-step.service.d.ts.map +1 -0
- package/lib/services/process-link.service.d.ts +20 -0
- package/lib/services/process-link.service.d.ts.map +1 -0
- package/package.json +26 -0
- package/public-api.d.ts +13 -0
- package/public-api.d.ts.map +1 -0
- package/valtimo-process-link.d.ts.map +1 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ProcessDefinition, ProcessService } from '@valtimo/process';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { PageTitleService } from '@valtimo/components';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormLinkProcessDiagramComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly processService;
|
|
8
|
+
private readonly route;
|
|
9
|
+
private readonly pageTitleService;
|
|
10
|
+
private bpmnJS;
|
|
11
|
+
el: ElementRef;
|
|
12
|
+
bpmnElementModalOpen: EventEmitter<any>;
|
|
13
|
+
bpmnElementModalClose: EventEmitter<any>;
|
|
14
|
+
processDefinitionKey: string;
|
|
15
|
+
processDefinitions: ProcessDefinition[];
|
|
16
|
+
processDiagram: any;
|
|
17
|
+
processDefinition: ProcessDefinition;
|
|
18
|
+
processDefinitionVersions: ProcessDefinition[];
|
|
19
|
+
version: number;
|
|
20
|
+
private callbacksAdded;
|
|
21
|
+
private processDefinitionId;
|
|
22
|
+
constructor(processService: ProcessService, route: ActivatedRoute, pageTitleService: PageTitleService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
loadProcessDefinition(processDefinitionKey: string): void;
|
|
26
|
+
loadProcessDefinitionVersions(processDefinitionKey: string): void;
|
|
27
|
+
loadProcessDefinitionFromKey(processDefinitionKey: string): void;
|
|
28
|
+
loadProcessDefinitionXml(processDefinitionId: string): void;
|
|
29
|
+
setProcessDefinitionKey(processDefinitionKey: string): void;
|
|
30
|
+
setProcessDefinitionVersion(version: string): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormLinkProcessDiagramComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormLinkProcessDiagramComponent, "valtimo-form-link-process-diagram", never, {}, { "bpmnElementModalOpen": "bpmnElementModalOpen"; "bpmnElementModalClose": "bpmnElementModalClose"; }, never, never, false, never>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=form-link-process-diagram.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-link-process-diagram.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/form-link-process-diagram/form-link-process-diagram.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,UAAU,EACV,YAAY,EACZ,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAGnE,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAKa,+BAAgC,YAAW,MAAM,EAAE,SAAS;IAiBrE,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAlBnC,OAAO,CAAC,MAAM,CAAS;IAEE,EAAE,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAC7D,qBAAqB,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAExE,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,cAAc,EAAE,GAAG,CAAC;IACpB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,yBAAyB,EAAE,iBAAiB,EAAE,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,mBAAmB,CAAU;gBAGlB,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,cAAc,EACrB,gBAAgB,EAAE,gBAAgB;IAGrD,QAAQ;IAwDR,WAAW;IAQJ,qBAAqB,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAUzD,6BAA6B,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAQjE,4BAA4B,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAKhE,wBAAwB,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI;IAQ3D,uBAAuB,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAK3D,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;yCA1H9C,+BAA+B;2CAA/B,+BAA+B;CAsI3C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PluginStateService, ProcessLinkButtonService, ProcessLinkService, ProcessLinkStateService, ProcessLinkStepService } from '../../services';
|
|
3
|
+
import { PluginConfigurationData } from '@valtimo/plugin';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PluginActionConfigurationComponent implements OnInit, OnDestroy {
|
|
6
|
+
private readonly stateService;
|
|
7
|
+
private readonly pluginStateService;
|
|
8
|
+
private readonly buttonService;
|
|
9
|
+
private readonly stepService;
|
|
10
|
+
private readonly processLinkService;
|
|
11
|
+
valid: EventEmitter<boolean>;
|
|
12
|
+
configuration: EventEmitter<PluginConfigurationData>;
|
|
13
|
+
readonly pluginDefinitionKey$: import("rxjs").Observable<string>;
|
|
14
|
+
readonly functionKey$: import("rxjs").Observable<string>;
|
|
15
|
+
readonly save$: import("rxjs").Observable<any>;
|
|
16
|
+
readonly saving$: import("rxjs").Observable<boolean>;
|
|
17
|
+
readonly prefillConfiguration$: import("rxjs").Observable<{
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>;
|
|
20
|
+
private _subscriptions;
|
|
21
|
+
constructor(stateService: ProcessLinkStateService, pluginStateService: PluginStateService, buttonService: ProcessLinkButtonService, stepService: ProcessLinkStepService, processLinkService: ProcessLinkService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
onValid(valid: boolean): void;
|
|
25
|
+
onConfiguration(configuration: PluginConfigurationData): void;
|
|
26
|
+
private updateProcessLink;
|
|
27
|
+
private saveNewProcessLink;
|
|
28
|
+
private openBackButtonSubscription;
|
|
29
|
+
private openSaveButtonSubscription;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PluginActionConfigurationComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PluginActionConfigurationComponent, "valtimo-plugin-action-configuration", never, {}, { "valid": "valid"; "configuration": "configuration"; }, never, never, false, never>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=plugin-action-configuration.component.d.ts.map
|
package/lib/components/plugin-action-configuration/plugin-action-configuration.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-action-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/plugin-action-configuration/plugin-action-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAE,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACjF,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;;AAGxD,qBAKa,kCAAmC,YAAW,MAAM,EAAE,SAAS;IAgBxE,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAnB3B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,uBAAuB,CAAC,CAChB;IAE9C,SAAgB,oBAAoB,oCAAgD;IACpF,SAAgB,YAAY,oCAAwC;IACpE,SAAgB,KAAK,iCAAiC;IACtD,SAAgB,OAAO,qCAA6B;IACpD,SAAgB,qBAAqB;;OAEnC;IAEF,OAAO,CAAC,cAAc,CAAsB;gBAGzB,YAAY,EAAE,uBAAuB,EACrC,kBAAkB,EAAE,kBAAkB,EACtC,aAAa,EAAE,wBAAwB,EACvC,WAAW,EAAE,sBAAsB,EACnC,kBAAkB,EAAE,kBAAkB;IAGzD,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAQ7B,eAAe,CAAC,aAAa,EAAE,uBAAuB,GAAG,IAAI;IAY7D,OAAO,CAAC,iBAAiB;IAoBzB,OAAO,CAAC,kBAAkB;IAgC1B,OAAO,CAAC,0BAA0B;IAQlC,OAAO,CAAC,0BAA0B;yCAhHvB,kCAAkC;2CAAlC,kCAAkC;CAuH9C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ModalParams } from '../../models';
|
|
2
|
+
import { ProcessLinkService, ProcessLinkStateService } from '../../services';
|
|
3
|
+
import { ModalService } from '@valtimo/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProcessLinkComponent {
|
|
6
|
+
private readonly processLinkService;
|
|
7
|
+
private readonly stateService;
|
|
8
|
+
private readonly modalService;
|
|
9
|
+
constructor(processLinkService: ProcessLinkService, stateService: ProcessLinkStateService, modalService: ModalService);
|
|
10
|
+
openModal(params: ModalParams): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLinkComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessLinkComponent, "valtimo-process-link", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=process-link.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-link.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/process-link/process-link.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AACzC,OAAO,EAEL,kBAAkB,EAClB,uBAAuB,EAExB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;;AAEjD,qBAMa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAFZ,kBAAkB,EAAE,kBAAkB,EACtC,YAAY,EAAE,uBAAuB,EACrC,YAAY,EAAE,YAAY;IAG7C,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;yCAPzB,oBAAoB;2CAApB,oBAAoB;CA+ChC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ProcessLinkButtonService, ProcessLinkService, ProcessLinkStateService, ProcessLinkStepService } from '../../services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProcessLinkModalComponent {
|
|
4
|
+
private readonly stateService;
|
|
5
|
+
private readonly stepService;
|
|
6
|
+
private readonly buttonService;
|
|
7
|
+
private readonly processLinkService;
|
|
8
|
+
readonly showModal$: import("rxjs").Observable<boolean>;
|
|
9
|
+
readonly processStepName$: import("rxjs").Observable<string>;
|
|
10
|
+
readonly steps$: import("rxjs").Observable<import("carbon-components-angular").Step[]>;
|
|
11
|
+
readonly currentStepIndex$: import("rxjs").Observable<number>;
|
|
12
|
+
readonly currentStepId$: import("rxjs").Observable<"" | import("../../models/process-link.model").ProcessLinkConfigurationStep>;
|
|
13
|
+
readonly showSaveButton$: import("rxjs").Observable<boolean>;
|
|
14
|
+
readonly enableSaveButton$: import("rxjs").Observable<boolean>;
|
|
15
|
+
readonly showBackButton$: import("rxjs").Observable<boolean>;
|
|
16
|
+
readonly showNextButton$: import("rxjs").Observable<boolean>;
|
|
17
|
+
readonly enableNextButton$: import("rxjs").Observable<boolean>;
|
|
18
|
+
readonly hideProgressIndicator$: import("rxjs").Observable<boolean>;
|
|
19
|
+
readonly saving$: import("rxjs").Observable<boolean>;
|
|
20
|
+
readonly typeOfSelectedProcessLink$: import("rxjs").Observable<string>;
|
|
21
|
+
constructor(stateService: ProcessLinkStateService, stepService: ProcessLinkStepService, buttonService: ProcessLinkButtonService, processLinkService: ProcessLinkService);
|
|
22
|
+
closeModal(): void;
|
|
23
|
+
backButtonClick(): void;
|
|
24
|
+
saveButtonClick(): void;
|
|
25
|
+
nextButtonClick(): void;
|
|
26
|
+
unlinkButtonClick(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLinkModalComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessLinkModalComponent, "valtimo-process-link-modal", never, {}, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=process-link-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-link-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/process-link-modal/process-link-modal.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;;AAGxB,qBAKa,yBAAyB;IAgBlC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAlBrC,SAAgB,UAAU,qCAAgC;IAC1D,SAAgB,gBAAgB,oCAAkC;IAClE,SAAgB,MAAM,wEAA2B;IACjD,SAAgB,iBAAiB,oCAAsC;IACvE,SAAgB,cAAc,yGAAmC;IACjE,SAAgB,eAAe,qCAAsC;IACrE,SAAgB,iBAAiB,qCAAwC;IACzE,SAAgB,eAAe,qCAAsC;IACrE,SAAgB,eAAe,qCAAsC;IACrE,SAAgB,iBAAiB,qCAAwC;IACzE,SAAgB,sBAAsB,qCAA4C;IAClF,SAAgB,OAAO,qCAA6B;IACpD,SAAgB,0BAA0B,oCAAgD;gBAGvE,YAAY,EAAE,uBAAuB,EACrC,WAAW,EAAE,sBAAsB,EACnC,aAAa,EAAE,wBAAwB,EACvC,kBAAkB,EAAE,kBAAkB;IAGzD,UAAU,IAAI,IAAI;IAIlB,eAAe,IAAI,IAAI;IAIvB,eAAe,IAAI,IAAI;IAIvB,eAAe,IAAI,IAAI;IAIvB,iBAAiB,IAAI,IAAI;yCAtCd,yBAAyB;2CAAzB,yBAAyB;CAoDrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/select-form/index.ts"],"names":[],"mappings":"AAgBA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormService } from '@valtimo/form';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ProcessLinkButtonService, ProcessLinkService, ProcessLinkStateService } from '../../services';
|
|
5
|
+
import { FormDefinitionListItem } from '../../models';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SelectFormComponent implements OnInit, OnDestroy {
|
|
8
|
+
private readonly formService;
|
|
9
|
+
private readonly stateService;
|
|
10
|
+
private readonly processLinkService;
|
|
11
|
+
private readonly buttonService;
|
|
12
|
+
readonly saving$: Observable<boolean>;
|
|
13
|
+
private readonly formDefinitions$;
|
|
14
|
+
readonly formDefinitionListItems$: Observable<Array<FormDefinitionListItem>>;
|
|
15
|
+
private _selectedFormDefinition;
|
|
16
|
+
private _subscriptions;
|
|
17
|
+
constructor(formService: FormService, stateService: ProcessLinkStateService, processLinkService: ProcessLinkService, buttonService: ProcessLinkButtonService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
selectFormDefinition(formDefinition: FormDefinitionListItem): void;
|
|
21
|
+
private openBackButtonSubscription;
|
|
22
|
+
private openSaveButtonSubscription;
|
|
23
|
+
private saveProcessLink;
|
|
24
|
+
private updateProcessLink;
|
|
25
|
+
private saveNewProcessLink;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFormComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFormComponent, "valtimo-select-form", never, {}, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=select-form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-form.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/select-form/select-form.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAqB,UAAU,EAA+B,MAAM,MAAM,CAAC;AAClF,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,sBAAsB,EAAkC,MAAM,cAAc,CAAC;;AAGrF,qBAKa,mBAAoB,YAAW,MAAM,EAAE,SAAS;IA2BzD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,aAAa;IA7BhC,SAAgB,OAAO,sBAA6B;IACpD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA4C;IAC7E,SAAgB,wBAAwB,EAAE,UAAU,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAkB/E;IAEJ,OAAO,CAAC,uBAAuB,CAA0B;IACzD,OAAO,CAAC,cAAc,CAAsB;gBAGzB,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,uBAAuB,EACrC,kBAAkB,EAAE,kBAAkB,EACtC,aAAa,EAAE,wBAAwB;IAG1D,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAInB,oBAAoB,CAAC,cAAc,EAAE,sBAAsB,GAAG,IAAI;IAUlE,OAAO,CAAC,0BAA0B;IAQlC,OAAO,CAAC,0BAA0B;IASlC,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,iBAAiB;IAkBzB,OAAO,CAAC,kBAAkB;yCAjGf,mBAAmB;2CAAnB,mBAAmB;CAwH/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/select-form-flow/index.ts"],"names":[],"mappings":"AAgBA,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FormFlowService, ProcessLinkButtonService, ProcessLinkService, ProcessLinkStateService } from '../../services';
|
|
4
|
+
import { FormDefinitionListItem } from '../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SelectFormFlowComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly formFlowService;
|
|
8
|
+
private readonly stateService;
|
|
9
|
+
private readonly processLinkService;
|
|
10
|
+
private readonly buttonService;
|
|
11
|
+
readonly saving$: Observable<boolean>;
|
|
12
|
+
private readonly formFlowDefinitions$;
|
|
13
|
+
readonly formFlowDefinitionListItems$: Observable<Array<FormDefinitionListItem>>;
|
|
14
|
+
private _selectedFormFlowDefinition;
|
|
15
|
+
private _subscriptions;
|
|
16
|
+
constructor(formFlowService: FormFlowService, stateService: ProcessLinkStateService, processLinkService: ProcessLinkService, buttonService: ProcessLinkButtonService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
selectFormFlowDefinition(formFlowDefinition: FormDefinitionListItem): void;
|
|
20
|
+
private openBackButtonSubscription;
|
|
21
|
+
private openSaveButtonSubscription;
|
|
22
|
+
private saveFormFlowLink;
|
|
23
|
+
private updateProcessLink;
|
|
24
|
+
private saveNewProcessLink;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFormFlowComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFormFlowComponent, "valtimo-select-form-flow", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=select-form-flow.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-form-flow.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/select-form-flow/select-form-flow.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAqB,UAAU,EAA+B,MAAM,MAAM,CAAC;AAClF,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,sBAAsB,EAAsC,MAAM,cAAc,CAAC;;AAGzF,qBAKa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IA4B7D,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,aAAa;IA9BhC,SAAgB,OAAO,sBAA6B;IACpD,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAiD;IAEtF,SAAgB,4BAA4B,EAAE,UAAU,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAkBnF;IAEJ,OAAO,CAAC,2BAA2B,CAA0B;IAC7D,OAAO,CAAC,cAAc,CAAsB;gBAGzB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,uBAAuB,EACrC,kBAAkB,EAAE,kBAAkB,EACtC,aAAa,EAAE,wBAAwB;IAG1D,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAInB,wBAAwB,CAAC,kBAAkB,EAAE,sBAAsB,GAAG,IAAI;IAU1E,OAAO,CAAC,0BAA0B;IAQlC,OAAO,CAAC,0BAA0B;IASlC,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,iBAAiB;IAkBzB,OAAO,CAAC,kBAAkB;yCAlGf,uBAAuB;2CAAvB,uBAAuB;CAyHnC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PluginDefinition, PluginFunction, PluginManagementService } from '@valtimo/plugin';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ProcessLinkButtonService, ProcessLinkStepService } from '../../services';
|
|
5
|
+
import { PluginStateService } from '../../services/plugin-state.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SelectPluginActionComponent implements OnInit, OnDestroy {
|
|
8
|
+
private readonly buttonService;
|
|
9
|
+
private readonly pluginManagementService;
|
|
10
|
+
private readonly stateService;
|
|
11
|
+
private readonly stepService;
|
|
12
|
+
readonly pluginFunctions$: Observable<Array<PluginFunction> | undefined>;
|
|
13
|
+
readonly selectedPluginDefinition$: Observable<PluginDefinition>;
|
|
14
|
+
readonly selectedPluginFunction$: Observable<PluginFunction>;
|
|
15
|
+
private _subscriptions;
|
|
16
|
+
constructor(buttonService: ProcessLinkButtonService, pluginManagementService: PluginManagementService, stateService: PluginStateService, stepService: ProcessLinkStepService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
selectFunction(pluginFunction: PluginFunction): void;
|
|
20
|
+
selected(event: {
|
|
21
|
+
value: string;
|
|
22
|
+
}): void;
|
|
23
|
+
stringify(object: object): string;
|
|
24
|
+
private openBackButtonSubscription;
|
|
25
|
+
private openNextButtonSubscription;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPluginActionComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectPluginActionComponent, "valtimo-select-plugin-action", never, {}, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=select-plugin-action.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-plugin-action.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/select-plugin-action/select-plugin-action.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,gBAAgB,EAAE,cAAc,EAAE,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAC1F,OAAO,EAAC,UAAU,EAAmB,MAAM,MAAM,CAAC;AAGlD,OAAO,EAAC,wBAAwB,EAAE,sBAAsB,EAAC,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAC,kBAAkB,EAAC,MAAM,qCAAqC,CAAC;;AAEvE,qBAKa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IAiBjE,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAnB9B,SAAgB,gBAAgB,EAAE,UAAU,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,CAO3E;IACJ,SAAgB,yBAAyB,EAAE,UAAU,CAAC,gBAAgB,CAAC,CACzB;IAC9C,SAAgB,uBAAuB,EAAE,UAAU,CAAC,cAAc,CAAC,CACvB;IAE5C,OAAO,CAAC,cAAc,CAAsB;gBAGzB,aAAa,EAAE,wBAAwB,EACvC,uBAAuB,EAAE,uBAAuB,EAChD,YAAY,EAAE,kBAAkB,EAChC,WAAW,EAAE,sBAAsB;IAG/C,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IAIpD,QAAQ,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI;IAKtC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAIxC,OAAO,CAAC,0BAA0B;IAWlC,OAAO,CAAC,0BAA0B;yCAxDvB,2BAA2B;2CAA3B,2BAA2B;CA+DvC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PluginStateService } from '../../services/plugin-state.service';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { PluginConfiguration, PluginConfigurationWithLogo, PluginManagementService, PluginService } from '@valtimo/plugin';
|
|
5
|
+
import { ProcessLinkButtonService, ProcessLinkStateService, ProcessLinkStepService } from '../../services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SelectPluginConfigurationComponent implements OnInit, OnDestroy {
|
|
8
|
+
private readonly pluginManagementService;
|
|
9
|
+
private readonly pluginStateService;
|
|
10
|
+
private readonly pluginService;
|
|
11
|
+
private readonly stateService;
|
|
12
|
+
private readonly buttonService;
|
|
13
|
+
private readonly stepService;
|
|
14
|
+
readonly pluginConfigurations$: Observable<Array<PluginConfigurationWithLogo>>;
|
|
15
|
+
readonly selectedPluginConfiguration$: Observable<PluginConfiguration>;
|
|
16
|
+
private _subscriptions;
|
|
17
|
+
constructor(pluginManagementService: PluginManagementService, pluginStateService: PluginStateService, pluginService: PluginService, stateService: ProcessLinkStateService, buttonService: ProcessLinkButtonService, stepService: ProcessLinkStepService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
selected(event: {
|
|
21
|
+
value: PluginConfiguration;
|
|
22
|
+
}): void;
|
|
23
|
+
private selectConfiguration;
|
|
24
|
+
private openBackButtonSubscription;
|
|
25
|
+
private openNextButtonSubscription;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPluginConfigurationComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectPluginConfigurationComponent, "valtimo-select-plugin-configuration", never, {}, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=select-plugin-configuration.component.d.ts.map
|
package/lib/components/select-plugin-configuration/select-plugin-configuration.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-plugin-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-link/src/lib/components/select-plugin-configuration/select-plugin-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAC,kBAAkB,EAAC,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAgB,UAAU,EAAmB,MAAM,MAAM,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,aAAa,EACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;;AAExB,qBAKa,kCAAmC,YAAW,MAAM,EAAE,SAAS;IA0BxE,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,WAAW;IA9B9B,QAAQ,CAAC,qBAAqB,EAAE,UAAU,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAkB1E;IAEJ,QAAQ,CAAC,4BAA4B,kCAAwD;IAE7F,OAAO,CAAC,cAAc,CAAsB;gBAGzB,uBAAuB,EAAE,uBAAuB,EAChD,kBAAkB,EAAE,kBAAkB,EACtC,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,uBAAuB,EACrC,aAAa,EAAE,wBAAwB,EACvC,WAAW,EAAE,sBAAsB;IAGtD,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAInB,QAAQ,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,mBAAmB,CAAA;KAAC,GAAG,IAAI;IAKnD,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,0BAA0B;IAQlC,OAAO,CAAC,0BAA0B;yCA7DvB,kCAAkC;2CAAlC,kCAAkC;CAoE9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/constants/index.ts"],"names":[],"mappings":"AAgBA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { FormFlowCustomComponentDefinition } from '../models';
|
|
3
|
+
declare const FORM_FLOW_COMPONENT_TOKEN: InjectionToken<FormFlowCustomComponentDefinition[]>;
|
|
4
|
+
export { FORM_FLOW_COMPONENT_TOKEN };
|
|
5
|
+
//# sourceMappingURL=injection-tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injection-tokens.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/constants/injection-tokens.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,iCAAiC,EAAC,MAAM,WAAW,CAAC;AAE5D,QAAA,MAAM,yBAAyB,qDAG9B,CAAC;AAEF,OAAO,EAAC,yBAAyB,EAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, Type } from '@angular/core';
|
|
2
|
+
import { FormioSubmission } from '@valtimo/components';
|
|
3
|
+
interface ChangeEvent {
|
|
4
|
+
data: object;
|
|
5
|
+
}
|
|
6
|
+
interface FormFlowCustomComponent {
|
|
7
|
+
formFlowInstanceId: string;
|
|
8
|
+
componentId?: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
changeEvent: EventEmitter<ChangeEvent>;
|
|
11
|
+
submitEvent: EventEmitter<FormioSubmission>;
|
|
12
|
+
}
|
|
13
|
+
interface FormFlowCustomComponentDefinition {
|
|
14
|
+
id: string;
|
|
15
|
+
component: Type<FormFlowCustomComponent>;
|
|
16
|
+
}
|
|
17
|
+
export { FormFlowCustomComponentDefinition, FormFlowCustomComponent, ChangeEvent };
|
|
18
|
+
//# sourceMappingURL=form-flow.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-flow.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/models/form-flow.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,YAAY,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,uBAAuB;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IACvC,WAAW,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;CAC7C;AAED,UAAU,iCAAiC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC;CAC1C;AAED,OAAO,EAAC,iCAAiC,EAAE,uBAAuB,EAAE,WAAW,EAAC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ListItem } from 'carbon-components-angular';
|
|
2
|
+
interface FormSubmissionResult {
|
|
3
|
+
errors: string[];
|
|
4
|
+
documentId?: string;
|
|
5
|
+
}
|
|
6
|
+
interface BpmnElement {
|
|
7
|
+
id: string;
|
|
8
|
+
type: string;
|
|
9
|
+
activityListenerType?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
}
|
|
12
|
+
interface FormFlowDefinition {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
16
|
+
interface FormFlowInstance {
|
|
17
|
+
id: string;
|
|
18
|
+
step?: FormFlowStep;
|
|
19
|
+
}
|
|
20
|
+
interface FormFlowCreateRequest {
|
|
21
|
+
documentId: string | null;
|
|
22
|
+
documentDefinitionName: string | null;
|
|
23
|
+
}
|
|
24
|
+
interface FormFlowCreateResult {
|
|
25
|
+
formFlowInstanceId: string;
|
|
26
|
+
}
|
|
27
|
+
type FormFlowStepType = 'form' | 'custom-component';
|
|
28
|
+
interface FormFlowStep {
|
|
29
|
+
id: string;
|
|
30
|
+
type: FormFlowStepType;
|
|
31
|
+
typeProperties: FormTypeProperties;
|
|
32
|
+
}
|
|
33
|
+
interface FormTypeProperties {
|
|
34
|
+
definition?: any;
|
|
35
|
+
id?: string;
|
|
36
|
+
}
|
|
37
|
+
interface ModalParams {
|
|
38
|
+
element: BpmnElement;
|
|
39
|
+
processDefinitionKey: string;
|
|
40
|
+
processDefinitionId: string;
|
|
41
|
+
}
|
|
42
|
+
interface FormDefinitionListItem extends ListItem {
|
|
43
|
+
id: string;
|
|
44
|
+
}
|
|
45
|
+
export { FormSubmissionResult, BpmnElement, FormFlowDefinition, FormFlowInstance, FormFlowStepType, FormFlowStep, FormTypeProperties, FormFlowCreateResult, FormFlowCreateRequest, ModalParams, FormDefinitionListItem, };
|
|
46
|
+
//# sourceMappingURL=form-link.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-link.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/models/form-link.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAEnD,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,WAAW;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,UAAU,qBAAqB;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC;AAED,UAAU,oBAAoB;IAC5B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,KAAK,gBAAgB,GAAG,MAAM,GAAG,kBAAkB,CAAC;AAEpD,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,cAAc,EAAE,kBAAkB,CAAC;CACpC;AAED,UAAU,kBAAkB;IAC1B,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,UAAU,WAAW;IACnB,OAAO,EAAE,WAAW,CAAC;IACrB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,UAAU,sBAAuB,SAAQ,QAAQ;IAC/C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,sBAAsB,GACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
interface ProcessLink {
|
|
2
|
+
id: string;
|
|
3
|
+
processDefinitionId: string;
|
|
4
|
+
activityId: string;
|
|
5
|
+
activityType: string;
|
|
6
|
+
processLinkType: string;
|
|
7
|
+
pluginConfigurationId?: string;
|
|
8
|
+
pluginActionDefinitionKey?: string;
|
|
9
|
+
actionProperties?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
formDefinitionId?: string;
|
|
13
|
+
formFlowDefinitionId?: string;
|
|
14
|
+
}
|
|
15
|
+
type GetProcessLinkResponse = Array<ProcessLink>;
|
|
16
|
+
interface GetProcessLinkRequest {
|
|
17
|
+
activityId: string;
|
|
18
|
+
processDefinitionId: string;
|
|
19
|
+
}
|
|
20
|
+
interface ProcessLinkType {
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
processLinkType: string;
|
|
23
|
+
}
|
|
24
|
+
type ProcessLinkConfigurationStep = 'chooseProcessLinkType' | 'choosePluginConfiguration' | 'choosePluginAction' | 'configurePluginAction' | 'selectForm' | 'selectFormFlow' | 'empty';
|
|
25
|
+
interface FormProcessLinkCreateRequestDto {
|
|
26
|
+
processDefinitionId: string;
|
|
27
|
+
activityId: string;
|
|
28
|
+
activityType: string;
|
|
29
|
+
processLinkType: string;
|
|
30
|
+
formDefinitionId: string;
|
|
31
|
+
}
|
|
32
|
+
interface FormFlowProcessLinkCreateRequestDto {
|
|
33
|
+
processDefinitionId: string;
|
|
34
|
+
activityId: string;
|
|
35
|
+
activityType: string;
|
|
36
|
+
processLinkType: string;
|
|
37
|
+
formFlowDefinitionId: string;
|
|
38
|
+
}
|
|
39
|
+
interface PluginProcessLinkCreateDto {
|
|
40
|
+
processDefinitionId: string;
|
|
41
|
+
activityId: string;
|
|
42
|
+
activityType: string;
|
|
43
|
+
processLinkType: string;
|
|
44
|
+
pluginConfigurationId: string;
|
|
45
|
+
pluginActionDefinitionKey: string;
|
|
46
|
+
actionProperties: object;
|
|
47
|
+
}
|
|
48
|
+
interface PluginProcessLinkUpdateDto {
|
|
49
|
+
id: string;
|
|
50
|
+
pluginConfigurationId: string;
|
|
51
|
+
pluginActionDefinitionKey: string;
|
|
52
|
+
actionProperties: {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
interface FormFlowProcessLinkUpdateRequestDto {
|
|
57
|
+
id: string;
|
|
58
|
+
formFlowDefinitionId: string;
|
|
59
|
+
}
|
|
60
|
+
interface FormProcessLinkUpdateRequestDto {
|
|
61
|
+
id: string;
|
|
62
|
+
formDefinitionId: string;
|
|
63
|
+
}
|
|
64
|
+
export { GetProcessLinkRequest, ProcessLink, GetProcessLinkResponse, PluginProcessLinkUpdateDto, ProcessLinkType, ProcessLinkConfigurationStep, FormProcessLinkCreateRequestDto, FormFlowProcessLinkCreateRequestDto, PluginProcessLinkCreateDto, FormFlowProcessLinkUpdateRequestDto, FormProcessLinkUpdateRequestDto, };
|
|
65
|
+
//# sourceMappingURL=process-link.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-link.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/models/process-link.model.ts"],"names":[],"mappings":"AAgBA,UAAU,WAAW;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,gBAAgB,CAAC,EAAE;QACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,KAAK,sBAAsB,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;AAEjD,UAAU,qBAAqB;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,UAAU,eAAe;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,KAAK,4BAA4B,GAC7B,uBAAuB,GACvB,2BAA2B,GAC3B,oBAAoB,GACpB,uBAAuB,GACvB,YAAY,GACZ,gBAAgB,GAChB,OAAO,CAAC;AAEZ,UAAU,+BAA+B;IACvC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,UAAU,mCAAmC;IAC3C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,UAAU,0BAA0B;IAClC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,yBAAyB,EAAE,MAAM,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,UAAU,0BAA0B;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB,EAAE,MAAM,CAAC;IAC9B,yBAAyB,EAAE,MAAM,CAAC;IAClC,gBAAgB,EAAE;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH;AAED,UAAU,mCAAmC;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,UAAU,+BAA+B;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,OAAO,EACL,qBAAqB,EACrB,WAAW,EACX,sBAAsB,EACtB,0BAA0B,EAC1B,eAAe,EACf,4BAA4B,EAC5B,+BAA+B,EAC/B,mCAAmC,EACnC,0BAA0B,EAC1B,mCAAmC,EACnC,+BAA+B,GAChC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class ProcessLinkRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLinkRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessLinkRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessLinkRoutingModule>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=process-link-routing.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-link-routing.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/process-link/src/lib/process-link-routing.module.ts"],"names":[],"mappings":";;AA+BA,qBAKa,wBAAwB;yCAAxB,wBAAwB;0CAAxB,wBAAwB;0CAAxB,wBAAwB;CAAG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/process-link/process-link.component";
|
|
3
|
+
import * as i2 from "./components/form-link-process-diagram/form-link-process-diagram.component";
|
|
4
|
+
import * as i3 from "./components/select-plugin-configuration/select-plugin-configuration.component";
|
|
5
|
+
import * as i4 from "./components/select-plugin-action/select-plugin-action.component";
|
|
6
|
+
import * as i5 from "./components/plugin-action-configuration/plugin-action-configuration.component";
|
|
7
|
+
import * as i6 from "./components/process-link-modal/process-link-modal.component";
|
|
8
|
+
import * as i7 from "./components/choose-process-link-type/choose-process-link-type.component";
|
|
9
|
+
import * as i8 from "./components/select-form/select-form.component";
|
|
10
|
+
import * as i9 from "./components/form-flow/form-flow.component";
|
|
11
|
+
import * as i10 from "./components/select-form-flow/select-form-flow.component";
|
|
12
|
+
import * as i11 from "./components/form-flow-configuration-container/form-flow-configuration-container.component";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "./process-link-routing.module";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "@valtimo/components";
|
|
17
|
+
import * as i16 from "@ngx-translate/core";
|
|
18
|
+
import * as i17 from "@valtimo/plugin";
|
|
19
|
+
import * as i18 from "carbon-components-angular";
|
|
20
|
+
export declare class ProcessLinkModule {
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessLinkModule, never>;
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessLinkModule, [typeof i1.ProcessLinkComponent, typeof i2.FormLinkProcessDiagramComponent, typeof i3.SelectPluginConfigurationComponent, typeof i4.SelectPluginActionComponent, typeof i5.PluginActionConfigurationComponent, typeof i6.ProcessLinkModalComponent, typeof i7.ChooseProcessLinkTypeComponent, typeof i8.SelectFormComponent, typeof i9.FormFlowComponent, typeof i10.SelectFormFlowComponent, typeof i11.FormFlowConfigurationContainerComponent], [typeof i12.CommonModule, typeof i13.ProcessLinkRoutingModule, typeof i14.FormsModule, typeof i15.ModalModule, typeof i15.SearchableDropdownSelectModule, typeof i16.TranslateModule, typeof i15.StepperModule, typeof i15.VModalModule, typeof i15.VCardModule, typeof i17.PluginTranslatePipeModule, typeof i15.ParagraphModule, typeof i17.PluginConfigurationContainerModule, typeof i15.ButtonModule, typeof i15.TitleModule, typeof i18.ModalModule, typeof i18.ProgressIndicatorModule, typeof i18.ButtonModule, typeof i18.IconModule, typeof i15.TooltipModule, typeof i18.ComboBoxModule, typeof i18.InputModule, typeof i15.TooltipIconModule, typeof i18.LoadingModule, typeof i15.FormIoModule, typeof i15.ValtimoCdsModalDirectiveModule, typeof i18.StructuredListModule, typeof i18.TilesModule, typeof i15.RenderInPageHeaderDirectiveModule, typeof i18.SelectModule], [typeof i1.ProcessLinkComponent, typeof i3.SelectPluginConfigurationComponent, typeof i4.SelectPluginActionComponent, typeof i5.PluginActionConfigurationComponent, typeof i6.ProcessLinkModalComponent, typeof i9.FormFlowComponent]>;
|
|
23
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessLinkModule>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=process-link.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-link.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/process-link/src/lib/process-link.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA6DA,qBAsDa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { FormFlowCustomComponentDefinition } from '../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormFlowComponentService {
|
|
5
|
+
private readonly supportedCustomComponents;
|
|
6
|
+
private readonly _supportedComponents$;
|
|
7
|
+
get supportedComponents$(): Observable<Array<FormFlowCustomComponentDefinition>>;
|
|
8
|
+
constructor(supportedCustomComponents: Array<FormFlowCustomComponentDefinition>);
|
|
9
|
+
private setSupportedComponents;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFlowComponentService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormFlowComponentService>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=form-flow-component.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-flow-component.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/services/form-flow-component.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAA0B,UAAU,EAAC,MAAM,MAAM,CAAC;AACzD,OAAO,EAAC,iCAAiC,EAAC,MAAM,WAAW,CAAC;;AAG5D,qBAGa,wBAAwB;IAUjC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAT5C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CACuC;IAE7E,IAAW,oBAAoB,IAAI,UAAU,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC,CAEtF;gBAIkB,yBAAyB,EAAE,KAAK,CAAC,iCAAiC,CAAC;IAKtF,OAAO,CAAC,sBAAsB;yCAfnB,wBAAwB;6CAAxB,wBAAwB;CAoBpC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FormFlowCreateRequest, FormFlowCreateResult, FormFlowDefinition, FormFlowInstance } from '../models';
|
|
4
|
+
import { ConfigService } from '@valtimo/config';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormFlowService {
|
|
7
|
+
private http;
|
|
8
|
+
private configService;
|
|
9
|
+
private valtimoEndpointUri;
|
|
10
|
+
constructor(http: HttpClient, configService: ConfigService);
|
|
11
|
+
getFormFlowDefinitions(): Observable<FormFlowDefinition[]>;
|
|
12
|
+
createInstanceForNewProcess(processDefinitionKey: string, request: FormFlowCreateRequest): Observable<FormFlowCreateResult>;
|
|
13
|
+
getFormFlowStep(formFlowInstanceId: string): Observable<FormFlowInstance>;
|
|
14
|
+
submitStep(formFlowInstanceId: string, stepInstanceId: string, submissionData: any): Observable<FormFlowInstance>;
|
|
15
|
+
back(formFlowInstanceId: string, submissionData: any): Observable<FormFlowInstance>;
|
|
16
|
+
save(formFlowInstanceId: string, submissionData: any): Observable<null>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFlowService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormFlowService>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=form-flow.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-flow.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/services/form-flow.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;;AAE9C,qBAGa,eAAe;IAIxB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,aAAa;IAJvB,OAAO,CAAC,kBAAkB,CAAU;gBAG1B,IAAI,EAAE,UAAU,EAChB,aAAa,EAAE,aAAa;IAKtC,sBAAsB,IAAI,UAAU,CAAC,kBAAkB,EAAE,CAAC;IAI1D,2BAA2B,CACzB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,EAAE,qBAAqB,GAC7B,UAAU,CAAC,oBAAoB,CAAC;IAOnC,eAAe,CAAC,kBAAkB,EAAE,MAAM,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAMzE,UAAU,CACR,kBAAkB,EAAE,MAAM,EAC1B,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,GAAG,GAClB,UAAU,CAAC,gBAAgB,CAAC;IAO/B,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAOnF,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC;yCAhD5D,eAAe;6CAAf,eAAe;CAsD3B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './form-flow.service';
|
|
2
|
+
export * from './plugin-state.service';
|
|
3
|
+
export * from './process-link.service';
|
|
4
|
+
export * from './process-link-state.service';
|
|
5
|
+
export * from './process-link-step.service';
|
|
6
|
+
export * from './process-link-button.service';
|
|
7
|
+
export * from './form-flow-component.service';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { PluginConfiguration, PluginDefinition, PluginFunction, PluginManagementService, PluginService } from '@valtimo/plugin';
|
|
3
|
+
import { ProcessLink } from '../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PluginStateService {
|
|
6
|
+
private readonly pluginManagementService;
|
|
7
|
+
private readonly pluginService;
|
|
8
|
+
private readonly _selectedPluginDefinition$;
|
|
9
|
+
private readonly _selectedPluginConfiguration$;
|
|
10
|
+
private readonly _selectedPluginFunction$;
|
|
11
|
+
private readonly _save$;
|
|
12
|
+
private readonly _selectedProcessLink$;
|
|
13
|
+
constructor(pluginManagementService: PluginManagementService, pluginService: PluginService);
|
|
14
|
+
get selectedPluginDefinition$(): Observable<PluginDefinition>;
|
|
15
|
+
get selectedPluginConfiguration$(): Observable<PluginConfiguration>;
|
|
16
|
+
get selectedPluginFunction$(): Observable<PluginFunction>;
|
|
17
|
+
get save$(): Observable<any>;
|
|
18
|
+
get functionKey$(): Observable<string>;
|
|
19
|
+
get pluginDefinitionKey$(): Observable<string>;
|
|
20
|
+
selectPluginDefinition(definition: PluginDefinition): void;
|
|
21
|
+
selectPluginConfiguration(configuration: PluginConfiguration): void;
|
|
22
|
+
selectPluginFunction(pluginFunction: PluginFunction): void;
|
|
23
|
+
selectProcessLink(processLink: ProcessLink): void;
|
|
24
|
+
deselectProcessLink(): void;
|
|
25
|
+
save(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PluginStateService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PluginStateService>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=plugin-state.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-state.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-link/src/lib/services/plugin-state.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAiC,UAAU,EAAyB,MAAM,MAAM,CAAC;AAExF,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,uBAAuB,EACvB,aAAa,EACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;;AAEtC,qBAGa,kBAAkB;IAU3B,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAVhC,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAoD;IAC/F,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAE5C;IACF,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAkD;IAC3F,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAC9C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAA+C;gBAGlE,uBAAuB,EAAE,uBAAuB,EAChD,aAAa,EAAE,aAAa;IAG/C,IAAI,yBAAyB,IAAI,UAAU,CAAC,gBAAgB,CAAC,CAE5D;IAED,IAAI,4BAA4B,IAAI,UAAU,CAAC,mBAAmB,CAAC,CAElE;IAED,IAAI,uBAAuB,IAAI,UAAU,CAAC,cAAc,CAAC,CAExD;IAED,IAAI,KAAK,IAAI,UAAU,CAAC,GAAG,CAAC,CAE3B;IAED,IAAI,YAAY,IAAI,UAAU,CAAC,MAAM,CAAC,CAQrC;IAED,IAAI,oBAAoB,IAAI,UAAU,CAAC,MAAM,CAAC,CAwB7C;IAED,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,GAAG,IAAI;IAI1D,yBAAyB,CAAC,aAAa,EAAE,mBAAmB,GAAG,IAAI;IAInE,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IAI1D,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAIjD,mBAAmB,IAAI,IAAI;IAI3B,IAAI,IAAI,IAAI;yCAtFD,kBAAkB;6CAAlB,kBAAkB;CAyF9B"}
|