@rzl-zone/utils-js 3.10.0 → 3.11.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 (122) hide show
  1. package/README.md +36 -18
  2. package/dist/assertions/index.cjs +11 -11
  3. package/dist/assertions/index.d.ts +487 -215
  4. package/dist/assertions/index.js +5 -5
  5. package/dist/{chunk-SN5HAK3Y.js → chunk-22V4WP3H.js} +4 -4
  6. package/dist/{chunk-EJV5AF4L.js → chunk-2XSZ2ANI.js} +2 -2
  7. package/dist/{chunk-OSSFLQDD.js → chunk-3T6VSWYX.js} +2 -2
  8. package/dist/{chunk-3LE6NX57.js → chunk-5WIEDF2J.js} +4 -4
  9. package/dist/{chunk-WLEZ2KSG.cjs → chunk-6EDFZJZ5.cjs} +126 -126
  10. package/dist/{chunk-GHU356XQ.js → chunk-6LXWT2I5.js} +3 -3
  11. package/dist/{chunk-GKDSBOYE.js → chunk-6YGBRENU.js} +3 -3
  12. package/dist/{chunk-NAOVH4OH.cjs → chunk-7FGNVDEV.cjs} +7 -7
  13. package/dist/{chunk-X6ULJZ3X.js → chunk-AXDYWO67.js} +2 -2
  14. package/dist/{chunk-UV5BKAYW.cjs → chunk-B6PMNZ4M.cjs} +7 -7
  15. package/dist/chunk-BAV5T2E3.cjs +1 -1
  16. package/dist/{chunk-YHFRCVTN.js → chunk-BLF7SD66.js} +3 -3
  17. package/dist/{chunk-QZI5PVCI.cjs → chunk-BMZZXZJ2.cjs} +4 -4
  18. package/dist/{chunk-DXPM4NOU.js → chunk-BOYP3ARU.js} +4 -4
  19. package/dist/{chunk-UXT4XSUK.js → chunk-BPYW5YL7.js} +2 -2
  20. package/dist/{chunk-QGTFQ7RO.cjs → chunk-C2PV3VWC.cjs} +6 -6
  21. package/dist/{chunk-MZ3T6L7Z.js → chunk-CCJ2MSN7.js} +2 -2
  22. package/dist/{chunk-H44QVAZL.cjs → chunk-DAPAK2W3.cjs} +31 -31
  23. package/dist/{chunk-OYFUBKEG.cjs → chunk-DLS3G6WQ.cjs} +4 -4
  24. package/dist/{chunk-MS2KSKD7.js → chunk-DNMCR5JH.js} +9 -9
  25. package/dist/chunk-DVMHRLKP.cjs +1 -1
  26. package/dist/{chunk-IX6PF5ZP.cjs → chunk-EBYFYZW4.cjs} +4 -4
  27. package/dist/{chunk-5Y6JL47L.js → chunk-ENMRZ4BE.js} +3 -3
  28. package/dist/{chunk-7EIFPHV3.js → chunk-FJ4BQFVO.js} +8 -8
  29. package/dist/{chunk-TJ5OY6MC.cjs → chunk-GIKL4PUF.cjs} +10 -10
  30. package/dist/{chunk-M5QB2GM5.js → chunk-GOFINGT6.js} +2 -2
  31. package/dist/{chunk-J6VLFVIL.js → chunk-GXKQ3LHF.js} +3 -3
  32. package/dist/{chunk-5KDVIEVO.js → chunk-HNBRGN4R.js} +2 -2
  33. package/dist/{chunk-OCTHWEZK.cjs → chunk-HYN6FC5A.cjs} +34 -34
  34. package/dist/{chunk-MBFVTGYS.js → chunk-IZGVBYFN.js} +4 -4
  35. package/dist/{chunk-QXTJVDWE.js → chunk-JIE447J5.js} +3 -3
  36. package/dist/{chunk-UFYMRRJH.cjs → chunk-JXEIJM5M.cjs} +61 -61
  37. package/dist/{chunk-WB3FT62A.js → chunk-K47GZDBH.js} +3 -3
  38. package/dist/{chunk-KUVRZ2JW.cjs → chunk-K5536YHG.cjs} +50 -50
  39. package/dist/chunk-KHO2SBNA.cjs +1 -1
  40. package/dist/{chunk-NJ24M6ZH.cjs → chunk-KXJ7X325.cjs} +37 -37
  41. package/dist/chunk-L5RDAVVH.js +1 -1
  42. package/dist/{chunk-SRWL4YCP.js → chunk-LJHPTLWB.js} +7 -7
  43. package/dist/{chunk-6AMDHVS2.cjs → chunk-M7ELWZXM.cjs} +9 -9
  44. package/dist/chunk-MSUW5VHZ.js +1590 -0
  45. package/dist/{chunk-2XGQQZ6A.cjs → chunk-MUHRPRR7.cjs} +3 -3
  46. package/dist/{chunk-XYWC4EQ3.cjs → chunk-MV3TSQSH.cjs} +71 -71
  47. package/dist/{chunk-VCYXNIZ2.cjs → chunk-NLZLXWAU.cjs} +9 -9
  48. package/dist/{chunk-76ATVDCR.cjs → chunk-NVRZPF5M.cjs} +3 -3
  49. package/dist/chunk-ONZFBJVW.js +1 -1
  50. package/dist/{chunk-62FS7WMB.cjs → chunk-PGNL7JXO.cjs} +31 -31
  51. package/dist/{chunk-JI57K7D4.cjs → chunk-Q4GEQS7X.cjs} +161 -161
  52. package/dist/chunk-QNKGP5DY.js +1 -1
  53. package/dist/{chunk-ZTHJQJ5F.cjs → chunk-QYI2VJLS.cjs} +9 -9
  54. package/dist/{chunk-C7GC2PFX.js → chunk-RBWZII5I.js} +3 -3
  55. package/dist/{chunk-MMRHKYT6.cjs → chunk-RMP7VMPB.cjs} +12 -12
  56. package/dist/{chunk-TXOVQZPU.js → chunk-RZOGBYIS.js} +2 -2
  57. package/dist/{chunk-ALRISPTL.cjs → chunk-SU3UELUB.cjs} +3 -3
  58. package/dist/chunk-SYHPSOUU.cjs +1626 -0
  59. package/dist/{chunk-R2DR7SPJ.js → chunk-SZUNAEMR.js} +6 -6
  60. package/dist/{chunk-YVRUY4EW.cjs → chunk-TER22LO4.cjs} +8 -8
  61. package/dist/{chunk-WRGN6UBK.js → chunk-TJHGRQ4P.js} +2 -2
  62. package/dist/{chunk-I33PB44Q.cjs → chunk-U23I7JPB.cjs} +15 -15
  63. package/dist/{chunk-VBSLIIDB.js → chunk-U7HHN47R.js} +10 -10
  64. package/dist/chunk-UDA26MCU.cjs +1 -1
  65. package/dist/{chunk-44X74C26.js → chunk-UIAWUZ4H.js} +4 -4
  66. package/dist/{chunk-5O66AUEC.js → chunk-ULQPCIA2.js} +2 -2
  67. package/dist/chunk-VJDDGRIK.cjs +1 -1
  68. package/dist/{chunk-6WVOUVWD.js → chunk-WETQI6HM.js} +9 -9
  69. package/dist/{chunk-FWWPEL7J.cjs → chunk-WLOQQFDS.cjs} +3 -3
  70. package/dist/chunk-WVSPXFTY.js +1 -1
  71. package/dist/{chunk-WKM6UVMG.cjs → chunk-WXFTVXBF.cjs} +4 -4
  72. package/dist/{chunk-YQHJB7KR.cjs → chunk-XPVTIGU2.cjs} +26 -26
  73. package/dist/{chunk-PWKOFPAH.cjs → chunk-XX6RUGTM.cjs} +3 -3
  74. package/dist/chunk-YWHHVDT4.js +1 -1
  75. package/dist/{chunk-7NXFGJJE.cjs → chunk-ZPDMWDGZ.cjs} +14 -14
  76. package/dist/{chunk-JYOCB6OV.js → chunk-ZVWZEGQP.js} +2 -2
  77. package/dist/conversions/index.cjs +34 -34
  78. package/dist/conversions/index.d.ts +489 -333
  79. package/dist/conversions/index.js +15 -15
  80. package/dist/events/index.cjs +8 -8
  81. package/dist/events/index.d.ts +35 -29
  82. package/dist/events/index.js +4 -4
  83. package/dist/formatters/index.cjs +19 -19
  84. package/dist/formatters/index.d.ts +917 -873
  85. package/dist/formatters/index.js +9 -9
  86. package/dist/generators/index.cjs +9 -9
  87. package/dist/generators/index.d.ts +104 -86
  88. package/dist/generators/index.js +4 -4
  89. package/dist/index.d.ts +1 -1
  90. package/dist/isPlainObject-0p3VveWr.d.ts +534 -0
  91. package/dist/next/index.cjs +37 -37
  92. package/dist/next/index.d.ts +36 -21
  93. package/dist/next/index.js +9 -9
  94. package/dist/next/server/index.cjs +4 -4
  95. package/dist/next/server/index.d.ts +6 -3
  96. package/dist/next/server/index.js +2 -2
  97. package/dist/operations/index.cjs +11 -11
  98. package/dist/operations/index.d.ts +14 -5
  99. package/dist/operations/index.js +8 -8
  100. package/dist/parsers/index.cjs +6 -6
  101. package/dist/parsers/index.d.ts +68 -65
  102. package/dist/parsers/index.js +5 -5
  103. package/dist/predicates/index.cjs +77 -77
  104. package/dist/predicates/index.d.ts +442 -258
  105. package/dist/predicates/index.js +14 -14
  106. package/dist/promises/index.cjs +6 -6
  107. package/dist/promises/index.d.ts +28 -16
  108. package/dist/promises/index.js +4 -4
  109. package/dist/rzl-utils.global.js +2 -2
  110. package/dist/strings/index.cjs +23 -23
  111. package/dist/strings/index.d.ts +82 -54
  112. package/dist/strings/index.js +7 -7
  113. package/dist/tailwind/index.cjs +13 -13
  114. package/dist/tailwind/index.d.ts +186 -169
  115. package/dist/tailwind/index.js +5 -5
  116. package/dist/urls/index.cjs +23 -23
  117. package/dist/urls/index.d.ts +252 -229
  118. package/dist/urls/index.js +16 -16
  119. package/package.json +2 -2
  120. package/dist/chunk-7C7TQC5J.cjs +0 -620
  121. package/dist/chunk-J4TT33ZX.js +0 -584
  122. package/dist/isPlainObject-BTPjv6zB.d.ts +0 -178
