@colijnit/ioneconnector 261.1.4 → 262.1.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 (443) hide show
  1. package/build/connector.d.ts +33 -33
  2. package/build/connector.js +79 -79
  3. package/build/connector.js.map +1 -1
  4. package/build/connector.unit.test.d.ts +1 -1
  5. package/build/connector.unit.test.js +108 -108
  6. package/build/enum/activate-user-account-status.enum.d.ts +6 -6
  7. package/build/enum/activate-user-account-status.enum.js +10 -10
  8. package/build/enum/activate-user-account-status.enum.js.map +1 -1
  9. package/build/enum/address-format.enum.d.ts +4 -4
  10. package/build/enum/address-format.enum.js +8 -8
  11. package/build/enum/address-format.enum.js.map +1 -1
  12. package/build/enum/backend-language-code.enum.d.ts +6 -6
  13. package/build/enum/backend-language-code.enum.js +10 -10
  14. package/build/enum/backend-language-code.enum.js.map +1 -1
  15. package/build/enum/backend-service-name.enum.d.ts +7 -7
  16. package/build/enum/backend-service-name.enum.js +11 -11
  17. package/build/enum/backend-service-name.enum.js.map +1 -1
  18. package/build/enum/communication-type.enum.d.ts +8 -8
  19. package/build/enum/communication-type.enum.js +12 -12
  20. package/build/enum/communication-type.enum.js.map +1 -1
  21. package/build/enum/datasession-service-method.enum.d.ts +13 -13
  22. package/build/enum/datasession-service-method.enum.js +17 -17
  23. package/build/enum/datasession-service-method.enum.js.map +1 -1
  24. package/build/enum/db-boolean-value-type.enum.d.ts +12 -12
  25. package/build/enum/db-boolean-value-type.enum.js +32 -32
  26. package/build/enum/db-boolean-value-type.enum.js.map +1 -1
  27. package/build/enum/end-point.enum.d.ts +4 -4
  28. package/build/enum/end-point.enum.js +8 -8
  29. package/build/enum/end-point.enum.js.map +1 -1
  30. package/build/enum/external-method.enum.d.ts +22 -22
  31. package/build/enum/external-method.enum.js +26 -26
  32. package/build/enum/external-method.enum.js.map +1 -1
  33. package/build/enum/file-type-internal.enum.d.ts +11 -11
  34. package/build/enum/file-type-internal.enum.js +15 -15
  35. package/build/enum/file-type-internal.enum.js.map +1 -1
  36. package/build/enum/file-type.enum.d.ts +5 -5
  37. package/build/enum/file-type.enum.js +9 -9
  38. package/build/enum/file-type.enum.js.map +1 -1
  39. package/build/enum/filter-type.enum.d.ts +4 -4
  40. package/build/enum/filter-type.enum.js +8 -8
  41. package/build/enum/filter-type.enum.js.map +1 -1
  42. package/build/enum/health-service-method.enum.d.ts +3 -3
  43. package/build/enum/health-service-method.enum.js +7 -7
  44. package/build/enum/health-service-method.enum.js.map +1 -1
  45. package/build/enum/language-code.enum.d.ts +7 -7
  46. package/build/enum/language-code.enum.js +11 -11
  47. package/build/enum/language-code.enum.js.map +1 -1
  48. package/build/enum/login-service-method.enum.d.ts +25 -25
  49. package/build/enum/login-service-method.enum.js +29 -29
  50. package/build/enum/login-service-method.enum.js.map +1 -1
  51. package/build/enum/login-status.enum.d.ts +20 -20
  52. package/build/enum/login-status.enum.js +24 -24
  53. package/build/enum/login-status.enum.js.map +1 -1
  54. package/build/enum/message-type.enum.d.ts +6 -6
  55. package/build/enum/message-type.enum.js +10 -10
  56. package/build/enum/message-type.enum.js.map +1 -1
  57. package/build/enum/object-config-kind.d.ts +9 -9
  58. package/build/enum/object-config-kind.js +13 -13
  59. package/build/enum/object-config-kind.js.map +1 -1
  60. package/build/enum/object-configuration-data-type.enum.d.ts +7 -7
  61. package/build/enum/object-configuration-data-type.enum.js +11 -11
  62. package/build/enum/object-configuration-data-type.enum.js.map +1 -1
  63. package/build/enum/object-configuration-value-type.enum.d.ts +10 -10
  64. package/build/enum/object-configuration-value-type.enum.js +14 -14
  65. package/build/enum/object-configuration-value-type.enum.js.map +1 -1
  66. package/build/enum/object-right-type.enum.d.ts +5 -5
  67. package/build/enum/object-right-type.enum.js +9 -9
  68. package/build/enum/object-right-type.enum.js.map +1 -1
  69. package/build/enum/one-zero-bool-db-type.enum.d.ts +5 -5
  70. package/build/enum/one-zero-bool-db-type.enum.js +20 -20
  71. package/build/enum/one-zero-bool-db-type.enum.js.map +1 -1
  72. package/build/enum/public-service-method.enum.d.ts +5 -5
  73. package/build/enum/public-service-method.enum.js +9 -9
  74. package/build/enum/public-service-method.enum.js.map +1 -1
  75. package/build/enum/reset-password-status.enum.d.ts +5 -5
  76. package/build/enum/reset-password-status.enum.js +9 -9
  77. package/build/enum/reset-password-status.enum.js.map +1 -1
  78. package/build/enum/screen-config-subcategory.enum.d.ts +2 -2
  79. package/build/enum/screen-config-subcategory.enum.js +2 -2
  80. package/build/enum/search-data-type.enum.d.ts +4 -4
  81. package/build/enum/search-data-type.enum.js +8 -8
  82. package/build/enum/search-data-type.enum.js.map +1 -1
  83. package/build/enum/search-property-state.enum.d.ts +5 -5
  84. package/build/enum/search-property-state.enum.js +9 -9
  85. package/build/enum/search-property-state.enum.js.map +1 -1
  86. package/build/enum/sort-direction.d.ts +5 -5
  87. package/build/enum/sort-direction.js +12 -12
  88. package/build/enum/sort-direction.js.map +1 -1
  89. package/build/enum/sort-type.enum.d.ts +6 -6
  90. package/build/enum/sort-type.enum.js +10 -10
  91. package/build/enum/sort-type.enum.js.map +1 -1
  92. package/build/enum/true-false-db-type.enum.d.ts +5 -5
  93. package/build/enum/true-false-db-type.enum.js +20 -20
  94. package/build/enum/true-false-db-type.enum.js.map +1 -1
  95. package/build/enum/user-info-service-method.enum.d.ts +3 -3
  96. package/build/enum/user-info-service-method.enum.js +7 -7
  97. package/build/enum/user-info-service-method.enum.js.map +1 -1
  98. package/build/enum/user-right-type.enum.d.ts +7 -7
  99. package/build/enum/user-right-type.enum.js +11 -11
  100. package/build/enum/user-right-type.enum.js.map +1 -1
  101. package/build/enum/user-role-type.enum.d.ts +17 -17
  102. package/build/enum/user-role-type.enum.js +21 -21
  103. package/build/enum/user-role-type.enum.js.map +1 -1
  104. package/build/enum/value-comparison-type.enum.d.ts +15 -15
  105. package/build/enum/value-comparison-type.enum.js +31 -31
  106. package/build/enum/value-comparison-type.enum.js.map +1 -1
  107. package/build/enum/yes-no-db-type.enum.d.ts +5 -5
  108. package/build/enum/yes-no-db-type.enum.js +20 -20
  109. package/build/enum/yes-no-db-type.enum.js.map +1 -1
  110. package/build/factory/business-object-serializer.d.ts +11 -11
  111. package/build/factory/business-object-serializer.js +145 -145
  112. package/build/factory/business-object-serializer.js.map +1 -1
  113. package/build/factory/decorators/bo-factory-step.decorator.d.ts +4 -4
  114. package/build/factory/decorators/bo-factory-step.decorator.js +16 -16
  115. package/build/factory/decorators/bo-factory-step.decorator.js.map +1 -1
  116. package/build/factory/decorators/bo-serializer-step.decorator.d.ts +4 -4
  117. package/build/factory/decorators/bo-serializer-step.decorator.js +16 -16
  118. package/build/factory/decorators/bo-serializer-step.decorator.js.map +1 -1
  119. package/build/factory/decorators/boolean.decorator.d.ts +12 -12
  120. package/build/factory/decorators/boolean.decorator.js +73 -73
  121. package/build/factory/decorators/boolean.decorator.js.map +1 -1
  122. package/build/factory/decorators/business-object-data.decorator.d.ts +23 -23
  123. package/build/factory/decorators/business-object-data.decorator.js +87 -87
  124. package/build/factory/decorators/business-object-data.decorator.js.map +1 -1
  125. package/build/factory/decorators/co-inject.decorator.d.ts +7 -7
  126. package/build/factory/decorators/co-inject.decorator.js +54 -54
  127. package/build/factory/decorators/co-inject.decorator.js.map +1 -1
  128. package/build/factory/decorators/complex-array.decorator.d.ts +6 -6
  129. package/build/factory/decorators/complex-array.decorator.js +37 -37
  130. package/build/factory/decorators/complex-array.decorator.js.map +1 -1
  131. package/build/factory/decorators/complex-field.decorator.d.ts +6 -6
  132. package/build/factory/decorators/complex-field.decorator.js +37 -37
  133. package/build/factory/decorators/complex-field.decorator.js.map +1 -1
  134. package/build/factory/decorators/date-field.decorator.d.ts +6 -6
  135. package/build/factory/decorators/date-field.decorator.js +27 -27
  136. package/build/factory/decorators/date-field.decorator.js.map +1 -1
  137. package/build/factory/decorators/db-field-alias.decorator.d.ts +6 -6
  138. package/build/factory/decorators/db-field-alias.decorator.js +40 -40
  139. package/build/factory/decorators/db-field-alias.decorator.js.map +1 -1
  140. package/build/factory/decorators/db-method-value.decorator.d.ts +5 -5
  141. package/build/factory/decorators/db-method-value.decorator.js +19 -19
  142. package/build/factory/decorators/db-method-value.decorator.js.map +1 -1
  143. package/build/factory/decorators/db-number.decorator.d.ts +6 -6
  144. package/build/factory/decorators/db-number.decorator.js +35 -35
  145. package/build/factory/decorators/db-number.decorator.js.map +1 -1
  146. package/build/factory/decorators/default-send-value.decorator.d.ts +7 -7
  147. package/build/factory/decorators/default-send-value.decorator.js +53 -53
  148. package/build/factory/decorators/default-send-value.decorator.js.map +1 -1
  149. package/build/factory/decorators/exclude-when-empty-string.decorator.d.ts +5 -5
  150. package/build/factory/decorators/exclude-when-empty-string.decorator.js +19 -19
  151. package/build/factory/decorators/exclude-when-empty-string.decorator.js.map +1 -1
  152. package/build/factory/decorators/json.decorator.d.ts +6 -6
  153. package/build/factory/decorators/json.decorator.js +26 -26
  154. package/build/factory/decorators/json.decorator.js.map +1 -1
  155. package/build/factory/decorators/map-property.decorator.d.ts +6 -6
  156. package/build/factory/decorators/map-property.decorator.js +29 -29
  157. package/build/factory/decorators/map-property.decorator.js.map +1 -1
  158. package/build/factory/decorators/no-db-field.decorator.d.ts +5 -5
  159. package/build/factory/decorators/no-db-field.decorator.js +34 -34
  160. package/build/factory/decorators/no-db-field.decorator.js.map +1 -1
  161. package/build/factory/decorators/number-string.decorator.d.ts +6 -6
  162. package/build/factory/decorators/number-string.decorator.js +23 -23
  163. package/build/factory/decorators/number-string.decorator.js.map +1 -1
  164. package/build/factory/decorators/simple-method-tag.decorator.d.ts +6 -6
  165. package/build/factory/decorators/simple-method-tag.decorator.js +31 -31
  166. package/build/factory/decorators/simple-method-tag.decorator.js.map +1 -1
  167. package/build/factory/decorators/simple-property-tag.decorator.d.ts +6 -6
  168. package/build/factory/decorators/simple-property-tag.decorator.js +38 -38
  169. package/build/factory/decorators/simple-property-tag.decorator.js.map +1 -1
  170. package/build/factory/decorators/string-number.decorator.d.ts +7 -7
  171. package/build/factory/decorators/string-number.decorator.js +30 -30
  172. package/build/factory/decorators/string-number.decorator.js.map +1 -1
  173. package/build/factory/decorators/validate.decorator.d.ts +11 -11
  174. package/build/factory/decorators/validate.decorator.js +55 -55
  175. package/build/factory/decorators/validate.decorator.js.map +1 -1
  176. package/build/interface/address-common-shape.interface.d.ts +14 -14
  177. package/build/interface/address-common-shape.interface.js +2 -2
  178. package/build/interface/business-object-data-shape.d.ts +19 -19
  179. package/build/interface/business-object-data-shape.js +2 -2
  180. package/build/interface/check-precision-and-scale-result.d.ts +4 -4
  181. package/build/interface/check-precision-and-scale-result.js +2 -2
  182. package/build/interface/check-within-stepped-bounds-result.d.ts +4 -4
  183. package/build/interface/check-within-stepped-bounds-result.js +2 -2
  184. package/build/interface/filter-property.d.ts +9 -9
  185. package/build/interface/filter-property.js +2 -2
  186. package/build/interface/login-storage-data.interface.d.ts +12 -12
  187. package/build/interface/login-storage-data.interface.js +2 -2
  188. package/build/interface/precision-scale-object.d.ts +4 -4
  189. package/build/interface/precision-scale-object.js +2 -2
  190. package/build/interface/search-property.d.ts +11 -11
  191. package/build/interface/search-property.js +2 -2
  192. package/build/interface/sort-property.d.ts +11 -11
  193. package/build/interface/sort-property.js +2 -2
  194. package/build/interface/text-part.d.ts +4 -4
  195. package/build/interface/text-part.js +2 -2
  196. package/build/interface/value-comparison-type-view-wrapper.d.ts +6 -6
  197. package/build/interface/value-comparison-type-view-wrapper.js +2 -2
  198. package/build/model/business-object.d.ts +13 -13
  199. package/build/model/business-object.js +34 -34
  200. package/build/model/company.bo.d.ts +9 -9
  201. package/build/model/company.bo.js +13 -13
  202. package/build/model/constant/java-constants.d.ts +2 -2
  203. package/build/model/constant/java-constants.js +5 -5
  204. package/build/model/country.bo.d.ts +11 -11
  205. package/build/model/country.bo.js +11 -11
  206. package/build/model/data-service-data.d.ts +15 -15
  207. package/build/model/data-service-data.js +6 -6
  208. package/build/model/data-service-response-data.d.ts +19 -19
  209. package/build/model/data-service-response-data.interface.d.ts +9 -9
  210. package/build/model/data-service-response-data.interface.js +2 -2
  211. package/build/model/data-service-response-data.js +57 -57
  212. package/build/model/data-service-response-data.js.map +1 -1
  213. package/build/model/data-service-response-exception.d.ts +29 -29
  214. package/build/model/data-service-response-exception.js +2 -2
  215. package/build/model/data-service-response-root.d.ts +7 -7
  216. package/build/model/data-service-response-root.js +2 -2
  217. package/build/model/default-all-scr-cfg-subcategory.d.ts +2 -2
  218. package/build/model/default-all-scr-cfg-subcategory.js +4 -4
  219. package/build/model/default-get-object-configurations-params.d.ts +2 -2
  220. package/build/model/default-get-object-configurations-params.js +5 -5
  221. package/build/model/field-validation.d.ts +11 -11
  222. package/build/model/field-validation.interface.d.ts +6 -6
  223. package/build/model/field-validation.interface.js +2 -2
  224. package/build/model/field-validation.js +76 -76
  225. package/build/model/field-validation.js.map +1 -1
  226. package/build/model/field-validations-object.d.ts +4 -4
  227. package/build/model/field-validations-object.interface.d.ts +4 -4
  228. package/build/model/field-validations-object.interface.js +2 -2
  229. package/build/model/field-validations-object.js +2 -2
  230. package/build/model/ione-local-storage-root-object.d.ts +5 -5
  231. package/build/model/ione-local-storage-root-object.js +9 -9
  232. package/build/model/keycloak-parameters.bo.d.ts +5 -5
  233. package/build/model/keycloak-parameters.bo.js +7 -7
  234. package/build/model/local-storage-root-object.d.ts +4 -4
  235. package/build/model/local-storage-root-object.js +9 -9
  236. package/build/model/local-storage-schema-object.d.ts +6 -6
  237. package/build/model/local-storage-schema-object.js +9 -9
  238. package/build/model/local-storage-user-object.d.ts +11 -11
  239. package/build/model/local-storage-user-object.js +9 -9
  240. package/build/model/login-request.d.ts +16 -16
  241. package/build/model/login-request.interface.d.ts +12 -12
  242. package/build/model/login-request.interface.js +2 -2
  243. package/build/model/login-request.js +6 -6
  244. package/build/model/login-response.d.ts +36 -36
  245. package/build/model/login-response.interface.d.ts +22 -22
  246. package/build/model/login-response.interface.js +2 -2
  247. package/build/model/login-response.js +57 -57
  248. package/build/model/login-response.js.map +1 -1
  249. package/build/model/login-service-request-data.d.ts +17 -17
  250. package/build/model/login-service-request-data.js +2 -2
  251. package/build/model/login.d.ts +16 -16
  252. package/build/model/login.js +35 -35
  253. package/build/model/menu-content.bo.d.ts +13 -13
  254. package/build/model/menu-content.bo.js +13 -13
  255. package/build/model/object-configuration.d.ts +53 -53
  256. package/build/model/object-configuration.js +200 -200
  257. package/build/model/object-configuration.js.map +1 -1
  258. package/build/model/options.d.ts +29 -29
  259. package/build/model/options.js +16 -16
  260. package/build/model/paging-parameters.d.ts +15 -15
  261. package/build/model/paging-parameters.interface.d.ts +6 -6
  262. package/build/model/paging-parameters.interface.js +6 -6
  263. package/build/model/paging-parameters.js +37 -37
  264. package/build/model/paging-parameters.js.map +1 -1
  265. package/build/model/public-service-request-data.d.ts +5 -5
  266. package/build/model/public-service-request-data.js +2 -2
  267. package/build/model/server-response-data.d.ts +5 -5
  268. package/build/model/server-response-data.js +2 -2
  269. package/build/model/server-stack-trace-element.d.ts +7 -7
  270. package/build/model/server-stack-trace-element.js +2 -2
  271. package/build/model/session.d.ts +6 -6
  272. package/build/model/session.js +6 -6
  273. package/build/model/token-response.bo.d.ts +5 -5
  274. package/build/model/token-response.bo.js +7 -7
  275. package/build/model/user-parameters-values.bo.d.ts +8 -8
  276. package/build/model/user-parameters-values.bo.js +7 -7
  277. package/build/model/validation-message.d.ts +13 -13
  278. package/build/model/validation-message.interface.d.ts +6 -6
  279. package/build/model/validation-message.interface.js +2 -2
  280. package/build/model/validation-message.js +48 -48
  281. package/build/model/validation-message.js.map +1 -1
  282. package/build/model/validation-result.d.ts +34 -34
  283. package/build/model/validation-result.interface.d.ts +14 -14
  284. package/build/model/validation-result.interface.js +2 -2
  285. package/build/model/validation-result.js +192 -192
  286. package/build/model/validation-result.js.map +1 -1
  287. package/build/provider/ajax.service.d.ts +38 -38
  288. package/build/provider/ajax.service.js +381 -381
  289. package/build/provider/ajax.service.js.map +1 -1
  290. package/build/provider/base-backend-connection.service.d.ts +47 -47
  291. package/build/provider/base-backend-connection.service.js +188 -188
  292. package/build/provider/base-backend-connection.service.js.map +1 -1
  293. package/build/service/business-object-factory.d.ts +13 -13
  294. package/build/service/business-object-factory.js +235 -235
  295. package/build/service/business-object-factory.js.map +1 -1
  296. package/build/service/datasession.service.d.ts +9 -9
  297. package/build/service/datasession.service.js +26 -26
  298. package/build/service/datasession.service.js.map +1 -1
  299. package/build/service/encrypt.service.d.ts +6 -6
  300. package/build/service/encrypt.service.js +30 -30
  301. package/build/service/encrypt.service.js.map +1 -1
  302. package/build/service/encrypt.service.unit.test.d.ts +1 -1
  303. package/build/service/encrypt.service.unit.test.js +14 -14
  304. package/build/service/external-jwt-token.service.d.ts +7 -7
  305. package/build/service/external-jwt-token.service.js +17 -17
  306. package/build/service/external-jwt-token.service.js.map +1 -1
  307. package/build/service/health.service.d.ts +10 -10
  308. package/build/service/health.service.js +34 -34
  309. package/build/service/health.service.js.map +1 -1
  310. package/build/service/internal-jwt-token.service.d.ts +8 -8
  311. package/build/service/internal-jwt-token.service.js +40 -40
  312. package/build/service/internal-jwt-token.service.js.map +1 -1
  313. package/build/service/jwt-token.service.d.ts +12 -12
  314. package/build/service/jwt-token.service.js +32 -32
  315. package/build/service/jwt-token.service.js.map +1 -1
  316. package/build/service/local-storage.service.d.ts +37 -37
  317. package/build/service/local-storage.service.js +248 -248
  318. package/build/service/local-storage.service.js.map +1 -1
  319. package/build/service/login.service.d.ts +50 -50
  320. package/build/service/login.service.js +321 -321
  321. package/build/service/login.service.js.map +1 -1
  322. package/build/service/public.service.d.ts +12 -12
  323. package/build/service/public.service.js +36 -36
  324. package/build/service/public.service.js.map +1 -1
  325. package/build/service/storage.service.d.ts +33 -33
  326. package/build/service/storage.service.js +94 -94
  327. package/build/service/storage.service.js.map +1 -1
  328. package/build/service/user-info.service.d.ts +9 -9
  329. package/build/service/user-info.service.js +33 -33
  330. package/build/service/user-info.service.js.map +1 -1
  331. package/build/tests/int/connector.int.test.d.ts +1 -1
  332. package/build/tests/int/connector.int.test.js +12 -12
  333. package/build/type/business-object-id-type.d.ts +4 -4
  334. package/build/type/business-object-id-type.js +13 -13
  335. package/build/type/business-object-id-type.js.map +1 -1
  336. package/build/type/object-configuration-default-value-type.d.ts +1 -1
  337. package/build/type/object-configuration-default-value-type.js +2 -2
  338. package/build/utils/array-utils.d.ts +38 -38
  339. package/build/utils/array-utils.js +375 -375
  340. package/build/utils/array-utils.js.map +1 -1
  341. package/build/utils/business-object-utils.d.ts +20 -20
  342. package/build/utils/business-object-utils.js +198 -198
  343. package/build/utils/business-object-utils.js.map +1 -1
  344. package/build/utils/date-utils.d.ts +5 -5
  345. package/build/utils/date-utils.js +24 -24
  346. package/build/utils/date-utils.js.map +1 -1
  347. package/build/utils/file-utils.d.ts +6 -6
  348. package/build/utils/file-utils.js +66 -66
  349. package/build/utils/file-utils.js.map +1 -1
  350. package/build/utils/function/any-nill.function.d.ts +1 -1
  351. package/build/utils/function/any-nill.function.js +15 -16
  352. package/build/utils/function/any-nill.function.js.map +1 -1
  353. package/build/utils/function/is-nill.function.d.ts +1 -1
  354. package/build/utils/function/is-nill.function.js +6 -7
  355. package/build/utils/function/is-nill.function.js.map +1 -1
  356. package/build/utils/function/not-nill.function.d.ts +1 -1
  357. package/build/utils/function/not-nill.function.js +6 -7
  358. package/build/utils/function/not-nill.function.js.map +1 -1
  359. package/build/utils/function-utils.d.ts +4 -4
  360. package/build/utils/function-utils.js +31 -31
  361. package/build/utils/function-utils.js.map +1 -1
  362. package/build/utils/image-utils.d.ts +4 -4
  363. package/build/utils/image-utils.js +28 -28
  364. package/build/utils/image-utils.js.map +1 -1
  365. package/build/utils/map-utils.d.ts +4 -4
  366. package/build/utils/map-utils.js +31 -31
  367. package/build/utils/map-utils.js.map +1 -1
  368. package/build/utils/number-utils.d.ts +39 -39
  369. package/build/utils/number-utils.js +268 -268
  370. package/build/utils/number-utils.js.map +1 -1
  371. package/build/utils/object-utils.d.ts +21 -21
  372. package/build/utils/object-utils.js +247 -247
  373. package/build/utils/object-utils.js.map +1 -1
  374. package/build/utils/parameter-value-conversion-utils.d.ts +3 -3
  375. package/build/utils/parameter-value-conversion-utils.js +19 -19
  376. package/build/utils/parameter-value-conversion-utils.js.map +1 -1
  377. package/build/utils/promise-utils.d.ts +6 -6
  378. package/build/utils/promise-utils.js +22 -22
  379. package/build/utils/promise-utils.js.map +1 -1
  380. package/build/utils/ref-code-utils.d.ts +4 -4
  381. package/build/utils/ref-code-utils.js +19 -19
  382. package/build/utils/ref-code-utils.js.map +1 -1
  383. package/build/utils/sort-utils.d.ts +12 -12
  384. package/build/utils/sort-utils.js +120 -120
  385. package/build/utils/sort-utils.js.map +1 -1
  386. package/build/utils/string-utils.d.ts +25 -25
  387. package/build/utils/string-utils.js +212 -212
  388. package/build/utils/string-utils.js.map +1 -1
  389. package/build/utils/url-utils.d.ts +4 -4
  390. package/build/utils/url-utils.js +33 -33
  391. package/build/utils/url-utils.js.map +1 -1
  392. package/build/validators/communication-type.validator.d.ts +1 -1
  393. package/build/validators/communication-type.validator.js +15 -16
  394. package/build/validators/communication-type.validator.js.map +1 -1
  395. package/build/validators/email.validator.d.ts +2 -2
  396. package/build/validators/email.validator.js +8 -9
  397. package/build/validators/email.validator.js.map +1 -1
  398. package/build/validators/empty-address.validator.d.ts +3 -3
  399. package/build/validators/empty-address.validator.js +11 -12
  400. package/build/validators/empty-address.validator.js.map +1 -1
  401. package/build/validators/empty-array.validator.d.ts +2 -2
  402. package/build/validators/empty-array.validator.js +13 -14
  403. package/build/validators/empty-array.validator.js.map +1 -1
  404. package/build/validators/end-date-equal.validator.d.ts +1 -1
  405. package/build/validators/end-date-equal.validator.js +16 -17
  406. package/build/validators/end-date-equal.validator.js.map +1 -1
  407. package/build/validators/end-date.validator.d.ts +1 -1
  408. package/build/validators/end-date.validator.js +16 -17
  409. package/build/validators/end-date.validator.js.map +1 -1
  410. package/build/validators/equal.validator.d.ts +2 -2
  411. package/build/validators/equal.validator.js +13 -14
  412. package/build/validators/equal.validator.js.map +1 -1
  413. package/build/validators/max-string-length.validator.d.ts +2 -2
  414. package/build/validators/max-string-length.validator.js +12 -13
  415. package/build/validators/max-string-length.validator.js.map +1 -1
  416. package/build/validators/nl-post-code.validator.d.ts +3 -3
  417. package/build/validators/nl-post-code.validator.js +13 -14
  418. package/build/validators/nl-post-code.validator.js.map +1 -1
  419. package/build/validators/password.validator.d.ts +3 -3
  420. package/build/validators/password.validator.js +32 -33
  421. package/build/validators/password.validator.js.map +1 -1
  422. package/build/validators/postal-code-function.validator.d.ts +2 -2
  423. package/build/validators/postal-code-function.validator.js +18 -19
  424. package/build/validators/postal-code-function.validator.js.map +1 -1
  425. package/build/validators/postal-code.validator.d.ts +1 -1
  426. package/build/validators/postal-code.validator.js +20 -21
  427. package/build/validators/postal-code.validator.js.map +1 -1
  428. package/build/validators/precision-scale.validator.d.ts +2 -2
  429. package/build/validators/precision-scale.validator.js +13 -14
  430. package/build/validators/precision-scale.validator.js.map +1 -1
  431. package/build/validators/required.validator.d.ts +2 -2
  432. package/build/validators/required.validator.js +7 -8
  433. package/build/validators/required.validator.js.map +1 -1
  434. package/build/validators/social-security-number.validator.d.ts +2 -2
  435. package/build/validators/social-security-number.validator.js +27 -28
  436. package/build/validators/social-security-number.validator.js.map +1 -1
  437. package/build/validators/space-trim.validator.d.ts +2 -2
  438. package/build/validators/space-trim.validator.js +11 -12
  439. package/build/validators/space-trim.validator.js.map +1 -1
  440. package/build/validators/true.validator.d.ts +2 -2
  441. package/build/validators/true.validator.js +7 -8
  442. package/build/validators/true.validator.js.map +1 -1
  443. package/package.json +9 -9
