@formio/angular 10.0.0 → 10.0.1

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.
Files changed (179) hide show
  1. package/FormioBaseComponent.d.ts +94 -0
  2. package/FormioBaseComponent.d.ts.map +1 -0
  3. package/auth/auth.component.d.ts +6 -0
  4. package/auth/auth.component.d.ts.map +1 -0
  5. package/auth/auth.config.d.ts +63 -0
  6. package/auth/auth.config.d.ts.map +1 -0
  7. package/auth/auth.module.d.ts +17 -0
  8. package/auth/auth.module.d.ts.map +1 -0
  9. package/auth/auth.routes.d.ts +4 -0
  10. package/auth/auth.routes.d.ts.map +1 -0
  11. package/auth/auth.service.d.ts +41 -0
  12. package/auth/auth.service.d.ts.map +1 -0
  13. package/auth/formio-angular-auth.d.ts.map +1 -0
  14. package/auth/index.d.ts +9 -147
  15. package/auth/index.d.ts.map +1 -1
  16. package/auth/login/login.component.d.ts +10 -0
  17. package/auth/login/login.component.d.ts.map +1 -0
  18. package/auth/register/register.component.d.ts +10 -0
  19. package/auth/register/register.component.d.ts.map +1 -0
  20. package/auth/resetpass/resetpass.component.d.ts +9 -0
  21. package/auth/resetpass/resetpass.component.d.ts.map +1 -0
  22. package/components/alerts/formio.alerts.component.d.ts +12 -0
  23. package/components/alerts/formio.alerts.component.d.ts.map +1 -0
  24. package/components/alerts/formio.alerts.d.ts +12 -0
  25. package/components/alerts/formio.alerts.d.ts.map +1 -0
  26. package/components/alerts/parse-html-content.pipe.d.ts +8 -0
  27. package/components/alerts/parse-html-content.pipe.d.ts.map +1 -0
  28. package/components/formbuilder/formbuilder.component.d.ts +37 -0
  29. package/components/formbuilder/formbuilder.component.d.ts.map +1 -0
  30. package/components/formio/formio.component.d.ts +15 -0
  31. package/components/formio/formio.component.d.ts.map +1 -0
  32. package/components/formioreport/formioreport.component.d.ts +21 -0
  33. package/components/formioreport/formioreport.component.d.ts.map +1 -0
  34. package/components/loader/formio.loader.component.d.ts +7 -0
  35. package/components/loader/formio.loader.component.d.ts.map +1 -0
  36. package/core.d.ts +17 -0
  37. package/core.d.ts.map +1 -0
  38. package/custom-tags.service.d.ts +8 -0
  39. package/custom-tags.service.d.ts.map +1 -0
  40. package/embed/app.service.d.ts +28 -0
  41. package/embed/app.service.d.ts.map +1 -0
  42. package/embed/builder.component.d.ts +19 -0
  43. package/embed/builder.component.d.ts.map +1 -0
  44. package/embed/embed.module.d.ts +10 -0
  45. package/embed/embed.module.d.ts.map +1 -0
  46. package/embed/formio-angular-embed.d.ts.map +1 -0
  47. package/embed/formio.component.d.ts +21 -0
  48. package/embed/formio.component.d.ts.map +1 -0
  49. package/embed/index.d.ts +7 -73
  50. package/embed/index.d.ts.map +1 -1
  51. package/fesm2022/formio-angular-auth.mjs +22 -22
  52. package/fesm2022/formio-angular-embed.mjs +13 -13
  53. package/fesm2022/formio-angular-embed.mjs.map +1 -1
  54. package/fesm2022/formio-angular-grid.mjs +40 -40
  55. package/fesm2022/formio-angular-grid.mjs.map +1 -1
  56. package/fesm2022/formio-angular-manager.mjs +43 -43
  57. package/fesm2022/formio-angular-manager.mjs.map +1 -1
  58. package/fesm2022/formio-angular-resource.mjs +31 -31
  59. package/fesm2022/formio-angular.mjs +34 -34
  60. package/fesm2022/formio-angular.mjs.map +1 -1
  61. package/formio-angular.d.ts.map +1 -0
  62. package/formio-promise.service.d.ts +16 -0
  63. package/formio-promise.service.d.ts.map +1 -0
  64. package/formio.common.d.ts +68 -0
  65. package/formio.common.d.ts.map +1 -0
  66. package/formio.config.d.ts +21 -0
  67. package/formio.config.d.ts.map +1 -0
  68. package/formio.module.d.ts +15 -0
  69. package/formio.module.d.ts.map +1 -0
  70. package/formio.service.d.ts +18 -0
  71. package/formio.service.d.ts.map +1 -0
  72. package/formio.utils.d.ts +2 -0
  73. package/formio.utils.d.ts.map +1 -0
  74. package/grid/GridBodyComponent.d.ts +35 -0
  75. package/grid/GridBodyComponent.d.ts.map +1 -0
  76. package/grid/GridFooterComponent.d.ts +20 -0
  77. package/grid/GridFooterComponent.d.ts.map +1 -0
  78. package/grid/GridHeaderComponent.d.ts +16 -0
  79. package/grid/GridHeaderComponent.d.ts.map +1 -0
  80. package/grid/form/FormGridBody.component.d.ts +19 -0
  81. package/grid/form/FormGridBody.component.d.ts.map +1 -0
  82. package/grid/form/FormGridFooter.component.d.ts +10 -0
  83. package/grid/form/FormGridFooter.component.d.ts.map +1 -0
  84. package/grid/form/FormGridHeader.component.d.ts +11 -0
  85. package/grid/form/FormGridHeader.component.d.ts.map +1 -0
  86. package/grid/form/index.d.ts +10 -0
  87. package/grid/form/index.d.ts.map +1 -0
  88. package/grid/form/time-since.pipe.d.ts +8 -0
  89. package/grid/form/time-since.pipe.d.ts.map +1 -0
  90. package/grid/formio-angular-grid.d.ts.map +1 -0
  91. package/grid/grid.component.d.ts +59 -0
  92. package/grid/grid.component.d.ts.map +1 -0
  93. package/grid/grid.module.d.ts +23 -0
  94. package/grid/grid.module.d.ts.map +1 -0
  95. package/grid/grid.service.d.ts +10 -0
  96. package/grid/grid.service.d.ts.map +1 -0
  97. package/grid/index.d.ts +13 -237
  98. package/grid/index.d.ts.map +1 -1
  99. package/grid/submission/SubmissionGridBody.component.d.ts +19 -0
  100. package/grid/submission/SubmissionGridBody.component.d.ts.map +1 -0
  101. package/grid/submission/SubmissionGridFooter.component.d.ts +10 -0
  102. package/grid/submission/SubmissionGridFooter.component.d.ts.map +1 -0
  103. package/grid/submission/SubmissionGridHeader.component.d.ts +30 -0
  104. package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
  105. package/grid/submission/index.d.ts +10 -0
  106. package/grid/submission/index.d.ts.map +1 -0
  107. package/grid/types/grid-column.d.ts +7 -0
  108. package/grid/types/grid-column.d.ts.map +1 -0
  109. package/grid/types/grid-footer-positions.d.ts +6 -0
  110. package/grid/types/grid-footer-positions.d.ts.map +1 -0
  111. package/grid/types/grid-header.d.ts +13 -0
  112. package/grid/types/grid-header.d.ts.map +1 -0
  113. package/index.d.ts +4 -353
  114. package/index.d.ts.map +1 -1
  115. package/manager/create/create.component.d.ts +9 -0
  116. package/manager/create/create.component.d.ts.map +1 -0
  117. package/manager/delete/delete.component.d.ts +18 -0
  118. package/manager/delete/delete.component.d.ts.map +1 -0
  119. package/manager/edit/edit.component.d.ts +31 -0
  120. package/manager/edit/edit.component.d.ts.map +1 -0
  121. package/manager/form/form.component.d.ts +29 -0
  122. package/manager/form/form.component.d.ts.map +1 -0
  123. package/manager/form-manager.config.d.ts +30 -0
  124. package/manager/form-manager.config.d.ts.map +1 -0
  125. package/manager/form-manager.module.d.ts +28 -0
  126. package/manager/form-manager.module.d.ts.map +1 -0
  127. package/manager/form-manager.routes.d.ts +4 -0
  128. package/manager/form-manager.routes.d.ts.map +1 -0
  129. package/manager/form-manager.service.d.ts +37 -0
  130. package/manager/form-manager.service.d.ts.map +1 -0
  131. package/manager/formio-angular-manager.d.ts.map +1 -0
  132. package/manager/index/index.component.d.ts +28 -0
  133. package/manager/index/index.component.d.ts.map +1 -0
  134. package/manager/index.d.ts +17 -242
  135. package/manager/index.d.ts.map +1 -1
  136. package/manager/submission/delete/delete.component.d.ts +16 -0
  137. package/manager/submission/delete/delete.component.d.ts.map +1 -0
  138. package/manager/submission/edit/edit.component.d.ts +13 -0
  139. package/manager/submission/edit/edit.component.d.ts.map +1 -0
  140. package/manager/submission/index/index.component.d.ts +13 -0
  141. package/manager/submission/index/index.component.d.ts.map +1 -0
  142. package/manager/submission/submission/submission.component.d.ts +15 -0
  143. package/manager/submission/submission/submission.component.d.ts.map +1 -0
  144. package/manager/submission/view/view.component.d.ts +9 -0
  145. package/manager/submission/view/view.component.d.ts.map +1 -0
  146. package/manager/view/view.component.d.ts +24 -0
  147. package/manager/view/view.component.d.ts.map +1 -0
  148. package/package.json +6 -6
  149. package/resource/create/create.component.d.ts +19 -0
  150. package/resource/create/create.component.d.ts.map +1 -0
  151. package/resource/delete/delete.component.d.ts +14 -0
  152. package/resource/delete/delete.component.d.ts.map +1 -0
  153. package/resource/edit/edit.component.d.ts +22 -0
  154. package/resource/edit/edit.component.d.ts.map +1 -0
  155. package/resource/formio-angular-resource.d.ts.map +1 -0
  156. package/resource/index/index.component.d.ts +23 -0
  157. package/resource/index/index.component.d.ts.map +1 -0
  158. package/resource/index.d.ts +12 -185
  159. package/resource/index.d.ts.map +1 -1
  160. package/resource/resource.component.d.ts +24 -0
  161. package/resource/resource.component.d.ts.map +1 -0
  162. package/resource/resource.config.d.ts +17 -0
  163. package/resource/resource.config.d.ts.map +1 -0
  164. package/resource/resource.module.d.ts +20 -0
  165. package/resource/resource.module.d.ts.map +1 -0
  166. package/resource/resource.routes.d.ts +4 -0
  167. package/resource/resource.routes.d.ts.map +1 -0
  168. package/resource/resource.service.d.ts +52 -0
  169. package/resource/resource.service.d.ts.map +1 -0
  170. package/resource/resources.service.d.ts +16 -0
  171. package/resource/resources.service.d.ts.map +1 -0
  172. package/resource/view/view.component.d.ts +16 -0
  173. package/resource/view/view.component.d.ts.map +1 -0
  174. package/types/alerts-position.d.ts +7 -0
  175. package/types/alerts-position.d.ts.map +1 -0
  176. package/types/formio-metadata.d.ts +11 -0
  177. package/types/formio-metadata.d.ts.map +1 -0
  178. package/types/formio-submission.d.ts +19 -0
  179. package/types/formio-submission.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmissionGridHeader.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,uBAAuB,EAAC,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAa,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAC,MAAM,sBAAsB,CAAC;;AAE1D,qBAIa,6BAA8B,SAAQ,mBAAmB;IAEpE,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IAErD,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;IAgB3E,SAAS,CAAC,MAAM,EAAE,UAAU;IAI5B,kBAAkB,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,QAAQ;;;;;;;IAY3F,qBAAqB,CAAC,SAAS,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ;;;;;;IAWvF,oBAAoB,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,uBAAuB,CAAC,EAAE,IAAI,CAAC,EAAE,QAAQ;IAStF,aAAa,CAAC,UAAU,KAAA;yCAxDb,6BAA6B;2CAA7B,6BAA6B;CA6DzC"}
