angular-toolbox 1.5.5 → 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 (278) hide show
  1. package/README.md +1 -1
  2. package/fesm2022/angular-toolbox.mjs +147 -147
  3. package/fesm2022/angular-toolbox.mjs.map +1 -1
  4. package/index.d.ts +5342 -3
  5. package/package.json +1 -1
  6. package/lib/angular-toolbox.module.d.ts +0 -9
  7. package/lib/collection/array-list-event-type.enum.d.ts +0 -28
  8. package/lib/collection/array-list.d.ts +0 -111
  9. package/lib/collection/array-list.event.d.ts +0 -29
  10. package/lib/collection/index.d.ts +0 -10
  11. package/lib/component/angular-toolbox-logo/angular-toolbox-logo.component.d.ts +0 -5
  12. package/lib/component/dropdown/dropdown.component.d.ts +0 -100
  13. package/lib/component/index.d.ts +0 -11
  14. package/lib/component/layout/border-layout/border-layout.component.d.ts +0 -96
  15. package/lib/component/layout/border-layout/util/border-layout-bounds-manager.d.ts +0 -131
  16. package/lib/component/layout/border-layout/util/border-layout-renderer.d.ts +0 -118
  17. package/lib/component/layout/border-layout/util/resize-method.d.ts +0 -13
  18. package/lib/component/layout/border-layout-container/border-layout-container.component.d.ts +0 -104
  19. package/lib/component/layout/index.d.ts +0 -2
  20. package/lib/component/navbar/navbar.component.d.ts +0 -114
  21. package/lib/core/abstract/abstract-subscription-manager.d.ts +0 -73
  22. package/lib/core/abstract/abstract-version-manager.d.ts +0 -34
  23. package/lib/core/abstract/index.d.ts +0 -2
  24. package/lib/core/bridge/app-bridge.d.ts +0 -59
  25. package/lib/core/error/app-bridge-error.d.ts +0 -16
  26. package/lib/core/error/http-mock-service-error.d.ts +0 -18
  27. package/lib/core/error/index.d.ts +0 -4
  28. package/lib/core/error/integrity-error.d.ts +0 -18
  29. package/lib/core/error/subscription-error.d.ts +0 -18
  30. package/lib/core/impl/index.d.ts +0 -1
  31. package/lib/core/impl/lang/identifiable-component.d.ts +0 -44
  32. package/lib/core/impl/lang/index.d.ts +0 -1
  33. package/lib/core/impl/version/version.impl.d.ts +0 -46
  34. package/lib/core/index.d.ts +0 -3
  35. package/lib/directive/anchor-link.directive.d.ts +0 -29
  36. package/lib/directive/button-role.directive.d.ts +0 -52
  37. package/lib/directive/content-renderer.directive.d.ts +0 -39
  38. package/lib/directive/index.d.ts +0 -4
  39. package/lib/directive/navigate-to-url.directive.d.ts +0 -23
  40. package/lib/directive/navigation-directive-base.d.ts +0 -19
  41. package/lib/framework/dialog/dialog-backdrop-type.enum.d.ts +0 -20
  42. package/lib/framework/dialog/dialog-backdrop.type.d.ts +0 -11
  43. package/lib/framework/dialog/dialog-default-config.d.ts +0 -12
  44. package/lib/framework/dialog/dialog-outlet-event-type.d.ts +0 -11
  45. package/lib/framework/dialog/dialog-outlet.event.d.ts +0 -40
  46. package/lib/framework/dialog/dialog-service.d.ts +0 -47
  47. package/lib/framework/dialog/dialog-service.error.d.ts +0 -19
  48. package/lib/framework/dialog/dialog.config.d.ts +0 -18
  49. package/lib/framework/dialog/dialog.outlet.d.ts +0 -59
  50. package/lib/framework/dialog/index.d.ts +0 -15
  51. package/lib/framework/index.d.ts +0 -5
  52. package/lib/framework/logging/connector/console-log-connector.d.ts +0 -34
  53. package/lib/framework/logging/connector/default-log-connector.d.ts +0 -34
  54. package/lib/framework/logging/connector/html-log-connector.d.ts +0 -72
  55. package/lib/framework/logging/connector/index.d.ts +0 -3
  56. package/lib/framework/logging/impl/abstract-logger.d.ts +0 -69
  57. package/lib/framework/logging/impl/index.d.ts +0 -2
  58. package/lib/framework/logging/impl/log-impl.d.ts +0 -45
  59. package/lib/framework/logging/index.d.ts +0 -3
  60. package/lib/framework/logging/util/index.d.ts +0 -3
  61. package/lib/framework/logging/util/log.builder.d.ts +0 -24
  62. package/lib/framework/logging/util/log.constant.d.ts +0 -23
  63. package/lib/framework/logging/util/log.util.d.ts +0 -48
  64. package/lib/framework/mock/documentation/component/atx-mock-description/atx-mock-description.component.d.ts +0 -14
  65. package/lib/framework/mock/documentation/component/atx-mock-documentation/atx-mock-documentation.component.d.ts +0 -43
  66. package/lib/framework/mock/documentation/component/atx-mock-full-description/atx-mock-full-description.component.d.ts +0 -15
  67. package/lib/framework/mock/documentation/component/atx-mock-methods/atx-mock-methods.component.d.ts +0 -29
  68. package/lib/framework/mock/documentation/component/atx-mock-param/atx-mock-param.component.d.ts +0 -15
  69. package/lib/framework/mock/documentation/index.d.ts +0 -1
  70. package/lib/framework/mock/documentation/model/business/full-description.type.d.ts +0 -21
  71. package/lib/framework/mock/documentation/model/business/method-doc-descriptor.type.d.ts +0 -22
  72. package/lib/framework/mock/http/config/http-mock-parameters.d.ts +0 -13
  73. package/lib/framework/mock/http/config/http-mock.decorator.d.ts +0 -13
  74. package/lib/framework/mock/http/config/index.d.ts +0 -2
  75. package/lib/framework/mock/http/config/route-mock-config.d.ts +0 -36
  76. package/lib/framework/mock/http/core/data-storage.d.ts +0 -43
  77. package/lib/framework/mock/http/core/response-delay.d.ts +0 -23
  78. package/lib/framework/mock/http/event/event-target.impl.d.ts +0 -78
  79. package/lib/framework/mock/http/event/progress-event-mock.d.ts +0 -36
  80. package/lib/framework/mock/http/index.d.ts +0 -3
  81. package/lib/framework/mock/http/logging/http-mock-logger.d.ts +0 -14
  82. package/lib/framework/mock/http/logging/http-mock-logging-metadata.builder.d.ts +0 -20
  83. package/lib/framework/mock/http/path-to-regexp/constants.d.ts +0 -111
  84. package/lib/framework/mock/http/path-to-regexp/escape-to-regexp-string.d.ts +0 -24
  85. package/lib/framework/mock/http/path-to-regexp/get-flags.d.ts +0 -25
  86. package/lib/framework/mock/http/path-to-regexp/iter.d.ts +0 -50
  87. package/lib/framework/mock/http/path-to-regexp/lexer.d.ts +0 -24
  88. package/lib/framework/mock/http/path-to-regexp/loose-replacer.d.ts +0 -25
  89. package/lib/framework/mock/http/path-to-regexp/model/decode-key-to-string.d.ts +0 -21
  90. package/lib/framework/mock/http/path-to-regexp/model/encode.d.ts +0 -20
  91. package/lib/framework/mock/http/path-to-regexp/model/key.d.ts +0 -45
  92. package/lib/framework/mock/http/path-to-regexp/model/lex-token.d.ts +0 -34
  93. package/lib/framework/mock/http/path-to-regexp/model/lexer-type.d.ts +0 -21
  94. package/lib/framework/mock/http/path-to-regexp/model/loose-replacer-provider.d.ts +0 -20
  95. package/lib/framework/mock/http/path-to-regexp/model/non-delimiter-encoder-provider.d.ts +0 -21
  96. package/lib/framework/mock/http/path-to-regexp/model/parse-options.d.ts +0 -33
  97. package/lib/framework/mock/http/path-to-regexp/model/path-to-regexp-options.d.ts +0 -52
  98. package/lib/framework/mock/http/path-to-regexp/model/route-string-tokenizer.d.ts +0 -22
  99. package/lib/framework/mock/http/path-to-regexp/model/simple-tokens.d.ts +0 -21
  100. package/lib/framework/mock/http/path-to-regexp/model/token-data-regexp-factory.d.ts +0 -23
  101. package/lib/framework/mock/http/path-to-regexp/model/token-type.d.ts +0 -20
  102. package/lib/framework/mock/http/path-to-regexp/model/token.d.ts +0 -21
  103. package/lib/framework/mock/http/path-to-regexp/string-to-token-data.d.ts +0 -21
  104. package/lib/framework/mock/http/path-to-regexp/to-key-regexp.d.ts +0 -22
  105. package/lib/framework/mock/http/path-to-regexp/to-stringify.d.ts +0 -21
  106. package/lib/framework/mock/http/path-to-regexp/token-data-to-regexp.d.ts +0 -21
  107. package/lib/framework/mock/http/path-to-regexp/token-data.d.ts +0 -32
  108. package/lib/framework/mock/http/util/data-storage.builder.d.ts +0 -26
  109. package/lib/framework/mock/http/util/fetch-client-response-type.enum.d.ts +0 -38
  110. package/lib/framework/mock/http/util/fetch-client.builder.d.ts +0 -28
  111. package/lib/framework/mock/http/util/http-headers-mock.builder.d.ts +0 -106
  112. package/lib/framework/mock/http/util/http-headers.util.d.ts +0 -41
  113. package/lib/framework/mock/http/util/http-method-ref.enum.d.ts +0 -58
  114. package/lib/framework/mock/http/util/http-mock-max-delay.d.ts +0 -11
  115. package/lib/framework/mock/http/util/http-mock-response-delay.util.d.ts +0 -22
  116. package/lib/framework/mock/http/util/http-mock-response.builder.d.ts +0 -91
  117. package/lib/framework/mock/http/util/http-status-text-finder.d.ts +0 -23
  118. package/lib/framework/mock/http/util/http-status-text.enum.d.ts +0 -252
  119. package/lib/framework/mock/http/util/index.d.ts +0 -7
  120. package/lib/framework/mock/http/xhr/delegate-xhr.d.ts +0 -214
  121. package/lib/framework/mock/http/xhr/http-mock-factory.d.ts +0 -14
  122. package/lib/framework/mock/http/xhr/http-mock-factory.impl.d.ts +0 -26
  123. package/lib/framework/mock/http/xhr/index.d.ts +0 -1
  124. package/lib/framework/mock/http/xhr/xhr-base.d.ts +0 -123
  125. package/lib/framework/mock/http/xhr/xhr-proxy-impl.d.ts +0 -126
  126. package/lib/framework/mock/http-monitoring-console/component/abstract/log-renderer-base.d.ts +0 -28
  127. package/lib/framework/mock/http-monitoring-console/component/console-footer/console-footer.component.d.ts +0 -15
  128. package/lib/framework/mock/http-monitoring-console/component/console-menu/console-menu.component.d.ts +0 -23
  129. package/lib/framework/mock/http-monitoring-console/component/http-monitoring-console/http-monitoring-console.component.d.ts +0 -21
  130. package/lib/framework/mock/http-monitoring-console/component/renderer/icon-renderer/icon-renderer.component.d.ts +0 -28
  131. package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer/json-viewer.component.d.ts +0 -19
  132. package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer-panel/json-viewer-panel.component.d.ts +0 -15
  133. package/lib/framework/mock/http-monitoring-console/component/renderer/payload-renderer/payload-renderer.component.d.ts +0 -27
  134. package/lib/framework/mock/http-monitoring-console/component/renderer/request-info-renderer/request-info-renderer.component.d.ts +0 -25
  135. package/lib/framework/mock/http-monitoring-console/component/renderer/request-list-renderer/request-list-renderer.component.d.ts +0 -57
  136. package/lib/framework/mock/http-monitoring-console/component/renderer/response-body-renderer/response-body-renderer.component.d.ts +0 -35
  137. package/lib/framework/mock/http-monitoring-console/component/renderer/response-preview-renderer/response-preview-renderer.component.d.ts +0 -61
  138. package/lib/framework/mock/http-monitoring-console/component/renderer/spinner/spinner.component.d.ts +0 -9
  139. package/lib/framework/mock/http-monitoring-console/component/renderer/timing-renderer/timing-renderer.component.d.ts +0 -39
  140. package/lib/framework/mock/http-monitoring-console/component/request-details/request-details.component.d.ts +0 -51
  141. package/lib/framework/mock/http-monitoring-console/connector/http-monitoring-console-log-connector.d.ts +0 -45
  142. package/lib/framework/mock/http-monitoring-console/index.d.ts +0 -1
  143. package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action-type.d.ts +0 -38
  144. package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action.d.ts +0 -24
  145. package/lib/framework/mock/http-monitoring-console/model/business/atx-console-json.d.ts +0 -34
  146. package/lib/framework/mock/http-monitoring-console/model/business/atx-is-imported-log.d.ts +0 -13
  147. package/lib/framework/mock/http-monitoring-console/model/business/atx-timeline-data.d.ts +0 -21
  148. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-body-dto.d.ts +0 -24
  149. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-header-dto.d.ts +0 -23
  150. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log-metadata.dto.d.ts +0 -31
  151. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log.dto.d.ts +0 -30
  152. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request-metadata.dto.ts.d.ts +0 -38
  153. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request.dto.d.ts +0 -55
  154. package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-response.dto.d.ts +0 -41
  155. package/lib/framework/mock/http-monitoring-console/model/business/io/hmfl.d.ts +0 -24
  156. package/lib/framework/mock/http-monitoring-console/model/service/atx-log-io.service.d.ts +0 -33
  157. package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.controller.d.ts +0 -55
  158. package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.state.d.ts +0 -75
  159. package/lib/framework/mock/http-monitoring-console/model/service/atx-user-action.service.d.ts +0 -32
  160. package/lib/framework/mock/http-monitoring-console/util/console-body-type.d.ts +0 -48
  161. package/lib/framework/mock/http-monitoring-console/util/console-type-class.d.ts +0 -43
  162. package/lib/framework/mock/http-monitoring-console/util/data.util.d.ts +0 -33
  163. package/lib/framework/mock/http-monitoring-console/util/io/body-converter.d.ts +0 -30
  164. package/lib/framework/mock/http-monitoring-console/util/io/body-serializer.d.ts +0 -32
  165. package/lib/framework/mock/http-monitoring-console/util/io/form-data-serializer.d.ts +0 -21
  166. package/lib/framework/mock/http-monitoring-console/util/io/hmfl-builder.d.ts +0 -23
  167. package/lib/framework/mock/http-monitoring-console/util/io/http-request-converter.d.ts +0 -31
  168. package/lib/framework/mock/http-monitoring-console/util/io/http-response-converter.d.ts +0 -31
  169. package/lib/framework/mock/http-monitoring-console/util/io/log-converter.d.ts +0 -31
  170. package/lib/framework/mock/http-monitoring-console/util/io/log-headers-converter.d.ts +0 -31
  171. package/lib/framework/mock/http-monitoring-console/util/io/log-message.util.d.ts +0 -23
  172. package/lib/framework/mock/http-monitoring-console/util/io/log-metadata-converter.d.ts +0 -31
  173. package/lib/framework/mock/http-monitoring-console/util/io/request-metadata-converter.d.ts +0 -31
  174. package/lib/framework/mock/http-monitoring-console/util/size.util.d.ts +0 -33
  175. package/lib/framework/mock/http-monitoring-console/util/timeline.util.d.ts +0 -23
  176. package/lib/framework/mock/http-monitoring-console/util/url.util.d.ts +0 -38
  177. package/lib/model/business/index.d.ts +0 -7
  178. package/lib/model/business/lang/app-bridge-command.d.ts +0 -11
  179. package/lib/model/business/lang/destroyable.d.ts +0 -16
  180. package/lib/model/business/lang/identifiable.d.ts +0 -26
  181. package/lib/model/business/lang/index.d.ts +0 -4
  182. package/lib/model/business/lang/instantiable.d.ts +0 -15
  183. package/lib/model/business/logging/atx-logger-config.provider.d.ts +0 -21
  184. package/lib/model/business/logging/http-mock-logging-constant.enum.d.ts +0 -32
  185. package/lib/model/business/logging/index.d.ts +0 -7
  186. package/lib/model/business/logging/log-connector.d.ts +0 -36
  187. package/lib/model/business/logging/log-level.enum.d.ts +0 -32
  188. package/lib/model/business/logging/log.d.ts +0 -34
  189. package/lib/model/business/logging/logger-config.d.ts +0 -17
  190. package/lib/model/business/logging/logger.d.ts +0 -58
  191. package/lib/model/business/logging/transactional-logger.d.ts +0 -28
  192. package/lib/model/business/mock/http/config/http-mock-production-policy.enum.d.ts +0 -24
  193. package/lib/model/business/mock/http/config/http-mocking-framework-config.d.ts +0 -21
  194. package/lib/model/business/mock/http/config/http-mocking-framework-config.provider.d.ts +0 -21
  195. package/lib/model/business/mock/http/config/index.d.ts +0 -3
  196. package/lib/model/business/mock/http/fetch-client.d.ts +0 -13
  197. package/lib/model/business/mock/http/http-method-mock.d.ts +0 -35
  198. package/lib/model/business/mock/http/http-mock-config.d.ts +0 -32
  199. package/lib/model/business/mock/http/http-mock-endpoint-descriptor.d.ts +0 -21
  200. package/lib/model/business/mock/http/http-mock-endpoint.d.ts +0 -46
  201. package/lib/model/business/mock/http/http-mock-error.d.ts +0 -21
  202. package/lib/model/business/mock/http/http-mock-interceptor.d.ts +0 -31
  203. package/lib/model/business/mock/http/http-mock-method-descriptor.d.ts +0 -29
  204. package/lib/model/business/mock/http/http-mock-parameter-descriptor.d.ts +0 -20
  205. package/lib/model/business/mock/http/http-mock-request-metadata.d.ts +0 -33
  206. package/lib/model/business/mock/http/http-response-mock.d.ts +0 -44
  207. package/lib/model/business/mock/http/index.d.ts +0 -14
  208. package/lib/model/business/mock/http/logging/http-mock-logging-metadata.d.ts +0 -15
  209. package/lib/model/business/mock/http/logging/http-mock-logging-prefetch-metadata.d.ts +0 -16
  210. package/lib/model/business/mock/http/logging/index.d.ts +0 -2
  211. package/lib/model/business/mock/http/xhr-proxy.d.ts +0 -15
  212. package/lib/model/business/navigator/battery-manager.d.ts +0 -56
  213. package/lib/model/business/navigator/connection-type.d.ts +0 -11
  214. package/lib/model/business/navigator/effective-connection-type.d.ts +0 -11
  215. package/lib/model/business/navigator/index.d.ts +0 -4
  216. package/lib/model/business/navigator/network-information.d.ts +0 -53
  217. package/lib/model/business/subscription/index.d.ts +0 -1
  218. package/lib/model/business/subscription/subscription-manager.d.ts +0 -52
  219. package/lib/model/business/ui/dark-mode-config.d.ts +0 -29
  220. package/lib/model/business/ui/dark-mode-config.provider.d.ts +0 -21
  221. package/lib/model/business/ui/dark-mode.constant.d.ts +0 -15
  222. package/lib/model/business/ui/dropdown/dropdown-event-type.enum.d.ts +0 -20
  223. package/lib/model/business/ui/dropdown/dropdown-position.d.ts +0 -15
  224. package/lib/model/business/ui/dropdown/dropdown-state.d.ts +0 -11
  225. package/lib/model/business/ui/dropdown/dropdown.event.d.ts +0 -40
  226. package/lib/model/business/ui/dropdown/index.d.ts +0 -5
  227. package/lib/model/business/ui/dropdown/popover-state.d.ts +0 -11
  228. package/lib/model/business/ui/index.d.ts +0 -7
  229. package/lib/model/business/ui/layout/index.d.ts +0 -5
  230. package/lib/model/business/ui/layout/layout-constraints.d.ts +0 -33
  231. package/lib/model/business/ui/layout/layout-drag-event-type.enum.d.ts +0 -24
  232. package/lib/model/business/ui/layout/layout-drag.event.d.ts +0 -33
  233. package/lib/model/business/ui/layout/layout-region.d.ts +0 -36
  234. package/lib/model/business/ui/layout/layout-region.error.d.ts +0 -19
  235. package/lib/model/business/ui/scroll-behavior.type.d.ts +0 -11
  236. package/lib/model/business/ui/window/index.d.ts +0 -4
  237. package/lib/model/business/ui/window/window-feature-state.d.ts +0 -20
  238. package/lib/model/business/ui/window/window-init.d.ts +0 -75
  239. package/lib/model/business/ui/window/window-ref.d.ts +0 -21
  240. package/lib/model/business/ui/window/window-target.d.ts +0 -32
  241. package/lib/model/business/version/index.d.ts +0 -4
  242. package/lib/model/business/version/version-config.d.ts +0 -32
  243. package/lib/model/business/version/version-config.provider.d.ts +0 -22
  244. package/lib/model/business/version/version-manager.d.ts +0 -25
  245. package/lib/model/business/version/version.d.ts +0 -38
  246. package/lib/model/index.d.ts +0 -2
  247. package/lib/model/service/index.d.ts +0 -5
  248. package/lib/model/service/logging/index.d.ts +0 -1
  249. package/lib/model/service/logging/logger-service.d.ts +0 -14
  250. package/lib/model/service/mock/http/http-mock.service.d.ts +0 -134
  251. package/lib/model/service/mock/http/index.d.ts +0 -2
  252. package/lib/model/service/mock/http/logging/atx-http-mock-console.service.d.ts +0 -51
  253. package/lib/model/service/mock/http/logging/http-mock-logging-service.d.ts +0 -83
  254. package/lib/model/service/mock/http/logging/index.d.ts +0 -2
  255. package/lib/model/service/subscription/subscription.service.d.ts +0 -10
  256. package/lib/model/service/ui/app-bridge.service.d.ts +0 -80
  257. package/lib/model/service/ui/dark-mode.service.d.ts +0 -99
  258. package/lib/model/service/ui/index.d.ts +0 -4
  259. package/lib/model/service/ui/scroll.service.d.ts +0 -55
  260. package/lib/model/service/ui/window/abstract-window.service.d.ts +0 -64
  261. package/lib/model/service/ui/window/index.d.ts +0 -2
  262. package/lib/model/service/ui/window/window.service.d.ts +0 -44
  263. package/lib/model/service/version/angular-toolbox-version.service.d.ts +0 -13
  264. package/lib/model/service/version/index.d.ts +0 -2
  265. package/lib/model/service/version/version.service.d.ts +0 -15
  266. package/lib/pipe/index.d.ts +0 -1
  267. package/lib/pipe/safe/safe-html.pipe.d.ts +0 -30
  268. package/lib/util/aria-role.constant.d.ts +0 -15
  269. package/lib/util/default-scroll-behavior.d.ts +0 -12
  270. package/lib/util/empty-string.const.d.ts +0 -11
  271. package/lib/util/http-mocking-framework-config.manager.d.ts +0 -66
  272. package/lib/util/index.d.ts +0 -5
  273. package/lib/util/js-type.d.ts +0 -39
  274. package/lib/util/uuid.d.ts +0 -89
  275. package/lib/util/version.util.d.ts +0 -30
  276. package/lib/util/window/window-features-builder.d.ts +0 -46
  277. package/lib/util/window/window-header-tag-util.d.ts +0 -27
  278. package/public-api.d.ts +0 -16
