@valtimo/components 13.14.0 → 13.16.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-components.mjs +148 -97
- package/fesm2022/valtimo-components.mjs.map +1 -1
- package/lib/components/editor/editor.component.d.ts +2 -0
- package/lib/components/editor/editor.component.d.ts.map +1 -1
- package/lib/components/form-io/components/form-io-builder/form-io-builder.component.d.ts.map +1 -1
- package/lib/components/form-io/components/form-io-builder/form-io-builder.utils.d.ts +11 -6
- package/lib/components/form-io/components/form-io-builder/form-io-builder.utils.d.ts.map +1 -1
- package/lib/components/form-io/components/formio-value-resolver-selector/formio-value-resolver-selector.component.d.ts +9 -3
- package/lib/components/form-io/components/formio-value-resolver-selector/formio-value-resolver-selector.component.d.ts.map +1 -1
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ export declare class EditorComponent implements AfterViewInit, OnDestroy {
|
|
|
26
26
|
private _editorOptions;
|
|
27
27
|
private _model;
|
|
28
28
|
private _layoutSubscription;
|
|
29
|
+
private _containerResizeObserver;
|
|
29
30
|
constructor(editorService: EditorService, shellService: ShellService);
|
|
30
31
|
ngAfterViewInit(): void;
|
|
31
32
|
ngOnDestroy(): void;
|
|
@@ -37,6 +38,7 @@ export declare class EditorComponent implements AfterViewInit, OnDestroy {
|
|
|
37
38
|
private checkValidity;
|
|
38
39
|
private setEditorEvents;
|
|
39
40
|
private initMonaco;
|
|
41
|
+
private initContainerResizeObserver;
|
|
40
42
|
private initJsonSchemaValidation;
|
|
41
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
|
|
42
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "valtimo-editor", never, { "editorOptions": { "alias": "editorOptions"; "required": false; }; "model": { "alias": "model"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formatOnLoad": { "alias": "formatOnLoad"; "required": false; }; "widthPx": { "alias": "widthPx"; "required": false; }; "heightPx": { "alias": "heightPx"; "required": false; }; "heightStyle": { "alias": "heightStyle"; "required": false; }; "jsonSchema": { "alias": "jsonSchema"; "required": false; }; "fitPage": { "alias": "fitPage"; "required": false; }; "fitPageSpaceAdjustment": { "alias": "fitPageSpaceAdjustment"; "required": false; }; }, { "validEvent": "validEvent"; "valueChangeEvent": "valueChangeEvent"; }, never, never, false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/editor/editor.component.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AAErC,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AACzC,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;;AAI/C,qBAMa,eAAgB,YAAW,aAAa,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"editor.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/editor/editor.component.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AAErC,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AACzC,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;;AAI/C,qBAMa,eAAgB,YAAW,aAAa,EAAE,SAAS;IAoC5D,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OA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3,"file":"form-io-builder.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-builder/form-io-builder.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAE,QAAQ,EAAS,MAAM,EAAS,MAAM,eAAe,CAAC;AAGvF,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAY,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"form-io-builder.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-builder/form-io-builder.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAE,QAAQ,EAAS,MAAM,EAAS,MAAM,eAAe,CAAC;AAGvF,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAY,MAAM,MAAM,CAAC;AAM3E,OAAO,EAAC,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAGxD,OAAO,EACL,aAAa,EAKd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;;AAE/C,qBAMa,sBAAuB,YAAW,MAAM;IAmDjD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,KAAK;IAvDxB,SAAgB,KAAK,0BAA4C;IAEjE,IAAoB,IAAI,CAAC,KAAK,EAAE,MAAM,EAGrC;IAGgB,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAEhE,SAAgB,cAAc,EAAE,YAAY,CAAC,aAAa,CAAC,CAAsB;IAEjF,SAAgB,gBAAgB,qBAI9B;IAEF,SAAgB,oBAAoB,uBAA8B;IAElE,SAAgB,QAAQ,wCAAwD;IAEhF,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA0C;IAE5E,SAAgB,cAAc,EAAE,UAAU,CAAC,oBAAoB,GAAG,aAAa,CAAC,CAqB9E;IAEF,SAAgB,iBAAiB,2BAAuC;gBAGrD,gBAAgB,EAAE,gBAAgB,EAClC,YAAY,EAAE,kBAAkB,EAChC,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,iBAAiB,EAC9B,KAAK,EAAE,cAAc;IAMjC,QAAQ;IAIR,QAAQ,CAAC,KAAK,KAAA;IAIrB,OAAO,CAAC,cAAc,CA8BpB;IAEF,OAAO,CAAC,kBAAkB;yCAtGf,sBAAsB;2CAAtB,sBAAsB;CA2GlC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { ManagementContext } from '@valtimo/shared';
|
|
1
2
|
import { Observable } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
interface FormioContextParams {
|
|
4
|
+
context: ManagementContext | null;
|
|
5
|
+
caseDefinitionKey: string | null;
|
|
6
|
+
caseDefinitionVersionTag: string | null;
|
|
7
|
+
buildingBlockDefinitionKey: string | null;
|
|
8
|
+
buildingBlockDefinitionVersionTag: string | null;
|
|
9
|
+
}
|
|
10
|
+
declare let formioParams: Observable<FormioContextParams>;
|
|
6
11
|
declare const modiyEditFormApiKeyInput: (editForm: any) => void;
|
|
7
|
-
declare const addValueResolverSelectorToEditform: (editForm: any, params:
|
|
8
|
-
export { modiyEditFormApiKeyInput, addValueResolverSelectorToEditform, formioParams };
|
|
12
|
+
declare const addValueResolverSelectorToEditform: (editForm: any, params: Observable<FormioContextParams>) => void;
|
|
13
|
+
export { modiyEditFormApiKeyInput, addValueResolverSelectorToEditform, formioParams, FormioContextParams, };
|
|
9
14
|
//# sourceMappingURL=form-io-builder.utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-io-builder.utils.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-builder/form-io-builder.utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-io-builder.utils.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-builder/form-io-builder.utils.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,iBAAiB,EAAgB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC,UAAU,mBAAmB;IAC3B,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAClC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,iCAAiC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClD;AAED,QAAA,IAAI,YAAY,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;AAElD,QAAA,MAAM,wBAAwB,GAAI,UAAU,GAAG,KAAG,IASjD,CAAC;AAEF,QAAA,MAAM,kCAAkC,GACtC,UAAU,GAAG,EACb,QAAQ,UAAU,CAAC,mBAAmB,CAAC,KACtC,IA2CF,CAAC;AAEF,OAAO,EACL,wBAAwB,EACxB,kCAAkC,EAClC,YAAY,EACZ,mBAAmB,GACpB,CAAC"}
|
|
@@ -5,16 +5,22 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class FormioValueResolverSelectorComponent implements FormioCustomComponent<string> {
|
|
7
7
|
readonly disabled: boolean;
|
|
8
|
+
label: string;
|
|
9
|
+
resolverType: 'source' | 'target';
|
|
8
10
|
readonly valueChange: EventEmitter<string>;
|
|
9
11
|
readonly defaultValue$: BehaviorSubject<string>;
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
+
readonly context$: import("rxjs").Observable<import("@valtimo/shared").ManagementContext>;
|
|
13
|
+
readonly caseDefinitionKey$: import("rxjs").Observable<string>;
|
|
14
|
+
readonly caseDefinitionVersionTag$: import("rxjs").Observable<string>;
|
|
15
|
+
readonly buildingBlockDefinitionKey$: import("rxjs").Observable<string>;
|
|
16
|
+
readonly buildingBlockDefinitionVersionTag$: import("rxjs").Observable<string>;
|
|
17
|
+
readonly isIndependentContext$: import("rxjs").Observable<boolean>;
|
|
12
18
|
private _value;
|
|
13
19
|
set value(value: string);
|
|
14
20
|
get value(): string;
|
|
15
21
|
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
16
22
|
onValueChange(value: string): void;
|
|
17
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormioValueResolverSelectorComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormioValueResolverSelectorComponent, "valtimo-formio-value-resolver-selector", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioValueResolverSelectorComponent, "valtimo-formio-value-resolver-selector", never, { "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "resolverType": { "alias": "resolverType"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
19
25
|
}
|
|
20
26
|
//# sourceMappingURL=formio-value-resolver-selector.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formio-value-resolver-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/formio-value-resolver-selector/formio-value-resolver-selector.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AACrE,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAG1D,OAAO,EAAC,uBAAuB,EAAC,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAC,eAAe,EAAM,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"formio-value-resolver-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/formio-value-resolver-selector/formio-value-resolver-selector.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AACrE,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAG1D,OAAO,EAAC,uBAAuB,EAAC,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAC,eAAe,EAAM,MAAM,MAAM,CAAC;;AAI1C,qBAMa,oCAAqC,YAAW,qBAAqB,CAAC,MAAM,CAAC;IACxF,SAAyB,QAAQ,EAAE,OAAO,CAAC;IAC3B,KAAK,SAAM;IACX,YAAY,EAAE,QAAQ,GAAG,QAAQ,CAAY;IAC7D,SAA0B,WAAW,uBAA8B;IAEnE,SAAgB,aAAa,0BAAmC;IAChE,SAAgB,QAAQ,yEAAqD;IAC7E,SAAgB,kBAAkB,oCAA+D;IACjG,SAAgB,yBAAyB,oCAEvC;IACF,SAAgB,2BAA2B,oCAEzC;IACF,SAAgB,kCAAkC,oCAEhD;IACF,SAAgB,qBAAqB,qCAEnC;IACF,OAAO,CAAC,MAAM,CAAU;IACxB,IAAoB,KAAK,CAAC,KAAK,EAAE,MAAM,EAItC;IAED,IAAW,KAAK,IAAI,MAAM,CAEzB;IAED,SAAgB,uBAAuB,iCAA2B;IAE3D,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;yCAlC9B,oCAAoC;2CAApC,oCAAoC;CAwChD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valtimo-cds-modal.directive.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,aAAa,EAEb,UAAU,EAGV,SAAS,EACT,SAAS,EAEV,MAAM,eAAe,CAAC;;AAEvB,qBAIa,wBAAyB,YAAW,aAAa,EAAE,SAAS;IAMnD,OAAO,CAAC,QAAQ;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAP3B,SAAyB,gBAAgB,KAAK;IAE9C,OAAO,CAAC,iBAAiB,CAAmB;gBAGhB,QAAQ,EAAE,QAAQ,EAC3B,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,SAAS;IAG/B,eAAe,IAAI,IAAI;IAsBvB,WAAW,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"valtimo-cds-modal.directive.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,aAAa,EAEb,UAAU,EAGV,SAAS,EACT,SAAS,EAEV,MAAM,eAAe,CAAC;;AAEvB,qBAIa,wBAAyB,YAAW,aAAa,EAAE,SAAS;IAMnD,OAAO,CAAC,QAAQ;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAP3B,SAAyB,gBAAgB,KAAK;IAE9C,OAAO,CAAC,iBAAiB,CAAmB;gBAGhB,QAAQ,EAAE,QAAQ,EAC3B,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,SAAS;IAG/B,eAAe,IAAI,IAAI;IAsBvB,WAAW,IAAI,IAAI;IAK1B,OAAO,CAAC,eAAe;IAiBvB,OAAO,CAAC,2BAA2B;IAWnC,OAAO,CAAC,4BAA4B;IAKpC,OAAO,CAAC,yBAAyB;IAejC,OAAO,CAAC,8BAA8B;yCAtF3B,wBAAwB;2CAAxB,wBAAwB;CA4GpC"}
|