toolbox-x 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/README.md +1 -1
  2. package/dist/{Color-C_KH9aj6.d.mts → Color-DCfoQk_-.d.mts} +2 -7
  3. package/dist/{Color-G-pOkVp7.d.cts → Color-Dsut0Bex.d.cts} +2 -7
  4. package/dist/{Stylog-D4g1SdeP.d.cts → Stylog-DXZtHAbp.d.mts} +1 -1
  5. package/dist/{Stylog-D7Y2WHkI.d.mts → Stylog-TyLCTRtT.d.cts} +1 -1
  6. package/dist/{area-Cav_1uPb.d.cts → area-CcRQ6TfR.d.cts} +6 -4
  7. package/dist/{area-DTOvByQG.d.mts → area-CvSC96va.d.mts} +6 -4
  8. package/dist/{array-CUFCqgSq.d.cts → array-B6jWzJ4F.d.mts} +1 -1
  9. package/dist/{array-DcOUzJQy.d.mts → array-CqDu610k.d.cts} +1 -1
  10. package/dist/{basics-DI2qHvp4.d.mts → basics-KobRNhV-.d.cts} +1 -1
  11. package/dist/{basics-yBwg_DfG.d.cts → basics-V5M2oltn.d.mts} +1 -1
  12. package/dist/{case-B3Sjlcjo.d.cts → case--Vjea9DS.d.cts} +1 -1
  13. package/dist/{case-Cpq94CEY.d.mts → case-KdrBKjjK.d.mts} +1 -1
  14. package/dist/change-case.d.cts +1 -1
  15. package/dist/change-case.d.mts +1 -1
  16. package/dist/colors.cjs +0 -12
  17. package/dist/colors.d.cts +3 -12
  18. package/dist/colors.d.mts +3 -12
  19. package/dist/colors.mjs +1 -12
  20. package/dist/constants.d.cts +1 -1
  21. package/dist/constants.d.mts +1 -1
  22. package/dist/converter.d.cts +2 -2
  23. package/dist/converter.d.mts +2 -2
  24. package/dist/date.cjs +2 -2
  25. package/dist/date.d.cts +1 -1
  26. package/dist/date.d.mts +1 -1
  27. package/dist/date.mjs +2 -2
  28. package/dist/dom.cjs +3 -3
  29. package/dist/dom.d.cts +3 -3
  30. package/dist/dom.d.mts +3 -3
  31. package/dist/dom.mjs +3 -3
  32. package/dist/{form-CY3RefN-.d.cts → form-DoQGMTOc.d.mts} +2 -2
  33. package/dist/{form-zhtuXugI.d.mts → form-mP-nl8EC.d.cts} +2 -2
  34. package/dist/{guards-DEcnNbI5.mjs → guards-Cp6KAkVI.mjs} +7 -2
  35. package/dist/{guards-FSW16LfU.cjs → guards-DP5k4_Mm.cjs} +7 -2
  36. package/dist/guards.cjs +1 -1
  37. package/dist/guards.d.cts +3 -3
  38. package/dist/guards.d.mts +3 -3
  39. package/dist/guards.mjs +1 -1
  40. package/dist/{hash-BK2nQJct.d.cts → hash-BcoFHSu1.d.cts} +13 -8
  41. package/dist/{hash-CqmKYZqL.d.mts → hash-GYRx2ee_.d.mts} +13 -8
  42. package/dist/hash.cjs +4 -4
  43. package/dist/hash.d.cts +4 -4
  44. package/dist/hash.d.mts +4 -4
  45. package/dist/hash.mjs +4 -4
  46. package/dist/{http-status-D8AT3mEI.d.cts → http-status-C0DOpCDf.d.cts} +1 -1
  47. package/dist/{http-status-Dsj58sVl.d.mts → http-status-xrlR-LlB.d.mts} +1 -1
  48. package/dist/http-status.d.cts +2 -2
  49. package/dist/http-status.d.mts +2 -2
  50. package/dist/index.cjs +2 -2
  51. package/dist/index.d.cts +5 -5
  52. package/dist/index.d.mts +5 -5
  53. package/dist/index.mjs +2 -2
  54. package/dist/{object-D70hzkoY.d.cts → object-ChFVh95z.d.cts} +9 -5
  55. package/dist/{object-D70hzkoY.d.mts → object-ChFVh95z.d.mts} +9 -5
  56. package/dist/{objectify-CRUYlTtI.cjs → objectify-CZJr9hwg.cjs} +2 -2
  57. package/dist/{objectify-DgkPCH_o.mjs → objectify-CfXtS_E0.mjs} +2 -2
  58. package/dist/paginator.d.cts +1 -1
  59. package/dist/paginator.d.mts +1 -1
  60. package/dist/{parse-CejohxY0.cjs → parse-BpUlILVi.cjs} +1 -1
  61. package/dist/{parse-DDN7KuOa.mjs → parse-rcJRAOJl.mjs} +1 -1
  62. package/dist/{pluralizer-B2oIrpwo.d.cts → pluralizer-CdG-VJ6t.d.cts} +1 -1
  63. package/dist/{pluralizer-BVMdlDZq.d.mts → pluralizer-D2Lh8CdU.d.mts} +1 -1
  64. package/dist/pluralizer.d.cts +1 -1
  65. package/dist/pluralizer.d.mts +1 -1
  66. package/dist/{string-DXiOVFK6.d.mts → string-CkwTVFeL.d.mts} +10 -6
  67. package/dist/{string-Drwam5NL.d.cts → string-Dq2b8rcN.d.cts} +10 -6
  68. package/dist/stylog.d.cts +2 -2
  69. package/dist/stylog.d.mts +2 -2
  70. package/dist/types/array.d.cts +1 -1
  71. package/dist/types/array.d.mts +1 -1
  72. package/dist/types/colors.d.cts +2 -2
  73. package/dist/types/colors.d.mts +2 -2
  74. package/dist/types/converter.d.cts +1 -1
  75. package/dist/types/converter.d.mts +1 -1
  76. package/dist/types/date.d.cts +1 -1
  77. package/dist/types/date.d.mts +1 -1
  78. package/dist/types/form.d.cts +1 -1
  79. package/dist/types/form.d.mts +1 -1
  80. package/dist/types/hash.d.cts +1 -1
  81. package/dist/types/hash.d.mts +1 -1
  82. package/dist/types/http-status.d.cts +1 -1
  83. package/dist/types/http-status.d.mts +1 -1
  84. package/dist/types/index.d.cts +1 -1
  85. package/dist/types/index.d.mts +1 -1
  86. package/dist/types/number.d.cts +1 -1
  87. package/dist/types/number.d.mts +1 -1
  88. package/dist/types/object.d.cts +1 -1
  89. package/dist/types/object.d.mts +1 -1
  90. package/dist/types/pluralizer.d.cts +1 -1
  91. package/dist/types/pluralizer.d.mts +1 -1
  92. package/dist/types/string.d.cts +1 -1
  93. package/dist/types/string.d.mts +1 -1
  94. package/dist/types/stylog.d.cts +1 -1
  95. package/dist/types/stylog.d.mts +1 -1
  96. package/dist/types/utils.d.cts +1 -1
  97. package/dist/types/utils.d.mts +1 -1
  98. package/dist/{utils-B1BHomba.cjs → utils-CFyEFj2Y.cjs} +1 -1
  99. package/dist/{utils-BCytS67y.mjs → utils-CN3ocK98.mjs} +1 -1
  100. package/dist/{uuid-B5JYv6ao.d.cts → uuid-DgTBxcVu.d.cts} +1 -1
  101. package/dist/{uuid-DU64TmIe.d.mts → uuid-Yc3Uu8qr.d.mts} +1 -1
  102. package/package.json +1 -1