@@ -1,252 +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 all HTTP status text.
10
- */
11
- export declare enum HttpStatusText {
12
- /**
13
- * The status text associated with the status code `100`.
14
- */
15
- CONTINUE = "Continue",
16
- /**
17
- * The status text associated with the status code `101`.
18
- */
19
- SWITCHING_PROTOCOLS = "Switching Protocols",
20
- /**
21
- * The status text associated with the status code `102`.
22
- */
23
- PROCESSING = "Processing",
24
- /**
25
- * The status text associated with the status code `103`.
26
- */
27
- EARLY_HINTS = "Early Hints",
28
- /**
29
- * The status text associated with the status code `200`.
30
- */
31
- OK = "OK",
32
- /**
33
- * The status text associated with the status code `201`.
34
- */
35
- CREATED = "Created",
36
- /**
37
- * The status text associated with the status code `202`.
38
- */
39
- ACCEPTED = "Accepted",
40
- /**
41
- * The status text associated with the status code `203`.
42
- */
43
- NON_AUTHORITATIVE_INFORMATION = "Non-authoritative Information",
44
- /**
45
- * The status text associated with the status code `204`.
46
- */
47
- NO_CONTENT = "No Content",
48
- /**
49
- * The status text associated with the status code `205`.
50
- */
51
- RESET_CONTENT = "Reset Content",
52
- /**
53
- * The status text associated with the status code `206`.
54
- */
55
- PARTIAL_CONTENT = "Partial Content",
56
- /**
57
- * The status text associated with the status code `207`.
58
- */
59
- MULTI_STATUS = "Multi-Status",
60
- /**
61
- * The status text associated with the status code `208`.
62
- */
63
- ALREADY_REPORTED = "Already Reported",
64
- /**
65
- * The status text associated with the status code `226`.
66
- */
67
- IM_USED = "IM Used",
68
- /**
69
- * The status text associated with the status code `300`.
70
- */
71
- MULTIPLE_CHOICES = "Multiple Choices",
72
- /**
73
- * The status text associated with the status code `301`.
74
- */
75
- MOVED_PERMANENTLY = "Moved Permanently",
76
- /**
77
- * The status text associated with the status code `302`.
78
- */
79
- FOUND = "Found",
80
- /**
81
- * The status text associated with the status code `303`.
82
- */
83
- SEE_OTHER = "See Other",
84
- /**
85
- * The status text associated with the status code `304`.
86
- */
87
- NOT_MODIFIED = "Not Modified",
88
- /**
89
- * The status text associated with the status code `307`.
90
- */
91
- TEMPORARY_REDIRECT = "Temporary Redirect",
92
- /**
93
- * The status text associated with the status code `308`.
94
- */
95
- PERMANENT_REDIRECT = "Permanent Redirect",
96
- /**
97
- * The status text associated with the status code `400`.
98
- */
99
- BAD_REQUEST = "Bad Request",
100
- /**
101
- * The status text associated with the status code `401`.
102
- */
103
- UNAUTHORIZED = "Unauthorized",
104
- /**
105
- * The status text associated with the status code `402`.
106
- */
107
- PAYMENT_REQUIRED = "Payment Required",
108
- /**
109
- * The status text associated with the status code `403`.
110
- */
111
- FORBIDDEN = "Forbidden",
112
- /**
113
- * The status text associated with the status code `404`.
114
- */
115
- NOT_FOUND = "Not Found",
116
- /**
117
- * The status text associated with the status code `405`.
118
- */
119
- METHOD_NOT_ALLOWED = "Method Not Allowed",
120
- /**
121
- * The status text associated with the status code `406`.
122
- */
123
- NOT_ACCEPTABLE = "Not Acceptable",
124
- /**
125
- * The status text associated with the status code `407`.
126
- */
127
- PROXY_AUTHENTICATION_REQUIRED = "Proxy Authentication Required",
128
- /**
129
- * The status text associated with the status code `408`.
130
- */
131
- REQUEST_TIMEOUT = "Request Timeout",
132
- /**
133
- * The status text associated with the status code `409`.
134
- */
135
- CONFLICT = "Conflict",
136
- /**
137
- * The status text associated with the status code `410`.
138
- */
139
- GONE = "Gone",
140
- /**
141
- * The status text associated with the status code `411`.
142
- */
143
- LENGTH_REQUIRED = "Length Required",
144
- /**
145
- * The status text associated with the status code `412`.
146
- */
147
- PRECONDITION_FAILED = "Precondition Failed",
148
- /**
149
- * The status text associated with the status code `413`.
150
- */
151
- PAYLOAD_TOO_LARGE = "Payload Too Large",
152
- /**
153
- * The status text associated with the status code `414`.
154
- */
155
- URI_TOO_LONG = "URI Too Long",
156
- /**
157
- * The status text associated with the status code `415`.
158
- */
159
- UNSUPPORTED_MEDIA_TYPE = "Unsupported Media Type",
160
- /**
161
- * The status text associated with the status code `416`.
162
- */
163
- RANGE_NOT_SATISFIABLE = "Range Not Satisfiable",
164
- /**
165
- * The status text associated with the status code `417`.
166
- */
167
- EXPECTATION_FAILED = "Expectation Failed",
168
- /**
169
- * The status text associated with the status code `418`.
170
- */
171
- I_M_A_TEAPOT = "I'm a teapot",
172
- /**
173
- * The status text associated with the status code `421`.
174
- */
175
- MISDIRECTED_REQUEST = "Misdirected Request",
176
- /**
177
- * The status text associated with the status code `422`.
178
- */
179
- UNPROCESSABLE_ENTITY = "Unprocessable Entity",
180
- /**
181
- * The status text associated with the status code `423`.
182
- */
183
- LOCKED = "Locked",
184
- /**
185
- * The status text associated with the status code `424`.
186
- */
187
- FAILED_DEPENDENCY = "Failed Dependency",
188
- /**
189
- * The status text associated with the status code `426`.
190
- */
191
- UPGRADE_REQUIRED = "Upgrade Required",
192
- /**
193
- * The status text associated with the status code `428`.
194
- */
195
- PRECONDITION_REQUIRED = "Precondition Required",
196
- /**
197
- * The status text associated with the status code `429`.
198
- */
199
- TOO_MANY_REQUESTS = "Too Many Requests",
200
- /**
201
- * The status text associated with the status code `431`.
202
- */
203
- REQUEST_HEADER_FIELDS_TOO_LARGE = "Request Header Fields Too Large",
204
- /**
205
- * The status text associated with the status code `451`.
206
- */
207
- UNAVAILABLE_FOR_LEGAL_REASONS = "Unavailable For Legal Reasons",
208
- /**
209
- * The status text associated with the status code `500`.
210
- */
211
- INTERNAL_SERVER_ERROR = "Internal Server Error",
212
- /**
213
- * The status text associated with the status code `501`.
214
- */
215
- NOT_IMPLEMENTED = "Not Implemented",
216
- /**
217
- * The status text associated with the status code `502`.
218
- */
219
- BAD_GATEWAY = "Bad Gateway",
220
- /**
221
- * The status text associated with the status code `503`.
222
- */
223
- SERVICE_UNAVAILABLE = "Service Unavailable",
224
- /**
225
- * The status text associated with the status code `504`.
226
- */
227
- GATEWAY_TIMEOUT = "Gateway Timeout",
228
- /**
229
- * The status text associated with the status code `505`.
230
- */
231
- HTTP_VERSION_NOT_SUPPORTED = "HTTP Version Not Supported",
232
- /**
233
- * The status text associated with the status code `506`.
234
- */
235
- VARIANT_ALSO_NEGOTIATES = "Variant Also Negotiates",
236
- /**
237
- * The status text associated with the status code `507`.
238
- */
239
- INSUFFICIENT_STORAGE = "Insufficient Storage",
240
- /**
241
- * The status text associated with the status code `508`.
242
- */
243
- LOOP_DETECTED = "Loop Detected",
244
- /**
245
- * The status text associated with the status code `510`.
246
- */
247
- NOT_EXTENDED = "Not Extended",
248
- /**
249
- * The status text associated with the status code `511`.
250
- */
251
- NETWORK_AUTHENTICATION_REQUIRED = "Network Authentication Required"
252
- }
@@ -1,7 +0,0 @@
1
- export * from './http-mock-response.builder';
2
- export * from './http-headers-mock.builder';
3
- export * from './fetch-client.builder';
4
- export * from './fetch-client-response-type.enum';
5
- export * from './http-mock-max-delay';
6
- export * from './http-status-text.enum';
7
- export * from './http-status-text-finder';
@@ -1,214 +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 { XhrProxy, HttpMockLoggingService } from "../../../../model";
9
- import { XhrBase } from "./xhr-base";
10
- import { RouteMockConfig } from "../config/route-mock-config";
11
- /**
12
- * @private
13
- * A utility class used as delegate of `XMLHttpRequest` functionalities when
14
- * a HTTP request is intercepted by the Mocking Framework .
15
- */
16
- export declare class DelegateXhr extends XhrBase implements XhrProxy {
17
- private _logger;
18
- /**
19
- * @private
20
- * Indicates whether the progressive download is activated, or not.
21
- */
22
- private _progressiveDownload;
23
- /**
24
- * @private
25
- * The config for the intercepted route.
26
- */
27
- private _routeConfig;
28
- /**
29
- * @private
30
- *
31
- * Internal storage for HTTP response `data`.
32
- */
33
- private _dataStorage;
34
- /**
35
- * @private
36
- *
37
- * Internal storage for the HTTP request `method`.
38
- */
39
- private _method;
40
- /**
41
- * @private
42
- *
43
- * Internal storage for the HTTP request URL.
44
- */
45
- private _url;
46
- /**
47
- * @private
48
- *
49
- * Internal storage for the HTTP request `readyState`.
50
- */
51
- private _readyState;
52
- /**
53
- * @private
54
- *
55
- * Internal storage for the HTTP request `headers`.
56
- */
57
- private _requestHeaders;
58
- /**
59
- * @private
60
- *
61
- * Internal storage for the HTTP request `status`.
62
- */
63
- private _status;
64
- /**
65
- * @private
66
- *
67
- * Internal storage for the HTTP request `statusText`.
68
- */
69
- private _statusText;
70
- /**
71
- * @private
72
- */
73
- private _loadSubscription;
74
- /**
75
- * Returns the response body content.
76
- *
77
- * @see https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/response
78
- */
79
- get response(): any;
80
- /**
81
- * Returns the numerical HTTP status code of the `XMLHttpRequest` response.
82
- *
83
- * @see https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/status
84
- */
85
- get status(): number;
86
- /**
87
- * Returns a string containing the response status message as returned by the HTTP server.
88
- *
89
- * @see https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/statusText
90
- */
91
- get statusText(): string;
92
- /**
93
- * Returns the state the `XMLHttpRequest` client is in.
94
- *
95
- * @see https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readyState
96
- */
97
- get readyState(): number;
98
- /**
99
- * Returns the serialized URL of the response or the empty string if the URL is `null`.
100
- *
101
- * @see https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseURL
102
- */
103
- get responseURL(): string;
104
- /**
105
- * Returns the text received from a server following a request being sent.
106
- *
107
- * Throws an `InvalidStateError` DOMException if responseType is not the empty string or "text".
108
- *
109
- * @see https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseText
110
- */
111
- get responseText(): string;
112
- /**
113
- * Returns an `XMLHttpRequestUpload` object that can be observed to monitor an upload progress.
114
- *
115
- * @see https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/upload
116
- */
117
- get upload(): XMLHttpRequestUpload;
118
- /**
119
- * Returns an an enumerated string value specifying the type of data contained in the response.
120
- *
121
- * @see https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType
122
- */
123
- responseType: XMLHttpRequestResponseType;
124
- /**
125
- * Initializes a newly-created request, or re-initializes an existing one.
126
- *
127
- * @param method The HTTP request method to use, such as `"GET"`, `"POST"`, `"PUT"`, `"DELETE"`,
128
- * etc. Ignored for non-HTTP(S) URLs.
129
- * @param url A string or any other object with a stringifier — including a URL object —
130
- * that provides the URL of the resource to send the request to.
131
- */
132
- open(method: string, url: string | URL): void;
133
- /**
134
- * @private
135
- */
136
- open(method: string, url: string | URL, async: boolean, username?: string | null | undefined, password?: string | null | undefined): void;
137
- /**
138
- * Aborts the request if it has already been sent. When a request is aborted, its `readyState`
139
- * is changed to `XMLHttpRequest.UNSENT` and the request status code is set to `0`.
140
- */
141
- abort(): void;
142
- /**
143
- * Returns all the response headers, separated by CRLF, as a string, or returns `null`
144
- * if no response has been received.
145
- *
146
- * @returns All the response headers, separated by CRLF, as a string, or returns `null`
147
- * if no response has been received.
148
- */
149
- getAllResponseHeaders(): any;
150
- /**
151
- * Sends the request to the server.
152
- *
153
- * @param body A body of data to be sent in the XHR request.
154
- */
155
- send(body?: Document | XMLHttpRequestBodyInit | null | undefined): void;
156
- /**
157
- * Sets the value of an HTTP request header.
158
- *
159
- * @param name The name of the header whose value is to be set.
160
- * @param value The value to set as the body of the header.
161
- */
162
- setRequestHeader(name: string, value: string): void;
163
- /**
164
- * @private
165
- */
166
- constructor(routeConfig: RouteMockConfig, _logger: HttpMockLoggingService);
167
- /**
168
- * @private
169
- * Internally used by the framework to delete a `DelegateXhr` instance.
170
- */
171
- destroy(): void;
172
- /**
173
- * @private
174
- */
175
- private doProgressiveDownload;
176
- private finalizeRequestMetadata;
177
- /**
178
- * @private
179
- */
180
- private onLoadComplete;
181
- /**
182
- * @private
183
- */
184
- private onError;
185
- /**
186
- * @private
187
- */
188
- private buildMetadata;
189
- /**
190
- * @private
191
- */
192
- private eventDispatch;
193
- /**
194
- * @private
195
- */
196
- private dispatchProgressEvent;
197
- /**
198
- * @private
199
- */
200
- private setReadyState;
201
- /**
202
- * @private
203
- */
204
- private loadData;
205
- /**
206
- * @private
207
- */
208
- private setDataStorage;
209
- /**
210
- * @private
211
- */
212
- private buildHttpRequest;
213
- private now;
214
- }
@@ -1,14 +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 { XhrProxyFactoryImpl } from "./http-mock-factory.impl";
9
- /**
10
- * A factory function that creates and returns a new `XhrFactory` object.
11
- *
12
- * @returns A new `XhrFactory` object.
13
- */
14
- export declare const httpMockFactory: () => XhrProxyFactoryImpl;
@@ -1,26 +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 { XhrFactory } from "@angular/common";
9
- import { HttpMockService } from "../../../../model/service/mock/http/http-mock.service";
10
- import { HttpMockLoggingService } from "../../../../model";
11
- /**
12
- * @private
13
- * The concrete implementation of the `XhrFactory` interface.
14
- */
15
- export declare class XhrProxyFactoryImpl extends XhrFactory {
16
- private _httpMockService;
17
- private _logger;
18
- /**
19
- * @private
20
- */
21
- constructor(_httpMockService: HttpMockService, _logger: HttpMockLoggingService);
22
- /**
23
- * @private
24
- */
25
- build(): XMLHttpRequest;
26
- }
@@ -1 +0,0 @@
1
- export * from './http-mock-factory';
@@ -1,123 +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 { EventTargetImpl } from "../event/event-target.impl";
9
- /**
10
- * @private
11
- *
12
- * Elemenets marked as "Useless" are never invoked by the Angular framework.
13
- */
14
- export declare class XhrBase extends EventTargetImpl {
15
- /**
16
- * @private
17
- *
18
- * XMLHTTPRequest API
19
- */
20
- readonly UNSENT = 0;
21
- /**
22
- * @private
23
- *
24
- * XMLHTTPRequest API
25
- */
26
- readonly OPENED = 1;
27
- /**
28
- * @private
29
- *
30
- * XMLHTTPRequest API
31
- */
32
- readonly HEADERS_RECEIVED = 2;
33
- /**
34
- * @private
35
- *
36
- * XMLHTTPRequest API
37
- */
38
- readonly LOADING = 3;
39
- /**
40
- * @private
41
- *
42
- * XMLHTTPRequest API
43
- */
44
- readonly DONE = 4;
45
- /**
46
- * @private
47
- *
48
- * XMLHTTPRequest API - Useless
49
- */
50
- get responseXML(): Document | null;
51
- /**
52
- * @private
53
- *
54
- * XMLHTTPRequest API
55
- */
56
- withCredentials: boolean;
57
- /**
58
- * @private
59
- *
60
- * XMLHTTPRequest API
61
- */
62
- timeout: number;
63
- /**
64
- * @private
65
- *
66
- * XMLHTTPRequest API - Useless
67
- */
68
- onabort: ((this: XMLHttpRequest, ev: ProgressEvent<EventTarget>) => any) | null;
69
- /**
70
- * @private
71
- *
72
- * XMLHTTPRequest API - Useless
73
- */
74
- onerror: ((this: XMLHttpRequest, ev: ProgressEvent<EventTarget>) => any) | null;
75
- /**
76
- * @private
77
- *
78
- * XMLHTTPRequest API - Useless
79
- */
80
- onload: ((this: XMLHttpRequest, ev: ProgressEvent<EventTarget>) => any) | null;
81
- /**
82
- * @private
83
- *
84
- * XMLHTTPRequest API - Useless
85
- */
86
- onloadend: ((this: XMLHttpRequest, ev: ProgressEvent<EventTarget>) => any) | null;
87
- /**
88
- * @private
89
- *
90
- * XMLHTTPRequest API - Useless
91
- */
92
- onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent<EventTarget>) => any) | null;
93
- /**
94
- * @private
95
- *
96
- * XMLHTTPRequest API - Useless
97
- */
98
- onprogress: ((this: XMLHttpRequest, ev: ProgressEvent<EventTarget>) => any) | null;
99
- /**
100
- * @private
101
- *
102
- * XMLHTTPRequest API - Useless
103
- */
104
- onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;
105
- /**
106
- * @private
107
- *
108
- * XMLHTTPRequest API - Useless
109
- */
110
- ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent<EventTarget>) => any) | null;
111
- /**
112
- * @private
113
- *
114
- * XMLHTTPRequest API - Useless
115
- */
116
- overrideMimeType(mime: string): void;
117
- /**
118
- * @private
119
- *
120
- * XMLHTTPRequest API - Useless
121
- */
122
- getResponseHeader(name: string): string | null;
123
- }