@abp/ng.core 7.2.1 → 7.3.0-rc.1
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/{esm2020 → esm2022}/abp-ng.core.mjs +4 -4
- package/esm2022/lib/abstracts/abstract-guard.mjs +2 -0
- package/{esm2020 → esm2022}/lib/abstracts/auth-response.model.mjs +1 -1
- package/esm2022/lib/abstracts/auth.guard.mjs +18 -0
- package/esm2022/lib/abstracts/auth.service.mjs +46 -0
- package/esm2022/lib/abstracts/index.mjs +6 -0
- package/esm2022/lib/abstracts/ng-model.component.mjs +60 -0
- package/esm2022/lib/clients/http.client.mjs +29 -0
- package/{esm2020 → esm2022}/lib/clients/index.mjs +1 -1
- package/esm2022/lib/components/dynamic-layout.component.mjs +101 -0
- package/{esm2020 → esm2022}/lib/components/index.mjs +3 -3
- package/esm2022/lib/components/replaceable-route-container.component.mjs +43 -0
- package/esm2022/lib/components/router-outlet.component.mjs +16 -0
- package/{esm2020 → esm2022}/lib/constants/different-locales.mjs +336 -336
- package/{esm2020 → esm2022}/lib/constants/index.mjs +1 -1
- package/esm2022/lib/core.module.mjs +285 -0
- package/esm2022/lib/directives/autofocus.directive.mjs +31 -0
- package/esm2022/lib/directives/debounce.directive.mjs +37 -0
- package/esm2022/lib/directives/for.directive.mjs +160 -0
- package/esm2022/lib/directives/form-submit.directive.mjs +78 -0
- package/{esm2020 → esm2022}/lib/directives/index.mjs +8 -8
- package/esm2022/lib/directives/init.directive.mjs +22 -0
- package/esm2022/lib/directives/permission.directive.mjs +75 -0
- package/esm2022/lib/directives/replaceable-template.directive.mjs +133 -0
- package/esm2022/lib/directives/stop-propagation.directive.mjs +33 -0
- package/{esm2020 → esm2022}/lib/enums/common.mjs +1 -1
- package/{esm2020 → esm2022}/lib/enums/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/guards/index.mjs +1 -1
- package/esm2022/lib/guards/permission.guard.mjs +41 -0
- package/esm2022/lib/handlers/routes.handler.mjs +52 -0
- package/esm2022/lib/interceptors/api.interceptor.mjs +28 -0
- package/{esm2020 → esm2022}/lib/interceptors/index.mjs +1 -1
- package/esm2022/lib/localization.module.mjs +17 -0
- package/{esm2020 → esm2022}/lib/models/auth.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/common.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/dtos.mjs +134 -134
- package/{esm2020 → esm2022}/lib/models/environment.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/index.mjs +9 -9
- package/{esm2020 → esm2022}/lib/models/localization.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/replaceable-components.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/rest.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/session.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/utility.mjs +1 -1
- package/{esm2020 → esm2022}/lib/pipes/index.mjs +7 -7
- package/esm2022/lib/pipes/localization.pipe.mjs +34 -0
- package/esm2022/lib/pipes/safe-html.pipe.mjs +24 -0
- package/esm2022/lib/pipes/short-date-time.pipe.mjs +35 -0
- package/esm2022/lib/pipes/short-date.pipe.mjs +35 -0
- package/esm2022/lib/pipes/short-time.pipe.mjs +35 -0
- package/esm2022/lib/pipes/sort.pipe.mjs +50 -0
- package/esm2022/lib/pipes/to-injector.pipe.mjs +30 -0
- package/{esm2020 → esm2022}/lib/providers/cookie-language.provider.mjs +21 -21
- package/{esm2020 → esm2022}/lib/providers/include-localization-resources.provider.mjs +5 -5
- package/{esm2020 → esm2022}/lib/providers/locale.provider.mjs +25 -25
- package/esm2022/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.mjs +28 -0
- package/{esm2020 → esm2022}/lib/proxy/pages/abp/multi-tenancy/index.mjs +1 -1
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.mjs +25 -0
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.mjs +1 -1
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.mjs +25 -0
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.mjs +25 -0
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.mjs +5 -5
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/http/modeling/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/http/modeling/models.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/localization/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/localization/models.mjs +1 -1
- package/{esm2020 → esm2022}/lib/proxy/volo/abp/models.mjs +1 -1
- package/esm2022/lib/services/config-state.service.mjs +182 -0
- package/esm2022/lib/services/content-projection.service.mjs +18 -0
- package/esm2022/lib/services/dom-insertion.service.mjs +35 -0
- package/esm2022/lib/services/environment.service.mjs +49 -0
- package/esm2022/lib/services/http-error-reporter.service.mjs +30 -0
- package/esm2022/lib/services/http-wait.service.mjs +76 -0
- package/{esm2020 → esm2022}/lib/services/index.mjs +21 -21
- package/esm2022/lib/services/lazy-load.service.mjs +41 -0
- package/esm2022/lib/services/list.service.mjs +103 -0
- package/esm2022/lib/services/local-storage.service.mjs +33 -0
- package/esm2022/lib/services/localization.service.mjs +218 -0
- package/esm2022/lib/services/multi-tenancy.service.mjs +49 -0
- package/esm2022/lib/services/permission.service.mjs +64 -0
- package/esm2022/lib/services/replaceable-components.service.mjs +50 -0
- package/esm2022/lib/services/resource-wait.service.mjs +40 -0
- package/esm2022/lib/services/rest.service.mjs +79 -0
- package/esm2022/lib/services/router-events.service.mjs +39 -0
- package/esm2022/lib/services/router-wait.service.mjs +52 -0
- package/esm2022/lib/services/routes.service.mjs +165 -0
- package/esm2022/lib/services/session-state.service.mjs +81 -0
- package/esm2022/lib/services/subscription.service.mjs +44 -0
- package/esm2022/lib/services/track-by.service.mjs +22 -0
- package/{esm2020 → esm2022}/lib/strategies/container.strategy.mjs +37 -37
- package/{esm2020 → esm2022}/lib/strategies/content-security.strategy.mjs +29 -29
- package/{esm2020 → esm2022}/lib/strategies/content.strategy.mjs +51 -51
- package/{esm2020 → esm2022}/lib/strategies/context.strategy.mjs +36 -36
- package/{esm2020 → esm2022}/lib/strategies/cross-origin.strategy.mjs +27 -27
- package/{esm2020 → esm2022}/lib/strategies/dom.strategy.mjs +26 -26
- package/{esm2020 → esm2022}/lib/strategies/index.mjs +8 -8
- package/{esm2020 → esm2022}/lib/strategies/loading.strategy.mjs +57 -57
- package/{esm2020 → esm2022}/lib/strategies/projection.strategy.mjs +79 -79
- package/{esm2020 → esm2022}/lib/tokens/app-config.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/check-authentication-state.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/cookie-language-key.token.mjs +4 -4
- package/{esm2020 → esm2022}/lib/tokens/http-context.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/include-localization-resources.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/index.mjs +15 -15
- package/{esm2020 → esm2022}/lib/tokens/list.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/localization.token.mjs +9 -9
- package/{esm2020 → esm2022}/lib/tokens/lodaer-delay.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/manage-profile.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/options.token.mjs +7 -7
- package/{esm2020 → esm2022}/lib/tokens/others-group.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/pipe-to-login.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/queue.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tokens/set-token-response-to-storage.token.mjs +5 -5
- package/{esm2020 → esm2022}/lib/tokens/tenant-key.token.mjs +2 -2
- package/{esm2020 → esm2022}/lib/utils/array-utils.mjs +6 -6
- package/{esm2020 → esm2022}/lib/utils/common-utils.mjs +34 -34
- package/{esm2020 → esm2022}/lib/utils/date-extensions.mjs +5 -5
- package/{esm2020 → esm2022}/lib/utils/date-utils.mjs +12 -12
- package/{esm2020 → esm2022}/lib/utils/environment-utils.mjs +35 -35
- package/{esm2020 → esm2022}/lib/utils/factory-utils.mjs +24 -24
- package/{esm2020 → esm2022}/lib/utils/file-utils.mjs +13 -13
- package/{esm2020 → esm2022}/lib/utils/form-utils.mjs +11 -11
- package/{esm2020 → esm2022}/lib/utils/generator-utils.mjs +33 -33
- package/{esm2020 → esm2022}/lib/utils/http-utils.mjs +18 -18
- package/{esm2020 → esm2022}/lib/utils/index.mjs +20 -20
- package/{esm2020 → esm2022}/lib/utils/initial-utils.mjs +59 -59
- package/esm2022/lib/utils/internal-store-utils.mjs +37 -0
- package/{esm2020 → esm2022}/lib/utils/lazy-load-utils.mjs +39 -39
- package/{esm2020 → esm2022}/lib/utils/localization-utils.mjs +48 -48
- package/{esm2020 → esm2022}/lib/utils/multi-tenancy-utils.mjs +80 -80
- package/{esm2020 → esm2022}/lib/utils/number-utils.mjs +3 -3
- package/{esm2020 → esm2022}/lib/utils/object-utils.mjs +36 -36
- package/{esm2020 → esm2022}/lib/utils/queue.mjs +40 -40
- package/{esm2020 → esm2022}/lib/utils/route-utils.mjs +25 -25
- package/{esm2020 → esm2022}/lib/utils/string-utils.mjs +29 -29
- package/{esm2020 → esm2022}/lib/utils/tree-utils.mjs +69 -69
- package/{esm2020 → esm2022}/lib/validators/age.validator.mjs +13 -13
- package/{esm2020 → esm2022}/lib/validators/credit-card.validator.mjs +20 -20
- package/esm2022/lib/validators/index.mjs +29 -0
- package/{esm2020 → esm2022}/lib/validators/range.validator.mjs +14 -14
- package/{esm2020 → esm2022}/lib/validators/required.validator.mjs +14 -14
- package/{esm2020 → esm2022}/lib/validators/string-length.validator.mjs +14 -14
- package/esm2022/lib/validators/unique-character.validator.mjs +13 -0
- package/{esm2020 → esm2022}/lib/validators/url.validator.mjs +16 -16
- package/{esm2020 → esm2022}/lib/validators/username.validator.mjs +13 -13
- package/{esm2020 → esm2022}/locale/abp-ng.core-locale.mjs +4 -4
- package/{esm2020 → esm2022}/locale/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/locale/utils/register-locale.mjs +46 -46
- package/{esm2020 → esm2022}/public-api.mjs +26 -26
- package/{esm2020 → esm2022}/testing/abp-ng.core-testing.mjs +4 -4
- package/esm2022/testing/lib/core-testing.module.mjs +68 -0
- package/{esm2020 → esm2022}/testing/lib/services/index.mjs +2 -2
- package/esm2022/testing/lib/services/mock-permission.service.mjs +36 -0
- package/esm2022/testing/lib/services/mock-rest.service.mjs +32 -0
- package/{esm2020 → esm2022}/testing/lib/utils/clear-page.util.mjs +9 -9
- package/{esm2020 → esm2022}/testing/lib/utils/index.mjs +2 -2
- package/{esm2020 → esm2022}/testing/lib/utils/wait.util.mjs +4 -4
- package/{esm2020 → esm2022}/testing/public-api.mjs +3 -3
- package/{fesm2020 → fesm2022}/abp-ng.core-locale.mjs +45 -45
- package/{fesm2020 → fesm2022}/abp-ng.core-testing.mjs +120 -120
- package/{fesm2020 → fesm2022}/abp-ng.core-testing.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/abp-ng.core.mjs +4199 -4187
- package/fesm2022/abp-ng.core.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/abstracts/abstract-guard.d.ts +5 -0
- package/lib/abstracts/auth-response.model.d.ts +10 -10
- package/lib/abstracts/auth.guard.d.ts +9 -10
- package/lib/abstracts/auth.service.d.ts +30 -30
- package/lib/abstracts/index.d.ts +5 -4
- package/lib/abstracts/ng-model.component.d.ts +25 -25
- package/lib/clients/http.client.d.ts +11 -11
- package/lib/clients/index.d.ts +1 -1
- package/lib/components/dynamic-layout.component.d.ts +28 -28
- package/lib/components/index.d.ts +3 -3
- package/lib/components/replaceable-route-container.component.d.ts +17 -17
- package/lib/components/router-outlet.component.d.ts +5 -5
- package/lib/constants/different-locales.d.ts +334 -334
- package/lib/constants/index.d.ts +1 -1
- package/lib/core.module.d.ts +57 -57
- package/lib/directives/autofocus.directive.d.ts +12 -12
- package/lib/directives/debounce.directive.d.ts +13 -13
- package/lib/directives/for.directive.d.ts +36 -36
- package/lib/directives/form-submit.directive.d.ts +23 -23
- package/lib/directives/index.d.ts +8 -8
- package/lib/directives/init.directive.d.ts +10 -10
- package/lib/directives/permission.directive.d.ts +24 -24
- package/lib/directives/replaceable-template.directive.d.ts +29 -29
- package/lib/directives/stop-propagation.directive.d.ts +12 -12
- package/lib/enums/common.d.ts +5 -5
- package/lib/enums/index.d.ts +1 -1
- package/lib/guards/index.d.ts +1 -1
- package/lib/guards/permission.guard.d.ts +16 -16
- package/lib/handlers/routes.handler.d.ts +11 -11
- package/lib/interceptors/api.interceptor.d.ts +14 -14
- package/lib/interceptors/index.d.ts +1 -1
- package/lib/localization.module.d.ts +7 -7
- package/lib/models/auth.d.ts +14 -14
- package/lib/models/common.d.ts +79 -79
- package/lib/models/dtos.d.ts +107 -107
- package/lib/models/environment.d.ts +38 -38
- package/lib/models/index.d.ts +9 -9
- package/lib/models/localization.d.ts +5 -5
- package/lib/models/replaceable-components.d.ts +45 -45
- package/lib/models/rest.d.ts +36 -36
- package/lib/models/session.d.ts +7 -7
- package/lib/models/utility.d.ts +14 -14
- package/lib/pipes/index.d.ts +7 -7
- package/lib/pipes/localization.pipe.d.ts +12 -12
- package/lib/pipes/safe-html.pipe.d.ts +9 -9
- package/lib/pipes/short-date-time.pipe.d.ts +12 -12
- package/lib/pipes/short-date.pipe.d.ts +12 -12
- package/lib/pipes/short-time.pipe.d.ts +12 -12
- package/lib/pipes/sort.pipe.d.ts +9 -9
- package/lib/pipes/to-injector.pipe.d.ts +10 -10
- package/lib/providers/cookie-language.provider.d.ts +3 -3
- package/lib/providers/include-localization-resources.provider.d.ts +2 -2
- package/lib/providers/locale.provider.d.ts +9 -9
- package/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.d.ts +12 -12
- package/lib/proxy/pages/abp/multi-tenancy/index.d.ts +1 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.d.ts +11 -11
- package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.d.ts +1 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.d.ts +11 -11
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.d.ts +11 -11
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.d.ts +5 -5
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.d.ts +106 -106
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.d.ts +1 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.d.ts +71 -71
- package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.d.ts +1 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.d.ts +14 -14
- package/lib/proxy/volo/abp/http/modeling/index.d.ts +1 -1
- package/lib/proxy/volo/abp/http/modeling/models.d.ts +88 -88
- package/lib/proxy/volo/abp/localization/index.d.ts +1 -1
- package/lib/proxy/volo/abp/localization/models.d.ts +7 -7
- package/lib/proxy/volo/abp/models.d.ts +4 -4
- package/lib/services/config-state.service.d.ts +379 -378
- package/lib/services/content-projection.service.d.ts +10 -10
- package/lib/services/dom-insertion.service.d.ts +10 -10
- package/lib/services/environment.service.d.ts +103 -103
- package/lib/services/http-error-reporter.service.d.ts +12 -12
- package/lib/services/http-wait.service.d.ts +30 -30
- package/lib/services/index.d.ts +21 -21
- package/lib/services/lazy-load.service.d.ts +13 -13
- package/lib/services/list.service.d.ts +39 -39
- package/lib/services/local-storage.service.d.ts +13 -13
- package/lib/services/localization.service.d.ts +54 -54
- package/lib/services/multi-tenancy.service.d.ts +22 -22
- package/lib/services/permission.service.d.ts +19 -19
- package/lib/services/replaceable-components.service.d.ts +19 -19
- package/lib/services/resource-wait.service.d.ts +15 -15
- package/lib/services/rest.service.d.ts +24 -24
- package/lib/services/router-events.service.d.ts +29 -29
- package/lib/services/router-wait.service.d.ts +20 -20
- package/lib/services/routes.service.d.ts +57 -57
- package/lib/services/session-state.service.d.ts +27 -27
- package/lib/services/subscription.service.d.ts +17 -17
- package/lib/services/track-by.service.d.ts +11 -11
- package/lib/strategies/container.strategy.d.ts +22 -22
- package/lib/strategies/content-security.strategy.d.ts +17 -17
- package/lib/strategies/content.strategy.d.ts +26 -26
- package/lib/strategies/context.strategy.d.ts +23 -23
- package/lib/strategies/cross-origin.strategy.d.ts +14 -14
- package/lib/strategies/dom.strategy.d.ts +13 -13
- package/lib/strategies/index.d.ts +8 -8
- package/lib/strategies/loading.strategy.d.ts +28 -28
- package/lib/strategies/projection.strategy.d.ts +39 -39
- package/lib/tokens/app-config.token.d.ts +3 -3
- package/lib/tokens/check-authentication-state.d.ts +3 -3
- package/lib/tokens/cookie-language-key.token.d.ts +2 -2
- package/lib/tokens/http-context.token.d.ts +2 -2
- package/lib/tokens/include-localization-resources.token.d.ts +2 -2
- package/lib/tokens/index.d.ts +15 -15
- package/lib/tokens/list.token.d.ts +2 -2
- package/lib/tokens/localization.token.d.ts +6 -6
- package/lib/tokens/lodaer-delay.token.d.ts +2 -2
- package/lib/tokens/manage-profile.token.d.ts +2 -2
- package/lib/tokens/options.token.d.ts +4 -4
- package/lib/tokens/others-group.token.d.ts +2 -2
- package/lib/tokens/pipe-to-login.token.d.ts +3 -3
- package/lib/tokens/queue.token.d.ts +3 -3
- package/lib/tokens/set-token-response-to-storage.token.d.ts +6 -6
- package/lib/tokens/tenant-key.token.d.ts +2 -2
- package/lib/utils/array-utils.d.ts +1 -1
- package/lib/utils/common-utils.d.ts +11 -11
- package/lib/utils/date-extensions.d.ts +6 -6
- package/lib/utils/date-utils.d.ts +4 -4
- package/lib/utils/environment-utils.d.ts +3 -3
- package/lib/utils/factory-utils.d.ts +11 -11
- package/lib/utils/file-utils.d.ts +1 -1
- package/lib/utils/form-utils.d.ts +2 -2
- package/lib/utils/generator-utils.d.ts +3 -3
- package/lib/utils/http-utils.d.ts +8 -8
- package/lib/utils/index.d.ts +20 -20
- package/lib/utils/initial-utils.d.ts +3 -3
- package/lib/utils/internal-store-utils.d.ts +14 -14
- package/lib/utils/lazy-load-utils.d.ts +4 -4
- package/lib/utils/localization-utils.d.ts +5 -5
- package/lib/utils/multi-tenancy-utils.d.ts +3 -3
- package/lib/utils/number-utils.d.ts +1 -1
- package/lib/utils/object-utils.d.ts +2 -2
- package/lib/utils/queue.d.ts +14 -14
- package/lib/utils/route-utils.d.ts +8 -8
- package/lib/utils/string-utils.d.ts +3 -3
- package/lib/utils/tree-utils.d.ts +26 -26
- package/lib/validators/age.validator.d.ts +10 -10
- package/lib/validators/credit-card.validator.d.ts +5 -5
- package/lib/validators/index.d.ts +28 -24
- package/lib/validators/range.validator.d.ts +12 -12
- package/lib/validators/required.validator.d.ts +8 -8
- package/lib/validators/string-length.validator.d.ts +14 -14
- package/lib/validators/unique-character.validator.d.ts +5 -0
- package/lib/validators/url.validator.d.ts +5 -5
- package/lib/validators/username.validator.d.ts +10 -10
- package/locale/index.d.ts +5 -5
- package/locale/public-api.d.ts +1 -1
- package/locale/utils/register-locale.d.ts +13 -13
- package/package.json +12 -22
- package/public-api.d.ts +25 -25
- package/testing/index.d.ts +5 -5
- package/testing/lib/core-testing.module.d.ts +16 -16
- package/testing/lib/services/index.d.ts +2 -2
- package/testing/lib/services/mock-permission.service.d.ts +10 -10
- package/testing/lib/services/mock-rest.service.d.ts +14 -14
- package/testing/lib/utils/clear-page.util.d.ts +2 -2
- package/testing/lib/utils/index.d.ts +2 -2
- package/testing/lib/utils/wait.util.d.ts +2 -2
- package/testing/public-api.d.ts +3 -3
- package/esm2020/lib/abstracts/auth.guard.mjs +0 -17
- package/esm2020/lib/abstracts/auth.service.mjs +0 -45
- package/esm2020/lib/abstracts/index.mjs +0 -5
- package/esm2020/lib/abstracts/ng-model.component.mjs +0 -59
- package/esm2020/lib/clients/http.client.mjs +0 -34
- package/esm2020/lib/components/dynamic-layout.component.mjs +0 -100
- package/esm2020/lib/components/replaceable-route-container.component.mjs +0 -42
- package/esm2020/lib/components/router-outlet.component.mjs +0 -15
- package/esm2020/lib/core.module.mjs +0 -282
- package/esm2020/lib/directives/autofocus.directive.mjs +0 -30
- package/esm2020/lib/directives/debounce.directive.mjs +0 -36
- package/esm2020/lib/directives/for.directive.mjs +0 -159
- package/esm2020/lib/directives/form-submit.directive.mjs +0 -77
- package/esm2020/lib/directives/init.directive.mjs +0 -21
- package/esm2020/lib/directives/permission.directive.mjs +0 -74
- package/esm2020/lib/directives/replaceable-template.directive.mjs +0 -132
- package/esm2020/lib/directives/stop-propagation.directive.mjs +0 -32
- package/esm2020/lib/guards/permission.guard.mjs +0 -44
- package/esm2020/lib/handlers/routes.handler.mjs +0 -51
- package/esm2020/lib/interceptors/api.interceptor.mjs +0 -27
- package/esm2020/lib/localization.module.mjs +0 -16
- package/esm2020/lib/pipes/localization.pipe.mjs +0 -33
- package/esm2020/lib/pipes/safe-html.pipe.mjs +0 -23
- package/esm2020/lib/pipes/short-date-time.pipe.mjs +0 -34
- package/esm2020/lib/pipes/short-date.pipe.mjs +0 -34
- package/esm2020/lib/pipes/short-time.pipe.mjs +0 -34
- package/esm2020/lib/pipes/sort.pipe.mjs +0 -49
- package/esm2020/lib/pipes/to-injector.pipe.mjs +0 -29
- package/esm2020/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.mjs +0 -27
- package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.mjs +0 -24
- package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.mjs +0 -24
- package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.mjs +0 -24
- package/esm2020/lib/services/config-state.service.mjs +0 -178
- package/esm2020/lib/services/content-projection.service.mjs +0 -17
- package/esm2020/lib/services/dom-insertion.service.mjs +0 -34
- package/esm2020/lib/services/environment.service.mjs +0 -48
- package/esm2020/lib/services/http-error-reporter.service.mjs +0 -29
- package/esm2020/lib/services/http-wait.service.mjs +0 -75
- package/esm2020/lib/services/lazy-load.service.mjs +0 -40
- package/esm2020/lib/services/list.service.mjs +0 -102
- package/esm2020/lib/services/local-storage.service.mjs +0 -32
- package/esm2020/lib/services/localization.service.mjs +0 -217
- package/esm2020/lib/services/multi-tenancy.service.mjs +0 -48
- package/esm2020/lib/services/permission.service.mjs +0 -63
- package/esm2020/lib/services/replaceable-components.service.mjs +0 -49
- package/esm2020/lib/services/resource-wait.service.mjs +0 -39
- package/esm2020/lib/services/rest.service.mjs +0 -78
- package/esm2020/lib/services/router-events.service.mjs +0 -38
- package/esm2020/lib/services/router-wait.service.mjs +0 -51
- package/esm2020/lib/services/routes.service.mjs +0 -163
- package/esm2020/lib/services/session-state.service.mjs +0 -80
- package/esm2020/lib/services/subscription.service.mjs +0 -43
- package/esm2020/lib/services/track-by.service.mjs +0 -21
- package/esm2020/lib/utils/internal-store-utils.mjs +0 -37
- package/esm2020/lib/validators/index.mjs +0 -25
- package/esm2020/testing/lib/core-testing.module.mjs +0 -67
- package/esm2020/testing/lib/services/mock-permission.service.mjs +0 -35
- package/esm2020/testing/lib/services/mock-rest.service.mjs +0 -31
- package/fesm2015/abp-ng.core-locale.mjs +0 -57
- package/fesm2015/abp-ng.core-locale.mjs.map +0 -1
- package/fesm2015/abp-ng.core-testing.mjs +0 -146
- package/fesm2015/abp-ng.core-testing.mjs.map +0 -1
- package/fesm2015/abp-ng.core.mjs +0 -4460
- package/fesm2015/abp-ng.core.mjs.map +0 -1
- package/fesm2020/abp-ng.core.mjs.map +0 -1
- package/src/lib/proxy/README.md +0 -17
- /package/{fesm2020 → fesm2022}/abp-ng.core-locale.mjs.map +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { AbpTenantService } from '../proxy/pages/abp/multi-tenancy';
|
|
2
|
-
import { CurrentTenantDto, FindTenantResultDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
|
|
3
|
-
import { ConfigStateService } from './config-state.service';
|
|
4
|
-
import { RestService } from './rest.service';
|
|
5
|
-
import { SessionStateService } from './session-state.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MultiTenancyService {
|
|
8
|
-
private restService;
|
|
9
|
-
private sessionState;
|
|
10
|
-
private tenantService;
|
|
11
|
-
private configStateService;
|
|
12
|
-
tenantKey: string;
|
|
13
|
-
domainTenant: CurrentTenantDto | null;
|
|
14
|
-
isTenantBoxVisible: boolean;
|
|
15
|
-
apiName: string;
|
|
16
|
-
private setTenantToState;
|
|
17
|
-
constructor(restService: RestService, sessionState: SessionStateService, tenantService: AbpTenantService, configStateService: ConfigStateService, tenantKey: string);
|
|
18
|
-
setTenantByName(tenantName: string): import("rxjs").Observable<FindTenantResultDto>;
|
|
19
|
-
setTenantById(tenantId: string): import("rxjs").Observable<FindTenantResultDto>;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiTenancyService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MultiTenancyService>;
|
|
22
|
-
}
|
|
1
|
+
import { AbpTenantService } from '../proxy/pages/abp/multi-tenancy';
|
|
2
|
+
import { CurrentTenantDto, FindTenantResultDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
|
|
3
|
+
import { ConfigStateService } from './config-state.service';
|
|
4
|
+
import { RestService } from './rest.service';
|
|
5
|
+
import { SessionStateService } from './session-state.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MultiTenancyService {
|
|
8
|
+
private restService;
|
|
9
|
+
private sessionState;
|
|
10
|
+
private tenantService;
|
|
11
|
+
private configStateService;
|
|
12
|
+
tenantKey: string;
|
|
13
|
+
domainTenant: CurrentTenantDto | null;
|
|
14
|
+
isTenantBoxVisible: boolean;
|
|
15
|
+
apiName: string;
|
|
16
|
+
private setTenantToState;
|
|
17
|
+
constructor(restService: RestService, sessionState: SessionStateService, tenantService: AbpTenantService, configStateService: ConfigStateService, tenantKey: string);
|
|
18
|
+
setTenantByName(tenantName: string): import("rxjs").Observable<FindTenantResultDto>;
|
|
19
|
+
setTenantById(tenantId: string): import("rxjs").Observable<FindTenantResultDto>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiTenancyService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MultiTenancyService>;
|
|
22
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ABP } from '../models/common';
|
|
2
|
-
import { ApplicationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
|
|
3
|
-
import { ConfigStateService } from './config-state.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PermissionService {
|
|
6
|
-
protected configState: ConfigStateService;
|
|
7
|
-
constructor(configState: ConfigStateService);
|
|
8
|
-
getGrantedPolicy$(key: string): import("rxjs").Observable<boolean>;
|
|
9
|
-
getGrantedPolicy(key: string | undefined): boolean;
|
|
10
|
-
filterItemsByPolicy<T extends ABP.HasPolicy>(items: Array<T>): T[];
|
|
11
|
-
filterItemsByPolicy$<T extends ABP.HasPolicy>(items: Array<T>): import("rxjs").Observable<T[]>;
|
|
12
|
-
protected isPolicyGranted(key: string | undefined, grantedPolicies: Record<string, boolean>): boolean;
|
|
13
|
-
protected getStream(): import("rxjs").Observable<Record<string, boolean>>;
|
|
14
|
-
protected getSnapshot(): Record<string, boolean>;
|
|
15
|
-
protected mapToPolicies(applicationConfiguration: ApplicationConfigurationDto): Record<string, boolean>;
|
|
16
|
-
protected getPolicy(key: string, grantedPolicies: Record<string, boolean>): boolean;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
|
|
19
|
-
}
|
|
1
|
+
import { ABP } from '../models/common';
|
|
2
|
+
import { ApplicationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
|
|
3
|
+
import { ConfigStateService } from './config-state.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PermissionService {
|
|
6
|
+
protected configState: ConfigStateService;
|
|
7
|
+
constructor(configState: ConfigStateService);
|
|
8
|
+
getGrantedPolicy$(key: string): import("rxjs").Observable<boolean>;
|
|
9
|
+
getGrantedPolicy(key: string | undefined): boolean;
|
|
10
|
+
filterItemsByPolicy<T extends ABP.HasPolicy>(items: Array<T>): T[];
|
|
11
|
+
filterItemsByPolicy$<T extends ABP.HasPolicy>(items: Array<T>): import("rxjs").Observable<T[]>;
|
|
12
|
+
protected isPolicyGranted(key: string | undefined, grantedPolicies: Record<string, boolean>): boolean;
|
|
13
|
+
protected getStream(): import("rxjs").Observable<Record<string, boolean>>;
|
|
14
|
+
protected getSnapshot(): Record<string, boolean>;
|
|
15
|
+
protected mapToPolicies(applicationConfiguration: ApplicationConfigurationDto): Record<string, boolean>;
|
|
16
|
+
protected getPolicy(key: string, grantedPolicies: Record<string, boolean>): boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
|
|
19
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { ReplaceableComponents } from '../models/replaceable-components';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ReplaceableComponentsService {
|
|
7
|
-
private ngZone;
|
|
8
|
-
private router;
|
|
9
|
-
private readonly store;
|
|
10
|
-
get replaceableComponents$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
|
|
11
|
-
get replaceableComponents(): ReplaceableComponents.ReplaceableComponent[];
|
|
12
|
-
get onUpdate$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
|
|
13
|
-
constructor(ngZone: NgZone, router: Router);
|
|
14
|
-
add(replaceableComponent: ReplaceableComponents.ReplaceableComponent, reload?: boolean): void;
|
|
15
|
-
get(replaceableComponentKey: string): ReplaceableComponents.ReplaceableComponent | undefined;
|
|
16
|
-
get$(replaceableComponentKey: string): Observable<ReplaceableComponents.ReplaceableComponent | undefined>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableComponentsService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ReplaceableComponentsService>;
|
|
19
|
-
}
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ReplaceableComponents } from '../models/replaceable-components';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ReplaceableComponentsService {
|
|
7
|
+
private ngZone;
|
|
8
|
+
private router;
|
|
9
|
+
private readonly store;
|
|
10
|
+
get replaceableComponents$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
|
|
11
|
+
get replaceableComponents(): ReplaceableComponents.ReplaceableComponent[];
|
|
12
|
+
get onUpdate$(): Observable<ReplaceableComponents.ReplaceableComponent[]>;
|
|
13
|
+
constructor(ngZone: NgZone, router: Router);
|
|
14
|
+
add(replaceableComponent: ReplaceableComponents.ReplaceableComponent, reload?: boolean): void;
|
|
15
|
+
get(replaceableComponentKey: string): ReplaceableComponents.ReplaceableComponent | undefined;
|
|
16
|
+
get$(replaceableComponentKey: string): Observable<ReplaceableComponents.ReplaceableComponent | undefined>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableComponentsService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReplaceableComponentsService>;
|
|
19
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export interface ResourceWaitState {
|
|
3
|
-
resources: Set<string>;
|
|
4
|
-
}
|
|
5
|
-
export declare class ResourceWaitService {
|
|
6
|
-
private store;
|
|
7
|
-
getLoading(): boolean;
|
|
8
|
-
getLoading$(): import("rxjs").Observable<boolean>;
|
|
9
|
-
updateLoading$(): import("rxjs").Observable<boolean>;
|
|
10
|
-
clearLoading(): void;
|
|
11
|
-
addResource(resource: string): void;
|
|
12
|
-
deleteResource(resource: string): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceWaitService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceWaitService>;
|
|
15
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface ResourceWaitState {
|
|
3
|
+
resources: Set<string>;
|
|
4
|
+
}
|
|
5
|
+
export declare class ResourceWaitService {
|
|
6
|
+
private store;
|
|
7
|
+
getLoading(): boolean;
|
|
8
|
+
getLoading$(): import("rxjs").Observable<boolean>;
|
|
9
|
+
updateLoading$(): import("rxjs").Observable<boolean>;
|
|
10
|
+
clearLoading(): void;
|
|
11
|
+
addResource(resource: string): void;
|
|
12
|
+
deleteResource(resource: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceWaitService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceWaitService>;
|
|
15
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { HttpClient, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ExternalHttpClient } from '../clients/http.client';
|
|
4
|
-
import { ABP } from '../models/common';
|
|
5
|
-
import { Rest } from '../models/rest';
|
|
6
|
-
import { EnvironmentService } from './environment.service';
|
|
7
|
-
import { HttpErrorReporterService } from './http-error-reporter.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class RestService {
|
|
10
|
-
protected options: ABP.Root;
|
|
11
|
-
protected http: HttpClient;
|
|
12
|
-
protected externalHttp: ExternalHttpClient;
|
|
13
|
-
protected environment: EnvironmentService;
|
|
14
|
-
protected httpErrorReporter: HttpErrorReporterService;
|
|
15
|
-
constructor(options: ABP.Root, http: HttpClient, externalHttp: ExternalHttpClient, environment: EnvironmentService, httpErrorReporter: HttpErrorReporterService);
|
|
16
|
-
protected getApiFromStore(apiName: string | undefined): string;
|
|
17
|
-
handleError(err: any): Observable<any>;
|
|
18
|
-
request<T, R>(request: HttpRequest<T> | Rest.Request<T>, config?: Rest.Config, api?: string): Observable<R>;
|
|
19
|
-
private getHttpClient;
|
|
20
|
-
private getParams;
|
|
21
|
-
private removeDuplicateSlashes;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
|
24
|
-
}
|
|
1
|
+
import { HttpClient, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ExternalHttpClient } from '../clients/http.client';
|
|
4
|
+
import { ABP } from '../models/common';
|
|
5
|
+
import { Rest } from '../models/rest';
|
|
6
|
+
import { EnvironmentService } from './environment.service';
|
|
7
|
+
import { HttpErrorReporterService } from './http-error-reporter.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class RestService {
|
|
10
|
+
protected options: ABP.Root;
|
|
11
|
+
protected http: HttpClient;
|
|
12
|
+
protected externalHttp: ExternalHttpClient;
|
|
13
|
+
protected environment: EnvironmentService;
|
|
14
|
+
protected httpErrorReporter: HttpErrorReporterService;
|
|
15
|
+
constructor(options: ABP.Root, http: HttpClient, externalHttp: ExternalHttpClient, environment: EnvironmentService, httpErrorReporter: HttpErrorReporterService);
|
|
16
|
+
protected getApiFromStore(apiName: string | undefined): string;
|
|
17
|
+
handleError(err: any): Observable<any>;
|
|
18
|
+
request<T, R>(request: HttpRequest<T> | Rest.Request<T>, config?: Rest.Config, api?: string): Observable<R>;
|
|
19
|
+
private getHttpClient;
|
|
20
|
+
private getParams;
|
|
21
|
+
private removeDuplicateSlashes;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
|
24
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Router, RouterEvent, Event } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const NavigationEvent: {
|
|
5
|
-
Cancel: typeof NavigationCancel;
|
|
6
|
-
End: typeof NavigationEnd;
|
|
7
|
-
Error: typeof NavigationError;
|
|
8
|
-
Start: typeof NavigationStart;
|
|
9
|
-
};
|
|
10
|
-
export declare class RouterEvents {
|
|
11
|
-
private router;
|
|
12
|
-
constructor(router: Router);
|
|
13
|
-
getEvents<T extends RouterEventConstructors>(...eventTypes: T): import("rxjs").Observable<
|
|
14
|
-
getNavigationEvents<T extends NavigationEventKeys>(...navigationEventKeys: T): import("rxjs").Observable<T extends (infer Key)[] ? Key extends "Cancel" | "End" | "Error" | "Start" ? InstanceType<{
|
|
15
|
-
Cancel: typeof NavigationCancel;
|
|
16
|
-
End: typeof NavigationEnd;
|
|
17
|
-
Error: typeof NavigationError;
|
|
18
|
-
Start: typeof NavigationStart;
|
|
19
|
-
}[Key]> : never : never>;
|
|
20
|
-
getAllEvents(): import("rxjs").Observable<Event>;
|
|
21
|
-
getAllNavigationEvents(): import("rxjs").Observable<NavigationStart | NavigationEnd | NavigationCancel | NavigationError>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RouterEvents, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RouterEvents>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export
|
|
29
|
-
export {};
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Router, RouterEvent, Event } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const NavigationEvent: {
|
|
5
|
+
Cancel: typeof NavigationCancel;
|
|
6
|
+
End: typeof NavigationEnd;
|
|
7
|
+
Error: typeof NavigationError;
|
|
8
|
+
Start: typeof NavigationStart;
|
|
9
|
+
};
|
|
10
|
+
export declare class RouterEvents {
|
|
11
|
+
private router;
|
|
12
|
+
constructor(router: Router);
|
|
13
|
+
getEvents<T extends RouterEventConstructors>(...eventTypes: T): import("rxjs").Observable<Event>;
|
|
14
|
+
getNavigationEvents<T extends NavigationEventKeys>(...navigationEventKeys: T): import("rxjs").Observable<T extends (infer Key)[] ? Key extends "Cancel" | "End" | "Error" | "Start" ? InstanceType<{
|
|
15
|
+
Cancel: typeof NavigationCancel;
|
|
16
|
+
End: typeof NavigationEnd;
|
|
17
|
+
Error: typeof NavigationError;
|
|
18
|
+
Start: typeof NavigationStart;
|
|
19
|
+
}[Key]> : never : never>;
|
|
20
|
+
getAllEvents(): import("rxjs").Observable<Event>;
|
|
21
|
+
getAllNavigationEvents(): import("rxjs").Observable<NavigationStart | NavigationEnd | NavigationCancel | NavigationError>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterEvents, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RouterEvents>;
|
|
24
|
+
}
|
|
25
|
+
type RouterEventConstructors = [Type<RouterEvent>, ...Type<RouterEvent>[]];
|
|
26
|
+
type NavigationEventKeys = [NavigationEventKey, ...NavigationEventKey[]];
|
|
27
|
+
type NavigationEventType = typeof NavigationEvent;
|
|
28
|
+
export type NavigationEventKey = keyof NavigationEventType;
|
|
29
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { RouterEvents } from './router-events.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface RouterWaitState {
|
|
5
|
-
loading: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare class RouterWaitService {
|
|
8
|
-
private routerEvents;
|
|
9
|
-
private store;
|
|
10
|
-
private destroy$;
|
|
11
|
-
private delay;
|
|
12
|
-
constructor(routerEvents: RouterEvents, injector: Injector);
|
|
13
|
-
private updateLoadingStatusOnNavigationEvents;
|
|
14
|
-
getLoading(): boolean;
|
|
15
|
-
getLoading$(): import("rxjs").Observable<boolean>;
|
|
16
|
-
updateLoading$(): import("rxjs").Observable<boolean>;
|
|
17
|
-
setLoading(loading: boolean): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RouterWaitService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RouterWaitService>;
|
|
20
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { RouterEvents } from './router-events.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface RouterWaitState {
|
|
5
|
+
loading: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare class RouterWaitService {
|
|
8
|
+
private routerEvents;
|
|
9
|
+
private store;
|
|
10
|
+
private destroy$;
|
|
11
|
+
private delay;
|
|
12
|
+
constructor(routerEvents: RouterEvents, injector: Injector);
|
|
13
|
+
private updateLoadingStatusOnNavigationEvents;
|
|
14
|
+
getLoading(): boolean;
|
|
15
|
+
getLoading$(): import("rxjs").Observable<boolean>;
|
|
16
|
+
updateLoading$(): import("rxjs").Observable<boolean>;
|
|
17
|
+
setLoading(loading: boolean): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterWaitService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RouterWaitService>;
|
|
20
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ABP } from '../models/common';
|
|
4
|
-
import { TreeNode, RouteGroup } from '../utils/tree-utils';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class AbstractTreeService<T extends {
|
|
7
|
-
[key: string | number | symbol]: any;
|
|
8
|
-
}> {
|
|
9
|
-
abstract id: string;
|
|
10
|
-
abstract parentId: string;
|
|
11
|
-
abstract hide: (item: T) => boolean;
|
|
12
|
-
abstract sort: (a: T, b: T) => number;
|
|
13
|
-
private _flat$;
|
|
14
|
-
private _tree$;
|
|
15
|
-
private _visible$;
|
|
16
|
-
protected othersGroup: string;
|
|
17
|
-
get flat(): T[];
|
|
18
|
-
get flat$(): Observable<T[]>;
|
|
19
|
-
get tree(): TreeNode<T>[];
|
|
20
|
-
get tree$(): Observable<TreeNode<T>[]>;
|
|
21
|
-
get visible(): TreeNode<T>[];
|
|
22
|
-
get visible$(): Observable<TreeNode<T>[]>;
|
|
23
|
-
protected createTree(items: T[]): TreeNode<T>[];
|
|
24
|
-
protected createGroupedTree(list: TreeNode<T>[]): RouteGroup<T>[] | undefined;
|
|
25
|
-
private filterWith;
|
|
26
|
-
private findItemsToRemove;
|
|
27
|
-
private publish;
|
|
28
|
-
add(items: T[]): T[];
|
|
29
|
-
find(predicate: (item: TreeNode<T>) => boolean, tree?: TreeNode<T>[]): TreeNode<T> | null;
|
|
30
|
-
patch(identifier: string, props: Partial<T>): T[] | false;
|
|
31
|
-
refresh(): T[];
|
|
32
|
-
remove(identifiers: string[]): T[];
|
|
33
|
-
search(params: Partial<T>, tree?: TreeNode<T>[]): TreeNode<T> | null;
|
|
34
|
-
}
|
|
35
|
-
export declare abstract class AbstractNavTreeService<T extends ABP.Nav> extends AbstractTreeService<T> implements OnDestroy {
|
|
36
|
-
protected injector: Injector;
|
|
37
|
-
private subscription;
|
|
38
|
-
private permissionService;
|
|
39
|
-
readonly id = "name";
|
|
40
|
-
readonly parentId = "parentName";
|
|
41
|
-
readonly hide: (item: T) => boolean;
|
|
42
|
-
readonly sort: (a: T, b: T) => number;
|
|
43
|
-
constructor(injector: Injector);
|
|
44
|
-
protected isGranted({ requiredPolicy }: T): boolean;
|
|
45
|
-
hasChildren(identifier: string): boolean;
|
|
46
|
-
hasInvisibleChild(identifier: string): boolean;
|
|
47
|
-
ngOnDestroy(): void;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNavTreeService<any>, never>;
|
|
49
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AbstractNavTreeService<any>>;
|
|
50
|
-
}
|
|
51
|
-
export declare class RoutesService extends AbstractNavTreeService<ABP.Route> {
|
|
52
|
-
private hasPathOrChild;
|
|
53
|
-
get groupedVisible(): RouteGroup<ABP.Route>[] | undefined;
|
|
54
|
-
get groupedVisible$(): Observable<RouteGroup<ABP.Route>[] | undefined>;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RoutesService, never>;
|
|
56
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RoutesService>;
|
|
57
|
-
}
|
|
1
|
+
import { Injector, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ABP } from '../models/common';
|
|
4
|
+
import { TreeNode, RouteGroup } from '../utils/tree-utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class AbstractTreeService<T extends {
|
|
7
|
+
[key: string | number | symbol]: any;
|
|
8
|
+
}> {
|
|
9
|
+
abstract id: string;
|
|
10
|
+
abstract parentId: string;
|
|
11
|
+
abstract hide: (item: T) => boolean;
|
|
12
|
+
abstract sort: (a: T, b: T) => number;
|
|
13
|
+
private _flat$;
|
|
14
|
+
private _tree$;
|
|
15
|
+
private _visible$;
|
|
16
|
+
protected othersGroup: string;
|
|
17
|
+
get flat(): T[];
|
|
18
|
+
get flat$(): Observable<T[]>;
|
|
19
|
+
get tree(): TreeNode<T>[];
|
|
20
|
+
get tree$(): Observable<TreeNode<T>[]>;
|
|
21
|
+
get visible(): TreeNode<T>[];
|
|
22
|
+
get visible$(): Observable<TreeNode<T>[]>;
|
|
23
|
+
protected createTree(items: T[]): TreeNode<T>[];
|
|
24
|
+
protected createGroupedTree(list: TreeNode<T>[]): RouteGroup<T>[] | undefined;
|
|
25
|
+
private filterWith;
|
|
26
|
+
private findItemsToRemove;
|
|
27
|
+
private publish;
|
|
28
|
+
add(items: T[]): T[];
|
|
29
|
+
find(predicate: (item: TreeNode<T>) => boolean, tree?: TreeNode<T>[]): TreeNode<T> | null;
|
|
30
|
+
patch(identifier: string, props: Partial<T>): T[] | false;
|
|
31
|
+
refresh(): T[];
|
|
32
|
+
remove(identifiers: string[]): T[];
|
|
33
|
+
search(params: Partial<T>, tree?: TreeNode<T>[]): TreeNode<T> | null;
|
|
34
|
+
}
|
|
35
|
+
export declare abstract class AbstractNavTreeService<T extends ABP.Nav> extends AbstractTreeService<T> implements OnDestroy {
|
|
36
|
+
protected injector: Injector;
|
|
37
|
+
private subscription;
|
|
38
|
+
private permissionService;
|
|
39
|
+
readonly id = "name";
|
|
40
|
+
readonly parentId = "parentName";
|
|
41
|
+
readonly hide: (item: T) => boolean;
|
|
42
|
+
readonly sort: (a: T, b: T) => number;
|
|
43
|
+
constructor(injector: Injector);
|
|
44
|
+
protected isGranted({ requiredPolicy }: T): boolean;
|
|
45
|
+
hasChildren(identifier: string): boolean;
|
|
46
|
+
hasInvisibleChild(identifier: string): boolean;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNavTreeService<any>, never>;
|
|
49
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbstractNavTreeService<any>>;
|
|
50
|
+
}
|
|
51
|
+
export declare class RoutesService extends AbstractNavTreeService<ABP.Route> {
|
|
52
|
+
private hasPathOrChild;
|
|
53
|
+
get groupedVisible(): RouteGroup<ABP.Route>[] | undefined;
|
|
54
|
+
get groupedVisible$(): Observable<RouteGroup<ABP.Route>[] | undefined>;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoutesService, never>;
|
|
56
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RoutesService>;
|
|
57
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
|
|
2
|
-
import { ConfigStateService } from './config-state.service';
|
|
3
|
-
import { AbpLocalStorageService } from './local-storage.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SessionStateService {
|
|
6
|
-
private configState;
|
|
7
|
-
private localStorageService;
|
|
8
|
-
private readonly store;
|
|
9
|
-
private updateLocalStorage;
|
|
10
|
-
constructor(configState: ConfigStateService, localStorageService: AbpLocalStorageService);
|
|
11
|
-
private init;
|
|
12
|
-
private setInitialLanguage;
|
|
13
|
-
onLanguageChange$(): import("rxjs").Observable<string>;
|
|
14
|
-
onTenantChange$(): import("rxjs").Observable<{
|
|
15
|
-
id?: string;
|
|
16
|
-
name?: string;
|
|
17
|
-
isAvailable?: boolean;
|
|
18
|
-
}>;
|
|
19
|
-
getLanguage(): string;
|
|
20
|
-
getLanguage$(): import("rxjs").Observable<string>;
|
|
21
|
-
getTenant(): CurrentTenantDto;
|
|
22
|
-
getTenant$(): import("rxjs").Observable<CurrentTenantDto>;
|
|
23
|
-
setTenant(tenant: CurrentTenantDto | null): void;
|
|
24
|
-
setLanguage(language: string): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SessionStateService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStateService>;
|
|
27
|
-
}
|
|
1
|
+
import { CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
|
|
2
|
+
import { ConfigStateService } from './config-state.service';
|
|
3
|
+
import { AbpLocalStorageService } from './local-storage.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SessionStateService {
|
|
6
|
+
private configState;
|
|
7
|
+
private localStorageService;
|
|
8
|
+
private readonly store;
|
|
9
|
+
private updateLocalStorage;
|
|
10
|
+
constructor(configState: ConfigStateService, localStorageService: AbpLocalStorageService);
|
|
11
|
+
private init;
|
|
12
|
+
private setInitialLanguage;
|
|
13
|
+
onLanguageChange$(): import("rxjs").Observable<string>;
|
|
14
|
+
onTenantChange$(): import("rxjs").Observable<{
|
|
15
|
+
id?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
isAvailable?: boolean;
|
|
18
|
+
}>;
|
|
19
|
+
getLanguage(): string;
|
|
20
|
+
getLanguage$(): import("rxjs").Observable<string>;
|
|
21
|
+
getTenant(): CurrentTenantDto;
|
|
22
|
+
getTenant$(): import("rxjs").Observable<CurrentTenantDto>;
|
|
23
|
+
setTenant(tenant: CurrentTenantDto | null): void;
|
|
24
|
+
setLanguage(language: string): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionStateService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStateService>;
|
|
27
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { OnDestroy } from '@angular/core';
|
|
2
|
-
import type { Observable, PartialObserver } from 'rxjs';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SubscriptionService implements OnDestroy {
|
|
6
|
-
private subscription;
|
|
7
|
-
get isClosed(): boolean;
|
|
8
|
-
addOne<T>(source$: Observable<T>, next?: (value: T) => void, error?: (error: any) => void): Subscription;
|
|
9
|
-
addOne<T>(source$: Observable<T>, observer?: PartialObserver<T>): Subscription;
|
|
10
|
-
closeAll(): void;
|
|
11
|
-
closeOne(subscription: Subscription | undefined | null): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
removeOne(subscription: Subscription | undefined | null): void;
|
|
14
|
-
reset(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
|
|
17
|
-
}
|
|
1
|
+
import type { OnDestroy } from '@angular/core';
|
|
2
|
+
import type { Observable, PartialObserver } from 'rxjs';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SubscriptionService implements OnDestroy {
|
|
6
|
+
private subscription;
|
|
7
|
+
get isClosed(): boolean;
|
|
8
|
+
addOne<T>(source$: Observable<T>, next?: (value: T) => void, error?: (error: any) => void): Subscription;
|
|
9
|
+
addOne<T>(source$: Observable<T>, observer?: PartialObserver<T>): Subscription;
|
|
10
|
+
closeAll(): void;
|
|
11
|
+
closeOne(subscription: Subscription | undefined | null): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
removeOne(subscription: Subscription | undefined | null): void;
|
|
14
|
+
reset(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
|
|
17
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TrackByFunction } from '@angular/core';
|
|
2
|
-
import { O } from 'ts-toolbelt';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const trackBy: <T = any>(key: keyof T) => TrackByFunction<T>;
|
|
5
|
-
export declare const trackByDeep: <T = any>(...keys: T extends object ? O.Paths<T> : never) => TrackByFunction<T>;
|
|
6
|
-
export declare class TrackByService<ItemType = any> {
|
|
7
|
-
by: <T = any>(key: keyof T) => TrackByFunction<T>;
|
|
8
|
-
byDeep: <T = any>(...keys: T extends object ? O.Paths<T> : never) => TrackByFunction<T>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TrackByService<any>, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TrackByService<any>>;
|
|
11
|
-
}
|
|
1
|
+
import { TrackByFunction } from '@angular/core';
|
|
2
|
+
import { O } from 'ts-toolbelt';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const trackBy: <T = any>(key: keyof T) => TrackByFunction<T>;
|
|
5
|
+
export declare const trackByDeep: <T = any>(...keys: T extends object ? O.Paths<T> : never) => TrackByFunction<T>;
|
|
6
|
+
export declare class TrackByService<ItemType = any> {
|
|
7
|
+
by: <T = any>(key: keyof T) => TrackByFunction<T>;
|
|
8
|
+
byDeep: <T = any>(...keys: T extends object ? O.Paths<T> : never) => TrackByFunction<T>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrackByService<any>, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TrackByService<any>>;
|
|
11
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
export declare abstract class ContainerStrategy {
|
|
3
|
-
containerRef: ViewContainerRef;
|
|
4
|
-
constructor(containerRef: ViewContainerRef);
|
|
5
|
-
abstract getIndex(): number;
|
|
6
|
-
prepare(): void;
|
|
7
|
-
}
|
|
8
|
-
export declare class ClearContainerStrategy extends ContainerStrategy {
|
|
9
|
-
getIndex(): number;
|
|
10
|
-
prepare(): void;
|
|
11
|
-
}
|
|
12
|
-
export declare class InsertIntoContainerStrategy extends ContainerStrategy {
|
|
13
|
-
private index;
|
|
14
|
-
constructor(containerRef: ViewContainerRef, index: number);
|
|
15
|
-
getIndex(): number;
|
|
16
|
-
}
|
|
17
|
-
export declare const CONTAINER_STRATEGY: {
|
|
18
|
-
Clear(containerRef: ViewContainerRef): ClearContainerStrategy;
|
|
19
|
-
Append(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
|
|
20
|
-
Prepend(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
|
|
21
|
-
Insert(containerRef: ViewContainerRef, index: number): InsertIntoContainerStrategy;
|
|
22
|
-
};
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
export declare abstract class ContainerStrategy {
|
|
3
|
+
containerRef: ViewContainerRef;
|
|
4
|
+
constructor(containerRef: ViewContainerRef);
|
|
5
|
+
abstract getIndex(): number;
|
|
6
|
+
prepare(): void;
|
|
7
|
+
}
|
|
8
|
+
export declare class ClearContainerStrategy extends ContainerStrategy {
|
|
9
|
+
getIndex(): number;
|
|
10
|
+
prepare(): void;
|
|
11
|
+
}
|
|
12
|
+
export declare class InsertIntoContainerStrategy extends ContainerStrategy {
|
|
13
|
+
private index;
|
|
14
|
+
constructor(containerRef: ViewContainerRef, index: number);
|
|
15
|
+
getIndex(): number;
|
|
16
|
+
}
|
|
17
|
+
export declare const CONTAINER_STRATEGY: {
|
|
18
|
+
Clear(containerRef: ViewContainerRef): ClearContainerStrategy;
|
|
19
|
+
Append(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
|
|
20
|
+
Prepend(containerRef: ViewContainerRef): InsertIntoContainerStrategy;
|
|
21
|
+
Insert(containerRef: ViewContainerRef, index: number): InsertIntoContainerStrategy;
|
|
22
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare abstract class ContentSecurityStrategy {
|
|
2
|
-
nonce?: string;
|
|
3
|
-
constructor(nonce?: string);
|
|
4
|
-
abstract applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
|
|
5
|
-
}
|
|
6
|
-
export declare class LooseContentSecurityStrategy extends ContentSecurityStrategy {
|
|
7
|
-
constructor(nonce: string);
|
|
8
|
-
applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
|
|
9
|
-
}
|
|
10
|
-
export declare class NoContentSecurityStrategy extends ContentSecurityStrategy {
|
|
11
|
-
constructor();
|
|
12
|
-
applyCSP(_: HTMLScriptElement | HTMLStyleElement): void;
|
|
13
|
-
}
|
|
14
|
-
export declare const CONTENT_SECURITY_STRATEGY: {
|
|
15
|
-
Loose(nonce: string): LooseContentSecurityStrategy;
|
|
16
|
-
None(): NoContentSecurityStrategy;
|
|
17
|
-
};
|
|
1
|
+
export declare abstract class ContentSecurityStrategy {
|
|
2
|
+
nonce?: string;
|
|
3
|
+
constructor(nonce?: string);
|
|
4
|
+
abstract applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
|
|
5
|
+
}
|
|
6
|
+
export declare class LooseContentSecurityStrategy extends ContentSecurityStrategy {
|
|
7
|
+
constructor(nonce: string);
|
|
8
|
+
applyCSP(element: HTMLScriptElement | HTMLStyleElement): void;
|
|
9
|
+
}
|
|
10
|
+
export declare class NoContentSecurityStrategy extends ContentSecurityStrategy {
|
|
11
|
+
constructor();
|
|
12
|
+
applyCSP(_: HTMLScriptElement | HTMLStyleElement): void;
|
|
13
|
+
}
|
|
14
|
+
export declare const CONTENT_SECURITY_STRATEGY: {
|
|
15
|
+
Loose(nonce: string): LooseContentSecurityStrategy;
|
|
16
|
+
None(): NoContentSecurityStrategy;
|
|
17
|
+
};
|