@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.
- package/Changelog.md +81 -0
- package/README.md +5 -2
- package/build/reporting.css +6 -0
- package/build/reporting.css.map +1 -0
- package/build/reporting.js +1 -0
- package/build/reporting.vm.js +1 -0
- package/build/reporting.vm.js.LICENSE.txt +51 -0
- package/package.json +75 -1
- package/reportConfigTemplate.json +1 -0
- package/lib/Report.d.ts +0 -8
- package/lib/ReportForm.d.ts +0 -7
- package/lib/components/ReportingControls/ReportingControls.d.ts +0 -36
- package/lib/components/ReportingGrid/ReportingGrid.d.ts +0 -53
- package/lib/components/ReportingGrid/customFilters.d.ts +0 -12
- package/lib/components/index.d.ts +0 -7
- package/lib/index.d.ts +0 -23
- package/lib/licenseCheck/common.d.ts +0 -1
- package/lib/licenseCheck/index.d.ts +0 -2
- package/lib/licenseCheck/noLicenseCheck.d.ts +0 -1
- package/lib/providers/ReportingUrlFetchProvider.d.ts +0 -83
- package/lib/providers/index.d.ts +0 -5
- package/lib/services/ReportingStorageService.d.ts +0 -7
- package/lib/templates/bootstrap/index.d.ts +0 -6
- package/lib/templates/bootstrap/reportingGrid/index.d.ts +0 -4
- package/lib/templates/bootstrap3/index.d.ts +0 -6
- package/lib/templates/bootstrap3/reportingGrid/index.d.ts +0 -4
- package/lib/templates/index.d.ts +0 -14
- package/lib/templates/semantic/index.d.ts +0 -2
- package/lib/templates/semantic/reportingGrid/index.d.ts +0 -4
- package/lib/utils/AggregationOperators/AggregationOperator.d.ts +0 -23
- package/lib/utils/AggregationOperators/Avg.d.ts +0 -15
- package/lib/utils/AggregationOperators/Concat.d.ts +0 -15
- package/lib/utils/AggregationOperators/Count.d.ts +0 -17
- package/lib/utils/AggregationOperators/DateDiff.d.ts +0 -19
- package/lib/utils/AggregationOperators/DayOfMonth.d.ts +0 -18
- package/lib/utils/AggregationOperators/DayOfWeek.d.ts +0 -18
- package/lib/utils/AggregationOperators/DayOfYear.d.ts +0 -18
- package/lib/utils/AggregationOperators/Divide.d.ts +0 -15
- package/lib/utils/AggregationOperators/Max.d.ts +0 -15
- package/lib/utils/AggregationOperators/Min.d.ts +0 -15
- package/lib/utils/AggregationOperators/Month.d.ts +0 -18
- package/lib/utils/AggregationOperators/Multiply.d.ts +0 -15
- package/lib/utils/AggregationOperators/Percentage.d.ts +0 -15
- package/lib/utils/AggregationOperators/Size.d.ts +0 -23
- package/lib/utils/AggregationOperators/Subtract.d.ts +0 -16
- package/lib/utils/AggregationOperators/Sum.d.ts +0 -18
- package/lib/utils/AggregationOperators/Week.d.ts +0 -18
- package/lib/utils/AggregationOperators/Year.d.ts +0 -18
- package/lib/utils/AggregationOperators/index.d.ts +0 -21
- package/lib/utils/FilterOperators.d.ts +0 -2
- package/lib/utils/configurationFormUtils.d.ts +0 -51
- package/lib/utils/controlsUtils.d.ts +0 -252
- package/lib/utils/filtersQueries.d.ts +0 -21
- package/lib/utils/gridUtils.d.ts +0 -3
- package/lib/utils/index.d.ts +0 -295
- package/lib/utils/libraryName.d.ts +0 -2
- package/lib/utils/utils.d.ts +0 -16
- package/reporting.css +0 -3
- package/reporting.js +0 -1
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Avg extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static get operatorTitle(): string;
|
|
5
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
6
|
-
type: string;
|
|
7
|
-
};
|
|
8
|
-
static get acceptedValueTypes(): any[];
|
|
9
|
-
static get aggregatedGroupOperator(): boolean;
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getGroupRequest(settings: any): {
|
|
13
|
-
$avg: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Concat extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get acceptedValueTypes(): any[];
|
|
9
|
-
static get aggregatedGroupOperator(): boolean;
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$concat: any;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Count extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
10
|
-
static get acceptedValueTypes(): any[];
|
|
11
|
-
getGroupRequest(settings: any, groupIds: any): {
|
|
12
|
-
$push: any;
|
|
13
|
-
};
|
|
14
|
-
getGroupProjectRequest(settings: any): {
|
|
15
|
-
$size: string;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class DateDiff extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get acceptedValueTypes(): any[];
|
|
9
|
-
static get aggregatedGroupOperator(): boolean;
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get unitOptions(): string[];
|
|
12
|
-
static get calculationArgs(): string[];
|
|
13
|
-
static get transformResponse(): boolean;
|
|
14
|
-
transformServerValue(response: any, settings: any): any;
|
|
15
|
-
getRequest(settings: any): {
|
|
16
|
-
startDate: string;
|
|
17
|
-
endDate: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class DayOfMonth extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get acceptedValueTypes(): any[];
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$dayOfMonth: {
|
|
14
|
-
date: string;
|
|
15
|
-
timezone: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class DayOfWeek extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get acceptedValueTypes(): any[];
|
|
9
|
-
static get aggregatedGroupOperator(): boolean;
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$dayOfWeek: {
|
|
14
|
-
date: string;
|
|
15
|
-
timezone: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class DayOfYear extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
10
|
-
static get acceptedValueTypes(): any[];
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$dayOfYear: {
|
|
14
|
-
date: string;
|
|
15
|
-
timezone: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Divide extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get acceptedValueTypes(): any[];
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$divide: string[];
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Max extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
10
|
-
static get calculationArgs(): string[];
|
|
11
|
-
static get acceptedValueTypes(): any[];
|
|
12
|
-
getGroupRequest(settings: any): {
|
|
13
|
-
$max: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Min extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get acceptedValueTypes(): any[];
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getGroupRequest(settings: any): {
|
|
13
|
-
$min: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Month extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get acceptedValueTypes(): any[];
|
|
9
|
-
static get aggregatedGroupOperator(): boolean;
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$month: {
|
|
14
|
-
date: string;
|
|
15
|
-
timezone: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Multiply extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get acceptedValueTypes(): any[];
|
|
9
|
-
static get aggregatedGroupOperator(): boolean;
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$multiply: any;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Percentage extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get acceptedValueTypes(): any[];
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$multiply: (string | number)[];
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Size extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get acceptedValueTypes(): any[];
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$cond: {
|
|
14
|
-
if: {
|
|
15
|
-
$isArray: string;
|
|
16
|
-
};
|
|
17
|
-
then: {
|
|
18
|
-
$size: string;
|
|
19
|
-
};
|
|
20
|
-
else: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Subtract extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get acceptedValueTypes(): any[];
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static getFieldArgs(settings: any): any;
|
|
12
|
-
static get calculationArgs(): string[];
|
|
13
|
-
getRequest(settings: any): {
|
|
14
|
-
$subtract: string[];
|
|
15
|
-
};
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Sum extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
10
|
-
static get acceptedValueTypes(): any[];
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$sum: any;
|
|
14
|
-
};
|
|
15
|
-
getGroupRequest(settings: any): {
|
|
16
|
-
$sum: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Week extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get acceptedValueTypes(): any[];
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$week: {
|
|
14
|
-
date: string;
|
|
15
|
-
timezone: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AggregationOperator from './AggregationOperator';
|
|
2
|
-
export default class Year extends AggregationOperator {
|
|
3
|
-
static get operatorKey(): string;
|
|
4
|
-
static getDisplayField(settings: any, reportingConfig?: any): {
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
static get operatorTitle(): string;
|
|
8
|
-
static get aggregatedGroupOperator(): boolean;
|
|
9
|
-
static get acceptedValueTypes(): any[];
|
|
10
|
-
static get aggregatedCalculationOperator(): boolean;
|
|
11
|
-
static get calculationArgs(): string[];
|
|
12
|
-
getRequest(settings: any): {
|
|
13
|
-
$year: {
|
|
14
|
-
date: string;
|
|
15
|
-
timezone: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import Year from './Year';
|
|
2
|
-
import DateDiff from './DateDiff';
|
|
3
|
-
import Divide from './Divide';
|
|
4
|
-
import Multiply from './Multiply';
|
|
5
|
-
import Sum from './Sum';
|
|
6
|
-
import Count from './Count';
|
|
7
|
-
import Max from './Max';
|
|
8
|
-
import Min from './Min';
|
|
9
|
-
import Avg from './Avg';
|
|
10
|
-
import Concat from './Concat';
|
|
11
|
-
import Size from './Size';
|
|
12
|
-
import Month from './Month';
|
|
13
|
-
import Week from './Week';
|
|
14
|
-
import DayOfMonth from './DayOfMonth';
|
|
15
|
-
import DayOfWeek from './DayOfWeek';
|
|
16
|
-
import DayOfYear from './DayOfYear';
|
|
17
|
-
import Subtract from './Subtract';
|
|
18
|
-
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
|
-
};
|
|
21
|
-
export default AggregationOperators;
|
|
@@ -1,51 +0,0 @@
|
|
|
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;
|
|
5
|
-
export declare function getReportingFormAsOption(form: any): {
|
|
6
|
-
label: any;
|
|
7
|
-
value: any;
|
|
8
|
-
};
|
|
9
|
-
export declare function getConnectionBaseFormOptions(reportingForms: any[], connections: any[], compRowIndex: any): any;
|
|
10
|
-
export declare function getConnectionJoiningFormOptions(reportingForms: any[], connections: any[], compRowIndex: any): any;
|
|
11
|
-
export declare function getConnectionFormComponentsAsOptions(formId: any, reportingForms?: any[]): {
|
|
12
|
-
label: string;
|
|
13
|
-
value: string;
|
|
14
|
-
}[];
|
|
15
|
-
export declare function getAggregationOperatorsOptions(groupOperators?: boolean): any;
|
|
16
|
-
export declare function getReportingFormComponentAsOption(form: any, comp: any, compPath: any): {
|
|
17
|
-
value: {
|
|
18
|
-
path: any;
|
|
19
|
-
formId: any;
|
|
20
|
-
};
|
|
21
|
-
label: string;
|
|
22
|
-
};
|
|
23
|
-
export declare function getReportingFormsComponentsAsOptions(reportingForms: any, operator?: any): any[];
|
|
24
|
-
export declare function getCalculatedColumnAsOption(column: any): {
|
|
25
|
-
value: {
|
|
26
|
-
path: any;
|
|
27
|
-
};
|
|
28
|
-
label: string;
|
|
29
|
-
};
|
|
30
|
-
export declare function addCalculatedColumnsOptions({ calculatedColumns, options, operator, }: {
|
|
31
|
-
calculatedColumns?: any[];
|
|
32
|
-
options: any;
|
|
33
|
-
operator?: any;
|
|
34
|
-
}): void;
|
|
35
|
-
export declare function getCalculationArgsOptions(reportingForms: any, calculatedColumns: any[], operator: any, calculatedValueIndex: any): any;
|
|
36
|
-
export declare function getReportingFormsComponentsAndExtraComponentsAsOptions({ reportingForms, calculatedColumns, selectedItems, operator, }: {
|
|
37
|
-
reportingForms?: any[];
|
|
38
|
-
calculatedColumns?: any[];
|
|
39
|
-
selectedItems?: any[];
|
|
40
|
-
operator?: any;
|
|
41
|
-
}): any;
|
|
42
|
-
export declare function getColumnsListOptions(reportingForms: any[], groupsSettings: any, calculatedColumns: any): any[];
|
|
43
|
-
export declare function getAvailableColumnsAsOptions(availableColumns: any, columnsList: any): any;
|
|
44
|
-
export declare function getCustomScriptAvailableVarialbles(): string;
|
|
45
|
-
export declare function getDateDiffUnitOptions(operator: any): any;
|
|
46
|
-
export declare function showAggregationOperatorArg(compKey: any, operator: any): any;
|
|
47
|
-
export declare function showGroupOperatorArg(operator: any): boolean;
|
|
48
|
-
export declare function getReportTypeInfo(data: any, instance: any): {
|
|
49
|
-
grouping: boolean;
|
|
50
|
-
typeChanged: boolean;
|
|
51
|
-
};
|
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
export declare const reportingControlsConfig: {
|
|
2
|
-
controlsKey: string;
|
|
3
|
-
filtersCompKey: string;
|
|
4
|
-
actionCompKey: string;
|
|
5
|
-
displayedColumnsCompKey: string;
|
|
6
|
-
events: {
|
|
7
|
-
applyColumns: string;
|
|
8
|
-
filter: string;
|
|
9
|
-
clearFilters: string;
|
|
10
|
-
performAction: string;
|
|
11
|
-
};
|
|
12
|
-
filterSetClass: string;
|
|
13
|
-
};
|
|
14
|
-
export declare function getColumnsTab(): {
|
|
15
|
-
label: string;
|
|
16
|
-
key: string;
|
|
17
|
-
components: ({
|
|
18
|
-
label: string;
|
|
19
|
-
hideLabel: boolean;
|
|
20
|
-
description: string;
|
|
21
|
-
widget: string;
|
|
22
|
-
multiple: boolean;
|
|
23
|
-
dataSrc: string;
|
|
24
|
-
valueProperty: string;
|
|
25
|
-
dataType: string;
|
|
26
|
-
key: string;
|
|
27
|
-
data: {
|
|
28
|
-
custom({ instance, _ }: {
|
|
29
|
-
instance: any;
|
|
30
|
-
_: any;
|
|
31
|
-
}): any;
|
|
32
|
-
};
|
|
33
|
-
customDefaultValue({ instance, _ }: {
|
|
34
|
-
instance: any;
|
|
35
|
-
_: any;
|
|
36
|
-
}): any;
|
|
37
|
-
type: string;
|
|
38
|
-
input: boolean;
|
|
39
|
-
action?: undefined;
|
|
40
|
-
showValidations?: undefined;
|
|
41
|
-
event?: undefined;
|
|
42
|
-
} | {
|
|
43
|
-
label: string;
|
|
44
|
-
action: string;
|
|
45
|
-
showValidations: boolean;
|
|
46
|
-
key: string;
|
|
47
|
-
type: string;
|
|
48
|
-
event: string;
|
|
49
|
-
input: boolean;
|
|
50
|
-
hideLabel?: undefined;
|
|
51
|
-
description?: undefined;
|
|
52
|
-
widget?: undefined;
|
|
53
|
-
multiple?: undefined;
|
|
54
|
-
dataSrc?: undefined;
|
|
55
|
-
valueProperty?: undefined;
|
|
56
|
-
dataType?: undefined;
|
|
57
|
-
data?: undefined;
|
|
58
|
-
})[];
|
|
59
|
-
};
|
|
60
|
-
export declare function getSingleFilterOperators(): any;
|
|
61
|
-
export declare function getSingleFilterOperatorValueComp(filter: any): {
|
|
62
|
-
widget: string;
|
|
63
|
-
data: {
|
|
64
|
-
values: {
|
|
65
|
-
label: any;
|
|
66
|
-
value: string;
|
|
67
|
-
}[];
|
|
68
|
-
};
|
|
69
|
-
dataType: string;
|
|
70
|
-
type: string;
|
|
71
|
-
input: boolean;
|
|
72
|
-
};
|
|
73
|
-
export declare function getFilterSetStyleLogic(): {
|
|
74
|
-
name: string;
|
|
75
|
-
trigger: {
|
|
76
|
-
type: string;
|
|
77
|
-
javascript: string;
|
|
78
|
-
};
|
|
79
|
-
actions: {
|
|
80
|
-
name: string;
|
|
81
|
-
type: string;
|
|
82
|
-
customAction: string;
|
|
83
|
-
}[];
|
|
84
|
-
};
|
|
85
|
-
export declare function getFilterColumns(filterComponents: any, filtersPerRow?: number): any[];
|
|
86
|
-
export declare function getFiltersTab(filterComponents: any, filtersPerRow: any): {
|
|
87
|
-
label: string;
|
|
88
|
-
key: string;
|
|
89
|
-
components: ({
|
|
90
|
-
label: string;
|
|
91
|
-
key: string;
|
|
92
|
-
type: string;
|
|
93
|
-
input: boolean;
|
|
94
|
-
components: any[];
|
|
95
|
-
columns?: undefined;
|
|
96
|
-
} | {
|
|
97
|
-
label: string;
|
|
98
|
-
columns: ({
|
|
99
|
-
components: {
|
|
100
|
-
label: string;
|
|
101
|
-
action: string;
|
|
102
|
-
showValidations: boolean;
|
|
103
|
-
disableOnInvalid: boolean;
|
|
104
|
-
key: string;
|
|
105
|
-
type: string;
|
|
106
|
-
event: string;
|
|
107
|
-
input: boolean;
|
|
108
|
-
}[];
|
|
109
|
-
width: number;
|
|
110
|
-
offset: number;
|
|
111
|
-
push: number;
|
|
112
|
-
pull: number;
|
|
113
|
-
size: string;
|
|
114
|
-
currentWidth: number;
|
|
115
|
-
} | {
|
|
116
|
-
components: {
|
|
117
|
-
label: string;
|
|
118
|
-
action: string;
|
|
119
|
-
showValidations: boolean;
|
|
120
|
-
theme: string;
|
|
121
|
-
key: string;
|
|
122
|
-
type: string;
|
|
123
|
-
event: string;
|
|
124
|
-
input: boolean;
|
|
125
|
-
}[];
|
|
126
|
-
width: number;
|
|
127
|
-
offset: number;
|
|
128
|
-
push: number;
|
|
129
|
-
pull: number;
|
|
130
|
-
size: string;
|
|
131
|
-
currentWidth: number;
|
|
132
|
-
})[];
|
|
133
|
-
key: string;
|
|
134
|
-
type: string;
|
|
135
|
-
input: boolean;
|
|
136
|
-
components?: undefined;
|
|
137
|
-
})[];
|
|
138
|
-
};
|
|
139
|
-
export declare function getActionsTab(actions: any): {
|
|
140
|
-
label: string;
|
|
141
|
-
key: string;
|
|
142
|
-
components: ({
|
|
143
|
-
label: string;
|
|
144
|
-
widget: string;
|
|
145
|
-
data: {
|
|
146
|
-
values: any;
|
|
147
|
-
};
|
|
148
|
-
dataType: string;
|
|
149
|
-
key: string;
|
|
150
|
-
type: string;
|
|
151
|
-
hideLabel: boolean;
|
|
152
|
-
placeholder: string;
|
|
153
|
-
description: string;
|
|
154
|
-
input: boolean;
|
|
155
|
-
action?: undefined;
|
|
156
|
-
event?: undefined;
|
|
157
|
-
disabled?: undefined;
|
|
158
|
-
logic?: undefined;
|
|
159
|
-
} | {
|
|
160
|
-
label: string;
|
|
161
|
-
action: string;
|
|
162
|
-
key: string;
|
|
163
|
-
type: string;
|
|
164
|
-
event: string;
|
|
165
|
-
input: boolean;
|
|
166
|
-
disabled: boolean;
|
|
167
|
-
logic: ({
|
|
168
|
-
name: string;
|
|
169
|
-
trigger: {
|
|
170
|
-
type: string;
|
|
171
|
-
javascript: string;
|
|
172
|
-
event?: undefined;
|
|
173
|
-
};
|
|
174
|
-
actions: {
|
|
175
|
-
name: string;
|
|
176
|
-
type: string;
|
|
177
|
-
property: {
|
|
178
|
-
label: string;
|
|
179
|
-
value: string;
|
|
180
|
-
type: string;
|
|
181
|
-
};
|
|
182
|
-
state: boolean;
|
|
183
|
-
}[];
|
|
184
|
-
} | {
|
|
185
|
-
name: string;
|
|
186
|
-
trigger: {
|
|
187
|
-
type: string;
|
|
188
|
-
javascript: string;
|
|
189
|
-
event?: undefined;
|
|
190
|
-
};
|
|
191
|
-
actions: {
|
|
192
|
-
name: string;
|
|
193
|
-
type: string;
|
|
194
|
-
property: {
|
|
195
|
-
label: string;
|
|
196
|
-
value: string;
|
|
197
|
-
type: string;
|
|
198
|
-
};
|
|
199
|
-
text: string;
|
|
200
|
-
}[];
|
|
201
|
-
} | {
|
|
202
|
-
name: string;
|
|
203
|
-
trigger: {
|
|
204
|
-
type: string;
|
|
205
|
-
event: string;
|
|
206
|
-
javascript?: undefined;
|
|
207
|
-
};
|
|
208
|
-
actions: {
|
|
209
|
-
name: string;
|
|
210
|
-
type: string;
|
|
211
|
-
customAction: string;
|
|
212
|
-
}[];
|
|
213
|
-
})[];
|
|
214
|
-
widget?: undefined;
|
|
215
|
-
data?: undefined;
|
|
216
|
-
dataType?: undefined;
|
|
217
|
-
hideLabel?: undefined;
|
|
218
|
-
placeholder?: undefined;
|
|
219
|
-
description?: undefined;
|
|
220
|
-
})[];
|
|
221
|
-
};
|
|
222
|
-
export declare function getControlsTabsComponet({ title, collapsePanel, theme, tabs, }: {
|
|
223
|
-
title?: string;
|
|
224
|
-
collapsePanel?: boolean;
|
|
225
|
-
theme?: string;
|
|
226
|
-
tabs?: any[];
|
|
227
|
-
}): {
|
|
228
|
-
title: string;
|
|
229
|
-
collapsible: boolean;
|
|
230
|
-
key: string;
|
|
231
|
-
type: string;
|
|
232
|
-
label: string;
|
|
233
|
-
collapsed: boolean;
|
|
234
|
-
theme: string;
|
|
235
|
-
components: {
|
|
236
|
-
label: string;
|
|
237
|
-
components: any[];
|
|
238
|
-
key: string;
|
|
239
|
-
type: string;
|
|
240
|
-
input: boolean;
|
|
241
|
-
}[];
|
|
242
|
-
};
|
|
243
|
-
export declare function convertToCSV({ submissions, components, fileName }: {
|
|
244
|
-
submissions: any;
|
|
245
|
-
components: any;
|
|
246
|
-
fileName: any;
|
|
247
|
-
}): void;
|
|
248
|
-
export declare const getPDFDownloadUrl: ({ projectId, submissions, form }: {
|
|
249
|
-
projectId: any;
|
|
250
|
-
submissions: any;
|
|
251
|
-
form: any;
|
|
252
|
-
}) => Promise<string>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const filtersQueries: {
|
|
2
|
-
equal: string;
|
|
3
|
-
notEqual: string;
|
|
4
|
-
startsWith: string;
|
|
5
|
-
contain: string;
|
|
6
|
-
notContain: string;
|
|
7
|
-
endsWith: string;
|
|
8
|
-
matches: string;
|
|
9
|
-
greaterThen: string;
|
|
10
|
-
greaterThenOrEqual: string;
|
|
11
|
-
lessThen: string;
|
|
12
|
-
lessThenOrEqual: string;
|
|
13
|
-
exist: string;
|
|
14
|
-
empty: string;
|
|
15
|
-
notEmpty: string;
|
|
16
|
-
notExist: string;
|
|
17
|
-
sort: string;
|
|
18
|
-
limit: string;
|
|
19
|
-
skip: string;
|
|
20
|
-
};
|
|
21
|
-
export default filtersQueries;
|