@dereekb/util 9.3.2 → 9.3.3
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 +9 -0
- package/package.json +1 -1
- package/src/lib/value/point.d.ts +41 -4
- package/src/lib/value/point.js +30 -5
- package/src/lib/value/point.js.map +1 -1
- package/test/CHANGELOG.md +4 -0
- package/test/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [9.3.3](https://github.com/dereekb/dbx-components/compare/v9.3.2-dev...v9.3.3) (2022-08-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* fixed DbxMapboxMapDirective init issue ([789e368](https://github.com/dereekb/dbx-components/commit/789e3688819168e358f14904fec55b012fbbd969))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
## [9.3.2](https://github.com/dereekb/dbx-components/compare/v9.3.1-dev...v9.3.2) (2022-08-22)
|
|
6
15
|
|
|
7
16
|
|
package/package.json
CHANGED
package/src/lib/value/point.d.ts
CHANGED
|
@@ -16,6 +16,15 @@ export interface LatLngPoint {
|
|
|
16
16
|
lat: Latitude;
|
|
17
17
|
lng: Longitude;
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* A point decorated as LonLat.
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This library prefers the use of LatLngPoint over LonLatPoint. This is only provided as compatability for libraries (like Mapbox) that have LonLat-like points
|
|
23
|
+
*/
|
|
24
|
+
export interface LonLatPoint {
|
|
25
|
+
lat: Latitude;
|
|
26
|
+
lon: Longitude;
|
|
27
|
+
}
|
|
19
28
|
export declare function isLatLngPoint(input: LatLngPoint | unknown): input is LatLngPoint;
|
|
20
29
|
export declare function isSameLatLngPoint(a: LatLngPoint, b: LatLngPoint): boolean;
|
|
21
30
|
export declare function isValidLatitude(lat: Latitude): boolean;
|
|
@@ -28,12 +37,34 @@ export declare function defaultLatLngPoint(): LatLngPoint;
|
|
|
28
37
|
* @returns
|
|
29
38
|
*/
|
|
30
39
|
export declare function isValidLatLngPoint(input: LatLngPoint): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Latitude, Longitude tuple, representative.
|
|
42
|
+
*/
|
|
31
43
|
export declare type LatLngTuple = [Latitude, Longitude];
|
|
44
|
+
/**
|
|
45
|
+
* Longitude, Latitude tuple. This is more analogous of x,y coordinates.
|
|
46
|
+
*/
|
|
47
|
+
export declare type LonLatTuple = [Longitude, Latitude];
|
|
48
|
+
/**
|
|
49
|
+
* Converts the input to a LatLngTuple.
|
|
50
|
+
*
|
|
51
|
+
* @param lat
|
|
52
|
+
* @param lng
|
|
53
|
+
* @returns
|
|
54
|
+
*/
|
|
32
55
|
export declare function latLngTuple(lat: LatLngPointInput, lng?: Longitude): LatLngTuple;
|
|
56
|
+
/**
|
|
57
|
+
* Converts the input to a LonLatTuple.
|
|
58
|
+
*
|
|
59
|
+
* @param lat
|
|
60
|
+
* @param lng
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
export declare function lonLatTuple(lat: LatLngPointInput, lng?: Longitude): LonLatTuple;
|
|
33
64
|
/**
|
|
34
65
|
* Converts the input to a LatLngString
|
|
35
66
|
*/
|
|
36
|
-
export declare type LatLngTupleFunction = ((lat: LatLngPointInput, lng?: Longitude) => LatLngTuple) & ((latLng: string | LatLngTuple) => LatLngTuple) & ((latLng: LatLngPoint) => LatLngTuple) & ((lat: Latitude, lng?: Longitude) => LatLngTuple);
|
|
67
|
+
export declare type LatLngTupleFunction = ((lat: LatLngPointInput, lng?: Longitude) => LatLngTuple) & ((latLng: string | LatLngTuple) => LatLngTuple) & ((latLng: LatLngPoint | LonLatPoint) => LatLngTuple) & ((lat: Latitude, lng?: Longitude) => LatLngTuple);
|
|
37
68
|
export declare type LatLngTupleFunctionConfig = LatLngPointFunctionConfig;
|
|
38
69
|
/**
|
|
39
70
|
* Creates a LatLngTupleFunction
|
|
@@ -46,7 +77,7 @@ export declare function latLngTupleFunction(config?: LatLngTupleFunctionConfig):
|
|
|
46
77
|
* A lat,lng encoded value.
|
|
47
78
|
*/
|
|
48
79
|
export declare type LatLngString = `${Latitude},${Longitude}`;
|
|
49
|
-
export declare type LatLngPointInput = Latitude | LatLngPoint | LatLngString | LatLngTuple | string;
|
|
80
|
+
export declare type LatLngPointInput = Latitude | LatLngPoint | LonLatPoint | LatLngString | LatLngTuple | string;
|
|
50
81
|
export declare type LatLngPrecision = NumberPrecision;
|
|
51
82
|
/**
|
|
52
83
|
* Creates a LatLngString from the input.
|
|
@@ -124,7 +155,7 @@ export declare function latLngPointPrecisionFunction(precision: LatLngPrecision)
|
|
|
124
155
|
/**
|
|
125
156
|
* Converts the input to a LatLngString
|
|
126
157
|
*/
|
|
127
|
-
export declare type LatLngStringFunction = ((lat: LatLngPointInput, lng?: Longitude) => LatLngString) & ((latLng: string | LatLngString) => LatLngString) & ((latLng: LatLngPoint) => LatLngString) & ((lat: Latitude, lng?: Longitude) => LatLngString);
|
|
158
|
+
export declare type LatLngStringFunction = ((lat: LatLngPointInput, lng?: Longitude) => LatLngString) & ((latLng: string | LatLngString) => LatLngString) & ((latLng: LatLngPoint | LonLatPoint) => LatLngString) & ((lat: Latitude, lng?: Longitude) => LatLngString);
|
|
128
159
|
export declare type LatLngStringFunctionConfig = LatLngPointFunctionConfig;
|
|
129
160
|
/**
|
|
130
161
|
* Creates a LatLngStringFunction
|
|
@@ -136,7 +167,7 @@ export declare function latLngStringFunction(config?: LatLngStringFunctionConfig
|
|
|
136
167
|
/**
|
|
137
168
|
* Converts the input to a LatLngPoint
|
|
138
169
|
*/
|
|
139
|
-
export declare type LatLngPointFunction = ((lat: LatLngPointInput, lng?: Longitude) => LatLngPoint) & ((latLng: string | LatLngString) => LatLngPoint) & ((latLng: LatLngPoint) => LatLngPoint) & ((lat: Latitude, lng: Longitude) => LatLngPoint);
|
|
170
|
+
export declare type LatLngPointFunction = ((lat: LatLngPointInput, lng?: Longitude) => LatLngPoint) & ((latLng: string | LatLngString) => LatLngPoint) & ((latLng: LatLngPoint | LonLatPoint) => LatLngPoint) & ((lat: Latitude, lng: Longitude) => LatLngPoint);
|
|
140
171
|
export interface LatLngPointFunctionConfig {
|
|
141
172
|
/**
|
|
142
173
|
* LatLngPrecision to use
|
|
@@ -152,6 +183,12 @@ export interface LatLngPointFunctionConfig {
|
|
|
152
183
|
* The default LatLngPoint to return.
|
|
153
184
|
*/
|
|
154
185
|
default?: Factory<LatLngPoint>;
|
|
186
|
+
/**
|
|
187
|
+
* Treat tuples as LonLat instead of LatLng.
|
|
188
|
+
*
|
|
189
|
+
* False by default
|
|
190
|
+
*/
|
|
191
|
+
readLonLatTuples?: boolean;
|
|
155
192
|
}
|
|
156
193
|
/**
|
|
157
194
|
* Creates a LatLngPoint. Uses latLngPointFunction() internally.
|
package/src/lib/value/point.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.latLngDataPointFunction = exports.validLatLngPointFunction = exports.validLatLngPoint = exports.latLngPointFromString = exports.latLngPointFunction = exports.latLngPoint = exports.latLngStringFunction = exports.latLngPointPrecisionFunction = exports.LAT_LONG_GRAINS_OF_SAND_PRECISION = exports.LAT_LONG_1MM_PRECISION = exports.LAT_LONG_1CM_PRECISION = exports.LAT_LONG_10CM_PRECISION = exports.LAT_LONG_1M_PRECISION = exports.LAT_LONG_10M_PRECISION = exports.LAT_LONG_100M_PRECISION = exports.LAT_LONG_1KM_PRECISION = exports.LAT_LONG_10KM_PRECISION = exports.LAT_LONG_100KM_PRECISION = exports.isLatLngString = exports.LAT_LNG_PATTERN = exports.LAT_LNG_PATTERN_MAX_PRECISION = exports.latLngString = exports.latLngTupleFunction = exports.latLngTuple = exports.isValidLatLngPoint = exports.defaultLatLngPoint = exports.isValidLongitude = exports.isValidLatitude = exports.isSameLatLngPoint = exports.isLatLngPoint = exports.MAX_LONGITUDE_VALUE = exports.MIN_LONGITUDE_VALUE = exports.MAX_LATITUDE_VALUE = exports.MIN_LATITUDE_VALUE = void 0;
|
|
3
|
+
exports.latLngDataPointFunction = exports.validLatLngPointFunction = exports.validLatLngPoint = exports.latLngPointFromString = exports.latLngPointFunction = exports.latLngPoint = exports.latLngStringFunction = exports.latLngPointPrecisionFunction = exports.LAT_LONG_GRAINS_OF_SAND_PRECISION = exports.LAT_LONG_1MM_PRECISION = exports.LAT_LONG_1CM_PRECISION = exports.LAT_LONG_10CM_PRECISION = exports.LAT_LONG_1M_PRECISION = exports.LAT_LONG_10M_PRECISION = exports.LAT_LONG_100M_PRECISION = exports.LAT_LONG_1KM_PRECISION = exports.LAT_LONG_10KM_PRECISION = exports.LAT_LONG_100KM_PRECISION = exports.isLatLngString = exports.LAT_LNG_PATTERN = exports.LAT_LNG_PATTERN_MAX_PRECISION = exports.latLngString = exports.latLngTupleFunction = exports.lonLatTuple = exports.latLngTuple = exports.isValidLatLngPoint = exports.defaultLatLngPoint = exports.isValidLongitude = exports.isValidLatitude = exports.isSameLatLngPoint = exports.isLatLngPoint = exports.MAX_LONGITUDE_VALUE = exports.MIN_LONGITUDE_VALUE = exports.MAX_LATITUDE_VALUE = exports.MIN_LATITUDE_VALUE = void 0;
|
|
4
4
|
const round_1 = require("../number/round");
|
|
5
5
|
exports.MIN_LATITUDE_VALUE = -90.0;
|
|
6
6
|
exports.MAX_LATITUDE_VALUE = 90.0;
|
|
@@ -36,10 +36,28 @@ function isValidLatLngPoint(input) {
|
|
|
36
36
|
return isValidLatitude(input.lat) && isValidLongitude(input.lng);
|
|
37
37
|
}
|
|
38
38
|
exports.isValidLatLngPoint = isValidLatLngPoint;
|
|
39
|
+
/**
|
|
40
|
+
* Converts the input to a LatLngTuple.
|
|
41
|
+
*
|
|
42
|
+
* @param lat
|
|
43
|
+
* @param lng
|
|
44
|
+
* @returns
|
|
45
|
+
*/
|
|
39
46
|
function latLngTuple(lat, lng) {
|
|
40
47
|
return latLngTupleFunction()(lat, lng);
|
|
41
48
|
}
|
|
42
49
|
exports.latLngTuple = latLngTuple;
|
|
50
|
+
/**
|
|
51
|
+
* Converts the input to a LonLatTuple.
|
|
52
|
+
*
|
|
53
|
+
* @param lat
|
|
54
|
+
* @param lng
|
|
55
|
+
* @returns
|
|
56
|
+
*/
|
|
57
|
+
function lonLatTuple(lat, lng) {
|
|
58
|
+
return latLngTupleFunction({ readLonLatTuples: true })(lat, lng).reverse();
|
|
59
|
+
}
|
|
60
|
+
exports.lonLatTuple = lonLatTuple;
|
|
43
61
|
/**
|
|
44
62
|
* Creates a LatLngTupleFunction
|
|
45
63
|
*
|
|
@@ -162,22 +180,29 @@ exports.latLngPoint = latLngPoint;
|
|
|
162
180
|
* @returns
|
|
163
181
|
*/
|
|
164
182
|
function latLngPointFunction(config) {
|
|
165
|
-
const { validate, default: defaultValue, precision = exports.LAT_LONG_1MM_PRECISION } = config !== null && config !== void 0 ? config : {};
|
|
183
|
+
const { validate, default: defaultValue, precision = exports.LAT_LONG_1MM_PRECISION, readLonLatTuples } = config !== null && config !== void 0 ? config : {};
|
|
166
184
|
const precisionFunction = latLngPointPrecisionFunction(precision);
|
|
167
185
|
const validateFunction = validLatLngPointFunction(defaultValue);
|
|
168
186
|
const mapFn = validate !== false ? (input) => precisionFunction(validateFunction(input)) : precisionFunction;
|
|
169
187
|
return (lat, lng) => {
|
|
188
|
+
var _a;
|
|
170
189
|
let latLng;
|
|
171
190
|
const latType = typeof lat;
|
|
172
191
|
if (latType === 'string') {
|
|
173
192
|
latLng = latLngPointFromString(lat);
|
|
174
193
|
}
|
|
175
194
|
else if (Array.isArray(lat)) {
|
|
176
|
-
|
|
177
|
-
|
|
195
|
+
if (readLonLatTuples) {
|
|
196
|
+
const tuple = lat;
|
|
197
|
+
latLng = { lat: tuple[1], lng: tuple[0] };
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
const tuple = lat;
|
|
201
|
+
latLng = { lat: tuple[0], lng: tuple[1] };
|
|
202
|
+
}
|
|
178
203
|
}
|
|
179
204
|
else if (latType === 'object') {
|
|
180
|
-
latLng = lat;
|
|
205
|
+
latLng = { lat: lat.lat, lng: (_a = lat.lng) !== null && _a !== void 0 ? _a : lat.lon };
|
|
181
206
|
}
|
|
182
207
|
else if (lng != null) {
|
|
183
208
|
latLng = { lat: lat, lng };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"point.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/value/point.ts"],"names":[],"mappings":";;;AACA,2CAA+E;AAalE,QAAA,kBAAkB,GAAG,CAAC,IAAI,CAAC;AAC3B,QAAA,kBAAkB,GAAG,IAAI,CAAC;AAC1B,QAAA,mBAAmB,GAAG,CAAC,KAAK,CAAC;AAC7B,QAAA,mBAAmB,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"point.js","sourceRoot":"","sources":["../../../../../../packages/util/src/lib/value/point.ts"],"names":[],"mappings":";;;AACA,2CAA+E;AAalE,QAAA,kBAAkB,GAAG,CAAC,IAAI,CAAC;AAC3B,QAAA,kBAAkB,GAAG,IAAI,CAAC;AAC1B,QAAA,mBAAmB,GAAG,CAAC,KAAK,CAAC;AAC7B,QAAA,mBAAmB,GAAG,KAAK,CAAC;AAiBzC,SAAgB,aAAa,CAAC,KAA4B;IACxD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAK,KAAqB,CAAC,GAAG,IAAI,IAAI,IAAK,KAAqB,CAAC,GAAG,IAAI,IAAI,CAAC;AAC/G,CAAC;AAFD,sCAEC;AAED,SAAgB,iBAAiB,CAAC,CAAc,EAAE,CAAc;IAC9D,OAAO,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAA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AC,CAAC;IACnC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AACtB,CAAC;AALD,sDAKC;AAED,SAAgB,gBAAgB,CAAC,WAAwB,EAAE,YAAmC;IAC5F,OAAO,wBAAwB,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,CAAC;AAC7D,CAAC;AAFD,4CAEC;AASD,SAAgB,wBAAwB,CAAC,eAAqC,kBAAkB;IAC9F,OAAO,CAAC,WAAwB,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC,CAAC;AACxG,CAAC;AAFD,4DAEC;AAkCD;;;;;GAKG;AACH,SAAgB,uBAAuB,CAAsB,MAAkC;IAC7F,MAAM,EAAE,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACvC,OAAO,CAAC,IAAO,EAAE,EAAE;QACjB,MAAM,MAAM,GAAgB,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC5C,OAAO;YACL,MAAM;YACN,IAAI;SACL,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AATD,0DASC"}
|
package/test/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [9.3.3](https://github.com/dereekb/dbx-components/compare/v9.3.2-dev...v9.3.3) (2022-08-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [9.3.2](https://github.com/dereekb/dbx-components/compare/v9.3.1-dev...v9.3.2) (2022-08-22)
|
|
6
10
|
|
|
7
11
|
|
package/test/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/util/test",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@dereekb/util": "9.3.
|
|
9
|
+
"@dereekb/util": "9.3.3",
|
|
10
10
|
"lodash.isequal": "^4.5.0",
|
|
11
11
|
"make-error": "^1.3.0",
|
|
12
12
|
"ts-essentials": "^9.1.2",
|