query-layers-expression 1.0.0 → 1.0.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/build/index.d.ts CHANGED
@@ -1 +1,43 @@
1
- export {};
1
+ import FeatureLayer from "@arcgis/core/layers/FeatureLayer";
2
+ interface queryExpressionType {
3
+ q1Value?: any;
4
+ q1Field?: any;
5
+ q2Value?: any;
6
+ q2Field?: any;
7
+ q3Value?: any;
8
+ q3Field?: any;
9
+ chartCategory?: any;
10
+ chartCategoryField?: any;
11
+ status?: number;
12
+ statusField?: any;
13
+ qExpression?: any;
14
+ }
15
+ interface queryDefinitionExpressionType {
16
+ queryExpression?: string;
17
+ featureLayer?: [FeatureLayer, FeatureLayer?, FeatureLayer?, FeatureLayer?, FeatureLayer?] | any;
18
+ }
19
+ declare class QueryExpressionLayers {
20
+ featureLayers: [
21
+ FeatureLayer,
22
+ FeatureLayer?,
23
+ FeatureLayer?,
24
+ FeatureLayer?,
25
+ FeatureLayer?,
26
+ FeatureLayer?
27
+ ] | any;
28
+ q1Value?: any;
29
+ q1Field?: any;
30
+ q2Value?: any;
31
+ q2Field?: any;
32
+ q3Value?: any;
33
+ q3Field?: any;
34
+ chartCategory?: any;
35
+ chartCategoryField?: any;
36
+ status?: number;
37
+ statusField?: any;
38
+ qExpression?: any;
39
+ constructor(featureLayers: any, q1Value: any, q1Field: any, q2Value: any, q2Field: any, q3Value: any, q3Field: any, chartCategory: any, chartCategoryField: any, status: number, statusField: any, qExpression: any);
40
+ queryExpression: ({ q1Value, q1Field, q2Value, q2Field, q3Value, q3Field, chartCategory, chartCategoryField, status, statusField, qExpression, }: queryExpressionType) => string;
41
+ queryDefinitionExpression: ({ queryExpression, featureLayer, }: queryDefinitionExpressionType) => void;
42
+ }
43
+ export default QueryExpressionLayers;
package/build/index.js CHANGED
@@ -198,3 +198,4 @@ class QueryExpressionLayers {
198
198
  this.qExpression = qExpression;
199
199
  }
200
200
  }
201
+ exports.default = QueryExpressionLayers;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "query-layers-expression",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Eiji Matsuzaki",
package/src/index.ts CHANGED
@@ -241,3 +241,5 @@ class QueryExpressionLayers {
241
241
  }
242
242
  };
243
243
  }
244
+
245
+ export default QueryExpressionLayers;