@@ -1,28 +1,28 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DateFieldFieldDecorator = exports.DateField = void 0;
4
- require("reflect-metadata");
5
- const date_utils_1 = require("../../utils/date-utils");
6
- const PROP_META_KEY = "dateField";
7
- function DateField() {
8
- return function (target, propertyKey) {
9
- if (!target || !propertyKey) {
10
- return;
11
- }
12
- Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
13
- };
14
- }
15
- exports.DateField = DateField;
16
- class DateFieldFieldDecorator {
17
- static IsDateField(target, propertyKey) {
18
- if (!target || !propertyKey || typeof target !== "object") {
19
- return false;
20
- }
21
- return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
22
- }
23
- static StringAsDate(str) {
24
- return date_utils_1.DateUtils.StringAsDate(str);
25
- }
26
- }
27
- exports.DateFieldFieldDecorator = DateFieldFieldDecorator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DateFieldFieldDecorator = void 0;
4
+ exports.DateField = DateField;
5
+ require("reflect-metadata");
6
+ const date_utils_1 = require("../../utils/date-utils");
7
+ const PROP_META_KEY = "dateField";
8
+ function DateField() {
9
+ return function (target, propertyKey) {
10
+ if (!target || !propertyKey) {
11
+ return;
12
+ }
13
+ Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
14
+ };
15
+ }
16
+ class DateFieldFieldDecorator {
17
+ static IsDateField(target, propertyKey) {
18
+ if (!target || !propertyKey || typeof target !== "object") {
19
+ return false;
20
+ }
21
+ return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
22
+ }
23
+ static StringAsDate(str) {
24
+ return date_utils_1.DateUtils.StringAsDate(str);
25
+ }
26
+ }
27
+ exports.DateFieldFieldDecorator = DateFieldFieldDecorator;
28
28
  //# sourceMappingURL=date-field.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-field.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/date-field.decorator.ts"],"names":[],"mappings":";;;AAAA,4BAA0B;AAC1B,uDAAiD;AAEjD,MAAM,aAAa,GAAW,WAAW,CAAC;AAe1C,SAAgB,SAAS;IACrB,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE;YACzB,OAAO;SACV;QACD,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IAC1E,CAAC,CAAC;AACN,CAAC;AAPD,8BAOC;AAGD,MAAa,uBAAuB;IAGzB,MAAM,CAAC,WAAW,CAAC,MAAc,EAAE,WAAmB;QACzD,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YACvD,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;IAEM,MAAM,CAAC,YAAY,CAAC,GAAW;QAClC,OAAO,sBAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IACvC,CAAC;CACJ;AAbD,0DAaC"}
