toolbox-x 2.0.1 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Color-BCsnSEmt.d.cts → Color-D3V-jsd9.d.cts} +1 -1
- package/dist/{Color-CKmhtXdG.d.mts → Color-vqRN4-tH.d.mts} +1 -1
- package/dist/{Stylog-CXpN-oeY.d.mts → Stylog-B2xf9b6T.d.cts} +1 -1
- package/dist/{Stylog-DJOVxym_.d.cts → Stylog-COUTYv10.d.mts} +1 -1
- package/dist/{area-DOqFLNcr.d.mts → area-BRs7joY-.d.mts} +1 -1
- package/dist/{area-CHhwLR12.d.cts → area-V5TIejvE.d.cts} +1 -1
- package/dist/{array-BNbTIBni.d.mts → array-BJ4EH8wi.d.mts} +1 -1
- package/dist/{array-CL3apdfa.d.cts → array-CQX_EGkn.d.cts} +1 -1
- package/dist/{basics-B9aytOct.d.cts → basics-B-FQYalQ.d.cts} +1 -1
- package/dist/{basics-BNQqY5WD.d.mts → basics-B_A9bRYf.d.mts} +1 -1
- package/dist/{basics-CJmdhXoo.cjs → basics-Bb5ovcvz.cjs} +137 -2
- package/dist/{basics-CebgkY-n.mjs → basics-Dald7J6c.mjs} +95 -2
- package/dist/{case-Bkkm6Mqi.d.mts → case-D3vbB82w.d.cts} +1 -1
- package/dist/{case-DFD3Ml1p.d.cts → case-pluK6eqe.d.mts} +1 -1
- package/dist/change-case.d.cts +1 -1
- package/dist/change-case.d.mts +1 -1
- package/dist/colors.d.cts +2 -2
- package/dist/colors.d.mts +2 -2
- package/dist/{constants-Dz5vxNQ9.cjs → constants-CgFaV72Z.cjs} +19 -2
- package/dist/{constants-j-iXjwDl.mjs → constants-GZL_CT1W.mjs} +14 -3
- package/dist/constants.cjs +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/converter.d.cts +2 -2
- package/dist/converter.d.mts +2 -2
- package/dist/date.cjs +42 -5
- package/dist/date.d.cts +27 -2
- package/dist/date.d.mts +27 -2
- package/dist/date.mjs +42 -6
- package/dist/dom.cjs +7 -8
- package/dist/dom.d.cts +3 -3
- package/dist/dom.d.mts +3 -3
- package/dist/dom.mjs +2 -3
- package/dist/{form-CC9T9WnX.d.cts → form-B91Vb6IK.d.cts} +2 -2
- package/dist/{form-CheKmgjj.d.mts → form-DaIT0NMx.d.mts} +2 -2
- package/dist/{guards-B2s2wlVN.mjs → guards-D1et4U32.mjs} +1 -1
- package/dist/{guards-DMJcjPDt.cjs → guards-D8Iz6EEy.cjs} +1 -1
- package/dist/guards.cjs +34 -35
- package/dist/guards.d.cts +4 -4
- package/dist/guards.d.mts +4 -4
- package/dist/guards.mjs +2 -3
- package/dist/{hash-C0Wr7H8v.d.mts → hash-93NWr2bT.d.cts} +1 -1
- package/dist/{hash-DJ8b9VHB.d.cts → hash-Dh4GTl4B.d.mts} +1 -1
- package/dist/hash.cjs +2 -2
- package/dist/hash.d.cts +4 -4
- package/dist/hash.d.mts +4 -4
- package/dist/hash.mjs +2 -2
- package/dist/{http-status-BSee6mB5.d.mts → http-status-D0DfMM_G.d.mts} +1 -1
- package/dist/{http-status-DJn87B_Y.d.cts → http-status-DG5Wi-Rz.d.cts} +1 -1
- package/dist/http-status.d.cts +2 -2
- package/dist/http-status.d.mts +2 -2
- package/dist/{index-01oaUuP6.d.mts → index-d-0XdKRj.d.mts} +2 -2
- package/dist/{index-CgwlWrZM.d.cts → index-wAbirEXW.d.cts} +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +3 -3
- package/dist/{object-Mglyg4AW.d.cts → object-ahxpI5tD.d.cts} +8 -6
- package/dist/{object-Mglyg4AW.d.mts → object-ahxpI5tD.d.mts} +8 -6
- package/dist/{objectify-xQvZS3UI.cjs → objectify--6hPlQ7r.cjs} +6 -7
- package/dist/{objectify-CQa8gQib.mjs → objectify-BoIZEKOL.mjs} +1 -2
- package/dist/paginator.d.cts +1 -1
- package/dist/paginator.d.mts +1 -1
- package/dist/{parse-BWu3UbOk.cjs → parse-CbVVRoFY.cjs} +3 -3
- package/dist/{parse-CNDdS-sy.mjs → parse-DUJ0YThn.mjs} +2 -2
- package/dist/{pluralizer-BGMC8LLz.d.cts → pluralizer-C52Pkwq9.d.cts} +1 -1
- package/dist/{pluralizer-CQNzRhwR.d.mts → pluralizer-CkY_fJ5U.d.mts} +1 -1
- package/dist/pluralizer.d.cts +1 -1
- package/dist/pluralizer.d.mts +1 -1
- package/dist/{string-_1ImwUJT.d.mts → string-C3g9oBeS.d.mts} +1 -1
- package/dist/{string-BDwBuik3.d.cts → string-DENMnjFc.d.cts} +1 -1
- package/dist/stylog.d.cts +2 -2
- package/dist/stylog.d.mts +2 -2
- package/dist/types/array.d.cts +1 -1
- package/dist/types/array.d.mts +1 -1
- package/dist/types/colors.d.cts +1 -1
- package/dist/types/colors.d.mts +1 -1
- package/dist/types/converter.d.cts +1 -1
- package/dist/types/converter.d.mts +1 -1
- package/dist/types/date.d.cts +2 -2
- package/dist/types/date.d.mts +2 -2
- package/dist/types/form.d.cts +1 -1
- package/dist/types/form.d.mts +1 -1
- package/dist/types/hash.d.cts +1 -1
- package/dist/types/hash.d.mts +1 -1
- package/dist/types/http-status.d.cts +1 -1
- package/dist/types/http-status.d.mts +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/number.d.cts +1 -1
- package/dist/types/number.d.mts +1 -1
- package/dist/types/object.d.cts +1 -1
- package/dist/types/object.d.mts +1 -1
- package/dist/types/pluralizer.d.cts +1 -1
- package/dist/types/pluralizer.d.mts +1 -1
- package/dist/types/string.d.cts +1 -1
- package/dist/types/string.d.mts +1 -1
- package/dist/types/stylog.d.cts +1 -1
- package/dist/types/stylog.d.mts +1 -1
- package/dist/types/utils.d.cts +1 -1
- package/dist/types/utils.d.mts +1 -1
- package/dist/{uuid-CiJtSUbo.d.cts → uuid-BPkWu84A.d.mts} +1 -1
- package/dist/{uuid-D-gjPs4Q.d.mts → uuid-r7G_An2E.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/guards-BK1QuvFZ.mjs +0 -115
- package/dist/guards-Bsh6Bfdq.cjs +0 -156
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { H as Branded, er as Percent, nt as Maybe } from "./object-ahxpI5tD.cjs";
|
|
18
18
|
import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/types/colors.d.ts
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { H as Branded, er as Percent, nt as Maybe } from "./object-ahxpI5tD.mjs";
|
|
18
18
|
import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/types/colors.d.ts
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { Ir as LooseLiteral, ct as Numeric, i as $Record, zr as Mutable } from "./object-ahxpI5tD.mjs";
|
|
18
18
|
import { t as UNITS } from "./constants-D8RzBjsL.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/converter/data.d.ts
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { Ir as LooseLiteral, ct as Numeric, i as $Record, zr as Mutable } from "./object-ahxpI5tD.cjs";
|
|
18
18
|
import { t as UNITS } from "./constants-D8RzBjsL.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/converter/data.d.ts
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-
|
|
17
|
+
import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-ahxpI5tD.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/types/array.d.ts
|
|
20
20
|
/** * Flatten Array or Wrap in Array */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-
|
|
17
|
+
import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-ahxpI5tD.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/types/array.d.ts
|
|
20
20
|
/** * Flatten Array or Wrap in Array */
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
const require_primitives = require('./primitives-CBGICrDR.cjs');
|
|
18
|
+
const require_timezone = require('./timezone-CSz7R0L6.cjs');
|
|
18
19
|
const require_specials = require('./specials-dkYP1Nh2.cjs');
|
|
19
20
|
const require_utilities = require('./utilities-CWV1GPGY.cjs');
|
|
20
|
-
const require_guards = require('./guards-Bsh6Bfdq.cjs');
|
|
21
21
|
|
|
22
22
|
//#region src/array/helpers.ts
|
|
23
23
|
/**
|
|
@@ -133,6 +133,99 @@ function sortAnArray(array, options) {
|
|
|
133
133
|
return [...array];
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/date/guards.ts
|
|
138
|
+
/**
|
|
139
|
+
* * Checks if the provided value is a valid time string in "HH:MM" format.
|
|
140
|
+
*
|
|
141
|
+
* @param value - The value to check.
|
|
142
|
+
* @returns `true` if the value is a valid time string, `false` otherwise.
|
|
143
|
+
*/
|
|
144
|
+
function isValidTime(value) {
|
|
145
|
+
if (!require_primitives.isNonEmptyString(value)) return false;
|
|
146
|
+
const [hourStr, minuteStr] = value.split(":");
|
|
147
|
+
if (!require_specials.isNumericString(hourStr) || !require_specials.isNumericString(minuteStr)) return false;
|
|
148
|
+
const hour = Number(hourStr);
|
|
149
|
+
const minute = Number(minuteStr);
|
|
150
|
+
return hour >= 0 && hour <= 23 && minute >= 0 && minute <= 59;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* * Checks if the provided value is a valid `UTCOffset` (e.g. `UTC-01:30`).
|
|
154
|
+
*
|
|
155
|
+
* @param value - The value to check.
|
|
156
|
+
* @returns `true` if the value is a valid utc offset, `false` otherwise.
|
|
157
|
+
*/
|
|
158
|
+
function isValidUTCOffset(value) {
|
|
159
|
+
return require_primitives.isString(value) ? /^UTC[+-]?(?:0[0-9]|1[0-4]):(?:00|15|30|45)$/.test(value) : false;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* * Validates whether the provided value is a recognized IANA time zone identifier (excluding `"Factory"`), based on the {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}.
|
|
163
|
+
*
|
|
164
|
+
* @remarks
|
|
165
|
+
* - Relies on a large constant map of time zone identifiers, which can increase bundle size in browser environments. Matches against `597` identifiers.
|
|
166
|
+
* - Prefer {@link isNativeTimeZoneId} when you want a lightweight, native-only validation approach. Matches against `418` identifiers.
|
|
167
|
+
*
|
|
168
|
+
* @param value Time zone identifier to validate.
|
|
169
|
+
* @returns `true` if the value is a valid IANA time zone identifier, otherwise `false`.
|
|
170
|
+
*/
|
|
171
|
+
function isValidTimeZoneId(value) {
|
|
172
|
+
return require_primitives.isNonEmptyString(value) ? new Set([...require_timezone.IANA_TZ_IDS]).has(value) : false;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* * Validates whether the provided value is a supported time zone identifier using the native JavaScript API (`Intl.supportedValuesOf('timeZone')`).
|
|
176
|
+
*
|
|
177
|
+
* @remarks
|
|
178
|
+
* - Uses only native {@link Intl} capabilities—minimal code footprint, highly performant. Matches against `418` identifiers.
|
|
179
|
+
* - Prefer {@link isValidTimeZoneId} when validation must align strictly with the full
|
|
180
|
+
* {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}. Matches against `597` identifiers.
|
|
181
|
+
*
|
|
182
|
+
* @param value Time zone identifier to validate.
|
|
183
|
+
* @returns `true` if the value is a valid native JS-supported time zone identifier, otherwise `false`.
|
|
184
|
+
*/
|
|
185
|
+
function isNativeTimeZoneId(value) {
|
|
186
|
+
return require_primitives.isNonEmptyString(value) ? new Set(require_timezone.NATIVE_TZ_IDS).has(value) : false;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* * Checks if the year is a leap year.
|
|
190
|
+
*
|
|
191
|
+
* - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
|
|
192
|
+
* - For example, 2000 and 2400 are leap years, but 1900 and 2100 are not.
|
|
193
|
+
* @param year The year to check.
|
|
194
|
+
* @returns `true` if the year is a leap year, `false` otherwise.
|
|
195
|
+
*/
|
|
196
|
+
function isLeapYear(year) {
|
|
197
|
+
const $year = require_utilities.normalizeNumber(year);
|
|
198
|
+
return $year ? $year % 4 === 0 && $year % 100 !== 0 || $year % 400 === 0 : false;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* * Checks if a value is a date-like object from `Date`, `Chronos`, `Moment.js`, `Day.js`, `Luxon`, `JS-Joda`, or `Temporal`
|
|
202
|
+
* @param value Value to check if it is date-like object.
|
|
203
|
+
* @returns `true` if the value is date-like object, otherwise `false`.
|
|
204
|
+
*/
|
|
205
|
+
function isDateLike(value) {
|
|
206
|
+
if (value instanceof Date) return true;
|
|
207
|
+
if (require_specials.isObject(value)) {
|
|
208
|
+
if (require_specials.isFunction(value.format) && require_specials.isFunction(value.toJSON) && require_specials.isFunction(value.toISOString)) return true;
|
|
209
|
+
if (require_specials.isFunction(value.toISO) && require_specials.isFunction(value.toFormat) && require_primitives.isBoolean(value.isValid)) return true;
|
|
210
|
+
if (require_specials.isFunction(value.plus) && require_specials.isFunction(value.minus) && require_specials.isFunction(value.equals) && require_specials.isFunction(value.getClass)) return true;
|
|
211
|
+
if (require_specials.isFunction(value.toJSON) && require_specials.isFunction(value.toString) && [
|
|
212
|
+
"Instant",
|
|
213
|
+
"Duration",
|
|
214
|
+
"PlainDate",
|
|
215
|
+
"PlainTime",
|
|
216
|
+
"PlainDateTime",
|
|
217
|
+
"PlainMonthDay",
|
|
218
|
+
"PlainYearMonth",
|
|
219
|
+
"ZonedDateTime"
|
|
220
|
+
].includes(value.constructor?.name ?? "")) return true;
|
|
221
|
+
}
|
|
222
|
+
return false;
|
|
223
|
+
}
|
|
224
|
+
/** Checks if a value represents time value (number) with different forms of {@link TimeWithUnit units} */
|
|
225
|
+
function isTimeWithUnit(value) {
|
|
226
|
+
return require_primitives.isNonEmptyString(value) && /^-?\d*\.?\d+ *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|months?|mo|years?|yrs?|y)?$/i.test(value);
|
|
227
|
+
}
|
|
228
|
+
|
|
136
229
|
//#endregion
|
|
137
230
|
//#region src/utils/index.ts
|
|
138
231
|
/**
|
|
@@ -325,7 +418,7 @@ function getClassDetails(cls) {
|
|
|
325
418
|
*/
|
|
326
419
|
function stableStringify(obj) {
|
|
327
420
|
const _replacer = (_, v) => v === void 0 ? null : v;
|
|
328
|
-
if (require_specials.isNotEmptyObject(obj)) return "{" + Object.keys(obj).sort().map((k) => JSON.stringify(k, _replacer) + ":" + (
|
|
421
|
+
if (require_specials.isNotEmptyObject(obj)) return "{" + Object.keys(obj).sort().map((k) => JSON.stringify(k, _replacer) + ":" + (isDateLike(obj[k]) ? JSON.stringify(obj[k]) : stableStringify(obj[k]))).join(",") + "}";
|
|
329
422
|
if (require_specials.isValidArray(obj)) return "[" + obj.map((v) => stableStringify(v)).join(",") + "]";
|
|
330
423
|
return JSON.stringify(obj, _replacer);
|
|
331
424
|
}
|
|
@@ -1906,12 +1999,36 @@ Object.defineProperty(exports, 'intTo4BytesBE', {
|
|
|
1906
1999
|
return intTo4BytesBE;
|
|
1907
2000
|
}
|
|
1908
2001
|
});
|
|
2002
|
+
Object.defineProperty(exports, 'isDateLike', {
|
|
2003
|
+
enumerable: true,
|
|
2004
|
+
get: function () {
|
|
2005
|
+
return isDateLike;
|
|
2006
|
+
}
|
|
2007
|
+
});
|
|
1909
2008
|
Object.defineProperty(exports, 'isDeepEqual', {
|
|
1910
2009
|
enumerable: true,
|
|
1911
2010
|
get: function () {
|
|
1912
2011
|
return isDeepEqual;
|
|
1913
2012
|
}
|
|
1914
2013
|
});
|
|
2014
|
+
Object.defineProperty(exports, 'isLeapYear', {
|
|
2015
|
+
enumerable: true,
|
|
2016
|
+
get: function () {
|
|
2017
|
+
return isLeapYear;
|
|
2018
|
+
}
|
|
2019
|
+
});
|
|
2020
|
+
Object.defineProperty(exports, 'isNativeTimeZoneId', {
|
|
2021
|
+
enumerable: true,
|
|
2022
|
+
get: function () {
|
|
2023
|
+
return isNativeTimeZoneId;
|
|
2024
|
+
}
|
|
2025
|
+
});
|
|
2026
|
+
Object.defineProperty(exports, 'isTimeWithUnit', {
|
|
2027
|
+
enumerable: true,
|
|
2028
|
+
get: function () {
|
|
2029
|
+
return isTimeWithUnit;
|
|
2030
|
+
}
|
|
2031
|
+
});
|
|
1915
2032
|
Object.defineProperty(exports, 'isUUIDv1', {
|
|
1916
2033
|
enumerable: true,
|
|
1917
2034
|
get: function () {
|
|
@@ -1960,6 +2077,24 @@ Object.defineProperty(exports, 'isUUIDv8', {
|
|
|
1960
2077
|
return isUUIDv8;
|
|
1961
2078
|
}
|
|
1962
2079
|
});
|
|
2080
|
+
Object.defineProperty(exports, 'isValidTime', {
|
|
2081
|
+
enumerable: true,
|
|
2082
|
+
get: function () {
|
|
2083
|
+
return isValidTime;
|
|
2084
|
+
}
|
|
2085
|
+
});
|
|
2086
|
+
Object.defineProperty(exports, 'isValidTimeZoneId', {
|
|
2087
|
+
enumerable: true,
|
|
2088
|
+
get: function () {
|
|
2089
|
+
return isValidTimeZoneId;
|
|
2090
|
+
}
|
|
2091
|
+
});
|
|
2092
|
+
Object.defineProperty(exports, 'isValidUTCOffset', {
|
|
2093
|
+
enumerable: true,
|
|
2094
|
+
get: function () {
|
|
2095
|
+
return isValidUTCOffset;
|
|
2096
|
+
}
|
|
2097
|
+
});
|
|
1963
2098
|
Object.defineProperty(exports, 'md5', {
|
|
1964
2099
|
enumerable: true,
|
|
1965
2100
|
get: function () {
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { a as isNonEmptyString, c as isNumber, d as isString, m as isUndefined, n as isBoolean, u as isPrimitive } from "./primitives-Djsevc69.mjs";
|
|
18
|
+
import { n as NATIVE_TZ_IDS, t as IANA_TZ_IDS } from "./timezone-avZ4TvDx.mjs";
|
|
18
19
|
import { C as isMethodDescriptor, E as isObjectWithKeys, T as isObject, b as isFunction, c as isHexString, d as isNumericString, g as isArrayOfType, h as isArray, j as isValidArray, m as isUUID, w as isNotEmptyObject } from "./specials-Hq5Ncd6y.mjs";
|
|
19
20
|
import { a as normalizeNumber } from "./utilities-DPscNbS1.mjs";
|
|
20
|
-
import { t as isDateLike } from "./guards-BK1QuvFZ.mjs";
|
|
21
21
|
|
|
22
22
|
//#region src/array/helpers.ts
|
|
23
23
|
/**
|
|
@@ -133,6 +133,99 @@ function sortAnArray(array, options) {
|
|
|
133
133
|
return [...array];
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/date/guards.ts
|
|
138
|
+
/**
|
|
139
|
+
* * Checks if the provided value is a valid time string in "HH:MM" format.
|
|
140
|
+
*
|
|
141
|
+
* @param value - The value to check.
|
|
142
|
+
* @returns `true` if the value is a valid time string, `false` otherwise.
|
|
143
|
+
*/
|
|
144
|
+
function isValidTime(value) {
|
|
145
|
+
if (!isNonEmptyString(value)) return false;
|
|
146
|
+
const [hourStr, minuteStr] = value.split(":");
|
|
147
|
+
if (!isNumericString(hourStr) || !isNumericString(minuteStr)) return false;
|
|
148
|
+
const hour = Number(hourStr);
|
|
149
|
+
const minute = Number(minuteStr);
|
|
150
|
+
return hour >= 0 && hour <= 23 && minute >= 0 && minute <= 59;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* * Checks if the provided value is a valid `UTCOffset` (e.g. `UTC-01:30`).
|
|
154
|
+
*
|
|
155
|
+
* @param value - The value to check.
|
|
156
|
+
* @returns `true` if the value is a valid utc offset, `false` otherwise.
|
|
157
|
+
*/
|
|
158
|
+
function isValidUTCOffset(value) {
|
|
159
|
+
return isString(value) ? /^UTC[+-]?(?:0[0-9]|1[0-4]):(?:00|15|30|45)$/.test(value) : false;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* * Validates whether the provided value is a recognized IANA time zone identifier (excluding `"Factory"`), based on the {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}.
|
|
163
|
+
*
|
|
164
|
+
* @remarks
|
|
165
|
+
* - Relies on a large constant map of time zone identifiers, which can increase bundle size in browser environments. Matches against `597` identifiers.
|
|
166
|
+
* - Prefer {@link isNativeTimeZoneId} when you want a lightweight, native-only validation approach. Matches against `418` identifiers.
|
|
167
|
+
*
|
|
168
|
+
* @param value Time zone identifier to validate.
|
|
169
|
+
* @returns `true` if the value is a valid IANA time zone identifier, otherwise `false`.
|
|
170
|
+
*/
|
|
171
|
+
function isValidTimeZoneId(value) {
|
|
172
|
+
return isNonEmptyString(value) ? new Set([...IANA_TZ_IDS]).has(value) : false;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* * Validates whether the provided value is a supported time zone identifier using the native JavaScript API (`Intl.supportedValuesOf('timeZone')`).
|
|
176
|
+
*
|
|
177
|
+
* @remarks
|
|
178
|
+
* - Uses only native {@link Intl} capabilities—minimal code footprint, highly performant. Matches against `418` identifiers.
|
|
179
|
+
* - Prefer {@link isValidTimeZoneId} when validation must align strictly with the full
|
|
180
|
+
* {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}. Matches against `597` identifiers.
|
|
181
|
+
*
|
|
182
|
+
* @param value Time zone identifier to validate.
|
|
183
|
+
* @returns `true` if the value is a valid native JS-supported time zone identifier, otherwise `false`.
|
|
184
|
+
*/
|
|
185
|
+
function isNativeTimeZoneId(value) {
|
|
186
|
+
return isNonEmptyString(value) ? new Set(NATIVE_TZ_IDS).has(value) : false;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* * Checks if the year is a leap year.
|
|
190
|
+
*
|
|
191
|
+
* - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
|
|
192
|
+
* - For example, 2000 and 2400 are leap years, but 1900 and 2100 are not.
|
|
193
|
+
* @param year The year to check.
|
|
194
|
+
* @returns `true` if the year is a leap year, `false` otherwise.
|
|
195
|
+
*/
|
|
196
|
+
function isLeapYear(year) {
|
|
197
|
+
const $year = normalizeNumber(year);
|
|
198
|
+
return $year ? $year % 4 === 0 && $year % 100 !== 0 || $year % 400 === 0 : false;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* * Checks if a value is a date-like object from `Date`, `Chronos`, `Moment.js`, `Day.js`, `Luxon`, `JS-Joda`, or `Temporal`
|
|
202
|
+
* @param value Value to check if it is date-like object.
|
|
203
|
+
* @returns `true` if the value is date-like object, otherwise `false`.
|
|
204
|
+
*/
|
|
205
|
+
function isDateLike(value) {
|
|
206
|
+
if (value instanceof Date) return true;
|
|
207
|
+
if (isObject(value)) {
|
|
208
|
+
if (isFunction(value.format) && isFunction(value.toJSON) && isFunction(value.toISOString)) return true;
|
|
209
|
+
if (isFunction(value.toISO) && isFunction(value.toFormat) && isBoolean(value.isValid)) return true;
|
|
210
|
+
if (isFunction(value.plus) && isFunction(value.minus) && isFunction(value.equals) && isFunction(value.getClass)) return true;
|
|
211
|
+
if (isFunction(value.toJSON) && isFunction(value.toString) && [
|
|
212
|
+
"Instant",
|
|
213
|
+
"Duration",
|
|
214
|
+
"PlainDate",
|
|
215
|
+
"PlainTime",
|
|
216
|
+
"PlainDateTime",
|
|
217
|
+
"PlainMonthDay",
|
|
218
|
+
"PlainYearMonth",
|
|
219
|
+
"ZonedDateTime"
|
|
220
|
+
].includes(value.constructor?.name ?? "")) return true;
|
|
221
|
+
}
|
|
222
|
+
return false;
|
|
223
|
+
}
|
|
224
|
+
/** Checks if a value represents time value (number) with different forms of {@link TimeWithUnit units} */
|
|
225
|
+
function isTimeWithUnit(value) {
|
|
226
|
+
return isNonEmptyString(value) && /^-?\d*\.?\d+ *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|months?|mo|years?|yrs?|y)?$/i.test(value);
|
|
227
|
+
}
|
|
228
|
+
|
|
136
229
|
//#endregion
|
|
137
230
|
//#region src/utils/index.ts
|
|
138
231
|
/**
|
|
@@ -1750,4 +1843,4 @@ function trimString(input) {
|
|
|
1750
1843
|
}
|
|
1751
1844
|
|
|
1752
1845
|
//#endregion
|
|
1753
|
-
export { uint8To32ArrayBE as A, getInstanceMethodNames as B, bytesToUtf8 as C, intTo4BytesBE as D, hmacSha256 as E, debounceAction as F, stableStringify as G, getStaticMethodNames as H, deepParsePrimitives as I,
|
|
1846
|
+
export { isValidTimeZoneId as $, uint8To32ArrayBE as A, getInstanceMethodNames as B, bytesToUtf8 as C, intTo4BytesBE as D, hmacSha256 as E, debounceAction as F, stableStringify as G, getStaticMethodNames as H, deepParsePrimitives as I, isDateLike as J, stripJsonEdgeGarbage as K, definePrototypeMethod as L, convertArrayToString as M, countInstanceMethods as N, randomHex as O, countStaticMethods as P, isValidTime as Q, getClassDetails as R, bytesToHex as S, hexToBytes as T, isDeepEqual as U, getStaticGetterNames as V, parseJSON as W, isNativeTimeZoneId as X, isLeapYear as Y, isTimeWithUnit as Z, _constantTimeEquals as _, isUUIDv1 as a, base64ToBytes as b, isUUIDv4 as c, isUUIDv7 as d, isValidUTCOffset as et, isUUIDv8 as f, sha256 as g, sha1 as h, decodeUUID as i, _resolveNestedKey as it, utf8ToBytes as j, sha256Bytes as k, isUUIDv5 as l, md5 as m, trimString as n, sortAnArray as nt, isUUIDv2 as o, uuid as p, throttleAction as q, truncateString as r, _getNumericProp as rt, isUUIDv3 as s, generateRandomID as t, naturalSort as tt, isUUIDv6 as u, _padStartWith0 as v, concatBytes as w, bytesToBase64 as x, _splitByCharLength as y, getInstanceGetterNames as z };
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { A as KebabCase, B as StringCaseOptions, E as DotCase, H as TrainCase, L as SentenceCase, M as PascalCase, N as PascalSnakeCase, P as PathCase, R as SnakeCase, V as TitleCase, _ as ConstantCase, h as CaseFormat, m as CapitalizeOptions, p as CamelCase, u as $WidenEmpty } from "./string-
|
|
17
|
+
import { A as KebabCase, B as StringCaseOptions, E as DotCase, H as TrainCase, L as SentenceCase, M as PascalCase, N as PascalSnakeCase, P as PathCase, R as SnakeCase, V as TitleCase, _ as ConstantCase, h as CaseFormat, m as CapitalizeOptions, p as CamelCase, u as $WidenEmpty } from "./string-DENMnjFc.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/string/case.d.ts
|
|
20
20
|
/**
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { A as KebabCase, B as StringCaseOptions, E as DotCase, H as TrainCase, L as SentenceCase, M as PascalCase, N as PascalSnakeCase, P as PathCase, R as SnakeCase, V as TitleCase, _ as ConstantCase, h as CaseFormat, m as CapitalizeOptions, p as CamelCase, u as $WidenEmpty } from "./string-
|
|
17
|
+
import { A as KebabCase, B as StringCaseOptions, E as DotCase, H as TrainCase, L as SentenceCase, M as PascalCase, N as PascalSnakeCase, P as PathCase, R as SnakeCase, V as TitleCase, _ as ConstantCase, h as CaseFormat, m as CapitalizeOptions, p as CamelCase, u as $WidenEmpty } from "./string-C3g9oBeS.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/string/case.d.ts
|
|
20
20
|
/**
|
package/dist/change-case.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as toDotCase, c as toPascalSnakeCase, d as toSnakeCase, f as toTitleCase, i as toConstantCase, l as toPathCase, n as convertStringCase, o as toKebabCase, p as toTrainCase, r as toCamelCase, s as toPascalCase, t as capitalizeString, u as toSentenceCase } from "./case-
|
|
17
|
+
import { a as toDotCase, c as toPascalSnakeCase, d as toSnakeCase, f as toTitleCase, i as toConstantCase, l as toPathCase, n as convertStringCase, o as toKebabCase, p as toTrainCase, r as toCamelCase, s as toPascalCase, t as capitalizeString, u as toSentenceCase } from "./case-D3vbB82w.cjs";
|
|
18
18
|
export { capitalizeString, convertStringCase, toCamelCase, toConstantCase, toDotCase, toKebabCase, toPascalCase, toPascalSnakeCase, toPathCase, toSentenceCase, toSnakeCase, toTitleCase, toTrainCase };
|
package/dist/change-case.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as toDotCase, c as toPascalSnakeCase, d as toSnakeCase, f as toTitleCase, i as toConstantCase, l as toPathCase, n as convertStringCase, o as toKebabCase, p as toTrainCase, r as toCamelCase, s as toPascalCase, t as capitalizeString, u as toSentenceCase } from "./case-
|
|
17
|
+
import { a as toDotCase, c as toPascalSnakeCase, d as toSnakeCase, f as toTitleCase, i as toConstantCase, l as toPathCase, n as convertStringCase, o as toKebabCase, p as toTrainCase, r as toCamelCase, s as toPascalCase, t as capitalizeString, u as toSentenceCase } from "./case-pluK6eqe.mjs";
|
|
18
18
|
export { capitalizeString, convertStringCase, toCamelCase, toConstantCase, toDotCase, toKebabCase, toPascalCase, toPascalSnakeCase, toPathCase, toSentenceCase, toSnakeCase, toTitleCase, toTrainCase };
|
package/dist/colors.d.cts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { C as RandomColorOptions, S as RandomColor, T as SolidValues, _ as Hex, a as AlphaValues, b as RGB, g as HSLA, h as HSL, l as ColorInputArray, n as $ColorType, t as Color, v as Hex6, x as RGBA, y as Hex8 } from "./Color-
|
|
17
|
+
import { er as Percent } from "./object-ahxpI5tD.cjs";
|
|
18
|
+
import { C as RandomColorOptions, S as RandomColor, T as SolidValues, _ as Hex, a as AlphaValues, b as RGB, g as HSLA, h as HSL, l as ColorInputArray, n as $ColorType, t as Color, v as Hex6, x as RGBA, y as Hex8 } from "./Color-D3V-jsd9.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/colors/convert.d.ts
|
|
21
21
|
/**
|
package/dist/colors.d.mts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { C as RandomColorOptions, S as RandomColor, T as SolidValues, _ as Hex, a as AlphaValues, b as RGB, g as HSLA, h as HSL, l as ColorInputArray, n as $ColorType, t as Color, v as Hex6, x as RGBA, y as Hex8 } from "./Color-
|
|
17
|
+
import { er as Percent } from "./object-ahxpI5tD.mjs";
|
|
18
|
+
import { C as RandomColorOptions, S as RandomColor, T as SolidValues, _ as Hex, a as AlphaValues, b as RGB, g as HSLA, h as HSL, l as ColorInputArray, n as $ColorType, t as Color, v as Hex6, x as RGBA, y as Hex8 } from "./Color-vqRN4-tH.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/colors/convert.d.ts
|
|
21
21
|
/**
|
|
@@ -168,7 +168,7 @@ const MS_MAP = /* @__PURE__ */ Object.freeze((() => {
|
|
|
168
168
|
};
|
|
169
169
|
})());
|
|
170
170
|
/** Array of relative time divisions */
|
|
171
|
-
const RELATIVE_TIME_DIVISIONS = [
|
|
171
|
+
const RELATIVE_TIME_DIVISIONS = /* @__PURE__ */ Object.freeze([
|
|
172
172
|
{
|
|
173
173
|
amount: 60,
|
|
174
174
|
name: "seconds"
|
|
@@ -197,9 +197,26 @@ const RELATIVE_TIME_DIVISIONS = [
|
|
|
197
197
|
amount: Number.POSITIVE_INFINITY,
|
|
198
198
|
name: "years"
|
|
199
199
|
}
|
|
200
|
-
];
|
|
200
|
+
]);
|
|
201
|
+
/** Internal Record of functions to set units to date. */
|
|
202
|
+
const DATE_UNIT_SETTERS = /* @__PURE__ */ Object.freeze({
|
|
203
|
+
year: (d, v) => d.setFullYear(d.getFullYear() + v),
|
|
204
|
+
month: (d, v) => d.setMonth(d.getMonth() + v),
|
|
205
|
+
week: (d, v) => d.setDate(d.getDate() + v * 7),
|
|
206
|
+
day: (d, v) => d.setDate(d.getDate() + v),
|
|
207
|
+
hour: (d, v) => d.setHours(d.getHours() + v),
|
|
208
|
+
minute: (d, v) => d.setMinutes(d.getMinutes() + v),
|
|
209
|
+
second: (d, v) => d.setSeconds(d.getSeconds() + v),
|
|
210
|
+
millisecond: (d, v) => d.setMilliseconds(d.getMilliseconds() + v)
|
|
211
|
+
});
|
|
201
212
|
|
|
202
213
|
//#endregion
|
|
214
|
+
Object.defineProperty(exports, 'DATE_UNIT_SETTERS', {
|
|
215
|
+
enumerable: true,
|
|
216
|
+
get: function () {
|
|
217
|
+
return DATE_UNIT_SETTERS;
|
|
218
|
+
}
|
|
219
|
+
});
|
|
203
220
|
Object.defineProperty(exports, 'DAYS', {
|
|
204
221
|
enumerable: true,
|
|
205
222
|
get: function () {
|
|
@@ -167,7 +167,7 @@ const MS_MAP = /* @__PURE__ */ Object.freeze((() => {
|
|
|
167
167
|
};
|
|
168
168
|
})());
|
|
169
169
|
/** Array of relative time divisions */
|
|
170
|
-
const RELATIVE_TIME_DIVISIONS = [
|
|
170
|
+
const RELATIVE_TIME_DIVISIONS = /* @__PURE__ */ Object.freeze([
|
|
171
171
|
{
|
|
172
172
|
amount: 60,
|
|
173
173
|
name: "seconds"
|
|
@@ -196,7 +196,18 @@ const RELATIVE_TIME_DIVISIONS = [
|
|
|
196
196
|
amount: Number.POSITIVE_INFINITY,
|
|
197
197
|
name: "years"
|
|
198
198
|
}
|
|
199
|
-
];
|
|
199
|
+
]);
|
|
200
|
+
/** Internal Record of functions to set units to date. */
|
|
201
|
+
const DATE_UNIT_SETTERS = /* @__PURE__ */ Object.freeze({
|
|
202
|
+
year: (d, v) => d.setFullYear(d.getFullYear() + v),
|
|
203
|
+
month: (d, v) => d.setMonth(d.getMonth() + v),
|
|
204
|
+
week: (d, v) => d.setDate(d.getDate() + v * 7),
|
|
205
|
+
day: (d, v) => d.setDate(d.getDate() + v),
|
|
206
|
+
hour: (d, v) => d.setHours(d.getHours() + v),
|
|
207
|
+
minute: (d, v) => d.setMinutes(d.getMinutes() + v),
|
|
208
|
+
second: (d, v) => d.setSeconds(d.getSeconds() + v),
|
|
209
|
+
millisecond: (d, v) => d.setMilliseconds(d.getMilliseconds() + v)
|
|
210
|
+
});
|
|
200
211
|
|
|
201
212
|
//#endregion
|
|
202
|
-
export {
|
|
213
|
+
export { RELATIVE_TIME_DIVISIONS as a, WESTERN_ZODIAC_SIGNS as c, MS_MAP as i, DAYS as n, SORTED_TIME_FORMATS as o, MONTHS as r, VEDIC_ZODIAC_SIGNS as s, DATE_UNIT_SETTERS as t };
|
package/dist/constants.cjs
CHANGED
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
18
18
|
const require_constants = require('./constants-D_HkIg02.cjs');
|
|
19
19
|
const require_css_colors = require('./css-colors-DC7oZ46Y.cjs');
|
|
20
20
|
const require_constants$1 = require('./constants-BOs8tjzp.cjs');
|
|
21
|
-
const require_constants$2 = require('./constants-
|
|
21
|
+
const require_constants$2 = require('./constants-CgFaV72Z.cjs');
|
|
22
22
|
const require_timezone = require('./timezone-CSz7R0L6.cjs');
|
|
23
23
|
const require_constants$3 = require('./constants-B3nc8psr.cjs');
|
|
24
24
|
const require_constants$4 = require('./constants-DIBRCBIP.cjs');
|
package/dist/constants.d.cts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { t as LOWERCASE } from "./constants-C7wERz5m.cjs";
|
|
18
|
-
import { Ci as
|
|
18
|
+
import { Ci as TIME_ZONE_IDS, Di as VEDIC_ZODIAC_SIGNS, Ei as MONTHS, Oi as WESTERN_ZODIAC_SIGNS, Si as TIME_ZONES_NATIVE, Ti as DAYS, _i as LOCALE_CODES, bi as NATIVE_TZ_IDS, gi as FRANKFURTER_CURRENCIES, hi as CURRENCY_LOCALES, ki as COUNTRIES, mi as CURRENCY_CODES, vi as UNITS$1, wi as TIME_ZONE_LABELS, xi as TIME_ZONES, yi as IANA_TZ_IDS } from "./object-ahxpI5tD.cjs";
|
|
19
19
|
import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.cjs";
|
|
20
20
|
import { t as UNITS } from "./constants-D8RzBjsL.cjs";
|
|
21
21
|
import { t as HTTP_STATUS_CODES } from "./constants-DNIXgBkz.cjs";
|
package/dist/constants.d.mts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { t as LOWERCASE } from "./constants-C7wERz5m.mjs";
|
|
18
|
-
import { Ci as
|
|
18
|
+
import { Ci as TIME_ZONE_IDS, Di as VEDIC_ZODIAC_SIGNS, Ei as MONTHS, Oi as WESTERN_ZODIAC_SIGNS, Si as TIME_ZONES_NATIVE, Ti as DAYS, _i as LOCALE_CODES, bi as NATIVE_TZ_IDS, gi as FRANKFURTER_CURRENCIES, hi as CURRENCY_LOCALES, ki as COUNTRIES, mi as CURRENCY_CODES, vi as UNITS$1, wi as TIME_ZONE_LABELS, xi as TIME_ZONES, yi as IANA_TZ_IDS } from "./object-ahxpI5tD.mjs";
|
|
19
19
|
import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.mjs";
|
|
20
20
|
import { t as UNITS } from "./constants-D8RzBjsL.mjs";
|
|
21
21
|
import { t as HTTP_STATUS_CODES } from "./constants-DNIXgBkz.mjs";
|
package/dist/constants.mjs
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { t as LOWERCASE } from "./constants-B0zJiNqH.mjs";
|
|
18
18
|
import { t as CSS_COLORS } from "./css-colors-B-y4TmeC.mjs";
|
|
19
19
|
import { n as NUMBER_COLOR_PALETTE, t as ALPHABET_COLOR_PALETTE } from "./constants-DCZL77t-.mjs";
|
|
20
|
-
import {
|
|
20
|
+
import { c as WESTERN_ZODIAC_SIGNS, n as DAYS, r as MONTHS, s as VEDIC_ZODIAC_SIGNS } from "./constants-GZL_CT1W.mjs";
|
|
21
21
|
import { a as TIME_ZONE_IDS, i as TIME_ZONES_NATIVE, n as NATIVE_TZ_IDS, o as TIME_ZONE_LABELS, r as TIME_ZONES, t as IANA_TZ_IDS } from "./timezone-avZ4TvDx.mjs";
|
|
22
22
|
import { a as LOCALE_CODES, i as FRANKFURTER_CURRENCIES, n as CURRENCY_CODES, p as UNITS$1, r as CURRENCY_LOCALES } from "./constants-ZyfpysiQ.mjs";
|
|
23
23
|
import { r as UNITS } from "./constants-ByLTHWQm.mjs";
|
package/dist/converter.d.cts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { ct as Numeric } from "./object-
|
|
18
|
-
import { C as $Length, S as $Mass, b as $Time, c as $Unit, f as Converted, t as $Area, w as $Data, x as $Temperature, y as $Volume } from "./area-
|
|
17
|
+
import { ct as Numeric } from "./object-ahxpI5tD.cjs";
|
|
18
|
+
import { C as $Length, S as $Mass, b as $Time, c as $Unit, f as Converted, t as $Area, w as $Data, x as $Temperature, y as $Volume } from "./area-V5TIejvE.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/converter/Converter.d.ts
|
|
21
21
|
/**
|
package/dist/converter.d.mts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { ct as Numeric } from "./object-
|
|
18
|
-
import { C as $Length, S as $Mass, b as $Time, c as $Unit, f as Converted, t as $Area, w as $Data, x as $Temperature, y as $Volume } from "./area-
|
|
17
|
+
import { ct as Numeric } from "./object-ahxpI5tD.mjs";
|
|
18
|
+
import { C as $Length, S as $Mass, b as $Time, c as $Unit, f as Converted, t as $Area, w as $Data, x as $Temperature, y as $Volume } from "./area-BRs7joY-.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/converter/Converter.d.ts
|
|
21
21
|
/**
|