@abp/ng.core 4.4.3 → 5.0.0-beta.3

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 (405) hide show
  1. package/abp-ng.core.d.ts +1 -41
  2. package/bundles/abp-ng.core-locale.umd.js +1 -1
  3. package/bundles/abp-ng.core-locale.umd.js.map +1 -1
  4. package/bundles/abp-ng.core-testing.umd.js +37 -34
  5. package/bundles/abp-ng.core-testing.umd.js.map +1 -1
  6. package/bundles/abp-ng.core.umd.js +1403 -1897
  7. package/bundles/abp-ng.core.umd.js.map +1 -1
  8. package/esm2015/abp-ng.core.js +1 -40
  9. package/esm2015/abp-ng.core.js.map +1 -0
  10. package/esm2015/lib/abstracts/index.js +1 -1
  11. package/esm2015/lib/abstracts/index.js.map +1 -0
  12. package/esm2015/lib/abstracts/ng-model.component.js +18 -16
  13. package/esm2015/lib/abstracts/ng-model.component.js.map +1 -0
  14. package/esm2015/lib/components/dynamic-layout.component.js +28 -16
  15. package/esm2015/lib/components/dynamic-layout.component.js.map +1 -0
  16. package/esm2015/lib/components/index.js +1 -1
  17. package/esm2015/lib/components/index.js.map +1 -0
  18. package/esm2015/lib/components/replaceable-route-container.component.js +19 -15
  19. package/esm2015/lib/components/replaceable-route-container.component.js.map +1 -0
  20. package/esm2015/lib/components/router-outlet.component.js +12 -9
  21. package/esm2015/lib/components/router-outlet.component.js.map +1 -0
  22. package/esm2015/lib/constants/different-locales.js +1 -1
  23. package/esm2015/lib/constants/different-locales.js.map +1 -0
  24. package/esm2015/lib/constants/index.js +1 -1
  25. package/esm2015/lib/constants/index.js.map +1 -0
  26. package/esm2015/lib/core.module.js +151 -83
  27. package/esm2015/lib/core.module.js.map +1 -0
  28. package/esm2015/lib/directives/autofocus.directive.js +14 -13
  29. package/esm2015/lib/directives/autofocus.directive.js.map +1 -0
  30. package/esm2015/lib/directives/debounce.directive.js +18 -16
  31. package/esm2015/lib/directives/debounce.directive.js.map +1 -0
  32. package/esm2015/lib/directives/for.directive.js +39 -25
  33. package/esm2015/lib/directives/for.directive.js.map +1 -0
  34. package/esm2015/lib/directives/form-submit.directive.js +22 -19
  35. package/esm2015/lib/directives/form-submit.directive.js.map +1 -0
  36. package/esm2015/lib/directives/index.js +1 -2
  37. package/esm2015/lib/directives/index.js.map +1 -0
  38. package/esm2015/lib/directives/init.directive.js +11 -10
  39. package/esm2015/lib/directives/init.directive.js.map +1 -0
  40. package/esm2015/lib/directives/permission.directive.js +19 -34
  41. package/esm2015/lib/directives/permission.directive.js.map +1 -0
  42. package/esm2015/lib/directives/replaceable-template.directive.js +24 -20
  43. package/esm2015/lib/directives/replaceable-template.directive.js.map +1 -0
  44. package/esm2015/lib/directives/stop-propagation.directive.js +16 -15
  45. package/esm2015/lib/directives/stop-propagation.directive.js.map +1 -0
  46. package/esm2015/lib/enums/common.js +1 -1
  47. package/esm2015/lib/enums/common.js.map +1 -0
  48. package/esm2015/lib/enums/index.js +1 -1
  49. package/esm2015/lib/enums/index.js.map +1 -0
  50. package/esm2015/lib/guards/auth.guard.js +9 -11
  51. package/esm2015/lib/guards/auth.guard.js.map +1 -0
  52. package/esm2015/lib/guards/index.js +1 -1
  53. package/esm2015/lib/guards/index.js.map +1 -0
  54. package/esm2015/lib/guards/permission.guard.js +16 -21
  55. package/esm2015/lib/guards/permission.guard.js.map +1 -0
  56. package/esm2015/lib/handlers/oauth-configuration.handler.js +12 -13
  57. package/esm2015/lib/handlers/oauth-configuration.handler.js.map +1 -0
  58. package/esm2015/lib/handlers/routes.handler.js +11 -11
  59. package/esm2015/lib/handlers/routes.handler.js.map +1 -0
  60. package/esm2015/lib/interceptors/api.interceptor.js +12 -14
  61. package/esm2015/lib/interceptors/api.interceptor.js.map +1 -0
  62. package/esm2015/lib/interceptors/index.js +1 -1
  63. package/esm2015/lib/interceptors/index.js.map +1 -0
  64. package/esm2015/lib/localization.module.js +12 -7
  65. package/esm2015/lib/localization.module.js.map +1 -0
  66. package/esm2015/lib/models/auth.js +1 -1
  67. package/esm2015/lib/models/auth.js.map +1 -0
  68. package/esm2015/lib/models/common.js +1 -1
  69. package/esm2015/lib/models/common.js.map +1 -0
  70. package/esm2015/lib/models/dtos.js +6 -5
  71. package/esm2015/lib/models/dtos.js.map +1 -0
  72. package/esm2015/lib/models/environment.js +1 -1
  73. package/esm2015/lib/models/environment.js.map +1 -0
  74. package/esm2015/lib/models/index.js +1 -4
  75. package/esm2015/lib/models/index.js.map +1 -0
  76. package/esm2015/lib/models/localization.js +1 -1
  77. package/esm2015/lib/models/localization.js.map +1 -0
  78. package/esm2015/lib/models/replaceable-components.js +1 -1
  79. package/esm2015/lib/models/replaceable-components.js.map +1 -0
  80. package/esm2015/lib/models/rest.js +1 -1
  81. package/esm2015/lib/models/rest.js.map +1 -0
  82. package/esm2015/lib/models/session.js +1 -1
  83. package/esm2015/lib/models/session.js.map +1 -0
  84. package/esm2015/lib/models/utility.js +1 -1
  85. package/esm2015/lib/models/utility.js.map +1 -0
  86. package/esm2015/lib/pipes/index.js +1 -1
  87. package/esm2015/lib/pipes/index.js.map +1 -0
  88. package/esm2015/lib/pipes/localization.pipe.js +14 -10
  89. package/esm2015/lib/pipes/localization.pipe.js.map +1 -0
  90. package/esm2015/lib/pipes/sort.pipe.js +13 -7
  91. package/esm2015/lib/pipes/sort.pipe.js.map +1 -0
  92. package/esm2015/lib/providers/cookie-language.provider.js +22 -0
  93. package/esm2015/lib/providers/cookie-language.provider.js.map +1 -0
  94. package/esm2015/lib/providers/locale.provider.js +1 -1
  95. package/esm2015/lib/providers/locale.provider.js.map +1 -0
  96. package/esm2015/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.js +9 -10
  97. package/esm2015/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.js.map +1 -0
  98. package/esm2015/lib/proxy/pages/abp/multi-tenancy/index.js +1 -1
  99. package/esm2015/lib/proxy/pages/abp/multi-tenancy/index.js.map +1 -0
  100. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.js +9 -10
  101. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.js.map +1 -0
  102. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.js +1 -1
  103. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.js.map +1 -0
  104. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.js +9 -10
  105. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.js.map +1 -0
  106. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.js +1 -1
  107. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.js.map +1 -0
  108. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.js +1 -1
  109. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.js.map +1 -0
  110. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.js +1 -1
  111. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.js.map +1 -0
  112. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.js +2 -1
  113. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.js.map +1 -0
  114. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.js +1 -1
  115. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.js.map +1 -0
  116. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.js +1 -1
  117. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.js.map +1 -0
  118. package/esm2015/lib/proxy/volo/abp/http/modeling/index.js +1 -1
  119. package/esm2015/lib/proxy/volo/abp/http/modeling/index.js.map +1 -0
  120. package/esm2015/lib/proxy/volo/abp/http/modeling/models.js +2 -1
  121. package/esm2015/lib/proxy/volo/abp/http/modeling/models.js.map +1 -0
  122. package/esm2015/lib/proxy/volo/abp/localization/index.js +1 -1
  123. package/esm2015/lib/proxy/volo/abp/localization/index.js.map +1 -0
  124. package/esm2015/lib/proxy/volo/abp/localization/models.js +1 -1
  125. package/esm2015/lib/proxy/volo/abp/localization/models.js.map +1 -0
  126. package/esm2015/lib/proxy/volo/abp/models.js +1 -1
  127. package/esm2015/lib/proxy/volo/abp/models.js.map +1 -0
  128. package/esm2015/lib/services/auth.service.js +9 -16
  129. package/esm2015/lib/services/auth.service.js.map +1 -0
  130. package/esm2015/lib/services/config-state.service.js +12 -20
  131. package/esm2015/lib/services/config-state.service.js.map +1 -0
  132. package/esm2015/lib/services/content-projection.service.js +7 -8
  133. package/esm2015/lib/services/content-projection.service.js.map +1 -0
  134. package/esm2015/lib/services/dom-insertion.service.js +7 -5
  135. package/esm2015/lib/services/dom-insertion.service.js.map +1 -0
  136. package/esm2015/lib/services/environment.service.js +7 -7
  137. package/esm2015/lib/services/environment.service.js.map +1 -0
  138. package/esm2015/lib/services/http-error-reporter.service.js +29 -0
  139. package/esm2015/lib/services/http-error-reporter.service.js.map +1 -0
  140. package/esm2015/lib/services/http-wait.service.js +9 -10
  141. package/esm2015/lib/services/http-wait.service.js.map +1 -0
  142. package/esm2015/lib/services/index.js +2 -4
  143. package/esm2015/lib/services/index.js.map +1 -0
  144. package/esm2015/lib/services/lazy-load.service.js +9 -10
  145. package/esm2015/lib/services/lazy-load.service.js.map +1 -0
  146. package/esm2015/lib/services/list.service.js +7 -7
  147. package/esm2015/lib/services/list.service.js.map +1 -0
  148. package/esm2015/lib/services/localization.service.js +11 -11
  149. package/esm2015/lib/services/localization.service.js.map +1 -0
  150. package/esm2015/lib/services/multi-tenancy.service.js +15 -34
  151. package/esm2015/lib/services/multi-tenancy.service.js.map +1 -0
  152. package/esm2015/lib/services/permission.service.js +10 -11
  153. package/esm2015/lib/services/permission.service.js.map +1 -0
  154. package/esm2015/lib/services/replaceable-components.service.js +7 -9
  155. package/esm2015/lib/services/replaceable-components.service.js.map +1 -0
  156. package/esm2015/lib/services/resource-wait.service.js +9 -7
  157. package/esm2015/lib/services/resource-wait.service.js.map +1 -0
  158. package/esm2015/lib/services/rest.service.js +19 -23
  159. package/esm2015/lib/services/rest.service.js.map +1 -0
  160. package/esm2015/lib/services/router-events.service.js +7 -8
  161. package/esm2015/lib/services/router-events.service.js.map +1 -0
  162. package/esm2015/lib/services/router-wait.service.js +9 -11
  163. package/esm2015/lib/services/router-wait.service.js.map +1 -0
  164. package/esm2015/lib/services/routes.service.js +13 -17
  165. package/esm2015/lib/services/routes.service.js.map +1 -0
  166. package/esm2015/lib/services/session-state.service.js +9 -10
  167. package/esm2015/lib/services/session-state.service.js.map +1 -0
  168. package/esm2015/lib/services/subscription.service.js +7 -4
  169. package/esm2015/lib/services/subscription.service.js.map +1 -0
  170. package/esm2015/lib/services/track-by.service.js +12 -8
  171. package/esm2015/lib/services/track-by.service.js.map +1 -0
  172. package/esm2015/lib/strategies/auth-flow.strategy.js +9 -7
  173. package/esm2015/lib/strategies/auth-flow.strategy.js.map +1 -0
  174. package/esm2015/lib/strategies/container.strategy.js +1 -1
  175. package/esm2015/lib/strategies/container.strategy.js.map +1 -0
  176. package/esm2015/lib/strategies/content-security.strategy.js +1 -1
  177. package/esm2015/lib/strategies/content-security.strategy.js.map +1 -0
  178. package/esm2015/lib/strategies/content.strategy.js +14 -10
  179. package/esm2015/lib/strategies/content.strategy.js.map +1 -0
  180. package/esm2015/lib/strategies/context.strategy.js +1 -2
  181. package/esm2015/lib/strategies/context.strategy.js.map +1 -0
  182. package/esm2015/lib/strategies/cross-origin.strategy.js +1 -1
  183. package/esm2015/lib/strategies/cross-origin.strategy.js.map +1 -0
  184. package/esm2015/lib/strategies/dom.strategy.js +1 -1
  185. package/esm2015/lib/strategies/dom.strategy.js.map +1 -0
  186. package/esm2015/lib/strategies/index.js +1 -1
  187. package/esm2015/lib/strategies/index.js.map +1 -0
  188. package/esm2015/lib/strategies/loading.strategy.js +1 -1
  189. package/esm2015/lib/strategies/loading.strategy.js.map +1 -0
  190. package/esm2015/lib/strategies/projection.strategy.js +1 -1
  191. package/esm2015/lib/strategies/projection.strategy.js.map +1 -0
  192. package/esm2015/lib/tokens/app-config.token.js +1 -1
  193. package/esm2015/lib/tokens/app-config.token.js.map +1 -0
  194. package/esm2015/lib/tokens/cookie-language-key.token.js +5 -0
  195. package/esm2015/lib/tokens/cookie-language-key.token.js.map +1 -0
  196. package/esm2015/lib/tokens/index.js +3 -2
  197. package/esm2015/lib/tokens/index.js.map +1 -0
  198. package/esm2015/lib/tokens/list.token.js +1 -1
  199. package/esm2015/lib/tokens/list.token.js.map +1 -0
  200. package/esm2015/lib/tokens/lodaer-delay.token.js +1 -1
  201. package/esm2015/lib/tokens/lodaer-delay.token.js.map +1 -0
  202. package/esm2015/lib/tokens/manage-profile.token.js +1 -1
  203. package/esm2015/lib/tokens/manage-profile.token.js.map +1 -0
  204. package/esm2015/lib/tokens/options.token.js +1 -1
  205. package/esm2015/lib/tokens/options.token.js.map +1 -0
  206. package/esm2015/lib/tokens/tenant-key.token.js +1 -1
  207. package/esm2015/lib/tokens/tenant-key.token.js.map +1 -0
  208. package/esm2015/lib/utils/array-utils.js +1 -1
  209. package/esm2015/lib/utils/array-utils.js.map +1 -0
  210. package/esm2015/lib/utils/auth-utils.js +1 -1
  211. package/esm2015/lib/utils/auth-utils.js.map +1 -0
  212. package/esm2015/lib/utils/common-utils.js +1 -2
  213. package/esm2015/lib/utils/common-utils.js.map +1 -0
  214. package/esm2015/lib/utils/date-extensions.js +1 -1
  215. package/esm2015/lib/utils/date-extensions.js.map +1 -0
  216. package/esm2015/lib/utils/date-utils.js +1 -1
  217. package/esm2015/lib/utils/date-utils.js.map +1 -0
  218. package/esm2015/lib/utils/environment-utils.js +8 -5
  219. package/esm2015/lib/utils/environment-utils.js.map +1 -0
  220. package/esm2015/lib/utils/factory-utils.js +1 -1
  221. package/esm2015/lib/utils/factory-utils.js.map +1 -0
  222. package/esm2015/lib/utils/file-utils.js +1 -1
  223. package/esm2015/lib/utils/file-utils.js.map +1 -0
  224. package/esm2015/lib/utils/form-utils.js +1 -1
  225. package/esm2015/lib/utils/form-utils.js.map +1 -0
  226. package/esm2015/lib/utils/generator-utils.js +1 -2
  227. package/esm2015/lib/utils/generator-utils.js.map +1 -0
  228. package/esm2015/lib/utils/http-utils.js +1 -1
  229. package/esm2015/lib/utils/http-utils.js.map +1 -0
  230. package/esm2015/lib/utils/index.js +1 -2
  231. package/esm2015/lib/utils/index.js.map +1 -0
  232. package/esm2015/lib/utils/initial-utils.js +1 -1
  233. package/esm2015/lib/utils/initial-utils.js.map +1 -0
  234. package/esm2015/lib/utils/internal-store-utils.js +1 -1
  235. package/esm2015/lib/utils/internal-store-utils.js.map +1 -0
  236. package/esm2015/lib/utils/lazy-load-utils.js +1 -2
  237. package/esm2015/lib/utils/lazy-load-utils.js.map +1 -0
  238. package/esm2015/lib/utils/localization-utils.js +3 -3
  239. package/esm2015/lib/utils/localization-utils.js.map +1 -0
  240. package/esm2015/lib/utils/multi-tenancy-utils.js +1 -1
  241. package/esm2015/lib/utils/multi-tenancy-utils.js.map +1 -0
  242. package/esm2015/lib/utils/number-utils.js +1 -2
  243. package/esm2015/lib/utils/number-utils.js.map +1 -0
  244. package/esm2015/lib/utils/object-utils.js +1 -1
  245. package/esm2015/lib/utils/object-utils.js.map +1 -0
  246. package/esm2015/lib/utils/route-utils.js +1 -1
  247. package/esm2015/lib/utils/route-utils.js.map +1 -0
  248. package/esm2015/lib/utils/string-utils.js +1 -1
  249. package/esm2015/lib/utils/string-utils.js.map +1 -0
  250. package/esm2015/lib/utils/tree-utils.js +2 -1
  251. package/esm2015/lib/utils/tree-utils.js.map +1 -0
  252. package/esm2015/lib/validators/age.validator.js +1 -1
  253. package/esm2015/lib/validators/age.validator.js.map +1 -0
  254. package/esm2015/lib/validators/credit-card.validator.js +1 -2
  255. package/esm2015/lib/validators/credit-card.validator.js.map +1 -0
  256. package/esm2015/lib/validators/index.js +2 -4
  257. package/esm2015/lib/validators/index.js.map +1 -0
  258. package/esm2015/lib/validators/range.validator.js +1 -1
  259. package/esm2015/lib/validators/range.validator.js.map +1 -0
  260. package/esm2015/lib/validators/required.validator.js +1 -1
  261. package/esm2015/lib/validators/required.validator.js.map +1 -0
  262. package/esm2015/lib/validators/string-length.validator.js +1 -1
  263. package/esm2015/lib/validators/string-length.validator.js.map +1 -0
  264. package/esm2015/lib/validators/url.validator.js +1 -1
  265. package/esm2015/lib/validators/url.validator.js.map +1 -0
  266. package/esm2015/locale/abp-ng.core-locale.js +1 -1
  267. package/esm2015/locale/abp-ng.core-locale.js.map +1 -0
  268. package/esm2015/locale/public-api.js +1 -1
  269. package/esm2015/locale/public-api.js.map +1 -0
  270. package/esm2015/locale/utils/register-locale.js +1 -1
  271. package/esm2015/locale/utils/register-locale.js.map +1 -0
  272. package/esm2015/public-api.js +10 -15
  273. package/esm2015/public-api.js.map +1 -0
  274. package/esm2015/testing/abp-ng.core-testing.js +1 -3
  275. package/esm2015/testing/abp-ng.core-testing.js.map +1 -0
  276. package/esm2015/testing/lib/core-testing.module.js +12 -7
  277. package/esm2015/testing/lib/core-testing.module.js.map +1 -0
  278. package/esm2015/testing/lib/services/index.js +1 -1
  279. package/esm2015/testing/lib/services/index.js.map +1 -0
  280. package/esm2015/testing/lib/services/mock-permission.service.js +9 -10
  281. package/esm2015/testing/lib/services/mock-permission.service.js.map +1 -0
  282. package/esm2015/testing/lib/services/mock-rest.service.js +14 -14
  283. package/esm2015/testing/lib/services/mock-rest.service.js.map +1 -0
  284. package/esm2015/testing/lib/utils/clear-page.util.js +1 -1
  285. package/esm2015/testing/lib/utils/clear-page.util.js.map +1 -0
  286. package/esm2015/testing/lib/utils/index.js +1 -1
  287. package/esm2015/testing/lib/utils/index.js.map +1 -0
  288. package/esm2015/testing/lib/utils/wait.util.js +1 -1
  289. package/esm2015/testing/lib/utils/wait.util.js.map +1 -0
  290. package/esm2015/testing/public-api.js +1 -1
  291. package/esm2015/testing/public-api.js.map +1 -0
  292. package/fesm2015/abp-ng.core-locale.js.map +1 -1
  293. package/fesm2015/abp-ng.core-testing.js +32 -30
  294. package/fesm2015/abp-ng.core-testing.js.map +1 -1
  295. package/fesm2015/abp-ng.core.js +723 -1138
  296. package/fesm2015/abp-ng.core.js.map +1 -1
  297. package/lib/abstracts/ng-model.component.d.ts +6 -3
  298. package/lib/components/dynamic-layout.component.d.ts +3 -0
  299. package/lib/components/replaceable-route-container.component.d.ts +3 -0
  300. package/lib/components/router-outlet.component.d.ts +3 -0
  301. package/lib/core.module.d.ts +29 -0
  302. package/lib/directives/autofocus.directive.d.ts +4 -1
  303. package/lib/directives/debounce.directive.d.ts +3 -0
  304. package/lib/directives/for.directive.d.ts +3 -0
  305. package/lib/directives/form-submit.directive.d.ts +3 -0
  306. package/lib/directives/index.d.ts +0 -1
  307. package/lib/directives/init.directive.d.ts +3 -0
  308. package/lib/directives/permission.directive.d.ts +3 -5
  309. package/lib/directives/replaceable-template.directive.d.ts +3 -0
  310. package/lib/directives/stop-propagation.directive.d.ts +3 -0
  311. package/lib/guards/auth.guard.d.ts +3 -0
  312. package/lib/guards/permission.guard.d.ts +7 -4
  313. package/lib/handlers/oauth-configuration.handler.d.ts +3 -0
  314. package/lib/handlers/routes.handler.d.ts +3 -0
  315. package/lib/interceptors/api.interceptor.d.ts +3 -0
  316. package/lib/localization.module.d.ts +5 -0
  317. package/lib/models/index.d.ts +0 -3
  318. package/lib/models/replaceable-components.d.ts +2 -2
  319. package/lib/models/session.d.ts +0 -14
  320. package/lib/pipes/localization.pipe.d.ts +6 -2
  321. package/lib/pipes/sort.pipe.d.ts +4 -0
  322. package/lib/providers/cookie-language.provider.d.ts +3 -0
  323. package/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.d.ts +3 -0
  324. package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.d.ts +3 -0
  325. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.d.ts +3 -0
  326. package/lib/services/auth.service.d.ts +3 -4
  327. package/lib/services/config-state.service.d.ts +14 -16
  328. package/lib/services/content-projection.service.d.ts +3 -0
  329. package/lib/services/dom-insertion.service.d.ts +3 -0
  330. package/lib/services/environment.service.d.ts +4 -0
  331. package/lib/services/http-error-reporter.service.d.ts +12 -0
  332. package/lib/services/http-wait.service.d.ts +3 -0
  333. package/lib/services/index.d.ts +1 -3
  334. package/lib/services/lazy-load.service.d.ts +3 -0
  335. package/lib/services/list.service.d.ts +4 -1
  336. package/lib/services/localization.service.d.ts +6 -3
  337. package/lib/services/multi-tenancy.service.d.ts +7 -14
  338. package/lib/services/permission.service.d.ts +4 -1
  339. package/lib/services/replaceable-components.service.d.ts +3 -0
  340. package/lib/services/resource-wait.service.d.ts +3 -0
  341. package/lib/services/rest.service.d.ts +6 -3
  342. package/lib/services/router-events.service.d.ts +3 -0
  343. package/lib/services/router-wait.service.d.ts +3 -0
  344. package/lib/services/routes.service.d.ts +5 -2
  345. package/lib/services/session-state.service.d.ts +3 -0
  346. package/lib/services/subscription.service.d.ts +3 -0
  347. package/lib/services/track-by.service.d.ts +3 -0
  348. package/lib/strategies/auth-flow.strategy.d.ts +12 -12
  349. package/lib/strategies/content.strategy.d.ts +9 -5
  350. package/lib/tokens/cookie-language-key.token.d.ts +2 -0
  351. package/lib/tokens/index.d.ts +2 -1
  352. package/lib/utils/auth-utils.d.ts +5 -5
  353. package/lib/utils/index.d.ts +0 -1
  354. package/lib/utils/initial-utils.d.ts +5 -5
  355. package/lib/utils/tree-utils.d.ts +1 -1
  356. package/locale/abp-ng.core-locale.d.ts +1 -0
  357. package/locale/package.json +0 -1
  358. package/package.json +5 -9
  359. package/public-api.d.ts +9 -11
  360. package/testing/abp-ng.core-testing.d.ts +1 -2
  361. package/testing/lib/core-testing.module.d.ts +7 -0
  362. package/testing/lib/services/mock-permission.service.d.ts +3 -0
  363. package/testing/lib/services/mock-rest.service.d.ts +3 -0
  364. package/testing/package.json +0 -1
  365. package/abp-ng.core.metadata.json +0 -1
  366. package/bundles/abp-ng.core-locale.umd.min.js +0 -16
  367. package/bundles/abp-ng.core-locale.umd.min.js.map +0 -1
  368. package/bundles/abp-ng.core-testing.umd.min.js +0 -2
  369. package/bundles/abp-ng.core-testing.umd.min.js.map +0 -1
  370. package/bundles/abp-ng.core.umd.min.js +0 -17
  371. package/bundles/abp-ng.core.umd.min.js.map +0 -1
  372. package/esm2015/lib/actions/config.actions.js +0 -25
  373. package/esm2015/lib/actions/index.js +0 -5
  374. package/esm2015/lib/actions/loader.actions.js +0 -13
  375. package/esm2015/lib/actions/profile.actions.js +0 -16
  376. package/esm2015/lib/actions/rest.actions.js +0 -7
  377. package/esm2015/lib/directives/visibility.directive.js +0 -62
  378. package/esm2015/lib/models/application-configuration.js +0 -2
  379. package/esm2015/lib/models/config.js +0 -2
  380. package/esm2015/lib/models/profile.js +0 -2
  381. package/esm2015/lib/services/application-configuration.service.js +0 -29
  382. package/esm2015/lib/services/profile-state.service.js +0 -33
  383. package/esm2015/lib/services/profile.service.js +0 -48
  384. package/esm2015/lib/states/config.state.js +0 -230
  385. package/esm2015/lib/states/index.js +0 -3
  386. package/esm2015/lib/states/profile.state.js +0 -53
  387. package/esm2015/lib/utils/rxjs-utils.js +0 -26
  388. package/lib/actions/config.actions.d.ts +0 -23
  389. package/lib/actions/index.d.ts +0 -4
  390. package/lib/actions/loader.actions.d.ts +0 -11
  391. package/lib/actions/profile.actions.d.ts +0 -14
  392. package/lib/actions/rest.actions.d.ts +0 -6
  393. package/lib/directives/visibility.directive.d.ts +0 -16
  394. package/lib/models/application-configuration.d.ts +0 -108
  395. package/lib/models/config.d.ts +0 -52
  396. package/lib/models/profile.d.ts +0 -25
  397. package/lib/services/application-configuration.service.d.ts +0 -11
  398. package/lib/services/profile-state.service.d.ts +0 -11
  399. package/lib/services/profile.service.d.ts +0 -11
  400. package/lib/states/config.state.d.ts +0 -191
  401. package/lib/states/index.d.ts +0 -2
  402. package/lib/states/profile.state.d.ts +0 -12
  403. package/lib/utils/rxjs-utils.d.ts +0 -5
  404. package/locale/abp-ng.core-locale.metadata.json +0 -1
  405. package/testing/abp-ng.core-testing.metadata.json +0 -1