@@ -2,81 +2,81 @@
2
2
  * ====================================================
3
3
  * Rzl Utils-JS.
4
4
  * ----------------------------------------------------
5
- * Version: 3.10.0.
5
+ * Version: 3.11.0.
6
6
  * Author: Rizalvin Dwiky.
7
7
  * Repository: https://github.com/rzl-zone/utils-js.
8
8
  * ====================================================
9
9
  */
10
10
  'use strict';
11
11
 
12
- var chunk7NXFGJJE_cjs = require('../chunk-7NXFGJJE.cjs');
13
- var chunk76ATVDCR_cjs = require('../chunk-76ATVDCR.cjs');
14
- var chunkQZI5PVCI_cjs = require('../chunk-QZI5PVCI.cjs');
15
- var chunkIX6PF5ZP_cjs = require('../chunk-IX6PF5ZP.cjs');
16
- require('../chunk-FWWPEL7J.cjs');
17
- var chunk7C7TQC5J_cjs = require('../chunk-7C7TQC5J.cjs');
12
+ var chunkZPDMWDGZ_cjs = require('../chunk-ZPDMWDGZ.cjs');
13
+ var chunkNVRZPF5M_cjs = require('../chunk-NVRZPF5M.cjs');
14
+ var chunkBMZZXZJ2_cjs = require('../chunk-BMZZXZJ2.cjs');
15
+ var chunkEBYFYZW4_cjs = require('../chunk-EBYFYZW4.cjs');
16
+ require('../chunk-WLOQQFDS.cjs');
17
+ var chunkSYHPSOUU_cjs = require('../chunk-SYHPSOUU.cjs');
18
18
 
