@formio/angular 10.0.0-rc.1 → 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 (181) 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 -74
  50. package/embed/index.d.ts.map +1 -1
  51. package/fesm2022/formio-angular-auth.mjs +22 -22
  52. package/fesm2022/formio-angular-auth.mjs.map +1 -1
  53. package/fesm2022/formio-angular-embed.mjs +14 -17
  54. package/fesm2022/formio-angular-embed.mjs.map +1 -1
  55. package/fesm2022/formio-angular-grid.mjs +54 -49
  56. package/fesm2022/formio-angular-grid.mjs.map +1 -1
  57. package/fesm2022/formio-angular-manager.mjs +44 -44
  58. package/fesm2022/formio-angular-manager.mjs.map +1 -1
  59. package/fesm2022/formio-angular-resource.mjs +31 -31
  60. package/fesm2022/formio-angular-resource.mjs.map +1 -1
  61. package/fesm2022/formio-angular.mjs +35 -35
  62. package/fesm2022/formio-angular.mjs.map +1 -1
  63. package/formio-angular.d.ts.map +1 -0
  64. package/formio-promise.service.d.ts +16 -0
  65. package/formio-promise.service.d.ts.map +1 -0
  66. package/formio.common.d.ts +68 -0
  67. package/formio.common.d.ts.map +1 -0
  68. package/formio.config.d.ts +21 -0
  69. package/formio.config.d.ts.map +1 -0
  70. package/formio.module.d.ts +15 -0
  71. package/formio.module.d.ts.map +1 -0
  72. package/formio.service.d.ts +18 -0
  73. package/formio.service.d.ts.map +1 -0
  74. package/formio.utils.d.ts +2 -0
  75. package/formio.utils.d.ts.map +1 -0
  76. package/grid/GridBodyComponent.d.ts +35 -0
  77. package/grid/GridBodyComponent.d.ts.map +1 -0
  78. package/grid/GridFooterComponent.d.ts +20 -0
  79. package/grid/GridFooterComponent.d.ts.map +1 -0
  80. package/grid/GridHeaderComponent.d.ts +16 -0
  81. package/grid/GridHeaderComponent.d.ts.map +1 -0
  82. package/grid/form/FormGridBody.component.d.ts +19 -0
  83. package/grid/form/FormGridBody.component.d.ts.map +1 -0
  84. package/grid/form/FormGridFooter.component.d.ts +10 -0
  85. package/grid/form/FormGridFooter.component.d.ts.map +1 -0
  86. package/grid/form/FormGridHeader.component.d.ts +11 -0
  87. package/grid/form/FormGridHeader.component.d.ts.map +1 -0
  88. package/grid/form/index.d.ts +10 -0
  89. package/grid/form/index.d.ts.map +1 -0
  90. package/grid/form/time-since.pipe.d.ts +8 -0
  91. package/grid/form/time-since.pipe.d.ts.map +1 -0
  92. package/grid/formio-angular-grid.d.ts.map +1 -0
  93. package/grid/grid.component.d.ts +59 -0
  94. package/grid/grid.component.d.ts.map +1 -0
  95. package/grid/grid.module.d.ts +23 -0
  96. package/grid/grid.module.d.ts.map +1 -0
  97. package/grid/grid.service.d.ts +10 -0
  98. package/grid/grid.service.d.ts.map +1 -0
  99. package/grid/index.d.ts +13 -237
  100. package/grid/index.d.ts.map +1 -1
  101. package/grid/submission/SubmissionGridBody.component.d.ts +19 -0
  102. package/grid/submission/SubmissionGridBody.component.d.ts.map +1 -0
  103. package/grid/submission/SubmissionGridFooter.component.d.ts +10 -0
  104. package/grid/submission/SubmissionGridFooter.component.d.ts.map +1 -0
  105. package/grid/submission/SubmissionGridHeader.component.d.ts +30 -0
  106. package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
  107. package/grid/submission/index.d.ts +10 -0
  108. package/grid/submission/index.d.ts.map +1 -0
  109. package/grid/types/grid-column.d.ts +7 -0
  110. package/grid/types/grid-column.d.ts.map +1 -0
  111. package/grid/types/grid-footer-positions.d.ts +6 -0
  112. package/grid/types/grid-footer-positions.d.ts.map +1 -0
  113. package/grid/types/grid-header.d.ts +13 -0
  114. package/grid/types/grid-header.d.ts.map +1 -0
  115. package/index.d.ts +4 -354
  116. package/index.d.ts.map +1 -1
  117. package/manager/create/create.component.d.ts +9 -0
  118. package/manager/create/create.component.d.ts.map +1 -0
  119. package/manager/delete/delete.component.d.ts +18 -0
  120. package/manager/delete/delete.component.d.ts.map +1 -0
  121. package/manager/edit/edit.component.d.ts +31 -0
  122. package/manager/edit/edit.component.d.ts.map +1 -0
  123. package/manager/form/form.component.d.ts +29 -0
  124. package/manager/form/form.component.d.ts.map +1 -0
  125. package/manager/form-manager.config.d.ts +30 -0
  126. package/manager/form-manager.config.d.ts.map +1 -0
  127. package/manager/form-manager.module.d.ts +28 -0
  128. package/manager/form-manager.module.d.ts.map +1 -0
  129. package/manager/form-manager.routes.d.ts +4 -0
  130. package/manager/form-manager.routes.d.ts.map +1 -0
  131. package/manager/form-manager.service.d.ts +37 -0
  132. package/manager/form-manager.service.d.ts.map +1 -0
  133. package/manager/formio-angular-manager.d.ts.map +1 -0
  134. package/manager/index/index.component.d.ts +28 -0
  135. package/manager/index/index.component.d.ts.map +1 -0
  136. package/manager/index.d.ts +17 -242
  137. package/manager/index.d.ts.map +1 -1
  138. package/manager/submission/delete/delete.component.d.ts +16 -0
  139. package/manager/submission/delete/delete.component.d.ts.map +1 -0
  140. package/manager/submission/edit/edit.component.d.ts +13 -0
  141. package/manager/submission/edit/edit.component.d.ts.map +1 -0
  142. package/manager/submission/index/index.component.d.ts +13 -0
  143. package/manager/submission/index/index.component.d.ts.map +1 -0
  144. package/manager/submission/submission/submission.component.d.ts +15 -0
  145. package/manager/submission/submission/submission.component.d.ts.map +1 -0
  146. package/manager/submission/view/view.component.d.ts +9 -0
  147. package/manager/submission/view/view.component.d.ts.map +1 -0
  148. package/manager/view/view.component.d.ts +24 -0
  149. package/manager/view/view.component.d.ts.map +1 -0
  150. package/package.json +7 -7
  151. package/resource/create/create.component.d.ts +19 -0
  152. package/resource/create/create.component.d.ts.map +1 -0
  153. package/resource/delete/delete.component.d.ts +14 -0
  154. package/resource/delete/delete.component.d.ts.map +1 -0
  155. package/resource/edit/edit.component.d.ts +22 -0
  156. package/resource/edit/edit.component.d.ts.map +1 -0
  157. package/resource/formio-angular-resource.d.ts.map +1 -0
  158. package/resource/index/index.component.d.ts +23 -0
  159. package/resource/index/index.component.d.ts.map +1 -0
  160. package/resource/index.d.ts +12 -185
  161. package/resource/index.d.ts.map +1 -1
  162. package/resource/resource.component.d.ts +24 -0
  163. package/resource/resource.component.d.ts.map +1 -0
  164. package/resource/resource.config.d.ts +17 -0
  165. package/resource/resource.config.d.ts.map +1 -0
  166. package/resource/resource.module.d.ts +20 -0
  167. package/resource/resource.module.d.ts.map +1 -0
  168. package/resource/resource.routes.d.ts +4 -0
  169. package/resource/resource.routes.d.ts.map +1 -0
  170. package/resource/resource.service.d.ts +52 -0
  171. package/resource/resource.service.d.ts.map +1 -0
  172. package/resource/resources.service.d.ts +16 -0
  173. package/resource/resources.service.d.ts.map +1 -0
  174. package/resource/view/view.component.d.ts +16 -0
  175. package/resource/view/view.component.d.ts.map +1 -0
  176. package/types/alerts-position.d.ts +7 -0
  177. package/types/alerts-position.d.ts.map +1 -0
  178. package/types/formio-metadata.d.ts +11 -0
  179. package/types/formio-metadata.d.ts.map +1 -0
  180. package/types/formio-submission.d.ts +19 -0
  181. 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,354 +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 { ValidateOptions, ExtendedComponentSchema } 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