@@ -0,0 +1,12 @@
1
+ import { HttpErrorResponse } from '@angular/common/http';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HttpErrorReporterService {
4
+ private _reporter$;
5
+ private _errors$;
6
+ get reporter$(): import("rxjs").Observable<unknown>;
7
+ get errors$(): import("rxjs").Observable<HttpErrorResponse[]>;
8
+ get errors(): HttpErrorResponse[];
9
+ reportError: (error: HttpErrorResponse) => void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorReporterService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorReporterService>;
12
+ }
@@ -1,6 +1,7 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { HttpRequest } from '@angular/common/http';
3
3
  import { InternalStore } from '../utils/internal-store-utils';
4
+ import * as i0 from "@angular/core";
4
5
  export interface HttpWaitState {
5
6
  requests: HttpRequest<any>[];
6
7
  filteredRequests: Array<HttpRequestInfo>;
@@ -24,4 +25,6 @@ export declare class HttpWaitService {
24
25
  removeFilter(request: HttpRequestInfo | HttpRequestInfo[]): void;
25
26
  private applyFilter;
26
27
  private isSameRequest;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<HttpWaitService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<HttpWaitService>;
27
30
  }
@@ -1,17 +1,15 @@
1
- export * from './application-configuration.service';
2
1
  export * from './auth.service';
3
2
  export * from './config-state.service';
4
3
  export * from './content-projection.service';
5
4
  export * from './dom-insertion.service';
6
5
  export * from './environment.service';
6
+ export * from './http-error-reporter.service';
7
7
  export * from './http-wait.service';
8
8
  export * from './lazy-load.service';
9
9
  export * from './list.service';
10
10
  export * from './localization.service';
11
11
  export * from './multi-tenancy.service';
12
12
  export * from './permission.service';
13
- export * from './profile-state.service';
14
- export * from './profile.service';
15
13
  export * from './replaceable-components.service';
16
14
  export * from './resource-wait.service';
17
15
  export * from './rest.service';
@@ -1,10 +1,13 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { LoadingStrategy } from '../strategies';
3
3
  import { ResourceWaitService } from './resource-wait.service';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class LazyLoadService {
5
6
  private resourceWaitService;
6
7
  readonly loaded: Map<string, HTMLScriptElement | HTMLLinkElement>;
7
8
  constructor(resourceWaitService: ResourceWaitService);
8
9
  load(strategy: LoadingStrategy, retryTimes?: number, retryDelay?: number): Observable<Event>;
9
10
  remove(path: string): boolean;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<LazyLoadService>;
10
13
  }
@@ -2,6 +2,7 @@ import { Injector, OnDestroy } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ABP } from '../models/common';
4
4
  import { PagedResultDto } from '../models/dtos';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class ListService<QueryParamsType = ABP.PageQueryParams> implements OnDestroy {
6
7
  private _filter;
7
8
  set filter(value: string);
@@ -23,14 +24,16 @@ export declare class ListService<QueryParamsType = ABP.PageQueryParams> implemen
23
24
  get query$(): Observable<QueryParamsType>;
24
25
  private _isLoading$;
25
26
  private destroy$;
27
+ private delay;
26
28
  get isLoading$(): Observable<boolean>;
27
29
  get: () => void;
28
30
  getWithoutPageReset: () => void;
29
- private delay;
30
31
  constructor(injector: Injector);
31
32
  hookToQuery<T extends any>(streamCreatorCallback: QueryStreamCreatorCallback<T, QueryParamsType>): Observable<PagedResultDto<T>>;
32
33
  ngOnDestroy(): void;
33
34
  private resetPageWhenUnchanged;
34
35
  private next;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListService<any>, never>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<ListService<any>>;
35
38
  }