19
19
  Object.defineProperty(exports, "capitalizeFirst", {
20
20
  enumerable: true,
21
- get: function () { return chunk7NXFGJJE_cjs.capitalizeFirst; }
21
+ get: function () { return chunkZPDMWDGZ_cjs.capitalizeFirst; }
22
22
  });
23
23
  Object.defineProperty(exports, "capitalizeWords", {
24
24
  enumerable: true,
25
- get: function () { return chunk7NXFGJJE_cjs.capitalizeWords; }
25
+ get: function () { return chunkZPDMWDGZ_cjs.capitalizeWords; }
26
26
  });
27
27
  Object.defineProperty(exports, "getInitialsName", {
28
28
  enumerable: true,
29
- get: function () { return chunk7NXFGJJE_cjs.getInitialsName; }
29
+ get: function () { return chunkZPDMWDGZ_cjs.getInitialsName; }
30
30
  });
31
31
  Object.defineProperty(exports, "replaceAt", {
32
32
  enumerable: true,
33
- get: function () { return chunk7NXFGJJE_cjs.replaceAt; }
33
+ get: function () { return chunkZPDMWDGZ_cjs.replaceAt; }
34
34
  });
35
35
  Object.defineProperty(exports, "stripHtmlTags", {
36
36
  enumerable: true,
37
- get: function () { return chunk7NXFGJJE_cjs.stripHtmlTags; }
37
+ get: function () { return chunkZPDMWDGZ_cjs.stripHtmlTags; }
38
38
  });
