@temboplus/frontend-core 0.2.22 → 0.3.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (424) hide show
  1. package/README.md +1 -1
  2. package/dist/constants/index.d.ts +1 -0
  3. package/dist/constants/payout-countries.d.ts +2 -0
  4. package/dist/index.cjs.js +8 -0
  5. package/dist/index.cjs.js.map +1 -0
  6. package/dist/index.d.ts +5 -0
  7. package/dist/index.esm.js +5 -0
  8. package/dist/index.esm.js.map +1 -0
  9. package/dist/models/amount/amount.d.ts +761 -0
  10. package/dist/models/amount/index.d.ts +1 -0
  11. package/dist/models/bank/bank.d.ts +193 -0
  12. package/dist/models/bank/bank.schema.d.ts +23 -0
  13. package/{esm/src/models/bank/types.d.ts → dist/models/bank/bank.types.d.ts} +4 -6
  14. package/dist/models/bank/bank.validation.d.ts +80 -0
  15. package/dist/models/bank/index.d.ts +4 -0
  16. package/{script/src → dist}/models/country/country.d.ts +37 -5
  17. package/dist/models/country/country.schema.d.ts +73 -0
  18. package/{script/src/models/country/types.d.ts → dist/models/country/country.types.d.ts} +0 -1
  19. package/{esm/src/models/country/utils.d.ts → dist/models/country/country.validation.d.ts} +10 -6
  20. package/dist/models/country/index.d.ts +4 -0
  21. package/{script/src → dist}/models/currency/currency.d.ts +28 -3
  22. package/dist/models/currency/currency.schema.d.ts +24 -0
  23. package/{esm/src/models/currency/types.d.ts → dist/models/currency/currency.types.d.ts} +1 -2
  24. package/dist/models/currency/currency.validation.d.ts +11 -0
  25. package/dist/models/currency/index.d.ts +4 -0
  26. package/{esm/src/models/index.js → dist/models/index.d.ts} +1 -1
  27. package/dist/models/phone-number/index.d.ts +6 -0
  28. package/dist/models/phone-number/mno/index.d.ts +6 -0
  29. package/dist/models/phone-number/mno/ke/mobile-number.ke-mnos.d.ts +22 -0
  30. package/dist/models/phone-number/mno/ke/mobile-number.ke.d.ts +45 -0
  31. package/dist/models/phone-number/mno/mno.types.d.ts +63 -0
  32. package/dist/models/phone-number/mno/mno.utils.d.ts +40 -0
  33. package/dist/models/phone-number/mno/tz/mobile-number.tz-mnos.d.ts +48 -0
  34. package/dist/models/phone-number/mno/tz/mobile-number.tz.d.ts +44 -0
  35. package/dist/models/phone-number/phone-number.d.ts +135 -0
  36. package/dist/models/phone-number/phone-number.factory.d.ts +52 -0
  37. package/dist/models/phone-number/phone-number.service.d.ts +36 -0
  38. package/dist/models/phone-number/phone-number.types.d.ts +115 -0
  39. package/dist/models/phone-number/phone-number.utils.d.ts +67 -0
  40. package/dist/reports/index.d.ts +1 -0
  41. package/{esm/src/reports/report_manager.d.ts → dist/reports/report-manager.d.ts} +33 -4
  42. package/{esm/src/config/config_service.d.ts → dist/services/config.d.ts} +6 -5
  43. package/dist/services/index.d.ts +2 -0
  44. package/dist/services/logger.d.ts +2 -0
  45. package/{script/src → dist}/utils/id.d.ts +7 -3
  46. package/dist/utils/text.d.ts +103 -0
  47. package/{script/src → dist}/utils/time.d.ts +9 -4
  48. package/package.json +47 -22
  49. package/LICENSE +0 -7
  50. package/esm/_dnt.test_shims.d.ts.map +0 -1
  51. package/esm/deps/deno.land/std@0.217.0/assert/_constants.d.ts.map +0 -1
  52. package/esm/deps/deno.land/std@0.217.0/assert/_diff.d.ts.map +0 -1
  53. package/esm/deps/deno.land/std@0.217.0/assert/_format.d.ts.map +0 -1
  54. package/esm/deps/deno.land/std@0.217.0/assert/assert.d.ts.map +0 -1
  55. package/esm/deps/deno.land/std@0.217.0/assert/assert_almost_equals.d.ts.map +0 -1
  56. package/esm/deps/deno.land/std@0.217.0/assert/assert_array_includes.d.ts.map +0 -1
  57. package/esm/deps/deno.land/std@0.217.0/assert/assert_equals.d.ts.map +0 -1
  58. package/esm/deps/deno.land/std@0.217.0/assert/assert_exists.d.ts.map +0 -1
  59. package/esm/deps/deno.land/std@0.217.0/assert/assert_false.d.ts.map +0 -1
  60. package/esm/deps/deno.land/std@0.217.0/assert/assert_greater.d.ts.map +0 -1
  61. package/esm/deps/deno.land/std@0.217.0/assert/assert_greater_or_equal.d.ts.map +0 -1
  62. package/esm/deps/deno.land/std@0.217.0/assert/assert_instance_of.d.ts.map +0 -1
  63. package/esm/deps/deno.land/std@0.217.0/assert/assert_is_error.d.ts.map +0 -1
  64. package/esm/deps/deno.land/std@0.217.0/assert/assert_less.d.ts.map +0 -1
  65. package/esm/deps/deno.land/std@0.217.0/assert/assert_less_or_equal.d.ts.map +0 -1
  66. package/esm/deps/deno.land/std@0.217.0/assert/assert_match.d.ts.map +0 -1
  67. package/esm/deps/deno.land/std@0.217.0/assert/assert_not_equals.d.ts.map +0 -1
  68. package/esm/deps/deno.land/std@0.217.0/assert/assert_not_instance_of.d.ts.map +0 -1
  69. package/esm/deps/deno.land/std@0.217.0/assert/assert_not_match.d.ts.map +0 -1
  70. package/esm/deps/deno.land/std@0.217.0/assert/assert_not_strict_equals.d.ts.map +0 -1
  71. package/esm/deps/deno.land/std@0.217.0/assert/assert_object_match.d.ts.map +0 -1
  72. package/esm/deps/deno.land/std@0.217.0/assert/assert_rejects.d.ts.map +0 -1
  73. package/esm/deps/deno.land/std@0.217.0/assert/assert_strict_equals.d.ts.map +0 -1
  74. package/esm/deps/deno.land/std@0.217.0/assert/assert_string_includes.d.ts.map +0 -1
  75. package/esm/deps/deno.land/std@0.217.0/assert/assert_throws.d.ts.map +0 -1
  76. package/esm/deps/deno.land/std@0.217.0/assert/assertion_error.d.ts.map +0 -1
  77. package/esm/deps/deno.land/std@0.217.0/assert/equal.d.ts.map +0 -1
  78. package/esm/deps/deno.land/std@0.217.0/assert/fail.d.ts.map +0 -1
  79. package/esm/deps/deno.land/std@0.217.0/assert/mod.d.ts.map +0 -1
  80. package/esm/deps/deno.land/std@0.217.0/assert/unimplemented.d.ts.map +0 -1
  81. package/esm/deps/deno.land/std@0.217.0/assert/unreachable.d.ts.map +0 -1
  82. package/esm/deps/deno.land/std@0.217.0/fmt/colors.d.ts.map +0 -1
  83. package/esm/deps/jsr.io/@std/assert/1.0.10/almost_equals.d.ts.map +0 -1
  84. package/esm/deps/jsr.io/@std/assert/1.0.10/array_includes.d.ts.map +0 -1
  85. package/esm/deps/jsr.io/@std/assert/1.0.10/assert.d.ts.map +0 -1
  86. package/esm/deps/jsr.io/@std/assert/1.0.10/assertion_error.d.ts.map +0 -1
  87. package/esm/deps/jsr.io/@std/assert/1.0.10/equal.d.ts.map +0 -1
  88. package/esm/deps/jsr.io/@std/assert/1.0.10/equals.d.ts.map +0 -1
  89. package/esm/deps/jsr.io/@std/assert/1.0.10/exists.d.ts.map +0 -1
  90. package/esm/deps/jsr.io/@std/assert/1.0.10/fail.d.ts.map +0 -1
  91. package/esm/deps/jsr.io/@std/assert/1.0.10/false.d.ts.map +0 -1
  92. package/esm/deps/jsr.io/@std/assert/1.0.10/greater.d.ts.map +0 -1
  93. package/esm/deps/jsr.io/@std/assert/1.0.10/greater_or_equal.d.ts.map +0 -1
  94. package/esm/deps/jsr.io/@std/assert/1.0.10/instance_of.d.ts.map +0 -1
  95. package/esm/deps/jsr.io/@std/assert/1.0.10/is_error.d.ts.map +0 -1
  96. package/esm/deps/jsr.io/@std/assert/1.0.10/less.d.ts.map +0 -1
  97. package/esm/deps/jsr.io/@std/assert/1.0.10/less_or_equal.d.ts.map +0 -1
  98. package/esm/deps/jsr.io/@std/assert/1.0.10/match.d.ts.map +0 -1
  99. package/esm/deps/jsr.io/@std/assert/1.0.10/mod.d.ts.map +0 -1
  100. package/esm/deps/jsr.io/@std/assert/1.0.10/not_equals.d.ts.map +0 -1
  101. package/esm/deps/jsr.io/@std/assert/1.0.10/not_instance_of.d.ts.map +0 -1
  102. package/esm/deps/jsr.io/@std/assert/1.0.10/not_match.d.ts.map +0 -1
  103. package/esm/deps/jsr.io/@std/assert/1.0.10/not_strict_equals.d.ts.map +0 -1
  104. package/esm/deps/jsr.io/@std/assert/1.0.10/object_match.d.ts.map +0 -1
  105. package/esm/deps/jsr.io/@std/assert/1.0.10/rejects.d.ts.map +0 -1
  106. package/esm/deps/jsr.io/@std/assert/1.0.10/strict_equals.d.ts.map +0 -1
  107. package/esm/deps/jsr.io/@std/assert/1.0.10/string_includes.d.ts.map +0 -1
  108. package/esm/deps/jsr.io/@std/assert/1.0.10/throws.d.ts.map +0 -1
  109. package/esm/deps/jsr.io/@std/assert/1.0.10/unimplemented.d.ts.map +0 -1
  110. package/esm/deps/jsr.io/@std/assert/1.0.10/unreachable.d.ts.map +0 -1
  111. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +0 -1
  112. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  113. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  114. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  115. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  116. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  117. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  118. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +0 -1
  119. package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +0 -1
  120. package/esm/mod.d.ts +0 -5
  121. package/esm/mod.d.ts.map +0 -1
  122. package/esm/mod.js +0 -4
  123. package/esm/package.json +0 -3
  124. package/esm/src/config/config_service.d.ts.map +0 -1
  125. package/esm/src/config/config_service.js +0 -19
  126. package/esm/src/config/index.d.ts +0 -2
  127. package/esm/src/config/index.d.ts.map +0 -1
  128. package/esm/src/config/index.js +0 -1
  129. package/esm/src/data/banks_tz.d.ts +0 -7
  130. package/esm/src/data/banks_tz.d.ts.map +0 -1
  131. package/esm/src/data/banks_tz.js +0 -197
  132. package/esm/src/data/countries.d.ts +0 -39
  133. package/esm/src/data/countries.d.ts.map +0 -1
  134. package/esm/src/data/countries.js +0 -2475
  135. package/esm/src/data/currencies.d.ts +0 -1901
  136. package/esm/src/data/currencies.d.ts.map +0 -1
  137. package/esm/src/data/currencies.js +0 -1073
  138. package/esm/src/data/phone_patterns.d.ts +0 -3809
  139. package/esm/src/data/phone_patterns.d.ts.map +0 -1
  140. package/esm/src/data/phone_patterns.js +0 -2325
  141. package/esm/src/models/amount/amount.d.ts +0 -53
  142. package/esm/src/models/amount/amount.d.ts.map +0 -1
  143. package/esm/src/models/amount/amount.js +0 -190
  144. package/esm/src/models/amount/amount.test.d.ts.map +0 -1
  145. package/esm/src/models/amount/antd_validator.d.ts +0 -40
  146. package/esm/src/models/amount/antd_validator.d.ts.map +0 -1
  147. package/esm/src/models/amount/antd_validator.js +0 -58
  148. package/esm/src/models/amount/antd_validator.test.d.ts.map +0 -1
  149. package/esm/src/models/amount/index.d.ts +0 -3
  150. package/esm/src/models/amount/index.d.ts.map +0 -1
  151. package/esm/src/models/amount/index.js +0 -2
  152. package/esm/src/models/bank/antd_validator.d.ts +0 -11
  153. package/esm/src/models/bank/antd_validator.d.ts.map +0 -1
  154. package/esm/src/models/bank/antd_validator.js +0 -26
  155. package/esm/src/models/bank/antd_validator.test.d.ts.map +0 -1
  156. package/esm/src/models/bank/bank.d.ts +0 -257
  157. package/esm/src/models/bank/bank.d.ts.map +0 -1
  158. package/esm/src/models/bank/bank.js +0 -450
  159. package/esm/src/models/bank/bank.test.d.ts.map +0 -1
  160. package/esm/src/models/bank/index.d.ts +0 -5
  161. package/esm/src/models/bank/index.d.ts.map +0 -1
  162. package/esm/src/models/bank/index.js +0 -4
  163. package/esm/src/models/bank/types.d.ts.map +0 -1
  164. package/esm/src/models/bank/types.js +0 -45
  165. package/esm/src/models/bank/utils.d.ts +0 -8
  166. package/esm/src/models/bank/utils.d.ts.map +0 -1
  167. package/esm/src/models/bank/utils.js +0 -9
  168. package/esm/src/models/country/country.d.ts +0 -822
  169. package/esm/src/models/country/country.d.ts.map +0 -1
  170. package/esm/src/models/country/country.js +0 -737
  171. package/esm/src/models/country/country.test.d.ts.map +0 -1
  172. package/esm/src/models/country/index.d.ts +0 -4
  173. package/esm/src/models/country/index.d.ts.map +0 -1
  174. package/esm/src/models/country/index.js +0 -3
  175. package/esm/src/models/country/types.d.ts +0 -63
  176. package/esm/src/models/country/types.d.ts.map +0 -1
  177. package/esm/src/models/country/types.js +0 -105
  178. package/esm/src/models/country/utils.d.ts.map +0 -1
  179. package/esm/src/models/country/utils.js +0 -25
  180. package/esm/src/models/currency/currency.d.ts +0 -465
  181. package/esm/src/models/currency/currency.d.ts.map +0 -1
  182. package/esm/src/models/currency/currency.js +0 -471
  183. package/esm/src/models/currency/currency.test.d.ts.map +0 -1
  184. package/esm/src/models/currency/index.d.ts +0 -4
  185. package/esm/src/models/currency/index.d.ts.map +0 -1
  186. package/esm/src/models/currency/index.js +0 -3
  187. package/esm/src/models/currency/types.d.ts.map +0 -1
  188. package/esm/src/models/currency/types.js +0 -28
  189. package/esm/src/models/currency/utils.d.ts +0 -8
  190. package/esm/src/models/currency/utils.d.ts.map +0 -1
  191. package/esm/src/models/currency/utils.js +0 -9
  192. package/esm/src/models/index.d.ts +0 -6
  193. package/esm/src/models/index.d.ts.map +0 -1
  194. package/esm/src/models/phone_number/format.d.ts +0 -13
  195. package/esm/src/models/phone_number/format.d.ts.map +0 -1
  196. package/esm/src/models/phone_number/format.js +0 -13
  197. package/esm/src/models/phone_number/global/phone_number.d.ts +0 -162
  198. package/esm/src/models/phone_number/global/phone_number.d.ts.map +0 -1
  199. package/esm/src/models/phone_number/global/phone_number.js +0 -459
  200. package/esm/src/models/phone_number/global/phone_number.test.d.ts.map +0 -1
  201. package/esm/src/models/phone_number/global/service.d.ts +0 -267
  202. package/esm/src/models/phone_number/global/service.d.ts.map +0 -1
  203. package/esm/src/models/phone_number/global/service.js +0 -498
  204. package/esm/src/models/phone_number/global/service.test.d.ts.map +0 -1
  205. package/esm/src/models/phone_number/index.d.ts +0 -6
  206. package/esm/src/models/phone_number/index.d.ts.map +0 -1
  207. package/esm/src/models/phone_number/index.js +0 -5
  208. package/esm/src/models/phone_number/tz/antd_validator.d.ts +0 -77
  209. package/esm/src/models/phone_number/tz/antd_validator.d.ts.map +0 -1
  210. package/esm/src/models/phone_number/tz/antd_validator.js +0 -90
  211. package/esm/src/models/phone_number/tz/antdvalidator.test.d.ts.map +0 -1
  212. package/esm/src/models/phone_number/tz/network_operator.d.ts +0 -30
  213. package/esm/src/models/phone_number/tz/network_operator.d.ts.map +0 -1
  214. package/esm/src/models/phone_number/tz/network_operator.js +0 -47
  215. package/esm/src/models/phone_number/tz/phone_number.d.ts +0 -141
  216. package/esm/src/models/phone_number/tz/phone_number.d.ts.map +0 -1
  217. package/esm/src/models/phone_number/tz/phone_number.js +0 -290
  218. package/esm/src/models/phone_number/tz/phone_number.test.d.ts.map +0 -1
  219. package/esm/src/reports/index.d.ts +0 -2
  220. package/esm/src/reports/index.d.ts.map +0 -1
  221. package/esm/src/reports/index.js +0 -1
  222. package/esm/src/reports/report_manager.d.ts.map +0 -1
  223. package/esm/src/reports/report_manager.js +0 -318
  224. package/esm/src/utils/id.d.ts +0 -12
  225. package/esm/src/utils/id.d.ts.map +0 -1
  226. package/esm/src/utils/id.js +0 -19
  227. package/esm/src/utils/index.d.ts +0 -4
  228. package/esm/src/utils/index.d.ts.map +0 -1
  229. package/esm/src/utils/text.d.ts +0 -32
  230. package/esm/src/utils/text.d.ts.map +0 -1
  231. package/esm/src/utils/text.js +0 -68
  232. package/esm/src/utils/text.test.d.ts.map +0 -1
  233. package/esm/src/utils/time.d.ts +0 -21
  234. package/esm/src/utils/time.d.ts.map +0 -1
  235. package/esm/src/utils/time.js +0 -34
  236. package/script/_dnt.test_shims.d.ts.map +0 -1
  237. package/script/deps/deno.land/std@0.217.0/assert/_constants.d.ts.map +0 -1
  238. package/script/deps/deno.land/std@0.217.0/assert/_diff.d.ts.map +0 -1
  239. package/script/deps/deno.land/std@0.217.0/assert/_format.d.ts.map +0 -1
  240. package/script/deps/deno.land/std@0.217.0/assert/assert.d.ts.map +0 -1
  241. package/script/deps/deno.land/std@0.217.0/assert/assert_almost_equals.d.ts.map +0 -1
  242. package/script/deps/deno.land/std@0.217.0/assert/assert_array_includes.d.ts.map +0 -1
  243. package/script/deps/deno.land/std@0.217.0/assert/assert_equals.d.ts.map +0 -1
  244. package/script/deps/deno.land/std@0.217.0/assert/assert_exists.d.ts.map +0 -1
  245. package/script/deps/deno.land/std@0.217.0/assert/assert_false.d.ts.map +0 -1
  246. package/script/deps/deno.land/std@0.217.0/assert/assert_greater.d.ts.map +0 -1
  247. package/script/deps/deno.land/std@0.217.0/assert/assert_greater_or_equal.d.ts.map +0 -1
  248. package/script/deps/deno.land/std@0.217.0/assert/assert_instance_of.d.ts.map +0 -1
  249. package/script/deps/deno.land/std@0.217.0/assert/assert_is_error.d.ts.map +0 -1
  250. package/script/deps/deno.land/std@0.217.0/assert/assert_less.d.ts.map +0 -1
  251. package/script/deps/deno.land/std@0.217.0/assert/assert_less_or_equal.d.ts.map +0 -1
  252. package/script/deps/deno.land/std@0.217.0/assert/assert_match.d.ts.map +0 -1
  253. package/script/deps/deno.land/std@0.217.0/assert/assert_not_equals.d.ts.map +0 -1
  254. package/script/deps/deno.land/std@0.217.0/assert/assert_not_instance_of.d.ts.map +0 -1
  255. package/script/deps/deno.land/std@0.217.0/assert/assert_not_match.d.ts.map +0 -1
  256. package/script/deps/deno.land/std@0.217.0/assert/assert_not_strict_equals.d.ts.map +0 -1
  257. package/script/deps/deno.land/std@0.217.0/assert/assert_object_match.d.ts.map +0 -1
  258. package/script/deps/deno.land/std@0.217.0/assert/assert_rejects.d.ts.map +0 -1
  259. package/script/deps/deno.land/std@0.217.0/assert/assert_strict_equals.d.ts.map +0 -1
  260. package/script/deps/deno.land/std@0.217.0/assert/assert_string_includes.d.ts.map +0 -1
  261. package/script/deps/deno.land/std@0.217.0/assert/assert_throws.d.ts.map +0 -1
  262. package/script/deps/deno.land/std@0.217.0/assert/assertion_error.d.ts.map +0 -1
  263. package/script/deps/deno.land/std@0.217.0/assert/equal.d.ts.map +0 -1
  264. package/script/deps/deno.land/std@0.217.0/assert/fail.d.ts.map +0 -1
  265. package/script/deps/deno.land/std@0.217.0/assert/mod.d.ts.map +0 -1
  266. package/script/deps/deno.land/std@0.217.0/assert/unimplemented.d.ts.map +0 -1
  267. package/script/deps/deno.land/std@0.217.0/assert/unreachable.d.ts.map +0 -1
  268. package/script/deps/deno.land/std@0.217.0/fmt/colors.d.ts.map +0 -1
  269. package/script/deps/jsr.io/@std/assert/1.0.10/almost_equals.d.ts.map +0 -1
  270. package/script/deps/jsr.io/@std/assert/1.0.10/array_includes.d.ts.map +0 -1
  271. package/script/deps/jsr.io/@std/assert/1.0.10/assert.d.ts.map +0 -1
  272. package/script/deps/jsr.io/@std/assert/1.0.10/assertion_error.d.ts.map +0 -1
  273. package/script/deps/jsr.io/@std/assert/1.0.10/equal.d.ts.map +0 -1
  274. package/script/deps/jsr.io/@std/assert/1.0.10/equals.d.ts.map +0 -1
  275. package/script/deps/jsr.io/@std/assert/1.0.10/exists.d.ts.map +0 -1
  276. package/script/deps/jsr.io/@std/assert/1.0.10/fail.d.ts.map +0 -1
  277. package/script/deps/jsr.io/@std/assert/1.0.10/false.d.ts.map +0 -1
  278. package/script/deps/jsr.io/@std/assert/1.0.10/greater.d.ts.map +0 -1
  279. package/script/deps/jsr.io/@std/assert/1.0.10/greater_or_equal.d.ts.map +0 -1
  280. package/script/deps/jsr.io/@std/assert/1.0.10/instance_of.d.ts.map +0 -1
  281. package/script/deps/jsr.io/@std/assert/1.0.10/is_error.d.ts.map +0 -1
  282. package/script/deps/jsr.io/@std/assert/1.0.10/less.d.ts.map +0 -1
  283. package/script/deps/jsr.io/@std/assert/1.0.10/less_or_equal.d.ts.map +0 -1
  284. package/script/deps/jsr.io/@std/assert/1.0.10/match.d.ts.map +0 -1
  285. package/script/deps/jsr.io/@std/assert/1.0.10/mod.d.ts.map +0 -1
  286. package/script/deps/jsr.io/@std/assert/1.0.10/not_equals.d.ts.map +0 -1
  287. package/script/deps/jsr.io/@std/assert/1.0.10/not_instance_of.d.ts.map +0 -1
  288. package/script/deps/jsr.io/@std/assert/1.0.10/not_match.d.ts.map +0 -1
  289. package/script/deps/jsr.io/@std/assert/1.0.10/not_strict_equals.d.ts.map +0 -1
  290. package/script/deps/jsr.io/@std/assert/1.0.10/object_match.d.ts.map +0 -1
  291. package/script/deps/jsr.io/@std/assert/1.0.10/rejects.d.ts.map +0 -1
  292. package/script/deps/jsr.io/@std/assert/1.0.10/strict_equals.d.ts.map +0 -1
  293. package/script/deps/jsr.io/@std/assert/1.0.10/string_includes.d.ts.map +0 -1
  294. package/script/deps/jsr.io/@std/assert/1.0.10/throws.d.ts.map +0 -1
  295. package/script/deps/jsr.io/@std/assert/1.0.10/unimplemented.d.ts.map +0 -1
  296. package/script/deps/jsr.io/@std/assert/1.0.10/unreachable.d.ts.map +0 -1
  297. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +0 -1
  298. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  299. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  300. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  301. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  302. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  303. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  304. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +0 -1
  305. package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +0 -1
  306. package/script/mod.d.ts +0 -5
  307. package/script/mod.d.ts.map +0 -1
  308. package/script/mod.js +0 -20
  309. package/script/package.json +0 -3
  310. package/script/src/config/config_service.d.ts +0 -11
  311. package/script/src/config/config_service.d.ts.map +0 -1
  312. package/script/src/config/config_service.js +0 -23
  313. package/script/src/config/index.d.ts +0 -2
  314. package/script/src/config/index.d.ts.map +0 -1
  315. package/script/src/config/index.js +0 -17
  316. package/script/src/data/banks_tz.d.ts +0 -7
  317. package/script/src/data/banks_tz.d.ts.map +0 -1
  318. package/script/src/data/banks_tz.js +0 -199
  319. package/script/src/data/countries.d.ts +0 -39
  320. package/script/src/data/countries.d.ts.map +0 -1
  321. package/script/src/data/countries.js +0 -2477
  322. package/script/src/data/currencies.d.ts +0 -1901
  323. package/script/src/data/currencies.d.ts.map +0 -1
  324. package/script/src/data/currencies.js +0 -1075
  325. package/script/src/data/phone_patterns.d.ts +0 -3809
  326. package/script/src/data/phone_patterns.d.ts.map +0 -1
  327. package/script/src/data/phone_patterns.js +0 -2327
  328. package/script/src/models/amount/amount.d.ts +0 -53
  329. package/script/src/models/amount/amount.d.ts.map +0 -1
  330. package/script/src/models/amount/amount.js +0 -194
  331. package/script/src/models/amount/amount.test.d.ts.map +0 -1
  332. package/script/src/models/amount/antd_validator.d.ts +0 -40
  333. package/script/src/models/amount/antd_validator.d.ts.map +0 -1
  334. package/script/src/models/amount/antd_validator.js +0 -62
  335. package/script/src/models/amount/antd_validator.test.d.ts.map +0 -1
  336. package/script/src/models/amount/index.d.ts +0 -3
  337. package/script/src/models/amount/index.d.ts.map +0 -1
  338. package/script/src/models/amount/index.js +0 -18
  339. package/script/src/models/bank/antd_validator.d.ts +0 -11
  340. package/script/src/models/bank/antd_validator.d.ts.map +0 -1
  341. package/script/src/models/bank/antd_validator.js +0 -30
  342. package/script/src/models/bank/antd_validator.test.d.ts.map +0 -1
  343. package/script/src/models/bank/bank.d.ts +0 -257
  344. package/script/src/models/bank/bank.d.ts.map +0 -1
  345. package/script/src/models/bank/bank.js +0 -458
  346. package/script/src/models/bank/bank.test.d.ts.map +0 -1
  347. package/script/src/models/bank/index.d.ts +0 -5
  348. package/script/src/models/bank/index.d.ts.map +0 -1
  349. package/script/src/models/bank/index.js +0 -20
  350. package/script/src/models/bank/types.d.ts +0 -7
  351. package/script/src/models/bank/types.d.ts.map +0 -1
  352. package/script/src/models/bank/types.js +0 -48
  353. package/script/src/models/bank/utils.d.ts +0 -8
  354. package/script/src/models/bank/utils.d.ts.map +0 -1
  355. package/script/src/models/bank/utils.js +0 -12
  356. package/script/src/models/country/country.d.ts.map +0 -1
  357. package/script/src/models/country/country.js +0 -745
  358. package/script/src/models/country/country.test.d.ts.map +0 -1
  359. package/script/src/models/country/index.d.ts +0 -4
  360. package/script/src/models/country/index.d.ts.map +0 -1
  361. package/script/src/models/country/index.js +0 -19
  362. package/script/src/models/country/types.d.ts.map +0 -1
  363. package/script/src/models/country/types.js +0 -108
  364. package/script/src/models/country/utils.d.ts +0 -21
  365. package/script/src/models/country/utils.d.ts.map +0 -1
  366. package/script/src/models/country/utils.js +0 -30
  367. package/script/src/models/currency/currency.d.ts.map +0 -1
  368. package/script/src/models/currency/currency.js +0 -479
  369. package/script/src/models/currency/currency.test.d.ts.map +0 -1
  370. package/script/src/models/currency/index.d.ts +0 -4
  371. package/script/src/models/currency/index.d.ts.map +0 -1
  372. package/script/src/models/currency/index.js +0 -19
  373. package/script/src/models/currency/types.d.ts +0 -21
  374. package/script/src/models/currency/types.d.ts.map +0 -1
  375. package/script/src/models/currency/types.js +0 -31
  376. package/script/src/models/currency/utils.d.ts +0 -8
  377. package/script/src/models/currency/utils.d.ts.map +0 -1
  378. package/script/src/models/currency/utils.js +0 -12
  379. package/script/src/models/index.d.ts +0 -6
  380. package/script/src/models/index.d.ts.map +0 -1
  381. package/script/src/models/index.js +0 -21
  382. package/script/src/models/phone_number/format.d.ts +0 -13
  383. package/script/src/models/phone_number/format.d.ts.map +0 -1
  384. package/script/src/models/phone_number/format.js +0 -16
  385. package/script/src/models/phone_number/global/phone_number.d.ts +0 -162
  386. package/script/src/models/phone_number/global/phone_number.d.ts.map +0 -1
  387. package/script/src/models/phone_number/global/phone_number.js +0 -463
  388. package/script/src/models/phone_number/global/phone_number.test.d.ts.map +0 -1
  389. package/script/src/models/phone_number/global/service.d.ts +0 -267
  390. package/script/src/models/phone_number/global/service.d.ts.map +0 -1
  391. package/script/src/models/phone_number/global/service.js +0 -506
  392. package/script/src/models/phone_number/global/service.test.d.ts.map +0 -1
  393. package/script/src/models/phone_number/index.d.ts +0 -6
  394. package/script/src/models/phone_number/index.d.ts.map +0 -1
  395. package/script/src/models/phone_number/index.js +0 -21
  396. package/script/src/models/phone_number/tz/antd_validator.d.ts +0 -77
  397. package/script/src/models/phone_number/tz/antd_validator.d.ts.map +0 -1
  398. package/script/src/models/phone_number/tz/antd_validator.js +0 -94
  399. package/script/src/models/phone_number/tz/antdvalidator.test.d.ts.map +0 -1
  400. package/script/src/models/phone_number/tz/network_operator.d.ts +0 -30
  401. package/script/src/models/phone_number/tz/network_operator.d.ts.map +0 -1
  402. package/script/src/models/phone_number/tz/network_operator.js +0 -50
  403. package/script/src/models/phone_number/tz/phone_number.d.ts +0 -141
  404. package/script/src/models/phone_number/tz/phone_number.d.ts.map +0 -1
  405. package/script/src/models/phone_number/tz/phone_number.js +0 -294
  406. package/script/src/models/phone_number/tz/phone_number.test.d.ts.map +0 -1
  407. package/script/src/reports/index.d.ts +0 -2
  408. package/script/src/reports/index.d.ts.map +0 -1
  409. package/script/src/reports/index.js +0 -17
  410. package/script/src/reports/report_manager.d.ts +0 -144
  411. package/script/src/reports/report_manager.d.ts.map +0 -1
  412. package/script/src/reports/report_manager.js +0 -328
  413. package/script/src/utils/id.d.ts.map +0 -1
  414. package/script/src/utils/id.js +0 -23
  415. package/script/src/utils/index.d.ts +0 -4
  416. package/script/src/utils/index.d.ts.map +0 -1
  417. package/script/src/utils/index.js +0 -19
  418. package/script/src/utils/text.d.ts +0 -32
  419. package/script/src/utils/text.d.ts.map +0 -1
  420. package/script/src/utils/text.js +0 -75
  421. package/script/src/utils/text.test.d.ts.map +0 -1
  422. package/script/src/utils/time.d.ts.map +0 -1
  423. package/script/src/utils/time.js +0 -39
  424. /package/{esm/src/utils/index.js → dist/utils/index.d.ts} +0 -0