36
39
  export declare type QueryStreamCreatorCallback<T, QueryParamsType = ABP.PageQueryParams> = (query: QueryParamsType) => Observable<PagedResultDto<T>>;
@@ -1,8 +1,9 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
- import { Config } from '../models/config';
3
+ import { LocalizationWithDefault } from '../models/localization';
4
4
  import { ConfigStateService } from './config-state.service';
5
5
  import { SessionStateService } from './session-state.service';
6
+ import * as i0 from "@angular/core";
6
7
  export declare class LocalizationService {
7
8
  private sessionState;
8
9
  private injector;
@@ -22,7 +23,7 @@ export declare class LocalizationService {
22
23
  * @param key Localizaton key to replace with localized text
23
24
  * @param interpolateParams Values to interpolate
24
25
  */
25
- get(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): Observable<string>;
26
+ get(key: string | LocalizationWithDefault, ...interpolateParams: string[]): Observable<string>;
26
27
  getResource(resourceName: string): any;
27
28
  getResource$(resourceName: string): Observable<any>;
28
29
  /**
@@ -30,9 +31,11 @@ export declare class LocalizationService {
30
31
  * @param key Localization key to replace with localized text
31
32
  * @param interpolateParams Values to intepolate.
32
33
  */
33
- instant(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): string;
34
+ instant(key: string | LocalizationWithDefault, ...interpolateParams: string[]): string;
34
35
  localize(resourceName: string, key: string, defaultValue: string): Observable<string>;
35
36
  localizeSync(resourceName: string, key: string, defaultValue: string): string;
36
37
  localizeWithFallback(resourceNames: string[], keys: string[], defaultValue: string): Observable<string>;
37
38
  localizeWithFallbackSync(resourceNames: string[], keys: string[], defaultValue: string): string;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, [null, null, { optional: true; skipSelf: true; }, null]>;
40
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
38
41
  }
@@ -1,10 +1,9 @@
1
- import { Observable } from 'rxjs';
2
- import { ABP } from '../models/common';
3
- import { FindTenantResultDto, CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
4
- import { RestService } from './rest.service';
5
1
  import { AbpTenantService } from '../proxy/pages/abp/multi-tenancy';
2
+ import { CurrentTenantDto, FindTenantResultDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
6
3
  import { ConfigStateService } from './config-state.service';
4
+ import { RestService } from './rest.service';
7
5
  import { SessionStateService } from './session-state.service';
6
+ import * as i0 from "@angular/core";
8
7
  export declare class MultiTenancyService {
9
8
  private restService;
10
9
  private sessionState;
@@ -16,14 +15,8 @@ export declare class MultiTenancyService {
16
15
  apiName: string;
17
16
  private setTenantToState;
18
17
  constructor(restService: RestService, sessionState: SessionStateService, tenantService: AbpTenantService, configStateService: ConfigStateService, tenantKey: string);
19
- /**
20
- * @deprecated Use AbpTenantService.findTenantByName method instead. To be deleted in v5.0.
21
- */
22
- findTenantByName(name: string, headers: ABP.Dictionary<string>): Observable<FindTenantResultDto>;
23
- /**
24
- * @deprecated Use AbpTenantService.findTenantById method instead. To be deleted in v5.0.
25
- */
26
- findTenantById(id: string, headers: ABP.Dictionary<string>): Observable<FindTenantResultDto>;
27
- setTenantByName(tenantName: string): Observable<FindTenantResultDto>;
28
- setTenantById(tenantId: string): Observable<FindTenantResultDto>;
18
+ setTenantByName(tenantName: string): import("rxjs").Observable<FindTenantResultDto>;
19
+ setTenantById(tenantId: string): import("rxjs").Observable<FindTenantResultDto>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiTenancyService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<MultiTenancyService>;
29
22
  }
@@ -1,6 +1,7 @@
1
+ import { ABP } from '../models/common';
1
2
  import { ApplicationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
2
3
  import { ConfigStateService } from './config-state.service';
3
- import { ABP } from '../models/common';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class PermissionService {
5
6
  protected configState: ConfigStateService;
6
7
  constructor(configState: ConfigStateService);
@@ -13,4 +14,6 @@ export declare class PermissionService {
13
14
  protected getSnapshot(): Record<string, boolean>;
14
15
  protected mapToPolicies(applicationConfiguration: ApplicationConfigurationDto): Record<string, boolean>;
15
16
  protected getPolicy(key: string, grantedPolicies: Record<string, boolean>): boolean;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
16
19
  }
@@ -2,6 +2,7 @@ import { NgZone } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ReplaceableComponents } from '../models/replaceable-components';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class ReplaceableComponentsService {
6
7
  private ngZone;
7
8
  private router;
@@ -13,4 +14,6 @@ export declare class ReplaceableComponentsService {
13
14
  add(replaceableComponent: ReplaceableComponents.ReplaceableComponent, reload?: boolean): void;
14
15
  get(replaceableComponentKey: string): ReplaceableComponents.ReplaceableComponent;
15
16
  get$(replaceableComponentKey: string): Observable<ReplaceableComponents.ReplaceableComponent>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableComponentsService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<ReplaceableComponentsService>;
16
19
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  export interface ResourceWaitState {
2
3
  resources: Set<string>;
3
4
  }
@@ -9,4 +10,6 @@ export declare class ResourceWaitService {
9
10
  clearLoading(): void;
10
11
  addResource(resource: string): void;
11
12
  deleteResource(resource: string): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResourceWaitService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResourceWaitService>;
12
15
  }
@@ -1,16 +1,19 @@
1
1
  import { HttpClient, HttpRequest } from '@angular/common/http';
2
- import { Store } from '@ngxs/store';
3
2
  import { Observable } from 'rxjs';
4
3
  import { ABP } from '../models/common';
5
4
  import { Rest } from '../models/rest';
6
5
  import { EnvironmentService } from './environment.service';
6
+ import { HttpErrorReporterService } from './http-error-reporter.service';
7
+ import * as i0 from "@angular/core";
7
8
  export declare class RestService {
8
9
  protected options: ABP.Root;
9
10
  protected http: HttpClient;
10
11
  protected environment: EnvironmentService;
11
- protected store: Store;
12
- constructor(options: ABP.Root, http: HttpClient, environment: EnvironmentService, store: Store);
12
+ protected httpErrorReporter: HttpErrorReporterService;
13
+ constructor(options: ABP.Root, http: HttpClient, environment: EnvironmentService, httpErrorReporter: HttpErrorReporterService);
13
14
  protected getApiFromStore(apiName: string): string;
14
15
  handleError(err: any): Observable<any>;
15
16
  request<T, R>(request: HttpRequest<T> | Rest.Request<T>, config?: Rest.Config, api?: string): Observable<R>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
16
19
  }
@@ -1,5 +1,6 @@
1
1
  import { Type } from '@angular/core';
2
2
  import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Router, RouterEvent } from '@angular/router';
3
+ import * as i0 from "@angular/core";
3
4
  export declare const NavigationEvent: {
4
5
  Cancel: typeof NavigationCancel;
5
6
  End: typeof NavigationEnd;
@@ -18,6 +19,8 @@ export declare class RouterEvents {
18
19
  }[Key]> : never : never>;
19
20
  getAllEvents(): import("rxjs").Observable<import("@angular/router").Event>;
20
21
  getAllNavigationEvents(): import("rxjs").Observable<NavigationCancel | NavigationEnd | NavigationError | NavigationStart>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouterEvents, never>;
23
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouterEvents>;
21
24
  }
22
25
  declare type RouterEventConstructors = [Type<RouterEvent>, ...Type<RouterEvent>[]];
23
26
  declare type NavigationEventKeys = [NavigationEventKey, ...NavigationEventKey[]];
@@ -1,5 +1,6 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { RouterEvents } from './router-events.service';
3
+ import * as i0 from "@angular/core";
3
4
  export interface RouterWaitState {
4
5
  loading: boolean;
5
6
  }
@@ -14,4 +15,6 @@ export declare class RouterWaitService {
14
15
  getLoading$(): import("rxjs").Observable<boolean>;
15
16
  updateLoading$(): import("rxjs").Observable<boolean>;
16
17
  setLoading(loading: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouterWaitService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouterWaitService>;
17
20
  }
@@ -2,6 +2,7 @@ import { Injector, OnDestroy } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ABP } from '../models/common';
4
4
  import { TreeNode } from '../utils/tree-utils';
5
+ import * as i0 from "@angular/core";
5
6
  export declare abstract class AbstractTreeService<T extends object> {
6
7
  abstract id: string;
7
8
  abstract parentId: string;
@@ -40,8 +41,10 @@ export declare abstract class AbstractNavTreeService<T extends ABP.Nav> extends
40
41
  hasChildren(identifier: string): boolean;
41
42
  hasInvisibleChild(identifier: string): boolean;
42
43
  ngOnDestroy(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNavTreeService<any>, never>;
45
+ static ɵprov: i0.ɵɵInjectableDeclaration<AbstractNavTreeService<any>>;
43
46
  }
44
47
  export declare class RoutesService extends AbstractNavTreeService<ABP.Route> {
45
- }
46
- export declare class SettingTabsService extends AbstractNavTreeService<ABP.Tab> {
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoutesService, never>;
49
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoutesService>;
47
50
  }
@@ -1,5 +1,6 @@
1
1
  import { CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
2
2
  import { ConfigStateService } from './config-state.service';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class SessionStateService {
4
5
  private configState;
5
6
  private readonly store;
@@ -19,4 +20,6 @@ export declare class SessionStateService {
19
20
  getTenant$(): import("rxjs").Observable<CurrentTenantDto>;
20
21
  setTenant(tenant: CurrentTenantDto): void;
21
22
  setLanguage(language: string): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<SessionStateService, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<SessionStateService>;
22
25
  }
@@ -1,6 +1,7 @@
1
1
  import type { OnDestroy } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
3
  import type { Observable, PartialObserver } from 'rxjs';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class SubscriptionService implements OnDestroy {
5
6
  private subscription;
6
7
  get isClosed(): boolean;
@@ -11,4 +12,6 @@ export declare class SubscriptionService implements OnDestroy {
11
12
  ngOnDestroy(): void;
12
13
  removeOne(subscription: Subscription | undefined | null): void;
13
14
  reset(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
14
17
  }
@@ -1,8 +1,11 @@
1
1
  import { TrackByFunction } from '@angular/core';
2
2
  import { O } from 'ts-toolbelt';
3
+ import * as i0 from "@angular/core";
3
4
  export declare const trackBy: <T = any>(key: keyof T) => TrackByFunction<T>;
4
5
  export declare const trackByDeep: <T = any>(...keys: T extends object ? O.Paths<T> : never) => TrackByFunction<T>;
5
6
  export declare class TrackByService<ItemType = any> {
6
7
  by: <T = any>(key: keyof T) => TrackByFunction<T>;
7
8
  byDeep: <T = any>(...keys: T extends object ? O.Paths<T> : never) => TrackByFunction<T>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrackByService<any>, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<TrackByService<any>>;
8
11
  }
@@ -1,17 +1,17 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { Params } from '@angular/router';
3
- import { Store } from '@ngxs/store';
4
3
  import { AuthConfig, OAuthService, OAuthStorage } from 'angular-oauth2-oidc';
5
4
  import { Observable } from 'rxjs';
6
5
  import { LoginParams } from '../models/auth';
7
6
  import { ConfigStateService } from '../services/config-state.service';
8
7
  import { EnvironmentService } from '../services/environment.service';
8
+ import { HttpErrorReporterService } from '../services/http-error-reporter.service';
9
9
  import { SessionStateService } from '../services/session-state.service';
10
10
  export declare const oAuthStorage: Storage;
11
11
  export declare abstract class AuthFlowStrategy {
12
12
  protected injector: Injector;
13
13
  abstract readonly isInternalAuth: boolean;
14
- protected store: Store;
14
+ protected httpErrorReporter: HttpErrorReporterService;
15
15
  protected environment: EnvironmentService;
16
16
  protected configState: ConfigStateService;
17
17
  protected oAuthService: OAuthService;
@@ -53,7 +53,7 @@ export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
53
53
  [x: string]: string;
54
54
  };
55
55
  };
56
- languages?: import("../../public-api").LanguageInfo[];
56
+ languages?: import("@abp/ng.core").LanguageInfo[];
57
57
  currentCulture?: {
58
58
  displayName?: string;
59
59
  englishName?: string;
@@ -75,10 +75,10 @@ export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
75
75
  };
76
76
  defaultResourceName?: string;
77
77
  languagesMap?: {
78
- [x: string]: import("../../public-api").NameValue<string>[];
78
+ [x: string]: import("@abp/ng.core").NameValue<string>[];
79
79
  };
80
80
  languageFilesMap?: {
81
- [x: string]: import("../../public-api").NameValue<string>[];
81
+ [x: string]: import("@abp/ng.core").NameValue<string>[];
82
82
  };
83
83
  };
84
84
  auth?: {
@@ -177,7 +177,7 @@ export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
177
177
  filterParamName?: string;
178
178
  };
179
179
  };
180
- attributes?: import("../../public-api").ExtensionPropertyAttributeDto[];
180
+ attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
181
181
  configuration?: {
182
182
  [x: string]: object;
183
183
  };
@@ -196,7 +196,7 @@ export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
196
196
  };
197
197
  enums?: {
198
198
  [x: string]: {
199
- fields?: import("../../public-api").ExtensionEnumFieldDto[];
199
+ fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
200
200
  localizationResource?: string;
201
201
  };
202
202
  };
@@ -209,7 +209,7 @@ export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
209
209
  [x: string]: string;
210
210
  };
211
211
  };
212
- languages?: import("../../public-api").LanguageInfo[];
212
+ languages?: import("@abp/ng.core").LanguageInfo[];
213
213
  currentCulture?: {
214
214
  displayName?: string;
215
215
  englishName?: string;
@@ -231,10 +231,10 @@ export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
231
231
  };
232
232
  defaultResourceName?: string;
233
233
  languagesMap?: {
234
- [x: string]: import("../../public-api").NameValue<string>[];
234
+ [x: string]: import("@abp/ng.core").NameValue<string>[];
235
235
  };
236
236
  languageFilesMap?: {
237
- [x: string]: import("../../public-api").NameValue<string>[];
237
+ [x: string]: import("@abp/ng.core").NameValue<string>[];
238
238
  };
239
239
  };
240
240
  auth?: {
@@ -333,7 +333,7 @@ export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
333
333
  filterParamName?: string;
334
334
  };
335
335
  };
336
- attributes?: import("../../public-api").ExtensionPropertyAttributeDto[];
336
+ attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
337
337
  configuration?: {
338
338
  [x: string]: object;
339
339
  };
@@ -352,7 +352,7 @@ export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
352
352
  };
353
353
  enums?: {
354
354
  [x: string]: {
355
- fields?: import("../../public-api").ExtensionEnumFieldDto[];
355
+ fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
356
356
  localizationResource?: string;
357
357
  };
358
358
  };
@@ -1,10 +1,14 @@
1
1
  import { ContentSecurityStrategy } from './content-security.strategy';
2
2
  import { DomStrategy } from './dom.strategy';
3
+ export declare type ElementOptions<T extends HTMLScriptElement | HTMLStyleElement = any> = Partial<{
4
+ [key in keyof T]: T[key];
5
+ }>;
3
6
  export declare abstract class ContentStrategy<T extends HTMLScriptElement | HTMLStyleElement = any> {
4
7
  content: string;
5
8
  protected domStrategy: DomStrategy;
6
9
  protected contentSecurityStrategy: ContentSecurityStrategy;
7
- constructor(content: string, domStrategy?: DomStrategy, contentSecurityStrategy?: ContentSecurityStrategy);
10
+ protected options: ElementOptions<T>;
11
+ constructor(content: string, domStrategy?: DomStrategy, contentSecurityStrategy?: ContentSecurityStrategy, options?: ElementOptions<T>);
8
12
  abstract createElement(): T;
9
13
  insertElement(): T;
10
14
  }
@@ -15,8 +19,8 @@ export declare class ScriptContentStrategy extends ContentStrategy<HTMLScriptEle
15
19
  createElement(): HTMLScriptElement;
16
20
  }
17
21
  export declare const CONTENT_STRATEGY: {
18
- AppendScriptToBody(content: string): ScriptContentStrategy;
19
- AppendScriptToHead(content: string): ScriptContentStrategy;
20
- AppendStyleToHead(content: string): StyleContentStrategy;
21
- PrependStyleToHead(content: string): StyleContentStrategy;
22
+ AppendScriptToBody(content: string, options?: ElementOptions<HTMLScriptElement>): ScriptContentStrategy;
23
+ AppendScriptToHead(content: string, options?: ElementOptions<HTMLScriptElement>): ScriptContentStrategy;
24
+ AppendStyleToHead(content: string, options?: ElementOptions<HTMLStyleElement>): StyleContentStrategy;
25
+ PrependStyleToHead(content: string, options?: ElementOptions<HTMLStyleElement>): StyleContentStrategy;
22
26
  };
@@ -0,0 +1,2 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const COOKIE_LANGUAGE_KEY: InjectionToken<string>;
@@ -1,6 +1,7 @@
1
+ export * from './app-config.token';
2
+ export * from './cookie-language-key.token';
1
3
  export * from './list.token';
2
4
  export * from './lodaer-delay.token';
3
5
  export * from './manage-profile.token';
4
6
  export * from './options.token';
5
- export * from './app-config.token';
6
7
  export * from './tenant-key.token';
@@ -8,7 +8,7 @@ export declare function pipeToLogin(params: Pick<LoginParams, 'redirectUrl' | 'r
8
8
  [x: string]: string;
9
9
  };
10
10
  };