@@ -0,0 +1,10 @@
1
+ import { SubmissionGridHeaderComponent } from './SubmissionGridHeader.component';
2
+ import { SubmissionGridBodyComponent } from './SubmissionGridBody.component';
3
+ import { SubmissionGridFooterComponent } from './SubmissionGridFooter.component';
4
+ declare const _default: {
5
+ header: typeof SubmissionGridHeaderComponent;
6
+ body: typeof SubmissionGridBodyComponent;
7
+ footer: typeof SubmissionGridFooterComponent;
8
+ };
9
+ export default _default;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;;;;;;AACjF,wBAIE"}
@@ -0,0 +1,7 @@
1
+ import { ComponentInstance } from '@formio/angular';
2
+ export interface GridColumn {
3
+ label?: string;
4
+ path: string;
5
+ renderCell?(cellValue: any, component?: ComponentInstance): string;
6
+ }
7
+ //# sourceMappingURL=grid-column.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-column.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/types/grid-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;CACpE"}
@@ -0,0 +1,6 @@
1
+ export declare enum GridFooterPositions {
2
+ bottom = 0,
3
+ top = 1,
4
+ both = 2
5
+ }
6
+ //# sourceMappingURL=grid-footer-positions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-footer-positions.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/types/grid-footer-positions.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,MAAM,IAAA;IACN,GAAG,IAAA;IACH,IAAI,IAAA;CACL"}
@@ -0,0 +1,13 @@
1
+ import { ComponentInstance } from '@formio/angular';
2
+ export interface GridHeader {
3
+ component?: ComponentInstance;
4
+ key: string;
5
+ sort?: SortType;
6
+ label: string;
7
+ renderCell?(cellValue: any, component?: ComponentInstance): string;
8
+ }
9
+ export declare enum SortType {
10
+ ASC = "asc",
11
+ DESC = "desc"
12
+ }
13
+ //# sourceMappingURL=grid-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-header.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/types/grid-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;CACpE;AAED,oBAAY,QAAQ;IAClB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd"}
package/index.d.ts CHANGED
@@ -1,353 +1,4 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, OnInit, OnChanges, OnDestroy, NgZone, EventEmitter, ElementRef, PipeTransform } from '@angular/core';
3
- import { Formio, Form, FormBuilder } from '@formio/js';
4
- export { Formio, Utils as FormioUtils } from '@formio/js';
5
- import { ExtendedComponentSchema, ValidateOptions } from '@formio/deprecated-types';
6
- export { ComponentSchema, ElementInfo, ExtendedComponentSchema } from '@formio/deprecated-types';
7
- import { Observable } from 'rxjs';
8
- import * as i8 from '@angular/common';
9
-
10
- declare const FORMIO_CONFIG: InjectionToken<unknown>;
11
- declare class FormioAppConfig {
12
- [x: string]: any;
13
- appUrl: string;
14
- apiUrl: string;
15
- icons?: string;
16
- formOnly?: boolean;
17
- formio?: Formio;
18
- constructor(config?: {
19
- apiUrl?: string;
20
- baseUrl?: string;
21
- appUrl?: string;
22
- projectUrl?: string;
23
- });
24
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAppConfig, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<FormioAppConfig>;
26
- }
27
-
28
- declare enum AlertsPosition {
29
- none = 0,
30
- top = 1,
31
- bottom = 2,
32
- both = 3
33
- }
34
-
35
- interface ComponentOptions<T = any, V extends ValidateOptions = ValidateOptions> extends ExtendedComponentSchema<T> {
36
- validate?: V;
37
- }
38
- interface FormioRefreshValue {
39
- property?: string;
40
- value?: object;
41
- form?: object;
42
- submission?: object;
43
- }
44
- interface AccessSetting {
45
- type: string;
46
- roles: string[];
47
- }
48
- interface FormioReport {
49
- form: string;
50
- roles: object;
51
- access: object;
52
- metadata: object;
53
- data: object;
54
- project: string;
55
- }
56
- interface FormioForm {
57
- title?: string;
58
- display?: string;
59
- name?: string;
60
- path?: string;
61
- type?: string;
62
- project?: string;
63
- template?: string;
64
- components?: ExtendedComponentSchema[];
65
- tags?: string[];
66
- access?: AccessSetting[];
67
- submissionAccess?: AccessSetting[];
68
- report?: FormioReport;
69
- }
70
- interface ComponentInstance {
71
- component: ExtendedComponentSchema;
72
- id: string;
73
- type: string;
74
- asString?(value: any): string;
75
- getView(value: any): string;
76
- }
77
- interface AlertsOptions {
78
- submitMessage: string;
79
- }
80
- interface ErrorsOptions {
81
- message: string;
82
- }
83
- declare class FormioError {
84
- message: string;
85
- component: ExtendedComponentSchema;
86
- silent?: boolean;
87
- constructor(message: string, component: ExtendedComponentSchema, silent?: boolean);
88
- }
89
- type FormioSubmissionCallback = (error: FormioError, submission: object) => void;
90
- type FormioBeforeSubmit = (submission: object, callback: FormioSubmissionCallback) => void;
91
- interface FormioHookOptions {
92
- beforeSubmit: FormioBeforeSubmit;
93
- }
94
- interface AngularFormioOptions {
95
- errors?: ErrorsOptions;
96
- alerts?: AlertsOptions;
97
- alertsPosition?: AlertsPosition;
98
- disableAlerts?: boolean;
99
- }
100
-
101
- declare class FormioService {
102
- url: string;
103
- options?: object;
104
- formio: any;
105
- constructor(url: string, options?: object);
106
- requestWrapper(fn: any): any;
107
- saveForm(form: FormioForm, options?: any): Observable<FormioForm>;
108
- loadForm(query?: any, options?: any): Observable<FormioForm>;
109
- loadForms(query: any, options?: any): Observable<FormioForm>;
110
- loadSubmission(query?: any, options?: any): Observable<{}>;
111
- userPermissions(user: any, form: any, submission: any): Observable<{}>;
112
- deleteSubmission(data?: any, options?: any): Observable<{}>;
113
- saveSubmission(submission: {}, options?: any): Observable<{}>;
114
- loadSubmissions(query?: any, options?: any): Observable<{}>;
115
- }
116
-
117
- declare class FormioPromiseService {
118
- url: string;
119
- options?: object;
120
- private formioService;
121
- constructor(url: string, options?: object);
122
- saveForm(form: FormioForm, options?: any): Promise<any>;
123
- loadForm(query?: any, options?: any): Promise<any>;
124
- loadSubmission(query?: any, options?: any): Promise<any>;
125
- userPermissions(user: any, form: any, submission: any): Promise<any>;
126
- deleteSubmission(data?: any, options?: any): Promise<any>;
127
- loadForms(query: any, options?: any): Promise<any>;
128
- saveSubmission(submission: {}, options?: any): Promise<any>;
129
- loadSubmissions(query?: any, options?: any): Promise<any>;
130
- }
131
-
132
- declare function extendRouter(Class: any, config: any, ClassRoutes: any): any;
133
-
134
- interface FormioAlert {
135
- type: string;
136
- message: string;
137
- component?: any;
138
- }
139
- declare class FormioAlerts {
140
- alerts: FormioAlert[];
141
- setAlert(alert: FormioAlert): void;
142
- addAlert(alert: FormioAlert): void;
143
- setAlerts(alerts: FormioAlert[]): void;
144
- }
145
-
146
- declare class CustomTagsService {
147
- tags: string[];
148
- addCustomTag(tag: string): void;
149
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomTagsService, never>;
150
- static ɵprov: i0.ɵɵInjectableDeclaration<CustomTagsService>;
151
- }
152
-
153
- declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {
154
- ngZone: NgZone;
155
- config: FormioAppConfig;
156
- customTags?: CustomTagsService;
157
- form?: FormioForm;
158
- submission?: any;
159
- src?: string;
160
- url?: string;
161
- service?: FormioService;
162
- options?: Form['options'] & AngularFormioOptions;
163
- noeval?: boolean;
164
- formioOptions?: any;
165
- renderOptions?: any;
166
- readOnly?: boolean;
167
- viewOnly?: boolean;
168
- hideLoading?: boolean;
169
- hideComponents?: string[];
170
- refresh?: EventEmitter<FormioRefreshValue>;
171
- error?: EventEmitter<any>;
172
- success?: EventEmitter<object>;
173
- submitDone?: EventEmitter<object>;
174
- language?: EventEmitter<string> | string;
175
- hooks?: any;
176
- renderer?: any;
177
- watchSubmissionErrors?: boolean;
178
- dataTableActions?: any;
179
- render: EventEmitter<object>;
180
- customEvent: EventEmitter<object>;
181
- fileUploadingStatus: EventEmitter<string>;
182
- submit: EventEmitter<object>;
183
- prevPage: EventEmitter<object>;
184
- nextPage: EventEmitter<object>;
185
- beforeSubmit: EventEmitter<object>;
186
- rowAdd: EventEmitter<any>;
187
- rowAdded: EventEmitter<any>;
188
- rowEdit: EventEmitter<any>;
189
- rowEdited: EventEmitter<any>;
190
- rowDelete: EventEmitter<any>;
191
- rowClick: EventEmitter<any>;
192
- rowSelectChange: EventEmitter<any>;
193
- page: EventEmitter<any>;
194
- changeItemsPerPage: EventEmitter<any>;
195
- change: EventEmitter<object>;
196
- invalid: EventEmitter<boolean>;
197
- errorChange: EventEmitter<any>;
198
- formLoad: EventEmitter<any>;
199
- submissionLoad: EventEmitter<any>;
200
- ready: EventEmitter<FormioBaseComponent>;
201
- formioElement?: ElementRef<any>;
202
- AlertsPosition: typeof AlertsPosition;
203
- formio: any;
204
- initialized: boolean;
205
- alerts: FormioAlerts;
206
- formioReady: Promise<any>;
207
- private formioReadyResolve;
208
- private submitting;
209
- private submissionSuccess;
210
- isLoading: boolean;
211
- noAlerts: boolean;
212
- label: string;
213
- constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
214
- getRenderer(): any;
215
- getRendererOptions(): any;
216
- createRenderer(): any;
217
- setFormUrl(url: any): void;
218
- setForm(form: FormioForm): any;
219
- attachFormEvents(): void;
220
- initialize(): void;
221
- ngOnInit(): void;
222
- setFormFromSrc(): void;
223
- ngOnDestroy(): void;
224
- onRefresh(refresh: FormioRefreshValue): void;
225
- ngOnChanges(changes: any): void;
226
- onPrevPage(data: any): void;
227
- onNextPage(data: any): void;
228
- onSubmit(submission: any, saved: boolean, noemit?: boolean): void;
229
- onError(err: any): void;
230
- focusOnComponet(key: any): void;
231
- submitExecute(submission: object, saved?: boolean): void;
232
- submitForm(submission: any, saved?: boolean): void;
233
- onChange(value: any, flags: any, isModified: boolean): void;
234
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioBaseComponent, [null, { optional: true; }, { optional: true; }]>;
235
- 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>;
236
- }
237
-
238
- declare class FormioComponent extends FormioBaseComponent implements OnInit, OnChanges {
239
- ngZone: NgZone;
240
- config: FormioAppConfig;
241
- customTags?: CustomTagsService;
242
- constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
243
- getRenderer(): any;
244
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioComponent, [null, { optional: true; }, { optional: true; }]>;
245
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioComponent, "formio", never, {}, {}, never, never, false, never>;
246
- }
247
-
248
- declare class FormBuilderComponent implements OnInit, OnChanges, OnDestroy {
249
- private ngZone;
250
- private config;
251
- private customTags?;
252
- ready: Promise<object>;
253
- readyResolve: any;
254
- formio: any;
255
- builder: FormBuilder;
256
- componentAdding: boolean;
257
- private refreshSubscription;
258
- form?: FormioForm;
259
- options?: FormBuilder['options'] & AngularFormioOptions;
260
- formbuilder?: any;
261
- noeval?: boolean;
262
- refresh?: Observable<void>;
263
- rebuild?: Observable<object>;
264
- change: EventEmitter<object>;
265
- builderElement?: ElementRef<any>;
266
- constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
267
- ngOnInit(): void;
268
- setInstance(instance: any): any;
269
- setDisplay(display: String, prevDisplay?: string): void;
270
- buildForm(form: any, prevForm?: any): any;
271
- rebuildForm(form: any, options?: object): Promise<any>;
272
- ngOnChanges(changes: any): void;
273
- ngOnDestroy(): void;
274
- static ɵfac: i0.ɵɵFactoryDeclaration<FormBuilderComponent, [null, { optional: true; }, { optional: true; }]>;
275
- static ɵcmp: i0.ɵɵComponentDeclaration<FormBuilderComponent, "form-builder", never, { "form": { "alias": "form"; "required": false; }; "options": { "alias": "options"; "required": false; }; "formbuilder": { "alias": "formbuilder"; "required": false; }; "noeval": { "alias": "noeval"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "rebuild": { "alias": "rebuild"; "required": false; }; }, { "change": "change"; }, never, never, false, never>;
276
- }
277
-
278
- declare class FormioReportComponent extends FormioComponent implements OnInit, OnChanges {
279
- report?: FormioReport;
280
- projectEndpoint?: string;
281
- fetchDataError: EventEmitter<any>;
282
- formioElement?: ElementRef<any>;
283
- isReportLoading: boolean;
284
- setFormFromSrc(): void;
285
- setFormUrl(url: any): void;
286
- ngOnChanges(changes: any): void;
287
- getRendererOptions(): any;
288
- createRenderer(): any;
289
- attachFormEvents(): void;
290
- getRenderer(): any;
291
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioReportComponent, never>;
292
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioReportComponent, "formio-report", never, { "report": { "alias": "report"; "required": false; }; "projectEndpoint": { "alias": "projectEndpoint"; "required": false; }; }, { "fetchDataError": "fetchDataError"; }, never, never, false, never>;
293
- }
294
-
295
- declare class FormioLoaderComponent {
296
- isLoading: boolean;
297
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioLoaderComponent, never>;
298
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioLoaderComponent, "formio-loader", never, { "isLoading": { "alias": "isLoading"; "required": false; }; }, {}, never, never, false, never>;
299
- }
300
-
301
- declare class FormioAlertsComponent implements OnInit {
302
- alerts: FormioAlerts;
303
- focusComponent: EventEmitter<object>;
304
- ngOnInit(): void;
305
- getComponent(event: any, alert: any): void;
306
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAlertsComponent, never>;
307
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioAlertsComponent, "formio-alerts", never, { "alerts": { "alias": "alerts"; "required": false; }; }, { "focusComponent": "focusComponent"; }, never, never, false, never>;
308
- }
309
-
310
- declare class ParseHtmlContentPipe implements PipeTransform {
311
- transform(content: any): string;
312
- static ɵfac: i0.ɵɵFactoryDeclaration<ParseHtmlContentPipe, never>;
313
- static ɵpipe: i0.ɵɵPipeDeclaration<ParseHtmlContentPipe, "parseHtmlContent", false>;
314
- }
315
-
316
- declare class FormioModule {
317
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioModule, never>;
318
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormioModule, [typeof FormioComponent, typeof FormioReportComponent, typeof FormioBaseComponent, typeof FormBuilderComponent, typeof FormioLoaderComponent, typeof FormioAlertsComponent, typeof ParseHtmlContentPipe], [typeof i8.CommonModule], [typeof FormioComponent, typeof FormioReportComponent, typeof FormBuilderComponent, typeof FormioLoaderComponent, typeof FormioAlertsComponent]>;
319
- static ɵinj: i0.ɵɵInjectorDeclaration<FormioModule>;
320
- }
321
-
322
- interface FormioMetadata {
323
- timezone?: string;
324
- offset?: number;
325
- origin?: string;
326
- referrer?: string;
327
- browserName?: string;
328
- userAgent?: string;
329
- pathName?: string;
330
- onLine?: boolean;
331
- }
332
-
333
- interface FormioSubmission<T = any, stateType = FormioSubmissionState> {
334
- _id?: string;
335
- created?: string;
336
- data?: T;
337
- form?: string;
338
- metadata?: FormioMetadata;
339
- modified?: string;
340
- owner?: string;
341
- project?: string;
342
- state?: stateType;
343
- _fvid?: number;
344
- _vid?: number;
345
- }
346
- declare enum FormioSubmissionState {
347
- draft = "draft",
348
- submitted = "submitted"
349
- }
350
-
351
- export { CustomTagsService, FORMIO_CONFIG, FormBuilderComponent, FormioAlerts, FormioAlertsComponent, FormioAppConfig, FormioBaseComponent, FormioComponent, FormioError, FormioLoaderComponent, FormioModule, FormioPromiseService, FormioReportComponent, FormioService, extendRouter };
352
- export type { AccessSetting, AlertsOptions, AngularFormioOptions, ComponentInstance, ComponentOptions, ErrorsOptions, FormioAlert, FormioBeforeSubmit, FormioForm, FormioHookOptions, FormioRefreshValue, FormioReport, FormioSubmission, FormioSubmissionCallback };
353
- //# sourceMappingURL=index.d.ts.map
1
+ export * from './core';
2
+ export * from './custom-tags.service';
3
+ export { default as FormioSubmission } from './types/formio-submission';
4
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../projects/angular-formio/src/formio.config.ts","../../projects/angular-formio/src/types/alerts-position.ts","../../projects/angular-formio/src/formio.common.ts","../../projects/angular-formio/src/formio.service.ts","../../projects/angular-formio/src/formio-promise.service.ts","../../projects/angular-formio/src/formio.utils.ts","../../projects/angular-formio/src/components/alerts/formio.alerts.ts","../../projects/angular-formio/src/custom-tags.service.ts","../../projects/angular-formio/src/FormioBaseComponent.ts","../../projects/angular-formio/src/components/formio/formio.component.ts","../../projects/angular-formio/src/components/formbuilder/formbuilder.component.ts","../../projects/angular-formio/src/components/formioreport/formioreport.component.ts","../../projects/angular-formio/src/components/loader/formio.loader.component.ts","../../projects/angular-formio/src/components/alerts/formio.alerts.component.ts","../../projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts","../../projects/angular-formio/src/formio.module.ts","../../projects/angular-formio/src/types/formio-metadata.ts","../../projects/angular-formio/src/types/formio-submission.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;AACA;AAGA;AAEE;AACA;AACA;;;;AAImC;;;;;AAK7B;;;AASP;;AC1BD;AACE;AACA;AACA;AACA;AACD;;;;ACAA;;;;;;AAOA;;;;AAKA;;;;;;;;AASA;;;;;;;;;AAUC;AACA;AACA;AACA;;AAED;;;;;AAMC;AACA;AACD;;;AAIA;;;AAIA;AAED;AAEW;AACA;;;AAGV;AAEK;AAIA;;;AAOL;;;;;;AAOA;;ACjFD;AAEqB;;;AAAA;;AA0BnB;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGD;;ACpDD;AAGqB;;;AAAA;AAInB;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGD;;AChCD;;;;;;ACCC;AAED;;;;AAWE;AAGD;;ACnBD;;;;;AAOC;;ACGD;AAiEW;AACY;;;;;;;;AAvDZ;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;;AAEC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC6B;AAEhC;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;AAmUP;;;AAmHA;AAaA;;;;AAqCD;;ACniBD;AAUW;AACY;;;;;;AAetB;;ACRD;AAyBI;AACY;;AAjBP;;;;AAIA;;;;;AAKE;AACA;AACA;AACC;AAC8B;;;;;;;;;;;AAsKzC;;AC/MD;;;AAWY;AACqC;;;;;;;;;;;AA6EhD;;AC7FD;;;;AAQC;;ACPD;;AAOY;;AAMV;;;AAGD;;ACjBD;;;;AAYC;;ACFD;;;;AAyB4B;;ACrCd;;;;;;;;;AASb;;ACPa;;;;;;;;;;;;AAYb;AAED;AACE;AACA;AACD;;;"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormManagerEditComponent } from '../edit/edit.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormManagerCreateComponent extends FormManagerEditComponent implements OnInit {
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerCreateComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerCreateComponent, "ng-component", never, {}, {}, never, never, false, never>;
8
+ }
9
+ //# sourceMappingURL=create.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/manager/src/create/create.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;;AAElE,qBAIa,0BAA2B,SAAQ,wBAAyB,YAAW,MAAM;IACxF,QAAQ;yCADG,0BAA0B;2CAA1B,0BAA0B;CAItC"}
@@ -0,0 +1,18 @@
1
+ import { FormManagerService } from '../form-manager.service';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { FormioAlerts } from '@formio/angular';
4
+ import { GridService } from '@formio/angular/grid';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FormManagerDeleteComponent {
7
+ managerService: FormManagerService;
8
+ router: Router;
9
+ route: ActivatedRoute;
10
+ alerts: FormioAlerts;
11
+ gridService?: GridService;
12
+ constructor(managerService: FormManagerService, router: Router, route: ActivatedRoute, alerts: FormioAlerts, gridService?: GridService);
13
+ onDelete(): void;
14
+ onCancel(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerDeleteComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerDeleteComponent, "ng-component", never, {}, {}, never, never, false, never>;
17
+ }
18
+ //# sourceMappingURL=delete.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/manager/src/delete/delete.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;;AAEnD,qBAIa,0BAA0B;IAE5B,cAAc,EAAE,kBAAkB;IAClC,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,YAAY;IACpB,WAAW,CAAC,EAAE,WAAW;gBAJzB,cAAc,EAAE,kBAAkB,EAClC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,YAAY,EACpB,WAAW,CAAC,EAAE,WAAW;IAGlC,QAAQ;IAeR,QAAQ;yCAxBG,0BAA0B;2CAA1B,0BAA0B;CA2BtC"}
@@ -0,0 +1,31 @@
1
+ import { ElementRef, AfterViewInit, ChangeDetectorRef } from '@angular/core';
2
+ import { FormManagerService } from '../form-manager.service';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+ import { FormManagerConfig } from '../form-manager.config';
5
+ import { FormioAlerts } from '@formio/angular';
6
+ import { FormBuilderComponent } from '@formio/angular';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FormManagerEditComponent implements AfterViewInit {
9
+ service: FormManagerService;
10
+ router: Router;
11
+ route: ActivatedRoute;
12
+ config: FormManagerConfig;
13
+ ref: ChangeDetectorRef;
14
+ alerts: FormioAlerts;
15
+ builder: FormBuilderComponent;
16
+ formTitle: ElementRef;
17
+ formType: ElementRef;
18
+ form: any;
19
+ loading: Boolean;
20
+ formReady: Boolean;
21
+ editMode: Boolean;
22
+ constructor(service: FormManagerService, router: Router, route: ActivatedRoute, config: FormManagerConfig, ref: ChangeDetectorRef, alerts: FormioAlerts);
23
+ initBuilder(editing: any): Promise<boolean | void>;
24
+ ngAfterViewInit(): void;
25
+ onDisplaySelect(event: any): void;
26
+ saveForm(): any;
27
+ onSave(): any;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerEditComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerEditComponent, "ng-component", never, {}, {}, never, never, false, never>;
30
+ }
31
+ //# sourceMappingURL=edit.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/manager/src/edit/edit.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;;AAGvD,qBAIa,wBAAyB,YAAW,aAAa;IAUnD,OAAO,EAAE,kBAAkB;IAC3B,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,iBAAiB;IACzB,GAAG,EAAE,iBAAiB;IACtB,MAAM,EAAE,YAAY;IAdqB,OAAO,EAAE,oBAAoB,CAAC;IAC3C,SAAS,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,UAAU,CAAC;IAClD,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;gBAGhB,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,iBAAiB,EACzB,GAAG,EAAE,iBAAiB,EACtB,MAAM,EAAE,YAAY;IAQ7B,WAAW,CAAC,OAAO,KAAA;IAwBnB,eAAe;IAMf,eAAe,CAAC,KAAK,KAAA;IAIrB,QAAQ;IAiCR,MAAM;yCA1FK,wBAAwB;2CAAxB,wBAAwB;CAmGpC"}
@@ -0,0 +1,29 @@
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
+ import { FormManagerService } from '../form-manager.service';
3
+ import { FormManagerConfig } from '../form-manager.config';
4
+ import { ActivatedRoute } from '@angular/router';
5
+ import { FormioAppConfig } from '@formio/angular';
6
+ import { BsModalService, BsModalRef } from 'ngx-bootstrap/modal';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FormManagerFormComponent implements OnInit {
9
+ service: FormManagerService;
10
+ route: ActivatedRoute;
11
+ appConfig: FormioAppConfig;
12
+ options: FormManagerConfig;
13
+ private modalService;
14
+ choice: any;
15
+ embedCode: any;
16
+ shareUrl: any;
17
+ projectId: any;
18
+ pathName: any;
19
+ goTo: any;
20
+ modalRef: BsModalRef;
21
+ constructor(service: FormManagerService, route: ActivatedRoute, appConfig: FormioAppConfig, options: FormManagerConfig, modalService: BsModalService);
22
+ ngOnInit(): void;
23
+ getShareUrl(): any;
24
+ openEmbed(content: TemplateRef<any>): void;
25
+ choices(string: any): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerFormComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormManagerFormComponent, "ng-component", never, {}, {}, never, never, false, never>;
28
+ }
29
+ //# sourceMappingURL=form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/manager/src/form/form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAEjE,qBAIa,wBAAyB,YAAW,MAAM;IAS5C,OAAO,EAAE,kBAAkB;IAC3B,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,eAAe;IAC1B,OAAO,EAAE,iBAAiB;IACjC,OAAO,CAAC,YAAY;IAZtB,MAAM,EAAE,GAAG,CAAW;IACtB,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC;IACd,IAAI,EAAE,GAAG,CAAM;IACf,QAAQ,EAAE,UAAU,CAAC;gBAEZ,OAAO,EAAE,kBAAkB,EAC3B,KAAK,EAAE,cAAc,EACrB,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,iBAAiB,EACzB,YAAY,EAAE,cAAc;IAGtC,QAAQ;IAUD,WAAW;IAMlB,SAAS,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC;IA2BnC,OAAO,CAAC,MAAM,KAAA;yCA3DH,wBAAwB;2CAAxB,wBAAwB;CA8DpC"}
@@ -0,0 +1,30 @@
1
+ import * as i0 from "@angular/core";
2
+ type FormType = 'form' | 'resource';
3
+ export interface FormManagerRouteConfig {
4
+ formIndex?: any;
5
+ formCreate?: any;
6
+ form?: any;
7
+ formView?: any;
8
+ formEdit?: any;
9
+ formEmbed?: any;
10
+ formDelete?: any;
11
+ submissionIndex?: any;
12
+ submission?: any;
13
+ submissionView?: any;
14
+ submissionEdit?: any;
15
+ submissionDelete?: any;
16
+ }
17
+ export declare class FormManagerConfig {
18
+ tag: string;
19
+ includeSearch: boolean;
20
+ saveDraft: boolean;
21
+ type: FormType;
22
+ builder?: any;
23
+ viewer?: string;
24
+ renderer: any;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerConfig, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<FormManagerConfig>;
27
+ }
28
+ export declare const DefaultConfiguration: FormManagerConfig;
29
+ export {};
30
+ //# sourceMappingURL=form-manager.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-manager.config.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/manager/src/form-manager.config.ts"],"names":[],"mappings":";AAEA,KAAK,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;AAEpC,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,gBAAgB,CAAC,EAAE,GAAG,CAAC;CACxB;AAED,qBACa,iBAAiB;IACrB,GAAG,SAAM;IACT,aAAa,UAAS;IACtB,SAAS,UAAS;IAClB,IAAI,EAAE,QAAQ,CAAU;IACxB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,GAAG,CAAC;yCAPV,iBAAiB;6CAAjB,iBAAiB;CAQ7B;AAED,eAAO,MAAM,oBAAoB,mBAA0B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { FormManagerRouteConfig } from './form-manager.config';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./index/index.component";
4
+ import * as i2 from "./create/create.component";
5
+ import * as i3 from "./form/form.component";
6
+ import * as i4 from "./view/view.component";
7
+ import * as i5 from "./edit/edit.component";
8
+ import * as i6 from "./delete/delete.component";
9
+ import * as i7 from "./submission/submission/submission.component";
10
+ import * as i8 from "./submission/edit/edit.component";
11
+ import * as i9 from "./submission/delete/delete.component";
12
+ import * as i10 from "./submission/view/view.component";
13
+ import * as i11 from "./submission/index/index.component";
14
+ import * as i12 from "@angular/common";
15
+ import * as i13 from "@formio/angular";
16
+ import * as i14 from "@angular/router";
17
+ import * as i15 from "@angular/forms";
18
+ import * as i16 from "@formio/angular/grid";
19
+ import * as i17 from "ngx-bootstrap/modal";
20
+ import * as i18 from "ngx-bootstrap/pagination";
21
+ export declare class FormManagerModule {
22
+ static forChild(config?: FormManagerRouteConfig): any;
23
+ static forRoot(config?: FormManagerRouteConfig): any;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormManagerModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormManagerModule, [typeof i1.FormManagerIndexComponent, typeof i2.FormManagerCreateComponent, typeof i3.FormManagerFormComponent, typeof i4.FormManagerViewComponent, typeof i5.FormManagerEditComponent, typeof i6.FormManagerDeleteComponent, typeof i7.SubmissionComponent, typeof i8.SubmissionEditComponent, typeof i9.SubmissionDeleteComponent, typeof i10.SubmissionViewComponent, typeof i11.SubmissionIndexComponent], [typeof i12.CommonModule, typeof i13.FormioModule, typeof i14.RouterModule, typeof i15.FormsModule, typeof i16.FormioGrid, typeof i17.ModalModule, typeof i18.PaginationModule], never>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormManagerModule>;
27
+ }
28
+ //# sourceMappingURL=form-manager.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-manager.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/manager/src/form-manager.module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;AAK/D,qBAwBa,iBAAiB;IAC5B,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,GAAG;IAGrD,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,GAAG;yCAJzC,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAO7B"}
@@ -0,0 +1,4 @@
1
+ import { Routes } from '@angular/router';
2
+ import { FormManagerRouteConfig } from './form-manager.config';
3
+ export declare function FormManagerRoutes(config?: FormManagerRouteConfig): Routes;
4
+ //# sourceMappingURL=form-manager.routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-manager.routes.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/manager/src/form-manager.routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAYzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,wBAAgB,iBAAiB,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,MAAM,CA6DzE"}