@formio/angular 6.0.0-rc.3 → 6.0.0-rc.5
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/FormioBaseComponent.d.ts +6 -1
- package/FormioBaseComponent.d.ts.map +1 -1
- package/auth/auth.service.d.ts +0 -1
- package/auth/auth.service.d.ts.map +1 -1
- package/components/formioreport/formioreport.component.d.ts +20 -0
- package/components/formioreport/formioreport.component.d.ts.map +1 -0
- package/core.d.ts +1 -0
- package/core.d.ts.map +1 -1
- package/esm2022/FormioBaseComponent.mjs +57 -37
- package/esm2022/auth/auth.component.mjs +3 -3
- package/esm2022/auth/auth.config.mjs +3 -3
- package/esm2022/auth/auth.module.mjs +4 -4
- package/esm2022/auth/auth.service.mjs +14 -15
- package/esm2022/auth/login/login.component.mjs +3 -3
- package/esm2022/auth/register/register.component.mjs +3 -3
- package/esm2022/auth/resetpass/resetpass.component.mjs +3 -3
- package/esm2022/components/alerts/formio.alerts.component.mjs +3 -3
- package/esm2022/components/alerts/parse-html-content.pipe.mjs +3 -3
- package/esm2022/components/formbuilder/formbuilder.component.mjs +4 -4
- package/esm2022/components/formio/formio.component.mjs +4 -4
- package/esm2022/components/formioreport/formioreport.component.mjs +86 -0
- package/esm2022/components/loader/formio.loader.component.mjs +3 -3
- package/esm2022/core.mjs +2 -1
- package/esm2022/custom-component/custom-tags.service.mjs +3 -3
- package/esm2022/formio.common.mjs +1 -1
- package/esm2022/formio.config.mjs +3 -3
- package/esm2022/formio.module.mjs +10 -5
- package/esm2022/grid/GridBodyComponent.mjs +3 -3
- package/esm2022/grid/GridFooterComponent.mjs +3 -3
- package/esm2022/grid/GridHeaderComponent.mjs +3 -3
- package/esm2022/grid/form/FormGridBody.component.mjs +3 -3
- package/esm2022/grid/form/FormGridFooter.component.mjs +3 -3
- package/esm2022/grid/form/FormGridHeader.component.mjs +3 -3
- package/esm2022/grid/form/time-since.pipe.mjs +3 -3
- package/esm2022/grid/grid.component.mjs +3 -3
- package/esm2022/grid/grid.module.mjs +4 -4
- package/esm2022/grid/grid.service.mjs +3 -3
- package/esm2022/grid/submission/SubmissionGridBody.component.mjs +3 -3
- package/esm2022/grid/submission/SubmissionGridFooter.component.mjs +3 -3
- package/esm2022/grid/submission/SubmissionGridHeader.component.mjs +3 -3
- package/esm2022/manager/create/create.component.mjs +3 -3
- package/esm2022/manager/delete/delete.component.mjs +3 -3
- package/esm2022/manager/edit/edit.component.mjs +3 -3
- package/esm2022/manager/form/form.component.mjs +3 -3
- package/esm2022/manager/form-manager.config.mjs +3 -3
- package/esm2022/manager/form-manager.module.mjs +4 -4
- package/esm2022/manager/form-manager.service.mjs +3 -3
- package/esm2022/manager/index/index.component.mjs +3 -3
- package/esm2022/manager/submission/delete/delete.component.mjs +3 -3
- package/esm2022/manager/submission/edit/edit.component.mjs +3 -3
- package/esm2022/manager/submission/index/index.component.mjs +3 -3
- package/esm2022/manager/submission/submission/submission.component.mjs +3 -3
- package/esm2022/manager/submission/view/view.component.mjs +3 -3
- package/esm2022/manager/view/view.component.mjs +3 -3
- package/esm2022/resource/create/create.component.mjs +5 -5
- package/esm2022/resource/delete/delete.component.mjs +3 -3
- package/esm2022/resource/edit/edit.component.mjs +3 -3
- package/esm2022/resource/index/index.component.mjs +7 -8
- package/esm2022/resource/resource.component.mjs +22 -26
- package/esm2022/resource/resource.config.mjs +3 -3
- package/esm2022/resource/resource.module.mjs +4 -4
- package/esm2022/resource/resource.service.mjs +60 -38
- package/esm2022/resource/resources.service.mjs +3 -3
- package/esm2022/resource/view/view.component.mjs +3 -3
- package/fesm2022/formio-angular-auth.mjs +32 -33
- package/fesm2022/formio-angular-auth.mjs.map +1 -1
- package/fesm2022/formio-angular-grid.mjs +40 -40
- package/fesm2022/formio-angular-manager.mjs +43 -43
- package/fesm2022/formio-angular-resource.mjs +112 -96
- package/fesm2022/formio-angular-resource.mjs.map +1 -1
- package/fesm2022/formio-angular.mjs +166 -64
- package/fesm2022/formio-angular.mjs.map +1 -1
- package/formio.common.d.ts +9 -0
- package/formio.common.d.ts.map +1 -1
- package/formio.module.d.ts +8 -7
- package/formio.module.d.ts.map +1 -1
- package/package.json +4 -4
- package/resource/create/create.component.d.ts.map +1 -1
- package/resource/index/index.component.d.ts.map +1 -1
- package/resource/resource.component.d.ts +6 -4
- package/resource/resource.component.d.ts.map +1 -1
- package/resource/resource.service.d.ts +13 -10
- package/resource/resource.service.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { FormioResourceConfig } from './resource.config';
|
|
4
4
|
import { FormioResources } from './resources.service';
|
|
@@ -6,13 +6,11 @@ import { FormioPromiseService } from '@formio/angular';
|
|
|
6
6
|
import { FormioAlerts } from '@formio/angular';
|
|
7
7
|
import { FormioAppConfig } from '@formio/angular';
|
|
8
8
|
import { FormioRefreshValue } from '@formio/angular';
|
|
9
|
-
import Promise from 'native-promise-only';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class FormioResourceService {
|
|
12
11
|
appConfig: FormioAppConfig;
|
|
13
12
|
config: FormioResourceConfig;
|
|
14
13
|
resourcesService: FormioResources;
|
|
15
|
-
appRef: ApplicationRef;
|
|
16
14
|
initialized: boolean;
|
|
17
15
|
form: any;
|
|
18
16
|
alerts: FormioAlerts;
|
|
@@ -22,28 +20,33 @@ export declare class FormioResourceService {
|
|
|
22
20
|
formFormio: FormioPromiseService;
|
|
23
21
|
formio: FormioPromiseService;
|
|
24
22
|
refresh: EventEmitter<FormioRefreshValue>;
|
|
25
|
-
|
|
23
|
+
resourceResolve: any;
|
|
24
|
+
resourceReject: any;
|
|
26
25
|
resourceLoaded?: Promise<any>;
|
|
26
|
+
resourceLoading?: Promise<any>;
|
|
27
27
|
resourceId?: string;
|
|
28
28
|
resources: any;
|
|
29
|
+
ready?: Promise<any>;
|
|
30
|
+
readyResolve: any;
|
|
31
|
+
readyReject: any;
|
|
29
32
|
formLoading?: Promise<any>;
|
|
30
33
|
formLoaded: Promise<any>;
|
|
31
34
|
formResolve: any;
|
|
32
35
|
formReject: any;
|
|
33
36
|
isLoading: boolean;
|
|
34
|
-
constructor(appConfig: FormioAppConfig, config: FormioResourceConfig, resourcesService: FormioResources
|
|
37
|
+
constructor(appConfig: FormioAppConfig, config: FormioResourceConfig, resourcesService: FormioResources);
|
|
35
38
|
initialize(): void;
|
|
36
|
-
|
|
39
|
+
setResource(resourceId: any): void;
|
|
40
|
+
init(route: ActivatedRoute): Promise<any>;
|
|
37
41
|
onError(error: any): void;
|
|
38
42
|
onFormError(err: any): void;
|
|
39
|
-
setContext(route: ActivatedRoute): void;
|
|
40
43
|
loadForm(): Promise<any>;
|
|
41
|
-
loadParents(): any
|
|
44
|
+
loadParents(): Promise<any>;
|
|
42
45
|
onSubmissionError(err: any): void;
|
|
43
|
-
loadResource(
|
|
46
|
+
loadResource(): Promise<any>;
|
|
44
47
|
save(resource: any): Promise<any>;
|
|
45
48
|
remove(): Promise<void>;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceService, [null, null, { optional: true; }
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceService, [null, null, { optional: true; }]>;
|
|
47
50
|
static ɵprov: i0.ɵɵInjectableDeclaration<FormioResourceService>;
|
|
48
51
|
}
|
|
49
52
|
//# sourceMappingURL=resource.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"resource.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAwB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,cAAc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