@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
@@ -1,30 +1,27 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ChangeDetectorRef, Component, Injector, Input, InjectionToken, Injectable, Inject, Optional, SkipSelf, isDevMode, NgZone, Directive, ElementRef, EventEmitter, Output, TemplateRef, ViewContainerRef, IterableDiffers, Self, Renderer2, ComponentFactoryResolver, Pipe, NgModule, LOCALE_ID, APP_INITIALIZER, NgModuleFactory, Compiler, ApplicationRef, inject } from '@angular/core';
3
- import * as i1 from '@angular/router';
4
- import { PRIMARY_OUTLET, Router, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ActivatedRoute, RouterModule } from '@angular/router';
5
- import { registerLocaleData, CommonModule } from '@angular/common';
2
+ import { ChangeDetectorRef, Component, Input, InjectionToken, Injectable, Inject, Optional, SkipSelf, isDevMode, Directive, EventEmitter, Output, Self, Injector, Pipe, NgModule, APP_INITIALIZER, LOCALE_ID, NgModuleFactory, Compiler, ComponentFactoryResolver, ApplicationRef, inject } from '@angular/core';
3
+ import * as i1$1 from '@angular/router';
4
+ import { PRIMARY_OUTLET, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ActivatedRoute, Router, RouterModule } from '@angular/router';
5
+ import * as i5 from '@angular/common';
6
+ import { registerLocaleData, DOCUMENT, CommonModule } from '@angular/common';
6
7
  import { BehaviorSubject, Subject, throwError, from, Subscription, fromEvent, of, timer, pipe, Observable, concat, ReplaySubject } from 'rxjs';
7
8
  import { map, distinctUntilChanged, filter, catchError, switchMap, take, mapTo, debounceTime, takeUntil, tap, finalize, retryWhen, delay, shareReplay } from 'rxjs/operators';
8
- import { __rest, __awaiter, __decorate } from 'tslib';
9
- import snq from 'snq';
9
+ import { __rest, __awaiter } from 'tslib';
10
+ import * as i1 from '@angular/common/http';
11
+ import { HttpHeaders, HttpClient, HttpClientModule, HttpClientXsrfModule, HTTP_INTERCEPTORS } from '@angular/common/http';
10
12
  import compare from 'just-compare';
11
- import * as i2 from '@angular/common/http';
12
- import { HttpClient, HttpHeaders, HttpClientModule, HttpClientXsrfModule, HTTP_INTERCEPTORS } from '@angular/common/http';
13
- import * as i4 from '@ngxs/store';
14
- import { Store, Action, Selector, State, NgxsModule, createSelector } from '@ngxs/store';
15
- import { FormGroupDirective, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
16
- import * as i1$1 from 'angular-oauth2-oidc';
17
- import { OAuthService, OAuthStorage, OAuthErrorEvent, OAuthInfoEvent, OAuthModule } from 'angular-oauth2-oidc';
13
+ import * as i1$2 from '@angular/forms';
14
+ import { FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
15
+ import * as i1$3 from 'angular-oauth2-oidc';
16
+ import { OAuthStorage, OAuthService, OAuthErrorEvent, OAuthInfoEvent, OAuthModule } from 'angular-oauth2-oidc';
18
17
  import clone from 'just-clone';
19
18
 
20
19
  // Not an abstract class on purpose. Do not change!
21
- // tslint:disable-next-line: use-component-selector
22
20
  class AbstractNgModelComponent {
23
21
  constructor(injector) {
24
22
  this.injector = injector;
25
23
  this.valueFn = value => value;
26
24
  this.valueLimitFn = value => false;
27
- // tslint:disable-next-line: deprecation
28
25
  this.cdRef = injector.get(ChangeDetectorRef);
29
26
  }
30
27
  set value(value) {
@@ -59,80 +56,22 @@ class AbstractNgModelComponent {
59
56
  this.disabled = isDisabled;
60
57
  }
61
58
  }
62
- AbstractNgModelComponent.decorators = [
63
- { type: Component, args: [{ template: '' },] }
64
- ];
65
- AbstractNgModelComponent.ctorParameters = () => [
66
- { type: Injector }
67
- ];
68
- AbstractNgModelComponent.propDecorators = {
69
- disabled: [{ type: Input }],
70
- readonly: [{ type: Input }],
71
- valueFn: [{ type: Input }],
72
- valueLimitFn: [{ type: Input }],
73
- value: [{ type: Input }]
74
- };
75
-
76
- /**
77
- * @deprecated Use ConfigStateService. To be deleted in v5.0.
78
- */
79
- class GetAppConfiguration {
80
- }
81
- GetAppConfiguration.type = '[Config] Get App Configuration';
82
- /**
83
- * @deprecated Use EnvironmentService instead. To be deleted in v5.0.
84
- */
85
- class SetEnvironment {
86
- constructor(environment) {
87
- this.environment = environment;
88
- }
89
- }
90
- SetEnvironment.type = '[Config] Set Environment';
91
- /**
92
- * @deprecated Use EnvironmentService instead. To be deleted in v5.0.
93
- */
94
- class PatchConfigState {
95
- constructor(state) {
96
- this.state = state;
97
- }
98
- }
99
- PatchConfigState.type = '[Config] Set State';
100
-
101
- class StartLoader {
102
- constructor(payload) {
103
- this.payload = payload;
104
- }
105
- }
106
- StartLoader.type = '[Loader] Start';
107
- class StopLoader {
108
- constructor(payload) {
109
- this.payload = payload;
110
- }
111
- }
112
- StopLoader.type = '[Loader] Stop';
113
-
114
- class GetProfile {
115
- }
116
- GetProfile.type = '[Profile] Get';
117
- class UpdateProfile {
118
- constructor(payload) {
119
- this.payload = payload;
120
- }
121
- }
122
- UpdateProfile.type = '[Profile] Update';
123
- class ChangePassword {
124
- constructor(payload) {
125
- this.payload = payload;
126
- }
127
- }
128
- ChangePassword.type = '[Profile] Change Password';
129
-
130
- class RestOccurError {
131
- constructor(payload) {
132
- this.payload = payload;
133
- }
134
- }
135
- RestOccurError.type = '[Rest] Error';
59
+ AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
60
+ AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AbstractNgModelComponent, selector: "ng-component", inputs: { disabled: "disabled", readonly: "readonly", valueFn: "valueFn", valueLimitFn: "valueLimitFn", value: "value" }, ngImport: i0, template: '', isInline: true });
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
62
+ type: Component,
63
+ args: [{ template: '' }]
64
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { disabled: [{
65
+ type: Input
66
+ }], readonly: [{
67
+ type: Input
68
+ }], valueFn: [{
69
+ type: Input
70
+ }], valueLimitFn: [{
71
+ type: Input
72
+ }], value: [{
73
+ type: Input
74
+ }] } });
136
75
 
137
76
  const CORE_OPTIONS = new InjectionToken('CORE_OPTIONS');
138
77
  function coreOptionsFactory(_a) {
@@ -148,9 +87,10 @@ function getLocaleDirection(locale) {
148
87
  }
149
88
  function createLocalizer(localization) {
150
89
  return (resourceName, key, defaultValue) => {
90
+ var _a;
151
91
  if (resourceName === '_')
152
92
  return key;
153
- const resource = snq(() => localization.values[resourceName]);
93
+ const resource = (_a = localization === null || localization === void 0 ? void 0 : localization.values) === null || _a === void 0 ? void 0 : _a[resourceName];
154
94
  if (!resource)
155
95
  return defaultValue;
156
96
  return resource[key] || defaultValue;
@@ -211,7 +151,6 @@ function interpolate(text, params) {
211
151
  }
212
152
 
213
153
  function noop() {
214
- // tslint:disable-next-line: only-arrow-functions
215
154
  const fn = function () { };
216
155
  return fn;
217
156
  }
@@ -309,7 +248,6 @@ class InternalStore {
309
248
  }
310
249
 
311
250
  const mapToApiUrl = (key) => (apis) => (apis[key] || apis.default).url || apis.default.url;
312
- const ɵ0$1 = mapToApiUrl;
313
251
  class EnvironmentService {
314
252
  constructor() {
315
253
  this.store = new InternalStore({});
@@ -333,26 +271,53 @@ class EnvironmentService {
333
271
  this.store.set(environment);
334
272
  }
335
273
  }
336
- EnvironmentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function EnvironmentService_Factory() { return new EnvironmentService(); }, token: EnvironmentService, providedIn: "root" });
337
- EnvironmentService.decorators = [
338
- { type: Injectable, args: [{ providedIn: 'root' },] }
339
- ];
274
+ EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
275
+ EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
276
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EnvironmentService, decorators: [{
277
+ type: Injectable,
278
+ args: [{ providedIn: 'root' }]
279
+ }] });
280
+
281
+ class HttpErrorReporterService {
282
+ constructor() {
283
+ this._reporter$ = new Subject();
284
+ this._errors$ = new BehaviorSubject([]);
285
+ this.reportError = (error) => {
286
+ this._reporter$.next(error);
287
+ this._errors$.next([...this.errors, error]);
288
+ };
289
+ }
290
+ get reporter$() {
291
+ return this._reporter$.asObservable();
292
+ }
293
+ get errors$() {
294
+ return this._errors$.asObservable();
295
+ }
296
+ get errors() {
297
+ return this._errors$.value;
298
+ }
299
+ }
300
+ HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
301
+ HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
302
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: HttpErrorReporterService, decorators: [{
303
+ type: Injectable,
304
+ args: [{ providedIn: 'root' }]
305
+ }] });
340
306
 
341
307
  class RestService {
342
- constructor(options, http, environment, store) {
308
+ constructor(options, http, environment, httpErrorReporter) {
343
309
  this.options = options;
344
310
  this.http = http;
345
311
  this.environment = environment;
346
- this.store = store;
312
+ this.httpErrorReporter = httpErrorReporter;
347
313
  }
348
314
  getApiFromStore(apiName) {
349
315
  return this.environment.getApiUrl(apiName);
350
316
  }
351
317
  handleError(err) {
352
- this.store.dispatch(new RestOccurError(err));
318
+ this.httpErrorReporter.reportError(err);
353
319
  return throwError(err);
354
320
  }
355
- // TODO: Deprecate service or improve interface in v5.0
356
321
  request(request, config, api) {
357
322
  config = config || {};
358
323
  api = api || this.getApiFromStore(config.apiName);
@@ -373,18 +338,17 @@ class RestService {
373
338
  .pipe(catchError(err => (skipHandleError ? throwError(err) : this.handleError(err))));
374
339
  }
375
340
  }
376
- RestService.ɵprov = i0.ɵɵdefineInjectable({ factory: function RestService_Factory() { return new RestService(i0.ɵɵinject(CORE_OPTIONS), i0.ɵɵinject(i2.HttpClient), i0.ɵɵinject(EnvironmentService), i0.ɵɵinject(i4.Store)); }, token: RestService, providedIn: "root" });
377
- RestService.decorators = [
378
- { type: Injectable, args: [{
379
- providedIn: 'root',
380
- },] }
381
- ];
382
- RestService.ctorParameters = () => [
383
- { type: undefined, decorators: [{ type: Inject, args: [CORE_OPTIONS,] }] },
384
- { type: HttpClient },
385
- { type: EnvironmentService },
386
- { type: Store }
387
- ];
341
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
342
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RestService, providedIn: 'root' });
343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RestService, decorators: [{
344
+ type: Injectable,
345
+ args: [{
346
+ providedIn: 'root',
347
+ }]
348
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
349
+ type: Inject,
350
+ args: [CORE_OPTIONS]
351
+ }] }, { type: i1.HttpClient }, { type: EnvironmentService }, { type: HttpErrorReporterService }]; } });
388
352
 
389
353
  class AbpApplicationConfigurationService {
390
354
  constructor(restService) {
@@ -398,15 +362,14 @@ class AbpApplicationConfigurationService {
398
362
  }, { apiName: this.apiName });
399
363
  }
400
364
  }
401
- AbpApplicationConfigurationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AbpApplicationConfigurationService_Factory() { return new AbpApplicationConfigurationService(i0.ɵɵinject(RestService)); }, token: AbpApplicationConfigurationService, providedIn: "root" });
402
- AbpApplicationConfigurationService.decorators = [
403
- { type: Injectable, args: [{
404
- providedIn: 'root',
405
- },] }
406
- ];
407
- AbpApplicationConfigurationService.ctorParameters = () => [
408
- { type: RestService }
409
- ];
365
+ AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
366
+ AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
368
+ type: Injectable,
369
+ args: [{
370
+ providedIn: 'root',
371
+ }]
372
+ }], ctorParameters: function () { return [{ type: RestService }]; } });
410
373
 
411
374
  class ConfigStateService {
412
375
  constructor(abpConfigService) {
@@ -421,14 +384,7 @@ class ConfigStateService {
421
384
  initUpdateStream() {
422
385
  this.updateSubject
423
386
  .pipe(switchMap(() => this.abpConfigService.get()))
424
- .subscribe(res => this.setState(res));
425
- }
426
- /**
427
- * @deprecated do not use this method directly, instead call refreshAppState
428
- * This method will be private in v5.0
429
- */
430
- setState(state) {
431
- this.store.set(state);
387
+ .subscribe(res => this.store.set(res));
432
388
  }
433
389
  refreshAppState() {
434
390
  this.updateSubject.next();
@@ -520,15 +476,14 @@ class ConfigStateService {
520
476
  }));
521
477
  }
522
478
  }