package/README.md CHANGED
@@ -353,7 +353,7 @@ throttleAction(updateScrollPosition, 100);
353
353
  debounceAction(fetchResults, 300);
354
354
  ```
355
355
 
356
- [Full Documentation →](https://toolbox-x.nazmul-nhb.dev/docs/utilities/misc/debounceAction)
356
+ [Documentation →](https://toolbox-x.nazmul-nhb.dev/docs/utilities/misc/debounceAction)
357
357
 
358
358
  > These utilities represent just a portion of the comprehensive `toolbox-x`. Each is designed with production-grade reliability and developer experience in mind. Explore more in the [full documentation](https://toolbox-x.nazmul-nhb.dev). All the utilities and classes are categorized.
359
359
 
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as Maybe, Jn as Percent, V as Branded } from "./object-D70hzkoY.mjs";
17
+ import { $ as Maybe, Jn as Percent, V as Branded } from "./object-ChFVh95z.mjs";
18
18
  import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.mjs";
19
19
 
20
20
  //#region src/types/colors.d.ts
@@ -65,11 +65,6 @@ type RGBA = `rgba(${number}, ${number}, ${number}, ${number})` | `rgba(${number}
65
65
  * * Format: `hsla(H, S%, L%, A)`
66
66
  */
67
67
  type HSLA = `hsla(${number}, ${number}%, ${number}%, ${number})` | `hsla(${number},${number}%,${number}%,${number})`;
68
- /** Represents an object with `hex` (`hex6`) and `rgb` color */
69
- type RandomHexRGB = {
70
- /** Represents a hexadecimal color code. */hex: Hex6; /** Represents an RGB color string. */
71
- rgb: RGB;
72
- };
73
68
  /** Basic color type: `hex`, `rgb` or `hsl`. */
74
69
  type $ColorType = 'hex' | 'rgb' | 'hsl';
75
70
  /** Options for random color generation. */
@@ -483,4 +478,4 @@ declare class Color {
483
478
  static isCSSColor(color: string): color is CSSColor;
484
479
  }
485
480
  //#endregion
486
- export { RandomColorOptions as C, Tetrad as D, SolidValues as E, Triad as O, RandomColor as S, SolidColors as T, Hex as _, AlphaValues as a, RGB as b, ColorInput as c, ColorTypeAlpha as d, ColorTypeSolid as f, HSLA as g, HSL as h, AlphaValue as i, ColorInputArray as l, ConvertedColors as m, $ColorType as n, Analogous as o, Colors as p, AlphaColors as r, CSSColor as s, Color as t, ColorType as u, Hex6 as v, RandomHexRGB as w, RGBA as x, Hex8 as y };
481
+ export { RandomColorOptions as C, Triad as D, Tetrad as E, RandomColor as S, SolidValues as T, Hex as _, AlphaValues as a, RGB as b, ColorInput as c, ColorTypeAlpha as d, ColorTypeSolid as f, HSLA as g, HSL as h, AlphaValue as i, ColorInputArray as l, ConvertedColors as m, $ColorType as n, Analogous as o, Colors as p, AlphaColors as r, CSSColor as s, Color as t, ColorType as u, Hex6 as v, SolidColors as w, RGBA as x, Hex8 as y };
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as Maybe, Jn as Percent, V as Branded } from "./object-D70hzkoY.cjs";
17
+ import { $ as Maybe, Jn as Percent, V as Branded } from "./object-ChFVh95z.cjs";
18
18
  import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.cjs";
19
19
 
20
20
  //#region src/types/colors.d.ts