@@ -1,318 +0,0 @@
1
- import FileSaver from "file-saver";
2
- import { ConfigService } from "../config/index.js";
3
- /**
4
- * Available file formats for reports
5
- */
6
- export var FileFormat;
7
- (function (FileFormat) {
8
- /** PDF file format */
9
- FileFormat["PDF"] = "pdf";
10
- /** Excel file format */
11
- FileFormat["EXCEL"] = "excel";
12
- })(FileFormat || (FileFormat = {}));
13
- /**
14
- * Available project types
15
- */
16
- export var ProjectType;
17
- (function (ProjectType) {
18
- /** Tembo Dashboard project */
19
- ProjectType["DASHBOARD"] = "dashboard";
20
- /** Afloat project */
21
- ProjectType["AFLOAT"] = "afloat";
22
- /** VertoX project */
23
- ProjectType["VERTO_X"] = "verto_x";
24
- })(ProjectType || (ProjectType = {}));
25
- /**
26
- * Available report types with improved naming
27
- */
28
- export var ReportType;
29
- (function (ReportType) {
30
- /** Merchant payout statement (Dashboard) */
31
- ReportType["MERCHANT_DISBURSEMENT_REPORT"] = "merchant_disbursement_report";
32
- /** Transaction revenue summary (Dashboard) */
33
- ReportType["TRANSACTION_REVENUE_SUMMARY"] = "transaction_revenue_summary";
34
- /** Customer wallet activity (Afloat) */
35
- ReportType["CUSTOMER_WALLET_ACTIVITY"] = "customer_wallet_activity";
36
- /** Customer profile information (Afloat) */
37
- ReportType["CUSTOMER_PROFILE_SNAPSHOT"] = "customer_profile_snapshot";
38
- /** Gateway transaction log (VertoX) */
39
- ReportType["GATEWAY_TRANSACTION_LOG"] = "gateway_transaction_log";
40
- })(ReportType || (ReportType = {}));
41
- /**
42
- * Registry of all available reports
43
- */
44
- export const REPORTS = {
45
- // Dashboard Reports
46
- [ReportType.MERCHANT_DISBURSEMENT_REPORT]: {
47
- id: "merchant_disbursement_report",
48
- displayName: "Merchant Disbursement Report",
49
- endpoint: "/dashboard/merchant_disbursements",
50
- availableFormats: [FileFormat.PDF, FileFormat.EXCEL],
51
- projectType: ProjectType.DASHBOARD,
52
- reportType: ReportType.MERCHANT_DISBURSEMENT_REPORT,
53
- description: "Detailed breakdown of payments made to merchants",
54
- },
55
- [ReportType.TRANSACTION_REVENUE_SUMMARY]: {
56
- id: "transaction_revenue_summary",
57
- displayName: "Transaction Revenue Summary",
58
- endpoint: "/dashboard/revenue_summary",
59
- availableFormats: [FileFormat.PDF, FileFormat.EXCEL],
60
- projectType: ProjectType.DASHBOARD,
61
- reportType: ReportType.TRANSACTION_REVENUE_SUMMARY,
62
- description: "Summary of all revenue transactions by period",
63
- },
64
- // Afloat Reports
65
- [ReportType.CUSTOMER_WALLET_ACTIVITY]: {
66
- id: "customer_wallet_activity",
67
- displayName: "Customer Wallet Activity",
68
- endpoint: "/afloat/wallet_activity",
69
- availableFormats: [FileFormat.PDF, FileFormat.EXCEL],
70
- projectType: ProjectType.AFLOAT,
71
- reportType: ReportType.CUSTOMER_WALLET_ACTIVITY,
72
- description: "Detailed record of all customer wallet transactions",
73
- },
74
- [ReportType.CUSTOMER_PROFILE_SNAPSHOT]: {
75
- id: "customer_profile_snapshot",
76
- displayName: "Customer Profile Snapshot",
77
- endpoint: "/afloat/profile_snapshot",
78
- availableFormats: [FileFormat.PDF],
79
- projectType: ProjectType.AFLOAT,
80
- reportType: ReportType.CUSTOMER_PROFILE_SNAPSHOT,
81
- description: "Current account information and status",
82
- },
83
- // VertoX Reports
84
- [ReportType.GATEWAY_TRANSACTION_LOG]: {
85
- id: "gateway_transaction_log",
86
- displayName: "Gateway Transaction Log",
87
- endpoint: "/vertox/gateway_transactions",
88
- availableFormats: [FileFormat.EXCEL],
89
- projectType: ProjectType.VERTO_X,
90
- reportType: ReportType.GATEWAY_TRANSACTION_LOG,
91
- description: "Log of all payment gateway API transactions",
92
- },
93
- };
94
- /**
95
- * Get all reports for a specific project
96
- * @param projectType The project type to filter by
97
- * @returns Array of report definitions for the project
98
- */
99
- export function getReportsByProject(projectType) {
100
- return Object.values(REPORTS).filter((report) => report.projectType === projectType);
101
- }
102
- /**
103
- * Get a report by its type
104
- * @param reportType The report type to retrieve
105
- * @returns The report definition or undefined if not found
106
- */
107
- export function getReportByType(reportType) {
108
- return REPORTS[reportType];
109
- }
110
- /**
111
- * Validates if a report type is available for a project
112
- * @param projectType The project type
113
- * @param reportType The report type
114
- * @returns True if the report is available for the project, false otherwise
115
- */
116
- export function isReportAvailableForProject(projectType, reportType) {
117
- const report = REPORTS[reportType];
118
- return report !== undefined && report.projectType === projectType;
119
- }
120
- /**
121
- * Report Manager class for handling report downloads
122
- */
123
- export class ReportManager {
124
- constructor() {
125
- /**
126
- * Get the base URL for the report API
127
- * @returns The base URL
128
- */
129
- Object.defineProperty(this, "getBaseURL", {
130
- enumerable: true,
131
- configurable: true,
132
- writable: true,
133
- value: () => {
134
- let url = ConfigService.instance.pdfMakerBaseUrl;
135
- if (url.trim().length === 0) {
136
- url = "https://api.afloat.money/pdf-maker";
137
- }
138
- if (url.endsWith("/"))
139
- return url.slice(0, -1);
140
- return url;
141
- }
142
- });
143
- /**
144
- * Converts a base64 string to a Blob
145
- * @param base64 The base64 string
146
- * @returns A Blob
147
- */
148
- Object.defineProperty(this, "b64toBlob", {
149
- enumerable: true,
150
- configurable: true,
151
- writable: true,
152
- value: (base64) => fetch(base64).then((res) => res.blob())
153
- });
154
- }
155
- /**
156
- * Get the singleton instance of ReportManager
157
- */
158
- static get instance() {
159
- return this._instance || (this._instance = new this());
160
- }
161
- /**
162
- * Downloads a report based on project type and report type
163
- * @param args Arguments for the report download
164
- * @returns Promise that resolves when download is complete
165
- */
166
- async downloadReport(args) {
167
- try {
168
- // Get the report from the registry
169
- const report = REPORTS[args.reportType];
170
- if (!report) {
171
- throw new Error(`Report type ${args.reportType} not configured`);
172
- }
173
- // Validate that the report belongs to the specified project
174
- if (report.projectType !== args.projectType) {
175
- throw new Error(`Report type ${args.reportType} does not belong to project ${args.projectType}`);
176
- }
177
- // Check if requested format is supported
178
- if (!report.availableFormats.includes(args.fileFormat)) {
179
- throw new Error(`File format ${args.fileFormat} not supported for ${report.displayName}`);
180
- }
181
- // Build URL using the report's endpoint
182
- let url = `${this.getBaseURL()}${report.endpoint}`;
183
- // Create a properly typed query parameters object
184
- // deno-lint-ignore no-explicit-any
185
- const queryParams = {
186
- ...(args.query || {}),
187
- fileFormat: args.fileFormat,
188
- };
189
- // Build the query string
190
- const searchParams = new URLSearchParams();
191
- for (const key in queryParams) {
192
- if (Object.prototype.hasOwnProperty.call(queryParams, key)) {
193
- const value = queryParams[key];
194
- if (value !== undefined && value !== null) {
195
- if (Array.isArray(value)) {
196
- value.forEach((item) => {
197
- searchParams.append(key + "[]", String(item));
198
- });
199
- }
200
- else {
201
- searchParams.append(key, String(value));
202
- }
203
- }
204
- }
205
- }
206
- const queryString = searchParams.toString();
207
- if (queryString) {
208
- url += `?${queryString}`;
209
- }
210
- // Make the request
211
- const response = await fetch(url, {
212
- method: "GET",
213
- headers: {
214
- "Accept": "*/*",
215
- "Content-Type": "application/json",
216
- "Authorization": `Bearer ${args.token}`,
217
- },
218
- });
219
- if (response.status !== 200) {
220
- await this.handleErrorResponse(response);
221
- }
222
- // Process the download
223
- await this.processDownload(response, report, args.fileFormat);
224
- }
225
- catch (error) {
226
- console.error("Report download failed:", error);
227
- throw error;
228
- }
229
- }
230
- /**
231
- * Process the download
232
- * @param response The response from the API
233
- * @param report The report definition
234
- * @param fileFormat The requested file format
235
- */
236
- async processDownload(response, report, fileFormat) {
237
- const contentDisposition = response.headers.get("Content-Disposition");
238
- // Get default filename based on report and file format
239
- const defaultFilename = this.getDefaultFilename(report, fileFormat);
240
- // Try to get filename from Content-Disposition, fall back to default
241
- const fileName = this.extractFilenameFromContentDisposition(contentDisposition) ||
242
- defaultFilename;
243
- // Handle the response based on content type
244
- // deno-lint-ignore no-explicit-any
245
- const blob = await this.b64toBlob(await response.text());
246
- FileSaver.saveAs(blob, fileName);
247
- }
248
- /**
249
- * Handle error responses from the API
250
- * @param response The response from the API
251
- * @throws Error with appropriate message
252
- */
253
- async handleErrorResponse(response) {
254
- let errorMessage = "Encountered an error while generating report";
255
- try {
256
- // Try to parse as JSON first
257
- const contentType = response.headers.get("Content-Type");
258
- if (contentType && contentType.includes("application/json")) {
259
- const errorData = await response.json();
260
- errorMessage = errorData.message || errorData.error ||
261
- errorMessage;
262
- }
263
- else {
264
- // Try to get error as text
265
- const textError = await response.text();
266
- if (textError) {
267
- errorMessage = textError;
268
- }
269
- }
270
- }
271
- catch (parseError) {
272
- console.error("Error parsing error response:", parseError);
273
- }
274
- throw new Error(errorMessage);
275
- }
276
- /**
277
- * Generates a default filename based on report and file format
278
- * @param report The report definition
279
- * @param fileFormat The requested file format
280
- * @returns A suitable default filename with proper extension
281
- */
282
- getDefaultFilename(report, fileFormat) {
283
- const date = new Date().toISOString().slice(0, 10); // YYYY-MM-DD format
284
- // Build the filename with project, report type, and date
285
- const baseFilename = `${report.id}_${date}`;
286
- // Add the extension based on the file format
287
- return fileFormat === FileFormat.PDF
288
- ? `${baseFilename}.pdf`
289
- : `${baseFilename}.xlsx`;
290
- }
291
- /**
292
- * Extracts the filename from the Content-Disposition header
293
- * @param contentDisposition The Content-Disposition header value
294
- * @returns The extracted filename or null if not found
295
- */
296
- extractFilenameFromContentDisposition(contentDisposition) {
297
- // Check if the header exists
298
- if (!contentDisposition) {
299
- return null;
300
- }
301
- // Try to match the filename pattern
302
- const filenameRegex = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/;
303
- const matches = filenameRegex.exec(contentDisposition);
304
- if (matches && matches[1]) {
305
- // Clean up the filename by removing quotes if present
306
- let filename = matches[1].trim();
307
- // Remove surrounding quotes if they exist
308
- if (filename.startsWith('"') && filename.endsWith('"')) {
309
- filename = filename.substring(1, filename.length - 1);
310
- }
311
- else if (filename.startsWith("'") && filename.endsWith("'")) {
312
- filename = filename.substring(1, filename.length - 1);
313
- }
314
- return filename;
315
- }
316
- return null;
317
- }
318
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Generates a unique UUID (version 4).
3
- * @returns {string} - A randomly generated UUID string.
4
- */
5
- export declare function generateUniqueUUID(): string;
6
- /**
7
- * Generates a UUID (version 5) based on the input string and a predefined namespace.
8
- * @param {string} data - The input string to generate the UUID from.
9
- * @returns {string} - A UUID string generated from the input string.
10
- */
11
- export declare function generateUuidBasedOn(data: string): string;
12
- //# sourceMappingURL=id.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../src/src/utils/id.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAKD;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAExD"}
@@ -1,19 +0,0 @@
1
- import { v4 as uuidv4 } from "uuid";
2
- import { v5 as uuidv5 } from "uuid";
3
- /**
4
- * Generates a unique UUID (version 4).
5
- * @returns {string} - A randomly generated UUID string.
6
- */
7
- export function generateUniqueUUID() {
8
- return uuidv4();
9
- }
10
- // Predefined namespace
11
- const NAMESPACE = uuidv5.DNS;
12
- /**
13
- * Generates a UUID (version 5) based on the input string and a predefined namespace.
14
- * @param {string} data - The input string to generate the UUID from.
15
- * @returns {string} - A UUID string generated from the input string.
16
- */
17
- export function generateUuidBasedOn(data) {
18
- return uuidv5(data, NAMESPACE);
19
- }
@@ -1,4 +0,0 @@
1
- export * from "./id.js";
2
- export * from "./time.js";
3
- export * from "./text.js";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
@@ -1,32 +0,0 @@
1
- /**
2
- * Capitalizes the first letter of a string and converts the rest of the string to lowercase.
3
- * @param {string} str - The input string.
4
- * @returns {string} - The formatted string with the first letter capitalized.
5
- */
6
- export declare function capitalizeFirstLetter(str: string): string;
7
- /**
8
- * Combines a first name and a last name into a full name.
9
- * @param {string} firstName - The first name.
10
- * @param {string} lastName - The last name.
11
- * @returns {string} - The full name formatted as "FirstName LastName".
12
- */
13
- export declare function getFullName(firstName: string, lastName: string): string;
14
- /**
15
- * Generates a URL-friendly slug from a given text.
16
- * @param {string} text - The input string.
17
- * @returns {string} - The generated slug with lowercase alphanumeric characters and hyphens.
18
- */
19
- export declare function generateSlug(text: string): string;
20
- /**
21
- * Abbreviates a full name into a first name and the initial of the last name.
22
- * @param {string} fullName - The input full name.
23
- * @returns {string} - The abbreviated name in the format "FirstName L.".
24
- */
25
- export declare function abbreviateName(fullName: string): string;
26
- /**
27
- * Extracts the initials from a full name.
28
- * @param {string} fullName - The input full name.
29
- * @returns {string} - The initials in uppercase format.
30
- */
31
- export declare function getInitialsFrom(fullName: string): string;
32
- //# sourceMappingURL=text.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/src/utils/text.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CASzD;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvE;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOjD;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAYvD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAcxD"}
@@ -1,68 +0,0 @@
1
- /**
2
- * Capitalizes the first letter of a string and converts the rest of the string to lowercase.
3
- * @param {string} str - The input string.
4
- * @returns {string} - The formatted string with the first letter capitalized.
5
- */
6
- export function capitalizeFirstLetter(str) {
7
- if (str.length === 0) {
8
- return str; // Return an empty string if input is empty
9
- }
10
- const firstLetter = str.charAt(0).toUpperCase();
11
- const restOfString = str.slice(1).toLowerCase();
12
- return firstLetter + restOfString;
13
- }
14
- /**
15
- * Combines a first name and a last name into a full name.
16
- * @param {string} firstName - The first name.
17
- * @param {string} lastName - The last name.
18
- * @returns {string} - The full name formatted as "FirstName LastName".
19
- */
20
- export function getFullName(firstName, lastName) {
21
- return `${firstName} ${lastName}`;
22
- }
23
- /**
24
- * Generates a URL-friendly slug from a given text.
25
- * @param {string} text - The input string.
26
- * @returns {string} - The generated slug with lowercase alphanumeric characters and hyphens.
27
- */
28
- export function generateSlug(text) {
29
- return text
30
- .toLowerCase() // Convert to lowercase
31
- .replace(/[^\w\s-]/g, "") // Remove non-alphanumeric characters except spaces and hyphens
32
- .trim() // Trim leading/trailing spaces
33
- .replace(/\s+/g, "-") // Replace spaces with hyphens
34
- .replace(/-+/g, "-"); // Replace multiple hyphens with a single hyphen
35
- }
36
- /**
37
- * Abbreviates a full name into a first name and the initial of the last name.
38
- * @param {string} fullName - The input full name.
39
- * @returns {string} - The abbreviated name in the format "FirstName L.".
40
- */
41
- export function abbreviateName(fullName) {
42
- const nameParts = fullName.trim().split(" ");
43
- if (nameParts.length === 1) {
44
- // If there's only one word in the name, return it as is.
45
- return fullName;
46
- }
47
- const firstName = nameParts[0];
48
- const lastNameInitial = nameParts[nameParts.length - 1].charAt(0);
49
- return `${firstName} ${lastNameInitial}.`;
50
- }
51
- /**
52
- * Extracts the initials from a full name.
53
- * @param {string} fullName - The input full name.
54
- * @returns {string} - The initials in uppercase format.
55
- */
56
- export function getInitialsFrom(fullName) {
57
- let label = "";
58
- const names = (fullName ?? "").trim().split(" ");
59
- if (names.length === 0)
60
- return "";
61
- const firstName = names[0];
62
- label = firstName.charAt(0);
63
- if (names.length > 1) {
64
- const lastName = names[names.length - 1];
65
- label = `${firstName.charAt(0)}${lastName.charAt(0)}`;
66
- }
67
- return label.toUpperCase();
68
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"text.test.d.ts","sourceRoot":"","sources":["../../../src/src/utils/text.test.ts"],"names":[],"mappings":""}
@@ -1,21 +0,0 @@
1
- /**
2
- * Compares two dates (years, months, and days only) without considering the time.
3
- * @param {Date} a - The first Date object.
4
- * @param {Date} b - The second Date object.
5
- * @returns {boolean} - Returns true if the dates are equal in terms of year, month, and day; otherwise, false.
6
- */
7
- export declare function compareDates(a: Date, b: Date): boolean;
8
- /**
9
- * Sorts two dates in descending order (latest date first).
10
- * @param {Date} a - The first Date object.
11
- * @param {Date} b - The second Date object.
12
- * @returns {number} - Returns a positive value if `b` is after `a`, a negative value if `a` is after `b`, and 0 if they are equal.
13
- */
14
- export declare function sortDates(a: Date, b: Date): number;
15
- /**
16
- * Creates a delay for a given number of milliseconds.
17
- * @param {number} milliseconds - The delay duration in milliseconds.
18
- * @returns {Promise<void>} - A promise that resolves after the specified delay.
19
- */
20
- export declare function delay(milliseconds: number): Promise<void>;
21
- //# sourceMappingURL=time.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/src/utils/time.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,GAAG,OAAO,CAMtD;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,GAAG,MAAM,CAElD;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAMzD"}
@@ -1,34 +0,0 @@
1
- /**
2
- * Compares two dates (years, months, and days only) without considering the time.
3
- * @param {Date} a - The first Date object.
4
- * @param {Date} b - The second Date object.
5
- * @returns {boolean} - Returns true if the dates are equal in terms of year, month, and day; otherwise, false.
6
- */
7
- export function compareDates(a, b) {
8
- const d1 = new Date(a);
9
- const d2 = new Date(b);
10
- return d1.getFullYear() === d2.getFullYear() &&
11
- d1.getMonth() === d2.getMonth() &&
12
- d1.getDate() === d2.getDate();
13
- }
14
- /**
15
- * Sorts two dates in descending order (latest date first).
16
- * @param {Date} a - The first Date object.
17
- * @param {Date} b - The second Date object.
18
- * @returns {number} - Returns a positive value if `b` is after `a`, a negative value if `a` is after `b`, and 0 if they are equal.
19
- */
20
- export function sortDates(a, b) {
21
- return new Date(b).getTime() - new Date(a).getTime();
22
- }
23
- /**
24
- * Creates a delay for a given number of milliseconds.
25
- * @param {number} milliseconds - The delay duration in milliseconds.
26
- * @returns {Promise<void>} - A promise that resolves after the specified delay.
27
- */
28
- export function delay(milliseconds) {
29
- return new Promise((resolve) => {
30
- setTimeout(() => {
31
- resolve();
32
- }, milliseconds);
33
- });
34
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"_dnt.test_shims.d.ts","sourceRoot":"","sources":["../src/_dnt.test_shims.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAKvC,eAAO,MAAM,aAAa;;CAA2C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"_constants.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/_constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"_diff.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/_diff.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,QAAQ;;;;CAIX,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE7C,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;CAChC;AA4BD;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CA+L5D;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,wBAqI3C;AAwCD,wBAAgB,YAAY,CAC1B,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAC7C,EAAE,UAAkB,EAAE;;CAAK,GAC1B,MAAM,EAAE,CAwBV"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"_format.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/_format.ts"],"names":[],"mappings":"AAYA,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAezC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,OAAO,CAAC,IAAI,CAI5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_almost_equals.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_almost_equals.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,SAAO,EAChB,GAAG,CAAC,EAAE,MAAM,QAgBb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_array_includes.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_array_includes.ts"],"names":[],"mappings":"AAKA,0FAA0F;AAC1F,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC;AAEpD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EACvB,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,EACzB,GAAG,CAAC,EAAE,MAAM,QAwBb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_equals.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_equals.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,EACZ,OAAO,GAAE;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,CAAA;CAAO,QAuBzD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_exists.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_exists.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,MAAM,EAAE,CAAC,EACT,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,WAAW,CAAC,CAAC,CAAC,CAOlC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_false.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_false.ts"],"names":[],"mappings":"AAGA,uDAAuD;AACvD,MAAM,MAAM,KAAK,GAAG,KAAK,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;AAE3D;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,OAAO,CAAC,IAAI,IAAI,KAAK,CAI1E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_greater.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_greater.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAMpE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_greater_or_equal.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_greater_or_equal.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QASb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_instance_of.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_instance_of.ts"],"names":[],"mappings":"AAGA,sBAAsB;AAEtB,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;AACzD,4BAA4B;AAC5B,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,cAAc,IAAI,CAAC,SAC5D,KAAK,GAAG,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,CAAC,GAC7B,KAAK,CAAC;AAEV;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,cAAc,EACvD,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,CAAC,EACf,GAAG,SAAK,GACP,OAAO,CAAC,MAAM,IAAI,kBAAkB,CAAC,CAAC,CAAC,CA6BzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_is_error.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_is_error.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,KAAK,EAAE,OAAO,EAEd,UAAU,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EACtC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAC5B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,KAAK,IAAI,CAAC,CAmCpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_less.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_less.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAMjE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_less_or_equal.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_less_or_equal.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QASb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_match.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_match.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAOb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_not_equals.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_not_equals.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAoBtE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_not_instance_of.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_not_instance_of.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EACtC,MAAM,EAAE,CAAC,EAET,cAAc,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EACzC,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAKjC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_not_match.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_not_match.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAQb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_not_strict_equals.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_not_strict_equals.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QAYb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_object_match.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_object_match.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAE/B,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,EAChC,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EACtC,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CA+EN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_rejects.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_rejects.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAC9B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,OAAO,CAAC,CAAC;AACpB;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAE9B,UAAU,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EACrC,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_strict_equals.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_strict_equals.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,CAAC,CAmCrB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_string_includes.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_string_includes.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAOb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert_throws.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assert_throws.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAC1B,EAAE,EAAE,MAAM,OAAO,EACjB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC;AACX;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EAClD,EAAE,EAAE,MAAM,OAAO,EAEjB,UAAU,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EACrC,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assertion_error.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.217.0/assert/assertion_error.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC,iCAAiC;gBACrB,OAAO,EAAE,MAAM;CAI5B"}