@valtimo/form-flow-management 13.42.0 → 13.44.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/fesm2022/valtimo-form-flow-management.mjs +1559 -186
- package/fesm2022/valtimo-form-flow-management.mjs.map +1 -1
- package/lib/components/editor/form-flow-editor.component.d.ts +34 -5
- package/lib/components/editor/form-flow-editor.component.d.ts.map +1 -1
- package/lib/components/editor/tabs/form-flow-json-editor-tab/form-flow-json-editor-tab.component.d.ts +17 -0
- package/lib/components/editor/tabs/form-flow-json-editor-tab/form-flow-json-editor-tab.component.d.ts.map +1 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-context-properties/form-flow-context-properties.component.d.ts +23 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-context-properties/form-flow-context-properties.component.d.ts.map +1 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-expression-help-modal/form-flow-expression-help-modal.component.d.ts +15 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-expression-help-modal/form-flow-expression-help-modal.component.d.ts.map +1 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-expression-list/form-flow-expression-list.component.d.ts +54 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-expression-list/form-flow-expression-list.component.d.ts.map +1 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-step-detail/form-flow-step-detail.component.d.ts +73 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-step-detail/form-flow-step-detail.component.d.ts.map +1 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-step-list/form-flow-step-list.component.d.ts +42 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-step-list/form-flow-step-list.component.d.ts.map +1 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-transition-list/form-flow-transition-list.component.d.ts +49 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-transition-list/form-flow-transition-list.component.d.ts.map +1 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-ui-editor-tab.component.d.ts +89 -0
- package/lib/components/editor/tabs/form-flow-ui-editor-tab/form-flow-ui-editor-tab.component.d.ts.map +1 -0
- package/lib/components/new-form-flow-modal/new-form-flow-modal.component.d.ts.map +1 -1
- package/lib/constants/form-flow-editor.test-ids.d.ts +19 -0
- package/lib/constants/form-flow-editor.test-ids.d.ts.map +1 -0
- package/lib/constants/index.d.ts +3 -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/form-flow-management.module.d.ts +3 -1
- package/lib/form-flow-management.module.d.ts.map +1 -1
- package/lib/models/form-flow-custom-component.model.d.ts +18 -0
- package/lib/models/form-flow-custom-component.model.d.ts.map +1 -0
- package/lib/models/form-flow-editor.model.d.ts +6 -0
- package/lib/models/form-flow-editor.model.d.ts.map +1 -0
- package/lib/models/form-flow.model.d.ts +8 -6
- package/lib/models/form-flow.model.d.ts.map +1 -1
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -1
- 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-download.service.d.ts.map +1 -1
- package/lib/services/form-flow-editor-form.service.d.ts +52 -0
- package/lib/services/form-flow-editor-form.service.d.ts.map +1 -0
- package/lib/services/form-flow.service.d.ts +2 -1
- package/lib/services/form-flow.service.d.ts.map +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/utils/index.d.ts +2 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/translate.utils.d.ts +8 -0
- package/lib/utils/translate.utils.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/public-api.d.ts.map +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-flow-editor.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/models/form-flow-editor.model.ts"],"names":[],"mappings":"AAgBA,aAAK,iBAAiB;IACpB,MAAM,WAAW;IACjB,WAAW,eAAe;CAC3B;AAED,OAAO,EAAC,iBAAiB,EAAC,CAAC"}
|
|
@@ -15,19 +15,21 @@ interface FormFlowDefinitionId {
|
|
|
15
15
|
}
|
|
16
16
|
interface FormFlowStep {
|
|
17
17
|
key: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
title?: string;
|
|
19
|
+
nextStep?: string;
|
|
20
|
+
nextSteps?: Array<FormFlowNextStep>;
|
|
21
|
+
onBack?: Array<string>;
|
|
22
|
+
onOpen?: Array<string>;
|
|
23
|
+
onComplete?: Array<string>;
|
|
22
24
|
type: FormFlowStepType;
|
|
23
25
|
}
|
|
24
26
|
interface FormFlowNextStep {
|
|
25
|
-
condition?: string;
|
|
27
|
+
condition?: string | null;
|
|
26
28
|
step: string;
|
|
27
29
|
}
|
|
28
30
|
interface FormFlowStepType {
|
|
29
31
|
name: string;
|
|
30
|
-
properties: FormStepTypeProperties | CustomComponentStepTypeProperties
|
|
32
|
+
properties: FormStepTypeProperties | CustomComponentStepTypeProperties | Record<string, string>;
|
|
31
33
|
}
|
|
32
34
|
interface FormStepTypeProperties {
|
|
33
35
|
definition: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-flow.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/models/form-flow.model.ts"],"names":[],"mappings":"AAgBA,UAAU,sBAAsB;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,kBAAkB;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC5B;AAED,UAAU,oBAAoB;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,YAAY;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"form-flow.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/models/form-flow.model.ts"],"names":[],"mappings":"AAgBA,UAAU,sBAAsB;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,kBAAkB;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC5B;AAED,UAAU,oBAAoB;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,YAAY;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,sBAAsB,GAAG,iCAAiC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjG;AAED,UAAU,sBAAsB;IAC9B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,iCAAiC;IACzC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,sBAAsB;IAC9B,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC7B;AAED,UAAU,WAAW,CAAC,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,CAAC,CAAC;CACX;AAED,UAAU,oBAAoB;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,UAAU,mBAAmB;IAC3B,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,iCAAiC,EACjC,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,mBAAmB,GACpB,CAAC"}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC"}
|
|
@@ -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/form-flow-management/src/lib/services/form-flow-component.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAA0B,UAAU,EAAC,MAAM,MAAM,CAAC;AAEzD,OAAO,EAAC,iCAAiC,EAAC,MAAM,WAAW,CAAC;;AAE5D,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-flow-download.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/services/form-flow-download.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,oBAAoB,EAAC,MAAM,WAAW,CAAC;;AAE/C,qBACa,uBAAuB;IAC3B,YAAY,
|
|
1
|
+
{"version":3,"file":"form-flow-download.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/services/form-flow-download.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,oBAAoB,EAAC,MAAM,WAAW,CAAC;;AAE/C,qBACa,uBAAuB;IAC3B,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAG,IAAI;yCAD1D,uBAAuB;6CAAvB,uBAAuB;CAcnC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { FormArray, FormBuilder, FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { FormFlowRegistryDto } from '@valtimo/shared';
|
|
3
|
+
import { FormFlowDefinition, FormFlowNextStep, FormFlowStep } from '../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Builds and reads the reactive form tree that backs the visual form flow editor.
|
|
7
|
+
*
|
|
8
|
+
* The form mirrors the definition JSON: a `startStep` control and a `steps` array where every step
|
|
9
|
+
* has its key, title, type (name plus a dynamic properties group driven by the registry),
|
|
10
|
+
* transitions and the three expression lists. Serialization produces the same JSON contract the
|
|
11
|
+
* JSON editor tab emits, so both tabs are interchangeable to the surrounding editor page.
|
|
12
|
+
*/
|
|
13
|
+
export declare class FormFlowEditorFormService {
|
|
14
|
+
private readonly fb;
|
|
15
|
+
constructor(fb: FormBuilder);
|
|
16
|
+
buildDefinitionForm(definition: FormFlowDefinition, registry: FormFlowRegistryDto): FormGroup;
|
|
17
|
+
buildStepGroup(step: FormFlowStep, registry: FormFlowRegistryDto): FormGroup;
|
|
18
|
+
buildNewStepGroup(existingKeys: string[], registry: FormFlowRegistryDto): FormGroup;
|
|
19
|
+
/**
|
|
20
|
+
* Builds the dynamic properties group for a step type. Known types get one required control per
|
|
21
|
+
* registry property; unknown (custom) types keep controls for whatever properties the loaded
|
|
22
|
+
* definition already contained. Values for properties that exist in both the old and the new
|
|
23
|
+
* type are preserved.
|
|
24
|
+
*/
|
|
25
|
+
buildPropertiesGroup(typeName: string, currentProperties: Record<string, string>, registry: FormFlowRegistryDto): FormGroup;
|
|
26
|
+
buildTransitionGroup(transition?: FormFlowNextStep): FormGroup;
|
|
27
|
+
buildExpressionControl(expression?: string): FormControl;
|
|
28
|
+
serialize(form: FormGroup, definitionKey: string): FormFlowDefinition;
|
|
29
|
+
/**
|
|
30
|
+
* Rewrites every reference to a renamed step key: the start step and all transition targets.
|
|
31
|
+
* Used while the user types a new key, so the definition stays internally consistent.
|
|
32
|
+
*/
|
|
33
|
+
renameStepReferences(form: FormGroup, oldKey: string, newKey: string): void;
|
|
34
|
+
getStepsArray(form: FormGroup): FormArray;
|
|
35
|
+
private buildExpressionArray;
|
|
36
|
+
private generateStepKey;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFlowEditorFormService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormFlowEditorFormService>;
|
|
39
|
+
}
|
|
40
|
+
/** Marks duplicated step keys invalid on the `steps` array. */
|
|
41
|
+
declare const uniqueStepKeysValidator: ValidatorFn;
|
|
42
|
+
/** The configured start step must reference an existing step. */
|
|
43
|
+
declare const startStepExistsValidator: ValidatorFn;
|
|
44
|
+
/** Every transition must point to an existing step. */
|
|
45
|
+
declare const transitionTargetsExistValidator: ValidatorFn;
|
|
46
|
+
/**
|
|
47
|
+
* Transitions are evaluated in order and the first condition-less entry acts as the default, so at
|
|
48
|
+
* most one transition per step may omit its condition.
|
|
49
|
+
*/
|
|
50
|
+
declare const singleDefaultTransitionValidator: ValidatorFn;
|
|
51
|
+
export { uniqueStepKeysValidator, startStepExistsValidator, transitionTargetsExistValidator, singleDefaultTransitionValidator, };
|
|
52
|
+
//# sourceMappingURL=form-flow-editor-form.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-flow-editor-form.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/services/form-flow-editor-form.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAEL,SAAS,EACT,WAAW,EACX,WAAW,EACX,SAAS,EAET,WAAW,EAEZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAC,kBAAkB,EAAE,gBAAgB,EAAE,YAAY,EAAC,MAAM,WAAW,CAAC;;AAE7E;;;;;;;GAOG;AACH,qBACa,yBAAyB;IACxB,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,WAAW;IAErC,mBAAmB,CACxB,UAAU,EAAE,kBAAkB,EAC9B,QAAQ,EAAE,mBAAmB,GAC5B,SAAS;IAaL,cAAc,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,mBAAmB,GAAG,SAAS;IA0B5E,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,mBAAmB,GAAG,SAAS;IAgB1F;;;;;OAKG;IACI,oBAAoB,CACzB,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACzC,QAAQ,EAAE,mBAAmB,GAC5B,SAAS;IAgBL,oBAAoB,CAAC,UAAU,CAAC,EAAE,gBAAgB,GAAG,SAAS;IAO9D,sBAAsB,CAAC,UAAU,SAAK,GAAG,WAAW;IAIpD,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,GAAG,kBAAkB;IAwB5E;;;OAGG;IACI,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI;IAkB3E,aAAa,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS;IAIhD,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,eAAe;yCA1JZ,yBAAyB;6CAAzB,yBAAyB;CAkKrC;AAaD,+DAA+D;AAC/D,QAAA,MAAM,uBAAuB,EAAE,WAS9B,CAAC;AAEF,iEAAiE;AACjE,QAAA,MAAM,wBAAwB,EAAE,WAW/B,CAAC;AAEF,uDAAuD;AACvD,QAAA,MAAM,+BAA+B,EAAE,WAetC,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,gCAAgC,EAAE,WAQvC,CAAC;AAEF,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,+BAA+B,EAC/B,gCAAgC,GACjC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ConfigService, Page, BaseApiService } from '@valtimo/shared';
|
|
2
|
+
import { ConfigService, FormFlowRegistryDto, Page, BaseApiService } from '@valtimo/shared';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { FormFlowDefinition, ListFormFlowDefinition } from '../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -8,6 +8,7 @@ export declare class FormFlowService extends BaseApiService {
|
|
|
8
8
|
protected readonly configService: ConfigService;
|
|
9
9
|
constructor(httpClient: HttpClient, configService: ConfigService);
|
|
10
10
|
getFormFlowDefinitionSchema(): Observable<object>;
|
|
11
|
+
getFormFlowRegistry(): Observable<FormFlowRegistryDto>;
|
|
11
12
|
getFormFlowDefinitions(caseDefinitionKey: string, caseVersionTag: string): Observable<Page<ListFormFlowDefinition>>;
|
|
12
13
|
getFormFlowDefinitionByKey(caseDefinitionKey: string, caseVersionTag: string, formFlowDefinitionKey: string): Observable<FormFlowDefinition>;
|
|
13
14
|
createFormFlowDefinition(caseDefinitionKey: string, caseVersionTag: string, definition: FormFlowDefinition): Observable<FormFlowDefinition>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-flow.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/services/form-flow.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAC,aAAa,EAAE,IAAI,EAAE,cAAc,EAAC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"form-flow.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/services/form-flow.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAE,IAAI,EAAE,cAAc,EAAC,MAAM,iBAAiB,CAAC;AACzF,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,kBAAkB,EAAwB,sBAAsB,EAAC,MAAM,WAAW,CAAC;;AAE3F,qBAGa,eAAgB,SAAQ,cAAc;IAE/C,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,2BAA2B,IAAI,UAAU,CAAC,MAAM,CAAC;IAOjD,mBAAmB,IAAI,UAAU,CAAC,mBAAmB,CAAC;IAMtD,sBAAsB,CAC3B,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,GACrB,UAAU,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAQpC,0BAA0B,CAC/B,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,qBAAqB,EAAE,MAAM,GAC5B,UAAU,CAAC,kBAAkB,CAAC;IAQ1B,wBAAwB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,kBAAkB,GAC7B,UAAU,CAAC,kBAAkB,CAAC;IAS1B,wBAAwB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,GACpB,UAAU,CAAC,IAAI,CAAC;IAQZ,wBAAwB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,kBAAkB,GACpC,UAAU,CAAC,kBAAkB,CAAC;IAS1B,mCAAmC,CACxC,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,GACjB,UAAU,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAQpC,uCAAuC,CAC5C,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,qBAAqB,EAAE,MAAM,GAC5B,UAAU,CAAC,kBAAkB,CAAC;IAQ1B,qCAAqC,CAC1C,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,kBAAkB,GAC7B,UAAU,CAAC,kBAAkB,CAAC;IAS1B,qCAAqC,CAC1C,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,GACpB,UAAU,CAAC,IAAI,CAAC;IAQZ,qCAAqC,CAC1C,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,kBAAkB,GACpC,UAAU,CAAC,kBAAkB,CAAC;yCAxItB,eAAe;6CAAf,eAAe;CAgJ3B"}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/utils/index.ts"],"names":[],"mappings":"AAgBA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
/**
|
|
3
|
+
* Translates a key and falls back to the given value when no translation exists (ngx-translate
|
|
4
|
+
* returns the key itself in that case). Used for registry-driven labels where only the well-known
|
|
5
|
+
* entries have translations.
|
|
6
|
+
*/
|
|
7
|
+
export declare function translateWithFallback(translateService: TranslateService, key: string, fallback: string): string;
|
|
8
|
+
//# sourceMappingURL=translate.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.utils.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-flow-management/src/lib/utils/translate.utils.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GACf,MAAM,CAGR"}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
package/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/form-flow-management/src/public-api.ts"],"names":[],"mappings":"AAoBA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wDAAwD,CAAC;AACvE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oEAAoE,CAAC;AACnF,cAAc,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/form-flow-management/src/public-api.ts"],"names":[],"mappings":"AAoBA,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wDAAwD,CAAC;AACvE,cAAc,oDAAoD,CAAC;AACnE,cAAc,oEAAoE,CAAC;AACnF,cAAc,mCAAmC,CAAC"}
|