@formio/reporting 1.0.3-rc.1 → 2.0.0-dev.36.07dba27

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 (59) hide show
  1. package/Changelog.md +81 -0
  2. package/README.md +5 -2
  3. package/build/reporting.css +6 -0
  4. package/build/reporting.css.map +1 -0
  5. package/build/reporting.js +1 -0
  6. package/build/reporting.vm.js +1 -0
  7. package/build/reporting.vm.js.LICENSE.txt +51 -0
  8. package/package.json +75 -1
  9. package/reportConfigTemplate.json +1 -0
  10. package/lib/Report.d.ts +0 -8
  11. package/lib/ReportForm.d.ts +0 -7
  12. package/lib/components/ReportingControls/ReportingControls.d.ts +0 -36
  13. package/lib/components/ReportingGrid/ReportingGrid.d.ts +0 -53
  14. package/lib/components/ReportingGrid/customFilters.d.ts +0 -12
  15. package/lib/components/index.d.ts +0 -7
  16. package/lib/index.d.ts +0 -23
  17. package/lib/licenseCheck/common.d.ts +0 -1
  18. package/lib/licenseCheck/index.d.ts +0 -2
  19. package/lib/licenseCheck/noLicenseCheck.d.ts +0 -1
  20. package/lib/providers/ReportingUrlFetchProvider.d.ts +0 -83
  21. package/lib/providers/index.d.ts +0 -5
  22. package/lib/services/ReportingStorageService.d.ts +0 -7
  23. package/lib/templates/bootstrap/index.d.ts +0 -6
  24. package/lib/templates/bootstrap/reportingGrid/index.d.ts +0 -4
  25. package/lib/templates/bootstrap3/index.d.ts +0 -6
  26. package/lib/templates/bootstrap3/reportingGrid/index.d.ts +0 -4
  27. package/lib/templates/index.d.ts +0 -14
  28. package/lib/templates/semantic/index.d.ts +0 -2
  29. package/lib/templates/semantic/reportingGrid/index.d.ts +0 -4
  30. package/lib/utils/AggregationOperators/AggregationOperator.d.ts +0 -23
  31. package/lib/utils/AggregationOperators/Avg.d.ts +0 -15
  32. package/lib/utils/AggregationOperators/Concat.d.ts +0 -15
  33. package/lib/utils/AggregationOperators/Count.d.ts +0 -17
  34. package/lib/utils/AggregationOperators/DateDiff.d.ts +0 -19
  35. package/lib/utils/AggregationOperators/DayOfMonth.d.ts +0 -18
  36. package/lib/utils/AggregationOperators/DayOfWeek.d.ts +0 -18
  37. package/lib/utils/AggregationOperators/DayOfYear.d.ts +0 -18
  38. package/lib/utils/AggregationOperators/Divide.d.ts +0 -15
  39. package/lib/utils/AggregationOperators/Max.d.ts +0 -15
  40. package/lib/utils/AggregationOperators/Min.d.ts +0 -15
  41. package/lib/utils/AggregationOperators/Month.d.ts +0 -18
  42. package/lib/utils/AggregationOperators/Multiply.d.ts +0 -15
  43. package/lib/utils/AggregationOperators/Percentage.d.ts +0 -15
  44. package/lib/utils/AggregationOperators/Size.d.ts +0 -23
  45. package/lib/utils/AggregationOperators/Subtract.d.ts +0 -16
  46. package/lib/utils/AggregationOperators/Sum.d.ts +0 -18
  47. package/lib/utils/AggregationOperators/Week.d.ts +0 -18
  48. package/lib/utils/AggregationOperators/Year.d.ts +0 -18
  49. package/lib/utils/AggregationOperators/index.d.ts +0 -21
  50. package/lib/utils/FilterOperators.d.ts +0 -2
  51. package/lib/utils/configurationFormUtils.d.ts +0 -51
  52. package/lib/utils/controlsUtils.d.ts +0 -252
  53. package/lib/utils/filtersQueries.d.ts +0 -21
  54. package/lib/utils/gridUtils.d.ts +0 -3
  55. package/lib/utils/index.d.ts +0 -295
  56. package/lib/utils/libraryName.d.ts +0 -2
  57. package/lib/utils/utils.d.ts +0 -16
  58. package/reporting.css +0 -3
  59. package/reporting.js +0 -1
