@abp/ng.core 5.0.0-beta.3 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bundles/abp-ng.core-locale.umd.js +3 -3
- package/bundles/abp-ng.core-locale.umd.js.map +1 -1
- package/bundles/abp-ng.core-testing.umd.js +14 -16
- package/bundles/abp-ng.core-testing.umd.js.map +1 -1
- package/bundles/abp-ng.core.umd.js +345 -240
- package/bundles/abp-ng.core.umd.js.map +1 -1
- package/esm2015/abp-ng.core.js +1 -1
- package/esm2015/lib/abstracts/index.js +1 -1
- package/esm2015/lib/abstracts/ng-model.component.js +4 -4
- package/esm2015/lib/components/dynamic-layout.component.js +10 -21
- package/esm2015/lib/components/index.js +1 -1
- package/esm2015/lib/components/replaceable-route-container.component.js +7 -7
- package/esm2015/lib/components/router-outlet.component.js +4 -4
- package/esm2015/lib/constants/different-locales.js +1 -1
- package/esm2015/lib/constants/index.js +1 -1
- package/esm2015/lib/core.module.js +33 -13
- package/esm2015/lib/directives/autofocus.directive.js +11 -5
- package/esm2015/lib/directives/debounce.directive.js +4 -4
- package/esm2015/lib/directives/for.directive.js +4 -4
- package/esm2015/lib/directives/form-submit.directive.js +4 -4
- package/esm2015/lib/directives/index.js +1 -1
- package/esm2015/lib/directives/init.directive.js +4 -4
- package/esm2015/lib/directives/permission.directive.js +8 -10
- package/esm2015/lib/directives/replaceable-template.directive.js +18 -14
- package/esm2015/lib/directives/stop-propagation.directive.js +4 -4
- package/esm2015/lib/enums/common.js +1 -1
- package/esm2015/lib/enums/index.js +1 -1
- package/esm2015/lib/guards/auth.guard.js +4 -4
- package/esm2015/lib/guards/index.js +1 -1
- package/esm2015/lib/guards/permission.guard.js +4 -4
- package/esm2015/lib/handlers/oauth-configuration.handler.js +4 -4
- package/esm2015/lib/handlers/routes.handler.js +4 -4
- package/esm2015/lib/interceptors/api.interceptor.js +4 -4
- package/esm2015/lib/interceptors/index.js +1 -1
- package/esm2015/lib/localization.module.js +5 -5
- package/esm2015/lib/models/auth.js +1 -1
- package/esm2015/lib/models/common.js +1 -1
- package/esm2015/lib/models/dtos.js +1 -1
- package/esm2015/lib/models/environment.js +1 -1
- package/esm2015/lib/models/index.js +1 -1
- package/esm2015/lib/models/localization.js +1 -1
- package/esm2015/lib/models/replaceable-components.js +1 -1
- package/esm2015/lib/models/rest.js +1 -1
- package/esm2015/lib/models/session.js +1 -1
- package/esm2015/lib/models/utility.js +1 -1
- package/esm2015/lib/pipes/index.js +1 -1
- package/esm2015/lib/pipes/localization.pipe.js +15 -6
- package/esm2015/lib/pipes/sort.pipe.js +5 -5
- package/esm2015/lib/providers/cookie-language.provider.js +1 -1
- package/esm2015/lib/providers/locale.provider.js +1 -1
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.js +4 -4
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.js +4 -4
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.js +4 -4
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.js +1 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.js +1 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.js +1 -1
- package/esm2015/lib/proxy/volo/abp/http/modeling/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/http/modeling/models.js +1 -1
- package/esm2015/lib/proxy/volo/abp/localization/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/localization/models.js +1 -1
- package/esm2015/lib/proxy/volo/abp/models.js +1 -1
- package/esm2015/lib/services/auth.service.js +4 -4
- package/esm2015/lib/services/config-state.service.js +4 -4
- package/esm2015/lib/services/content-projection.service.js +4 -4
- package/esm2015/lib/services/dom-insertion.service.js +4 -4
- package/esm2015/lib/services/environment.service.js +4 -4
- package/esm2015/lib/services/http-error-reporter.service.js +4 -4
- package/esm2015/lib/services/http-wait.service.js +4 -4
- package/esm2015/lib/services/index.js +1 -1
- package/esm2015/lib/services/lazy-load.service.js +4 -4
- package/esm2015/lib/services/list.service.js +4 -4
- package/esm2015/lib/services/localization.service.js +95 -53
- package/esm2015/lib/services/multi-tenancy.service.js +4 -4
- package/esm2015/lib/services/permission.service.js +4 -4
- package/esm2015/lib/services/replaceable-components.service.js +4 -4
- package/esm2015/lib/services/resource-wait.service.js +4 -4
- package/esm2015/lib/services/rest.service.js +18 -14
- package/esm2015/lib/services/router-events.service.js +4 -4
- package/esm2015/lib/services/router-wait.service.js +4 -4
- package/esm2015/lib/services/routes.service.js +7 -7
- package/esm2015/lib/services/session-state.service.js +4 -4
- package/esm2015/lib/services/subscription.service.js +4 -4
- package/esm2015/lib/services/track-by.service.js +4 -4
- package/esm2015/lib/strategies/auth-flow.strategy.js +4 -1
- package/esm2015/lib/strategies/container.strategy.js +1 -1
- package/esm2015/lib/strategies/content-security.strategy.js +1 -1
- package/esm2015/lib/strategies/content.strategy.js +1 -1
- package/esm2015/lib/strategies/context.strategy.js +1 -1
- package/esm2015/lib/strategies/cross-origin.strategy.js +1 -1
- package/esm2015/lib/strategies/dom.strategy.js +1 -1
- package/esm2015/lib/strategies/index.js +1 -1
- package/esm2015/lib/strategies/loading.strategy.js +1 -1
- package/esm2015/lib/strategies/projection.strategy.js +1 -1
- package/esm2015/lib/tokens/app-config.token.js +1 -1
- package/esm2015/lib/tokens/cookie-language-key.token.js +1 -1
- package/esm2015/lib/tokens/index.js +2 -1
- package/esm2015/lib/tokens/list.token.js +1 -1
- package/esm2015/lib/tokens/localization.token.js +10 -0
- package/esm2015/lib/tokens/lodaer-delay.token.js +1 -1
- package/esm2015/lib/tokens/manage-profile.token.js +1 -1
- package/esm2015/lib/tokens/options.token.js +1 -1
- package/esm2015/lib/tokens/tenant-key.token.js +1 -1
- package/esm2015/lib/utils/array-utils.js +1 -1
- package/esm2015/lib/utils/auth-utils.js +1 -1
- package/esm2015/lib/utils/common-utils.js +1 -1
- package/esm2015/lib/utils/date-extensions.js +1 -1
- package/esm2015/lib/utils/date-utils.js +1 -1
- package/esm2015/lib/utils/environment-utils.js +1 -1
- package/esm2015/lib/utils/factory-utils.js +1 -1
- package/esm2015/lib/utils/file-utils.js +1 -1
- package/esm2015/lib/utils/form-utils.js +1 -1
- package/esm2015/lib/utils/generator-utils.js +1 -1
- package/esm2015/lib/utils/http-utils.js +1 -1
- package/esm2015/lib/utils/index.js +1 -1
- package/esm2015/lib/utils/initial-utils.js +1 -1
- package/esm2015/lib/utils/internal-store-utils.js +1 -1
- package/esm2015/lib/utils/lazy-load-utils.js +1 -1
- package/esm2015/lib/utils/localization-utils.js +2 -2
- package/esm2015/lib/utils/multi-tenancy-utils.js +1 -1
- package/esm2015/lib/utils/number-utils.js +1 -1
- package/esm2015/lib/utils/object-utils.js +1 -1
- package/esm2015/lib/utils/route-utils.js +1 -1
- package/esm2015/lib/utils/string-utils.js +1 -1
- package/esm2015/lib/utils/tree-utils.js +1 -1
- package/esm2015/lib/validators/age.validator.js +1 -1
- package/esm2015/lib/validators/credit-card.validator.js +1 -1
- package/esm2015/lib/validators/index.js +1 -1
- package/esm2015/lib/validators/range.validator.js +1 -1
- package/esm2015/lib/validators/required.validator.js +1 -1
- package/esm2015/lib/validators/string-length.validator.js +1 -1
- package/esm2015/lib/validators/url.validator.js +1 -1
- package/esm2015/locale/abp-ng.core-locale.js +1 -1
- package/esm2015/locale/public-api.js +1 -1
- package/esm2015/locale/utils/register-locale.js +2 -2
- package/esm2015/public-api.js +1 -1
- package/esm2015/testing/abp-ng.core-testing.js +1 -1
- package/esm2015/testing/lib/core-testing.module.js +5 -5
- package/esm2015/testing/lib/services/index.js +1 -1
- package/esm2015/testing/lib/services/mock-permission.service.js +4 -4
- package/esm2015/testing/lib/services/mock-rest.service.js +4 -4
- package/esm2015/testing/lib/utils/clear-page.util.js +1 -1
- package/esm2015/testing/lib/utils/index.js +1 -1
- package/esm2015/testing/lib/utils/wait.util.js +1 -1
- package/esm2015/testing/public-api.js +1 -1
- package/fesm2015/abp-ng.core-locale.js +1 -1
- package/fesm2015/abp-ng.core-locale.js.map +1 -1
- package/fesm2015/abp-ng.core-testing.js +10 -10
- package/fesm2015/abp-ng.core-testing.js.map +1 -1
- package/fesm2015/abp-ng.core.js +330 -248
- package/fesm2015/abp-ng.core.js.map +1 -1
- package/lib/core.module.d.ts +1 -0
- package/lib/directives/autofocus.directive.d.ts +3 -1
- package/lib/directives/permission.directive.d.ts +4 -6
- package/lib/models/common.d.ts +13 -1
- package/lib/models/replaceable-components.d.ts +2 -2
- package/lib/models/rest.d.ts +6 -4
- package/lib/pipes/localization.pipe.d.ts +1 -1
- package/lib/services/environment.service.d.ts +2 -2
- package/lib/services/http-error-reporter.service.d.ts +1 -1
- package/lib/services/list.service.d.ts +1 -1
- package/lib/services/localization.service.d.ts +8 -2
- package/lib/services/rest.service.d.ts +1 -0
- package/lib/tokens/index.d.ts +1 -0
- package/lib/tokens/localization.token.d.ts +6 -0
- package/lib/utils/localization-utils.d.ts +1 -1
- package/package.json +2 -2
- package/esm2015/abp-ng.core.js.map +0 -1
- package/esm2015/lib/abstracts/index.js.map +0 -1
- package/esm2015/lib/abstracts/ng-model.component.js.map +0 -1
- package/esm2015/lib/components/dynamic-layout.component.js.map +0 -1
- package/esm2015/lib/components/index.js.map +0 -1
- package/esm2015/lib/components/replaceable-route-container.component.js.map +0 -1
- package/esm2015/lib/components/router-outlet.component.js.map +0 -1
- package/esm2015/lib/constants/different-locales.js.map +0 -1
- package/esm2015/lib/constants/index.js.map +0 -1
- package/esm2015/lib/core.module.js.map +0 -1
- package/esm2015/lib/directives/autofocus.directive.js.map +0 -1
- package/esm2015/lib/directives/debounce.directive.js.map +0 -1
- package/esm2015/lib/directives/for.directive.js.map +0 -1
- package/esm2015/lib/directives/form-submit.directive.js.map +0 -1
- package/esm2015/lib/directives/index.js.map +0 -1
- package/esm2015/lib/directives/init.directive.js.map +0 -1
- package/esm2015/lib/directives/permission.directive.js.map +0 -1
- package/esm2015/lib/directives/replaceable-template.directive.js.map +0 -1
- package/esm2015/lib/directives/stop-propagation.directive.js.map +0 -1
- package/esm2015/lib/enums/common.js.map +0 -1
- package/esm2015/lib/enums/index.js.map +0 -1
- package/esm2015/lib/guards/auth.guard.js.map +0 -1
- package/esm2015/lib/guards/index.js.map +0 -1
- package/esm2015/lib/guards/permission.guard.js.map +0 -1
- package/esm2015/lib/handlers/oauth-configuration.handler.js.map +0 -1
- package/esm2015/lib/handlers/routes.handler.js.map +0 -1
- package/esm2015/lib/interceptors/api.interceptor.js.map +0 -1
- package/esm2015/lib/interceptors/index.js.map +0 -1
- package/esm2015/lib/localization.module.js.map +0 -1
- package/esm2015/lib/models/auth.js.map +0 -1
- package/esm2015/lib/models/common.js.map +0 -1
- package/esm2015/lib/models/dtos.js.map +0 -1
- package/esm2015/lib/models/environment.js.map +0 -1
- package/esm2015/lib/models/index.js.map +0 -1
- package/esm2015/lib/models/localization.js.map +0 -1
- package/esm2015/lib/models/replaceable-components.js.map +0 -1
- package/esm2015/lib/models/rest.js.map +0 -1
- package/esm2015/lib/models/session.js.map +0 -1
- package/esm2015/lib/models/utility.js.map +0 -1
- package/esm2015/lib/pipes/index.js.map +0 -1
- package/esm2015/lib/pipes/localization.pipe.js.map +0 -1
- package/esm2015/lib/pipes/sort.pipe.js.map +0 -1
- package/esm2015/lib/providers/cookie-language.provider.js.map +0 -1
- package/esm2015/lib/providers/locale.provider.js.map +0 -1
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.js.map +0 -1
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/index.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/http/modeling/index.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/http/modeling/models.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/localization/index.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/localization/models.js.map +0 -1
- package/esm2015/lib/proxy/volo/abp/models.js.map +0 -1
- package/esm2015/lib/services/auth.service.js.map +0 -1
- package/esm2015/lib/services/config-state.service.js.map +0 -1
- package/esm2015/lib/services/content-projection.service.js.map +0 -1
- package/esm2015/lib/services/dom-insertion.service.js.map +0 -1
- package/esm2015/lib/services/environment.service.js.map +0 -1
- package/esm2015/lib/services/http-error-reporter.service.js.map +0 -1
- package/esm2015/lib/services/http-wait.service.js.map +0 -1
- package/esm2015/lib/services/index.js.map +0 -1
- package/esm2015/lib/services/lazy-load.service.js.map +0 -1
- package/esm2015/lib/services/list.service.js.map +0 -1
- package/esm2015/lib/services/localization.service.js.map +0 -1
- package/esm2015/lib/services/multi-tenancy.service.js.map +0 -1
- package/esm2015/lib/services/permission.service.js.map +0 -1
- package/esm2015/lib/services/replaceable-components.service.js.map +0 -1
- package/esm2015/lib/services/resource-wait.service.js.map +0 -1
- package/esm2015/lib/services/rest.service.js.map +0 -1
- package/esm2015/lib/services/router-events.service.js.map +0 -1
- package/esm2015/lib/services/router-wait.service.js.map +0 -1
- package/esm2015/lib/services/routes.service.js.map +0 -1
- package/esm2015/lib/services/session-state.service.js.map +0 -1
- package/esm2015/lib/services/subscription.service.js.map +0 -1
- package/esm2015/lib/services/track-by.service.js.map +0 -1
- package/esm2015/lib/strategies/auth-flow.strategy.js.map +0 -1
- package/esm2015/lib/strategies/container.strategy.js.map +0 -1
- package/esm2015/lib/strategies/content-security.strategy.js.map +0 -1
- package/esm2015/lib/strategies/content.strategy.js.map +0 -1
- package/esm2015/lib/strategies/context.strategy.js.map +0 -1
- package/esm2015/lib/strategies/cross-origin.strategy.js.map +0 -1
- package/esm2015/lib/strategies/dom.strategy.js.map +0 -1
- package/esm2015/lib/strategies/index.js.map +0 -1
- package/esm2015/lib/strategies/loading.strategy.js.map +0 -1
- package/esm2015/lib/strategies/projection.strategy.js.map +0 -1
- package/esm2015/lib/tokens/app-config.token.js.map +0 -1
- package/esm2015/lib/tokens/cookie-language-key.token.js.map +0 -1
- package/esm2015/lib/tokens/index.js.map +0 -1
- package/esm2015/lib/tokens/list.token.js.map +0 -1
- package/esm2015/lib/tokens/lodaer-delay.token.js.map +0 -1
- package/esm2015/lib/tokens/manage-profile.token.js.map +0 -1
- package/esm2015/lib/tokens/options.token.js.map +0 -1
- package/esm2015/lib/tokens/tenant-key.token.js.map +0 -1
- package/esm2015/lib/utils/array-utils.js.map +0 -1
- package/esm2015/lib/utils/auth-utils.js.map +0 -1
- package/esm2015/lib/utils/common-utils.js.map +0 -1
- package/esm2015/lib/utils/date-extensions.js.map +0 -1
- package/esm2015/lib/utils/date-utils.js.map +0 -1
- package/esm2015/lib/utils/environment-utils.js.map +0 -1
- package/esm2015/lib/utils/factory-utils.js.map +0 -1
- package/esm2015/lib/utils/file-utils.js.map +0 -1
- package/esm2015/lib/utils/form-utils.js.map +0 -1
- package/esm2015/lib/utils/generator-utils.js.map +0 -1
- package/esm2015/lib/utils/http-utils.js.map +0 -1
- package/esm2015/lib/utils/index.js.map +0 -1
- package/esm2015/lib/utils/initial-utils.js.map +0 -1
- package/esm2015/lib/utils/internal-store-utils.js.map +0 -1
- package/esm2015/lib/utils/lazy-load-utils.js.map +0 -1
- package/esm2015/lib/utils/localization-utils.js.map +0 -1
- package/esm2015/lib/utils/multi-tenancy-utils.js.map +0 -1
- package/esm2015/lib/utils/number-utils.js.map +0 -1
- package/esm2015/lib/utils/object-utils.js.map +0 -1
- package/esm2015/lib/utils/route-utils.js.map +0 -1
- package/esm2015/lib/utils/string-utils.js.map +0 -1
- package/esm2015/lib/utils/tree-utils.js.map +0 -1
- package/esm2015/lib/validators/age.validator.js.map +0 -1
- package/esm2015/lib/validators/credit-card.validator.js.map +0 -1
- package/esm2015/lib/validators/index.js.map +0 -1
- package/esm2015/lib/validators/range.validator.js.map +0 -1
- package/esm2015/lib/validators/required.validator.js.map +0 -1
- package/esm2015/lib/validators/string-length.validator.js.map +0 -1
- package/esm2015/lib/validators/url.validator.js.map +0 -1
- package/esm2015/locale/abp-ng.core-locale.js.map +0 -1
- package/esm2015/locale/public-api.js.map +0 -1
- package/esm2015/locale/utils/register-locale.js.map +0 -1
- package/esm2015/public-api.js.map +0 -1
- package/esm2015/testing/abp-ng.core-testing.js.map +0 -1
- package/esm2015/testing/lib/core-testing.module.js.map +0 -1
- package/esm2015/testing/lib/services/index.js.map +0 -1
- package/esm2015/testing/lib/services/mock-permission.service.js.map +0 -1
- package/esm2015/testing/lib/services/mock-rest.service.js.map +0 -1
- package/esm2015/testing/lib/utils/clear-page.util.js.map +0 -1
- package/esm2015/testing/lib/utils/index.js.map +0 -1
- package/esm2015/testing/lib/utils/wait.util.js.map +0 -1
- package/esm2015/testing/public-api.js.map +0 -1
package/fesm2015/abp-ng.core.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectorRef, Component, Input, InjectionToken, Injectable, Inject, Optional, SkipSelf,
|
|
2
|
+
import { ChangeDetectorRef, Component, Input, InjectionToken, Injectable, Inject, isDevMode, Optional, SkipSelf, Directive, EventEmitter, Output, Self, Injector, Pipe, NgModule, APP_INITIALIZER, LOCALE_ID, NgModuleFactory, Compiler, ComponentFactoryResolver, ApplicationRef, inject } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/router';
|
|
4
4
|
import { PRIMARY_OUTLET, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ActivatedRoute, Router, RouterModule } from '@angular/router';
|
|
5
5
|
import * as i5 from '@angular/common';
|
|
6
6
|
import { registerLocaleData, DOCUMENT, CommonModule } from '@angular/common';
|
|
7
|
-
import { BehaviorSubject, Subject, throwError, from, Subscription, fromEvent, of, timer, pipe, Observable, concat, ReplaySubject } from 'rxjs';
|
|
7
|
+
import { BehaviorSubject, Subject, throwError, combineLatest, from, Subscription, fromEvent, of, timer, pipe, Observable, concat, ReplaySubject } from 'rxjs';
|
|
8
8
|
import { map, distinctUntilChanged, filter, catchError, switchMap, take, mapTo, debounceTime, takeUntil, tap, finalize, retryWhen, delay, shareReplay } from 'rxjs/operators';
|
|
9
9
|
import { __rest, __awaiter } from 'tslib';
|
|
10
10
|
import * as i1 from '@angular/common/http';
|
|
11
|
-
import { HttpHeaders, HttpClient, HttpClientModule, HttpClientXsrfModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
11
|
+
import { HttpParams, HttpHeaders, HttpClient, HttpClientModule, HttpClientXsrfModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
12
12
|
import compare from 'just-compare';
|
|
13
13
|
import * as i1$2 from '@angular/forms';
|
|
14
14
|
import { FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
@@ -56,9 +56,9 @@ class AbstractNgModelComponent {
|
|
|
56
56
|
this.disabled = isDisabled;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
60
|
-
AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
59
|
+
AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", 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.13", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{ template: '' }]
|
|
64
64
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { disabled: [{
|
|
@@ -73,6 +73,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
73
73
|
type: Input
|
|
74
74
|
}] } });
|
|
75
75
|
|
|
76
|
+
const LOCALIZATIONS = new InjectionToken('LOCALIZATIONS');
|
|
77
|
+
function localizationContributor(localizations) {
|
|
78
|
+
if (localizations) {
|
|
79
|
+
localizations$.next([...localizations$.value, ...localizations]);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
const localizations$ = new BehaviorSubject([]);
|
|
83
|
+
|
|
76
84
|
const CORE_OPTIONS = new InjectionToken('CORE_OPTIONS');
|
|
77
85
|
function coreOptionsFactory(_a) {
|
|
78
86
|
var options = __rest(_a, []);
|
|
@@ -113,7 +121,7 @@ function createLocalizationPipeKeyGenerator(localization) {
|
|
|
113
121
|
function createLocalizationFinder(localization) {
|
|
114
122
|
const localize = createLocalizer(localization);
|
|
115
123
|
return (resourceNames, keys) => {
|
|
116
|
-
resourceNames = resourceNames.concat(localization.defaultResourceName).filter(Boolean);
|
|
124
|
+
resourceNames = resourceNames.concat(localization.defaultResourceName || '').filter(Boolean);
|
|
117
125
|
const resourceCount = resourceNames.length;
|
|
118
126
|
const keyCount = keys.length;
|
|
119
127
|
for (let i = 0; i < resourceCount; i++) {
|
|
@@ -271,9 +279,9 @@ class EnvironmentService {
|
|
|
271
279
|
this.store.set(environment);
|
|
272
280
|
}
|
|
273
281
|
}
|
|
274
|
-
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
275
|
-
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
282
|
+
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
283
|
+
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
277
285
|
type: Injectable,
|
|
278
286
|
args: [{ providedIn: 'root' }]
|
|
279
287
|
}] });
|
|
@@ -297,9 +305,9 @@ class HttpErrorReporterService {
|
|
|
297
305
|
return this._errors$.value;
|
|
298
306
|
}
|
|
299
307
|
}
|
|
300
|
-
HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
301
|
-
HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
308
|
+
HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
309
|
+
HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpErrorReporterService, decorators: [{
|
|
303
311
|
type: Injectable,
|
|
304
312
|
args: [{ providedIn: 'root' }]
|
|
305
313
|
}] });
|
|
@@ -325,22 +333,26 @@ class RestService {
|
|
|
325
333
|
const { observe = "body" /* Body */, skipHandleError } = config;
|
|
326
334
|
return this.http
|
|
327
335
|
.request(method, api + request.url, Object.assign(Object.assign({ observe }, (params && {
|
|
328
|
-
params:
|
|
329
|
-
const value = params[key];
|
|
330
|
-
if (isUndefinedOrEmptyString(value))
|
|
331
|
-
return acc;
|
|
332
|
-
if (value === null && !this.options.sendNullsAsQueryParam)
|
|
333
|
-
return acc;
|
|
334
|
-
acc[key] = value;
|
|
335
|
-
return acc;
|
|
336
|
-
}, {}),
|
|
336
|
+
params: this.getParams(params, config.httpParamEncoder),
|
|
337
337
|
})), options))
|
|
338
338
|
.pipe(catchError(err => (skipHandleError ? throwError(err) : this.handleError(err))));
|
|
339
339
|
}
|
|
340
|
+
getParams(params, encoder) {
|
|
341
|
+
const httpParams = encoder ? new HttpParams({ encoder }) : new HttpParams();
|
|
342
|
+
return Object.keys(params).reduce((acc, key) => {
|
|
343
|
+
const value = params[key];
|
|
344
|
+
if (isUndefinedOrEmptyString(value))
|
|
345
|
+
return acc;
|
|
346
|
+
if (value === null && !this.options.sendNullsAsQueryParam)
|
|
347
|
+
return acc;
|
|
348
|
+
acc = acc.set(key, value);
|
|
349
|
+
return acc;
|
|
350
|
+
}, httpParams);
|
|
351
|
+
}
|
|
340
352
|
}
|
|
341
|
-
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
342
|
-
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
353
|
+
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
354
|
+
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RestService, decorators: [{
|
|
344
356
|
type: Injectable,
|
|
345
357
|
args: [{
|
|
346
358
|
providedIn: 'root',
|
|
@@ -362,9 +374,9 @@ class AbpApplicationConfigurationService {
|
|
|
362
374
|
}, { apiName: this.apiName });
|
|
363
375
|
}
|
|
364
376
|
}
|
|
365
|
-
AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
366
|
-
AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
377
|
+
AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
378
|
+
AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
|
|
379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
|
|
368
380
|
type: Injectable,
|
|
369
381
|
args: [{
|
|
370
382
|
providedIn: 'root',
|
|
@@ -476,9 +488,9 @@ class ConfigStateService {
|
|
|
476
488
|
}));
|
|
477
489
|
}
|
|
478
490
|
}
|
|
479
|
-
ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
480
|
-
ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
491
|
+
ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
492
|
+
ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ConfigStateService, decorators: [{
|
|
482
494
|
type: Injectable,
|
|
483
495
|
args: [{
|
|
484
496
|
providedIn: 'root',
|
|
@@ -554,9 +566,9 @@ class SessionStateService {
|
|
|
554
566
|
document.documentElement.setAttribute('lang', language);
|
|
555
567
|
}
|
|
556
568
|
}
|
|
557
|
-
SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
558
|
-
SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
569
|
+
SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
570
|
+
SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SessionStateService, providedIn: 'root' });
|
|
571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SessionStateService, decorators: [{
|
|
560
572
|
type: Injectable,
|
|
561
573
|
args: [{
|
|
562
574
|
providedIn: 'root',
|
|
@@ -570,9 +582,12 @@ class LocalizationService {
|
|
|
570
582
|
this.configState = configState;
|
|
571
583
|
this.latestLang = this.sessionState.getLanguage();
|
|
572
584
|
this._languageChange$ = new Subject();
|
|
585
|
+
this.uiLocalizations$ = new BehaviorSubject(new Map());
|
|
586
|
+
this.localizations$ = new BehaviorSubject(new Map());
|
|
573
587
|
if (otherInstance)
|
|
574
588
|
throw new Error('LocalizationService should have only one instance.');
|
|
575
589
|
this.listenToSetLanguage();
|
|
590
|
+
this.initLocalizationValues();
|
|
576
591
|
}
|
|
577
592
|
/**
|
|
578
593
|
* Returns currently selected language
|
|
@@ -583,6 +598,44 @@ class LocalizationService {
|
|
|
583
598
|
get languageChange$() {
|
|
584
599
|
return this._languageChange$.asObservable();
|
|
585
600
|
}
|
|
601
|
+
initLocalizationValues() {
|
|
602
|
+
localizations$.subscribe(val => this.addLocalization(val));
|
|
603
|
+
const remoteLocalizations$ = this.configState.getDeep$('localization.values');
|
|
604
|
+
const currentLanguage$ = this.sessionState.getLanguage$();
|
|
605
|
+
const uiLocalizations$ = combineLatest([currentLanguage$, this.uiLocalizations$]).pipe(map(([currentLang, localizations]) => localizations.get(currentLang)));
|
|
606
|
+
combineLatest([remoteLocalizations$, uiLocalizations$])
|
|
607
|
+
.pipe(map(([remote, local]) => {
|
|
608
|
+
if (remote) {
|
|
609
|
+
if (!local) {
|
|
610
|
+
local = new Map();
|
|
611
|
+
}
|
|
612
|
+
Object.entries(remote).forEach(entry => {
|
|
613
|
+
const resourceName = entry[0];
|
|
614
|
+
const remoteTexts = entry[1];
|
|
615
|
+
let resource = local.get(resourceName) || {};
|
|
616
|
+
resource = Object.assign(Object.assign({}, resource), remoteTexts);
|
|
617
|
+
local.set(resourceName, resource);
|
|
618
|
+
});
|
|
619
|
+
}
|
|
620
|
+
return local;
|
|
621
|
+
}))
|
|
622
|
+
.subscribe(val => this.localizations$.next(val));
|
|
623
|
+
}
|
|
624
|
+
addLocalization(localizations) {
|
|
625
|
+
if (!localizations)
|
|
626
|
+
return;
|
|
627
|
+
const localizationMap = this.uiLocalizations$.value;
|
|
628
|
+
localizations.forEach(loc => {
|
|
629
|
+
const cultureMap = localizationMap.get(loc.culture) || new Map();
|
|
630
|
+
loc.resources.forEach(res => {
|
|
631
|
+
let resource = cultureMap.get(res.resourceName) || {};
|
|
632
|
+
resource = Object.assign(Object.assign({}, resource), res.texts);
|
|
633
|
+
cultureMap.set(res.resourceName, resource);
|
|
634
|
+
});
|
|
635
|
+
localizationMap.set(loc.culture, cultureMap);
|
|
636
|
+
});
|
|
637
|
+
this.uiLocalizations$.next(localizationMap);
|
|
638
|
+
}
|
|
586
639
|
listenToSetLanguage() {
|
|
587
640
|
this.sessionState
|
|
588
641
|
.onLanguageChange$()
|
|
@@ -605,13 +658,13 @@ class LocalizationService {
|
|
|
605
658
|
get(key, ...interpolateParams) {
|
|
606
659
|
return this.configState
|
|
607
660
|
.getAll$()
|
|
608
|
-
.pipe(map(state => getLocalization(state, key, ...interpolateParams)));
|
|
661
|
+
.pipe(map(state => this.getLocalization(state, key, ...interpolateParams)));
|
|
609
662
|
}
|
|
610
663
|
getResource(resourceName) {
|
|
611
|
-
return this.
|
|
664
|
+
return this.localizations$.value.get(resourceName);
|
|
612
665
|
}
|
|
613
666
|
getResource$(resourceName) {
|
|
614
|
-
return this.
|
|
667
|
+
return this.localizations$.pipe(map(res => res.get(resourceName)));
|
|
615
668
|
}
|
|
616
669
|
/**
|
|
617
670
|
* Returns localized text with the given interpolation parameters in current language.
|
|
@@ -619,7 +672,7 @@ class LocalizationService {
|
|
|
619
672
|
* @param interpolateParams Values to intepolate.
|
|
620
673
|
*/
|
|
621
674
|
instant(key, ...interpolateParams) {
|
|
622
|
-
return getLocalization(this.configState.getAll(), key, ...interpolateParams);
|
|
675
|
+
return this.getLocalization(this.configState.getAll(), key, ...interpolateParams);
|
|
623
676
|
}
|
|
624
677
|
localize(resourceName, key, defaultValue) {
|
|
625
678
|
return this.configState.getOne$('localization').pipe(map(createLocalizer), map(localize => localize(resourceName, key, defaultValue)));
|
|
@@ -635,61 +688,61 @@ class LocalizationService {
|
|
|
635
688
|
const localization = this.configState.getOne('localization');
|
|
636
689
|
return createLocalizerWithFallback(localization)(resourceNames, keys, defaultValue);
|
|
637
690
|
}
|
|
691
|
+
getLocalization(state, key, ...interpolateParams) {
|
|
692
|
+
if (!key)
|
|
693
|
+
key = '';
|
|
694
|
+
let defaultValue;
|
|
695
|
+
if (typeof key !== 'string') {
|
|
696
|
+
defaultValue = key.defaultValue;
|
|
697
|
+
key = key.key;
|
|
698
|
+
}
|
|
699
|
+
const keys = key.split('::');
|
|
700
|
+
const warn = (message) => {
|
|
701
|
+
if (isDevMode)
|
|
702
|
+
console.warn(message);
|
|
703
|
+
};
|
|
704
|
+
if (keys.length < 2) {
|
|
705
|
+
warn('The localization source separator (::) not found.');
|
|
706
|
+
return defaultValue || key;
|
|
707
|
+
}
|
|
708
|
+
if (!state.localization)
|
|
709
|
+
return defaultValue || keys[1];
|
|
710
|
+
const sourceName = keys[0] || state.localization.defaultResourceName;
|
|
711
|
+
const sourceKey = keys[1];
|
|
712
|
+
if (sourceName === '_') {
|
|
713
|
+
return defaultValue || sourceKey;
|
|
714
|
+
}
|
|
715
|
+
if (!sourceName) {
|
|
716
|
+
warn('Localization source name is not specified and the defaultResourceName was not defined!');
|
|
717
|
+
return defaultValue || sourceKey;
|
|
718
|
+
}
|
|
719
|
+
const source = this.localizations$.value.get(sourceName);
|
|
720
|
+
if (!source) {
|
|
721
|
+
warn('Could not find localization source: ' + sourceName);
|
|
722
|
+
return defaultValue || sourceKey;
|
|
723
|
+
}
|
|
724
|
+
let localization = source[sourceKey];
|
|
725
|
+
if (typeof localization === 'undefined') {
|
|
726
|
+
return defaultValue || sourceKey;
|
|
727
|
+
}
|
|
728
|
+
interpolateParams = interpolateParams.filter(params => params != null);
|
|
729
|
+
if (localization)
|
|
730
|
+
localization = interpolate(localization, interpolateParams);
|
|
731
|
+
if (typeof localization !== 'string')
|
|
732
|
+
localization = '';
|
|
733
|
+
return localization || defaultValue || key;
|
|
734
|
+
}
|
|
638
735
|
}
|
|
639
|
-
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
640
|
-
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
736
|
+
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
737
|
+
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationService, providedIn: 'root' });
|
|
738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationService, decorators: [{
|
|
642
739
|
type: Injectable,
|
|
643
740
|
args: [{ providedIn: 'root' }]
|
|
644
741
|
}], ctorParameters: function () { return [{ type: SessionStateService }, { type: i0.Injector }, { type: LocalizationService, decorators: [{
|
|
645
742
|
type: Optional
|
|
646
743
|
}, {
|
|
647
744
|
type: SkipSelf
|
|
648
|
-
}] }, { type: ConfigStateService }]; } });
|
|
649
|
-
function getLocalization(state, key, ...interpolateParams) {
|
|
650
|
-
if (!key)
|
|
651
|
-
key = '';
|
|
652
|
-
let defaultValue;
|
|
653
|
-
if (typeof key !== 'string') {
|
|
654
|
-
defaultValue = key.defaultValue;
|
|
655
|
-
key = key.key;
|
|
656
|
-
}
|
|
657
|
-
const keys = key.split('::');
|
|
658
|
-
const warn = (message) => {
|
|
659
|
-
if (isDevMode)
|
|
660
|
-
console.warn(message);
|
|
661
|
-
};
|
|
662
|
-
if (keys.length < 2) {
|
|
663
|
-
warn('The localization source separator (::) not found.');
|
|
664
|
-
return defaultValue || key;
|
|
665
|
-
}
|
|
666
|
-
if (!state.localization)
|
|
667
|
-
return defaultValue || keys[1];
|
|
668
|
-
const sourceName = keys[0] || state.localization.defaultResourceName;
|
|
669
|
-
const sourceKey = keys[1];
|
|
670
|
-
if (sourceName === '_') {
|
|
671
|
-
return defaultValue || sourceKey;
|
|
672
|
-
}
|
|
673
|
-
if (!sourceName) {
|
|
674
|
-
warn('Localization source name is not specified and the defaultResourceName was not defined!');
|
|
675
|
-
return defaultValue || sourceKey;
|
|
676
|
-
}
|
|
677
|
-
const source = state.localization.values[sourceName];
|
|
678
|
-
if (!source) {
|
|
679
|
-
warn('Could not find localization source: ' + sourceName);
|
|
680
|
-
return defaultValue || sourceKey;
|
|
681
|
-
}
|
|
682
|
-
let localization = source[sourceKey];
|
|
683
|
-
if (typeof localization === 'undefined') {
|
|
684
|
-
return defaultValue || sourceKey;
|
|
685
|
-
}
|
|
686
|
-
interpolateParams = interpolateParams.filter(params => params != null);
|
|
687
|
-
if (localization)
|
|
688
|
-
localization = interpolate(localization, interpolateParams);
|
|
689
|
-
if (typeof localization !== 'string')
|
|
690
|
-
localization = '';
|
|
691
|
-
return localization || defaultValue || key;
|
|
692
|
-
}
|
|
745
|
+
}] }, { type: ConfigStateService }]; } });
|
|
693
746
|
|
|
694
747
|
function findRoute(routesService, path) {
|
|
695
748
|
const node = routesService.find(route => route.path === path);
|
|
@@ -750,9 +803,9 @@ class ReplaceableComponentsService {
|
|
|
750
803
|
return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
|
|
751
804
|
}
|
|
752
805
|
}
|
|
753
|
-
ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
754
|
-
ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
806
|
+
ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ReplaceableComponentsService, deps: [{ token: i0.NgZone }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
807
|
+
ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
|
|
808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
|
|
756
809
|
type: Injectable,
|
|
757
810
|
args: [{ providedIn: 'root' }]
|
|
758
811
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.Router }]; } });
|
|
@@ -783,9 +836,9 @@ class RouterEvents {
|
|
|
783
836
|
return this.getNavigationEvents(...keys);
|
|
784
837
|
}
|
|
785
838
|
}
|
|
786
|
-
RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
787
|
-
RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
839
|
+
RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RouterEvents, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
840
|
+
RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RouterEvents, providedIn: 'root' });
|
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RouterEvents, decorators: [{
|
|
789
842
|
type: Injectable,
|
|
790
843
|
args: [{ providedIn: 'root' }]
|
|
791
844
|
}], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
|
|
@@ -903,9 +956,9 @@ class PermissionService {
|
|
|
903
956
|
return grantedPolicies[key] || false;
|
|
904
957
|
}
|
|
905
958
|
}
|
|
906
|
-
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
907
|
-
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
959
|
+
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
960
|
+
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PermissionService, providedIn: 'root' });
|
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PermissionService, decorators: [{
|
|
909
962
|
type: Injectable,
|
|
910
963
|
args: [{ providedIn: 'root' }]
|
|
911
964
|
}], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
|
|
@@ -1036,16 +1089,16 @@ class AbstractNavTreeService extends AbstractTreeService {
|
|
|
1036
1089
|
this.subscription.unsubscribe();
|
|
1037
1090
|
}
|
|
1038
1091
|
}
|
|
1039
|
-
AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1040
|
-
AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1092
|
+
AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1093
|
+
AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbstractNavTreeService });
|
|
1094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbstractNavTreeService, decorators: [{
|
|
1042
1095
|
type: Injectable
|
|
1043
1096
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1044
1097
|
class RoutesService extends AbstractNavTreeService {
|
|
1045
1098
|
}
|
|
1046
|
-
RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1047
|
-
RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1099
|
+
RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
1100
|
+
RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RoutesService, providedIn: 'root' });
|
|
1101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RoutesService, decorators: [{
|
|
1049
1102
|
type: Injectable,
|
|
1050
1103
|
args: [{ providedIn: 'root' }]
|
|
1051
1104
|
}] });
|
|
@@ -1082,9 +1135,9 @@ class SubscriptionService {
|
|
|
1082
1135
|
this.subscription = new Subscription();
|
|
1083
1136
|
}
|
|
1084
1137
|
}
|
|
1085
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1086
|
-
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1138
|
+
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1139
|
+
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SubscriptionService });
|
|
1140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
1088
1141
|
type: Injectable
|
|
1089
1142
|
}] });
|
|
1090
1143
|
|
|
@@ -1101,12 +1154,14 @@ class DynamicLayoutComponent {
|
|
|
1101
1154
|
['empty', 'Theme.EmptyLayoutComponent'],
|
|
1102
1155
|
]);
|
|
1103
1156
|
this.isLayoutVisible = true;
|
|
1104
|
-
if (dynamicLayoutComponent)
|
|
1157
|
+
if (dynamicLayoutComponent) {
|
|
1158
|
+
if (isDevMode)
|
|
1159
|
+
console.warn('DynamicLayoutComponent must be used only in AppComponent.');
|
|
1105
1160
|
return;
|
|
1161
|
+
}
|
|
1106
1162
|
this.route = injector.get(ActivatedRoute);
|
|
1107
1163
|
this.router = injector.get(Router);
|
|
1108
1164
|
this.routes = injector.get(RoutesService);
|
|
1109
|
-
this.getLayout();
|
|
1110
1165
|
this.checkLayoutOnNavigationEnd();
|
|
1111
1166
|
this.listenToLanguageChange();
|
|
1112
1167
|
}
|
|
@@ -1146,25 +1201,13 @@ class DynamicLayoutComponent {
|
|
|
1146
1201
|
return this.replaceableComponents.get(key);
|
|
1147
1202
|
}
|
|
1148
1203
|
}
|
|
1149
|
-
DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1150
|
-
DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1151
|
-
|
|
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: [{
|
|
1204
|
+
DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", 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 });
|
|
1205
|
+
DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DynamicLayoutComponent, selector: "abp-dynamic-layout", providers: [SubscriptionService], ngImport: i0, template: ` <ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `, isInline: true, directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
|
|
1206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
|
|
1158
1207
|
type: Component,
|
|
1159
1208
|
args: [{
|
|
1160
1209
|
selector: 'abp-dynamic-layout',
|
|
1161
|
-
template: `
|
|
1162
|
-
<ng-container *ngTemplateOutlet="layout ? componentOutlet : routerOutlet"></ng-container>
|
|
1163
|
-
<ng-template #routerOutlet><router-outlet></router-outlet></ng-template>
|
|
1164
|
-
<ng-template #componentOutlet
|
|
1165
|
-
><ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container
|
|
1166
|
-
></ng-template>
|
|
1167
|
-
`,
|
|
1210
|
+
template: ` <ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `,
|
|
1168
1211
|
providers: [SubscriptionService],
|
|
1169
1212
|
}]
|
|
1170
1213
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: LocalizationService }, { type: ReplaceableComponentsService }, { type: SubscriptionService }, { type: RouterEvents }, { type: DynamicLayoutComponent, decorators: [{
|
|
@@ -1190,16 +1233,16 @@ class ReplaceableRouteContainerComponent {
|
|
|
1190
1233
|
});
|
|
1191
1234
|
}
|
|
1192
1235
|
}
|
|
1193
|
-
ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1194
|
-
ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1195
|
-
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
1236
|
+
ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1237
|
+
ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
|
|
1238
|
+
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
1196
1239
|
`, isInline: true, directives: [{ type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
|
|
1197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
|
|
1198
1241
|
type: Component,
|
|
1199
1242
|
args: [{
|
|
1200
1243
|
selector: 'abp-replaceable-route-container',
|
|
1201
|
-
template: `
|
|
1202
|
-
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
1244
|
+
template: `
|
|
1245
|
+
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
1203
1246
|
`,
|
|
1204
1247
|
providers: [SubscriptionService],
|
|
1205
1248
|
}]
|
|
@@ -1207,9 +1250,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1207
1250
|
|
|
1208
1251
|
class RouterOutletComponent {
|
|
1209
1252
|
}
|
|
1210
|
-
RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1211
|
-
RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1253
|
+
RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1254
|
+
RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", 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"] }] });
|
|
1255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RouterOutletComponent, decorators: [{
|
|
1213
1256
|
type: Component,
|
|
1214
1257
|
args: [{
|
|
1215
1258
|
selector: 'abp-router-outlet',
|
|
@@ -1557,15 +1600,21 @@ const differentLocales = {
|
|
|
1557
1600
|
class AutofocusDirective {
|
|
1558
1601
|
constructor(elRef) {
|
|
1559
1602
|
this.elRef = elRef;
|
|
1560
|
-
this.
|
|
1603
|
+
this._delay = 0;
|
|
1604
|
+
}
|
|
1605
|
+
set delay(val) {
|
|
1606
|
+
this._delay = Number(val) || 0;
|
|
1607
|
+
}
|
|
1608
|
+
get delay() {
|
|
1609
|
+
return this._delay;
|
|
1561
1610
|
}
|
|
1562
1611
|
ngAfterViewInit() {
|
|
1563
1612
|
setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
|
|
1564
1613
|
}
|
|
1565
1614
|
}
|
|
1566
|
-
AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1567
|
-
AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1615
|
+
AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1616
|
+
AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
|
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AutofocusDirective, decorators: [{
|
|
1569
1618
|
type: Directive,
|
|
1570
1619
|
args: [{
|
|
1571
1620
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1590,9 +1639,9 @@ class InputEventDebounceDirective {
|
|
|
1590
1639
|
});
|
|
1591
1640
|
}
|
|
1592
1641
|
}
|
|
1593
|
-
InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1594
|
-
InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1642
|
+
InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1643
|
+
InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: InputEventDebounceDirective, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 });
|
|
1644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
|
|
1596
1645
|
type: Directive,
|
|
1597
1646
|
args: [{
|
|
1598
1647
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1720,9 +1769,9 @@ class ForDirective {
|
|
|
1720
1769
|
}
|
|
1721
1770
|
}
|
|
1722
1771
|
}
|
|
1723
|
-
ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1724
|
-
ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1772
|
+
ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1773
|
+
ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", 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 });
|
|
1774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ForDirective, decorators: [{
|
|
1726
1775
|
type: Directive,
|
|
1727
1776
|
args: [{
|
|
1728
1777
|
selector: '[abpFor]',
|
|
@@ -1783,9 +1832,9 @@ class FormSubmitDirective {
|
|
|
1783
1832
|
this.cdRef.detectChanges();
|
|
1784
1833
|
}
|
|
1785
1834
|
}
|
|
1786
|
-
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1787
|
-
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1835
|
+
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$2.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1836
|
+
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 });
|
|
1837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
1789
1838
|
type: Directive,
|
|
1790
1839
|
args: [{
|
|
1791
1840
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1823,9 +1872,9 @@ class InitDirective {
|
|
|
1823
1872
|
this.init.emit(this.elRef);
|
|
1824
1873
|
}
|
|
1825
1874
|
}
|
|
1826
|
-
InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1827
|
-
InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1875
|
+
InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1876
|
+
InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
|
|
1877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: InitDirective, decorators: [{
|
|
1829
1878
|
type: Directive,
|
|
1830
1879
|
args: [{ selector: '[abpInit]' }]
|
|
1831
1880
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { init: [{
|
|
@@ -1834,9 +1883,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1834
1883
|
}] } });
|
|
1835
1884
|
|
|
1836
1885
|
class PermissionDirective {
|
|
1837
|
-
constructor(
|
|
1838
|
-
this.elRef = elRef;
|
|
1839
|
-
this.renderer = renderer;
|
|
1886
|
+
constructor(templateRef, vcRef, permissionService, cdRef) {
|
|
1840
1887
|
this.templateRef = templateRef;
|
|
1841
1888
|
this.vcRef = vcRef;
|
|
1842
1889
|
this.permissionService = permissionService;
|
|
@@ -1847,7 +1894,7 @@ class PermissionDirective {
|
|
|
1847
1894
|
this.subscription.unsubscribe();
|
|
1848
1895
|
}
|
|
1849
1896
|
this.subscription = this.permissionService
|
|
1850
|
-
.getGrantedPolicy$(this.condition)
|
|
1897
|
+
.getGrantedPolicy$(this.condition || '')
|
|
1851
1898
|
.pipe(distinctUntilChanged())
|
|
1852
1899
|
.subscribe(isGranted => {
|
|
1853
1900
|
this.vcRef.clear();
|
|
@@ -1864,14 +1911,14 @@ class PermissionDirective {
|
|
|
1864
1911
|
this.check();
|
|
1865
1912
|
}
|
|
1866
1913
|
}
|
|
1867
|
-
PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1868
|
-
PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1914
|
+
PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PermissionDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: PermissionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1915
|
+
PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"] }, usesOnChanges: true, ngImport: i0 });
|
|
1916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PermissionDirective, decorators: [{
|
|
1870
1917
|
type: Directive,
|
|
1871
1918
|
args: [{
|
|
1872
1919
|
selector: '[abpPermission]',
|
|
1873
1920
|
}]
|
|
1874
|
-
}], ctorParameters: function () { return [{ type: i0.
|
|
1921
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
1875
1922
|
type: Optional
|
|
1876
1923
|
}] }, { type: i0.ViewContainerRef }, { type: PermissionService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { condition: [{
|
|
1877
1924
|
type: Input,
|
|
@@ -1894,7 +1941,7 @@ class ReplaceableTemplateDirective {
|
|
|
1894
1941
|
this.defaultComponentSubscriptions = {};
|
|
1895
1942
|
this.initialized = false;
|
|
1896
1943
|
this.context = {
|
|
1897
|
-
initTemplate: ref => {
|
|
1944
|
+
initTemplate: (ref) => {
|
|
1898
1945
|
this.resetDefaultComponent();
|
|
1899
1946
|
this.defaultComponentRef = ref;
|
|
1900
1947
|
this.setDefaultComponentInputs();
|
|
@@ -1947,8 +1994,9 @@ class ReplaceableTemplateDirective {
|
|
|
1947
1994
|
for (const key in this.data.outputs) {
|
|
1948
1995
|
if (Object.prototype.hasOwnProperty.call(this.data.outputs, key)) {
|
|
1949
1996
|
if (!this.defaultComponentSubscriptions[key]) {
|
|
1950
|
-
this.defaultComponentSubscriptions[key] = this.defaultComponentRef[key].subscribe(value => {
|
|
1951
|
-
|
|
1997
|
+
this.defaultComponentSubscriptions[key] = this.defaultComponentRef[key].subscribe((value) => {
|
|
1998
|
+
var _a;
|
|
1999
|
+
(_a = this.data.outputs) === null || _a === void 0 ? void 0 : _a[key](value);
|
|
1952
2000
|
});
|
|
1953
2001
|
}
|
|
1954
2002
|
}
|
|
@@ -1956,15 +2004,18 @@ class ReplaceableTemplateDirective {
|
|
|
1956
2004
|
}
|
|
1957
2005
|
}
|
|
1958
2006
|
setProvidedData() {
|
|
1959
|
-
this.providedData = Object.assign(Object.assign({}, this.data), { inputs: {} });
|
|
2007
|
+
this.providedData = Object.assign(Object.assign({ outputs: {} }, this.data), { inputs: {} });
|
|
1960
2008
|
if (!this.data.inputs)
|
|
1961
2009
|
return;
|
|
1962
|
-
Object.defineProperties(this.providedData.inputs, Object.assign({}, Object.keys(this.data.inputs).reduce((acc, key) =>
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
2010
|
+
Object.defineProperties(this.providedData.inputs, Object.assign({}, Object.keys(this.data.inputs).reduce((acc, key) => {
|
|
2011
|
+
var _a;
|
|
2012
|
+
return (Object.assign(Object.assign({}, acc), { [key]: Object.assign({ enumerable: true, configurable: true, get: () => { var _a; return (_a = this.data.inputs[key]) === null || _a === void 0 ? void 0 : _a.value; } }, (((_a = this.data.inputs[key]) === null || _a === void 0 ? void 0 : _a.twoWay) && {
|
|
2013
|
+
set: (newValue) => {
|
|
2014
|
+
this.data.inputs[key].value = newValue;
|
|
2015
|
+
this.data.outputs[`${key}Change`](newValue);
|
|
2016
|
+
},
|
|
2017
|
+
})) }));
|
|
2018
|
+
}, {})));
|
|
1968
2019
|
}
|
|
1969
2020
|
resetDefaultComponent() {
|
|
1970
2021
|
Object.keys(this.defaultComponentSubscriptions).forEach(key => {
|
|
@@ -1974,9 +2025,9 @@ class ReplaceableTemplateDirective {
|
|
|
1974
2025
|
this.defaultComponentRef = null;
|
|
1975
2026
|
}
|
|
1976
2027
|
}
|
|
1977
|
-
ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1978
|
-
ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2028
|
+
ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", 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 });
|
|
2029
|
+
ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 });
|
|
2030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
|
|
1980
2031
|
type: Directive,
|
|
1981
2032
|
args: [{
|
|
1982
2033
|
selector: '[abpReplaceableTemplate]',
|
|
@@ -2000,9 +2051,9 @@ class StopPropagationDirective {
|
|
|
2000
2051
|
});
|
|
2001
2052
|
}
|
|
2002
2053
|
}
|
|
2003
|
-
StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2004
|
-
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2054
|
+
StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2055
|
+
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: StopPropagationDirective, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 });
|
|
2056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
2006
2057
|
type: Directive,
|
|
2007
2058
|
args: [{
|
|
2008
2059
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2030,9 +2081,9 @@ class OAuthConfigurationHandler {
|
|
|
2030
2081
|
});
|
|
2031
2082
|
}
|
|
2032
2083
|
}
|
|
2033
|
-
OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2034
|
-
OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2084
|
+
OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: OAuthConfigurationHandler, deps: [{ token: i1$3.OAuthService }, { token: EnvironmentService }, { token: CORE_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2085
|
+
OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: OAuthConfigurationHandler, providedIn: 'root' });
|
|
2086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: OAuthConfigurationHandler, decorators: [{
|
|
2036
2087
|
type: Injectable,
|
|
2037
2088
|
args: [{
|
|
2038
2089
|
providedIn: 'root',
|
|
@@ -2062,9 +2113,9 @@ class RoutesHandler {
|
|
|
2062
2113
|
});
|
|
2063
2114
|
}
|
|
2064
2115
|
}
|
|
2065
|
-
RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2066
|
-
RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2116
|
+
RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2117
|
+
RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
|
|
2118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RoutesHandler, decorators: [{
|
|
2068
2119
|
type: Injectable,
|
|
2069
2120
|
args: [{
|
|
2070
2121
|
providedIn: 'root',
|
|
@@ -2159,9 +2210,9 @@ class HttpWaitService {
|
|
|
2159
2210
|
return endpoint === request.endpoint && method === request.method;
|
|
2160
2211
|
}
|
|
2161
2212
|
}
|
|
2162
|
-
HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2163
|
-
HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2213
|
+
HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2214
|
+
HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
|
|
2215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: HttpWaitService, decorators: [{
|
|
2165
2216
|
type: Injectable,
|
|
2166
2217
|
args: [{
|
|
2167
2218
|
providedIn: 'root',
|
|
@@ -2202,9 +2253,9 @@ class ApiInterceptor {
|
|
|
2202
2253
|
return headers;
|
|
2203
2254
|
}
|
|
2204
2255
|
}
|
|
2205
|
-
ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2206
|
-
ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2256
|
+
ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ApiInterceptor, deps: [{ token: i1$3.OAuthService }, { token: SessionStateService }, { token: HttpWaitService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2257
|
+
ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
|
|
2258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ApiInterceptor, decorators: [{
|
|
2208
2259
|
type: Injectable,
|
|
2209
2260
|
args: [{
|
|
2210
2261
|
providedIn: 'root',
|
|
@@ -2219,13 +2270,22 @@ class LocalizationPipe {
|
|
|
2219
2270
|
this.localization = localization;
|
|
2220
2271
|
}
|
|
2221
2272
|
transform(value = '', ...interpolateParams) {
|
|
2222
|
-
|
|
2273
|
+
const params = interpolateParams.reduce((acc, val) => {
|
|
2274
|
+
if (!acc) {
|
|
2275
|
+
return val;
|
|
2276
|
+
}
|
|
2277
|
+
if (!val) {
|
|
2278
|
+
return acc;
|
|
2279
|
+
}
|
|
2280
|
+
return Array.isArray(val) ? [...acc, ...val] : [...acc, val];
|
|
2281
|
+
}, []) || [];
|
|
2282
|
+
return this.localization.instant(value, ...params);
|
|
2223
2283
|
}
|
|
2224
2284
|
}
|
|
2225
|
-
LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2226
|
-
LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
2227
|
-
LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2285
|
+
LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2286
|
+
LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
|
|
2287
|
+
LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationPipe });
|
|
2288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationPipe, decorators: [{
|
|
2229
2289
|
type: Injectable
|
|
2230
2290
|
}, {
|
|
2231
2291
|
type: Pipe,
|
|
@@ -2236,10 +2296,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2236
2296
|
|
|
2237
2297
|
class LocalizationModule {
|
|
2238
2298
|
}
|
|
2239
|
-
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2240
|
-
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
2241
|
-
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
2242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2299
|
+
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2300
|
+
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
|
|
2301
|
+
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationModule });
|
|
2302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
2243
2303
|
type: NgModule,
|
|
2244
2304
|
args: [{
|
|
2245
2305
|
exports: [LocalizationPipe],
|
|
@@ -2282,10 +2342,10 @@ class SortPipe {
|
|
|
2282
2342
|
return sortOrder === 'asc' ? sorted : sorted.reverse();
|
|
2283
2343
|
}
|
|
2284
2344
|
}
|
|
2285
|
-
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2286
|
-
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
2287
|
-
SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2345
|
+
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2346
|
+
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SortPipe, name: "abpSort" });
|
|
2347
|
+
SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SortPipe });
|
|
2348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SortPipe, decorators: [{
|
|
2289
2349
|
type: Injectable
|
|
2290
2350
|
}, {
|
|
2291
2351
|
type: Pipe,
|
|
@@ -2395,6 +2455,9 @@ class AuthFlowStrategy {
|
|
|
2395
2455
|
if (shouldClear)
|
|
2396
2456
|
clearOAuthStorage(oAuthStorage);
|
|
2397
2457
|
this.oAuthService.configure(this.oAuthConfig);
|
|
2458
|
+
this.oAuthService.events
|
|
2459
|
+
.pipe(filter(event => event.type === 'token_refresh_error'))
|
|
2460
|
+
.subscribe(() => this.navigateToLogin());
|
|
2398
2461
|
return this.oAuthService
|
|
2399
2462
|
.loadDiscoveryDocument()
|
|
2400
2463
|
.then(() => {
|
|
@@ -2594,9 +2657,9 @@ class AuthService {
|
|
|
2594
2657
|
return this.strategy.login(params);
|
|
2595
2658
|
}
|
|
2596
2659
|
}
|
|
2597
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2598
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2660
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2661
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
2662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthService, decorators: [{
|
|
2600
2663
|
type: Injectable,
|
|
2601
2664
|
args: [{
|
|
2602
2665
|
providedIn: 'root',
|
|
@@ -2651,9 +2714,9 @@ class AbpTenantService {
|
|
|
2651
2714
|
}, { apiName: this.apiName });
|
|
2652
2715
|
}
|
|
2653
2716
|
}
|
|
2654
|
-
AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2655
|
-
AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2717
|
+
AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2718
|
+
AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
|
|
2719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpTenantService, decorators: [{
|
|
2657
2720
|
type: Injectable,
|
|
2658
2721
|
args: [{
|
|
2659
2722
|
providedIn: 'root',
|
|
@@ -2686,9 +2749,9 @@ class MultiTenancyService {
|
|
|
2686
2749
|
.pipe(switchMap(this.setTenantToState));
|
|
2687
2750
|
}
|
|
2688
2751
|
}
|
|
2689
|
-
MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2690
|
-
MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2752
|
+
MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2753
|
+
MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
|
|
2754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: MultiTenancyService, decorators: [{
|
|
2692
2755
|
type: Injectable,
|
|
2693
2756
|
args: [{ providedIn: 'root' }]
|
|
2694
2757
|
}], ctorParameters: function () { return [{ type: RestService }, { type: SessionStateService }, { type: AbpTenantService }, { type: ConfigStateService }, { type: undefined, decorators: [{
|
|
@@ -2834,8 +2897,8 @@ function storageFactory() {
|
|
|
2834
2897
|
*/
|
|
2835
2898
|
class BaseCoreModule {
|
|
2836
2899
|
}
|
|
2837
|
-
BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2838
|
-
BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
2900
|
+
BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2901
|
+
BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
|
|
2839
2902
|
AutofocusDirective,
|
|
2840
2903
|
DynamicLayoutComponent,
|
|
2841
2904
|
ForDirective,
|
|
@@ -2872,7 +2935,7 @@ BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
2872
2935
|
RouterOutletComponent,
|
|
2873
2936
|
SortPipe,
|
|
2874
2937
|
StopPropagationDirective] });
|
|
2875
|
-
BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
2938
|
+
BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [[
|
|
2876
2939
|
OAuthModule,
|
|
2877
2940
|
CommonModule,
|
|
2878
2941
|
HttpClientModule,
|
|
@@ -2886,7 +2949,7 @@ BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
2886
2949
|
ReactiveFormsModule,
|
|
2887
2950
|
RouterModule,
|
|
2888
2951
|
LocalizationModule] });
|
|
2889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: BaseCoreModule, decorators: [{
|
|
2890
2953
|
type: NgModule,
|
|
2891
2954
|
args: [{
|
|
2892
2955
|
exports: [
|
|
@@ -2948,9 +3011,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2948
3011
|
*/
|
|
2949
3012
|
class RootCoreModule {
|
|
2950
3013
|
}
|
|
2951
|
-
RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2952
|
-
RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
2953
|
-
RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
3014
|
+
RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3015
|
+
RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule, i1$3.OAuthModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
|
|
3016
|
+
RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RootCoreModule, imports: [[
|
|
2954
3017
|
BaseCoreModule,
|
|
2955
3018
|
LocalizationModule,
|
|
2956
3019
|
OAuthModule.forRoot(),
|
|
@@ -2959,7 +3022,7 @@ RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
2959
3022
|
headerName: 'RequestVerificationToken',
|
|
2960
3023
|
}),
|
|
2961
3024
|
], BaseCoreModule, LocalizationModule] });
|
|
2962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
2963
3026
|
type: NgModule,
|
|
2964
3027
|
args: [{
|
|
2965
3028
|
exports: [BaseCoreModule, LocalizationModule],
|
|
@@ -3030,14 +3093,33 @@ class CoreModule {
|
|
|
3030
3093
|
},
|
|
3031
3094
|
{ provide: OAuthStorage, useFactory: storageFactory },
|
|
3032
3095
|
{ provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
|
|
3096
|
+
{
|
|
3097
|
+
provide: LOCALIZATIONS,
|
|
3098
|
+
multi: true,
|
|
3099
|
+
useValue: localizationContributor(options.localizations),
|
|
3100
|
+
deps: [LocalizationService],
|
|
3101
|
+
},
|
|
3102
|
+
],
|
|
3103
|
+
};
|
|
3104
|
+
}
|
|
3105
|
+
static forChild(options = {}) {
|
|
3106
|
+
return {
|
|
3107
|
+
ngModule: RootCoreModule,
|
|
3108
|
+
providers: [
|
|
3109
|
+
{
|
|
3110
|
+
provide: LOCALIZATIONS,
|
|
3111
|
+
multi: true,
|
|
3112
|
+
useValue: localizationContributor(options.localizations),
|
|
3113
|
+
deps: [LocalizationService],
|
|
3114
|
+
},
|
|
3033
3115
|
],
|
|
3034
3116
|
};
|
|
3035
3117
|
}
|
|
3036
3118
|
}
|
|
3037
|
-
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3038
|
-
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
3039
|
-
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
3040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3119
|
+
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3120
|
+
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
|
|
3121
|
+
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: CoreModule, imports: [[BaseCoreModule], BaseCoreModule] });
|
|
3122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: CoreModule, decorators: [{
|
|
3041
3123
|
type: NgModule,
|
|
3042
3124
|
args: [{
|
|
3043
3125
|
exports: [BaseCoreModule],
|
|
@@ -3062,9 +3144,9 @@ class AuthGuard {
|
|
|
3062
3144
|
return false;
|
|
3063
3145
|
}
|
|
3064
3146
|
}
|
|
3065
|
-
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3066
|
-
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3147
|
+
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthGuard, deps: [{ token: i1$3.OAuthService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3148
|
+
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthGuard, providedIn: 'root' });
|
|
3149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AuthGuard, decorators: [{
|
|
3068
3150
|
type: Injectable,
|
|
3069
3151
|
args: [{
|
|
3070
3152
|
providedIn: 'root',
|
|
@@ -3093,9 +3175,9 @@ class PermissionGuard {
|
|
|
3093
3175
|
}));
|
|
3094
3176
|
}
|
|
3095
3177
|
}
|
|
3096
|
-
PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3097
|
-
PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3178
|
+
PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PermissionGuard, deps: [{ token: i1$1.Router }, { token: RoutesService }, { token: PermissionService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3179
|
+
PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
|
|
3180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: PermissionGuard, decorators: [{
|
|
3099
3181
|
type: Injectable,
|
|
3100
3182
|
args: [{
|
|
3101
3183
|
providedIn: 'root',
|
|
@@ -3232,9 +3314,9 @@ class AbpApiDefinitionService {
|
|
|
3232
3314
|
}, { apiName: this.apiName });
|
|
3233
3315
|
}
|
|
3234
3316
|
}
|
|
3235
|
-
AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3236
|
-
AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3317
|
+
AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3318
|
+
AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
|
|
3319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
|
|
3238
3320
|
type: Injectable,
|
|
3239
3321
|
args: [{
|
|
3240
3322
|
providedIn: 'root',
|
|
@@ -3257,9 +3339,9 @@ class ContentProjectionService {
|
|
|
3257
3339
|
return projectionStrategy.injectContent(injector);
|
|
3258
3340
|
}
|
|
3259
3341
|
}
|
|
3260
|
-
ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3261
|
-
ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3342
|
+
ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3343
|
+
ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
|
|
3344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ContentProjectionService, decorators: [{
|
|
3263
3345
|
type: Injectable,
|
|
3264
3346
|
args: [{ providedIn: 'root' }]
|
|
3265
3347
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
@@ -3474,9 +3556,9 @@ class DomInsertionService {
|
|
|
3474
3556
|
return this.inserted.has(hash);
|
|
3475
3557
|
}
|
|
3476
3558
|
}
|
|
3477
|
-
DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3478
|
-
DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3559
|
+
DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3560
|
+
DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
|
|
3561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DomInsertionService, decorators: [{
|
|
3480
3562
|
type: Injectable,
|
|
3481
3563
|
args: [{ providedIn: 'root' }]
|
|
3482
3564
|
}] });
|
|
@@ -3508,9 +3590,9 @@ class ResourceWaitService {
|
|
|
3508
3590
|
this.store.patch({ resources });
|
|
3509
3591
|
}
|
|
3510
3592
|
}
|
|
3511
|
-
ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3512
|
-
ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3593
|
+
ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3594
|
+
ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
|
|
3595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ResourceWaitService, decorators: [{
|
|
3514
3596
|
type: Injectable,
|
|
3515
3597
|
args: [{
|
|
3516
3598
|
providedIn: 'root',
|
|
@@ -3540,9 +3622,9 @@ class LazyLoadService {
|
|
|
3540
3622
|
return true;
|
|
3541
3623
|
}
|
|
3542
3624
|
}
|
|
3543
|
-
LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3544
|
-
LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3625
|
+
LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3626
|
+
LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
|
|
3627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: LazyLoadService, decorators: [{
|
|
3546
3628
|
type: Injectable,
|
|
3547
3629
|
args: [{
|
|
3548
3630
|
providedIn: 'root',
|
|
@@ -3643,9 +3725,9 @@ class ListService {
|
|
|
3643
3725
|
});
|
|
3644
3726
|
}
|
|
3645
3727
|
}
|
|
3646
|
-
ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3647
|
-
ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3728
|
+
ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3729
|
+
ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ListService });
|
|
3730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: ListService, decorators: [{
|
|
3649
3731
|
type: Injectable
|
|
3650
3732
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
3651
3733
|
|
|
@@ -3682,9 +3764,9 @@ class RouterWaitService {
|
|
|
3682
3764
|
this.store.patch({ loading });
|
|
3683
3765
|
}
|
|
3684
3766
|
}
|
|
3685
|
-
RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3686
|
-
RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3767
|
+
RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3768
|
+
RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
|
|
3769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: RouterWaitService, decorators: [{
|
|
3688
3770
|
type: Injectable,
|
|
3689
3771
|
args: [{
|
|
3690
3772
|
providedIn: 'root',
|
|
@@ -3701,9 +3783,9 @@ class TrackByService {
|
|
|
3701
3783
|
this.byDeep = trackByDeep;
|
|
3702
3784
|
}
|
|
3703
3785
|
}
|
|
3704
|
-
TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3705
|
-
TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3706
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3786
|
+
TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3787
|
+
TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TrackByService, providedIn: 'root' });
|
|
3788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: TrackByService, decorators: [{
|
|
3707
3789
|
type: Injectable,
|
|
3708
3790
|
args: [{
|
|
3709
3791
|
providedIn: 'root',
|
|
@@ -4108,5 +4190,5 @@ const AbpValidators = {
|
|
|
4108
4190
|
* Generated bundle index. Do not edit.
|
|
4109
4191
|
*/
|
|
4110
4192
|
|
|
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 };
|
|
4193
|
+
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, LOCALIZATIONS, 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, localizationContributor, localizations$, mapEnumToOptions, ngxsStoragePluginSerialize, noop, parseTenantFromUrl, pipeToLogin, pushValueTo, reloadRoute, removeRememberMe, setRememberMe, setTokenResponseToStorage, storageFactory, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
|
|
4112
4194
|
//# sourceMappingURL=abp-ng.core.js.map
|