@thisisagile/easy 17.11.7 → 17.11.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/dist/{chunk-2B2LWE7H.mjs → chunk-2AO3V6WW.mjs} +3 -3
  2. package/dist/{chunk-CGLAXRYO.mjs → chunk-34OJDBCM.mjs} +3 -3
  3. package/dist/{chunk-CVHT2WVR.mjs → chunk-4PJ2YGDL.mjs} +2 -2
  4. package/dist/{chunk-SRA54XNC.mjs → chunk-4ZIP6ODE.mjs} +2 -2
  5. package/dist/{chunk-3KAS2OUD.mjs → chunk-5JPW7D3L.mjs} +3 -3
  6. package/dist/{chunk-H7UCFICA.mjs → chunk-5ZL5TS4S.mjs} +5 -5
  7. package/dist/{chunk-5OCTJM4I.mjs → chunk-63CWUA3Z.mjs} +4 -4
  8. package/dist/{chunk-45GNHDKA.mjs → chunk-BDA5LB4S.mjs} +4 -2
  9. package/dist/{chunk-45GNHDKA.mjs.map → chunk-BDA5LB4S.mjs.map} +1 -1
  10. package/dist/{chunk-I6PVEVIW.mjs → chunk-CNPPJ6AA.mjs} +3 -3
  11. package/dist/{chunk-PNOYRJOG.mjs → chunk-CPGCLR5V.mjs} +2 -2
  12. package/dist/{chunk-S2EO2NE3.mjs → chunk-D2FWNOU3.mjs} +5 -5
  13. package/dist/{chunk-XZFA5UKO.mjs → chunk-D4INMQV7.mjs} +3 -3
  14. package/dist/{chunk-OYFQAAB3.mjs → chunk-DCAEU37B.mjs} +3 -3
  15. package/dist/{chunk-X53NA4T2.mjs → chunk-ED7EYL67.mjs} +8 -8
  16. package/dist/{chunk-DP5REKS4.mjs → chunk-EIBSI47I.mjs} +2 -2
  17. package/dist/{chunk-7TODJ5AB.mjs → chunk-FYIVQ7EQ.mjs} +4 -4
  18. package/dist/{chunk-QQRGOHU6.mjs → chunk-GCY5A63A.mjs} +2 -2
  19. package/dist/{chunk-CSSGUE74.mjs → chunk-GE2SHIYQ.mjs} +5 -5
  20. package/dist/{chunk-IRVESJ6R.mjs → chunk-HGIUERWI.mjs} +2 -2
  21. package/dist/{chunk-S5GFPPII.mjs → chunk-HSZSYIZY.mjs} +5 -5
  22. package/dist/{chunk-FX7PAZNL.mjs → chunk-IN3EXOVF.mjs} +2 -2
  23. package/dist/{chunk-Q7XCVZG6.mjs → chunk-JBAK7QN6.mjs} +5 -5
  24. package/dist/{chunk-XYF7VWHS.mjs → chunk-JXW7Q5GU.mjs} +6 -6
  25. package/dist/{chunk-AQKM3DLK.mjs → chunk-JXYAPQEA.mjs} +3 -3
  26. package/dist/{chunk-7QIDN7WJ.mjs → chunk-KN67DLGL.mjs} +2 -2
  27. package/dist/{chunk-UBYEWFQE.mjs → chunk-LHDFC27L.mjs} +3 -3
  28. package/dist/{chunk-BPI7S6FS.mjs → chunk-LS4SIQKT.mjs} +4 -4
  29. package/dist/{chunk-5F3WZOEV.mjs → chunk-LULK6CKF.mjs} +5 -5
  30. package/dist/{chunk-IRQLDOQ4.mjs → chunk-LUOO6CWS.mjs} +5 -5
  31. package/dist/{chunk-APYISY5K.mjs → chunk-MDXL65W4.mjs} +2 -2
  32. package/dist/{chunk-WYWVVKLK.mjs → chunk-N3HWNPPY.mjs} +2 -2
  33. package/dist/{chunk-IUIZ3POO.mjs → chunk-NAS4IH4Z.mjs} +3 -3
  34. package/dist/{chunk-DQL4ZCMV.mjs → chunk-OCROEN2T.mjs} +6 -6
  35. package/dist/{chunk-4YVNC3I3.mjs → chunk-OHXXYXUW.mjs} +3 -3
  36. package/dist/{chunk-U53FLD4J.mjs → chunk-OKPGJD64.mjs} +2 -2
  37. package/dist/{chunk-XI33LBCC.mjs → chunk-OW7H62JJ.mjs} +4 -4
  38. package/dist/{chunk-JEUGYAE4.mjs → chunk-PMMDI5DF.mjs} +4 -4
  39. package/dist/{chunk-YEMK2M2J.mjs → chunk-PXJPCQZC.mjs} +2 -2
  40. package/dist/{chunk-FP2QESXV.mjs → chunk-QR3XE5FO.mjs} +3 -3
  41. package/dist/{chunk-LE7F7675.mjs → chunk-RY2QL4CR.mjs} +2 -2
  42. package/dist/chunk-RY2QL4CR.mjs.map +1 -0
  43. package/dist/{chunk-O5BFND5E.mjs → chunk-SK7HYEDJ.mjs} +2 -2
  44. package/dist/{chunk-LE6YY6FV.mjs → chunk-UCN44YYB.mjs} +3 -3
  45. package/dist/{chunk-FWRENESU.mjs → chunk-UK3PBM5X.mjs} +4 -4
  46. package/dist/{chunk-3URSQSW4.mjs → chunk-UMW6A7IL.mjs} +4 -4
  47. package/dist/{chunk-MVCWMNB5.mjs → chunk-UOQFXHJL.mjs} +2 -2
  48. package/dist/{chunk-CHA7WYOG.mjs → chunk-USQVE5EJ.mjs} +7 -6
  49. package/dist/chunk-USQVE5EJ.mjs.map +1 -0
  50. package/dist/{chunk-OL3UCNK5.mjs → chunk-VFMEA3D5.mjs} +9 -9
  51. package/dist/{chunk-WQKXDPCQ.mjs → chunk-VMJWZRJD.mjs} +4 -4
  52. package/dist/{chunk-MMSUSXHO.mjs → chunk-VWFTUMVB.mjs} +13 -13
  53. package/dist/{chunk-CAHTK3AT.mjs → chunk-WSBULPUZ.mjs} +2 -2
  54. package/dist/{chunk-P6XK6L46.mjs → chunk-YMKNXGCI.mjs} +2 -2
  55. package/dist/data/Condition.mjs +7 -7
  56. package/dist/data/Database.mjs +7 -7
  57. package/dist/data/Field.mjs +8 -8
  58. package/dist/data/InMemoryGateway.mjs +16 -16
  59. package/dist/domain/Audit.mjs +20 -20
  60. package/dist/domain/Child.mjs +17 -17
  61. package/dist/domain/DateTime.mjs +16 -16
  62. package/dist/domain/Entity.mjs +20 -20
  63. package/dist/domain/Repo.mjs +18 -18
  64. package/dist/domain/Struct.mjs +16 -16
  65. package/dist/domain/Typo.mjs +15 -15
  66. package/dist/http/CacheControl.mjs +16 -16
  67. package/dist/http/ContentType.mjs +7 -7
  68. package/dist/http/HttpStatus.mjs +7 -7
  69. package/dist/http/HttpVerb.mjs +7 -7
  70. package/dist/http/LocalRequestStore.mjs +6 -6
  71. package/dist/http/RequestOptions.mjs +10 -10
  72. package/dist/http/RestResult.mjs +16 -16
  73. package/dist/http/toResponse.mjs +17 -17
  74. package/dist/index.js +5 -2
  75. package/dist/index.js.map +1 -1
  76. package/dist/process/App.mjs +8 -8
  77. package/dist/process/Manage.mjs +16 -16
  78. package/dist/process/Scope.mjs +8 -8
  79. package/dist/process/Search.mjs +16 -16
  80. package/dist/process/UseCase.mjs +7 -7
  81. package/dist/resources/Req.mjs +15 -15
  82. package/dist/security/Jwt.mjs +2 -2
  83. package/dist/services/Api.mjs +24 -24
  84. package/dist/services/ApiGateway.mjs +27 -27
  85. package/dist/services/AxiosProvider.mjs +22 -22
  86. package/dist/services/MappedRouteGateway.mjs +32 -32
  87. package/dist/services/RouteGateway.mjs +28 -28
  88. package/dist/services/ViewRouteGateway.mjs +31 -31
  89. package/dist/sql/Clause.mjs +3 -3
  90. package/dist/sql/Column.mjs +18 -18
  91. package/dist/sql/Count.mjs +6 -6
  92. package/dist/sql/Delete.mjs +5 -5
  93. package/dist/sql/Insert.mjs +7 -7
  94. package/dist/sql/Select.mjs +5 -5
  95. package/dist/sql/SqlQuery.mjs +4 -4
  96. package/dist/sql/Table.mjs +27 -27
  97. package/dist/sql/TableGateway.mjs +16 -16
  98. package/dist/sql/Update.mjs +7 -7
  99. package/dist/types/Builder.mjs +1 -1
  100. package/dist/types/Cache.mjs +5 -5
  101. package/dist/types/CacheAge.mjs +16 -16
  102. package/dist/types/Case.mjs +14 -14
  103. package/dist/types/Context.mjs +6 -6
  104. package/dist/types/Enum.mjs +6 -6
  105. package/dist/types/Environment.mjs +6 -6
  106. package/dist/types/Exception.mjs +8 -8
  107. package/dist/types/Gateway.mjs +10 -10
  108. package/dist/types/IsEqual.mjs +15 -15
  109. package/dist/types/Json.mjs +5 -5
  110. package/dist/types/List.mjs +3 -3
  111. package/dist/types/Meta.mjs +5 -5
  112. package/dist/types/Number.mjs +15 -15
  113. package/dist/types/Object.d.ts +1 -1
  114. package/dist/types/Object.mjs +4 -4
  115. package/dist/types/PageList.mjs +15 -15
  116. package/dist/types/Parser.mjs +14 -14
  117. package/dist/types/Repository.mjs +10 -10
  118. package/dist/types/Result.mjs +7 -7
  119. package/dist/types/Results.mjs +8 -8
  120. package/dist/types/Tag.mjs +5 -5
  121. package/dist/types/Template.mjs +5 -5
  122. package/dist/types/Text.d.ts +1 -0
  123. package/dist/types/Text.mjs +3 -1
  124. package/dist/types/Try.mjs +14 -14
  125. package/dist/types/Uri.mjs +14 -14
  126. package/dist/types/Value.mjs +2 -2
  127. package/dist/utils/Convert.mjs +2 -2
  128. package/dist/utils/Mapper.mjs +9 -9
  129. package/dist/utils/Promise.mjs +4 -4
  130. package/dist/utils/Property.mjs +3 -3
  131. package/dist/utils/Seconds.mjs +4 -4
  132. package/dist/utils/Sentence.mjs +5 -5
  133. package/dist/utils/View.mjs +18 -18
  134. package/dist/validation/Contraints.mjs +15 -15
  135. package/dist/validation/Validate.mjs +14 -14
  136. package/dist/validation/When.mjs +14 -14
  137. package/package.json +2 -2
  138. package/src/types/Object.ts +1 -1
  139. package/src/types/Template.ts +3 -3
  140. package/src/types/Text.ts +2 -0
  141. package/dist/chunk-CHA7WYOG.mjs.map +0 -1
  142. package/dist/chunk-LE7F7675.mjs.map +0 -1
  143. /package/dist/{chunk-2B2LWE7H.mjs.map → chunk-2AO3V6WW.mjs.map} +0 -0
  144. /package/dist/{chunk-CGLAXRYO.mjs.map → chunk-34OJDBCM.mjs.map} +0 -0
  145. /package/dist/{chunk-CVHT2WVR.mjs.map → chunk-4PJ2YGDL.mjs.map} +0 -0
  146. /package/dist/{chunk-SRA54XNC.mjs.map → chunk-4ZIP6ODE.mjs.map} +0 -0
  147. /package/dist/{chunk-3KAS2OUD.mjs.map → chunk-5JPW7D3L.mjs.map} +0 -0
  148. /package/dist/{chunk-H7UCFICA.mjs.map → chunk-5ZL5TS4S.mjs.map} +0 -0
  149. /package/dist/{chunk-5OCTJM4I.mjs.map → chunk-63CWUA3Z.mjs.map} +0 -0
  150. /package/dist/{chunk-I6PVEVIW.mjs.map → chunk-CNPPJ6AA.mjs.map} +0 -0
  151. /package/dist/{chunk-PNOYRJOG.mjs.map → chunk-CPGCLR5V.mjs.map} +0 -0
  152. /package/dist/{chunk-S2EO2NE3.mjs.map → chunk-D2FWNOU3.mjs.map} +0 -0
  153. /package/dist/{chunk-XZFA5UKO.mjs.map → chunk-D4INMQV7.mjs.map} +0 -0
  154. /package/dist/{chunk-OYFQAAB3.mjs.map → chunk-DCAEU37B.mjs.map} +0 -0
  155. /package/dist/{chunk-X53NA4T2.mjs.map → chunk-ED7EYL67.mjs.map} +0 -0
  156. /package/dist/{chunk-DP5REKS4.mjs.map → chunk-EIBSI47I.mjs.map} +0 -0
  157. /package/dist/{chunk-7TODJ5AB.mjs.map → chunk-FYIVQ7EQ.mjs.map} +0 -0
  158. /package/dist/{chunk-QQRGOHU6.mjs.map → chunk-GCY5A63A.mjs.map} +0 -0
  159. /package/dist/{chunk-CSSGUE74.mjs.map → chunk-GE2SHIYQ.mjs.map} +0 -0
  160. /package/dist/{chunk-IRVESJ6R.mjs.map → chunk-HGIUERWI.mjs.map} +0 -0
  161. /package/dist/{chunk-S5GFPPII.mjs.map → chunk-HSZSYIZY.mjs.map} +0 -0
  162. /package/dist/{chunk-FX7PAZNL.mjs.map → chunk-IN3EXOVF.mjs.map} +0 -0
  163. /package/dist/{chunk-Q7XCVZG6.mjs.map → chunk-JBAK7QN6.mjs.map} +0 -0
  164. /package/dist/{chunk-XYF7VWHS.mjs.map → chunk-JXW7Q5GU.mjs.map} +0 -0
  165. /package/dist/{chunk-AQKM3DLK.mjs.map → chunk-JXYAPQEA.mjs.map} +0 -0
  166. /package/dist/{chunk-7QIDN7WJ.mjs.map → chunk-KN67DLGL.mjs.map} +0 -0
  167. /package/dist/{chunk-UBYEWFQE.mjs.map → chunk-LHDFC27L.mjs.map} +0 -0
  168. /package/dist/{chunk-BPI7S6FS.mjs.map → chunk-LS4SIQKT.mjs.map} +0 -0
  169. /package/dist/{chunk-5F3WZOEV.mjs.map → chunk-LULK6CKF.mjs.map} +0 -0
  170. /package/dist/{chunk-IRQLDOQ4.mjs.map → chunk-LUOO6CWS.mjs.map} +0 -0
  171. /package/dist/{chunk-APYISY5K.mjs.map → chunk-MDXL65W4.mjs.map} +0 -0
  172. /package/dist/{chunk-WYWVVKLK.mjs.map → chunk-N3HWNPPY.mjs.map} +0 -0
  173. /package/dist/{chunk-IUIZ3POO.mjs.map → chunk-NAS4IH4Z.mjs.map} +0 -0
  174. /package/dist/{chunk-DQL4ZCMV.mjs.map → chunk-OCROEN2T.mjs.map} +0 -0
  175. /package/dist/{chunk-4YVNC3I3.mjs.map → chunk-OHXXYXUW.mjs.map} +0 -0
  176. /package/dist/{chunk-U53FLD4J.mjs.map → chunk-OKPGJD64.mjs.map} +0 -0
  177. /package/dist/{chunk-XI33LBCC.mjs.map → chunk-OW7H62JJ.mjs.map} +0 -0
  178. /package/dist/{chunk-JEUGYAE4.mjs.map → chunk-PMMDI5DF.mjs.map} +0 -0
  179. /package/dist/{chunk-YEMK2M2J.mjs.map → chunk-PXJPCQZC.mjs.map} +0 -0
  180. /package/dist/{chunk-FP2QESXV.mjs.map → chunk-QR3XE5FO.mjs.map} +0 -0
  181. /package/dist/{chunk-O5BFND5E.mjs.map → chunk-SK7HYEDJ.mjs.map} +0 -0
  182. /package/dist/{chunk-LE6YY6FV.mjs.map → chunk-UCN44YYB.mjs.map} +0 -0
  183. /package/dist/{chunk-FWRENESU.mjs.map → chunk-UK3PBM5X.mjs.map} +0 -0
  184. /package/dist/{chunk-3URSQSW4.mjs.map → chunk-UMW6A7IL.mjs.map} +0 -0
  185. /package/dist/{chunk-MVCWMNB5.mjs.map → chunk-UOQFXHJL.mjs.map} +0 -0
  186. /package/dist/{chunk-OL3UCNK5.mjs.map → chunk-VFMEA3D5.mjs.map} +0 -0
  187. /package/dist/{chunk-WQKXDPCQ.mjs.map → chunk-VMJWZRJD.mjs.map} +0 -0
  188. /package/dist/{chunk-MMSUSXHO.mjs.map → chunk-VWFTUMVB.mjs.map} +0 -0
  189. /package/dist/{chunk-CAHTK3AT.mjs.map → chunk-WSBULPUZ.mjs.map} +0 -0
  190. /package/dist/{chunk-P6XK6L46.mjs.map → chunk-YMKNXGCI.mjs.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  rest
3
- } from "./chunk-XYF7VWHS.mjs";
3
+ } from "./chunk-JXW7Q5GU.mjs";
4
4
  import {
5
5
  toHttpStatus
6
- } from "./chunk-MVCWMNB5.mjs";
6
+ } from "./chunk-UOQFXHJL.mjs";
7
7
 