@@ -65,11 +65,6 @@ type RGBA = `rgba(${number}, ${number}, ${number}, ${number})` | `rgba(${number}
65
65
  * * Format: `hsla(H, S%, L%, A)`
66
66
  */
67
67
  type HSLA = `hsla(${number}, ${number}%, ${number}%, ${number})` | `hsla(${number},${number}%,${number}%,${number})`;
68
- /** Represents an object with `hex` (`hex6`) and `rgb` color */
69
- type RandomHexRGB = {
70
- /** Represents a hexadecimal color code. */hex: Hex6; /** Represents an RGB color string. */
71
- rgb: RGB;
72
- };
73
68
  /** Basic color type: `hex`, `rgb` or `hsl`. */
74
69
  type $ColorType = 'hex' | 'rgb' | 'hsl';
75
70
  /** Options for random color generation. */
@@ -483,4 +478,4 @@ declare class Color {
483
478
  static isCSSColor(color: string): color is CSSColor;
484
479
  }
485
480
  //#endregion
486
- export { RandomColorOptions as C, Tetrad as D, SolidValues as E, Triad as O, RandomColor as S, SolidColors as T, Hex as _, AlphaValues as a, RGB as b, ColorInput as c, ColorTypeAlpha as d, ColorTypeSolid as f, HSLA as g, HSL as h, AlphaValue as i, ColorInputArray as l, ConvertedColors as m, $ColorType as n, Analogous as o, Colors as p, AlphaColors as r, CSSColor as s, Color as t, ColorType as u, Hex6 as v, RandomHexRGB as w, RGBA as x, Hex8 as y };
481
+ export { RandomColorOptions as C, Triad as D, Tetrad as E, RandomColor as S, SolidValues as T, Hex as _, AlphaValues as a, RGB as b, ColorInput as c, ColorTypeAlpha as d, ColorTypeSolid as f, HSLA as g, HSL as h, AlphaValue as i, ColorInputArray as l, ConvertedColors as m, $ColorType as n, Analogous as o, Colors as p, AlphaColors as r, CSSColor as s, Color as t, ColorType as u, Hex6 as v, SolidColors as w, RGBA as x, Hex8 as y };
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { s as CSSColor } from "./Color-G-pOkVp7.cjs";
17
+ import { s as CSSColor } from "./Color-DCfoQk_-.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-C_KH9aj6.mjs";
17
+ import { s as CSSColor } from "./Color-Dsut0Bex.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 { Ar as LooseLiteral, Nr as Mutable, i as $Record, it as Numeric } from "./object-D70hzkoY.cjs";
17
+ import { Ar as LooseLiteral, Nr as Mutable, i as $Record, it as Numeric } from "./object-ChFVh95z.cjs";
18
18
  import { t as UNITS } from "./constants-D8RzBjsL.cjs";
19
19
 
20
20
  //#region src/converter/data.d.ts
@@ -229,10 +229,12 @@ type CategoryUnits<Cat extends Category> = UnitMap[Cat];
229
229
  /** * Type for the returned converter instance based on the provided unit `U`. */
230
230
  type Converted<U extends $Unit> = InferCategory<U> extends never ? $BaseConverter<U> : InferCategory<U> extends 'area' ? $Area : InferCategory<U> extends 'time' ? $Time : InferCategory<U> extends 'length' ? $Length : InferCategory<U> extends 'mass' ? $Mass : InferCategory<U> extends 'data' ? $Data : InferCategory<U> extends 'temp' ? $Temperature : InferCategory<U> extends 'volume' ? $Volume : $BaseConverter<U>;
231
231
  /** * Options for formatting converted values for unit converter method(s). */
232
- type FormatToOptions = {
233
- /** Style of formatting. Default is `'plural'`. */style?: 'compact' | 'scientific' | 'plural'; /** Number of decimal places to include. Default is `2`. */
232
+ interface FormatToOptions {
233
+ /** Style of formatting. Default is `'plural'`. */
234
+ style?: 'compact' | 'scientific' | 'plural';
235
+ /** Number of decimal places to include. Default is `2`. */
234
236
  decimals?: number;
235
- };
237
+ }
236
238
  /** Union type for all the area units */
237
239
  type $AreaUnit = UnitMap['area'];
238
240
  /** Union type for all the data units */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Ar as LooseLiteral, Nr as Mutable, i as $Record, it as Numeric } from "./object-D70hzkoY.mjs";
17
+ import { Ar as LooseLiteral, Nr as Mutable, i as $Record, it as Numeric } from "./object-ChFVh95z.mjs";
18
18
  import { t as UNITS } from "./constants-D8RzBjsL.mjs";
19
19
 
20
20
  //#region src/converter/data.d.ts
@@ -229,10 +229,12 @@ type CategoryUnits<Cat extends Category> = UnitMap[Cat];
229
229
  /** * Type for the returned converter instance based on the provided unit `U`. */
230
230
  type Converted<U extends $Unit> = InferCategory<U> extends never ? $BaseConverter<U> : InferCategory<U> extends 'area' ? $Area : InferCategory<U> extends 'time' ? $Time : InferCategory<U> extends 'length' ? $Length : InferCategory<U> extends 'mass' ? $Mass : InferCategory<U> extends 'data' ? $Data : InferCategory<U> extends 'temp' ? $Temperature : InferCategory<U> extends 'volume' ? $Volume : $BaseConverter<U>;
231
231
  /** * Options for formatting converted values for unit converter method(s). */
232
- type FormatToOptions = {
233
- /** Style of formatting. Default is `'plural'`. */style?: 'compact' | 'scientific' | 'plural'; /** Number of decimal places to include. Default is `2`. */
232
+ interface FormatToOptions {
233
+ /** Style of formatting. Default is `'plural'`. */
234
+ style?: 'compact' | 'scientific' | 'plural';
235
+ /** Number of decimal places to include. Default is `2`. */
234
236
  decimals?: number;
235
- };
237
+ }
236
238
  /** Union type for all the area units */
237
239
  type $AreaUnit = UnitMap['area'];
238
240
  /** Union type for all the data units */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { E as NestedPrimitiveKey, nt as NormalPrimitiveKey, y as GenericObject } from "./object-D70hzkoY.cjs";
17
+ import { E as NestedPrimitiveKey, nt as NormalPrimitiveKey, y as GenericObject } from "./object-ChFVh95z.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, nt as NormalPrimitiveKey, y as GenericObject } from "./object-D70hzkoY.mjs";
17
+ import { E as NestedPrimitiveKey, nt as NormalPrimitiveKey, y as GenericObject } from "./object-ChFVh95z.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 { F as RandomIdOptions } from "./string-DXiOVFK6.mjs";
17
+ import { F as RandomIdOptions } from "./string-Dq2b8rcN.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 { F as RandomIdOptions } from "./string-Drwam5NL.cjs";
17
+ import { F as RandomIdOptions } from "./string-CkwTVFeL.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 { B as TitleCase, I as SentenceCase, L as SnakeCase, M as PascalSnakeCase, N as PathCase, T as DotCase, V as TrainCase, f as CamelCase, g as ConstantCase, j as PascalCase, k as KebabCase, m as CaseFormat, p as CapitalizeOptions, z as StringCaseOptions } from "./string-Drwam5NL.cjs";
17
+ import { B as TitleCase, I as SentenceCase, L as SnakeCase, M as PascalSnakeCase, N as PathCase, T as DotCase, V as TrainCase, f as CamelCase, g as ConstantCase, j as PascalCase, k as KebabCase, m as CaseFormat, p as CapitalizeOptions, z as StringCaseOptions } from "./string-Dq2b8rcN.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 { B as TitleCase, I as SentenceCase, L as SnakeCase, M as PascalSnakeCase, N as PathCase, T as DotCase, V as TrainCase, f as CamelCase, g as ConstantCase, j as PascalCase, k as KebabCase, m as CaseFormat, p as CapitalizeOptions, z as StringCaseOptions } from "./string-DXiOVFK6.mjs";
17
+ import { B as TitleCase, I as SentenceCase, L as SnakeCase, M as PascalSnakeCase, N as PathCase, T as DotCase, V as TrainCase, f as CamelCase, g as ConstantCase, j as PascalCase, k as KebabCase, m as CaseFormat, p as CapitalizeOptions, z as StringCaseOptions } from "./string-CkwTVFeL.mjs";
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-B3Sjlcjo.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--Vjea9DS.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-Cpq94CEY.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-KdrBKjjK.mjs";
18
18
  export { capitalizeString, convertStringCase, toCamelCase, toConstantCase, toDotCase, toKebabCase, toPascalCase, toPascalSnakeCase, toPathCase, toSentenceCase, toSnakeCase, toTitleCase, toTrainCase };
package/dist/colors.cjs CHANGED
@@ -43,17 +43,6 @@ const generateRandomHSLColor = (maxColors = 16) => {
43
43
  return color;
44
44
  };
45
45
  /**
46
- * @deprecated For optimized performance and more flexibility, please consider using {@link generateRandomColor}.
47
- *
48
- * * Utility to generate a unique random color in `Hex6` and `RGB` format.
49
- *
50
- * @param maxColors - The maximum number of recent colors to store in memory. Default is `16`.
51
- * @returns An object of generated unique random color in both `Hex` and `RGB` formats.
52
- */
53
- const generateRandomColorInHexRGB = (maxColors = 16) => {
54
- return require_convert.convertColorCode(generateRandomHSLColor(maxColors));
55
- };
56
- /**
57
46
  * * Generates a random unique color in one of three formats: `Hex6`, `RGB`, or `HSL`.
58
47
  *
59
48
  * @remarks
@@ -565,7 +554,6 @@ exports.convertRgbaToHsla = require_convert.convertRgbaToHsla;
565
554
  exports.extractAlphaColorValues = require_convert.extractAlphaColorValues;
566
555
  exports.extractSolidColorValues = require_convert.extractSolidColorValues;
567
556
  exports.generateRandomColor = generateRandomColor;
568
- exports.generateRandomColorInHexRGB = generateRandomColorInHexRGB;
569
557
  exports.generateRandomHSL = generateRandomHSLColor;
570
558
  exports.generateRandomHSLColor = generateRandomHSLColor;
571
559
  exports.getColorForInitial = getColorForInitial;
package/dist/colors.d.cts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Jn as Percent } from "./object-D70hzkoY.cjs";
18
- import { C as RandomColorOptions, E as SolidValues, S as RandomColor, _ 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, w as RandomHexRGB, x as RGBA, y as Hex8 } from "./Color-G-pOkVp7.cjs";
17
+ import { Jn as Percent } from "./object-ChFVh95z.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-Dsut0Bex.cjs";
19
19
 
20
20
  //#region src/colors/convert.d.ts
21
21
  /**
@@ -234,15 +234,6 @@ declare function getColorForInitial(input: ColorInputArray, opacity?: Percent):
234
234
  * @returns Generated unique random color in `HSL` format.
235
235
  */
236
236
  declare const generateRandomHSLColor: (maxColors?: number) => HSL;
237
- /**
238
- * @deprecated For optimized performance and more flexibility, please consider using {@link generateRandomColor}.
239
- *
240
- * * Utility to generate a unique random color in `Hex6` and `RGB` format.
241
- *
242
- * @param maxColors - The maximum number of recent colors to store in memory. Default is `16`.
243
- * @returns An object of generated unique random color in both `Hex` and `RGB` formats.
244
- */
245
- declare const generateRandomColorInHexRGB: (maxColors?: number) => RandomHexRGB;
246
237
  /**
247
238
  * * Generates a random unique color in one of three formats: `Hex6`, `RGB`, or `HSL`.
248
239
  *
@@ -352,4 +343,4 @@ declare function applyOpacityToHex(color: Hex, opacity: Percent): Hex8;
352
343
  */
353
344
  declare function applyOpacityToHex(color: Hex, opacity: string): Hex8;
354
345
  //#endregion
355
- export { Color, Color as Colour, applyOpacityToHex, convertColorCode, convertHex8ToHsla, convertHex8ToRgba, convertHexToHsl, convertHexToRgb, convertHslToHex, convertHslToRgb, convertHslaToHex8, convertHslaToRgba, convertRgbToHex, convertRgbToHsl, convertRgbToRgba, convertRgbaToHex8, convertRgbaToHsla, extractAlphaColorValues, extractSolidColorValues, generateRandomColor, generateRandomColor as getRandomColor, generateRandomColorInHexRGB, generateRandomHSLColor as generateRandomHSL, generateRandomHSLColor, generateRandomHSLColor as getRandomHSL, getColorForInitial, percentToHex };
346
+ export { Color, Color as Colour, applyOpacityToHex, convertColorCode, convertHex8ToHsla, convertHex8ToRgba, convertHexToHsl, convertHexToRgb, convertHslToHex, convertHslToRgb, convertHslaToHex8, convertHslaToRgba, convertRgbToHex, convertRgbToHsl, convertRgbToRgba, convertRgbaToHex8, convertRgbaToHsla, extractAlphaColorValues, extractSolidColorValues, generateRandomColor, generateRandomColor as getRandomColor, generateRandomHSLColor as generateRandomHSL, generateRandomHSLColor, generateRandomHSLColor as getRandomHSL, getColorForInitial, percentToHex };
package/dist/colors.d.mts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Jn as Percent } from "./object-D70hzkoY.mjs";
18
- import { C as RandomColorOptions, E as SolidValues, S as RandomColor, _ 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, w as RandomHexRGB, x as RGBA, y as Hex8 } from "./Color-C_KH9aj6.mjs";
17
+ import { Jn as Percent } from "./object-ChFVh95z.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-DCfoQk_-.mjs";
19
19
 
20
20
  //#region src/colors/convert.d.ts
21
21
  /**
@@ -234,15 +234,6 @@ declare function getColorForInitial(input: ColorInputArray, opacity?: Percent):
234
234
  * @returns Generated unique random color in `HSL` format.
235
235
  */
236
236
  declare const generateRandomHSLColor: (maxColors?: number) => HSL;
237
- /**
238
- * @deprecated For optimized performance and more flexibility, please consider using {@link generateRandomColor}.
239
- *
240
- * * Utility to generate a unique random color in `Hex6` and `RGB` format.
241
- *
242
- * @param maxColors - The maximum number of recent colors to store in memory. Default is `16`.
243
- * @returns An object of generated unique random color in both `Hex` and `RGB` formats.
244
- */
245
- declare const generateRandomColorInHexRGB: (maxColors?: number) => RandomHexRGB;
246
237
  /**
247
238
  * * Generates a random unique color in one of three formats: `Hex6`, `RGB`, or `HSL`.
248
239
  *
@@ -352,4 +343,4 @@ declare function applyOpacityToHex(color: Hex, opacity: Percent): Hex8;
352
343
  */
353
344
  declare function applyOpacityToHex(color: Hex, opacity: string): Hex8;
354
345
  //#endregion
355
- export { Color, Color as Colour, applyOpacityToHex, convertColorCode, convertHex8ToHsla, convertHex8ToRgba, convertHexToHsl, convertHexToRgb, convertHslToHex, convertHslToRgb, convertHslaToHex8, convertHslaToRgba, convertRgbToHex, convertRgbToHsl, convertRgbToRgba, convertRgbaToHex8, convertRgbaToHsla, extractAlphaColorValues, extractSolidColorValues, generateRandomColor, generateRandomColor as getRandomColor, generateRandomColorInHexRGB, generateRandomHSLColor as generateRandomHSL, generateRandomHSLColor, generateRandomHSLColor as getRandomHSL, getColorForInitial, percentToHex };
346
+ export { Color, Color as Colour, applyOpacityToHex, convertColorCode, convertHex8ToHsla, convertHex8ToRgba, convertHexToHsl, convertHexToRgb, convertHslToHex, convertHslToRgb, convertHslaToHex8, convertHslaToRgba, convertRgbToHex, convertRgbToHsl, convertRgbToRgba, convertRgbaToHex8, convertRgbaToHsla, extractAlphaColorValues, extractSolidColorValues, generateRandomColor, generateRandomColor as getRandomColor, generateRandomHSLColor as generateRandomHSL, generateRandomHSLColor, generateRandomHSLColor as getRandomHSL, getColorForInitial, percentToHex };
package/dist/colors.mjs CHANGED
@@ -42,17 +42,6 @@ const generateRandomHSLColor = (maxColors = 16) => {
42
42
  return color;
43
43
  };
44
44
  /**
45
- * @deprecated For optimized performance and more flexibility, please consider using {@link generateRandomColor}.
46
- *
47
- * * Utility to generate a unique random color in `Hex6` and `RGB` format.
48
- *
49
- * @param maxColors - The maximum number of recent colors to store in memory. Default is `16`.
50
- * @returns An object of generated unique random color in both `Hex` and `RGB` formats.
51
- */
52
- const generateRandomColorInHexRGB = (maxColors = 16) => {
53
- return convertColorCode(generateRandomHSLColor(maxColors));
54
- };
55
- /**
56
45
  * * Generates a random unique color in one of three formats: `Hex6`, `RGB`, or `HSL`.
57
46
  *
58
47
  * @remarks
@@ -544,4 +533,4 @@ function getColorForInitial(input = "", opacity = 100) {
544
533
  }
545
534
 
546
535
  //#endregion
547
- export { Color, Color as Colour, applyOpacityToHex, convertColorCode, convertHex8ToHsla, convertHex8ToRgba, convertHexToHsl, convertHexToRgb, convertHslToHex, convertHslToRgb, convertHslaToHex8, convertHslaToRgba, convertRgbToHex, convertRgbToHsl, convertRgbToRgba, convertRgbaToHex8, convertRgbaToHsla, extractAlphaColorValues, extractSolidColorValues, generateRandomColor, generateRandomColor as getRandomColor, generateRandomColorInHexRGB, generateRandomHSLColor as generateRandomHSL, generateRandomHSLColor, generateRandomHSLColor as getRandomHSL, getColorForInitial, percentToHex };
536
+ export { Color, Color as Colour, applyOpacityToHex, convertColorCode, convertHex8ToHsla, convertHex8ToRgba, convertHexToHsl, convertHexToRgb, convertHslToHex, convertHslToRgb, convertHslaToHex8, convertHslaToRgba, convertRgbToHex, convertRgbToHsl, convertRgbToRgba, convertRgbaToHex8, convertRgbaToHsla, extractAlphaColorValues, extractSolidColorValues, generateRandomColor, generateRandomColor as getRandomColor, generateRandomHSLColor as generateRandomHSL, generateRandomHSLColor, generateRandomHSLColor as getRandomHSL, getColorForInitial, percentToHex };
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { t as LOWERCASE } from "./constants-C7wERz5m.cjs";
18
- import { Ci as COUNTRIES, Si as WESTERN_ZODIAC_SIGNS, _i as TIME_ZONE_IDS, bi as MONTHS, ci as CURRENCY_CODES, di as LOCALE_CODES, fi as UNITS$1, gi as TIME_ZONES_NATIVE, hi as TIME_ZONES, li as CURRENCY_LOCALES, mi as NATIVE_TZ_IDS, pi as IANA_TZ_IDS, ui as FRANKFURTER_CURRENCIES, vi as TIME_ZONE_LABELS, xi as VEDIC_ZODIAC_SIGNS, yi as DAYS } from "./object-D70hzkoY.cjs";
18
+ import { Ci as COUNTRIES, Si as WESTERN_ZODIAC_SIGNS, _i as TIME_ZONE_IDS, bi as MONTHS, ci as CURRENCY_CODES, di as LOCALE_CODES, fi as UNITS$1, gi as TIME_ZONES_NATIVE, hi as TIME_ZONES, li as CURRENCY_LOCALES, mi as NATIVE_TZ_IDS, pi as IANA_TZ_IDS, ui as FRANKFURTER_CURRENCIES, vi as TIME_ZONE_LABELS, xi as VEDIC_ZODIAC_SIGNS, yi as DAYS } from "./object-ChFVh95z.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 COUNTRIES, Si as WESTERN_ZODIAC_SIGNS, _i as TIME_ZONE_IDS, bi as MONTHS, ci as CURRENCY_CODES, di as LOCALE_CODES, fi as UNITS$1, gi as TIME_ZONES_NATIVE, hi as TIME_ZONES, li as CURRENCY_LOCALES, mi as NATIVE_TZ_IDS, pi as IANA_TZ_IDS, ui as FRANKFURTER_CURRENCIES, vi as TIME_ZONE_LABELS, xi as VEDIC_ZODIAC_SIGNS, yi as DAYS } from "./object-D70hzkoY.mjs";
18
+ import { Ci as COUNTRIES, Si as WESTERN_ZODIAC_SIGNS, _i as TIME_ZONE_IDS, bi as MONTHS, ci as CURRENCY_CODES, di as LOCALE_CODES, fi as UNITS$1, gi as TIME_ZONES_NATIVE, hi as TIME_ZONES, li as CURRENCY_LOCALES, mi as NATIVE_TZ_IDS, pi as IANA_TZ_IDS, ui as FRANKFURTER_CURRENCIES, vi as TIME_ZONE_LABELS, xi as VEDIC_ZODIAC_SIGNS, yi as DAYS } from "./object-ChFVh95z.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";
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { it as Numeric } from "./object-D70hzkoY.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-Cav_1uPb.cjs";
17
+ import { it as Numeric } from "./object-ChFVh95z.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-CcRQ6TfR.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 { it as Numeric } from "./object-D70hzkoY.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-DTOvByQG.mjs";
17
+ import { it as Numeric } from "./object-ChFVh95z.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-CvSC96va.mjs";
19
19
 
20
20
  //#region src/converter/Converter.d.ts
21
21
  /**
package/dist/date.cjs CHANGED
@@ -19,8 +19,8 @@ const require_primitives = require('./primitives-CBGICrDR.cjs');
19
19
  const require_timezone = require('./timezone-CSz7R0L6.cjs');
20
20
  const require_specials = require('./specials-BM6cx43o.cjs');
21
21
  const require_utilities = require('./utilities-CzyXCRHM.cjs');
22
- const require_guards = require('./guards-FSW16LfU.cjs');
23
- const require_parse = require('./parse-CejohxY0.cjs');
22
+ const require_guards = require('./guards-DP5k4_Mm.cjs');
23
+ const require_parse = require('./parse-BpUlILVi.cjs');
24
24
 
25
25
  //#region src/date/utils.ts
26
26
  /**
package/dist/date.d.cts CHANGED
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as Maybe, Dt as ClockTime, Gt as ISODateTimeString, Ht as HourMinutes, Ot as DateArgs, Sn as UTCOffset, Vt as GreetingConfigs, Wt as ISODateFormat, an as SafeFormat, bn as TimestampOptions, bt as $TimeZoneIdentifier, cn as TimeOnlyFormat, fn as TimeWithUnit, gn as TimeZoneIdNative, it as Numeric, kt as DateFormatOptions, mn as TimeZoneDetails } from "./object-D70hzkoY.cjs";
17
+ import { $ as Maybe, Dt as ClockTime, Gt as ISODateTimeString, Ht as HourMinutes, Ot as DateArgs, Sn as UTCOffset, Vt as GreetingConfigs, Wt as ISODateFormat, an as SafeFormat, bn as TimestampOptions, bt as $TimeZoneIdentifier, cn as TimeOnlyFormat, fn as TimeWithUnit, gn as TimeZoneIdNative, it as Numeric, kt as DateFormatOptions, mn as TimeZoneDetails } from "./object-ChFVh95z.cjs";
18
18
 
19
19
  //#region src/date/greet.d.ts
20
20
  /**
package/dist/date.d.mts CHANGED
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as Maybe, Dt as ClockTime, Gt as ISODateTimeString, Ht as HourMinutes, Ot as DateArgs, Sn as UTCOffset, Vt as GreetingConfigs, Wt as ISODateFormat, an as SafeFormat, bn as TimestampOptions, bt as $TimeZoneIdentifier, cn as TimeOnlyFormat, fn as TimeWithUnit, gn as TimeZoneIdNative, it as Numeric, kt as DateFormatOptions, mn as TimeZoneDetails } from "./object-D70hzkoY.mjs";
17
+ import { $ as Maybe, Dt as ClockTime, Gt as ISODateTimeString, Ht as HourMinutes, Ot as DateArgs, Sn as UTCOffset, Vt as GreetingConfigs, Wt as ISODateFormat, an as SafeFormat, bn as TimestampOptions, bt as $TimeZoneIdentifier, cn as TimeOnlyFormat, fn as TimeWithUnit, gn as TimeZoneIdNative, it as Numeric, kt as DateFormatOptions, mn as TimeZoneDetails } from "./object-ChFVh95z.mjs";
18
18
 
19
19
  //#region src/date/greet.d.ts
20
20
  /**
package/dist/date.mjs CHANGED
@@ -18,8 +18,8 @@ import { m as isUndefined } from "./primitives-Djsevc69.mjs";
18
18
  import { n as NATIVE_TZ_IDS } from "./timezone-avZ4TvDx.mjs";
19
19
  import { T as isObject } from "./specials-Cye93-uo.mjs";
20
20
  import { a as normalizeNumber } from "./utilities-B9axOvOX.mjs";
21
- import { a as isValidTime, s as isValidUTCOffset } from "./guards-DEcnNbI5.mjs";
22
- import { a as _normalizeOffset, i as _gmtToUtcOffset, n as _dateArgsToDate, o as _resolveNativeTzName, r as _formatDate, t as parseMSec } from "./parse-DDN7KuOa.mjs";
21
+ import { a as isValidTime, s as isValidUTCOffset } from "./guards-Cp6KAkVI.mjs";
22
+ import { a as _normalizeOffset, i as _gmtToUtcOffset, n as _dateArgsToDate, o as _resolveNativeTzName, r as _formatDate, t as parseMSec } from "./parse-rcJRAOJl.mjs";
23
23
 
24
24
  //#region src/date/utils.ts
25
25
  /**
package/dist/dom.cjs CHANGED
@@ -17,10 +17,10 @@
17
17
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
18
18
  const require_primitives = require('./primitives-CBGICrDR.cjs');
19
19
  const require_specials = require('./specials-BM6cx43o.cjs');
20
- const require_guards = require('./guards-FSW16LfU.cjs');
20
+ const require_guards = require('./guards-DP5k4_Mm.cjs');
21
21
  const require_basics = require('./basics-K8BDSYD6.cjs');
22
- const require_objectify = require('./objectify-CRUYlTtI.cjs');
23
- const require_utils = require('./utils-B1BHomba.cjs');
22
+ const require_objectify = require('./objectify-CZJr9hwg.cjs');
23
+ const require_utils = require('./utils-CFyEFj2Y.cjs');
24
24
 
25
25
  //#region src/dom/query.ts
26
26
  /**
package/dist/dom.d.cts CHANGED
@@ -14,9 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { A as ParsedQuery, G as Deserializer, M as QueryObject, ct as Serializer, j as ParsedQueryGeneric, y as GenericObject } from "./object-D70hzkoY.cjs";
18
- import { P as QueryString } from "./string-Drwam5NL.cjs";
19
- import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-CY3RefN-.cjs";
17
+ import { A as ParsedQuery, G as Deserializer, M as QueryObject, ct as Serializer, j as ParsedQueryGeneric, y as GenericObject } from "./object-ChFVh95z.cjs";
18
+ import { P as QueryString } from "./string-Dq2b8rcN.cjs";
19
+ import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-mP-nl8EC.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 { A as ParsedQuery, G as Deserializer, M as QueryObject, ct as Serializer, j as ParsedQueryGeneric, y as GenericObject } from "./object-D70hzkoY.mjs";
18
- import { P as QueryString } from "./string-DXiOVFK6.mjs";
19
- import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-zhtuXugI.mjs";
17
+ import { A as ParsedQuery, G as Deserializer, M as QueryObject, ct as Serializer, j as ParsedQueryGeneric, y as GenericObject } from "./object-ChFVh95z.mjs";
18
+ import { P as QueryString } from "./string-CkwTVFeL.mjs";
19
+ import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "./form-DoQGMTOc.mjs";
20
20
 
21
21
  //#region src/dom/query.d.ts
22
22
  /**
package/dist/dom.mjs CHANGED
@@ -16,10 +16,10 @@
16
16
 
17
17
  import { a as isNonEmptyString, d as isString } from "./primitives-Djsevc69.mjs";
18
18
  import { j as isValidArray, v as isEmptyObject, w as isNotEmptyObject } from "./specials-Cye93-uo.mjs";
19
- import { t as isDateLike } from "./guards-DEcnNbI5.mjs";
19
+ import { t as isDateLike } from "./guards-Cp6KAkVI.mjs";
20
20
  import { n as trimString } from "./basics-1_M7UvCn.mjs";
21
- import { _ as isOriginFileObj, a as flattenObjectKeyValue, d as isCustomFile, f as isCustomFileArray, g as isFileUpload, h as isFileOrBlob, l as parseObjectValues, m as isFileList, p as isFileArray, v as isValidFormData } from "./objectify-DgkPCH_o.mjs";
22
- import { a as deepParsePrimitives } from "./utils-BCytS67y.mjs";
21
+ import { _ as isOriginFileObj, a as flattenObjectKeyValue, d as isCustomFile, f as isCustomFileArray, g as isFileUpload, h as isFileOrBlob, l as parseObjectValues, m as isFileList, p as isFileArray, v as isValidFormData } from "./objectify-CfXtS_E0.mjs";
22
+ import { a as deepParsePrimitives } from "./utils-CN3ocK98.mjs";
23
23
 
24
24
  //#region src/dom/query.ts
25
25
  /**
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $r as RequireExactly, S as KeyForObject, T as NestedKeyString, u as DotNotationKey, x as KeyForArray } from "./object-D70hzkoY.cjs";
18
- import { P as QueryString } from "./string-Drwam5NL.cjs";
17
+ import { $r as RequireExactly, S as KeyForObject, T as NestedKeyString, u as DotNotationKey, x as KeyForArray } from "./object-ChFVh95z.mjs";
18
+ import { P as QueryString } from "./string-CkwTVFeL.mjs";
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 { $r as RequireExactly, S as KeyForObject, T as NestedKeyString, u as DotNotationKey, x as KeyForArray } from "./object-D70hzkoY.mjs";
18
- import { P as QueryString } from "./string-DXiOVFK6.mjs";
17
+ import { $r as RequireExactly, S as KeyForObject, T as NestedKeyString, u as DotNotationKey, x as KeyForArray } from "./object-ChFVh95z.cjs";
18
+ import { P as QueryString } from "./string-Dq2b8rcN.cjs";
19
19
 
20
20
  //#region src/types/form.d.ts
21
21
  /** - Configuration options to control FormData generation behavior. */
@@ -94,9 +94,14 @@ function isDateLike(value) {
94
94
  if (isFunction(value.toISO) && isFunction(value.toFormat) && isBoolean(value.isValid)) return true;
95
95
  if (isFunction(value.plus) && isFunction(value.minus) && isFunction(value.equals) && isFunction(value.getClass)) return true;
96
96
  if (isFunction(value.toJSON) && isFunction(value.toString) && [
97
+ "Instant",
98
+ "Duration",
97
99
  "PlainDate",
98
- "ZonedDateTime",
99
- "Instant"
100
+ "PlainTime",
101
+ "PlainDateTime",
102
+ "PlainMonthDay",
103
+ "PlainYearMonth",
104
+ "ZonedDateTime"
100
105
  ].includes(value.constructor?.name ?? "")) return true;
101
106
  }
102
107
  return false;
@@ -94,9 +94,14 @@ function isDateLike(value) {
94
94
  if (require_specials.isFunction(value.toISO) && require_specials.isFunction(value.toFormat) && require_primitives.isBoolean(value.isValid)) return true;
95
95
  if (require_specials.isFunction(value.plus) && require_specials.isFunction(value.minus) && require_specials.isFunction(value.equals) && require_specials.isFunction(value.getClass)) return true;
96
96
  if (require_specials.isFunction(value.toJSON) && require_specials.isFunction(value.toString) && [
97
+ "Instant",
98
+ "Duration",
97
99
  "PlainDate",
98
- "ZonedDateTime",
99
- "Instant"
100
+ "PlainTime",
101
+ "PlainDateTime",
102
+ "PlainMonthDay",
103
+ "PlainYearMonth",
104
+ "ZonedDateTime"
100
105
  ].includes(value.constructor?.name ?? "")) return true;
101
106
  }
102
107
  return false;
package/dist/guards.cjs CHANGED
@@ -18,7 +18,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
18
18
  const require_primitives = require('./primitives-CBGICrDR.cjs');
19
19
  const require_guards = require('./guards-DGN95D2h.cjs');
20
20
  const require_specials = require('./specials-BM6cx43o.cjs');
21
- const require_guards$1 = require('./guards-FSW16LfU.cjs');
21
+ const require_guards$1 = require('./guards-DP5k4_Mm.cjs');
22
22
  const require_basics = require('./basics-K8BDSYD6.cjs');
23
23
  const require_guards$2 = require('./guards-0VjySrPM.cjs');
24
24
 
package/dist/guards.d.cts CHANGED
@@ -14,9 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as Maybe, Dt as ClockTime, J as FalsyPrimitive, Sn as UTCOffset, X as GenericFn, bt as $TimeZoneIdentifier, fn as TimeWithUnit, gn as TimeZoneIdNative, it as Numeric, jt as DateLike, lt as ValidArray, st as Primitive, tt as NormalPrimitive, y as GenericObject, z as AsyncFunction } from "./object-D70hzkoY.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-G-pOkVp7.cjs";
19
- 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-B5JYv6ao.cjs";
17
+ import { $ as Maybe, Dt as ClockTime, J as FalsyPrimitive, Sn as UTCOffset, X as GenericFn, bt as $TimeZoneIdentifier, fn as TimeWithUnit, gn as TimeZoneIdNative, it as Numeric, jt as DateLike, lt as ValidArray, st as Primitive, tt as NormalPrimitive, y as GenericObject, z as AsyncFunction } from "./object-ChFVh95z.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-Dsut0Bex.cjs";
19
+ 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-DgTBxcVu.cjs";
20
20
 
21
21
  //#region src/colors/guards.d.ts
22
22
  /**
package/dist/guards.d.mts CHANGED
@@ -14,9 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as Maybe, Dt as ClockTime, J as FalsyPrimitive, Sn as UTCOffset, X as GenericFn, bt as $TimeZoneIdentifier, fn as TimeWithUnit, gn as TimeZoneIdNative, it as Numeric, jt as DateLike, lt as ValidArray, st as Primitive, tt as NormalPrimitive, y as GenericObject, z as AsyncFunction } from "./object-D70hzkoY.mjs";
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-C_KH9aj6.mjs";
19
- 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-DU64TmIe.mjs";
17
+ import { $ as Maybe, Dt as ClockTime, J as FalsyPrimitive, Sn as UTCOffset, X as GenericFn, bt as $TimeZoneIdentifier, fn as TimeWithUnit, gn as TimeZoneIdNative, it as Numeric, jt as DateLike, lt as ValidArray, st as Primitive, tt as NormalPrimitive, y as GenericObject, z as AsyncFunction } from "./object-ChFVh95z.mjs";
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-DCfoQk_-.mjs";
19
+ 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-Yc3Uu8qr.mjs";
20
20
 
21
21
  //#region src/colors/guards.d.ts
22
22
  /**
package/dist/guards.mjs CHANGED
@@ -17,7 +17,7 @@
17
17
  import { a as isNonEmptyString, c as isNumber, d as isString, f as isSymbol, i as isInteger, l as isPositiveInteger, m as isUndefined, n as isBoolean, o as isNormalPrimitive, p as isTruthy, r as isFalsy, s as isNull, t as isBigInt, u as isPrimitive } from "./primitives-Djsevc69.mjs";
18
18
  import { a as isHex8, i as isHex6, n as isHSL, o as isRGB, r as isHSLA, s as isRGBA, t as isCSSColor } from "./guards-DziDBD0p.mjs";
19
19
  import { A as isSet, C as isMethodDescriptor, D as isPromise, E as isObjectWithKeys, O as isRegExp, S as isMap, T as isObject, _ as isDate, a as isEmail, b as isFunction, c as isHexString, d as isNumericString, f as isPhoneNumber, g as isArrayOfType, h as isArray, i as isDateString, j as isValidArray, k as isReturningPromise, l as isIPAddress, m as isUUID, n as isBinaryString, o as isEmailArray, p as isURL, r as isBrowser, s as isEnvironment, t as isBase64, u as isNode, v as isEmptyObject, w as isNotEmptyObject, x as isJSON, y as isError } from "./specials-Cye93-uo.mjs";
20
- import { a as isValidTime, i as isTimeWithUnit, n as isLeapYear, o as isValidTimeZoneId, r as isNativeTimeZoneId, s as isValidUTCOffset, t as isDateLike } from "./guards-DEcnNbI5.mjs";
20
+ import { a as isValidTime, i as isTimeWithUnit, n as isLeapYear, o as isValidTimeZoneId, r as isNativeTimeZoneId, s as isValidUTCOffset, t as isDateLike } from "./guards-Cp6KAkVI.mjs";
21
21
  import { a as isUUIDv1, c as isUUIDv4, d as isUUIDv7, f as isUUIDv8, l as isUUIDv5, o as isUUIDv2, s as isUUIDv3, u as isUUIDv6 } from "./basics-1_M7UvCn.mjs";
22
22
  import { _ as isFibonacci, a as isPascalCase, b as isPerfectSquare, g as isEven, h as areInvalidNumbers, i as isPalindrome, n as isEmojiOnly, o as isSnakeCase, r as isKebabCase, t as isCamelCase, v as isMultiple, y as isOdd } from "./guards-DeO4ukiK.mjs";
23
23