toolbox-x 2.0.0 → 2.0.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.
Files changed (93) hide show
  1. package/dist/{Color-B8MR8Vp0.d.cts → Color-BCsnSEmt.d.cts} +1 -1
  2. package/dist/{Color-D2MfZx7L.d.mts → Color-CKmhtXdG.d.mts} +1 -1
  3. package/dist/{Stylog-CSbLtqrZ.d.mts → Stylog-CXpN-oeY.d.mts} +1 -1
  4. package/dist/{Stylog-DF0CWtZb.d.cts → Stylog-DJOVxym_.d.cts} +1 -1
  5. package/dist/{area-CMJZ0gVm.d.cts → area-CHhwLR12.d.cts} +1 -1
  6. package/dist/{area-C4tDXnGC.d.mts → area-DOqFLNcr.d.mts} +1 -1
  7. package/dist/{array-26Vs2HCs.d.mts → array-BNbTIBni.d.mts} +1 -1
  8. package/dist/{array-DJAq9Qj8.d.cts → array-CL3apdfa.d.cts} +1 -1
  9. package/dist/{basics-Cis9Ej6c.d.mts → basics-B9aytOct.d.cts} +1 -1
  10. package/dist/{basics-D4yU0NQ_.d.cts → basics-BNQqY5WD.d.mts} +1 -1
  11. package/dist/{case-ChRzRBnY.d.mts → case-Bkkm6Mqi.d.mts} +1 -1
  12. package/dist/{case-DkYSKSeV.d.cts → case-DFD3Ml1p.d.cts} +1 -1
  13. package/dist/change-case.d.cts +1 -1
  14. package/dist/change-case.d.mts +1 -1
  15. package/dist/colors.d.cts +2 -2
  16. package/dist/colors.d.mts +2 -2
  17. package/dist/{constants-C4RW7Lei.cjs → constants-Dz5vxNQ9.cjs} +37 -0
  18. package/dist/{constants-rNhoy4DH.mjs → constants-j-iXjwDl.mjs} +32 -1
  19. package/dist/constants.cjs +1 -1
  20. package/dist/constants.d.cts +1 -1
  21. package/dist/constants.d.mts +1 -1
  22. package/dist/constants.mjs +1 -1
  23. package/dist/converter.d.cts +2 -2
  24. package/dist/converter.d.mts +2 -2
  25. package/dist/date.cjs +42 -1
  26. package/dist/date.d.cts +19 -2
  27. package/dist/date.d.mts +19 -2
  28. package/dist/date.mjs +40 -2
  29. package/dist/dom.d.cts +3 -3
  30. package/dist/dom.d.mts +3 -3
  31. package/dist/{form-Cp1OyCRI.d.cts → form-CC9T9WnX.d.cts} +2 -2
  32. package/dist/{form-DPdS2AhM.d.mts → form-CheKmgjj.d.mts} +2 -2
  33. package/dist/guards.d.cts +4 -4
  34. package/dist/guards.d.mts +4 -4
  35. package/dist/{hash-DfhOK0Fi.d.mts → hash-C0Wr7H8v.d.mts} +1 -1
  36. package/dist/{hash-IdZN0mIe.d.cts → hash-DJ8b9VHB.d.cts} +1 -1
  37. package/dist/hash.cjs +1 -1
  38. package/dist/hash.d.cts +4 -4
  39. package/dist/hash.d.mts +4 -4
  40. package/dist/hash.mjs +1 -1
  41. package/dist/{http-status-B-yBZr-J.d.mts → http-status-BSee6mB5.d.mts} +1 -1
  42. package/dist/{http-status-Dq_hoSG6.d.cts → http-status-DJn87B_Y.d.cts} +1 -1
  43. package/dist/http-status.d.cts +2 -2
  44. package/dist/http-status.d.mts +2 -2
  45. package/dist/{index-C5FoCCbF.d.cts → index-01oaUuP6.d.mts} +2 -2
  46. package/dist/{index-CIJWxnDS.d.mts → index-CgwlWrZM.d.cts} +2 -2
  47. package/dist/index.d.cts +6 -6
  48. package/dist/index.d.mts +6 -6
  49. package/dist/{object-X5fSMx-I.d.cts → object-Mglyg4AW.d.cts} +16 -1
  50. package/dist/{object-X5fSMx-I.d.mts → object-Mglyg4AW.d.mts} +16 -1
  51. package/dist/paginator.d.cts +1 -1
  52. package/dist/paginator.d.mts +1 -1
  53. package/dist/{parse-DT7jbWx7.cjs → parse-BWu3UbOk.cjs} +1 -1
  54. package/dist/{parse-erxBG2hd.mjs → parse-CNDdS-sy.mjs} +1 -1
  55. package/dist/{pluralizer-B8vuljyy.d.cts → pluralizer-BGMC8LLz.d.cts} +1 -1
  56. package/dist/{pluralizer-DOdDskzF.d.mts → pluralizer-CQNzRhwR.d.mts} +1 -1
  57. package/dist/pluralizer.d.cts +1 -1
  58. package/dist/pluralizer.d.mts +1 -1
  59. package/dist/{string-CO7HP50i.d.cts → string-BDwBuik3.d.cts} +1 -1
  60. package/dist/{string-C51m7T6d.d.mts → string-_1ImwUJT.d.mts} +1 -1
  61. package/dist/stylog.d.cts +2 -2
  62. package/dist/stylog.d.mts +2 -2
  63. package/dist/types/array.d.cts +1 -1
  64. package/dist/types/array.d.mts +1 -1
  65. package/dist/types/colors.d.cts +1 -1
  66. package/dist/types/colors.d.mts +1 -1
  67. package/dist/types/converter.d.cts +1 -1
  68. package/dist/types/converter.d.mts +1 -1
  69. package/dist/types/date.d.cts +2 -2
  70. package/dist/types/date.d.mts +2 -2
  71. package/dist/types/form.d.cts +1 -1
  72. package/dist/types/form.d.mts +1 -1
  73. package/dist/types/hash.d.cts +1 -1
  74. package/dist/types/hash.d.mts +1 -1
  75. package/dist/types/http-status.d.cts +1 -1
  76. package/dist/types/http-status.d.mts +1 -1
  77. package/dist/types/index.d.cts +1 -1
  78. package/dist/types/index.d.mts +1 -1
  79. package/dist/types/number.d.cts +1 -1
  80. package/dist/types/number.d.mts +1 -1
  81. package/dist/types/object.d.cts +1 -1
  82. package/dist/types/object.d.mts +1 -1
  83. package/dist/types/pluralizer.d.cts +1 -1
  84. package/dist/types/pluralizer.d.mts +1 -1
  85. package/dist/types/string.d.cts +1 -1
  86. package/dist/types/string.d.mts +1 -1
  87. package/dist/types/stylog.d.cts +1 -1
  88. package/dist/types/stylog.d.mts +1 -1
  89. package/dist/types/utils.d.cts +1 -1
  90. package/dist/types/utils.d.mts +1 -1
  91. package/dist/{uuid-BUI3Jt8n.d.cts → uuid-CiJtSUbo.d.cts} +1 -1
  92. package/dist/{uuid-mEiy14sf.d.mts → uuid-D-gjPs4Q.d.mts} +1 -1
  93. package/package.json +1 -1
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { H as Branded, Qn as Percent, nt as Maybe } from "./object-X5fSMx-I.cjs";
17
+ import { $n as Percent, H as Branded, nt as Maybe } from "./object-Mglyg4AW.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 { H as Branded, Qn as Percent, nt as Maybe } from "./object-X5fSMx-I.mjs";
17
+ import { $n as Percent, H as Branded, nt as Maybe } from "./object-Mglyg4AW.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 { s as CSSColor } from "./Color-D2MfZx7L.mjs";
17
+ import { s as CSSColor } from "./Color-CKmhtXdG.mjs";
18
18
 
