@epistola.app/valtimo-plugin 0.5.2 → 0.6.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/epistola.app-valtimo-plugin.mjs +1622 -508
- package/fesm2022/epistola.app-valtimo-plugin.mjs.map +1 -1
- package/lib/components/epistola-admin-page/epistola-admin-page.component.d.ts +52 -0
- package/lib/components/expected-structure/expected-structure.component.d.ts +11 -0
- package/lib/components/generate-document-configuration/generate-document-configuration.component.d.ts +10 -3
- package/lib/components/jsonata-editor/jsonata-editor.component.d.ts +29 -0
- package/lib/components/mapping-builder/builder-field/builder-field.component.d.ts +21 -0
- package/lib/components/mapping-builder/mapping-builder.component.d.ts +37 -0
- package/lib/components/mapping-preview/mapping-preview.component.d.ts +26 -0
- package/lib/epistola-admin-routing.module.d.ts +7 -0
- package/lib/epistola.module.d.ts +11 -14
- package/lib/models/admin.d.ts +49 -0
- package/lib/models/config.d.ts +10 -1
- package/lib/models/expression.d.ts +13 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/template.d.ts +0 -6
- package/lib/services/epistola-admin.service.d.ts +37 -0
- package/lib/services/epistola-menu.service.d.ts +13 -0
- package/lib/services/epistola-plugin.service.d.ts +11 -3
- package/lib/services/index.d.ts +2 -0
- package/lib/utils/jsonata-converter.d.ts +26 -0
- package/lib/utils/jsonata-monaco.d.ts +14 -0
- package/package.json +7 -5
- package/public_api.d.ts +4 -5
- package/lib/components/array-field/array-field.component.d.ts +0 -27
- package/lib/components/data-mapping-tree/data-mapping-tree.component.d.ts +0 -27
- package/lib/components/field-tree/field-tree.component.d.ts +0 -27
- package/lib/components/scalar-field/scalar-field.component.d.ts +0 -16
- package/lib/components/value-input/value-input.component.d.ts +0 -34
- package/lib/utils/template-field-utils.d.ts +0 -6
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { TemplateField } from '../../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Recursive field tree component.
|
|
6
|
-
* Dispatches SCALAR and ARRAY to dedicated sub-components.
|
|
7
|
-
* Handles OBJECT inline to avoid circular import issues (OBJECT children recurse back to this component).
|
|
8
|
-
* Uses forwardRef(() => FieldTreeComponent) in imports to allow self-referencing in the template.
|
|
9
|
-
*/
|
|
10
|
-
export declare class FieldTreeComponent implements OnChanges {
|
|
11
|
-
field: TemplateField;
|
|
12
|
-
value: any;
|
|
13
|
-
pluginId: string;
|
|
14
|
-
caseDefinitionKey: string | null;
|
|
15
|
-
processVariables: string[];
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
valueChange: EventEmitter<any>;
|
|
18
|
-
expanded: boolean;
|
|
19
|
-
mappedCount: number;
|
|
20
|
-
totalRequired: number;
|
|
21
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
22
|
-
toggleExpanded(): void;
|
|
23
|
-
onChildChange(childName: string, childValue: any): void;
|
|
24
|
-
getChildValue(childName: string): any;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldTreeComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldTreeComponent, "epistola-field-tree", never, { "field": { "alias": "field"; "required": false; }; "value": { "alias": "value"; "required": false; }; "pluginId": { "alias": "pluginId"; "required": false; }; "caseDefinitionKey": { "alias": "caseDefinitionKey"; "required": false; }; "processVariables": { "alias": "processVariables"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { TemplateField } from '../../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ScalarFieldComponent {
|
|
5
|
-
field: TemplateField;
|
|
6
|
-
value: any;
|
|
7
|
-
pluginId: string;
|
|
8
|
-
caseDefinitionKey: string | null;
|
|
9
|
-
processVariables: string[];
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
valueChange: EventEmitter<any>;
|
|
12
|
-
get stringValue(): string;
|
|
13
|
-
onValueChange(newValue: string): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScalarFieldComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScalarFieldComponent, "epistola-scalar-field", never, { "field": { "alias": "field"; "required": false; }; "value": { "alias": "value"; "required": false; }; "pluginId": { "alias": "pluginId"; "required": false; }; "caseDefinitionKey": { "alias": "caseDefinitionKey"; "required": false; }; "processVariables": { "alias": "processVariables"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ValuePathSelectorPrefix } from '@valtimo/components';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type InputMode = 'browse' | 'pv' | 'expression';
|
|
5
|
-
/**
|
|
6
|
-
* Reusable 3-mode input (browse / pv / expression) for value resolver expressions.
|
|
7
|
-
* Used by both ScalarFieldComponent and ArrayFieldComponent for source mapping.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ValueInputComponent implements OnChanges {
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
name: string;
|
|
12
|
-
value: string;
|
|
13
|
-
pluginId: string;
|
|
14
|
-
caseDefinitionKey: string | null;
|
|
15
|
-
processVariables: string[];
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
placeholder: string;
|
|
18
|
-
valueChange: EventEmitter<string>;
|
|
19
|
-
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
20
|
-
inputMode: InputMode;
|
|
21
|
-
selectedPv: string;
|
|
22
|
-
browseDefault: string;
|
|
23
|
-
constructor(cdr: ChangeDetectorRef);
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
-
setInputMode(mode: InputMode): void;
|
|
26
|
-
onBrowseValueChange(newValue: string): void;
|
|
27
|
-
onPvChange(newValue: string): void;
|
|
28
|
-
onExpressionValueChange(newValue: string): void;
|
|
29
|
-
private detectInputMode;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValueInputComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValueInputComponent, "epistola-value-input", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "pluginId": { "alias": "pluginId"; "required": false; }; "caseDefinitionKey": { "alias": "caseDefinitionKey"; "required": false; }; "processVariables": { "alias": "processVariables"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
32
|
-
}
|
|
33
|
-
/** Convert slash-notation paths (e.g. doc:/a/b) to dot notation (doc:a.b). */
|
|
34
|
-
export declare function normalizeToDots(value: string): string;
|