@stemy/ngx-utils 13.6.17 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/esm2022/ngx-utils/common-types.mjs +123 -0
  2. package/esm2022/ngx-utils/components/dynamic-table/dynamic-table.component.mjs +210 -0
  3. package/esm2022/ngx-utils/components/pagination-menu/pagination-menu.component.mjs +101 -0
  4. package/esm2022/ngx-utils/components/unordered-list/unordered-list.component.mjs +65 -0
  5. package/esm2022/ngx-utils/directives/async-method.base.mjs +82 -0
  6. package/{esm2020 → esm2022}/ngx-utils/directives/async-method.directive.mjs +21 -21
  7. package/esm2022/ngx-utils/directives/background.directive.mjs +51 -0
  8. package/{esm2020 → esm2022}/ngx-utils/directives/dynamic-table-template.directive.mjs +20 -20
  9. package/{esm2020 → esm2022}/ngx-utils/directives/global-template.directive.mjs +30 -30
  10. package/esm2022/ngx-utils/directives/icon.directive.mjs +67 -0
  11. package/esm2022/ngx-utils/directives/ngx-template-outlet.directive.mjs +90 -0
  12. package/{esm2020 → esm2022}/ngx-utils/directives/pagination-item.directive.mjs +34 -34
  13. package/esm2022/ngx-utils/directives/pagination.directive.mjs +84 -0
  14. package/esm2022/ngx-utils/directives/resource-if.directive.mjs +50 -0
  15. package/esm2022/ngx-utils/directives/sticky-class.directive.mjs +34 -0
  16. package/{esm2020 → esm2022}/ngx-utils/directives/sticky.directive.mjs +55 -55
  17. package/{esm2020 → esm2022}/ngx-utils/directives/unordered-list-item.directive.mjs +79 -79
  18. package/{esm2020 → esm2022}/ngx-utils/directives/unordered-list-template.directive.mjs +20 -20
  19. package/{esm2020 → esm2022}/ngx-utils/ngx-utils.imports.mjs +174 -174
  20. package/esm2022/ngx-utils/ngx-utils.module.mjs +202 -0
  21. package/esm2022/ngx-utils/pipes/chunk.pipe.mjs +25 -0
  22. package/{esm2020 → esm2022}/ngx-utils/pipes/entries.pipe.mjs +28 -28
  23. package/{esm2020 → esm2022}/ngx-utils/pipes/extra-item-properties.pipe.mjs +31 -31
  24. package/esm2022/ngx-utils/pipes/filter.pipe.mjs +37 -0
  25. package/esm2022/ngx-utils/pipes/find.pipe.mjs +29 -0
  26. package/{esm2020 → esm2022}/ngx-utils/pipes/format-number.pipe.mjs +21 -21
  27. package/{esm2020 → esm2022}/ngx-utils/pipes/get-offset.pipe.mjs +17 -17
  28. package/{esm2020 → esm2022}/ngx-utils/pipes/get-type.pipe.mjs +16 -16
  29. package/esm2022/ngx-utils/pipes/global-template.pipe.mjs +41 -0
  30. package/{esm2020 → esm2022}/ngx-utils/pipes/group-by.pipe.mjs +27 -27
  31. package/{esm2020 → esm2022}/ngx-utils/pipes/is-type.pipe.mjs +16 -16
  32. package/{esm2020 → esm2022}/ngx-utils/pipes/join.pipe.mjs +19 -19
  33. package/{esm2020 → esm2022}/ngx-utils/pipes/keys.pipe.mjs +22 -22
  34. package/{esm2020 → esm2022}/ngx-utils/pipes/map.pipe.mjs +29 -29
  35. package/{esm2020 → esm2022}/ngx-utils/pipes/max.pipe.mjs +26 -26
  36. package/{esm2020 → esm2022}/ngx-utils/pipes/min.pipe.mjs +26 -26
  37. package/{esm2020 → esm2022}/ngx-utils/pipes/pop.pipe.mjs +16 -16
  38. package/{esm2020 → esm2022}/ngx-utils/pipes/reduce.pipe.mjs +30 -30
  39. package/esm2022/ngx-utils/pipes/remap.pipe.mjs +32 -0
  40. package/{esm2020 → esm2022}/ngx-utils/pipes/replace.pipe.mjs +17 -17
  41. package/esm2022/ngx-utils/pipes/reverse.pipe.mjs +24 -0
  42. package/{esm2020 → esm2022}/ngx-utils/pipes/round.pipe.mjs +21 -21
  43. package/esm2022/ngx-utils/pipes/safe-html.pipe.mjs +34 -0
  44. package/{esm2020 → esm2022}/ngx-utils/pipes/shift.pipe.mjs +16 -16
  45. package/{esm2020 → esm2022}/ngx-utils/pipes/split.pipe.mjs +16 -16
  46. package/esm2022/ngx-utils/pipes/translate.pipe.mjs +86 -0
  47. package/{esm2020 → esm2022}/ngx-utils/pipes/values.pipe.mjs +22 -22
  48. package/esm2022/ngx-utils/plugins/resize-event.plugin.mjs +78 -0
  49. package/esm2022/ngx-utils/plugins/scroll-event.plugin.mjs +39 -0
  50. package/{esm2020 → esm2022}/ngx-utils/services/acl.service.mjs +84 -83
  51. package/esm2022/ngx-utils/services/api.service.mjs +42 -0
  52. package/{esm2020 → esm2022}/ngx-utils/services/auth.service.mjs +13 -13
  53. package/esm2022/ngx-utils/services/base-http.client.mjs +47 -0
  54. package/esm2022/ngx-utils/services/base-http.service.mjs +305 -0
  55. package/esm2022/ngx-utils/services/config.service.mjs +130 -0
  56. package/esm2022/ngx-utils/services/error-handler.service.mjs +49 -0
  57. package/{esm2020 → esm2022}/ngx-utils/services/events.service.mjs +26 -26
  58. package/{esm2020 → esm2022}/ngx-utils/services/formatter.service.mjs +49 -49
  59. package/esm2022/ngx-utils/services/global-template.service.mjs +37 -0
  60. package/esm2022/ngx-utils/services/icon.service.mjs +26 -0
  61. package/esm2022/ngx-utils/services/language.service.mjs +124 -0
  62. package/{esm2020 → esm2022}/ngx-utils/services/local-http.service.mjs +47 -47
  63. package/{esm2020 → esm2022}/ngx-utils/services/open-api.service.mjs +40 -40
  64. package/{esm2020 → esm2022}/ngx-utils/services/promise.service.mjs +55 -55
  65. package/esm2022/ngx-utils/services/state.service.mjs +177 -0
  66. package/{esm2020 → esm2022}/ngx-utils/services/static-language.service.mjs +166 -166
  67. package/esm2022/ngx-utils/services/storage.service.mjs +49 -0
  68. package/{esm2020 → esm2022}/ngx-utils/services/toaster.service.mjs +32 -32
  69. package/esm2022/ngx-utils/services/translated-url.serializer.mjs +73 -0
  70. package/esm2022/ngx-utils/services/universal.service.mjs +81 -0
  71. package/{esm2020 → esm2022}/ngx-utils/services/wasm.service.mjs +46 -46
  72. package/esm2022/ngx-utils/utils/ajax-request-handler.mjs +40 -0
  73. package/esm2022/ngx-utils/utils/array.utils.mjs +107 -0
  74. package/esm2022/ngx-utils/utils/auth.guard.mjs +181 -0
  75. package/esm2022/ngx-utils/utils/cached-factory.mjs +30 -0
  76. package/esm2022/ngx-utils/utils/canvas.utils.mjs +388 -0
  77. package/esm2022/ngx-utils/utils/date.utils.mjs +29 -0
  78. package/{esm2020 → esm2022}/ngx-utils/utils/file-system.mjs +24 -24
  79. package/esm2022/ngx-utils/utils/file.utils.mjs +90 -0
  80. package/{esm2020 → esm2022}/ngx-utils/utils/generic-value.mjs +20 -20
  81. package/esm2022/ngx-utils/utils/geometry.mjs +132 -0
  82. package/{esm2020 → esm2022}/ngx-utils/utils/initializer.mjs +20 -20
  83. package/esm2022/ngx-utils/utils/jsonfn.mjs +45 -0
  84. package/esm2022/ngx-utils/utils/loader.utils.mjs +55 -0
  85. package/esm2022/ngx-utils/utils/math.utils.mjs +44 -0
  86. package/esm2022/ngx-utils/utils/object.utils.mjs +320 -0
  87. package/{esm2020 → esm2022}/ngx-utils/utils/observable.utils.mjs +63 -63
  88. package/esm2022/ngx-utils/utils/reflect.utils.mjs +33 -0
  89. package/esm2022/ngx-utils/utils/set.utils.mjs +20 -0
  90. package/esm2022/ngx-utils/utils/string.utils.mjs +41 -0
  91. package/{esm2020 → esm2022}/ngx-utils/utils/timer.utils.mjs +51 -51
  92. package/esm2022/ngx-utils/utils/unique.utils.mjs +24 -0
  93. package/esm2022/ngx-utils/utils/vector.mjs +77 -0
  94. package/esm2022/ngx-utils/utils/wasi.mjs +159 -0
  95. package/esm2022/ngx-utils/utils/wasm-worker-proxy.mjs +99 -0
  96. package/{esm2020 → esm2022}/ngx-utils/utils/with-options-provider.mjs +23 -23
  97. package/{esm2020 → esm2022}/public_api.mjs +93 -93
  98. package/{esm2020 → esm2022}/stemy-ngx-utils.mjs +4 -4
  99. package/esm2022/tools/config.mjs +71 -0
  100. package/{esm2020 → esm2022}/tools/public_api.mjs +1 -1
  101. package/{esm2020 → esm2022}/tools/stemy-ngx-utils-tools.mjs +4 -4
  102. package/{fesm2020 → fesm2022}/stemy-ngx-utils-tools.mjs +71 -71
  103. package/{fesm2015 → fesm2022}/stemy-ngx-utils-tools.mjs.map +1 -1
  104. package/{fesm2020 → fesm2022}/stemy-ngx-utils.mjs +5639 -5636
  105. package/fesm2022/stemy-ngx-utils.mjs.map +1 -0
  106. package/{stemy-ngx-utils.d.ts → index.d.ts} +5 -5
  107. package/ng.mjs +5 -0
  108. package/ngx-utils/common-types.d.ts +378 -378
  109. package/ngx-utils/components/dynamic-table/dynamic-table.component.d.ts +56 -56
  110. package/ngx-utils/components/pagination-menu/pagination-menu.component.d.ts +31 -31
  111. package/ngx-utils/components/unordered-list/unordered-list.component.d.ts +25 -25
  112. package/ngx-utils/directives/async-method.base.d.ts +19 -19
  113. package/ngx-utils/directives/async-method.directive.d.ts +9 -9
  114. package/ngx-utils/directives/background.directive.d.ts +17 -17
  115. package/ngx-utils/directives/dynamic-table-template.directive.d.ts +11 -11
  116. package/ngx-utils/directives/global-template.directive.d.ts +13 -13
  117. package/ngx-utils/directives/icon.directive.d.ts +23 -23
  118. package/ngx-utils/directives/ngx-template-outlet.directive.d.ts +17 -17
  119. package/ngx-utils/directives/pagination-item.directive.d.ts +15 -15
  120. package/ngx-utils/directives/pagination.directive.d.ts +25 -25
  121. package/ngx-utils/directives/resource-if.directive.d.ts +19 -19
  122. package/ngx-utils/directives/sticky-class.directive.d.ts +15 -15
  123. package/ngx-utils/directives/sticky.directive.d.ts +19 -19
  124. package/ngx-utils/directives/unordered-list-item.directive.d.ts +28 -28
  125. package/ngx-utils/directives/unordered-list-template.directive.d.ts +11 -11
  126. package/ngx-utils/ngx-utils.imports.d.ts +74 -0
  127. package/ngx-utils/ngx-utils.module.d.ts +58 -58
  128. package/ngx-utils/pipes/chunk.pipe.d.ts +7 -7
  129. package/ngx-utils/pipes/entries.pipe.d.ts +12 -12
  130. package/ngx-utils/pipes/extra-item-properties.pipe.d.ts +8 -8
  131. package/ngx-utils/pipes/filter.pipe.d.ts +8 -8
  132. package/ngx-utils/pipes/find.pipe.d.ts +8 -8
  133. package/ngx-utils/pipes/format-number.pipe.d.ts +10 -10
  134. package/ngx-utils/pipes/get-offset.pipe.d.ts +7 -7
  135. package/ngx-utils/pipes/get-type.pipe.d.ts +7 -7
  136. package/ngx-utils/pipes/global-template.pipe.d.ts +16 -16
  137. package/ngx-utils/pipes/group-by.pipe.d.ts +8 -8
  138. package/ngx-utils/pipes/is-type.pipe.d.ts +7 -7
  139. package/ngx-utils/pipes/join.pipe.d.ts +7 -7
  140. package/ngx-utils/pipes/keys.pipe.d.ts +7 -7
  141. package/ngx-utils/pipes/map.pipe.d.ts +8 -8
  142. package/ngx-utils/pipes/max.pipe.d.ts +7 -7
  143. package/ngx-utils/pipes/min.pipe.d.ts +7 -7
  144. package/ngx-utils/pipes/pop.pipe.d.ts +7 -7
  145. package/ngx-utils/pipes/reduce.pipe.d.ts +8 -8
  146. package/ngx-utils/pipes/remap.pipe.d.ts +7 -7
  147. package/ngx-utils/pipes/replace.pipe.d.ts +7 -7
  148. package/ngx-utils/pipes/reverse.pipe.d.ts +7 -7
  149. package/ngx-utils/pipes/round.pipe.d.ts +10 -10
  150. package/ngx-utils/pipes/safe-html.pipe.d.ts +10 -10
  151. package/ngx-utils/pipes/shift.pipe.d.ts +7 -7
  152. package/ngx-utils/pipes/split.pipe.d.ts +7 -7
  153. package/ngx-utils/pipes/translate.pipe.d.ts +19 -19
  154. package/ngx-utils/pipes/values.pipe.d.ts +7 -7
  155. package/ngx-utils/plugins/resize-event.plugin.d.ts +17 -17
  156. package/ngx-utils/plugins/scroll-event.plugin.d.ts +13 -13
  157. package/ngx-utils/services/acl.service.d.ts +14 -14
  158. package/ngx-utils/services/api.service.d.ts +17 -17
  159. package/ngx-utils/services/auth.service.d.ts +8 -8
  160. package/ngx-utils/services/base-http.client.d.ts +15 -15
  161. package/ngx-utils/services/base-http.service.d.ts +53 -53
  162. package/ngx-utils/services/config.service.d.ts +30 -30
  163. package/ngx-utils/services/error-handler.service.d.ts +13 -13
  164. package/ngx-utils/services/events.service.d.ts +14 -14
  165. package/ngx-utils/services/formatter.service.d.ts +15 -15
  166. package/ngx-utils/services/global-template.service.d.ts +19 -19
  167. package/ngx-utils/services/icon.service.d.ts +13 -13
  168. package/ngx-utils/services/language.service.d.ts +21 -21
  169. package/ngx-utils/services/local-http.service.d.ts +14 -14
  170. package/ngx-utils/services/open-api.service.d.ts +11 -11
  171. package/ngx-utils/services/promise.service.d.ts +19 -19
  172. package/ngx-utils/services/state.service.d.ts +49 -49
  173. package/ngx-utils/services/static-language.service.d.ts +46 -46
  174. package/ngx-utils/services/storage.service.d.ts +15 -15
  175. package/ngx-utils/services/toaster.service.d.ts +13 -13
  176. package/ngx-utils/services/translated-url.serializer.d.ts +19 -19
  177. package/ngx-utils/services/universal.service.d.ts +28 -28
  178. package/ngx-utils/services/wasm.service.d.ts +25 -25
  179. package/ngx-utils/utils/ajax-request-handler.d.ts +11 -11
  180. package/ngx-utils/utils/array.utils.d.ts +11 -11
  181. package/ngx-utils/utils/auth.guard.d.ts +29 -29
  182. package/ngx-utils/utils/cached-factory.d.ts +2 -2
  183. package/ngx-utils/utils/canvas.utils.d.ts +13 -13
  184. package/ngx-utils/utils/date.utils.d.ts +8 -8
  185. package/ngx-utils/utils/file-system.d.ts +16 -16
  186. package/ngx-utils/utils/file.utils.d.ts +14 -14
  187. package/ngx-utils/utils/generic-value.d.ts +8 -8
  188. package/ngx-utils/utils/geometry.d.ts +50 -50
  189. package/ngx-utils/utils/initializer.d.ts +12 -12
  190. package/ngx-utils/utils/jsonfn.d.ts +6 -6
  191. package/ngx-utils/utils/loader.utils.d.ts +7 -7
  192. package/ngx-utils/utils/math.utils.d.ts +8 -8
  193. package/ngx-utils/utils/object.utils.d.ts +35 -35
  194. package/ngx-utils/utils/observable.utils.d.ts +13 -13
  195. package/ngx-utils/utils/reflect.utils.d.ts +9 -9
  196. package/ngx-utils/utils/set.utils.d.ts +4 -4
  197. package/ngx-utils/utils/string.utils.d.ts +9 -9
  198. package/ngx-utils/utils/timer.utils.d.ts +6 -6
  199. package/ngx-utils/utils/unique.utils.d.ts +5 -5
  200. package/ngx-utils/utils/vector.d.ts +23 -23
  201. package/ngx-utils/utils/wasi.d.ts +26 -26
  202. package/ngx-utils/utils/wasm-worker-proxy.d.ts +17 -17
  203. package/ngx-utils/utils/with-options-provider.d.ts +3 -3
  204. package/package.json +21 -29
  205. package/public_api.d.ts +93 -93
  206. package/tools/config.d.ts +7 -7
  207. package/tools/{stemy-ngx-utils-tools.d.ts → index.d.ts} +5 -5
  208. package/tools/public_api.d.ts +1 -1
  209. package/esm2020/ngx-utils/common-types.mjs +0 -123
  210. package/esm2020/ngx-utils/components/dynamic-table/dynamic-table.component.mjs +0 -210
  211. package/esm2020/ngx-utils/components/pagination-menu/pagination-menu.component.mjs +0 -101
  212. package/esm2020/ngx-utils/components/unordered-list/unordered-list.component.mjs +0 -65
  213. package/esm2020/ngx-utils/directives/async-method.base.mjs +0 -82
  214. package/esm2020/ngx-utils/directives/background.directive.mjs +0 -51
  215. package/esm2020/ngx-utils/directives/icon.directive.mjs +0 -67
  216. package/esm2020/ngx-utils/directives/ngx-template-outlet.directive.mjs +0 -90
  217. package/esm2020/ngx-utils/directives/pagination.directive.mjs +0 -84
  218. package/esm2020/ngx-utils/directives/resource-if.directive.mjs +0 -50
  219. package/esm2020/ngx-utils/directives/sticky-class.directive.mjs +0 -34
  220. package/esm2020/ngx-utils/ngx-utils.module.mjs +0 -204
  221. package/esm2020/ngx-utils/pipes/chunk.pipe.mjs +0 -25
  222. package/esm2020/ngx-utils/pipes/filter.pipe.mjs +0 -37
  223. package/esm2020/ngx-utils/pipes/find.pipe.mjs +0 -29
  224. package/esm2020/ngx-utils/pipes/global-template.pipe.mjs +0 -41
  225. package/esm2020/ngx-utils/pipes/remap.pipe.mjs +0 -32
  226. package/esm2020/ngx-utils/pipes/reverse.pipe.mjs +0 -24
  227. package/esm2020/ngx-utils/pipes/safe-html.pipe.mjs +0 -34
  228. package/esm2020/ngx-utils/pipes/translate.pipe.mjs +0 -86
  229. package/esm2020/ngx-utils/plugins/resize-event.plugin.mjs +0 -78
  230. package/esm2020/ngx-utils/plugins/scroll-event.plugin.mjs +0 -39
  231. package/esm2020/ngx-utils/services/api.service.mjs +0 -42
  232. package/esm2020/ngx-utils/services/base-http.client.mjs +0 -47
  233. package/esm2020/ngx-utils/services/base-http.service.mjs +0 -305
  234. package/esm2020/ngx-utils/services/config.service.mjs +0 -130
  235. package/esm2020/ngx-utils/services/error-handler.service.mjs +0 -49
  236. package/esm2020/ngx-utils/services/global-template.service.mjs +0 -37
  237. package/esm2020/ngx-utils/services/icon.service.mjs +0 -26
  238. package/esm2020/ngx-utils/services/language.service.mjs +0 -124
  239. package/esm2020/ngx-utils/services/state.service.mjs +0 -173
  240. package/esm2020/ngx-utils/services/storage.service.mjs +0 -49
  241. package/esm2020/ngx-utils/services/translated-url.serializer.mjs +0 -73
  242. package/esm2020/ngx-utils/services/universal.service.mjs +0 -81
  243. package/esm2020/ngx-utils/utils/ajax-request-handler.mjs +0 -40
  244. package/esm2020/ngx-utils/utils/array.utils.mjs +0 -107
  245. package/esm2020/ngx-utils/utils/auth.guard.mjs +0 -181
  246. package/esm2020/ngx-utils/utils/cached-factory.mjs +0 -30
  247. package/esm2020/ngx-utils/utils/canvas.utils.mjs +0 -388
  248. package/esm2020/ngx-utils/utils/date.utils.mjs +0 -29
  249. package/esm2020/ngx-utils/utils/file.utils.mjs +0 -90
  250. package/esm2020/ngx-utils/utils/geometry.mjs +0 -132
  251. package/esm2020/ngx-utils/utils/jsonfn.mjs +0 -45
  252. package/esm2020/ngx-utils/utils/loader.utils.mjs +0 -55
  253. package/esm2020/ngx-utils/utils/math.utils.mjs +0 -44
  254. package/esm2020/ngx-utils/utils/object.utils.mjs +0 -320
  255. package/esm2020/ngx-utils/utils/reflect.utils.mjs +0 -33
  256. package/esm2020/ngx-utils/utils/set.utils.mjs +0 -20
  257. package/esm2020/ngx-utils/utils/string.utils.mjs +0 -41
  258. package/esm2020/ngx-utils/utils/unique.utils.mjs +0 -24
  259. package/esm2020/ngx-utils/utils/vector.mjs +0 -77
  260. package/esm2020/ngx-utils/utils/wasi.mjs +0 -159
  261. package/esm2020/ngx-utils/utils/wasm-worker-proxy.mjs +0 -99
  262. package/esm2020/tools/config.mjs +0 -71
  263. package/fesm2015/stemy-ngx-utils-tools.mjs +0 -77
  264. package/fesm2015/stemy-ngx-utils.mjs +0 -5894
  265. package/fesm2015/stemy-ngx-utils.mjs.map +0 -1
  266. package/fesm2020/stemy-ngx-utils-tools.mjs.map +0 -1
  267. package/fesm2020/stemy-ngx-utils.mjs.map +0 -1
  268. package/tools/package.json +0 -10
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class MinPipe implements PipeTransform {
4
- transform(value: any, selector?: any, params?: any): number;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MinPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<MinPipe, "min">;
7
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class MinPipe implements PipeTransform {
4
+ transform(value: any, selector?: any, params?: any): number;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MinPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<MinPipe, "min", false>;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class PopPipe implements PipeTransform {
4
- transform(value: any[]): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<PopPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<PopPipe, "pop">;
7
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class PopPipe implements PipeTransform {
4
+ transform(value: any[]): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<PopPipe, "pop", false>;
7
+ }
@@ -1,8 +1,8 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare function defaultReducer(result: any): any;
4
- export declare class ReducePipe implements PipeTransform {
5
- transform(values: any[], source: any, reducer?: any, params?: any): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ReducePipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<ReducePipe, "reduce">;
8
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare function defaultReducer(result: any): any;
4
+ export declare class ReducePipe implements PipeTransform {
5
+ transform(values: any[], source: any, reducer?: any, params?: any): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReducePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<ReducePipe, "reduce", false>;
8
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class RemapPipe implements PipeTransform {
4
- transform(map: any, source: any, defaultValue?: string): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<RemapPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<RemapPipe, "remap">;
7
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class RemapPipe implements PipeTransform {
4
+ transform(map: any, source: any, defaultValue?: string): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemapPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<RemapPipe, "remap", false>;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class ReplacePipe implements PipeTransform {
4
- transform(value: string, from: string | RegExp, to: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ReplacePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<ReplacePipe, "replace">;
7
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ReplacePipe implements PipeTransform {
4
+ transform(value: string, from: string | RegExp, to: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReplacePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ReplacePipe, "replace", false>;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class ReversePipe implements PipeTransform {
4
- transform(value: any[]): any[];
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ReversePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<ReversePipe, "reverse">;
7
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ReversePipe implements PipeTransform {
4
+ transform(value: any[]): any[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReversePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ReversePipe, "reverse", false>;
7
+ }
@@ -1,10 +1,10 @@
1
- import { PipeTransform } from "@angular/core";
2
- import { FormatterService } from "../services/formatter.service";
3
- import * as i0 from "@angular/core";
4
- export declare class RoundPipe implements PipeTransform {
5
- private formatter;
6
- constructor(formatter: FormatterService);
7
- transform(value: number, precision?: number, divider?: number): number;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<RoundPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<RoundPipe, "round">;
10
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import { FormatterService } from "../services/formatter.service";
3
+ import * as i0 from "@angular/core";
4
+ export declare class RoundPipe implements PipeTransform {
5
+ private formatter;
6
+ constructor(formatter: FormatterService);
7
+ transform(value: number, precision?: number, divider?: number): number;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoundPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<RoundPipe, "round", false>;
10
+ }
@@ -1,10 +1,10 @@
1
- import { PipeTransform } from "@angular/core";
2
- import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
3
- import * as i0 from "@angular/core";
4
- export declare class SafeHtmlPipe implements PipeTransform {
5
- private sanitizer;
6
- constructor(sanitizer: DomSanitizer);
7
- transform(value: string, type?: string): SafeHtml;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safe">;
10
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
3
+ import * as i0 from "@angular/core";
4
+ export declare class SafeHtmlPipe implements PipeTransform {
5
+ private sanitizer;
6
+ constructor(sanitizer: DomSanitizer);
7
+ transform(value: string, type?: string): SafeHtml;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safe", false>;
10
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class ShiftPipe implements PipeTransform {
4
- transform(value: any[]): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ShiftPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<ShiftPipe, "shift">;
7
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ShiftPipe implements PipeTransform {
4
+ transform(value: any[]): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShiftPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ShiftPipe, "shift", false>;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class SplitPipe implements PipeTransform {
4
- transform(value: any, separator?: string): any[];
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SplitPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<SplitPipe, "split">;
7
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class SplitPipe implements PipeTransform {
4
+ transform(value: any, separator?: string): any[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SplitPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SplitPipe, "split", false>;
7
+ }
@@ -1,19 +1,19 @@
1
- import { ChangeDetectorRef, PipeTransform } from "@angular/core";
2
- import { ILanguageService, TranslationQuery } from "../common-types";
3
- import * as i0 from "@angular/core";
4
- export declare class TranslatePipe implements PipeTransform {
5
- readonly cdr: ChangeDetectorRef;
6
- readonly language: ILanguageService;
7
- private lang;
8
- private disabled;
9
- private query;
10
- private args;
11
- private params;
12
- private lastValue;
13
- get currentLang(): string;
14
- constructor(cdr: ChangeDetectorRef, language: ILanguageService);
15
- transform(query: TranslationQuery, ...args: any[]): string;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TranslatePipe, never>;
17
- static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate">;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<TranslatePipe>;
19
- }
1
+ import { ChangeDetectorRef, PipeTransform } from "@angular/core";
2
+ import { ILanguageService, TranslationQuery } from "../common-types";
3
+ import * as i0 from "@angular/core";
4
+ export declare class TranslatePipe implements PipeTransform {
5
+ readonly cdr: ChangeDetectorRef;
6
+ readonly language: ILanguageService;
7
+ private lang;
8
+ private disabled;
9
+ private query;
10
+ private args;
11
+ private params;
12
+ private lastValue;
13
+ get currentLang(): string;
14
+ constructor(cdr: ChangeDetectorRef, language: ILanguageService);
15
+ transform(query: TranslationQuery, ...args: any[]): string;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslatePipe, never>;
17
+ static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate", false>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<TranslatePipe>;
19
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class ValuesPipe implements PipeTransform {
4
- transform(value: any): any[];
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ValuesPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<ValuesPipe, "values">;
7
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ValuesPipe implements PipeTransform {
4
+ transform(value: any): any[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValuesPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ValuesPipe, "values", false>;
7
+ }
@@ -1,17 +1,17 @@
1
- import { ɵDomEventsPlugin as EventManagerPlugin } from "@angular/platform-browser";
2
- import type { Erd } from "element-resize-detector";
3
- import { ResizeEventStrategy } from "../common-types";
4
- import { UniversalService } from "../services/universal.service";
5
- import * as i0 from "@angular/core";
6
- export declare class ResizeEventPlugin extends EventManagerPlugin {
7
- protected resizeDelay: number;
8
- protected resizeStrategy: ResizeEventStrategy;
9
- readonly universal: UniversalService;
10
- static readonly EVENT_NAME: string;
11
- readonly detector: Erd;
12
- constructor(doc: any, resizeDelay: number, resizeStrategy: ResizeEventStrategy, universal: UniversalService);
13
- supports(eventName: string): boolean;
14
- addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeEventPlugin, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeEventPlugin>;
17
- }
1
+ import { ɵDomEventsPlugin as EventManagerPlugin } from "@angular/platform-browser";
2
+ import type { Erd } from "element-resize-detector";
3
+ import { ResizeEventStrategy } from "../common-types";
4
+ import { UniversalService } from "../services/universal.service";
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResizeEventPlugin extends EventManagerPlugin {
7
+ protected resizeDelay: number;
8
+ protected resizeStrategy: ResizeEventStrategy;
9
+ readonly universal: UniversalService;
10
+ static readonly EVENT_NAME: string;
11
+ readonly detector: Erd;
12
+ constructor(doc: any, resizeDelay: number, resizeStrategy: ResizeEventStrategy, universal: UniversalService);
13
+ supports(eventName: string): boolean;
14
+ addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeEventPlugin, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResizeEventPlugin>;
17
+ }
@@ -1,13 +1,13 @@
1
- import { ɵDomEventsPlugin as EventManagerPlugin } from "@angular/platform-browser";
2
- import { UniversalService } from "../services/universal.service";
3
- import * as i0 from "@angular/core";
4
- export declare function emptyRemove(): void;
5
- export declare class ScrollEventPlugin extends EventManagerPlugin {
6
- private universal;
7
- private static EVENT_NAME;
8
- constructor(doc: any, universal: UniversalService);
9
- supports(eventName: any): boolean;
10
- addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ScrollEventPlugin, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<ScrollEventPlugin>;
13
- }
1
+ import { ɵDomEventsPlugin as EventManagerPlugin } from "@angular/platform-browser";
2
+ import { UniversalService } from "../services/universal.service";
3
+ import * as i0 from "@angular/core";
4
+ export declare function emptyRemove(): void;
5
+ export declare class ScrollEventPlugin extends EventManagerPlugin {
6
+ private universal;
7
+ private static EVENT_NAME;
8
+ constructor(doc: any, universal: UniversalService);
9
+ supports(eventName: any): boolean;
10
+ addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollEventPlugin, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<ScrollEventPlugin>;
13
+ }
@@ -1,14 +1,14 @@
1
- import { Injector } from "@angular/core";
2
- import { StateService } from "./state.service";
3
- import { IAuthService, IRouteStateInfo } from "../common-types";
4
- import * as i0 from "@angular/core";
5
- export declare class AclService {
6
- readonly injector: Injector;
7
- readonly state: StateService;
8
- readonly auth: IAuthService;
9
- protected components: IRouteStateInfo[];
10
- constructor(injector: Injector, state: StateService, auth: IAuthService);
11
- protected getStateInfo(): IRouteStateInfo;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AclService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<AclService>;
14
- }
1
+ import { Injector } from "@angular/core";
2
+ import { StateService } from "./state.service";
3
+ import { IAuthService, IRouteStateInfo } from "../common-types";
4
+ import * as i0 from "@angular/core";
5
+ export declare class AclService {
6
+ readonly injector: Injector;
7
+ readonly state: StateService;
8
+ readonly auth: IAuthService;
9
+ protected components: IRouteStateInfo[];
10
+ constructor(injector: Injector, state: StateService, auth: IAuthService);
11
+ protected getStateInfo(): IRouteStateInfo;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AclService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<AclService>;
14
+ }
@@ -1,17 +1,17 @@
1
- import { IApiService, IHttpParams, IRequestOptions, ProgressListener } from "../common-types";
2
- import { BaseHttpService } from "./base-http.service";
3
- import { IPaginationData } from "../common-types";
4
- import * as i0 from "@angular/core";
5
- export declare class ApiService extends BaseHttpService implements IApiService {
6
- get name(): string;
7
- url(url: string): string;
8
- get(url: string, options?: IRequestOptions, body?: any): Promise<any>;
9
- delete(url: string, options?: IRequestOptions, body?: any): Promise<any>;
10
- post(url: string, body?: any, options?: IRequestOptions): Promise<any>;
11
- put(url: string, body?: any, options?: IRequestOptions): Promise<any>;
12
- patch(url: string, body?: any, options?: IRequestOptions): Promise<any>;
13
- upload(url: string, body: any, listener?: ProgressListener, options?: IRequestOptions): Promise<any>;
14
- list(url: string, params: IHttpParams): Promise<IPaginationData>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ApiService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<ApiService>;
17
- }
1
+ import { IApiService, IHttpParams, IRequestOptions, ProgressListener } from "../common-types";
2
+ import { BaseHttpService } from "./base-http.service";
3
+ import { IPaginationData } from "../common-types";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ApiService extends BaseHttpService implements IApiService {
6
+ get name(): string;
7
+ url(url: string): string;
8
+ get(url: string, options?: IRequestOptions, body?: any): Promise<any>;
9
+ delete(url: string, options?: IRequestOptions, body?: any): Promise<any>;
10
+ post(url: string, body?: any, options?: IRequestOptions): Promise<any>;
11
+ put(url: string, body?: any, options?: IRequestOptions): Promise<any>;
12
+ patch(url: string, body?: any, options?: IRequestOptions): Promise<any>;
13
+ upload(url: string, body: any, listener?: ProgressListener, options?: IRequestOptions): Promise<any>;
14
+ list(url: string, params: IHttpParams): Promise<IPaginationData>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiService>;
17
+ }
@@ -1,8 +1,8 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { IRoute, IAuthService } from "../common-types";
3
- export declare class StaticAuthService implements IAuthService {
4
- isAuthenticated: boolean;
5
- userChanged: EventEmitter<any>;
6
- checkAuthenticated(): Promise<boolean>;
7
- getReturnState(route: IRoute): string[];
8
- }
1
+ import { EventEmitter } from "@angular/core";
2
+ import { IRoute, IAuthService } from "../common-types";
3
+ export declare class StaticAuthService implements IAuthService {
4
+ isAuthenticated: boolean;
5
+ userChanged: EventEmitter<any>;
6
+ checkAuthenticated(): Promise<boolean>;
7
+ getReturnState(route: IRoute): string[];
8
+ }
@@ -1,15 +1,15 @@
1
- import { HttpClient, HttpHandler, HttpHeaders, HttpParams } from "@angular/common/http";
2
- import { IHttpHeaders, IHttpParams } from "../common-types";
3
- import * as i0 from "@angular/core";
4
- export declare class BaseHttpClient extends HttpClient {
5
- requestHeaders: IHttpHeaders;
6
- requestParams: IHttpParams;
7
- renewTokenFunc: () => void;
8
- protected extraRequestParams: IHttpParams;
9
- constructor(handler: HttpHandler);
10
- makeHeaders(headers?: IHttpHeaders, withCredentials?: boolean): HttpHeaders;
11
- makeParams(params?: IHttpParams): HttpParams;
12
- setExtraRequestParam(name: string, value?: any): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttpClient, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseHttpClient>;
15
- }
1
+ import { HttpClient, HttpHandler, HttpHeaders, HttpParams } from "@angular/common/http";
2
+ import { IHttpHeaders, IHttpParams } from "../common-types";
3
+ import * as i0 from "@angular/core";
4
+ export declare class BaseHttpClient extends HttpClient {
5
+ requestHeaders: IHttpHeaders;
6
+ requestParams: IHttpParams;
7
+ renewTokenFunc: () => void;
8
+ protected extraRequestParams: IHttpParams;
9
+ constructor(handler: HttpHandler);
10
+ makeHeaders(headers?: IHttpHeaders, withCredentials?: boolean): HttpHeaders;
11
+ makeParams(params?: IHttpParams): HttpParams;
12
+ setExtraRequestParam(name: string, value?: any): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttpClient, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseHttpClient>;
15
+ }
@@ -1,53 +1,53 @@
1
- import { Injector } from "@angular/core";
2
- import { HttpHeaders, HttpParams } from "@angular/common/http";
3
- import { Request } from "express";
4
- import { HttpPromise, IConfigService, IHttpHeaders, IHttpParams, IHttpService, IIssueContext, ILanguageService, IPaginationData, IRequestOptions, IToasterService, ProgressListener } from "../common-types";
5
- import { BaseHttpClient } from "./base-http.client";
6
- import { UniversalService } from "./universal.service";
7
- import { StorageService } from "./storage.service";
8
- import * as i0 from "@angular/core";
9
- export declare class BaseHttpService implements IHttpService {
10
- readonly injector: Injector;
11
- readonly client: BaseHttpClient;
12
- readonly storage: StorageService;
13
- readonly language: ILanguageService;
14
- readonly toaster: IToasterService;
15
- readonly configs: IConfigService;
16
- readonly request: Request;
17
- protected static failedRequests: Array<() => void>;
18
- get name(): string;
19
- protected get withCredentials(): boolean;
20
- requestHeaders: IHttpHeaders;
21
- requestParams: IHttpParams;
22
- cache: any;
23
- protected static retryFailedRequests(): void;
24
- get universal(): UniversalService;
25
- constructor(injector: Injector, client: BaseHttpClient, storage: StorageService, language: ILanguageService, toaster: IToasterService, configs: IConfigService, request?: Request);
26
- protected initService(): void;
27
- url(url: string): string;
28
- createUrl(url: string, params: IHttpParams): string;
29
- makeListParams(page: number, itemsPerPage: number, orderBy?: string, orderDescending?: boolean, filter?: string): IHttpParams;
30
- protected getPromise(url: string, options?: IRequestOptions, body?: any): HttpPromise;
31
- protected deletePromise(url: string, options?: IRequestOptions, body?: any): HttpPromise;
32
- protected postPromise(url: string, body?: any, options?: IRequestOptions): HttpPromise;
33
- protected putPromise(url: string, body?: any, options?: IRequestOptions): HttpPromise;
34
- protected patchPromise(url: string, body?: any, options?: IRequestOptions): HttpPromise;
35
- protected uploadPromise(url: string, body: any, listener?: ProgressListener, options?: IRequestOptions): HttpPromise;
36
- protected listPromise(url: string, params: IHttpParams): Promise<IPaginationData>;
37
- protected handleUnauthorizedError(absoluteUrl: string, options: IRequestOptions, reject: () => void): void;
38
- protected toastWarning(message: string, issueContext: IIssueContext, reason: any, options: IRequestOptions): void;
39
- protected toastError(message: string, issueContext: IIssueContext, reason: any, options: IRequestOptions): void;
40
- protected toPromise(url: string, options: IRequestOptions, listener?: ProgressListener): HttpPromise;
41
- protected getUserTokenTime(): number;
42
- protected pushFailedRequest(url: string, options: IRequestOptions, req: () => void): boolean;
43
- protected checkHeaders(headers: any): boolean;
44
- protected makeOptions(options?: IRequestOptions, method?: string, body?: any): IRequestOptions;
45
- protected makeHeaders(options: IRequestOptions): HttpHeaders;
46
- protected makeParams(options: IRequestOptions): HttpParams;
47
- protected parseResponse(response: any, url: string, options: IRequestOptions): any;
48
- protected parseUrl(url: string): string;
49
- protected absoluteUrl(url: string, options: IRequestOptions): Promise<string>;
50
- protected expressRequestUrl(url: string): string;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttpService, [null, null, null, null, null, null, { optional: true; }]>;
52
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseHttpService>;
53
- }
1
+ import { Injector } from "@angular/core";
2
+ import { HttpHeaders, HttpParams } from "@angular/common/http";
3
+ import { Request } from "express";
4
+ import { HttpPromise, IConfigService, IHttpHeaders, IHttpParams, IHttpService, IIssueContext, ILanguageService, IPaginationData, IRequestOptions, IToasterService, ProgressListener } from "../common-types";
5
+ import { BaseHttpClient } from "./base-http.client";
6
+ import { UniversalService } from "./universal.service";
7
+ import { StorageService } from "./storage.service";
8
+ import * as i0 from "@angular/core";
9
+ export declare class BaseHttpService implements IHttpService {
10
+ readonly injector: Injector;
11
+ readonly client: BaseHttpClient;
12
+ readonly storage: StorageService;
13
+ readonly language: ILanguageService;
14
+ readonly toaster: IToasterService;
15
+ readonly configs: IConfigService;
16
+ readonly request: Request;
17
+ protected static failedRequests: Array<() => void>;
18
+ get name(): string;
19
+ protected get withCredentials(): boolean;
20
+ requestHeaders: IHttpHeaders;
21
+ requestParams: IHttpParams;
22
+ cache: any;
23
+ protected static retryFailedRequests(): void;
24
+ get universal(): UniversalService;
25
+ constructor(injector: Injector, client: BaseHttpClient, storage: StorageService, language: ILanguageService, toaster: IToasterService, configs: IConfigService, request?: Request);
26
+ protected initService(): void;
27
+ url(url: string): string;
28
+ createUrl(url: string, params: IHttpParams): string;
29
+ makeListParams(page: number, itemsPerPage: number, orderBy?: string, orderDescending?: boolean, filter?: string): IHttpParams;
30
+ protected getPromise(url: string, options?: IRequestOptions, body?: any): HttpPromise;
31
+ protected deletePromise(url: string, options?: IRequestOptions, body?: any): HttpPromise;
32
+ protected postPromise(url: string, body?: any, options?: IRequestOptions): HttpPromise;
33
+ protected putPromise(url: string, body?: any, options?: IRequestOptions): HttpPromise;
34
+ protected patchPromise(url: string, body?: any, options?: IRequestOptions): HttpPromise;
35
+ protected uploadPromise(url: string, body: any, listener?: ProgressListener, options?: IRequestOptions): HttpPromise;
36
+ protected listPromise(url: string, params: IHttpParams): Promise<IPaginationData>;
37
+ protected handleUnauthorizedError(absoluteUrl: string, options: IRequestOptions, reject: () => void): void;
38
+ protected toastWarning(message: string, issueContext: IIssueContext, reason: any, options: IRequestOptions): void;
39
+ protected toastError(message: string, issueContext: IIssueContext, reason: any, options: IRequestOptions): void;
40
+ protected toPromise(url: string, options: IRequestOptions, listener?: ProgressListener): HttpPromise;
41
+ protected getUserTokenTime(): number;
42
+ protected pushFailedRequest(url: string, options: IRequestOptions, req: () => void): boolean;
43
+ protected checkHeaders(headers: any): boolean;
44
+ protected makeOptions(options?: IRequestOptions, method?: string, body?: any): IRequestOptions;
45
+ protected makeHeaders(options: IRequestOptions): HttpHeaders;
46
+ protected makeParams(options: IRequestOptions): HttpParams;
47
+ protected parseResponse(response: any, url: string, options: IRequestOptions): any;
48
+ protected parseUrl(url: string): string;
49
+ protected absoluteUrl(url: string, options: IRequestOptions): Promise<string>;
50
+ protected expressRequestUrl(url: string): string;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttpService, [null, null, null, null, null, null, { optional: true; }]>;
52
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseHttpService>;
53
+ }
@@ -1,30 +1,30 @@
1
- import { Injector } from "@angular/core";
2
- import { HttpClient } from "@angular/common/http";
3
- import { UniversalService } from "./universal.service";
4
- import { IConfigService, IConfiguration } from "../common-types";
5
- import * as i0 from "@angular/core";
6
- export declare class ConfigService implements IConfigService {
7
- readonly http: HttpClient;
8
- readonly universal: UniversalService;
9
- readonly injector: Injector;
10
- readonly rootElement: any;
11
- readonly baseUrl: string;
12
- protected baseConfig: IConfiguration;
13
- protected loadedConfig: IConfiguration;
14
- protected scriptParameters: any;
15
- protected loader: Promise<IConfiguration>;
16
- protected readonly loaderFunc: () => Promise<IConfiguration>;
17
- get load(): () => Promise<IConfiguration>;
18
- get config(): IConfiguration;
19
- get configUrl(): string;
20
- constructor(http: HttpClient, universal: UniversalService, injector: Injector, rootElement: any, baseUrl: string, baseConfig?: IConfiguration, scriptParams?: any);
21
- protected initService(): void;
22
- protected loadJson(): Promise<IConfiguration>;
23
- protected prepareConfig(config: IConfiguration): Promise<IConfiguration>;
24
- cloneRootElem(): any;
25
- prepareUrl(url: string, ending: string): string;
26
- getConfigValue(key: string): any;
27
- getQueryParameter(name: string, url?: string): string;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
29
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
30
- }
1
+ import { Injector } from "@angular/core";
2
+ import { HttpClient } from "@angular/common/http";
3
+ import { UniversalService } from "./universal.service";
4
+ import { IConfigService, IConfiguration } from "../common-types";
5
+ import * as i0 from "@angular/core";
6
+ export declare class ConfigService implements IConfigService {
7
+ readonly http: HttpClient;
8
+ readonly universal: UniversalService;
9
+ readonly injector: Injector;
10
+ readonly rootElement: any;
11
+ readonly baseUrl: string;
12
+ protected baseConfig: IConfiguration;
13
+ protected loadedConfig: IConfiguration;
14
+ protected scriptParameters: any;
15
+ protected loader: Promise<IConfiguration>;
16
+ protected readonly loaderFunc: () => Promise<IConfiguration>;
17
+ get load(): () => Promise<IConfiguration>;
18
+ get config(): IConfiguration;
19
+ get configUrl(): string;
20
+ constructor(http: HttpClient, universal: UniversalService, injector: Injector, rootElement: any, baseUrl: string, baseConfig?: IConfiguration, scriptParams?: any);
21
+ protected initService(): void;
22
+ protected loadJson(): Promise<IConfiguration>;
23
+ protected prepareConfig(config: IConfiguration): Promise<IConfiguration>;
24
+ cloneRootElem(): any;
25
+ prepareUrl(url: string, ending: string): string;
26
+ getConfigValue(key: string): any;
27
+ getQueryParameter(name: string, url?: string): string;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
30
+ }
@@ -1,13 +1,13 @@
1
- import { ErrorHandler, Injector } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class ErrorHandlerService extends ErrorHandler {
4
- readonly injector: Injector;
5
- private toaster;
6
- private universal;
7
- private errorCb;
8
- private readonly errorMap;
9
- constructor(injector: Injector);
10
- handleError(error: Error): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandlerService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandlerService>;
13
- }
1
+ import { ErrorHandler, Injector } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ErrorHandlerService extends ErrorHandler {
4
+ readonly injector: Injector;
5
+ private toaster;
6
+ private universal;
7
+ private errorCb;
8
+ private readonly errorMap;
9
+ constructor(injector: Injector);
10
+ handleError(error: Error): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandlerService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandlerService>;
13
+ }