@formio/reporting 2.0.0-dev.tt.5 → 2.0.0-rc.11

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/index.d.ts CHANGED
@@ -15,7 +15,16 @@ declare const _default: {
15
15
  form: string;
16
16
  };
17
17
  };
18
- semantic: {};
18
+ bootstrap4: {
19
+ reportingGrid: {
20
+ form: string;
21
+ };
22
+ };
23
+ semantic: {
24
+ reportingGrid: {
25
+ form: string;
26
+ };
27
+ };
19
28
  };
20
29
  utils: typeof ReportingConfigUtils;
21
30
  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;
@@ -2,7 +2,9 @@ import AggregationOperator from './AggregationOperator';
2
2
  export default class Avg extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
4
  static get operatorTitle(): string;
5
- static getDisplayField(settings: any, reportingConfig?: any): any;
5
+ static getDisplayField(settings: any, reportingConfig?: any): {
6
+ type: string;
7
+ };
6
8
  static get acceptedValueTypes(): any[];
7
9
  static get aggregatedGroupOperator(): boolean;
8
10
  static get aggregatedCalculationOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Count extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get aggregatedCalculationOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class DateDiff extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static getFieldArgs(settings: any): any;
6
8
  static get operatorTitle(): string;
7
9
  static get acceptedValueTypes(): any[];
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class DayOfMonth extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get acceptedValueTypes(): any[];
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class DayOfWeek extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get acceptedValueTypes(): any[];
7
9
  static get aggregatedGroupOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class DayOfYear extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get aggregatedCalculationOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Divide extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static getFieldArgs(settings: any): any;
6
8
  static get operatorTitle(): string;
7
9
  static get aggregatedGroupOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Max extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get aggregatedCalculationOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Min extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get acceptedValueTypes(): any[];
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Month extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get acceptedValueTypes(): any[];
7
9
  static get aggregatedGroupOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Multiply extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get acceptedValueTypes(): any[];
7
9
  static get aggregatedGroupOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Percentage extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get acceptedValueTypes(): any[];
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Size extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get acceptedValueTypes(): any[];
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Subtract extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get acceptedValueTypes(): any[];
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Sum extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get aggregatedCalculationOperator(): boolean;
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Week extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get acceptedValueTypes(): any[];
@@ -1,7 +1,9 @@
1
1
  import AggregationOperator from './AggregationOperator';
2
2
  export default class Year extends AggregationOperator {
3
3
  static get operatorKey(): string;
4
- static getDisplayField(settings: any, reportingConfig?: any): any;
4
+ static getDisplayField(settings: any, reportingConfig?: any): {
5
+ type: string;
6
+ };
5
7
  static get operatorTitle(): string;
6
8
  static get aggregatedGroupOperator(): boolean;
7
9
  static get acceptedValueTypes(): any[];
@@ -283,7 +283,9 @@ declare const ReportingUtils: {
283
283
  getPropertyFromFormId(formId: any): string;
284
284
  getDataPath(setting: any): string;
285
285
  getJoinedFormDataPathInJoinedObj(formId: any): string;
286
- getAggrOperatorNumberField(settings: any, reportingConfig?: any): any;
286
+ getAggrOperatorNumberField(settings: any, reportingConfig?: any): {
287
+ type: string;
288
+ };
287
289
  _: any;
288
290
  valueTypes: any;
289
291
  connectionByFullSubmissionObjectOptionValue: "submissionObject*";
@@ -12,4 +12,6 @@ export declare const defaultColumns: {
12
12
  component: any;
13
13
  submissionRootPath: boolean;
14
14
  }[];
15
- export declare function getAggrOperatorNumberField(settings: any, reportingConfig?: any): any;
15
+ export declare function getAggrOperatorNumberField(settings: any, reportingConfig?: any): {
16
+ type: string;
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/reporting",
3
- "version": "2.0.0-dev.tt.5",
3
+ "version": "2.0.0-rc.11",
4
4
  "description": "Reporting components for form.io",
5
5
  "main": "reporting.js",
6
6
  "scripts": {
@@ -12,7 +12,7 @@
12
12
  "build:vm": "rm -rf lib && rm -f build/reporting.vm.js && gulp licenseCheck:noCheck && tsc && gulp templates && webpack --config=config/webpack.vm.js",
13
13
  "build": "yarn build:portal && yarn build:vm && yarn build:dist",
14
14
  "lint": "tslint -p .",
15
- "release": "yarn build && npm publish ./dist --access public --tag=dev.tt"
15
+ "release": "yarn build && yarn publish ./dist --access public"
16
16
  },
17
17
  "pre-commit": [
18
18
  "lint"
@@ -35,8 +35,8 @@
35
35
  "reportConfigVersion": 5,
36
36
  "homepage": "https://github.com/formio/reporting#readme",
37
37
  "devDependencies": {
38
- "@formio/js": "^5.0.0-rc.68",
39
- "@formio/license": "^2.0.0-rc.4",
38
+ "@formio/js": "^5.0.0-rc.47",
39
+ "@formio/license": "^2.0.0-rc.2",
40
40
  "@types/file-saver": "^2.0.5",
41
41
  "@types/mocha": "^10.0.1",
42
42
  "@types/node": "^20.1.5",
@@ -52,7 +52,7 @@
52
52
  "jsdom": "^17.0.0",
53
53
  "jsdom-global": "^3.0.2",
54
54
  "mocha": "^10.2.0",
55
- "node-sass": "^9.0.0",
55
+ "node-sass": "^7.0.3",
56
56
  "nyc": "^15.1.0",
57
57
  "pre-commit": "^1.2.2",
58
58
  "request": "^2.88.2",
@@ -66,10 +66,10 @@
66
66
  "webpack-obfuscator": "^3.5.1"
67
67
  },
68
68
  "peerDependencies": {
69
- "@formio/js": "^5.0.0-rc.68"
69
+ "@formio/js": "^5.0.0-rc.47",
70
+ "lodash": "^4.17.21"
70
71
  },
71
72
  "dependencies": {
72
- "file-saver": "^2.0.5",
73
- "jose": "^5.6.3"
73
+ "file-saver": "^2.0.5"
74
74
  }
75
75
  }