39
39
  Object.defineProperty(exports, "normalizeString", {
40
40
  enumerable: true,
41
- get: function () { return chunk76ATVDCR_cjs.normalizeString; }
41
+ get: function () { return chunkNVRZPF5M_cjs.normalizeString; }
42
42
  });
43
43
  Object.defineProperty(exports, "normalizeSpaces", {
44
44
  enumerable: true,
45
- get: function () { return chunkQZI5PVCI_cjs.normalizeSpaces; }
45
+ get: function () { return chunkBMZZXZJ2_cjs.normalizeSpaces; }
46
46
  });
47
47
  Object.defineProperty(exports, "removeSpaces", {
48
48
  enumerable: true,
49
- get: function () { return chunkIX6PF5ZP_cjs.removeSpaces; }
49
+ get: function () { return chunkEBYFYZW4_cjs.removeSpaces; }
50
50
  });
51
51
  Object.defineProperty(exports, "slugify", {
52
52
  enumerable: true,
53
- get: function () { return chunk7C7TQC5J_cjs.slugify; }
53
+ get: function () { return chunkSYHPSOUU_cjs.slugify; }
54
54
  });
55
55
  Object.defineProperty(exports, "toCamelCase", {
56
56
  enumerable: true,
57
- get: function () { return chunk7C7TQC5J_cjs.toCamelCase; }
57
+ get: function () { return chunkSYHPSOUU_cjs.toCamelCase; }
58
58
  });
59
59
  Object.defineProperty(exports, "toDotCase", {
60
60
  enumerable: true,
61
- get: function () { return chunk7C7TQC5J_cjs.toDotCase; }
61
+ get: function () { return chunkSYHPSOUU_cjs.toDotCase; }
62
62
  });
63
63
  Object.defineProperty(exports, "toKebabCase", {
64
64
  enumerable: true,
65
- get: function () { return chunk7C7TQC5J_cjs.toKebabCase; }
65
+ get: function () { return chunkSYHPSOUU_cjs.toKebabCase; }
66
66
  });
67
67
  Object.defineProperty(exports, "toLowerCase", {
68
68
  enumerable: true,
69
- get: function () { return chunk7C7TQC5J_cjs.toLowerCase; }
69
+ get: function () { return chunkSYHPSOUU_cjs.toLowerCase; }
70
70
  });
71
71
  Object.defineProperty(exports, "toPascalCase", {
72
72
  enumerable: true,
73
- get: function () { return chunk7C7TQC5J_cjs.toPascalCase; }
73
+ get: function () { return chunkSYHPSOUU_cjs.toPascalCase; }
74
74
  });
75
75
  Object.defineProperty(exports, "toPascalCaseSpace", {
76
76
  enumerable: true,
77
- get: function () { return chunk7C7TQC5J_cjs.toPascalCaseSpace; }
77
+ get: function () { return chunkSYHPSOUU_cjs.toPascalCaseSpace; }
78
78
  });
79
79
  Object.defineProperty(exports, "toSnakeCase", {
80
80
  enumerable: true,
81
- get: function () { return chunk7C7TQC5J_cjs.toSnakeCase; }
81
+ get: function () { return chunkSYHPSOUU_cjs.toSnakeCase; }
82
82
  });
@@ -2,22 +2,25 @@
2
2
  * ====================================================
3
3
  * Rzl Utils-JS.
4
4
  * ----------------------------------------------------
5
- * Version: 3.10.0.
5
+ * Version: 3.11.0.
6
6
  * Author: Rizalvin Dwiky.
7
7
  * Repository: https://github.com/rzl-zone/utils-js.
8
8
  * ====================================================
9
9
  */
10
- import{Nilable,Extends}from'@rzl-zone/ts-types-plus';type CapitalizeFirstOptions={
11
- /** If true **(default)**, the rest of the string will be converted to lowercase after capitalizing the first letter.
12
- *
13
- * @default true
14
- */
15
- lowerCaseNextRest?:boolean;
16
- /** If true, the string will trimmed, default: `false`.
17
- *
18
- * @default false
19
- */
20
- trim?:boolean;};
10
+ import { Nilable, Extends } from '@rzl-zone/ts-types-plus';
11
+
12
+ type CapitalizeFirstOptions = {
13
+ /** If true **(default)**, the rest of the string will be converted to lowercase after capitalizing the first letter.
14
+ *
15
+ * @default true
16
+ */
17
+ lowerCaseNextRest?: boolean;
18
+ /** If true, the string will trimmed, default: `false`.
19
+ *
20
+ * @default false
21
+ */
22
+ trim?: boolean;
23
+ };
21
24
  /** ----------------------------------------------------------
22
25
  * * ***Utility: `capitalizeFirst`.***
23
26
  * ----------------------------------------------------------
@@ -46,17 +49,20 @@ trim?:boolean;};
46
49
  * // ➔ ""
47
50
  * ```
48
51
  */