1
+ {"version":3,"file":"date-field.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/date-field.decorator.ts"],"names":[],"mappings":";;;AAkBA,8BAOC;AAzBD,4BAA0B;AAC1B,uDAAiD;AAEjD,MAAM,aAAa,GAAW,WAAW,CAAC;AAe1C,SAAgB,SAAS;IACrB,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YAC1B,OAAO;QACX,CAAC;QACD,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IAC1E,CAAC,CAAC;AACN,CAAC;AAGD,MAAa,uBAAuB;IAGzB,MAAM,CAAC,WAAW,CAAC,MAAc,EAAE,WAAmB;QACzD,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;IAEM,MAAM,CAAC,YAAY,CAAC,GAAW;QAClC,OAAO,sBAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IACvC,CAAC;CACJ;AAbD,0DAaC"}
@@ -1,6 +1,6 @@
1
- import 'reflect-metadata';
2
- export declare function DbFieldAlias(alias: string): PropertyDecorator;
3
- export declare class DbFieldAliasDecorator {
4
- static GetDecoratedProperties(target: Object): string[];
5
- static GetDbAlias(target: Object, propertyKey: string): string;
6
- }
1
+ import 'reflect-metadata';
2
+ export declare function DbFieldAlias(alias: string): PropertyDecorator;
3
+ export declare class DbFieldAliasDecorator {
4
+ static GetDecoratedProperties(target: Object): string[];
5
+ static GetDbAlias(target: Object, propertyKey: string): string;
6
+ }
@@ -1,41 +1,41 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DbFieldAliasDecorator = exports.DbFieldAlias = void 0;
4
- require("reflect-metadata");
5
- const PROP_META_KEY = "dbFldAlias";
6
- const ALL_PROPS_META_KEY = "dbFldAliasProps";
7
- function DbFieldAlias(alias) {
8
- return function (target, propertyKey) {
9
- if (!target || !propertyKey) {
10
- return;
11
- }
12
- Reflect.defineMetadata(PROP_META_KEY, alias, target, propertyKey);
13
- let aliesFields = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
14
- if (!aliesFields) {
15
- aliesFields = new Set();
16
- }
17
- aliesFields.add(propertyKey);
18
- Reflect.defineMetadata(ALL_PROPS_META_KEY, aliesFields, target);
19
- };
20
- }
21
- exports.DbFieldAlias = DbFieldAlias;
22
- class DbFieldAliasDecorator {
23
- static GetDecoratedProperties(target) {
24
- if (!target || typeof target !== "object") {
25
- return [];
26
- }
27
- const allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
28
- if (!allProps) {
29
- return [];
30
- }
31
- return Array.from(allProps);
32
- }
33
- static GetDbAlias(target, propertyKey) {
34
- if (!target || !propertyKey || typeof target !== "object") {
35
- return undefined;
36
- }
37
- return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
38
- }
39
- }
40
- exports.DbFieldAliasDecorator = DbFieldAliasDecorator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DbFieldAliasDecorator = void 0;
4
+ exports.DbFieldAlias = DbFieldAlias;
5
+ require("reflect-metadata");
6
+ const PROP_META_KEY = "dbFldAlias";
7
+ const ALL_PROPS_META_KEY = "dbFldAliasProps";
8
+ function DbFieldAlias(alias) {
9
+ return function (target, propertyKey) {
10
+ if (!target || !propertyKey) {
11
+ return;
12
+ }
13
+ Reflect.defineMetadata(PROP_META_KEY, alias, target, propertyKey);
14
+ let aliesFields = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
15
+ if (!aliesFields) {
16
+ aliesFields = new Set();
17
+ }
18
+ aliesFields.add(propertyKey);
19
+ Reflect.defineMetadata(ALL_PROPS_META_KEY, aliesFields, target);
20
+ };
21
+ }
22
+ class DbFieldAliasDecorator {
23
+ static GetDecoratedProperties(target) {
24
+ if (!target || typeof target !== "object") {
25
+ return [];
26
+ }
27
+ const allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
28
+ if (!allProps) {
29
+ return [];
30
+ }
31
+ return Array.from(allProps);
32
+ }
33
+ static GetDbAlias(target, propertyKey) {
34
+ if (!target || !propertyKey || typeof target !== "object") {
35
+ return undefined;
36
+ }
37
+ return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
38
+ }
39
+ }
40
+ exports.DbFieldAliasDecorator = DbFieldAliasDecorator;
41
41
  //# sourceMappingURL=db-field-alias.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"db-field-alias.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/db-field-alias.decorator.ts"],"names":[],"mappings":";;;AAAA,4BAA0B;AAC1B,MAAM,aAAa,GAAW,YAAY,CAAC;AAC3C,MAAM,kBAAkB,GAAW,iBAAiB,CAAC;AAoBrD,SAAgB,YAAY,CAAC,KAAa;IACtC,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE;YACzB,OAAO;SACV;QAED,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QAGlE,IAAI,WAAW,GAAgB,OAAO,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC/E,IAAI,CAAC,WAAW,EAAE;YACd,WAAW,GAAG,IAAI,GAAG,EAAU,CAAC;SACnC;QACD,WAAW,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC7B,OAAO,CAAC,cAAc,CAAC,kBAAkB,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;IACpE,CAAC,CAAC;AACN,CAAC;AAhBD,oCAgBC;AAGD,MAAa,qBAAqB;IAEvB,MAAM,CAAC,sBAAsB,CAAC,MAAc;QAC/C,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YACvC,OAAO,EAAE,CAAC;SACb;QAED,MAAM,QAAQ,GAAgB,OAAO,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,QAAQ,EAAE;YACX,OAAO,EAAE,CAAC;SACb;QACD,OAAiB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1C,CAAC;IAGM,MAAM,CAAC,UAAU,CAAC,MAAc,EAAE,WAAmB;QACxD,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YACvD,OAAO,SAAS,CAAC;SACpB;QAED,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;CACJ;AAtBD,sDAsBC"}