523
- ConfigStateService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ConfigStateService_Factory() { return new ConfigStateService(i0.ɵɵinject(AbpApplicationConfigurationService)); }, token: ConfigStateService, providedIn: "root" });
524
- ConfigStateService.decorators = [
525
- { type: Injectable, args: [{
526
- providedIn: 'root',
527
- },] }
528
- ];
529
- ConfigStateService.ctorParameters = () => [
530
- { type: AbpApplicationConfigurationService }
531
- ];
479
+ ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
480
+ ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
481
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfigStateService, decorators: [{
482
+ type: Injectable,
483
+ args: [{
484
+ providedIn: 'root',
485
+ }]
486
+ }], ctorParameters: function () { return [{ type: AbpApplicationConfigurationService }]; } });
532
487
  function splitKeys(keys) {
533
488
  if (typeof keys === 'string') {
534
489
  keys = keys.split('.');
@@ -599,15 +554,14 @@ class SessionStateService {
599
554
  document.documentElement.setAttribute('lang', language);
600
555
  }
601
556
  }
602
- SessionStateService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SessionStateService_Factory() { return new SessionStateService(i0.ɵɵinject(ConfigStateService)); }, token: SessionStateService, providedIn: "root" });
603
- SessionStateService.decorators = [
604
- { type: Injectable, args: [{
605
- providedIn: 'root',
606
- },] }
607
- ];
608
- SessionStateService.ctorParameters = () => [
609
- { type: ConfigStateService }
610
- ];
557
+ SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
558
+ SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SessionStateService, providedIn: 'root' });
559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SessionStateService, decorators: [{
560
+ type: Injectable,
561
+ args: [{
562
+ providedIn: 'root',
563
+ }]
564
+ }], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
611
565
 
612
566
  class LocalizationService {
613
567
  constructor(sessionState, injector, otherInstance, configState) {
@@ -682,16 +636,16 @@ class LocalizationService {
682
636
  return createLocalizerWithFallback(localization)(resourceNames, keys, defaultValue);
683
637
  }
684
638
  }
685
- LocalizationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LocalizationService_Factory() { return new LocalizationService(i0.ɵɵinject(SessionStateService), i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(LocalizationService, 12), i0.ɵɵinject(ConfigStateService)); }, token: LocalizationService, providedIn: "root" });
686
- LocalizationService.decorators = [
687
- { type: Injectable, args: [{ providedIn: 'root' },] }
688
- ];
689
- LocalizationService.ctorParameters = () => [
690
- { type: SessionStateService },
691
- { type: Injector },
692
- { type: LocalizationService, decorators: [{ type: Optional }, { type: SkipSelf }] },
693
- { type: ConfigStateService }
694
- ];
639
+ LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
640
+ LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationService, providedIn: 'root' });
641
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationService, decorators: [{
642
+ type: Injectable,
643
+ args: [{ providedIn: 'root' }]
644
+ }], ctorParameters: function () { return [{ type: SessionStateService }, { type: i0.Injector }, { type: LocalizationService, decorators: [{
645
+ type: Optional
646
+ }, {
647
+ type: SkipSelf
648
+ }] }, { type: ConfigStateService }]; } });
695
649
  function getLocalization(state, key, ...interpolateParams) {
696
650
  if (!key)
697
651
  key = '';
@@ -796,14 +750,12 @@ class ReplaceableComponentsService {
796
750
  return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
797
751
  }
798
752
  }
799
- ReplaceableComponentsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ReplaceableComponentsService_Factory() { return new ReplaceableComponentsService(i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i1.Router)); }, token: ReplaceableComponentsService, providedIn: "root" });
800
- ReplaceableComponentsService.decorators = [
801
- { type: Injectable, args: [{ providedIn: 'root' },] }
802
- ];
803
- ReplaceableComponentsService.ctorParameters = () => [
804
- { type: NgZone },
805
- { type: Router }
806
- ];
753
+ ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ReplaceableComponentsService, deps: [{ token: i0.NgZone }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
754
+ ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
756
+ type: Injectable,
757
+ args: [{ providedIn: 'root' }]
758
+ }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.Router }]; } });
807
759
 
808
760
  const NavigationEvent = {
809
761
  Cancel: NavigationCancel,
@@ -831,13 +783,12 @@ class RouterEvents {
831
783
  return this.getNavigationEvents(...keys);
832
784
  }
833
785
  }
834
- RouterEvents.ɵprov = i0.ɵɵdefineInjectable({ factory: function RouterEvents_Factory() { return new RouterEvents(i0.ɵɵinject(i1.Router)); }, token: RouterEvents, providedIn: "root" });
835
- RouterEvents.decorators = [
836
- { type: Injectable, args: [{ providedIn: 'root' },] }
837
- ];
838
- RouterEvents.ctorParameters = () => [
839
- { type: Router }
840
- ];
786
+ RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RouterEvents, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
787
+ RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RouterEvents, providedIn: 'root' });
788
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RouterEvents, decorators: [{
789
+ type: Injectable,
790
+ args: [{ providedIn: 'root' }]
791
+ }], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
841
792
 
842
793
  function pushValueTo(array) {
843
794
  return (element) => {
@@ -846,6 +797,7 @@ function pushValueTo(array) {
846
797
  };
847
798
  }
848
799
 
800
+ /* eslint-disable @typescript-eslint/ban-types */
849
801
  class BaseTreeNode {
850
802
  constructor(props) {
851
803
  this.children = [];
@@ -944,20 +896,21 @@ class PermissionService {
944
896
  return this.mapToPolicies(this.configState.getAll());
945
897
  }
946
898
  mapToPolicies(applicationConfiguration) {
947
- return snq(() => applicationConfiguration.auth.grantedPolicies, {});
899
+ var _a;
900
+ return ((_a = applicationConfiguration === null || applicationConfiguration === void 0 ? void 0 : applicationConfiguration.auth) === null || _a === void 0 ? void 0 : _a.grantedPolicies) || {};
948
901
  }
949
902
  getPolicy(key, grantedPolicies) {
950
- return snq(() => grantedPolicies[key], false);
903
+ return grantedPolicies[key] || false;
951
904
  }
952
905
  }
953
- PermissionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PermissionService_Factory() { return new PermissionService(i0.ɵɵinject(ConfigStateService)); }, token: PermissionService, providedIn: "root" });
954
- PermissionService.decorators = [
955
- { type: Injectable, args: [{ providedIn: 'root' },] }
956
- ];
957
- PermissionService.ctorParameters = () => [
958
- { type: ConfigStateService }
959
- ];
906
+ PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
907
+ PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PermissionService, providedIn: 'root' });
908
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PermissionService, decorators: [{
909
+ type: Injectable,
910
+ args: [{ providedIn: 'root' }]
911
+ }], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
960
912
 
913
+ // eslint-disable-next-line @typescript-eslint/ban-types
961
914
  class AbstractTreeService {
962
915
  constructor() {
963
916
  this._flat$ = new BehaviorSubject([]);
@@ -1083,24 +1036,19 @@ class AbstractNavTreeService extends AbstractTreeService {
1083
1036
  this.subscription.unsubscribe();
1084
1037
  }
1085
1038
  }
1086
- AbstractNavTreeService.decorators = [
1087
- { type: Injectable }
1088
- ];
1089
- AbstractNavTreeService.ctorParameters = () => [
1090
- { type: Injector }
1091
- ];
1039
+ AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1040
+ AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbstractNavTreeService });
1041
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbstractNavTreeService, decorators: [{
1042
+ type: Injectable
1043
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
1092
1044
  class RoutesService extends AbstractNavTreeService {
1093
1045
  }
1094
- RoutesService.ɵprov = i0.ɵɵdefineInjectable({ factory: function RoutesService_Factory() { return new RoutesService(i0.ɵɵinject(i0.INJECTOR)); }, token: RoutesService, providedIn: "root" });
1095
- RoutesService.decorators = [
1096
- { type: Injectable, args: [{ providedIn: 'root' },] }
1097
- ];
1098
- class SettingTabsService extends AbstractNavTreeService {
1099
- }
1100
- SettingTabsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SettingTabsService_Factory() { return new SettingTabsService(i0.ɵɵinject(i0.INJECTOR)); }, token: SettingTabsService, providedIn: "root" });
1101
- SettingTabsService.decorators = [
1102
- { type: Injectable, args: [{ providedIn: 'root' },] }
1103
- ];
1046
+ RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1047
+ RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RoutesService, providedIn: 'root' });
1048
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RoutesService, decorators: [{
1049
+ type: Injectable,
1050
+ args: [{ providedIn: 'root' }]
1051
+ }] });
1104
1052
 
1105
1053
  class SubscriptionService {
1106
1054
  constructor() {
@@ -1134,9 +1082,11 @@ class SubscriptionService {
1134
1082
  this.subscription = new Subscription();
1135
1083
  }
1136
1084
  }
1137
- SubscriptionService.decorators = [
1138
- { type: Injectable }
1139
- ];
1085
+ SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1086
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SubscriptionService });
1087
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SubscriptionService, decorators: [{
1088
+ type: Injectable
1089
+ }] });
1140
1090
 