- _id?: string;
58
- title?: string;
59
- display?: string;
60
- name?: string;
61
- path?: string;
62
- type?: string;
63
- project?: string;
64
- template?: string;
65
- components?: ExtendedComponentSchema[];
66
- tags?: string[];
67
- access?: AccessSetting[];
68
- submissionAccess?: AccessSetting[];
69
- report?: FormioReport;
70
- }
71
- interface ComponentInstance {
72
- component: ExtendedComponentSchema;
73
- id: string;
74
- type: string;
75
- asString?(value: any): string;
76
- getView(value: any): string;
77
- }
78
- interface AlertsOptions {
79
- submitMessage: string;
80
- }
81
- interface ErrorsOptions {
82
- message: string;
83
- }
84
- declare class FormioError {
85
- message: string;
86
- component: ExtendedComponentSchema;
87
- silent?: boolean;
88
- constructor(message: string, component: ExtendedComponentSchema, silent?: boolean);
89
- }
90
- type FormioSubmissionCallback = (error: FormioError, submission: object) => void;
91
- type FormioBeforeSubmit = (submission: object, callback: FormioSubmissionCallback) => void;
92
- interface FormioHookOptions {
93
- beforeSubmit: FormioBeforeSubmit;
94
- }
95
- interface AngularFormioOptions {
96
- errors?: ErrorsOptions;
97
- alerts?: AlertsOptions;
98
- alertsPosition?: AlertsPosition;
99
- disableAlerts?: boolean;
100
- }
101
-
102
- declare class FormioService {
103
- url: string;
104
- options?: object;
105
- formio: any;
106
- constructor(url: string, options?: object);
107
- requestWrapper(fn: any): any;
108
- saveForm(form: FormioForm, options?: any): Observable<FormioForm>;
109
- loadForm(query?: any, options?: any): Observable<FormioForm>;
110
- loadForms(query: any, options?: any): Observable<FormioForm>;
111
- loadSubmission(query?: any, options?: any): Observable<{}>;
112
- userPermissions(user: any, form: any, submission: any): Observable<{}>;
113
- deleteSubmission(data?: any, options?: any): Observable<{}>;
114
- saveSubmission(submission: {}, options?: any): Observable<{}>;
115
- loadSubmissions(query?: any, options?: any): Observable<{}>;
116
- }
117
-
118
- declare class FormioPromiseService {
119
- url: string;
120
- options?: object;
121
- private formioService;
122
- constructor(url: string, options?: object);
123
- saveForm(form: FormioForm, options?: any): Promise<any>;
124
- loadForm(query?: any, options?: any): Promise<any>;
125
- loadSubmission(query?: any, options?: any): Promise<any>;
126
- userPermissions(user: any, form: any, submission: any): Promise<any>;
127
- deleteSubmission(data?: any, options?: any): Promise<any>;
128
- loadForms(query: any, options?: any): Promise<any>;
129
- saveSubmission(submission: {}, options?: any): Promise<any>;
130
- loadSubmissions(query?: any, options?: any): Promise<any>;
131
- }
132
-
133
- declare function extendRouter(Class: any, config: any, ClassRoutes: any): any;
134
-
135
- interface FormioAlert {
136
- type: string;
137
- message: string;
138
- component?: any;
139
- }
140
- declare class FormioAlerts {
141
- alerts: FormioAlert[];
142
- setAlert(alert: FormioAlert): void;
143
- addAlert(alert: FormioAlert): void;
144
- setAlerts(alerts: FormioAlert[]): void;
145
- }
146
-
147
- declare class CustomTagsService {
148
- tags: string[];
149
- addCustomTag(tag: string): void;
150
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomTagsService, never>;
151
- static ɵprov: i0.ɵɵInjectableDeclaration<CustomTagsService>;
152
- }
153
-
154
- declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {
155
- ngZone: NgZone;
156
- config: FormioAppConfig;
157
- customTags?: CustomTagsService;
158
- form?: FormioForm;
159
- submission?: any;
160
- src?: string;
161
- url?: string;
162
- service?: FormioService;
163
- options?: Form['options'] & AngularFormioOptions;
164
- noeval?: boolean;
165
- formioOptions?: any;
166
- renderOptions?: any;
167
- readOnly?: boolean;
168
- viewOnly?: boolean;
169
- hideLoading?: boolean;
170
- hideComponents?: string[];
171
- refresh?: EventEmitter<FormioRefreshValue>;
172
- error?: EventEmitter<any>;
173
- success?: EventEmitter<object>;
174
- submitDone?: EventEmitter<object>;
175
- language?: EventEmitter<string>;
176
- hooks?: any;
177
- renderer?: any;
178
- watchSubmissionErrors?: boolean;
179
- dataTableActions?: any;
180
- render: EventEmitter<object>;
181
- customEvent: EventEmitter<object>;
182
- fileUploadingStatus: EventEmitter<string>;
183
- submit: EventEmitter<object>;
184
- prevPage: EventEmitter<object>;
185
- nextPage: EventEmitter<object>;
186
- beforeSubmit: EventEmitter<object>;
187
- rowAdd: EventEmitter<any>;
188
- rowAdded: EventEmitter<any>;
189
- rowEdit: EventEmitter<any>;
190
- rowEdited: EventEmitter<any>;
191
- rowDelete: EventEmitter<any>;
192
- rowClick: EventEmitter<any>;
193
- rowSelectChange: EventEmitter<any>;
194
- page: EventEmitter<any>;
195
- changeItemsPerPage: EventEmitter<any>;
196
- change: EventEmitter<object>;
197
- invalid: EventEmitter<boolean>;
198
- errorChange: EventEmitter<any>;
199
- formLoad: EventEmitter<any>;
200
- submissionLoad: EventEmitter<any>;
201
- ready: EventEmitter<FormioBaseComponent>;
202
- formioElement?: ElementRef<any>;
203
- AlertsPosition: typeof AlertsPosition;
204
- formio: any;
205
- initialized: boolean;
206
- alerts: FormioAlerts;
207
- formioReady: Promise<any>;
208
- private formioReadyResolve;
209
- private submitting;
210
- private submissionSuccess;
211
- isLoading: boolean;
212
- noAlerts: boolean;
213
- label: string;
214
- constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
215
- getRenderer(): any;
216
- getRendererOptions(): any;
217
- createRenderer(): any;
218
- setFormUrl(url: any): void;
219
- setForm(form: FormioForm): any;
220
- attachFormEvents(): void;
221
- initialize(): void;
222
- ngOnInit(): void;
223
- setFormFromSrc(): void;
224
- ngOnDestroy(): void;
225
- onRefresh(refresh: FormioRefreshValue): void;
226
- ngOnChanges(changes: any): void;
227
- onPrevPage(data: any): void;
228
- onNextPage(data: any): void;
229
- onSubmit(submission: any, saved: boolean, noemit?: boolean): void;
230
- onError(err: any): void;
231
- focusOnComponet(key: any): void;
232
- submitExecute(submission: object, saved?: boolean): void;
233
- submitForm(submission: any, saved?: boolean): void;
234
- onChange(value: any, flags: any, isModified: boolean): void;
235
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioBaseComponent, [null, { optional: true; }, { optional: true; }]>;
236
- 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>;
237
- }
238
-
239
- declare class FormioComponent extends FormioBaseComponent implements OnInit, OnChanges {
240
- ngZone: NgZone;
241
- config: FormioAppConfig;
242
- customTags?: CustomTagsService;
243
- constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
244
- getRenderer(): any;
245
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioComponent, [null, { optional: true; }, { optional: true; }]>;
246
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioComponent, "formio", never, {}, {}, never, never, false, never>;
247
- }
248
-
249
- declare class FormBuilderComponent implements OnInit, OnChanges, OnDestroy {
250
- private ngZone;
251
- private config;
252
- private customTags?;
253
- ready: Promise<object>;
254
- readyResolve: any;
255
- formio: any;
256
- builder: FormBuilder;
257
- componentAdding: boolean;
258
- private refreshSubscription;
259
- form?: FormioForm;
260
- options?: FormBuilder['options'] & AngularFormioOptions;
261
- formbuilder?: any;
262
- noeval?: boolean;
263
- refresh?: Observable<void>;
264
- rebuild?: Observable<object>;
265
- change: EventEmitter<object>;
266
- builderElement?: ElementRef<any>;
267
- constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
268
- ngOnInit(): void;
269
- setInstance(instance: any): any;
270
- setDisplay(display: String, prevDisplay?: string): void;
271
- buildForm(form: any, prevForm?: any): any;
272
- rebuildForm(form: any, options?: object): Promise<any>;
273
- ngOnChanges(changes: any): void;
274
- ngOnDestroy(): void;
275
- static ɵfac: i0.ɵɵFactoryDeclaration<FormBuilderComponent, [null, { optional: true; }, { optional: true; }]>;
276
- 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>;
277
- }
278
-
279
- declare class FormioReportComponent extends FormioComponent implements OnInit, OnChanges {
280
- report?: FormioReport;
281
- projectEndpoint?: string;
282
- fetchDataError: EventEmitter<any>;
283
- formioElement?: ElementRef<any>;
284
- isReportLoading: boolean;
285
- setFormFromSrc(): void;
286
- setFormUrl(url: any): void;
287
- ngOnChanges(changes: any): void;
288
- getRendererOptions(): any;
289
- createRenderer(): any;
290
- attachFormEvents(): void;
291
- getRenderer(): any;
292
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioReportComponent, never>;
293
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioReportComponent, "formio-report", never, { "report": { "alias": "report"; "required": false; }; "projectEndpoint": { "alias": "projectEndpoint"; "required": false; }; }, { "fetchDataError": "fetchDataError"; }, never, never, false, never>;
294
- }
295
-
296
- declare class FormioLoaderComponent {
297
- isLoading: boolean;
298
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioLoaderComponent, never>;
299
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioLoaderComponent, "formio-loader", never, { "isLoading": { "alias": "isLoading"; "required": false; }; }, {}, never, never, false, never>;
300
- }
301
-
302
- declare class FormioAlertsComponent implements OnInit {
303
- alerts: FormioAlerts;
304
- focusComponent: EventEmitter<object>;
305
- ngOnInit(): void;
306
- getComponent(event: any, alert: any): void;
307
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAlertsComponent, never>;
308
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioAlertsComponent, "formio-alerts", never, { "alerts": { "alias": "alerts"; "required": false; }; }, { "focusComponent": "focusComponent"; }, never, never, false, never>;
309
- }
310
-
311
- declare class ParseHtmlContentPipe implements PipeTransform {
312
- transform(content: any): string;
313
- static ɵfac: i0.ɵɵFactoryDeclaration<ParseHtmlContentPipe, never>;
314
- static ɵpipe: i0.ɵɵPipeDeclaration<ParseHtmlContentPipe, "parseHtmlContent", false>;
315
- }
316
-
317
- declare class FormioModule {
318
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioModule, never>;
319
- 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]>;
320
- static ɵinj: i0.ɵɵInjectorDeclaration<FormioModule>;
321
- }
322
-
323
- interface FormioMetadata {
324
- timezone?: string;
325
- offset?: number;
326
- origin?: string;
327
- referrer?: string;
328
- browserName?: string;
329
- userAgent?: string;
330
- pathName?: string;
331
- onLine?: boolean;
332
- }
333
-
334
- interface FormioSubmission<T = any, stateType = FormioSubmissionState> {
335
- _id?: string;
336
- created?: string;
337
- data?: T;
338
- form?: string;
339
- metadata?: FormioMetadata;
340
- modified?: string;
341
- owner?: string;
342
- project?: string;
343
- state?: stateType;
344
- _fvid?: number;
345
- _vid?: number;
346
- }
347
- declare enum FormioSubmissionState {
348
- draft = "draft",
349
- submitted = "submitted"
350
- }
351
-
352
- export { CustomTagsService, FORMIO_CONFIG, FormBuilderComponent, FormioAlerts, FormioAlertsComponent, FormioAppConfig, FormioBaseComponent, FormioComponent, FormioError, FormioLoaderComponent, FormioModule, FormioPromiseService, FormioReportComponent, FormioService, extendRouter };
353
- export type { AccessSetting, AlertsOptions, AngularFormioOptions, ComponentInstance, ComponentOptions, ErrorsOptions, FormioAlert, FormioBeforeSubmit, FormioForm, FormioHookOptions, FormioRefreshValue, FormioReport, FormioSubmission, FormioSubmissionCallback };
354
- //# 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":";;;;;;;;;AACO;AAGP;AAEE;AACA;AACA;;;;AAImC;;;;;AAK7B;;;AASP;;AC1BD;AACE;AACA;AACA;AACA;AACD;;;;ACAA;;;;;;AAOA;;;;AAKA;;;;;;;;AASA;;;;;;;;;;AAWC;AACA;AACA;AACA;;AAED;;;;;AAMC;AACA;AACD;;;AAIA;;;AAIA;AAED;AAEW;AACA;;;AAGV;AAEW;AAIA;;;AAOX;;;;;;AAOA;;AClFD;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;AACA;;;AAGA;;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;;ACFY;;AAED;;AAMV;;;AAGD;;AChBY;;;;AAWZ;;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"}