umt 2.12.0 → 2.12.2

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.
Files changed (129) hide show
  1. package/module/Validate/isNode.js +2 -3
  2. package/module/Validate/isNode.js.map +1 -1
  3. package/module/es5/Advance/rangeAdvance.js +1 -1
  4. package/module/es5/Array/chunk.d.ts +1 -1
  5. package/module/es5/Array/dualPivotQuickSort.d.ts +1 -1
  6. package/module/es5/Array/first.d.ts +1 -1
  7. package/module/es5/Array/generateNumberArray.js +4 -4
  8. package/module/es5/Array/insertionSort.d.ts +1 -1
  9. package/module/es5/Array/mergeSort.d.ts +1 -1
  10. package/module/es5/Array/quickSort.d.ts +1 -1
  11. package/module/es5/Array/sortingHelpers/applyInsertionSortIfNeeded.d.ts +1 -1
  12. package/module/es5/Array/sortingHelpers/insertionSortRange.d.ts +1 -1
  13. package/module/es5/Array/sum.js +1 -1
  14. package/module/es5/Array/timSort.d.ts +1 -1
  15. package/module/es5/Array/zip.d.ts +1 -1
  16. package/module/es5/Array/zipLongest.d.ts +1 -1
  17. package/module/es5/Color/cmykToRgba.js +6 -6
  18. package/module/es5/Color/hexaToRgba.js +2 -2
  19. package/module/es5/Color/hslaToRgba.js +7 -7
  20. package/module/es5/Color/rgbaToCmyk.js +3 -3
  21. package/module/es5/Color/rgbaToHsla.js +5 -5
  22. package/module/es5/Consts/httpStatus/httpClientErrorStatus.d.ts +1 -1
  23. package/module/es5/Consts/httpStatus/httpInformationalStatus.d.ts +1 -1
  24. package/module/es5/Consts/httpStatus/httpRedirectionStatus.d.ts +1 -1
  25. package/module/es5/Consts/httpStatus/httpServerErrorStatus.d.ts +1 -1
  26. package/module/es5/Consts/httpStatus/httpSuccessStatus.d.ts +1 -1
  27. package/module/es5/Consts/httpStatus/index.d.ts +6 -6
  28. package/module/es5/Consts/httpStatus/index.js +5 -5
  29. package/module/es5/DataStructure/priorityQueue.js +1 -1
  30. package/module/es5/Date/birthday.d.ts +3 -3
  31. package/module/es5/Date/birthday.js +2 -2
  32. package/module/es5/Date/dateRange.js +1 -1
  33. package/module/es5/Date/dayOfWeek.d.ts +3 -3
  34. package/module/es5/Date/dayOfWeek.js +2 -2
  35. package/module/es5/Date/format.js +2 -2
  36. package/module/es5/Date/getDay.d.ts +1 -1
  37. package/module/es5/Date/getTimezoneOffsetString.js +1 -1
  38. package/module/es5/Date/new.d.ts +12 -12
  39. package/module/es5/Date/now.d.ts +1 -1
  40. package/module/es5/Date/now.js +1 -1
  41. package/module/es5/Math/calculator/convertCurrency.js +2 -2
  42. package/module/es5/Math/calculator/core.js +5 -5
  43. package/module/es5/Math/calculator/literalExpression.js +2 -2
  44. package/module/es5/Math/flexibleNumberConversion.js +1 -1
  45. package/module/es5/Math/gcd.js +1 -1
  46. package/module/es5/Math/mathSeparator.js +1 -1
  47. package/module/es5/Math/median.js +1 -1
  48. package/module/es5/Math/mode.js +1 -1
  49. package/module/es5/Math/percentile.js +1 -1
  50. package/module/es5/Math/standardDeviation.js +2 -2
  51. package/module/es5/Object/merge.d.ts +1 -1
  52. package/module/es5/Object/mergeDeep.d.ts +1 -1
  53. package/module/es5/Object/pickDeep.d.ts +2 -2
  54. package/module/es5/Simple/Array/quickSortSimple.d.ts +1 -1
  55. package/module/es5/Simple/Array/quickSortSimple.js +2 -2
  56. package/module/es5/Simple/Date/birthdaySimple.d.ts +3 -3
  57. package/module/es5/Simple/Date/birthdaySimple.js +1 -1
  58. package/module/es5/Simple/Date/dayOfWeekSimple.d.ts +8 -8
  59. package/module/es5/Simple/Date/dayOfWeekSimple.js +1 -1
  60. package/module/es5/Simple/Date/nowSimple.d.ts +2 -2
  61. package/module/es5/Simple/Date/nowSimple.js +2 -2
  62. package/module/es5/Simple/Math/deviationValueSimple.js +3 -3
  63. package/module/es5/String/formatString/applyFormatter.d.ts +1 -1
  64. package/module/es5/String/formatString/defaultFormatters.d.ts +1 -1
  65. package/module/es5/String/formatString/detectMode.d.ts +3 -3
  66. package/module/es5/String/formatString/index.d.ts +3 -3
  67. package/module/es5/String/fromBase64.js +1 -1
  68. package/module/es5/String/fuzzySearch.js +1 -1
  69. package/module/es5/Time/convertTime.d.ts +2 -2
  70. package/module/es5/Time/convertTime.js +2 -2
  71. package/module/es5/Time/normalizeTimeUnit.d.ts +2 -2
  72. package/module/es5/Tool/pipe.d.ts +1 -1
  73. package/module/es5/Tool/pipe.js +1 -1
  74. package/module/es5/UA/extractBrowserFromUserAgent.d.ts +1 -1
  75. package/module/es5/UA/extractDeviceFromUserAgent.d.ts +1 -1
  76. package/module/es5/UA/extractOsFromUserAgent.d.ts +1 -1
  77. package/module/es5/UA/parseUserAgent.d.ts +1 -1
  78. package/module/es5/Unit/unitConverterInitialization.js +2 -2
  79. package/module/es5/Validate/array/core.d.ts +1 -1
  80. package/module/es5/Validate/array/core.js +2 -2
  81. package/module/es5/Validate/boolean/core.d.ts +1 -1
  82. package/module/es5/Validate/boolean/core.js +1 -1
  83. package/module/es5/Validate/core/index.d.ts +1 -1
  84. package/module/es5/Validate/isNode.js +2 -5
  85. package/module/es5/Validate/number/core.d.ts +2 -2
  86. package/module/es5/Validate/number/core.js +1 -1
  87. package/module/es5/Validate/number/double.d.ts +1 -1
  88. package/module/es5/Validate/number/double.js +1 -1
  89. package/module/es5/Validate/number/even.d.ts +1 -1
  90. package/module/es5/Validate/number/even.js +1 -1
  91. package/module/es5/Validate/number/maxValue.d.ts +1 -1
  92. package/module/es5/Validate/number/minValue.d.ts +1 -1
  93. package/module/es5/Validate/number/odd.d.ts +1 -1
  94. package/module/es5/Validate/number/odd.js +1 -1
  95. package/module/es5/Validate/number/prime.d.ts +1 -1
  96. package/module/es5/Validate/number/prime.js +1 -1
  97. package/module/es5/Validate/object/core.d.ts +2 -2
  98. package/module/es5/Validate/object/core.js +1 -1
  99. package/module/es5/Validate/object/optional.d.ts +1 -1
  100. package/module/es5/Validate/string/core.d.ts +2 -2
  101. package/module/es5/Validate/string/core.js +1 -1
  102. package/module/es5/Validate/string/length.d.ts +1 -1
  103. package/module/es5/Validate/string/maxLength.d.ts +1 -1
  104. package/module/es5/Validate/string/minLength.d.ts +1 -1
  105. package/module/es5/Validate/string/numberString.d.ts +1 -1
  106. package/module/es5/Validate/string/numberString.js +1 -1
  107. package/module/es5/Validate/string/regexMatch.d.ts +1 -1
  108. package/module/es5/Validate/string/uuid.d.ts +1 -1
  109. package/module/es5/Validate/string/validateEmail.d.ts +2 -2
  110. package/module/es5/Validate/string/validateEmail.js +1 -1
  111. package/module/es5/tsconfig.tsbuildinfo +1 -1
  112. package/module/es5/types/array/chunk.d.ts +1 -1
  113. package/module/es5/types/array/compareFunction.d.ts +1 -1
  114. package/module/es5/types/clock/hoursAm.d.ts +1 -1
  115. package/module/es5/types/clock/hoursAmInt.d.ts +1 -1
  116. package/module/es5/types/clock/millisecondsType.d.ts +3 -3
  117. package/module/es5/types/clock/millisecondsTypeInt.d.ts +3 -3
  118. package/module/es5/types/clock/minutesType.d.ts +6 -6
  119. package/module/es5/types/clock/minutesTypeInt.d.ts +6 -6
  120. package/module/es5/types/joke/threeStepsForwardTwoStepsBack.d.ts +3 -3
  121. package/module/es5/types/logic/bGreaterThanA.d.ts +1 -1
  122. package/module/es5/types/logic/slice.d.ts +1 -1
  123. package/module/es5/types/math/add.d.ts +1 -1
  124. package/module/es5/types/math/divide.d.ts +1 -1
  125. package/module/es5/types/math/modulo.d.ts +1 -1
  126. package/module/es5/types/math/subtract.d.ts +1 -1
  127. package/module/es5/types/object/pickDeep.d.ts +1 -1
  128. package/module/es5/types/object/shallowObjectValue.d.ts +1 -1
  129. package/package.json +5 -6
