@futdevpro/fsm-dynamo 1.9.15 → 1.9.17
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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/build/_collections/constants/error-defaults.const.d.ts.map +1 -1
- package/build/_collections/constants/error-defaults.const.js +2 -2
- package/build/_collections/constants/error-defaults.const.js.map +1 -1
- package/build/_collections/constants/module-settings/custom-data-module-settings.const.d.ts +3 -3
- package/build/_collections/constants/module-settings/custom-data-module-settings.const.d.ts.map +1 -1
- package/build/_collections/constants/module-settings/custom-data-module-settings.const.js +9 -9
- package/build/_collections/constants/module-settings/custom-data-module-settings.const.js.map +1 -1
- package/build/_collections/constants/module-settings/test-module-settings.const.d.ts +3 -3
- package/build/_collections/constants/module-settings/test-module-settings.const.d.ts.map +1 -1
- package/build/_collections/constants/module-settings/test-module-settings.const.js +13 -13
- package/build/_collections/constants/module-settings/test-module-settings.const.js.map +1 -1
- package/build/_collections/constants/module-settings/usage-module-settings.const.d.ts +3 -3
- package/build/_collections/constants/module-settings/usage-module-settings.const.d.ts.map +1 -1
- package/build/_collections/constants/module-settings/usage-module-settings.const.js +13 -13
- package/build/_collections/constants/module-settings/usage-module-settings.const.js.map +1 -1
- package/build/_collections/constants/pipe-transforms.const.d.ts +2 -2
- package/build/_collections/constants/pipe-transforms.const.d.ts.map +1 -1
- package/build/_collections/constants/pipe-transforms.const.js +13 -13
- package/build/_collections/constants/pipe-transforms.const.js.map +1 -1
- package/build/_collections/utils/array.util.d.ts +6 -4
- package/build/_collections/utils/array.util.d.ts.map +1 -1
- package/build/_collections/utils/array.util.js +17 -4
- package/build/_collections/utils/array.util.js.map +1 -1
- package/build/_collections/utils/array.util.spec.js +5 -5
- package/build/_collections/utils/array.util.spec.js.map +1 -1
- package/build/_collections/utils/location.util.d.ts +3 -4
- package/build/_collections/utils/location.util.d.ts.map +1 -1
- package/build/_collections/utils/location.util.js +9 -9
- package/build/_collections/utils/location.util.js.map +1 -1
- package/build/_collections/utils/log.util.d.ts +15 -17
- package/build/_collections/utils/log.util.d.ts.map +1 -1
- package/build/_collections/utils/log.util.js +25 -25
- package/build/_collections/utils/log.util.js.map +1 -1
- package/build/_collections/utils/math/box-bounds.util.d.ts +13 -13
- package/build/_collections/utils/math/box-bounds.util.d.ts.map +1 -1
- package/build/_collections/utils/math/box-bounds.util.js +9 -9
- package/build/_collections/utils/math/box-bounds.util.js.map +1 -1
- package/build/_collections/utils/math/math.util.d.ts +1 -1
- package/build/_collections/utils/math/math.util.d.ts.map +1 -1
- package/build/_collections/utils/math/math.util.js +3 -3
- package/build/_collections/utils/math/math.util.js.map +1 -1
- package/build/_collections/utils/math/random.util.d.ts +4 -5
- package/build/_collections/utils/math/random.util.d.ts.map +1 -1
- package/build/_collections/utils/math/random.util.js +3 -3
- package/build/_collections/utils/math/random.util.js.map +1 -1
- package/build/_collections/utils/math/trigonometry.util.d.ts +3 -4
- package/build/_collections/utils/math/trigonometry.util.d.ts.map +1 -1
- package/build/_collections/utils/math/trigonometry.util.js +3 -3
- package/build/_collections/utils/math/trigonometry.util.js.map +1 -1
- package/build/_collections/utils/math/vector2.util.d.ts +36 -36
- package/build/_collections/utils/math/vector2.util.d.ts.map +1 -1
- package/build/_collections/utils/math/vector2.util.js +37 -37
- package/build/_collections/utils/math/vector2.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/country-pipe.util.d.ts +1 -1
- package/build/_collections/utils/pipe-transforms/country-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/country-pipe.util.js +4 -4
- package/build/_collections/utils/pipe-transforms/country-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/custom-pipe.util.d.ts +1 -1
- package/build/_collections/utils/pipe-transforms/custom-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/custom-pipe.util.js +3 -3
- package/build/_collections/utils/pipe-transforms/custom-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/division-pipe.util.d.ts +1 -1
- package/build/_collections/utils/pipe-transforms/division-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/division-pipe.util.js +4 -4
- package/build/_collections/utils/pipe-transforms/division-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/list-pipe.util.d.ts +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 +3 -3
- package/build/_collections/utils/pipe-transforms/list-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/multi-pipe-pipe.util.d.ts +7 -7
- package/build/_collections/utils/pipe-transforms/multi-pipe-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/multi-pipe-pipe.util.js +22 -22
- package/build/_collections/utils/pipe-transforms/multi-pipe-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/obj-key-pipe.util.d.ts +1 -1
- package/build/_collections/utils/pipe-transforms/obj-key-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/obj-key-pipe.util.js +3 -3
- package/build/_collections/utils/pipe-transforms/obj-key-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/range-pipe.util.d.ts +4 -4
- package/build/_collections/utils/pipe-transforms/range-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/range-pipe.util.js +18 -18
- package/build/_collections/utils/pipe-transforms/range-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/region-pipe.util.d.ts +1 -1
- package/build/_collections/utils/pipe-transforms/region-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/region-pipe.util.js +4 -4
- package/build/_collections/utils/pipe-transforms/region-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/replace-pipe.util.d.ts +1 -1
- package/build/_collections/utils/pipe-transforms/replace-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/replace-pipe.util.js +3 -3
- package/build/_collections/utils/pipe-transforms/replace-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/slider-pipe.util.d.ts +2 -2
- package/build/_collections/utils/pipe-transforms/slider-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/slider-pipe.util.js +4 -4
- package/build/_collections/utils/pipe-transforms/slider-pipe.util.js.map +1 -1
- package/build/_collections/utils/pipe-transforms/smart-replace-pipe.util.d.ts +2 -2
- package/build/_collections/utils/pipe-transforms/smart-replace-pipe.util.d.ts.map +1 -1
- package/build/_collections/utils/pipe-transforms/smart-replace-pipe.util.js +5 -5
- package/build/_collections/utils/pipe-transforms/smart-replace-pipe.util.js.map +1 -1
- package/build/_collections/utils/regex/password-regex.util.d.ts +2 -2
- package/build/_collections/utils/regex/password-regex.util.d.ts.map +1 -1
- package/build/_collections/utils/regex/password-regex.util.js +7 -7
- package/build/_collections/utils/regex/password-regex.util.js.map +1 -1
- package/build/_collections/utils/regex/regex.util.d.ts +1 -1
- package/build/_collections/utils/regex/regex.util.d.ts.map +1 -1
- package/build/_collections/utils/regex/regex.util.js +2 -2
- package/build/_collections/utils/regex/regex.util.js.map +1 -1
- package/build/_collections/utils/regex/username-regex.util.d.ts +1 -1
- package/build/_collections/utils/regex/username-regex.util.d.ts.map +1 -1
- package/build/_collections/utils/regex/username-regex.util.js +3 -3
- package/build/_collections/utils/regex/username-regex.util.js.map +1 -1
- package/build/_collections/utils/regions.util.d.ts +11 -12
- package/build/_collections/utils/regions.util.d.ts.map +1 -1
- package/build/_collections/utils/regions.util.js +16 -16
- package/build/_collections/utils/regions.util.js.map +1 -1
- package/build/_collections/utils/round-list.util.d.ts +1 -2
- package/build/_collections/utils/round-list.util.d.ts.map +1 -1
- package/build/_collections/utils/round-list.util.js +3 -3
- package/build/_collections/utils/round-list.util.js.map +1 -1
- package/build/_collections/utils/shared.static-service.d.ts +1 -2
- package/build/_collections/utils/shared.static-service.d.ts.map +1 -1
- package/build/_collections/utils/shared.static-service.js +8 -8
- package/build/_collections/utils/shared.static-service.js.map +1 -1
- package/build/_collections/utils/time.util.d.ts +16 -16
- package/build/_collections/utils/time.util.d.ts.map +1 -1
- package/build/_collections/utils/time.util.js +55 -29
- package/build/_collections/utils/time.util.js.map +1 -1
- package/build/_collections/utils/time.util.spec.js +13 -13
- package/build/_collections/utils/time.util.spec.js.map +1 -1
- package/build/_collections/utils/type-cloning-facility.util.d.ts +2 -4
- package/build/_collections/utils/type-cloning-facility.util.d.ts.map +1 -1
- package/build/_collections/utils/type-cloning-facility.util.js +3 -3
- package/build/_collections/utils/type-cloning-facility.util.js.map +1 -1
- package/build/_collections/utils/utilities.util.d.ts +13 -25
- package/build/_collections/utils/utilities.util.d.ts.map +1 -1
- package/build/_collections/utils/utilities.util.js +22 -34
- package/build/_collections/utils/utilities.util.js.map +1 -1
- package/build/_enums/basic-property-type.enum.d.ts +1 -1
- package/build/_enums/basic-property-type.enum.d.ts.map +1 -1
- package/build/_enums/basic-property-type.enum.js +9 -9
- package/build/_enums/basic-property-type.enum.js.map +1 -1
- package/build/_enums/data-model-type.enum.d.ts +2 -2
- package/build/_enums/data-model-type.enum.d.ts.map +1 -1
- package/build/_enums/data-model-type.enum.js +8 -8
- package/build/_enums/data-model-type.enum.js.map +1 -1
- package/build/_enums/error-level.enum.d.ts +1 -1
- package/build/_enums/error-level.enum.d.ts.map +1 -1
- package/build/_enums/error-level.enum.js +13 -13
- package/build/_enums/error-level.enum.js.map +1 -1
- package/build/_enums/location/region.enum.d.ts +1 -1
- package/build/_enums/location/region.enum.d.ts.map +1 -1
- package/build/_enums/location/region.enum.js +9 -9
- package/build/_enums/location/region.enum.js.map +1 -1
- package/build/_enums/location/sub-region.enum.d.ts +1 -1
- package/build/_enums/location/sub-region.enum.d.ts.map +1 -1
- package/build/_enums/location/sub-region.enum.js +21 -21
- package/build/_enums/location/sub-region.enum.js.map +1 -1
- package/build/_enums/location/subdivision-region-type.enum.d.ts +1 -1
- package/build/_enums/location/subdivision-region-type.enum.d.ts.map +1 -1
- package/build/_enums/location/subdivision-region-type.enum.js +42 -42
- package/build/_enums/location/subdivision-region-type.enum.js.map +1 -1
- package/build/_enums/log-style.enum.d.ts +1 -1
- package/build/_enums/log-style.enum.d.ts.map +1 -1
- package/build/_enums/log-style.enum.js +27 -27
- package/build/_enums/log-style.enum.js.map +1 -1
- package/build/_enums/pipe.enum.d.ts +6 -6
- package/build/_enums/pipe.enum.d.ts.map +1 -1
- package/build/_enums/pipe.enum.js +36 -36
- package/build/_enums/pipe.enum.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/_enums/time/day-of-week.enum.d.ts +4 -4
- package/build/_enums/time/day-of-week.enum.d.ts.map +1 -1
- package/build/_enums/time/day-of-week.enum.js +21 -21
- package/build/_enums/time/day-of-week.enum.js.map +1 -1
- package/build/_enums/time/month.enum.d.ts +1 -1
- package/build/_enums/time/month.enum.d.ts.map +1 -1
- package/build/_enums/time/month.enum.js +16 -16
- package/build/_enums/time/month.enum.js.map +1 -1
- package/build/_enums/time/relative-date.enum.d.ts +1 -1
- package/build/_enums/time/relative-date.enum.d.ts.map +1 -1
- package/build/_enums/time/relative-date.enum.js +10 -10
- package/build/_enums/time/relative-date.enum.js.map +1 -1
- package/build/_models/control-models/daily-usage-data.control-model.d.ts +4 -5
- package/build/_models/control-models/daily-usage-data.control-model.d.ts.map +1 -1
- package/build/_models/control-models/daily-usage-data.control-model.js +3 -3
- package/build/_models/control-models/daily-usage-data.control-model.js.map +1 -1
- package/build/_models/control-models/data-model-params.control-model.d.ts +13 -13
- package/build/_models/control-models/data-model-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/data-model-params.control-model.js +18 -9
- package/build/_models/control-models/data-model-params.control-model.js.map +1 -1
- package/build/_models/control-models/data-property-params.control-model.d.ts +14 -11
- package/build/_models/control-models/data-property-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/data-property-params.control-model.js +15 -13
- package/build/_models/control-models/data-property-params.control-model.js.map +1 -1
- package/build/_models/control-models/error.control-model.d.ts +14 -15
- package/build/_models/control-models/error.control-model.d.ts.map +1 -1
- package/build/_models/control-models/error.control-model.js +18 -18
- package/build/_models/control-models/error.control-model.js.map +1 -1
- package/build/_models/control-models/error.control-model.spec.js +37 -37
- package/build/_models/control-models/error.control-model.spec.js.map +1 -1
- package/build/_models/control-models/poll.control-model.d.ts +1 -2
- package/build/_models/control-models/poll.control-model.d.ts.map +1 -1
- package/build/_models/control-models/poll.control-model.js +8 -8
- package/build/_models/control-models/poll.control-model.js.map +1 -1
- package/build/_models/control-models/range-value.control-model.d.ts +19 -20
- package/build/_models/control-models/range-value.control-model.d.ts.map +1 -1
- package/build/_models/control-models/range-value.control-model.js +14 -14
- package/build/_models/control-models/range-value.control-model.js.map +1 -1
- package/build/_models/control-models/usage-action.control-model.d.ts +2 -3
- package/build/_models/control-models/usage-action.control-model.d.ts.map +1 -1
- package/build/_models/control-models/usage-action.control-model.js +3 -3
- package/build/_models/control-models/usage-action.control-model.js.map +1 -1
- package/build/_models/control-models/usage-data.control-model.d.ts +5 -6
- package/build/_models/control-models/usage-data.control-model.d.ts.map +1 -1
- package/build/_models/control-models/usage-data.control-model.js +3 -3
- package/build/_models/control-models/usage-data.control-model.js.map +1 -1
- package/build/_models/data-models/custom-data.data-model.d.ts +6 -7
- package/build/_models/data-models/custom-data.data-model.d.ts.map +1 -1
- package/build/_models/data-models/custom-data.data-model.js +6 -5
- package/build/_models/data-models/custom-data.data-model.js.map +1 -1
- package/build/_models/data-models/metadata.data-model.d.ts +4 -5
- package/build/_models/data-models/metadata.data-model.d.ts.map +1 -1
- package/build/_models/data-models/metadata.data-model.js +15 -15
- package/build/_models/data-models/metadata.data-model.js.map +1 -1
- package/build/_models/data-models/usage-session.data-model.d.ts +9 -10
- package/build/_models/data-models/usage-session.data-model.d.ts.map +1 -1
- package/build/_models/data-models/usage-session.data-model.js +5 -5
- package/build/_models/data-models/usage-session.data-model.js.map +1 -1
- package/build/_models/interfaces/error-defaults.interface.d.ts +1 -1
- package/build/_models/interfaces/error-defaults.interface.d.ts.map +1 -1
- package/build/_models/interfaces/location/country-division.interface.d.ts +1 -1
- package/build/_models/interfaces/location/country-division.interface.d.ts.map +1 -1
- package/build/_models/interfaces/location/country-iso.interface.d.ts +7 -7
- package/build/_models/interfaces/location/country-iso.interface.d.ts.map +1 -1
- package/build/_models/interfaces/location/country-phone-code.interface.d.ts +1 -1
- package/build/_models/interfaces/location/country-phone-code.interface.d.ts.map +1 -1
- package/build/_models/interfaces/location/division-collection.interface.d.ts +1 -1
- package/build/_models/interfaces/location/division-collection.interface.d.ts.map +1 -1
- package/build/_models/interfaces/location/division-region-data.interface.d.ts +4 -4
- package/build/_models/interfaces/location/division-region-data.interface.d.ts.map +1 -1
- package/build/_models/interfaces/location/geo-ip-location.interface.d.ts +1 -1
- package/build/_models/interfaces/location/geo-ip-location.interface.d.ts.map +1 -1
- package/build/_models/interfaces/location/location-coordinates.interface.d.ts +1 -1
- package/build/_models/interfaces/location/location-coordinates.interface.d.ts.map +1 -1
- package/build/_models/interfaces/multi-pipe-settings.type.d.ts +3 -3
- package/build/_models/interfaces/multi-pipe-settings.type.d.ts.map +1 -1
- package/build/_models/interfaces/paged.interface.d.ts +1 -1
- package/build/_models/interfaces/paged.interface.d.ts.map +1 -1
- package/build/_models/interfaces/pipe-transforms.interface.d.ts +16 -16
- package/build/_models/interfaces/pipe-transforms.interface.d.ts.map +1 -1
- package/build/_models/interfaces/pipe-transforms.interface.js.map +1 -1
- package/build/_models/interfaces/random-weight.interface.d.ts +1 -1
- package/build/_models/interfaces/random-weight.interface.d.ts.map +1 -1
- package/build/_models/interfaces/route-settings.interface.d.ts +2 -3
- package/build/_models/interfaces/route-settings.interface.d.ts.map +1 -1
- package/futdevpro-fsm-dynamo-01.09.17.tgz +0 -0
- package/package.json +14 -14
- package/src/_collections/constants/country-divisions.const.ts +4 -4
- package/src/_collections/constants/courtry-isos.const.ts +3 -3
- package/src/_collections/constants/error-defaults.const.ts +2 -2
- package/src/_collections/constants/module-settings/custom-data-module-settings.const.ts +5 -5
- package/src/_collections/constants/module-settings/test-module-settings.const.ts +7 -7
- package/src/_collections/constants/module-settings/usage-module-settings.const.ts +7 -7
- package/src/_collections/constants/pipe-transforms.const.ts +28 -28
- package/src/_collections/utils/array.util.spec.ts +7 -7
- package/src/_collections/utils/array.util.ts +30 -5
- package/src/_collections/utils/location.util.ts +14 -13
- package/src/_collections/utils/log.util.ts +34 -36
- package/src/_collections/utils/math/box-bounds.util.ts +23 -23
- package/src/_collections/utils/math/math.util.ts +1 -1
- package/src/_collections/utils/math/random.util.ts +4 -5
- package/src/_collections/utils/math/trigonometry.util.ts +3 -4
- package/src/_collections/utils/math/vector2.util.ts +67 -67
- package/src/_collections/utils/pipe-transforms/country-pipe.util.ts +5 -5
- package/src/_collections/utils/pipe-transforms/custom-pipe.util.ts +1 -1
- package/src/_collections/utils/pipe-transforms/division-pipe.util.ts +5 -5
- package/src/_collections/utils/pipe-transforms/list-pipe.util.ts +1 -1
- package/src/_collections/utils/pipe-transforms/multi-pipe-pipe.util.ts +38 -38
- package/src/_collections/utils/pipe-transforms/obj-key-pipe.util.ts +1 -1
- package/src/_collections/utils/pipe-transforms/range-pipe.util.ts +29 -29
- package/src/_collections/utils/pipe-transforms/region-pipe.util.ts +5 -5
- package/src/_collections/utils/pipe-transforms/replace-pipe.util.ts +1 -1
- package/src/_collections/utils/pipe-transforms/slider-pipe.util.ts +4 -4
- package/src/_collections/utils/pipe-transforms/smart-replace-pipe.util.ts +6 -6
- package/src/_collections/utils/regex/password-regex.util.ts +6 -5
- package/src/_collections/utils/regex/regex.util.ts +1 -1
- package/src/_collections/utils/regex/username-regex.util.ts +4 -2
- package/src/_collections/utils/regions.util.ts +36 -36
- package/src/_collections/utils/round-list.util.ts +3 -2
- package/src/_collections/utils/shared.static-service.ts +7 -8
- package/src/_collections/utils/time.util.spec.ts +16 -16
- package/src/_collections/utils/time.util.ts +59 -40
- package/src/_collections/utils/type-cloning-facility.util.ts +2 -4
- package/src/_collections/utils/utilities.util.ts +21 -32
- package/src/_enums/basic-property-type.enum.ts +2 -1
- package/src/_enums/data-model-type.enum.ts +5 -3
- package/src/_enums/error-level.enum.ts +2 -1
- package/src/_enums/location/region.enum.ts +3 -1
- package/src/_enums/location/sub-region.enum.ts +3 -1
- package/src/_enums/location/subdivision-region-type.enum.ts +1 -1
- package/src/_enums/log-style.enum.ts +2 -1
- package/src/_enums/pipe.enum.ts +24 -19
- package/src/_enums/range-pipe-setting.enum.ts +2 -1
- package/src/_enums/time/day-of-week.enum.ts +13 -11
- package/src/_enums/time/month.enum.ts +2 -1
- package/src/_enums/time/relative-date.enum.ts +2 -1
- package/src/_models/control-models/daily-usage-data.control-model.ts +5 -5
- package/src/_models/control-models/data-model-params.control-model.ts +28 -18
- package/src/_models/control-models/data-property-params.control-model.ts +21 -17
- package/src/_models/control-models/error.control-model.spec.ts +72 -72
- package/src/_models/control-models/error.control-model.ts +79 -82
- package/src/_models/control-models/poll.control-model.ts +8 -8
- package/src/_models/control-models/range-value.control-model.ts +58 -58
- package/src/_models/control-models/usage-action.control-model.ts +3 -3
- package/src/_models/control-models/usage-data.control-model.ts +5 -6
- package/src/_models/data-models/custom-data.data-model.ts +9 -9
- package/src/_models/data-models/metadata.data-model.ts +19 -20
- package/src/_models/data-models/usage-session.data-model.ts +11 -12
- package/src/_models/interfaces/error-defaults.interface.ts +1 -2
- package/src/_models/interfaces/location/country-division.interface.ts +2 -1
- package/src/_models/interfaces/location/country-iso.interface.ts +9 -7
- package/src/_models/interfaces/location/country-phone-code.interface.ts +3 -1
- package/src/_models/interfaces/location/division-collection.interface.ts +3 -1
- package/src/_models/interfaces/location/division-region-data.interface.ts +5 -4
- package/src/_models/interfaces/location/geo-ip-location.interface.ts +2 -1
- package/src/_models/interfaces/location/location-coordinates.interface.ts +2 -1
- package/src/_models/interfaces/multi-pipe-settings.type.ts +4 -3
- package/src/_models/interfaces/paged.interface.ts +2 -1
- package/src/_models/interfaces/pipe-transforms.interface.ts +21 -21
- package/src/_models/interfaces/random-weight.interface.ts +1 -1
- package/src/_models/interfaces/route-settings.interface.ts +2 -3
- package/build/_enums/day-of-week.enum.d.ts +0 -14
- package/build/_enums/day-of-week.enum.d.ts.map +0 -1
- package/build/_enums/day-of-week.enum.js +0 -26
- package/build/_enums/day-of-week.enum.js.map +0 -1
- package/build/_enums/month.enum.d.ts +0 -15
- package/build/_enums/month.enum.d.ts.map +0 -1
- package/build/_enums/month.enum.js +0 -19
- package/build/_enums/month.enum.js.map +0 -1
- package/futdevpro-fsm-dynamo-01.09.15.tgz +0 -0
- package/src/_enums/day-of-week.enum.ts +0 -28
- package/src/_enums/month.enum.ts +0 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export declare class
|
|
1
|
+
export type DyFM_V2 = DyFM_Vector2;
|
|
2
|
+
export declare class DyFM_Vector2 {
|
|
3
3
|
readonly isVector2: boolean;
|
|
4
4
|
private _x;
|
|
5
5
|
set x(value: number);
|
|
@@ -9,52 +9,52 @@ export declare class DynamoFM_Vector2 {
|
|
|
9
9
|
get y(): number;
|
|
10
10
|
private _magintude;
|
|
11
11
|
get magintude(): number;
|
|
12
|
-
static readonly zero:
|
|
13
|
-
static readonly up:
|
|
14
|
-
static readonly down:
|
|
15
|
-
static readonly right:
|
|
16
|
-
static readonly left:
|
|
17
|
-
constructor(x?: number |
|
|
12
|
+
static readonly zero: DyFM_Vector2;
|
|
13
|
+
static readonly up: DyFM_Vector2;
|
|
14
|
+
static readonly down: DyFM_Vector2;
|
|
15
|
+
static readonly right: DyFM_Vector2;
|
|
16
|
+
static readonly left: DyFM_Vector2;
|
|
17
|
+
constructor(x?: number | DyFM_Vector2, y?: number);
|
|
18
18
|
constructed?(): boolean;
|
|
19
|
-
static distance(a:
|
|
20
|
-
distanceTo?(to:
|
|
21
|
-
static minus(a:
|
|
22
|
-
minus?(vector:
|
|
23
|
-
static plus(a:
|
|
24
|
-
plus?(vector:
|
|
25
|
-
static add: typeof
|
|
26
|
-
add?: (vector:
|
|
19
|
+
static distance(a: DyFM_Vector2, b: DyFM_Vector2): number;
|
|
20
|
+
distanceTo?(to: DyFM_Vector2): number;
|
|
21
|
+
static minus(a: DyFM_Vector2, b: DyFM_Vector2): DyFM_Vector2;
|
|
22
|
+
minus?(vector: DyFM_Vector2): void;
|
|
23
|
+
static plus(a: DyFM_Vector2, b: DyFM_Vector2): DyFM_Vector2;
|
|
24
|
+
plus?(vector: DyFM_Vector2): void;
|
|
25
|
+
static add: typeof DyFM_Vector2.plus;
|
|
26
|
+
add?: (vector: DyFM_Vector2) => void;
|
|
27
27
|
/** returns new multiplied Vector2 */
|
|
28
|
-
static multiply(v:
|
|
28
|
+
static multiply(v: DyFM_Vector2, n: number): DyFM_Vector2;
|
|
29
29
|
multiply?(n: number): void;
|
|
30
30
|
/** returns new divided Vector2 */
|
|
31
|
-
static divide(v:
|
|
31
|
+
static divide(v: DyFM_Vector2, n: number): DyFM_Vector2;
|
|
32
32
|
divide?(n: number): void;
|
|
33
|
-
static negative(v:
|
|
34
|
-
getNegative?():
|
|
33
|
+
static negative(v: DyFM_Vector2): DyFM_Vector2;
|
|
34
|
+
getNegative?(): DyFM_Vector2;
|
|
35
35
|
negate?(): void;
|
|
36
|
-
static rebase(v:
|
|
37
|
-
rebase?(baseFrom:
|
|
38
|
-
static rotate(vector:
|
|
39
|
-
static rotateRad(vector:
|
|
36
|
+
static rebase(v: DyFM_Vector2, baseFrom: DyFM_Vector2, baseTo: DyFM_Vector2): DyFM_Vector2;
|
|
37
|
+
rebase?(baseFrom: DyFM_Vector2, baseTo: DyFM_Vector2): void;
|
|
38
|
+
static rotate(vector: DyFM_Vector2, angle: number): DyFM_Vector2;
|
|
39
|
+
static rotateRad(vector: DyFM_Vector2, rad: number): DyFM_Vector2;
|
|
40
40
|
rotate?(angle: number): void;
|
|
41
41
|
rotateRad?(rad: number): void;
|
|
42
42
|
private newValues;
|
|
43
43
|
newXY?(newX: number, newY: number): void;
|
|
44
|
-
angle?(from:
|
|
45
|
-
static angle(from:
|
|
46
|
-
static angleRad(from:
|
|
44
|
+
angle?(from: DyFM_Vector2, to: DyFM_Vector2): number;
|
|
45
|
+
static angle(from: DyFM_Vector2, to: DyFM_Vector2): number;
|
|
46
|
+
static angleRad(from: DyFM_Vector2, to: DyFM_Vector2): number;
|
|
47
47
|
deg?(): number;
|
|
48
|
-
static deg(vector:
|
|
49
|
-
static rad(vector:
|
|
50
|
-
floor?():
|
|
51
|
-
static floor(v:
|
|
52
|
-
direction?(to:
|
|
53
|
-
static direction(from:
|
|
54
|
-
static normalize(v:
|
|
48
|
+
static deg(vector: DyFM_Vector2): number;
|
|
49
|
+
static rad(vector: DyFM_Vector2): number;
|
|
50
|
+
floor?(): DyFM_Vector2;
|
|
51
|
+
static floor(v: DyFM_Vector2): DyFM_Vector2;
|
|
52
|
+
direction?(to: DyFM_Vector2): DyFM_Vector2;
|
|
53
|
+
static direction(from: DyFM_Vector2, to: DyFM_Vector2): DyFM_Vector2;
|
|
54
|
+
static normalize(v: DyFM_Vector2): DyFM_Vector2;
|
|
55
55
|
normalize?(): void;
|
|
56
|
-
normalized?():
|
|
56
|
+
normalized?(): DyFM_Vector2;
|
|
57
57
|
private calcMagnitude;
|
|
58
|
-
clone?():
|
|
58
|
+
clone?(): DyFM_Vector2;
|
|
59
59
|
}
|
|
60
60
|
//# sourceMappingURL=vector2.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector2.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/math/vector2.util.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"vector2.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/math/vector2.util.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,OAAO,GAAG,YAAY,CAAC;AACnC,qBAAa,YAAY;IACvB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAQ;IAEnC,OAAO,CAAC,EAAE,CAAa;IACvB,IAAI,CAAC,CAAE,KAAK,EAAE,MAAM,EAInB;IACD,IAAI,CAAC,IAAK,MAAM,CAEf;IAED,OAAO,CAAC,EAAE,CAAa;IACvB,IAAI,CAAC,CAAE,KAAK,EAAE,MAAM,EAInB;IACD,IAAI,CAAC,IAAK,MAAM,CAEf;IAED,OAAO,CAAC,UAAU,CAAa;IAC/B,IAAI,SAAS,IAAK,MAAM,CAEvB;IAED,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAA0B;IAC5D,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,YAAY,CAA0B;IAC1D,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAA2B;IAC7D,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAA0B;IAC7D,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAA2B;gBAG3D,CAAC,GAAE,MAAM,GAAG,YAAgB,EAC5B,CAAC,GAAE,MAAU;IAef,WAAW,CAAC,IAAI,OAAO;IAIvB,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,YAAY,GAAG,MAAM;IAGzD,UAAU,CAAC,CAAC,EAAE,EAAE,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AI;IAG5B,SAAS,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI7B,OAAO,CAAC,SAAS;IAGjB,KAAK,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAQxC,KAAK,CAAC,CAAC,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,GAAG,MAAM;IAGpD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,GAAG,MAAM;IAG1D,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,GAAG,MAAM;IAG7D,GAAG,CAAC,IAAI,MAAM;IAGd,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM;IAGxC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM;IAIxC,KAAK,CAAC,IAAI,YAAY;IAGtB,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,YAAY,GAAG,YAAY;IAK3C,SAAS,CAAC,CAAC,EAAE,EAAE,YAAY,GAAG,YAAY;IAG1C,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,GAAG,YAAY;IAIpE,MAAM,CAAC,SAAS,CAAC,CAAC,EAAE,YAAY,GAAG,YAAY;IAG/C,SAAS,CAAC,IAAI,IAAI;IAGlB,UAAU,CAAC,IAAI,YAAY;IAI3B,OAAO,CAAC,aAAa;IAIrB,KAAK,CAAC,IAAI,YAAY;CAGvB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DyFM_Vector2 = void 0;
|
|
4
4
|
const trigonometry_util_1 = require("./trigonometry.util");
|
|
5
|
-
class
|
|
5
|
+
class DyFM_Vector2 {
|
|
6
6
|
isVector2 = true;
|
|
7
7
|
_x = 0;
|
|
8
8
|
set x(value) {
|
|
@@ -24,11 +24,11 @@ class DynamoFM_Vector2 {
|
|
|
24
24
|
get magintude() {
|
|
25
25
|
return this._magintude;
|
|
26
26
|
}
|
|
27
|
-
static zero = new
|
|
28
|
-
static up = new
|
|
29
|
-
static down = new
|
|
30
|
-
static right = new
|
|
31
|
-
static left = new
|
|
27
|
+
static zero = new DyFM_Vector2(0, 0);
|
|
28
|
+
static up = new DyFM_Vector2(0, 1);
|
|
29
|
+
static down = new DyFM_Vector2(0, -1);
|
|
30
|
+
static right = new DyFM_Vector2(1, 0);
|
|
31
|
+
static left = new DyFM_Vector2(-1, 0);
|
|
32
32
|
constructor(x = 0, y = 0) {
|
|
33
33
|
if (x.isVector2) {
|
|
34
34
|
const v = x;
|
|
@@ -48,53 +48,53 @@ class DynamoFM_Vector2 {
|
|
|
48
48
|
return this.minus(a, b).magintude;
|
|
49
49
|
}
|
|
50
50
|
distanceTo(to) {
|
|
51
|
-
return
|
|
51
|
+
return DyFM_Vector2.distance(this, to);
|
|
52
52
|
}
|
|
53
53
|
static minus(a, b) {
|
|
54
54
|
return this.plus(a, this.negative(b));
|
|
55
55
|
}
|
|
56
56
|
minus(vector) {
|
|
57
|
-
this.newValues(
|
|
57
|
+
this.newValues(DyFM_Vector2.minus(this, vector));
|
|
58
58
|
}
|
|
59
59
|
static plus(a, b) {
|
|
60
|
-
return new
|
|
60
|
+
return new DyFM_Vector2(a.x + b.x, a.y + b.y);
|
|
61
61
|
}
|
|
62
62
|
plus(vector) {
|
|
63
|
-
this.newValues(
|
|
63
|
+
this.newValues(DyFM_Vector2.plus(this, vector));
|
|
64
64
|
}
|
|
65
65
|
static add = this.plus;
|
|
66
66
|
add = this.plus;
|
|
67
67
|
/** returns new multiplied Vector2 */
|
|
68
68
|
static multiply(v, n) {
|
|
69
|
-
return new
|
|
69
|
+
return new DyFM_Vector2(v.x * n, v.y * n);
|
|
70
70
|
}
|
|
71
71
|
multiply(n) {
|
|
72
|
-
this.newValues(
|
|
72
|
+
this.newValues(DyFM_Vector2.multiply(this, n));
|
|
73
73
|
}
|
|
74
74
|
/** returns new divided Vector2 */
|
|
75
75
|
static divide(v, n) {
|
|
76
|
-
return new
|
|
76
|
+
return new DyFM_Vector2(v.x / n, v.y / n);
|
|
77
77
|
}
|
|
78
78
|
divide(n) {
|
|
79
|
-
this.newValues(
|
|
79
|
+
this.newValues(DyFM_Vector2.divide(this, n));
|
|
80
80
|
}
|
|
81
81
|
static negative(v) {
|
|
82
|
-
return new
|
|
82
|
+
return new DyFM_Vector2(-v.x, -v.y);
|
|
83
83
|
}
|
|
84
84
|
getNegative() {
|
|
85
|
-
return
|
|
85
|
+
return DyFM_Vector2.negative(this);
|
|
86
86
|
}
|
|
87
87
|
negate() {
|
|
88
|
-
this.newValues(
|
|
88
|
+
this.newValues(DyFM_Vector2.negative(this));
|
|
89
89
|
}
|
|
90
90
|
static rebase(v, baseFrom, baseTo) {
|
|
91
91
|
return this.plus(v, this.minus(baseTo, baseFrom));
|
|
92
92
|
}
|
|
93
93
|
rebase(baseFrom, baseTo) {
|
|
94
|
-
this.newValues(
|
|
94
|
+
this.newValues(DyFM_Vector2.rebase(this, baseFrom, baseTo));
|
|
95
95
|
}
|
|
96
96
|
static rotate(vector, angle) {
|
|
97
|
-
const rad = trigonometry_util_1.
|
|
97
|
+
const rad = trigonometry_util_1.DyFM_Trigonometry.angleToRadians(angle);
|
|
98
98
|
return this.rotateRad(vector, rad);
|
|
99
99
|
}
|
|
100
100
|
static rotateRad(vector, rad) {
|
|
@@ -102,13 +102,13 @@ class DynamoFM_Vector2 {
|
|
|
102
102
|
const sin = Math.sin(rad);
|
|
103
103
|
const newX = (vector.x * cos) - (vector.y * sin);
|
|
104
104
|
const newY = (vector.x * sin) + (vector.y * cos);
|
|
105
|
-
return new
|
|
105
|
+
return new DyFM_Vector2(newX, newY);
|
|
106
106
|
}
|
|
107
107
|
rotate(angle) {
|
|
108
|
-
this.newValues(
|
|
108
|
+
this.newValues(DyFM_Vector2.rotate(this, angle));
|
|
109
109
|
}
|
|
110
110
|
rotateRad(rad) {
|
|
111
|
-
this.newValues(
|
|
111
|
+
this.newValues(DyFM_Vector2.rotateRad(this, rad));
|
|
112
112
|
}
|
|
113
113
|
newValues(newV) {
|
|
114
114
|
this.newXY(newV.x, newV.y);
|
|
@@ -120,51 +120,51 @@ class DynamoFM_Vector2 {
|
|
|
120
120
|
}
|
|
121
121
|
//// AI-ed
|
|
122
122
|
angle(from, to) {
|
|
123
|
-
return
|
|
123
|
+
return DyFM_Vector2.angle(from, to);
|
|
124
124
|
}
|
|
125
125
|
static angle(from, to) {
|
|
126
|
-
return trigonometry_util_1.
|
|
126
|
+
return trigonometry_util_1.DyFM_Trigonometry.radiansToAngle(DyFM_Vector2.angleRad(from, to));
|
|
127
127
|
}
|
|
128
128
|
static angleRad(from, to) {
|
|
129
129
|
return Math.atan2(to.y - from.y, to.x - from.x);
|
|
130
130
|
}
|
|
131
131
|
deg() {
|
|
132
|
-
return
|
|
132
|
+
return DyFM_Vector2.deg(this);
|
|
133
133
|
}
|
|
134
134
|
static deg(vector) {
|
|
135
|
-
return trigonometry_util_1.
|
|
135
|
+
return trigonometry_util_1.DyFM_Trigonometry.radiansToAngle(DyFM_Vector2.rad(vector));
|
|
136
136
|
}
|
|
137
137
|
static rad(vector) {
|
|
138
138
|
return Math.atan2(vector.y, vector.x);
|
|
139
139
|
}
|
|
140
140
|
floor() {
|
|
141
|
-
return
|
|
141
|
+
return DyFM_Vector2.floor(this);
|
|
142
142
|
}
|
|
143
143
|
static floor(v) {
|
|
144
|
-
return new
|
|
144
|
+
return new DyFM_Vector2(Math.floor(v.x), Math.floor(v.y));
|
|
145
145
|
}
|
|
146
146
|
/////
|
|
147
147
|
direction(to) {
|
|
148
|
-
return
|
|
148
|
+
return DyFM_Vector2.direction(this, to);
|
|
149
149
|
}
|
|
150
150
|
static direction(from, to) {
|
|
151
|
-
return
|
|
151
|
+
return DyFM_Vector2.minus(to, from);
|
|
152
152
|
}
|
|
153
153
|
static normalize(v) {
|
|
154
|
-
return
|
|
154
|
+
return DyFM_Vector2.multiply(v, 1 / v.magintude);
|
|
155
155
|
}
|
|
156
156
|
normalize() {
|
|
157
|
-
this.newValues(
|
|
157
|
+
this.newValues(DyFM_Vector2.normalize(this));
|
|
158
158
|
}
|
|
159
159
|
normalized() {
|
|
160
|
-
return
|
|
160
|
+
return DyFM_Vector2.normalize(this);
|
|
161
161
|
}
|
|
162
162
|
calcMagnitude() {
|
|
163
|
-
this._magintude = trigonometry_util_1.
|
|
163
|
+
this._magintude = trigonometry_util_1.DyFM_Trigonometry.getHypotenuse(this._x, this._y);
|
|
164
164
|
}
|
|
165
165
|
clone() {
|
|
166
|
-
return new
|
|
166
|
+
return new DyFM_Vector2(this._x, this._y);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
exports.
|
|
169
|
+
exports.DyFM_Vector2 = DyFM_Vector2;
|
|
170
170
|
//# sourceMappingURL=vector2.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vector2.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/math/vector2.util.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"vector2.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/math/vector2.util.ts"],"names":[],"mappings":";;;AACA,2DAAwD;AAGxD,MAAa,YAAY;IACd,SAAS,GAAY,IAAI,CAAC;IAE3B,EAAE,GAAW,CAAC,CAAC;IACvB,IAAI,CAAC,CAAE,KAAa;QAClB,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC;QAEhB,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IACD,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,EAAE,CAAC;IACjB,CAAC;IAEO,EAAE,GAAW,CAAC,CAAC;IACvB,IAAI,CAAC,CAAE,KAAa;QAClB,IAAI,CAAC,EAAE,GAAG,KAAK,C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AAC;IACtC,CAAC;IAEO,aAAa;QACnB,IAAI,CAAC,UAAU,GAAG,qCAAiB,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,KAAK;QACH,OAAO,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;;AAhMH,oCAiMC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function DyFM_country_pipeTransform(countryISO: string): string;
|
|
2
2
|
//# sourceMappingURL=country-pipe.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/country-pipe.util.ts"],"names":[],"mappings":"AAWA,wBAAgB,
|
|
1
|
+
{"version":3,"file":"country-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/country-pipe.util.ts"],"names":[],"mappings":"AAWA,wBAAgB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAMrE"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DyFM_country_pipeTransform = void 0;
|
|
4
4
|
const courtry_isos_const_1 = require("../../constants/courtry-isos.const");
|
|
5
|
-
function
|
|
6
|
-
const result = courtry_isos_const_1.
|
|
5
|
+
function DyFM_country_pipeTransform(countryISO) {
|
|
6
|
+
const result = courtry_isos_const_1.DyFM_countryISOs.find((iso) => iso.iso2 === countryISO)?.name;
|
|
7
7
|
return result ?? countryISO;
|
|
8
8
|
}
|
|
9
|
-
exports.
|
|
9
|
+
exports.DyFM_country_pipeTransform = DyFM_country_pipeTransform;
|
|
10
10
|
//# sourceMappingURL=country-pipe.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/country-pipe.util.ts"],"names":[],"mappings":";;;AAQA,
|
|
1
|
+
{"version":3,"file":"country-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/country-pipe.util.ts"],"names":[],"mappings":";;;AAQA,2EAAsE;AAGtE,SAAgB,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,MAAM,GAAG,qCAAgB,CAAC,IAAI,CAClC,CAAC,GAAoB,EAAW,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,UAAU,CAC3D,EAAE,IAAI,CAAC;IAER,OAAO,MAAM,IAAI,UAAU,CAAC;AAC9B,CAAC;AAND,gEAMC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function DyFM_custom_pipeTransform<T, K>(value: T, customTransform: (input: T) => K): K;
|
|
2
2
|
//# sourceMappingURL=custom-pipe.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/custom-pipe.util.ts"],"names":[],"mappings":"AAMA,wBAAgB,
|
|
1
|
+
{"version":3,"file":"custom-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/custom-pipe.util.ts"],"names":[],"mappings":"AAMA,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,eAAe,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAE7F"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.DyFM_custom_pipeTransform = void 0;
|
|
4
|
+
function DyFM_custom_pipeTransform(value, customTransform) {
|
|
5
5
|
return customTransform(value);
|
|
6
6
|
}
|
|
7
|
-
exports.
|
|
7
|
+
exports.DyFM_custom_pipeTransform = DyFM_custom_pipeTransform;
|
|
8
8
|
//# sourceMappingURL=custom-pipe.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/custom-pipe.util.ts"],"names":[],"mappings":";;;AAMA,SAAgB,
|
|
1
|
+
{"version":3,"file":"custom-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/custom-pipe.util.ts"],"names":[],"mappings":";;;AAMA,SAAgB,yBAAyB,CAAO,KAAQ,EAAE,eAAgC;IACxF,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAChC,CAAC;AAFD,8DAEC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function DyFM_division_pipeTransform(divisionCode: string, countryISO: string): string;
|
|
2
2
|
//# sourceMappingURL=division-pipe.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"division-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/division-pipe.util.ts"],"names":[],"mappings":"AAaA,wBAAgB
|
|
1
|
+
{"version":3,"file":"division-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/division-pipe.util.ts"],"names":[],"mappings":"AAaA,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAM5F"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DyFM_division_pipeTransform = void 0;
|
|
4
4
|
const country_divisions_const_1 = require("../../constants/country-divisions.const");
|
|
5
|
-
function
|
|
6
|
-
const result = country_divisions_const_1.
|
|
5
|
+
function DyFM_division_pipeTransform(divisionCode, countryISO) {
|
|
6
|
+
const result = country_divisions_const_1.DyFM_countryDivisions?.find((d) => d?.code === divisionCode && d?.iso === countryISO)?.name;
|
|
7
7
|
return result ?? divisionCode;
|
|
8
8
|
}
|
|
9
|
-
exports.
|
|
9
|
+
exports.DyFM_division_pipeTransform = DyFM_division_pipeTransform;
|
|
10
10
|
//# sourceMappingURL=division-pipe.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"division-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/division-pipe.util.ts"],"names":[],"mappings":";;;AAWA,
|
|
1
|
+
{"version":3,"file":"division-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/division-pipe.util.ts"],"names":[],"mappings":";;;AAWA,qFAAgF;AAEhF,SAAgB,2BAA2B,CAAC,YAAoB,EAAE,UAAkB;IAClF,MAAM,MAAM,GAAW,+CAAqB,EAAE,IAAI,CAChD,CAAC,CAAuB,EAAW,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,YAAY,IAAI,CAAC,EAAE,GAAG,KAAK,UAAU,CACxF,EAAE,IAAI,CAAC;IAER,OAAO,MAAM,IAAI,YAAY,CAAC;AAChC,CAAC;AAND,kEAMC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function DyFM_list_pipeTransform(value: any[]): string;
|
|
2
2
|
//# sourceMappingURL=list-pipe.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/list-pipe.util.ts"],"names":[],"mappings":"AAOA,wBAAgB,
|
|
1
|
+
{"version":3,"file":"list-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/list-pipe.util.ts"],"names":[],"mappings":"AAOA,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,MAAM,CAE5D"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.DyFM_list_pipeTransform = void 0;
|
|
4
|
+
function DyFM_list_pipeTransform(value) {
|
|
5
5
|
return value.toString().replace(/,/g, ', ');
|
|
6
6
|
}
|
|
7
|
-
exports.
|
|
7
|
+
exports.DyFM_list_pipeTransform = DyFM_list_pipeTransform;
|
|
8
8
|
//# sourceMappingURL=list-pipe.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/list-pipe.util.ts"],"names":[],"mappings":";;;AAOA,SAAgB,
|
|
1
|
+
{"version":3,"file":"list-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/list-pipe.util.ts"],"names":[],"mappings":";;;AAOA,SAAgB,uBAAuB,CAAC,KAAY;IAClD,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAC9C,CAAC;AAFD,0DAEC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export type
|
|
5
|
-
[pipeName in
|
|
1
|
+
import { DyFM_AngularMultiPipeAvailable } from '../../../_enums';
|
|
2
|
+
import { DyFM_RangeValue } from '../../../_models';
|
|
3
|
+
import { DyFM_MultiPipe_Setting } from '../../../_models/interfaces/multi-pipe-settings.type';
|
|
4
|
+
export type DyFM_MultiPipeAngularPipes = {
|
|
5
|
+
[pipeName in DyFM_AngularMultiPipeAvailable]: (value: string, ...args: unknown[]) => string;
|
|
6
6
|
};
|
|
7
|
-
export declare const
|
|
8
|
-
export declare function
|
|
7
|
+
export declare const DyFM_multiPipeAngularPipes: DyFM_MultiPipeAngularPipes;
|
|
8
|
+
export declare function DyFM_multiPipe_pipeTransform(value: unknown, pipes: DyFM_MultiPipe_Setting[]): string | number | DyFM_RangeValue | any;
|
|
9
9
|
//# sourceMappingURL=multi-pipe-pipe.util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-pipe-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/multi-pipe-pipe.util.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"multi-pipe-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/multi-pipe-pipe.util.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,8BAA8B,EAAwF,MAAM,iBAAiB,CAAC;AACvJ,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAI9F,MAAM,MAAM,0BAA0B,GAAG;KACtC,QAAQ,IAAI,8BAA8B,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM;CAC5F,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,0BAMxC,CAAC;AAEF,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,sBAAsB,EAAE,GAC9C,MAAM,GAAG,MAAM,GAAG,eAAe,GAAG,GAAG,CA6EzC"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DyFM_multiPipe_pipeTransform = exports.DyFM_multiPipeAngularPipes = void 0;
|
|
4
4
|
const _enums_1 = require("../../../_enums");
|
|
5
5
|
const constants_1 = require("../../constants");
|
|
6
|
-
exports.
|
|
7
|
-
[_enums_1.
|
|
8
|
-
[_enums_1.
|
|
9
|
-
[_enums_1.
|
|
10
|
-
[_enums_1.
|
|
11
|
-
[_enums_1.
|
|
6
|
+
exports.DyFM_multiPipeAngularPipes = {
|
|
7
|
+
[_enums_1.DyFM_AngularMultiPipeAvailable.currency]: null,
|
|
8
|
+
[_enums_1.DyFM_AngularMultiPipeAvailable.date]: null,
|
|
9
|
+
[_enums_1.DyFM_AngularMultiPipeAvailable.decimal]: null,
|
|
10
|
+
[_enums_1.DyFM_AngularMultiPipeAvailable.number]: null,
|
|
11
|
+
[_enums_1.DyFM_AngularMultiPipeAvailable.percent]: null,
|
|
12
12
|
};
|
|
13
|
-
function
|
|
13
|
+
function DyFM_multiPipe_pipeTransform(value, pipes) {
|
|
14
14
|
/* console.log(
|
|
15
15
|
'applyPipes...',
|
|
16
16
|
'\nvalue:', value,
|
|
17
|
-
'\npipes:',
|
|
17
|
+
'\npipes:', DyFM_clone(pipes)
|
|
18
18
|
); */
|
|
19
19
|
stackPipes(pipes);
|
|
20
|
-
/* console.log('stacked pipes:',
|
|
20
|
+
/* console.log('stacked pipes:', DyFM_clone(pipes)); */
|
|
21
21
|
for (let i = 0; i < pipes.length; i++) {
|
|
22
22
|
const pipe = pipes[i];
|
|
23
|
-
/* pipes.forEach((pipe:
|
|
23
|
+
/* pipes.forEach((pipe: DyFM_MultiPipe_Setting): void => { */
|
|
24
24
|
const keys = Object.keys(pipe);
|
|
25
25
|
if (keys.length !== 1) {
|
|
26
26
|
console.warn('DYNAMO WARNING: ' +
|
|
@@ -28,9 +28,9 @@ function DynamoFM_multiPipe_pipeTransform(value, pipes) {
|
|
|
28
28
|
return value;
|
|
29
29
|
}
|
|
30
30
|
const pipeName = keys[0];
|
|
31
|
-
if (!_enums_1.
|
|
31
|
+
if (!_enums_1.DyFM_allMultiPipesAvailable.includes(pipeName)) {
|
|
32
32
|
console.warn('DYNAMO WARNING: ' +
|
|
33
|
-
'\nMultiPipe: unknown pipe "' + pipeName + '"...', '\nsorry, but this pipe is not supported by the MultiPipe yet.', '\navailable pipes are: ' + _enums_1.
|
|
33
|
+
'\nMultiPipe: unknown pipe "' + pipeName + '"...', '\nsorry, but this pipe is not supported by the MultiPipe yet.', '\navailable pipes are: ' + _enums_1.DyFM_allMultiPipesAvailable.join(', '), '\nthe custom pipe is basically usable for anything, you might try to use that.', '\n\n', new Error());
|
|
34
34
|
return value;
|
|
35
35
|
}
|
|
36
36
|
const pipeArgs = pipe[pipeName];
|
|
@@ -40,26 +40,26 @@ function DynamoFM_multiPipe_pipeTransform(value, pipes) {
|
|
|
40
40
|
'\nargs:', pipeArgs,
|
|
41
41
|
'\nvalue:', value
|
|
42
42
|
); */
|
|
43
|
-
if (_enums_1.
|
|
43
|
+
if (_enums_1.DyFM_allDynamoPipes.includes(pipeName)) {
|
|
44
44
|
if (pipeArgs?.length) {
|
|
45
|
-
value = constants_1.
|
|
45
|
+
value = constants_1.DyFM_pipeTransforms[pipeName](value, ...pipeArgs);
|
|
46
46
|
}
|
|
47
47
|
else {
|
|
48
|
-
value = constants_1.
|
|
48
|
+
value = constants_1.DyFM_pipeTransforms[pipeName](value);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
|
-
if (!exports.
|
|
52
|
+
if (!exports.DyFM_multiPipeAngularPipes[pipeName]) {
|
|
53
53
|
console.error('DYNAMO ERROR: ' +
|
|
54
|
-
'\nMultiPipe: Angular pipe "' + pipeName + '" is not defined...', '\nPlease set the pipe in the
|
|
54
|
+
'\nMultiPipe: Angular pipe "' + pipeName + '" is not defined...', '\nPlease set the pipe in the DyFM_multiPipeAngularPipes object.', '\n\n', new Error());
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
|
-
value = exports.
|
|
57
|
+
value = exports.DyFM_multiPipeAngularPipes[pipeName](value, ...pipeArgs);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
return value;
|
|
61
61
|
}
|
|
62
|
-
exports.
|
|
62
|
+
exports.DyFM_multiPipe_pipeTransform = DyFM_multiPipe_pipeTransform;
|
|
63
63
|
/**
|
|
64
64
|
* This method stacks the pipes in the pipe settings.
|
|
65
65
|
* Developing this funcfion you must know which pipe have multiPipe settings
|
|
@@ -75,7 +75,7 @@ function stackPipes(pipes) {
|
|
|
75
75
|
const pipe = pipes[i];
|
|
76
76
|
const pipeName = Object.keys(pipe)[0];
|
|
77
77
|
switch (pipeName) {
|
|
78
|
-
case _enums_1.
|
|
78
|
+
case _enums_1.DyFM_Pipe.range:
|
|
79
79
|
const furtherPipesAfterRange = pipes.splice(i + 1);
|
|
80
80
|
if (!pipe[pipeName]?.length) {
|
|
81
81
|
pipe[pipeName] = [null, furtherPipesAfterRange];
|
|
@@ -87,7 +87,7 @@ function stackPipes(pipes) {
|
|
|
87
87
|
pipe[pipeName][1] = furtherPipesAfterRange;
|
|
88
88
|
}
|
|
89
89
|
break;
|
|
90
|
-
case _enums_1.
|
|
90
|
+
case _enums_1.DyFM_Pipe.smartReplace:
|
|
91
91
|
const furtherPipesAfterSR = pipes.splice(i + 1);
|
|
92
92
|
if (!pipe[pipeName]?.length) {
|
|
93
93
|
throw new Error('DYNAMO ERROR: ' +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-pipe-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/multi-pipe-pipe.util.ts"],"names":[],"mappings":";;;AAOA,
|
|
1
|
+
{"version":3,"file":"multi-pipe-pipe.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/multi-pipe-pipe.util.ts"],"names":[],"mappings":";;;AAOA,4CAAuJ;AAGvJ,+CAAsD;AAOzC,QAAA,0BAA0B,GAA+B;IACpE,CAAC,uCAA8B,CAAC,QAAQ,CAAC,EAAE,IAAI;IAC/C,CAAC,uCAA8B,CAAC,IAAI,CAAC,EAAE,IAAI;IAC3C,CAAC,uCAA8B,CAAC,OAAO,CAAC,EAAE,IAAI;I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
{"version":3,"file":"obj-key-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/obj-key-pipe.util.ts"],"names":[],"mappings":"AAMA,wBAAgB,
|
|
1
|
+
{"version":3,"file":"obj-key-pipe.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/pipe-transforms/obj-key-pipe.util.ts"],"names":[],"mappings":"AAMA,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE,CAEvE"}
|