8
8
  // src/http/toResponse.ts
9
9
  function toResponse(status, body, headers) {
@@ -17,4 +17,4 @@ function toResponse(status, body, headers) {
17
17
  export {
18
18
  toResponse
19
19
  };
20
- //# sourceMappingURL=chunk-2B2LWE7H.mjs.map
20
+ //# sourceMappingURL=chunk-2AO3V6WW.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SqlQuery
3
- } from "./chunk-IRVESJ6R.mjs";
3
+ } from "./chunk-HGIUERWI.mjs";
4
4
  import {
5
5
  toList
6
- } from "./chunk-5F3WZOEV.mjs";
6
+ } from "./chunk-LULK6CKF.mjs";
7
7
  import {
8
8
  ifGet
9
9
  } from "./chunk-SJGQU3OG.mjs";
@@ -51,4 +51,4 @@ var Select = class extends SqlQuery {
51
51
  export {
52
52
  Select
53
53
  };
54
- //# sourceMappingURL=chunk-CGLAXRYO.mjs.map
54
+ //# sourceMappingURL=chunk-34OJDBCM.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Select
3
- } from "./chunk-CGLAXRYO.mjs";
3
+ } from "./chunk-34OJDBCM.mjs";
4
4
  import {
5
5
  ifGet
6
6
  } from "./chunk-SJGQU3OG.mjs";
