query-layers-expression 1.0.10 → 1.0.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/build/index.d.ts +3 -3
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +11 -11
package/build/index.d.ts
CHANGED
|
@@ -14,12 +14,12 @@ declare class QueryExpressionLayers implements queryExpressionType {
|
|
|
14
14
|
qFields?: [any?, any?, any?] | any;
|
|
15
15
|
chartCategory?: any;
|
|
16
16
|
chartCategoryField?: any;
|
|
17
|
-
chartCategoryType?: "number" | "string";
|
|
18
|
-
status?: number |
|
|
17
|
+
chartCategoryType?: "number" | "string" | any;
|
|
18
|
+
status?: number | any;
|
|
19
19
|
statusField?: any;
|
|
20
20
|
qExpression?: any;
|
|
21
21
|
q2Expression?: any;
|
|
22
|
-
constructor(qValues
|
|
22
|
+
constructor(qValues?: any, qFields?: any, chartCategory?: any, chartCategoryField?: any, chartCategoryType?: "number" | "string" | null, status?: number | null, statusField?: any, qExpression?: any, q2Expression?: any);
|
|
23
23
|
queryExpression: () => string;
|
|
24
24
|
}
|
|
25
25
|
export default QueryExpressionLayers;
|
package/build/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class QueryExpressionLayers {
|
|
4
|
-
constructor(qValues, qFields, chartCategory, chartCategoryField, chartCategoryType, status, statusField, qExpression, q2Expression) {
|
|
4
|
+
constructor(qValues = null, qFields = null, chartCategory = null, chartCategoryField = null, chartCategoryType = null, status = null, statusField = null, qExpression = null, q2Expression = null) {
|
|
5
5
|
//--- Method ---//
|
|
6
6
|
//--- Query Expression
|
|
7
7
|
this.queryExpression = () => {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -15,22 +15,22 @@ class QueryExpressionLayers implements queryExpressionType {
|
|
|
15
15
|
qFields?: [any?, any?, any?] | any;
|
|
16
16
|
chartCategory?: any;
|
|
17
17
|
chartCategoryField?: any;
|
|
18
|
-
chartCategoryType?: "number" | "string";
|
|
19
|
-
status?: number |
|
|
18
|
+
chartCategoryType?: "number" | "string" | any;
|
|
19
|
+
status?: number | any;
|
|
20
20
|
statusField?: any;
|
|
21
21
|
qExpression?: any;
|
|
22
22
|
q2Expression?: any;
|
|
23
23
|
|
|
24
24
|
constructor(
|
|
25
|
-
qValues: any,
|
|
26
|
-
qFields: any,
|
|
27
|
-
chartCategory: any,
|
|
28
|
-
chartCategoryField: any,
|
|
29
|
-
chartCategoryType: "number" | "string",
|
|
30
|
-
status: number,
|
|
31
|
-
statusField: any,
|
|
32
|
-
qExpression: any,
|
|
33
|
-
q2Expression: any,
|
|
25
|
+
qValues: any = null,
|
|
26
|
+
qFields: any = null,
|
|
27
|
+
chartCategory: any = null,
|
|
28
|
+
chartCategoryField: any = null,
|
|
29
|
+
chartCategoryType: "number" | "string" | null = null,
|
|
30
|
+
status: number | null = null,
|
|
31
|
+
statusField: any = null,
|
|
32
|
+
qExpression: any = null,
|
|
33
|
+
q2Expression: any = null,
|
|
34
34
|
) {
|
|
35
35
|
this.qValues = qValues;
|
|
36
36
|
this.qFields = qFields;
|