angular-toolbox 1.5.4 → 1.6.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 (279) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/fesm2022/angular-toolbox.mjs +147 -147
  4. package/fesm2022/angular-toolbox.mjs.map +1 -1
  5. package/index.d.ts +5342 -3
  6. package/package.json +1 -1
  7. package/lib/angular-toolbox.module.d.ts +0 -9
  8. package/lib/collection/array-list-event-type.enum.d.ts +0 -28
  9. package/lib/collection/array-list.d.ts +0 -111
  10. package/lib/collection/array-list.event.d.ts +0 -29
  11. package/lib/collection/index.d.ts +0 -10
  12. package/lib/component/angular-toolbox-logo/angular-toolbox-logo.component.d.ts +0 -5
  13. package/lib/component/dropdown/dropdown.component.d.ts +0 -100
  14. package/lib/component/index.d.ts +0 -11
  15. package/lib/component/layout/border-layout/border-layout.component.d.ts +0 -96
  16. package/lib/component/layout/border-layout/util/border-layout-bounds-manager.d.ts +0 -131
  17. package/lib/component/layout/border-layout/util/border-layout-renderer.d.ts +0 -118
  18. package/lib/component/layout/border-layout/util/resize-method.d.ts +0 -13
  19. package/lib/component/layout/border-layout-container/border-layout-container.component.d.ts +0 -104
  20. package/lib/component/layout/index.d.ts +0 -2
  21. package/lib/component/navbar/navbar.component.d.ts +0 -114
  22. package/lib/core/abstract/abstract-subscription-manager.d.ts +0 -73
  23. package/lib/core/abstract/abstract-version-manager.d.ts +0 -34
  24. package/lib/core/abstract/index.d.ts +0 -2
  25. package/lib/core/bridge/app-bridge.d.ts +0 -59
  26. package/lib/core/error/app-bridge-error.d.ts +0 -16
  27. package/lib/core/error/http-mock-service-error.d.ts +0 -18
  28. package/lib/core/error/index.d.ts +0 -4
  29. package/lib/core/error/integrity-error.d.ts +0 -18
  30. package/lib/core/error/subscription-error.d.ts +0 -18
  31. package/lib/core/impl/index.d.ts +0 -1
  32. package/lib/core/impl/lang/identifiable-component.d.ts +0 -44
  33. package/lib/core/impl/lang/index.d.ts +0 -1
  34. package/lib/core/impl/version/version.impl.d.ts +0 -46
  35. package/lib/core/index.d.ts +0 -3
  36. package/lib/directive/anchor-link.directive.d.ts +0 -29
  37. package/lib/directive/button-role.directive.d.ts +0 -52
  38. package/lib/directive/content-renderer.directive.d.ts +0 -39
  39. package/lib/directive/index.d.ts +0 -4
  40. package/lib/directive/navigate-to-url.directive.d.ts +0 -23
  41. package/lib/directive/navigation-directive-base.d.ts +0 -19
  42. package/lib/framework/dialog/dialog-backdrop-type.enum.d.ts +0 -20
  43. package/lib/framework/dialog/dialog-backdrop.type.d.ts +0 -11
  44. package/lib/framework/dialog/dialog-default-config.d.ts +0 -12
  45. package/lib/framework/dialog/dialog-outlet-event-type.d.ts +0 -11
  46. package/lib/framework/dialog/dialog-outlet.event.d.ts +0 -40
  47. package/lib/framework/dialog/dialog-service.d.ts +0 -47
  48. package/lib/framework/dialog/dialog-service.error.d.ts +0 -19
  49. package/lib/framework/dialog/dialog.config.d.ts +0 -18
  50. package/lib/framework/dialog/dialog.outlet.d.ts +0 -59
  51. package/lib/framework/dialog/index.d.ts +0 -15
  52. package/lib/framework/index.d.ts +0 -5
  53. package/lib/framework/logging/connector/console-log-connector.d.ts +0 -34
  54. package/lib/framework/logging/connector/default-log-connector.d.ts +0 -34
  55. package/lib/framework/logging/connector/html-log-connector.d.ts +0 -72
  56. package/lib/framework/logging/connector/index.d.ts +0 -3
  57. package/lib/framework/logging/impl/abstract-logger.d.ts +0 -69
  58. package/lib/framework/logging/impl/index.d.ts +0 -2
  59. package/lib/framework/logging/impl/log-impl.d.ts +0 -45
  60. package/lib/framework/logging/index.d.ts +0 -3
  61. package/lib/framework/logging/util/index.d.ts +0 -3
  62. package/lib/framework/logging/util/log.builder.d.ts +0 -24
  63. package/lib/framework/logging/util/log.constant.d.ts +0 -23
  64. package/lib/framework/logging/util/log.util.d.ts +0 -48
  65. package/lib/framework/mock/documentation/component/atx-mock-description/atx-mock-description.component.d.ts +0 -14
  66. package/lib/framework/mock/documentation/component/atx-mock-documentation/atx-mock-documentation.component.d.ts +0 -43
  67. package/lib/framework/mock/documentation/component/atx-mock-full-description/atx-mock-full-description.component.d.ts +0 -15
  68. package/lib/framework/mock/documentation/component/atx-mock-methods/atx-mock-methods.component.d.ts +0 -29
  69. package/lib/framework/mock/documentation/component/atx-mock-param/atx-mock-param.component.d.ts +0 -15
  70. package/lib/framework/mock/documentation/index.d.ts +0 -1
  71. package/lib/framework/mock/documentation/model/business/full-description.type.d.ts +0 -21
  72. package/lib/framework/mock/documentation/model/business/method-doc-descriptor.type.d.ts +0 -22
  73. package/lib/framework/mock/http/config/http-mock-parameters.d.ts +0 -13
  74. package/lib/framework/mock/http/config/http-mock.decorator.d.ts +0 -13
  75. package/lib/framework/mock/http/config/index.d.ts +0 -2
  76. package/lib/framework/mock/http/config/route-mock-config.d.ts +0 -36
  77. package/lib/framework/mock/http/core/data-storage.d.ts +0 -43
  78. package/lib/framework/mock/http/core/response-delay.d.ts +0 -23
  79. package/lib/framework/mock/http/event/event-target.impl.d.ts +0 -78
  80. package/lib/framework/mock/http/event/progress-event-mock.d.ts +0 -36
  81. package/lib/framework/mock/http/index.d.ts +0 -3
  82. package/lib/framework/mock/http/logging/http-mock-logger.d.ts +0 -14
  83. package/lib/framework/mock/http/logging/http-mock-logging-metadata.builder.d.ts +0 -20
  84. package/lib/framework/mock/http/path-to-regexp/constants.d.ts +0 -111
  85. package/lib/framework/mock/http/path-to-regexp/escape-to-regexp-string.d.ts +0 -24
  86. package/lib/framework/mock/http/path-to-regexp/get-flags.d.ts +0 -25
  87. package/lib/framework/mock/http/path-to-regexp/iter.d.ts +0 -50
  88. package/lib/framework/mock/http/path-to-regexp/lexer.d.ts +0 -24
  89. package/lib/framework/mock/http/path-to-regexp/loose-replacer.d.ts +0 -25
  90. package/lib/framework/mock/http/path-to-regexp/model/decode-key-to-string.d.ts +0 -21
  91. package/lib/framework/mock/http/path-to-regexp/model/encode.d.ts +0 -20
  92. package/lib/framework/mock/http/path-to-regexp/model/key.d.ts +0 -45
  93. package/lib/framework/mock/http/path-to-regexp/model/lex-token.d.ts +0 -34
  94. package/lib/framework/mock/http/path-to-regexp/model/lexer-type.d.ts +0 -21
  95. package/lib/framework/mock/http/path-to-regexp/model/loose-replacer-provider.d.ts +0 -20
  96. package/lib/framework/mock/http/path-to-regexp/model/non-delimiter-encoder-provider.d.ts +0 -21
  97. package/lib/framework/mock/http/path-to-regexp/model/parse-options.d.ts +0 -33
  98. package/lib/framework/mock/http/path-to-regexp/model/path-to-regexp-options.d.ts +0 -52
  99. package/lib/framework/mock/http/path-to-regexp/model/route-string-tokenizer.d.ts +0 -22
  100. package/lib/framework/mock/http/path-to-regexp/model/simple-tokens.d.ts +0 -21
  101. package/lib/framework/mock/http/path-to-regexp/model/token-data-regexp-factory.d.ts +0 -23
  102. package/lib/framework/mock/http/path-to-regexp/model/token-type.d.ts +0 -20
  103. package/lib/framework/mock/http/path-to-regexp/model/token.d.ts +0 -21
  104. package/lib/framework/mock/http/path-to-regexp/string-to-token-data.d.ts +0 -21
  105. package/lib/framework/mock/http/path-to-regexp/to-key-regexp.d.ts +0 -22
  106. package/lib/framework/mock/http/path-to-regexp/to-stringify.d.ts +0 -21
  107. package/lib/framework/mock/http/path-to-regexp/token-data-to-regexp.d.ts +0 -21
  108. package/lib/framework/mock/http/path-to-regexp/token-data.d.ts +0 -32
  109. package/lib/framework/mock/http/util/data-storage.builder.d.ts +0 -26
  110. package/lib/framework/mock/http/util/fetch-client-response-type.enum.d.ts +0 -38
  111. package/lib/framework/mock/http/util/fetch-client.builder.d.ts +0 -28
  112. package/lib/framework/mock/http/util/http-headers-mock.builder.d.ts +0 -106
  113. package/lib/framework/mock/http/util/http-headers.util.d.ts +0 -41
  114. package/lib/framework/mock/http/util/http-method-ref.enum.d.ts +0 -58
  115. package/lib/framework/mock/http/util/http-mock-max-delay.d.ts +0 -11
  116. package/lib/framework/mock/http/util/http-mock-response-delay.util.d.ts +0 -22
  117. package/lib/framework/mock/http/util/http-mock-response.builder.d.ts +0 -91
  118. package/lib/framework/mock/http/util/http-status-text-finder.d.ts +0 -23
  119. package/lib/framework/mock/http/util/http-status-text.enum.d.ts +0 -252
  120. package/lib/framework/mock/http/util/index.d.ts +0 -7
  121. package/lib/framework/mock/http/xhr/delegate-xhr.d.ts +0 -214
  122. package/lib/framework/mock/http/xhr/http-mock-factory.d.ts +0 -14
  123. package/lib/framework/mock/http/xhr/http-mock-factory.impl.d.ts +0 -26
  124. package/lib/framework/mock/http/xhr/index.d.ts +0 -1
  125. package/lib/framework/mock/http/xhr/xhr-base.d.ts +0 -123
  126. package/lib/framework/mock/http/xhr/xhr-proxy-impl.d.ts +0 -126
  127. package/lib/framework/mock/http-monitoring-console/component/abstract/log-renderer-base.d.ts +0 -28
  128. package/lib/framework/mock/http-monitoring-console/component/console-footer/console-footer.component.d.ts +0 -15
  129. package/lib/framework/mock/http-monitoring-console/component/console-menu/console-menu.component.d.ts +0 -23
  130. package/lib/framework/mock/http-monitoring-console/component/http-monitoring-console/http-monitoring-console.component.d.ts +0 -21
  131. package/lib/framework/mock/http-monitoring-console/component/renderer/icon-renderer/icon-renderer.component.d.ts +0 -28
  132. package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer/json-viewer.component.d.ts +0 -19
  133. package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer-panel/json-viewer-panel.component.d.ts +0 -15
  134. package/lib/framework/mock/http-monitoring-console/component/renderer/payload-renderer/payload-renderer.component.d.ts +0 -27
  135. package/lib/framework/mock/http-monitoring-console/component/renderer/request-info-renderer/request-info-renderer.component.d.ts +0 -25
  136. package/lib/framework/mock/http-monitoring-console/component/renderer/request-list-renderer/request-list-renderer.component.d.ts +0 -57
  137. package/lib/framework/mock/http-monitoring-console/component/renderer/response-body-renderer/response-body-renderer.component.d.ts +0 -35
  138. package/lib/framework/mock/http-monitoring-console/component/renderer/response-preview-renderer/response-preview-renderer.component.d.ts +0 -61
  139. package/lib/framework/mock/http-monitoring-console/component/renderer/spinner/spinner.component.d.ts +0 -9
  140. package/lib/framework/mock/http-monitoring-console/component/renderer/timing-renderer/timing-renderer.component.d.ts +0 -39
  141. package/lib/framework/mock/http-monitoring-console/component/request-details/request-details.component.d.ts +0 -51
  142. package/lib/framework/mock/http-monitoring-console/connector/http-monitoring-console-log-connector.d.ts +0 -45
  143. package/lib/framework/mock/http-monitoring-console/index.d.ts +0 -1
  144. package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action-type.d.ts +0 -38
  145. package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action.d.ts +0 -24
  146. package/lib/framework/mock/http-monitoring-console/model/business/atx-console-json.d.ts +0 -34
  147. package/lib/framework/mock/http-monitoring-console/model/business/atx-is-imported-log.d.ts +0 -13
  148. package/lib/framework/mock/http-monitoring-console/model/business/atx-timeline-data.d.ts +0 -21
  149. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-body-dto.d.ts +0 -24
  150. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-header-dto.d.ts +0 -23
  151. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log-metadata.dto.d.ts +0 -31
  152. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log.dto.d.ts +0 -30
  153. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request-metadata.dto.ts.d.ts +0 -38
  154. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request.dto.d.ts +0 -55
  155. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-response.dto.d.ts +0 -41
  156. package/lib/framework/mock/http-monitoring-console/model/business/io/hmfl.d.ts +0 -24
  157. package/lib/framework/mock/http-monitoring-console/model/service/atx-log-io.service.d.ts +0 -33
  158. package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.controller.d.ts +0 -55
  159. package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.state.d.ts +0 -75
  160. package/lib/framework/mock/http-monitoring-console/model/service/atx-user-action.service.d.ts +0 -32
  161. package/lib/framework/mock/http-monitoring-console/util/console-body-type.d.ts +0 -48
  162. package/lib/framework/mock/http-monitoring-console/util/console-type-class.d.ts +0 -43
  163. package/lib/framework/mock/http-monitoring-console/util/data.util.d.ts +0 -33
  164. package/lib/framework/mock/http-monitoring-console/util/io/body-converter.d.ts +0 -30
  165. package/lib/framework/mock/http-monitoring-console/util/io/body-serializer.d.ts +0 -32
  166. package/lib/framework/mock/http-monitoring-console/util/io/form-data-serializer.d.ts +0 -21
  167. package/lib/framework/mock/http-monitoring-console/util/io/hmfl-builder.d.ts +0 -23
  168. package/lib/framework/mock/http-monitoring-console/util/io/http-request-converter.d.ts +0 -31
  169. package/lib/framework/mock/http-monitoring-console/util/io/http-response-converter.d.ts +0 -31
  170. package/lib/framework/mock/http-monitoring-console/util/io/log-converter.d.ts +0 -31
  171. package/lib/framework/mock/http-monitoring-console/util/io/log-headers-converter.d.ts +0 -31
  172. package/lib/framework/mock/http-monitoring-console/util/io/log-message.util.d.ts +0 -23
  173. package/lib/framework/mock/http-monitoring-console/util/io/log-metadata-converter.d.ts +0 -31
  174. package/lib/framework/mock/http-monitoring-console/util/io/request-metadata-converter.d.ts +0 -31
  175. package/lib/framework/mock/http-monitoring-console/util/size.util.d.ts +0 -33
  176. package/lib/framework/mock/http-monitoring-console/util/timeline.util.d.ts +0 -23
  177. package/lib/framework/mock/http-monitoring-console/util/url.util.d.ts +0 -38
  178. package/lib/model/business/index.d.ts +0 -7
  179. package/lib/model/business/lang/app-bridge-command.d.ts +0 -11
  180. package/lib/model/business/lang/destroyable.d.ts +0 -16
  181. package/lib/model/business/lang/identifiable.d.ts +0 -26
  182. package/lib/model/business/lang/index.d.ts +0 -4
  183. package/lib/model/business/lang/instantiable.d.ts +0 -15
  184. package/lib/model/business/logging/atx-logger-config.provider.d.ts +0 -21
  185. package/lib/model/business/logging/http-mock-logging-constant.enum.d.ts +0 -32
  186. package/lib/model/business/logging/index.d.ts +0 -7
  187. package/lib/model/business/logging/log-connector.d.ts +0 -36
  188. package/lib/model/business/logging/log-level.enum.d.ts +0 -32
  189. package/lib/model/business/logging/log.d.ts +0 -34
  190. package/lib/model/business/logging/logger-config.d.ts +0 -17
  191. package/lib/model/business/logging/logger.d.ts +0 -58
  192. package/lib/model/business/logging/transactional-logger.d.ts +0 -28
  193. package/lib/model/business/mock/http/config/http-mock-production-policy.enum.d.ts +0 -24
  194. package/lib/model/business/mock/http/config/http-mocking-framework-config.d.ts +0 -21
  195. package/lib/model/business/mock/http/config/http-mocking-framework-config.provider.d.ts +0 -21
  196. package/lib/model/business/mock/http/config/index.d.ts +0 -3
  197. package/lib/model/business/mock/http/fetch-client.d.ts +0 -13
  198. package/lib/model/business/mock/http/http-method-mock.d.ts +0 -35
  199. package/lib/model/business/mock/http/http-mock-config.d.ts +0 -32
  200. package/lib/model/business/mock/http/http-mock-endpoint-descriptor.d.ts +0 -21
  201. package/lib/model/business/mock/http/http-mock-endpoint.d.ts +0 -46
  202. package/lib/model/business/mock/http/http-mock-error.d.ts +0 -21
  203. package/lib/model/business/mock/http/http-mock-interceptor.d.ts +0 -31
  204. package/lib/model/business/mock/http/http-mock-method-descriptor.d.ts +0 -29
  205. package/lib/model/business/mock/http/http-mock-parameter-descriptor.d.ts +0 -20
  206. package/lib/model/business/mock/http/http-mock-request-metadata.d.ts +0 -33
  207. package/lib/model/business/mock/http/http-response-mock.d.ts +0 -44
  208. package/lib/model/business/mock/http/index.d.ts +0 -14
  209. package/lib/model/business/mock/http/logging/http-mock-logging-metadata.d.ts +0 -15
  210. package/lib/model/business/mock/http/logging/http-mock-logging-prefetch-metadata.d.ts +0 -16
  211. package/lib/model/business/mock/http/logging/index.d.ts +0 -2
  212. package/lib/model/business/mock/http/xhr-proxy.d.ts +0 -15
  213. package/lib/model/business/navigator/battery-manager.d.ts +0 -56
  214. package/lib/model/business/navigator/connection-type.d.ts +0 -11
  215. package/lib/model/business/navigator/effective-connection-type.d.ts +0 -11
  216. package/lib/model/business/navigator/index.d.ts +0 -4
  217. package/lib/model/business/navigator/network-information.d.ts +0 -53
  218. package/lib/model/business/subscription/index.d.ts +0 -1
  219. package/lib/model/business/subscription/subscription-manager.d.ts +0 -52
  220. package/lib/model/business/ui/dark-mode-config.d.ts +0 -29
  221. package/lib/model/business/ui/dark-mode-config.provider.d.ts +0 -21
  222. package/lib/model/business/ui/dark-mode.constant.d.ts +0 -15
  223. package/lib/model/business/ui/dropdown/dropdown-event-type.enum.d.ts +0 -20
  224. package/lib/model/business/ui/dropdown/dropdown-position.d.ts +0 -15
  225. package/lib/model/business/ui/dropdown/dropdown-state.d.ts +0 -11
  226. package/lib/model/business/ui/dropdown/dropdown.event.d.ts +0 -40
  227. package/lib/model/business/ui/dropdown/index.d.ts +0 -5
  228. package/lib/model/business/ui/dropdown/popover-state.d.ts +0 -11
  229. package/lib/model/business/ui/index.d.ts +0 -7
  230. package/lib/model/business/ui/layout/index.d.ts +0 -5
  231. package/lib/model/business/ui/layout/layout-constraints.d.ts +0 -33
  232. package/lib/model/business/ui/layout/layout-drag-event-type.enum.d.ts +0 -24
  233. package/lib/model/business/ui/layout/layout-drag.event.d.ts +0 -33
  234. package/lib/model/business/ui/layout/layout-region.d.ts +0 -36
  235. package/lib/model/business/ui/layout/layout-region.error.d.ts +0 -19
  236. package/lib/model/business/ui/scroll-behavior.type.d.ts +0 -11
  237. package/lib/model/business/ui/window/index.d.ts +0 -4
  238. package/lib/model/business/ui/window/window-feature-state.d.ts +0 -20
  239. package/lib/model/business/ui/window/window-init.d.ts +0 -75
  240. package/lib/model/business/ui/window/window-ref.d.ts +0 -21
  241. package/lib/model/business/ui/window/window-target.d.ts +0 -32
  242. package/lib/model/business/version/index.d.ts +0 -4
  243. package/lib/model/business/version/version-config.d.ts +0 -32
  244. package/lib/model/business/version/version-config.provider.d.ts +0 -22
  245. package/lib/model/business/version/version-manager.d.ts +0 -25
  246. package/lib/model/business/version/version.d.ts +0 -38
  247. package/lib/model/index.d.ts +0 -2
  248. package/lib/model/service/index.d.ts +0 -5
  249. package/lib/model/service/logging/index.d.ts +0 -1
  250. package/lib/model/service/logging/logger-service.d.ts +0 -14
  251. package/lib/model/service/mock/http/http-mock.service.d.ts +0 -134
  252. package/lib/model/service/mock/http/index.d.ts +0 -2
  253. package/lib/model/service/mock/http/logging/atx-http-mock-console.service.d.ts +0 -51
  254. package/lib/model/service/mock/http/logging/http-mock-logging-service.d.ts +0 -83
  255. package/lib/model/service/mock/http/logging/index.d.ts +0 -2
  256. package/lib/model/service/subscription/subscription.service.d.ts +0 -10
  257. package/lib/model/service/ui/app-bridge.service.d.ts +0 -80
  258. package/lib/model/service/ui/dark-mode.service.d.ts +0 -99
  259. package/lib/model/service/ui/index.d.ts +0 -4
  260. package/lib/model/service/ui/scroll.service.d.ts +0 -55
  261. package/lib/model/service/ui/window/abstract-window.service.d.ts +0 -64
  262. package/lib/model/service/ui/window/index.d.ts +0 -2
  263. package/lib/model/service/ui/window/window.service.d.ts +0 -44
  264. package/lib/model/service/version/angular-toolbox-version.service.d.ts +0 -13
  265. package/lib/model/service/version/index.d.ts +0 -2
  266. package/lib/model/service/version/version.service.d.ts +0 -15
  267. package/lib/pipe/index.d.ts +0 -1
  268. package/lib/pipe/safe/safe-html.pipe.d.ts +0 -30
  269. package/lib/util/aria-role.constant.d.ts +0 -15
  270. package/lib/util/default-scroll-behavior.d.ts +0 -12
  271. package/lib/util/empty-string.const.d.ts +0 -11
  272. package/lib/util/http-mocking-framework-config.manager.d.ts +0 -66
  273. package/lib/util/index.d.ts +0 -5
  274. package/lib/util/js-type.d.ts +0 -39
  275. package/lib/util/uuid.d.ts +0 -89
  276. package/lib/util/version.util.d.ts +0 -30
  277. package/lib/util/window/window-features-builder.d.ts +0 -46
  278. package/lib/util/window/window-header-tag-util.d.ts +0 -27
  279. package/public-api.d.ts +0 -16