@@ -1,11 +1,10 @@
1
- // biome-ignore lint/correctness/noNodejsModules: ignore
2
- import process from "node:process";
3
1
  /**
4
2
  * Determines if the current environment is Node.js
5
3
  */
6
4
  export const isNode = () => {
7
5
  try {
8
- return process !== undefined && typeof require !== "undefined";
6
+ // biome-ignore lint/correctness/noProcessGlobal: ignore
7
+ return typeof process !== "undefined" && typeof require !== "undefined";
9
8
  }
10
9
  catch {
11
10
  return false;
@@ -1 +1 @@
1
- {"version":3,"file":"isNode.js","sourceRoot":"","sources":["../../src/Validate/isNode.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,EAAE;IACzB,IAAI,CAAC;QACH,OAAO,OAAO,KAAK,SAAS,IAAI,OAAO,OAAO,KAAK,WAAW,CAAC;IACjE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"isNode.js","sourceRoot":"","sources":["../../src/Validate/isNode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,EAAE;IACzB,IAAI,CAAC;QACH,wDAAwD;QACxD,OAAO,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,OAAO,KAAK,WAAW,CAAC;IAC1E,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CAAC"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.rangeAdvance = void 0;
7
- var _range = require("@/Array/range");
7
+ var _range = require("../Array/range");
8
8
  /**
9
9
  * Returns an array of numbers that satisfy the conditional expression
10
10
  * @param start - Starting number
@@ -1,4 +1,4 @@
1
- import type { ChunkArrayType } from "$/array/chunk"; /**
1
+ import type { ChunkArrayType } from "../types/array/chunk"; /**
2
2
  * Split an array into smaller chunks of specified size
3
3
  * @param {T} array The array to split
4
4
  * @param {N} n The size of each chunk
@@ -1,4 +1,4 @@
1
- import type { CompareFunction } from "$/array/compareFunction";
1
+ import type { CompareFunction } from "../types/array/compareFunction";
2
2
  /**
3
3
  * Sort array using dual-pivot quicksort algorithm
4
4
  * More efficient than traditional quicksort for arrays with many duplicate values
@@ -1,4 +1,4 @@
1
- import type { First } from "$/logic/first";
1
+ import type { First } from "../types/logic/first";
2
2
  /**
3
3
  * Returns the first element of an array
4
4
  * @param array The input array
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.generateNumberArray = void 0;
7
- var _addition = require("@/Math/addition");
8
- var _division = require("@/Math/division");
9
- var _multiplication = require("@/Math/multiplication");
10
- var _subtract = require("@/Math/subtract");
7
+ var _addition = require("../Math/addition");
8
+ var _division = require("../Math/division");
9
+ var _multiplication = require("../Math/multiplication");
10
+ var _subtract = require("../Math/subtract");
11
11
  /**
12
12
  * Generates an array of numbers with the specified length
13
13
  * @param length The length of the array
@@ -1,4 +1,4 @@
1
- import type { CompareFunction } from "$/array/compareFunction";
1
+ import type { CompareFunction } from "../types/array/compareFunction";
2
2
  /**
3
3
  * Sort an array using insertion sort algorithm
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { CompareFunction } from "$/array/compareFunction";
1
+ import type { CompareFunction } from "../types/array/compareFunction";
2
2
  /**
3
3
  * Merge sort implementation
4
4
  * @param {T[]} array Array to sort
@@ -1,4 +1,4 @@
1
- import type { CompareFunction } from "$/array/compareFunction";
1
+ import type { CompareFunction } from "../types/array/compareFunction";
2
2
  /**
3
3
  * Sorts an array using a hybrid algorithm combining QuickSort and InsertionSort
4
4
  * @param {T[]} array Array to sort
@@ -1,4 +1,4 @@
1
- import type { CompareFunction } from "$/array/compareFunction";
1
+ import type { CompareFunction } from "../../types/array/compareFunction";
2
2
  /**
3
3
  * Checks if a partition is small enough to apply insertion sort and applies it if so.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { CompareFunction } from "$/array/compareFunction";
1
+ import type { CompareFunction } from "../../types/array/compareFunction";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.sum = void 0;
7
- var _addition = require("@/Math/addition");
7
+ var _addition = require("../Math/addition");
8
8
  /**
9
9
  * Returns the sum of an array of numbers
10
10
  * @param {number[]} x Array of numbers
@@ -1,4 +1,4 @@
1
- import type { CompareFunction } from "$/array/compareFunction";
1
+ import type { CompareFunction } from "../types/array/compareFunction";
2
2
  /**
3
3
  * Implementation of the TimSort algorithm, which combines the best features of
4
4
  * insertion sort and merge sort. It provides a stable sort with O(n log n)
@@ -1,4 +1,4 @@
1
- import type { ZipArrayType } from "$/array/zip";
1
+ import type { ZipArrayType } from "../types/array/zip";
2
2
  /**
3
3
  * Creates a new array by combining elements from multiple arrays at corresponding positions
4
4
  * @param {T} arrays List of arrays to combine
@@ -1,4 +1,4 @@
1
- import type { ZipArrayType } from "$/array/zip";
1
+ import type { ZipArrayType } from "../types/array/zip";
2
2
  /**
3
3
  * Combines arrays of different lengths by padding shorter arrays with undefined values
4
4
  * to match the length of the longest array
@@ -4,12 +4,12 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.cmykToRgba = void 0;
7
- var _division = require("@/Math/division");
8
- var _max = require("@/Math/max");
9
- var _min = require("@/Math/min");
10
- var _multiplication = require("@/Math/multiplication");
11
- var _roundOf = require("@/Math/roundOf");
12
- var _subtract = require("@/Math/subtract");
7
+ var _division = require("../Math/division");
8
+ var _max = require("../Math/max");
9
+ var _min = require("../Math/min");
10
+ var _multiplication = require("../Math/multiplication");
11
+ var _roundOf = require("../Math/roundOf");
12
+ var _subtract = require("../Math/subtract");
13
13
  /**
14
14
  * Convert CMYK color values to RGBA color space
15
15
  * @param {number} c Cyan percentage (0-100)
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.hexaToRgba = void 0;
7
- var _division = require("@/Math/division");
8
- var _roundOf = require("@/Math/roundOf");
7
+ var _division = require("../Math/division");
8
+ var _roundOf = require("../Math/roundOf");
9
9
  /**
10
10
  * Convert hexadecimal color code to RGBA color values
11
11
  * @param hex Hexadecimal color code (3, 6, or 8 digits with #)
@@ -4,13 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.hslaToRgba = void 0;
7
- var _addition = require("@/Math/addition");
8
- var _division = require("@/Math/division");
9
- var _max = require("@/Math/max");
10
- var _min = require("@/Math/min");
11
- var _multiplication = require("@/Math/multiplication");
12
- var _roundOf = require("@/Math/roundOf");
13
- var _subtract = require("@/Math/subtract");
7
+ var _addition = require("../Math/addition");
8
+ var _division = require("../Math/division");
9
+ var _max = require("../Math/max");
10
+ var _min = require("../Math/min");
11
+ var _multiplication = require("../Math/multiplication");
12
+ var _roundOf = require("../Math/roundOf");
13
+ var _subtract = require("../Math/subtract");
14
14
  /**
15
15
  * Convert HSLA color values to RGBA color space
16
16
  * @param h Hue angle in degrees (0-360)
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.rgbaToCmyk = void 0;
7
- var _division = require("@/Math/division");
8
- var _roundOf = require("@/Math/roundOf");
9
- var _subtract = require("@/Math/subtract");
7
+ var _division = require("../Math/division");
8
+ var _roundOf = require("../Math/roundOf");
9
+ var _subtract = require("../Math/subtract");
10
10
  /**
11
11
  * Convert RGBA color to CMYK color model
12
12
  * @param rgba Object containing r, g, b values (0-255) and optional a (0-1)
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.rgbaToHsla = void 0;
7
- var _addition = require("@/Math/addition");
8
- var _division = require("@/Math/division");
9
- var _multiplication = require("@/Math/multiplication");
10
- var _roundOf = require("@/Math/roundOf");
11
- var _subtract = require("@/Math/subtract");
7
+ var _addition = require("../Math/addition");
8
+ var _division = require("../Math/division");
9
+ var _multiplication = require("../Math/multiplication");
10
+ var _roundOf = require("../Math/roundOf");
11
+ var _subtract = require("../Math/subtract");
12
12
  /**
13
13
  * Convert RGBA color values to HSLA color space
14
14
  * @param rgba Object containing r, g, b values (0-255) and optional a (0-1)
@@ -1,4 +1,4 @@
1
- import type { GetEnumValues } from "$/enum/getEnumValues";
1
+ import type { GetEnumValues } from "../../types/enum/getEnumValues";
2
2
  /**
3
3
  * HTTP 4xx Client Error Status Codes
4
4
  * Indicates that the client seems to have made an error in the request
@@ -1,4 +1,4 @@
1
- import type { GetEnumValues } from "$/enum/getEnumValues";
1
+ import type { GetEnumValues } from "../../types/enum/getEnumValues";
2
2
  /**
3
3
  * HTTP 1xx Informational Status Codes
4
4
  * Indicates a provisional response, consisting only of the Status-Line and optional headers,
@@ -1,4 +1,4 @@
1
- import type { GetEnumValues } from "$/enum/getEnumValues";
1
+ import type { GetEnumValues } from "../../types/enum/getEnumValues";
2
2
  /**
3
3
  * HTTP 3xx Redirection Status Codes
4
4
  * Indicates that further action needs to be taken by the user agent in order to fulfill the request
@@ -1,4 +1,4 @@
1
- import type { GetEnumValues } from "$/enum/getEnumValues";
1
+ import type { GetEnumValues } from "../../types/enum/getEnumValues";
2
2
  /**
3
3
  * HTTP 5xx Server Error Status Codes
4
4
  * Indicates that the server failed to fulfill a valid request
@@ -1,4 +1,4 @@
1
- import type { GetEnumValues } from "$/enum/getEnumValues";
1
+ import type { GetEnumValues } from "../../types/enum/getEnumValues";
2
2
  /**
3
3
  * HTTP 2xx Success Status Codes
4
4
  * Indicates that the client's request was successfully received, understood, and accepted
@@ -1,4 +1,4 @@
1
- import type { GetEnumValues } from "$/enum/getEnumValues";
1
+ import type { GetEnumValues } from "../../types/enum/getEnumValues";
2
2
  export declare const HttpStatus: {
3
3
  readonly INTERNAL_SERVER_ERROR: 500;
4
4
  readonly NOT_IMPLEMENTED: 501;
@@ -50,8 +50,8 @@ export declare const HttpStatus: {
50
50
  readonly EARLYHINTS: 103;
51
51
  };
52
52
  export type HttpStatus = GetEnumValues<typeof HttpStatus>;
53
- export { HttpClientErrorStatus } from "@/Consts/httpStatus/httpClientErrorStatus";
54
- export { HttpInformationalStatus } from "@/Consts/httpStatus/httpInformationalStatus";
55
- export { HttpRedirectionStatus } from "@/Consts/httpStatus/httpRedirectionStatus";
56
- export { HttpServerErrorStatus } from "@/Consts/httpStatus/httpServerErrorStatus";
57
- export { HttpSuccessStatus } from "@/Consts/httpStatus/httpSuccessStatus";
53
+ export { HttpClientErrorStatus } from "../../Consts/httpStatus/httpClientErrorStatus";
54
+ export { HttpInformationalStatus } from "../../Consts/httpStatus/httpInformationalStatus";
55
+ export { HttpRedirectionStatus } from "../../Consts/httpStatus/httpRedirectionStatus";
56
+ export { HttpServerErrorStatus } from "../../Consts/httpStatus/httpServerErrorStatus";
57
+ export { HttpSuccessStatus } from "../../Consts/httpStatus/httpSuccessStatus";
@@ -34,11 +34,11 @@ Object.defineProperty(exports, "HttpSuccessStatus", {
34
34
  return _httpSuccessStatus.HttpSuccessStatus;
35
35
  }
36
36
  });
37
- var _httpClientErrorStatus = require("@/Consts/httpStatus/httpClientErrorStatus");
38
- var _httpInformationalStatus = require("@/Consts/httpStatus/httpInformationalStatus");
39
- var _httpRedirectionStatus = require("@/Consts/httpStatus/httpRedirectionStatus");
40
- var _httpServerErrorStatus = require("@/Consts/httpStatus/httpServerErrorStatus");
41
- var _httpSuccessStatus = require("@/Consts/httpStatus/httpSuccessStatus");
37
+ var _httpClientErrorStatus = require("../../Consts/httpStatus/httpClientErrorStatus");
38
+ var _httpInformationalStatus = require("../../Consts/httpStatus/httpInformationalStatus");
39
+ var _httpRedirectionStatus = require("../../Consts/httpStatus/httpRedirectionStatus");
40
+ var _httpServerErrorStatus = require("../../Consts/httpStatus/httpServerErrorStatus");
41
+ var _httpSuccessStatus = require("../../Consts/httpStatus/httpSuccessStatus");
42
42
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
43
43
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
44
44
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.PriorityQueue = void 0;
7
- var _unwrap = require("@/Tool/unwrap");
7
+ var _unwrap = require("../Tool/unwrap");
8
8
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
9
9
  function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
10
10
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -1,6 +1,6 @@
1
- import type { HoursTypeInt } from "$/clock/hoursTypeInt";
2
- import type { DayTypeInt } from "$/date/dayTypeInt";
3
- import type { MonTypeInt } from "$/date/monTypeInt";
1
+ import type { HoursTypeInt } from "../types/clock/hoursTypeInt";
2
+ import type { DayTypeInt } from "../types/date/dayTypeInt";
3
+ import type { MonTypeInt } from "../types/date/monTypeInt";
4
4
  /**
5
5
  * Calculate age based on birthdate
6
6
  * @param {number} year - Birth year
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.birthday = void 0;
7
- var _new = require("@/Date/new");
8
- var _now = require("@/Date/now");
7
+ var _new = require("../Date/new");
8
+ var _now = require("../Date/now");
9
9
  /**
10
10
  * Calculate age based on birthdate
11
11
  * @param {number} year - Birth year
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.dateRange = void 0;
7
- var _clock = require("@/Consts/clock");
7
+ var _clock = require("../Consts/clock");
8
8
  /**
9
9
  * Generate an array containing all dates between the specified start and end dates.
10
10
  *
@@ -1,6 +1,6 @@
1
- import type { HoursTypeInt } from "$/clock/hoursTypeInt";
2
- import type { DayTypeInt } from "$/date/dayTypeInt";
3
- import type { MonTypeInt } from "$/date/monTypeInt";
1
+ import type { HoursTypeInt } from "../types/clock/hoursTypeInt";
2
+ import type { DayTypeInt } from "../types/date/dayTypeInt";
3
+ import type { MonTypeInt } from "../types/date/monTypeInt";
4
4
  /**
5
5
  * Get the day of the week
6
6
  * @param properties Object containing year, month, and day
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.dayOfWeek = void 0;
7
- var _new = require("@/Date/new");
8
- var _now = require("@/Date/now");
7
+ var _new = require("../Date/new");
8
+ var _now = require("../Date/now");
9
9
  /**
10
10
  * Get the day of the week
11
11
  * @param properties Object containing year, month, and day
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.format = void 0;
7
- var _getTimezoneOffsetString = require("@/Date/getTimezoneOffsetString");
8
- var _padStart = require("@/String/padStart");
7
+ var _getTimezoneOffsetString = require("../Date/getTimezoneOffsetString");
8
+ var _padStart = require("../String/padStart");
9
9
  /**
10
10
  * Converts a date to a string according to the specified format pattern.
11
11
  * @param {Date} date - The date object to format
@@ -1,4 +1,4 @@
1
- import type { ArrayToUnion } from "$/logic/arrayToUnion";
1
+ import type { ArrayToUnion } from "../types/logic/arrayToUnion";
2
2
  interface DayList {
3
3
  de: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"];
4
4
  ko: ["일", "월", "화", "수", "목", "금", "토"];
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getTimezoneOffsetString = void 0;
7
- var _padStart = require("@/String/padStart");
7
+ var _padStart = require("../String/padStart");
8
8
  /**
9
9
  * Get timezone offset string in format "+HH:mm" or "-HH:mm"
10
10
  * @param {Date} instance - The date object to get timezone offset from
@@ -1,15 +1,15 @@
1
- import type { HoursType } from "$/clock/hoursType";
2
- import type { HoursTypeInt } from "$/clock/hoursTypeInt";
3
- import type { MillisecondsType } from "$/clock/millisecondsType";
4
- import type { MillisecondsTypeInt } from "$/clock/millisecondsTypeInt";
5
- import type { MinutesType } from "$/clock/minutesType";
6
- import type { MinutesTypeInt } from "$/clock/minutesTypeInt";
7
- import type { SecondsType } from "$/clock/secondsType";
8
- import type { SecondsTypeInt } from "$/clock/secondsTypeInt";
9
- import type { DayType } from "$/date/dayType";
10
- import type { DayTypeInt } from "$/date/dayTypeInt";
11
- import type { MonTypeInt } from "$/date/monTypeInt";
12
- import type { MonTypeZero } from "$/date/monTypeZero";
1
+ import type { HoursType } from "../types/clock/hoursType";
2
+ import type { HoursTypeInt } from "../types/clock/hoursTypeInt";
3
+ import type { MillisecondsType } from "../types/clock/millisecondsType";
4
+ import type { MillisecondsTypeInt } from "../types/clock/millisecondsTypeInt";
5
+ import type { MinutesType } from "../types/clock/minutesType";
6
+ import type { MinutesTypeInt } from "../types/clock/minutesTypeInt";
7
+ import type { SecondsType } from "../types/clock/secondsType";
8
+ import type { SecondsTypeInt } from "../types/clock/secondsTypeInt";
9
+ import type { DayType } from "../types/date/dayType";
10
+ import type { DayTypeInt } from "../types/date/dayTypeInt";
11
+ import type { MonTypeInt } from "../types/date/monTypeInt";
12
+ import type { MonTypeZero } from "../types/date/monTypeZero";
13
13
  /**
14
14
  * Create a new Date object from numeric values
15
15
  * @param year - The year
@@ -1,4 +1,4 @@
1
- import type { HoursTypeInt } from "$/clock/hoursTypeInt";
1
+ import type { HoursTypeInt } from "../types/clock/hoursTypeInt";
2
2
  /**
3
3
  * Get the current time with a specified UTC offset, regardless of the local timezone
4
4
  * @param {hoursTypeInt} [timeDifference=9] Hours offset from UTC (default: 9 for Japan Standard Time)
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.now = void 0;
7
- var _clock = require("@/Consts/clock");
7
+ var _clock = require("../Consts/clock");
8
8
  /**
9
9
  * Get the current time with a specified UTC offset, regardless of the local timezone
10
10
  * @param {hoursTypeInt} [timeDifference=9] Hours offset from UTC (default: 9 for Japan Standard Time)
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.convertCurrency = void 0;
7
- var _multiplication = require("@/Math/multiplication");
8
- var _isNumber = require("@/Validate/isNumber");
7
+ var _multiplication = require("../../Math/multiplication");
8
+ var _isNumber = require("../../Validate/isNumber");
9
9
  /**
10
10
  * Converts currency amounts in a string using currency symbols.
11
11
  *
@@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.calculatorCore = void 0;
7
7
  var _convertCurrency = require("./convertCurrency");
8
- var _addition = require("@/Math/addition");
9
- var _division = require("@/Math/division");
10
- var _multiplication = require("@/Math/multiplication");
11
- var _subtract = require("@/Math/subtract");
12
- var _isNumber = require("@/Validate/isNumber");
8
+ var _addition = require("../../Math/addition");
9
+ var _division = require("../../Math/division");
10
+ var _multiplication = require("../../Math/multiplication");
11
+ var _subtract = require("../../Math/subtract");
12
+ var _isNumber = require("../../Validate/isNumber");
13
13
  var calculatorCore = exports.calculatorCore = function calculatorCore(expression, currencyExchange) {
14
14
  // Handle empty string
15
15
  if (expression === "") {
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.literalExpression = void 0;
7
7
  var _core = require("./core");
8
- var _division = require("@/Math/division");
9
- var _gcd = require("@/Math/gcd");
8
+ var _division = require("../../Math/division");
9
+ var _gcd = require("../../Math/gcd");
10
10
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
11
11
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
12
12
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.flexibleNumberConversion = void 0;
7
- var _isValueNaN = require("@/Validate/isValueNaN");
7
+ var _isValueNaN = require("../Validate/isValueNaN");
8
8
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
9
9
  /**
10
10
  * Flexible function to convert various inputs to numbers whenever possible
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.gcd = void 0;
7
- var _isDouble = require("@/Validate/isDouble");
7
+ var _isDouble = require("../Validate/isDouble");
8
8
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
9
9
  function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
10
10
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.mathSeparator = void 0;
7
- var _isNumber = require("@/Validate/isNumber");
7
+ var _isNumber = require("../Validate/isNumber");
8
8
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
9
9
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
10
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.median = void 0;
7
- var _quickSort = require("@/Array/quickSort");
7
+ var _quickSort = require("../Array/quickSort");
8
8
  /**
9
9
  * Calculate the median of an array of numbers
10
10
  * @param {number[]} array Array of numbers
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.mode = void 0;
7
- var _ultraNumberSort = require("@/Array/ultraNumberSort");
7
+ var _ultraNumberSort = require("../Array/ultraNumberSort");
8
8
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
9
9
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
10
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.percentile = void 0;
7
- var _quickSort = require("@/Array/quickSort");
7
+ var _quickSort = require("../Array/quickSort");
8
8
  function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
9
9
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
10
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.standardDeviation = void 0;
7
7
  var _average = require("./average");
8
- var _multiplication = require("@/Math/multiplication");
9
- var _subtract = require("@/Math/subtract");
8
+ var _multiplication = require("../Math/multiplication");
9
+ var _subtract = require("../Math/subtract");
10
10
  /**
11
11
  * Calculates the standard deviation of a set of values
12
12
  * @param {number[]} values Array of numeric values
@@ -1,4 +1,4 @@
1
- import type { UnionToIntersection } from "$/logic/unionToIntersection";
1
+ import type { UnionToIntersection } from "../types/logic/unionToIntersection";
2
2
  /**
3
3
  * Merges multiple objects into a single object (shallow merge)
4
4
  * @param target - The target object to merge into
@@ -1,4 +1,4 @@
1
- import type { UnionToIntersection } from "$/logic/unionToIntersection";
1
+ import type { UnionToIntersection } from "../types/logic/unionToIntersection";
2
2
  /**
3
3
  * Deeply merges multiple objects into a single object
4
4
  * @param target - The target object to merge into
@@ -1,5 +1,5 @@
1
- import type { PickDeep } from "$/object/pickDeep";
2
- import type { PickDeepKey } from "$/object/pickDeepKey";
1
+ import type { PickDeep } from "../types/object/pickDeep";
2
+ import type { PickDeepKey } from "../types/object/pickDeepKey";
3
3
  /**
4
4
  * Creates a new object by deeply selecting properties from the source object based on specified keys.
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { CompareFunction } from "$/array/compareFunction";
1
+ import type { CompareFunction } from "../../types/array/compareFunction";
2
2
  /**
3
3
  * Quick sort implementation for arrays
4
4
  * @template T Type of array elements