19
19
  //#region src/stylog/constants.d.ts
20
20
  /** Records of ANSI-16 colors with values */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { s as CSSColor } from "./Color-B8MR8Vp0.cjs";
17
+ import { s as CSSColor } from "./Color-BCsnSEmt.cjs";
18
18
 
19
19
  //#region src/stylog/constants.d.ts
20
20
  /** Records of ANSI-16 colors with values */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Lr as Mutable, Pr as LooseLiteral, ct as Numeric, i as $Record } from "./object-X5fSMx-I.cjs";
17
+ import { Fr as LooseLiteral, Rr as Mutable, ct as Numeric, i as $Record } from "./object-Mglyg4AW.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 { Lr as Mutable, Pr as LooseLiteral, ct as Numeric, i as $Record } from "./object-X5fSMx-I.mjs";
17
+ import { Fr as LooseLiteral, Rr as Mutable, ct as Numeric, i as $Record } from "./object-Mglyg4AW.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 { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-X5fSMx-I.mjs";
17
+ import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-Mglyg4AW.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-X5fSMx-I.cjs";
17
+ import { E as NestedPrimitiveKey, ot as NormalPrimitiveKey, y as GenericObject } from "./object-Mglyg4AW.cjs";
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 { I as RandomIdOptions } from "./string-C51m7T6d.mjs";
17
+ import { I as RandomIdOptions } from "./string-BDwBuik3.cjs";
18
18
 
19
19
  //#region src/string/basics.d.ts
20
20
  /**
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { I as RandomIdOptions } from "./string-CO7HP50i.cjs";
17
+ import { I as RandomIdOptions } from "./string-_1ImwUJT.mjs";
18
18
 
19
19
  //#region src/string/basics.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-C51m7T6d.mjs";
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-_1ImwUJT.mjs";
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-CO7HP50i.cjs";
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-BDwBuik3.cjs";
18
18
 
19
19
  //#region src/string/case.d.ts
20
20
  /**
@@ -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-DkYSKSeV.cjs";
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-DFD3Ml1p.cjs";
18
18
  export { capitalizeString, convertStringCase, toCamelCase, toConstantCase, toDotCase, toKebabCase, toPascalCase, toPascalSnakeCase, toPathCase, toSentenceCase, toSnakeCase, toTitleCase, toTrainCase };
@@ -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-ChRzRBnY.mjs";
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-Bkkm6Mqi.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 { Qn as Percent } from "./object-X5fSMx-I.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-B8MR8Vp0.cjs";
17
+ import { $n as Percent } from "./object-Mglyg4AW.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-BCsnSEmt.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 { Qn as Percent } from "./object-X5fSMx-I.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-D2MfZx7L.mjs";
17
+ import { $n as Percent } from "./object-Mglyg4AW.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-CKmhtXdG.mjs";
19
19
 
20
20
  //#region src/colors/convert.d.ts
21
21
  /**
@@ -167,6 +167,37 @@ const MS_MAP = /* @__PURE__ */ Object.freeze((() => {
167
167
  milliseconds: 1
168
168
  };
169
169
  })());
