@formio/angular 9.0.0 → 10.0.0-rc.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/auth/index.d.ts +147 -9
- package/auth/index.d.ts.map +1 -1
- package/embed/index.d.ts +73 -7
- package/embed/index.d.ts.map +1 -1
- package/fesm2022/formio-angular-auth.mjs +22 -22
- package/fesm2022/formio-angular-auth.mjs.map +1 -1
- package/fesm2022/formio-angular-embed.mjs +14 -14
- package/fesm2022/formio-angular-embed.mjs.map +1 -1
- package/fesm2022/formio-angular-grid.mjs +54 -49
- package/fesm2022/formio-angular-grid.mjs.map +1 -1
- package/fesm2022/formio-angular-manager.mjs +44 -44
- package/fesm2022/formio-angular-manager.mjs.map +1 -1
- package/fesm2022/formio-angular-resource.mjs +31 -31
- package/fesm2022/formio-angular-resource.mjs.map +1 -1
- package/fesm2022/formio-angular.mjs +35 -35
- package/fesm2022/formio-angular.mjs.map +1 -1
- package/grid/index.d.ts +237 -13
- package/grid/index.d.ts.map +1 -1
- package/index.d.ts +353 -4
- package/index.d.ts.map +1 -1
- package/manager/index.d.ts +242 -17
- package/manager/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/resource/index.d.ts +185 -12
- package/resource/index.d.ts.map +1 -1
- package/FormioBaseComponent.d.ts +0 -94
- package/FormioBaseComponent.d.ts.map +0 -1
- package/auth/auth.component.d.ts +0 -6
- package/auth/auth.component.d.ts.map +0 -1
- package/auth/auth.config.d.ts +0 -63
- package/auth/auth.config.d.ts.map +0 -1
- package/auth/auth.module.d.ts +0 -17
- package/auth/auth.module.d.ts.map +0 -1
- package/auth/auth.routes.d.ts +0 -4
- package/auth/auth.routes.d.ts.map +0 -1
- package/auth/auth.service.d.ts +0 -41
- package/auth/auth.service.d.ts.map +0 -1
- package/auth/formio-angular-auth.d.ts.map +0 -1
- package/auth/login/login.component.d.ts +0 -10
- package/auth/login/login.component.d.ts.map +0 -1
- package/auth/register/register.component.d.ts +0 -10
- package/auth/register/register.component.d.ts.map +0 -1
- package/auth/resetpass/resetpass.component.d.ts +0 -9
- package/auth/resetpass/resetpass.component.d.ts.map +0 -1
- package/components/alerts/formio.alerts.component.d.ts +0 -12
- package/components/alerts/formio.alerts.component.d.ts.map +0 -1
- package/components/alerts/formio.alerts.d.ts +0 -12
- package/components/alerts/formio.alerts.d.ts.map +0 -1
- package/components/alerts/parse-html-content.pipe.d.ts +0 -8
- package/components/alerts/parse-html-content.pipe.d.ts.map +0 -1
- package/components/formbuilder/formbuilder.component.d.ts +0 -37
- package/components/formbuilder/formbuilder.component.d.ts.map +0 -1
- package/components/formio/formio.component.d.ts +0 -15
- package/components/formio/formio.component.d.ts.map +0 -1
- package/components/formioreport/formioreport.component.d.ts +0 -21
- package/components/formioreport/formioreport.component.d.ts.map +0 -1
- package/components/loader/formio.loader.component.d.ts +0 -7
- package/components/loader/formio.loader.component.d.ts.map +0 -1
- package/core.d.ts +0 -17
- package/core.d.ts.map +0 -1
- package/custom-tags.service.d.ts +0 -8
- package/custom-tags.service.d.ts.map +0 -1
- package/embed/app.service.d.ts +0 -28
- package/embed/app.service.d.ts.map +0 -1
- package/embed/builder.component.d.ts +0 -19
- package/embed/builder.component.d.ts.map +0 -1
- package/embed/embed.module.d.ts +0 -10
- package/embed/embed.module.d.ts.map +0 -1
- package/embed/formio-angular-embed.d.ts.map +0 -1
- package/embed/formio.component.d.ts +0 -21
- package/embed/formio.component.d.ts.map +0 -1
- package/formio-angular.d.ts.map +0 -1
- package/formio-promise.service.d.ts +0 -16
- package/formio-promise.service.d.ts.map +0 -1
- package/formio.common.d.ts +0 -68
- package/formio.common.d.ts.map +0 -1
- package/formio.config.d.ts +0 -21
- package/formio.config.d.ts.map +0 -1
- package/formio.module.d.ts +0 -15
- package/formio.module.d.ts.map +0 -1
- package/formio.service.d.ts +0 -18
- package/formio.service.d.ts.map +0 -1
- package/formio.utils.d.ts +0 -2
- package/formio.utils.d.ts.map +0 -1
- package/grid/GridBodyComponent.d.ts +0 -35
- package/grid/GridBodyComponent.d.ts.map +0 -1
- package/grid/GridFooterComponent.d.ts +0 -20
- package/grid/GridFooterComponent.d.ts.map +0 -1
- package/grid/GridHeaderComponent.d.ts +0 -16
- package/grid/GridHeaderComponent.d.ts.map +0 -1
- package/grid/form/FormGridBody.component.d.ts +0 -19
- package/grid/form/FormGridBody.component.d.ts.map +0 -1
- package/grid/form/FormGridFooter.component.d.ts +0 -10
- package/grid/form/FormGridFooter.component.d.ts.map +0 -1
- package/grid/form/FormGridHeader.component.d.ts +0 -11
- package/grid/form/FormGridHeader.component.d.ts.map +0 -1
- package/grid/form/index.d.ts +0 -10
- package/grid/form/index.d.ts.map +0 -1
- package/grid/form/time-since.pipe.d.ts +0 -8
- package/grid/form/time-since.pipe.d.ts.map +0 -1
- package/grid/formio-angular-grid.d.ts.map +0 -1
- package/grid/grid.component.d.ts +0 -59
- package/grid/grid.component.d.ts.map +0 -1
- package/grid/grid.module.d.ts +0 -23
- package/grid/grid.module.d.ts.map +0 -1
- package/grid/grid.service.d.ts +0 -10
- package/grid/grid.service.d.ts.map +0 -1
- package/grid/submission/SubmissionGridBody.component.d.ts +0 -19
- package/grid/submission/SubmissionGridBody.component.d.ts.map +0 -1
- package/grid/submission/SubmissionGridFooter.component.d.ts +0 -10
- package/grid/submission/SubmissionGridFooter.component.d.ts.map +0 -1
- package/grid/submission/SubmissionGridHeader.component.d.ts +0 -30
- package/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
- package/grid/submission/index.d.ts +0 -10
- package/grid/submission/index.d.ts.map +0 -1
- package/grid/types/grid-column.d.ts +0 -7
- package/grid/types/grid-column.d.ts.map +0 -1
- package/grid/types/grid-footer-positions.d.ts +0 -6
- package/grid/types/grid-footer-positions.d.ts.map +0 -1
- package/grid/types/grid-header.d.ts +0 -13
- package/grid/types/grid-header.d.ts.map +0 -1
- package/manager/create/create.component.d.ts +0 -9
- package/manager/create/create.component.d.ts.map +0 -1
- package/manager/delete/delete.component.d.ts +0 -18
- package/manager/delete/delete.component.d.ts.map +0 -1
- package/manager/edit/edit.component.d.ts +0 -31
- package/manager/edit/edit.component.d.ts.map +0 -1
- package/manager/form/form.component.d.ts +0 -29
- package/manager/form/form.component.d.ts.map +0 -1
- package/manager/form-manager.config.d.ts +0 -30
- package/manager/form-manager.config.d.ts.map +0 -1
- package/manager/form-manager.module.d.ts +0 -28
- package/manager/form-manager.module.d.ts.map +0 -1
- package/manager/form-manager.routes.d.ts +0 -4
- package/manager/form-manager.routes.d.ts.map +0 -1
- package/manager/form-manager.service.d.ts +0 -37
- package/manager/form-manager.service.d.ts.map +0 -1
- package/manager/formio-angular-manager.d.ts.map +0 -1
- package/manager/index/index.component.d.ts +0 -28
- package/manager/index/index.component.d.ts.map +0 -1
- package/manager/submission/delete/delete.component.d.ts +0 -16
- package/manager/submission/delete/delete.component.d.ts.map +0 -1
- package/manager/submission/edit/edit.component.d.ts +0 -13
- package/manager/submission/edit/edit.component.d.ts.map +0 -1
- package/manager/submission/index/index.component.d.ts +0 -13
- package/manager/submission/index/index.component.d.ts.map +0 -1
- package/manager/submission/submission/submission.component.d.ts +0 -15
- package/manager/submission/submission/submission.component.d.ts.map +0 -1
- package/manager/submission/view/view.component.d.ts +0 -9
- package/manager/submission/view/view.component.d.ts.map +0 -1
- package/manager/view/view.component.d.ts +0 -24
- package/manager/view/view.component.d.ts.map +0 -1
- package/resource/create/create.component.d.ts +0 -19
- package/resource/create/create.component.d.ts.map +0 -1
- package/resource/delete/delete.component.d.ts +0 -14
- package/resource/delete/delete.component.d.ts.map +0 -1
- package/resource/edit/edit.component.d.ts +0 -22
- package/resource/edit/edit.component.d.ts.map +0 -1
- package/resource/formio-angular-resource.d.ts.map +0 -1
- package/resource/index/index.component.d.ts +0 -23
- package/resource/index/index.component.d.ts.map +0 -1
- package/resource/resource.component.d.ts +0 -24
- package/resource/resource.component.d.ts.map +0 -1
- package/resource/resource.config.d.ts +0 -17
- package/resource/resource.config.d.ts.map +0 -1
- package/resource/resource.module.d.ts +0 -20
- package/resource/resource.module.d.ts.map +0 -1
- package/resource/resource.routes.d.ts +0 -4
- package/resource/resource.routes.d.ts.map +0 -1
- package/resource/resource.service.d.ts +0 -52
- package/resource/resource.service.d.ts.map +0 -1
- package/resource/resources.service.d.ts +0 -16
- package/resource/resources.service.d.ts.map +0 -1
- package/resource/view/view.component.d.ts +0 -16
- package/resource/view/view.component.d.ts.map +0 -1
- package/types/alerts-position.d.ts +0 -7
- package/types/alerts-position.d.ts.map +0 -1
- package/types/formio-metadata.d.ts +0 -11
- package/types/formio-metadata.d.ts.map +0 -1
- package/types/formio-submission.d.ts +0 -19
- package/types/formio-submission.d.ts.map +0 -1
package/manager/index.d.ts
CHANGED
|
@@ -1,17 +1,242 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, AfterViewInit, ElementRef, ChangeDetectorRef, TemplateRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i13 from '@formio/angular';
|
|
4
|
+
import { FormioAppConfig, FormioAlerts, FormBuilderComponent } from '@formio/angular';
|
|
5
|
+
import { Formio } from '@formio/js';
|
|
6
|
+
import * as i14 from '@angular/router';
|
|
7
|
+
import { ActivatedRoute, Routes, Router } from '@angular/router';
|
|
8
|
+
import { FormioAuthService } from '@formio/angular/auth';
|
|
9
|
+
import * as i16 from '@formio/angular/grid';
|
|
10
|
+
import { FormioGridComponent, GridService } from '@formio/angular/grid';
|
|
11
|
+
import * as i17 from 'ngx-bootstrap/modal';
|
|
12
|
+
import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';
|
|
13
|
+
import * as i12 from '@angular/common';
|
|
14
|
+
import * as i15 from '@angular/forms';
|
|
15
|
+
import * as i18 from 'ngx-bootstrap/pagination';
|
|
16
|
+
|
|
17
|
+
type FormType = 'form' | 'resource';
|
|
18
|
+
interface FormManagerRouteConfig {
|
|
19
|
+
formIndex?: any;
|
|
20
|
+
formCreate?: any;
|
|
21
|
+
form?: any;
|
|
22
|
+
formView?: any;
|
|
23
|
+
formEdit?: any;
|
|
24
|
+
formEmbed?: any;
|
|
25
|
+
formDelete?: any;
|
|
26
|
+
submissionIndex?: any;
|
|
27
|
+
submission?: any;
|
|
28
|
+
submissionView?: any;
|
|
29
|
+
submissionEdit?: any;
|
|
30
|
+
submissionDelete?: any;
|
|
31
|
+
}
|
|
32
|
+
declare class FormManagerConfig {
|
|
33
|
+
tag: string;
|
|
34
|
+
includeSearch: boolean;
|
|
35
|
+
saveDraft: boolean;
|
|
36
|
+
type: FormType;
|
|
37
|
+
builder?: any;
|
|
38
|
+
viewer?: string;
|
|
39
|
+
renderer: any;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerConfig, never>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormManagerConfig>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class FormManagerService {
|
|
45
|
+
appConfig: FormioAppConfig;
|
|
46
|
+
config: FormManagerConfig;
|
|
47
|
+
auth: FormioAuthService;
|
|
48
|
+
formio: Formio;
|
|
49
|
+
access: any;
|
|
50
|
+
allAccessMap: any;
|
|
51
|
+
ownAccessMap: any;
|
|
52
|
+
ready: Promise<any>;
|
|
53
|
+
formReady: Promise<any>;
|
|
54
|
+
actionAllowed: any;
|
|
55
|
+
form: any;
|
|
56
|
+
formSrc: string;
|
|
57
|
+
perms: {
|
|
58
|
+
delete: boolean;
|
|
59
|
+
edit: boolean;
|
|
60
|
+
};
|
|
61
|
+
constructor(appConfig: FormioAppConfig, config: FormManagerConfig, auth: FormioAuthService);
|
|
62
|
+
isActionAllowed(action: string): any;
|
|
63
|
+
setAccess(): void;
|
|
64
|
+
reset(route?: ActivatedRoute): void;
|
|
65
|
+
hasAccess(roles: any): boolean;
|
|
66
|
+
setForm(form: any): any;
|
|
67
|
+
loadForm(): Promise<any>;
|
|
68
|
+
setSubmission(route: ActivatedRoute): Promise<unknown>;
|
|
69
|
+
submissionLoaded(submission: any): void;
|
|
70
|
+
loadForms(): any;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerService, never>;
|
|
72
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormManagerService>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare function FormManagerRoutes(config?: FormManagerRouteConfig): Routes;
|
|
76
|
+
|
|
77
|
+
declare class FormManagerIndexComponent implements OnInit, AfterViewInit {
|
|
78
|
+
service: FormManagerService;
|
|
79
|
+
route: ActivatedRoute;
|
|
80
|
+
router: Router;
|
|
81
|
+
config: FormManagerConfig;
|
|
82
|
+
searchElement: ElementRef;
|
|
83
|
+
formGrid: FormioGridComponent;
|
|
84
|
+
gridQuery: any;
|
|
85
|
+
onSearch: any;
|
|
86
|
+
constructor(service: FormManagerService, route: ActivatedRoute, router: Router, config: FormManagerConfig);
|
|
87
|
+
loadGrid(): void;
|
|
88
|
+
ngOnInit(): void;
|
|
89
|
+
ngAfterViewInit(): void;
|
|
90
|
+
_onSearch(): void;
|
|
91
|
+
clearSearch(): void;
|
|
92
|
+
onAction(action: any): void;
|
|
93
|
+
onSelect(row: any): void;
|
|
94
|
+
onCreateItem(): void;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerIndexComponent, never>;
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerIndexComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare class FormManagerEditComponent implements AfterViewInit {
|
|
100
|
+
service: FormManagerService;
|
|
101
|
+
router: Router;
|
|
102
|
+
route: ActivatedRoute;
|
|
103
|
+
config: FormManagerConfig;
|
|
104
|
+
ref: ChangeDetectorRef;
|
|
105
|
+
alerts: FormioAlerts;
|
|
106
|
+
builder: FormBuilderComponent;
|
|
107
|
+
formTitle: ElementRef;
|
|
108
|
+
formType: ElementRef;
|
|
109
|
+
form: any;
|
|
110
|
+
loading: Boolean;
|
|
111
|
+
formReady: Boolean;
|
|
112
|
+
editMode: Boolean;
|
|
113
|
+
constructor(service: FormManagerService, router: Router, route: ActivatedRoute, config: FormManagerConfig, ref: ChangeDetectorRef, alerts: FormioAlerts);
|
|
114
|
+
initBuilder(editing: any): Promise<boolean | void>;
|
|
115
|
+
ngAfterViewInit(): void;
|
|
116
|
+
onDisplaySelect(event: any): void;
|
|
117
|
+
saveForm(): any;
|
|
118
|
+
onSave(): any;
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerEditComponent, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerEditComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare class FormManagerCreateComponent extends FormManagerEditComponent implements OnInit {
|
|
124
|
+
ngOnInit(): void;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerCreateComponent, never>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerCreateComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare class FormManagerFormComponent implements OnInit {
|
|
130
|
+
service: FormManagerService;
|
|
131
|
+
route: ActivatedRoute;
|
|
132
|
+
appConfig: FormioAppConfig;
|
|
133
|
+
options: FormManagerConfig;
|
|
134
|
+
private modalService;
|
|
135
|
+
choice: any;
|
|
136
|
+
embedCode: any;
|
|
137
|
+
shareUrl: any;
|
|
138
|
+
projectId: any;
|
|
139
|
+
pathName: any;
|
|
140
|
+
goTo: any;
|
|
141
|
+
modalRef: BsModalRef;
|
|
142
|
+
constructor(service: FormManagerService, route: ActivatedRoute, appConfig: FormioAppConfig, options: FormManagerConfig, modalService: BsModalService);
|
|
143
|
+
ngOnInit(): void;
|
|
144
|
+
getShareUrl(): any;
|
|
145
|
+
openEmbed(content: TemplateRef<any>): void;
|
|
146
|
+
choices(string: any): void;
|
|
147
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerFormComponent, never>;
|
|
148
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerFormComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
declare class FormManagerViewComponent implements OnInit {
|
|
152
|
+
service: FormManagerService;
|
|
153
|
+
router: Router;
|
|
154
|
+
route: ActivatedRoute;
|
|
155
|
+
config: FormManagerConfig;
|
|
156
|
+
auth: FormioAuthService;
|
|
157
|
+
submission: any;
|
|
158
|
+
renderOptions: any;
|
|
159
|
+
onSuccess: EventEmitter<object>;
|
|
160
|
+
onError: EventEmitter<object>;
|
|
161
|
+
onSubmitDone: EventEmitter<object>;
|
|
162
|
+
constructor(service: FormManagerService, router: Router, route: ActivatedRoute, config: FormManagerConfig, auth: FormioAuthService);
|
|
163
|
+
ngOnInit(): void;
|
|
164
|
+
onSubmit(submission: any): void;
|
|
165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerViewComponent, never>;
|
|
166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerViewComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare class FormManagerDeleteComponent {
|
|
170
|
+
managerService: FormManagerService;
|
|
171
|
+
router: Router;
|
|
172
|
+
route: ActivatedRoute;
|
|
173
|
+
alerts: FormioAlerts;
|
|
174
|
+
gridService?: GridService;
|
|
175
|
+
constructor(managerService: FormManagerService, router: Router, route: ActivatedRoute, alerts: FormioAlerts, gridService?: GridService);
|
|
176
|
+
onDelete(): void;
|
|
177
|
+
onCancel(): void;
|
|
178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerDeleteComponent, never>;
|
|
179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerDeleteComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare class SubmissionEditComponent {
|
|
183
|
+
service: FormManagerService;
|
|
184
|
+
router: Router;
|
|
185
|
+
route: ActivatedRoute;
|
|
186
|
+
constructor(service: FormManagerService, router: Router, route: ActivatedRoute);
|
|
187
|
+
onSubmit(submission: any): void;
|
|
188
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubmissionEditComponent, never>;
|
|
189
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubmissionEditComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
declare class SubmissionDeleteComponent {
|
|
193
|
+
service: FormManagerService;
|
|
194
|
+
router: Router;
|
|
195
|
+
route: ActivatedRoute;
|
|
196
|
+
alerts: FormioAlerts;
|
|
197
|
+
constructor(service: FormManagerService, router: Router, route: ActivatedRoute, alerts: FormioAlerts);
|
|
198
|
+
onDelete(): void;
|
|
199
|
+
onCancel(): void;
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubmissionDeleteComponent, never>;
|
|
201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubmissionDeleteComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
declare class SubmissionViewComponent {
|
|
205
|
+
service: FormManagerService;
|
|
206
|
+
constructor(service: FormManagerService);
|
|
207
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubmissionViewComponent, never>;
|
|
208
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubmissionViewComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare class SubmissionIndexComponent {
|
|
212
|
+
service: FormManagerService;
|
|
213
|
+
route: ActivatedRoute;
|
|
214
|
+
router: Router;
|
|
215
|
+
constructor(service: FormManagerService, route: ActivatedRoute, router: Router);
|
|
216
|
+
onSelect(row: any): void;
|
|
217
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubmissionIndexComponent, never>;
|
|
218
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubmissionIndexComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
declare class SubmissionComponent implements OnInit {
|
|
222
|
+
service: FormManagerService;
|
|
223
|
+
route: ActivatedRoute;
|
|
224
|
+
downloadUrl: string;
|
|
225
|
+
constructor(service: FormManagerService, route: ActivatedRoute);
|
|
226
|
+
setDownloadUrl(url: any): void;
|
|
227
|
+
ngOnInit(): void;
|
|
228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubmissionComponent, never>;
|
|
229
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubmissionComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
declare class FormManagerModule {
|
|
233
|
+
static forChild(config?: FormManagerRouteConfig): any;
|
|
234
|
+
static forRoot(config?: FormManagerRouteConfig): any;
|
|
235
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerModule, never>;
|
|
236
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormManagerModule, [typeof FormManagerIndexComponent, typeof FormManagerCreateComponent, typeof FormManagerFormComponent, typeof FormManagerViewComponent, typeof FormManagerEditComponent, typeof FormManagerDeleteComponent, typeof SubmissionComponent, typeof SubmissionEditComponent, typeof SubmissionDeleteComponent, typeof SubmissionViewComponent, typeof SubmissionIndexComponent], [typeof i12.CommonModule, typeof i13.FormioModule, typeof i14.RouterModule, typeof i15.FormsModule, typeof i16.FormioGrid, typeof i17.ModalModule, typeof i18.PaginationModule], never>;
|
|
237
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormManagerModule>;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export { FormManagerConfig, FormManagerCreateComponent, FormManagerDeleteComponent, FormManagerEditComponent, FormManagerFormComponent, FormManagerIndexComponent, FormManagerModule, FormManagerRoutes, FormManagerService, FormManagerViewComponent, SubmissionComponent, SubmissionDeleteComponent, SubmissionEditComponent, SubmissionIndexComponent, SubmissionViewComponent };
|
|
241
|
+
export type { FormManagerRouteConfig };
|
|
242
|
+
//# sourceMappingURL=index.d.ts.map
|
package/manager/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../projects/angular-formio/manager/src/form-manager.config.ts","../../../projects/angular-formio/manager/src/form-manager.service.ts","../../../projects/angular-formio/manager/src/form-manager.routes.ts","../../../projects/angular-formio/manager/src/index/index.component.ts","../../../projects/angular-formio/manager/src/edit/edit.component.ts","../../../projects/angular-formio/manager/src/create/create.component.ts","../../../projects/angular-formio/manager/src/form/form.component.ts","../../../projects/angular-formio/manager/src/view/view.component.ts","../../../projects/angular-formio/manager/src/delete/delete.component.ts","../../../projects/angular-formio/manager/src/submission/edit/edit.component.ts","../../../projects/angular-formio/manager/src/submission/delete/delete.component.ts","../../../projects/angular-formio/manager/src/submission/view/view.component.ts","../../../projects/angular-formio/manager/src/submission/index/index.component.ts","../../../projects/angular-formio/manager/src/submission/submission/submission.component.ts","../../../projects/angular-formio/manager/src/form-manager.module.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;AAeC;AAED;AAES;AACA;AACA;;;;;;;AAKR;;ACpBD;AAcW;AACA;AACA;;;;;AAVF;AACA;;AAEA;AACA;;;;AACqC;;;;AA8F5C;;;;;;;;;AA4ED;;AChLD;;ACNA;AAWW;AACA;AACA;AACA;;;;AALF;AAEE;;;AAmCT;;;;;;;;AA6CD;;AC1FD;AAcW;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;AAoFV;;AC5GD;;;;AAQC;;ACJD;AAaW;AACA;AACA;AACA;AACP;;;;;;;;AAJO;;;AAuBT;;;;AA8BD;;AClED;AAWW;AACA;AACA;AACA;AACA;;;AARF;AACA;AACA;AAEE;;;;;AA0BV;;ACtCD;AAMW;AACA;AACA;AACA;;AAHA;;;;;AAyBV;;ACjCD;AAMW;AACA;AACA;;;;;AAMV;;ACbD;AAMW;AACA;AACA;AACA;AAHA;;;;;AAeV;;ACvBD;AAKqB;AAAA;;;AACpB;;ACLD;AAMW;AACA;AACA;;;;;AAMV;;ACdD;AAOW;AACA;;AADA;;;;;AAaV;;ACFD;;;;;;AA+BC;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formio/angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0-rc.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/formio/angular-formio"
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"node": ">=6.0.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@angular/core": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
29
|
-
"@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
30
|
-
"@angular/elements": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
31
|
-
"@formio/js": "^5.
|
|
28
|
+
"@angular/core": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
|
|
29
|
+
"@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
|
|
30
|
+
"@angular/elements": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
|
|
31
|
+
"@formio/js": "^5.0.0",
|
|
32
32
|
"zone.js": "~0.13.0 || ~0.14.0 || ~0.15.0",
|
|
33
33
|
"lodash": "^4.17.20",
|
|
34
34
|
"ngx-bootstrap": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^18.0.0 || ^19.0.0"
|
package/resource/index.d.ts
CHANGED
|
@@ -1,12 +1,185 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, OnInit, OnDestroy, ChangeDetectorRef, NgZone } from '@angular/core';
|
|
3
|
+
import { FormioAuthService } from '@formio/angular/auth';
|
|
4
|
+
import * as i10 from '@angular/router';
|
|
5
|
+
import { ActivatedRoute, Router, Routes } from '@angular/router';
|
|
6
|
+
import * as i8 from '@formio/angular';
|
|
7
|
+
import { FormioAppConfig, FormioAlerts, FormioPromiseService, FormioRefreshValue } from '@formio/angular';
|
|
8
|
+
import { Subscription } from 'rxjs';
|
|
9
|
+
import * as i7 from '@angular/common';
|
|
10
|
+
import * as i9 from '@formio/angular/grid';
|
|
11
|
+
|
|
12
|
+
interface FormioResourceRouteConfig {
|
|
13
|
+
index?: any;
|
|
14
|
+
create?: any;
|
|
15
|
+
resource?: any;
|
|
16
|
+
view?: any;
|
|
17
|
+
edit?: any;
|
|
18
|
+
delete?: any;
|
|
19
|
+
}
|
|
20
|
+
declare class FormioResourceConfig {
|
|
21
|
+
name: string;
|
|
22
|
+
form: string;
|
|
23
|
+
parents: any[];
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceConfig, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormioResourceConfig>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface FormioResourceMap {
|
|
29
|
+
[name: string]: any;
|
|
30
|
+
}
|
|
31
|
+
declare class FormioResources {
|
|
32
|
+
auth?: FormioAuthService;
|
|
33
|
+
resources: FormioResourceMap;
|
|
34
|
+
error: EventEmitter<any>;
|
|
35
|
+
onError: EventEmitter<any>;
|
|
36
|
+
constructor(auth?: FormioAuthService);
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResources, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormioResources>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare class FormioResourceService {
|
|
42
|
+
appConfig: FormioAppConfig;
|
|
43
|
+
config: FormioResourceConfig;
|
|
44
|
+
resourcesService: FormioResources;
|
|
45
|
+
initialized: boolean;
|
|
46
|
+
form: any;
|
|
47
|
+
alerts: FormioAlerts;
|
|
48
|
+
resource: any;
|
|
49
|
+
resourceUrl?: string;
|
|
50
|
+
formUrl: string;
|
|
51
|
+
formFormio: FormioPromiseService;
|
|
52
|
+
formio: FormioPromiseService;
|
|
53
|
+
refresh: EventEmitter<FormioRefreshValue>;
|
|
54
|
+
resourceResolve: any;
|
|
55
|
+
resourceReject: any;
|
|
56
|
+
resourceLoaded?: Promise<any>;
|
|
57
|
+
resourceLoading?: Promise<any>;
|
|
58
|
+
resourceId?: string;
|
|
59
|
+
resources: any;
|
|
60
|
+
ready?: Promise<any>;
|
|
61
|
+
readyResolve: any;
|
|
62
|
+
readyReject: any;
|
|
63
|
+
formLoading?: Promise<any>;
|
|
64
|
+
formLoaded: Promise<any>;
|
|
65
|
+
formResolve: any;
|
|
66
|
+
formReject: any;
|
|
67
|
+
isLoading: boolean;
|
|
68
|
+
constructor(appConfig: FormioAppConfig, config: FormioResourceConfig, resourcesService: FormioResources);
|
|
69
|
+
initialize(): void;
|
|
70
|
+
setResource(resourceId: any): void;
|
|
71
|
+
init(route: ActivatedRoute): Promise<any>;
|
|
72
|
+
onError(error: any): void;
|
|
73
|
+
onFormError(err: any): void;
|
|
74
|
+
loadForm(): Promise<any>;
|
|
75
|
+
loadParents(): Promise<any>;
|
|
76
|
+
onSubmissionError(err: any): void;
|
|
77
|
+
loadResource(): Promise<any>;
|
|
78
|
+
save(resource: any): Promise<any>;
|
|
79
|
+
remove(): Promise<void>;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceService, [null, null, { optional: true; }]>;
|
|
81
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormioResourceService>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
declare class FormioResourceComponent implements OnInit, OnDestroy {
|
|
85
|
+
service: FormioResourceService;
|
|
86
|
+
route: ActivatedRoute;
|
|
87
|
+
auth: FormioAuthService;
|
|
88
|
+
router: Router;
|
|
89
|
+
perms: {
|
|
90
|
+
delete: boolean;
|
|
91
|
+
edit: boolean;
|
|
92
|
+
};
|
|
93
|
+
routerSubscription: Subscription;
|
|
94
|
+
constructor(service: FormioResourceService, route: ActivatedRoute, auth: FormioAuthService, router: Router);
|
|
95
|
+
ngOnInit(): void;
|
|
96
|
+
ngOnDestroy(): void;
|
|
97
|
+
init(): Promise<any>;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceComponent, never>;
|
|
99
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioResourceComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare class FormioResourceViewComponent implements OnDestroy {
|
|
103
|
+
service: FormioResourceService;
|
|
104
|
+
config: FormioResourceConfig;
|
|
105
|
+
constructor(service: FormioResourceService, config: FormioResourceConfig);
|
|
106
|
+
submission: {
|
|
107
|
+
data: {};
|
|
108
|
+
};
|
|
109
|
+
ngOnDestroy(): void;
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceViewComponent, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioResourceViewComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare class FormioResourceEditComponent implements OnDestroy {
|
|
115
|
+
service: FormioResourceService;
|
|
116
|
+
route: ActivatedRoute;
|
|
117
|
+
router: Router;
|
|
118
|
+
config: FormioResourceConfig;
|
|
119
|
+
triggerError: EventEmitter<any>;
|
|
120
|
+
onSubmitDone: EventEmitter<object>;
|
|
121
|
+
submission: {
|
|
122
|
+
data: {};
|
|
123
|
+
};
|
|
124
|
+
constructor(service: FormioResourceService, route: ActivatedRoute, router: Router, config: FormioResourceConfig);
|
|
125
|
+
onSubmit(submission: any): void;
|
|
126
|
+
ngOnDestroy(): void;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceEditComponent, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioResourceEditComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare class FormioResourceDeleteComponent {
|
|
132
|
+
service: FormioResourceService;
|
|
133
|
+
route: ActivatedRoute;
|
|
134
|
+
router: Router;
|
|
135
|
+
constructor(service: FormioResourceService, route: ActivatedRoute, router: Router);
|
|
136
|
+
onDelete(): void;
|
|
137
|
+
onCancel(): void;
|
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceDeleteComponent, never>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioResourceDeleteComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
declare class FormioResourceCreateComponent implements OnInit {
|
|
143
|
+
service: FormioResourceService;
|
|
144
|
+
route: ActivatedRoute;
|
|
145
|
+
router: Router;
|
|
146
|
+
config: FormioResourceConfig;
|
|
147
|
+
onError: EventEmitter<any>;
|
|
148
|
+
onSuccess: EventEmitter<any>;
|
|
149
|
+
constructor(service: FormioResourceService, route: ActivatedRoute, router: Router, config: FormioResourceConfig);
|
|
150
|
+
ngOnInit(): void;
|
|
151
|
+
onSubmit(submission: any): void;
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceCreateComponent, never>;
|
|
153
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioResourceCreateComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
declare class FormioResourceIndexComponent implements OnInit {
|
|
157
|
+
service: FormioResourceService;
|
|
158
|
+
route: ActivatedRoute;
|
|
159
|
+
router: Router;
|
|
160
|
+
config: FormioResourceConfig;
|
|
161
|
+
cdr: ChangeDetectorRef;
|
|
162
|
+
ngZone: NgZone;
|
|
163
|
+
gridSrc?: string;
|
|
164
|
+
gridQuery: any;
|
|
165
|
+
createText: String;
|
|
166
|
+
constructor(service: FormioResourceService, route: ActivatedRoute, router: Router, config: FormioResourceConfig, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
167
|
+
ngOnInit(): void;
|
|
168
|
+
onSelect(row: any): void;
|
|
169
|
+
onCreateItem(): void;
|
|
170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResourceIndexComponent, never>;
|
|
171
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioResourceIndexComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare function FormioResourceRoutes(config?: FormioResourceRouteConfig): Routes;
|
|
175
|
+
|
|
176
|
+
declare class FormioResource {
|
|
177
|
+
static forChild(config?: FormioResourceRouteConfig): any;
|
|
178
|
+
static forRoot(config?: FormioResourceRouteConfig): any;
|
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormioResource, never>;
|
|
180
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormioResource, [typeof FormioResourceComponent, typeof FormioResourceCreateComponent, typeof FormioResourceIndexComponent, typeof FormioResourceViewComponent, typeof FormioResourceEditComponent, typeof FormioResourceDeleteComponent], [typeof i7.CommonModule, typeof i8.FormioModule, typeof i9.FormioGrid, typeof i10.RouterModule], never>;
|
|
181
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormioResource>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export { FormioResource, FormioResourceComponent, FormioResourceConfig, FormioResourceCreateComponent, FormioResourceDeleteComponent, FormioResourceEditComponent, FormioResourceIndexComponent, FormioResourceRoutes, FormioResourceService, FormioResourceViewComponent, FormioResources };
|
|
185
|
+
//# sourceMappingURL=index.d.ts.map
|
package/resource/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../projects/angular-formio/resource/src/resource.config.ts","../../../projects/angular-formio/resource/src/resources.service.ts","../../../projects/angular-formio/resource/src/resource.service.ts","../../../projects/angular-formio/resource/src/resource.component.ts","../../../projects/angular-formio/resource/src/view/view.component.ts","../../../projects/angular-formio/resource/src/edit/edit.component.ts","../../../projects/angular-formio/resource/src/delete/delete.component.ts","../../../projects/angular-formio/resource/src/create/create.component.ts","../../../projects/angular-formio/resource/src/index/index.component.ts","../../../projects/angular-formio/resource/src/resource.routes.ts","../../../projects/angular-formio/resource/src/resource.module.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AASC;AAED;AAEE;AACA;;;;AAED;;;ACZC;AACD;AAED;;;AAGE;AACA;;;;AAYD;;ACZD;AA+BW;AACA;AACY;AA/Bd;;;;;;;;AAQA;;;AAIA;AAEA;;;AAIA;;;AAIA;AACA;;;;;;;;;;;;;;;;;;AA+NR;;AC7PD;AASW;AACA;AACA;AACA;;;;AAPmC;;AAInC;;;;;;AAiCV;;AC3CD;AAMW;AACA;AADA;;;AAGsB;;;;AAKhC;;ACbD;AASW;AACA;AACA;AACA;AAPF;AACA;;;AACwB;AAEtB;;;;;AAoBV;;AC/BD;AAMW;AACA;AACA;;;;;;AAYV;;ACnBD;AASW;AACA;AACA;AACA;AANF;AACA;AAEE;AAST;;;;AAcD;;AC/BD;AAUW;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;AA2CV;;ACxDD;;ACQA;;;;;;AA0BC;;"}
|
package/FormioBaseComponent.d.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormioService } from './formio.service';
|
|
3
|
-
import { FormioAlerts } from './components/alerts/formio.alerts';
|
|
4
|
-
import { FormioAppConfig } from './formio.config';
|
|
5
|
-
import { AngularFormioOptions, FormioForm, FormioRefreshValue } from './formio.common';
|
|
6
|
-
import { CustomTagsService } from './custom-tags.service';
|
|
7
|
-
import { Form } from '@formio/js';
|
|
8
|
-
import { AlertsPosition } from './types/alerts-position';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {
|
|
11
|
-
ngZone: NgZone;
|
|
12
|
-
config: FormioAppConfig;
|
|
13
|
-
customTags?: CustomTagsService;
|
|
14
|
-
form?: FormioForm;
|
|
15
|
-
submission?: any;
|
|
16
|
-
src?: string;
|
|
17
|
-
url?: string;
|
|
18
|
-
service?: FormioService;
|
|
19
|
-
options?: Form['options'] & AngularFormioOptions;
|
|
20
|
-
noeval?: boolean;
|
|
21
|
-
formioOptions?: any;
|
|
22
|
-
renderOptions?: any;
|
|
23
|
-
readOnly?: boolean;
|
|
24
|
-
viewOnly?: boolean;
|
|
25
|
-
hideLoading?: boolean;
|
|
26
|
-
hideComponents?: string[];
|
|
27
|
-
refresh?: EventEmitter<FormioRefreshValue>;
|
|
28
|
-
error?: EventEmitter<any>;
|
|
29
|
-
success?: EventEmitter<object>;
|
|
30
|
-
submitDone?: EventEmitter<object>;
|
|
31
|
-
language?: EventEmitter<string>;
|
|
32
|
-
hooks?: any;
|
|
33
|
-
renderer?: any;
|
|
34
|
-
watchSubmissionErrors?: boolean;
|
|
35
|
-
dataTableActions?: any;
|
|
36
|
-
render: EventEmitter<object>;
|
|
37
|
-
customEvent: EventEmitter<object>;
|
|
38
|
-
fileUploadingStatus: EventEmitter<string>;
|
|
39
|
-
submit: EventEmitter<object>;
|
|
40
|
-
prevPage: EventEmitter<object>;
|
|
41
|
-
nextPage: EventEmitter<object>;
|
|
42
|
-
beforeSubmit: EventEmitter<object>;
|
|
43
|
-
rowAdd: EventEmitter<any>;
|
|
44
|
-
rowAdded: EventEmitter<any>;
|
|
45
|
-
rowEdit: EventEmitter<any>;
|
|
46
|
-
rowEdited: EventEmitter<any>;
|
|
47
|
-
rowDelete: EventEmitter<any>;
|
|
48
|
-
rowClick: EventEmitter<any>;
|
|
49
|
-
rowSelectChange: EventEmitter<any>;
|
|
50
|
-
page: EventEmitter<any>;
|
|
51
|
-
changeItemsPerPage: EventEmitter<any>;
|
|
52
|
-
change: EventEmitter<object>;
|
|
53
|
-
invalid: EventEmitter<boolean>;
|
|
54
|
-
errorChange: EventEmitter<any>;
|
|
55
|
-
formLoad: EventEmitter<any>;
|
|
56
|
-
submissionLoad: EventEmitter<any>;
|
|
57
|
-
ready: EventEmitter<FormioBaseComponent>;
|
|
58
|
-
formioElement?: ElementRef<any>;
|
|
59
|
-
AlertsPosition: typeof AlertsPosition;
|
|
60
|
-
formio: any;
|
|
61
|
-
initialized: boolean;
|
|
62
|
-
alerts: FormioAlerts;
|
|
63
|
-
formioReady: Promise<any>;
|
|
64
|
-
private formioReadyResolve;
|
|
65
|
-
private submitting;
|
|
66
|
-
private submissionSuccess;
|
|
67
|
-
isLoading: boolean;
|
|
68
|
-
noAlerts: boolean;
|
|
69
|
-
label: string;
|
|
70
|
-
constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
|
|
71
|
-
getRenderer(): any;
|
|
72
|
-
getRendererOptions(): any;
|
|
73
|
-
createRenderer(): any;
|
|
74
|
-
setFormUrl(url: any): void;
|
|
75
|
-
setForm(form: FormioForm): any;
|
|
76
|
-
attachFormEvents(): void;
|
|
77
|
-
initialize(): void;
|
|
78
|
-
ngOnInit(): void;
|
|
79
|
-
setFormFromSrc(): void;
|
|
80
|
-
ngOnDestroy(): void;
|
|
81
|
-
onRefresh(refresh: FormioRefreshValue): void;
|
|
82
|
-
ngOnChanges(changes: any): void;
|
|
83
|
-
onPrevPage(data: any): void;
|
|
84
|
-
onNextPage(data: any): void;
|
|
85
|
-
onSubmit(submission: any, saved: boolean, noemit?: boolean): void;
|
|
86
|
-
onError(err: any): void;
|
|
87
|
-
focusOnComponet(key: any): void;
|
|
88
|
-
submitExecute(submission: object, saved?: boolean): void;
|
|
89
|
-
submitForm(submission: any, saved?: boolean): void;
|
|
90
|
-
onChange(value: any, flags: any, isModified: boolean): void;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormioBaseComponent, [null, { optional: true; }, { optional: true; }]>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormioBaseComponent, "ng-component", never, { "form": { "alias": "form"; "required": false; }; "submission": { "alias": "submission"; "required": false; }; "src": { "alias": "src"; "required": false; }; "url": { "alias": "url"; "required": false; }; "service": { "alias": "service"; "required": false; }; "options": { "alias": "options"; "required": false; }; "noeval": { "alias": "noeval"; "required": false; }; "formioOptions": { "alias": "formioOptions"; "required": false; }; "renderOptions": { "alias": "renderOptions"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "viewOnly": { "alias": "viewOnly"; "required": false; }; "hideLoading": { "alias": "hideLoading"; "required": false; }; "hideComponents": { "alias": "hideComponents"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "error": { "alias": "error"; "required": false; }; "success": { "alias": "success"; "required": false; }; "submitDone": { "alias": "submitDone"; "required": false; }; "language": { "alias": "language"; "required": false; }; "hooks": { "alias": "hooks"; "required": false; }; "renderer": { "alias": "renderer"; "required": false; }; "watchSubmissionErrors": { "alias": "watchSubmissionErrors"; "required": false; }; "dataTableActions": { "alias": "dataTableActions"; "required": false; }; }, { "render": "render"; "customEvent": "customEvent"; "fileUploadingStatus": "fileUploadingStatus"; "submit": "submit"; "prevPage": "prevPage"; "nextPage": "nextPage"; "beforeSubmit": "beforeSubmit"; "rowAdd": "rowAdd"; "rowAdded": "rowAdded"; "rowEdit": "rowEdit"; "rowEdited": "rowEdited"; "rowDelete": "rowDelete"; "rowClick": "rowClick"; "rowSelectChange": "rowSelectChange"; "page": "page"; "changeItemsPerPage": "changeItemsPerPage"; "change": "change"; "invalid": "invalid"; "errorChange": "errorChange"; "formLoad": "formLoad"; "submissionLoad": "submissionLoad"; "ready": "ready"; }, never, never, false, never>;
|
|
93
|
-
}
|
|
94
|
-
//# sourceMappingURL=FormioBaseComponent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormioBaseComponent.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/FormioBaseComponent.ts"],"names":[],"mappings":"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"}
|
package/auth/auth.component.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FormioAuthComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormioAuthComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=auth.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.component.ts"],"names":[],"mappings":";AACA,qBAIa,mBAAmB;yCAAnB,mBAAmB;2CAAnB,mBAAmB;CAAG"}
|