49
- declare const capitalizeFirst:(string:string|null|undefined,options?:CapitalizeFirstOptions)=>string;type CapitalizeWordsOptions={
50
- /** If `true`, removes leading and trailing spaces, default `false`.
51
- *
52
- * @default false
53
- */
54
- trim?:boolean;
55
- /** If `true`, collapses multiple spaces **between words** into a single space (while preserving leading/trailing spaces), default `false`.
56
- *
57
- * @default false
58
- */
59
- collapseSpaces?:boolean;};
52
+ declare const capitalizeFirst: (string: string | null | undefined, options?: CapitalizeFirstOptions) => string;
53
+
54
+ type CapitalizeWordsOptions = {
55
+ /** If `true`, removes leading and trailing spaces, default `false`.
56
+ *
57
+ * @default false
58
+ */
59
+ trim?: boolean;
60
+ /** If `true`, collapses multiple spaces **between words** into a single space (while preserving leading/trailing spaces), default `false`.
61
+ *
62
+ * @default false
63
+ */
64
+ collapseSpaces?: boolean;
65
+ };
60
66
  /** ----------------------------------------------------------
61
67
  * * ***Utility: `capitalizeWords`.***
62
68
  * ----------------------------------------------------------
@@ -90,7 +96,8 @@ collapseSpaces?:boolean;};
90
96
  * // ➔ ""
91
97
  * ```
92
98
  */
93
- declare const capitalizeWords:(value:string|null|undefined,options?:CapitalizeWordsOptions)=>string;
99
+ declare const capitalizeWords: (value: string | null | undefined, options?: CapitalizeWordsOptions) => string;
100
+
94
101
  /** --------------------------------------------------
95
102
  * * ***Represents a string input.***
96
103
  * --------------------------------------------------
@@ -102,7 +109,7 @@ declare const capitalizeWords:(value:string|null|undefined,options?:CapitalizeWo
102
109
  * @template T - A string or array of strings.
103
110
  * @private ***types input for {@link toCamelCase}, {@link toPascalCaseSpace}, {@link toPascalCase}, {@link toLowerCase}, {@link toKebabCase}, {@link toSnakeCase}, {@link toDotCase} and {@link slugify}.***
104
111
  */
105
- type StringLike=Nilable<string|string[]|ReadonlyArray<string>>;
112
+ type StringLike = Nilable<string | string[] | ReadonlyArray<string>>;
106
113
  /** --------------------------------------------------
107
114
  * * ***Represents a collection of strings.***
108
115
  * --------------------------------------------------
@@ -114,7 +121,8 @@ type StringLike=Nilable<string|string[]|ReadonlyArray<string>>;
114
121
  * - A `ReadonlySet<string>`
115
122
  * @private ***types options for {@link toCamelCase}, {@link toPascalCaseSpace}, {@link toPascalCase}, {@link toLowerCase}, {@link toKebabCase}, {@link toSnakeCase}, {@link toDotCase} and {@link slugify}.***
116
123
  */
117
- type StringCollection=string|string[]|ReadonlyArray<string>|Set<string>|ReadonlySet<string>;
124
+ type StringCollection = string | string[] | ReadonlyArray<string> | Set<string> | ReadonlySet<string>;
125
+
118
126
  /** ----------------------------------------------------------
119
127
  * * ***Utility: `slugify`.***
120
128
  * ----------------------------------------------------------
@@ -170,7 +178,8 @@ type StringCollection=string|string[]|ReadonlyArray<string>|Set<string>|Readonly
170
178
  * slugify(undefined);
171
179
  * // ➔ ""
172
180
  */
173
- declare const slugify:(input:StringLike,ignoreWord?:StringCollection)=>string;
181
+ declare const slugify: (input: StringLike, ignoreWord?: StringCollection) => string;
182
+
174
183
  /** ----------------------------------------------------------
175
184
  * * ***Utility: `toCamelCase`.***
176
185
  * ----------------------------------------------------------
@@ -222,7 +231,8 @@ declare const slugify:(input:StringLike,ignoreWord?:StringCollection)=>string;
222
231
  * toCamelCase(null);
223
232
  * // ➔ ""
224
233
  */
225
- declare const toCamelCase:(input:StringLike,ignoreWord?:StringCollection)=>string;
234
+ declare const toCamelCase: (input: StringLike, ignoreWord?: StringCollection) => string;
235
+
226
236
  /** ----------------------------------------------------------
227
237
  * * ***Utility: `toDotCase`.***
228
238
  * ----------------------------------------------------------
@@ -282,7 +292,8 @@ declare const toCamelCase:(input:StringLike,ignoreWord?:StringCollection)=>strin
282
292
  * toDotCase(undefined);
283
293
  * // ➔ ""
284
294
  */