1
+ {"version":3,"file":"db-field-alias.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/db-field-alias.decorator.ts"],"names":[],"mappings":";;;AAsBA,oCAgBC;AAtCD,4BAA0B;AAC1B,MAAM,aAAa,GAAW,YAAY,CAAC;AAC3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ACnE,CAAC;CACJ;AAtBD,sDAsBC"}
@@ -1,5 +1,5 @@
1
- export declare function DbMethodValue(): MethodDecorator;
2
- export declare class DbMethodValueDecorator {
3
- static IsDbMethodValueField(target: Object, propertyKey: string): boolean;
4
- static GetDecoratedProperties(target: Object): string[];
5
- }
1
+ export declare function DbMethodValue(): MethodDecorator;
2
+ export declare class DbMethodValueDecorator {
3
+ static IsDbMethodValueField(target: Object, propertyKey: string): boolean;
4
+ static GetDecoratedProperties(target: Object): string[];
5
+ }
@@ -1,20 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DbMethodValueDecorator = exports.DbMethodValue = void 0;
4
- const simple_method_tag_decorator_1 = require("./simple-method-tag.decorator");
5
- const PROP_META_KEY = "dbMethodValue";
6
- const ALL_PROPS_META_KEY = "dbMethodValues";
7
- function DbMethodValue() {
8
- return (0, simple_method_tag_decorator_1.simpleMethodTagDecorator)(PROP_META_KEY, ALL_PROPS_META_KEY);
9
- }
10
- exports.DbMethodValue = DbMethodValue;
11
- class DbMethodValueDecorator {
12
- static IsDbMethodValueField(target, propertyKey) {
13
- return simple_method_tag_decorator_1.SimpleMethodTagDecorator.IsDecoratedMethodProperty(target, propertyKey, PROP_META_KEY);
14
- }
15
- static GetDecoratedProperties(target) {
16
- return simple_method_tag_decorator_1.SimpleMethodTagDecorator.GetDecoratedMethodProperties(target, ALL_PROPS_META_KEY);
17
- }
18
- }
19
- exports.DbMethodValueDecorator = DbMethodValueDecorator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DbMethodValueDecorator = void 0;
4
+ exports.DbMethodValue = DbMethodValue;
5
+ const simple_method_tag_decorator_1 = require("./simple-method-tag.decorator");
6
+ const PROP_META_KEY = "dbMethodValue";
7
+ const ALL_PROPS_META_KEY = "dbMethodValues";
8
+ function DbMethodValue() {
9
+ return (0, simple_method_tag_decorator_1.simpleMethodTagDecorator)(PROP_META_KEY, ALL_PROPS_META_KEY);
10
+ }
11
+ class DbMethodValueDecorator {
12
+ static IsDbMethodValueField(target, propertyKey) {
13
+ return simple_method_tag_decorator_1.SimpleMethodTagDecorator.IsDecoratedMethodProperty(target, propertyKey, PROP_META_KEY);
14
+ }
15
+ static GetDecoratedProperties(target) {
16
+ return simple_method_tag_decorator_1.SimpleMethodTagDecorator.GetDecoratedMethodProperties(target, ALL_PROPS_META_KEY);
17
+ }
18
+ }
19
+ exports.DbMethodValueDecorator = DbMethodValueDecorator;
20
20
  //# sourceMappingURL=db-method-value.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"db-method-value.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/db-method-value.decorator.ts"],"names":[],"mappings":";;;AAAA,+EAAiG;AAEjG,MAAM,aAAa,GAAW,eAAe,CAAC;AAC9C,MAAM,kBAAkB,GAAW,gBAAgB,CAAC;AAEpD,SAAgB,aAAa;IACzB,OAAO,IAAA,sDAAwB,EAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AACvE,CAAC;AAFD,sCAEC;AAED,MAAa,sBAAsB;IACxB,MAAM,CAAC,oBAAoB,CAAC,MAAc,EAAE,WAAmB;QAClE,OAAO,sDAAwB,CAAC,yBAAyB,CAAC,MAAM,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;IAClG,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,MAAc;QAC/C,OAAO,sDAAwB,CAAC,4BAA4B,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC7F,CAAC;CACJ;AARD,wDAQC"}
