@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('just-compare'), require('@angular/common/http'), require('@angular/common'), require('@angular/forms'), require('angular-oauth2-oidc'), require('just-clone')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@abp/ng.core', ['exports', '@angular/core', '@angular/router', 'rxjs', 'rxjs/operators', 'just-compare', '@angular/common/http', '@angular/common', '@angular/forms', 'angular-oauth2-oidc', 'just-clone'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.core = {}), global.ng.core, global.ng.router, global.rxjs, global.rxjs.operators, global.compare, global.ng.common.http, global.ng.common, global.ng.forms, global.i1$3, global.clone));
|
|
5
|
-
}(this, (function (exports, i0, i1$1, rxjs, operators, compare, i1, i5, i1$2, i1$3, clone) { 'use strict';
|
|
5
|
+
})(this, (function (exports, i0, i1$1, rxjs, operators, compare, i1, i5, i1$2, i1$3, clone) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -15,14 +15,12 @@
|
|
|
15
15
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
16
|
Object.defineProperty(n, k, d.get ? d : {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return e[k];
|
|
20
|
-
}
|
|
18
|
+
get: function () { return e[k]; }
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
21
|
});
|
|
24
22
|
}
|
|
25
|
-
n[
|
|
23
|
+
n["default"] = e;
|
|
26
24
|
return Object.freeze(n);
|
|
27
25
|
}
|
|
28
26
|
|
|
@@ -85,9 +83,9 @@
|
|
|
85
83
|
};
|
|
86
84
|
return AbstractNgModelComponent;
|
|
87
85
|
}());
|
|
88
|
-
AbstractNgModelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
89
|
-
AbstractNgModelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
90
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
86
|
+
AbstractNgModelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbstractNgModelComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
87
|
+
AbstractNgModelComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
|
|
88
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbstractNgModelComponent, decorators: [{
|
|
91
89
|
type: i0.Component,
|
|
92
90
|
args: [{ template: '' }]
|
|
93
91
|
}], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; }, propDecorators: { disabled: [{
|
|
@@ -566,7 +564,7 @@
|
|
|
566
564
|
this.state$ = new rxjs.BehaviorSubject(this.initialState);
|
|
567
565
|
this.update$ = new rxjs.Subject();
|
|
568
566
|
this.sliceState = function (selector, compareFn) {
|
|
569
|
-
if (compareFn === void 0) { compareFn = compare__default[
|
|
567
|
+
if (compareFn === void 0) { compareFn = compare__default["default"]; }
|
|
570
568
|
return _this.state$.pipe(operators.map(selector), operators.distinctUntilChanged(compareFn));
|
|
571
569
|
};
|
|
572
570
|
this.sliceUpdate = function (selector, filterFn) {
|
|
@@ -638,9 +636,9 @@
|
|
|
638
636
|
};
|
|
639
637
|
return EnvironmentService;
|
|
640
638
|
}());
|
|
641
|
-
EnvironmentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
642
|
-
EnvironmentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
643
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
639
|
+
EnvironmentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EnvironmentService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
640
|
+
EnvironmentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EnvironmentService, providedIn: 'root' });
|
|
641
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EnvironmentService, decorators: [{
|
|
644
642
|
type: i0.Injectable,
|
|
645
643
|
args: [{ providedIn: 'root' }]
|
|
646
644
|
}] });
|
|
@@ -678,9 +676,9 @@
|
|
|
678
676
|
});
|
|
679
677
|
return HttpErrorReporterService;
|
|
680
678
|
}());
|
|
681
|
-
HttpErrorReporterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
682
|
-
HttpErrorReporterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
683
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
679
|
+
HttpErrorReporterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorReporterService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
680
|
+
HttpErrorReporterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorReporterService, providedIn: 'root' });
|
|
681
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorReporterService, decorators: [{
|
|
684
682
|
type: i0.Injectable,
|
|
685
683
|
args: [{ providedIn: 'root' }]
|
|
686
684
|
}] });
|
|
@@ -707,23 +705,28 @@
|
|
|
707
705
|
var _a = config.observe /* Body */, observe = _a === void 0 ? "body" : _a /* Body */, skipHandleError = config.skipHandleError;
|
|
708
706
|
return this.http
|
|
709
707
|
.request(method, api + request.url, Object.assign(Object.assign({ observe: observe }, (params && {
|
|
710
|
-
params:
|
|
711
|
-
var value = params[key];
|
|
712
|
-
if (isUndefinedOrEmptyString(value))
|
|
713
|
-
return acc;
|
|
714
|
-
if (value === null && !_this.options.sendNullsAsQueryParam)
|
|
715
|
-
return acc;
|
|
716
|
-
acc[key] = value;
|
|
717
|
-
return acc;
|
|
718
|
-
}, {}),
|
|
708
|
+
params: this.getParams(params, config.httpParamEncoder),
|
|
719
709
|
})), options))
|
|
720
710
|
.pipe(operators.catchError(function (err) { return (skipHandleError ? rxjs.throwError(err) : _this.handleError(err)); }));
|
|
721
711
|
};
|
|
712
|
+
RestService.prototype.getParams = function (params, encoder) {
|
|
713
|
+
var _this = this;
|
|
714
|
+
var httpParams = encoder ? new i1.HttpParams({ encoder: encoder }) : new i1.HttpParams();
|
|
715
|
+
return Object.keys(params).reduce(function (acc, key) {
|
|
716
|
+
var value = params[key];
|
|
717
|
+
if (isUndefinedOrEmptyString(value))
|
|
718
|
+
return acc;
|
|
719
|
+
if (value === null && !_this.options.sendNullsAsQueryParam)
|
|
720
|
+
return acc;
|
|
721
|
+
acc = acc.set(key, value);
|
|
722
|
+
return acc;
|
|
723
|
+
}, httpParams);
|
|
724
|
+
};
|
|
722
725
|
return RestService;
|
|
723
726
|
}());
|
|
724
|
-
RestService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
725
|
-
RestService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
726
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
727
|
+
RestService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1__namespace.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
728
|
+
RestService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RestService, providedIn: 'root' });
|
|
729
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RestService, decorators: [{
|
|
727
730
|
type: i0.Injectable,
|
|
728
731
|
args: [{
|
|
729
732
|
providedIn: 'root',
|
|
@@ -748,9 +751,9 @@
|
|
|
748
751
|
};
|
|
749
752
|
return AbpApplicationConfigurationService;
|
|
750
753
|
}());
|
|
751
|
-
AbpApplicationConfigurationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
752
|
-
AbpApplicationConfigurationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
753
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
754
|
+
AbpApplicationConfigurationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
755
|
+
AbpApplicationConfigurationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpApplicationConfigurationService, providedIn: 'root' });
|
|
756
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpApplicationConfigurationService, decorators: [{
|
|
754
757
|
type: i0.Injectable,
|
|
755
758
|
args: [{
|
|
756
759
|
providedIn: 'root',
|
|
@@ -876,9 +879,9 @@
|
|
|
876
879
|
};
|
|
877
880
|
return ConfigStateService;
|
|
878
881
|
}());
|
|
879
|
-
ConfigStateService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
880
|
-
ConfigStateService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
881
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
882
|
+
ConfigStateService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
883
|
+
ConfigStateService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ConfigStateService, providedIn: 'root' });
|
|
884
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ConfigStateService, decorators: [{
|
|
882
885
|
type: i0.Injectable,
|
|
883
886
|
args: [{
|
|
884
887
|
providedIn: 'root',
|
|
@@ -951,9 +954,9 @@
|
|
|
951
954
|
};
|
|
952
955
|
return PermissionService;
|
|
953
956
|
}());
|
|
954
|
-
PermissionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
955
|
-
PermissionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
956
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
957
|
+
PermissionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
958
|
+
PermissionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionService, providedIn: 'root' });
|
|
959
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionService, decorators: [{
|
|
957
960
|
type: i0.Injectable,
|
|
958
961
|
args: [{ providedIn: 'root' }]
|
|
959
962
|
}], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
|
|
@@ -1125,9 +1128,9 @@
|
|
|
1125
1128
|
};
|
|
1126
1129
|
return AbstractNavTreeService;
|
|
1127
1130
|
}(AbstractTreeService));
|
|
1128
|
-
AbstractNavTreeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1129
|
-
AbstractNavTreeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1130
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1131
|
+
AbstractNavTreeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbstractNavTreeService, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1132
|
+
AbstractNavTreeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbstractNavTreeService });
|
|
1133
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbstractNavTreeService, decorators: [{
|
|
1131
1134
|
type: i0.Injectable
|
|
1132
1135
|
}], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
|
|
1133
1136
|
var RoutesService = /** @class */ (function (_super) {
|
|
@@ -1137,9 +1140,9 @@
|
|
|
1137
1140
|
}
|
|
1138
1141
|
return RoutesService;
|
|
1139
1142
|
}(AbstractNavTreeService));
|
|
1140
|
-
RoutesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1141
|
-
RoutesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1142
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1143
|
+
RoutesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RoutesService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1144
|
+
RoutesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RoutesService, providedIn: 'root' });
|
|
1145
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RoutesService, decorators: [{
|
|
1143
1146
|
type: i0.Injectable,
|
|
1144
1147
|
args: [{ providedIn: 'root' }]
|
|
1145
1148
|
}] });
|
|
@@ -1181,9 +1184,9 @@
|
|
|
1181
1184
|
};
|
|
1182
1185
|
return SubscriptionService;
|
|
1183
1186
|
}());
|
|
1184
|
-
SubscriptionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1185
|
-
SubscriptionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1186
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1187
|
+
SubscriptionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SubscriptionService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1188
|
+
SubscriptionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SubscriptionService });
|
|
1189
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SubscriptionService, decorators: [{
|
|
1187
1190
|
type: i0.Injectable
|
|
1188
1191
|
}] });
|
|
1189
1192
|
|
|
@@ -1223,6 +1226,14 @@
|
|
|
1223
1226
|
}); });
|
|
1224
1227
|
}
|
|
1225
1228
|
|
|
1229
|
+
var LOCALIZATIONS = new i0.InjectionToken('LOCALIZATIONS');
|
|
1230
|
+
function localizationContributor(localizations) {
|
|
1231
|
+
if (localizations) {
|
|
1232
|
+
localizations$.next(__spreadArray(__spreadArray([], __read(localizations$.value)), __read(localizations)));
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
var localizations$ = new rxjs.BehaviorSubject([]);
|
|
1236
|
+
|
|
1226
1237
|
// This will not be necessary when only Angukar 9.1+ is supported
|
|
1227
1238
|
function getLocaleDirection(locale) {
|
|
1228
1239
|
return /^(ar(-[A-Z]{2})?|ckb(-IR)?|fa(-AF)?|he|ks|lrc(-IQ)?|mzn|pa-Arab|ps(-PK)?|sd|ug|ur(-IN)?|uz-Arab|yi)$/.test(locale)
|
|
@@ -1257,7 +1268,7 @@
|
|
|
1257
1268
|
function createLocalizationFinder(localization) {
|
|
1258
1269
|
var localize = createLocalizer(localization);
|
|
1259
1270
|
return function (resourceNames, keys) {
|
|
1260
|
-
resourceNames = resourceNames.concat(localization.defaultResourceName).filter(Boolean);
|
|
1271
|
+
resourceNames = resourceNames.concat(localization.defaultResourceName || '').filter(Boolean);
|
|
1261
1272
|
var resourceCount = resourceNames.length;
|
|
1262
1273
|
var keyCount = keys.length;
|
|
1263
1274
|
for (var i = 0; i < resourceCount; i++) {
|
|
@@ -1345,7 +1356,7 @@
|
|
|
1345
1356
|
return this.store.sliceState(function (state) { return state.tenant; });
|
|
1346
1357
|
};
|
|
1347
1358
|
SessionStateService.prototype.setTenant = function (tenant) {
|
|
1348
|
-
if (compare__default[
|
|
1359
|
+
if (compare__default["default"](tenant, this.store.state.tenant))
|
|
1349
1360
|
return;
|
|
1350
1361
|
this.store.set(Object.assign(Object.assign({}, this.store.state), { tenant: tenant }));
|
|
1351
1362
|
};
|
|
@@ -1357,9 +1368,9 @@
|
|
|
1357
1368
|
};
|
|
1358
1369
|
return SessionStateService;
|
|
1359
1370
|
}());
|
|
1360
|
-
SessionStateService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1361
|
-
SessionStateService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1362
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1371
|
+
SessionStateService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1372
|
+
SessionStateService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SessionStateService, providedIn: 'root' });
|
|
1373
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SessionStateService, decorators: [{
|
|
1363
1374
|
type: i0.Injectable,
|
|
1364
1375
|
args: [{
|
|
1365
1376
|
providedIn: 'root',
|
|
@@ -1373,9 +1384,12 @@
|
|
|
1373
1384
|
this.configState = configState;
|
|
1374
1385
|
this.latestLang = this.sessionState.getLanguage();
|
|
1375
1386
|
this._languageChange$ = new rxjs.Subject();
|
|
1387
|
+
this.uiLocalizations$ = new rxjs.BehaviorSubject(new Map());
|
|
1388
|
+
this.localizations$ = new rxjs.BehaviorSubject(new Map());
|
|
1376
1389
|
if (otherInstance)
|
|
1377
1390
|
throw new Error('LocalizationService should have only one instance.');
|
|
1378
1391
|
this.listenToSetLanguage();
|
|
1392
|
+
this.initLocalizationValues();
|
|
1379
1393
|
}
|
|
1380
1394
|
Object.defineProperty(LocalizationService.prototype, "currentLang", {
|
|
1381
1395
|
/**
|
|
@@ -1394,6 +1408,49 @@
|
|
|
1394
1408
|
enumerable: false,
|
|
1395
1409
|
configurable: true
|
|
1396
1410
|
});
|
|
1411
|
+
LocalizationService.prototype.initLocalizationValues = function () {
|
|
1412
|
+
var _this = this;
|
|
1413
|
+
localizations$.subscribe(function (val) { return _this.addLocalization(val); });
|
|
1414
|
+
var remoteLocalizations$ = this.configState.getDeep$('localization.values');
|
|
1415
|
+
var currentLanguage$ = this.sessionState.getLanguage$();
|
|
1416
|
+
var uiLocalizations$ = rxjs.combineLatest([currentLanguage$, this.uiLocalizations$]).pipe(operators.map(function (_a) {
|
|
1417
|
+
var _b = __read(_a, 2), currentLang = _b[0], localizations = _b[1];
|
|
1418
|
+
return localizations.get(currentLang);
|
|
1419
|
+
}));
|
|
1420
|
+
rxjs.combineLatest([remoteLocalizations$, uiLocalizations$])
|
|
1421
|
+
.pipe(operators.map(function (_a) {
|
|
1422
|
+
var _b = __read(_a, 2), remote = _b[0], local = _b[1];
|
|
1423
|
+
if (remote) {
|
|
1424
|
+
if (!local) {
|
|
1425
|
+
local = new Map();
|
|
1426
|
+
}
|
|
1427
|
+
Object.entries(remote).forEach(function (entry) {
|
|
1428
|
+
var resourceName = entry[0];
|
|
1429
|
+
var remoteTexts = entry[1];
|
|
1430
|
+
var resource = local.get(resourceName) || {};
|
|
1431
|
+
resource = Object.assign(Object.assign({}, resource), remoteTexts);
|
|
1432
|
+
local.set(resourceName, resource);
|
|
1433
|
+
});
|
|
1434
|
+
}
|
|
1435
|
+
return local;
|
|
1436
|
+
}))
|
|
1437
|
+
.subscribe(function (val) { return _this.localizations$.next(val); });
|
|
1438
|
+
};
|
|
1439
|
+
LocalizationService.prototype.addLocalization = function (localizations) {
|
|
1440
|
+
if (!localizations)
|
|
1441
|
+
return;
|
|
1442
|
+
var localizationMap = this.uiLocalizations$.value;
|
|
1443
|
+
localizations.forEach(function (loc) {
|
|
1444
|
+
var cultureMap = localizationMap.get(loc.culture) || new Map();
|
|
1445
|
+
loc.resources.forEach(function (res) {
|
|
1446
|
+
var resource = cultureMap.get(res.resourceName) || {};
|
|
1447
|
+
resource = Object.assign(Object.assign({}, resource), res.texts);
|
|
1448
|
+
cultureMap.set(res.resourceName, resource);
|
|
1449
|
+
});
|
|
1450
|
+
localizationMap.set(loc.culture, cultureMap);
|
|
1451
|
+
});
|
|
1452
|
+
this.uiLocalizations$.next(localizationMap);
|
|
1453
|
+
};
|
|
1397
1454
|
LocalizationService.prototype.listenToSetLanguage = function () {
|
|
1398
1455
|
var _this = this;
|
|
1399
1456
|
this.sessionState
|
|
@@ -1416,19 +1473,20 @@
|
|
|
1416
1473
|
* @param interpolateParams Values to interpolate
|
|
1417
1474
|
*/
|
|
1418
1475
|
LocalizationService.prototype.get = function (key) {
|
|
1476
|
+
var _this = this;
|
|
1419
1477
|
var interpolateParams = [];
|
|
1420
1478
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1421
1479
|
interpolateParams[_i - 1] = arguments[_i];
|
|
1422
1480
|
}
|
|
1423
1481
|
return this.configState
|
|
1424
1482
|
.getAll$()
|
|
1425
|
-
.pipe(operators.map(function (state) { return getLocalization.apply(
|
|
1483
|
+
.pipe(operators.map(function (state) { return _this.getLocalization.apply(_this, __spreadArray([state, key], __read(interpolateParams))); }));
|
|
1426
1484
|
};
|
|
1427
1485
|
LocalizationService.prototype.getResource = function (resourceName) {
|
|
1428
|
-
return this.
|
|
1486
|
+
return this.localizations$.value.get(resourceName);
|
|
1429
1487
|
};
|
|
1430
1488
|
LocalizationService.prototype.getResource$ = function (resourceName) {
|
|
1431
|
-
return this.
|
|
1489
|
+
return this.localizations$.pipe(operators.map(function (res) { return res.get(resourceName); }));
|
|
1432
1490
|
};
|
|
1433
1491
|
/**
|
|
1434
1492
|
* Returns localized text with the given interpolation parameters in current language.
|
|
@@ -1440,7 +1498,7 @@
|
|
|
1440
1498
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1441
1499
|
interpolateParams[_i - 1] = arguments[_i];
|
|
1442
1500
|
}
|
|
1443
|
-
return getLocalization.apply(
|
|
1501
|
+
return this.getLocalization.apply(this, __spreadArray([this.configState.getAll(), key], __read(interpolateParams)));
|
|
1444
1502
|
};
|
|
1445
1503
|
LocalizationService.prototype.localize = function (resourceName, key, defaultValue) {
|
|
1446
1504
|
return this.configState.getOne$('localization').pipe(operators.map(createLocalizer), operators.map(function (localize) { return localize(resourceName, key, defaultValue); }));
|
|
@@ -1456,11 +1514,59 @@
|
|
|
1456
1514
|
var localization = this.configState.getOne('localization');
|
|
1457
1515
|
return createLocalizerWithFallback(localization)(resourceNames, keys, defaultValue);
|
|
1458
1516
|
};
|
|
1517
|
+
LocalizationService.prototype.getLocalization = function (state, key) {
|
|
1518
|
+
var interpolateParams = [];
|
|
1519
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1520
|
+
interpolateParams[_i - 2] = arguments[_i];
|
|
1521
|
+
}
|
|
1522
|
+
if (!key)
|
|
1523
|
+
key = '';
|
|
1524
|
+
var defaultValue;
|
|
1525
|
+
if (typeof key !== 'string') {
|
|
1526
|
+
defaultValue = key.defaultValue;
|
|
1527
|
+
key = key.key;
|
|
1528
|
+
}
|
|
1529
|
+
var keys = key.split('::');
|
|
1530
|
+
var warn = function (message) {
|
|
1531
|
+
if (i0.isDevMode)
|
|
1532
|
+
console.warn(message);
|
|
1533
|
+
};
|
|
1534
|
+
if (keys.length < 2) {
|
|
1535
|
+
warn('The localization source separator (::) not found.');
|
|
1536
|
+
return defaultValue || key;
|
|
1537
|
+
}
|
|
1538
|
+
if (!state.localization)
|
|
1539
|
+
return defaultValue || keys[1];
|
|
1540
|
+
var sourceName = keys[0] || state.localization.defaultResourceName;
|
|
1541
|
+
var sourceKey = keys[1];
|
|
1542
|
+
if (sourceName === '_') {
|
|
1543
|
+
return defaultValue || sourceKey;
|
|
1544
|
+
}
|
|
1545
|
+
if (!sourceName) {
|
|
1546
|
+
warn('Localization source name is not specified and the defaultResourceName was not defined!');
|
|
1547
|
+
return defaultValue || sourceKey;
|
|
1548
|
+
}
|
|
1549
|
+
var source = this.localizations$.value.get(sourceName);
|
|
1550
|
+
if (!source) {
|
|
1551
|
+
warn('Could not find localization source: ' + sourceName);
|
|
1552
|
+
return defaultValue || sourceKey;
|
|
1553
|
+
}
|
|
1554
|
+
var localization = source[sourceKey];
|
|
1555
|
+
if (typeof localization === 'undefined') {
|
|
1556
|
+
return defaultValue || sourceKey;
|
|
1557
|
+
}
|
|
1558
|
+
interpolateParams = interpolateParams.filter(function (params) { return params != null; });
|
|
1559
|
+
if (localization)
|
|
1560
|
+
localization = interpolate(localization, interpolateParams);
|
|
1561
|
+
if (typeof localization !== 'string')
|
|
1562
|
+
localization = '';
|
|
1563
|
+
return localization || defaultValue || key;
|
|
1564
|
+
};
|
|
1459
1565
|
return LocalizationService;
|
|
1460
1566
|
}());
|
|
1461
|
-
LocalizationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1462
|
-
LocalizationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1463
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1567
|
+
LocalizationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0__namespace.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1568
|
+
LocalizationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationService, providedIn: 'root' });
|
|
1569
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationService, decorators: [{
|
|
1464
1570
|
type: i0.Injectable,
|
|
1465
1571
|
args: [{ providedIn: 'root' }]
|
|
1466
1572
|
}], ctorParameters: function () {
|
|
@@ -1469,55 +1575,7 @@
|
|
|
1469
1575
|
}, {
|
|
1470
1576
|
type: i0.SkipSelf
|
|
1471
1577
|
}] }, { type: ConfigStateService }];
|
|
1472
|
-
} });
|
|
1473
|
-
function getLocalization(state, key) {
|
|
1474
|
-
var interpolateParams = [];
|
|
1475
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1476
|
-
interpolateParams[_i - 2] = arguments[_i];
|
|
1477
|
-
}
|
|
1478
|
-
if (!key)
|
|
1479
|
-
key = '';
|
|
1480
|
-
var defaultValue;
|
|
1481
|
-
if (typeof key !== 'string') {
|
|
1482
|
-
defaultValue = key.defaultValue;
|
|
1483
|
-
key = key.key;
|
|
1484
|
-
}
|
|
1485
|
-
var keys = key.split('::');
|
|
1486
|
-
var warn = function (message) {
|
|
1487
|
-
if (i0.isDevMode)
|
|
1488
|
-
console.warn(message);
|
|
1489
|
-
};
|
|
1490
|
-
if (keys.length < 2) {
|
|
1491
|
-
warn('The localization source separator (::) not found.');
|
|
1492
|
-
return defaultValue || key;
|
|
1493
|
-
}
|
|
1494
|
-
if (!state.localization)
|
|
1495
|
-
return defaultValue || keys[1];
|
|
1496
|
-
var sourceName = keys[0] || state.localization.defaultResourceName;
|
|
1497
|
-
var sourceKey = keys[1];
|
|
1498
|
-
if (sourceName === '_') {
|
|
1499
|
-
return defaultValue || sourceKey;
|
|
1500
|
-
}
|
|
1501
|
-
if (!sourceName) {
|
|
1502
|
-
warn('Localization source name is not specified and the defaultResourceName was not defined!');
|
|
1503
|
-
return defaultValue || sourceKey;
|
|
1504
|
-
}
|
|
1505
|
-
var source = state.localization.values[sourceName];
|
|
1506
|
-
if (!source) {
|
|
1507
|
-
warn('Could not find localization source: ' + sourceName);
|
|
1508
|
-
return defaultValue || sourceKey;
|
|
1509
|
-
}
|
|
1510
|
-
var localization = source[sourceKey];
|
|
1511
|
-
if (typeof localization === 'undefined') {
|
|
1512
|
-
return defaultValue || sourceKey;
|
|
1513
|
-
}
|
|
1514
|
-
interpolateParams = interpolateParams.filter(function (params) { return params != null; });
|
|
1515
|
-
if (localization)
|
|
1516
|
-
localization = interpolate(localization, interpolateParams);
|
|
1517
|
-
if (typeof localization !== 'string')
|
|
1518
|
-
localization = '';
|
|
1519
|
-
return localization || defaultValue || key;
|
|
1520
|
-
}
|
|
1578
|
+
} });
|
|
1521
1579
|
|
|
1522
1580
|
var ReplaceableComponentsService = /** @class */ (function () {
|
|
1523
1581
|
function ReplaceableComponentsService(ngZone, router) {
|
|
@@ -1567,9 +1625,9 @@
|
|
|
1567
1625
|
};
|
|
1568
1626
|
return ReplaceableComponentsService;
|
|
1569
1627
|
}());
|
|
1570
|
-
ReplaceableComponentsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1571
|
-
ReplaceableComponentsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1572
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1628
|
+
ReplaceableComponentsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ReplaceableComponentsService, deps: [{ token: i0__namespace.NgZone }, { token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1629
|
+
ReplaceableComponentsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ReplaceableComponentsService, providedIn: 'root' });
|
|
1630
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ReplaceableComponentsService, decorators: [{
|
|
1573
1631
|
type: i0.Injectable,
|
|
1574
1632
|
args: [{ providedIn: 'root' }]
|
|
1575
1633
|
}], ctorParameters: function () { return [{ type: i0__namespace.NgZone }, { type: i1__namespace$1.Router }]; } });
|
|
@@ -1609,9 +1667,9 @@
|
|
|
1609
1667
|
};
|
|
1610
1668
|
return RouterEvents;
|
|
1611
1669
|
}());
|
|
1612
|
-
RouterEvents.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1613
|
-
RouterEvents.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1614
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1670
|
+
RouterEvents.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RouterEvents, deps: [{ token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1671
|
+
RouterEvents.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RouterEvents, providedIn: 'root' });
|
|
1672
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RouterEvents, decorators: [{
|
|
1615
1673
|
type: i0.Injectable,
|
|
1616
1674
|
args: [{ providedIn: 'root' }]
|
|
1617
1675
|
}], ctorParameters: function () { return [{ type: i1__namespace$1.Router }]; } });
|
|
@@ -1629,12 +1687,14 @@
|
|
|
1629
1687
|
['empty', 'Theme.EmptyLayoutComponent'],
|
|
1630
1688
|
]);
|
|
1631
1689
|
this.isLayoutVisible = true;
|
|
1632
|
-
if (dynamicLayoutComponent)
|
|
1690
|
+
if (dynamicLayoutComponent) {
|
|
1691
|
+
if (i0.isDevMode)
|
|
1692
|
+
console.warn('DynamicLayoutComponent must be used only in AppComponent.');
|
|
1633
1693
|
return;
|
|
1694
|
+
}
|
|
1634
1695
|
this.route = injector.get(i1$1.ActivatedRoute);
|
|
1635
1696
|
this.router = injector.get(i1$1.Router);
|
|
1636
1697
|
this.routes = injector.get(RoutesService);
|
|
1637
|
-
this.getLayout();
|
|
1638
1698
|
this.checkLayoutOnNavigationEnd();
|
|
1639
1699
|
this.listenToLanguageChange();
|
|
1640
1700
|
}
|
|
@@ -1677,13 +1737,13 @@
|
|
|
1677
1737
|
};
|
|
1678
1738
|
return DynamicLayoutComponent;
|
|
1679
1739
|
}());
|
|
1680
|
-
DynamicLayoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1681
|
-
DynamicLayoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1682
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1740
|
+
DynamicLayoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicLayoutComponent, deps: [{ token: i0__namespace.Injector }, { token: LocalizationService }, { token: ReplaceableComponentsService }, { token: SubscriptionService }, { token: RouterEvents }, { token: DynamicLayoutComponent, optional: true, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1741
|
+
DynamicLayoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DynamicLayoutComponent, selector: "abp-dynamic-layout", providers: [SubscriptionService], ngImport: i0__namespace, template: " <ng-container *ngIf=\"isLayoutVisible\" [ngComponentOutlet]=\"layout\"></ng-container> ", isInline: true, directives: [{ type: i5__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
|
|
1742
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicLayoutComponent, decorators: [{
|
|
1683
1743
|
type: i0.Component,
|
|
1684
1744
|
args: [{
|
|
1685
1745
|
selector: 'abp-dynamic-layout',
|
|
1686
|
-
template: "
|
|
1746
|
+
template: " <ng-container *ngIf=\"isLayoutVisible\" [ngComponentOutlet]=\"layout\"></ng-container> ",
|
|
1687
1747
|
providers: [SubscriptionService],
|
|
1688
1748
|
}]
|
|
1689
1749
|
}], ctorParameters: function () {
|
|
@@ -1714,9 +1774,9 @@
|
|
|
1714
1774
|
};
|
|
1715
1775
|
return ReplaceableRouteContainerComponent;
|
|
1716
1776
|
}());
|
|
1717
|
-
ReplaceableRouteContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1718
|
-
ReplaceableRouteContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1719
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1777
|
+
ReplaceableRouteContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ReplaceableRouteContainerComponent, deps: [{ token: i1__namespace$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1778
|
+
ReplaceableRouteContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0__namespace, template: "\n <ng-container *ngComponentOutlet=\"externalComponent || defaultComponent\"></ng-container>\n ", isInline: true, directives: [{ type: i5__namespace.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
|
|
1779
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ReplaceableRouteContainerComponent, decorators: [{
|
|
1720
1780
|
type: i0.Component,
|
|
1721
1781
|
args: [{
|
|
1722
1782
|
selector: 'abp-replaceable-route-container',
|
|
@@ -1730,9 +1790,9 @@
|
|
|
1730
1790
|
}
|
|
1731
1791
|
return RouterOutletComponent;
|
|
1732
1792
|
}());
|
|
1733
|
-
RouterOutletComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1734
|
-
RouterOutletComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1735
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1793
|
+
RouterOutletComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RouterOutletComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1794
|
+
RouterOutletComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RouterOutletComponent, selector: "abp-router-outlet", ngImport: i0__namespace, template: " <router-outlet></router-outlet> ", isInline: true, directives: [{ type: i1__namespace$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }] });
|
|
1795
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RouterOutletComponent, decorators: [{
|
|
1736
1796
|
type: i0.Component,
|
|
1737
1797
|
args: [{
|
|
1738
1798
|
selector: 'abp-router-outlet',
|
|
@@ -2080,17 +2140,27 @@
|
|
|
2080
2140
|
var AutofocusDirective = /** @class */ (function () {
|
|
2081
2141
|
function AutofocusDirective(elRef) {
|
|
2082
2142
|
this.elRef = elRef;
|
|
2083
|
-
this.
|
|
2143
|
+
this._delay = 0;
|
|
2084
2144
|
}
|
|
2145
|
+
Object.defineProperty(AutofocusDirective.prototype, "delay", {
|
|
2146
|
+
get: function () {
|
|
2147
|
+
return this._delay;
|
|
2148
|
+
},
|
|
2149
|
+
set: function (val) {
|
|
2150
|
+
this._delay = Number(val) || 0;
|
|
2151
|
+
},
|
|
2152
|
+
enumerable: false,
|
|
2153
|
+
configurable: true
|
|
2154
|
+
});
|
|
2085
2155
|
AutofocusDirective.prototype.ngAfterViewInit = function () {
|
|
2086
2156
|
var _this = this;
|
|
2087
2157
|
setTimeout(function () { return _this.elRef.nativeElement.focus(); }, this.delay);
|
|
2088
2158
|
};
|
|
2089
2159
|
return AutofocusDirective;
|
|
2090
2160
|
}());
|
|
2091
|
-
AutofocusDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2092
|
-
AutofocusDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2093
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2161
|
+
AutofocusDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AutofocusDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2162
|
+
AutofocusDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0__namespace });
|
|
2163
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AutofocusDirective, decorators: [{
|
|
2094
2164
|
type: i0.Directive,
|
|
2095
2165
|
args: [{
|
|
2096
2166
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2117,9 +2187,9 @@
|
|
|
2117
2187
|
};
|
|
2118
2188
|
return InputEventDebounceDirective;
|
|
2119
2189
|
}());
|
|
2120
|
-
InputEventDebounceDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2121
|
-
InputEventDebounceDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2122
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2190
|
+
InputEventDebounceDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: InputEventDebounceDirective, deps: [{ token: i0__namespace.ElementRef }, { token: SubscriptionService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2191
|
+
InputEventDebounceDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
2192
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: InputEventDebounceDirective, decorators: [{
|
|
2123
2193
|
type: i0.Directive,
|
|
2124
2194
|
args: [{
|
|
2125
2195
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2157,7 +2227,7 @@
|
|
|
2157
2227
|
}
|
|
2158
2228
|
Object.defineProperty(ForDirective.prototype, "compareFn", {
|
|
2159
2229
|
get: function () {
|
|
2160
|
-
return this.compareBy || compare__default[
|
|
2230
|
+
return this.compareBy || compare__default["default"];
|
|
2161
2231
|
},
|
|
2162
2232
|
enumerable: false,
|
|
2163
2233
|
configurable: true
|
|
@@ -2237,7 +2307,7 @@
|
|
|
2237
2307
|
};
|
|
2238
2308
|
ForDirective.prototype.ngOnChanges = function () {
|
|
2239
2309
|
var _this = this;
|
|
2240
|
-
var items = clone__default[
|
|
2310
|
+
var items = clone__default["default"](this.items);
|
|
2241
2311
|
if (!Array.isArray(items))
|
|
2242
2312
|
return;
|
|
2243
2313
|
var compareFn = this.compareFn;
|
|
@@ -2262,9 +2332,9 @@
|
|
|
2262
2332
|
};
|
|
2263
2333
|
return ForDirective;
|
|
2264
2334
|
}());
|
|
2265
|
-
ForDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2266
|
-
ForDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2267
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2335
|
+
ForDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ForDirective, deps: [{ token: i0__namespace.TemplateRef }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.IterableDiffers }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2336
|
+
ForDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
2337
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ForDirective, decorators: [{
|
|
2268
2338
|
type: i0.Directive,
|
|
2269
2339
|
args: [{
|
|
2270
2340
|
selector: '[abpFor]',
|
|
@@ -2327,9 +2397,9 @@
|
|
|
2327
2397
|
};
|
|
2328
2398
|
return FormSubmitDirective;
|
|
2329
2399
|
}());
|
|
2330
|
-
FormSubmitDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2331
|
-
FormSubmitDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2332
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2400
|
+
FormSubmitDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormSubmitDirective, deps: [{ token: i1__namespace$2.FormGroupDirective, self: true }, { token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: SubscriptionService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2401
|
+
FormSubmitDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
2402
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormSubmitDirective, decorators: [{
|
|
2333
2403
|
type: i0.Directive,
|
|
2334
2404
|
args: [{
|
|
2335
2405
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2370,9 +2440,9 @@
|
|
|
2370
2440
|
};
|
|
2371
2441
|
return InitDirective;
|
|
2372
2442
|
}());
|
|
2373
|
-
InitDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2374
|
-
InitDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2375
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2443
|
+
InitDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: InitDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2444
|
+
InitDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0__namespace });
|
|
2445
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: InitDirective, decorators: [{
|
|
2376
2446
|
type: i0.Directive,
|
|
2377
2447
|
args: [{ selector: '[abpInit]' }]
|
|
2378
2448
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { init: [{
|
|
@@ -2381,9 +2451,7 @@
|
|
|
2381
2451
|
}] } });
|
|
2382
2452
|
|
|
2383
2453
|
var PermissionDirective = /** @class */ (function () {
|
|
2384
|
-
function PermissionDirective(
|
|
2385
|
-
this.elRef = elRef;
|
|
2386
|
-
this.renderer = renderer;
|
|
2454
|
+
function PermissionDirective(templateRef, vcRef, permissionService, cdRef) {
|
|
2387
2455
|
this.templateRef = templateRef;
|
|
2388
2456
|
this.vcRef = vcRef;
|
|
2389
2457
|
this.permissionService = permissionService;
|
|
@@ -2395,7 +2463,7 @@
|
|
|
2395
2463
|
this.subscription.unsubscribe();
|
|
2396
2464
|
}
|
|
2397
2465
|
this.subscription = this.permissionService
|
|
2398
|
-
.getGrantedPolicy$(this.condition)
|
|
2466
|
+
.getGrantedPolicy$(this.condition || '')
|
|
2399
2467
|
.pipe(operators.distinctUntilChanged())
|
|
2400
2468
|
.subscribe(function (isGranted) {
|
|
2401
2469
|
_this.vcRef.clear();
|
|
@@ -2413,15 +2481,15 @@
|
|
|
2413
2481
|
};
|
|
2414
2482
|
return PermissionDirective;
|
|
2415
2483
|
}());
|
|
2416
|
-
PermissionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2417
|
-
PermissionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2418
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2484
|
+
PermissionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionDirective, deps: [{ token: i0__namespace.TemplateRef, optional: true }, { token: i0__namespace.ViewContainerRef }, { token: PermissionService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2485
|
+
PermissionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"] }, usesOnChanges: true, ngImport: i0__namespace });
|
|
2486
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionDirective, decorators: [{
|
|
2419
2487
|
type: i0.Directive,
|
|
2420
2488
|
args: [{
|
|
2421
2489
|
selector: '[abpPermission]',
|
|
2422
2490
|
}]
|
|
2423
2491
|
}], ctorParameters: function () {
|
|
2424
|
-
return [{ type: i0__namespace.
|
|
2492
|
+
return [{ type: i0__namespace.TemplateRef, decorators: [{
|
|
2425
2493
|
type: i0.Optional
|
|
2426
2494
|
}] }, { type: i0__namespace.ViewContainerRef }, { type: PermissionService }, { type: i0__namespace.ChangeDetectorRef }];
|
|
2427
2495
|
}, propDecorators: { condition: [{
|
|
@@ -2459,7 +2527,7 @@
|
|
|
2459
2527
|
.get$(this.data.componentKey)
|
|
2460
2528
|
.pipe(operators.filter(function (res) {
|
|
2461
2529
|
if (res === void 0) { res = {}; }
|
|
2462
|
-
return !_this.initialized || !compare__default[
|
|
2530
|
+
return !_this.initialized || !compare__default["default"](res.component, _this.externalComponent);
|
|
2463
2531
|
}));
|
|
2464
2532
|
this.subscription.addOne(component$, function (res) {
|
|
2465
2533
|
if (res === void 0) { res = {}; }
|
|
@@ -2495,7 +2563,7 @@
|
|
|
2495
2563
|
if (this.data.inputs) {
|
|
2496
2564
|
for (var key in this.data.inputs) {
|
|
2497
2565
|
if (Object.prototype.hasOwnProperty.call(this.data.inputs, key)) {
|
|
2498
|
-
if (!compare__default[
|
|
2566
|
+
if (!compare__default["default"](this.defaultComponentRef[key], this.data.inputs[key].value)) {
|
|
2499
2567
|
this.defaultComponentRef[key] = this.data.inputs[key].value;
|
|
2500
2568
|
}
|
|
2501
2569
|
}
|
|
@@ -2506,7 +2574,8 @@
|
|
|
2506
2574
|
if (Object.prototype.hasOwnProperty.call(this_1.data.outputs, key)) {
|
|
2507
2575
|
if (!this_1.defaultComponentSubscriptions[key]) {
|
|
2508
2576
|
this_1.defaultComponentSubscriptions[key] = this_1.defaultComponentRef[key].subscribe(function (value) {
|
|
2509
|
-
|
|
2577
|
+
var _a;
|
|
2578
|
+
(_a = _this.data.outputs) === null || _a === void 0 ? void 0 : _a[key](value);
|
|
2510
2579
|
});
|
|
2511
2580
|
}
|
|
2512
2581
|
}
|
|
@@ -2519,12 +2588,13 @@
|
|
|
2519
2588
|
};
|
|
2520
2589
|
ReplaceableTemplateDirective.prototype.setProvidedData = function () {
|
|
2521
2590
|
var _this = this;
|
|
2522
|
-
this.providedData = Object.assign(Object.assign({}, this.data), { inputs: {} });
|
|
2591
|
+
this.providedData = Object.assign(Object.assign({ outputs: {} }, this.data), { inputs: {} });
|
|
2523
2592
|
if (!this.data.inputs)
|
|
2524
2593
|
return;
|
|
2525
2594
|
Object.defineProperties(this.providedData.inputs, Object.assign({}, Object.keys(this.data.inputs).reduce(function (acc, key) {
|
|
2526
2595
|
var _c;
|
|
2527
|
-
|
|
2596
|
+
var _a;
|
|
2597
|
+
return (Object.assign(Object.assign({}, acc), (_c = {}, _c[key] = Object.assign({ enumerable: true, configurable: true, get: function () { 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) && {
|
|
2528
2598
|
set: function (newValue) {
|
|
2529
2599
|
_this.data.inputs[key].value = newValue;
|
|
2530
2600
|
_this.data.outputs[key + "Change"](newValue);
|
|
@@ -2542,9 +2612,9 @@
|
|
|
2542
2612
|
};
|
|
2543
2613
|
return ReplaceableTemplateDirective;
|
|
2544
2614
|
}());
|
|
2545
|
-
ReplaceableTemplateDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2546
|
-
ReplaceableTemplateDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2547
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2615
|
+
ReplaceableTemplateDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ReplaceableTemplateDirective, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.TemplateRef }, { token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.ViewContainerRef }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2616
|
+
ReplaceableTemplateDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0__namespace });
|
|
2617
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ReplaceableTemplateDirective, decorators: [{
|
|
2548
2618
|
type: i0.Directive,
|
|
2549
2619
|
args: [{
|
|
2550
2620
|
selector: '[abpReplaceableTemplate]',
|
|
@@ -2570,9 +2640,9 @@
|
|
|
2570
2640
|
};
|
|
2571
2641
|
return StopPropagationDirective;
|
|
2572
2642
|
}());
|
|
2573
|
-
StopPropagationDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2574
|
-
StopPropagationDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2575
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2643
|
+
StopPropagationDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: StopPropagationDirective, deps: [{ token: i0__namespace.ElementRef }, { token: SubscriptionService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2644
|
+
StopPropagationDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: StopPropagationDirective, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0__namespace });
|
|
2645
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: StopPropagationDirective, decorators: [{
|
|
2576
2646
|
type: i0.Directive,
|
|
2577
2647
|
args: [{
|
|
2578
2648
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2595,16 +2665,16 @@
|
|
|
2595
2665
|
var _this = this;
|
|
2596
2666
|
this.environmentService
|
|
2597
2667
|
.createOnUpdateStream(function (state) { return state; })
|
|
2598
|
-
.pipe(operators.map(function (environment) { return environment.oAuthConfig; }), operators.filter(function (config) { return !compare__default[
|
|
2668
|
+
.pipe(operators.map(function (environment) { return environment.oAuthConfig; }), operators.filter(function (config) { return !compare__default["default"](config, _this.options.environment.oAuthConfig); }))
|
|
2599
2669
|
.subscribe(function (config) {
|
|
2600
2670
|
_this.oAuthService.configure(config);
|
|
2601
2671
|
});
|
|
2602
2672
|
};
|
|
2603
2673
|
return OAuthConfigurationHandler;
|
|
2604
2674
|
}());
|
|
2605
|
-
OAuthConfigurationHandler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2606
|
-
OAuthConfigurationHandler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2607
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2675
|
+
OAuthConfigurationHandler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: OAuthConfigurationHandler, deps: [{ token: i1__namespace$3.OAuthService }, { token: EnvironmentService }, { token: CORE_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2676
|
+
OAuthConfigurationHandler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: OAuthConfigurationHandler, providedIn: 'root' });
|
|
2677
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: OAuthConfigurationHandler, decorators: [{
|
|
2608
2678
|
type: i0.Injectable,
|
|
2609
2679
|
args: [{
|
|
2610
2680
|
providedIn: 'root',
|
|
@@ -2639,9 +2709,9 @@
|
|
|
2639
2709
|
};
|
|
2640
2710
|
return RoutesHandler;
|
|
2641
2711
|
}());
|
|
2642
|
-
RoutesHandler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2643
|
-
RoutesHandler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2644
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2712
|
+
RoutesHandler.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1__namespace$1.Router, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2713
|
+
RoutesHandler.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RoutesHandler, providedIn: 'root' });
|
|
2714
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RoutesHandler, decorators: [{
|
|
2645
2715
|
type: i0.Injectable,
|
|
2646
2716
|
args: [{
|
|
2647
2717
|
providedIn: 'root',
|
|
@@ -2755,9 +2825,9 @@
|
|
|
2755
2825
|
};
|
|
2756
2826
|
return HttpWaitService;
|
|
2757
2827
|
}());
|
|
2758
|
-
HttpWaitService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2759
|
-
HttpWaitService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2760
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2828
|
+
HttpWaitService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpWaitService, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2829
|
+
HttpWaitService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpWaitService, providedIn: 'root' });
|
|
2830
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpWaitService, decorators: [{
|
|
2761
2831
|
type: i0.Injectable,
|
|
2762
2832
|
args: [{
|
|
2763
2833
|
providedIn: 'root',
|
|
@@ -2798,9 +2868,9 @@
|
|
|
2798
2868
|
};
|
|
2799
2869
|
return ApiInterceptor;
|
|
2800
2870
|
}());
|
|
2801
|
-
ApiInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2802
|
-
ApiInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2803
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2871
|
+
ApiInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ApiInterceptor, deps: [{ token: i1__namespace$3.OAuthService }, { token: SessionStateService }, { token: HttpWaitService }, { token: TENANT_KEY }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2872
|
+
ApiInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ApiInterceptor, providedIn: 'root' });
|
|
2873
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ApiInterceptor, decorators: [{
|
|
2804
2874
|
type: i0.Injectable,
|
|
2805
2875
|
args: [{
|
|
2806
2876
|
providedIn: 'root',
|
|
@@ -2823,14 +2893,23 @@
|
|
|
2823
2893
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
2824
2894
|
interpolateParams[_i - 1] = arguments[_i];
|
|
2825
2895
|
}
|
|
2826
|
-
|
|
2896
|
+
var params = interpolateParams.reduce(function (acc, val) {
|
|
2897
|
+
if (!acc) {
|
|
2898
|
+
return val;
|
|
2899
|
+
}
|
|
2900
|
+
if (!val) {
|
|
2901
|
+
return acc;
|
|
2902
|
+
}
|
|
2903
|
+
return Array.isArray(val) ? __spreadArray(__spreadArray([], __read(acc)), __read(val)) : __spreadArray(__spreadArray([], __read(acc)), [val]);
|
|
2904
|
+
}, []) || [];
|
|
2905
|
+
return (_a = this.localization).instant.apply(_a, __spreadArray([value], __read(params)));
|
|
2827
2906
|
};
|
|
2828
2907
|
return LocalizationPipe;
|
|
2829
2908
|
}());
|
|
2830
|
-
LocalizationPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2831
|
-
LocalizationPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
2832
|
-
LocalizationPipe.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2833
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2909
|
+
LocalizationPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
2910
|
+
LocalizationPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationPipe, name: "abpLocalization" });
|
|
2911
|
+
LocalizationPipe.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationPipe });
|
|
2912
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationPipe, decorators: [{
|
|
2834
2913
|
type: i0.Injectable
|
|
2835
2914
|
}, {
|
|
2836
2915
|
type: i0.Pipe,
|
|
@@ -2844,10 +2923,10 @@
|
|
|
2844
2923
|
}
|
|
2845
2924
|
return LocalizationModule;
|
|
2846
2925
|
}());
|
|
2847
|
-
LocalizationModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2848
|
-
LocalizationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
2849
|
-
LocalizationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
2850
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2926
|
+
LocalizationModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2927
|
+
LocalizationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
|
|
2928
|
+
LocalizationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationModule });
|
|
2929
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LocalizationModule, decorators: [{
|
|
2851
2930
|
type: i0.NgModule,
|
|
2852
2931
|
args: [{
|
|
2853
2932
|
exports: [LocalizationPipe],
|
|
@@ -2890,10 +2969,10 @@
|
|
|
2890
2969
|
};
|
|
2891
2970
|
return SortPipe;
|
|
2892
2971
|
}());
|
|
2893
|
-
SortPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2894
|
-
SortPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
2895
|
-
SortPipe.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2896
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2972
|
+
SortPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SortPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
2973
|
+
SortPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SortPipe, name: "abpSort" });
|
|
2974
|
+
SortPipe.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SortPipe });
|
|
2975
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: SortPipe, decorators: [{
|
|
2897
2976
|
type: i0.Injectable
|
|
2898
2977
|
}, {
|
|
2899
2978
|
type: i0.Pipe,
|
|
@@ -3010,6 +3089,9 @@
|
|
|
3010
3089
|
if (shouldClear)
|
|
3011
3090
|
clearOAuthStorage(oAuthStorage);
|
|
3012
3091
|
this.oAuthService.configure(this.oAuthConfig);
|
|
3092
|
+
this.oAuthService.events
|
|
3093
|
+
.pipe(operators.filter(function (event) { return event.type === 'token_refresh_error'; }))
|
|
3094
|
+
.subscribe(function () { return _this.navigateToLogin(); });
|
|
3013
3095
|
return [2 /*return*/, this.oAuthService
|
|
3014
3096
|
.loadDiscoveryDocument()
|
|
3015
3097
|
.then(function () {
|
|
@@ -3238,9 +3320,9 @@
|
|
|
3238
3320
|
};
|
|
3239
3321
|
return AuthService;
|
|
3240
3322
|
}());
|
|
3241
|
-
AuthService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3242
|
-
AuthService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3243
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3323
|
+
AuthService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AuthService, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
3324
|
+
AuthService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AuthService, providedIn: 'root' });
|
|
3325
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AuthService, decorators: [{
|
|
3244
3326
|
type: i0.Injectable,
|
|
3245
3327
|
args: [{
|
|
3246
3328
|
providedIn: 'root',
|
|
@@ -3297,9 +3379,9 @@
|
|
|
3297
3379
|
}
|
|
3298
3380
|
return AbpTenantService;
|
|
3299
3381
|
}());
|
|
3300
|
-
AbpTenantService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3301
|
-
AbpTenantService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3302
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3382
|
+
AbpTenantService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpTenantService, deps: [{ token: RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
3383
|
+
AbpTenantService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpTenantService, providedIn: 'root' });
|
|
3384
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpTenantService, decorators: [{
|
|
3303
3385
|
type: i0.Injectable,
|
|
3304
3386
|
args: [{
|
|
3305
3387
|
providedIn: 'root',
|
|
@@ -3336,9 +3418,9 @@
|
|
|
3336
3418
|
};
|
|
3337
3419
|
return MultiTenancyService;
|
|
3338
3420
|
}());
|
|
3339
|
-
MultiTenancyService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3340
|
-
MultiTenancyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3341
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3421
|
+
MultiTenancyService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
3422
|
+
MultiTenancyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: MultiTenancyService, providedIn: 'root' });
|
|
3423
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: MultiTenancyService, decorators: [{
|
|
3342
3424
|
type: i0.Injectable,
|
|
3343
3425
|
args: [{ providedIn: 'root' }]
|
|
3344
3426
|
}], ctorParameters: function () {
|
|
@@ -3413,7 +3495,7 @@
|
|
|
3413
3495
|
function replaceTenantNameWithinEnvironment(injector, tenancyName, placeholder) {
|
|
3414
3496
|
if (placeholder === void 0) { placeholder = tenancyPlaceholder; }
|
|
3415
3497
|
var environmentService = injector.get(EnvironmentService);
|
|
3416
|
-
var environment = clone__default[
|
|
3498
|
+
var environment = clone__default["default"](environmentService.getEnvironment());
|
|
3417
3499
|
if (environment.application.baseUrl) {
|
|
3418
3500
|
environment.application.baseUrl = environment.application.baseUrl.replace(placeholder, tenancyName);
|
|
3419
3501
|
}
|
|
@@ -3506,8 +3588,8 @@
|
|
|
3506
3588
|
}
|
|
3507
3589
|
return BaseCoreModule;
|
|
3508
3590
|
}());
|
|
3509
|
-
BaseCoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3510
|
-
BaseCoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
3591
|
+
BaseCoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BaseCoreModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3592
|
+
BaseCoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
|
|
3511
3593
|
AutofocusDirective,
|
|
3512
3594
|
DynamicLayoutComponent,
|
|
3513
3595
|
ForDirective,
|
|
@@ -3544,7 +3626,7 @@
|
|
|
3544
3626
|
RouterOutletComponent,
|
|
3545
3627
|
SortPipe,
|
|
3546
3628
|
StopPropagationDirective] });
|
|
3547
|
-
BaseCoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
3629
|
+
BaseCoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BaseCoreModule, providers: [LocalizationPipe], imports: [[
|
|
3548
3630
|
i1$3.OAuthModule,
|
|
3549
3631
|
i5.CommonModule,
|
|
3550
3632
|
i1.HttpClientModule,
|
|
@@ -3558,7 +3640,7 @@
|
|
|
3558
3640
|
i1$2.ReactiveFormsModule,
|
|
3559
3641
|
i1$1.RouterModule,
|
|
3560
3642
|
LocalizationModule] });
|
|
3561
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3643
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: BaseCoreModule, decorators: [{
|
|
3562
3644
|
type: i0.NgModule,
|
|
3563
3645
|
args: [{
|
|
3564
3646
|
exports: [
|
|
@@ -3623,9 +3705,9 @@
|
|
|
3623
3705
|
}
|
|
3624
3706
|
return RootCoreModule;
|
|
3625
3707
|
}());
|
|
3626
|
-
RootCoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3627
|
-
RootCoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
3628
|
-
RootCoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
3708
|
+
RootCoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RootCoreModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3709
|
+
RootCoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule, i1__namespace$3.OAuthModule, i1__namespace.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
|
|
3710
|
+
RootCoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RootCoreModule, imports: [[
|
|
3629
3711
|
BaseCoreModule,
|
|
3630
3712
|
LocalizationModule,
|
|
3631
3713
|
i1$3.OAuthModule.forRoot(),
|
|
@@ -3634,7 +3716,7 @@
|
|
|
3634
3716
|
headerName: 'RequestVerificationToken',
|
|
3635
3717
|
}),
|
|
3636
3718
|
], BaseCoreModule, LocalizationModule] });
|
|
3637
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3719
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RootCoreModule, decorators: [{
|
|
3638
3720
|
type: i0.NgModule,
|
|
3639
3721
|
args: [{
|
|
3640
3722
|
exports: [BaseCoreModule, LocalizationModule],
|
|
@@ -3708,15 +3790,35 @@
|
|
|
3708
3790
|
},
|
|
3709
3791
|
{ provide: i1$3.OAuthStorage, useFactory: storageFactory },
|
|
3710
3792
|
{ provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
|
|
3793
|
+
{
|
|
3794
|
+
provide: LOCALIZATIONS,
|
|
3795
|
+
multi: true,
|
|
3796
|
+
useValue: localizationContributor(options.localizations),
|
|
3797
|
+
deps: [LocalizationService],
|
|
3798
|
+
},
|
|
3799
|
+
],
|
|
3800
|
+
};
|
|
3801
|
+
};
|
|
3802
|
+
CoreModule.forChild = function (options) {
|
|
3803
|
+
if (options === void 0) { options = {}; }
|
|
3804
|
+
return {
|
|
3805
|
+
ngModule: RootCoreModule,
|
|
3806
|
+
providers: [
|
|
3807
|
+
{
|
|
3808
|
+
provide: LOCALIZATIONS,
|
|
3809
|
+
multi: true,
|
|
3810
|
+
useValue: localizationContributor(options.localizations),
|
|
3811
|
+
deps: [LocalizationService],
|
|
3812
|
+
},
|
|
3711
3813
|
],
|
|
3712
3814
|
};
|
|
3713
3815
|
};
|
|
3714
3816
|
return CoreModule;
|
|
3715
3817
|
}());
|
|
3716
|
-
CoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3717
|
-
CoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
3718
|
-
CoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
3719
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3818
|
+
CoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: CoreModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3819
|
+
CoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
|
|
3820
|
+
CoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: CoreModule, imports: [[BaseCoreModule], BaseCoreModule] });
|
|
3821
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: CoreModule, decorators: [{
|
|
3720
3822
|
type: i0.NgModule,
|
|
3721
3823
|
args: [{
|
|
3722
3824
|
exports: [BaseCoreModule],
|
|
@@ -3742,9 +3844,9 @@
|
|
|
3742
3844
|
};
|
|
3743
3845
|
return AuthGuard;
|
|
3744
3846
|
}());
|
|
3745
|
-
AuthGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3746
|
-
AuthGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3747
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3847
|
+
AuthGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AuthGuard, deps: [{ token: i1__namespace$3.OAuthService }, { token: AuthService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
3848
|
+
AuthGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AuthGuard, providedIn: 'root' });
|
|
3849
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AuthGuard, decorators: [{
|
|
3748
3850
|
type: i0.Injectable,
|
|
3749
3851
|
args: [{
|
|
3750
3852
|
providedIn: 'root',
|
|
@@ -3775,9 +3877,9 @@
|
|
|
3775
3877
|
};
|
|
3776
3878
|
return PermissionGuard;
|
|
3777
3879
|
}());
|
|
3778
|
-
PermissionGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3779
|
-
PermissionGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3780
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3880
|
+
PermissionGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionGuard, deps: [{ token: i1__namespace$1.Router }, { token: RoutesService }, { token: PermissionService }, { token: HttpErrorReporterService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
3881
|
+
PermissionGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionGuard, providedIn: 'root' });
|
|
3882
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: PermissionGuard, decorators: [{
|
|
3781
3883
|
type: i0.Injectable,
|
|
3782
3884
|
args: [{
|
|
3783
3885
|
providedIn: 'root',
|
|
@@ -3972,9 +4074,9 @@
|
|
|
3972
4074
|
}
|
|
3973
4075
|
return AbpApiDefinitionService;
|
|
3974
4076
|
}());
|
|
3975
|
-
AbpApiDefinitionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3976
|
-
AbpApiDefinitionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3977
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4077
|
+
AbpApiDefinitionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4078
|
+
AbpApiDefinitionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpApiDefinitionService, providedIn: 'root' });
|
|
4079
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AbpApiDefinitionService, decorators: [{
|
|
3978
4080
|
type: i0.Injectable,
|
|
3979
4081
|
args: [{
|
|
3980
4082
|
providedIn: 'root',
|
|
@@ -3995,9 +4097,9 @@
|
|
|
3995
4097
|
};
|
|
3996
4098
|
return ContentProjectionService;
|
|
3997
4099
|
}());
|
|
3998
|
-
ContentProjectionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3999
|
-
ContentProjectionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4000
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4100
|
+
ContentProjectionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ContentProjectionService, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4101
|
+
ContentProjectionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ContentProjectionService, providedIn: 'root' });
|
|
4102
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ContentProjectionService, decorators: [{
|
|
4001
4103
|
type: i0.Injectable,
|
|
4002
4104
|
args: [{ providedIn: 'root' }]
|
|
4003
4105
|
}], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
|
|
@@ -4233,9 +4335,9 @@
|
|
|
4233
4335
|
};
|
|
4234
4336
|
return DomInsertionService;
|
|
4235
4337
|
}());
|
|
4236
|
-
DomInsertionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4237
|
-
DomInsertionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4238
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4338
|
+
DomInsertionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DomInsertionService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4339
|
+
DomInsertionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DomInsertionService, providedIn: 'root' });
|
|
4340
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DomInsertionService, decorators: [{
|
|
4239
4341
|
type: i0.Injectable,
|
|
4240
4342
|
args: [{ providedIn: 'root' }]
|
|
4241
4343
|
}] });
|
|
@@ -4274,9 +4376,9 @@
|
|
|
4274
4376
|
};
|
|
4275
4377
|
return ResourceWaitService;
|
|
4276
4378
|
}());
|
|
4277
|
-
ResourceWaitService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4278
|
-
ResourceWaitService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4279
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4379
|
+
ResourceWaitService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ResourceWaitService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4380
|
+
ResourceWaitService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ResourceWaitService, providedIn: 'root' });
|
|
4381
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ResourceWaitService, decorators: [{
|
|
4280
4382
|
type: i0.Injectable,
|
|
4281
4383
|
args: [{
|
|
4282
4384
|
providedIn: 'root',
|
|
@@ -4308,9 +4410,9 @@
|
|
|
4308
4410
|
};
|
|
4309
4411
|
return LazyLoadService;
|
|
4310
4412
|
}());
|
|
4311
|
-
LazyLoadService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4312
|
-
LazyLoadService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4313
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4413
|
+
LazyLoadService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4414
|
+
LazyLoadService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LazyLoadService, providedIn: 'root' });
|
|
4415
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LazyLoadService, decorators: [{
|
|
4314
4416
|
type: i0.Injectable,
|
|
4315
4417
|
args: [{
|
|
4316
4418
|
providedIn: 'root',
|
|
@@ -4442,9 +4544,9 @@
|
|
|
4442
4544
|
};
|
|
4443
4545
|
return ListService;
|
|
4444
4546
|
}());
|
|
4445
|
-
ListService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4446
|
-
ListService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4447
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4547
|
+
ListService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ListService, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4548
|
+
ListService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ListService });
|
|
4549
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ListService, decorators: [{
|
|
4448
4550
|
type: i0.Injectable
|
|
4449
4551
|
}], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
|
|
4450
4552
|
|
|
@@ -4489,9 +4591,9 @@
|
|
|
4489
4591
|
};
|
|
4490
4592
|
return RouterWaitService;
|
|
4491
4593
|
}());
|
|
4492
|
-
RouterWaitService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4493
|
-
RouterWaitService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4494
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4594
|
+
RouterWaitService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4595
|
+
RouterWaitService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RouterWaitService, providedIn: 'root' });
|
|
4596
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RouterWaitService, decorators: [{
|
|
4495
4597
|
type: i0.Injectable,
|
|
4496
4598
|
args: [{
|
|
4497
4599
|
providedIn: 'root',
|
|
@@ -4521,9 +4623,9 @@
|
|
|
4521
4623
|
}
|
|
4522
4624
|
return TrackByService;
|
|
4523
4625
|
}());
|
|
4524
|
-
TrackByService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4525
|
-
TrackByService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4526
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4626
|
+
TrackByService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TrackByService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4627
|
+
TrackByService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TrackByService, providedIn: 'root' });
|
|
4628
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TrackByService, decorators: [{
|
|
4527
4629
|
type: i0.Injectable,
|
|
4528
4630
|
args: [{
|
|
4529
4631
|
providedIn: 'root',
|
|
@@ -5060,6 +5162,7 @@
|
|
|
5060
5162
|
exports.LIST_QUERY_DEBOUNCE_TIME = LIST_QUERY_DEBOUNCE_TIME;
|
|
5061
5163
|
exports.LOADER_DELAY = LOADER_DELAY;
|
|
5062
5164
|
exports.LOADING_STRATEGY = LOADING_STRATEGY;
|
|
5165
|
+
exports.LOCALIZATIONS = LOCALIZATIONS;
|
|
5063
5166
|
exports.LazyLoadService = LazyLoadService;
|
|
5064
5167
|
exports.LazyModuleFactory = LazyModuleFactory;
|
|
5065
5168
|
exports.LimitedResultRequestDto = LimitedResultRequestDto;
|
|
@@ -5145,6 +5248,8 @@
|
|
|
5145
5248
|
exports.isObjectAndNotArrayNotNode = isObjectAndNotArrayNotNode;
|
|
5146
5249
|
exports.isUndefinedOrEmptyString = isUndefinedOrEmptyString;
|
|
5147
5250
|
exports.localeInitializer = localeInitializer;
|
|
5251
|
+
exports.localizationContributor = localizationContributor;
|
|
5252
|
+
exports.localizations$ = localizations$;
|
|
5148
5253
|
exports.mapEnumToOptions = mapEnumToOptions;
|
|
5149
5254
|
exports.ngxsStoragePluginSerialize = ngxsStoragePluginSerialize;
|
|
5150
5255
|
exports.noop = noop;
|
|
@@ -5168,5 +5273,5 @@
|
|
|
5168
5273
|
|
|
5169
5274
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5170
5275
|
|
|
5171
|
-
}))
|
|
5276
|
+
}));
|
|
5172
5277
|
//# sourceMappingURL=abp-ng.core.umd.js.map
|