11
- languages?: import("../../public-api").LanguageInfo[];
11
+ languages?: import("@abp/ng.core").LanguageInfo[];
12
12
  currentCulture?: {
13
13
  displayName?: string;
14
14
  englishName?: string;
@@ -30,10 +30,10 @@ export declare function pipeToLogin(params: Pick<LoginParams, 'redirectUrl' | 'r
30
30
  };
31
31
  defaultResourceName?: string;
32
32
  languagesMap?: {
33
- [x: string]: import("../../public-api").NameValue<string>[];
33
+ [x: string]: import("@abp/ng.core").NameValue<string>[];
34
34
  };
35
35
  languageFilesMap?: {
36
- [x: string]: import("../../public-api").NameValue<string>[];
36
+ [x: string]: import("@abp/ng.core").NameValue<string>[];
37
37
  };
38
38
  };
39
39
  auth?: {
@@ -132,7 +132,7 @@ export declare function pipeToLogin(params: Pick<LoginParams, 'redirectUrl' | 'r
132
132
  filterParamName?: string;
133
133
  };
134
134
  };
135
- attributes?: import("../../public-api").ExtensionPropertyAttributeDto[];
135
+ attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
136
136
  configuration?: {
137
137
  [x: string]: object;
138
138
  };
@@ -151,7 +151,7 @@ export declare function pipeToLogin(params: Pick<LoginParams, 'redirectUrl' | 'r
151
151
  };