170
+ /** Array of relative time divisions */
171
+ const RELATIVE_TIME_DIVISIONS = [
172
+ {
173
+ amount: 60,
174
+ name: "seconds"
175
+ },
176
+ {
177
+ amount: 60,
178
+ name: "minutes"
179
+ },
180
+ {
181
+ amount: 24,
182
+ name: "hours"
183
+ },
184
+ {
185
+ amount: 7,
186
+ name: "days"
187
+ },
188
+ {
189
+ amount: 4.34524,
190
+ name: "weeks"
191
+ },
192
+ {
193
+ amount: 12,
194
+ name: "months"
195
+ },
196
+ {
197
+ amount: Number.POSITIVE_INFINITY,
198
+ name: "years"
199
+ }
200
+ ];
170
201
 
171
202
  //#endregion
172
203
  Object.defineProperty(exports, 'DAYS', {
@@ -187,6 +218,12 @@ Object.defineProperty(exports, 'MS_MAP', {
187
218
  return MS_MAP;
188
219
  }
189
220
  });
221
+ Object.defineProperty(exports, 'RELATIVE_TIME_DIVISIONS', {
222
+ enumerable: true,
223
+ get: function () {
224
+ return RELATIVE_TIME_DIVISIONS;
225
+ }
226
+ });
190
227
  Object.defineProperty(exports, 'SORTED_TIME_FORMATS', {
191
228
  enumerable: true,
192
229
  get: function () {
@@ -166,6 +166,37 @@ const MS_MAP = /* @__PURE__ */ Object.freeze((() => {
166
166
  milliseconds: 1
167
167
  };
168
168
  })());
169
+ /** Array of relative time divisions */
170
+ const RELATIVE_TIME_DIVISIONS = [
171
+ {
172
+ amount: 60,
173
+ name: "seconds"
174
+ },
175
+ {
176
+ amount: 60,
177
+ name: "minutes"
178
+ },
179
+ {
180
+ amount: 24,
181
+ name: "hours"
182
+ },
183
+ {
184
+ amount: 7,
185
+ name: "days"
186
+ },
187
+ {
188
+ amount: 4.34524,
189
+ name: "weeks"
190
+ },
191
+ {
192
+ amount: 12,
193
+ name: "months"
194
+ },
195
+ {
196
+ amount: Number.POSITIVE_INFINITY,
197
+ name: "years"
198
+ }
199
+ ];
169
200
 
170
201
  //#endregion
171
- export { VEDIC_ZODIAC_SIGNS as a, SORTED_TIME_FORMATS as i, MONTHS as n, WESTERN_ZODIAC_SIGNS as o, MS_MAP as r, DAYS as t };
202
+ export { SORTED_TIME_FORMATS as a, RELATIVE_TIME_DIVISIONS as i, MONTHS as n, VEDIC_ZODIAC_SIGNS as o, MS_MAP as r, WESTERN_ZODIAC_SIGNS as s, DAYS as t };
@@ -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-C4RW7Lei.cjs');
21
+ const require_constants$2 = require('./constants-Dz5vxNQ9.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');
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { t as LOWERCASE } from "./constants-C7wERz5m.cjs";
18
- import { Ci as DAYS, Di as COUNTRIES, Ei as WESTERN_ZODIAC_SIGNS, Si as TIME_ZONE_LABELS, Ti as VEDIC_ZODIAC_SIGNS, _i as IANA_TZ_IDS, bi as TIME_ZONES_NATIVE, fi as CURRENCY_CODES, gi as UNITS$1, hi as LOCALE_CODES, mi as FRANKFURTER_CURRENCIES, pi as CURRENCY_LOCALES, vi as NATIVE_TZ_IDS, wi as MONTHS, xi as TIME_ZONE_IDS, yi as TIME_ZONES } from "./object-X5fSMx-I.cjs";
18
+ import { Ci as TIME_ZONE_LABELS, Di as WESTERN_ZODIAC_SIGNS, Ei as VEDIC_ZODIAC_SIGNS, Oi as COUNTRIES, Si as TIME_ZONE_IDS, Ti as MONTHS, _i as UNITS$1, bi as TIME_ZONES, gi as LOCALE_CODES, hi as FRANKFURTER_CURRENCIES, mi as CURRENCY_LOCALES, pi as CURRENCY_CODES, vi as IANA_TZ_IDS, wi as DAYS, xi as TIME_ZONES_NATIVE, yi as NATIVE_TZ_IDS } from "./object-Mglyg4AW.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";
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { t as LOWERCASE } from "./constants-C7wERz5m.mjs";
18
- import { Ci as DAYS, Di as COUNTRIES, Ei as WESTERN_ZODIAC_SIGNS, Si as TIME_ZONE_LABELS, Ti as VEDIC_ZODIAC_SIGNS, _i as IANA_TZ_IDS, bi as TIME_ZONES_NATIVE, fi as CURRENCY_CODES, gi as UNITS$1, hi as LOCALE_CODES, mi as FRANKFURTER_CURRENCIES, pi as CURRENCY_LOCALES, vi as NATIVE_TZ_IDS, wi as MONTHS, xi as TIME_ZONE_IDS, yi as TIME_ZONES } from "./object-X5fSMx-I.mjs";
18
+ import { Ci as TIME_ZONE_LABELS, Di as WESTERN_ZODIAC_SIGNS, Ei as VEDIC_ZODIAC_SIGNS, Oi as COUNTRIES, Si as TIME_ZONE_IDS, Ti as MONTHS, _i as UNITS$1, bi as TIME_ZONES, gi as LOCALE_CODES, hi as FRANKFURTER_CURRENCIES, mi as CURRENCY_LOCALES, pi as CURRENCY_CODES, vi as IANA_TZ_IDS, wi as DAYS, xi as TIME_ZONES_NATIVE, yi as NATIVE_TZ_IDS } from "./object-Mglyg4AW.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";
@@ -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 { a as VEDIC_ZODIAC_SIGNS, n as MONTHS, o as WESTERN_ZODIAC_SIGNS, t as DAYS } from "./constants-rNhoy4DH.mjs";
20
+ import { n as MONTHS, o as VEDIC_ZODIAC_SIGNS, s as WESTERN_ZODIAC_SIGNS, t as DAYS } from "./constants-j-iXjwDl.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";
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { ct as Numeric } from "./object-X5fSMx-I.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-CMJZ0gVm.cjs";
17
+ import { ct as Numeric } from "./object-Mglyg4AW.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-CHhwLR12.cjs";
19
19
 
20
20
  //#region src/converter/Converter.d.ts
21
21
  /**
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { ct as Numeric } from "./object-X5fSMx-I.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-C4tDXnGC.mjs";
17
+ import { ct as Numeric } from "./object-Mglyg4AW.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-DOqFLNcr.mjs";
19
19
 
20
20
  //#region src/converter/Converter.d.ts
21
21
  /**
package/dist/date.cjs CHANGED
@@ -16,11 +16,12 @@
16
16
 
17
17
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
18
18
  const require_primitives = require('./primitives-CBGICrDR.cjs');
19
+ const require_constants = require('./constants-Dz5vxNQ9.cjs');
19
20
  const require_timezone = require('./timezone-CSz7R0L6.cjs');
20
21
  const require_specials = require('./specials-dkYP1Nh2.cjs');
21
22
  const require_utilities = require('./utilities-CWV1GPGY.cjs');
22
23
  const require_guards = require('./guards-Bsh6Bfdq.cjs');
23
- const require_parse = require('./parse-DT7jbWx7.cjs');
24
+ const require_parse = require('./parse-BWu3UbOk.cjs');
24
25
 
25
26
  //#region src/date/utils.ts
26
27
  /**
@@ -240,6 +241,43 @@ function formatDateRelative(date, format) {
240
241
  format: format || "mmm D, yyyy hh:mm a"
241
242
  });
242
243
  }
244
+ /**
245
+ * * Formats a date as a relative time string using {@link Intl.RelativeTimeFormat} native method.
246
+ *
247
+ * @param toDate - The date to format, which can be a `Date` object, a date string, or a timestamp number.
248
+ * @param options - Optional configuration for relative date formatting.
249
+ * @returns A relative time string.
250
+ *
251
+ * @remarks
252
+ * - If `toDate` is provided but `undefined`, current date and time will be used.
253
+ * - If `fromDate` is provided but `undefined`, current date and time will be used.
254
+ * - If any of the provided date value (`toDate` or `fromDate`) is invalid, the function will return `'Invalid Date!'`.
255
+ *
256
+ * @example
257
+ * formatRelativeDateNative(Date.now() - 5 * 60000); // "5m ago"
258
+ * formatRelativeDateNative(Date.now() + 2 * 3600000); // "in 2 hours"
259
+ */
260
+ function formatRelativeDateNative(toDate, options) {
261
+ const { fromDate = /* @__PURE__ */ new Date(), locale = "en", localeMatcher, numeric = "always", style } = options ?? {};
262
+ const to = require_parse._dateArgsToDate(toDate).getTime();
263
+ const from = require_parse._dateArgsToDate(fromDate).getTime();
264
+ if (Number.isNaN(to) || Number.isNaN(from)) return "Invalid Date!";
265
+ let duration = (to - from) / 1e3;
266
+ const RELATIVE_DATE_FORMATTER = new Intl.RelativeTimeFormat(locale, {
267
+ localeMatcher,
268
+ numeric,
269
+ style
270
+ });
271
+ let formatted = "Just now";
272
+ for (const division of require_constants.RELATIVE_TIME_DIVISIONS) {
273
+ if (Math.abs(duration) < division.amount) {
274
+ formatted = RELATIVE_DATE_FORMATTER.format(Math.round(duration), division.name);
275
+ break;
276
+ }
277
+ duration /= division.amount;
278
+ }
279
+ return formatted;
280
+ }
243
281
  /** Get timestamp in ISO 8601 format. */
244
282
  function getTimestamp(args, format) {
245
283
  let $value;
@@ -306,9 +344,12 @@ exports.extractTimeStringFromUTC = extractTimeFromUTC;
306
344
  exports.extractTotalMinutesFromTime = getTotalMinutes;
307
345
  exports.formatDate = formatDate;
308
346
  exports.formatDateRelative = formatDateRelative;
347
+ exports.formatDateRelativeNative = formatRelativeDateNative;
309
348
  exports.formatDateTime = formatDate;
310
349
  exports.formatRelativeDate = formatDateRelative;
350
+ exports.formatRelativeDateNative = formatRelativeDateNative;
311
351
  exports.formatRelativeTime = formatDateRelative;
352
+ exports.formatRelativeTimeNative = formatRelativeDateNative;
312
353
  exports.formatTimePart = formatTimePart;
313
354
  exports.formatUTCOffset = formatUTCOffset;
314
355
  exports.generateGreeting = getGreeting;
package/dist/date.d.cts CHANGED
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { En as UTCOffset, Gt as GreetingConfigs, Jt as ISODateFormat, Kt as HourMinutes, Mt as DateArgs, Nt as DateFormatOptions, Yt as ISODateTimeString, bn as TimeZoneIdNative, ct as Numeric, fn as TimeOnlyFormat, gn as TimeWithUnit, jt as ClockTime, ln as SafeFormat, nt as Maybe, vn as TimeZoneDetails, wn as TimestampOptions, wt as $TimeZoneIdentifier } from "./object-X5fSMx-I.cjs";
17
+ import { Dn as UTCOffset, Gt as GreetingConfigs, Jt as ISODateFormat, Kt as HourMinutes, Mt as DateArgs, Nt as DateFormatOptions, Tn as TimestampOptions, Yt as ISODateTimeString, _n as TimeWithUnit, ct as Numeric, jt as ClockTime, ln as RelativeDateFormatOptions, nt as Maybe, pn as TimeOnlyFormat, un as SafeFormat, wt as $TimeZoneIdentifier, xn as TimeZoneIdNative, yn as TimeZoneDetails } from "./object-Mglyg4AW.cjs";
18
18
 
19
19
  //#region src/date/greet.d.ts
20
20
  /**
@@ -175,6 +175,23 @@ declare function formatTimePart(time: string, format?: TimeOnlyFormat): string;
175
175
  * formatDateRelative(Date.now() - 10 * 86400000); // "Apr 6, 2026 04:11 PM" (formatted date string)
176
176
  */
177
177
  declare function formatDateRelative(date: Maybe<DateArgs>, format?: SafeFormat): string;
178
+ /**
179
+ * * Formats a date as a relative time string using {@link Intl.RelativeTimeFormat} native method.
180
+ *
181
+ * @param toDate - The date to format, which can be a `Date` object, a date string, or a timestamp number.
182
+ * @param options - Optional configuration for relative date formatting.
183
+ * @returns A relative time string.
184
+ *
185
+ * @remarks
186
+ * - If `toDate` is provided but `undefined`, current date and time will be used.
187
+ * - If `fromDate` is provided but `undefined`, current date and time will be used.
188
+ * - If any of the provided date value (`toDate` or `fromDate`) is invalid, the function will return `'Invalid Date!'`.
189
+ *
190
+ * @example
191
+ * formatRelativeDateNative(Date.now() - 5 * 60000); // "5m ago"
192
+ * formatRelativeDateNative(Date.now() + 2 * 3600000); // "in 2 hours"
193
+ */
194
+ declare function formatRelativeDateNative(toDate: DateArgs, options?: RelativeDateFormatOptions): string;
178
195
  /**
179
196
  * * Get timestamp in ISO 8601 format for the current date and time.
180
197
  *
@@ -210,4 +227,4 @@ declare function getTimestamp<F extends ISODateFormat>(value: DateArgs, format?:
210
227
  */
211
228
  declare function getTimestamp<F extends ISODateFormat>(options: TimestampOptions<F>): ISODateTimeString<F>;
212
229
  //#endregion
213
- export { convertMinutesToTime as convertMinutesToHourMinutes, convertMinutesToTime, convertMinutesToTime as getHourMinutesFromMinutes, convertMinutesToTime as getTimeFromMinutes, formatUTCOffset as convertMinutesToUTCOffset, formatUTCOffset, formatUTCOffset as minutesToUTCOffset, extractHourMinute, extractMinutesFromUTC, extractMinutesFromUTC as getMinutesFromUTC, extractMinutesFromUTC as getTotalMinutesFromUTC, extractTimeFromUTC, extractTimeFromUTC as extractTimeStringFromUTC, extractTimeFromUTC as getTimeStringFromUTC, getTotalMinutes as extractTotalMinutesFromTime, getTotalMinutes, getTotalMinutes as getTotalMinutesFromTime, formatDate, formatDate as formatDateTime, formatDateRelative, formatDateRelative as formatRelativeDate, formatDateRelative as formatRelativeTime, formatTimePart, getGreeting as generateGreeting, getGreeting, getGreeting as greet, getCurrentDateTime, getCurrentDateTime as getCurrentTime, getNativeTimeZoneId, getTimeZoneDetails, getTimeZoneIds, getTimestamp, parseMSec, parseMSec as parseMs };
230
+ export { convertMinutesToTime as convertMinutesToHourMinutes, convertMinutesToTime, convertMinutesToTime as getHourMinutesFromMinutes, convertMinutesToTime as getTimeFromMinutes, formatUTCOffset as convertMinutesToUTCOffset, formatUTCOffset, formatUTCOffset as minutesToUTCOffset, extractHourMinute, extractMinutesFromUTC, extractMinutesFromUTC as getMinutesFromUTC, extractMinutesFromUTC as getTotalMinutesFromUTC, extractTimeFromUTC, extractTimeFromUTC as extractTimeStringFromUTC, extractTimeFromUTC as getTimeStringFromUTC, getTotalMinutes as extractTotalMinutesFromTime, getTotalMinutes, getTotalMinutes as getTotalMinutesFromTime, formatDate, formatDate as formatDateTime, formatDateRelative, formatDateRelative as formatRelativeDate, formatDateRelative as formatRelativeTime, formatRelativeDateNative as formatDateRelativeNative, formatRelativeDateNative, formatRelativeDateNative as formatRelativeTimeNative, formatTimePart, getGreeting as generateGreeting, getGreeting, getGreeting as greet, getCurrentDateTime, getCurrentDateTime as getCurrentTime, getNativeTimeZoneId, getTimeZoneDetails, getTimeZoneIds, getTimestamp, parseMSec, parseMSec as parseMs };
package/dist/date.d.mts CHANGED
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { En as UTCOffset, Gt as GreetingConfigs, Jt as ISODateFormat, Kt as HourMinutes, Mt as DateArgs, Nt as DateFormatOptions, Yt as ISODateTimeString, bn as TimeZoneIdNative, ct as Numeric, fn as TimeOnlyFormat, gn as TimeWithUnit, jt as ClockTime, ln as SafeFormat, nt as Maybe, vn as TimeZoneDetails, wn as TimestampOptions, wt as $TimeZoneIdentifier } from "./object-X5fSMx-I.mjs";
17
+ import { Dn as UTCOffset, Gt as GreetingConfigs, Jt as ISODateFormat, Kt as HourMinutes, Mt as DateArgs, Nt as DateFormatOptions, Tn as TimestampOptions, Yt as ISODateTimeString, _n as TimeWithUnit, ct as Numeric, jt as ClockTime, ln as RelativeDateFormatOptions, nt as Maybe, pn as TimeOnlyFormat, un as SafeFormat, wt as $TimeZoneIdentifier, xn as TimeZoneIdNative, yn as TimeZoneDetails } from "./object-Mglyg4AW.mjs";
18
18
 
19
19
  //#region src/date/greet.d.ts
20
20
  /**
@@ -175,6 +175,23 @@ declare function formatTimePart(time: string, format?: TimeOnlyFormat): string;
175
175
  * formatDateRelative(Date.now() - 10 * 86400000); // "Apr 6, 2026 04:11 PM" (formatted date string)
176
176
  */
177
177
  declare function formatDateRelative(date: Maybe<DateArgs>, format?: SafeFormat): string;
178
+ /**
179
+ * * Formats a date as a relative time string using {@link Intl.RelativeTimeFormat} native method.
180
+ *
181
+ * @param toDate - The date to format, which can be a `Date` object, a date string, or a timestamp number.
182
+ * @param options - Optional configuration for relative date formatting.
183
+ * @returns A relative time string.
184
+ *
185
+ * @remarks
186
+ * - If `toDate` is provided but `undefined`, current date and time will be used.
187
+ * - If `fromDate` is provided but `undefined`, current date and time will be used.
188
+ * - If any of the provided date value (`toDate` or `fromDate`) is invalid, the function will return `'Invalid Date!'`.
189
+ *
190
+ * @example
191
+ * formatRelativeDateNative(Date.now() - 5 * 60000); // "5m ago"
192
+ * formatRelativeDateNative(Date.now() + 2 * 3600000); // "in 2 hours"
193
+ */
194
+ declare function formatRelativeDateNative(toDate: DateArgs, options?: RelativeDateFormatOptions): string;
178
195
  /**
179
196
  * * Get timestamp in ISO 8601 format for the current date and time.
180
197
  *
@@ -210,4 +227,4 @@ declare function getTimestamp<F extends ISODateFormat>(value: DateArgs, format?:
210
227
  */
211
228
  declare function getTimestamp<F extends ISODateFormat>(options: TimestampOptions<F>): ISODateTimeString<F>;
212
229
  //#endregion
213
- export { convertMinutesToTime as convertMinutesToHourMinutes, convertMinutesToTime, convertMinutesToTime as getHourMinutesFromMinutes, convertMinutesToTime as getTimeFromMinutes, formatUTCOffset as convertMinutesToUTCOffset, formatUTCOffset, formatUTCOffset as minutesToUTCOffset, extractHourMinute, extractMinutesFromUTC, extractMinutesFromUTC as getMinutesFromUTC, extractMinutesFromUTC as getTotalMinutesFromUTC, extractTimeFromUTC, extractTimeFromUTC as extractTimeStringFromUTC, extractTimeFromUTC as getTimeStringFromUTC, getTotalMinutes as extractTotalMinutesFromTime, getTotalMinutes, getTotalMinutes as getTotalMinutesFromTime, formatDate, formatDate as formatDateTime, formatDateRelative, formatDateRelative as formatRelativeDate, formatDateRelative as formatRelativeTime, formatTimePart, getGreeting as generateGreeting, getGreeting, getGreeting as greet, getCurrentDateTime, getCurrentDateTime as getCurrentTime, getNativeTimeZoneId, getTimeZoneDetails, getTimeZoneIds, getTimestamp, parseMSec, parseMSec as parseMs };
230
+ export { convertMinutesToTime as convertMinutesToHourMinutes, convertMinutesToTime, convertMinutesToTime as getHourMinutesFromMinutes, convertMinutesToTime as getTimeFromMinutes, formatUTCOffset as convertMinutesToUTCOffset, formatUTCOffset, formatUTCOffset as minutesToUTCOffset, extractHourMinute, extractMinutesFromUTC, extractMinutesFromUTC as getMinutesFromUTC, extractMinutesFromUTC as getTotalMinutesFromUTC, extractTimeFromUTC, extractTimeFromUTC as extractTimeStringFromUTC, extractTimeFromUTC as getTimeStringFromUTC, getTotalMinutes as extractTotalMinutesFromTime, getTotalMinutes, getTotalMinutes as getTotalMinutesFromTime, formatDate, formatDate as formatDateTime, formatDateRelative, formatDateRelative as formatRelativeDate, formatDateRelative as formatRelativeTime, formatRelativeDateNative as formatDateRelativeNative, formatRelativeDateNative, formatRelativeDateNative as formatRelativeTimeNative, formatTimePart, getGreeting as generateGreeting, getGreeting, getGreeting as greet, getCurrentDateTime, getCurrentDateTime as getCurrentTime, getNativeTimeZoneId, getTimeZoneDetails, getTimeZoneIds, getTimestamp, parseMSec, parseMSec as parseMs };
package/dist/date.mjs CHANGED
@@ -15,11 +15,12 @@
15
15
  */
16
16
 
17
17
  import { m as isUndefined } from "./primitives-Djsevc69.mjs";
18
+ import { i as RELATIVE_TIME_DIVISIONS } from "./constants-j-iXjwDl.mjs";
18
19
  import { n as NATIVE_TZ_IDS } from "./timezone-avZ4TvDx.mjs";
19
20
  import { T as isObject } from "./specials-Hq5Ncd6y.mjs";
20
21
  import { a as normalizeNumber } from "./utilities-DPscNbS1.mjs";
21
22
  import { a as isValidTime, s as isValidUTCOffset } from "./guards-BK1QuvFZ.mjs";
22
- import { a as _normalizeOffset, i as _gmtToUtcOffset, n as _dateArgsToDate, o as _resolveNativeTzName, r as _formatDate, t as parseMSec } from "./parse-erxBG2hd.mjs";
23
+ import { a as _normalizeOffset, i as _gmtToUtcOffset, n as _dateArgsToDate, o as _resolveNativeTzName, r as _formatDate, t as parseMSec } from "./parse-CNDdS-sy.mjs";
23
24
 
24
25
  //#region src/date/utils.ts
25
26
  /**
@@ -239,6 +240,43 @@ function formatDateRelative(date, format) {
239
240
  format: format || "mmm D, yyyy hh:mm a"
240
241
  });
241
242
  }
243
+ /**
244
+ * * Formats a date as a relative time string using {@link Intl.RelativeTimeFormat} native method.
245
+ *
246
+ * @param toDate - The date to format, which can be a `Date` object, a date string, or a timestamp number.
247
+ * @param options - Optional configuration for relative date formatting.
248
+ * @returns A relative time string.
249
+ *
250
+ * @remarks
251
+ * - If `toDate` is provided but `undefined`, current date and time will be used.
252
+ * - If `fromDate` is provided but `undefined`, current date and time will be used.
253
+ * - If any of the provided date value (`toDate` or `fromDate`) is invalid, the function will return `'Invalid Date!'`.
254
+ *
255
+ * @example
256
+ * formatRelativeDateNative(Date.now() - 5 * 60000); // "5m ago"
257
+ * formatRelativeDateNative(Date.now() + 2 * 3600000); // "in 2 hours"
258
+ */
259
+ function formatRelativeDateNative(toDate, options) {
260
+ const { fromDate = /* @__PURE__ */ new Date(), locale = "en", localeMatcher, numeric = "always", style } = options ?? {};
261
+ const to = _dateArgsToDate(toDate).getTime();
262
+ const from = _dateArgsToDate(fromDate).getTime();
263
+ if (Number.isNaN(to) || Number.isNaN(from)) return "Invalid Date!";
264
+ let duration = (to - from) / 1e3;
265
+ const RELATIVE_DATE_FORMATTER = new Intl.RelativeTimeFormat(locale, {
266
+ localeMatcher,
267
+ numeric,
268
+ style
269
+ });
270
+ let formatted = "Just now";
271
+ for (const division of RELATIVE_TIME_DIVISIONS) {
272
+ if (Math.abs(duration) < division.amount) {
273
+ formatted = RELATIVE_DATE_FORMATTER.format(Math.round(duration), division.name);
274
+ break;
275
+ }
276
+ duration /= division.amount;
277
+ }
278
+ return formatted;
279
+ }
242
280
  /** Get timestamp in ISO 8601 format. */
243
281
  function getTimestamp(args, format) {
244
282
  let $value;
@@ -295,4 +333,4 @@ function getGreeting(configs) {
295
333
  }
296
334
 
297
335
  //#endregion
298
- export { convertMinutesToTime as convertMinutesToHourMinutes, convertMinutesToTime, convertMinutesToTime as getHourMinutesFromMinutes, convertMinutesToTime as getTimeFromMinutes, formatUTCOffset as convertMinutesToUTCOffset, formatUTCOffset, formatUTCOffset as minutesToUTCOffset, extractHourMinute, extractMinutesFromUTC, extractMinutesFromUTC as getMinutesFromUTC, extractMinutesFromUTC as getTotalMinutesFromUTC, extractTimeFromUTC, extractTimeFromUTC as extractTimeStringFromUTC, extractTimeFromUTC as getTimeStringFromUTC, getTotalMinutes as extractTotalMinutesFromTime, getTotalMinutes, getTotalMinutes as getTotalMinutesFromTime, formatDate, formatDate as formatDateTime, formatDateRelative, formatDateRelative as formatRelativeDate, formatDateRelative as formatRelativeTime, formatTimePart, getGreeting as generateGreeting, getGreeting, getGreeting as greet, getCurrentDateTime, getCurrentDateTime as getCurrentTime, getNativeTimeZoneId, getTimeZoneDetails, getTimeZoneIds, getTimestamp, parseMSec, parseMSec as parseMs };
336
+ export { convertMinutesToTime as convertMinutesToHourMinutes, convertMinutesToTime, convertMinutesToTime as getHourMinutesFromMinutes, convertMinutesToTime as getTimeFromMinutes, formatUTCOffset as convertMinutesToUTCOffset, formatUTCOffset, formatUTCOffset as minutesToUTCOffset, extractHourMinute, extractMinutesFromUTC, extractMinutesFromUTC as getMinutesFromUTC, extractMinutesFromUTC as getTotalMinutesFromUTC, extractTimeFromUTC, extractTimeFromUTC as extractTimeStringFromUTC, extractTimeFromUTC as getTimeStringFromUTC, getTotalMinutes as extractTotalMinutesFromTime, getTotalMinutes, getTotalMinutes as getTotalMinutesFromTime, formatDate, formatDate as formatDateTime, formatDateRelative, formatDateRelative as formatRelativeDate, formatDateRelative as formatRelativeTime, formatRelativeDateNative as formatDateRelativeNative, formatRelativeDateNative, formatRelativeDateNative as formatRelativeTimeNative, formatTimePart, getGreeting as generateGreeting, getGreeting, getGreeting as greet, getCurrentDateTime, getCurrentDateTime as getCurrentTime, getNativeTimeZoneId, getTimeZoneDetails, getTimeZoneIds, getTimestamp, parseMSec, parseMSec as parseMs };
package/dist/dom.d.cts CHANGED
@@ -14,9 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { J as Deserializer, M as ParsedQueryGeneric, N as QueryObject, ft as Serializer, j as ParsedQuery, y as GenericObject } from "./object-X5fSMx-I.cjs";
18
- import { F as QueryString } from "./string-CO7HP50i.cjs";
19
- import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-Cp1OyCRI.cjs";
17
+ import { J as Deserializer, M as ParsedQueryGeneric, N as QueryObject, ft as Serializer, j as ParsedQuery, y as GenericObject } from "./object-Mglyg4AW.cjs";
18
+ import { F as QueryString } from "./string-BDwBuik3.cjs";
19
+ import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-CC9T9WnX.cjs";
20
20
 
21
21
  //#region src/dom/query.d.ts
22
22
  /**
package/dist/dom.d.mts CHANGED
@@ -14,9 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { J as Deserializer, M as ParsedQueryGeneric, N as QueryObject, ft as Serializer, j as ParsedQuery, y as GenericObject } from "./object-X5fSMx-I.mjs";
18
- import { F as QueryString } from "./string-C51m7T6d.mjs";
19
- import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-DPdS2AhM.mjs";
17
+ import { J as Deserializer, M as ParsedQueryGeneric, N as QueryObject, ft as Serializer, j as ParsedQuery, y as GenericObject } from "./object-Mglyg4AW.mjs";
18
+ import { F as QueryString } from "./string-_1ImwUJT.mjs";
19
+ import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-CheKmgjj.mjs";
20
20
 
21
21
  //#region src/dom/query.d.ts
22
22
  /**
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { S as KeyForObject, T as NestedKeyString, ri as RequireExactly, u as DotNotationKey, x as KeyForArray } from "./object-X5fSMx-I.cjs";
18
- import { F as QueryString } from "./string-CO7HP50i.cjs";
17
+ import { S as KeyForObject, T as NestedKeyString, ii as RequireExactly, u as DotNotationKey, x as KeyForArray } from "./object-Mglyg4AW.cjs";
18
+ import { F as QueryString } from "./string-BDwBuik3.cjs";
19
19
 
20
20
  //#region src/types/form.d.ts
21
21
  /** - Configuration options to control FormData generation behavior. */
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { S as KeyForObject, T as NestedKeyString, ri as RequireExactly, u as DotNotationKey, x as KeyForArray } from "./object-X5fSMx-I.mjs";
18
- import { F as QueryString } from "./string-C51m7T6d.mjs";
17
+ import { S as KeyForObject, T as NestedKeyString, ii as RequireExactly, u as DotNotationKey, x as KeyForArray } from "./object-Mglyg4AW.mjs";
18
+ import { F as QueryString } from "./string-_1ImwUJT.mjs";
19
19
 
20
20
  //#region src/types/form.d.ts
21
21
  /** - Configuration options to control FormData generation behavior. */
package/dist/guards.d.cts CHANGED
@@ -14,10 +14,10 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as GenericFn, B as AsyncFunction, En as UTCOffset, Ft as DateLike, Z as FalsyPrimitive, at as NormalPrimitive, bn as TimeZoneIdNative, ct as Numeric, dt as Primitive, gn as TimeWithUnit, jt as ClockTime, nt as Maybe, pt as ValidArray, rt as MethodDescriptor, wt as $TimeZoneIdentifier, y as GenericObject } from "./object-X5fSMx-I.cjs";
18
- import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-B8MR8Vp0.cjs";
19
- import { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "./index-C5FoCCbF.cjs";
20
- import { C as isURL, S as isPhoneNumber, _ as isEnvironment, a as isUUIDv4, b as isNode, c as isUUIDv7, d as isBase64, f as isBinaryString, g as isEmailArray, h as isEmail, i as isUUIDv3, l as isUUIDv8, m as isDateString, n as isUUIDv1, o as isUUIDv5, p as isBrowser, r as isUUIDv2, s as isUUIDv6, v as isHexString, w as isUUID, x as isNumericString, y as isIPAddress } from "./uuid-BUI3Jt8n.cjs";
17
+ import { $ as GenericFn, B as AsyncFunction, Dn as UTCOffset, Ft as DateLike, Z as FalsyPrimitive, _n as TimeWithUnit, at as NormalPrimitive, ct as Numeric, dt as Primitive, jt as ClockTime, nt as Maybe, pt as ValidArray, rt as MethodDescriptor, wt as $TimeZoneIdentifier, xn as TimeZoneIdNative, y as GenericObject } from "./object-Mglyg4AW.cjs";
18
+ import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-BCsnSEmt.cjs";
19
+ import { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "./index-CgwlWrZM.cjs";
20
+ import { C as isURL, S as isPhoneNumber, _ as isEnvironment, a as isUUIDv4, b as isNode, c as isUUIDv7, d as isBase64, f as isBinaryString, g as isEmailArray, h as isEmail, i as isUUIDv3, l as isUUIDv8, m as isDateString, n as isUUIDv1, o as isUUIDv5, p as isBrowser, r as isUUIDv2, s as isUUIDv6, v as isHexString, w as isUUID, x as isNumericString, y as isIPAddress } from "./uuid-CiJtSUbo.cjs";
21
21
 
22
22
  //#region src/colors/guards.d.ts
23
23
  /**