@futdevpro/fsm-dynamo 1.9.9 → 1.9.10
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/_collections/constants/country-divisions.const.d.ts +1 -1
- package/build/_collections/constants/country-divisions.const.d.ts.map +1 -1
- package/build/_collections/constants/country-divisions.const.js +2 -2
- package/build/_collections/constants/country-divisions.const.js.map +1 -1
- package/build/_collections/constants/courtry-isos.const.d.ts +1 -1
- package/build/_collections/constants/courtry-isos.const.d.ts.map +1 -1
- package/build/_collections/constants/courtry-isos.const.js +2 -2
- package/build/_collections/constants/courtry-isos.const.js.map +1 -1
- package/build/_collections/constants/error-defaults.const.d.ts +1 -1
- package/build/_collections/constants/error-defaults.const.d.ts.map +1 -1
- package/build/_collections/constants/module-settings/usage-module-settings.const.js +1 -1
- package/build/_collections/constants/pipe-transforms.const.js +12 -12
- package/build/_collections/constants/pipe-transforms.const.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/division-pipe.util.js +1 -1
- package/build/_collections/utils/pipe-transforms/division-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/list-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/list-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/range-pipe.util.d.ts +2 -2
- package/build/_collections/utils/pipe-transforms/range-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/range-pipe.util.js +11 -11
- package/build/_collections/utils/pipe-transforms/range-pipe.util.js.map +1 -1
- package/build/_collections/utils/regions.util.d.ts.map +1 -1
- package/build/_collections/utils/regions.util.js +3 -0
- package/build/_collections/utils/regions.util.js.map +1 -1
- package/build/_enums/range-pipe-setting.enum.d.ts +1 -1
- package/build/_enums/range-pipe-setting.enum.d.ts.map +1 -1
- package/build/_enums/range-pipe-setting.enum.js +12 -12
- package/build/_enums/range-pipe-setting.enum.js.map +1 -1
- package/build/_models/interfaces/index.d.ts +3 -0
- package/build/_models/interfaces/index.d.ts.map +1 -1
- package/build/_models/interfaces/index.js +3 -0
- package/build/_models/interfaces/index.js.map +1 -1
- package/build/_models/interfaces/pipe-transforms.interface.d.ts +2 -2
- package/build/_models/interfaces/pipe-transforms.interface.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/_collections/constants/country-divisions.const.ts +2 -2
- package/src/_collections/constants/courtry-isos.const.ts +2 -2
- package/src/_collections/constants/error-defaults.const.ts +1 -1
- package/src/_collections/constants/module-settings/usage-module-settings.const.ts +1 -1
- package/src/_collections/constants/pipe-transforms.const.ts +1 -1
- package/src/_collections/utils/pipe-transforms/division-pipe.util.ts +1 -1
- package/src/_collections/utils/pipe-transforms/list-pipe.util.ts +0 -4
- package/src/_collections/utils/pipe-transforms/range-pipe.util.ts +14 -14
- package/src/_collections/utils/regions.util.ts +3 -0
- package/src/_enums/range-pipe-setting.enum.ts +1 -1
- package/src/_models/interfaces/index.ts +3 -0
- package/src/_models/interfaces/pipe-transforms.interface.ts +2 -2
- package/build/_enums/region.enum.d.ts +0 -8
- package/build/_enums/region.enum.d.ts.map +0 -1
- package/build/_enums/region.enum.js +0 -12
- package/build/_enums/region.enum.js.map +0 -1
- package/build/_enums/relative-date.enum.d.ts +0 -9
- package/build/_enums/relative-date.enum.d.ts.map +0 -1
- package/build/_enums/relative-date.enum.js +0 -13
- package/build/_enums/relative-date.enum.js.map +0 -1
- package/build/_enums/sub-region.enum.d.ts +0 -20
- package/build/_enums/sub-region.enum.d.ts.map +0 -1
- package/build/_enums/sub-region.enum.js +0 -24
- package/build/_enums/sub-region.enum.js.map +0 -1
- package/build/_enums/subdivision-region-type.enum.d.ts +0 -41
- package/build/_enums/subdivision-region-type.enum.d.ts.map +0 -1
- package/build/_enums/subdivision-region-type.enum.js +0 -46
- package/build/_enums/subdivision-region-type.enum.js.map +0 -1
- package/src/_enums/region.enum.ts +0 -9
- package/src/_enums/relative-date.enum.ts +0 -13
- package/src/_enums/sub-region.enum.ts +0 -26
- package/src/_enums/subdivision-region-type.enum.ts +0 -44
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DynamoFM_CountryDivision } from '../../_models';
|
|
1
|
+
import { DynamoFM_CountryDivision } from '../../_models/interfaces/location/country-division.interface';
|
|
2
2
|
export declare const DynamoFM_countryDivisions: DynamoFM_CountryDivision[];
|
|
3
3
|
//# sourceMappingURL=country-divisions.const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country-divisions.const.d.ts","sourceRoot":"","sources":["../../../src/_collections/constants/country-divisions.const.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"country-divisions.const.d.ts","sourceRoot":"","sources":["../../../src/_collections/constants/country-divisions.const.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8DAA8D,CAAC;AAGxG,eAAO,MAAM,yBAAyB,EAAE,wBAAwB,EAC7B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DynamoFM_countryDivisions = void 0;
|
|
4
|
-
const
|
|
5
|
-
exports.DynamoFM_countryDivisions =
|
|
4
|
+
const regions_util_1 = require("../utils/regions.util");
|
|
5
|
+
exports.DynamoFM_countryDivisions = regions_util_1.DynamoFM_Regions?.divisions ?? [];
|
|
6
6
|
//# sourceMappingURL=country-divisions.const.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country-divisions.const.js","sourceRoot":"","sources":["../../../src/_collections/constants/country-divisions.const.ts"],"names":[],"mappings":";;;AAKA,
|
|
1
|
+
{"version":3,"file":"country-divisions.const.js","sourceRoot":"","sources":["../../../src/_collections/constants/country-divisions.const.ts"],"names":[],"mappings":";;;AAKA,wDAAyD;AAE5C,QAAA,yBAAyB,GACpC,+BAAgB,EAAE,SAAS,IAAI,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"courtry-isos.const.d.ts","sourceRoot":"","sources":["../../../src/_collections/constants/courtry-isos.const.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"courtry-isos.const.d.ts","sourceRoot":"","sources":["../../../src/_collections/constants/courtry-isos.const.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAG9F,eAAO,MAAM,oBAAoB,EAAE,mBAAmB,EAAwC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DynamoFM_countryISOs = void 0;
|
|
4
|
-
const
|
|
5
|
-
exports.DynamoFM_countryISOs =
|
|
4
|
+
const regions_util_1 = require("../utils/regions.util");
|
|
5
|
+
exports.DynamoFM_countryISOs = regions_util_1.DynamoFM_Regions?.countryISOs ?? [];
|
|
6
6
|
//# sourceMappingURL=courtry-isos.const.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"courtry-isos.const.js","sourceRoot":"","sources":["../../../src/_collections/constants/courtry-isos.const.ts"],"names":[],"mappings":";;;AAIA,
|
|
1
|
+
{"version":3,"file":"courtry-isos.const.js","sourceRoot":"","sources":["../../../src/_collections/constants/courtry-isos.const.ts"],"names":[],"mappings":";;;AAIA,wDAAyD;AAE5C,QAAA,oBAAoB,GAA0B,+BAAgB,EAAE,WAAW,IAAI,EAAE,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DynamoFM_Error_Defaults } from '../../_models';
|
|
1
|
+
import { DynamoFM_Error_Defaults } from '../../_models/interfaces/error-defaults.interface';
|
|
2
2
|
export declare const DynamoFM_error_defaults: DynamoFM_Error_Defaults;
|
|
3
3
|
//# sourceMappingURL=error-defaults.const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-defaults.const.d.ts","sourceRoot":"","sources":["../../../src/_collections/constants/error-defaults.const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"error-defaults.const.d.ts","sourceRoot":"","sources":["../../../src/_collections/constants/error-defaults.const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAE5F,eAAO,MAAM,uBAAuB,EAAE,uBAOrC,CAAC"}
|
|
@@ -15,6 +15,6 @@ exports.DynamoFM_usageModule_settings = {
|
|
|
15
15
|
[DynamoFM_UsageRoute.closeSession]: '/close-session/:sessionId',
|
|
16
16
|
[DynamoFM_UsageRoute.updateUsage]: '/update/:sessionId',
|
|
17
17
|
[DynamoFM_UsageRoute.getUsageData]: '/get/:range',
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=usage-module-settings.const.js.map
|
|
@@ -12,18 +12,18 @@ const region_pipe_util_1 = require("../utils/pipe-transforms/region-pipe.util");
|
|
|
12
12
|
const replace_pipe_util_1 = require("../utils/pipe-transforms/replace-pipe.util");
|
|
13
13
|
const slider_pipe_util_1 = require("../utils/pipe-transforms/slider-pipe.util");
|
|
14
14
|
const smart_replace_pipe_util_1 = require("../utils/pipe-transforms/smart-replace-pipe.util");
|
|
15
|
-
const
|
|
15
|
+
const pipe_enum_1 = require("../../_enums/pipe.enum");
|
|
16
16
|
exports.DynamoFM_pipeTransforms = {
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
17
|
+
[pipe_enum_1.DynamoFM_Pipe.country]: country_pipe_util_1.DynamoFM_country_pipeTransform,
|
|
18
|
+
[pipe_enum_1.DynamoFM_Pipe.custom]: custom_pipe_util_1.DynamoFM_custom_pipeTransform,
|
|
19
|
+
[pipe_enum_1.DynamoFM_Pipe.division]: division_pipe_util_1.DynamoFM_division_pipeTransform,
|
|
20
|
+
[pipe_enum_1.DynamoFM_Pipe.list]: list_pipe_util_1.DynamoFM_list_pipeTransform,
|
|
21
|
+
[pipe_enum_1.DynamoFM_Pipe.multiPipe]: multi_pipe_pipe_util_1.DynamoFM_multiPipe_pipeTransform,
|
|
22
|
+
[pipe_enum_1.DynamoFM_Pipe.objKey]: obj_key_pipe_util_1.DynamoFM_objKey_pipeTransform,
|
|
23
|
+
[pipe_enum_1.DynamoFM_Pipe.range]: range_pipe_util_1.DynamoFM_range_pipeTransform,
|
|
24
|
+
[pipe_enum_1.DynamoFM_Pipe.region]: region_pipe_util_1.DynamoFM_region_pipeTransform,
|
|
25
|
+
[pipe_enum_1.DynamoFM_Pipe.replace]: replace_pipe_util_1.DynamoFM_replace_pipeTransform,
|
|
26
|
+
[pipe_enum_1.DynamoFM_Pipe.slider]: slider_pipe_util_1.DynamoFM_slider_pipeTransform,
|
|
27
|
+
[pipe_enum_1.DynamoFM_Pipe.smartReplace]: smart_replace_pipe_util_1.DynamoFM_smartReplace_pipeTransform,
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=pipe-transforms.const.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipe-transforms.const.js","sourceRoot":"","sources":["../../../src/_collections/constants/pipe-transforms.const.ts"],"names":[],"mappings":";;;AAIA,kFAA4F;AAC5F,gFAA0F;AAC1F,oFAA8F;AAC9F,4EAAsF;AACtF,wFAAiG;AACjG,kFAA2F;AAC3F,8EAAwF;AACxF,gFAA0F;AAC1F,kFAA4F;AAC5F,gFAA0F;AAC1F,8FAAuG;AAEvG,
|
|
1
|
+
{"version":3,"file":"pipe-transforms.const.js","sourceRoot":"","sources":["../../../src/_collections/constants/pipe-transforms.const.ts"],"names":[],"mappings":";;;AAIA,kFAA4F;AAC5F,gFAA0F;AAC1F,oFAA8F;AAC9F,4EAAsF;AACtF,wFAAiG;AACjG,kFAA2F;AAC3F,8EAAwF;AACxF,gFAA0F;AAC1F,kFAA4F;AAC5F,gFAA0F;AAC1F,8FAAuG;AAEvG,sDAAuD;AAI1C,QAAA,uBAAuB,GAA4B;IAC9D,CAAC,yBAAa,CAAC,OAAO,CAAC,EAAE,kDAA8B;IACvD,CAAC,yBAAa,CAAC,MAAM,CAAC,EAAE,gDAA6B;IACrD,CAAC,yBAAa,CAAC,QAAQ,CAAC,EAAE,oDAA+B;IACzD,CAAC,yBAAa,CAAC,IAAI,CAAC,EAAE,4CAA2B;IACjD,CAAC,yBAAa,CAAC,SAAS,CAAC,EAAE,uDAAgC;IAC3D,CAAC,yBAAa,CAAC,MAAM,CAAC,EAAE,iDAA6B;IACrD,CAAC,yBAAa,CAAC,KAAK,CAAC,EAAE,8CAA4B;IACnD,CAAC,yBAAa,CAAC,MAAM,CAAC,EAAE,gDAA6B;IACrD,CAAC,yBAAa,CAAC,OAAO,CAAC,EAAE,kDAA8B;IACvD,CAAC,yBAAa,CAAC,MAAM,CAAC,EAAE,gDAA6B;IACrD,CAAC,yBAAa,CAAC,YAAY,CAAC,EAAE,6DAAmC;CAClE,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DynamoFM_division_pipeTransform = void 0;
|
|
4
4
|
const country_divisions_const_1 = require("../../constants/country-divisions.const");
|
|
5
5
|
function DynamoFM_division_pipeTransform(divisionCode, countryISO) {
|
|
6
|
-
const result = country_divisions_const_1.DynamoFM_countryDivisions?.find((d) => d
|
|
6
|
+
const result = country_divisions_const_1.DynamoFM_countryDivisions?.find((d) => d?.code === divisionCode && d?.iso === countryISO)?.name;
|
|
7
7
|
return result ?? divisionCode;
|
|
8
8
|
}
|
|
9
9
|
exports.DynamoFM_division_pipeTransform = DynamoFM_division_pipeTransform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"division-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/division-pipe.util.ts"],"names":[],"mappings":";;;AAWA,qFAAoF;AAEpF,SAAgB,+BAA+B,CAAC,YAAoB,EAAE,UAAkB;IACtF,MAAM,MAAM,GAAW,mDAAyB,EAAE,IAAI,CACpD,CAAC,CAA2B,EAAW,EAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"division-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/division-pipe.util.ts"],"names":[],"mappings":";;;AAWA,qFAAoF;AAEpF,SAAgB,+BAA+B,CAAC,YAAoB,EAAE,UAAkB;IACtF,MAAM,MAAM,GAAW,mDAAyB,EAAE,IAAI,CACpD,CAAC,CAA2B,EAAW,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,YAAY,IAAI,CAAC,EAAE,GAAG,KAAK,UAAU,CAC5F,EAAE,IAAI,CAAC;IAER,OAAO,MAAM,IAAI,YAAY,CAAC;AAChC,CAAC;AAND,0EAMC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/list-pipe.util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/list-pipe.util.ts"],"names":[],"mappings":"AAOA,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,MAAM,CAEhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/list-pipe.util.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"list-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/list-pipe.util.ts"],"names":[],"mappings":";;;AAOA,SAAgB,2BAA2B,CAAC,KAAY;IACtD,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAC9C,CAAC;AAFD,kEAEC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DynamoFM_RangePipe_Setting } from '../../../_enums';
|
|
2
2
|
import { DynamoFM_RangeValue } from '../../../_models';
|
|
3
3
|
import { DynamoFM_MultiPipe_Setting } from '../../../_models/interfaces/multi-pipe-settings.type';
|
|
4
|
-
export declare function DynamoFM_range_pipeTransform(value: DynamoFM_RangeValue, setting:
|
|
4
|
+
export declare function DynamoFM_range_pipeTransform(value: DynamoFM_RangeValue, setting: DynamoFM_RangePipe_Setting, multiPipes?: DynamoFM_MultiPipe_Setting[]): string | number | DynamoFM_RangeValue;
|
|
5
5
|
//# sourceMappingURL=range-pipe.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/range-pipe.util.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"range-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/range-pipe.util.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAGlG,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,mBAAmB,EAC1B,OAAO,EAAE,0BAA0B,EACnC,UAAU,CAAC,EAAE,0BAA0B,EAAE,GACxC,MAAM,GAAG,MAAM,GAAG,mBAAmB,CAmCvC"}
|
|
@@ -8,17 +8,17 @@ function DynamoFM_range_pipeTransform(value, setting, multiPipes) {
|
|
|
8
8
|
return value;
|
|
9
9
|
}
|
|
10
10
|
switch (setting) {
|
|
11
|
-
case _enums_1.
|
|
12
|
-
case _enums_1.
|
|
11
|
+
case _enums_1.DynamoFM_RangePipe_Setting.avg:
|
|
12
|
+
case _enums_1.DynamoFM_RangePipe_Setting.average:
|
|
13
13
|
return (value.to + value.from) / 2;
|
|
14
|
-
case _enums_1.
|
|
15
|
-
case _enums_1.
|
|
14
|
+
case _enums_1.DynamoFM_RangePipe_Setting.min:
|
|
15
|
+
case _enums_1.DynamoFM_RangePipe_Setting.from:
|
|
16
16
|
return value.from;
|
|
17
|
-
case _enums_1.
|
|
18
|
-
case _enums_1.
|
|
17
|
+
case _enums_1.DynamoFM_RangePipe_Setting.max:
|
|
18
|
+
case _enums_1.DynamoFM_RangePipe_Setting.to:
|
|
19
19
|
return value.to;
|
|
20
|
-
case _enums_1.
|
|
21
|
-
case _enums_1.
|
|
20
|
+
case _enums_1.DynamoFM_RangePipe_Setting.both:
|
|
21
|
+
case _enums_1.DynamoFM_RangePipe_Setting.fromTo:
|
|
22
22
|
if (0 < multiPipes?.length) {
|
|
23
23
|
if (value.from === value.to) {
|
|
24
24
|
return (0, multi_pipe_pipe_util_1.DynamoFM_multiPipe_pipeTransform)(value.from, multiPipes);
|
|
@@ -44,10 +44,10 @@ function checkRangePipeRequirements(value, setting, multiPipes) {
|
|
|
44
44
|
return false;
|
|
45
45
|
}
|
|
46
46
|
if (!setting) {
|
|
47
|
-
setting = _enums_1.
|
|
47
|
+
setting = _enums_1.DynamoFM_RangePipe_Setting.fromTo;
|
|
48
48
|
}
|
|
49
|
-
if (setting !== _enums_1.
|
|
50
|
-
setting !== _enums_1.
|
|
49
|
+
if (setting !== _enums_1.DynamoFM_RangePipe_Setting.both &&
|
|
50
|
+
setting !== _enums_1.DynamoFM_RangePipe_Setting.fromTo &&
|
|
51
51
|
0 < multiPipes?.length) {
|
|
52
52
|
console.warn('DYNAMO WARNING: ' +
|
|
53
53
|
'\nRangePipe: you can only use further pipes with setting "both"/"from-to"...', '\nThere is no need to use this special syntax for the other pipes.', '\nvalue: ', value, '\nsetting: ', setting, '\nfurtherPipes: ', multiPipes, '\n\n', new Error());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/range-pipe.util.ts"],"names":[],"mappings":";;;AAOA,
|
|
1
|
+
{"version":3,"file":"range-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/range-pipe.util.ts"],"names":[],"mappings":";;;AAOA,4CAA6D;AAG7D,iEAA0E;AAE1E,SAAgB,4BAA4B,CAC1C,KAA0B,EAC1B,OAAmC,EACnC,UAAyC;IAEzC,IAAI,CAAC,0BAA0B,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,CAAC;QAC5D,OAAO,KAAK,CAAC;IACf,CAAC;IAED,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,mCAA0B,CAAC,GAAG,CAAC;QACpC,KAAK,mCAA0B,CAAC,OAAO;YACrC,OAAO,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAErC,KAAK,mCAA0B,CAAC,GAAG,CAAC;QACpC,KAAK,mCAA0B,CAAC,IAAI;YAClC,OAAO,KAAK,CAAC,IAAI,CAAC;QAEpB,KAAK,mCAA0B,CAAC,GAAG,CAAC;QACpC,KAAK,mCAA0B,CAAC,EAAE;YAChC,OAAO,KAAK,CAAC,EAAE,CAAC;QAElB,KAAK,mCAA0B,CAAC,IAAI,CAAC;QACrC,KAAK,mCAA0B,CAAC,MAAM;YACpC,IAAI,CAAC,GAAG,UAAU,EAAE,MAAM,EAAE,CAAC;gBAC3B,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,EAAE,EAAE,CAAC;oBAC5B,OAAO,IAAA,uDAAgC,EAAC,KAAK,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;gBAClE,CAAC;qBAAM,CAAC;oBACN,OAAO,IAAA,uDAAgC,EAAC,KAAK,CAAC,IAAI,EAAE,UAAU,CAAC;wBAC7D,KAAK;wBACL,IAAA,uDAAgC,EAAC,KAAK,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;gBAC3D,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,OAAO,GAAG,KAAK,CAAC,IAAI,MAAM,KAAK,CAAC,EAAE,EAAE,CAAC;YACvC,CAAC;QAEH;YACE,OAAO,KAAK,CAAC;IACjB,CAAC;AACH,CAAC;AAvCD,oEAuCC;AAED,SAAS,0BAA0B,CACjC,KAA0B,EAC1B,OAA4C,EAC5C,UAAyC;IAEzC,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC;QACpB,OAAO,CAAC,IAAI,CACV,kBAAkB;YAClB,oDAAoD,EACpD,sDAAsD,EACtD,WAAW,EAAE,KAAK,EAClB,MAAM,EACN,IAAI,KAAK,EAAE,CACZ,CAAC;QAEF,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,GAAG,mCAA0B,CAAC,MAAM,CAAC;IAC9C,CAAC;IAED,IACE,OAAO,KAAK,mCAA0B,CAAC,IAAI;QAC3C,OAAO,KAAK,mCAA0B,CAAC,MAAM;QAC7C,CAAC,GAAG,UAAU,EAAE,MAAM,EACtB,CAAC;QACD,OAAO,CAAC,IAAI,CACV,kBAAkB;YAClB,8EAA8E,EAC9E,oEAAoE,EACpE,WAAW,EAAE,KAAK,EAClB,aAAa,EAAE,OAAO,EACtB,kBAAkB,EAAE,UAAU,EAC9B,MAAM,EACN,IAAI,KAAK,EAAE,CACZ,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regions.util.d.ts","sourceRoot":"","sources":["../../../src/_collections/utils/regions.util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"regions.util.d.ts","sourceRoot":"","sources":["../../../src/_collections/utils/regions.util.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,OAAO,EACL,yBAAyB,EAC1B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,8DAA8D,CAAC;AAIxG,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAC;AAC3C,qBAAa,gBAAgB;IAE3B,MAAM,CAAC,SAAS,EAAE,wBAAwB,EAAE,CAAsC;IAClF,MAAM,CAAC,UAAU,EAAE,yBAAyB,EAAE,CAAuC;IACrF,MAAM,CAAC,WAAW,EAAE,mBAAmB,EAAE,CAAuC;IAEhF,OAAO,CAAC,MAAM,CAAC,eAAe;IAK9B,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAS/B,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAiB/B,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB;IAczD,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe;IAcjD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,yBAAyB;CAa/D"}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DynamoFM_Regions = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
/* const ISOs = [];
|
|
6
|
+
const PhoneCodes = [];
|
|
7
|
+
const Divisions = []; */
|
|
5
8
|
const ISOs = tslib_1.__importStar(require("../assets/location/country-codes-ISO-3166.json"));
|
|
6
9
|
const PhoneCodes = tslib_1.__importStar(require("../assets/location/country-phone-codes.json"));
|
|
7
10
|
const Divisions = tslib_1.__importStar(require("../assets/location/country-divisions-ISO-3166-all-list.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AS,EAAE,CAAC;YACf,MAAM,IAAI,wBAAc,CAAC;gBACvB,OAAO,EAAE,uCAAuC,IAAI,EAAE;aACvD,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;;AA7EH,4CA8EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-pipe-setting.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/range-pipe-setting.enum.ts"],"names":[],"mappings":"AACA,oBAAY,
|
|
1
|
+
{"version":3,"file":"range-pipe-setting.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/range-pipe-setting.enum.ts"],"names":[],"mappings":"AACA,oBAAY,0BAA0B;IACpC,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,IAAI,SAAS;IACb,MAAM,YAAY;CACnB"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})(
|
|
3
|
+
exports.DynamoFM_RangePipe_Setting = void 0;
|
|
4
|
+
var DynamoFM_RangePipe_Setting;
|
|
5
|
+
(function (DynamoFM_RangePipe_Setting) {
|
|
6
|
+
DynamoFM_RangePipe_Setting["avg"] = "avg";
|
|
7
|
+
DynamoFM_RangePipe_Setting["average"] = "average";
|
|
8
|
+
DynamoFM_RangePipe_Setting["min"] = "min";
|
|
9
|
+
DynamoFM_RangePipe_Setting["from"] = "from";
|
|
10
|
+
DynamoFM_RangePipe_Setting["max"] = "max";
|
|
11
|
+
DynamoFM_RangePipe_Setting["to"] = "to";
|
|
12
|
+
DynamoFM_RangePipe_Setting["both"] = "both";
|
|
13
|
+
DynamoFM_RangePipe_Setting["fromTo"] = "from-to";
|
|
14
|
+
})(DynamoFM_RangePipe_Setting || (exports.DynamoFM_RangePipe_Setting = DynamoFM_RangePipe_Setting = {}));
|
|
15
15
|
//# sourceMappingURL=range-pipe-setting.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-pipe-setting.enum.js","sourceRoot":"","sources":["../../src/_enums/range-pipe-setting.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,
|
|
1
|
+
{"version":3,"file":"range-pipe-setting.enum.js","sourceRoot":"","sources":["../../src/_enums/range-pipe-setting.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,0BASX;AATD,WAAY,0BAA0B;IACpC,yCAAW,CAAA;IACX,iDAAmB,CAAA;IACnB,yCAAW,CAAA;IACX,2CAAa,CAAA;IACb,yCAAW,CAAA;IACX,uCAAS,CAAA;IACT,2CAAa,CAAA;IACb,gDAAkB,CAAA;AACpB,CAAC,EATW,0BAA0B,0CAA1B,0BAA0B,QASrC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from './error-defaults.interface';
|
|
2
|
+
export * from './multi-pipe-settings.type';
|
|
3
|
+
export * from './paged.interface';
|
|
4
|
+
export * from './pipe-transforms.interface';
|
|
2
5
|
export * from './random-weight.interface';
|
|
3
6
|
export * from './route-settings.interface';
|
|
4
7
|
export * from './location';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_models/interfaces/index.ts"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAG3C,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_models/interfaces/index.ts"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAG3C,cAAc,YAAY,CAAC"}
|
|
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
// INTERFACES
|
|
5
5
|
tslib_1.__exportStar(require("./error-defaults.interface"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./multi-pipe-settings.type"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./paged.interface"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pipe-transforms.interface"), exports);
|
|
6
9
|
tslib_1.__exportStar(require("./random-weight.interface"), exports);
|
|
7
10
|
tslib_1.__exportStar(require("./route-settings.interface"), exports);
|
|
8
11
|
// LOCATION INTERFACES
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_models/interfaces/index.ts"],"names":[],"mappings":";;;AACA,aAAa;AACb,qEAA2C;AAC3C,oEAA0C;AAC1C,qEAA2C;AAE3C,sBAAsB;AACtB,qDAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_models/interfaces/index.ts"],"names":[],"mappings":";;;AACA,aAAa;AACb,qEAA2C;AAC3C,qEAA2C;AAC3C,4DAAkC;AAClC,sEAA4C;AAC5C,oEAA0C;AAC1C,qEAA2C;AAE3C,sBAAsB;AACtB,qDAA2B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DynamoFM_RangePipe_Setting } from '../../_enums/range-pipe-setting.enum';
|
|
2
2
|
import { DynamoFM_RangeValue } from '../control-models/range-value.control-model';
|
|
3
3
|
import { DynamoFM_MultiPipe_Setting } from './multi-pipe-settings.type';
|
|
4
4
|
import { DynamoFM_Pipe } from '../../_enums/pipe.enum';
|
|
@@ -9,7 +9,7 @@ export interface DynamoFM_PipeTransforms {
|
|
|
9
9
|
[DynamoFM_Pipe.list]: (value: any[]) => string;
|
|
10
10
|
[DynamoFM_Pipe.multiPipe]: (value: any, pipes: any[]) => any;
|
|
11
11
|
[DynamoFM_Pipe.objKey]: (value: any, key: string) => any;
|
|
12
|
-
[DynamoFM_Pipe.range]: (value: DynamoFM_RangeValue, setting:
|
|
12
|
+
[DynamoFM_Pipe.range]: (value: DynamoFM_RangeValue, setting: DynamoFM_RangePipe_Setting, multiPipes: DynamoFM_MultiPipe_Setting[]) => string | number | DynamoFM_RangeValue;
|
|
13
13
|
[DynamoFM_Pipe.region]: (value: string) => string;
|
|
14
14
|
[DynamoFM_Pipe.replace]: (value: string, from: string, to: string) => string;
|
|
15
15
|
[DynamoFM_Pipe.slider]: (value: number | DynamoFM_RangeValue<number> | string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipe-transforms.interface.d.ts","sourceRoot":"","sources":["../../../src/_models/interfaces/pipe-transforms.interface.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"pipe-transforms.interface.d.ts","sourceRoot":"","sources":["../../../src/_models/interfaces/pipe-transforms.interface.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,MAAM,WAAW,uBAAuB;IACtC,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACnD,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,eAAe,EAAE,CA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09.
|
|
3
|
+
"version": "01.09.10",
|
|
4
4
|
"description": "Full Stack Model Collection for Dynamic (NodeJS-Typescript) Framework called Dynamo, by Future Development Ltd.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prep": "npm i pnpm -g && npm i rimraf nodemon -g",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
import { DynamoFM_CountryDivision } from '../../_models';
|
|
6
|
-
import { DynamoFM_Regions } from '../utils';
|
|
5
|
+
import { DynamoFM_CountryDivision } from '../../_models/interfaces/location/country-division.interface';
|
|
6
|
+
import { DynamoFM_Regions } from '../utils/regions.util';
|
|
7
7
|
|
|
8
8
|
export const DynamoFM_countryDivisions: DynamoFM_CountryDivision[] =
|
|
9
9
|
DynamoFM_Regions?.divisions ?? [];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
import { DynamoFM_CountryISO } from '../../_models';
|
|
5
|
-
import { DynamoFM_Regions } from '../utils';
|
|
4
|
+
import { DynamoFM_CountryISO } from '../../_models/interfaces/location/country-iso.interface';
|
|
5
|
+
import { DynamoFM_Regions } from '../utils/regions.util';
|
|
6
6
|
|
|
7
7
|
export const DynamoFM_countryISOs: DynamoFM_CountryISO[] = DynamoFM_Regions?.countryISOs ?? [];
|
|
8
8
|
|
|
@@ -15,5 +15,5 @@ export const DynamoFM_usageModule_settings: DynamoFM_Route_Settings<DynamoFM_Usa
|
|
|
15
15
|
[DynamoFM_UsageRoute.closeSession]: '/close-session/:sessionId',
|
|
16
16
|
[DynamoFM_UsageRoute.updateUsage]: '/update/:sessionId',
|
|
17
17
|
[DynamoFM_UsageRoute.getUsageData]: '/get/:range',
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
19
|
};
|
|
@@ -14,7 +14,7 @@ import { DynamoFM_replace_pipeTransform } from '../utils/pipe-transforms/replace
|
|
|
14
14
|
import { DynamoFM_slider_pipeTransform } from '../utils/pipe-transforms/slider-pipe.util';
|
|
15
15
|
import { DynamoFM_smartReplace_pipeTransform } from '../utils/pipe-transforms/smart-replace-pipe.util';
|
|
16
16
|
import { DynamoFM_PipeTransforms } from '../../_models/interfaces/pipe-transforms.interface';
|
|
17
|
-
import { DynamoFM_Pipe } from '../../_enums';
|
|
17
|
+
import { DynamoFM_Pipe } from '../../_enums/pipe.enum';
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -13,7 +13,7 @@ import { DynamoFM_countryDivisions } from '../../constants/country-divisions.con
|
|
|
13
13
|
|
|
14
14
|
export function DynamoFM_division_pipeTransform(divisionCode: string, countryISO: string): string {
|
|
15
15
|
const result: string = DynamoFM_countryDivisions?.find(
|
|
16
|
-
(d: DynamoFM_CountryDivision): boolean => d
|
|
16
|
+
(d: DynamoFM_CountryDivision): boolean => d?.code === divisionCode && d?.iso === countryISO
|
|
17
17
|
)?.name;
|
|
18
18
|
|
|
19
19
|
return result ?? divisionCode;
|
|
@@ -5,10 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
import { DynamoFM_CountryISO } from '../../../_models';
|
|
9
|
-
import { DynamoFM_countryISOs } from '../../constants/courtry-isos.const';
|
|
10
|
-
|
|
11
|
-
|
|
12
8
|
export function DynamoFM_list_pipeTransform(value: any[]): string {
|
|
13
9
|
return value.toString().replace(/,/g, ', ');
|
|
14
10
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { DynamoFM_RangePipe_Setting } from '../../../_enums';
|
|
9
9
|
import { DynamoFM_RangeValue } from '../../../_models';
|
|
10
10
|
import { DynamoFM_MultiPipe_Setting } from '../../../_models/interfaces/multi-pipe-settings.type';
|
|
11
11
|
import { DynamoFM_multiPipe_pipeTransform } from './multi-pipe-pipe.util';
|
|
12
12
|
|
|
13
13
|
export function DynamoFM_range_pipeTransform(
|
|
14
14
|
value: DynamoFM_RangeValue,
|
|
15
|
-
setting:
|
|
15
|
+
setting: DynamoFM_RangePipe_Setting,
|
|
16
16
|
multiPipes?: DynamoFM_MultiPipe_Setting[]
|
|
17
17
|
): string | number | DynamoFM_RangeValue {
|
|
18
18
|
if (!checkRangePipeRequirements(value, setting, multiPipes)) {
|
|
@@ -20,20 +20,20 @@ export function DynamoFM_range_pipeTransform(
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
switch (setting) {
|
|
23
|
-
case
|
|
24
|
-
case
|
|
23
|
+
case DynamoFM_RangePipe_Setting.avg:
|
|
24
|
+
case DynamoFM_RangePipe_Setting.average:
|
|
25
25
|
return (value.to + value.from) / 2;
|
|
26
26
|
|
|
27
|
-
case
|
|
28
|
-
case
|
|
27
|
+
case DynamoFM_RangePipe_Setting.min:
|
|
28
|
+
case DynamoFM_RangePipe_Setting.from:
|
|
29
29
|
return value.from;
|
|
30
30
|
|
|
31
|
-
case
|
|
32
|
-
case
|
|
31
|
+
case DynamoFM_RangePipe_Setting.max:
|
|
32
|
+
case DynamoFM_RangePipe_Setting.to:
|
|
33
33
|
return value.to;
|
|
34
34
|
|
|
35
|
-
case
|
|
36
|
-
case
|
|
35
|
+
case DynamoFM_RangePipe_Setting.both:
|
|
36
|
+
case DynamoFM_RangePipe_Setting.fromTo:
|
|
37
37
|
if (0 < multiPipes?.length) {
|
|
38
38
|
if (value.from === value.to) {
|
|
39
39
|
return DynamoFM_multiPipe_pipeTransform(value.from, multiPipes);
|
|
@@ -53,7 +53,7 @@ export function DynamoFM_range_pipeTransform(
|
|
|
53
53
|
|
|
54
54
|
function checkRangePipeRequirements(
|
|
55
55
|
value: DynamoFM_RangeValue,
|
|
56
|
-
setting:
|
|
56
|
+
setting: DynamoFM_RangePipe_Setting | string,
|
|
57
57
|
multiPipes?: DynamoFM_MultiPipe_Setting[]
|
|
58
58
|
): boolean {
|
|
59
59
|
if (!value?.isRange) {
|
|
@@ -70,12 +70,12 @@ function checkRangePipeRequirements(
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
if (!setting) {
|
|
73
|
-
setting =
|
|
73
|
+
setting = DynamoFM_RangePipe_Setting.fromTo;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
if (
|
|
77
|
-
setting !==
|
|
78
|
-
setting !==
|
|
77
|
+
setting !== DynamoFM_RangePipe_Setting.both &&
|
|
78
|
+
setting !== DynamoFM_RangePipe_Setting.fromTo &&
|
|
79
79
|
0 < multiPipes?.length
|
|
80
80
|
) {
|
|
81
81
|
console.warn(
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
// INTERFACES
|
|
3
3
|
export * from './error-defaults.interface';
|
|
4
|
+
export * from './multi-pipe-settings.type';
|
|
5
|
+
export * from './paged.interface';
|
|
6
|
+
export * from './pipe-transforms.interface';
|
|
4
7
|
export * from './random-weight.interface';
|
|
5
8
|
export * from './route-settings.interface';
|
|
6
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { DynamoFM_RangePipe_Setting } from '../../_enums/range-pipe-setting.enum';
|
|
6
6
|
import { DynamoFM_RangeValue } from '../control-models/range-value.control-model';
|
|
7
7
|
import { DynamoFM_MultiPipe_Setting } from './multi-pipe-settings.type';
|
|
8
8
|
import { DynamoFM_Pipe } from '../../_enums/pipe.enum';
|
|
@@ -17,7 +17,7 @@ export interface DynamoFM_PipeTransforms {
|
|
|
17
17
|
[DynamoFM_Pipe.objKey]: (value: any, key: string) => any;
|
|
18
18
|
[DynamoFM_Pipe.range]: (
|
|
19
19
|
value: DynamoFM_RangeValue,
|
|
20
|
-
setting:
|
|
20
|
+
setting: DynamoFM_RangePipe_Setting,
|
|
21
21
|
multiPipes: DynamoFM_MultiPipe_Setting[]
|
|
22
22
|
) => string | number | DynamoFM_RangeValue;
|
|
23
23
|
[DynamoFM_Pipe.region]: (value: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"region.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/region.enum.ts"],"names":[],"mappings":"AACA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoFM_Region = void 0;
|
|
4
|
-
var DynamoFM_Region;
|
|
5
|
-
(function (DynamoFM_Region) {
|
|
6
|
-
DynamoFM_Region["europe"] = "Europe";
|
|
7
|
-
DynamoFM_Region["asia"] = "Asia";
|
|
8
|
-
DynamoFM_Region["africa"] = "Africa";
|
|
9
|
-
DynamoFM_Region["oceania"] = "Oceania";
|
|
10
|
-
DynamoFM_Region["americas"] = "Americas";
|
|
11
|
-
})(DynamoFM_Region || (exports.DynamoFM_Region = DynamoFM_Region = {}));
|
|
12
|
-
//# sourceMappingURL=region.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"region.enum.js","sourceRoot":"","sources":["../../src/_enums/region.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,gCAAa,CAAA;IACb,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;AACvB,CAAC,EANW,eAAe,+BAAf,eAAe,QAM1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"relative-date.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/relative-date.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;CACpB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoFM_RelativeDate = void 0;
|
|
4
|
-
var DynamoFM_RelativeDate;
|
|
5
|
-
(function (DynamoFM_RelativeDate) {
|
|
6
|
-
DynamoFM_RelativeDate["lastDay"] = "lastDay";
|
|
7
|
-
DynamoFM_RelativeDate["lastWeek"] = "lastWeek";
|
|
8
|
-
DynamoFM_RelativeDate["lastMonth"] = "lastMonth";
|
|
9
|
-
DynamoFM_RelativeDate["lastYear"] = "lastYear";
|
|
10
|
-
DynamoFM_RelativeDate["last10Years"] = "last10Years";
|
|
11
|
-
DynamoFM_RelativeDate["allTime"] = "allTime";
|
|
12
|
-
})(DynamoFM_RelativeDate || (exports.DynamoFM_RelativeDate = DynamoFM_RelativeDate = {}));
|
|
13
|
-
//# sourceMappingURL=relative-date.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"relative-date.enum.js","sourceRoot":"","sources":["../../src/_enums/relative-date.enum.ts"],"names":[],"mappings":";;;AAEA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,gDAAuB,CAAA;IACvB,8CAAqB,CAAA;IACrB,oDAA2B,CAAA;IAC3B,4CAAmB,CAAA;AACrB,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare enum DynamoFM_SubRegion {
|
|
2
|
-
northernEurope = "Northern Europe",
|
|
3
|
-
southernEurope = "Southern Europe",
|
|
4
|
-
westernEurope = "Western Europe",
|
|
5
|
-
easternEurope = "Eastern Europe",
|
|
6
|
-
northernAfrica = "Northern Africa",
|
|
7
|
-
subSaharanAfrica = "Sub-Saharan Africa",
|
|
8
|
-
northernAmerica = "Northern America",
|
|
9
|
-
latinAmericaAndTheCaribbean = "Latin America and the Caribbean",
|
|
10
|
-
southEasternAsia = "South-eastern Asia",
|
|
11
|
-
easternAsia = "Eastern Asia",
|
|
12
|
-
southernAsia = "Southern Asia",
|
|
13
|
-
westernAsia = "Western Asia",
|
|
14
|
-
centralAsia = "Central Asia",
|
|
15
|
-
australiaAndNewZealand = "Australia and New Zealand",
|
|
16
|
-
melanesia = "Melanesia",
|
|
17
|
-
micronesia = "Micronesia",
|
|
18
|
-
polynesia = "Polynesia"
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=sub-region.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sub-region.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/sub-region.enum.ts"],"names":[],"mappings":"AACA,oBAAY,kBAAkB;IAC5B,cAAc,oBAAoB;IAClC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,aAAa,mBAAmB;IAEhC,cAAc,oBAAoB;IAClC,gBAAgB,uBAAuB;IAEvC,eAAe,qBAAqB;IACpC,2BAA2B,oCAAoC;IAE/D,gBAAgB,uBAAuB;IACvC,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAE9B,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;IAE5B,sBAAsB,8BAA8B;IACpD,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoFM_SubRegion = void 0;
|
|
4
|
-
var DynamoFM_SubRegion;
|
|
5
|
-
(function (DynamoFM_SubRegion) {
|
|
6
|
-
DynamoFM_SubRegion["northernEurope"] = "Northern Europe";
|
|
7
|
-
DynamoFM_SubRegion["southernEurope"] = "Southern Europe";
|
|
8
|
-
DynamoFM_SubRegion["westernEurope"] = "Western Europe";
|
|
9
|
-
DynamoFM_SubRegion["easternEurope"] = "Eastern Europe";
|
|
10
|
-
DynamoFM_SubRegion["northernAfrica"] = "Northern Africa";
|
|
11
|
-
DynamoFM_SubRegion["subSaharanAfrica"] = "Sub-Saharan Africa";
|
|
12
|
-
DynamoFM_SubRegion["northernAmerica"] = "Northern America";
|
|
13
|
-
DynamoFM_SubRegion["latinAmericaAndTheCaribbean"] = "Latin America and the Caribbean";
|
|
14
|
-
DynamoFM_SubRegion["southEasternAsia"] = "South-eastern Asia";
|
|
15
|
-
DynamoFM_SubRegion["easternAsia"] = "Eastern Asia";
|
|
16
|
-
DynamoFM_SubRegion["southernAsia"] = "Southern Asia";
|
|
17
|
-
DynamoFM_SubRegion["westernAsia"] = "Western Asia";
|
|
18
|
-
DynamoFM_SubRegion["centralAsia"] = "Central Asia";
|
|
19
|
-
DynamoFM_SubRegion["australiaAndNewZealand"] = "Australia and New Zealand";
|
|
20
|
-
DynamoFM_SubRegion["melanesia"] = "Melanesia";
|
|
21
|
-
DynamoFM_SubRegion["micronesia"] = "Micronesia";
|
|
22
|
-
DynamoFM_SubRegion["polynesia"] = "Polynesia";
|
|
23
|
-
})(DynamoFM_SubRegion || (exports.DynamoFM_SubRegion = DynamoFM_SubRegion = {}));
|
|
24
|
-
//# sourceMappingURL=sub-region.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sub-region.enum.js","sourceRoot":"","sources":["../../src/_enums/sub-region.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,kBAuBX;AAvBD,WAAY,kBAAkB;IAC5B,wDAAkC,CAAA;IAClC,wDAAkC,CAAA;IAClC,sDAAgC,CAAA;IAChC,sDAAgC,CAAA;IAEhC,wDAAkC,CAAA;IAClC,6DAAuC,CAAA;IAEvC,0DAAoC,CAAA;IACpC,qFAA+D,CAAA;IAE/D,6DAAuC,CAAA;IACvC,kDAA4B,CAAA;IAC5B,oDAA8B,CAAA;IAE9B,kDAA4B,CAAA;IAC5B,kDAA4B,CAAA;IAE5B,0EAAoD,CAAA;IACpD,6CAAuB,CAAA;IACvB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;AACzB,CAAC,EAvBW,kBAAkB,kCAAlB,kBAAkB,QAuB7B"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare enum DynamoFM_SubdivisionRegionType {
|
|
2
|
-
parish = 0,
|
|
3
|
-
emirate = 1,
|
|
4
|
-
province = 2,
|
|
5
|
-
dependency = 3,
|
|
6
|
-
county = 4,
|
|
7
|
-
city = 5,
|
|
8
|
-
region = 6,
|
|
9
|
-
state = 7,
|
|
10
|
-
territory = 8,
|
|
11
|
-
autonomousRepublic = 9,
|
|
12
|
-
municipate = 10,
|
|
13
|
-
rayon = 11,
|
|
14
|
-
division = 12,
|
|
15
|
-
district = 13,
|
|
16
|
-
governorate = 14,
|
|
17
|
-
department = 15,
|
|
18
|
-
specialMunicipality = 16,
|
|
19
|
-
federalDistrict = 17,
|
|
20
|
-
island = 18,
|
|
21
|
-
town = 19,
|
|
22
|
-
oblast = 20,
|
|
23
|
-
commune = 21,
|
|
24
|
-
prefecture = 22,
|
|
25
|
-
economicPrefecture = 23,
|
|
26
|
-
canton = 24,
|
|
27
|
-
autonomousRegion = 25,
|
|
28
|
-
specialAdministrativeRegion = 26,
|
|
29
|
-
capitalDistrict = 27,
|
|
30
|
-
geographicalRegion = 28,
|
|
31
|
-
capitalCity = 29,
|
|
32
|
-
ruralMunicipality = 30,
|
|
33
|
-
urbanMunicipality = 31,
|
|
34
|
-
autonomousCommunity = 32,
|
|
35
|
-
autonomousCity = 33,
|
|
36
|
-
administration = 34,
|
|
37
|
-
regionalState = 35,
|
|
38
|
-
metropolitanRegion = 36,
|
|
39
|
-
overseasCollectivity = 37
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=subdivision-region-type.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subdivision-region-type.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/subdivision-region-type.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,8BAA8B;IACxC,MAAM,IAAA;IACN,OAAO,IAAA;IACP,QAAQ,IAAA;IACR,UAAU,IAAA;IACV,MAAM,IAAA;IACN,IAAI,IAAA;IACJ,MAAM,IAAA;IACN,KAAK,IAAA;IACL,SAAS,IAAA;IACT,kBAAkB,IAAA;IAClB,UAAU,KAAA;IACV,KAAK,KAAA;IACL,QAAQ,KAAA;IACR,QAAQ,KAAA;IACR,WAAW,KAAA;IACX,UAAU,KAAA;IACV,mBAAmB,KAAA;IACnB,eAAe,KAAA;IACf,MAAM,KAAA;IACN,IAAI,KAAA;IACJ,MAAM,KAAA;IACN,OAAO,KAAA;IACP,UAAU,KAAA;IACV,kBAAkB,KAAA;IAClB,MAAM,KAAA;IACN,gBAAgB,KAAA;IAChB,2BAA2B,KAAA;IAC3B,eAAe,KAAA;IACf,kBAAkB,KAAA;IAClB,WAAW,KAAA;IACX,iBAAiB,KAAA;IACjB,iBAAiB,KAAA;IACjB,mBAAmB,KAAA;IACnB,cAAc,KAAA;IACd,cAAc,KAAA;IACd,aAAa,KAAA;IACb,kBAAkB,KAAA;IAClB,oBAAoB,KAAA;CAErB"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoFM_SubdivisionRegionType = void 0;
|
|
4
|
-
var DynamoFM_SubdivisionRegionType;
|
|
5
|
-
(function (DynamoFM_SubdivisionRegionType) {
|
|
6
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["parish"] = 0] = "parish";
|
|
7
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["emirate"] = 1] = "emirate";
|
|
8
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["province"] = 2] = "province";
|
|
9
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["dependency"] = 3] = "dependency";
|
|
10
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["county"] = 4] = "county";
|
|
11
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["city"] = 5] = "city";
|
|
12
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["region"] = 6] = "region";
|
|
13
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["state"] = 7] = "state";
|
|
14
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["territory"] = 8] = "territory";
|
|
15
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["autonomousRepublic"] = 9] = "autonomousRepublic";
|
|
16
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["municipate"] = 10] = "municipate";
|
|
17
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["rayon"] = 11] = "rayon";
|
|
18
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["division"] = 12] = "division";
|
|
19
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["district"] = 13] = "district";
|
|
20
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["governorate"] = 14] = "governorate";
|
|
21
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["department"] = 15] = "department";
|
|
22
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["specialMunicipality"] = 16] = "specialMunicipality";
|
|
23
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["federalDistrict"] = 17] = "federalDistrict";
|
|
24
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["island"] = 18] = "island";
|
|
25
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["town"] = 19] = "town";
|
|
26
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["oblast"] = 20] = "oblast";
|
|
27
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["commune"] = 21] = "commune";
|
|
28
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["prefecture"] = 22] = "prefecture";
|
|
29
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["economicPrefecture"] = 23] = "economicPrefecture";
|
|
30
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["canton"] = 24] = "canton";
|
|
31
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["autonomousRegion"] = 25] = "autonomousRegion";
|
|
32
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["specialAdministrativeRegion"] = 26] = "specialAdministrativeRegion";
|
|
33
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["capitalDistrict"] = 27] = "capitalDistrict";
|
|
34
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["geographicalRegion"] = 28] = "geographicalRegion";
|
|
35
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["capitalCity"] = 29] = "capitalCity";
|
|
36
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["ruralMunicipality"] = 30] = "ruralMunicipality";
|
|
37
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["urbanMunicipality"] = 31] = "urbanMunicipality";
|
|
38
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["autonomousCommunity"] = 32] = "autonomousCommunity";
|
|
39
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["autonomousCity"] = 33] = "autonomousCity";
|
|
40
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["administration"] = 34] = "administration";
|
|
41
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["regionalState"] = 35] = "regionalState";
|
|
42
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["metropolitanRegion"] = 36] = "metropolitanRegion";
|
|
43
|
-
DynamoFM_SubdivisionRegionType[DynamoFM_SubdivisionRegionType["overseasCollectivity"] = 37] = "overseasCollectivity";
|
|
44
|
-
// ... reduce specials // non-finished
|
|
45
|
-
})(DynamoFM_SubdivisionRegionType || (exports.DynamoFM_SubdivisionRegionType = DynamoFM_SubdivisionRegionType = {}));
|
|
46
|
-
//# sourceMappingURL=subdivision-region-type.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subdivision-region-type.enum.js","sourceRoot":"","sources":["../../src/_enums/subdivision-region-type.enum.ts"],"names":[],"mappings":";;;AAEA,IAAY,8BAwCX;AAxCD,WAAY,8BAA8B;IACxC,uFAAM,CAAA;IACN,yFAAO,CAAA;IACP,2FAAQ,CAAA;IACR,+FAAU,CAAA;IACV,uFAAM,CAAA;IACN,mFAAI,CAAA;IACJ,uFAAM,CAAA;IACN,qFAAK,CAAA;IACL,6FAAS,CAAA;IACT,+GAAkB,CAAA;IAClB,gGAAU,CAAA;IACV,sFAAK,CAAA;IACL,4FAAQ,CAAA;IACR,4FAAQ,CAAA;IACR,kGAAW,CAAA;IACX,gGAAU,CAAA;IACV,kHAAmB,CAAA;IACnB,0GAAe,CAAA;IACf,wFAAM,CAAA;IACN,oFAAI,CAAA;IACJ,wFAAM,CAAA;IACN,0FAAO,CAAA;IACP,gGAAU,CAAA;IACV,gHAAkB,CAAA;IAClB,wFAAM,CAAA;IACN,4GAAgB,CAAA;IAChB,kIAA2B,CAAA;IAC3B,0GAAe,CAAA;IACf,gHAAkB,CAAA;IAClB,kGAAW,CAAA;IACX,8GAAiB,CAAA;IACjB,8GAAiB,CAAA;IACjB,kHAAmB,CAAA;IACnB,wGAAc,CAAA;IACd,wGAAc,CAAA;IACd,sGAAa,CAAA;IACb,gHAAkB,CAAA;IAClB,oHAAoB,CAAA;IACpB,sCAAsC;AACxC,CAAC,EAxCW,8BAA8B,8CAA9B,8BAA8B,QAwCzC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export enum DynamoFM_SubRegion {
|
|
3
|
-
northernEurope = 'Northern Europe',
|
|
4
|
-
southernEurope = 'Southern Europe',
|
|
5
|
-
westernEurope = 'Western Europe',
|
|
6
|
-
easternEurope = 'Eastern Europe',
|
|
7
|
-
|
|
8
|
-
northernAfrica = 'Northern Africa',
|
|
9
|
-
subSaharanAfrica = 'Sub-Saharan Africa',
|
|
10
|
-
|
|
11
|
-
northernAmerica = 'Northern America',
|
|
12
|
-
latinAmericaAndTheCaribbean = 'Latin America and the Caribbean',
|
|
13
|
-
|
|
14
|
-
southEasternAsia = 'South-eastern Asia',
|
|
15
|
-
easternAsia = 'Eastern Asia',
|
|
16
|
-
southernAsia = 'Southern Asia',
|
|
17
|
-
|
|
18
|
-
westernAsia = 'Western Asia',
|
|
19
|
-
centralAsia = 'Central Asia',
|
|
20
|
-
|
|
21
|
-
australiaAndNewZealand = 'Australia and New Zealand',
|
|
22
|
-
melanesia = 'Melanesia',
|
|
23
|
-
micronesia = 'Micronesia',
|
|
24
|
-
polynesia = 'Polynesia',
|
|
25
|
-
}
|
|
26
|
-
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum DynamoFM_SubdivisionRegionType {
|
|
4
|
-
parish,
|
|
5
|
-
emirate,
|
|
6
|
-
province,
|
|
7
|
-
dependency,
|
|
8
|
-
county,
|
|
9
|
-
city,
|
|
10
|
-
region,
|
|
11
|
-
state,
|
|
12
|
-
territory,
|
|
13
|
-
autonomousRepublic,
|
|
14
|
-
municipate,
|
|
15
|
-
rayon,
|
|
16
|
-
division,
|
|
17
|
-
district,
|
|
18
|
-
governorate,
|
|
19
|
-
department,
|
|
20
|
-
specialMunicipality,
|
|
21
|
-
federalDistrict,
|
|
22
|
-
island,
|
|
23
|
-
town,
|
|
24
|
-
oblast,
|
|
25
|
-
commune,
|
|
26
|
-
prefecture,
|
|
27
|
-
economicPrefecture,
|
|
28
|
-
canton,
|
|
29
|
-
autonomousRegion,
|
|
30
|
-
specialAdministrativeRegion,
|
|
31
|
-
capitalDistrict,
|
|
32
|
-
geographicalRegion,
|
|
33
|
-
capitalCity,
|
|
34
|
-
ruralMunicipality,
|
|
35
|
-
urbanMunicipality,
|
|
36
|
-
autonomousCommunity,
|
|
37
|
-
autonomousCity,
|
|
38
|
-
administration,
|
|
39
|
-
regionalState,
|
|
40
|
-
metropolitanRegion,
|
|
41
|
-
overseasCollectivity,
|
|
42
|
-
// ... reduce specials // non-finished
|
|
43
|
-
}
|
|
44
|
-
|