@formio/reporting 2.0.1-rc.2 → 2.0.1-rc.3

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