@@ -1,36 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { Destroyable } from "../lang";
9
- import { Log } from "./log";
10
- /**
11
- * The markup interface for Angular Toolbox log connectors. ATX log connectors are
12
- * controllers that apply specific processing to logs (e.g sending logs to a data base...).
13
- */
14
- export interface LogConnector extends Destroyable {
15
- /**
16
- * Initializes the controller.
17
- *
18
- * @param logList The initial log list.
19
- */
20
- init(logList: Log[]): void;
21
- /**
22
- * Sends the specified log to the controller for processing.
23
- *
24
- * @param log The log to be sent for processing.
25
- */
26
- sendLog(log: Log): void;
27
- /**
28
- * Removes all logs from the controller.
29
- */
30
- clearLogs(): void;
31
- /**
32
- * Creates a copy of all logs in the controller.
33
- * The copying process depends on the controller implementation.
34
- */
35
- copyLogs(): void;
36
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- /**
9
- * Defines the level of an Angular Toolbox log.
10
- */
11
- export declare enum LogLevel {
12
- /**
13
- * Indicates that the log is a basic information message.
14
- */
15
- INFO = 0,
16
- /**
17
- * Indicates that the log represents a config message.
18
- */
19
- CONFIG = 1,
20
- /**
21
- * Indicates that the log is a warning message.
22
- */
23
- WARNING = 2,
24
- /**
25
- * Indicates that the log message represents an error.
26
- */
27
- ERROR = 3,
28
- /**
29
- * A special level used by loggers to prevent logs to be processed.
30
- */
31
- OFF = 4
32
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { LogLevel } from "./log-level.enum";
9
- /**
10
- * Represents a log in the Angular Toolbox framework.
11
- */
12
- export interface Log {
13
- /**
14
- * Provides a human readable reference for the invoker associated with this log.
15
- */
16
- readonly caller: string;
17
- /**
18
- * The message associated with this log.
19
- */
20
- readonly message: string;
21
- /**
22
- * The criticality level of this log.
23
- */
24
- readonly level: LogLevel;
25
- /**
26
- * The timestamp at which the log has been created.
27
- */
28
- readonly timestamp: number;
29
- /**
30
- * Optional metada associated with this log.
31
- * Metadata are typically set by Developer to provide custom objects representations.
32
- */
33
- readonly metadata?: any;
34
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { LogConnector } from "./log-connector";
9
- /**
10
- * Defines properties for the `LoggerService` configuration.
11
- */
12
- export interface LoggerConfig {
13
- /**
14
- * Defines the log connector of the `LoggerService` singleton.
15
- */
16
- logConnector?: LogConnector;
17
- }
@@ -1,58 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { LogLevel } from "./log-level.enum";
9
- import { Log } from "./log";
10
- /**
11
- * The base interface of all logging services in the ATX logging framework.
12
- */
13
- export interface Logger {
14
- /**
15
- * Defines the minimum log lovel at which logs must be processed.
16
- */
17
- minLogLevel: LogLevel;
18
- /**
19
- * Returns the list of logs processed by this logging service.
20
- */
21
- getLogs(): Log[];
22
- /**
23
- * Sends an information log message to the service.
24
- *
25
- * @param caller The reference to the caller that sends the log.
26
- * @param message The log message.
27
- * @param metadata Optional metadata associated with this log.
28
- */
29
- info(caller: string | any, message: string, metadata?: any): void;
30
- /**
31
- * Sends a config log message to the service.
32
- *
33
- * @param caller The reference to the caller that sends the log.
34
- * @param message The log message.
35
- * @param metadata Optional metadata associated with this log.
36
- */
37
- config(caller: string | any, message: string, metadata?: any): void;
38
- /**
39
- * Sends an error log to the service.
40
- *
41
- * @param caller The reference to the caller that sends the log.
42
- * @param message The log message.
43
- * @param metadata Optional metadata associated with this log.
44
- */
45
- error(caller: string | any, message: string, metadata?: any): void;
46
- /**
47
- * Sends a warning log to the service.
48
- *
49
- * @param caller The reference to the caller that sends the log.
50
- * @param message The log message.
51
- * @param metadata Optional metadata associated with this log.
52
- */
53
- warn(caller: string | any, message: string, metadata?: any): void;
54
- /**
55
- * Removes all the logs that have been processed by this logger.
56
- */
57
- clearLogs(): void;
58
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { Destroyable } from "../lang";
9
- import { LogConnector } from "./log-connector";
10
- /**
11
- * Transactional loggers allow to create proxy via the `LogConnector` interface
12
- * to send logs to third-party tools.
13
- */
14
- export interface TransactionalLogger extends Destroyable {
15
- /**
16
- * Sets a new log connector this transactional logger.
17
- *
18
- * @param value The reference to the new log connector associated with this transactional logger.
19
- * If `null` the logger uses the instance defined by the `DEFAULT_LOG_CONNECTOR` constant.
20
- */
21
- setLogConnector(value: LogConnector | null): void;
22
- /**
23
- * Returns the reference to the log connector associated with this transactional logger.
24
- *
25
- * @returns The log connector associated with this transactional logger.
26
- */
27
- getLogConnector(): LogConnector;
28
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- /**
9
- * The list of constant values that can be passed to the `productionPolicy` of the `HttpMockingFrameworkConfig` interface.
10
- */
11
- export declare enum HttpMockProductionPolicy {
12
- /**
13
- * Indicates that the framework intercepts requests silently in producion mode.
14
- */
15
- SILENT = 0,
16
- /**
17
- * Indicates that the framework has to send a warning message to the console when a request is intercetped in producion mode.
18
- */
19
- WARNING = 1,
20
- /**
21
- * Indicates that the framework trhows an error when a request is intercetped in producion mode.
22
- */
23
- ERROR = 2
24
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpMockProductionPolicy } from "./http-mock-production-policy.enum";
9
- /**
10
- * Defines properties for the HTTP Mocking framework configuration.
11
- */
12
- export interface HttpMockingFrameworkConfig {
13
- /**
14
- * Indicates whether the visual flag is visible (`false`), or not (`true`).
15
- */
16
- disableVisualFlag?: boolean;
17
- /**
18
- * Indicates the behavior of the framework when it is used in production mode.
19
- */
20
- productionPolicy?: HttpMockProductionPolicy;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpMockingFrameworkConfig } from "./http-mocking-framework-config";
9
- /**
10
- * The default provider for the HTTP Mocking Framework configuration. You typically define
11
- * the custom properties in the main NgModule declaration to initialize the HTTP Mocking Framework:
12
- *
13
- * @NgModule({
14
- * ...
15
- * providers: [
16
- * { provide: HTTP_MOCKING_FRAMEWORK_CONFIG, useValue: { disableVisualFlag: true, productionPolicy: HttpMockProductionPolicy.WARNING } }
17
- * ],
18
- * ...
19
- * });
20
- */
21
- export declare const HTTP_MOCKING_FRAMEWORK_CONFIG: HttpMockingFrameworkConfig;
@@ -1,3 +0,0 @@
1
- export * from './http-mocking-framework-config.provider';
2
- export * from './http-mocking-framework-config';
3
- export * from './http-mock-production-policy.enum';
@@ -1,13 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { Observable } from "rxjs";
9
- /**
10
- * The markup interface for `Observable` object built from the Fetch API.
11
- */
12
- export declare abstract class FetchClient extends Observable<any> {
13
- }
@@ -1,35 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpRequest } from "@angular/common/http";
9
- import { HttpResponseMock } from "./http-response-mock";
10
- import { HttpMockParameters } from "../../../../framework";
11
- import { HttpMockMethodDescriptor } from "./http-mock-method-descriptor";
12
- /**
13
- * The `HttpMethodMock` interface defines the behavior of actions invoked each time an Angular
14
- * `HttpClient` instance sends requests to a specific API endpoint.
15
- */
16
- export interface HttpMethodMock {
17
- /**
18
- * @private
19
- * Current progressive download mechanism will be replaced by a more efficient process.
20
- */
21
- downloadManager?: any;
22
- /**
23
- * This method emulates a successful HTTP call response.
24
- *
25
- * @param request The request associated with a HTTP call.
26
- * @param parameters The list of parameters associated with the HTTP request.
27
- *
28
- * @returns A user-defined `HttpResponse` mock object.
29
- */
30
- data: (request: HttpRequest<any>, parameters?: HttpMockParameters) => HttpResponseMock;
31
- /**
32
- * The API descriptor of the associated with this HTTP method.
33
- */
34
- descriptor?: HttpMockMethodDescriptor;
35
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { Uuid } from "../../../../util";
9
- import { HttpMockInterceptor } from "./http-mock-interceptor";
10
- /**
11
- * An interface that let Developer define mocking strategies for Angular HTTP calls.
12
- */
13
- export interface HttpMockConfig {
14
- /**
15
- * The main URL origin for this mock, as defined by the URL standard.
16
- *
17
- * @see https://url.spec.whatwg.org/#concept-url-origin
18
- */
19
- origin?: string;
20
- /**
21
- * The unique identifier for this HTTP mock config.
22
- */
23
- id?: Uuid;
24
- /**
25
- * The configuration of mocking strategies for each specific API.
26
- */
27
- interceptors: HttpMockInterceptor[];
28
- /**
29
- * The description of this HTTP API.
30
- */
31
- description?: string;
32
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpParameterDescriptor } from "./http-mock-parameter-descriptor";
9
- /**
10
- * Provides the API to create documentation for a specific endpoint.
11
- */
12
- export interface HttpMockEndpointDescriptor {
13
- /**
14
- * The description of the endpoint associated with this descriptor.
15
- */
16
- description?: string;
17
- /**
18
- * The description all parameters of the endpoint associated with this descriptor.
19
- */
20
- params?: HttpParameterDescriptor[];
21
- }
@@ -1,46 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpMethodMock } from "./http-method-mock";
9
- import { HttpMockEndpointDescriptor } from "./http-mock-endpoint-descriptor";
10
- /**
11
- * Provides the API to define mocking strategies for a specific endpoint.
12
- */
13
- export interface HttpMockEndpoint {
14
- /**
15
- * The API descriptor for this endpoint.
16
- */
17
- descriptor?: HttpMockEndpointDescriptor;
18
- /**
19
- * The route part of the endpoint to mock.
20
- */
21
- route: string;
22
- /**
23
- * The mock configuration of HTTP `GET` method calls for the specified route.
24
- */
25
- get?: HttpMethodMock;
26
- /**
27
- * The mock configuration of HTTP `POST` method calls for the specified route.
28
- */
29
- post?: HttpMethodMock;
30
- /**
31
- * The mock configuration of HTTP `PUT` method calls for the specified route.
32
- */
33
- put?: HttpMethodMock;
34
- /**
35
- * The mock configuration of HTTP `DELETE` method calls for the specified route.
36
- */
37
- delete?: HttpMethodMock;
38
- /**
39
- * The mock configuration of HTTP `PATCH` method calls for the specified route.
40
- */
41
- patch?: HttpMethodMock;
42
- /**
43
- * The mock configuration of HTTP `HEAD` method calls for the specified route.
44
- */
45
- head?: HttpMethodMock;
46
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpStatusCode } from "@angular/common/http";
9
- /**
10
- * The `HttpMockError` interface provides the API that must be implemented by HTTP mock errors.
11
- */
12
- export interface HttpMockError {
13
- /**
14
- * Error status code.
15
- */
16
- status: HttpStatusCode;
17
- /**
18
- * Textual description of error status code.
19
- */
20
- statusText: string;
21
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpMockEndpoint } from "./http-mock-endpoint";
9
- /**
10
- * Provides the API to define mocking strategies for a specific API.
11
- */
12
- export interface HttpMockInterceptor {
13
- /**
14
- * The ID of this interceptor.
15
- */
16
- id: string;
17
- /**
18
- * The URL origin for this interceptor, as defined by the URL standard.
19
- *
20
- * @see https://url.spec.whatwg.org/#url
21
- */
22
- origin?: string;
23
- /**
24
- * A list of endpoints that must be intercepted by the HTTP Mocking Framework.
25
- */
26
- endpoints: HttpMockEndpoint[];
27
- /**
28
- * The description of this interceptor.
29
- */
30
- description?: string;
31
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpParameterDescriptor } from "./http-mock-parameter-descriptor";
9
- /**
10
- * Provides the API to create documentation for a specific HTTP method.
11
- */
12
- export interface HttpMockMethodDescriptor {
13
- /**
14
- * The description of the method associated with this descriptor.
15
- */
16
- description?: string;
17
- /**
18
- * The payload description for the method associated with this descriptor.
19
- */
20
- payload?: string;
21
- /**
22
- * The body description for the method associated with this descriptor.
23
- */
24
- body?: string;
25
- /**
26
- * The list of query string parameters for the method associated with this descriptor.
27
- */
28
- queryParams?: HttpParameterDescriptor[];
29
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- /**
9
- * Provides the API to create documentation for a specific HTTP parameter.
10
- */
11
- export interface HttpParameterDescriptor {
12
- /**
13
- * The description of the HTTP parameter associated with this descriptor.
14
- */
15
- description: string;
16
- /**
17
- * The referrence to the HTTP parameter associated with this descriptor.
18
- */
19
- ref: string;
20
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { Uuid } from "../../../../util";
9
- /**
10
- * Defines the the metadata associated to an HTTP mock request.
11
- */
12
- export interface HttpMockRequestMetadata {
13
- /**
14
- * The unique ID associated with the HTTP request.
15
- */
16
- id: Uuid;
17
- /**
18
- * Indicates the starting time of the HTTP request.
19
- */
20
- start: number;
21
- /**
22
- * Indicates the how much time the request is stalled befaore the data loading starts.
23
- */
24
- stalled: number;
25
- /**
26
- * Indicates the duration of the HTTP request.
27
- */
28
- duration: number;
29
- /**
30
- * The reference to the `URL` object for the HTTP request.
31
- */
32
- url: URL;
33
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpHeaders } from "@angular/common/http";
9
- import { Observable } from "rxjs";
10
- import { HttpMockError } from "./http-mock-error";
11
- /**
12
- * Defines the config of a HTTP response mock object.
13
- */
14
- export interface HttpResponseMock {
15
- /**
16
- * The response body. Can be either an object, or an `Observable` instance.
17
- */
18
- body?: any | Observable<any>;
19
- /**
20
- * All response headers.
21
- */
22
- headers?: HttpHeaders;
23
- /**
24
- * Response status code.
25
- */
26
- status: number;
27
- /**
28
- * Textual description of response status code, defaults to `OK`.
29
- */
30
- statusText: string;
31
- /**
32
- * URL of the resource retrieved, or `null` if not available.
33
- */
34
- url: string | null;
35
- /**
36
- * The optional error for this HTTP request.
37
- */
38
- error: HttpMockError | null;
39
- /**
40
- * Returns a delayed response, in miliseconds.
41
- * Maximum value is `10000` miliseconds (10 seconds).
42
- */
43
- delay?: number;
44
- }
@@ -1,14 +0,0 @@
1
- export * from './http-response-mock';
2
- export * from './http-method-mock';
3
- export * from './http-mock-config';
4
- export * from './http-mock-endpoint';
5
- export * from './http-mock-endpoint-descriptor';
6
- export * from './http-mock-method-descriptor';
7
- export * from './http-mock-parameter-descriptor';
8
- export * from './http-mock-interceptor';
9
- export * from './http-mock-error';
10
- export * from './http-mock-request-metadata';
11
- export * from './xhr-proxy';
12
- export * from './fetch-client';
13
- export * from './config';
14
- export * from './logging';
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpResponse } from "@angular/common/http";
9
- import { HttpMockLoggingPrefetchMetadata } from "./http-mock-logging-prefetch-metadata";
10
- /**
11
- * The markup interface for all log metadata of the HTTP Mocking Framework.
12
- */
13
- export interface HttpMockLoggingMetadata extends HttpMockLoggingPrefetchMetadata {
14
- response: HttpResponse<any>;
15
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Pascal ECHEMANN. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be found in
6
- * the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
- */
8
- import { HttpRequest } from "@angular/common/http";
9
- import { HttpMockRequestMetadata } from "../http-mock-request-metadata";
10
- /**
11
- * The markup interface for all prefetch log metadata of the HTTP Mocking Framework.
12
- */
13
- export interface HttpMockLoggingPrefetchMetadata {
14
- request: HttpRequest<any>;
15
- requestMetadata: HttpMockRequestMetadata;
16
- }