@@ -15,4 +15,4 @@ var Count = class extends Select {
15
15
  export {
16
16
  Count
17
17
  };
18
- //# sourceMappingURL=chunk-CVHT2WVR.mjs.map
18
+ //# sourceMappingURL=chunk-4PJ2YGDL.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toList
3
- } from "./chunk-5F3WZOEV.mjs";
3
+ } from "./chunk-LULK6CKF.mjs";
4
4
  import {
5
5
  ifTrue
6
6
  } from "./chunk-JSON7A4X.mjs";
@@ -23,4 +23,4 @@ var seconds = {
23
23
  export {
24
24
  seconds
25
25
  };
26
- //# sourceMappingURL=chunk-SRA54XNC.mjs.map
26
+ //# sourceMappingURL=chunk-4ZIP6ODE.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  tryTo
3
- } from "./chunk-MMSUSXHO.mjs";
3
+ } from "./chunk-VWFTUMVB.mjs";
4
4
  import {
5
5
  asString
6
- } from "./chunk-45GNHDKA.mjs";
6
+ } from "./chunk-BDA5LB4S.mjs";
7
7
  import {
8
8
  ofGet
9
9
  } from "./chunk-SJGQU3OG.mjs";
@@ -17,4 +17,4 @@ var asNumber = (n, alt) => tryTo(() => asString(n)).map((s) => parseInt(s)).filt
17
17
  export {
18
18
  asNumber
19
19
  };
