@abp/ng.core 4.4.3 → 5.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abp-ng.core.d.ts +1 -41
- package/bundles/abp-ng.core-locale.umd.js +1 -1
- package/bundles/abp-ng.core-locale.umd.js.map +1 -1
- package/bundles/abp-ng.core-testing.umd.js +37 -34
- package/bundles/abp-ng.core-testing.umd.js.map +1 -1
- package/bundles/abp-ng.core.umd.js +1403 -1897
- package/bundles/abp-ng.core.umd.js.map +1 -1
- package/esm2015/abp-ng.core.js +1 -40
- package/esm2015/abp-ng.core.js.map +1 -0
- package/esm2015/lib/abstracts/index.js +1 -1
- package/esm2015/lib/abstracts/index.js.map +1 -0
- package/esm2015/lib/abstracts/ng-model.component.js +18 -16
- package/esm2015/lib/abstracts/ng-model.component.js.map +1 -0
- package/esm2015/lib/components/dynamic-layout.component.js +28 -16
- package/esm2015/lib/components/dynamic-layout.component.js.map +1 -0
- package/esm2015/lib/components/index.js +1 -1
- package/esm2015/lib/components/index.js.map +1 -0
- package/esm2015/lib/components/replaceable-route-container.component.js +19 -15
- package/esm2015/lib/components/replaceable-route-container.component.js.map +1 -0
- package/esm2015/lib/components/router-outlet.component.js +12 -9
- package/esm2015/lib/components/router-outlet.component.js.map +1 -0
- package/esm2015/lib/constants/different-locales.js +1 -1
- package/esm2015/lib/constants/different-locales.js.map +1 -0
- package/esm2015/lib/constants/index.js +1 -1
- package/esm2015/lib/constants/index.js.map +1 -0
- package/esm2015/lib/core.module.js +151 -83
- package/esm2015/lib/core.module.js.map +1 -0
- package/esm2015/lib/directives/autofocus.directive.js +14 -13
- package/esm2015/lib/directives/autofocus.directive.js.map +1 -0
- package/esm2015/lib/directives/debounce.directive.js +18 -16
- package/esm2015/lib/directives/debounce.directive.js.map +1 -0
- package/esm2015/lib/directives/for.directive.js +39 -25
- package/esm2015/lib/directives/for.directive.js.map +1 -0
- package/esm2015/lib/directives/form-submit.directive.js +22 -19
- package/esm2015/lib/directives/form-submit.directive.js.map +1 -0
- package/esm2015/lib/directives/index.js +1 -2
- package/esm2015/lib/directives/index.js.map +1 -0
- package/esm2015/lib/directives/init.directive.js +11 -10
- package/esm2015/lib/directives/init.directive.js.map +1 -0
- package/esm2015/lib/directives/permission.directive.js +19 -34
- package/esm2015/lib/directives/permission.directive.js.map +1 -0
- package/esm2015/lib/directives/replaceable-template.directive.js +24 -20
- package/esm2015/lib/directives/replaceable-template.directive.js.map +1 -0
- package/esm2015/lib/directives/stop-propagation.directive.js +16 -15
- package/esm2015/lib/directives/stop-propagation.directive.js.map +1 -0
- package/esm2015/lib/enums/common.js +1 -1
- package/esm2015/lib/enums/common.js.map +1 -0
- package/esm2015/lib/enums/index.js +1 -1
- package/esm2015/lib/enums/index.js.map +1 -0
- package/esm2015/lib/guards/auth.guard.js +9 -11
- package/esm2015/lib/guards/auth.guard.js.map +1 -0
- package/esm2015/lib/guards/index.js +1 -1
- package/esm2015/lib/guards/index.js.map +1 -0
- package/esm2015/lib/guards/permission.guard.js +16 -21
- package/esm2015/lib/guards/permission.guard.js.map +1 -0
- package/esm2015/lib/handlers/oauth-configuration.handler.js +12 -13
- package/esm2015/lib/handlers/oauth-configuration.handler.js.map +1 -0
- package/esm2015/lib/handlers/routes.handler.js +11 -11
- package/esm2015/lib/handlers/routes.handler.js.map +1 -0
- package/esm2015/lib/interceptors/api.interceptor.js +12 -14
- package/esm2015/lib/interceptors/api.interceptor.js.map +1 -0
- package/esm2015/lib/interceptors/index.js +1 -1
- package/esm2015/lib/interceptors/index.js.map +1 -0
- package/esm2015/lib/localization.module.js +12 -7
- package/esm2015/lib/localization.module.js.map +1 -0
- package/esm2015/lib/models/auth.js +1 -1
- package/esm2015/lib/models/auth.js.map +1 -0
- package/esm2015/lib/models/common.js +1 -1
- package/esm2015/lib/models/common.js.map +1 -0
- package/esm2015/lib/models/dtos.js +6 -5
- package/esm2015/lib/models/dtos.js.map +1 -0
- package/esm2015/lib/models/environment.js +1 -1
- package/esm2015/lib/models/environment.js.map +1 -0
- package/esm2015/lib/models/index.js +1 -4
- package/esm2015/lib/models/index.js.map +1 -0
- package/esm2015/lib/models/localization.js +1 -1
- package/esm2015/lib/models/localization.js.map +1 -0
- package/esm2015/lib/models/replaceable-components.js +1 -1
- package/esm2015/lib/models/replaceable-components.js.map +1 -0
- package/esm2015/lib/models/rest.js +1 -1
- package/esm2015/lib/models/rest.js.map +1 -0
- package/esm2015/lib/models/session.js +1 -1
- package/esm2015/lib/models/session.js.map +1 -0
- package/esm2015/lib/models/utility.js +1 -1
- package/esm2015/lib/models/utility.js.map +1 -0
- package/esm2015/lib/pipes/index.js +1 -1
- package/esm2015/lib/pipes/index.js.map +1 -0
- package/esm2015/lib/pipes/localization.pipe.js +14 -10
- package/esm2015/lib/pipes/localization.pipe.js.map +1 -0
- package/esm2015/lib/pipes/sort.pipe.js +13 -7
- package/esm2015/lib/pipes/sort.pipe.js.map +1 -0
- package/esm2015/lib/providers/cookie-language.provider.js +22 -0
- package/esm2015/lib/providers/cookie-language.provider.js.map +1 -0
- package/esm2015/lib/providers/locale.provider.js +1 -1
- package/esm2015/lib/providers/locale.provider.js.map +1 -0
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.js +9 -10
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.js.map +1 -0
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/index.js +1 -1
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/index.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.js +9 -10
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.js.map +1 -0
- 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/api-exploring/index.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.js +9 -10
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.js.map +1 -0
- 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/index.js.map +1 -0
- 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/models.js.map +1 -0
- 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/index.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.js +2 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.js.map +1 -0
- 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/index.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.js +1 -1
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/http/modeling/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/http/modeling/index.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/http/modeling/models.js +2 -1
- package/esm2015/lib/proxy/volo/abp/http/modeling/models.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/localization/index.js +1 -1
- package/esm2015/lib/proxy/volo/abp/localization/index.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/localization/models.js +1 -1
- package/esm2015/lib/proxy/volo/abp/localization/models.js.map +1 -0
- package/esm2015/lib/proxy/volo/abp/models.js +1 -1
- package/esm2015/lib/proxy/volo/abp/models.js.map +1 -0
- package/esm2015/lib/services/auth.service.js +9 -16
- package/esm2015/lib/services/auth.service.js.map +1 -0
- package/esm2015/lib/services/config-state.service.js +12 -20
- package/esm2015/lib/services/config-state.service.js.map +1 -0
- package/esm2015/lib/services/content-projection.service.js +7 -8
- package/esm2015/lib/services/content-projection.service.js.map +1 -0
- package/esm2015/lib/services/dom-insertion.service.js +7 -5
- package/esm2015/lib/services/dom-insertion.service.js.map +1 -0
- package/esm2015/lib/services/environment.service.js +7 -7
- package/esm2015/lib/services/environment.service.js.map +1 -0
- package/esm2015/lib/services/http-error-reporter.service.js +29 -0
- package/esm2015/lib/services/http-error-reporter.service.js.map +1 -0
- package/esm2015/lib/services/http-wait.service.js +9 -10
- package/esm2015/lib/services/http-wait.service.js.map +1 -0
- package/esm2015/lib/services/index.js +2 -4
- package/esm2015/lib/services/index.js.map +1 -0
- package/esm2015/lib/services/lazy-load.service.js +9 -10
- package/esm2015/lib/services/lazy-load.service.js.map +1 -0
- package/esm2015/lib/services/list.service.js +7 -7
- package/esm2015/lib/services/list.service.js.map +1 -0
- package/esm2015/lib/services/localization.service.js +11 -11
- package/esm2015/lib/services/localization.service.js.map +1 -0
- package/esm2015/lib/services/multi-tenancy.service.js +15 -34
- package/esm2015/lib/services/multi-tenancy.service.js.map +1 -0
- package/esm2015/lib/services/permission.service.js +10 -11
- package/esm2015/lib/services/permission.service.js.map +1 -0
- package/esm2015/lib/services/replaceable-components.service.js +7 -9
- package/esm2015/lib/services/replaceable-components.service.js.map +1 -0
- package/esm2015/lib/services/resource-wait.service.js +9 -7
- package/esm2015/lib/services/resource-wait.service.js.map +1 -0
- package/esm2015/lib/services/rest.service.js +19 -23
- package/esm2015/lib/services/rest.service.js.map +1 -0
- package/esm2015/lib/services/router-events.service.js +7 -8
- package/esm2015/lib/services/router-events.service.js.map +1 -0
- package/esm2015/lib/services/router-wait.service.js +9 -11
- package/esm2015/lib/services/router-wait.service.js.map +1 -0
- package/esm2015/lib/services/routes.service.js +13 -17
- package/esm2015/lib/services/routes.service.js.map +1 -0
- package/esm2015/lib/services/session-state.service.js +9 -10
- package/esm2015/lib/services/session-state.service.js.map +1 -0
- package/esm2015/lib/services/subscription.service.js +7 -4
- package/esm2015/lib/services/subscription.service.js.map +1 -0
- package/esm2015/lib/services/track-by.service.js +12 -8
- package/esm2015/lib/services/track-by.service.js.map +1 -0
- package/esm2015/lib/strategies/auth-flow.strategy.js +9 -7
- package/esm2015/lib/strategies/auth-flow.strategy.js.map +1 -0
- package/esm2015/lib/strategies/container.strategy.js +1 -1
- package/esm2015/lib/strategies/container.strategy.js.map +1 -0
- package/esm2015/lib/strategies/content-security.strategy.js +1 -1
- package/esm2015/lib/strategies/content-security.strategy.js.map +1 -0
- package/esm2015/lib/strategies/content.strategy.js +14 -10
- package/esm2015/lib/strategies/content.strategy.js.map +1 -0
- package/esm2015/lib/strategies/context.strategy.js +1 -2
- package/esm2015/lib/strategies/context.strategy.js.map +1 -0
- package/esm2015/lib/strategies/cross-origin.strategy.js +1 -1
- package/esm2015/lib/strategies/cross-origin.strategy.js.map +1 -0
- package/esm2015/lib/strategies/dom.strategy.js +1 -1
- package/esm2015/lib/strategies/dom.strategy.js.map +1 -0
- package/esm2015/lib/strategies/index.js +1 -1
- package/esm2015/lib/strategies/index.js.map +1 -0
- package/esm2015/lib/strategies/loading.strategy.js +1 -1
- package/esm2015/lib/strategies/loading.strategy.js.map +1 -0
- package/esm2015/lib/strategies/projection.strategy.js +1 -1
- package/esm2015/lib/strategies/projection.strategy.js.map +1 -0
- package/esm2015/lib/tokens/app-config.token.js +1 -1
- package/esm2015/lib/tokens/app-config.token.js.map +1 -0
- package/esm2015/lib/tokens/cookie-language-key.token.js +5 -0
- package/esm2015/lib/tokens/cookie-language-key.token.js.map +1 -0
- package/esm2015/lib/tokens/index.js +3 -2
- package/esm2015/lib/tokens/index.js.map +1 -0
- package/esm2015/lib/tokens/list.token.js +1 -1
- package/esm2015/lib/tokens/list.token.js.map +1 -0
- package/esm2015/lib/tokens/lodaer-delay.token.js +1 -1
- package/esm2015/lib/tokens/lodaer-delay.token.js.map +1 -0
- package/esm2015/lib/tokens/manage-profile.token.js +1 -1
- package/esm2015/lib/tokens/manage-profile.token.js.map +1 -0
- package/esm2015/lib/tokens/options.token.js +1 -1
- package/esm2015/lib/tokens/options.token.js.map +1 -0
- package/esm2015/lib/tokens/tenant-key.token.js +1 -1
- package/esm2015/lib/tokens/tenant-key.token.js.map +1 -0
- package/esm2015/lib/utils/array-utils.js +1 -1
- package/esm2015/lib/utils/array-utils.js.map +1 -0
- package/esm2015/lib/utils/auth-utils.js +1 -1
- package/esm2015/lib/utils/auth-utils.js.map +1 -0
- package/esm2015/lib/utils/common-utils.js +1 -2
- package/esm2015/lib/utils/common-utils.js.map +1 -0
- package/esm2015/lib/utils/date-extensions.js +1 -1
- package/esm2015/lib/utils/date-extensions.js.map +1 -0
- package/esm2015/lib/utils/date-utils.js +1 -1
- package/esm2015/lib/utils/date-utils.js.map +1 -0
- package/esm2015/lib/utils/environment-utils.js +8 -5
- package/esm2015/lib/utils/environment-utils.js.map +1 -0
- package/esm2015/lib/utils/factory-utils.js +1 -1
- package/esm2015/lib/utils/factory-utils.js.map +1 -0
- package/esm2015/lib/utils/file-utils.js +1 -1
- package/esm2015/lib/utils/file-utils.js.map +1 -0
- package/esm2015/lib/utils/form-utils.js +1 -1
- package/esm2015/lib/utils/form-utils.js.map +1 -0
- package/esm2015/lib/utils/generator-utils.js +1 -2
- package/esm2015/lib/utils/generator-utils.js.map +1 -0
- package/esm2015/lib/utils/http-utils.js +1 -1
- package/esm2015/lib/utils/http-utils.js.map +1 -0
- package/esm2015/lib/utils/index.js +1 -2
- package/esm2015/lib/utils/index.js.map +1 -0
- package/esm2015/lib/utils/initial-utils.js +1 -1
- package/esm2015/lib/utils/initial-utils.js.map +1 -0
- package/esm2015/lib/utils/internal-store-utils.js +1 -1
- package/esm2015/lib/utils/internal-store-utils.js.map +1 -0
- package/esm2015/lib/utils/lazy-load-utils.js +1 -2
- package/esm2015/lib/utils/lazy-load-utils.js.map +1 -0
- package/esm2015/lib/utils/localization-utils.js +3 -3
- package/esm2015/lib/utils/localization-utils.js.map +1 -0
- package/esm2015/lib/utils/multi-tenancy-utils.js +1 -1
- package/esm2015/lib/utils/multi-tenancy-utils.js.map +1 -0
- package/esm2015/lib/utils/number-utils.js +1 -2
- package/esm2015/lib/utils/number-utils.js.map +1 -0
- package/esm2015/lib/utils/object-utils.js +1 -1
- package/esm2015/lib/utils/object-utils.js.map +1 -0
- package/esm2015/lib/utils/route-utils.js +1 -1
- package/esm2015/lib/utils/route-utils.js.map +1 -0
- package/esm2015/lib/utils/string-utils.js +1 -1
- package/esm2015/lib/utils/string-utils.js.map +1 -0
- package/esm2015/lib/utils/tree-utils.js +2 -1
- package/esm2015/lib/utils/tree-utils.js.map +1 -0
- package/esm2015/lib/validators/age.validator.js +1 -1
- package/esm2015/lib/validators/age.validator.js.map +1 -0
- package/esm2015/lib/validators/credit-card.validator.js +1 -2
- package/esm2015/lib/validators/credit-card.validator.js.map +1 -0
- package/esm2015/lib/validators/index.js +2 -4
- package/esm2015/lib/validators/index.js.map +1 -0
- package/esm2015/lib/validators/range.validator.js +1 -1
- package/esm2015/lib/validators/range.validator.js.map +1 -0
- package/esm2015/lib/validators/required.validator.js +1 -1
- package/esm2015/lib/validators/required.validator.js.map +1 -0
- package/esm2015/lib/validators/string-length.validator.js +1 -1
- package/esm2015/lib/validators/string-length.validator.js.map +1 -0
- package/esm2015/lib/validators/url.validator.js +1 -1
- package/esm2015/lib/validators/url.validator.js.map +1 -0
- package/esm2015/locale/abp-ng.core-locale.js +1 -1
- package/esm2015/locale/abp-ng.core-locale.js.map +1 -0
- package/esm2015/locale/public-api.js +1 -1
- package/esm2015/locale/public-api.js.map +1 -0
- package/esm2015/locale/utils/register-locale.js +1 -1
- package/esm2015/locale/utils/register-locale.js.map +1 -0
- package/esm2015/public-api.js +10 -15
- package/esm2015/public-api.js.map +1 -0
- package/esm2015/testing/abp-ng.core-testing.js +1 -3
- package/esm2015/testing/abp-ng.core-testing.js.map +1 -0
- package/esm2015/testing/lib/core-testing.module.js +12 -7
- package/esm2015/testing/lib/core-testing.module.js.map +1 -0
- package/esm2015/testing/lib/services/index.js +1 -1
- package/esm2015/testing/lib/services/index.js.map +1 -0
- package/esm2015/testing/lib/services/mock-permission.service.js +9 -10
- package/esm2015/testing/lib/services/mock-permission.service.js.map +1 -0
- package/esm2015/testing/lib/services/mock-rest.service.js +14 -14
- package/esm2015/testing/lib/services/mock-rest.service.js.map +1 -0
- package/esm2015/testing/lib/utils/clear-page.util.js +1 -1
- package/esm2015/testing/lib/utils/clear-page.util.js.map +1 -0
- package/esm2015/testing/lib/utils/index.js +1 -1
- package/esm2015/testing/lib/utils/index.js.map +1 -0
- package/esm2015/testing/lib/utils/wait.util.js +1 -1
- package/esm2015/testing/lib/utils/wait.util.js.map +1 -0
- package/esm2015/testing/public-api.js +1 -1
- package/esm2015/testing/public-api.js.map +1 -0
- package/fesm2015/abp-ng.core-locale.js.map +1 -1
- package/fesm2015/abp-ng.core-testing.js +32 -30
- package/fesm2015/abp-ng.core-testing.js.map +1 -1
- package/fesm2015/abp-ng.core.js +723 -1138
- package/fesm2015/abp-ng.core.js.map +1 -1
- package/lib/abstracts/ng-model.component.d.ts +6 -3
- package/lib/components/dynamic-layout.component.d.ts +3 -0
- package/lib/components/replaceable-route-container.component.d.ts +3 -0
- package/lib/components/router-outlet.component.d.ts +3 -0
- package/lib/core.module.d.ts +29 -0
- package/lib/directives/autofocus.directive.d.ts +4 -1
- package/lib/directives/debounce.directive.d.ts +3 -0
- package/lib/directives/for.directive.d.ts +3 -0
- package/lib/directives/form-submit.directive.d.ts +3 -0
- package/lib/directives/index.d.ts +0 -1
- package/lib/directives/init.directive.d.ts +3 -0
- package/lib/directives/permission.directive.d.ts +3 -5
- package/lib/directives/replaceable-template.directive.d.ts +3 -0
- package/lib/directives/stop-propagation.directive.d.ts +3 -0
- package/lib/guards/auth.guard.d.ts +3 -0
- package/lib/guards/permission.guard.d.ts +7 -4
- package/lib/handlers/oauth-configuration.handler.d.ts +3 -0
- package/lib/handlers/routes.handler.d.ts +3 -0
- package/lib/interceptors/api.interceptor.d.ts +3 -0
- package/lib/localization.module.d.ts +5 -0
- package/lib/models/index.d.ts +0 -3
- package/lib/models/replaceable-components.d.ts +2 -2
- package/lib/models/session.d.ts +0 -14
- package/lib/pipes/localization.pipe.d.ts +6 -2
- package/lib/pipes/sort.pipe.d.ts +4 -0
- package/lib/providers/cookie-language.provider.d.ts +3 -0
- package/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.d.ts +3 -0
- package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.d.ts +3 -0
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.d.ts +3 -0
- package/lib/services/auth.service.d.ts +3 -4
- package/lib/services/config-state.service.d.ts +14 -16
- package/lib/services/content-projection.service.d.ts +3 -0
- package/lib/services/dom-insertion.service.d.ts +3 -0
- package/lib/services/environment.service.d.ts +4 -0
- package/lib/services/http-error-reporter.service.d.ts +12 -0
- package/lib/services/http-wait.service.d.ts +3 -0
- package/lib/services/index.d.ts +1 -3
- package/lib/services/lazy-load.service.d.ts +3 -0
- package/lib/services/list.service.d.ts +4 -1
- package/lib/services/localization.service.d.ts +6 -3
- package/lib/services/multi-tenancy.service.d.ts +7 -14
- package/lib/services/permission.service.d.ts +4 -1
- package/lib/services/replaceable-components.service.d.ts +3 -0
- package/lib/services/resource-wait.service.d.ts +3 -0
- package/lib/services/rest.service.d.ts +6 -3
- package/lib/services/router-events.service.d.ts +3 -0
- package/lib/services/router-wait.service.d.ts +3 -0
- package/lib/services/routes.service.d.ts +5 -2
- package/lib/services/session-state.service.d.ts +3 -0
- package/lib/services/subscription.service.d.ts +3 -0
- package/lib/services/track-by.service.d.ts +3 -0
- package/lib/strategies/auth-flow.strategy.d.ts +12 -12
- package/lib/strategies/content.strategy.d.ts +9 -5
- package/lib/tokens/cookie-language-key.token.d.ts +2 -0
- package/lib/tokens/index.d.ts +2 -1
- package/lib/utils/auth-utils.d.ts +5 -5
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/initial-utils.d.ts +5 -5
- package/lib/utils/tree-utils.d.ts +1 -1
- package/locale/abp-ng.core-locale.d.ts +1 -0
- package/locale/package.json +0 -1
- package/package.json +5 -9
- package/public-api.d.ts +9 -11
- package/testing/abp-ng.core-testing.d.ts +1 -2
- package/testing/lib/core-testing.module.d.ts +7 -0
- package/testing/lib/services/mock-permission.service.d.ts +3 -0
- package/testing/lib/services/mock-rest.service.d.ts +3 -0
- package/testing/package.json +0 -1
- package/abp-ng.core.metadata.json +0 -1
- package/bundles/abp-ng.core-locale.umd.min.js +0 -16
- package/bundles/abp-ng.core-locale.umd.min.js.map +0 -1
- package/bundles/abp-ng.core-testing.umd.min.js +0 -2
- package/bundles/abp-ng.core-testing.umd.min.js.map +0 -1
- package/bundles/abp-ng.core.umd.min.js +0 -17
- package/bundles/abp-ng.core.umd.min.js.map +0 -1
- package/esm2015/lib/actions/config.actions.js +0 -25
- package/esm2015/lib/actions/index.js +0 -5
- package/esm2015/lib/actions/loader.actions.js +0 -13
- package/esm2015/lib/actions/profile.actions.js +0 -16
- package/esm2015/lib/actions/rest.actions.js +0 -7
- package/esm2015/lib/directives/visibility.directive.js +0 -62
- package/esm2015/lib/models/application-configuration.js +0 -2
- package/esm2015/lib/models/config.js +0 -2
- package/esm2015/lib/models/profile.js +0 -2
- package/esm2015/lib/services/application-configuration.service.js +0 -29
- package/esm2015/lib/services/profile-state.service.js +0 -33
- package/esm2015/lib/services/profile.service.js +0 -48
- package/esm2015/lib/states/config.state.js +0 -230
- package/esm2015/lib/states/index.js +0 -3
- package/esm2015/lib/states/profile.state.js +0 -53
- package/esm2015/lib/utils/rxjs-utils.js +0 -26
- package/lib/actions/config.actions.d.ts +0 -23
- package/lib/actions/index.d.ts +0 -4
- package/lib/actions/loader.actions.d.ts +0 -11
- package/lib/actions/profile.actions.d.ts +0 -14
- package/lib/actions/rest.actions.d.ts +0 -6
- package/lib/directives/visibility.directive.d.ts +0 -16
- package/lib/models/application-configuration.d.ts +0 -108
- package/lib/models/config.d.ts +0 -52
- package/lib/models/profile.d.ts +0 -25
- package/lib/services/application-configuration.service.d.ts +0 -11
- package/lib/services/profile-state.service.d.ts +0 -11
- package/lib/services/profile.service.d.ts +0 -11
- package/lib/states/config.state.d.ts +0 -191
- package/lib/states/index.d.ts +0 -2
- package/lib/states/profile.state.d.ts +0 -12
- package/lib/utils/rxjs-utils.d.ts +0 -5
- package/locale/abp-ng.core-locale.metadata.json +0 -1
- package/testing/abp-ng.core-testing.metadata.json +0 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
2
1
|
import { ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AbstractNgModelComponent<T = any, U = T> implements ControlValueAccessor {
|
|
4
5
|
injector: Injector;
|
|
5
6
|
protected _value: T;
|
|
6
7
|
protected cdRef: ChangeDetectorRef;
|
|
7
|
-
onChange: (value: T) =>
|
|
8
|
-
onTouched: () =>
|
|
8
|
+
onChange: (value: T) => void;
|
|
9
|
+
onTouched: () => void;
|
|
9
10
|
disabled: boolean;
|
|
10
11
|
readonly: boolean;
|
|
11
12
|
valueFn: (value: U, previousValue?: T) => T;
|
|
@@ -19,4 +20,6 @@ export declare class AbstractNgModelComponent<T = any, U = T> implements Control
|
|
|
19
20
|
registerOnChange(fn: any): void;
|
|
20
21
|
registerOnTouched(fn: any): void;
|
|
21
22
|
setDisabledState(isDisabled: boolean): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNgModelComponent<any, any>, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractNgModelComponent<any, any>, "ng-component", never, { "disabled": "disabled"; "readonly": "readonly"; "valueFn": "valueFn"; "valueLimitFn": "valueLimitFn"; "value": "value"; }, {}, never, never>;
|
|
22
25
|
}
|
|
@@ -4,6 +4,7 @@ import { LocalizationService } from '../services/localization.service';
|
|
|
4
4
|
import { ReplaceableComponentsService } from '../services/replaceable-components.service';
|
|
5
5
|
import { RouterEvents } from '../services/router-events.service';
|
|
6
6
|
import { SubscriptionService } from '../services/subscription.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class DynamicLayoutComponent {
|
|
8
9
|
private localizationService;
|
|
9
10
|
private replaceableComponents;
|
|
@@ -21,4 +22,6 @@ export declare class DynamicLayoutComponent {
|
|
|
21
22
|
private getLayout;
|
|
22
23
|
private listenToLanguageChange;
|
|
23
24
|
private getComponent;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutComponent, [null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutComponent, "abp-dynamic-layout", never, {}, {}, never, never>;
|
|
24
27
|
}
|
|
@@ -2,6 +2,7 @@ import { OnInit, Type } from '@angular/core';
|
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { ReplaceableComponentsService } from '../services/replaceable-components.service';
|
|
4
4
|
import { SubscriptionService } from '../services/subscription.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ReplaceableRouteContainerComponent implements OnInit {
|
|
6
7
|
private route;
|
|
7
8
|
private replaceableComponents;
|
|
@@ -11,4 +12,6 @@ export declare class ReplaceableRouteContainerComponent implements OnInit {
|
|
|
11
12
|
externalComponent: Type<any>;
|
|
12
13
|
constructor(route: ActivatedRoute, replaceableComponents: ReplaceableComponentsService, subscription: SubscriptionService);
|
|
13
14
|
ngOnInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableRouteContainerComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReplaceableRouteContainerComponent, "abp-replaceable-route-container", never, {}, {}, never, never>;
|
|
14
17
|
}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class RouterOutletComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterOutletComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RouterOutletComponent, "abp-router-outlet", never, {}, {}, never, never>;
|
|
2
5
|
}
|
package/lib/core.module.d.ts
CHANGED
|
@@ -2,6 +2,26 @@ import { ModuleWithProviders } from '@angular/core';
|
|
|
2
2
|
import { OAuthStorage } from 'angular-oauth2-oidc';
|
|
3
3
|
import { ABP } from './models/common';
|
|
4
4
|
import './utils/date-extensions';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./abstracts/ng-model.component";
|
|
7
|
+
import * as i2 from "./directives/autofocus.directive";
|
|
8
|
+
import * as i3 from "./components/dynamic-layout.component";
|
|
9
|
+
import * as i4 from "./directives/for.directive";
|
|
10
|
+
import * as i5 from "./directives/form-submit.directive";
|
|
11
|
+
import * as i6 from "./directives/init.directive";
|
|
12
|
+
import * as i7 from "./directives/debounce.directive";
|
|
13
|
+
import * as i8 from "./directives/permission.directive";
|
|
14
|
+
import * as i9 from "./components/replaceable-route-container.component";
|
|
15
|
+
import * as i10 from "./directives/replaceable-template.directive";
|
|
16
|
+
import * as i11 from "./components/router-outlet.component";
|
|
17
|
+
import * as i12 from "./pipes/sort.pipe";
|
|
18
|
+
import * as i13 from "./directives/stop-propagation.directive";
|
|
19
|
+
import * as i14 from "angular-oauth2-oidc";
|
|
20
|
+
import * as i15 from "@angular/common";
|
|
21
|
+
import * as i16 from "@angular/common/http";
|
|
22
|
+
import * as i17 from "@angular/forms";
|
|
23
|
+
import * as i18 from "@angular/router";
|
|
24
|
+
import * as i19 from "./localization.module";
|
|
5
25
|
export declare function storageFactory(): OAuthStorage;
|
|
6
26
|
/**
|
|
7
27
|
* BaseCoreModule is the module that holds
|
|
@@ -10,17 +30,26 @@ export declare function storageFactory(): OAuthStorage;
|
|
|
10
30
|
* This module will be imported and exported by all others.
|
|
11
31
|
*/
|
|
12
32
|
export declare class BaseCoreModule {
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseCoreModule, never>;
|
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseCoreModule, [typeof i1.AbstractNgModelComponent, typeof i2.AutofocusDirective, typeof i3.DynamicLayoutComponent, typeof i4.ForDirective, typeof i5.FormSubmitDirective, typeof i6.InitDirective, typeof i7.InputEventDebounceDirective, typeof i8.PermissionDirective, typeof i9.ReplaceableRouteContainerComponent, typeof i10.ReplaceableTemplateDirective, typeof i11.RouterOutletComponent, typeof i12.SortPipe, typeof i13.StopPropagationDirective], [typeof i14.OAuthModule, typeof i15.CommonModule, typeof i16.HttpClientModule, typeof i17.FormsModule, typeof i17.ReactiveFormsModule, typeof i18.RouterModule, typeof i19.LocalizationModule], [typeof i15.CommonModule, typeof i16.HttpClientModule, typeof i17.FormsModule, typeof i17.ReactiveFormsModule, typeof i18.RouterModule, typeof i19.LocalizationModule, typeof i1.AbstractNgModelComponent, typeof i2.AutofocusDirective, typeof i3.DynamicLayoutComponent, typeof i4.ForDirective, typeof i5.FormSubmitDirective, typeof i6.InitDirective, typeof i7.InputEventDebounceDirective, typeof i8.PermissionDirective, typeof i9.ReplaceableRouteContainerComponent, typeof i10.ReplaceableTemplateDirective, typeof i11.RouterOutletComponent, typeof i12.SortPipe, typeof i13.StopPropagationDirective]>;
|
|
35
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaseCoreModule>;
|
|
13
36
|
}
|
|
14
37
|
/**
|
|
15
38
|
* RootCoreModule is the module that will be used at root level
|
|
16
39
|
* and it introduces imports useful at root level (e.g. NGXS)
|
|
17
40
|
*/
|
|
18
41
|
export declare class RootCoreModule {
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RootCoreModule, never>;
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RootCoreModule, never, [typeof BaseCoreModule, typeof i19.LocalizationModule, typeof i14.OAuthModule, typeof i16.HttpClientXsrfModule], [typeof BaseCoreModule, typeof i19.LocalizationModule]>;
|
|
44
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RootCoreModule>;
|
|
19
45
|
}
|
|
20
46
|
/**
|
|
21
47
|
* CoreModule is the module that is publicly available
|
|
22
48
|
*/
|
|
23
49
|
export declare class CoreModule {
|
|
24
50
|
static forRoot(options?: ABP.Root): ModuleWithProviders<RootCoreModule>;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoreModule, never>;
|
|
52
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, never, [typeof BaseCoreModule], [typeof BaseCoreModule]>;
|
|
53
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CoreModule>;
|
|
25
54
|
}
|
|
26
55
|
export declare function ngxsStoragePluginSerialize(data: any): any;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class AutofocusDirective implements AfterViewInit {
|
|
3
4
|
private elRef;
|
|
4
5
|
delay: number;
|
|
5
6
|
constructor(elRef: ElementRef);
|
|
6
7
|
ngAfterViewInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutofocusDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutofocusDirective, "[autofocus]", never, { "delay": "autofocus"; }, {}, never>;
|
|
7
10
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { SubscriptionService } from '../services/subscription.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class InputEventDebounceDirective implements OnInit {
|
|
4
5
|
private el;
|
|
5
6
|
private subscription;
|
|
@@ -7,4 +8,6 @@ export declare class InputEventDebounceDirective implements OnInit {
|
|
|
7
8
|
readonly debounceEvent: EventEmitter<Event>;
|
|
8
9
|
constructor(el: ElementRef, subscription: SubscriptionService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputEventDebounceDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InputEventDebounceDirective, "[input.debounce]", never, { "debounce": "debounce"; }, { "debounceEvent": "input.debounce"; }, never>;
|
|
10
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IterableDiffers, OnChanges, TemplateRef, TrackByFunction, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare type CompareFn<T = any> = (value: T, comparison: T) => boolean;
|
|
3
4
|
declare class AbpForContext {
|
|
4
5
|
$implicit: any;
|
|
@@ -29,5 +30,7 @@ export declare class ForDirective implements OnChanges {
|
|
|
29
30
|
private projectItems;
|
|
30
31
|
private sortItems;
|
|
31
32
|
ngOnChanges(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ForDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ForDirective, "[abpFor]", never, { "items": "abpForOf"; "orderBy": "abpForOrderBy"; "orderDir": "abpForOrderDir"; "filterBy": "abpForFilterBy"; "filterVal": "abpForFilterVal"; "trackBy": "abpForTrackBy"; "compareBy": "abpForCompareBy"; "emptyRef": "abpForEmptyRef"; }, {}, never>;
|
|
32
35
|
}
|
|
33
36
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroupDirective } from '@angular/forms';
|
|
3
3
|
import { SubscriptionService } from '../services/subscription.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class FormSubmitDirective implements OnInit {
|
|
5
6
|
private formGroupDirective;
|
|
6
7
|
private host;
|
|
@@ -13,4 +14,6 @@ export declare class FormSubmitDirective implements OnInit {
|
|
|
13
14
|
constructor(formGroupDirective: FormGroupDirective, host: ElementRef<HTMLFormElement>, cdRef: ChangeDetectorRef, subscription: SubscriptionService);
|
|
14
15
|
ngOnInit(): void;
|
|
15
16
|
markAsDirty(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmitDirective, [{ self: true; }, null, null, null]>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormSubmitDirective, "form[ngSubmit][formGroup]", never, { "debounce": "debounce"; "notValidateOnSubmit": "notValidateOnSubmit"; }, { "ngSubmit": "ngSubmit"; }, never>;
|
|
16
19
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class InitDirective implements AfterViewInit {
|
|
3
4
|
private elRef;
|
|
4
5
|
readonly init: EventEmitter<ElementRef<any>>;
|
|
5
6
|
constructor(elRef: ElementRef);
|
|
6
7
|
ngAfterViewInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InitDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InitDirective, "[abpInit]", never, {}, { "init": "abpInit"; }, never>;
|
|
7
10
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { PermissionService } from '../services/permission.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class PermissionDirective implements OnDestroy, OnChanges {
|
|
5
6
|
private elRef;
|
|
6
7
|
private renderer;
|
|
@@ -12,11 +13,8 @@ export declare class PermissionDirective implements OnDestroy, OnChanges {
|
|
|
12
13
|
subscription: Subscription;
|
|
13
14
|
constructor(elRef: ElementRef<HTMLElement>, renderer: Renderer2, templateRef: TemplateRef<any>, vcRef: ViewContainerRef, permissionService: PermissionService, cdRef: ChangeDetectorRef);
|
|
14
15
|
private check;
|
|
15
|
-
private initStructural;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated Will be deleted in v5.0
|
|
18
|
-
*/
|
|
19
|
-
private initAttribute;
|
|
20
16
|
ngOnDestroy(): void;
|
|
21
17
|
ngOnChanges(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionDirective, [null, null, { optional: true; }, null, null, null]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PermissionDirective, "[abpPermission]", never, { "condition": "abpPermission"; }, {}, never>;
|
|
22
20
|
}
|
|
@@ -4,6 +4,7 @@ import { ABP } from '../models/common';
|
|
|
4
4
|
import { ReplaceableComponents } from '../models/replaceable-components';
|
|
5
5
|
import { ReplaceableComponentsService } from '../services/replaceable-components.service';
|
|
6
6
|
import { SubscriptionService } from '../services/subscription.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ReplaceableTemplateDirective implements OnInit, OnChanges {
|
|
8
9
|
private injector;
|
|
9
10
|
private templateRef;
|
|
@@ -24,4 +25,6 @@ export declare class ReplaceableTemplateDirective implements OnInit, OnChanges {
|
|
|
24
25
|
setDefaultComponentInputs(): void;
|
|
25
26
|
setProvidedData(): void;
|
|
26
27
|
resetDefaultComponent(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableTemplateDirective, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ReplaceableTemplateDirective, "[abpReplaceableTemplate]", never, { "data": "abpReplaceableTemplate"; }, {}, never>;
|
|
27
30
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { SubscriptionService } from '../services/subscription.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class StopPropagationDirective implements OnInit {
|
|
4
5
|
private el;
|
|
5
6
|
private subscription;
|
|
6
7
|
readonly stopPropEvent: EventEmitter<MouseEvent>;
|
|
7
8
|
constructor(el: ElementRef, subscription: SubscriptionService);
|
|
8
9
|
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StopPropagationDirective, "[click.stop]", never, {}, { "stopPropEvent": "click.stop"; }, never>;
|
|
9
12
|
}
|
|
@@ -2,9 +2,12 @@ import { CanActivate, UrlTree } from '@angular/router';
|
|
|
2
2
|
import { OAuthService } from 'angular-oauth2-oidc';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { AuthService } from '../services/auth.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AuthGuard implements CanActivate {
|
|
6
7
|
private oauthService;
|
|
7
8
|
private authService;
|
|
8
9
|
constructor(oauthService: OAuthService, authService: AuthService);
|
|
9
10
|
canActivate(): Observable<boolean> | boolean | UrlTree;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
|
|
10
13
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';
|
|
2
|
-
import { Store } from '@ngxs/store';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
3
|
+
import { HttpErrorReporterService } from '../services/http-error-reporter.service';
|
|
5
4
|
import { PermissionService } from '../services/permission.service';
|
|
5
|
+
import { RoutesService } from '../services/routes.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class PermissionGuard implements CanActivate {
|
|
7
8
|
private router;
|
|
8
9
|
private routesService;
|
|
9
|
-
private store;
|
|
10
10
|
private permissionService;
|
|
11
|
-
|
|
11
|
+
private httpErrorReporter;
|
|
12
|
+
constructor(router: Router, routesService: RoutesService, permissionService: PermissionService, httpErrorReporter: HttpErrorReporterService);
|
|
12
13
|
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionGuard, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionGuard>;
|
|
13
16
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OAuthService } from 'angular-oauth2-oidc';
|
|
2
2
|
import { ABP } from '../models/common';
|
|
3
3
|
import { EnvironmentService } from '../services/environment.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class OAuthConfigurationHandler {
|
|
5
6
|
private oAuthService;
|
|
6
7
|
private environmentService;
|
|
7
8
|
private options;
|
|
8
9
|
constructor(oAuthService: OAuthService, environmentService: EnvironmentService, options: ABP.Root);
|
|
9
10
|
private listenToSetEnvironment;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OAuthConfigurationHandler, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OAuthConfigurationHandler>;
|
|
10
13
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Router } from '@angular/router';
|
|
2
2
|
import { RoutesService } from '../services/routes.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class RoutesHandler {
|
|
4
5
|
private routes;
|
|
5
6
|
private router;
|
|
6
7
|
constructor(routes: RoutesService, router: Router);
|
|
7
8
|
addRoutes(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoutesHandler, [null, { optional: true; }]>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RoutesHandler>;
|
|
8
11
|
}
|
|
@@ -2,6 +2,7 @@ import { HttpHandler, HttpHeaders, HttpInterceptor, HttpRequest } from '@angular
|
|
|
2
2
|
import { OAuthService } from 'angular-oauth2-oidc';
|
|
3
3
|
import { SessionStateService } from '../services/session-state.service';
|
|
4
4
|
import { HttpWaitService } from '../services/http-wait.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ApiInterceptor implements HttpInterceptor {
|
|
6
7
|
private oAuthService;
|
|
7
8
|
private sessionState;
|
|
@@ -10,4 +11,6 @@ export declare class ApiInterceptor implements HttpInterceptor {
|
|
|
10
11
|
constructor(oAuthService: OAuthService, sessionState: SessionStateService, httpWaitService: HttpWaitService, tenantKey: string);
|
|
11
12
|
intercept(request: HttpRequest<any>, next: HttpHandler): import("rxjs").Observable<import("@angular/common/http").HttpEvent<any>>;
|
|
12
13
|
getAdditionalHeaders(existingHeaders?: HttpHeaders): any;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiInterceptor, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiInterceptor>;
|
|
13
16
|
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./pipes/localization.pipe";
|
|
1
3
|
export declare class LocalizationModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationModule, [typeof i1.LocalizationPipe], never, [typeof i1.LocalizationPipe]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationModule>;
|
|
2
7
|
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
export * from './application-configuration';
|
|
2
1
|
export * from './auth';
|
|
3
2
|
export * from './common';
|
|
4
|
-
export * from './config';
|
|
5
3
|
export * from './dtos';
|
|
6
4
|
export * from './environment';
|
|
7
5
|
export * from './localization';
|
|
8
|
-
export * from './profile';
|
|
9
6
|
export * from './replaceable-components';
|
|
10
7
|
export * from './rest';
|
|
11
8
|
export * from './session';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ABP } from './common';
|
|
1
|
+
import { EventEmitter, Type } from '@angular/core';
|
|
3
2
|
import { Subject } from 'rxjs';
|
|
3
|
+
import { ABP } from './common';
|
|
4
4
|
export declare namespace ReplaceableComponents {
|
|
5
5
|
interface State {
|
|
6
6
|
replaceableComponents: ReplaceableComponent[];
|
package/lib/models/session.d.ts
CHANGED
|
@@ -3,19 +3,5 @@ export declare namespace Session {
|
|
|
3
3
|
interface State {
|
|
4
4
|
language: string;
|
|
5
5
|
tenant: CurrentTenantDto;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @deprecated To be deleted in v5.0
|
|
9
|
-
*/
|
|
10
|
-
sessionDetail: SessionDetail;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @deprecated To be deleted in v5.0
|
|
15
|
-
*/
|
|
16
|
-
interface SessionDetail {
|
|
17
|
-
openedTabCount: number;
|
|
18
|
-
lastExitTime: number;
|
|
19
|
-
remember: boolean;
|
|
20
6
|
}
|
|
21
7
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { LocalizationWithDefault } from '../models/localization';
|
|
3
3
|
import { LocalizationService } from '../services/localization.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class LocalizationPipe implements PipeTransform {
|
|
5
6
|
private localization;
|
|
6
7
|
constructor(localization: LocalizationService);
|
|
7
|
-
transform(value?: string |
|
|
8
|
+
transform(value?: string | LocalizationWithDefault, ...interpolateParams: string[]): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizationPipe, "abpLocalization">;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationPipe>;
|
|
8
12
|
}
|
package/lib/pipes/sort.pipe.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare type SortOrder = 'asc' | 'desc';
|
|
3
4
|
export declare class SortPipe implements PipeTransform {
|
|
4
5
|
transform(value: any[], sortOrder?: SortOrder | string, sortKey?: string): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "abpSort">;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SortPipe>;
|
|
5
9
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { RestService } from '../../../../services/rest.service';
|
|
2
2
|
import type { FindTenantResultDto } from '../../../volo/abp/asp-net-core/mvc/multi-tenancy/models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AbpTenantService {
|
|
4
5
|
private restService;
|
|
5
6
|
apiName: string;
|
|
6
7
|
findTenantById: (id: string, headers: Record<string, string>) => import("rxjs").Observable<FindTenantResultDto>;
|
|
7
8
|
findTenantByName: (name: string, headers: Record<string, string>) => import("rxjs").Observable<FindTenantResultDto>;
|
|
8
9
|
constructor(restService: RestService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpTenantService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpTenantService>;
|
|
9
12
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { RestService } from '../../../../../../services/rest.service';
|
|
2
2
|
import type { ApplicationApiDescriptionModel, ApplicationApiDescriptionModelRequestDto } from '../../../http/modeling/models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AbpApiDefinitionService {
|
|
4
5
|
private restService;
|
|
5
6
|
apiName: string;
|
|
6
7
|
getByModel: (model: ApplicationApiDescriptionModelRequestDto) => import("rxjs").Observable<ApplicationApiDescriptionModel>;
|
|
7
8
|
constructor(restService: RestService);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpApiDefinitionService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpApiDefinitionService>;
|
|
8
11
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { RestService } from '../../../../../../services/rest.service';
|
|
2
2
|
import type { ApplicationConfigurationDto } from './models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AbpApplicationConfigurationService {
|
|
4
5
|
private restService;
|
|
5
6
|
apiName: string;
|
|
6
7
|
get(): import("rxjs").Observable<ApplicationConfigurationDto>;
|
|
7
8
|
constructor(restService: RestService);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpApplicationConfigurationService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpApplicationConfigurationService>;
|
|
8
11
|
}
|
|
@@ -2,6 +2,7 @@ import { Injector } from '@angular/core';
|
|
|
2
2
|
import { Params } from '@angular/router';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { LoginParams } from '../models/auth';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AuthService {
|
|
6
7
|
protected injector: Injector;
|
|
7
8
|
private strategy;
|
|
@@ -9,10 +10,8 @@ export declare class AuthService {
|
|
|
9
10
|
constructor(injector: Injector);
|
|
10
11
|
init(): Promise<any>;
|
|
11
12
|
logout(queryParams?: Params): Observable<any>;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Use navigateToLogin method instead. To be deleted in v5.0
|
|
14
|
-
*/
|
|
15
|
-
initLogin(): void;
|
|
16
13
|
navigateToLogin(queryParams?: Params): void;
|
|
17
14
|
login(params: LoginParams): Observable<any>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
18
17
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { ApplicationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
|
|
3
2
|
import { AbpApplicationConfigurationService } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service';
|
|
3
|
+
import { ApplicationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ConfigStateService {
|
|
5
6
|
private abpConfigService;
|
|
6
7
|
private readonly store;
|
|
@@ -11,7 +12,7 @@ export declare class ConfigStateService {
|
|
|
11
12
|
[x: string]: string;
|
|
12
13
|
};
|
|
13
14
|
};
|
|
14
|
-
languages?: import("
|
|
15
|
+
languages?: import("@abp/ng.core").LanguageInfo[];
|
|
15
16
|
currentCulture?: {
|
|
16
17
|
displayName?: string;
|
|
17
18
|
englishName?: string;
|
|
@@ -33,10 +34,10 @@ export declare class ConfigStateService {
|
|
|
33
34
|
};
|
|
34
35
|
defaultResourceName?: string;
|
|
35
36
|
languagesMap?: {
|
|
36
|
-
[x: string]: import("
|
|
37
|
+
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
37
38
|
};
|
|
38
39
|
languageFilesMap?: {
|
|
39
|
-
[x: string]: import("
|
|
40
|
+
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
40
41
|
};
|
|
41
42
|
};
|
|
42
43
|
auth?: {
|
|
@@ -135,7 +136,7 @@ export declare class ConfigStateService {
|
|
|
135
136
|
filterParamName?: string;
|
|
136
137
|
};
|
|
137
138
|
};
|
|
138
|
-
attributes?: import("
|
|
139
|
+
attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
|
|
139
140
|
configuration?: {
|
|
140
141
|
[x: string]: object;
|
|
141
142
|
};
|
|
@@ -154,7 +155,7 @@ export declare class ConfigStateService {
|
|
|
154
155
|
};
|
|
155
156
|
enums?: {
|
|
156
157
|
[x: string]: {
|
|
157
|
-
fields?: import("
|
|
158
|
+
fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
|
|
158
159
|
localizationResource?: string;
|
|
159
160
|
};
|
|
160
161
|
};
|
|
@@ -163,11 +164,6 @@ export declare class ConfigStateService {
|
|
|
163
164
|
private updateSubject;
|
|
164
165
|
constructor(abpConfigService: AbpApplicationConfigurationService);
|
|
165
166
|
private initUpdateStream;
|
|
166
|
-
/**
|
|
167
|
-
* @deprecated do not use this method directly, instead call refreshAppState
|
|
168
|
-
* This method will be private in v5.0
|
|
169
|
-
*/
|
|
170
|
-
setState(state: ApplicationConfigurationDto): void;
|
|
171
167
|
refreshAppState(): Observable<{
|
|
172
168
|
localization?: {
|
|
173
169
|
values?: {
|
|
@@ -175,7 +171,7 @@ export declare class ConfigStateService {
|
|
|
175
171
|
[x: string]: string;
|
|
176
172
|
};
|
|
177
173
|
};
|
|
178
|
-
languages?: import("
|
|
174
|
+
languages?: import("@abp/ng.core").LanguageInfo[];
|
|
179
175
|
currentCulture?: {
|
|
180
176
|
displayName?: string;
|
|
181
177
|
englishName?: string;
|
|
@@ -197,10 +193,10 @@ export declare class ConfigStateService {
|
|
|
197
193
|
};
|
|
198
194
|
defaultResourceName?: string;
|
|
199
195
|
languagesMap?: {
|
|
200
|
-
[x: string]: import("
|
|
196
|
+
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
201
197
|
};
|
|
202
198
|
languageFilesMap?: {
|
|
203
|
-
[x: string]: import("
|
|
199
|
+
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
204
200
|
};
|
|
205
201
|
};
|
|
206
202
|
auth?: {
|
|
@@ -299,7 +295,7 @@ export declare class ConfigStateService {
|
|
|
299
295
|
filterParamName?: string;
|
|
300
296
|
};
|
|
301
297
|
};
|
|
302
|
-
attributes?: import("
|
|
298
|
+
attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
|
|
303
299
|
configuration?: {
|
|
304
300
|
[x: string]: object;
|
|
305
301
|
};
|
|
@@ -318,7 +314,7 @@ export declare class ConfigStateService {
|
|
|
318
314
|
};
|
|
319
315
|
enums?: {
|
|
320
316
|
[x: string]: {
|
|
321
|
-
fields?: import("
|
|
317
|
+
fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
|
|
322
318
|
localizationResource?: string;
|
|
323
319
|
};
|
|
324
320
|
};
|
|
@@ -338,4 +334,6 @@ export declare class ConfigStateService {
|
|
|
338
334
|
getSetting$(key: string): Observable<string>;
|
|
339
335
|
getSettings(keyword?: string): Record<string, string>;
|
|
340
336
|
getSettings$(keyword?: string): Observable<Record<string, string>>;
|
|
337
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigStateService, never>;
|
|
338
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigStateService>;
|
|
341
339
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Injector, TemplateRef, Type } from '@angular/core';
|
|
2
2
|
import { ProjectionStrategy } from '../strategies/projection.strategy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ContentProjectionService {
|
|
4
5
|
private injector;
|
|
5
6
|
constructor(injector: Injector);
|
|
6
7
|
projectContent<T extends Type<any> | TemplateRef<any>>(projectionStrategy: ProjectionStrategy<T>, injector?: Injector): T extends Type<infer U> ? import("@angular/core").ComponentRef<U> : T extends TemplateRef<infer C> ? import("@angular/core").EmbeddedViewRef<C> : never;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentProjectionService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContentProjectionService>;
|
|
7
10
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ContentStrategy } from '../strategies/content.strategy';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DomInsertionService {
|
|
3
4
|
private readonly inserted;
|
|
4
5
|
insertContent<T extends HTMLScriptElement | HTMLStyleElement>(contentStrategy: ContentStrategy<T>): T;
|
|
5
6
|
removeContent(element: HTMLScriptElement | HTMLStyleElement): void;
|
|
6
7
|
has(content: string): boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DomInsertionService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DomInsertionService>;
|
|
7
10
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Environment } from '../models/environment';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EnvironmentService {
|
|
4
5
|
private readonly store;
|
|
5
6
|
get createOnUpdateStream(): <Slice>(selector: (state: {
|
|
@@ -29,6 +30,7 @@ export declare class EnvironmentService {
|
|
|
29
30
|
clientId?: string;
|
|
30
31
|
redirectUri?: string;
|
|
31
32
|
postLogoutRedirectUri?: string;
|
|
33
|
+
redirectUriAsPostLogoutRedirectUriFallback?: boolean;
|
|
32
34
|
loginUrl?: string;
|
|
33
35
|
scope?: string;
|
|
34
36
|
resource?: string;
|
|
@@ -89,4 +91,6 @@ export declare class EnvironmentService {
|
|
|
89
91
|
getApiUrl(key?: string): string;
|
|
90
92
|
getApiUrl$(key?: string): Observable<string>;
|
|
91
93
|
setState(environment: Environment): void;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
95
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
|
|
92
96
|
}
|