1141
1091
  class DynamicLayoutComponent {
1142
1092
  constructor(injector, localizationService, replaceableComponents, subscription, routerEvents, dynamicLayoutComponent) {
@@ -1196,27 +1146,32 @@ class DynamicLayoutComponent {
1196
1146
  return this.replaceableComponents.get(key);
1197
1147
  }
1198
1148
  }
1199
- DynamicLayoutComponent.decorators = [
1200
- { type: Component, args: [{
1201
- selector: 'abp-dynamic-layout',
1202
- template: `
1149
+ DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DynamicLayoutComponent, deps: [{ token: i0.Injector }, { token: LocalizationService }, { token: ReplaceableComponentsService }, { token: SubscriptionService }, { token: RouterEvents }, { token: DynamicLayoutComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
1150
+ DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DynamicLayoutComponent, selector: "abp-dynamic-layout", providers: [SubscriptionService], ngImport: i0, template: `
1151
+ <ng-container *ngTemplateOutlet="layout ? componentOutlet : routerOutlet"></ng-container>
1152
+ <ng-template #routerOutlet><router-outlet></router-outlet></ng-template>
1153
+ <ng-template #componentOutlet
1154
+ ><ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container
1155
+ ></ng-template>
1156
+ `, isInline: true, directives: [{ type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
1157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
1158
+ type: Component,
1159
+ args: [{
1160
+ selector: 'abp-dynamic-layout',
1161
+ template: `
1203
1162
  <ng-container *ngTemplateOutlet="layout ? componentOutlet : routerOutlet"></ng-container>
1204
1163
  <ng-template #routerOutlet><router-outlet></router-outlet></ng-template>
1205
1164
  <ng-template #componentOutlet
1206
1165
  ><ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container
1207
1166
  ></ng-template>
1208
1167
  `,
1209
- providers: [SubscriptionService]
1210
- },] }
1211
- ];
1212
- DynamicLayoutComponent.ctorParameters = () => [
1213
- { type: Injector },
1214
- { type: LocalizationService },
1215
- { type: ReplaceableComponentsService },
1216
- { type: SubscriptionService },
1217
- { type: RouterEvents },
1218
- { type: DynamicLayoutComponent, decorators: [{ type: Optional }, { type: SkipSelf }] }
1219
- ];
1168
+ providers: [SubscriptionService],
1169
+ }]
1170
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: LocalizationService }, { type: ReplaceableComponentsService }, { type: SubscriptionService }, { type: RouterEvents }, { type: DynamicLayoutComponent, decorators: [{
1171
+ type: Optional
1172
+ }, {
1173
+ type: SkipSelf
1174
+ }] }]; } });
1220
1175
 
1221
1176
  class ReplaceableRouteContainerComponent {
1222
1177
  constructor(route, replaceableComponents, subscription) {
@@ -1226,8 +1181,7 @@ class ReplaceableRouteContainerComponent {
1226
1181
  }
1227
1182
  ngOnInit() {
1228
1183
  this.defaultComponent = this.route.snapshot.data.replaceableComponent.defaultComponent;
1229
- this.componentKey = this.route.snapshot.data
1230
- .replaceableComponent.key;
1184
+ this.componentKey = this.route.snapshot.data.replaceableComponent.key;
1231
1185
  const component$ = this.replaceableComponents
1232
1186
  .get$(this.componentKey)
1233
1187
  .pipe(distinctUntilChanged());
@@ -1236,31 +1190,32 @@ class ReplaceableRouteContainerComponent {
1236
1190
  });
1237
1191
  }
1238
1192
  }
1239
- ReplaceableRouteContainerComponent.decorators = [
1240
- { type: Component, args: [{
1241
- selector: 'abp-replaceable-route-container',
1242
- template: `
1193
+ ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
1194
+ ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
1195
+ <ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
1196
+ `, isInline: true, directives: [{ type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
1197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
1198
+ type: Component,
1199
+ args: [{
1200
+ selector: 'abp-replaceable-route-container',
1201
+ template: `
1243
1202
  <ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
1244
1203
  `,
1245
- providers: [SubscriptionService]
1246
- },] }
1247
- ];
1248
- ReplaceableRouteContainerComponent.ctorParameters = () => [
1249
- { type: ActivatedRoute },
1250
- { type: ReplaceableComponentsService },
1251
- { type: SubscriptionService }
1252
- ];
1204
+ providers: [SubscriptionService],
1205
+ }]
1206
+ }], ctorParameters: function () { return [{ type: i1$1.ActivatedRoute }, { type: ReplaceableComponentsService }, { type: SubscriptionService }]; } });
1253
1207
 
1254
1208
  class RouterOutletComponent {
1255
1209
  }
1256
- RouterOutletComponent.decorators = [
1257
- { type: Component, args: [{
1258
- selector: 'abp-router-outlet',
1259
- template: `
1260
- <router-outlet></router-outlet>
1261
- `
1262
- },] }
1263
- ];
1210
+ RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1211
+ RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RouterOutletComponent, selector: "abp-router-outlet", ngImport: i0, template: ` <router-outlet></router-outlet> `, isInline: true, directives: [{ type: i1$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }] });
1212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RouterOutletComponent, decorators: [{
1213
+ type: Component,
1214
+ args: [{
1215
+ selector: 'abp-router-outlet',
1216
+ template: ` <router-outlet></router-outlet> `,
1217
+ }]
1218
+ }] });
1264
1219
 
1265
1220
  // Different locales from .NET
1266
1221
  // Key is .NET locale, value is Angular locale
@@ -1608,18 +1563,18 @@ class AutofocusDirective {
1608
1563
  setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
1609
1564
  }
1610
1565
  }
1611
- AutofocusDirective.decorators = [
1612
- { type: Directive, args: [{
1613
- // tslint:disable-next-line: directive-selector
1614
- selector: '[autofocus]'
1615
- },] }
1616
- ];
1617
- AutofocusDirective.ctorParameters = () => [
1618
- { type: ElementRef }
1619
- ];
1620
- AutofocusDirective.propDecorators = {
1621
- delay: [{ type: Input, args: ['autofocus',] }]
1622
- };
1566
+ AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1567
+ AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
1568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AutofocusDirective, decorators: [{
1569
+ type: Directive,
1570
+ args: [{
1571
+ // eslint-disable-next-line @angular-eslint/directive-selector
1572
+ selector: '[autofocus]',
1573
+ }]
1574
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { delay: [{
1575
+ type: Input,
1576
+ args: ['autofocus']
1577
+ }] } });
1623
1578
 
1624
1579
  class InputEventDebounceDirective {
1625
1580
  constructor(el, subscription) {
@@ -1635,21 +1590,21 @@ class InputEventDebounceDirective {
1635
1590
  });
1636
1591
  }
1637
1592
  }
1638
- InputEventDebounceDirective.decorators = [
1639
- { type: Directive, args: [{
1640
- // tslint:disable-next-line: directive-selector
1641
- selector: '[input.debounce]',
1642
- providers: [SubscriptionService],
1643
- },] }
1644
- ];
1645
- InputEventDebounceDirective.ctorParameters = () => [
1646
- { type: ElementRef },
1647
- { type: SubscriptionService }
1648
- ];
1649
- InputEventDebounceDirective.propDecorators = {
1650
- debounce: [{ type: Input }],
1651
- debounceEvent: [{ type: Output, args: ['input.debounce',] }]
1652
- };
1593
+ InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1594
+ InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: InputEventDebounceDirective, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 });
1595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
1596
+ type: Directive,
1597
+ args: [{
1598
+ // eslint-disable-next-line @angular-eslint/directive-selector
1599
+ selector: '[input.debounce]',
1600
+ providers: [SubscriptionService],
1601
+ }]
1602
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: SubscriptionService }]; }, propDecorators: { debounce: [{
1603
+ type: Input
1604
+ }], debounceEvent: [{
1605
+ type: Output,
1606
+ args: ['input.debounce']
1607
+ }] } });
1653
1608
 
1654
1609
  class AbpForContext {
1655
1610
  constructor($implicit, index, count, list) {
@@ -1712,7 +1667,6 @@ class ForDirective {
1712
1667
  projectItems(items) {
1713
1668
  if (!items.length && this.emptyRef) {
1714
1669
  this.vcRef.clear();
1715
- // tslint:disable-next-line: no-unused-expression
1716
1670
  this.vcRef.createEmbeddedView(this.emptyRef).rootNodes;
1717
1671
  this.isShowEmptyRef = true;
1718
1672
  this.differ = null;
@@ -1735,7 +1689,7 @@ class ForDirective {
1735
1689
  }
1736
1690
  sortItems(items) {
1737
1691
  if (this.orderBy) {
1738
- items.sort((a, b) => (a[this.orderBy] > b[this.orderBy] ? 1 : a[this.orderBy] < b[this.orderBy] ? -1 : 0));
1692
+ items.sort((a, b) => a[this.orderBy] > b[this.orderBy] ? 1 : a[this.orderBy] < b[this.orderBy] ? -1 : 0);
1739
1693
  }
1740
1694
  else {
1741
1695
  items.sort();
@@ -1746,7 +1700,9 @@ class ForDirective {
1746
1700
  if (!Array.isArray(items))
1747
1701
  return;
1748
1702
  const compareFn = this.compareFn;
1749
- if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') {
1703
+ if (typeof this.filterBy !== 'undefined' &&
1704
+ typeof this.filterVal !== 'undefined' &&
1705
+ this.filterVal !== '') {
1750
1706
  items = items.filter(item => compareFn(item[this.filterBy], this.filterVal));
1751
1707
  }
1752
1708
  switch (this.orderDir) {
@@ -1764,26 +1720,38 @@ class ForDirective {
1764
1720
  }
1765
1721
  }
1766
1722
  }
1767
- ForDirective.decorators = [
1768
- { type: Directive, args: [{
1769
- selector: '[abpFor]',
1770
- },] }
1771
- ];
1772
- ForDirective.ctorParameters = () => [
1773
- { type: TemplateRef },
1774
- { type: ViewContainerRef },
1775
- { type: IterableDiffers }
1776
- ];
1777
- ForDirective.propDecorators = {
1778
- items: [{ type: Input, args: ['abpForOf',] }],
1779
- orderBy: [{ type: Input, args: ['abpForOrderBy',] }],
1780
- orderDir: [{ type: Input, args: ['abpForOrderDir',] }],
1781
- filterBy: [{ type: Input, args: ['abpForFilterBy',] }],
1782
- filterVal: [{ type: Input, args: ['abpForFilterVal',] }],
1783
- trackBy: [{ type: Input, args: ['abpForTrackBy',] }],
1784
- compareBy: [{ type: Input, args: ['abpForCompareBy',] }],
1785
- emptyRef: [{ type: Input, args: ['abpForEmptyRef',] }]
1786
- };
1723
+ ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
1724
+ ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: ForDirective, selector: "[abpFor]", inputs: { items: ["abpForOf", "items"], orderBy: ["abpForOrderBy", "orderBy"], orderDir: ["abpForOrderDir", "orderDir"], filterBy: ["abpForFilterBy", "filterBy"], filterVal: ["abpForFilterVal", "filterVal"], trackBy: ["abpForTrackBy", "trackBy"], compareBy: ["abpForCompareBy", "compareBy"], emptyRef: ["abpForEmptyRef", "emptyRef"] }, usesOnChanges: true, ngImport: i0 });
1725
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ForDirective, decorators: [{
1726
+ type: Directive,
1727
+ args: [{
1728
+ selector: '[abpFor]',
1729
+ }]
1730
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.IterableDiffers }]; }, propDecorators: { items: [{
1731
+ type: Input,
1732
+ args: ['abpForOf']
1733
+ }], orderBy: [{
1734
+ type: Input,
1735
+ args: ['abpForOrderBy']
1736
+ }], orderDir: [{
1737
+ type: Input,
1738
+ args: ['abpForOrderDir']
1739
+ }], filterBy: [{
1740
+ type: Input,
1741
+ args: ['abpForFilterBy']
1742
+ }], filterVal: [{
1743
+ type: Input,
1744
+ args: ['abpForFilterVal']
1745
+ }], trackBy: [{
1746
+ type: Input,
1747
+ args: ['abpForTrackBy']
1748
+ }], compareBy: [{
1749
+ type: Input,
1750
+ args: ['abpForCompareBy']
1751
+ }], emptyRef: [{
1752
+ type: Input,
1753
+ args: ['abpForEmptyRef']
1754
+ }] } });
1787
1755
 
1788
1756
  class FormSubmitDirective {
1789
1757
  constructor(formGroupDirective, host, cdRef, subscription) {
@@ -1815,24 +1783,24 @@ class FormSubmitDirective {
1815
1783
  this.cdRef.detectChanges();
1816
1784
  }
1817
1785
  }
1818
- FormSubmitDirective.decorators = [
1819
- { type: Directive, args: [{
1820
- // tslint:disable-next-line: directive-selector
1821
- selector: 'form[ngSubmit][formGroup]',
1822
- providers: [SubscriptionService],
1823
- },] }
1824
- ];
1825
- FormSubmitDirective.ctorParameters = () => [
1826
- { type: FormGroupDirective, decorators: [{ type: Self }] },
1827
- { type: ElementRef },
1828
- { type: ChangeDetectorRef },
1829
- { type: SubscriptionService }
1830
- ];
1831
- FormSubmitDirective.propDecorators = {
1832
- debounce: [{ type: Input }],
1833
- notValidateOnSubmit: [{ type: Input }],
1834
- ngSubmit: [{ type: Output }]
1835
- };
1786
+ FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$2.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1787
+ FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 });
1788
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormSubmitDirective, decorators: [{
1789
+ type: Directive,
1790
+ args: [{
1791
+ // eslint-disable-next-line @angular-eslint/directive-selector
1792
+ selector: 'form[ngSubmit][formGroup]',
1793
+ providers: [SubscriptionService],
1794
+ }]
1795
+ }], ctorParameters: function () { return [{ type: i1$2.FormGroupDirective, decorators: [{
1796
+ type: Self
1797
+ }] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: SubscriptionService }]; }, propDecorators: { debounce: [{
1798
+ type: Input
1799
+ }], notValidateOnSubmit: [{
1800
+ type: Input
1801
+ }], ngSubmit: [{
1802
+ type: Output
1803
+ }] } });
1836
1804
  function setDirty(controls) {
1837
1805
  if (Array.isArray(controls)) {
1838
1806
  controls.forEach(group => {
@@ -1855,15 +1823,15 @@ class InitDirective {
1855
1823
  this.init.emit(this.elRef);
1856
1824
  }
1857
1825
  }
1858
- InitDirective.decorators = [
1859
- { type: Directive, args: [{ selector: '[abpInit]' },] }
1860
- ];
1861
- InitDirective.ctorParameters = () => [
1862
- { type: ElementRef }
1863
- ];
1864
- InitDirective.propDecorators = {
1865
- init: [{ type: Output, args: ['abpInit',] }]
1866
- };
1826
+ InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1827
+ InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
1828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: InitDirective, decorators: [{
1829
+ type: Directive,
1830
+ args: [{ selector: '[abpInit]' }]
1831
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { init: [{
1832
+ type: Output,
1833
+ args: ['abpInit']
1834
+ }] } });
1867
1835
 
1868
1836
  class PermissionDirective {
1869
1837
  constructor(elRef, renderer, templateRef, vcRef, permissionService, cdRef) {
@@ -1882,26 +1850,12 @@ class PermissionDirective {
1882
1850
  .getGrantedPolicy$(this.condition)
1883
1851
  .pipe(distinctUntilChanged())
1884
1852
  .subscribe(isGranted => {
1885
- if (this.templateRef)
1886
- this.initStructural(isGranted);
1887
- else
1888
- this.initAttribute(isGranted);
1853
+ this.vcRef.clear();
1854
+ if (isGranted)
1855
+ this.vcRef.createEmbeddedView(this.templateRef);
1889
1856
  this.cdRef.detectChanges();
1890
1857
  });
1891
1858
  }
1892
- initStructural(isGranted) {
1893
- this.vcRef.clear();
1894
- if (isGranted)
1895
- this.vcRef.createEmbeddedView(this.templateRef);
1896
- }
1897
- /**
1898
- * @deprecated Will be deleted in v5.0
1899
- */
1900
- initAttribute(isGranted) {
1901
- if (!isGranted) {
1902
- this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement);
1903
- }
1904
- }
1905
1859
  ngOnDestroy() {
1906
1860
  if (this.subscription)
1907
1861
  this.subscription.unsubscribe();
@@ -1910,22 +1864,19 @@ class PermissionDirective {
1910
1864
  this.check();
1911
1865
  }
1912
1866
  }
1913
- PermissionDirective.decorators = [
1914
- { type: Directive, args: [{
1915
- selector: '[abpPermission]',
1916
- },] }
1917
- ];
1918
- PermissionDirective.ctorParameters = () => [
1919
- { type: ElementRef },
1920
- { type: Renderer2 },
1921
- { type: TemplateRef, decorators: [{ type: Optional }] },
1922
- { type: ViewContainerRef },
1923
- { type: PermissionService },
1924
- { type: ChangeDetectorRef }
1925
- ];
1926
- PermissionDirective.propDecorators = {
1927
- condition: [{ type: Input, args: ['abpPermission',] }]
1928
- };
1867
+ PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PermissionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: PermissionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
1868
+ PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"] }, usesOnChanges: true, ngImport: i0 });
1869
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PermissionDirective, decorators: [{
1870
+ type: Directive,
1871
+ args: [{
1872
+ selector: '[abpPermission]',
1873
+ }]
1874
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.TemplateRef, decorators: [{
1875
+ type: Optional
1876
+ }] }, { type: i0.ViewContainerRef }, { type: PermissionService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { condition: [{
1877
+ type: Input,
1878
+ args: ['abpPermission']
1879
+ }] } });
1929
1880
 
1930
1881
  class ReplaceableTemplateDirective {
1931
1882
  constructor(injector, templateRef, cfRes, vcRef, replaceableComponents, subscription) {
@@ -1935,7 +1886,10 @@ class ReplaceableTemplateDirective {
1935
1886
  this.vcRef = vcRef;
1936
1887
  this.replaceableComponents = replaceableComponents;
1937
1888
  this.subscription = subscription;
1938
- this.providedData = { inputs: {}, outputs: {} };
1889
+ this.providedData = {
1890
+ inputs: {},
1891
+ outputs: {},
1892
+ };
1939
1893
  this.context = {};
1940
1894
  this.defaultComponentSubscriptions = {};
1941
1895
  this.initialized = false;
@@ -1972,7 +1926,8 @@ class ReplaceableTemplateDirective {
1972
1926
  });
1973
1927
  }
1974
1928
  ngOnChanges(changes) {
1975
- if (snq(() => changes.data.currentValue.inputs) && this.defaultComponentRef) {
1929
+ var _a, _b;
1930
+ if (((_b = (_a = changes === null || changes === void 0 ? void 0 : changes.data) === null || _a === void 0 ? void 0 : _a.currentValue) === null || _b === void 0 ? void 0 : _b.inputs) && this.defaultComponentRef) {
1976
1931
  this.setDefaultComponentInputs();
1977
1932
  }
1978
1933
  }
@@ -1981,7 +1936,7 @@ class ReplaceableTemplateDirective {
1981
1936
  return;
1982
1937
  if (this.data.inputs) {
1983
1938
  for (const key in this.data.inputs) {
1984
- if (this.data.inputs.hasOwnProperty(key)) {
1939
+ if (Object.prototype.hasOwnProperty.call(this.data.inputs, key)) {
1985
1940
  if (!compare(this.defaultComponentRef[key], this.data.inputs[key].value)) {
1986
1941
  this.defaultComponentRef[key] = this.data.inputs[key].value;
1987
1942
  }
@@ -1990,7 +1945,7 @@ class ReplaceableTemplateDirective {
1990
1945
  }
1991
1946
  if (this.data.outputs) {
1992
1947
  for (const key in this.data.outputs) {
1993
- if (this.data.outputs.hasOwnProperty(key)) {
1948
+ if (Object.prototype.hasOwnProperty.call(this.data.outputs, key)) {
1994
1949
  if (!this.defaultComponentSubscriptions[key]) {
1995
1950
  this.defaultComponentSubscriptions[key] = this.defaultComponentRef[key].subscribe(value => {
1996
1951
  this.data.outputs[key](value);
@@ -2019,20 +1974,18 @@ class ReplaceableTemplateDirective {
2019
1974
  this.defaultComponentRef = null;
2020
1975
  }
2021
1976
  }
2022
- ReplaceableTemplateDirective.decorators = [
2023
- { type: Directive, args: [{ selector: '[abpReplaceableTemplate]', providers: [SubscriptionService] },] }
2024
- ];
2025
- ReplaceableTemplateDirective.ctorParameters = () => [
2026
- { type: Injector },
2027
- { type: TemplateRef },
2028
- { type: ComponentFactoryResolver },
2029
- { type: ViewContainerRef },
2030
- { type: ReplaceableComponentsService },
2031
- { type: SubscriptionService }
2032
- ];
2033
- ReplaceableTemplateDirective.propDecorators = {
2034
- data: [{ type: Input, args: ['abpReplaceableTemplate',] }]
2035
- };
1977
+ ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ReplaceableTemplateDirective, deps: [{ token: i0.Injector }, { token: i0.TemplateRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1978
+ ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 });
1979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
1980
+ type: Directive,
1981
+ args: [{
1982
+ selector: '[abpReplaceableTemplate]',
1983
+ providers: [SubscriptionService],
1984
+ }]
1985
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.TemplateRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: ReplaceableComponentsService }, { type: SubscriptionService }]; }, propDecorators: { data: [{
1986
+ type: Input,
1987
+ args: ['abpReplaceableTemplate']
1988
+ }] } });
2036
1989
 
2037
1990
  class StopPropagationDirective {
2038
1991
  constructor(el, subscription) {
@@ -2047,79 +2000,19 @@ class StopPropagationDirective {
2047
2000
  });
2048
2001
  }
2049
2002
  }
2050
- StopPropagationDirective.decorators = [
2051
- { type: Directive, args: [{
2052
- // tslint:disable-next-line: directive-selector
2053
- selector: '[click.stop]',
2054
- providers: [SubscriptionService],
2055
- },] }
2056
- ];
2057
- StopPropagationDirective.ctorParameters = () => [
2058
- { type: ElementRef },
2059
- { type: SubscriptionService }
2060
- ];
2061
- StopPropagationDirective.propDecorators = {
2062
- stopPropEvent: [{ type: Output, args: ['click.stop',] }]
2063
- };
2064
-
2065
- /**
2066
- *
2067
- * @deprecated To be deleted in v5.0
2068
- */
2069
- class VisibilityDirective {
2070
- constructor(elRef, renderer) {
2071
- this.elRef = elRef;
2072
- this.renderer = renderer;
2073
- this.completed$ = new Subject();
2074
- }
2075
- ngAfterViewInit() {
2076
- if (!this.focusedElement && this.elRef) {
2077
- this.focusedElement = this.elRef.nativeElement;
2078
- }
2079
- let observer;
2080
- observer = new MutationObserver(mutations => {
2081
- mutations.forEach(mutation => {
2082
- if (!mutation.target)
2083
- return;
2084
- const htmlNodes = snq(() => Array.from(mutation.target.childNodes).filter(node => node instanceof HTMLElement), []);
2085
- if (!htmlNodes.length) {
2086
- this.removeFromDOM();
2087
- }
2088
- });
2089
- });
2090
- observer.observe(this.focusedElement, {
2091
- childList: true,
2092
- });
2093
- setTimeout(() => {
2094
- const htmlNodes = snq(() => Array.from(this.focusedElement.childNodes).filter(node => node instanceof HTMLElement), []);
2095
- if (!htmlNodes.length)
2096
- this.removeFromDOM();
2097
- }, 0);
2098
- this.completed$.subscribe(() => observer.disconnect());
2099
- }
2100
- disconnect() {
2101
- this.completed$.next();
2102
- this.completed$.complete();
2103
- }
2104
- removeFromDOM() {
2105
- if (!this.elRef.nativeElement)
2106
- return;
2107
- this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement);
2108
- this.disconnect();
2109
- }
2110
- }
2111
- VisibilityDirective.decorators = [
2112
- { type: Directive, args: [{
2113
- selector: '[abpVisibility]',
2114
- },] }
2115
- ];
2116
- VisibilityDirective.ctorParameters = () => [
2117
- { type: ElementRef, decorators: [{ type: Optional }] },
2118
- { type: Renderer2 }
2119
- ];
2120
- VisibilityDirective.propDecorators = {
2121
- focusedElement: [{ type: Input, args: ['abpVisibility',] }]
2122
- };
2003
+ StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
2004
+ StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: StopPropagationDirective, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 });
2005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StopPropagationDirective, decorators: [{
2006
+ type: Directive,
2007
+ args: [{
2008
+ // eslint-disable-next-line @angular-eslint/directive-selector
2009
+ selector: '[click.stop]',
2010
+ providers: [SubscriptionService],
2011
+ }]
2012
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: SubscriptionService }]; }, propDecorators: { stopPropEvent: [{
2013
+ type: Output,
2014
+ args: ['click.stop']
2015
+ }] } });
2123
2016
 
2124
2017
  class OAuthConfigurationHandler {
2125
2018
  constructor(oAuthService, environmentService, options) {
@@ -2137,17 +2030,17 @@ class OAuthConfigurationHandler {
2137
2030
  });
2138
2031
  }
2139
2032
  }
2140
- OAuthConfigurationHandler.ɵprov = i0.ɵɵdefineInjectable({ factory: function OAuthConfigurationHandler_Factory() { return new OAuthConfigurationHandler(i0.ɵɵinject(i1$1.OAuthService), i0.ɵɵinject(EnvironmentService), i0.ɵɵinject(CORE_OPTIONS)); }, token: OAuthConfigurationHandler, providedIn: "root" });
2141
- OAuthConfigurationHandler.decorators = [
2142
- { type: Injectable, args: [{
2143
- providedIn: 'root',
2144
- },] }
2145
- ];
2146
- OAuthConfigurationHandler.ctorParameters = () => [
2147
- { type: OAuthService },
2148
- { type: EnvironmentService },
2149
- { type: undefined, decorators: [{ type: Inject, args: [CORE_OPTIONS,] }] }
2150
- ];
2033
+ OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: OAuthConfigurationHandler, deps: [{ token: i1$3.OAuthService }, { token: EnvironmentService }, { token: CORE_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable });
2034
+ OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: OAuthConfigurationHandler, providedIn: 'root' });
2035
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: OAuthConfigurationHandler, decorators: [{
2036
+ type: Injectable,
2037
+ args: [{
2038
+ providedIn: 'root',
2039
+ }]
2040
+ }], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: EnvironmentService }, { type: undefined, decorators: [{
2041
+ type: Inject,
2042
+ args: [CORE_OPTIONS]
2043
+ }] }]; } });
2151
2044
 
2152
2045
  class RoutesHandler {
2153
2046
  constructor(routes, router) {
@@ -2169,16 +2062,16 @@ class RoutesHandler {
2169
2062
  });
2170
2063
  }
2171
2064
  }
2172
- RoutesHandler.ɵprov = i0.ɵɵdefineInjectable({ factory: function RoutesHandler_Factory() { return new RoutesHandler(i0.ɵɵinject(RoutesService), i0.ɵɵinject(i1.Router, 8)); }, token: RoutesHandler, providedIn: "root" });
2173
- RoutesHandler.decorators = [
2174
- { type: Injectable, args: [{
2175
- providedIn: 'root',
2176
- },] }
2177
- ];
2178
- RoutesHandler.ctorParameters = () => [
2179
- { type: RoutesService },
2180
- { type: Router, decorators: [{ type: Optional }] }
2181
- ];
2065
+ RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2066
+ RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
2067
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RoutesHandler, decorators: [{
2068
+ type: Injectable,
2069
+ args: [{
2070
+ providedIn: 'root',
2071
+ }]
2072
+ }], ctorParameters: function () { return [{ type: RoutesService }, { type: i1$1.Router, decorators: [{
2073
+ type: Optional
2074
+ }] }]; } });
2182
2075
  function flatRoutes(routes, parent) {
2183
2076
  if (!routes)
2184
2077
  return [];
@@ -2266,15 +2159,14 @@ class HttpWaitService {
2266
2159
  return endpoint === request.endpoint && method === request.method;
2267
2160
  }
2268
2161
  }
2269
- HttpWaitService.ɵprov = i0.ɵɵdefineInjectable({ factory: function HttpWaitService_Factory() { return new HttpWaitService(i0.ɵɵinject(i0.INJECTOR)); }, token: HttpWaitService, providedIn: "root" });
2270
- HttpWaitService.decorators = [
2271
- { type: Injectable, args: [{
2272
- providedIn: 'root',
2273
- },] }
2274
- ];
2275
- HttpWaitService.ctorParameters = () => [
2276
- { type: Injector }
2277
- ];
2162
+ HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2163
+ HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
2164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: HttpWaitService, decorators: [{
2165
+ type: Injectable,
2166
+ args: [{
2167
+ providedIn: 'root',
2168
+ }]
2169
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
2278
2170
 
2279
2171
  const TENANT_KEY = new InjectionToken('TENANT_KEY');
2280
2172
 
@@ -2310,18 +2202,17 @@ class ApiInterceptor {
2310
2202
  return headers;
2311
2203
  }
2312
2204
  }
2313
- ApiInterceptor.ɵprov = i0.ɵɵdefineInjectable({ factory: function ApiInterceptor_Factory() { return new ApiInterceptor(i0.ɵɵinject(i1$1.OAuthService), i0.ɵɵinject(SessionStateService), i0.ɵɵinject(HttpWaitService), i0.ɵɵinject(TENANT_KEY)); }, token: ApiInterceptor, providedIn: "root" });
2314
- ApiInterceptor.decorators = [
2315
- { type: Injectable, args: [{
2316
- providedIn: 'root',
2317
- },] }
2318
- ];
2319
- ApiInterceptor.ctorParameters = () => [
2320
- { type: OAuthService },
2321
- { type: SessionStateService },
2322
- { type: HttpWaitService },
2323
- { type: String, decorators: [{ type: Inject, args: [TENANT_KEY,] }] }
2324
- ];
2205
+ ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ApiInterceptor, deps: [{ token: i1$3.OAuthService }, { token: SessionStateService }, { token: HttpWaitService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2206
+ ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
2207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ApiInterceptor, decorators: [{
2208
+ type: Injectable,
2209
+ args: [{
2210
+ providedIn: 'root',
2211
+ }]
2212
+ }], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: SessionStateService }, { type: HttpWaitService }, { type: undefined, decorators: [{
2213
+ type: Inject,
2214
+ args: [TENANT_KEY]
2215
+ }] }]; } });
2325
2216
 
2326
2217
  class LocalizationPipe {
2327
2218
  constructor(localization) {
@@ -2331,24 +2222,30 @@ class LocalizationPipe {
2331
2222
  return this.localization.instant(value, ...interpolateParams.reduce((acc, val) => (Array.isArray(val) ? [...acc, ...val] : [...acc, val]), []));
2332
2223
  }
2333
2224
  }
2334
- LocalizationPipe.decorators = [
2335
- { type: Injectable },
2336
- { type: Pipe, args: [{
2337
- name: 'abpLocalization',
2338
- },] }
2339
- ];
2340
- LocalizationPipe.ctorParameters = () => [
2341
- { type: LocalizationService }
2342
- ];
2225
+ LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
2226
+ LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
2227
+ LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationPipe });
2228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationPipe, decorators: [{
2229
+ type: Injectable
2230
+ }, {
2231
+ type: Pipe,
2232
+ args: [{
2233
+ name: 'abpLocalization',
2234
+ }]
2235
+ }], ctorParameters: function () { return [{ type: LocalizationService }]; } });
2343
2236
 
2344
2237
  class LocalizationModule {
2345
2238
  }
2346
- LocalizationModule.decorators = [
2347
- { type: NgModule, args: [{
2348
- exports: [LocalizationPipe],
2349
- declarations: [LocalizationPipe],
2350
- },] }
2351
- ];
2239
+ LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2240
+ LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
2241
+ LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationModule });
2242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LocalizationModule, decorators: [{
2243
+ type: NgModule,
2244
+ args: [{
2245
+ exports: [LocalizationPipe],
2246
+ declarations: [LocalizationPipe],
2247
+ }]
2248
+ }] });
2352
2249
 
2353
2250
  class SortPipe {
2354
2251
  transform(value, sortOrder = 'asc', sortKey) {
@@ -2385,12 +2282,39 @@ class SortPipe {
2385
2282
  return sortOrder === 'asc' ? sorted : sorted.reverse();
2386
2283
  }
2387
2284
  }
2388
- SortPipe.decorators = [
2389
- { type: Injectable },
2390
- { type: Pipe, args: [{
2391
- name: 'abpSort',
2392
- },] }
2393
- ];
2285
+ SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2286
+ SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SortPipe, name: "abpSort" });
2287
+ SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SortPipe });
2288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: SortPipe, decorators: [{
2289
+ type: Injectable
2290
+ }, {
2291
+ type: Pipe,
2292
+ args: [{
2293
+ name: 'abpSort',
2294
+ }]
2295
+ }] });
2296
+
2297
+ const COOKIE_LANGUAGE_KEY = new InjectionToken('COOKIE_LANGUAGE_KEY', {
2298
+ factory: () => '.AspNetCore.Culture',
2299
+ });
2300
+
2301
+ function setLanguageToCookie(injector) {
2302
+ return () => {
2303
+ const sessionState = injector.get(SessionStateService);
2304
+ const document = injector.get(DOCUMENT);
2305
+ const cookieLanguageKey = injector.get(COOKIE_LANGUAGE_KEY);
2306
+ sessionState.getLanguage$().subscribe(language => {
2307
+ const cookieValue = encodeURIComponent(`c=${language}|uic=${language}`);
2308
+ document.cookie = `${cookieLanguageKey}=${cookieValue}`;
2309
+ });
2310
+ };
2311
+ }
2312
+ const CookieLanguageProvider = {
2313
+ provide: APP_INITIALIZER,
2314
+ useFactory: setLanguageToCookie,
2315
+ deps: [Injector],
2316
+ multi: true,
2317
+ };
2394
2318
 
2395
2319
  class LocaleId extends String {
2396
2320
  constructor(localizationService) {
@@ -2411,96 +2335,6 @@ const LocaleProvider = {
2411
2335
  deps: [LocalizationService],
2412
2336
  };
2413
2337
 
2414
- class ProfileService {
2415
- constructor(rest) {
2416
- this.rest = rest;
2417
- this.apiName = 'AbpIdentity';
2418
- }
2419
- get() {
2420
- const request = {
2421
- method: 'GET',
2422
- url: '/api/identity/my-profile',
2423
- };
2424
- return this.rest.request(request, { apiName: this.apiName });
2425
- }
2426
- update(body) {
2427
- const request = {
2428
- method: 'PUT',
2429
- url: '/api/identity/my-profile',
2430
- body,
2431
- };
2432
- return this.rest.request(request, {
2433
- apiName: this.apiName,
2434
- });
2435
- }
2436
- changePassword(body, skipHandleError = false) {
2437
- const request = {
2438
- method: 'POST',
2439
- url: '/api/identity/my-profile/change-password',
2440
- body,
2441
- };
2442
- return this.rest.request(request, {
2443
- skipHandleError,
2444
- apiName: this.apiName,
2445
- });
2446
- }
2447
- }
2448
- ProfileService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(i0.ɵɵinject(RestService)); }, token: ProfileService, providedIn: "root" });
2449
- ProfileService.decorators = [
2450
- { type: Injectable, args: [{
2451
- providedIn: 'root',
2452
- },] }
2453
- ];
2454
- ProfileService.ctorParameters = () => [
2455
- { type: RestService }
2456
- ];
2457
-
2458
- let ProfileState = class ProfileState {
2459
- constructor(profileService) {
2460
- this.profileService = profileService;
2461
- }
2462
- static getProfile({ profile }) {
2463
- return profile;
2464
- }
2465
- getProfile({ patchState }) {
2466
- return this.profileService.get().pipe(tap(profile => patchState({
2467
- profile,
2468
- })));
2469
- }
2470
- updateProfile({ patchState }, { payload }) {
2471
- return this.profileService.update(payload).pipe(tap(profile => patchState({
2472
- profile,
2473
- })));
2474
- }
2475
- changePassword(_, { payload }) {
2476
- return this.profileService.changePassword(payload, true);
2477
- }
2478
- };
2479
- ProfileState.decorators = [
2480
- { type: Injectable }
2481
- ];
2482
- ProfileState.ctorParameters = () => [
2483
- { type: ProfileService }
2484
- ];
2485
- __decorate([
2486
- Action(GetProfile)
2487
- ], ProfileState.prototype, "getProfile", null);
2488
- __decorate([
2489
- Action(UpdateProfile)
2490
- ], ProfileState.prototype, "updateProfile", null);
2491
- __decorate([
2492
- Action(ChangePassword)
2493
- ], ProfileState.prototype, "changePassword", null);
2494
- __decorate([
2495
- Selector()
2496
- ], ProfileState, "getProfile", null);
2497
- ProfileState = __decorate([
2498
- State({
2499
- name: 'ProfileState',
2500
- defaults: {},
2501
- })
2502
- ], ProfileState);
2503
-
2504
2338
  const cookieKey = 'rememberMe';
2505
2339
  const storageKey = 'passwordFlow';
2506
2340
  function pipeToLogin(params, injector) {
@@ -2542,8 +2376,11 @@ const oAuthStorage = localStorage;
2542
2376
  class AuthFlowStrategy {
2543
2377
  constructor(injector) {
2544
2378
  this.injector = injector;
2545
- this.catchError = err => this.store.dispatch(new RestOccurError(err));
2546
- this.store = injector.get(Store);
2379
+ this.catchError = err => {
2380
+ this.httpErrorReporter.reportError(err);
2381
+ return of(null);
2382
+ };
2383
+ this.httpErrorReporter = injector.get(HttpErrorReporterService);
2547
2384
  this.environment = injector.get(EnvironmentService);
2548
2385
  this.configState = injector.get(ConfigStateService);
2549
2386
  this.oAuthService = injector.get(OAuthService);
@@ -2750,12 +2587,6 @@ class AuthService {
2750
2587
  logout(queryParams) {
2751
2588
  return this.strategy.logout(queryParams);
2752
2589
  }
2753
- /**
2754
- * @deprecated Use navigateToLogin method instead. To be deleted in v5.0
2755
- */
2756
- initLogin() {
2757
- this.strategy.navigateToLogin();
2758
- }
2759
2590
  navigateToLogin(queryParams) {
2760
2591
  this.strategy.navigateToLogin(queryParams);
2761
2592
  }
@@ -2763,15 +2594,14 @@ class AuthService {
2763
2594
  return this.strategy.login(params);
2764
2595
  }
2765
2596
  }
2766
- AuthService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AuthService_Factory() { return new AuthService(i0.ɵɵinject(i0.INJECTOR)); }, token: AuthService, providedIn: "root" });
2767
- AuthService.decorators = [
2768
- { type: Injectable, args: [{
2769
- providedIn: 'root',
2770
- },] }
2771
- ];
2772
- AuthService.ctorParameters = () => [
2773
- { type: Injector }
2774
- ];
2597
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2598
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AuthService, providedIn: 'root' });
2599
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AuthService, decorators: [{
2600
+ type: Injectable,
2601
+ args: [{
2602
+ providedIn: 'root',
2603
+ }]
2604
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
2775
2605
 
2776
2606
  const APP_INIT_ERROR_HANDLERS = new InjectionToken('APP_INIT_ERROR_HANDLERS');
2777
2607
 
@@ -2782,10 +2612,13 @@ function getRemoteEnv(injector, environment) {
2782
2612
  if (!url)
2783
2613
  return Promise.resolve();
2784
2614
  const http = injector.get(HttpClient);
2785
- const store = injector.get(Store);
2615
+ const httpErrorReporter = injector.get(HttpErrorReporterService);
2786
2616
  return http
2787
2617
  .request(method, url, { headers })
2788
- .pipe(catchError(err => store.dispatch(new RestOccurError(err))), // TODO: Condiser get handle function from a provider
2618
+ .pipe(catchError(err => {
2619
+ httpErrorReporter.reportError(err);
2620
+ return of(null);
2621
+ }), // TODO: Consider get handle function from a provider
2789
2622
  tap(env => environmentService.setState(mergeEnvironments(environment, env, remoteEnv))))
2790
2623
  .toPromise();
2791
2624
  }
@@ -2818,15 +2651,14 @@ class AbpTenantService {
2818
2651
  }, { apiName: this.apiName });
2819
2652
  }
2820
2653
  }
2821
- AbpTenantService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AbpTenantService_Factory() { return new AbpTenantService(i0.ɵɵinject(RestService)); }, token: AbpTenantService, providedIn: "root" });
2822
- AbpTenantService.decorators = [
2823
- { type: Injectable, args: [{
2824
- providedIn: 'root',
2825
- },] }
2826
- ];
2827
- AbpTenantService.ctorParameters = () => [
2828
- { type: RestService }
2829
- ];
2654
+ AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
2655
+ AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
2656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpTenantService, decorators: [{
2657
+ type: Injectable,
2658
+ args: [{
2659
+ providedIn: 'root',
2660
+ }]
2661
+ }], ctorParameters: function () { return [{ type: RestService }]; } });
2830
2662
 
2831
2663
  class MultiTenancyService {
2832
2664
  constructor(restService, sessionState, tenantService, configStateService, tenantKey) {
@@ -2843,22 +2675,6 @@ class MultiTenancyService {
2843
2675
  return this.configStateService.refreshAppState().pipe(map(_ => tenant));
2844
2676
  };
2845
2677
  }
2846
- /**
2847
- * @deprecated Use AbpTenantService.findTenantByName method instead. To be deleted in v5.0.
2848
- */
2849
- findTenantByName(name, headers) {
2850
- return this.restService.request({
2851
- url: `/api/abp/multi-tenancy/tenants/by-name/${name}`,
2852
- method: 'GET',
2853
- headers,
2854
- }, { apiName: this.apiName });
2855
- }
2856
- /**
2857
- * @deprecated Use AbpTenantService.findTenantById method instead. To be deleted in v5.0.
2858
- */
2859
- findTenantById(id, headers) {
2860
- return this.restService.request({ url: `/api/abp/multi-tenancy/tenants/by-id/${id}`, method: 'GET', headers }, { apiName: this.apiName });
2861
- }
2862
2678
  setTenantByName(tenantName) {
2863
2679
  return this.tenantService
2864
2680
  .findTenantByName(tenantName, { [this.tenantKey]: '' })
@@ -2870,17 +2686,15 @@ class MultiTenancyService {
2870
2686
  .pipe(switchMap(this.setTenantToState));
2871
2687
  }
2872
2688
  }
2873
- MultiTenancyService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MultiTenancyService_Factory() { return new MultiTenancyService(i0.ɵɵinject(RestService), i0.ɵɵinject(SessionStateService), i0.ɵɵinject(AbpTenantService), i0.ɵɵinject(ConfigStateService), i0.ɵɵinject(TENANT_KEY)); }, token: MultiTenancyService, providedIn: "root" });
2874
- MultiTenancyService.decorators = [
2875
- { type: Injectable, args: [{ providedIn: 'root' },] }
2876
- ];
2877
- MultiTenancyService.ctorParameters = () => [
2878
- { type: RestService },
2879
- { type: SessionStateService },
2880
- { type: AbpTenantService },
2881
- { type: ConfigStateService },
2882
- { type: String, decorators: [{ type: Inject, args: [TENANT_KEY,] }] }
2883
- ];
2689
+ MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2690
+ MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
2691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: MultiTenancyService, decorators: [{
2692
+ type: Injectable,
2693
+ args: [{ providedIn: 'root' }]
2694
+ }], ctorParameters: function () { return [{ type: RestService }, { type: SessionStateService }, { type: AbpTenantService }, { type: ConfigStateService }, { type: undefined, decorators: [{
2695
+ type: Inject,
2696
+ args: [TENANT_KEY]
2697
+ }] }]; } });
2884
2698
 
2885
2699
  const tenancyPlaceholder = '{0}';
2886
2700
  function getCurrentTenancyName(appBaseUrl) {
@@ -3020,84 +2834,146 @@ function storageFactory() {
3020
2834
  */
3021
2835
  class BaseCoreModule {
3022
2836
  }
3023
- BaseCoreModule.decorators = [
3024
- { type: NgModule, args: [{
3025
- exports: [
3026
- CommonModule,
3027
- HttpClientModule,
3028
- FormsModule,
3029
- ReactiveFormsModule,
3030
- RouterModule,
3031
- LocalizationModule,
3032
- AbstractNgModelComponent,
3033
- AutofocusDirective,
3034
- DynamicLayoutComponent,
3035
- ForDirective,
3036
- FormSubmitDirective,
3037
- InitDirective,
3038
- InputEventDebounceDirective,
3039
- PermissionDirective,
3040
- ReplaceableRouteContainerComponent,
3041
- ReplaceableTemplateDirective,
3042
- RouterOutletComponent,
3043
- SortPipe,
3044
- StopPropagationDirective,
3045
- VisibilityDirective,
3046
- ],
3047
- imports: [
3048
- OAuthModule,
3049
- CommonModule,
3050
- HttpClientModule,
3051
- FormsModule,
3052
- ReactiveFormsModule,
3053
- RouterModule,
3054
- LocalizationModule,
3055
- ],
3056
- declarations: [
3057
- AbstractNgModelComponent,
3058
- AutofocusDirective,
3059
- DynamicLayoutComponent,
3060
- ForDirective,
3061
- FormSubmitDirective,
3062
- InitDirective,
3063
- InputEventDebounceDirective,
3064
- PermissionDirective,
3065
- ReplaceableRouteContainerComponent,
3066
- ReplaceableTemplateDirective,
3067
- RouterOutletComponent,
3068
- SortPipe,
3069
- StopPropagationDirective,
3070
- VisibilityDirective,
3071
- ],
3072
- providers: [LocalizationPipe],
3073
- entryComponents: [
3074
- RouterOutletComponent,
3075
- DynamicLayoutComponent,
3076
- ReplaceableRouteContainerComponent,
3077
- ],
3078
- },] }
3079
- ];
2837
+ BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2838
+ BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
2839
+ AutofocusDirective,
2840
+ DynamicLayoutComponent,
2841
+ ForDirective,
2842
+ FormSubmitDirective,
2843
+ InitDirective,
2844
+ InputEventDebounceDirective,
2845
+ PermissionDirective,
2846
+ ReplaceableRouteContainerComponent,
2847
+ ReplaceableTemplateDirective,
2848
+ RouterOutletComponent,
2849
+ SortPipe,
2850
+ StopPropagationDirective], imports: [OAuthModule,
2851
+ CommonModule,
2852
+ HttpClientModule,
2853
+ FormsModule,
2854
+ ReactiveFormsModule,
2855
+ RouterModule,
2856
+ LocalizationModule], exports: [CommonModule,
2857
+ HttpClientModule,
2858
+ FormsModule,
2859
+ ReactiveFormsModule,
2860
+ RouterModule,
2861
+ LocalizationModule,
2862
+ AbstractNgModelComponent,
2863
+ AutofocusDirective,
2864
+ DynamicLayoutComponent,
2865
+ ForDirective,
2866
+ FormSubmitDirective,
2867
+ InitDirective,
2868
+ InputEventDebounceDirective,
2869
+ PermissionDirective,
2870
+ ReplaceableRouteContainerComponent,
2871
+ ReplaceableTemplateDirective,
2872
+ RouterOutletComponent,
2873
+ SortPipe,
2874
+ StopPropagationDirective] });
2875
+ BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [[
2876
+ OAuthModule,
2877
+ CommonModule,
2878
+ HttpClientModule,
2879
+ FormsModule,
2880
+ ReactiveFormsModule,
2881
+ RouterModule,
2882
+ LocalizationModule,
2883
+ ], CommonModule,
2884
+ HttpClientModule,
2885
+ FormsModule,
2886
+ ReactiveFormsModule,
2887
+ RouterModule,
2888
+ LocalizationModule] });
2889
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseCoreModule, decorators: [{
2890
+ type: NgModule,
2891
+ args: [{
2892
+ exports: [
2893
+ CommonModule,
2894
+ HttpClientModule,
2895
+ FormsModule,
2896
+ ReactiveFormsModule,
2897
+ RouterModule,
2898
+ LocalizationModule,
2899
+ AbstractNgModelComponent,
2900
+ AutofocusDirective,
2901
+ DynamicLayoutComponent,
2902
+ ForDirective,
2903
+ FormSubmitDirective,
2904
+ InitDirective,
2905
+ InputEventDebounceDirective,
2906
+ PermissionDirective,
2907
+ ReplaceableRouteContainerComponent,
2908
+ ReplaceableTemplateDirective,
2909
+ RouterOutletComponent,
2910
+ SortPipe,
2911
+ StopPropagationDirective,
2912
+ ],
2913
+ imports: [
2914
+ OAuthModule,
2915
+ CommonModule,
2916
+ HttpClientModule,
2917
+ FormsModule,
2918
+ ReactiveFormsModule,
2919
+ RouterModule,
2920
+ LocalizationModule,
2921
+ ],
2922
+ declarations: [
2923
+ AbstractNgModelComponent,
2924
+ AutofocusDirective,
2925
+ DynamicLayoutComponent,
2926
+ ForDirective,
2927
+ FormSubmitDirective,
2928
+ InitDirective,
2929
+ InputEventDebounceDirective,
2930
+ PermissionDirective,
2931
+ ReplaceableRouteContainerComponent,
2932
+ ReplaceableTemplateDirective,
2933
+ RouterOutletComponent,
2934
+ SortPipe,
2935
+ StopPropagationDirective,
2936
+ ],
2937
+ providers: [LocalizationPipe],
2938
+ entryComponents: [
2939
+ RouterOutletComponent,
2940
+ DynamicLayoutComponent,
2941
+ ReplaceableRouteContainerComponent,
2942
+ ],
2943
+ }]
2944
+ }] });
3080
2945
  /**
3081
2946
  * RootCoreModule is the module that will be used at root level
3082
2947
  * and it introduces imports useful at root level (e.g. NGXS)
3083
2948
  */
3084
2949
  class RootCoreModule {
3085
2950
  }
3086
- RootCoreModule.decorators = [
3087
- { type: NgModule, args: [{
3088
- exports: [BaseCoreModule, LocalizationModule],
3089
- imports: [
3090
- BaseCoreModule,
3091
- LocalizationModule,
3092
- NgxsModule.forFeature([ProfileState]),
3093
- OAuthModule.forRoot(),
3094
- HttpClientXsrfModule.withOptions({
3095
- cookieName: 'XSRF-TOKEN',
3096
- headerName: 'RequestVerificationToken',
3097
- }),
3098
- ],
3099
- },] }
3100
- ];
2951
+ RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2952
+ RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule, i1$3.OAuthModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
2953
+ RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RootCoreModule, imports: [[
2954
+ BaseCoreModule,
2955
+ LocalizationModule,
2956
+ OAuthModule.forRoot(),
2957
+ HttpClientXsrfModule.withOptions({
2958
+ cookieName: 'XSRF-TOKEN',
2959
+ headerName: 'RequestVerificationToken',
2960
+ }),
2961
+ ], BaseCoreModule, LocalizationModule] });
2962
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RootCoreModule, decorators: [{
2963
+ type: NgModule,
2964
+ args: [{
2965
+ exports: [BaseCoreModule, LocalizationModule],
2966
+ imports: [
2967
+ BaseCoreModule,
2968
+ LocalizationModule,
2969
+ OAuthModule.forRoot(),
2970
+ HttpClientXsrfModule.withOptions({
2971
+ cookieName: 'XSRF-TOKEN',
2972
+ headerName: 'RequestVerificationToken',
2973
+ }),
2974
+ ],
2975
+ }]
2976
+ }] });
3101
2977
  /**
3102
2978
  * CoreModule is the module that is publicly available
3103
2979
  */
@@ -3107,6 +2983,7 @@ class CoreModule {
3107
2983
  ngModule: RootCoreModule,
3108
2984
  providers: [
3109
2985
  LocaleProvider,
2986
+ CookieLanguageProvider,
3110
2987
  {
3111
2988
  provide: 'CORE_OPTIONS',
3112
2989
  useValue: options,
@@ -3157,12 +3034,16 @@ class CoreModule {
3157
3034
  };
3158
3035
  }
3159
3036
  }
3160
- CoreModule.decorators = [
3161
- { type: NgModule, args: [{
3162
- exports: [BaseCoreModule],
3163
- imports: [BaseCoreModule],
3164
- },] }
3165
- ];
3037
+ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3038
+ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
3039
+ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: CoreModule, imports: [[BaseCoreModule], BaseCoreModule] });
3040
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: CoreModule, decorators: [{
3041
+ type: NgModule,
3042
+ args: [{
3043
+ exports: [BaseCoreModule],
3044
+ imports: [BaseCoreModule],
3045
+ }]
3046
+ }] });
3166
3047
  function ngxsStoragePluginSerialize(data) {
3167
3048
  return data;
3168
3049
  }
@@ -3181,23 +3062,21 @@ class AuthGuard {
3181
3062
  return false;
3182
3063
  }
3183
3064
  }
3184
- AuthGuard.ɵprov = i0.ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(i0.ɵɵinject(i1$1.OAuthService), i0.ɵɵinject(AuthService)); }, token: AuthGuard, providedIn: "root" });
3185
- AuthGuard.decorators = [
3186
- { type: Injectable, args: [{
3187
- providedIn: 'root',
3188
- },] }
3189
- ];
3190
- AuthGuard.ctorParameters = () => [
3191
- { type: OAuthService },
3192
- { type: AuthService }
3193
- ];
3065
+ AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AuthGuard, deps: [{ token: i1$3.OAuthService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
3066
+ AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AuthGuard, providedIn: 'root' });
3067
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AuthGuard, decorators: [{
3068
+ type: Injectable,
3069
+ args: [{
3070
+ providedIn: 'root',
3071
+ }]
3072
+ }], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: AuthService }]; } });
3194
3073
 
3195
3074
  class PermissionGuard {
3196
- constructor(router, routesService, store, permissionService) {
3075
+ constructor(router, routesService, permissionService, httpErrorReporter) {
3197
3076
  this.router = router;
3198
3077
  this.routesService = routesService;
3199
- this.store = store;
3200
3078
  this.permissionService = permissionService;
3079
+ this.httpErrorReporter = httpErrorReporter;
3201
3080
  }
3202
3081
  canActivate(route, state) {
3203
3082
  let { requiredPolicy } = route.data || {};
@@ -3209,28 +3088,24 @@ class PermissionGuard {
3209
3088
  return of(true);
3210
3089
  return this.permissionService.getGrantedPolicy$(requiredPolicy).pipe(tap(access => {
3211
3090
  if (!access) {
3212
- this.store.dispatch(new RestOccurError({ status: 403 }));
3091
+ this.httpErrorReporter.reportError({ status: 403 });
3213
3092
  }
3214
3093
  }));
3215
3094
  }
3216
3095
  }
3217
- PermissionGuard.ɵprov = i0.ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(i0.ɵɵinject(i1.Router), i0.ɵɵinject(RoutesService), i0.ɵɵinject(i4.Store), i0.ɵɵinject(PermissionService)); }, token: PermissionGuard, providedIn: "root" });
3218
- PermissionGuard.decorators = [
3219
- { type: Injectable, args: [{
3220
- providedIn: 'root',
3221
- },] }
3222
- ];
3223
- PermissionGuard.ctorParameters = () => [
3224
- { type: Router },
3225
- { type: RoutesService },
3226
- { type: Store },
3227
- { type: PermissionService }
3228
- ];
3096
+ PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PermissionGuard, deps: [{ token: i1$1.Router }, { token: RoutesService }, { token: PermissionService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
3097
+ PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
3098
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PermissionGuard, decorators: [{
3099
+ type: Injectable,
3100
+ args: [{
3101
+ providedIn: 'root',
3102
+ }]
3103
+ }], ctorParameters: function () { return [{ type: i1$1.Router }, { type: RoutesService }, { type: PermissionService }, { type: HttpErrorReporterService }]; } });
3229
3104
 
3230
3105
  class ListResultDto {
3231
3106
  constructor(initialValues = {}) {
3232
3107
  for (const key in initialValues) {
3233
- if (initialValues.hasOwnProperty(key)) {
3108
+ if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3234
3109
  this[key] = initialValues[key];
3235
3110
  }
3236
3111
  }
@@ -3245,7 +3120,8 @@ class LimitedResultRequestDto {
3245
3120
  constructor(initialValues = {}) {
3246
3121
  this.maxResultCount = 10;
3247
3122
  for (const key in initialValues) {
3248
- if (initialValues.hasOwnProperty(key) && initialValues[key] !== undefined) {
3123
+ if (Object.prototype.hasOwnProperty.call(initialValues, key) &&
3124
+ initialValues[key] !== undefined) {
3249
3125
  this[key] = initialValues[key];
3250
3126
  }
3251
3127
  }
@@ -3264,7 +3140,7 @@ class PagedAndSortedResultRequestDto extends PagedResultRequestDto {
3264
3140
  class EntityDto {
3265
3141
  constructor(initialValues = {}) {
3266
3142
  for (const key in initialValues) {
3267
- if (initialValues.hasOwnProperty(key)) {
3143
+ if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3268
3144
  this[key] = initialValues[key];
3269
3145
  }
3270
3146
  }
@@ -3303,7 +3179,7 @@ class FullAuditedEntityWithUserDto extends FullAuditedEntityDto {
3303
3179
  class ExtensibleObject {
3304
3180
  constructor(initialValues = {}) {
3305
3181
  for (const key in initialValues) {
3306
- if (initialValues.hasOwnProperty(key)) {
3182
+ if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3307
3183
  this[key] = initialValues[key];
3308
3184
  }
3309
3185
  }
@@ -3345,30 +3221,33 @@ class ExtensibleFullAuditedEntityWithUserDto extends ExtensibleFullAuditedEntity
3345
3221
  }
3346
3222
  }
3347
3223
 
3348
- /**
3349
- * @deprecated Use AbpApplicationConfigurationService instead. To be deleted in v5.0.
3350
- */
3351
- class ApplicationConfigurationService {
3352
- constructor(rest) {
3353
- this.rest = rest;
3354
- }
3355
- getConfiguration() {
3356
- const request = {
3224
+ class AbpApiDefinitionService {
3225
+ constructor(restService) {
3226
+ this.restService = restService;
3227
+ this.apiName = 'abp';
3228
+ this.getByModel = (model) => this.restService.request({
3357
3229
  method: 'GET',
3358
- url: '/api/abp/application-configuration',
3359
- };
3360
- return this.rest.request(request, {});
3361
- }
3362
- }
3363
- ApplicationConfigurationServiceprov = i0.ɵɵdefineInjectable({ factory: function ApplicationConfigurationService_Factory() { return new ApplicationConfigurationService(i0.ɵɵinject(RestService)); }, token: ApplicationConfigurationService, providedIn: "root" });
3364
- ApplicationConfigurationService.decorators = [
3365
- { type: Injectable, args: [{
3366
- providedIn: 'root',
3367
- },] }
3368
- ];
3369
- ApplicationConfigurationService.ctorParameters = () => [
3370
- { type: RestService }
3371
- ];
3230
+ url: '/api/abp/api-definition',
3231
+ params: { includeTypes: model.includeTypes },
3232
+ }, { apiName: this.apiName });
3233
+ }
3234
+ }
3235
+ AbpApiDefinitionServicefac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
3236
+ AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
3237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
3238
+ type: Injectable,
3239
+ args: [{
3240
+ providedIn: 'root',
3241
+ }]
3242
+ }], ctorParameters: function () { return [{ type: RestService }]; } });
3243
+
3244
+ /* eslint-disable @typescript-eslint/ban-types */
3245
+
3246
+ var index = /*#__PURE__*/Object.freeze({
3247
+ __proto__: null
3248
+ });
3249
+
3250
+ /* eslint-disable @typescript-eslint/ban-types */
3372
3251
 
3373
3252
  class ContentProjectionService {
3374
3253
  constructor(injector) {
@@ -3378,13 +3257,12 @@ class ContentProjectionService {
3378
3257
  return projectionStrategy.injectContent(injector);
3379
3258
  }
3380
3259
  }
3381
- ContentProjectionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ContentProjectionService_Factory() { return new ContentProjectionService(i0.ɵɵinject(i0.INJECTOR)); }, token: ContentProjectionService, providedIn: "root" });
3382
- ContentProjectionService.decorators = [
3383
- { type: Injectable, args: [{ providedIn: 'root' },] }
3384
- ];
3385
- ContentProjectionService.ctorParameters = () => [
3386
- { type: Injector }
3387
- ];
3260
+ ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3261
+ ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
3262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ContentProjectionService, decorators: [{
3263
+ type: Injectable,
3264
+ args: [{ providedIn: 'root' }]
3265
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3388
3266
 
3389
3267
  function getShortDateFormat(configStateService) {
3390
3268
  const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
@@ -3436,7 +3314,6 @@ function downloadBlob(blob, filename) {
3436
3314
  }
3437
3315
 
3438
3316
  function isNumber(value) {
3439
- /* tslint:disable-next-line:triple-equals */
3440
3317
  return value == Number(value);
3441
3318
  }
3442
3319
 
@@ -3451,7 +3328,6 @@ function mapEnumToOptions(_enum) {
3451
3328
  return options;
3452
3329
  }
3453
3330
 
3454
- // tslint:disable: no-bitwise
3455
3331
  function uuid(a) {
3456
3332
  return a
3457
3333
  ? (a ^ ((Math.random() * 16) >> (a / 4))).toString(16)
@@ -3561,7 +3437,6 @@ function fromLazyLoad(element, domStrategy = DOM_STRATEGY.AppendToHead(), crossO
3561
3437
  });
3562
3438
  }
3563
3439
  function createErrorHandler(observer, element) {
3564
- /* tslint:disable-next-line:only-arrow-functions */
3565
3440
  return function (event) {
3566
3441
  clearCallbacks(element);
3567
3442
  element.parentNode.removeChild(element);
@@ -3577,30 +3452,6 @@ function clearCallbacks(element) {
3577
3452
  element.onsuspend = null;
3578
3453
  }
3579
3454
 
3580
- // tslint:disable: max-line-length
3581
- function isFunction(value) {
3582
- return typeof value === 'function';
3583
- }
3584
- /**
3585
- * @deprecated no longer working, please use SubscriptionService (https://docs.abp.io/en/abp/latest/UI/Angular/Subscription-Service) instead.
3586
- */
3587
- const takeUntilDestroy = (componentInstance, destroyMethodName = 'ngOnDestroy') => (source) => {
3588
- const originalDestroy = componentInstance[destroyMethodName];
3589
- if (isFunction(originalDestroy) === false) {
3590
- throw new Error(`${componentInstance.constructor.name} is using untilDestroyed but doesn't implement ${destroyMethodName}`);
3591
- }
3592
- if (!componentInstance['__takeUntilDestroy']) {
3593
- componentInstance['__takeUntilDestroy'] = new Subject();
3594
- componentInstance[destroyMethodName] = function () {
3595
- // tslint:disable-next-line: no-unused-expression
3596
- isFunction(originalDestroy) && originalDestroy.apply(this, arguments);
3597
- componentInstance['__takeUntilDestroy'].next(true);
3598
- componentInstance['__takeUntilDestroy'].complete();
3599
- };
3600
- }
3601
- return source.pipe(takeUntil(componentInstance['__takeUntilDestroy']));
3602
- };
3603
-
3604
3455
  class DomInsertionService {
3605
3456
  constructor() {
3606
3457
  this.inserted = new Set();
@@ -3623,10 +3474,12 @@ class DomInsertionService {
3623
3474
  return this.inserted.has(hash);
3624
3475
  }
3625
3476
  }
3626
- DomInsertionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DomInsertionService_Factory() { return new DomInsertionService(); }, token: DomInsertionService, providedIn: "root" });
3627
- DomInsertionService.decorators = [
3628
- { type: Injectable, args: [{ providedIn: 'root' },] }
3629
- ];
3477
+ DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3478
+ DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
3479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DomInsertionService, decorators: [{
3480
+ type: Injectable,
3481
+ args: [{ providedIn: 'root' }]
3482
+ }] });
3630
3483
 