20
- //# sourceMappingURL=chunk-3KAS2OUD.mjs.map
20
+ //# sourceMappingURL=chunk-5JPW7D3L.mjs.map
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-WJZFE5NE.mjs";
4
4
  import {
5
5
  Property
6
- } from "./chunk-QQRGOHU6.mjs";
6
+ } from "./chunk-GCY5A63A.mjs";
7
7
  import {
8
8
  json
9
- } from "./chunk-WYWVVKLK.mjs";
9
+ } from "./chunk-N3HWNPPY.mjs";
10
10
  import {
11
11
  meta
12
- } from "./chunk-OYFQAAB3.mjs";
12
+ } from "./chunk-DCAEU37B.mjs";
13
13
  import {
14
14
  toList
15
- } from "./chunk-5F3WZOEV.mjs";
15
+ } from "./chunk-LULK6CKF.mjs";
16
16
  import {
17
17
  ifNotEmpty
18
18
  } from "./chunk-JSON7A4X.mjs";
@@ -133,4 +133,4 @@ export {
133
133
  Mapper,
134
134
  mappings
135
135
  };
136
- //# sourceMappingURL=chunk-H7UCFICA.mjs.map
136
+ //# sourceMappingURL=chunk-5ZL5TS4S.mjs.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  toPageList
3
- } from "./chunk-XZFA5UKO.mjs";
3
+ } from "./chunk-D4INMQV7.mjs";
4
4
  import {
5
5
  choose
6
- } from "./chunk-MMSUSXHO.mjs";
6
+ } from "./chunk-VWFTUMVB.mjs";
7
7
  import {
8
8
  resolve
9
- } from "./chunk-LE6YY6FV.mjs";
9
+ } from "./chunk-UCN44YYB.mjs";
10
10
 
11
11
  // src/process/Search.ts
