parse 4.0.0-alpha.1 → 4.0.0-alpha.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/LICENSE +167 -25
- package/NOTICE +10 -0
- package/README.md +6 -5
- package/dist/parse.js +12838 -21190
- package/dist/parse.min.js +7 -6
- package/dist/parse.weapp.js +7921 -17062
- package/dist/parse.weapp.min.js +7 -6
- package/lib/browser/Analytics.js +2 -27
- package/lib/browser/AnonymousUtils.js +6 -42
- package/lib/browser/Cloud.js +12 -77
- package/lib/browser/CloudCode.js +0 -3
- package/lib/browser/CoreManager.js +46 -191
- package/lib/browser/CryptoController.js +2 -16
- package/lib/browser/EventEmitter.js +1 -8
- package/lib/browser/EventuallyQueue.js +277 -824
- package/lib/browser/FacebookUtils.js +6 -42
- package/lib/browser/IndexedDBStorageController.js +3 -14
- package/lib/browser/InstallationController.js +2 -20
- package/lib/browser/LiveQueryClient.js +105 -213
- package/lib/browser/LiveQuerySubscription.js +10 -39
- package/lib/browser/LocalDatastore.js +451 -1081
- package/lib/browser/LocalDatastoreController.js +145 -602
- package/lib/browser/LocalDatastoreController.react-native.js +137 -573
- package/lib/browser/LocalDatastoreUtils.js +2 -19
- package/lib/browser/ObjectStateMutations.js +18 -121
- package/lib/browser/OfflineQuery.js +61 -222
- package/lib/browser/Parse.js +12 -115
- package/lib/browser/ParseACL.js +33 -148
- package/lib/browser/ParseCLP.js +96 -314
- package/lib/browser/ParseConfig.js +18 -95
- package/lib/browser/ParseError.js +63 -99
- package/lib/browser/ParseFile.js +128 -685
- package/lib/browser/ParseGeoPoint.js +23 -89
- package/lib/browser/ParseHooks.js +1 -34
- package/lib/browser/ParseInstallation.js +4 -32
- package/lib/browser/ParseLiveQuery.js +96 -505
- package/lib/browser/ParseObject.js +665 -1845
- package/lib/browser/ParseOp.js +41 -287
- package/lib/browser/ParsePolygon.js +13 -70
- package/lib/browser/ParseQuery.js +403 -1504
- package/lib/browser/ParseRelation.js +12 -68
- package/lib/browser/ParseRole.js +13 -75
- package/lib/browser/ParseSchema.js +49 -208
- package/lib/browser/ParseSession.js +11 -69
- package/lib/browser/ParseUser.js +274 -1127
- package/lib/browser/Push.js +7 -50
- package/lib/browser/RESTController.js +28 -157
- package/lib/browser/SingleInstanceStateController.js +19 -144
- package/lib/browser/Socket.weapp.js +0 -10
- package/lib/browser/Storage.js +10 -80
- package/lib/browser/StorageController.browser.js +4 -24
- package/lib/browser/StorageController.default.js +4 -24
- package/lib/browser/StorageController.react-native.js +6 -40
- package/lib/browser/StorageController.weapp.js +5 -23
- package/lib/browser/TaskQueue.js +1 -29
- package/lib/browser/UniqueInstanceStateController.js +19 -149
- package/lib/browser/Xhr.weapp.js +0 -17
- package/lib/browser/arrayContainsObject.js +2 -23
- package/lib/browser/canBeSerialized.js +3 -40
- package/lib/browser/decode.js +3 -40
- package/lib/browser/encode.js +9 -77
- package/lib/browser/equals.js +2 -34
- package/lib/browser/escape.js +1 -15
- package/lib/browser/isRevocableSession.js +2 -18
- package/lib/browser/parseDate.js +2 -20
- package/lib/browser/promiseUtils.js +3 -21
- package/lib/browser/unique.js +3 -24
- package/lib/browser/unsavedChildren.js +6 -57
- package/lib/browser/uuid.js +3 -1
- package/lib/node/Analytics.js +1 -25
- package/lib/node/AnonymousUtils.js +5 -44
- package/lib/node/Cloud.js +10 -73
- package/lib/node/CloudCode.js +0 -3
- package/lib/node/CoreManager.js +47 -227
- package/lib/node/CryptoController.js +2 -16
- package/lib/node/EventEmitter.js +1 -8
- package/lib/node/EventuallyQueue.js +16 -123
- package/lib/node/FacebookUtils.js +5 -44
- package/lib/node/IndexedDBStorageController.js +3 -19
- package/lib/node/InstallationController.js +2 -22
- package/lib/node/LiveQueryClient.js +72 -154
- package/lib/node/LiveQuerySubscription.js +7 -26
- package/lib/node/LocalDatastore.js +19 -182
- package/lib/node/LocalDatastoreController.js +6 -45
- package/lib/node/LocalDatastoreController.react-native.js +6 -52
- package/lib/node/LocalDatastoreUtils.js +1 -13
- package/lib/node/ObjectStateMutations.js +13 -100
- package/lib/node/OfflineQuery.js +27 -151
- package/lib/node/Parse.js +11 -108
- package/lib/node/ParseACL.js +32 -157
- package/lib/node/ParseCLP.js +69 -269
- package/lib/node/ParseConfig.js +16 -91
- package/lib/node/ParseError.js +61 -74
- package/lib/node/ParseFile.js +49 -212
- package/lib/node/ParseGeoPoint.js +21 -89
- package/lib/node/ParseHooks.js +0 -35
- package/lib/node/ParseInstallation.js +1 -17
- package/lib/node/ParseLiveQuery.js +10 -43
- package/lib/node/ParseObject.js +229 -964
- package/lib/node/ParseOp.js +31 -262
- package/lib/node/ParsePolygon.js +12 -69
- package/lib/node/ParseQuery.js +169 -888
- package/lib/node/ParseRelation.js +11 -68
- package/lib/node/ParseRole.js +10 -64
- package/lib/node/ParseSchema.js +46 -229
- package/lib/node/ParseSession.js +8 -57
- package/lib/node/ParseUser.js +107 -583
- package/lib/node/Push.js +4 -44
- package/lib/node/RESTController.js +18 -127
- package/lib/node/SingleInstanceStateController.js +17 -137
- package/lib/node/Socket.weapp.js +0 -7
- package/lib/node/Storage.js +10 -90
- package/lib/node/StorageController.browser.js +4 -30
- package/lib/node/StorageController.default.js +5 -28
- package/lib/node/StorageController.react-native.js +6 -47
- package/lib/node/StorageController.weapp.js +6 -28
- package/lib/node/TaskQueue.js +1 -24
- package/lib/node/UniqueInstanceStateController.js +16 -140
- package/lib/node/Xhr.weapp.js +0 -15
- package/lib/node/arrayContainsObject.js +1 -19
- package/lib/node/canBeSerialized.js +2 -35
- package/lib/node/decode.js +1 -33
- package/lib/node/encode.js +3 -61
- package/lib/node/equals.js +0 -27
- package/lib/node/escape.js +1 -13
- package/lib/node/isRevocableSession.js +1 -12
- package/lib/node/parseDate.js +1 -14
- package/lib/node/promiseUtils.js +2 -14
- package/lib/node/unique.js +1 -18
- package/lib/node/unsavedChildren.js +2 -45
- package/lib/node/uuid.js +6 -1
- package/lib/react-native/Analytics.js +0 -9
- package/lib/react-native/AnonymousUtils.js +0 -10
- package/lib/react-native/Cloud.js +0 -26
- package/lib/react-native/CoreManager.js +2 -6
- package/lib/react-native/CryptoController.js +0 -2
- package/lib/react-native/EventEmitter.js +0 -2
- package/lib/react-native/EventuallyQueue.js +156 -711
- package/lib/react-native/FacebookUtils.js +0 -22
- package/lib/react-native/IndexedDBStorageController.js +0 -1
- package/lib/react-native/InstallationController.js +0 -6
- package/lib/react-native/LiveQueryClient.js +46 -157
- package/lib/react-native/LiveQuerySubscription.js +3 -27
- package/lib/react-native/LocalDatastore.js +281 -948
- package/lib/react-native/LocalDatastoreController.js +71 -552
- package/lib/react-native/LocalDatastoreController.react-native.js +91 -526
- package/lib/react-native/LocalDatastoreUtils.js +0 -1
- package/lib/react-native/ObjectStateMutations.js +2 -65
- package/lib/react-native/OfflineQuery.js +25 -196
- package/lib/react-native/Parse.js +0 -65
- package/lib/react-native/ParseACL.js +0 -44
- package/lib/react-native/ParseCLP.js +23 -161
- package/lib/react-native/ParseConfig.js +0 -42
- package/lib/react-native/ParseError.js +1 -21
- package/lib/react-native/ParseFile.js +55 -529
- package/lib/react-native/ParseGeoPoint.js +0 -17
- package/lib/react-native/ParseHooks.js +0 -30
- package/lib/react-native/ParseInstallation.js +1 -23
- package/lib/react-native/ParseLiveQuery.js +55 -472
- package/lib/react-native/ParseObject.js +245 -1246
- package/lib/react-native/ParseOp.js +1 -138
- package/lib/react-native/ParsePolygon.js +0 -24
- package/lib/react-native/ParseQuery.js +182 -874
- package/lib/react-native/ParseRelation.js +0 -25
- package/lib/react-native/ParseRole.js +1 -36
- package/lib/react-native/ParseSchema.js +3 -54
- package/lib/react-native/ParseSession.js +1 -40
- package/lib/react-native/ParseUser.js +95 -773
- package/lib/react-native/Push.js +0 -16
- package/lib/react-native/RESTController.js +12 -109
- package/lib/react-native/SingleInstanceStateController.js +0 -44
- package/lib/react-native/Socket.weapp.js +0 -10
- package/lib/react-native/Storage.js +0 -24
- package/lib/react-native/StorageController.browser.js +0 -2
- package/lib/react-native/StorageController.default.js +0 -1
- package/lib/react-native/StorageController.react-native.js +0 -2
- package/lib/react-native/TaskQueue.js +0 -15
- package/lib/react-native/UniqueInstanceStateController.js +0 -47
- package/lib/react-native/Xhr.weapp.js +0 -16
- package/lib/react-native/arrayContainsObject.js +0 -5
- package/lib/react-native/canBeSerialized.js +0 -18
- package/lib/react-native/decode.js +0 -21
- package/lib/react-native/encode.js +0 -25
- package/lib/react-native/equals.js +0 -18
- package/lib/react-native/escape.js +0 -1
- package/lib/react-native/isRevocableSession.js +0 -1
- package/lib/react-native/parseDate.js +0 -3
- package/lib/react-native/promiseUtils.js +0 -13
- package/lib/react-native/unique.js +0 -4
- package/lib/react-native/unsavedChildren.js +0 -21
- package/lib/react-native/uuid.js +3 -1
- package/lib/weapp/Analytics.js +2 -27
- package/lib/weapp/AnonymousUtils.js +6 -42
- package/lib/weapp/Cloud.js +12 -77
- package/lib/weapp/CloudCode.js +0 -3
- package/lib/weapp/CoreManager.js +46 -191
- package/lib/weapp/CryptoController.js +2 -16
- package/lib/weapp/EventEmitter.js +1 -8
- package/lib/weapp/EventuallyQueue.js +277 -824
- package/lib/weapp/FacebookUtils.js +6 -42
- package/lib/weapp/IndexedDBStorageController.js +3 -14
- package/lib/weapp/InstallationController.js +2 -20
- package/lib/weapp/LiveQueryClient.js +105 -213
- package/lib/weapp/LiveQuerySubscription.js +10 -39
- package/lib/weapp/LocalDatastore.js +451 -1081
- package/lib/weapp/LocalDatastoreController.js +145 -602
- package/lib/weapp/LocalDatastoreController.react-native.js +137 -573
- package/lib/weapp/LocalDatastoreUtils.js +2 -19
- package/lib/weapp/ObjectStateMutations.js +18 -121
- package/lib/weapp/OfflineQuery.js +61 -222
- package/lib/weapp/Parse.js +12 -115
- package/lib/weapp/ParseACL.js +33 -148
- package/lib/weapp/ParseCLP.js +96 -314
- package/lib/weapp/ParseConfig.js +18 -95
- package/lib/weapp/ParseError.js +63 -99
- package/lib/weapp/ParseFile.js +129 -686
- package/lib/weapp/ParseGeoPoint.js +23 -89
- package/lib/weapp/ParseHooks.js +1 -34
- package/lib/weapp/ParseInstallation.js +4 -32
- package/lib/weapp/ParseLiveQuery.js +96 -505
- package/lib/weapp/ParseObject.js +665 -1845
- package/lib/weapp/ParseOp.js +41 -287
- package/lib/weapp/ParsePolygon.js +13 -70
- package/lib/weapp/ParseQuery.js +403 -1504
- package/lib/weapp/ParseRelation.js +12 -68
- package/lib/weapp/ParseRole.js +13 -75
- package/lib/weapp/ParseSchema.js +49 -208
- package/lib/weapp/ParseSession.js +11 -69
- package/lib/weapp/ParseUser.js +274 -1127
- package/lib/weapp/Push.js +7 -50
- package/lib/weapp/RESTController.js +28 -157
- package/lib/weapp/SingleInstanceStateController.js +19 -144
- package/lib/weapp/Socket.weapp.js +0 -10
- package/lib/weapp/Storage.js +10 -80
- package/lib/weapp/StorageController.browser.js +4 -24
- package/lib/weapp/StorageController.default.js +4 -24
- package/lib/weapp/StorageController.react-native.js +6 -40
- package/lib/weapp/StorageController.weapp.js +5 -23
- package/lib/weapp/TaskQueue.js +1 -29
- package/lib/weapp/UniqueInstanceStateController.js +19 -149
- package/lib/weapp/Xhr.weapp.js +0 -17
- package/lib/weapp/arrayContainsObject.js +2 -23
- package/lib/weapp/canBeSerialized.js +3 -40
- package/lib/weapp/decode.js +3 -40
- package/lib/weapp/encode.js +9 -77
- package/lib/weapp/equals.js +2 -34
- package/lib/weapp/escape.js +1 -15
- package/lib/weapp/isRevocableSession.js +2 -18
- package/lib/weapp/parseDate.js +2 -20
- package/lib/weapp/promiseUtils.js +3 -21
- package/lib/weapp/unique.js +3 -24
- package/lib/weapp/unsavedChildren.js +6 -57
- package/lib/weapp/uuid.js +1 -6
- package/package.json +35 -31
- package/PATENTS +0 -37
package/lib/node/ParsePolygon.js
CHANGED
|
@@ -4,22 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _ParseGeoPoint = _interopRequireDefault(require("./ParseGeoPoint"));
|
|
9
|
-
|
|
10
8
|
function _interopRequireDefault(obj) {
|
|
11
9
|
return obj && obj.__esModule ? obj : {
|
|
12
10
|
default: obj
|
|
13
11
|
};
|
|
14
12
|
}
|
|
15
13
|
/**
|
|
16
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
17
|
-
* All rights reserved.
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the BSD-style license found in the
|
|
20
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
21
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
22
|
-
*
|
|
23
14
|
* @flow
|
|
24
15
|
*/
|
|
25
16
|
|
|
@@ -42,19 +33,15 @@ function _interopRequireDefault(obj) {
|
|
|
42
33
|
*
|
|
43
34
|
* @alias Parse.Polygon
|
|
44
35
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
36
|
class ParsePolygon {
|
|
48
37
|
/*:: _coordinates: Array<Array<number>>;*/
|
|
49
|
-
|
|
50
38
|
/**
|
|
51
39
|
* @param {(number[][] | Parse.GeoPoint[])} coordinates An Array of coordinate pairs
|
|
52
40
|
*/
|
|
53
|
-
constructor(coordinates
|
|
54
|
-
/*: Array<Array<number>> | Array<ParseGeoPoint>*/
|
|
55
|
-
) {
|
|
41
|
+
constructor(coordinates /*: Array<Array<number>> | Array<ParseGeoPoint>*/) {
|
|
56
42
|
this._coordinates = ParsePolygon._validate(coordinates);
|
|
57
43
|
}
|
|
44
|
+
|
|
58
45
|
/**
|
|
59
46
|
* Coordinates value for this Polygon.
|
|
60
47
|
* Throws an exception if not valid type.
|
|
@@ -62,81 +49,56 @@ class ParsePolygon {
|
|
|
62
49
|
* @property {(number[][] | Parse.GeoPoint[])} coordinates list of coordinates
|
|
63
50
|
* @returns {number[][]}
|
|
64
51
|
*/
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
get coordinates()
|
|
68
|
-
/*: Array<Array<number>>*/
|
|
69
|
-
{
|
|
52
|
+
get coordinates() /*: Array<Array<number>>*/{
|
|
70
53
|
return this._coordinates;
|
|
71
54
|
}
|
|
72
|
-
|
|
73
|
-
set coordinates(coords
|
|
74
|
-
/*: Array<Array<number>> | Array<ParseGeoPoint>*/
|
|
75
|
-
) {
|
|
55
|
+
set coordinates(coords /*: Array<Array<number>> | Array<ParseGeoPoint>*/) {
|
|
76
56
|
this._coordinates = ParsePolygon._validate(coords);
|
|
77
57
|
}
|
|
58
|
+
|
|
78
59
|
/**
|
|
79
60
|
* Returns a JSON representation of the Polygon, suitable for Parse.
|
|
80
61
|
*
|
|
81
62
|
* @returns {object}
|
|
82
63
|
*/
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
toJSON()
|
|
86
|
-
/*: { __type: string, coordinates: Array<Array<number>> }*/
|
|
87
|
-
{
|
|
64
|
+
toJSON() /*: { __type: string, coordinates: Array<Array<number>> }*/{
|
|
88
65
|
ParsePolygon._validate(this._coordinates);
|
|
89
|
-
|
|
90
66
|
return {
|
|
91
67
|
__type: 'Polygon',
|
|
92
68
|
coordinates: this._coordinates
|
|
93
69
|
};
|
|
94
70
|
}
|
|
71
|
+
|
|
95
72
|
/**
|
|
96
73
|
* Checks if two polygons are equal
|
|
97
74
|
*
|
|
98
75
|
* @param {(Parse.Polygon | object)} other
|
|
99
76
|
* @returns {boolean}
|
|
100
77
|
*/
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
equals(other
|
|
104
|
-
/*: mixed*/
|
|
105
|
-
)
|
|
106
|
-
/*: boolean*/
|
|
107
|
-
{
|
|
78
|
+
equals(other /*: mixed*/) /*: boolean*/{
|
|
108
79
|
if (!(other instanceof ParsePolygon) || this.coordinates.length !== other.coordinates.length) {
|
|
109
80
|
return false;
|
|
110
81
|
}
|
|
111
|
-
|
|
112
82
|
let isEqual = true;
|
|
113
|
-
|
|
114
83
|
for (let i = 1; i < this._coordinates.length; i += 1) {
|
|
115
84
|
if (this._coordinates[i][0] != other.coordinates[i][0] || this._coordinates[i][1] != other.coordinates[i][1]) {
|
|
116
85
|
isEqual = false;
|
|
117
86
|
break;
|
|
118
87
|
}
|
|
119
88
|
}
|
|
120
|
-
|
|
121
89
|
return isEqual;
|
|
122
90
|
}
|
|
91
|
+
|
|
123
92
|
/**
|
|
124
93
|
*
|
|
125
94
|
* @param {Parse.GeoPoint} point
|
|
126
95
|
* @returns {boolean} Returns if the point is contained in the polygon
|
|
127
96
|
*/
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
containsPoint(point
|
|
131
|
-
/*: ParseGeoPoint*/
|
|
132
|
-
)
|
|
133
|
-
/*: boolean*/
|
|
134
|
-
{
|
|
97
|
+
containsPoint(point /*: ParseGeoPoint*/) /*: boolean*/{
|
|
135
98
|
let minX = this._coordinates[0][0];
|
|
136
99
|
let maxX = this._coordinates[0][0];
|
|
137
100
|
let minY = this._coordinates[0][1];
|
|
138
101
|
let maxY = this._coordinates[0][1];
|
|
139
|
-
|
|
140
102
|
for (let i = 1; i < this._coordinates.length; i += 1) {
|
|
141
103
|
const p = this._coordinates[i];
|
|
142
104
|
minX = Math.min(p[0], minX);
|
|
@@ -144,29 +106,24 @@ class ParsePolygon {
|
|
|
144
106
|
minY = Math.min(p[1], minY);
|
|
145
107
|
maxY = Math.max(p[1], maxY);
|
|
146
108
|
}
|
|
147
|
-
|
|
148
109
|
const outside = point.latitude < minX || point.latitude > maxX || point.longitude < minY || point.longitude > maxY;
|
|
149
|
-
|
|
150
110
|
if (outside) {
|
|
151
111
|
return false;
|
|
152
112
|
}
|
|
153
|
-
|
|
154
113
|
let inside = false;
|
|
155
|
-
|
|
156
114
|
for (let i = 0, j = this._coordinates.length - 1; i < this._coordinates.length; j = i++) {
|
|
157
115
|
const startX = this._coordinates[i][0];
|
|
158
116
|
const startY = this._coordinates[i][1];
|
|
159
117
|
const endX = this._coordinates[j][0];
|
|
160
118
|
const endY = this._coordinates[j][1];
|
|
161
119
|
const intersect = startY > point.longitude != endY > point.longitude && point.latitude < (endX - startX) * (point.longitude - startY) / (endY - startY) + startX;
|
|
162
|
-
|
|
163
120
|
if (intersect) {
|
|
164
121
|
inside = !inside;
|
|
165
122
|
}
|
|
166
123
|
}
|
|
167
|
-
|
|
168
124
|
return inside;
|
|
169
125
|
}
|
|
126
|
+
|
|
170
127
|
/**
|
|
171
128
|
* Validates that the list of coordinates can form a valid polygon
|
|
172
129
|
*
|
|
@@ -174,27 +131,17 @@ class ParsePolygon {
|
|
|
174
131
|
* @throws {TypeError}
|
|
175
132
|
* @returns {number[][]} Array of coordinates if validated.
|
|
176
133
|
*/
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
static _validate(coords
|
|
180
|
-
/*: Array<Array<number>> | Array<ParseGeoPoint>*/
|
|
181
|
-
)
|
|
182
|
-
/*: Array<Array<number>>*/
|
|
183
|
-
{
|
|
134
|
+
static _validate(coords /*: Array<Array<number>> | Array<ParseGeoPoint>*/) /*: Array<Array<number>>*/{
|
|
184
135
|
if (!Array.isArray(coords)) {
|
|
185
136
|
throw new TypeError('Coordinates must be an Array');
|
|
186
137
|
}
|
|
187
|
-
|
|
188
138
|
if (coords.length < 3) {
|
|
189
139
|
throw new TypeError('Polygon must have at least 3 GeoPoints or Points');
|
|
190
140
|
}
|
|
191
|
-
|
|
192
141
|
const points = [];
|
|
193
|
-
|
|
194
142
|
for (let i = 0; i < coords.length; i += 1) {
|
|
195
143
|
const coord = coords[i];
|
|
196
144
|
let geoPoint;
|
|
197
|
-
|
|
198
145
|
if (coord instanceof _ParseGeoPoint.default) {
|
|
199
146
|
geoPoint = coord;
|
|
200
147
|
} else if (Array.isArray(coord) && coord.length === 2) {
|
|
@@ -202,14 +149,10 @@ class ParsePolygon {
|
|
|
202
149
|
} else {
|
|
203
150
|
throw new TypeError('Coordinates must be an Array of GeoPoints or Points');
|
|
204
151
|
}
|
|
205
|
-
|
|
206
152
|
points.push([geoPoint.latitude, geoPoint.longitude]);
|
|
207
153
|
}
|
|
208
|
-
|
|
209
154
|
return points;
|
|
210
155
|
}
|
|
211
|
-
|
|
212
156
|
}
|
|
213
|
-
|
|
214
157
|
var _default = ParsePolygon;
|
|
215
158
|
exports.default = _default;
|