3631
3484
  class ResourceWaitService {
3632
3485
  constructor() {
@@ -3655,12 +3508,14 @@ class ResourceWaitService {
3655
3508
  this.store.patch({ resources });
3656
3509
  }
3657
3510
  }
3658
- ResourceWaitService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ResourceWaitService_Factory() { return new ResourceWaitService(); }, token: ResourceWaitService, providedIn: "root" });
3659
- ResourceWaitService.decorators = [
3660
- { type: Injectable, args: [{
3661
- providedIn: 'root',
3662
- },] }
3663
- ];
3511
+ ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3512
+ ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
3513
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ResourceWaitService, decorators: [{
3514
+ type: Injectable,
3515
+ args: [{
3516
+ providedIn: 'root',
3517
+ }]
3518
+ }] });
3664
3519
 
3665
3520
  class LazyLoadService {
3666
3521
  constructor(resourceWaitService) {
@@ -3685,15 +3540,14 @@ class LazyLoadService {
3685
3540
  return true;
3686
3541
  }
3687
3542
  }
3688
- LazyLoadService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LazyLoadService_Factory() { return new LazyLoadService(i0.ɵɵinject(ResourceWaitService)); }, token: LazyLoadService, providedIn: "root" });
3689
- LazyLoadService.decorators = [
3690
- { type: Injectable, args: [{
3691
- providedIn: 'root',
3692
- },] }
3693
- ];
3694
- LazyLoadService.ctorParameters = () => [
3695
- { type: ResourceWaitService }
3696
- ];
3543
+ LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
3544
+ LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
3545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LazyLoadService, decorators: [{
3546
+ type: Injectable,
3547
+ args: [{
3548
+ providedIn: 'root',
3549
+ }]
3550
+ }], ctorParameters: function () { return [{ type: ResourceWaitService }]; } });
3697
3551
 