285
- declare const toDotCase:(input:StringLike,ignoreWord?:StringCollection)=>string;
295
+ declare const toDotCase: (input: StringLike, ignoreWord?: StringCollection) => string;
296
+
286
297
  /** ----------------------------------------------------------
287
298
  * * ***Utility: `toKebabCase`.***
288
299
  * ----------------------------------------------------------
@@ -338,7 +349,8 @@ declare const toDotCase:(input:StringLike,ignoreWord?:StringCollection)=>string;
338
349
  * toKebabCase(null);
339
350
  * // ➔ ""
340
351
  */
341
- declare const toKebabCase:(input:StringLike,ignoreWord?:StringCollection)=>string;
352
+ declare const toKebabCase: (input: StringLike, ignoreWord?: StringCollection) => string;
353
+
342
354
  /** ----------------------------------------------------------
343
355
  * * ***Utility: `toLowerCase`.***
344
356
  * ----------------------------------------------------------
@@ -398,7 +410,8 @@ declare const toKebabCase:(input:StringLike,ignoreWord?:StringCollection)=>strin
398
410
  * toLowerCase(undefined);
399
411
  * // ➔ ""
400
412
  */
401
- declare const toLowerCase:(input:StringLike,ignoreWord?:StringCollection)=>string;
413
+ declare const toLowerCase: (input: StringLike, ignoreWord?: StringCollection) => string;
414
+
402
415
  /** ----------------------------------------------------------
403
416
  * * ***Utility: `toPascalCase`.***
404
417
  * ----------------------------------------------------------
@@ -458,7 +471,8 @@ declare const toLowerCase:(input:StringLike,ignoreWord?:StringCollection)=>strin
458
471
  * toPascalCase(undefined);
459
472
  * // ➔ ""
460
473
  */
461
- declare const toPascalCase:(input:StringLike,ignoreWord?:StringCollection)=>string;
474
+ declare const toPascalCase: (input: StringLike, ignoreWord?: StringCollection) => string;
475
+
462
476
  /** ----------------------------------------------------------
463
477
  * * ***Utility: `toPascalCaseSpace`.***
464
478
  * ----------------------------------------------------------
@@ -518,7 +532,8 @@ declare const toPascalCase:(input:StringLike,ignoreWord?:StringCollection)=>stri
518
532
  * toPascalCaseSpace(undefined);
519
533
  * // ➔ ""
520
534
  */
521
- declare const toPascalCaseSpace:(input:StringLike,ignoreWord?:StringCollection)=>string;
535
+ declare const toPascalCaseSpace: (input: StringLike, ignoreWord?: StringCollection) => string;
536
+
522
537
  /** ----------------------------------------------------------
523
538
  * * ***Utility: `toSnakeCase`.***
524
539
  * ----------------------------------------------------------
@@ -574,17 +589,20 @@ declare const toPascalCaseSpace:(input:StringLike,ignoreWord?:StringCollection)=
574
589
  * toSnakeCase(null);
575
590
  * // ➔ ""
576
591
  */
577
- declare const toSnakeCase:(input:StringLike,ignoreWord?:StringCollection)=>string;type NormalizeSpacesOptions={
578
- /** If `true`, skips normalization and only trims whitespace from start & end, defaultValue: `false`.
579
- *
580
- * @default false
581
- */
582
- trimOnly?:boolean;
583
- /** If `false`, skips trimming value, defaultValue: `true`.
584
- *
585
- * @default true
586
- */
587
- withTrim?:boolean;};
592
+ declare const toSnakeCase: (input: StringLike, ignoreWord?: StringCollection) => string;
593
+
594
+ type NormalizeSpacesOptions = {
595
+ /** If `true`, skips normalization and only trims whitespace from start & end, defaultValue: `false`.
596
+ *
597
+ * @default false
598
+ */
599
+ trimOnly?: boolean;
600
+ /** If `false`, skips trimming value, defaultValue: `true`.
601
+ *
602
+ * @default true
603
+ */
604
+ withTrim?: boolean;
605
+ };
588
606
  /** ----------------------------------------------------------
589
607
  * * ***Utility: `normalizeSpaces`.***
590
608
  * ----------------------------------------------------------
@@ -610,7 +628,8 @@ withTrim?:boolean;};
610
628
  * normalizeSpaces(null);
611
629
  * // ➔ ""
612
630
  */
