@futdevpro/fsm-dynamo 1.5.75 → 1.5.76
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/_constants/error-defaults.const.d.ts +2 -2
- package/lib/_constants/error-defaults.const.js +11 -11
- package/lib/_constants/index.d.ts +3 -3
- package/lib/_constants/index.js +8 -8
- package/lib/_constants/location/country-codes-ISO-3166.json +3239 -3239
- package/lib/_constants/location/country-divisions-ISO-3166-all-list.json +19036 -19036
- package/lib/_constants/location/country-phone-codes.json +1202 -1202
- package/lib/_constants/module-settings/custom-data-module-settings.const.d.ts +2 -2
- package/lib/_constants/module-settings/custom-data-module-settings.const.js +10 -10
- package/lib/_constants/module-settings/index.d.ts +3 -3
- package/lib/_constants/module-settings/index.js +7 -7
- package/lib/_constants/module-settings/test-module-settings.const.d.ts +2 -2
- package/lib/_constants/module-settings/test-module-settings.const.js +14 -14
- package/lib/_constants/module-settings/usage-module-settings.const.d.ts +2 -2
- package/lib/_constants/module-settings/usage-module-settings.const.js +12 -12
- package/lib/_constants/times.const.d.ts +7 -7
- package/lib/_constants/times.const.js +10 -10
- package/lib/_enums/basic-property-type.enum.d.ts +7 -7
- package/lib/_enums/basic-property-type.enum.js +11 -11
- package/lib/_enums/basic-property-type.enum.js.map +1 -1
- package/lib/_enums/data-model-type.enum.d.ts +5 -5
- package/lib/_enums/data-model-type.enum.js +9 -9
- package/lib/_enums/data-model-type.enum.js.map +1 -1
- package/lib/_enums/index.d.ts +6 -6
- package/lib/_enums/index.js +10 -10
- package/lib/_enums/log-style.enum.d.ts +25 -25
- package/lib/_enums/log-style.enum.js +29 -29
- package/lib/_enums/log-style.enum.js.map +1 -1
- package/lib/_enums/region.enum.d.ts +7 -7
- package/lib/_enums/region.enum.js +11 -11
- package/lib/_enums/region.enum.js.map +1 -1
- package/lib/_enums/sub-region.enum.d.ts +19 -19
- package/lib/_enums/sub-region.enum.js +23 -23
- package/lib/_enums/sub-region.enum.js.map +1 -1
- package/lib/_enums/subdivision-region-type.enum.d.ts +40 -40
- package/lib/_enums/subdivision-region-type.enum.js +45 -45
- package/lib/_enums/subdivision-region-type.enum.js.map +1 -1
- package/lib/_models/control-models/daily-usage-data.control-model.d.ts +11 -11
- package/lib/_models/control-models/daily-usage-data.control-model.d.ts.map +1 -1
- package/lib/_models/control-models/daily-usage-data.control-model.js +17 -16
- package/lib/_models/control-models/daily-usage-data.control-model.js.map +1 -1
- package/lib/_models/control-models/data-params.control-model.d.ts +12 -12
- package/lib/_models/control-models/data-params.control-model.d.ts.map +1 -1
- package/lib/_models/control-models/data-params.control-model.js +22 -19
- package/lib/_models/control-models/data-params.control-model.js.map +1 -1
- package/lib/_models/control-models/data-property-params.control-model.d.ts +28 -28
- package/lib/_models/control-models/data-property-params.control-model.d.ts.map +1 -1
- package/lib/_models/control-models/data-property-params.control-model.js +69 -54
- package/lib/_models/control-models/data-property-params.control-model.js.map +1 -1
- package/lib/_models/control-models/error.control-model.d.ts +281 -281
- package/lib/_models/control-models/error.control-model.d.ts.map +1 -1
- package/lib/_models/control-models/error.control-model.js +180 -173
- package/lib/_models/control-models/error.control-model.js.map +1 -1
- package/lib/_models/control-models/error.control-model.spec.d.ts +1 -1
- package/lib/_models/control-models/error.control-model.spec.js +551 -573
- package/lib/_models/control-models/error.control-model.spec.js.map +1 -1
- package/lib/_models/control-models/index.d.ts +9 -9
- package/lib/_models/control-models/index.js +13 -13
- package/lib/_models/control-models/poll.control-model.d.ts +31 -31
- package/lib/_models/control-models/poll.control-model.d.ts.map +1 -1
- package/lib/_models/control-models/poll.control-model.js +95 -87
- package/lib/_models/control-models/poll.control-model.js.map +1 -1
- package/lib/_models/control-models/range-value.control-model.d.ts +7 -7
- package/lib/_models/control-models/range-value.control-model.d.ts.map +1 -1
- package/lib/_models/control-models/range-value.control-model.js +12 -10
- package/lib/_models/control-models/range-value.control-model.js.map +1 -1
- package/lib/_models/control-models/usage-action.control-model.d.ts +6 -6
- package/lib/_models/control-models/usage-action.control-model.d.ts.map +1 -1
- package/lib/_models/control-models/usage-action.control-model.js +14 -12
- package/lib/_models/control-models/usage-action.control-model.js.map +1 -1
- package/lib/_models/control-models/usage-data.control-model.d.ts +10 -10
- package/lib/_models/control-models/usage-data.control-model.d.ts.map +1 -1
- package/lib/_models/control-models/usage-data.control-model.js +15 -12
- package/lib/_models/control-models/usage-data.control-model.js.map +1 -1
- package/lib/_models/data-models/custom-data.data-model.d.ts +9 -9
- package/lib/_models/data-models/custom-data.data-model.d.ts.map +1 -1
- package/lib/_models/data-models/custom-data.data-model.js +21 -20
- package/lib/_models/data-models/custom-data.data-model.js.map +1 -1
- package/lib/_models/data-models/index.d.ts +3 -3
- package/lib/_models/data-models/index.js +7 -7
- package/lib/_models/data-models/metadata.data-model.d.ts +14 -14
- package/lib/_models/data-models/metadata.data-model.d.ts.map +1 -1
- package/lib/_models/data-models/metadata.data-model.js +45 -39
- package/lib/_models/data-models/metadata.data-model.js.map +1 -1
- package/lib/_models/data-models/usage-session.data-model.d.ts +18 -18
- package/lib/_models/data-models/usage-session.data-model.d.ts.map +1 -1
- package/lib/_models/data-models/usage-session.data-model.js +44 -36
- package/lib/_models/data-models/usage-session.data-model.js.map +1 -1
- package/lib/_models/index.d.ts +3 -3
- package/lib/_models/index.js +10 -10
- package/lib/_models/interfaces/error-defaults.interface.d.ts +8 -8
- package/lib/_models/interfaces/error-defaults.interface.js +2 -2
- package/lib/_models/interfaces/index.d.ts +4 -4
- package/lib/_models/interfaces/index.js +9 -9
- package/lib/_models/interfaces/location/country-division.interface.d.ts +5 -5
- package/lib/_models/interfaces/location/country-division.interface.js +2 -2
- package/lib/_models/interfaces/location/country-iso.interface.d.ts +18 -18
- package/lib/_models/interfaces/location/country-iso.interface.js +2 -2
- package/lib/_models/interfaces/location/country-phone-code.interface.d.ts +5 -5
- package/lib/_models/interfaces/location/country-phone-code.interface.js +2 -2
- package/lib/_models/interfaces/location/division-collection.interface.d.ts +8 -8
- package/lib/_models/interfaces/location/division-collection.interface.js +2 -2
- package/lib/_models/interfaces/location/division-region-data.interface.d.ts +5 -5
- package/lib/_models/interfaces/location/division-region-data.interface.js +2 -2
- package/lib/_models/interfaces/location/geo-ip-location.interface.d.ts +25 -25
- package/lib/_models/interfaces/location/geo-ip-location.interface.js +2 -2
- package/lib/_models/interfaces/location/index.d.ts +7 -7
- package/lib/_models/interfaces/location/index.js +11 -11
- package/lib/_models/interfaces/location/location-coordinates.interface.d.ts +4 -4
- package/lib/_models/interfaces/location/location-coordinates.interface.js +2 -2
- package/lib/_models/interfaces/random-weight.interface.d.ts +4 -4
- package/lib/_models/interfaces/random-weight.interface.js +2 -2
- package/lib/_models/interfaces/route-settings.interface.d.ts +8 -8
- package/lib/_models/interfaces/route-settings.interface.d.ts.map +1 -1
- package/lib/_models/interfaces/route-settings.interface.js +2 -2
- package/lib/_modules/collections.index.d.ts +1 -1
- package/lib/_modules/collections.index.js +4 -4
- package/lib/_modules/constants.index.d.ts +1 -1
- package/lib/_modules/constants.index.js +4 -4
- package/lib/_modules/custom-data-module.index.d.ts +2 -2
- package/lib/_modules/custom-data-module.index.js +6 -6
- package/lib/_modules/data-modules.index.d.ts +5 -5
- package/lib/_modules/data-modules.index.js +9 -9
- package/lib/_modules/enums.index.d.ts +1 -1
- package/lib/_modules/enums.index.js +4 -4
- package/lib/_modules/error-module.index.d.ts +3 -3
- package/lib/_modules/error-module.index.js +7 -7
- package/lib/_modules/location.index.d.ts +6 -6
- package/lib/_modules/location.index.js +12 -12
- package/lib/_modules/models.index.d.ts +1 -1
- package/lib/_modules/models.index.js +4 -4
- package/lib/_modules/shared-service.index.d.ts +7 -7
- package/lib/_modules/shared-service.index.js +11 -11
- package/lib/_modules/test-module.index.d.ts +1 -1
- package/lib/_modules/test-module.index.js +5 -5
- package/lib/_modules/usage-module.index.d.ts +5 -5
- package/lib/_modules/usage-module.index.js +9 -9
- package/lib/_utils/array.util.d.ts +7 -7
- package/lib/_utils/array.util.d.ts.map +1 -1
- package/lib/_utils/array.util.js +32 -37
- package/lib/_utils/array.util.js.map +1 -1
- package/lib/_utils/array.util.spec.d.ts +1 -1
- package/lib/_utils/array.util.spec.js +29 -30
- package/lib/_utils/array.util.spec.js.map +1 -1
- package/lib/_utils/index.d.ts +13 -13
- package/lib/_utils/index.js +17 -17
- package/lib/_utils/location.util.d.ts +6 -6
- package/lib/_utils/location.util.d.ts.map +1 -1
- package/lib/_utils/location.util.js +39 -39
- package/lib/_utils/log.util.d.ts +54 -54
- package/lib/_utils/log.util.d.ts.map +1 -1
- package/lib/_utils/log.util.js +189 -189
- package/lib/_utils/log.util.js.map +1 -1
- package/lib/_utils/metadata.util.d.ts +4 -4
- package/lib/_utils/metadata.util.js +24 -24
- package/lib/_utils/random.util.d.ts +8 -8
- package/lib/_utils/random.util.d.ts.map +1 -1
- package/lib/_utils/random.util.js +59 -59
- package/lib/_utils/random.util.js.map +1 -1
- package/lib/_utils/regex.util.d.ts +1 -1
- package/lib/_utils/regex.util.js +4 -4
- package/lib/_utils/regions.util.d.ts +16 -16
- package/lib/_utils/regions.util.d.ts.map +1 -1
- package/lib/_utils/regions.util.js +66 -67
- package/lib/_utils/regions.util.js.map +1 -1
- package/lib/_utils/round-list.util.d.ts +8 -8
- package/lib/_utils/round-list.util.d.ts.map +1 -1
- package/lib/_utils/round-list.util.js +38 -38
- package/lib/_utils/shared.static-service.d.ts +73 -73
- package/lib/_utils/shared.static-service.d.ts.map +1 -1
- package/lib/_utils/shared.static-service.js +150 -150
- package/lib/_utils/shared.static-service.js.map +1 -1
- package/lib/_utils/time.util.d.ts +13 -13
- package/lib/_utils/time.util.d.ts.map +1 -1
- package/lib/_utils/time.util.js +40 -40
- package/lib/_utils/trigonometry.util.d.ts +45 -45
- package/lib/_utils/trigonometry.util.d.ts.map +1 -1
- package/lib/_utils/trigonometry.util.js +61 -61
- package/lib/_utils/utilities.util.d.ts +36 -36
- package/lib/_utils/utilities.util.js +94 -94
- package/lib/_utils/vector.util.d.ts +37 -37
- package/lib/_utils/vector.util.js +109 -106
- package/lib/_utils/vector.util.js.map +1 -1
- package/lib/index.d.ts +4 -4
- package/lib/index.js +11 -11
- package/lib/tsconfig.tsbuildinfo +1 -3547
- package/package.json +7 -7
- package/src/_models/control-models/error.control-model.spec.ts +1 -1
- package/src/_models/control-models/error.control-model.ts +1 -1
- package/tsconfig.json +2 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export declare function clone<T>(object: T): T;
|
|
2
|
-
export declare const copy: typeof clone;
|
|
3
|
-
export declare function surfaceClone<T>(object: T): T;
|
|
4
|
-
export declare const surfaceCopy: typeof surfaceClone;
|
|
5
|
-
export declare function sameObjects<T>(objA: T, objB: T): boolean;
|
|
6
|
-
/**
|
|
7
|
-
* sets values if its existing on To, even if its null (but if undefined)
|
|
8
|
-
* @param setOn
|
|
9
|
-
* @param setTo
|
|
10
|
-
*/
|
|
11
|
-
export declare function setExisitngValuesOnly(setOn: any, setTo: any): void;
|
|
12
|
-
export declare function delay(ms: number): Promise<void>;
|
|
13
|
-
export declare const sleep: typeof delay;
|
|
14
|
-
export declare const wait: typeof delay;
|
|
15
|
-
/**
|
|
16
|
-
* You might be use getSortForTrueFn instead for a shorter expression
|
|
17
|
-
*
|
|
18
|
-
* @param a
|
|
19
|
-
* @param b
|
|
20
|
-
* @param check
|
|
21
|
-
* @returns
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* codes.sort((a,b) => sortForTrue(a,b,(c: Code) => c.haveImg));
|
|
25
|
-
*/
|
|
26
|
-
export declare function sortForTrue<T>(a: T, b: T, check: (a: T) => boolean): 0 | 1 | -1;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @param checkFor
|
|
30
|
-
* @returns
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* codes.sort(getSortForTrueFn((c: Code) => c.haveImg));
|
|
34
|
-
*/
|
|
35
|
-
export declare function getSortForTrueFn<T>(checkFor: (a: T) => boolean): (a: T, b: T) => 0 | 1 | -1;
|
|
36
|
-
export declare function JSONListify<T>(JSONList: any): T[];
|
|
1
|
+
export declare function clone<T>(object: T): T;
|
|
2
|
+
export declare const copy: typeof clone;
|
|
3
|
+
export declare function surfaceClone<T>(object: T): T;
|
|
4
|
+
export declare const surfaceCopy: typeof surfaceClone;
|
|
5
|
+
export declare function sameObjects<T>(objA: T, objB: T): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* sets values if its existing on To, even if its null (but if undefined)
|
|
8
|
+
* @param setOn
|
|
9
|
+
* @param setTo
|
|
10
|
+
*/
|
|
11
|
+
export declare function setExisitngValuesOnly(setOn: any, setTo: any): void;
|
|
12
|
+
export declare function delay(ms: number): Promise<void>;
|
|
13
|
+
export declare const sleep: typeof delay;
|
|
14
|
+
export declare const wait: typeof delay;
|
|
15
|
+
/**
|
|
16
|
+
* You might be use getSortForTrueFn instead for a shorter expression
|
|
17
|
+
*
|
|
18
|
+
* @param a
|
|
19
|
+
* @param b
|
|
20
|
+
* @param check
|
|
21
|
+
* @returns
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* codes.sort((a,b) => sortForTrue(a,b,(c: Code) => c.haveImg));
|
|
25
|
+
*/
|
|
26
|
+
export declare function sortForTrue<T>(a: T, b: T, check: (a: T) => boolean): 0 | 1 | -1;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @param checkFor
|
|
30
|
+
* @returns
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* codes.sort(getSortForTrueFn((c: Code) => c.haveImg));
|
|
34
|
+
*/
|
|
35
|
+
export declare function getSortForTrueFn<T>(checkFor: (a: T) => boolean): (a: T, b: T) => 0 | 1 | -1;
|
|
36
|
+
export declare function JSONListify<T>(JSONList: any): T[];
|
|
37
37
|
//# sourceMappingURL=utilities.util.d.ts.map
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.JSONListify = exports.getSortForTrueFn = exports.sortForTrue = exports.wait = exports.sleep = exports.delay = exports.setExisitngValuesOnly = exports.sameObjects = exports.surfaceCopy = exports.surfaceClone = exports.copy = exports.clone = void 0;
|
|
4
|
-
function clone(object) {
|
|
5
|
-
try {
|
|
6
|
-
return object ? JSON.parse(JSON.stringify(object)) : object;
|
|
7
|
-
}
|
|
8
|
-
catch (error) {
|
|
9
|
-
console.error('clone() failed. This might be happening becouse the object you trying to clone, containes object hooks for its own objects, therefore its creating an object loop. See further information in the detailed error:');
|
|
10
|
-
throw error;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.clone = clone;
|
|
14
|
-
exports.copy = clone;
|
|
15
|
-
function surfaceClone(object) {
|
|
16
|
-
try {
|
|
17
|
-
const result = {};
|
|
18
|
-
Object.keys(object).forEach((key) => {
|
|
19
|
-
result[key] = object[key];
|
|
20
|
-
});
|
|
21
|
-
return result;
|
|
22
|
-
}
|
|
23
|
-
catch (error) {
|
|
24
|
-
console.error('clone() failed. This might be happening becouse the object you trying to clone, containes object hooks for its own objects, therefore its creating an object loop. See further information in the detailed error:');
|
|
25
|
-
throw error;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.surfaceClone = surfaceClone;
|
|
29
|
-
exports.surfaceCopy = surfaceClone;
|
|
30
|
-
function sameObjects(objA, objB) {
|
|
31
|
-
try {
|
|
32
|
-
return JSON.stringify(objA) === JSON.stringify(objB);
|
|
33
|
-
}
|
|
34
|
-
catch (error) {
|
|
35
|
-
console.error('sameObjects() failed. This might be happening becouse the object you trying to check, containes object hooks for its own objects, therefore its creating an object loop. See further information in the detailed error:');
|
|
36
|
-
throw error;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.sameObjects = sameObjects;
|
|
40
|
-
/**
|
|
41
|
-
* sets values if its existing on To, even if its null (but if undefined)
|
|
42
|
-
* @param setOn
|
|
43
|
-
* @param setTo
|
|
44
|
-
*/
|
|
45
|
-
function setExisitngValuesOnly(setOn, setTo) {
|
|
46
|
-
for (const key in setTo) {
|
|
47
|
-
if (setTo[key] != undefined) {
|
|
48
|
-
setOn[key] = setTo[key];
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.setExisitngValuesOnly = setExisitngValuesOnly;
|
|
53
|
-
function delay(ms) {
|
|
54
|
-
return new Promise(resolve => setTimeout(resolve, ms));
|
|
55
|
-
}
|
|
56
|
-
exports.delay = delay;
|
|
57
|
-
exports.sleep = delay;
|
|
58
|
-
exports.wait = delay;
|
|
59
|
-
/**
|
|
60
|
-
* You might be use getSortForTrueFn instead for a shorter expression
|
|
61
|
-
*
|
|
62
|
-
* @param a
|
|
63
|
-
* @param b
|
|
64
|
-
* @param check
|
|
65
|
-
* @returns
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* codes.sort((a,b) => sortForTrue(a,b,(c: Code) => c.haveImg));
|
|
69
|
-
*/
|
|
70
|
-
function sortForTrue(a, b, check) {
|
|
71
|
-
const isA = check(a);
|
|
72
|
-
return isA === check(b) ? 0 : isA ? -1 : 1;
|
|
73
|
-
}
|
|
74
|
-
exports.sortForTrue = sortForTrue;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @param checkFor
|
|
78
|
-
* @returns
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* codes.sort(getSortForTrueFn((c: Code) => c.haveImg));
|
|
82
|
-
*/
|
|
83
|
-
function getSortForTrueFn(checkFor) {
|
|
84
|
-
return (a, b) => sortForTrue(a, b, checkFor);
|
|
85
|
-
}
|
|
86
|
-
exports.getSortForTrueFn = getSortForTrueFn;
|
|
87
|
-
function JSONListify(JSONList) {
|
|
88
|
-
const result = [];
|
|
89
|
-
for (let i = 0; JSONList[i]; i++) {
|
|
90
|
-
result.push(JSONList[i]);
|
|
91
|
-
}
|
|
92
|
-
return result;
|
|
93
|
-
}
|
|
94
|
-
exports.JSONListify = JSONListify;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JSONListify = exports.getSortForTrueFn = exports.sortForTrue = exports.wait = exports.sleep = exports.delay = exports.setExisitngValuesOnly = exports.sameObjects = exports.surfaceCopy = exports.surfaceClone = exports.copy = exports.clone = void 0;
|
|
4
|
+
function clone(object) {
|
|
5
|
+
try {
|
|
6
|
+
return object ? JSON.parse(JSON.stringify(object)) : object;
|
|
7
|
+
}
|
|
8
|
+
catch (error) {
|
|
9
|
+
console.error('clone() failed. This might be happening becouse the object you trying to clone, containes object hooks for its own objects, therefore its creating an object loop. See further information in the detailed error:');
|
|
10
|
+
throw error;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.clone = clone;
|
|
14
|
+
exports.copy = clone;
|
|
15
|
+
function surfaceClone(object) {
|
|
16
|
+
try {
|
|
17
|
+
const result = {};
|
|
18
|
+
Object.keys(object).forEach((key) => {
|
|
19
|
+
result[key] = object[key];
|
|
20
|
+
});
|
|
21
|
+
return result;
|
|
22
|
+
}
|
|
23
|
+
catch (error) {
|
|
24
|
+
console.error('clone() failed. This might be happening becouse the object you trying to clone, containes object hooks for its own objects, therefore its creating an object loop. See further information in the detailed error:');
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.surfaceClone = surfaceClone;
|
|
29
|
+
exports.surfaceCopy = surfaceClone;
|
|
30
|
+
function sameObjects(objA, objB) {
|
|
31
|
+
try {
|
|
32
|
+
return JSON.stringify(objA) === JSON.stringify(objB);
|
|
33
|
+
}
|
|
34
|
+
catch (error) {
|
|
35
|
+
console.error('sameObjects() failed. This might be happening becouse the object you trying to check, containes object hooks for its own objects, therefore its creating an object loop. See further information in the detailed error:');
|
|
36
|
+
throw error;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.sameObjects = sameObjects;
|
|
40
|
+
/**
|
|
41
|
+
* sets values if its existing on To, even if its null (but if undefined)
|
|
42
|
+
* @param setOn
|
|
43
|
+
* @param setTo
|
|
44
|
+
*/
|
|
45
|
+
function setExisitngValuesOnly(setOn, setTo) {
|
|
46
|
+
for (const key in setTo) {
|
|
47
|
+
if (setTo[key] != undefined) {
|
|
48
|
+
setOn[key] = setTo[key];
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.setExisitngValuesOnly = setExisitngValuesOnly;
|
|
53
|
+
function delay(ms) {
|
|
54
|
+
return new Promise(resolve => setTimeout(resolve, ms));
|
|
55
|
+
}
|
|
56
|
+
exports.delay = delay;
|
|
57
|
+
exports.sleep = delay;
|
|
58
|
+
exports.wait = delay;
|
|
59
|
+
/**
|
|
60
|
+
* You might be use getSortForTrueFn instead for a shorter expression
|
|
61
|
+
*
|
|
62
|
+
* @param a
|
|
63
|
+
* @param b
|
|
64
|
+
* @param check
|
|
65
|
+
* @returns
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* codes.sort((a,b) => sortForTrue(a,b,(c: Code) => c.haveImg));
|
|
69
|
+
*/
|
|
70
|
+
function sortForTrue(a, b, check) {
|
|
71
|
+
const isA = check(a);
|
|
72
|
+
return isA === check(b) ? 0 : isA ? -1 : 1;
|
|
73
|
+
}
|
|
74
|
+
exports.sortForTrue = sortForTrue;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @param checkFor
|
|
78
|
+
* @returns
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* codes.sort(getSortForTrueFn((c: Code) => c.haveImg));
|
|
82
|
+
*/
|
|
83
|
+
function getSortForTrueFn(checkFor) {
|
|
84
|
+
return (a, b) => sortForTrue(a, b, checkFor);
|
|
85
|
+
}
|
|
86
|
+
exports.getSortForTrueFn = getSortForTrueFn;
|
|
87
|
+
function JSONListify(JSONList) {
|
|
88
|
+
const result = [];
|
|
89
|
+
for (let i = 0; JSONList[i]; i++) {
|
|
90
|
+
result.push(JSONList[i]);
|
|
91
|
+
}
|
|
92
|
+
return result;
|
|
93
|
+
}
|
|
94
|
+
exports.JSONListify = JSONListify;
|
|
95
95
|
//# sourceMappingURL=utilities.util.js.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export declare class Vector2 {
|
|
2
|
-
private _x;
|
|
3
|
-
set x(value: number);
|
|
4
|
-
get x(): number;
|
|
5
|
-
private _y;
|
|
6
|
-
set y(value: number);
|
|
7
|
-
get y(): number;
|
|
8
|
-
private _magintude;
|
|
9
|
-
get magintude(): number;
|
|
10
|
-
constructor(x: number, y: number);
|
|
11
|
-
static readonly zero: Vector2;
|
|
12
|
-
static readonly left: Vector2;
|
|
13
|
-
static readonly right: Vector2;
|
|
14
|
-
static readonly up: Vector2;
|
|
15
|
-
static readonly down: Vector2;
|
|
16
|
-
static distance(a: Vector2, b: Vector2): number;
|
|
17
|
-
distanceTo(to: Vector2): number;
|
|
18
|
-
static minus(a: Vector2, b: Vector2): Vector2;
|
|
19
|
-
minus(vector: Vector2): void;
|
|
20
|
-
static plus(a: Vector2, b: Vector2): Vector2;
|
|
21
|
-
plus(vector: Vector2): void;
|
|
22
|
-
static multiply(v: Vector2, n: number): Vector2;
|
|
23
|
-
multiply(n: number): void;
|
|
24
|
-
static negative(v: Vector2): Vector2;
|
|
25
|
-
getNegative(): Vector2;
|
|
26
|
-
negate(): void;
|
|
27
|
-
static rebase(v: Vector2, baseFrom: Vector2, baseTo: Vector2): Vector2;
|
|
28
|
-
rebase(baseFrom: Vector2, baseTo: Vector2): void;
|
|
29
|
-
static rotate(vector: Vector2, angle: number): Vector2;
|
|
30
|
-
static rotateRad(vector: Vector2, rad: number): Vector2;
|
|
31
|
-
rotate(angle: number): void;
|
|
32
|
-
rotateRad(rad: number): void;
|
|
33
|
-
private newVector;
|
|
34
|
-
newXY(newX: number, newY: number): void;
|
|
35
|
-
private calcMagnitude;
|
|
36
|
-
clone(): Vector2;
|
|
37
|
-
}
|
|
1
|
+
export declare class Vector2 {
|
|
2
|
+
private _x;
|
|
3
|
+
set x(value: number);
|
|
4
|
+
get x(): number;
|
|
5
|
+
private _y;
|
|
6
|
+
set y(value: number);
|
|
7
|
+
get y(): number;
|
|
8
|
+
private _magintude;
|
|
9
|
+
get magintude(): number;
|
|
10
|
+
constructor(x: number, y: number);
|
|
11
|
+
static readonly zero: Vector2;
|
|
12
|
+
static readonly left: Vector2;
|
|
13
|
+
static readonly right: Vector2;
|
|
14
|
+
static readonly up: Vector2;
|
|
15
|
+
static readonly down: Vector2;
|
|
16
|
+
static distance(a: Vector2, b: Vector2): number;
|
|
17
|
+
distanceTo(to: Vector2): number;
|
|
18
|
+
static minus(a: Vector2, b: Vector2): Vector2;
|
|
19
|
+
minus(vector: Vector2): void;
|
|
20
|
+
static plus(a: Vector2, b: Vector2): Vector2;
|
|
21
|
+
plus(vector: Vector2): void;
|
|
22
|
+
static multiply(v: Vector2, n: number): Vector2;
|
|
23
|
+
multiply(n: number): void;
|
|
24
|
+
static negative(v: Vector2): Vector2;
|
|
25
|
+
getNegative(): Vector2;
|
|
26
|
+
negate(): void;
|
|
27
|
+
static rebase(v: Vector2, baseFrom: Vector2, baseTo: Vector2): Vector2;
|
|
28
|
+
rebase(baseFrom: Vector2, baseTo: Vector2): void;
|
|
29
|
+
static rotate(vector: Vector2, angle: number): Vector2;
|
|
30
|
+
static rotateRad(vector: Vector2, rad: number): Vector2;
|
|
31
|
+
rotate(angle: number): void;
|
|
32
|
+
rotateRad(rad: number): void;
|
|
33
|
+
private newVector;
|
|
34
|
+
newXY(newX: number, newY: number): void;
|
|
35
|
+
private calcMagnitude;
|
|
36
|
+
clone(): Vector2;
|
|
37
|
+
}
|
|
38
38
|
//# sourceMappingURL=vector.util.d.ts.map
|
|
@@ -1,107 +1,110 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Vector2 = void 0;
|
|
4
|
-
const trigonometry_util_1 = require("./trigonometry.util");
|
|
5
|
-
class Vector2 {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
this.
|
|
9
|
-
this.calcMagnitude();
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this.
|
|
14
|
-
}
|
|
15
|
-
;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
static
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
this.
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
this.
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Vector2 = void 0;
|
|
4
|
+
const trigonometry_util_1 = require("./trigonometry.util");
|
|
5
|
+
class Vector2 {
|
|
6
|
+
_x;
|
|
7
|
+
set x(value) {
|
|
8
|
+
this._x = value;
|
|
9
|
+
this.calcMagnitude();
|
|
10
|
+
}
|
|
11
|
+
;
|
|
12
|
+
get x() {
|
|
13
|
+
return this._x;
|
|
14
|
+
}
|
|
15
|
+
_y;
|
|
16
|
+
set y(value) {
|
|
17
|
+
this._y = value;
|
|
18
|
+
this.calcMagnitude();
|
|
19
|
+
}
|
|
20
|
+
;
|
|
21
|
+
get y() {
|
|
22
|
+
return this._y;
|
|
23
|
+
}
|
|
24
|
+
_magintude;
|
|
25
|
+
get magintude() {
|
|
26
|
+
return this._magintude;
|
|
27
|
+
}
|
|
28
|
+
constructor(x, y) {
|
|
29
|
+
this._x = x;
|
|
30
|
+
this._y = y;
|
|
31
|
+
this.calcMagnitude();
|
|
32
|
+
}
|
|
33
|
+
static zero = new Vector2(0, 0);
|
|
34
|
+
static left = new Vector2(-1, 0);
|
|
35
|
+
static right = new Vector2(1, 0);
|
|
36
|
+
static up = new Vector2(0, 1);
|
|
37
|
+
static down = new Vector2(0, -1);
|
|
38
|
+
static distance(a, b) {
|
|
39
|
+
return this.minus(a, b).magintude;
|
|
40
|
+
}
|
|
41
|
+
distanceTo(to) {
|
|
42
|
+
return Vector2.distance(this, to);
|
|
43
|
+
}
|
|
44
|
+
static minus(a, b) {
|
|
45
|
+
return this.plus(a, this.negative(b));
|
|
46
|
+
}
|
|
47
|
+
minus(vector) {
|
|
48
|
+
this.newVector(Vector2.minus(this, vector));
|
|
49
|
+
}
|
|
50
|
+
static plus(a, b) {
|
|
51
|
+
return new Vector2(a.x + b.x, a.y + b.y);
|
|
52
|
+
}
|
|
53
|
+
plus(vector) {
|
|
54
|
+
this.newVector(Vector2.plus(this, vector));
|
|
55
|
+
}
|
|
56
|
+
static multiply(v, n) {
|
|
57
|
+
return new Vector2(v.x * n, v.y * n);
|
|
58
|
+
}
|
|
59
|
+
multiply(n) {
|
|
60
|
+
this.newVector(Vector2.multiply(this, n));
|
|
61
|
+
}
|
|
62
|
+
static negative(v) {
|
|
63
|
+
return new Vector2(-v.x, -v.y);
|
|
64
|
+
}
|
|
65
|
+
getNegative() {
|
|
66
|
+
return Vector2.negative(this);
|
|
67
|
+
}
|
|
68
|
+
negate() {
|
|
69
|
+
this.newVector(Vector2.negative(this));
|
|
70
|
+
}
|
|
71
|
+
static rebase(v, baseFrom, baseTo) {
|
|
72
|
+
return this.plus(v, this.minus(baseTo, baseFrom));
|
|
73
|
+
}
|
|
74
|
+
rebase(baseFrom, baseTo) {
|
|
75
|
+
this.newVector(Vector2.rebase(this, baseFrom, baseTo));
|
|
76
|
+
}
|
|
77
|
+
static rotate(vector, angle) {
|
|
78
|
+
const rad = trigonometry_util_1.Dynamo_Trigonometry.angleToRadians(angle);
|
|
79
|
+
return this.rotateRad(vector, rad);
|
|
80
|
+
}
|
|
81
|
+
static rotateRad(vector, rad) {
|
|
82
|
+
const cos = Math.cos(rad);
|
|
83
|
+
const sin = Math.sin(rad);
|
|
84
|
+
const newX = (vector.x * cos) - (vector.y * sin);
|
|
85
|
+
const newY = (vector.x * sin) + (vector.y * cos);
|
|
86
|
+
return new Vector2(newX, newY);
|
|
87
|
+
}
|
|
88
|
+
rotate(angle) {
|
|
89
|
+
this.newVector(Vector2.rotate(this, angle));
|
|
90
|
+
}
|
|
91
|
+
rotateRad(rad) {
|
|
92
|
+
this.newVector(Vector2.rotateRad(this, rad));
|
|
93
|
+
}
|
|
94
|
+
newVector(newV) {
|
|
95
|
+
this.newXY(newV.x, newV.y);
|
|
96
|
+
}
|
|
97
|
+
newXY(newX, newY) {
|
|
98
|
+
this._x = newX;
|
|
99
|
+
this._y = newY;
|
|
100
|
+
this.calcMagnitude();
|
|
101
|
+
}
|
|
102
|
+
calcMagnitude() {
|
|
103
|
+
this._magintude = trigonometry_util_1.Dynamo_Trigonometry.getHypotenuse(this._x, this._y);
|
|
104
|
+
}
|
|
105
|
+
clone() {
|
|
106
|
+
return new Vector2(this._x, this._y);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.Vector2 = Vector2;
|
|
107
110
|
//# sourceMappingURL=vector.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector.util.js","sourceRoot":"","sources":["../../src/_utils/vector.util.ts"],"names":[],"mappings":";;;AACA,2DAA0D;AAE1D,MAAa,OAAO;
|
|
1
|
+
{"version":3,"file":"vector.util.js","sourceRoot":"","sources":["../../src/_utils/vector.util.ts"],"names":[],"mappings":";;;AACA,2DAA0D;AAE1D,MAAa,OAAO;IACV,EAAE,CAAS;IACnB,IAAI,CAAC,CAAE,KAAa;QAClB,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC;QAChB,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAAA,CAAC;IACF,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,EAAE,CAAC;IACjB,CAAC;IAEO,EAAE,CAAS;IACnB,IAAI,CAAC,CAAE,KAAa;QAClB,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC;QAChB,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAAA,CAAC;IACF,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,EAAE,CAAC;IACjB,CAAC;IAEO,UAAU,CAAS;IAC3B,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,YAAY,CAAS,EAAE,CAAS;QAC9B,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QACZ,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QACZ,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,MAAM,CAAU,IAA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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './_utils';
|
|
2
|
-
export * from './_constants';
|
|
3
|
-
export * from './_enums';
|
|
4
|
-
export * from './_models';
|
|
1
|
+
export * from './_utils';
|
|
2
|
+
export * from './_constants';
|
|
3
|
+
export * from './_enums';
|
|
4
|
+
export * from './_models';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
// COLLECTIONS
|
|
5
|
-
tslib_1.__exportStar(require("./_utils"), exports);
|
|
6
|
-
// CONSTANTS
|
|
7
|
-
tslib_1.__exportStar(require("./_constants"), exports);
|
|
8
|
-
// ENUMS
|
|
9
|
-
tslib_1.__exportStar(require("./_enums"), exports);
|
|
10
|
-
// MODELS
|
|
11
|
-
tslib_1.__exportStar(require("./_models"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
// COLLECTIONS
|
|
5
|
+
tslib_1.__exportStar(require("./_utils"), exports);
|
|
6
|
+
// CONSTANTS
|
|
7
|
+
tslib_1.__exportStar(require("./_constants"), exports);
|
|
8
|
+
// ENUMS
|
|
9
|
+
tslib_1.__exportStar(require("./_enums"), exports);
|
|
10
|
+
// MODELS
|
|
11
|
+
tslib_1.__exportStar(require("./_models"), exports);
|
|
12
12
|
//# sourceMappingURL=index.js.map
|