12
12
  var Search = class {
@@ -45,4 +45,4 @@ var Search = class {
45
45
  export {
46
46
  Search
47
47
  };
48
- //# sourceMappingURL=chunk-5OCTJM4I.mjs.map
48
+ //# sourceMappingURL=chunk-63CWUA3Z.mjs.map
@@ -16,12 +16,14 @@ var toWords = (input) => {
16
16
  return asString(input).replace(/(\p{Lower})(\p{Upper})/gu, "$1 $2").replace(/(\p{Upper})(\p{Upper}\p{Lower})/gu, "$1 $2").split(/[_\W]+/g).filter(Boolean);
17
17
  };
18
18
  var kebab = (s = "") => toWords(s).join("-").toLowerCase();
19
+ var capitalize = (s = "") => s.charAt(0).toUpperCase() + s.slice(1);
19
20
 
20
21
  export {
21
22
  isText,
22
23
  asString,
23
24
  replaceAll,
24
25
  toWords,
25
- kebab
26
+ kebab,
27
+ capitalize
26
28
  };
27
- //# sourceMappingURL=chunk-45GNHDKA.mjs.map
29
+ //# sourceMappingURL=chunk-BDA5LB4S.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/types/Text.ts"],"sourcesContent":["import { isDefined } from './Is';\nimport { isFunc } from './Func';\nimport { Get, ofGet } from './Get';\n\nexport type Text = { toString(): string };\n\nexport const isText = (t?: unknown): t is Text => isDefined(t) && isFunc<string, any>((t as any).toString);\n\nexport const asString = (t?: unknown, alt: Get<Text> = ''): string => (isText(t) ? t : ofGet(alt)).toString();\n\nexport const replaceAll = (origin: Text, search: Text, replace: Text = ''): string => asString(origin).split(asString(search)).join(asString(replace));\n\nexport const toWords = (input: unknown): string[] => {\n return asString(input)\n .replace(/(\\p{Lower})(\\p{Upper})/gu, '$1 $2')\n .replace(/(\\p{Upper})(\\p{Upper}\\p{Lower})/gu, '$1 $2')\n .split(/[_\\W]+/g)\n .filter(Boolean);\n};\n\nexport const kebab = (s = ''): string => toWords(s).join('-').toLowerCase();\n"],"mappings":";;;;;;;;;;;AAMO,IAAM,SAAS,CAAC,MAA2B,UAAU,CAAC,KAAK,OAAqB,EAAU,QAAQ;AAElG,IAAM,WAAW,CAAC,GAAa,MAAiB,QAAgB,OAAO,CAAC,IAAI,IAAI,MAAM,GAAG,GAAG,SAAS;AAErG,IAAM,aAAa,CAAC,QAAc,QAAc,UAAgB,OAAe,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,EAAE,KAAK,SAAS,OAAO,CAAC;AAE9I,IAAM,UAAU,CAAC,UAA6B;AACnD,SAAO,SAAS,KAAK,EAClB,QAAQ,4BAA4B,OAAO,EAC3C,QAAQ,qCAAqC,OAAO,EACpD,MAAM,SAAS,EACf,OAAO,OAAO;AACnB;AAEO,IAAM,QAAQ,CAAC,IAAI,OAAe,QAAQ,CAAC,EAAE,KAAK,GAAG,EAAE,YAAY;","names":[]}
1
+ {"version":3,"sources":["../src/types/Text.ts"],"sourcesContent":["import { isDefined } from './Is';\nimport { isFunc } from './Func';\nimport { Get, ofGet } from './Get';\n\nexport type Text = { toString(): string };\n\nexport const isText = (t?: unknown): t is Text => isDefined(t) && isFunc<string, any>((t as any).toString);\n\nexport const asString = (t?: unknown, alt: Get<Text> = ''): string => (isText(t) ? t : ofGet(alt)).toString();\n\nexport const replaceAll = (origin: Text, search: Text, replace: Text = ''): string => asString(origin).split(asString(search)).join(asString(replace));\n\nexport const toWords = (input: unknown): string[] => {\n return asString(input)\n .replace(/(\\p{Lower})(\\p{Upper})/gu, '$1 $2')\n .replace(/(\\p{Upper})(\\p{Upper}\\p{Lower})/gu, '$1 $2')\n .split(/[_\\W]+/g)\n .filter(Boolean);\n};\n\nexport const kebab = (s = ''): string => toWords(s).join('-').toLowerCase();\n\nexport const capitalize = (s = ''): string => s.charAt(0).toUpperCase() + s.slice(1);\n"],"mappings":";;;;;;;;;;;AAMO,IAAM,SAAS,CAAC,MAA2B,UAAU,CAAC,KAAK,OAAqB,EAAU,QAAQ;AAElG,IAAM,WAAW,CAAC,GAAa,MAAiB,QAAgB,OAAO,CAAC,IAAI,IAAI,MAAM,GAAG,GAAG,SAAS;AAErG,IAAM,aAAa,CAAC,QAAc,QAAc,UAAgB,OAAe,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,EAAE,KAAK,SAAS,OAAO,CAAC;AAE9I,IAAM,UAAU,CAAC,UAA6B;AACnD,SAAO,SAAS,KAAK,EAClB,QAAQ,4BAA4B,OAAO,EAC3C,QAAQ,qCAAqC,OAAO,EACpD,MAAM,SAAS,EACf,OAAO,OAAO;AACnB;AAEO,IAAM,QAAQ,CAAC,IAAI,OAAe,QAAQ,CAAC,EAAE,KAAK,GAAG,EAAE,YAAY;AAEnE,IAAM,aAAa,CAAC,IAAI,OAAe,EAAE,OAAO,CAAC,EAAE,YAAY,IAAI,EAAE,MAAM,CAAC;","names":[]}
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  json
3
- } from "./chunk-WYWVVKLK.mjs";
3
+ } from "./chunk-N3HWNPPY.mjs";
4
4
  import {
5
5
  validate
6
- } from "./chunk-MMSUSXHO.mjs";
6
+ } from "./chunk-VWFTUMVB.mjs";
7
7
  import {
8
8
  isDefined
9
9
  } from "./chunk-DEJ7A5PY.mjs";
@@ -37,4 +37,4 @@ export {
37
37
  Struct,
38
38
  isStruct
39
39
  };
40
- //# sourceMappingURL=chunk-I6PVEVIW.mjs.map
40
+ //# sourceMappingURL=chunk-CNPPJ6AA.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SqlQuery
3
- } from "./chunk-IRVESJ6R.mjs";
3
+ } from "./chunk-HGIUERWI.mjs";
4
4
  import {
5
5
  ifGet
6
6
  } from "./chunk-SJGQU3OG.mjs";