3698
3552
  const LIST_QUERY_DEBOUNCE_TIME = new InjectionToken('LIST_QUERY_DEBOUNCE_TIME');
3699
3553
 
@@ -3789,256 +3643,11 @@ class ListService {
3789
3643
  });
3790
3644
  }
3791
3645
  }
3792
- ListService.decorators = [
3793
- { type: Injectable }
3794
- ];
3795
- ListService.ctorParameters = () => [
3796
- { type: Injector }
3797
- ];
3798
-
3799
- var ConfigState_1;
3800
- /**
3801
- * @deprecated Use ConfigStateService instead. To be deleted in v5.0.
3802
- */
3803
- let ConfigState = ConfigState_1 = class ConfigState {
3804
- constructor(store, environmentService, configState) {
3805
- this.store = store;
3806
- this.environmentService = environmentService;
3807
- this.configState = configState;
3808
- this.syncConfigState();
3809
- this.syncEnvironment();
3810
- }
3811
- static getAll(state) {
3812
- return state;
3813
- }
3814
- static getApplicationInfo(state) {
3815
- return state.environment.application || {};
3816
- }
3817
- static getEnvironment(state) {
3818
- return state.environment;
3819
- }
3820
- static getOne(key) {
3821
- const selector = createSelector([ConfigState_1], (state) => {
3822
- return state[key];
3823
- });
3824
- return selector;
3825
- }
3826
- static getDeep(keys) {
3827
- if (typeof keys === 'string') {
3828
- keys = keys.split('.');
3829
- }
3830
- if (!Array.isArray(keys)) {
3831
- throw new Error('The argument must be a dot string or an string array.');
3832
- }
3833
- const selector = createSelector([ConfigState_1], (state) => {
3834
- return keys.reduce((acc, val) => {
3835
- if (acc) {
3836
- return acc[val];
3837
- }
3838
- return undefined;
3839
- }, state);
3840
- });
3841
- return selector;
3842
- }
3843
- static getApiUrl(key) {
3844
- const selector = createSelector([ConfigState_1], (state) => {
3845
- return (state.environment.apis[key || 'default'] || state.environment.apis.default).url;
3846
- });
3847
- return selector;
3848
- }
3849
- static getFeature(key) {
3850
- const selector = createSelector([ConfigState_1], (state) => {
3851
- return snq(() => state.features.values[key]);
3852
- });
3853
- return selector;
3854
- }
3855
- static getSetting(key) {
3856
- const selector = createSelector([ConfigState_1], (state) => {
3857
- return snq(() => state.setting.values[key]);
3858
- });
3859
- return selector;
3860
- }
3861
- static getSettings(keyword) {
3862
- const selector = createSelector([ConfigState_1], (state) => {
3863
- const settings = snq(() => state.setting.values, {});
3864
- if (!keyword)
3865
- return settings;
3866
- const keysFound = Object.keys(settings).filter(key => key.indexOf(keyword) > -1);
3867
- return keysFound.reduce((acc, key) => {
3868
- acc[key] = settings[key];
3869
- return acc;
3870
- }, {});
3871
- });
3872
- return selector;
3873
- }
3874
- /**
3875
- * @deprecated use PermissionService's getGrantedPolicyStream or getGrantedPolicy methods.
3876
- */
3877
- static getGrantedPolicy(key) {
3878
- const selector = createSelector([ConfigState_1], (state) => {
3879
- if (!key)
3880
- return true;
3881
- const getPolicy = (k) => snq(() => state.auth.grantedPolicies[k], false);
3882
- const orRegexp = /\|\|/g;
3883
- const andRegexp = /&&/g;
3884
- // TODO: Allow combination of ANDs & ORs
3885
- if (orRegexp.test(key)) {
3886
- const keys = key.split('||').filter(Boolean);
3887
- if (keys.length < 2)
3888
- return false;
3889
- return keys.some(k => getPolicy(k.trim()));
3890
- }
3891
- else if (andRegexp.test(key)) {
3892
- const keys = key.split('&&').filter(Boolean);
3893
- if (keys.length < 2)
3894
- return false;
3895
- return keys.every(k => getPolicy(k.trim()));
3896
- }
3897
- return getPolicy(key);
3898
- });
3899
- return selector;
3900
- }
3901
- static getLocalizationResource(resourceName) {
3902
- const selector = createSelector([ConfigState_1], (state) => {
3903
- return state.localization.values[resourceName];
3904
- });
3905
- return selector;
3906
- }
3907
- static getLocalization(key, ...interpolateParams) {
3908
- if (!key)
3909
- key = '';
3910
- let defaultValue;
3911
- if (typeof key !== 'string') {
3912
- defaultValue = key.defaultValue;
3913
- key = key.key;
3914
- }
3915
- const keys = key.split('::');
3916
- const selector = createSelector([ConfigState_1], (state) => {
3917
- const warn = (message) => {
3918
- if (!state.environment.production)
3919
- console.warn(message);
3920
- };
3921
- if (keys.length < 2) {
3922
- warn('The localization source separator (::) not found.');
3923
- return defaultValue || key;
3924
- }
3925
- if (!state.localization)
3926
- return defaultValue || keys[1];
3927
- const sourceName = keys[0] ||
3928
- snq(() => state.environment.localization.defaultResourceName) ||
3929
- state.localization.defaultResourceName;
3930
- const sourceKey = keys[1];
3931
- if (sourceName === '_') {
3932
- return defaultValue || sourceKey;
3933
- }
3934
- if (!sourceName) {
3935
- warn('Localization source name is not specified and the defaultResourceName was not defined!');
3936
- return defaultValue || sourceKey;
3937
- }
3938
- const source = state.localization.values[sourceName];
3939
- if (!source) {
3940
- warn('Could not find localization source: ' + sourceName);
3941
- return defaultValue || sourceKey;
3942
- }
3943
- let localization = source[sourceKey];
3944
- if (typeof localization === 'undefined') {
3945
- return defaultValue || sourceKey;
3946
- }
3947
- interpolateParams = interpolateParams.filter(params => params != null);
3948
- if (localization)
3949
- localization = interpolate(localization, interpolateParams);
3950
- if (typeof localization !== 'string')
3951
- localization = '';
3952
- return localization || defaultValue || key;
3953
- });
3954
- return selector;
3955
- }
3956
- syncConfigState() {
3957
- this.configState
3958
- .createOnUpdateStream(state => state)
3959
- .pipe(distinctUntilChanged(compare))
3960
- .subscribe(config => this.store.dispatch(new PatchConfigState(config)));
3961
- }
3962
- syncEnvironment() {
3963
- this.environmentService
3964
- .createOnUpdateStream(state => state)
3965
- .pipe(distinctUntilChanged(compare))
3966
- .subscribe(env => this.store.dispatch(new PatchConfigState({ environment: env })));
3967
- }
3968
- addData({ patchState, dispatch }) {
3969
- const apiName = 'default';
3970
- const api = this.store.selectSnapshot(ConfigState_1.getApiUrl(apiName));
3971
- return this.configState.refreshAppState().pipe(catchError((err) => {
3972
- dispatch(new RestOccurError(err));
3973
- return throwError(err);
3974
- }));
3975
- }
3976
- setEnvironment(_, { environment }) {
3977
- return this.environmentService.setState(environment);
3978
- }
3979
- setConfig({ patchState, getState }, { state }) {
3980
- patchState(Object.assign(Object.assign({}, getState()), state));
3981
- }
3982
- };
3983
- ConfigState.decorators = [
3984
- { type: Injectable }
3985
- ];
3986
- ConfigState.ctorParameters = () => [
3987
- { type: Store },
3988
- { type: EnvironmentService },
3989
- { type: ConfigStateService }
3990
- ];
3991
- __decorate([
3992
- Action(GetAppConfiguration)
3993
- ], ConfigState.prototype, "addData", null);
3994
- __decorate([
3995
- Action(SetEnvironment)
3996
- ], ConfigState.prototype, "setEnvironment", null);
3997
- __decorate([
3998
- Action(PatchConfigState)
3999
- ], ConfigState.prototype, "setConfig", null);
4000
- __decorate([
4001
- Selector()
4002
- ], ConfigState, "getAll", null);
4003
- __decorate([
4004
- Selector()
4005
- ], ConfigState, "getApplicationInfo", null);
4006
- __decorate([
4007
- Selector()
4008
- ], ConfigState, "getEnvironment", null);
4009
- ConfigState = ConfigState_1 = __decorate([
4010
- State({
4011
- name: 'ConfigState',
4012
- defaults: {},
4013
- })
4014
- ], ConfigState);
4015
-
4016
- class ProfileStateService {
4017
- constructor(store) {
4018
- this.store = store;
4019
- }
4020
- getProfile() {
4021
- return this.store.selectSnapshot(ProfileState.getProfile);
4022
- }
4023
- dispatchGetProfile() {
4024
- return this.store.dispatch(new GetProfile());
4025
- }
4026
- dispatchUpdateProfile(...args) {
4027
- return this.store.dispatch(new UpdateProfile(...args));
4028
- }
4029
- dispatchChangePassword(...args) {
4030
- return this.store.dispatch(new ChangePassword(...args));
4031
- }
4032
- }
4033
- ProfileStateService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProfileStateService_Factory() { return new ProfileStateService(i0.ɵɵinject(i4.Store)); }, token: ProfileStateService, providedIn: "root" });
4034
- ProfileStateService.decorators = [
4035
- { type: Injectable, args: [{
4036
- providedIn: 'root',
4037
- },] }
4038
- ];
4039
- ProfileStateService.ctorParameters = () => [
4040
- { type: Store }
4041
- ];
3646
+ ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3647
+ ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListService });
3648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListService, decorators: [{
3649
+ type: Injectable
3650
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
4042
3651
 
4043
3652
  class RouterWaitService {
4044
3653
  constructor(routerEvents, injector) {
@@ -4073,31 +3682,33 @@ class RouterWaitService {
4073
3682
  this.store.patch({ loading });
4074
3683
  }
4075
3684
  }
4076
- RouterWaitService.ɵprov = i0.ɵɵdefineInjectable({ factory: function RouterWaitService_Factory() { return new RouterWaitService(i0.ɵɵinject(RouterEvents), i0.ɵɵinject(i0.INJECTOR)); }, token: RouterWaitService, providedIn: "root" });
4077
- RouterWaitService.decorators = [
4078
- { type: Injectable, args: [{
4079
- providedIn: 'root',
4080
- },] }
4081
- ];
4082
- RouterWaitService.ctorParameters = () => [
4083
- { type: RouterEvents },
4084
- { type: Injector }
4085
- ];
3685
+ RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3686
+ RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
3687
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RouterWaitService, decorators: [{
3688
+ type: Injectable,
3689
+ args: [{
3690
+ providedIn: 'root',
3691
+ }]
3692
+ }], ctorParameters: function () { return [{ type: RouterEvents }, { type: i0.Injector }]; } });
4086
3693
 
4087
3694
  const trackBy = (key) => (_, item) => item[key];
4088
- const trackByDeep = (...keys) => (_, item) => keys.reduce((acc, key) => acc[key], item);
3695
+ const trackByDeep = (
3696
+ // eslint-disable-next-line @typescript-eslint/ban-types
3697
+ ...keys) => (_, item) => keys.reduce((acc, key) => acc[key], item);
4089
3698
  class TrackByService {
4090
3699
  constructor() {
4091
3700
  this.by = trackBy;
4092
3701
  this.byDeep = trackByDeep;
4093
3702
  }
4094
3703
  }
4095
- TrackByService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TrackByService_Factory() { return new TrackByService(); }, token: TrackByService, providedIn: "root" });
4096
- TrackByService.decorators = [
4097
- { type: Injectable, args: [{
4098
- providedIn: 'root',
4099
- },] }
4100
- ];
3704
+ TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3705
+ TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TrackByService, providedIn: 'root' });
3706
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TrackByService, decorators: [{
3707
+ type: Injectable,
3708
+ args: [{
3709
+ providedIn: 'root',
3710
+ }]
3711
+ }] });
4101
3712
 
