@powfix/core-js 0.23.9 → 0.24.1
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/chunk-AQ5VUG5P.js +39 -0
- package/dist/chunk-JE77HYXB.cjs +43 -0
- 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/WatchablePromise.cjs +182 -0
- package/dist/shared/features/WatchablePromise.d.ts +9 -0
- package/dist/shared/features/WatchablePromise.js +182 -0
- package/dist/shared/features/WatchablePromise.types.cjs +1 -0
- package/dist/shared/features/WatchablePromise.types.d.ts +1 -0
- package/dist/shared/features/WatchablePromise.types.js +0 -0
- package/dist/shared/features/index.cjs +10 -0
- package/dist/shared/features/index.d.ts +2 -0
- package/dist/shared/features/index.js +1 -0
- package/dist/shared/index.cjs +9 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.js +1 -0
- 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/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/try-catch/TryCatch.cjs +1 -1
- package/dist/shared/utils/try-catch/TryCatch.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-ETV4XYOV.cjs +0 -18
- package/dist/chunk-PKBMQBKP.js +0 -17
|
@@ -181,7 +181,7 @@ function _ts_values(o) {
|
|
|
181
181
|
};
|
|
182
182
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
183
183
|
}
|
|
184
|
-
var
|
|
184
|
+
var chunkJE77HYXB_cjs = require('../../chunk-JE77HYXB.cjs');
|
|
185
185
|
var moment = require('moment');
|
|
186
186
|
var EventEmitter3 = require('eventemitter3');
|
|
187
187
|
function _interopDefault(e) {
|
|
@@ -209,19 +209,19 @@ var Sequencer = /*#__PURE__*/ function() {
|
|
|
209
209
|
function Sequencer(option) {
|
|
210
210
|
var _this = this;
|
|
211
211
|
_class_call_check(this, Sequencer);
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
chunkJE77HYXB_cjs.__publicField(this, "sequences", []);
|
|
213
|
+
chunkJE77HYXB_cjs.__publicField(this, "status", 0 /* IDLE */ );
|
|
214
|
+
chunkJE77HYXB_cjs.__publicField(this, "minimumExecutionTime", 0);
|
|
215
215
|
// Reset variables task is done
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
chunkJE77HYXB_cjs.__publicField(this, "currentSequence", null);
|
|
217
|
+
chunkJE77HYXB_cjs.__publicField(this, "startTimestamp", null);
|
|
218
|
+
chunkJE77HYXB_cjs.__publicField(this, "endTimestamp", null);
|
|
219
219
|
// Emitter
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
chunkJE77HYXB_cjs.__publicField(this, "eventEmitter", new EventEmitter3__default.default());
|
|
221
|
+
chunkJE77HYXB_cjs.__publicField(this, "pushSequence", function(sequence) {
|
|
222
222
|
_this.sequences.push(sequence);
|
|
223
223
|
});
|
|
224
|
-
|
|
224
|
+
chunkJE77HYXB_cjs.__publicField(this, "start", function() {
|
|
225
225
|
return _async_to_generator(function() {
|
|
226
226
|
var _this, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _this1, _loop, _iterator, _step, _ret, err;
|
|
227
227
|
return _ts_generator(this, function(_state) {
|
|
@@ -180,7 +180,7 @@ function _ts_values(o) {
|
|
|
180
180
|
};
|
|
181
181
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
182
182
|
}
|
|
183
|
-
import { __publicField } from '../../chunk-
|
|
183
|
+
import { __publicField } from '../../chunk-AQ5VUG5P.js';
|
|
184
184
|
import moment from 'moment';
|
|
185
185
|
import EventEmitter3 from 'eventemitter3';
|
|
186
186
|
var SequencerStatus = /* @__PURE__ */ function(SequencerStatus2) {
|
|
@@ -18,7 +18,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
18
18
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
19
19
|
return Constructor;
|
|
20
20
|
}
|
|
21
|
-
var
|
|
21
|
+
var chunkJE77HYXB_cjs = require('../../chunk-JE77HYXB.cjs');
|
|
22
22
|
var StringUtils = /*#__PURE__*/ function() {
|
|
23
23
|
function StringUtils() {
|
|
24
24
|
_class_call_check(this, StringUtils);
|
|
@@ -47,7 +47,7 @@ var StringUtils = /*#__PURE__*/ function() {
|
|
|
47
47
|
]);
|
|
48
48
|
return StringUtils;
|
|
49
49
|
}();
|
|
50
|
-
|
|
50
|
+
chunkJE77HYXB_cjs.__publicField(StringUtils, "levenshteinDistance", function() {
|
|
51
51
|
var str1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", str2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
52
52
|
var track = Array(str2.length + 1).fill(null).map(function() {
|
|
53
53
|
return Array(str1.length + 1).fill(null);
|
|
@@ -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 { __publicField } from '../../chunk-
|
|
20
|
+
import { __publicField } from '../../chunk-AQ5VUG5P.js';
|
|
21
21
|
var StringUtils = /*#__PURE__*/ function() {
|
|
22
22
|
"use strict";
|
|
23
23
|
function StringUtils() {
|
|
@@ -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-JE77HYXB.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-AQ5VUG5P.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-JE77HYXB.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-AQ5VUG5P.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-JE77HYXB.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-AQ5VUG5P.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-JE77HYXB.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-AQ5VUG5P.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-JE77HYXB.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-AQ5VUG5P.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-JE77HYXB.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-AQ5VUG5P.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-JE77HYXB.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-AQ5VUG5P.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];
|
|
@@ -138,7 +138,7 @@ function _ts_generator(thisArg, body) {
|
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
require('../../../chunk-
|
|
141
|
+
require('../../../chunk-JE77HYXB.cjs');
|
|
142
142
|
var TryCatch = /*#__PURE__*/ function() {
|
|
143
143
|
function TryCatch() {
|
|
144
144
|
_class_call_check(this, TryCatch);
|
package/package.json
CHANGED
package/dist/chunk-ETV4XYOV.cjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
function _type_of(obj) {
|
|
3
|
-
"@swc/helpers - typeof";
|
|
4
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
5
|
-
}
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = function(obj, key, value) {
|
|
8
|
-
return key in obj ? __defProp(obj, key, {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
configurable: true,
|
|
11
|
-
writable: true,
|
|
12
|
-
value: value
|
|
13
|
-
}) : obj[key] = value;
|
|
14
|
-
};
|
|
15
|
-
var __publicField = function(obj, key, value) {
|
|
16
|
-
return __defNormalProp(obj, (typeof key === "undefined" ? "undefined" : _type_of(key)) !== "symbol" ? key + "" : key, value);
|
|
17
|
-
};
|
|
18
|
-
exports.__publicField = __publicField;
|
package/dist/chunk-PKBMQBKP.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
function _type_of(obj) {
|
|
2
|
-
"@swc/helpers - typeof";
|
|
3
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
4
|
-
}
|
|
5
|
-
var __defProp = Object.defineProperty;
|
|
6
|
-
var __defNormalProp = function(obj, key, value) {
|
|
7
|
-
return key in obj ? __defProp(obj, key, {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
configurable: true,
|
|
10
|
-
writable: true,
|
|
11
|
-
value: value
|
|
12
|
-
}) : obj[key] = value;
|
|
13
|
-
};
|
|
14
|
-
var __publicField = function(obj, key, value) {
|
|
15
|
-
return __defNormalProp(obj, (typeof key === "undefined" ? "undefined" : _type_of(key)) !== "symbol" ? key + "" : key, value);
|
|
16
|
-
};
|
|
17
|
-
export { __publicField };
|