@@ -15,4 +15,4 @@ var Delete = class extends SqlQuery {
15
15
  export {
16
16
  Delete
17
17
  };
18
- //# sourceMappingURL=chunk-PNOYRJOG.mjs.map
18
+ //# sourceMappingURL=chunk-CPGCLR5V.mjs.map
@@ -1,9 +1,9 @@
1
- import {
2
- reject
3
- } from "./chunk-LE6YY6FV.mjs";
4
1
  import {
5
2
  Exception
6
- } from "./chunk-BPI7S6FS.mjs";
3
+ } from "./chunk-LS4SIQKT.mjs";
4
+ import {
5
+ reject
6
+ } from "./chunk-UCN44YYB.mjs";
7
7
 
8
8
  // src/types/Gateway.ts
9
9
  var Gateway = class {
@@ -42,4 +42,4 @@ var Gateway = class {
42
42
  export {
43
43
  Gateway
44
44
  };
45
- //# sourceMappingURL=chunk-S2EO2NE3.mjs.map
45
+ //# sourceMappingURL=chunk-D2FWNOU3.mjs.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  choose
3
- } from "./chunk-MMSUSXHO.mjs";
3
+ } from "./chunk-VWFTUMVB.mjs";
4
4
  import {
5
5
  List,
6
6
  isList
7
- } from "./chunk-5F3WZOEV.mjs";
7
+ } from "./chunk-LULK6CKF.mjs";
8
8
  import {
9
9
  isA
10
10
  } from "./chunk-ZHXKBOK2.mjs";
@@ -166,4 +166,4 @@ export {
166
166
  toPageList,
167
167
  asPageList
168
168
  };
169
- //# sourceMappingURL=chunk-XZFA5UKO.mjs.map
169
+ //# sourceMappingURL=chunk-D4INMQV7.mjs.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  entries,
3
3
  values
4
- } from "./chunk-LE7F7675.mjs";
4
+ } from "./chunk-RY2QL4CR.mjs";
5
5
  import {
6
6
  toList
7
- } from "./chunk-5F3WZOEV.mjs";
7
+ } from "./chunk-LULK6CKF.mjs";
8
8
  import {
9
9
  on,
10
10
  use
@@ -55,4 +55,4 @@ var meta = (subject) => new ClassMeta(subject ?? {});
55
55
  export {
56
56
  meta
57
57
  };
58
- //# sourceMappingURL=chunk-OYFQAAB3.mjs.map
58
+ //# sourceMappingURL=chunk-DCAEU37B.mjs.map
@@ -1,23 +1,23 @@
1
+ import {
2
+ isEqual
3
+ } from "./chunk-SK7HYEDJ.mjs";
1
4
  import {
2
5
  traverse
3
6
  } from "./chunk-SSROJBD5.mjs";
4
- import {
5
- isEqual
6
- } from "./chunk-O5BFND5E.mjs";
7
7
  import {
8
8
  isPageList,
9
9
  toPageList
10
- } from "./chunk-XZFA5UKO.mjs";
10
+ } from "./chunk-D4INMQV7.mjs";
11
11
  import {
12
12
  asJson,
13
13
  json
14
- } from "./chunk-WYWVVKLK.mjs";
14
+ } from "./chunk-N3HWNPPY.mjs";
15
15
  import {
16
16
  choose
17
- } from "./chunk-MMSUSXHO.mjs";
17
+ } from "./chunk-VWFTUMVB.mjs";
18
18
  import {
19
19
  meta
20
- } from "./chunk-OYFQAAB3.mjs";
20
+ } from "./chunk-DCAEU37B.mjs";
21
21
  import {
22
22
  ifDefined
23
23
  } from "./chunk-JSON7A4X.mjs";
@@ -88,4 +88,4 @@ export {
88
88
  view,
89
89
  views
90
90
  };
91
- //# sourceMappingURL=chunk-X53NA4T2.mjs.map
91
+ //# sourceMappingURL=chunk-ED7EYL67.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ctx
3
- } from "./chunk-FX7PAZNL.mjs";
3
+ } from "./chunk-IN3EXOVF.mjs";
4
4
  import {
5
5
  isA
6
6
  } from "./chunk-ZHXKBOK2.mjs";
@@ -17,4 +17,4 @@ export {
17
17
  toResult,
18
18
  isResult
19
19
  };
20
- //# sourceMappingURL=chunk-DP5REKS4.mjs.map
20
+ //# sourceMappingURL=chunk-EIBSI47I.mjs.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Api
3
- } from "./chunk-WQKXDPCQ.mjs";
3
+ } from "./chunk-VMJWZRJD.mjs";
4
4
  import {
5
5
  Gateway
6
- } from "./chunk-S2EO2NE3.mjs";
6
+ } from "./chunk-D2FWNOU3.mjs";
7
7
  import {
8
8
  toPageList
9
- } from "./chunk-XZFA5UKO.mjs";
9
+ } from "./chunk-D4INMQV7.mjs";
10
10
  import {
11
11
  use
12
12
  } from "./chunk-ZPNFXK7Y.mjs";
@@ -43,4 +43,4 @@ var ApiGateway = class extends Gateway {
43
43
  export {
44
44
  ApiGateway
45
45
  };
46
- //# sourceMappingURL=chunk-7TODJ5AB.mjs.map
46
+ //# sourceMappingURL=chunk-FYIVQ7EQ.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  convert
3
- } from "./chunk-APYISY5K.mjs";
3
+ } from "./chunk-MDXL65W4.mjs";
4
4
  import {
5
5
  ofGet
6
6
  } from "./chunk-SJGQU3OG.mjs";