1
+ {"version":3,"file":"db-method-value.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/db-method-value.decorator.ts"],"names":[],"mappings":";;;AAKA,sCAEC;AAPD,+EAAiG;AAEjG,MAAM,aAAa,GAAW,eAAe,CAAC;AAC9C,MAAM,kBAAkB,GAAW,gBAAgB,CAAC;AAEpD,SAAgB,aAAa;IACzB,OAAO,IAAA,sDAAwB,EAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AACvE,CAAC;AAED,MAAa,sBAAsB;IACxB,MAAM,CAAC,oBAAoB,CAAC,MAAc,EAAE,WAAmB;QAClE,OAAO,sDAAwB,CAAC,yBAAyB,CAAC,MAAM,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;IAClG,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,MAAc;QAC/C,OAAO,sDAAwB,CAAC,4BAA4B,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC7F,CAAC;CACJ;AARD,wDAQC"}
@@ -1,6 +1,6 @@
1
- import 'reflect-metadata';
2
- export declare function DbNumber(precision?: number, scale?: number): PropertyDecorator;
3
- export declare class DbNumberDecorator {
4
- static IsDbNumberField(target: Object, propertyKey: string): boolean;
5
- static GetDbSafeNumberVal(target: Object, propertyKey: string): number;
6
- }
1
+ import 'reflect-metadata';
2
+ export declare function DbNumber(precision?: number, scale?: number): PropertyDecorator;
3
+ export declare class DbNumberDecorator {
4
+ static IsDbNumberField(target: Object, propertyKey: string): boolean;
5
+ static GetDbSafeNumberVal(target: Object, propertyKey: string): number;
6
+ }
@@ -1,36 +1,36 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DbNumberDecorator = exports.DbNumber = void 0;
4
- require("reflect-metadata");
5
- const not_nill_function_1 = require("../../utils/function/not-nill.function");
6
- const number_utils_1 = require("../../utils/number-utils");
7
- const PROP_META_KEY = "dbNumber";
8
- function DbNumber(precision = 9, scale = 0) {
9
- return function (target, propertyKey) {
10
- if (!target || !propertyKey) {
11
- return;
12
- }
13
- Reflect.defineMetadata(PROP_META_KEY, { precision: precision, scale: scale }, target, propertyKey);
14
- };
15
- }
16
- exports.DbNumber = DbNumber;
17
- class DbNumberDecorator {
18
- static IsDbNumberField(target, propertyKey) {
19
- if (!target || !propertyKey || typeof target !== "object") {
20
- return false;
21
- }
22
- return ((0, not_nill_function_1.notNill)(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
23
- }
24
- static GetDbSafeNumberVal(target, propertyKey) {
25
- if (!target || !propertyKey || typeof target !== "object") {
26
- return undefined;
27
- }
28
- const metadata = Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
29
- if (!metadata) {
30
- return undefined;
31
- }
32
- return number_utils_1.NumberUtils.CheckPrecisionAndScale(target[propertyKey], metadata.precision, metadata.scale).nearestOkNr;
33
- }
34
- }
35
- exports.DbNumberDecorator = DbNumberDecorator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DbNumberDecorator = void 0;
4
+ exports.DbNumber = DbNumber;
5
+ require("reflect-metadata");
6
+ const not_nill_function_1 = require("../../utils/function/not-nill.function");
7
+ const number_utils_1 = require("../../utils/number-utils");
8
+ const PROP_META_KEY = "dbNumber";
9
+ function DbNumber(precision = 9, scale = 0) {
10
+ return function (target, propertyKey) {
11
+ if (!target || !propertyKey) {
12
+ return;
13
+ }
14
+ Reflect.defineMetadata(PROP_META_KEY, { precision: precision, scale: scale }, target, propertyKey);
15
+ };
16
+ }
17
+ class DbNumberDecorator {
18
+ static IsDbNumberField(target, propertyKey) {
19
+ if (!target || !propertyKey || typeof target !== "object") {
20
+ return false;
21
+ }
22
+ return ((0, not_nill_function_1.notNill)(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
23
+ }
24
+ static GetDbSafeNumberVal(target, propertyKey) {
25
+ if (!target || !propertyKey || typeof target !== "object") {
26
+ return undefined;
27
+ }
28
+ const metadata = Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
29
+ if (!metadata) {
30
+ return undefined;
31
+ }
32
+ return number_utils_1.NumberUtils.CheckPrecisionAndScale(target[propertyKey], metadata.precision, metadata.scale).nearestOkNr;
33
+ }
34
+ }
35
+ exports.DbNumberDecorator = DbNumberDecorator;
36
36
  //# sourceMappingURL=db-number.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"db-number.decorator.js","sourceRoot":"","sources":["../../../src/factory/dec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BAAsB,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC;IACnH,CAAC;CACJ;AA/BD,8CA+BC"}
@@ -1,7 +1,7 @@
1
- import 'reflect-metadata';
2
- export declare function DefaultSendValue(defaultFieldValue?: any): PropertyDecorator;
3
- export declare class DefaultSendValueDecorator {
4
- static GetAllDecoratedProperties(target: Object): string[];
5
- static HasDefaultDecorator(target: Object, propertyKey: string): boolean;
6
- static GetDefaultValue(target: Object, propertyKey: string): any;
7
- }
1
+ import 'reflect-metadata';
2
+ export declare function DefaultSendValue(defaultFieldValue?: any): PropertyDecorator;
3
+ export declare class DefaultSendValueDecorator {
4
+ static GetAllDecoratedProperties(target: Object): string[];
5
+ static HasDefaultDecorator(target: Object, propertyKey: string): boolean;
6
+ static GetDefaultValue(target: Object, propertyKey: string): any;
7
+ }
@@ -1,54 +1,54 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DefaultSendValueDecorator = exports.DefaultSendValue = void 0;
4
- require("reflect-metadata");
5
- const PROP_META_KEY = "defaultFieldValue";
6
- const ALL_PROPS_META_KEY = "defaultFieldValueProps";
7
- function DefaultSendValue(defaultFieldValue) {
8
- return function (target, propertyKey) {
9
- if (!target || !propertyKey) {
10
- return;
11
- }
12
- Reflect.defineMetadata(PROP_META_KEY, defaultFieldValue, target, propertyKey);
13
- let defaultProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
14
- if (!defaultProps) {
15
- defaultProps = new Set();
16
- }
17
- defaultProps.add(propertyKey);
18
- Reflect.defineMetadata(ALL_PROPS_META_KEY, defaultProps, target);
19
- };
20
- }
21
- exports.DefaultSendValue = DefaultSendValue;
22
- class DefaultSendValueDecorator {
23
- static GetAllDecoratedProperties(target) {
24
- if (!target || typeof target !== "object") {
25
- return [];
26
- }
27
- const allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
28
- if (!allProps) {
29
- return [];
30
- }
31
- return Array.from(allProps);
32
- }
33
- static HasDefaultDecorator(target, propertyKey) {
34
- if (!target || !propertyKey || typeof target !== "object") {
35
- return false;
36
- }
37
- return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
38
- }
39
- static GetDefaultValue(target, propertyKey) {
40
- if (!target || !propertyKey || typeof target !== "object") {
41
- return undefined;
42
- }
43
- let defaultValue = undefined;
44
- if (this.HasDefaultDecorator(target, propertyKey)) {
45
- const metaValue = Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
46
- if (metaValue !== undefined) {
47
- defaultValue = metaValue;
48
- }
49
- }
50
- return defaultValue;
51
- }
52
- }
53
- exports.DefaultSendValueDecorator = DefaultSendValueDecorator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DefaultSendValueDecorator = void 0;
4
+ exports.DefaultSendValue = DefaultSendValue;
5
+ require("reflect-metadata");
6
+ const PROP_META_KEY = "defaultFieldValue";
7
+ const ALL_PROPS_META_KEY = "defaultFieldValueProps";
8
+ function DefaultSendValue(defaultFieldValue) {
9
+ return function (target, propertyKey) {
10
+ if (!target || !propertyKey) {
11
+ return;
12
+ }
13
+ Reflect.defineMetadata(PROP_META_KEY, defaultFieldValue, target, propertyKey);
14
+ let defaultProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
15
+ if (!defaultProps) {
16
+ defaultProps = new Set();
17
+ }
18
+ defaultProps.add(propertyKey);
19
+ Reflect.defineMetadata(ALL_PROPS_META_KEY, defaultProps, target);
20
+ };
21
+ }
22
+ class DefaultSendValueDecorator {
23
+ static GetAllDecoratedProperties(target) {
24
+ if (!target || typeof target !== "object") {
25
+ return [];
26
+ }
27
+ const allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
28
+ if (!allProps) {
29
+ return [];
30
+ }
31
+ return Array.from(allProps);
32
+ }
33
+ static HasDefaultDecorator(target, propertyKey) {
34
+ if (!target || !propertyKey || typeof target !== "object") {
35
+ return false;
36
+ }
37
+ return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
38
+ }
39
+ static GetDefaultValue(target, propertyKey) {
40
+ if (!target || !propertyKey || typeof target !== "object") {
41
+ return undefined;
42
+ }
43
+ let defaultValue = undefined;
44
+ if (this.HasDefaultDecorator(target, propertyKey)) {
45
+ const metaValue = Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
46
+ if (metaValue !== undefined) {
47
+ defaultValue = metaValue;
48
+ }
49
+ }
50
+ return defaultValue;
51
+ }
52
+ }
53
+ exports.DefaultSendValueDecorator = DefaultSendValueDecorator;
54
54
  //# sourceMappingURL=default-send-value.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-send-value.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/default-send-value.decorator.ts"],"names":[],"mappings":";;;AAAA,4BAA0B;AAC1B,MAAM,aAAa,GAAW,mBAAmB,CAAC;AAClD,MAAM,kBAAkB,GAAW,wBAAwB,CAAC;AAgB5D,SAAgB,gBAAgB,CAAC,iBAAuB;IACpD,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE;YACzB,OAAO;SACV;QACD,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,iBAAiB,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QAG9E,IAAI,YAAY,GAAgB,OAAO,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAChF,IAAI,CAAC,YAAY,EAAE;YACf,YAAY,GAAG,IAAI,GAAG,EAAU,CAAC;SACpC;QACD,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC9B,OAAO,CAAC,cAAc,CAAC,kBAAkB,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC,CAAC;AACN,CAAC;AAfD,4CAeC;AAGD,MAAa,yBAAyB;IAM3B,MAAM,CAAC,yBAAyB,CAAC,MAAc;QAClD,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YACvC,OAAO,EAAE,CAAC;SACb;QACD,MAAM,QAAQ,GAAgB,OAAO,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,QAAQ,EAAE;YACX,OAAO,EAAE,CAAC;SACb;QACD,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;IAGM,MAAM,CAAC,mBAAmB,CAAC,MAAc,EAAE,WAAmB;QACjE,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YACvD,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;IAGM,MAAM,CAAC,eAAe,CAAC,MAAc,EAAE,WAAmB;QAC7D,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YACvD,OAAO,SAAS,CAAC;SACpB;QACD,IAAI,YAAY,GAAQ,SAAS,CAAC;QAClC,IAAI,IAAI,CAAC,mBAAmB,CAAC,MAAM,EAAE,WAAW,CAAC,EAAE;YAC/C,MAAM,SAAS,GAAQ,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;YAC/E,IAAI,SAAS,KAAK,SAAS,EAAE;gBACzB,YAAY,GAAG,SAAS,CAAC;aAC5B;SACJ;QACD,OAAO,YAAY,CAAC;IACxB,CAAC;CACJ;AAvCD,8DAuCC"}
1
+ {"version":3,"file":"default-send-value.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/default-send-value.decorator.ts"],"names":[],"mappings":";;;AAkBA,4CAeC;AAjCD,4BAA0B;AAC1B,MAAM,aAAa,GAAW,mBAAmB,CAAC;AAClD,MAAM,kBAAkB,GAA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M,MAAM,CAAC,eAAe,CAAC,MAAc,EAAE,WAAmB;QAC7D,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,SAAS,CAAC;QACrB,CAAC;QACD,IAAI,YAAY,GAAQ,SAAS,CAAC;QAClC,IAAI,IAAI,CAAC,mBAAmB,CAAC,MAAM,EAAE,WAAW,CAAC,EAAE,CAAC;YAChD,MAAM,SAAS,GAAQ,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;YAC/E,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;gBAC1B,YAAY,GAAG,SAAS,CAAC;YAC7B,CAAC;QACL,CAAC;QACD,OAAO,YAAY,CAAC;IACxB,CAAC;CACJ;AAvCD,8DAuCC"}
@@ -1,5 +1,5 @@
1
- export declare function ExcludeWhenEmptyString(): PropertyDecorator;
2
- export declare class ExcludeWhenEmptyStringDecorator {
3
- static IsExcludeWhenEmptyStringField(target: Object, propertyKey: string): boolean;
4
- static IsEmptyStringVal(target: Object, propertyKey: string): boolean;
5
- }
1
+ export declare function ExcludeWhenEmptyString(): PropertyDecorator;
2
+ export declare class ExcludeWhenEmptyStringDecorator {
3
+ static IsExcludeWhenEmptyStringField(target: Object, propertyKey: string): boolean;
4
+ static IsEmptyStringVal(target: Object, propertyKey: string): boolean;
5
+ }
@@ -1,20 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExcludeWhenEmptyStringDecorator = exports.ExcludeWhenEmptyString = void 0;
4
- const simple_property_tag_decorator_1 = require("./simple-property-tag.decorator");
5
- const PROP_META_KEY = "excludeWhenEmptyString";
6
- const ALL_PROPS_META_KEY = "excludeWhenEmptyStringPrps";
7
- function ExcludeWhenEmptyString() {
8
- return (0, simple_property_tag_decorator_1.simplePropertyTagDecorator)(PROP_META_KEY, ALL_PROPS_META_KEY);
9
- }
10
- exports.ExcludeWhenEmptyString = ExcludeWhenEmptyString;
11
- class ExcludeWhenEmptyStringDecorator {
12
- static IsExcludeWhenEmptyStringField(target, propertyKey) {
13
- return simple_property_tag_decorator_1.SimplePropertyTagDecorator.IsDecoratedProperty(target, propertyKey, PROP_META_KEY);
14
- }
15
- static IsEmptyStringVal(target, propertyKey) {
16
- return target[propertyKey] === "";
17
- }
18
- }
19
- exports.ExcludeWhenEmptyStringDecorator = ExcludeWhenEmptyStringDecorator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExcludeWhenEmptyStringDecorator = void 0;
4
+ exports.ExcludeWhenEmptyString = ExcludeWhenEmptyString;
5
+ const simple_property_tag_decorator_1 = require("./simple-property-tag.decorator");
6
+ const PROP_META_KEY = "excludeWhenEmptyString";
7
+ const ALL_PROPS_META_KEY = "excludeWhenEmptyStringPrps";
8
+ function ExcludeWhenEmptyString() {
9
+ return (0, simple_property_tag_decorator_1.simplePropertyTagDecorator)(PROP_META_KEY, ALL_PROPS_META_KEY);
10
+ }
11
+ class ExcludeWhenEmptyStringDecorator {
12
+ static IsExcludeWhenEmptyStringField(target, propertyKey) {
13
+ return simple_property_tag_decorator_1.SimplePropertyTagDecorator.IsDecoratedProperty(target, propertyKey, PROP_META_KEY);
14
+ }
15
+ static IsEmptyStringVal(target, propertyKey) {
16
+ return target[propertyKey] === "";
17
+ }
18
+ }
19
+ exports.ExcludeWhenEmptyStringDecorator = ExcludeWhenEmptyStringDecorator;
20
20
  //# sourceMappingURL=exclude-when-empty-string.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"exclude-when-empty-string.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/exclude-when-empty-string.decorator.ts"],"names":[],"mappings":";;;AAAA,mFAAuG;AAEvG,MAAM,aAAa,GAAW,wBAAwB,CAAC;AACvD,MAAM,kBAAkB,GAAW,4BAA4B,CAAC;AAWhE,SAAgB,sBAAsB;IAClC,OAAO,IAAA,0DAA0B,EAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AACzE,CAAC;AAFD,wDAEC;AAGD,MAAa,+BAA+B;IAEjC,MAAM,CAAC,6BAA6B,CAAC,MAAc,EAAE,WAAmB;QAC3E,OAAO,0DAA0B,CAAC,mBAAmB,CAAC,MAAM,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;IAC9F,CAAC;IAEM,MAAM,CAAC,gBAAgB,CAAC,MAAc,EAAE,WAAmB;QAC9D,OAAO,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;IACtC,CAAC;CACJ;AATD,0EASC"}
1
+ {"version":3,"file":"exclude-when-empty-string.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/exclude-when-empty-string.decorator.ts"],"names":[],"mappings":";;;AAcA,wDAEC;AAhBD,mFAAuG;AAEvG,MAAM,aAAa,GAAW,wBAAwB,CAAC;AACvD,MAAM,kBAAkB,GAAW,4BAA4B,CAAC;AAWhE,SAAgB,sBAAsB;IAClC,OAAO,IAAA,0DAA0B,EAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AACzE,CAAC;AAGD,MAAa,+BAA+B;IAEjC,MAAM,CAAC,6BAA6B,CAAC,MAAc,EAAE,WAAmB;QAC3E,OAAO,0DAA0B,CAAC,mBAAmB,CAAC,MAAM,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;IAC9F,CAAC;IAEM,MAAM,CAAC,gBAAgB,CAAC,MAAc,EAAE,WAAmB;QAC9D,OAAO,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;IACtC,CAAC;CACJ;AATD,0EASC"}
@@ -1,6 +1,6 @@
1
- import 'reflect-metadata';
2
- export declare function JsonField(): PropertyDecorator;
3
- export declare class JsonFieldFieldDecorator {
4
- static IsJsonField(target: Object, propertyKey: string): boolean;
5
- static StringAsJson(str: string): any;
6
- }
1
+ import 'reflect-metadata';
2
+ export declare function JsonField(): PropertyDecorator;
3
+ export declare class JsonFieldFieldDecorator {
4
+ static IsJsonField(target: Object, propertyKey: string): boolean;
5
+ static StringAsJson(str: string): any;
6
+ }
@@ -1,27 +1,27 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JsonFieldFieldDecorator = exports.JsonField = void 0;
4
- require("reflect-metadata");
5
- const PROP_META_KEY = "jsonField";
6
- function JsonField() {
7
- return function (target, propertyKey) {
8
- if (!target || !propertyKey) {
9
- return;
10
- }
11
- Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
12
- };
13
- }
14
- exports.JsonField = JsonField;
15
- class JsonFieldFieldDecorator {
16
- static IsJsonField(target, propertyKey) {
17
- if (!target || !propertyKey || typeof target !== "object") {
18
- return false;
19
- }
20
- return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
21
- }
22
- static StringAsJson(str) {
23
- return JSON.parse(str);
24
- }
25
- }
26
- exports.JsonFieldFieldDecorator = JsonFieldFieldDecorator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JsonFieldFieldDecorator = void 0;
4
+ exports.JsonField = JsonField;
5
+ require("reflect-metadata");
6
+ const PROP_META_KEY = "jsonField";
7
+ function JsonField() {
8
+ return function (target, propertyKey) {
9
+ if (!target || !propertyKey) {
10
+ return;
11
+ }
12
+ Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
13
+ };
14
+ }
15
+ class JsonFieldFieldDecorator {
16
+ static IsJsonField(target, propertyKey) {
17
+ if (!target || !propertyKey || typeof target !== "object") {
18
+ return false;
19
+ }
20
+ return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
21
+ }
22
+ static StringAsJson(str) {
23
+ return JSON.parse(str);
24
+ }
25
+ }
26
+ exports.JsonFieldFieldDecorator = JsonFieldFieldDecorator;
27
27
  //# sourceMappingURL=json.decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"json.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/json.decorator.ts"],"names":[],"mappings":";;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AK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;IAEM,MAAM,CAAC,YAAY,CAAC,GAAW;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;CACJ;AAbD,0DAaC"}
@@ -1,6 +1,6 @@
1
- import 'reflect-metadata';
2
- export declare function MapProperty(propName: string): PropertyDecorator;
3
- export declare class MapPropertyDecorator {
4
- static IsMapProperty(target: Object, propertyKey: string): boolean;
5
- static GetMapProperty(target: Object, propertyKey: string): any;
6
- }
1
+ import 'reflect-metadata';
2
+ export declare function MapProperty(propName: string): PropertyDecorator;
3
+ export declare class MapPropertyDecorator {
4
+ static IsMapProperty(target: Object, propertyKey: string): boolean;
5
+ static GetMapProperty(target: Object, propertyKey: string): any;
6
+ }