@@ -1,3 +0,0 @@
1
- export declare const reportingGridConfig: {
2
- gridKey: string;
3
- };
@@ -1,295 +0,0 @@
1
- declare const ReportingUtils: {
2
- FilterOperators: any;
3
- filtersQueries: {
4
- equal: string;
5
- notEqual: string;
6
- startsWith: string;
7
- contain: string;
8
- notContain: string;
9
- endsWith: string;
10
- matches: string;
11
- greaterThen: string;
12
- greaterThenOrEqual: string;
13
- lessThen: string;
14
- lessThenOrEqual: string;
15
- exist: string;
16
- empty: string;
17
- notEmpty: string;
18
- notExist: string;
19
- sort: string;
20
- limit: string;
21
- skip: string;
22
- };
23
- getColumnsTab(): {
24
- label: string;
25
- key: string;
26
- components: ({
27
- label: string;
28
- hideLabel: boolean;
29
- description: string;
30
- widget: string;
31
- multiple: boolean;
32
- dataSrc: string;
33
- valueProperty: string;
34
- dataType: string;
35
- key: string;
36
- data: {
37
- custom({ instance, _ }: {
38
- instance: any;
39
- _: any;
40
- }): any;
41
- };
42
- customDefaultValue({ instance, _ }: {
43
- instance: any;
44
- _: any;
45
- }): any;
46
- type: string;
47
- input: boolean;
48
- action?: undefined;
49
- showValidations?: undefined;
50
- event?: undefined;
51
- } | {
52
- label: string;
53
- action: string;
54
- showValidations: boolean;
55
- key: string;
56
- type: string;
57
- event: string;
58
- input: boolean;
59
- hideLabel?: undefined;
60
- description?: undefined;
61
- widget?: undefined;
62
- multiple?: undefined;
63
- dataSrc?: undefined;
64
- valueProperty?: undefined;
65
- dataType?: undefined;
66
- data?: undefined;
67
- })[];
68
- };
69
- getSingleFilterOperators(): any;
70
- getSingleFilterOperatorValueComp(filter: any): {
71
- widget: string;
72
- data: {
73
- values: {
74
- label: any;
75
- value: string;
76
- }[];
77
- };
78
- dataType: string;
79
- type: string;
80
- input: boolean;
81
- };
82
- getFilterSetStyleLogic(): {
83
- name: string;
84
- trigger: {
85
- type: string;
86
- javascript: string;
87
- };
88
- actions: {
89
- name: string;
90
- type: string;
91
- customAction: string;
92
- }[];
93
- };
94
- getFilterColumns(filterComponents: any, filtersPerRow?: number): any[];
95
- getFiltersTab(filterComponents: any, filtersPerRow: any): {
96
- label: string;
97
- key: string;
98
- components: ({
99
- label: string;
100
- key: string;
101
- type: string;
102
- input: boolean;
103
- components: any[];
104
- columns?: undefined;
105
- } | {
106
- label: string;
107
- columns: ({
108
- components: {
109
- label: string;
110
- action: string;
111
- showValidations: boolean;
112
- disableOnInvalid: boolean;
113
- key: string;
114
- type: string;
115
- event: string;
116
- input: boolean;
117
- }[];
118
- width: number;
119
- offset: number;
120
- push: number;
121
- pull: number;
122
- size: string;
123
- currentWidth: number;
124
- } | {
125
- components: {
126
- label: string;
127
- action: string;
128
- showValidations: boolean;
129
- theme: string;
130
- key: string;
131
- type: string;
132
- event: string;
133
- input: boolean;
134
- }[];
135
- width: number;
136
- offset: number;
137
- push: number;
138
- pull: number;
139
- size: string;
140
- currentWidth: number;
141
- })[];
142
- key: string;
143
- type: string;
144
- input: boolean;
145
- components?: undefined;
146
- })[];
147
- };
148
- getActionsTab(actions: any): {
149
- label: string;
150
- key: string;
151
- components: ({
152
- label: string;
153
- widget: string;
154
- data: {
155
- values: any;
156
- };
157
- dataType: string;
158
- key: string;
159
- type: string;
160
- hideLabel: boolean;
161
- placeholder: string;
162
- description: string;
163
- input: boolean;
164
- action?: undefined;
165
- event?: undefined;
166
- disabled?: undefined;
167
- logic?: undefined;
168
- } | {
169
- label: string;
170
- action: string;
171
- key: string;
172
- type: string;
173
- event: string;
174
- input: boolean;
175
- disabled: boolean;
176
- logic: ({
177
- name: string;
178
- trigger: {
179
- type: string;
180
- javascript: string;
181
- event?: undefined;
182
- };
183
- actions: {
184
- name: string;
185
- type: string;
186
- property: {
187
- label: string;
188
- value: string;
189
- type: string;
190
- };
191
- state: boolean;
192
- }[];
193
- } | {
194
- name: string;
195
- trigger: {
196
- type: string;
197
- javascript: string;
198
- event?: undefined;
199
- };
200
- actions: {
201
- name: string;
202
- type: string;
203
- property: {
204
- label: string;
205
- value: string;
206
- type: string;
207
- };
208
- text: string;
209
- }[];
210
- } | {
211
- name: string;
212
- trigger: {
213
- type: string;
214
- event: string;
215
- javascript?: undefined;
216
- };
217
- actions: {
218
- name: string;
219
- type: string;
220
- customAction: string;
221
- }[];
222
- })[];
223
- widget?: undefined;
224
- data?: undefined;
225
- dataType?: undefined;
226
- hideLabel?: undefined;
227
- placeholder?: undefined;
228
- description?: undefined;
229
- })[];
230
- };
231
- getControlsTabsComponet({ title, collapsePanel, theme, tabs, }: {
232
- title?: string;
233
- collapsePanel?: boolean;
234
- theme?: string;
235
- tabs?: any[];
236
- }): {
237
- title: string;
238
- collapsible: boolean;
239
- key: string;
240
- type: string;
241
- label: string;
242
- collapsed: boolean;
243
- theme: string;
244
- components: {
245
- label: string;
246
- components: any[];
247
- key: string;
248
- type: string;
249
- input: boolean;
250
- }[];
251
- };
252
- convertToCSV({ submissions, components, fileName }: {
253
- submissions: any;
254
- components: any;
255
- fileName: any;
256
- }): void;
257
- reportingControlsConfig: {
258
- controlsKey: string;
259
- filtersCompKey: string;
260
- actionCompKey: string;
261
- displayedColumnsCompKey: string;
262
- events: {
263
- applyColumns: string;
264
- filter: string;
265
- clearFilters: string;
266
- performAction: string;
267
- };
268
- filterSetClass: string;
269
- };
270
- getPDFDownloadUrl: ({ projectId, submissions, form }: {
271
- projectId: any;
272
- submissions: any;
273
- form: any;
274
- }) => Promise<string>;
275
- reportingGridConfig: {
276
- gridKey: string;
277
- };
278
- convertReportingFormCompIntoGridComp(comp: any, columnSettings: any): any;
279
- convertReportingCalcSettingsIntoGridComp(columnSettings: any, reportingConfig?: any): any;
280
- getPropertyFromFormId(formId: any): string;
281
- getDataPath(setting: any): string;
282
- getJoinedFormDataPathInJoinedObj(formId: any): string;
283
- getAggrOperatorNumberField(settings: any, reportingConfig?: any): {
284
- type: string;
285
- };
286
- _: any;
287
- valueTypes: any;
288
- connectionByFullSubmissionObjectOptionValue: "submissionObject*";
289
- defaultColumns: {
290
- path: string;
291
- component: any;
292
- submissionRootPath: boolean;
293
- }[];
294
- };
295
- export default ReportingUtils;
@@ -1,2 +0,0 @@
1
- declare const _default: "reporting";
2
- export default _default;
@@ -1,16 +0,0 @@
1
- export declare const _: any;
2
- export declare const valueTypes: any;
3
- export declare function convertReportingFormCompIntoGridComp(comp: any, columnSettings: any): any;
4
- export declare function convertReportingCalcSettingsIntoGridComp(columnSettings: any, reportingConfig?: any): any;
5
- export declare function getPropertyFromFormId(formId: any): string;
6
- export declare function getDataPath(setting: any): string;
7
- export declare function getJoinedFormDataPathInJoinedObj(formId: any): string;
8
- export declare const connectionByFullSubmissionObjectOptionValue = "submissionObject*";
9
- export declare const defaultColumns: {
10
- path: string;
11
- component: any;
12
- submissionRootPath: boolean;
13
- }[];
14
- export declare function getAggrOperatorNumberField(settings: any, reportingConfig?: any): {
15
- type: string;
16
- };
package/reporting.css DELETED
@@ -1,3 +0,0 @@
1
- .filter-set input,
2
- .filter-set .selection {
3
- background-color: rgba(0, 0, 0, 0.05); }