@@ -22,4 +22,4 @@ var Property = class {
22
22
  export {
23
23
  Property
24
24
  };
25
- //# sourceMappingURL=chunk-QQRGOHU6.mjs.map
25
+ //# sourceMappingURL=chunk-GCY5A63A.mjs.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  text
3
- } from "./chunk-CHA7WYOG.mjs";
3
+ } from "./chunk-USQVE5EJ.mjs";
4
4
  import {
5
5
  Enum
6
- } from "./chunk-FP2QESXV.mjs";
6
+ } from "./chunk-QR3XE5FO.mjs";
7
7
  import {
8
8
  toList
9
- } from "./chunk-5F3WZOEV.mjs";
9
+ } from "./chunk-LULK6CKF.mjs";
10
10
  import {
11
11
  kebab
12
- } from "./chunk-45GNHDKA.mjs";
12
+ } from "./chunk-BDA5LB4S.mjs";
13
13
  import {
14
14
  isString
15
15
  } from "./chunk-DEJ7A5PY.mjs";
@@ -36,4 +36,4 @@ var Scope = class _Scope extends Enum {
36
36
  export {
37
37
  Scope
38
38
  };
39
- //# sourceMappingURL=chunk-CSSGUE74.mjs.map
39
+ //# sourceMappingURL=chunk-GE2SHIYQ.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toList
3
- } from "./chunk-5F3WZOEV.mjs";
3
+ } from "./chunk-LULK6CKF.mjs";
4
4
 
5
5
  // src/sql/SqlQuery.ts
6
6
  var SqlQuery = class {
@@ -17,4 +17,4 @@ var SqlQuery = class {
17
17
  export {
18
18
  SqlQuery
19
19
  };
20
- //# sourceMappingURL=chunk-IRVESJ6R.mjs.map
20
+ //# sourceMappingURL=chunk-HGIUERWI.mjs.map
@@ -1,9 +1,9 @@
1
- import {
2
- reject
3
- } from "./chunk-LE6YY6FV.mjs";
4
1
  import {
5
2
  Exception
6
- } from "./chunk-BPI7S6FS.mjs";
3
+ } from "./chunk-LS4SIQKT.mjs";
4
+ import {
5
+ reject
6
+ } from "./chunk-UCN44YYB.mjs";
7
7
 
8
8
  // src/types/Repository.ts
9
9
  var Repository = class {
@@ -48,4 +48,4 @@ var Repository = class {
48
48
  export {
49
49
  Repository
50
50
  };
51
- //# sourceMappingURL=chunk-S5GFPPII.mjs.map
51
+ //# sourceMappingURL=chunk-HSZSYIZY.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  text
3
- } from "./chunk-CHA7WYOG.mjs";
3
+ } from "./chunk-USQVE5EJ.mjs";
4
4
 
5
5
  // src/types/Context.ts
6
6
  var DotEnvContext = class {
@@ -91,4 +91,4 @@ export {
91
91
  Context,
92
92
  ctx
93
93
  };
94
- //# sourceMappingURL=chunk-FX7PAZNL.mjs.map
94
+ //# sourceMappingURL=chunk-IN3EXOVF.mjs.map
@@ -6,16 +6,16 @@ import {
6
6
  } from "./chunk-LXQQ5N6S.mjs";
7
7
  import {
8
8
  ContentType
9
- } from "./chunk-4YVNC3I3.mjs";
9
+ } from "./chunk-OHXXYXUW.mjs";
10
10
  import {
11
11
  ctx
12
- } from "./chunk-FX7PAZNL.mjs";
12
+ } from "./chunk-IN3EXOVF.mjs";
13
13
  import {
14
14
  Enum
15
- } from "./chunk-FP2QESXV.mjs";
15
+ } from "./chunk-QR3XE5FO.mjs";
16
16
  import {
17
17
  asString
18
- } from "./chunk-45GNHDKA.mjs";
18
+ } from "./chunk-BDA5LB4S.mjs";
19
19
  import {
20
20
  on
21
21
  } from "./chunk-ZPNFXK7Y.mjs";
@@ -87,4 +87,4 @@ export {
87
87
  RequestOptions,
88
88
  isRequestOptions
89
89
  };
90
- //# sourceMappingURL=chunk-Q7XCVZG6.mjs.map
90
+ //# sourceMappingURL=chunk-JBAK7QN6.mjs.map
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  HttpStatus,
3
3
  isHttpStatus
4
- } from "./chunk-MVCWMNB5.mjs";
4
+ } from "./chunk-UOQFXHJL.mjs";
5
5
  import {
6
6
  isResponse
7
7
  } from "./chunk-UYDZZAEK.mjs";
8
8
  import {
9
9
  choose
10
- } from "./chunk-MMSUSXHO.mjs";
10
+ } from "./chunk-VWFTUMVB.mjs";
11
11
  import {
12
12
  isResults
13
- } from "./chunk-7QIDN7WJ.mjs";
13
+ } from "./chunk-KN67DLGL.mjs";
14
14
  import {
15
15
  isResult,
16
16
  toResult
17
- } from "./chunk-DP5REKS4.mjs";
17
+ } from "./chunk-EIBSI47I.mjs";
18
18
  import {
19
19
  toList
20
- } from "./chunk-5F3WZOEV.mjs";
20
+ } from "./chunk-LULK6CKF.mjs";
21
21
  import {
22
22
  isDefined,
23
23
  isError
@@ -52,4 +52,4 @@ export {
52
52
  rest,
53
53
  isRestResult
54
54
  };
55
- //# sourceMappingURL=chunk-XYF7VWHS.mjs.map
55
+ //# sourceMappingURL=chunk-JXW7Q5GU.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SqlQuery
3
- } from "./chunk-IRVESJ6R.mjs";
3
+ } from "./chunk-HGIUERWI.mjs";
4
4
  import {
5
5
  quote
6
- } from "./chunk-U53FLD4J.mjs";
6
+ } from "./chunk-OKPGJD64.mjs";
7
7
 
8
8
  // src/sql/Insert.ts