152
152
  enums?: {
153
153
  [x: string]: {
154
- fields?: import("../../public-api").ExtensionEnumFieldDto[];
154
+ fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
155
155
  localizationResource?: string;
156
156
  };
157
157
  };
@@ -16,6 +16,5 @@ export * from './multi-tenancy-utils';
16
16
  export * from './number-utils';
17
17
  export * from './object-utils';
18
18
  export * from './route-utils';
19
- export * from './rxjs-utils';
20
19
  export * from './string-utils';
21
20
  export * from './tree-utils';
@@ -6,7 +6,7 @@ export declare function getInitialData(injector: Injector): () => Promise<{
6
6
  [x: string]: string;
7
7
  };
8
8
  };
9
- languages?: import("../../public-api").LanguageInfo[];
9
+ languages?: import("@abp/ng.core").LanguageInfo[];
10
10
  currentCulture?: {
11
11
  displayName?: string;
12
12
  englishName?: string;
@@ -28,10 +28,10 @@ export declare function getInitialData(injector: Injector): () => Promise<{
28
28
  };
29
29
  defaultResourceName?: string;
30
30
  languagesMap?: {
31
- [x: string]: import("../../public-api").NameValue<string>[];
31
+ [x: string]: import("@abp/ng.core").NameValue<string>[];
32
32
  };
33
33
  languageFilesMap?: {
34
- [x: string]: import("../../public-api").NameValue<string>[];
34
+ [x: string]: import("@abp/ng.core").NameValue<string>[];
35
35
  };
36
36
  };
