@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.
- package/esm2022/lib/components/form-view-model/form-view-model.component.mjs +282 -0
- package/esm2022/lib/components/form-view-model/index.mjs +17 -0
- package/esm2022/lib/form-view-model.module.mjs +41 -0
- package/esm2022/lib/services/index.mjs +17 -0
- package/esm2022/lib/services/view-model.service.mjs +91 -0
- package/esm2022/public_api.mjs +22 -0
- package/esm2022/valtimo-form-view-model.mjs +5 -0
- package/fesm2022/valtimo-form-view-model.mjs +465 -0
- package/fesm2022/valtimo-form-view-model.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/components/form-view-model/form-view-model.component.d.ts +57 -0
- package/lib/components/form-view-model/form-view-model.component.d.ts.map +1 -0
- package/lib/components/form-view-model/index.d.ts +2 -0
- package/lib/components/form-view-model/index.d.ts.map +1 -0
- package/lib/form-view-model.module.d.ts +7 -0
- package/lib/form-view-model.module.d.ts.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/view-model.service.d.ts +18 -0
- package/lib/services/view-model.service.d.ts.map +1 -0
- package/package.json +28 -0
- package/public_api.d.ts +4 -0
- package/public_api.d.ts.map +1 -0
- package/valtimo-form-view-model.d.ts.map +1 -0
|
@@ -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
|
+
}
|
package/public_api.d.ts
ADDED
|
@@ -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"}
|