x25 17.7.0 → 17.7.2

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 (434) hide show
  1. package/index.d.ts +7 -1
  2. package/package.json +3 -3
  3. package/utility/normalize.test.d.ts +1 -0
  4. package/utility/normalize.test.js +40 -0
  5. package/utility/normalize.test.js.map +1 -0
  6. package/utility/strings.test.d.ts +1 -0
  7. package/utility/strings.test.js +104 -0
  8. package/utility/strings.test.js.map +1 -0
  9. package/utility/validation/validate/email.test.d.ts +1 -0
  10. package/utility/validation/validate/email.test.js +24 -0
  11. package/utility/validation/validate/email.test.js.map +1 -0
  12. package/.eslintignore +0 -3
  13. package/.eslintrc.json +0 -350
  14. package/.vscode/settings.json +0 -61
  15. package/conf/dev.js +0 -19
  16. package/conf/dist.js +0 -19
  17. package/conf/polyfills/tempPolyfills.js +0 -7
  18. package/cspell.json +0 -18
  19. package/dist/index.d.ts +0 -7
  20. package/dist/package.json +0 -137
  21. package/script/check.js +0 -15
  22. package/src/Account/Load.tsx +0 -61
  23. package/src/Account/actions.ts +0 -45
  24. package/src/Account/index.ts +0 -4
  25. package/src/Account/reducer.ts +0 -103
  26. package/src/Async/InitModule.tsx +0 -44
  27. package/src/Async/RouteLoading.tsx +0 -79
  28. package/src/Async/SimulatedException.ts +0 -15
  29. package/src/Async/helpers.ts +0 -58
  30. package/src/Async/index.tsx +0 -72
  31. package/src/Async/types.ts +0 -39
  32. package/src/Async/util.ts +0 -110
  33. package/src/Developer/JSONSyntaxFromData.tsx +0 -24
  34. package/src/Developer/JSONSyntaxFromText.tsx +0 -33
  35. package/src/Developer/types.ts +0 -14
  36. package/src/Developer/util.ts +0 -41
  37. package/src/Inputs/CaptchaBox.tsx +0 -78
  38. package/src/Inputs/DateInput.tsx +0 -124
  39. package/src/Inputs/DateTemplate.tsx +0 -147
  40. package/src/Inputs/DelayInputChange.tsx +0 -104
  41. package/src/Inputs/InputTemplate.tsx +0 -68
  42. package/src/Inputs/LabelTemplate.tsx +0 -46
  43. package/src/Inputs/NumericInput.tsx +0 -130
  44. package/src/Inputs/NumericTemplate.tsx +0 -126
  45. package/src/Inputs/Selects/Custom.tsx +0 -49
  46. package/src/Inputs/Selects/Simple.tsx +0 -63
  47. package/src/Inputs/Selects/index.tsx +0 -26
  48. package/src/Inputs/SimpleInput.tsx +0 -42
  49. package/src/Inputs/SimpleTextarea.tsx +0 -43
  50. package/src/Inputs/TextareaTemplate.tsx +0 -49
  51. package/src/Inputs/common.ts +0 -44
  52. package/src/Inputs/index.ts +0 -13
  53. package/src/Loader/LoaderRender.tsx +0 -88
  54. package/src/Loader/index.ts +0 -195
  55. package/src/Messages/CenterLoading.tsx +0 -48
  56. package/src/Messages/Error.tsx +0 -77
  57. package/src/Messages/Loading.tsx +0 -55
  58. package/src/Messages/Update.tsx +0 -32
  59. package/src/Messages/index.ts +0 -2
  60. package/src/Modal/ConfirmationModal.tsx +0 -120
  61. package/src/Modal/ModalWindow.tsx +0 -167
  62. package/src/Modal/Root.tsx +0 -64
  63. package/src/Modal/actions.ts +0 -12
  64. package/src/Modal/getComponent.tsx +0 -24
  65. package/src/Modal/index.ts +0 -5
  66. package/src/Modal/reducer.ts +0 -52
  67. package/src/Modal/types.ts +0 -47
  68. package/src/Modal/util.ts +0 -12
  69. package/src/Payment/Modal/BankTransfer.tsx +0 -117
  70. package/src/Payment/Modal/BankTransferDoneModal.tsx +0 -27
  71. package/src/Payment/Modal/index.ts +0 -11
  72. package/src/Payment/Pieces/BankTransferForm/BankTransferForm.tsx +0 -91
  73. package/src/Payment/Pieces/BankTransferForm/BankTransferFormWrapper.tsx +0 -56
  74. package/src/Payment/Pieces/BankTransferForm/BankTransferNumberField.tsx +0 -33
  75. package/src/Payment/Pieces/BankTransferForm/validate.ts +0 -14
  76. package/src/Payment/Pieces/MobilPayForm.tsx +0 -47
  77. package/src/Payment/Pieces/Payment.tsx +0 -91
  78. package/src/Payment/core/actions.ts +0 -17
  79. package/src/Payment/core/codes.ts +0 -31
  80. package/src/Payment/core/request.ts +0 -39
  81. package/src/Payment/core/types.d.ts +0 -19
  82. package/src/Payment/core/util/info.ts +0 -10
  83. package/src/Payment/core/util/util.ts +0 -41
  84. package/src/Payment/index.ts +0 -9
  85. package/src/UI/Collapse.tsx +0 -80
  86. package/src/UI/LoadImages.tsx +0 -58
  87. package/src/UI/NewFeature.tsx +0 -23
  88. package/src/UI/Things.tsx +0 -30
  89. package/src/actions.ts +0 -48
  90. package/src/config.ts +0 -19
  91. package/src/index.ts +0 -16
  92. package/src/node_modules/.vitest/results.json +0 -1
  93. package/src/reducer/captchas.ts +0 -34
  94. package/src/reducer/index.ts +0 -17
  95. package/src/reducer/module.ts +0 -31
  96. package/src/styles/_json.scss +0 -48
  97. package/src/styles/index.scss +0 -1
  98. package/src/types.ts +0 -27
  99. package/src/utility/breakpoint.tsx +0 -88
  100. package/src/utility/calendar.ts +0 -23
  101. package/src/utility/date.ts +0 -108
  102. package/src/utility/dev/ErrorBoundary.tsx +0 -90
  103. package/src/utility/dev/TheError.tsx +0 -74
  104. package/src/utility/dev/index.ts +0 -109
  105. package/src/utility/dev/types.ts +0 -8
  106. package/src/utility/hooks.ts +0 -32
  107. package/src/utility/index.ts +0 -17
  108. package/src/utility/languages/date.ts +0 -2
  109. package/src/utility/languages/english.ts +0 -127
  110. package/src/utility/languages/ro.ts +0 -123
  111. package/src/utility/normalize.test.ts +0 -43
  112. package/src/utility/normalize.ts +0 -75
  113. package/src/utility/numbers.ts +0 -62
  114. package/src/utility/numeric.ts +0 -103
  115. package/src/utility/others.tsx +0 -53
  116. package/src/utility/strings.test.ts +0 -123
  117. package/src/utility/strings.ts +0 -22
  118. package/src/utility/uuid.ts +0 -30
  119. package/src/utility/validation/common.ts +0 -255
  120. package/src/utility/validation/index.ts +0 -24
  121. package/src/utility/validation/specific.ts +0 -18
  122. package/src/utility/validation/types.ts +0 -53
  123. package/src/utility/validation/validate/date.ts +0 -52
  124. package/src/utility/validation/validate/email.test.ts +0 -26
  125. package/src/utility/validation/validate/email.ts +0 -3
  126. package/src/utility/validation/validate/index.ts +0 -2
  127. package/src/utility/words.ts +0 -82
  128. package/tsconfig.json +0 -95
  129. package/vite.config.ts +0 -10
  130. package/webpack.config.js +0 -67
  131. package/x25.wiki/Account.md +0 -41
  132. package/x25.wiki/Company.md +0 -39
  133. package/x25.wiki/Header.md +0 -21
  134. package/x25.wiki/Home.md +0 -1
  135. package/x25.wiki/Inputs.md +0 -32
  136. package/x25.wiki/Messages.md +0 -27
  137. package/x25.wiki/Payment.md +0 -42
  138. /package/{dist/Account → Account}/Load.d.ts +0 -0
  139. /package/{dist/Account → Account}/Load.js +0 -0
  140. /package/{dist/Account → Account}/Load.js.map +0 -0
  141. /package/{dist/Account → Account}/actions.d.ts +0 -0
  142. /package/{dist/Account → Account}/actions.js +0 -0
  143. /package/{dist/Account → Account}/actions.js.map +0 -0
  144. /package/{dist/Account → Account}/index.d.ts +0 -0
  145. /package/{dist/Account → Account}/index.js +0 -0
  146. /package/{dist/Account → Account}/index.js.map +0 -0
  147. /package/{dist/Account → Account}/reducer.d.ts +0 -0
  148. /package/{dist/Account → Account}/reducer.js +0 -0
  149. /package/{dist/Account → Account}/reducer.js.map +0 -0
  150. /package/{dist/Async → Async}/InitModule.d.ts +0 -0
  151. /package/{dist/Async → Async}/InitModule.js +0 -0
  152. /package/{dist/Async → Async}/InitModule.js.map +0 -0
  153. /package/{dist/Async → Async}/RouteLoading.d.ts +0 -0
  154. /package/{dist/Async → Async}/RouteLoading.js +0 -0
  155. /package/{dist/Async → Async}/RouteLoading.js.map +0 -0
  156. /package/{dist/Async → Async}/SimulatedException.d.ts +0 -0
  157. /package/{dist/Async → Async}/SimulatedException.js +0 -0
  158. /package/{dist/Async → Async}/SimulatedException.js.map +0 -0
  159. /package/{dist/Async → Async}/helpers.d.ts +0 -0
  160. /package/{dist/Async → Async}/helpers.js +0 -0
  161. /package/{dist/Async → Async}/helpers.js.map +0 -0
  162. /package/{dist/Async → Async}/index.d.ts +0 -0
  163. /package/{dist/Async → Async}/index.js +0 -0
  164. /package/{dist/Async → Async}/index.js.map +0 -0
  165. /package/{dist/Async → Async}/types.d.ts +0 -0
  166. /package/{dist/Async → Async}/types.js +0 -0
  167. /package/{dist/Async → Async}/types.js.map +0 -0
  168. /package/{dist/Async → Async}/util.d.ts +0 -0
  169. /package/{dist/Async → Async}/util.js +0 -0
  170. /package/{dist/Async → Async}/util.js.map +0 -0
  171. /package/{dist/Developer → Developer}/JSONSyntaxFromData.d.ts +0 -0
  172. /package/{dist/Developer → Developer}/JSONSyntaxFromData.js +0 -0
  173. /package/{dist/Developer → Developer}/JSONSyntaxFromData.js.map +0 -0
  174. /package/{dist/Developer → Developer}/JSONSyntaxFromText.d.ts +0 -0
  175. /package/{dist/Developer → Developer}/JSONSyntaxFromText.js +0 -0
  176. /package/{dist/Developer → Developer}/JSONSyntaxFromText.js.map +0 -0
  177. /package/{dist/Developer → Developer}/types.d.ts +0 -0
  178. /package/{dist/Developer → Developer}/types.js +0 -0
  179. /package/{dist/Developer → Developer}/types.js.map +0 -0
  180. /package/{dist/Developer → Developer}/util.d.ts +0 -0
  181. /package/{dist/Developer → Developer}/util.js +0 -0
  182. /package/{dist/Developer → Developer}/util.js.map +0 -0
  183. /package/{dist/Inputs → Inputs}/CaptchaBox.d.ts +0 -0
  184. /package/{dist/Inputs → Inputs}/CaptchaBox.js +0 -0
  185. /package/{dist/Inputs → Inputs}/CaptchaBox.js.map +0 -0
  186. /package/{dist/Inputs → Inputs}/DateInput.d.ts +0 -0
  187. /package/{dist/Inputs → Inputs}/DateInput.js +0 -0
  188. /package/{dist/Inputs → Inputs}/DateInput.js.map +0 -0
  189. /package/{dist/Inputs → Inputs}/DateTemplate.d.ts +0 -0
  190. /package/{dist/Inputs → Inputs}/DateTemplate.js +0 -0
  191. /package/{dist/Inputs → Inputs}/DateTemplate.js.map +0 -0
  192. /package/{dist/Inputs → Inputs}/DelayInputChange.d.ts +0 -0
  193. /package/{dist/Inputs → Inputs}/DelayInputChange.js +0 -0
  194. /package/{dist/Inputs → Inputs}/DelayInputChange.js.map +0 -0
  195. /package/{dist/Inputs → Inputs}/InputTemplate.d.ts +0 -0
  196. /package/{dist/Inputs → Inputs}/InputTemplate.js +0 -0
  197. /package/{dist/Inputs → Inputs}/InputTemplate.js.map +0 -0
  198. /package/{dist/Inputs → Inputs}/LabelTemplate.d.ts +0 -0
  199. /package/{dist/Inputs → Inputs}/LabelTemplate.js +0 -0
  200. /package/{dist/Inputs → Inputs}/LabelTemplate.js.map +0 -0
  201. /package/{dist/Inputs → Inputs}/NumericInput.d.ts +0 -0
  202. /package/{dist/Inputs → Inputs}/NumericInput.js +0 -0
  203. /package/{dist/Inputs → Inputs}/NumericInput.js.map +0 -0
  204. /package/{dist/Inputs → Inputs}/NumericTemplate.d.ts +0 -0
  205. /package/{dist/Inputs → Inputs}/NumericTemplate.js +0 -0
  206. /package/{dist/Inputs → Inputs}/NumericTemplate.js.map +0 -0
  207. /package/{dist/Inputs → Inputs}/Selects/Custom.d.ts +0 -0
  208. /package/{dist/Inputs → Inputs}/Selects/Custom.js +0 -0
  209. /package/{dist/Inputs → Inputs}/Selects/Custom.js.map +0 -0
  210. /package/{dist/Inputs → Inputs}/Selects/Simple.d.ts +0 -0
  211. /package/{dist/Inputs → Inputs}/Selects/Simple.js +0 -0
  212. /package/{dist/Inputs → Inputs}/Selects/Simple.js.map +0 -0
  213. /package/{dist/Inputs → Inputs}/Selects/index.d.ts +0 -0
  214. /package/{dist/Inputs → Inputs}/Selects/index.js +0 -0
  215. /package/{dist/Inputs → Inputs}/Selects/index.js.map +0 -0
  216. /package/{dist/Inputs → Inputs}/SimpleInput.d.ts +0 -0
  217. /package/{dist/Inputs → Inputs}/SimpleInput.js +0 -0
  218. /package/{dist/Inputs → Inputs}/SimpleInput.js.map +0 -0
  219. /package/{dist/Inputs → Inputs}/SimpleTextarea.d.ts +0 -0
  220. /package/{dist/Inputs → Inputs}/SimpleTextarea.js +0 -0
  221. /package/{dist/Inputs → Inputs}/SimpleTextarea.js.map +0 -0
  222. /package/{dist/Inputs → Inputs}/TextareaTemplate.d.ts +0 -0
  223. /package/{dist/Inputs → Inputs}/TextareaTemplate.js +0 -0
  224. /package/{dist/Inputs → Inputs}/TextareaTemplate.js.map +0 -0
  225. /package/{dist/Inputs → Inputs}/common.d.ts +0 -0
  226. /package/{dist/Inputs → Inputs}/common.js +0 -0
  227. /package/{dist/Inputs → Inputs}/common.js.map +0 -0
  228. /package/{dist/Inputs → Inputs}/index.d.ts +0 -0
  229. /package/{dist/Inputs → Inputs}/index.js +0 -0
  230. /package/{dist/Inputs → Inputs}/index.js.map +0 -0
  231. /package/{dist/Loader → Loader}/LoaderRender.d.ts +0 -0
  232. /package/{dist/Loader → Loader}/LoaderRender.js +0 -0
  233. /package/{dist/Loader → Loader}/LoaderRender.js.map +0 -0
  234. /package/{dist/Loader → Loader}/index.d.ts +0 -0
  235. /package/{dist/Loader → Loader}/index.js +0 -0
  236. /package/{dist/Loader → Loader}/index.js.map +0 -0
  237. /package/{dist/Messages → Messages}/CenterLoading.d.ts +0 -0
  238. /package/{dist/Messages → Messages}/CenterLoading.js +0 -0
  239. /package/{dist/Messages → Messages}/CenterLoading.js.map +0 -0
  240. /package/{dist/Messages → Messages}/Error.d.ts +0 -0
  241. /package/{dist/Messages → Messages}/Error.js +0 -0
  242. /package/{dist/Messages → Messages}/Error.js.map +0 -0
  243. /package/{dist/Messages → Messages}/Loading.d.ts +0 -0
  244. /package/{dist/Messages → Messages}/Loading.js +0 -0
  245. /package/{dist/Messages → Messages}/Loading.js.map +0 -0
  246. /package/{dist/Messages → Messages}/Update.d.ts +0 -0
  247. /package/{dist/Messages → Messages}/Update.js +0 -0
  248. /package/{dist/Messages → Messages}/Update.js.map +0 -0
  249. /package/{dist/Messages → Messages}/index.d.ts +0 -0
  250. /package/{dist/Messages → Messages}/index.js +0 -0
  251. /package/{dist/Messages → Messages}/index.js.map +0 -0
  252. /package/{dist/Modal → Modal}/ConfirmationModal.d.ts +0 -0
  253. /package/{dist/Modal → Modal}/ConfirmationModal.js +0 -0
  254. /package/{dist/Modal → Modal}/ConfirmationModal.js.map +0 -0
  255. /package/{dist/Modal → Modal}/ModalWindow.d.ts +0 -0
  256. /package/{dist/Modal → Modal}/ModalWindow.js +0 -0
  257. /package/{dist/Modal → Modal}/ModalWindow.js.map +0 -0
  258. /package/{dist/Modal → Modal}/Root.d.ts +0 -0
  259. /package/{dist/Modal → Modal}/Root.js +0 -0
  260. /package/{dist/Modal → Modal}/Root.js.map +0 -0
  261. /package/{dist/Modal → Modal}/actions.d.ts +0 -0
  262. /package/{dist/Modal → Modal}/actions.js +0 -0
  263. /package/{dist/Modal → Modal}/actions.js.map +0 -0
  264. /package/{dist/Modal → Modal}/getComponent.d.ts +0 -0
  265. /package/{dist/Modal → Modal}/getComponent.js +0 -0
  266. /package/{dist/Modal → Modal}/getComponent.js.map +0 -0
  267. /package/{dist/Modal → Modal}/index.d.ts +0 -0
  268. /package/{dist/Modal → Modal}/index.js +0 -0
  269. /package/{dist/Modal → Modal}/index.js.map +0 -0
  270. /package/{dist/Modal → Modal}/reducer.d.ts +0 -0
  271. /package/{dist/Modal → Modal}/reducer.js +0 -0
  272. /package/{dist/Modal → Modal}/reducer.js.map +0 -0
  273. /package/{dist/Modal → Modal}/types.d.ts +0 -0
  274. /package/{dist/Modal → Modal}/types.js +0 -0
  275. /package/{dist/Modal → Modal}/types.js.map +0 -0
  276. /package/{dist/Modal → Modal}/util.d.ts +0 -0
  277. /package/{dist/Modal → Modal}/util.js +0 -0
  278. /package/{dist/Modal → Modal}/util.js.map +0 -0
  279. /package/{dist/Payment → Payment}/Modal/BankTransfer.d.ts +0 -0
  280. /package/{dist/Payment → Payment}/Modal/BankTransfer.js +0 -0
  281. /package/{dist/Payment → Payment}/Modal/BankTransfer.js.map +0 -0
  282. /package/{dist/Payment → Payment}/Modal/BankTransferDoneModal.d.ts +0 -0
  283. /package/{dist/Payment → Payment}/Modal/BankTransferDoneModal.js +0 -0
  284. /package/{dist/Payment → Payment}/Modal/BankTransferDoneModal.js.map +0 -0
  285. /package/{dist/Payment → Payment}/Modal/index.d.ts +0 -0
  286. /package/{dist/Payment → Payment}/Modal/index.js +0 -0
  287. /package/{dist/Payment → Payment}/Modal/index.js.map +0 -0
  288. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferForm.d.ts +0 -0
  289. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferForm.js +0 -0
  290. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferForm.js.map +0 -0
  291. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferFormWrapper.d.ts +0 -0
  292. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferFormWrapper.js +0 -0
  293. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferFormWrapper.js.map +0 -0
  294. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferNumberField.d.ts +0 -0
  295. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferNumberField.js +0 -0
  296. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/BankTransferNumberField.js.map +0 -0
  297. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/validate.d.ts +0 -0
  298. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/validate.js +0 -0
  299. /package/{dist/Payment → Payment}/Pieces/BankTransferForm/validate.js.map +0 -0
  300. /package/{dist/Payment → Payment}/Pieces/MobilPayForm.d.ts +0 -0
  301. /package/{dist/Payment → Payment}/Pieces/MobilPayForm.js +0 -0
  302. /package/{dist/Payment → Payment}/Pieces/MobilPayForm.js.map +0 -0
  303. /package/{dist/Payment → Payment}/Pieces/Payment.d.ts +0 -0
  304. /package/{dist/Payment → Payment}/Pieces/Payment.js +0 -0
  305. /package/{dist/Payment → Payment}/Pieces/Payment.js.map +0 -0
  306. /package/{dist/Payment → Payment}/core/actions.d.ts +0 -0
  307. /package/{dist/Payment → Payment}/core/actions.js +0 -0
  308. /package/{dist/Payment → Payment}/core/actions.js.map +0 -0
  309. /package/{dist/Payment → Payment}/core/codes.d.ts +0 -0
  310. /package/{dist/Payment → Payment}/core/codes.js +0 -0
  311. /package/{dist/Payment → Payment}/core/codes.js.map +0 -0
  312. /package/{dist/Payment → Payment}/core/request.d.ts +0 -0
  313. /package/{dist/Payment → Payment}/core/request.js +0 -0
  314. /package/{dist/Payment → Payment}/core/request.js.map +0 -0
  315. /package/{dist/Payment → Payment}/core/util/info.d.ts +0 -0
  316. /package/{dist/Payment → Payment}/core/util/info.js +0 -0
  317. /package/{dist/Payment → Payment}/core/util/info.js.map +0 -0
  318. /package/{dist/Payment → Payment}/core/util/util.d.ts +0 -0
  319. /package/{dist/Payment → Payment}/core/util/util.js +0 -0
  320. /package/{dist/Payment → Payment}/core/util/util.js.map +0 -0
  321. /package/{dist/Payment → Payment}/index.d.ts +0 -0
  322. /package/{dist/Payment → Payment}/index.js +0 -0
  323. /package/{dist/Payment → Payment}/index.js.map +0 -0
  324. /package/{dist/UI → UI}/Collapse.d.ts +0 -0
  325. /package/{dist/UI → UI}/Collapse.js +0 -0
  326. /package/{dist/UI → UI}/Collapse.js.map +0 -0
  327. /package/{dist/UI → UI}/LoadImages.d.ts +0 -0
  328. /package/{dist/UI → UI}/LoadImages.js +0 -0
  329. /package/{dist/UI → UI}/LoadImages.js.map +0 -0
  330. /package/{dist/UI → UI}/NewFeature.d.ts +0 -0
  331. /package/{dist/UI → UI}/NewFeature.js +0 -0
  332. /package/{dist/UI → UI}/NewFeature.js.map +0 -0
  333. /package/{dist/UI → UI}/Things.d.ts +0 -0
  334. /package/{dist/UI → UI}/Things.js +0 -0
  335. /package/{dist/UI → UI}/Things.js.map +0 -0
  336. /package/{dist/actions.d.ts → actions.d.ts} +0 -0
  337. /package/{dist/actions.js → actions.js} +0 -0
  338. /package/{dist/actions.js.map → actions.js.map} +0 -0
  339. /package/{dist/config.d.ts → config.d.ts} +0 -0
  340. /package/{dist/config.js → config.js} +0 -0
  341. /package/{dist/config.js.map → config.js.map} +0 -0
  342. /package/{dist/index.js → index.js} +0 -0
  343. /package/{dist/index.js.map → index.js.map} +0 -0
  344. /package/{dist/reducer → reducer}/captchas.d.ts +0 -0
  345. /package/{dist/reducer → reducer}/captchas.js +0 -0
  346. /package/{dist/reducer → reducer}/captchas.js.map +0 -0
  347. /package/{dist/reducer → reducer}/index.d.ts +0 -0
  348. /package/{dist/reducer → reducer}/index.js +0 -0
  349. /package/{dist/reducer → reducer}/index.js.map +0 -0
  350. /package/{dist/reducer → reducer}/module.d.ts +0 -0
  351. /package/{dist/reducer → reducer}/module.js +0 -0
  352. /package/{dist/reducer → reducer}/module.js.map +0 -0
  353. /package/{dist/styles → styles}/index.css +0 -0
  354. /package/{dist/types.d.ts → types.d.ts} +0 -0
  355. /package/{dist/types.js → types.js} +0 -0
  356. /package/{dist/types.js.map → types.js.map} +0 -0
  357. /package/{dist/utility → utility}/breakpoint.d.ts +0 -0
  358. /package/{dist/utility → utility}/breakpoint.js +0 -0
  359. /package/{dist/utility → utility}/breakpoint.js.map +0 -0
  360. /package/{dist/utility → utility}/calendar.d.ts +0 -0
  361. /package/{dist/utility → utility}/calendar.js +0 -0
  362. /package/{dist/utility → utility}/calendar.js.map +0 -0
  363. /package/{dist/utility → utility}/date.d.ts +0 -0
  364. /package/{dist/utility → utility}/date.js +0 -0
  365. /package/{dist/utility → utility}/date.js.map +0 -0
  366. /package/{dist/utility → utility}/dev/ErrorBoundary.d.ts +0 -0
  367. /package/{dist/utility → utility}/dev/ErrorBoundary.js +0 -0
  368. /package/{dist/utility → utility}/dev/ErrorBoundary.js.map +0 -0
  369. /package/{dist/utility → utility}/dev/TheError.d.ts +0 -0
  370. /package/{dist/utility → utility}/dev/TheError.js +0 -0
  371. /package/{dist/utility → utility}/dev/TheError.js.map +0 -0
  372. /package/{dist/utility → utility}/dev/index.d.ts +0 -0
  373. /package/{dist/utility → utility}/dev/index.js +0 -0
  374. /package/{dist/utility → utility}/dev/index.js.map +0 -0
  375. /package/{dist/utility → utility}/dev/types.d.ts +0 -0
  376. /package/{dist/utility → utility}/dev/types.js +0 -0
  377. /package/{dist/utility → utility}/dev/types.js.map +0 -0
  378. /package/{dist/utility → utility}/hooks.d.ts +0 -0
  379. /package/{dist/utility → utility}/hooks.js +0 -0
  380. /package/{dist/utility → utility}/hooks.js.map +0 -0
  381. /package/{dist/utility → utility}/index.d.ts +0 -0
  382. /package/{dist/utility → utility}/index.js +0 -0
  383. /package/{dist/utility → utility}/index.js.map +0 -0
  384. /package/{dist/utility → utility}/languages/date.d.ts +0 -0
  385. /package/{dist/utility → utility}/languages/date.js +0 -0
  386. /package/{dist/utility → utility}/languages/date.js.map +0 -0
  387. /package/{dist/utility → utility}/languages/english.d.ts +0 -0
  388. /package/{dist/utility → utility}/languages/english.js +0 -0
  389. /package/{dist/utility → utility}/languages/english.js.map +0 -0
  390. /package/{dist/utility → utility}/languages/ro.d.ts +0 -0
  391. /package/{dist/utility → utility}/languages/ro.js +0 -0
  392. /package/{dist/utility → utility}/languages/ro.js.map +0 -0
  393. /package/{dist/utility → utility}/normalize.d.ts +0 -0
  394. /package/{dist/utility → utility}/normalize.js +0 -0
  395. /package/{dist/utility → utility}/normalize.js.map +0 -0
  396. /package/{dist/utility → utility}/numbers.d.ts +0 -0
  397. /package/{dist/utility → utility}/numbers.js +0 -0
  398. /package/{dist/utility → utility}/numbers.js.map +0 -0
  399. /package/{dist/utility → utility}/numeric.d.ts +0 -0
  400. /package/{dist/utility → utility}/numeric.js +0 -0
  401. /package/{dist/utility → utility}/numeric.js.map +0 -0
  402. /package/{dist/utility → utility}/others.d.ts +0 -0
  403. /package/{dist/utility → utility}/others.js +0 -0
  404. /package/{dist/utility → utility}/others.js.map +0 -0
  405. /package/{dist/utility → utility}/strings.d.ts +0 -0
  406. /package/{dist/utility → utility}/strings.js +0 -0
  407. /package/{dist/utility → utility}/strings.js.map +0 -0
  408. /package/{dist/utility → utility}/uuid.d.ts +0 -0
  409. /package/{dist/utility → utility}/uuid.js +0 -0
  410. /package/{dist/utility → utility}/uuid.js.map +0 -0
  411. /package/{dist/utility → utility}/validation/common.d.ts +0 -0
  412. /package/{dist/utility → utility}/validation/common.js +0 -0
  413. /package/{dist/utility → utility}/validation/common.js.map +0 -0
  414. /package/{dist/utility → utility}/validation/index.d.ts +0 -0
  415. /package/{dist/utility → utility}/validation/index.js +0 -0
  416. /package/{dist/utility → utility}/validation/index.js.map +0 -0
  417. /package/{dist/utility → utility}/validation/specific.d.ts +0 -0
  418. /package/{dist/utility → utility}/validation/specific.js +0 -0
  419. /package/{dist/utility → utility}/validation/specific.js.map +0 -0
  420. /package/{dist/utility → utility}/validation/types.d.ts +0 -0
  421. /package/{dist/utility → utility}/validation/types.js +0 -0
  422. /package/{dist/utility → utility}/validation/types.js.map +0 -0
  423. /package/{dist/utility → utility}/validation/validate/date.d.ts +0 -0
  424. /package/{dist/utility → utility}/validation/validate/date.js +0 -0
  425. /package/{dist/utility → utility}/validation/validate/date.js.map +0 -0
  426. /package/{dist/utility → utility}/validation/validate/email.d.ts +0 -0
  427. /package/{dist/utility → utility}/validation/validate/email.js +0 -0
  428. /package/{dist/utility → utility}/validation/validate/email.js.map +0 -0
  429. /package/{dist/utility → utility}/validation/validate/index.d.ts +0 -0
  430. /package/{dist/utility → utility}/validation/validate/index.js +0 -0
  431. /package/{dist/utility → utility}/validation/validate/index.js.map +0 -0
  432. /package/{dist/utility → utility}/words.d.ts +0 -0
  433. /package/{dist/utility → utility}/words.js +0 -0
  434. /package/{dist/utility → utility}/words.js.map +0 -0