9
9
  var Insert = class extends SqlQuery {
@@ -20,4 +20,4 @@ var Insert = class extends SqlQuery {
20
20
  export {
21
21
  Insert
22
22
  };
23
- //# sourceMappingURL=chunk-AQKM3DLK.mjs.map
23
+ //# sourceMappingURL=chunk-JXYAPQEA.mjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isResult,
3
3
  toResult
4
- } from "./chunk-DP5REKS4.mjs";
4
+ } from "./chunk-EIBSI47I.mjs";
5
5
  import {
6
6
  toArray
7
7
  } from "./chunk-X7FZPY3P.mjs";
@@ -32,4 +32,4 @@ export {
32
32
  toResults,
33
33
  isResults
34
34
  };
35
- //# sourceMappingURL=chunk-7QIDN7WJ.mjs.map
35
+ //# sourceMappingURL=chunk-KN67DLGL.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  convert
3
- } from "./chunk-APYISY5K.mjs";
3
+ } from "./chunk-MDXL65W4.mjs";
4
4
  import {
5
5
  json
6
- } from "./chunk-WYWVVKLK.mjs";
6
+ } from "./chunk-N3HWNPPY.mjs";
7
7
  import {
8
8
  isDefined
9
9
  } from "./chunk-DEJ7A5PY.mjs";
@@ -50,4 +50,4 @@ export {
50
50
  toCondition,
51
51
  isSortCondition
52
52
  };
53
- //# sourceMappingURL=chunk-UBYEWFQE.mjs.map
53
+ //# sourceMappingURL=chunk-LHDFC27L.mjs.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  text
3
- } from "./chunk-CHA7WYOG.mjs";
3
+ } from "./chunk-USQVE5EJ.mjs";
4
4
  import {
5
5
  Enum
6
- } from "./chunk-FP2QESXV.mjs";
6
+ } from "./chunk-QR3XE5FO.mjs";
7
7
  import {
8
8
  asString
9
- } from "./chunk-45GNHDKA.mjs";
9
+ } from "./chunk-BDA5LB4S.mjs";
10
10
  import {
11
11
  isDefined
12
12
  } from "./chunk-DEJ7A5PY.mjs";
@@ -37,4 +37,4 @@ export {
37
37
  isException,
38
38
  isDoesNotExist
39
39
  };
40
- //# sourceMappingURL=chunk-BPI7S6FS.mjs.map
40
+ //# sourceMappingURL=chunk-LS4SIQKT.mjs.map
@@ -1,13 +1,13 @@
1
+ import {
2
+ toArray
3
+ } from "./chunk-X7FZPY3P.mjs";
1
4
  import {
2
5
  ifDefined,
3
6
  ifTrue
4
7
  } from "./chunk-JSON7A4X.mjs";
5
- import {
6
- toArray
7
- } from "./chunk-X7FZPY3P.mjs";
8
8
  import {
9
9
  asString
10
- } from "./chunk-45GNHDKA.mjs";
10
+ } from "./chunk-BDA5LB4S.mjs";
11
11
  import {
12
12
  ofGet,
13
13
  ofProperty
@@ -253,4 +253,4 @@ export {
253
253
  maxValue,
254
254
  minValue
255
255
  };
256
- //# sourceMappingURL=chunk-5F3WZOEV.mjs.map
256
+ //# sourceMappingURL=chunk-LULK6CKF.mjs.map
@@ -5,16 +5,16 @@ import {
5
5
  import {
6
6
  tryTo,
7
7
  validate
8
- } from "./chunk-MMSUSXHO.mjs";
8
+ } from "./chunk-VWFTUMVB.mjs";
9
9
  import {
10
10
  text
11
- } from "./chunk-CHA7WYOG.mjs";
11
+ } from "./chunk-USQVE5EJ.mjs";
12
12
  import {
13
13
  meta
14
- } from "./chunk-OYFQAAB3.mjs";
14
+ } from "./chunk-DCAEU37B.mjs";
15
15
  import {
16
16
  toList
17
- } from "./chunk-5F3WZOEV.mjs";
17
+ } from "./chunk-LULK6CKF.mjs";
18
18
  import {
19
19
  isBoolean,
20
20
  isDefined,
@@ -73,4 +73,4 @@ export {
73
73
  maxLength,
74
74
  rule
75
75
  };
76
- //# sourceMappingURL=chunk-IRQLDOQ4.mjs.map
76
+ //# sourceMappingURL=chunk-LUOO6CWS.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  asString
3
- } from "./chunk-45GNHDKA.mjs";
3
+ } from "./chunk-BDA5LB4S.mjs";
4
4
 
5
5
  // src/utils/Convert.ts
6
6
  var Convert = class {
@@ -46,4 +46,4 @@ export {
46
46
  Convert,
47
47
  convert
48
48
  };
49
- //# sourceMappingURL=chunk-APYISY5K.mjs.map
49
+ //# sourceMappingURL=chunk-MDXL65W4.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  entries
3
- } from "./chunk-LE7F7675.mjs";
3
+ } from "./chunk-RY2QL4CR.mjs";
4
4
  import {
5
5
  ifDefined
6
6
  } from "./chunk-JSON7A4X.mjs";
@@ -52,4 +52,4 @@ export {
52
52
  asJson,
53
53
  any
54
54
  };
55
- //# sourceMappingURL=chunk-WYWVVKLK.mjs.map
55
+ //# sourceMappingURL=chunk-N3HWNPPY.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SqlQuery
3
- } from "./chunk-IRVESJ6R.mjs";
3
+ } from "./chunk-HGIUERWI.mjs";
4
4
  import {
5
5
  toClause
6
- } from "./chunk-U53FLD4J.mjs";
6
+ } from "./chunk-OKPGJD64.mjs";
7
7
  import {
8
8
  ifGet
9
9
  } from "./chunk-SJGQU3OG.mjs";
@@ -23,4 +23,4 @@ var Update = class extends SqlQuery {
23
23
  export {
24
24
  Update
25
25
  };
26
- //# sourceMappingURL=chunk-IUIZ3POO.mjs.map
26
+ //# sourceMappingURL=chunk-NAS4IH4Z.mjs.map