37
37
  auth?: {
@@ -130,7 +130,7 @@ export declare function getInitialData(injector: Injector): () => Promise<{
130
130
  filterParamName?: string;
131
131
  };
132
132
  };
133
- attributes?: import("../../public-api").ExtensionPropertyAttributeDto[];
133
+ attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
134
134
  configuration?: {
135
135
  [x: string]: object;
136
136
  };
@@ -149,7 +149,7 @@ export declare function getInitialData(injector: Injector): () => Promise<{
149
149
  };
150
150
  enums?: {
151
151
  [x: string]: {
152
- fields?: import("../../public-api").ExtensionEnumFieldDto[];
152
+ fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
153
153
  localizationResource?: string;
154
154
  };
155
155
  };
@@ -6,7 +6,7 @@ export declare class BaseTreeNode<T extends object> {
6
6
  static create<T extends object>(props: T): TreeNode<T>;
7
7
  }
8
8
  export declare function createTreeFromList<T extends object, R extends unknown>(list: T[], keySelector: (item: T) => NodeKey, parentKeySelector: typeof keySelector, valueMapper: (item: T) => R): R[];
9
- export declare function createMapFromList<T extends object, R extends unknown>(list: T[], keySelector: (item: T) => NodeKey, valueMapper: (item: T) => R): Map<string | number | symbol, R>;
9
+ export declare function createMapFromList<T extends object, R extends unknown>(list: T[], keySelector: (item: T) => NodeKey, valueMapper: (item: T) => R): Map<NodeKey, R>;
10
10
  export declare function createTreeNodeFilterCreator<T extends object>(key: keyof T, mapperFn: (value: any) => string): (search: string) => (nodes: TreeNode<T>[], matches?: any[]) => any[];