package/index.d.ts CHANGED
@@ -1 +1,7 @@
1
- declare module "react-notification-system-redux2";
1
+ export { default as NewFeature } from "./UI/NewFeature";
2
+ export { default as JSONSyntaxFromData } from "./Developer/JSONSyntaxFromData";
3
+ export { default as JSONSyntaxFromText } from "./Developer/JSONSyntaxFromText";
4
+ export { default as normalize } from "./utility/normalize";
5
+ export { default as words } from "./utility/words";
6
+ export { default as paymentUtils } from "./Payment/index";
7
+ export { default as Payment } from "./Payment/Pieces/Payment";
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
- "version": "17.7.0",
2
+ "version": "17.7.2",
3
3
  "name": "x25",
4
4
  "description": "x25",
5
5
  "type": "module",
6
6
  "types": "./index.d.ts",
7
7
  "scripts": {
8
- "load": "npm run intern-pre && cd dist && npm run ts && npm run intern-copy && npm run clean-dist && npm publish",
9
- "load-beta": "npm run intern-pre && cd dist && npm run ts && npm run intern-copy && npm publish --tag beta",
8
+ "load": "npm run intern-pre && npm run ts && npm run intern-copy && npm publish ./dist",
9
+ "load-beta": "npm run intern-pre && npm run ts && npm run intern-copy && npm publish ./dist --tag beta",
10
10
  "eslint": "eslint --ext .tsx,.ts src --fix",
11
11
  "intern-pre": "npm run eslint && npm run intern-clean && npm run intern-build",
12
12
  "knip": "knip --include-libs",
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,40 @@
1
+ import * as Immutable from "immutable";
2
+ import { describe, expect, test } from "vitest";
3
+ import { normalize } from "../";
4
+ describe("test util/normalize", () => {
5
+ const input = [
6
+ {
7
+ ID: 1,
8
+ Name: "BlaBla 1",
9
+ }, {
10
+ ID: 2,
11
+ Name: "BlaBla 2",
12
+ }, {
13
+ ID: 3,
14
+ Name: "BlaBla 3",
15
+ },
16
+ ];
17
+ describe("given an array", () => {
18
+ const result = normalize.normalizeArray(input);
19
+ test("normalizes the entities", () => {
20
+ expect(result.entities).toEqual(Immutable.Map({
21
+ "1": Immutable.Map({
22
+ ID: 1,
23
+ Name: "BlaBla 1",
24
+ }),
25
+ "2": Immutable.Map({
26
+ ID: 2,
27
+ Name: "BlaBla 2",
28
+ }),
29
+ "3": Immutable.Map({
30
+ ID: 3,
31
+ Name: "BlaBla 3",
32
+ }),
33
+ }));
34
+ });
35
+ test("normalizes the result", () => {
36
+ expect(result.result).toEqual(Immutable.List(["1", "2", "3"]));
37
+ });
38
+ });
39
+ });
40
+ //# sourceMappingURL=normalize.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize.test.js","sourceRoot":"","sources":["../../src/utility/normalize.test.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,SAAS,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEhC,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACnC,MAAM,KAAK,GAAG;QACZ;YACE,EAAE,EAAK,CAAC;YACR,IAAI,EAAG,UAAU;SAClB,EAAE;YACD,EAAE,EAAK,CAAC;YACR,IAAI,EAAG,UAAU;SAClB,EAAE;YACD,EAAE,EAAK,CAAC;YACR,IAAI,EAAG,UAAU;SAClB;KACF,CAAC;IAEF,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;QAC9B,MAAM,MAAM,GAAG,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAE/C,IAAI,CAAC,yBAAyB,EAAE,GAAG,EAAE;YACnC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC;gBAC5C,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;oBACjB,EAAE,EAAK,CAAC;oBACR,IAAI,EAAG,UAAU;iBAClB,CAAC;gBACF,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;oBACjB,EAAE,EAAK,CAAC;oBACR,IAAI,EAAG,UAAU;iBAClB,CAAC;gBACF,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;oBACjB,EAAE,EAAK,CAAC;oBACR,IAAI,EAAG,UAAU;iBAClB,CAAC;aACH,CAAC,CAAC,CAAC;QACN,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,uBAAuB,EAAE,GAAG,EAAE;YACjC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;QACjE,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,104 @@
1
+ import { describe, expect, test } from "vitest";
2
+ import { firstToUppercase, toLower, toTitle, toUpper } from "./strings";
3
+ // toTitle
4
+ (() => {
5
+ describe("Test toTitle", () => {
6
+ const tests = [
7
+ {
8
+ input: "",
9
+ output: "",
10
+ }, {
11
+ input: "cosovei",
12
+ output: "Cosovei",
13
+ }, {
14
+ input: "simona cosovei",
15
+ output: "Simona Cosovei",
16
+ }, {
17
+ input: "ștefănică țepeș",
18
+ output: "Ștefănică Țepeș",
19
+ }, {
20
+ input: "this is 4 long name 5",
21
+ output: "This Is 4 Long Name 5",
22
+ },
23
+ ];
24
+ for (const { input, output, } of tests) {
25
+ describe(`Given the raw string "${input}"`, () => {
26
+ test(`should be transformed to "${output}"`, () => {
27
+ expect(toTitle(input)).toEqual(output);
28
+ });
29
+ });
30
+ }
31
+ });
32
+ })();
33
+ // firstToUppercase
34
+ (() => {
35
+ describe("Test firstToUppercase", () => {
36
+ const tests = [
37
+ {
38
+ input: "",
39
+ output: "",
40
+ }, {
41
+ input: "sima",
42
+ output: "Sima",
43
+ }, {
44
+ input: "Simona Cosovei",
45
+ output: "Simona Cosovei",
46
+ }, {
47
+ input: "this is 4 long name 5",
48
+ output: "This is 4 long name 5",
49
+ },
50
+ ];
51
+ for (const { input, output, } of tests) {
52
+ describe(`given "${input}"`, () => {
53
+ test(`should be transformed to "${output}"`, () => {
54
+ expect(firstToUppercase(input)).toEqual(output);
55
+ });
56
+ });
57
+ }
58
+ });
59
+ })();
60
+ // toUpper
61
+ (() => {
62
+ const tests = [
63
+ {
64
+ input: "",
65
+ output: "",
66
+ }, {
67
+ input: "sima",
68
+ output: "SIMA",
69
+ }, {
70
+ input: "this is 4 long name 5",
71
+ output: "THIS IS 4 LONG NAME 5",
72
+ },
73
+ ];
74
+ for (const { input, output, } of tests) {
75
+ describe(`given "${input}"`, () => {
76
+ test(`should be transformed to "${output}"`, () => {
77
+ expect(toUpper(input)).toEqual(output);
78
+ });
79
+ });
80
+ }
81
+ })();
82
+ // toLower
83
+ (() => {
84
+ const tests = [
85
+ {
86
+ input: "",
87
+ output: "",
88
+ }, {
89
+ input: "siMa",
90
+ output: "sima",
91
+ }, {
92
+ input: "This is 4 long Name 5",
93
+ output: "this is 4 long name 5",
94
+ },
95
+ ];
96
+ for (const { input, output, } of tests) {
97
+ describe(`given "${input}"`, () => {
98
+ test(`should be transformed to "${output}"`, () => {
99
+ expect(toLower(input)).toEqual(output);
100
+ });
101
+ });
102
+ }
103
+ })();
104
+ //# sourceMappingURL=strings.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings.test.js","sourceRoot":"","sources":["../../src/utility/strings.test.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,24 @@
1
+ import { describe, expect, test } from "vitest";
2
+ import { isValidEmail } from "./email";
3
+ const valid = true, notValid = false;
4
+ describe("given an email without @ [email]", () => {
5
+ test("should not be valid", () => {
6
+ expect(isValidEmail("email")).toBe(notValid);
7
+ });
8
+ });
9
+ describe("given an email without the user [email@]", () => {
10
+ test("should not be valid", () => {
11
+ expect(isValidEmail("email@")).toBe(notValid);
12
+ });
13
+ });
14
+ describe("given an email without domain [email@email]", () => {
15
+ test("should not be valid", () => {
16
+ expect(isValidEmail("email@email")).toBe(notValid);
17
+ });
18
+ });
19
+ describe("given a good email (email@email.ro)", () => {
20
+ test("should be valid", () => {
21
+ expect(isValidEmail("email@email.ro")).toBe(valid);
22
+ });
23
+ });
24
+ //# sourceMappingURL=email.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.test.js","sourceRoot":"","sources":["../../../../src/utility/validation/validate/email.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,KAAK,GAAG,IAAI,EAChB,QAAQ,GAAG,KAAK,CAAC;AAEnB,QAAQ,CAAC,kCAAkC,EAAE,GAAG,EAAE;IAChD,IAAI,CAAC,qBAAqB,EAAE,GAAG,EAAE;QAC/B,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AACH,QAAQ,CAAC,0CAA0C,EAAE,GAAG,EAAE;IACxD,IAAI,CAAC,qBAAqB,EAAE,GAAG,EAAE;QAC/B,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AACH,QAAQ,CAAC,6CAA6C,EAAE,GAAG,EAAE;IAC3D,IAAI,CAAC,qBAAqB,EAAE,GAAG,EAAE;QAC/B,MAAM,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AACH,QAAQ,CAAC,qCAAqC,EAAE,GAAG,EAAE;IACnD,IAAI,CAAC,iBAAiB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/.eslintignore DELETED
@@ -1,3 +0,0 @@
1
- webpack.config.js
2
- node_modules
3
- dist
package/.eslintrc.json DELETED
@@ -1,350 +0,0 @@
1
- {
2
- "env": {
3
- "es2020": true,
4
- "browser": true
5
- },
6
- "rules": {
7
- "no-unused-vars": "off",
8
- "@typescript-eslint/no-unused-vars": [
9
- "error"
10
- ],
11
- "import/no-named-as-default-member": 0,
12
- "react/jsx-no-bind": 0,
13
- "complexity": 0,
14
- "no-warning-comments": 0,
15
- "semi": [
16
- "error"
17
- ],
18
- "indent": "off",
19
- "@typescript-eslint/indent": [
20
- "error",
21
- 2
22
- ],
23
- "quotes": [
24
- "error",
25
- "double",
26
- "avoid-escape"
27
- ],
28
- "strict": [
29
- "error",
30
- "global"
31
- ],
32
- "max-len": 0,
33
- "no-empty-function": 0,
34
- "new-cap": [
35
- 2,
36
- {
37
- "capIsNewExceptions": [
38
- "List",
39
- "Map",
40
- "OrderedList",
41
- "OrderedMap",
42
- "OrderedSet",
43
- "Record",
44
- "Stack"
45
- ]
46
- }
47
- ],
48
- "one-var": [
49
- "error",
50
- "consecutive"
51
- ],
52
- "camelcase": [
53
- "error",
54
- {
55
- "allow": [
56
- "^UNSAFE_"
57
- ]
58
- }
59
- ],
60
- "max-lines": [
61
- 2,
62
- 600
63
- ],
64
- "sort-keys": [
65
- "off"
66
- ],
67
- "sort-vars": [
68
- "off"
69
- ],
70
- "max-params": [
71
- "error",
72
- 5
73
- ],
74
- "no-ternary": [
75
- "off"
76
- ],
77
- "key-spacing": [
78
- "error",
79
- {
80
- "align": {
81
- "on": "colon",
82
- "afterColon": true,
83
- "beforeColon": true
84
- }
85
- }
86
- ],
87
- "quote-props": [
88
- "error",
89
- "consistent"
90
- ],
91
- "arrow-parens": [
92
- "error",
93
- "always"
94
- ],
95
- "comma-dangle": [
96
- "error",
97
- "always-multiline"
98
- ],
99
- "sort-imports": [
100
- "off"
101
- ],
102
- "padded-blocks": [
103
- "off"
104
- ],
105
- "max-statements": 0,
106
- "linebreak-style": [
107
- "error",
108
- "windows"
109
- ],
110
- "@typescript-eslint/no-explicit-any": 0,
111
- "no-extra-parens": [
112
- "off"
113
- ],
114
- "react/sort-comp": [
115
- 2,
116
- {
117
- "order": [
118
- "static-methods",
119
- "lifecycle",
120
- "render"
121
- ],
122
- "groups": {
123
- "lifecycle": [
124
- "defaultProps",
125
- "props",
126
- "contextTypes",
127
- "childContextTypes",
128
- "statics",
129
- "state",
130
- "everything-else",
131
- "constructor",
132
- "getDefaultProps",
133
- "getInitialState",
134
- "getChildContext",
135
- "componentWillMount",
136
- "componentDidMount",
137
- "componentWillReceiveProps",
138
- "shouldComponentUpdate",
139
- "componentWillUpdate",
140
- "componentDidUpdate",
141
- "componentWillUnmount"
142
- ]
143
- }
144
- }
145
- ],
146
- "arrow-body-style": [
147
- "error",
148
- "as-needed"
149
- ],
150
- "no-magic-numbers": [
151
- "error",
152
- {
153
- "ignore": [
154
- 0,
155
- 1,
156
- 2,
157
- 10
158
- ],
159
- "ignoreArrayIndexes": true
160
- }
161
- ],
162
- "react/jsx-indent": 0,
163
- "react/prop-types": 0,
164
- "multiline-ternary": [
165
- "off"
166
- ],
167
- "no-nested-ternary": 0,
168
- "react/jsx-newline": 0,
169
- "default-param-last": 0,
170
- "no-confusing-arrow": 0,
171
- "react/no-set-state": 0,
172
- "react/jsx-fragments": 0,
173
- "react/jsx-max-depth": 0,
174
- "react/no-deprecated": 0,
175
- "react/no-multi-comp": 0,
176
- "capitalized-comments": [
177
- "off"
178
- ],
179
- "max-classes-per-file": [
180
- "error",
181
- 2
182
- ],
183
- "no-underscore-dangle": 0,
184
- "no-use-before-define": "off",
185
- "object-curly-newline": [
186
- "off"
187
- ],
188
- "object-property-newline": [
189
- 2,
190
- {
191
- "allowAllPropertiesOnSameLine": true
192
- }
193
- ],
194
- "@typescript-eslint/no-this-alias": 0,
195
- "object-curly-spacing": [
196
- "error",
197
- "always"
198
- ],
199
- "react/jsx-sort-props": [
200
- 2,
201
- {
202
- "ignoreCase": true
203
- }
204
- ],
205
- "array-element-newline": [
206
- 1,
207
- "consistent"
208
- ],
209
- "react/jsx-no-literals": 0,
210
- "react/no-unused-state": 0,
211
- "class-methods-use-this": [
212
- "error",
213
- {
214
- "exceptMethods": [
215
- "componentDidMount",
216
- "componentDidUpdate",
217
- "componentWillMount",
218
- "componentWillReceiveProps",
219
- "componentWillUnmount",
220
- "componentWillUpdate",
221
- "render",
222
- "shouldComponentUpdate"
223
- ]
224
- }
225
- ],
226
- "function-paren-newline": 0,
227
- "max-lines-per-function": 0,
228
- "react/jsx-indent-props": 0,
229
- "multiline-comment-style": 0,
230
- "react/jsx-handler-names": 0,
231
- "react/no-array-index-key": 0,
232
- "react/jsx-wrap-multilines": [
233
- "error",
234
- {
235
- "declaration": "parens",
236
- "assignment": "parens",
237
- "return": "parens",
238
- "arrow": "parens",
239
- "condition": "parens",
240
- "logical": "parens",
241
- "prop": "parens"
242
- }
243
- ],
244
- "no-promise-executor-return": 0,
245
- "react/no-unused-prop-types": 0,
246
- "react/require-optimization": 0,
247
- "react/state-in-constructor": 0,
248
- "lines-between-class-members": [
249
- "error",
250
- "always",
251
- {
252
- "exceptAfterSingleLine": true
253
- }
254
- ],
255
- "react/require-default-props": 0,
256
- "prefer-promise-reject-errors": 0,
257
- "react/forbid-component-props": 0,
258
- "react/jsx-filename-extension": 0,
259
- "react/jsx-max-props-per-line": 0,
260
- "react/jsx-props-no-spreading": 0,
261
- "react/jsx-sort-default-props": 0,
262
- "function-call-argument-newline": [
263
- "error",
264
- "consistent"
265
- ],
266
- "react/destructuring-assignment": 0,
267
- "react/jsx-curly-brace-presence": [
268
- 2,
269
- {
270
- "props": "never",
271
- "children": "ignore"
272
- }
273
- ],
274
- "padding-line-between-statements": [
275
- "error",
276
- {
277
- "next": "*",
278
- "prev": [
279
- "const",
280
- "let",
281
- "var"
282
- ],
283
- "blankLine": "always"
284
- },
285
- {
286
- "next": [
287
- "const",
288
- "let",
289
- "var"
290
- ],
291
- "prev": [
292
- "const",
293
- "let",
294
- "var"
295
- ],
296
- "blankLine": "any"
297
- }
298
- ],
299
- "react/jsx-one-expression-per-line": 0,
300
- "react/no-adjacent-inline-elements": 0,
301
- "react/jsx-closing-bracket-location": 0,
302
- "react/function-component-definition": 0,
303
- "react/default-props-match-prop-types": 0,
304
- "@typescript-eslint/no-use-before-define": [
305
- "error"
306
- ],
307
- "import/newline-after-import": 2,
308
- "import/order": 2
309
- },
310
- "parser": "@typescript-eslint/parser",
311
- "extends": [
312
- "eslint:all",
313
- "plugin:react/all",
314
- "plugin:import/errors",
315
- "plugin:import/warnings",
316
- "plugin:@typescript-eslint/recommended"
317
- ],
318
- "plugins": [
319
- "@typescript-eslint",
320
- "import",
321
- "react"
322
- ],
323
- "settings": {
324
- "react": {
325
- "pragma": "React",
326
- "version": "detect"
327
- },
328
- "import/parsers": {
329
- "@typescript-eslint/parser": [
330
- ".ts",
331
- ".tsx"
332
- ]
333
- },
334
- "import/resolver": {
335
- "typescript": {
336
- "project": [
337
- "./tsconfig.json"
338
- ]
339
- }
340
- }
341
- },
342
- "parserOptions": {
343
- "sourceType": "module",
344
- "ecmaVersion": 2022,
345
- "ecmaFeatures": {
346
- "jsx": true,
347
- "modules": true
348
- }
349
- }
350
- }
@@ -1,61 +0,0 @@
1
- {
2
- "cSpell.words": [
3
- "AIBK",
4
- "BMAG",
5
- "BNBG",
6
- "BOMM",
7
- "BRDE",
8
- "builtins",
9
- "camelcase",
10
- "captchas",
11
- "CBKU",
12
- "CECE",
13
- "CECEGR",
14
- "copyfiles",
15
- "cosovei",
16
- "customizer",
17
- "cwrp",
18
- "edonec",
19
- "iban",
20
- "jsxdev",
21
- "linebreak",
22
- "loadash",
23
- "MTLC",
24
- "multilines",
25
- "NABZ",
26
- "nextany",
27
- "nocheck",
28
- "Normalizr",
29
- "NWBK",
30
- "paginations",
31
- "paginators",
32
- "paren",
33
- "parens",
34
- "plusplus",
35
- "pmmmwh",
36
- "RABO",
37
- "RNCB",
38
- "Rouned",
39
- "RZBR",
40
- "SCBL",
41
- "sidebarprops",
42
- "SIDEWORK",
43
- "simona",
44
- "ștefănică",
45
- "țepeș"
46
- ],
47
- "files.exclude": {
48
- "**/.git": true,
49
- "**/.svn": true,
50
- "**/.hg": true,
51
- "**/CVS": true,
52
- "**/.DS_Store": true,
53
- "**/Thumbs.db": true,
54
- "**/node_modules": true,
55
- "**/script": true,
56
- "package-lock.json": true,
57
- "dist": true,
58
- "conf": true
59
- },
60
- "cSpell.language": "en,ro-RO"
61
- }
package/conf/dev.js DELETED
@@ -1,19 +0,0 @@
1
- // @flow
2
- /* eslint-disable no-console, no-undefined */
3
-
4
- const fileName = "config.json";
5
-
6
- const fs = require("fs");
7
-
8
- const file = require(`../${fileName}`);
9
-
10
- file.isProduction = false;
11
-
12
- fs.writeFile(fileName, JSON.stringify(file, null, 2), (err) => {
13
-
14
- if (err) {
15
- return console.log(err);
16
- }
17
-
18
- return undefined;
19
- });
package/conf/dist.js DELETED
@@ -1,19 +0,0 @@
1
- // @flow
2
- /* eslint-disable no-console, no-undefined */
3
-
4
- const fileName = "config.json";
5
-
6
- const fs = require("fs");
7
-
8
- const file = require(`../${fileName}`);
9
-
10
- file.isProduction = true;
11
-
12
- fs.writeFile(fileName, JSON.stringify(file, null, 2), (err) => {
13
-
14
- if (err) {
15
- return console.log(err);
16
- }
17
-
18
- return undefined;
19
- });
@@ -1,7 +0,0 @@
1
- /* eslint-disable */
2
-
3
- const raf = global.requestAnimationFrame = (cb) => {
4
- setTimeout(cb, 0);
5
- }
6
-
7
- export default raf;