@valtimo/form-view-model 12.1.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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-view-model/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { BaseApiService, ConfigService } from '@valtimo/config';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ViewModelService extends BaseApiService {
6
+ protected readonly httpClient: HttpClient;
7
+ protected readonly configService: ConfigService;
8
+ constructor(httpClient: HttpClient, configService: ConfigService);
9
+ getViewModel(formName: string, taskInstanceId: string): Observable<object>;
10
+ updateViewModel(formName: string, taskInstanceId: string, viewModel: object): Observable<object>;
11
+ submitViewModel(formName: string, taskInstanceId: string, viewModel: object): Observable<object>;
12
+ getViewModelForStartForm(formName: string, processDefinitionKey: string): Observable<object>;
13
+ updateViewModelForStartForm(formName: string, processDefinitionKey: string, viewModel: object): Observable<object>;
14
+ submitViewModelForStartForm(formName: string, processDefinitionKey: string, documentDefinitionName: string, viewModel: object): Observable<object>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewModelService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<ViewModelService>;
17
+ }
18
+ //# sourceMappingURL=view-model.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-model.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/form-view-model/src/lib/services/view-model.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAwC,MAAM,sBAAsB,CAAC;AACvF,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,cAAc,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;;AAG9D,qBACa,gBAAiB,SAAQ,cAAc;IAEhD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAU1E,eAAe,CACpB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,GAChB,UAAU,CAAC,MAAM,CAAC;IAUd,eAAe,CACpB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,GAChB,UAAU,CAAC,MAAM,CAAC;IAUd,wBAAwB,CAC7B,QAAQ,EAAE,MAAM,EAChB,oBAAoB,EAAE,MAAM,GAC3B,UAAU,CAAC,MAAM,CAAC;IAUd,2BAA2B,CAChC,QAAQ,EAAE,MAAM,EAChB,oBAAoB,EAAE,MAAM,EAC5B,SAAS,EAAE,MAAM,GAChB,UAAU,CAAC,MAAM,CAAC;IAUd,2BAA2B,CAChC,QAAQ,EAAE,MAAM,EAChB,oBAAoB,EAAE,MAAM,EAC5B,sBAAsB,EAAE,MAAM,EAC9B,SAAS,EAAE,MAAM,GAChB,UAAU,CAAC,MAAM,CAAC;yCA9EV,gBAAgB;6CAAhB,gBAAgB;CA4F5B"}
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@valtimo/form-view-model",
3
+ "license": "EUPL-1.2",
4
+ "version": "12.1.0",
5
+ "peerDependencies": {
6
+ "@angular/common": "^17.2.2",
7
+ "@angular/core": "^17.2.2"
8
+ },
9
+ "dependencies": {
10
+ "formiojs": "^4.18.0",
11
+ "@formio/angular": "7.0.0",
12
+ "tslib": "^2.3.0"
13
+ },
14
+ "module": "fesm2022/valtimo-form-view-model.mjs",
15
+ "typings": "index.d.ts",
16
+ "exports": {
17
+ "./package.json": {
18
+ "default": "./package.json"
19
+ },
20
+ ".": {
21
+ "types": "./index.d.ts",
22
+ "esm2022": "./esm2022/valtimo-form-view-model.mjs",
23
+ "esm": "./esm2022/valtimo-form-view-model.mjs",
24
+ "default": "./fesm2022/valtimo-form-view-model.mjs"
25
+ }
26
+ },
27
+ "sideEffects": false
28
+ }
@@ -0,0 +1,4 @@
1
+ export * from './lib/components/form-view-model/form-view-model.component';
2
+ export * from './lib/services';
3
+ export * from './lib/form-view-model.module';
4
+ //# sourceMappingURL=public_api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/form-view-model/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,4DAA4D,CAAC;AAC3E,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valtimo-form-view-model.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/form-view-model/src/valtimo-form-view-model.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}