11
11
  export declare type TreeNode<T extends object> = {
12
12
  [K in keyof T]: T[K];
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@abp/ng.core/locale" />
4
5
  export * from './public-api';
@@ -5,7 +5,6 @@
5
5
  "esm2015": "../esm2015/locale/abp-ng.core-locale.js",
6
6
  "fesm2015": "../fesm2015/abp-ng.core-locale.js",
7
7
  "typings": "abp-ng.core-locale.d.ts",
8
- "metadata": "abp-ng.core-locale.metadata.json",
9
8
  "sideEffects": false,
10
9
  "name": "@abp/ng.core/locale"
11
10
  }
package/package.json CHANGED
@@ -1,19 +1,16 @@
1
1
  {
2
2
  "name": "@abp/ng.core",
3
- "version": "4.4.3",
3
+ "version": "5.0.0-beta.3",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/utils": "^4.4.3",
11
- "@angular/localize": "~10.0.10",
12
- "@ngxs/store": "^3.7.0",
13
- "angular-oauth2-oidc": "^10.0.0",
14
- "just-clone": "^3.1.0",
15
- "just-compare": "^1.3.0",
16
- "snq": "^1.0.3",
10
+ "@abp/utils": "~5.0.0-beta.3",
11
+ "angular-oauth2-oidc": "^12.1.0",
12
+ "just-clone": "^3.2.1",
13
+ "just-compare": "^1.4.0",
17
14
  "ts-toolbelt": "6.15.4",
18
15
  "tslib": "^2.0.0"
19
16
  },
@@ -26,6 +23,5 @@
26
23
  "esm2015": "esm2015/abp-ng.core.js",
27
24
  "fesm2015": "fesm2015/abp-ng.core.js",
28
25
  "typings": "abp-ng.core.d.ts",
29
- "metadata": "abp-ng.core.metadata.json",
30
26
  "sideEffects": false
31
27
  }