@formio/reporting 2.0.0-rc.9 → 2.1.0-rc.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.
package/lib/Report.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  declare const Report_base: any;
2
2
  declare class Report extends Report_base {
3
+ static [x: string]: any;
4
+ constructor(elementOrForm: any, formOrOptions: any, options?: any);
3
5
  setForm(reportParam: any): any;
4
6
  create(): any;
5
- static create(): any;
7
+ static create(elementOrForm: any, formOrOptions: any, options?: {}): any;
6
8
  }
7
9
  declare const _default: typeof Report;
8
10
  export default _default;
@@ -1,5 +1,6 @@
1
1
  declare const ReportForm_base: any;
2
2
  export default class ReportForm extends ReportForm_base {
3
+ static [x: string]: any;
3
4
  [x: string]: any;
4
5
  init(): any;
5
6
  render(): any;
@@ -1,5 +1,6 @@
1
1
  declare const ReportingControls_base: any;
2
2
  export default class ReportingControls extends ReportingControls_base {
3
+ static [x: string]: any;
3
4
  static schema(...extend: any[]): any;
4
5
  static get builderInfo(): {};
5
6
  constructor(component: any, options: any, data: any);
@@ -9,21 +10,21 @@ export default class ReportingControls extends ReportingControls_base {
9
10
  clearFilters: string;
10
11
  performAction: string;
11
12
  };
12
- get singleFilterOperators(): any;
13
+ get singleFilterOperators(): string[];
13
14
  get reportingConfig(): any;
14
15
  get reportingForms(): any;
15
16
  get reportingId(): any;
16
17
  get formioGrid(): any;
17
18
  get controlsSaveKey(): string;
18
19
  attach(element: any): any;
19
- getFilterComponents(): any;
20
+ getFilterComponents(): any[];
20
21
  getFilterValueCompFromGridComp(gridComp: any, filter: any, ind: any): any;
21
22
  toggleFilterClass(filterInstance: any): void;
22
23
  getTabs(): any[];
23
24
  formatFilterValue(filterSettings: any, value: any): any;
24
25
  getActionComponents(applyActionFor: any): any;
25
26
  setGridFilters(filters?: {}): void;
26
- getGridFilters(): any;
27
+ getGridFilters(): {} | Exclude<this["formioGrid.options.fetchProvider.defaultFilters"], undefined>;
27
28
  downloadPDF(action: any): Promise<void>;
28
29
  exportCSV(action: any): void;
29
30
  onApplyColumns(): void;
@@ -1,6 +1,8 @@
1
+ import { Utils } from '@formio/js';
1
2
  import ReportingUrlFetchProvider from '../../providers/ReportingUrlFetchProvider';
2
3
  declare const ReportingGrid_base: any;
3
4
  export default class ReportingGrid extends ReportingGrid_base {
5
+ static [x: string]: any;
4
6
  static schema(...extend: any[]): any;
5
7
  static get builderInfo(): {};
6
8
  formioGrid: any;
@@ -12,13 +14,13 @@ export default class ReportingGrid extends ReportingGrid_base {
12
14
  get reportingConfig(): any;
13
15
  get reportingForms(): any;
14
16
  get reportingId(): any;
15
- get visibility(): any;
17
+ get visibility(): {};
16
18
  get fetchProvider(): ReportingUrlFetchProvider;
17
19
  get iteratableRows(): any[];
18
20
  addReportingColumnProperties(comp: any, columnSettings: any): void;
19
21
  getCalculatedColumnSchema(columnSettings: any): any;
20
- formatGridComponent(comp: any, columnSettings: any): any;
21
- isDefaultColumn(columnReportingSettings: any): any;
22
+ formatGridComponent(comp: any, columnSettings: any): Utils._.Omit<any, "logic" | "prefix" | "suffix" | "action" | "defaultValue" | "conditional" | "hideLabel" | "calculateValue" | "validate" | "hidden" | "customConditional">;
23
+ isDefaultColumn(columnReportingSettings: any): boolean;
22
24
  addColumnsFromReportingForms(allColumns: any, fieldsGroupedByForm: any): void;
23
25
  checkDeconstructions(fieldSettings: any): void;
24
26
  checkDeconstructionRequirement(formId: any, compPath: any): void;
@@ -41,7 +43,7 @@ export default class ReportingGrid extends ReportingGrid_base {
41
43
  resetValue: () => void;
42
44
  };
43
45
  customFilters(component: any): any;
44
- getGridColumns(): any;
46
+ getGridColumns(): any[];
45
47
  get preview(): any;
46
48
  initFormioGrid(FormioGrid: any): Promise<any>;
47
49
  transformFetchedData(responseData: any): any;
package/lib/index.d.ts CHANGED
@@ -1,5 +1,319 @@
1
+ import { Utils } from '@formio/js';
2
+ import Report from './Report';
3
+ import ReportingUtils from './utils';
1
4
  import * as ReportingConfigUtils from './utils/configurationFormUtils';
5
+ export { Report, ReportingUtils };
2
6
  declare const _default: {
7
+ Report: {
8
+ new (elementOrForm: any, formOrOptions: any, options?: any): {
9
+ [x: string]: any;
10
+ setForm(reportParam: any): any;
11
+ create(): any;
12
+ };
13
+ [x: string]: any;
14
+ create(elementOrForm: any, formOrOptions: any, options?: {}): any;
15
+ };
16
+ ReportingUtils: {
17
+ FilterOperators: {
18
+ [x: string]: typeof import("@formio/js/lib/cjs/utils/conditionOperators/IsEqualTo").default | typeof import("@formio/js/lib/cjs/utils/conditionOperators/DateGreaterThan").default;
19
+ };
20
+ filtersQueries: {
21
+ equal: string;
22
+ notEqual: string;
23
+ startsWith: string;
24
+ contain: string;
25
+ notContain: string;
26
+ endsWith: string;
27
+ matches: string;
28
+ greaterThen: string;
29
+ greaterThenOrEqual: string;
30
+ lessThen: string;
31
+ lessThenOrEqual: string;
32
+ exist: string;
33
+ empty: string;
34
+ notEmpty: string;
35
+ notExist: string;
36
+ sort: string;
37
+ limit: string;
38
+ skip: string;
39
+ };
40
+ getColumnsTab(): {
41
+ label: string;
42
+ key: string;
43
+ components: ({
44
+ label: string;
45
+ hideLabel: boolean;
46
+ description: string;
47
+ widget: string;
48
+ multiple: boolean;
49
+ dataSrc: string;
50
+ valueProperty: string;
51
+ dataType: string;
52
+ key: string;
53
+ data: {
54
+ custom({ instance, _ }: {
55
+ instance: any;
56
+ _: any;
57
+ }): any;
58
+ };
59
+ customDefaultValue({ instance, _ }: {
60
+ instance: any;
61
+ _: any;
62
+ }): any;
63
+ type: string;
64
+ input: boolean;
65
+ action?: undefined;
66
+ showValidations?: undefined;
67
+ event?: undefined;
68
+ } | {
69
+ label: string;
70
+ action: string;
71
+ showValidations: boolean;
72
+ key: string;
73
+ type: string;
74
+ event: string;
75
+ input: boolean;
76
+ hideLabel?: undefined;
77
+ description?: undefined;
78
+ widget?: undefined;
79
+ multiple?: undefined;
80
+ dataSrc?: undefined;
81
+ valueProperty?: undefined;
82
+ dataType?: undefined;
83
+ data?: undefined;
84
+ customDefaultValue?: undefined;
85
+ })[];
86
+ };
87
+ getSingleFilterOperators(): string[];
88
+ getSingleFilterOperatorValueComp(filter: any): {
89
+ widget: string;
90
+ data: {
91
+ values: {
92
+ label: string;
93
+ value: string;
94
+ }[];
95
+ };
96
+ dataType: string;
97
+ type: string;
98
+ input: boolean;
99
+ };
100
+ getFilterSetStyleLogic(): {
101
+ name: string;
102
+ trigger: {
103
+ type: string;
104
+ javascript: string;
105
+ };
106
+ actions: {
107
+ name: string;
108
+ type: string;
109
+ customAction: string;
110
+ }[];
111
+ };
112
+ getFilterColumns(filterComponents: any, filtersPerRow?: number): any[];
113
+ getFiltersTab(filterComponents: any, filtersPerRow: any): {
114
+ label: string;
115
+ key: string;
116
+ components: ({
117
+ label: string;
118
+ key: string;
119
+ type: string;
120
+ input: boolean;
121
+ components: any[];
122
+ columns?: undefined;
123
+ } | {
124
+ label: string;
125
+ columns: ({
126
+ components: {
127
+ label: string;
128
+ action: string;
129
+ showValidations: boolean;
130
+ disableOnInvalid: boolean;
131
+ key: string;
132
+ type: string;
133
+ event: string;
134
+ input: boolean;
135
+ }[];
136
+ width: number;
137
+ offset: number;
138
+ push: number;
139
+ pull: number;
140
+ size: string;
141
+ currentWidth: number;
142
+ } | {
143
+ components: {
144
+ label: string;
145
+ action: string;
146
+ showValidations: boolean;
147
+ theme: string;
148
+ key: string;
149
+ type: string;
150
+ event: string;
151
+ input: boolean;
152
+ }[];
153
+ width: number;
154
+ offset: number;
155
+ push: number;
156
+ pull: number;
157
+ size: string;
158
+ currentWidth: number;
159
+ })[];
160
+ key: string;
161
+ type: string;
162
+ input: boolean;
163
+ components?: undefined;
164
+ })[];
165
+ };
166
+ getActionsTab(actions: any): {
167
+ label: string;
168
+ key: string;
169
+ components: ({
170
+ label: string;
171
+ widget: string;
172
+ data: {
173
+ values: {
174
+ label: any;
175
+ value: string;
176
+ }[];
177
+ };
178
+ dataType: string;
179
+ key: string;
180
+ type: string;
181
+ hideLabel: boolean;
182
+ placeholder: string;
183
+ description: string;
184
+ input: boolean;
185
+ action?: undefined;
186
+ event?: undefined;
187
+ disabled?: undefined;
188
+ logic?: undefined;
189
+ } | {
190
+ label: string;
191
+ action: string;
192
+ key: string;
193
+ type: string;
194
+ event: string;
195
+ input: boolean;
196
+ disabled: boolean;
197
+ logic: ({
198
+ name: string;
199
+ trigger: {
200
+ type: string;
201
+ javascript: string;
202
+ event?: undefined;
203
+ };
204
+ actions: {
205
+ name: string;
206
+ type: string;
207
+ property: {
208
+ label: string;
209
+ value: string;
210
+ type: string;
211
+ };
212
+ state: boolean;
213
+ }[];
214
+ } | {
215
+ name: string;
216
+ trigger: {
217
+ type: string;
218
+ javascript: string;
219
+ event?: undefined;
220
+ };
221
+ actions: {
222
+ name: string;
223
+ type: string;
224
+ property: {
225
+ label: string;
226
+ value: string;
227
+ type: string;
228
+ };
229
+ text: string;
230
+ }[];
231
+ } | {
232
+ name: string;
233
+ trigger: {
234
+ type: string;
235
+ event: string;
236
+ javascript?: undefined;
237
+ };
238
+ actions: {
239
+ name: string;
240
+ type: string;
241
+ customAction: string;
242
+ }[];
243
+ })[];
244
+ widget?: undefined;
245
+ data?: undefined;
246
+ dataType?: undefined;
247
+ hideLabel?: undefined;
248
+ placeholder?: undefined;
249
+ description?: undefined;
250
+ })[];
251
+ };
252
+ getControlsTabsComponet({ title, collapsePanel, theme, tabs, }: {
253
+ title?: string;
254
+ collapsePanel?: boolean;
255
+ theme?: string;
256
+ tabs?: any[];
257
+ }): {
258
+ title: string;
259
+ collapsible: boolean;
260
+ key: string;
261
+ type: string;
262
+ label: string;
263
+ collapsed: boolean;
264
+ theme: string;
265
+ components: {
266
+ label: string;
267
+ components: any[];
268
+ key: string;
269
+ type: string;
270
+ input: boolean;
271
+ }[];
272
+ };
273
+ convertToCSV({ submissions, components, fileName }: {
274
+ submissions: any;
275
+ components: any;
276
+ fileName: any;
277
+ }): void;
278
+ reportingControlsConfig: {
279
+ controlsKey: string;
280
+ filtersCompKey: string;
281
+ actionCompKey: string;
282
+ displayedColumnsCompKey: string;
283
+ events: {
284
+ applyColumns: string;
285
+ filter: string;
286
+ clearFilters: string;
287
+ performAction: string;
288
+ };
289
+ filterSetClass: string;
290
+ };
291
+ getPDFDownloadUrl: ({ projectId, submissions, form }: {
292
+ projectId: any;
293
+ submissions: any;
294
+ form: any;
295
+ }) => Promise<string>;
296
+ reportingGridConfig: {
297
+ gridKey: string;
298
+ };
299
+ convertReportingFormCompIntoGridComp(comp: any, columnSettings: any): Utils._.Omit<any, "logic" | "prefix" | "suffix" | "action" | "defaultValue" | "conditional" | "hideLabel" | "calculateValue" | "validate" | "hidden" | "customConditional">;
300
+ getCalcOperatorFieldArgs(columnSettings: any): any;
301
+ convertReportingCalcSettingsIntoGridComp(columnSettings: any, reportingConfig?: any): any;
302
+ getPropertyFromFormId(formId: any): string;
303
+ getDataPath(setting: any): string;
304
+ getJoinedFormDataPathInJoinedObj(formId: any): string;
305
+ getAggrOperatorNumberField(settings: any, reportingConfig?: any): {
306
+ type: string;
307
+ };
308
+ _: Utils._.LoDashStatic;
309
+ valueTypes: any;
310
+ connectionByFullSubmissionObjectOptionValue: "submissionObject*";
311
+ defaultColumns: {
312
+ path: string;
313
+ component: any;
314
+ submissionRootPath: boolean;
315
+ }[];
316
+ };
3
317
  components: {
4
318
  reportingcontrols: typeof import("./components/ReportingControls/ReportingControls").default;
5
319
  reportinggrid: typeof import("./components/ReportingGrid/ReportingGrid").default;
@@ -15,7 +329,16 @@ declare const _default: {
15
329
  form: string;
16
330
  };
17
331
  };
18
- semantic: {};
332
+ bootstrap4: {
333
+ reportingGrid: {
334
+ form: string;
335
+ };
336
+ };
337
+ semantic: {
338
+ reportingGrid: {
339
+ form: string;
340
+ };
341
+ };
19
342
  };
20
343
  utils: typeof ReportingConfigUtils;
21
344
  library: string;
@@ -9,6 +9,15 @@ declare const _default: {
9
9
  form: string;
10
10
  };
11
11
  };
12
- semantic: {};
12
+ bootstrap4: {
13
+ reportingGrid: {
14
+ form: string;
15
+ };
16
+ };
17
+ semantic: {
18
+ reportingGrid: {
19
+ form: string;
20
+ };
21
+ };
13
22
  };
14
23
  export default _default;
@@ -9,7 +9,7 @@ export default class AggregationOperator implements IAggregationOperator {
9
9
  static getDisplayField(settings: any, reportingConfig?: any): {
10
10
  type: string;
11
11
  };
12
- static getFieldArgs(settings: any): any;
12
+ static getFieldArgs(settings: any): any[];
13
13
  static get acceptedValueTypes(): any[];
14
14
  static get operatorTitle(): string;
15
15
  static get aggregatedGroupOperator(): boolean;
@@ -4,13 +4,13 @@ export default class Concat extends AggregationOperator {
4
4
  static getDisplayField(settings: any): {
5
5
  type: string;
6
6
  };
7
- static getFieldArgs(settings: any): any;
7
+ static getFieldArgs(settings: any): any[];
8
8
  static get operatorTitle(): string;
9
9
  static get acceptedValueTypes(): any[];
10
10
  static get aggregatedGroupOperator(): boolean;
11
11
  static get aggregatedCalculationOperator(): boolean;
12
12
  static get calculationArgs(): string[];
13
13
  getRequest(settings: any): {
14
- $concat: any;
14
+ $concat: any[];
15
15
  };
16
16
  }
@@ -4,7 +4,7 @@ export default class DateDiff extends AggregationOperator {
4
4
  static getDisplayField(settings: any, reportingConfig?: any): {
5
5
  type: string;
6
6
  };
7
- static getFieldArgs(settings: any): any;
7
+ static getFieldArgs(settings: any): any[];
8
8
  static get operatorTitle(): string;
9
9
  static get acceptedValueTypes(): any[];
10
10
  static get aggregatedGroupOperator(): boolean;
@@ -4,7 +4,7 @@ export default class Divide extends AggregationOperator {
4
4
  static getDisplayField(settings: any, reportingConfig?: any): {
5
5
  type: string;
6
6
  };
7
- static getFieldArgs(settings: any): any;
7
+ static getFieldArgs(settings: any): any[];
8
8
  static get operatorTitle(): string;
9
9
  static get aggregatedGroupOperator(): boolean;
10
10
  static get acceptedValueTypes(): any[];
@@ -10,6 +10,6 @@ export default class Multiply extends AggregationOperator {
10
10
  static get aggregatedCalculationOperator(): boolean;
11
11
  static get calculationArgs(): string[];
12
12
  getRequest(settings: any): {
13
- $multiply: any;
13
+ $multiply: string[];
14
14
  };
15
15
  }
@@ -8,7 +8,7 @@ export default class Subtract extends AggregationOperator {
8
8
  static get aggregatedGroupOperator(): boolean;
9
9
  static get acceptedValueTypes(): any[];
10
10
  static get aggregatedCalculationOperator(): boolean;
11
- static getFieldArgs(settings: any): any;
11
+ static getFieldArgs(settings: any): any[];
12
12
  static get calculationArgs(): string[];
13
13
  getRequest(settings: any): {
14
14
  $subtract: string[];
@@ -10,7 +10,7 @@ export default class Sum extends AggregationOperator {
10
10
  static get acceptedValueTypes(): any[];
11
11
  static get calculationArgs(): string[];
12
12
  getRequest(settings: any): {
13
- $sum: any;
13
+ $sum: string[];
14
14
  };
15
15
  getGroupRequest(settings: any): {
16
16
  $sum: string;
@@ -15,7 +15,8 @@ import DayOfMonth from './DayOfMonth';
15
15
  import DayOfWeek from './DayOfWeek';
16
16
  import DayOfYear from './DayOfYear';
17
17
  import Subtract from './Subtract';
18
+ import Percentage from './Percentage';
18
19
  declare const AggregationOperators: {
19
- [x: string]: typeof Year | typeof DateDiff | typeof Divide | typeof Multiply | typeof Sum | typeof Count | typeof Max | typeof Min | typeof Avg | typeof Concat | typeof Size | typeof Month | typeof Week | typeof DayOfMonth | typeof DayOfWeek | typeof DayOfYear | typeof Subtract;
20
+ [x: string]: typeof Year | typeof DateDiff | typeof Divide | typeof Multiply | typeof Sum | typeof Count | typeof Max | typeof Min | typeof Avg | typeof Concat | typeof Size | typeof Month | typeof Week | typeof DayOfMonth | typeof DayOfWeek | typeof DayOfYear | typeof Subtract | typeof Percentage;
20
21
  };
21
22
  export default AggregationOperators;
@@ -1,18 +1,36 @@
1
- export declare function getFilterOperatorOptions(operators?: any[]): any;
2
- export declare function getFilterOperatorsOptionsForCompType(compType: any): any;
3
- export declare function getControlsFilterOperators(columnSettings: any, reportingForms?: any[], calculatedColumnsSettings?: any[]): any;
4
- export declare function getUnselectedColumnsOptions(columnsOptions: any, selectedColumns: any): any;
1
+ export declare function getFilterOperatorOptions(operators?: any[]): {
2
+ label: string;
3
+ value: string;
4
+ }[];
5
+ export declare function getFilterOperatorsOptionsForCompType(compType: any): {
6
+ label: string;
7
+ value: string;
8
+ }[];
9
+ export declare function getControlsFilterOperators(columnSettings: any, reportingForms?: any[], calculatedColumnsSettings?: any[]): {
10
+ label: string;
11
+ value: string;
12
+ }[];
13
+ export declare function getUnselectedColumnsOptions(columnsOptions: any, selectedColumns: any): any[];
5
14
  export declare function getReportingFormAsOption(form: any): {
6
15
  label: any;
7
16
  value: any;
8
17
  };
9
- export declare function getConnectionBaseFormOptions(reportingForms: any[], connections: any[], compRowIndex: any): any;
10
- export declare function getConnectionJoiningFormOptions(reportingForms: any[], connections: any[], compRowIndex: any): any;
18
+ export declare function getConnectionBaseFormOptions(reportingForms: any[], connections: any[], compRowIndex: any): {
19
+ label: any;
20
+ value: any;
21
+ }[];
22
+ export declare function getConnectionJoiningFormOptions(reportingForms: any[], connections: any[], compRowIndex: any): {
23
+ label: any;
24
+ value: any;
25
+ }[];
11
26
  export declare function getConnectionFormComponentsAsOptions(formId: any, reportingForms?: any[]): {
12
27
  label: string;
13
28
  value: string;
14
29
  }[];
15
- export declare function getAggregationOperatorsOptions(groupOperators?: boolean): any;
30
+ export declare function getAggregationOperatorsOptions(groupOperators?: boolean): {
31
+ value: string;
32
+ label: string;
33
+ }[];
16
34
  export declare function getReportingFormComponentAsOption(form: any, comp: any, compPath: any): {
17
35
  value: {
18
36
  path: any;
@@ -32,18 +50,21 @@ export declare function addCalculatedColumnsOptions({ calculatedColumns, options
32
50
  options: any;
33
51
  operator?: any;
34
52
  }): void;
35
- export declare function getCalculationArgsOptions(reportingForms: any[], calculatedColumns: any[], operator: any, calculatedValueIndex: any): any;
53
+ export declare function getCalculationArgsOptions(reportingForms: any[], calculatedColumns: any[], operator: any, calculatedValueIndex: any): any[];
36
54
  export declare function getReportingFormsComponentsAndExtraComponentsAsOptions({ reportingForms, calculatedColumns, selectedItems, operator, }: {
37
55
  reportingForms?: any[];
38
56
  calculatedColumns?: any[];
39
57
  selectedItems?: any[];
40
58
  operator?: any;
41
- }): any;
59
+ }): any[];
42
60
  export declare function getColumnsListOptions(reportingForms: any[], groupsSettings: any, calculatedColumns: any): any[];
43
- export declare function getAvailableColumnsAsOptions(availableColumns: any, columnsList: any): any;
61
+ export declare function getAvailableColumnsAsOptions(availableColumns: any, columnsList: any): any[];
44
62
  export declare function getCustomScriptAvailableVarialbles(): string;
45
- export declare function getDateDiffUnitOptions(operator: any): any;
46
- export declare function showAggregationOperatorArg(compKey: any, operator: any): any;
63
+ export declare function getDateDiffUnitOptions(operator: any): {
64
+ label: any;
65
+ value: any;
66
+ }[];
67
+ export declare function showAggregationOperatorArg(compKey: any, operator: any): boolean;
47
68
  export declare function showGroupOperatorArg(operator: any): boolean;
48
69
  export declare function getReportTypeInfo(data: any, instance: any): {
49
70
  grouping: boolean;
@@ -55,9 +55,10 @@ export declare function getColumnsTab(): {
55
55
  valueProperty?: undefined;
56
56
  dataType?: undefined;
57
57
  data?: undefined;
58
+ customDefaultValue?: undefined;
58
59
  })[];
59
60
  };
60
- export declare function getSingleFilterOperators(): any;
61
+ export declare function getSingleFilterOperators(): string[];
61
62
  export declare function getSingleFilterOperatorValueComp(filter: any): {
62
63
  widget: string;
63
64
  data: {
@@ -143,7 +144,10 @@ export declare function getActionsTab(actions: any): {
143
144
  label: string;
144
145
  widget: string;
145
146
  data: {
146
- values: any;
147
+ values: {
148
+ label: any;
149
+ value: string;
150
+ }[];
147
151
  };
148
152
  dataType: string;
149
153
  key: string;
@@ -66,9 +66,10 @@ declare const ReportingUtils: {
66
66
  valueProperty?: undefined;
67
67
  dataType?: undefined;
68
68
  data?: undefined;
69
+ customDefaultValue?: undefined;
69
70
  })[];
70
71
  };
71
- getSingleFilterOperators(): any;
72
+ getSingleFilterOperators(): string[];
72
73
  getSingleFilterOperatorValueComp(filter: any): {
73
74
  widget: string;
74
75
  data: {
@@ -154,7 +155,10 @@ declare const ReportingUtils: {
154
155
  label: string;
155
156
  widget: string;
156
157
  data: {
157
- values: any;
158
+ values: {
159
+ label: any;
160
+ value: string;
161
+ }[];
158
162
  };
159
163
  dataType: string;
160
164
  key: string;
@@ -277,7 +281,7 @@ declare const ReportingUtils: {
277
281
  reportingGridConfig: {
278
282
  gridKey: string;
279
283
  };
280
- convertReportingFormCompIntoGridComp(comp: any, columnSettings: any): any;
284
+ convertReportingFormCompIntoGridComp(comp: any, columnSettings: any): import("lodash").Omit<any, "logic" | "prefix" | "suffix" | "action" | "defaultValue" | "conditional" | "hideLabel" | "calculateValue" | "validate" | "hidden" | "customConditional">;
281
285
  getCalcOperatorFieldArgs(columnSettings: any): any;
282
286
  convertReportingCalcSettingsIntoGridComp(columnSettings: any, reportingConfig?: any): any;
283
287
  getPropertyFromFormId(formId: any): string;
@@ -286,7 +290,7 @@ declare const ReportingUtils: {
286
290
  getAggrOperatorNumberField(settings: any, reportingConfig?: any): {
287
291
  type: string;
288
292
  };
289
- _: any;
293
+ _: import("lodash").LoDashStatic;
290
294
  valueTypes: any;
291
295
  connectionByFullSubmissionObjectOptionValue: "submissionObject*";
292
296
  defaultColumns: {
@@ -1,6 +1,7 @@
1
- export declare const _: any;
1
+ import { Utils } from '@formio/js';
2
+ export declare const _: Utils._.LoDashStatic;
2
3
  export declare const valueTypes: any;
3
- export declare function convertReportingFormCompIntoGridComp(comp: any, columnSettings: any): any;
4
+ export declare function convertReportingFormCompIntoGridComp(comp: any, columnSettings: any): Utils._.Omit<any, "logic" | "prefix" | "suffix" | "action" | "defaultValue" | "conditional" | "hideLabel" | "calculateValue" | "validate" | "hidden" | "customConditional">;
4
5
  export declare function getCalcOperatorFieldArgs(columnSettings: any): any;
5
6
  export declare function convertReportingCalcSettingsIntoGridComp(columnSettings: any, reportingConfig?: any): any;
6
7
  export declare function getPropertyFromFormId(formId: any): string;