4102
3713
  class ContainerStrategy {
4103
3714
  constructor(containerRef) {
@@ -4166,13 +3777,17 @@ const CONTENT_SECURITY_STRATEGY = {
4166
3777
  };
4167
3778
 
4168
3779
  class ContentStrategy {
4169
- constructor(content, domStrategy = DOM_STRATEGY.AppendToHead(), contentSecurityStrategy = CONTENT_SECURITY_STRATEGY.None()) {
3780
+ constructor(content, domStrategy = DOM_STRATEGY.AppendToHead(), contentSecurityStrategy = CONTENT_SECURITY_STRATEGY.None(), options = {}) {
4170
3781
  this.content = content;
4171
3782
  this.domStrategy = domStrategy;
4172
3783
  this.contentSecurityStrategy = contentSecurityStrategy;
3784
+ this.options = options;
4173
3785
  }
4174
3786
  insertElement() {
4175
3787
  const element = this.createElement();
3788
+ if (this.options && Object.keys(this.options).length > 0) {
3789
+ Object.keys(this.options).forEach(key => (element[key] = this.options[key]));
3790
+ }
4176
3791
  this.contentSecurityStrategy.applyCSP(element);
4177
3792
  this.domStrategy.insertElement(element);
4178
3793
  return element;
@@ -4193,17 +3808,17 @@ class ScriptContentStrategy extends ContentStrategy {
4193
3808
  }
4194
3809
  }
4195
3810
  const CONTENT_STRATEGY = {
4196
- AppendScriptToBody(content) {
4197
- return new ScriptContentStrategy(content, DOM_STRATEGY.AppendToBody());
3811
+ AppendScriptToBody(content, options) {
3812
+ return new ScriptContentStrategy(content, DOM_STRATEGY.AppendToBody(), undefined, options);
4198
3813
  },
4199
- AppendScriptToHead(content) {
4200
- return new ScriptContentStrategy(content, DOM_STRATEGY.AppendToHead());
3814
+ AppendScriptToHead(content, options) {
3815
+ return new ScriptContentStrategy(content, DOM_STRATEGY.AppendToHead(), undefined, options);
4201
3816
  },
4202
- AppendStyleToHead(content) {
4203
- return new StyleContentStrategy(content, DOM_STRATEGY.AppendToHead());
3817
+ AppendStyleToHead(content, options) {
3818
+ return new StyleContentStrategy(content, DOM_STRATEGY.AppendToHead(), undefined, options);
4204
3819
  },
4205
- PrependStyleToHead(content) {
4206
- return new StyleContentStrategy(content, DOM_STRATEGY.PrependToHead());
3820
+ PrependStyleToHead(content, options) {
3821
+ return new StyleContentStrategy(content, DOM_STRATEGY.PrependToHead(), undefined, options);
4207
3822
  },
4208
3823
  };
4209
3824
 
@@ -4211,7 +3826,6 @@ class ContextStrategy {
4211
3826
  constructor(context) {
4212
3827
  this.context = context;
4213
3828
  }
4214
- /* tslint:disable-next-line:no-unused-variable */
4215
3829
  setContext(componentRef) {
4216
3830
  return this.context;
4217
3831
  }
@@ -4413,7 +4027,6 @@ function isValidCreditCard(value) {
4413
4027
  let multiplier = 1;
4414
4028
  for (let i = value.length; i > 0; i--) {
4415
4029
  const digit = Number(value[i - 1]) * multiplier;
4416
- /* tslint:disable-next-line:no-bitwise */
4417
4030
  checksum += (digit % 10) + ~~(digit / 10);
4418
4031
  multiplier = (multiplier * 2) % 3;
4419
4032
  }
@@ -4479,10 +4092,9 @@ function isValidUrl(value) {
4479
4092
  return false;
4480
4093
  }
4481
4094
 
4482
- const ɵ0 = () => Validators.email;
4483
4095
  const AbpValidators = {
4484
4096
  creditCard: validateCreditCard,
4485
- emailAddress: ɵ0,
4097
+ emailAddress: () => Validators.email,
4486
4098
  minAge: validateMinAge,
4487
4099
  range: validateRange,
4488
4100
  required: validateRequired,
@@ -4490,38 +4102,11 @@ const AbpValidators = {
4490
4102
  url: validateUrl,
4491
4103
  };
4492
4104
 
4493
- class AbpApiDefinitionService {
4494
- constructor(restService) {
4495
- this.restService = restService;
4496
- this.apiName = 'abp';
4497
- this.getByModel = (model) => this.restService.request({
4498
- method: 'GET',
4499
- url: '/api/abp/api-definition',
4500
- params: { includeTypes: model.includeTypes },
4501
- }, { apiName: this.apiName });
4502
- }
4503
- }
4504
- AbpApiDefinitionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AbpApiDefinitionService_Factory() { return new AbpApiDefinitionService(i0.ɵɵinject(RestService)); }, token: AbpApiDefinitionService, providedIn: "root" });
4505
- AbpApiDefinitionService.decorators = [
4506
- { type: Injectable, args: [{
4507
- providedIn: 'root',
4508
- },] }
4509
- ];
4510
- AbpApiDefinitionService.ctorParameters = () => [
4511
- { type: RestService }
4512
- ];
4513
-
4514
- var index = /*#__PURE__*/Object.freeze({
4515
- __proto__: null
4516
- });
4517
-
4518
- /*
4519
- * Public API Surface of core
4520
- */
4105
+ // export * from './lib/handlers';
4521
4106
 
4522
4107
  /**
4523
4108
  * Generated bundle index. Do not edit.
4524
4109
  */
4525
4110
 
4526
- export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpTenantService, AbpValidators, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, ApplicationConfigurationService, AuditedEntityDto, AuditedEntityWithUserDto, AuthGuard, AuthService, AutofocusDirective, BaseCoreModule, BaseTreeNode, CONTAINER_STRATEGY, CONTENT_SECURITY_STRATEGY, CONTENT_STRATEGY, CONTEXT_STRATEGY, CORE_OPTIONS, CROSS_ORIGIN_STRATEGY, ChangePassword, ClearContainerStrategy, ComponentContextStrategy, ComponentProjectionStrategy, ConfigState, ConfigStateService, ContainerStrategy, ContentProjectionService, ContentSecurityStrategy, ContentStrategy, ContextStrategy, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DOM_STRATEGY, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleObject, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, GetAppConfiguration, GetProfile, HttpWaitService, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LazyLoadService, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, LocalizationModule, LocalizationPipe, LocalizationService, LooseContentSecurityStrategy, MultiTenancyService, NAVIGATE_TO_MANAGE_PROFILE, NavigationEvent, NoContentSecurityStrategy, NoContextStrategy, NoCrossOriginStrategy, index as ObjectExtending, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProfileService, ProfileState, ProfileStateService, ProjectionStrategy, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, RestOccurError, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, ScriptContentStrategy, ScriptLoadingStrategy, SessionStateService, SetEnvironment, SettingTabsService, SortPipe, StartLoader, StopLoader, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TemplateContextStrategy, TemplateProjectionStrategy, TrackByService, UpdateProfile, VisibilityDirective, WebHttpUrlEncodingCodec, checkAccessToken, coreOptionsFactory, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, getInitialData, getLocaleDirection, getPathName, getRemoteEnv, getRoutePath, getShortDateFormat, getShortDateShortTimeFormat, getShortTimeFormat, interpolate, isArray, isNode, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, mapEnumToOptions, ngxsStoragePluginSerialize, noop, parseTenantFromUrl, pipeToLogin, pushValueTo, reloadRoute, removeRememberMe, setRememberMe, setTokenResponseToStorage, storageFactory, takeUntilDestroy, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl, oAuthStorage as ɵa, LocalizationPipe as ɵb, SortPipe as ɵba, StopPropagationDirective as ɵbb, VisibilityDirective as ɵbc, ProfileState as ɵbd, ProfileService as ɵbe, GetProfile as ɵbf, UpdateProfile as ɵbg, ChangePassword as ɵbh, LocaleId as ɵbj, LocaleProvider as ɵbk, ApiInterceptor as ɵbl, TENANT_KEY as ɵbm, HttpWaitService as ɵbn, OAuthConfigurationHandler as ɵbo, noop as ɵbp, getInitialData as ɵbq, localeInitializer as ɵbr, RoutesHandler as ɵbs, AbstractTreeService as ɵbt, AbstractNavTreeService as ɵbu, RoutesService as ɵbv, LocalizationService as ɵc, SessionStateService as ɵd, ConfigStateService as ɵe, AbpApplicationConfigurationService as ɵf, RestService as ɵg, CORE_OPTIONS as ɵh, coreOptionsFactory as ɵi, EnvironmentService as ɵk, AbstractNgModelComponent as ɵl, AutofocusDirective as ɵm, DynamicLayoutComponent as ɵn, SubscriptionService as ɵo, ReplaceableComponentsService as ɵp, RouterEvents as ɵq, ForDirective as ɵr, FormSubmitDirective as ɵs, InitDirective as ɵt, InputEventDebounceDirective as ɵu, PermissionDirective as ɵv, PermissionService as ɵw, ReplaceableRouteContainerComponent as ɵx, ReplaceableTemplateDirective as ɵy, RouterOutletComponent as ɵz };
4111
+ export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpTenantService, AbpValidators, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthGuard, AuthService, AutofocusDirective, BaseCoreModule, BaseTreeNode, CONTAINER_STRATEGY, CONTENT_SECURITY_STRATEGY, CONTENT_STRATEGY, CONTEXT_STRATEGY, COOKIE_LANGUAGE_KEY, CORE_OPTIONS, CROSS_ORIGIN_STRATEGY, ClearContainerStrategy, ComponentContextStrategy, ComponentProjectionStrategy, ConfigStateService, ContainerStrategy, ContentProjectionService, ContentSecurityStrategy, ContentStrategy, ContextStrategy, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DOM_STRATEGY, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleObject, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LazyLoadService, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, LocalizationModule, LocalizationPipe, LocalizationService, LooseContentSecurityStrategy, MultiTenancyService, NAVIGATE_TO_MANAGE_PROFILE, NavigationEvent, NoContentSecurityStrategy, NoContextStrategy, NoCrossOriginStrategy, index as ObjectExtending, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, ScriptContentStrategy, ScriptLoadingStrategy, SessionStateService, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TemplateContextStrategy, TemplateProjectionStrategy, TrackByService, WebHttpUrlEncodingCodec, checkAccessToken, coreOptionsFactory, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, getInitialData, getLocaleDirection, getPathName, getRemoteEnv, getRoutePath, getShortDateFormat, getShortDateShortTimeFormat, getShortTimeFormat, interpolate, isArray, isNode, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, mapEnumToOptions, ngxsStoragePluginSerialize, noop, parseTenantFromUrl, pipeToLogin, pushValueTo, reloadRoute, removeRememberMe, setRememberMe, setTokenResponseToStorage, storageFactory, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
4527
4112
  //# sourceMappingURL=abp-ng.core.js.map