613
- declare const normalizeSpaces:(value:string|null|undefined,options?:NormalizeSpacesOptions)=>string;
631
+ declare const normalizeSpaces: (value: string | null | undefined, options?: NormalizeSpacesOptions) => string;
632
+
614
633
  /** ----------------------------------------------------------
615
634
  * * ***Utility: `normalizeString`.***
616
635
  * ----------------------------------------------------------
@@ -632,11 +651,14 @@ declare const normalizeSpaces:(value:string|null|undefined,options?:NormalizeSpa
632
651
  * normalizeString(undefined);
633
652
  * // ➔ ""
634
653
  */
635
- declare const normalizeString:(input:string|null|undefined)=>string;type RemoveSpacesOptions={
636
- /** If `true`, only trims the string, defaultValue: `false`.
637
- *
638
- * @default false */
639
- trimOnly?:boolean;};
654
+ declare const normalizeString: (input: string | null | undefined) => string;
655
+
656
+ type RemoveSpacesOptions = {
657
+ /** If `true`, only trims the string, defaultValue: `false`.
658
+ *
659
+ * @default false */
660
+ trimOnly?: boolean;
661
+ };
640
662
  /** ----------------------------------------------------------
641
663
  * * ***Utility: `removeSpaces`.***
642
664
  * ----------------------------------------------------------
@@ -657,7 +679,8 @@ trimOnly?:boolean;};
657
679
  * removeSpaces(null);
658
680
  * // ➔ ""
659
681
  */
660
- declare const removeSpaces:(value:string|null|undefined,options?:RemoveSpacesOptions)=>string;
682
+ declare const removeSpaces: (value: string | null | undefined, options?: RemoveSpacesOptions) => string;
683
+
661
684
  /** ----------------------------------------------------------
662
685
  * * ***Utility: `stripHtmlTags`.***
663
686
  * ----------------------------------------------------------
@@ -688,7 +711,9 @@ declare const removeSpaces:(value:string|null|undefined,options?:RemoveSpacesOpt
688
711
  * stripHtmlTags(undefined);
689
712
  * // ➔ undefined
690
713
  */
691
- declare function stripHtmlTags(input:string):string;declare function stripHtmlTags<T>(input:T):Extends<string,T>extends true?string|undefined:undefined;
714
+ declare function stripHtmlTags(input: string): string;
715
+ declare function stripHtmlTags<T>(input: T): Extends<string, T> extends true ? string | undefined : undefined;
716
+
692
717
  /** ----------------------------------------------------------
693
718
  * * ***Utility: `getInitialsName`.***
694
719
  * ----------------------------------------------------------
@@ -712,7 +737,8 @@ declare function stripHtmlTags(input:string):string;declare function stripHtmlTa
712
737
  * getInitialsName(null); // ➔ "" (null input)
713
738
  * getInitialsName(undefined); // ➔ "" (undefined input)
714
739
  */
715
- declare const getInitialsName:(name:string|null|undefined)=>string;
740
+ declare const getInitialsName: (name: string | null | undefined) => string;
741
+
716
742
  /** ----------------------------------------------------------
717
743
  * * ***Utility: `replaceAt`.***
718
744
  * ----------------------------------------------------------
@@ -746,4 +772,6 @@ declare const getInitialsName:(name:string|null|undefined)=>string;
746
772
  * replaceAt(2, null, "X");
747
773
  * // ➔ ❌ TypeError: First parameter `index` must be of type `number`, second parameter `originalString` and third parameter `replaceTo` must be of type `string`, but received: "['index': `string`,...]."
748
774
  */
749
- declare const replaceAt:(index:number,originalString:string,replaceTo:string)=>string;export{capitalizeFirst,capitalizeWords,getInitialsName,normalizeSpaces,normalizeString,removeSpaces,replaceAt,slugify,stripHtmlTags,toCamelCase,toDotCase,toKebabCase,toLowerCase,toPascalCase,toPascalCaseSpace,toSnakeCase};
775
+ declare const replaceAt: (index: number, originalString: string, replaceTo: string) => string;
776
+
777
+ export { capitalizeFirst, capitalizeWords, getInitialsName, normalizeSpaces, normalizeString, removeSpaces, replaceAt, slugify, stripHtmlTags, toCamelCase, toDotCase, toKebabCase, toLowerCase, toPascalCase, toPascalCaseSpace, toSnakeCase };
@@ -2,14 +2,14 @@
2
2
  * ====================================================
3
3
  * Rzl Utils-JS.
4
4
  * ----------------------------------------------------
5
- * Version: 3.10.0.
5
+ * Version: 3.11.0.
6
6
  * Author: Rizalvin Dwiky.
7
7
  * Repository: https://github.com/rzl-zone/utils-js.
8
8
  * ====================================================
9
9
  */
