@powfix/core-js 0.26.6 → 0.27.0
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/dist/browser/utils/SearchParamsUtils.cjs +8 -8
- package/dist/browser/utils/SearchParamsUtils.js +1 -1
- package/dist/{chunk-JE77HYXB.cjs → chunk-QHUNR4O5.cjs} +4 -0
- package/dist/{chunk-AQ5VUG5P.js → chunk-S7EYY36U.js} +4 -1
- package/dist/node/constants/TransactionManagerLogLevel.cjs +1 -1
- package/dist/node/constants/TransactionManagerLogLevel.js +1 -1
- package/dist/node/constants/TransactionManagerTimeoutAction.cjs +1 -1
- package/dist/node/constants/TransactionManagerTimeoutAction.js +1 -1
- package/dist/node/managers/TransactionManager.cjs +7 -7
- package/dist/node/managers/TransactionManager.js +1 -1
- package/dist/node/services/redis/RedisClient.cjs +4 -4
- package/dist/node/services/redis/RedisClient.js +1 -1
- package/dist/node/services/redis/RedisPublisher.cjs +2 -2
- package/dist/node/services/redis/RedisPublisher.js +1 -1
- package/dist/node/services/redis/RedisSubscriber.cjs +1 -1
- package/dist/node/services/redis/RedisSubscriber.js +1 -1
- package/dist/node/utils/HookUtils.cjs +1 -1
- package/dist/node/utils/HookUtils.js +1 -1
- package/dist/node/utils/sequelize-utils/SequelizeUtils.cjs +2 -2
- package/dist/node/utils/sequelize-utils/SequelizeUtils.js +1 -1
- package/dist/shared/constants/COORDINATE.cjs +5 -5
- package/dist/shared/constants/COORDINATE.js +1 -1
- package/dist/shared/constants/CRUD.cjs +1 -1
- package/dist/shared/constants/CRUD.js +1 -1
- package/dist/shared/constants/DATE.cjs +1 -1
- package/dist/shared/constants/DATE.js +1 -1
- package/dist/shared/constants/DISTANCE.cjs +1 -1
- package/dist/shared/constants/DISTANCE.js +1 -1
- package/dist/shared/constants/DURATION.cjs +1 -1
- package/dist/shared/constants/DURATION.js +1 -1
- package/dist/shared/constants/NOT_NULL.cjs +1 -1
- package/dist/shared/constants/NOT_NULL.js +1 -1
- package/dist/shared/features/DedupedTaskManager.cjs +12 -12
- package/dist/shared/features/DedupedTaskManager.js +1 -1
- package/dist/shared/features/WatchablePromise.cjs +13 -13
- package/dist/shared/features/WatchablePromise.js +1 -1
- package/dist/shared/managers/SessionManager.cjs +4 -4
- package/dist/shared/managers/SessionManager.js +1 -1
- package/dist/shared/scripts/base64Polyfill.cjs +1 -1
- package/dist/shared/scripts/base64Polyfill.js +1 -1
- package/dist/shared/services/time/TimeService.cjs +7 -7
- package/dist/shared/services/time/TimeService.js +1 -1
- package/dist/shared/utils/ArrayUtils.cjs +1 -1
- package/dist/shared/utils/ArrayUtils.js +1 -1
- package/dist/shared/utils/AxiosUtils.cjs +1 -1
- package/dist/shared/utils/AxiosUtils.js +1 -1
- package/dist/shared/utils/BooleanUtils.cjs +1 -1
- package/dist/shared/utils/BooleanUtils.js +1 -1
- package/dist/shared/utils/Calc.cjs +1 -1
- package/dist/shared/utils/Calc.js +1 -1
- package/dist/shared/utils/CoordinateUtils.cjs +1 -1
- package/dist/shared/utils/CoordinateUtils.js +1 -1
- package/dist/shared/utils/CyclicCounter.cjs +108 -0
- package/dist/shared/utils/CyclicCounter.d.ts +13 -0
- package/dist/shared/utils/CyclicCounter.js +108 -0
- package/dist/shared/utils/DateUtils.cjs +4 -4
- package/dist/shared/utils/DateUtils.js +1 -1
- package/dist/shared/utils/Enum.cjs +5 -5
- package/dist/shared/utils/Enum.js +1 -1
- package/dist/shared/utils/I18nUtils.cjs +1 -1
- package/dist/shared/utils/I18nUtils.js +1 -1
- package/dist/shared/utils/JuminNumberUtils.cjs +1 -1
- package/dist/shared/utils/JuminNumberUtils.js +1 -1
- package/dist/shared/utils/NumberUtils.cjs +1 -1
- package/dist/shared/utils/NumberUtils.js +1 -1
- package/dist/shared/utils/ObjectIdUtils.cjs +1 -1
- package/dist/shared/utils/ObjectIdUtils.js +1 -1
- package/dist/shared/utils/Point3Utils.cjs +1 -1
- package/dist/shared/utils/Point3Utils.js +1 -1
- package/dist/shared/utils/RandomUtils.cjs +1 -1
- package/dist/shared/utils/RandomUtils.js +1 -1
- package/dist/shared/utils/Sequencer.cjs +10 -10
- package/dist/shared/utils/Sequencer.js +1 -1
- package/dist/shared/utils/StringUtils.cjs +2 -2
- package/dist/shared/utils/StringUtils.js +1 -1
- package/dist/shared/utils/Uint8ArrayUtils.cjs +1 -1
- package/dist/shared/utils/Uint8ArrayUtils.js +1 -1
- package/dist/shared/utils/UuidUtils.cjs +1 -1
- package/dist/shared/utils/UuidUtils.js +1 -1
- package/dist/shared/utils/Validator.cjs +1 -1
- package/dist/shared/utils/Validator.js +1 -1
- package/dist/shared/utils/global/atob.cjs +1 -1
- package/dist/shared/utils/global/atob.js +1 -1
- package/dist/shared/utils/global/base64.cjs +1 -1
- package/dist/shared/utils/global/base64.js +1 -1
- package/dist/shared/utils/global/between.cjs +1 -1
- package/dist/shared/utils/global/between.js +1 -1
- package/dist/shared/utils/global/btoa.cjs +1 -1
- package/dist/shared/utils/global/btoa.js +1 -1
- package/dist/shared/utils/global/castArray.cjs +1 -1
- package/dist/shared/utils/global/castArray.js +1 -1
- package/dist/shared/utils/global/circularDistance.cjs +1 -1
- package/dist/shared/utils/global/circularDistance.js +1 -1
- package/dist/shared/utils/global/fallbackIfMatch.cjs +1 -1
- package/dist/shared/utils/global/fallbackIfMatch.js +1 -1
- package/dist/shared/utils/global/fallbackIfNull.cjs +1 -1
- package/dist/shared/utils/global/fallbackIfNull.js +1 -1
- package/dist/shared/utils/global/fallbackIfNullish.cjs +1 -1
- package/dist/shared/utils/global/fallbackIfNullish.js +1 -1
- package/dist/shared/utils/global/fallbackIfUndefined.cjs +1 -1
- package/dist/shared/utils/global/fallbackIfUndefined.js +1 -1
- package/dist/shared/utils/global/firstNonNullish.cjs +1 -1
- package/dist/shared/utils/global/firstNonNullish.js +1 -1
- package/dist/shared/utils/global/flat.cjs +1 -1
- package/dist/shared/utils/global/flat.js +1 -1
- package/dist/shared/utils/global/mapIfNotNullish.cjs +1 -1
- package/dist/shared/utils/global/mapIfNotNullish.js +1 -1
- package/dist/shared/utils/global/processFirstNonNullish.cjs +1 -1
- package/dist/shared/utils/global/processFirstNonNullish.js +1 -1
- package/dist/shared/utils/global/pureEnum.cjs +1 -1
- package/dist/shared/utils/global/pureEnum.js +1 -1
- package/dist/shared/utils/global/sleep.cjs +1 -1
- package/dist/shared/utils/global/sleep.js +1 -1
- package/dist/shared/utils/index.cjs +9 -0
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.js +1 -0
- package/dist/shared/utils/try-catch/TryCatch.cjs +1 -1
- package/dist/shared/utils/try-catch/TryCatch.js +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
18
18
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
19
19
|
return Constructor;
|
|
20
20
|
}
|
|
21
|
-
require('../../chunk-
|
|
21
|
+
require('../../chunk-QHUNR4O5.cjs');
|
|
22
22
|
var Uint8ArrayUtils = /*#__PURE__*/ function() {
|
|
23
23
|
function Uint8ArrayUtils() {
|
|
24
24
|
_class_call_check(this, Uint8ArrayUtils);
|
|
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
17
17
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
18
18
|
return Constructor;
|
|
19
19
|
}
|
|
20
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-S7EYY36U.js';
|
|
21
21
|
var Uint8ArrayUtils = /*#__PURE__*/ function() {
|
|
22
22
|
"use strict";
|
|
23
23
|
function Uint8ArrayUtils() {
|
|
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
18
18
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
19
19
|
return Constructor;
|
|
20
20
|
}
|
|
21
|
-
require('../../chunk-
|
|
21
|
+
require('../../chunk-QHUNR4O5.cjs');
|
|
22
22
|
var uuid = require('uuid');
|
|
23
23
|
var Uint8ArrayUtils = require('./Uint8ArrayUtils');
|
|
24
24
|
function _interopNamespace(e) {
|
|
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
17
17
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
18
18
|
return Constructor;
|
|
19
19
|
}
|
|
20
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-S7EYY36U.js';
|
|
21
21
|
import * as uuid from 'uuid';
|
|
22
22
|
import { Uint8ArrayUtils } from './Uint8ArrayUtils.js';
|
|
23
23
|
var UuidUtils = /*#__PURE__*/ function() {
|
|
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
18
18
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
19
19
|
return Constructor;
|
|
20
20
|
}
|
|
21
|
-
require('../../chunk-
|
|
21
|
+
require('../../chunk-QHUNR4O5.cjs');
|
|
22
22
|
var Validator = /*#__PURE__*/ function() {
|
|
23
23
|
function Validator() {
|
|
24
24
|
_class_call_check(this, Validator);
|
|
@@ -17,7 +17,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
17
17
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
18
18
|
return Constructor;
|
|
19
19
|
}
|
|
20
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-S7EYY36U.js';
|
|
21
21
|
var Validator = /*#__PURE__*/ function() {
|
|
22
22
|
"use strict";
|
|
23
23
|
function Validator() {
|
|
@@ -3,7 +3,7 @@ function _type_of(obj) {
|
|
|
3
3
|
"@swc/helpers - typeof";
|
|
4
4
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
5
5
|
}
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-QHUNR4O5.cjs');
|
|
7
7
|
function fallbackIfMatch(value, condition, fallback) {
|
|
8
8
|
if ((typeof value === "undefined" ? "undefined" : _type_of(value)) === (typeof condition === "undefined" ? "undefined" : _type_of(condition)) && value === condition) {
|
|
9
9
|
return fallback;
|
|
@@ -2,7 +2,7 @@ function _type_of(obj) {
|
|
|
2
2
|
"@swc/helpers - typeof";
|
|
3
3
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
4
4
|
}
|
|
5
|
-
import '../../../chunk-
|
|
5
|
+
import '../../../chunk-S7EYY36U.js';
|
|
6
6
|
function fallbackIfMatch(value, condition, fallback) {
|
|
7
7
|
if ((typeof value === "undefined" ? "undefined" : _type_of(value)) === (typeof condition === "undefined" ? "undefined" : _type_of(condition)) && value === condition) {
|
|
8
8
|
return fallback;
|
|
@@ -24,7 +24,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
24
24
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
25
25
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
26
26
|
}
|
|
27
|
-
require('../../../chunk-
|
|
27
|
+
require('../../../chunk-QHUNR4O5.cjs');
|
|
28
28
|
function firstNonNullish() {
|
|
29
29
|
for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
|
|
30
30
|
args[_key] = arguments[_key];
|
|
@@ -23,7 +23,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
23
23
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
24
24
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
25
25
|
}
|
|
26
|
-
import '../../../chunk-
|
|
26
|
+
import '../../../chunk-S7EYY36U.js';
|
|
27
27
|
function firstNonNullish() {
|
|
28
28
|
for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
|
|
29
29
|
args[_key] = arguments[_key];
|
|
@@ -24,7 +24,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
24
24
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
25
25
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
26
26
|
}
|
|
27
|
-
require('../../../chunk-
|
|
27
|
+
require('../../../chunk-QHUNR4O5.cjs');
|
|
28
28
|
var firstNonNullish = require('./firstNonNullish');
|
|
29
29
|
function processFirstNonNullish(processor) {
|
|
30
30
|
for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
@@ -23,7 +23,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
23
23
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
24
24
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
25
25
|
}
|
|
26
|
-
import '../../../chunk-
|
|
26
|
+
import '../../../chunk-S7EYY36U.js';
|
|
27
27
|
import { firstNonNullish } from './firstNonNullish.js';
|
|
28
28
|
function processFirstNonNullish(processor) {
|
|
29
29
|
for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
@@ -45,7 +45,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45
45
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
46
46
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
47
47
|
}
|
|
48
|
-
require('../../../chunk-
|
|
48
|
+
require('../../../chunk-QHUNR4O5.cjs');
|
|
49
49
|
function pureEnum(e) {
|
|
50
50
|
return Object.entries(e).filter(function(param) {
|
|
51
51
|
var _param = _sliced_to_array(param, 2), key = _param[0], value = _param[1];
|
|
@@ -44,7 +44,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
44
44
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
45
45
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
46
46
|
}
|
|
47
|
-
import '../../../chunk-
|
|
47
|
+
import '../../../chunk-S7EYY36U.js';
|
|
48
48
|
function pureEnum(e) {
|
|
49
49
|
return Object.entries(e).filter(function(param) {
|
|
50
50
|
var _param = _sliced_to_array(param, 2), key = _param[0], value = _param[1];
|
|
@@ -8,6 +8,7 @@ var UuidUtils = require('./UuidUtils');
|
|
|
8
8
|
var BooleanUtils = require('./BooleanUtils');
|
|
9
9
|
var Calc = require('./Calc');
|
|
10
10
|
var CoordinateUtils = require('./CoordinateUtils');
|
|
11
|
+
var CyclicCounter = require('./CyclicCounter');
|
|
11
12
|
var DateUtils = require('./DateUtils');
|
|
12
13
|
var Enum = require('./Enum');
|
|
13
14
|
var Enum_types = require('./Enum.types');
|
|
@@ -92,6 +93,14 @@ Object.keys(CoordinateUtils).forEach(function(k) {
|
|
|
92
93
|
}
|
|
93
94
|
});
|
|
94
95
|
});
|
|
96
|
+
Object.keys(CyclicCounter).forEach(function(k) {
|
|
97
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function get() {
|
|
100
|
+
return CyclicCounter[k];
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
});
|
|
95
104
|
Object.keys(DateUtils).forEach(function(k) {
|
|
96
105
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
97
106
|
enumerable: true,
|
|
@@ -7,6 +7,7 @@ export * from './UuidUtils.js';
|
|
|
7
7
|
export * from './BooleanUtils.js';
|
|
8
8
|
export * from './Calc.js';
|
|
9
9
|
export * from './CoordinateUtils.js';
|
|
10
|
+
export * from "./CyclicCounter.js";
|
|
10
11
|
export * from './DateUtils.js';
|
|
11
12
|
export * from './Enum.js';
|
|
12
13
|
export * from './Enum.types.js';
|
|
@@ -7,6 +7,7 @@ export * from './UuidUtils.js';
|
|
|
7
7
|
export * from './BooleanUtils.js';
|
|
8
8
|
export * from './Calc.js';
|
|
9
9
|
export * from './CoordinateUtils.js';
|
|
10
|
+
export * from './CyclicCounter.js';
|
|
10
11
|
export * from './DateUtils.js';
|
|
11
12
|
export * from './Enum.js';
|
|
12
13
|
export * from './Enum.types.js';
|
|
@@ -138,7 +138,7 @@ function _ts_generator(thisArg, body) {
|
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
require('../../../chunk-
|
|
141
|
+
require('../../../chunk-QHUNR4O5.cjs');
|
|
142
142
|
var TryCatch = /*#__PURE__*/ function() {
|
|
143
143
|
function TryCatch() {
|
|
144
144
|
_class_call_check(this, TryCatch);
|