10
- export { capitalizeFirst, capitalizeWords, getInitialsName, replaceAt, stripHtmlTags } from '../chunk-YHFRCVTN.js';
11
- export { normalizeString } from '../chunk-UXT4XSUK.js';
12
- export { normalizeSpaces } from '../chunk-JYOCB6OV.js';
13
- export { removeSpaces } from '../chunk-5KDVIEVO.js';
14
- import '../chunk-5O66AUEC.js';
15
- export { slugify, toCamelCase, toDotCase, toKebabCase, toLowerCase, toPascalCase, toPascalCaseSpace, toSnakeCase } from '../chunk-J4TT33ZX.js';
10
+ export { capitalizeFirst, capitalizeWords, getInitialsName, replaceAt, stripHtmlTags } from '../chunk-BLF7SD66.js';
11
+ export { normalizeString } from '../chunk-BPYW5YL7.js';
12
+ export { normalizeSpaces } from '../chunk-ZVWZEGQP.js';
13
+ export { removeSpaces } from '../chunk-HNBRGN4R.js';
14
+ import '../chunk-ULQPCIA2.js';
15
+ export { slugify, toCamelCase, toDotCase, toKebabCase, toLowerCase, toPascalCase, toPascalCaseSpace, toSnakeCase } from '../chunk-MSUW5VHZ.js';
@@ -2,47 +2,47 @@
2
2
  * ====================================================
3
3
  * Rzl Utils-JS.
4
4
  * ----------------------------------------------------
5
- * Version: 3.10.0.
5
+ * Version: 3.11.0.
6
6
  * Author: Rizalvin Dwiky.
7
7
  * Repository: https://github.com/rzl-zone/utils-js.
8
8
  * ====================================================
9
9
  */
10
10
  'use strict';
11
11
 
12
- var chunk62FS7WMB_cjs = require('../chunk-62FS7WMB.cjs');
13
- require('../chunk-FWWPEL7J.cjs');
14
- require('../chunk-OYFUBKEG.cjs');
15
- require('../chunk-7C7TQC5J.cjs');
12
+ var chunkPGNL7JXO_cjs = require('../chunk-PGNL7JXO.cjs');
13
+ require('../chunk-WLOQQFDS.cjs');
14
+ require('../chunk-DLS3G6WQ.cjs');
15
+ require('../chunk-SYHPSOUU.cjs');
16
16
 
17
17
  Object.defineProperty(exports, "cnV3", {
18
18
  enumerable: true,
19
- get: function () { return chunk62FS7WMB_cjs.cnV3; }
19
+ get: function () { return chunkPGNL7JXO_cjs.cnV3; }
20
20
  });
21
21
  Object.defineProperty(exports, "cnV4", {
22
22
  enumerable: true,
23
- get: function () { return chunk62FS7WMB_cjs.cnV4; }
23
+ get: function () { return chunkPGNL7JXO_cjs.cnV4; }
24
24
  });
25
25
  Object.defineProperty(exports, "customCnV3", {
26
26
  enumerable: true,
27
- get: function () { return chunk62FS7WMB_cjs.customCnV3; }
27
+ get: function () { return chunkPGNL7JXO_cjs.customCnV3; }
28
28
  });
29
29
  Object.defineProperty(exports, "customCnV4", {
30
30
  enumerable: true,
31
- get: function () { return chunk62FS7WMB_cjs.customCnV4; }
31
+ get: function () { return chunkPGNL7JXO_cjs.customCnV4; }
32
32
  });
33
33
  Object.defineProperty(exports, "cx", {
34
34
  enumerable: true,
35
- get: function () { return chunk62FS7WMB_cjs.cx; }
35
+ get: function () { return chunkPGNL7JXO_cjs.cx; }
36
36
  });
37
37
  Object.defineProperty(exports, "shouldForwardProp", {
38
38
  enumerable: true,
39
- get: function () { return chunk62FS7WMB_cjs.shouldForwardProp; }
39
+ get: function () { return chunkPGNL7JXO_cjs.shouldForwardProp; }
40
40
  });
41
41
  Object.defineProperty(exports, "twMergeDefaultV3", {
42
42
  enumerable: true,
43
- get: function () { return chunk62FS7WMB_cjs.twMergeDefaultV3; }
43
+ get: function () { return chunkPGNL7JXO_cjs.twMergeDefaultV3; }
44
44
  });
45
45
  Object.defineProperty(exports, "twMergeDefaultV4", {
46
46
  enumerable: true,
47
- get: function () { return chunk62FS7WMB_cjs.twMergeDefaultV4; }
47
+ get: function () { return chunkPGNL7JXO_cjs.twMergeDefaultV4; }
48
48
  });